2043 Commits

Author SHA1 Message Date
Jeremy Mikola f2d54bf68e Package 1.2.6 1.2.6 2017-03-07 14:13:05 -05:00
Jeremy Mikola 9243b60f35 Merge pull request #546 2017-03-07 11:43:10 -05:00
Jeremy Mikola e25091bd75 PHPC-917: Bump libmongoc and libbson to 1.5.5
Includes CDRIVER-2057, which fixes the default value for localThresholdMS.
2017-03-07 11:41:25 -05:00
Jeremy Mikola 68432cb496 Merge pull request #544 2017-03-06 12:14:56 -05:00
Jeremy Mikola 06778c6928 PHPC-901: False slaveOk URI option should be ignored 2017-03-06 12:14:44 -05:00
Jeremy Mikola 0c5d4f36f3 Regression tests for slaveOk URI option 2017-03-06 12:14:44 -05:00
Jeremy Mikola 8f0e411ef5 Merge pull request #542 2017-03-06 12:13:55 -05:00
Jeremy Mikola 600db56bd8 PHPC-912: Do not destroy persisted clients created by other processes 2017-03-06 12:13:33 -05:00
Jeremy Mikola 353c78e248 Merge pull request #543 2017-03-06 12:11:19 -05:00
Jeremy Mikola f2b4eb72fa PHPC-736: Remove zend_str_tolower_dup() in ObjectID construction 2017-03-03 13:55:22 -05:00
Jeremy Mikola e40a4c6a0b Rename function argument to avoid shadowing 2017-03-03 13:53:58 -05:00
Jeremy Mikola 17da70518d Merge pull request #539 2017-03-03 09:42:15 -05:00
Jeremy Mikola 0244d19cd3 PHPC-923: Use zend_string_release() to free class names 2017-03-03 09:41:58 -05:00
Jeremy Mikola 1d8a3e835b Merge pull request #541 2017-03-03 09:41:36 -05:00
Jeremy Mikola 139ad8e12c PHPC-924: Avoid unnecessary BSON conversion in Cursor::setTypeMap() 2017-03-03 09:23:02 -05:00
Jeremy Mikola 3bce095dde Merge pull request #531 2017-02-14 12:55:44 -05:00
Jeremy Mikola b55ea81fd6 PHPC-913: Child process should not re-use mongoc_client_t objects from parent 2017-02-13 17:21:39 -05:00
Jeremy Mikola ab2e2b88cc Merge pull request #526 2017-02-10 15:33:21 -05:00
Jeremy Mikola 59dc7c7ebf Remove obsolete tests for PHPC-487
These tests were originally written with the PHP stream handler in mind, which is no longer used in 1.2.0+.
2017-02-08 14:19:43 -05:00
Jeremy Mikola 44ac5c4889 Manager debug ouput tests should not depend on libmongoc tracing
These tests were fragile and could fail when using libmongoc as a system library where tracing may not be enabled.
2017-02-07 18:43:23 -05:00
Jeremy Mikola 6ed6a34f5b Only assert mongodb.debug INI in phpinfo() tests
The current phpinfo() tests were fragile and not compatible when build against libbson/libmongoc system libraries, which might also have different SSL options.
2017-02-07 16:37:12 -05:00
Jeremy Mikola 04bd60be63 Make JavaScript::jsonSerialize() tests portable for libbson 1.5 and 1.6 2017-02-07 16:34:10 -05:00
Jeremy Mikola 8edd0c9034 Do not assert error message in fromJSON() error test
libbson 1.6.0 switched JSON parsers, which means this test fails when compiled against libbson 1.6.0 as a system library. Removing the error message assertion keeps the test portable.
2017-02-07 16:31:54 -05:00
Jeremy Mikola e3c4439ae3 Remove Manager::executeBulkWrite() insert error test
In libmongoc 1.6.0, insert documents are validated during BulkWrite::insert(). This is a fragile test that fails when v1.2 is compiled against libmongoc 1.6.0 as a system library.
2017-02-07 16:30:04 -05:00
Jeremy Mikola 77be3df93d Manager::executeQuery() without assignment test is obsolete
Testing query execution without return value assignment is already handled by tests/query/bug0705-001.phpt.
2017-02-07 16:28:41 -05:00
Jeremy Mikola 1cfffa5589 Use exactly representable floating point numbers in tests
CDRIVER-1945 increased the precision when rendering floating point numbers in JavaScript. Using numbers that can be exactly represented in floating point will allow us to keep the expected output consistent with our input.
2017-02-07 15:22:54 -05:00
Jeremy Mikola 31b8693bba Back to -dev 2017-01-31 13:25:20 -05:00
Jeremy Mikola c578d6f87b Package 1.2.5 1.2.5 2017-01-31 13:21:50 -05:00
Jeremy Mikola 72f3968aca Merge pull request #521 2017-01-31 12:00:28 -05:00
Jeremy Mikola 8c73d5dd93 Demonstrate how to build and test DLL in contributing docs 2017-01-31 11:59:33 -05:00
Jeremy Mikola e698e8150b Condense whitespace in config.w32 CFLAGS 2017-01-31 11:38:54 -05:00
Jeremy Mikola d075dd3e99 config.w32 requires sources to be segregated by path 2017-01-31 11:38:07 -05:00
Jeremy Mikola bd6762ea28 Back to -dev 2017-01-30 17:28:20 -05:00
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