Jeremy Mikola
cbf0330ba2
Back to -dev
2015-10-30 12:26:03 -04:00
Jeremy Mikola
68a51d3cea
Bump extension version to 1.0.0
2015-10-30 11:58:52 -04:00
Jeremy Mikola
ee8d2247c7
Back to -dev
2015-10-26 17:08:32 -04:00
Jeremy Mikola
2a2658cc53
Bump extension version to 1.0.0RC0
2015-10-26 16:49:28 -04:00
Jeremy Mikola
70c092f379
PHPC-465: Remove WriteConcernException and WriteErrorException
...
These exceptions were only used by the single write methods.
2015-10-21 23:42:40 -04:00
Jeremy Mikola
fe9fb63267
PHPC-465: Remove Manager's single write methods
...
Existing tests for single write methods were ported to executeBulkWrite() tests.
2015-10-21 19:32:42 -04:00
Jeremy Mikola
82a31a35ee
Fix indentation
2015-10-15 15:40:17 -04:00
Hannes Magnusson
06281f727c
Merge pull request #121 from bjori/PHPC-256-prod-debug-logs
...
PHPC-256: Production debug logs
2015-10-12 14:09:11 -07:00
Hannes Magnusson
98dc85a140
PHPC-256: Productions debug logs
2015-10-07 14:15:54 -07:00
Hannes Magnusson
3740eaa9e0
No need for TSRMLS here -- no calls to PHP at all
2015-10-07 13:41:51 -07:00
Jeremy Mikola
cb14fadb0c
Back to -dev
2015-10-06 19:10:07 -04:00
Jeremy Mikola
eeeaeba6c3
Bump extension version to 1.0.0beta2
2015-10-05 17:44:49 -04:00
Hannes Magnusson
ec3e1cc895
PHPC-377: Eliminate object casting and whole lot of zend hash helpers
...
Use BSON for all this parsing as that is the target format anyway
Conflicts:
php_phongo.c
php_phongo.h
src/MongoDB/Query.c
2015-09-23 14:57:47 -04:00
Jeremy Mikola
1e126e500d
Move PHONGO_WRITE_CONCERN_W_MAJORITY definition to php_phongo.h
2015-09-16 17:37:14 -04:00
Jeremy Mikola
81c763442b
PHPC-417: Return value objects from Manager RP/WC getters
2015-09-15 15:19:35 -04:00
Jeremy Mikola
fef42a758f
Back to -dev
2015-09-10 11:32:36 -07:00
Jeremy Mikola
1e70a6092d
Bump extension version to 1.0.0beta1
2015-09-10 11:21:26 -07:00
Hannes Magnusson
66cc122c19
Back to -dev
2015-08-21 13:44:31 -07:00
Jeremy Mikola
36899137c3
Bump extension version to 1.0.0alpha2
2015-08-20 20:20:07 -04:00
Jeremy Mikola
cb0249892a
Bump extension version to 1.0.0alpha1
2015-08-20 16:03:35 -04:00
Jeremy Mikola
01564891f9
PHPC-353: Support RP and WC in Manager options array
...
The read preference and write concern are complex structures, so we can't simply set their options on the URI as we do for other things (e.g. auth credentials).
2015-08-13 16:12:33 -04:00
Derick Rethans
89caf72c6a
Rename BSON\Binary's subType field and getSubType() method to type and getType()
2015-08-04 10:42:45 +01:00
Hannes Magnusson
d017a80ea0
PHPC-229: Support options array in second parameter of Manager ctor
2015-07-22 13:47:43 -04:00
Hannes Magnusson
c09dc2ff4d
PHPC-300: Add var_dump() debug info for Server
2015-05-13 18:38:03 -07:00
Hannes Magnusson
986230190d
PHPC-299: Annoying compiler warning
2015-05-13 13:44:39 -07:00
Hannes Magnusson
6ae850bdee
Bump version
2015-05-06 09:53:30 -07:00
Hannes Magnusson
836b9c9449
prep for 0.6.3
2015-05-06 09:47:45 -07:00
Jeremy Mikola
3489e9b7c9
back to -dev
2015-05-06 11:46:34 -04:00
Jeremy Mikola
66b04e50ae
Bump stability
2015-05-06 11:42:42 -04:00
Jeremy Mikola
6e33de65ee
back to -dev
2015-05-06 11:34:40 -04:00
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