Jeremy Mikola
390e0365f0
Package 1.2.2
1.2.2
2016-12-13 15:14:10 -05:00
Jeremy Mikola
072bb284be
Merge pull request #490
2016-12-13 15:13:04 -05:00
Jeremy Mikola
06f05de04b
Remove Travis configuration for notification emails
2016-12-13 15:11:37 -05:00
Jeremy Mikola
3beadc7c12
DateTime from current time now includes microseconds in PHP 7.1
2016-12-13 15:02:35 -05:00
Jeremy Mikola
c6c9013521
Add PHP 7.1 to Travis build matrix
2016-12-13 15:02:24 -05:00
Jeremy Mikola
53b0602ab3
Merge pull request #489
2016-12-13 14:31:30 -05:00
Jeremy Mikola
081331ee2b
Update closed socket test for libmongoc stream handling
...
The previous error message was based on PHP's stream handlers, which are no longer used in 1.2.x.
2016-12-13 14:29:00 -05:00
Jeremy Mikola
1575a96ecb
Merge pull request #488
2016-12-13 11:55:37 -05:00
Jeremy Mikola
49e09578b7
Valid read preference tag sets should always be documents
...
This function was originally implemented in PHPC-424, before we started preparing tag sets in PHPC-359 to ensure that they serialized as BSON documents. There is no longer any reason to allow array types here.
2016-12-12 19:31:46 -05:00
Jeremy Mikola
6b41ed0e87
Remove trailing whitespace
2016-12-12 19:31:45 -05:00
Jeremy Mikola
120b270377
PHPC-851: Separate argument zvals before modification
...
This primarily fixes a bug introduced in 6d46d62577 for PHPC-359, since we convert tag sets from arrays to objects to ensure proper BSON serialization. Not only was the array mutation visible to calling contexts, but a crash could occur if the array was immutable due to OPcache.
For Manager's $driverOptions, a comment in 1060cb8ba4 for PHPC-433 indicated that we should have separated its zval due to possible modification, but the appropriate zend_parse_parameters() flag was never used.
2016-12-12 19:31:45 -05:00
Jeremy Mikola
043a43976a
Merge pull request #486
2016-12-12 12:59:46 -05:00
Jeremy Mikola
0dd057d4d7
PHPC-849: Fix leaking of current element in setTypeMap()
2016-12-12 12:59:00 -05:00
Jeremy Mikola
8033c1b09a
Refactor out php_phongo_cursor_free()
2016-12-12 12:59:00 -05:00
Jeremy Mikola
32b93dba33
Move cursor iterator handlers into Cursor.c
2016-12-12 12:59:00 -05:00
Jeremy Mikola
4d2b8f2d63
Merge pull request #485
2016-12-12 12:58:11 -05:00
Jeremy Mikola
0bf726420b
Use zend_hash ptr functions for PHP7
2016-12-12 12:57:41 -05:00
Jeremy Mikola
017d0fef8c
Fix indentation for compiler directives
2016-12-12 12:57:41 -05:00
Jeremy Mikola
3daf370d4b
PHPC-854: Initialize persistent client hash directly in GINIT
...
Previous initialization during MINIT and using the accessor macro was causing crashes in Apache.
This also declares externs for TSRMLS_CACHE, as is done in other extensions.
2016-12-12 12:57:41 -05:00
Jeremy Mikola
0341455045
Merge pull request #487
2016-12-12 12:55:41 -05:00
Jeremy Mikola
9f0fedcb44
Only fetch TSRMLS for 32-bit platforms in int64 visitor
...
This fixes a build error introduced in be58940cd9 .
2016-12-12 12:53:43 -05:00
Jeremy Mikola
f92666aec5
Merge pull request #483
2016-12-08 18:04:52 -05:00
Jeremy Mikola
0bcf414a43
PHPC-853: Fix replacement of version constants for Windows
2016-12-08 17:54:43 -05:00
Jeremy Mikola
dd712dbfea
PHPC-852: Do not depend on date and standard extensions in config.w32
2016-12-08 17:53:33 -05:00
Jeremy Mikola
4a7f6d5d3c
Back to -dev
2016-12-07 13:26:17 -05:00
Jeremy Mikola
e841684de5
Package 1.2.1
1.2.1
2016-12-07 13:25:30 -05:00
Jeremy Mikola
a96f3fb544
Merge branch 'v1.1'
2016-12-07 13:00:44 -05:00
Jeremy Mikola
2cf17a5225
Back to -dev
2016-12-07 12:59:59 -05:00
Jeremy Mikola
484299468f
Package 1.1.10
1.1.10
2016-12-07 12:58:15 -05:00
Jeremy Mikola
427aa5d6b0
Remove duplicate content from release changelog
2016-12-07 12:55:16 -05:00
Jeremy Mikola
99f4cbc673
Merge branch 'v1.1'
2016-12-07 12:26:07 -05:00
Jeremy Mikola
b525a9b291
Merge pull request #481
2016-12-07 12:25:35 -05:00
Jeremy Mikola
129753881a
PHPC-848: Consult ZEND_HASH_APPLY_PROTECTION() in PHP7
...
When a numeric array was encoded to BSON, the hash's apply counter was incremented and decremented irrespective of whether apply protection was enabled. This was not compatible with immutable arrays, which may be created by OPcache. We now consult ZEND_HASH_APPLY_PROTECTION() whenever an apply counter might be modified.
Previously, object_to_bson() incremented the apply counter when converting a MongoDB\BSON\Type instance. Associative arrays and other objects were not protected. This patch adds recursion checking for those types.
Since PHP7 already has macros for working with the apply counter, this patch adds equivalent macros for PHP 5.x.
2016-12-07 10:55:59 -05:00
Jeremy Mikola
33b9e5f75b
Back to -dev
2016-11-29 17:02:33 +01:00
Jeremy Mikola
96da052d10
Package 1.2.0
1.2.0
2016-11-29 17:01:03 +01:00
Jeremy Mikola
0bd093540c
Issues not are not "Fixed" should be unassociated with release versions
2016-11-29 16:56:54 +01:00
Jeremy Mikola
6ab729be78
Merge pull request #474
2016-11-29 15:57:49 +01:00
Jeremy Mikola
be58940cd9
Ensure php_phongo_bson_visit_int64() has TSRMLS vars if needed
...
Fixes a 32-bit build error introduced in 22a39d68f3 for PHPC-313
2016-11-29 15:45:11 +01:00
Jeremy Mikola
9ac90fb946
Update release process to reflect current JIRA workflow
2016-11-29 15:35:21 +01:00
Derick Rethans
1481d56dcb
Fixed CREDITS file and include it in package.xml too
2016-11-29 13:35:51 +00:00
Jeremy Mikola
c343384b71
Merge pull request #471
2016-11-28 13:06:07 +01:00
Jeremy Mikola
8b173d90d9
PHPC-654: Javascript comparison handler
2016-11-28 12:49:12 +01:00
Jeremy Mikola
ae987ca82f
PHPC-654: UTCDateTime comparison handler
2016-11-28 12:49:12 +01:00
Jeremy Mikola
7a12b863ba
PHPC-654: Timestamp comparison handler
2016-11-28 12:49:12 +01:00
Jeremy Mikola
bdb5f3c6ba
PHPC-654: Regex comparison handler
2016-11-28 12:49:12 +01:00
Jeremy Mikola
994a1dac7b
PHPC-654: Binary comparison handler
2016-11-28 12:49:12 +01:00
Jeremy Mikola
94666833cc
PHPC-654: Regression tests for MaxKey and MinKey comparisons
2016-11-28 12:49:12 +01:00
Jeremy Mikola
70d7186d63
PHPC-654: Regression tests for ObjectID comparisons
2016-11-28 12:49:12 +01:00
Jeremy Mikola
767fb73b84
Remove unused get_debug_info handlers
...
These should have been removed for PHPC-460.
2016-11-28 12:49:12 +01:00
Derick Rethans
850d8cee95
Merged pull request #470
2016-11-28 11:47:34 +00:00