Permalink
Switch branches/tags
Nothing to show
Commits on Jan 20, 2012
Commits on Dec 11, 2011
  1. Merge pull request #14 from aaronpk/master

    Jonathon Hill
    Jonathon Hill committed Dec 11, 2011
    Fixed minor bugs
  2. Fix missing "$sz" variable in example/userstream-simple.php. I assume…

    aaronpk committed Dec 11, 2011
    … this was suppose to be the size of the object returned in the stream.
Commits on Dec 1, 2011
  1. Fixed inconsistent code, indentation and other cleanups.

    fennb committed Dec 1, 2011
    Fixed inconsistent braces, mixed indentation, invalid comment chars (#
    is not valid for PHP);
    Switched raw var_dump to proper log output;
    Other minor cleanups;
  2. Merge pull request #12 from fhossain/master

    fennb committed Dec 1, 2011
    Fix Phirehose to make length delimited requests properly
Commits on Nov 30, 2011
Commits on Oct 2, 2011
Commits on Sep 22, 2011
  1. Merge pull request #10 from vitch/patch-1

    Jonathon Hill
    Jonathon Hill committed Sep 22, 2011
    The URL_BASE constant was being overridden and so it was connecting via h
  2. The URL_BASE constant was being overridden and so it was connecting v…

    vitch committed Sep 22, 2011
    …ia http (rather than https in the super class since c299dfa). My app was refusing to authenticate against the API and making this change fixed it for me...
Commits on Sep 1, 2011
  1. Updated default URL_BASE to https; Changed UserAgent signature to ref…

    fennb committed Sep 1, 2011
    …lect move to github;
Commits on Aug 11, 2011
Commits on Aug 7, 2011
Commits on Aug 4, 2011
Commits on Aug 3, 2011
Commits on Jul 26, 2011
  1. FIX: get UserstreamPhirehose class working again (replace use of TCP_…

    DarrenCook committed Jul 26, 2011
    …BACKOFF and HTTP_BACKOFF with the class members)
Commits on Jul 11, 2011
  1. Move avgElapsed from being local to class variable.

    DarrenCook committed Jul 11, 2011
    Stop giving lastAverage to statusUpdate() (the base class implementation does not use it, and it is very unlikely a derived version would want it)
    Minor change in base class version of statusUpdate: it now shows actual number of seconds since previous call, rather than number of seconds it should have been.
    Change heartbeat function to not take parameters, and instead use member variables.
  2. Function parameters of statusUpdate() has changed.

    DarrenCook committed Jul 10, 2011
    These variables changed from being local vars in consume() to being protected class vars:
      statusCount, filterCheckCount, enqueueSpent, filterCheckSpent, idlePeriod, maxIdlePeriod
    They are initialized to zero on object construction, not in call to consume() (may affect scripts that call consume() more than once in their lifetime; but only if they were already overriding statusUpdate(), as the default version resets them every 60 seconds anyway.)
    Stopped checking return value of enqueueStatus(), as it is not documented anywhere that is supposed to return true, no examples show it, and nothing useful happens if true is not returned.
    Added $enqueueTimeMS and $filterCheckTimeMS as class vars, and therefore removed having them calculated as local vars in the default statusUpdate() function.
    NOTE: heartbeat not supported yet (next commit will do that)
Commits on Jul 5, 2011
  1. Accept 2nd param to log() giving log level.

    DarrenCook committed Jul 5, 2011
    Extract statusUpdate() out of the consume() function.
    Bug fix: Change query encoding from RFC1738 to RFC3986
    Changed these class constants into class member vars:
    USER_AGENT
    FILTER_CHECK_MIN
    FILTER_UPD_MIN
    TCP_BACKOFF
    TCP_BACKOFF_MAX
    HTTP_BACKOFF
    HTTP_BACKOFF_MAX
Commits on Jun 30, 2011
  1. Merge branch 'master' of git://github.com/fennb/phirehose

    sebastianhoitz committed Jun 30, 2011
    Conflicts:
    	.gitignore
  2. Updated ignore files.

    sebastianhoitz committed Jun 30, 2011
Commits on Jun 28, 2011
  1. Updated gitignore.

    fennb committed Jun 28, 2011
  2. Minor updates in version/docstrings & examples

    fennb committed Jun 28, 2011
    Fixed bug in consume example where tweets could be larger than 4096 bytes.
Commits on Jun 11, 2011
  1. * Bugfix: fatal error on network loss (resolves http://code.google.co…

    Jonathon Hill
    Jonathon Hill committed Jun 11, 2011
    …m/p/phirehose/issues/detail?id=1)
    
    * Bugfix: HTTP 406 if arg_separator.output is '&' (resolves http://code.google.com/p/phirehose/issues/detail?id=2)
    * Throw PhirehoseException, PhirehoseNetworkException, PhirehoseConnectLimitExceeded exception classes
    * Added support for a Phirehose::heartbeat() method to enable Phirehose status logging and reporting
    * Removed stray line-end whitespace
Commits on Apr 27, 2011
  1. Merged pull request #1 from sebastianhoitz/master.

    fennb committed Apr 27, 2011
    Added OAuth support
Commits on Apr 25, 2011
Commits on Apr 24, 2011
Commits on Apr 23, 2011
Commits on May 4, 2010
  1. Changing properties.

    fenn.bailey
    fenn.bailey committed May 4, 2010
    git-svn-id: http://phirehose.googlecode.com/svn/trunk@30 66cfb602-a329-11de-bb10-370f7287a6b7
Commits on Apr 7, 2010
  1. - Fixed bug where filter predicates got "stuck" as blank/null (repor…

    fenn.bailey
    fenn.bailey committed Apr 7, 2010
    …ted by Toby P)
    
     - Fixed bug where hang could occur after reconnect to quiet streams (reported by Toby P)
     - Cleaned up connect() state initialization to reliably reconnect
    
    git-svn-id: http://phirehose.googlecode.com/svn/trunk@28 66cfb602-a329-11de-bb10-370f7287a6b7
Commits on Feb 26, 2010
  1. Version 0.2.3:

    fenn.bailey
    fenn.bailey committed Feb 26, 2010
     - Implemented stream idle timeouts (reconnects if streams die)
     - Implemented per-connection DNS lookups
     - Fixed bug where you could get caught in reconnect loop if invalid filter predicates specified
     - Added getLastErrorMsg() and getLastErrorNo() methods (to deal with above)
     - Improved logging
    
    
    git-svn-id: http://phirehose.googlecode.com/svn/trunk@27 66cfb602-a329-11de-bb10-370f7287a6b7
Commits on Feb 10, 2010
  1. - Increase version to 0.2.2

    fenn.bailey
    fenn.bailey committed Feb 10, 2010
     - Fixed @version tag
     - Improved error logging
     - Improved connection validity check
     - Added ghetto-queue-consume example
    
    
    git-svn-id: http://phirehose.googlecode.com/svn/trunk@24 66cfb602-a329-11de-bb10-370f7287a6b7