Jeremy Mikola
30d935ecf2
Bump stability
2015-05-06 11:18:50 -04:00
Hannes Magnusson
71a91adda1
back to -dev
2015-05-04 22:17:47 -07:00
Hannes Magnusson
d8568abc0d
Bump stability
2015-05-04 21:48:24 -07:00
Jeremy Mikola
5bf6e2ccfd
PHPC-284: Create MongoDB\Driver\Exception\LogicException class
2015-05-04 16:15:17 -04:00
Hannes Magnusson
8c8b6a8add
Post-release-bump-version
2015-04-24 15:06:00 -07:00
Hannes Magnusson
cde3e32a7f
Bump version to 0.5.1-alpha
2015-04-24 14:53:29 -07:00
Hannes Magnusson
60fdf52e1d
PHPC-241: mongodb.debug improvements
2015-04-24 11:51:09 -07:00
Hannes Magnusson
ebc15aefea
PHPC-266: Add MongoDB\Driver\UnexpectedValueException
2015-04-23 16:13:35 -07:00
Hannes Magnusson
8d5e5d87c9
Bump copyright -- happy 2015
2015-04-23 10:16:20 -07:00
Hannes Magnusson
cdef381e39
Back to -dev
2015-04-21 14:21:05 -07:00
Hannes Magnusson
b7168ff743
Bump stability
2015-04-21 14:19:52 -07:00
Hannes Magnusson
14bc287dd6
post-release pump
2015-04-10 16:15:57 -07:00
Jeremy Mikola
fbd37dfdb1
Prep 0.4.1 release
2015-04-10 18:57:33 -04:00
Hannes Magnusson
f8be3a71f7
Back to -dev
2015-04-10 14:04:23 -07:00
Hannes Magnusson
69d2e010f2
prep 0.4.0 release
2015-04-10 14:03:00 -07:00
Hannes Magnusson
19df2d7557
Fix php_flock() warning on windows
2015-04-09 15:08:07 -07:00
Hannes Magnusson
69fe06ace8
Remove noop log handler
2015-04-08 12:58:05 -07:00
Jeremy Mikola
c454d27d95
PHPC-215: Fix Cursor iteration through IteratorIterator
...
This removes the invalidate_current handler. Due to SPL's implementation, our handler was being invoked between rewinding and checking if the current position was valid. Given that our validity check depends on inspecting a pointer to the current element (like MySQLi's result iterator), we cannot use invalidate_current.
The current element must still be freed during iteration, so we will instead call a php_phongo_cursor_free_current() function as needed. Additionally, we should track a reference to the Cursor object zval on the iterator itself, which will ensure it is not garbage-collected during iteration (demonstrated in the segfault backtrace in PHPC-215).
Lastly, this commit renames the Cursor object and iterator structs and related functions to be more consistent with implementions in PHP core.
2015-04-06 15:45:19 -04:00
Jeremy Mikola
66193e83bc
PHPC-224: Consolidate Result and Cursor classes into one
...
This class is now simply Traversable (no longer IteratorAggregate) and adds isDead() and getId() methods from the original Cursor class.
2015-04-06 15:45:19 -04:00
Hannes Magnusson
ab8d22c7ff
PHPC-219 - BSON\Javascript segfaults on Ubuntu Precise 32bit
2015-04-01 14:52:24 -07:00
Hannes Magnusson
3545be23b5
Fix stability name according to pecl rules
2015-03-30 13:58:58 -07:00
Hannes Magnusson
a2449279fe
bump version
2015-03-25 20:52:05 -07:00
Hannes Magnusson
2d6453eff9
bump version for windows packaging fix
2015-03-25 20:05:31 -07:00
Hannes Magnusson
d4433b6cdf
Bump version
2015-03-25 16:11:08 -07:00
Hannes Magnusson
48d96546f9
PHPC-175: Fix header includes on Windows
2015-03-25 13:40:38 -07:00
Hannes Magnusson
f1896687b4
PHPC-175: Windows doesn't have these compiler attributes
2015-03-25 13:39:11 -07:00
Hannes Magnusson
7c87856f5e
Bump version
2015-03-23 16:43:09 -07:00
Hannes Magnusson
809e99d7b8
PHPC-174: Rename module registration, constants and so on to mongodb
2015-03-23 16:37:38 -07:00
Hannes Magnusson
234da99149
Bump release to 0.2.0-alpha
2015-03-23 16:15:33 -07:00
Hannes Magnusson
7ccd38c870
Fix zts
2015-03-20 16:49:34 -07:00
Hannes Magnusson
5f8d990b53
PHPC-24 PHPC-77 PHPC-69 Provide a functioning Server object
2015-03-20 11:33:46 -07:00
Hannes Magnusson
50fe097841
Store the original mongoc_uri_t not just the options bson
2015-03-19 14:20:44 -07:00
Jeremy Mikola
aa5903790a
Return const struct pointers from zval getters
2015-03-17 16:17:24 -04:00
Jeremy Mikola
00f2da72f8
PHPC-181: Use const for pointer args where applicable
2015-03-17 16:10:04 -04:00
Hannes Magnusson
0ea4a52e99
post release bump
2015-03-11 11:05:56 -07:00
Hannes Magnusson
5a4778f928
PHPC-163: Throw BulkWriteException on BulkWrite failure
...
For execute[Insert|Update|Delete]() we unroll the BulkWrite exception
and throw the inner errors.
Note: WriteConcern failure now throws WriteConcernException!
2015-03-03 10:21:37 -08:00
Hannes Magnusson
633af554df
PHPC-166: Disable (un)serializing of phongo objects
2015-02-27 13:53:59 -08:00
Hannes Magnusson
457b6452fa
PHPC-165: Rename WriteBatch to BulkWrite
2015-02-20 15:05:29 -08:00
Hannes Magnusson
591c54f510
post release bump
2015-02-02 15:09:47 -08:00
Hannes Magnusson
7626368622
PHPC-139: var_dump()ing WriteBatch
2015-01-27 13:23:42 -08:00
Hannes Magnusson
770c2b579f
PHPC-136: var_dump() CommandResult and QueryResult
2015-01-09 16:00:08 -08:00
Hannes Magnusson
7814826e4f
Bump version
2014-12-22 13:45:48 -08:00
Hannes Magnusson
b2131a77c0
Bump version
2014-12-08 15:56:25 -08:00
Hannes Magnusson
ba8378e1fd
PHP-1319: Implement command cursors
2014-12-08 10:17:17 -08:00
Hannes Magnusson
a3ee5d626d
Make phongo_throw_exception variadic to improve error messages
2014-12-05 11:38:07 -08:00
Hannes Magnusson
de54f807fd
Bump version
2014-12-04 09:38:56 -08:00
Hannes Magnusson
da3754432f
PHP-1175: Add Support for SSL=true and SSL=prefer
2014-12-02 14:29:41 -08:00
Hannes Magnusson
6283fe2a96
Improve API consistency between WriteConcern and ReadPreference
...
Also fixes a segfault when no WriteConcern is provided
2014-12-01 13:55:49 -08:00
Hannes Magnusson
a0f2e15126
PHP-1296: Implement WriteConcerns
2014-11-26 14:04:30 -08:00
Hannes Magnusson
e691955755
Bump version
2014-11-26 12:23:51 -08:00