Permalink
Commits on May 13, 2017
Commits on Apr 29, 2017
  1. Doc fixes;

    boenrobot committed Apr 29, 2017
    Added .gitattributes, for the purposes of a lite Composer install.
  2. Fixed "failed to parse address" error that occurs in patched PHP vers…

    boenrobot committed Apr 29, 2017
    …ions for Debian 7 and Ubuntu 16.04.
Commits on Nov 14, 2016
  1. Revert "Added an implicit isAvailable() check in isAcceptingData(), w…

    boenrobot committed Nov 14, 2016
    …hich should minimize hangs on Linux when using isAcceptingData(null)."
    
    This reverts commit 2872340, more specifically, the Stream.php changes.
    
    (Why? Not only does it not solve sudden disconnection problems on Linux, but foef() may return true when there is still data in PHP's internal buffers)
Commits on Nov 12, 2016
  1. Added an implicit isAvailable() check in isAcceptingData(), which sho…

    boenrobot committed Nov 11, 2016
    …uld minimize hangs on Linux when using isAcceptingData(null).
Commits on Nov 7, 2016
  1. Prepared a 1.0.0b1 release (including a refresh of doxygen.ini and st…

    boenrobot committed Nov 7, 2016
    …reamlined extrasetup.php).
Commits on Dec 13, 2015
  1. Found a workaround for the stream sending problem in later PHP versions;

    boenrobot committed Dec 13, 2015
    Reorganized tests so that they use groups;
    Tweaked composer.json and .travis.yml files, so that "pear2/cache_shm" is installed separately, while allowing the build to continue without it.
Commits on Jul 5, 2015
  1. Moved the isAcceptingData() call in Stream::send() to be before the f…

    boenrobot committed Jul 5, 2015
    …irst fwrite, to safeguard against omitted checks in upper layers;
    
    TcpClient's constructor now only calls setIsBlocking() if necessary. This avoids cases where non-blocking streams are forbidden by php.ini (via disabling stream_set_blocking());
    Added configuration file for Sami;
    Documentation generators all now generate their docs in "Reference/{{generator}}/Doc".
Commits on Mar 8, 2015
  1. Doc fixes;

    boenrobot committed Mar 8, 2015
    Removed deprecated "strict" option from phpunit.xml and secondaryPeer.xml;
    Some more progress towards working encrypted connections.
Commits on Nov 2, 2014
  1. Tweaked release files, and regenerated package.xml.

    boenrobot committed Oct 31, 2014
Commits on Oct 26, 2014
  1. Added code coverage information, generated and sent to Scrutinizer-ci.

    boenrobot committed Oct 26, 2014
  2. Simplified Stream::isAvaiable() (moved the changes to NetworkStream::…

    boenrobot committed Oct 26, 2014
    …isAvailable());
    
    Added bootstrap code to generate self signed SSL certificate for testing (but the SSL tests are still disabled, as most hang).
Commits on Oct 25, 2014
  1. Reworked Stream::isAvailable() and Stream::isAcceptingData(), to reso…

    boenrobot committed Oct 25, 2014
    …lve a compatibility issue with Linux that was causing Travis-CI to hang;
    
    Added PHP 5.6 to Travis-CI;
    Changed test so that a failure stops them (to hopefully avoid other sorts of hangs).
Commits on Oct 22, 2014
  1. Doc fixes.

    boenrobot committed Oct 22, 2014
Commits on Oct 19, 2013
  1. Adjusted composer to install phpunit as a dev dependency, and for Tra…

    boenrobot committed Oct 19, 2013
    …vis-CI to use it;
    
    Removed catalog.xml.
  2. Changed Stream to use fwrite/fread duo when sending streams, instead …

    boenrobot committed Oct 19, 2013
    …of stream_copy_to_stream for the sake of stability;
    
    Added a second argument to Stream's constructor telling whether the wrapped stream should be closed on Stream's destruction - FALSE by default, overridden to TRUE by NetworkStream;
    Modified the ServerTest timeout to 4 minutes, to prevent Travis from canceling the run (while still allowing manual testing);
    Doc fixes.
Commits on Oct 13, 2013
  1. Fixed the createException() signature compatibility error;

    boenrobot committed Oct 13, 2013
    Restored PEAR2_Cache_SHM addition at bootstrap.php;
    Adjusted composer.json to unconditionally include the develop version of PEAR2_Cache_SHM as a dev dependency;
    Adjusted .travis.yml to store the output of secondaryPeer, and output it after the test.
  2. Changed ServerTest.php to only have 10min timeout;

    boenrobot committed Oct 13, 2013
    Altered bootstrap.php to write to STDERR and exit with error code 1 when an autoloader is not found;
    Made Travis-CI use PHP 5.3.3 (the minimum supported by both the test suite and Travis-CI).
Commits on Sep 29, 2013
  1. Added $fragment to SocketException, and made receiving fill it with t…

    boenrobot committed Sep 29, 2013
    …he gathered data upon failure.
Commits on Aug 15, 2013
  1. Packaging related fixes.

    boenrobot committed Aug 14, 2013
Commits on Aug 14, 2013
  1. Added a .travis.yml file.

    boenrobot committed Aug 14, 2013
  2. Reverted encrypted connection tests;

    boenrobot committed Aug 14, 2013
    Modified Stream and NetworkStream to work with non-blocking streams too, which in turn is what encrypted connections are made to use.
Commits on Jun 27, 2013
  1. Added a .gitignore for the sake of the vendor dir;

    boenrobot committed Jun 27, 2013
    Renamed NetworkStream::CRYPTO_SSL23 to just NetworkStream::CRYPTO_SSL;
    Doc fixes.
  2. Changed the values of the NetworkStream::CRYPTO_* constants to contai…

    boenrobot committed Jun 27, 2013
    …n just the crypto name;
    
    NetworkStream::getCrypto() now also works as expected when the connection is initially encrypted.
Commits on Jun 26, 2013
Commits on Apr 28, 2013
Commits on Apr 26, 2013
  1. Added the ability for timeouts at isAcceptingData() and isDataAwaitin…

    boenrobot committed Apr 26, 2013
    …g(), and reworked the sending and receiving accordingly.
Commits on Dec 26, 2012
Commits on Dec 16, 2012