aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2011-12-02stdlib: Fix return file_info on epochBjörn-Egil Dahlberg
2011-12-02Fix undefined datetimesBjörn-Egil Dahlberg
2011-12-02Teach file.erl datetime conversionsBjörn-Egil Dahlberg
2011-12-02Make Win64 build work both under MSYS and CygwinPatrik Nyblom
2011-12-02Fix aclocal.m4 to override changes in opuPatrik Nyblom
2011-12-02Make whole of OTP build and release on Win64Patrik Nyblom
Removed symbolic links from repository.
2011-12-02Build Win64 Erlang emulator using MSYSunknown
Still does not run, just compiles.
2011-12-02Merge branch 'ta/sendfile/OTP-9240'Lukas Larsson
* ta/sendfile/OTP-9240: (31 commits) Add sendfile server printouts Skip recv/send during tests for fallback platforms Remove header/trailer support Remove windows implementation Expand sendfile documentation Only allow tcp sockets as target for sendfile Move sendfile api to file module Preliminary work on header/trailer Use free_sendfile explicitly for non-async Remove debug printouts Add tests for send/recv/sendfile interactions Remove tests for file_server sendfile sendfile caller now has to be the controlling_process Remove support for file_server, sendfile has to be raw Set chunk size to 3 GB Change type of fd to be ErlDrvEvent Add ifdef's for HAVE_SENDFILE Fix freebsd support for sendfile Change nbytes to 64 bit Implement ignorefd for TCP ...
2011-12-02Add sendfile server printoutsLukas Larsson
2011-12-02Merge branch 'peppe/common_test/ct_fail'Peter Andersson
* peppe/common_test/ct_fail: Add ct:comment/2 function Add ct:fail/2 function OTP-9709
2011-12-02Add ct:comment/2 functionPeter Andersson
2011-12-02Merge branch 'ia/ssl/test-case-maint'Ingela Anderton Andin
* ia/ssl/test-case-maint: Missed two places in previous fix
2011-12-02Missed two places in previous fixIngela Anderton Andin
2011-12-02Merge remote branch 'origin/peppe/common_test/css_fixes'Peter Andersson
* origin/peppe/common_test/css_fixes: Bugfixes and improvements of the the CSS stylesheet implementation OTP-9706
2011-12-02Skip recv/send during tests for fallback platformsLukas Larsson
2011-12-02Remove header/trailer supportLukas Larsson
Since the API for headers/trailers seem to be very awkward to work with when using non-blocking io the feature is dropped for now. See unix_efile.c for more details.
2011-12-02Expand sendfile documentationLukas Larsson
2011-12-02Move sendfile api to file moduleLukas Larsson
Since sendfile could in theory be used to send to any type of file descriptor in *nix, it is a better fit to have it in file.
2011-12-02Merge branch 'hb/erl_docgen/man_gen_fix/OTP-9759'Hans Bolinder
* hb/erl_docgen/man_gen_fix/OTP-9759: Fix a bug in the generation of manpages
2011-12-01Merge branch 'bmk/megaco/r15_proofing_test'Micael Karlberg
2011-12-01Fixed bogus comment.Micael Karlberg
2011-12-01Merge branch 'ia/ssl/test-case-maint'Ingela Anderton Andin
* ia/ssl/test-case-maint: Test cases where failing due to timing issues in test case code
2011-12-01Preliminary work on header/trailerLukas Larsson
Have to figure out how to represent progress in header writing when using non-blocking, not sure how to do this.
2011-12-01Add tests for send/recv/sendfile interactionsLukas Larsson
Tests for when a gen_tcp:send/recv is ordered while a sendfile is in progress.
2011-12-01Remove tests for file_server sendfileLukas Larsson
2011-12-01sendfile caller now has to be the controlling_processLukas Larsson
This is needed because otherwise there could be scenarios when the efile driver blocks a fd and then crashes without the inet driver ever finding out. Now when the process crashes the port will close and we can cleanup in the inet driver.
2011-12-01Remove support for file_server, sendfile has to be rawLukas Larsson
Because the sending process has to be the controlling process of the tcp socket used to send data it is not possible to use the file_server
2011-12-01Implement ignorefd for TCPLukas Larsson
Ignore fd is a feature used by sendfile to temporarily remove all driver_select calls on that fd so that another driver can select on it. It also delays all actions which sends or receives data in that fd until in the fd is no longer ignored. Only the controlling_process should use the feature as it is otherwise possible that the ignore will never be cleaned up and hence create a memory leak in the driver. An ignored driver will not detect that an fd has been closed until it is unignored.
2011-12-01Implement sendfile when there are no async threadsLukas Larsson
When there are no async threads sendfile will use the ready_output select on the socket fd to know when to send data. The file_desc will also be put in the sending sendfile_state which buffers all other commands to that file until the sendfile is done.
2011-12-01Implement blocking calls for sendfileLukas Larsson
Move sendfile data to invoke data instead of file_descr. Remove usage of ready_output when doing a send. If told to send 0 bytes, file_sendfile now sends the entire file for linux.
2011-12-01Implement sendfile using blocking io in asynch threadsLukas Larsson
Move the command handling to outputv in preparation for header and trailer inclusion in the sendfile api. Use the standard efile communication functions for sendfile.
2011-12-01Create erlang fallback for sendfileLukas Larsson
Created erlang fallback for sendfile in gen_tcp and moved sendfile from file to gen_tcp. Also created testcases for testing all different options to sendfile. For info about how sendfile should work see the BSD man pages as they contain a more complete API than other *nixes.
2011-12-01Move sendfile tests to gen_tcp_api_SUITELukas Larsson
2011-12-01Merge branch 'bmk/megaco/r15_proofing_test'Micael Karlberg
2011-12-01Merge branch 'bmk/megaco/own_dialyzer_plt'Micael Karlberg
2011-12-01Merge branch 'bmk/inets/inets58_integration2'Micael Karlberg
2011-12-01Merge branch 'maint-r14'Micael Karlberg
Conflicts: lib/snmp/src/agent/snmpa_set_lib.erl lib/snmp/src/app/snmp.appup.src lib/snmp/src/compile/snmpc.src lib/snmp/vsn.mk
2011-12-01Merge branch 'bjorn/dialyzer-warnings'Björn Gustavsson
* bjorn/dialyzer-warnings: erlang: Eliminate a clause in aa_mem_data/2 that can never match Add type info for erlang:system_info({allocator_sizes,ref(),any()})
2011-12-01Fix a bug in the generation of manpagesHans Bolinder
User defined data types in function headers turned off bold face.
2011-11-30Add ct:fail/2 functionPeter Andersson
2011-11-30Remove dependency on R12 from a qlc test caseHans Bolinder
The new file lib/stdlib/test/qlc_SUITE_data/join_info_compat.erl was created on an R12B node.
2011-11-30Merge branch 'sa/dialyzer-fixes-r15'Henrik Nord
* sa/dialyzer-fixes-r15: Update inets test results Add file/line info in a particular Dialyzer crash Fix Dialyzer's warnings in HiPE Fix Dialyzer's warning for its own code Fix crash in Typer No warnings for underspecs with remote types OTP-9758
2011-11-30Bugfixes and improvements of the the CSS stylesheet implementationPeter Andersson
2011-11-30Add type info for erlang:system_info({allocator_sizes,ref(),any()})Björn Gustavsson
2011-11-30compiler: Turn calls to math:pi/0 into constant valuesBjörn Gustavsson
Mark math:pi/0 as pure, informing the compiler that the value can be calculated at compile time.
2011-11-30Update inets test resultsStavros Aronis
2011-11-30Add file/line info in a particular Dialyzer crashStavros Aronis
2011-11-30Fix Dialyzer's warnings in HiPEStavros Aronis
2011-11-30Fix Dialyzer's warning for its own codeStavros Aronis
2011-11-30Fix crash in TyperStavros Aronis