Jeremy Mikola
a1cd524217
PHPC-881: Bump libmongoc and libbson to 1.5.3
...
Includes CDRIVER-1964, which fixes an issue with opening the Windows CA store.
2017-01-13 16:43:59 -05:00
Jeremy Mikola
e1c012f440
Merge pull request #440
2017-01-13 15:21:45 -05:00
Jeremy Mikola
937a2c2b37
PHPC-714: Expected failures for BSON corpus tests
2017-01-13 15:05:42 -05:00
Jeremy Mikola
44f54d9717
PHPC-714: Generate BSON corpus tests
...
Generated from mongodb/specifications@784379e0c1
2017-01-13 15:05:41 -05:00
Jeremy Mikola
56f3a9da74
PHPC-714: Script to convert BSON corpus tests
2017-01-13 15:05:41 -05:00
Jeremy Mikola
4d0706139b
Merge pull request #500
2017-01-11 11:16:25 -05:00
Jeremy Mikola
f94383812e
Remove duplicate #include
2017-01-11 11:14:20 -05:00
Jeremy Mikola
3ff292cbb8
PHPC-879: Remove dependency on php_date_get_immutable_ce()
2017-01-11 11:14:20 -05:00
Jeremy Mikola
997fe40f9c
PHPC-878: Remove dependency on php_json_serializable_ce symbol
...
Since JsonSerializable is required, this also adds a helpful startup error message if json.so is not already loaded.
2017-01-11 11:14:20 -05:00
Jeremy Mikola
f9372287cb
Merge pull request #504
2017-01-10 12:49:02 -05:00
Jeremy Mikola
84dbfe07f7
PHPC-891: BSON encoding should throw if PHP keys contain null bytes
...
Since PHP uses leading null bytes in object properties to denote protected and private members, we ignore those keys in lieu of throwing an exception.
2017-01-10 12:00:49 -05:00
Jeremy Mikola
caa4650f73
PHPC-886: Always recalculate field name length when encoding BSON
2017-01-10 12:00:49 -05:00
Jeremy Mikola
b3b3a550e4
PHPC-884: Do not skip public property with empty string name during BSON encoding
...
This removes our is_public_property() helper function in favor of a simpler check on the mangled property name (as done by PHP's json_encode() function).
2017-01-10 12:00:49 -05:00
Jeremy Mikola
d65aa7a8c3
Merge pull request #505
2017-01-09 11:15:58 -05:00
Jeremy Mikola
737312d74e
Remove unused ADD_INDEX_STRINGL() macro
2017-01-09 11:15:39 -05:00
Jeremy Mikola
3a4da1c74c
PHPC-883: BSON array keys should be disregarded during visitation
2017-01-09 11:15:39 -05:00
Jeremy Mikola
521b3af04a
Merge pull request #506
2017-01-09 09:33:33 -05:00
Jeremy Mikola
e9271bf8a9
PHPC-885: Alphabetize Regex flags when instantiating from BSON
2017-01-09 09:33:04 -05:00
Jeremy Mikola
8b7d4c1a5c
Merge pull request #508
2017-01-09 09:32:18 -05:00
Jeremy Mikola
7fbef008fe
Remove $Id$ SVN keyword instances
2017-01-06 15:43:18 -05:00
Jeremy Mikola
2efc183b38
PHPC-890: Add license header copypasta
2017-01-06 15:41:58 -05:00
Jeremy Mikola
4b49b1ad80
Merge pull request #498
2016-12-20 11:37:37 -05:00
Jeremy Mikola
1badc1bcbb
PHPC-633: Include libmongoc SSL, crypto, and SASL details in phpinfo()
2016-12-20 11:37:25 -05:00
Jeremy Mikola
b0192b29d6
Reorder libbson and libmongoc output in phpinfo()
2016-12-19 14:32:08 -05:00
Jeremy Mikola
2c4a1edd98
More descriptive labels for ext/dep versions in phpinfo()
2016-12-19 14:03:50 -05:00
Jeremy Mikola
b64c437f8d
Merge pull request #497
2016-12-19 11:38:37 -05:00
Jeremy Mikola
86f882668c
PHPC-855: Bump libmongoc and libbson to 1.5.1
2016-12-19 11:30:40 -05:00
Jeremy Mikola
e84e9c5928
Merge pull request #472
2016-12-19 10:57:00 -05:00
Jeremy Mikola
2599607b47
PHPC-635: WriteResult debug handler should return objects
2016-12-19 09:40:29 -05:00
Jeremy Mikola
c2065c572d
Merge pull request #494
2016-12-19 09:37:40 -05:00
Jeremy Mikola
c7a10752c5
Remove unused pcre-dir configuration option
2016-12-16 16:09:19 -05:00
Jeremy Mikola
e5f75ae40c
Remove old dnl statements in config.m4
2016-12-16 16:08:58 -05:00
Jeremy Mikola
a2ac983e96
Remove unused HAVE_MONGOC definition
2016-12-16 16:06:16 -05:00
Jeremy Mikola
f25020f2dc
PHPC-873: Do not allow mixing bundled and system libraries
2016-12-16 15:06:57 -05:00
Jeremy Mikola
47b9be9384
PHPC-856: Pass libbson and libmongoc build flags explicitly
...
These definitions are only required for the individual libbson and libmongoc sources and should not be injected into CPPFLAGS.
2016-12-16 14:41:53 -05:00
Jeremy Mikola
5d063b6c1d
Merge pull request #493
...
PHPC-872: Do not use system crypto policy for OpenSSL on Windows
2016-12-16 13:12:29 -05:00
Jeremy Mikola
6b3c904169
PHPC-872: Do not use system crypto policy for OpenSSL on Windows
...
This flag is primarily intended for Linux distributions with custom profiles (e.g. Fedora). d227207f97 for PHPC-703 incorrectly assumed that libmongoc was enabling it by default on Windows.
2016-12-16 13:11:43 -05:00
Jeremy Mikola
f0055d67e4
Back to -dev
2016-12-13 15:34:33 -05:00
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