aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2013-02-04jinterface, OtpOutputStream: add a write_compressed(object, level) methodNico Kruber
Now that we use an own deflater, we can also allow the user to specify the compression level as in Erlang's term_to_binary/2.
2013-02-04jinterface: fix a memory leakNico Kruber
after the first try to compress the value with a fixed buffer size, the deflater must be closed so that memory can be (instantly) reused
2013-02-04jinterface: new limited OutputStream implementation without the need to resizeNico Kruber
(saves memory re-allocations)
2013-02-04jinterface: don't return compressed external term if bigger than uncompressedNico Kruber
Now, OtpOutputStream#write_compressed() uses the same mechanism as erts_term_to_binary() in external.c: it tries to compress the given term into a buffer of the size of the uncompressed term and if this is not possible, i.e. the compression plus headers is bigger, it uses the uncompressed external term format instead.
2013-02-04jinterface: don't compress small erlang terms < 5 bytesNico Kruber
Compression always has at least 5 bytes (the compressed tag + original size) so we can't get a smaller external term if the original term is already smaller than 5 bytes.
2013-02-04jinterface, OtpOutputStream: properly override the three write() methods to ↵Nico Kruber
ensure our growth strategy Previously, if code called e.g. write(byte[] b, int off, int len), the growth strategy of the parent class ByteArrayOutputStream was used.
2013-02-04jinterface: fix typo in error message if encoding failsNico Kruber
2013-02-04jinterface: don't need another FilterOutputStream wrapperNico Kruber
DeflaterOutputStream is already an FilterOutputStream
2012-12-06Update release notesErlang/OTP
2012-12-06ssl: Prepare for releaseIngela Anderton Andin
2012-12-06ssl: Export sslsocket() dialyzer typeIngela Anderton Andin
2012-12-06ssl: Cancel non expired timersIngela Anderton Andin
2012-12-06ssl: Fix recv after timeout expiredIngela Anderton Andin
Reset state so that "recv data" is not sent as "active data" after a recv timed out and no new recv has been called.
2012-12-06ssl: Timeout handling changed so that the fsm-process will terminate if the ↵Ingela Anderton Andin
ssl:ssl_accept/[2,3] or ssl:connect/[3,4] timeout expires. Add missing function clause to handle timeout during handshake. The missing clause had the effect that the timeout was wrongly discarded. Also add an extra test case for the recv timeout in addition to the one in ssl_packet_SUITE. The missing functions clause was introduced in 8a789189. This commit changed the timeout implementation, the previous implememtation could cause other type of problems as the timeout was client side.
2012-11-26Prepare releaseOTP_R15B03Erlang/OTP
2012-11-26Merge branch 'egil/fix-heart-unregister' into maintBjörn-Egil Dahlberg
* egil/fix-heart-unregister: kernel: Heart port needs to be unregistered
2012-11-26Merge branch 'raimo/daily-build-fixes' into maintRaimo Niskanen
* raimo/daily-build-fixes: Fix erroneous skipping for jinterface, erl_interface and ic
2012-11-26Fix erroneous skipping for jinterface, erl_interface and icRaimo Niskanen
2012-11-23kernel: Heart port needs to be unregisteredBjörn-Egil Dahlberg
When heart cycles we need to unregister the old port before starting the new heart port program. OTP-10591
2012-11-23Merge branch 'anders/diameter/doc/OTP-10568' into maintAnders Svensson
* anders/diameter/doc/OTP-10568: Update doc for RFC 6733 Add copies of RFC's 6733 and 6737
2012-11-23Merge branch 'anders/diameter/doc/OTP-10471' into maintAnders Svensson
* anders/diameter/doc/OTP-10471: Add missing diameter_codec(3) content Add content to diameter_codec(3) and diameter_make(3) Add reference pages diameter_codec(3) and diameter_make(3)
2012-11-23Update copyright yearsBjörn-Egil Dahlberg
2012-11-23Add missing diameter_codec(3) contentAnders Svensson
2012-11-23Fix silly bugPeter Andersson
2012-11-22Update doc for RFC 6733Anders Svensson
2012-11-22Add copies of RFC's 6733 and 6737Anders Svensson
6733 deprecates 3588.
2012-11-22Add content to diameter_codec(3) and diameter_make(3)Anders Svensson
2012-11-22Add reference pages diameter_codec(3) and diameter_make(3)Anders Svensson
Not yet any content to speak of.
2012-11-22Merge remote branch 'origin/peppe/common_test/group_search_docs' into maintPeter Andersson
* origin/peppe/common_test/group_search_docs: Document the new group search feature OTP-10466
2012-11-22Merge branch 'fredrik/ssh/fix-dialyzer-warn-r15b03' into maintFredrik Gustafsson
* fredrik/ssh/fix-dialyzer-warn-r15b03: is_boolean/1 is called instead of checking Removed ip options to gen_tcp from ssh.erl
2012-11-21Document the new group search featurePeter Andersson
2012-11-21Merge branch 'ia/pan/fix-public-key-doc' into maintIngela Anderton Andin
* ia/pan/fix-public-key-doc: Make public_key doc compile again
2012-11-21Make public_key doc compile againPatrik Nyblom
2012-11-21Merge branch 'ph/erl_interface/check-thread-support/OTP-10581' into maintBjörn-Egil Dahlberg
* ph/erl_interface/check-thread-support/OTP-10581: Teach erl_interface configure more pthread support
2012-11-21is_boolean/1 is called instead of checkingFredrik Gustafsson
2012-11-20Removed ip options to gen_tcp from ssh.erlFredrik Gustafsson
2012-11-20Merge remote branch 'origin/peppe/common_test/group_search_r15b03' into maintPeter Andersson
* origin/peppe/common_test/group_search_r15b03: Fix problem with test case order in group specifications Finish the test suite and correct remaining bugs Implement new group search functionality OTP-10466
2012-11-20Merge remote branch 'origin/peppe/common_test/config_broken_r15b03' into maintPeter Andersson
* origin/peppe/common_test/config_broken_r15b03: Fix problem with config start option not accepting list of files OTP-10495
2012-11-19Fix problem with test case order in group specificationsPeter Andersson
2012-11-19Merge branch 'anders/diameter/R15B03_release/OTP-10582' into maintAnders Svensson
* anders/diameter/R15B03_release/OTP-10582: vsn -> 1.3 Update appup for R15B03 Dialyzer fix Insert missing 1.1 release notes Minor test suite tweaks vsn -> 1.2.1 Update appup for OTP-10461/10550
2012-11-19vsn -> 1.3Anders Svensson
2012-11-19Update appup for R15B03Anders Svensson
2012-11-19Dialyzer fixAnders Svensson
The removed clause was added in commit c14ef2db as part of an aborted implementation.
2012-11-19Insert missing 1.1 release notesAnders Svensson
2012-11-19Minor test suite tweaksAnders Svensson
2012-11-19vsn -> 1.2.1Anders Svensson
2012-11-19Update appup for OTP-10461/10550Anders Svensson
2012-11-19Merge branch 'ia/ssl/dialyzer-found-bug' into maintIngela Anderton Andin
* ia/ssl/dialyzer-found-bug: ssl: Fix bug in match expression found by Dialyzer
2012-11-19Merge branch 'anders/diameter/code_pre/OTP-10583' into maintAnders Svensson
* anders/diameter/code_pre/OTP-10583: Fix broken doc links Generate intra-document references Remove superfluous function markers Use entities for cross references Add entities file for cross-references (mostly) <code> -> <pre> in documentation
2012-11-19ssl: Fix bug in match expression found by DialyzerIngela Anderton Andin
Code should handle case the there is some undelivered data left on the socket when peer close signal is received. It is unlikely that this happens during normal testing.