Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 10, 2014
  1. Hannes Magnusson
Commits on Aug 26, 2014
  1. Derick Rethans

    PHP-1151: Remove support for compiling without PHP streams

    derickr authored
    Also removed the code, and (ir)relevant test cases.
Commits on May 12, 2014
  1. Derick Rethans
Commits on Apr 1, 2014
  1. Derick Rethans

    BUMP 1.5.0RC2

    derickr authored
Commits on Mar 27, 2014
  1. Derick Rethans
Commits on Mar 3, 2014
  1. Hannes Magnusson
Commits on Feb 25, 2014
  1. Hannes Magnusson
Commits on Feb 21, 2014
  1. Hannes Magnusson
  2. Hannes Magnusson
  3. Hannes Magnusson
Commits on Feb 19, 2014
  1. Hannes Magnusson

    PHP-880: Initial implementation of the new (2.6.0) Write API

    bjori authored
    Currently only supports inserts.
    Use php_mongo_api_connection_supports_feature() to see if the server
    supports this new API before use!
    
    Conflicts:
    	config.m4
  2. Hannes Magnusson

    PHP-880: Add couple of new exceptions for the new Write API

    bjori authored
    MongoDuplicateKeyException extends MongoWriteConcernException
    MongoProtocolException extends MongoExceptions
    
    MongoDuplicateKeyException will be thrown on duplicate-key errors
    from the new write api.
    
    MongoProtocolException will be thrown on "new" protocol errors,
    and when we start breaking BC, will be thrown instead of
    MongoCursorException on request/response id mismatches and
    related errors which incorrectly throw Cursor exceptions for BC
    
    Conflicts:
    	config.m4
    	config.w32
    	php_mongo.c
Commits on Feb 18, 2014
  1. Derick Rethans

    Moving shared stuff out to cursor_shared.c

    derickr authored
    Of course, the command cursor does not exist yet, so this is preliminary work.
Commits on Feb 3, 2014
  1. Derick Rethans
Commits on Dec 2, 2013
  1. Hannes Magnusson
Commits on Nov 7, 2013
  1. Hannes Magnusson
  2. Hannes Magnusson
Commits on Sep 27, 2013
  1. Jeremy Mikola

    PHP-708: Implement WriteConcernException for GLE errors

    jmikola authored
    This also adds error checking for the GLE command itself, using the same function that findAndModify() uses to inspect the command response.
    
    If the GLE response is successful, the write operation is considered to have failed if the "err" field is a non-empty string. Previously, we sourced the message and code from the "errmsg" and "n" fields, respectively, which was incorrect.
Commits on Jun 17, 2013
  1. Hannes Magnusson
Commits on Mar 28, 2013
  1. Hannes Magnusson Derick Rethans

    Fix pecl install after all the refactoring

    bjori authored derickr committed
  2. Hannes Magnusson Derick Rethans

    Fixed PHP-724: Stream context based logging framework

    bjori authored derickr committed
    Initial support for "mongodb" stream context options
    Valid context options are:
        log_insert => function($serverinfo, $newdocument, $insertoptions)
        log_query  => function($serverinfo, $query, $cursoroptions)
        log_update => function($serverinfo, $criteria, $newdoc, $insertoptions, $cursoroptions)
        log_delete => function($serverinfo, $criteria, $insertoptions, $cursoroptions)
        log_getmore => function($serverinfo, $cursorinfo)
        log_killcursor => function($serverinfo, $cursorid)
        log_batchinsert => function($serverinfo, $documents, $flags, $insertoptions)
    
    Note that some things (like $query) may have been modified between the
    time the user called the function and the time we emit the callback.
    This is because we do rewrite for example the query to support mongos
Commits on Mar 27, 2013
  1. Hannes Magnusson Derick Rethans

    Remove hash.[c|h] as it is no longer used

    bjori authored derickr committed
Commits on Mar 25, 2013
  1. Hannes Magnusson Derick Rethans

    Rename the config switch to --[disable|enable]-mongo-streams

    bjori authored derickr committed
    And hopefully add windows support :)
  2. Hannes Magnusson Derick Rethans
  3. Hannes Magnusson Derick Rethans

    Rename the PHP streams out of mcon/ and only enable them with --enabl…

    bjori authored derickr committed
    …e-streams
  4. Hannes Magnusson Derick Rethans
Commits on Mar 18, 2013
  1. Hannes Magnusson
Commits on Feb 14, 2013
  1. Derick Rethans
  2. Derick Rethans
Commits on Feb 11, 2013
  1. Derick Rethans
  2. Derick Rethans
  3. Derick Rethans
  4. Derick Rethans
  5. Derick Rethans
  6. Derick Rethans
Something went wrong with that request. Please try again.