Jeremy Mikola
99f0f39386
Remove unused _phongo_debug_bson() function
2017-02-10 15:56:12 -05:00
Jeremy Mikola
7debc8a43e
PHPC-908: Do not declare MINIT functions for each driver class
2017-02-10 15:56:12 -05:00
Jeremy Mikola
931e9d9b11
Remove obsolete php_phongo_result_ce extern
2017-02-10 15:56:12 -05:00
Jeremy Mikola
064add8f8e
PHPC-907: Remove PHONGO_API macro for exported symbols
2017-02-10 15:56:12 -05:00
Jeremy Mikola
ac71b93a15
php_flock() is no longer used
2017-02-10 15:56:12 -05:00
Jeremy Mikola
0654afff02
Remove references to Composer and PHPUnit
2017-02-10 15:56:12 -05:00
Jeremy Mikola
ac3d117ff0
Merge branch 'v1.2'
2017-02-10 15:37:56 -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
32d028994c
Merge pull request #511
2017-02-02 09:27:13 -05:00
Jeremy Mikola
0555447041
PHPC-892: Bump libmongoc to 1.6.0
2017-02-01 23:11:53 -05:00
Jeremy Mikola
cad43d5f66
Update BSON corpus XFAILs for issues resolved in libbson 1.6.0
...
datetime-valid-003.phpt previously failed due to CDRIVER-1962, which was resolved in 1.6.0. It still fails due to CDRIVER-1966, which is slated to be fixed in 1.7.0.
2017-02-01 23:11:50 -05:00
Jeremy Mikola
06c3f342e8
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-01 23:11:50 -05:00
Jeremy Mikola
13b82a5357
PHPC-892: Bump libbson to 1.6.0
...
Includes CDRIVER-1370, which replaces yajl with jsonsl.
2017-02-01 23:11:50 -05:00
Jeremy Mikola
81da3af78d
Merge branch 'v1.2'
2017-01-31 13:25:45 -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
5c08125f0d
Merge branch 'v1.2'
2017-01-31 12:00:53 -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
0e9e23e386
Merge branch 'v1.2'
2017-01-30 17:35:41 -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
daf6218560
Merge branch 'v1.2'
2017-01-30 17:22:21 -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
e2e2cc78a8
Merge branch 'v1.2'
2017-01-24 14:41:13 -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
0e2d2c73e9
Master branch is now 1.3.0-dev
2017-01-20 12:21:41 -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