2010 Commits

Author SHA1 Message Date
Jeremy Mikola
2b381e27bb Package 1.2.4 1.2.4 2017-01-30 17:27:34 -05:00
Jeremy Mikola
9fd9bb1302 Merge pull request #520 2017-01-30 17:14:32 -05:00
Jeremy Mikola
0d0561a022 PHPC-898: Regression tests for readConcern option and getMore 2017-01-30 17:12:42 -05:00
Jeremy Mikola
faae013abe PHPC-898: Bump libmongoc and libbson to 1.5.4
Includes CDRIVER-2003, which fixes an issue with queries using a read concern.
2017-01-30 17:11:15 -05:00
Jeremy Mikola
986e21ec25 Merge pull request #518 2017-01-30 10:56:31 -05:00
Jeremy Mikola
906d0398fa Consolidate sources and CFLAGS into single variables
Extension sources are left on multiple lines so we can easily track changes; however, the list of libbson and libmongoc sources can be generated.
2017-01-25 13:54:18 -05:00
Jeremy Mikola
90755d4d27 MONGOC_SYMBOL_SUFFIX is never used 2017-01-25 11:20:39 -05:00
Jeremy Mikola
cc31fd7e7d Add all developer build flags in a consistent manner 2017-01-25 11:19:57 -05:00
Jeremy Mikola
88de0d6fa5 Building with developer flags should always use -Werror
The extension requires PHP 5.4+, so the PHP version check was redundant.
2017-01-25 11:19:57 -05:00
Jeremy Mikola
85e524e8e5 Merge pull request #515 2017-01-24 14:41:00 -05:00
Jeremy Mikola
8456780ac9 PHPC-894: Implement get_gc handlers for BSON classes
This addresses a memory leak if gc_possible_root() were to invoke the existing get_properties handlers.
2017-01-23 20:39:57 -05:00
Jeremy Mikola
85562ba195 Back to -dev 2017-01-17 13:36:45 -05:00
Jeremy Mikola
7d0e33419c Package 1.2.3 2017-01-17 13:23:30 -05:00
Jeremy Mikola
9b3bfede6d Merge pull request #513 1.2.3 2017-01-17 12:37:48 -05:00
Jeremy Mikola
a198e88b4f Ensure INT64 macros use their actual parameters
This fixes a build error from ADD_NEXT_INDEX_INT64 (added in 3a4da1c74c), where we referenced "val" instead of "value". That macro was based on ADD_INDEX_INT64 (added in 6bcba59cb5), which also incorrectly referenced "val"; however, that never resulted in a build error since a "val" was declared in the calling scope.
2017-01-17 12:33:10 -05:00
Jeremy Mikola
0854de578f Merge pull request #512 2017-01-17 11:34:04 -05:00
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