Jeremy Mikola
9db86130e7
Use static decl for phongo_writeresult_init()
2017-03-31 13:44:46 +01:00
Jeremy Mikola
36d297a8dc
Reformat MongoDB\Driver\Monitoring classes
2017-03-31 13:44:46 +01:00
Jeremy Mikola
099c80c3dd
PHP_FUNCTION is defined in php.h
2017-03-31 13:44:46 +01:00
Jeremy Mikola
f0df75c478
Remove redundant lines in Manager.c
2017-03-31 13:44:46 +01:00
Jeremy Mikola
4a18dd9877
Fix typo
2017-03-31 13:44:46 +01:00
Jeremy Mikola
1b68c3add0
Use ZEND_STRL() macro in php_phongo_command_failed()
2017-03-31 13:44:46 +01:00
Jeremy Mikola
f5f9433afc
Remove local variable in APM callbacks
2017-03-31 13:44:46 +01:00
Jeremy Mikola
49422c420c
Refactor php_phongo_dispatch_handlers() to a single #if block
2017-03-31 13:44:46 +01:00
Jeremy Mikola
83fed0b6d9
Alphabetize lists of Monitoring classes
2017-03-31 13:44:46 +01:00
Derick Rethans
6c1b952811
For failed tests, show the full .exp and .out files
...
It only does this if there are failed tests, but XFAIL is not included in the
"failed tests".
2017-03-31 13:44:46 +01:00
Derick Rethans
77a68728e2
PHPC-349: Implement APM specification
2017-03-31 13:44:46 +01:00
Jeremy Mikola
53ec3a6d68
Merge pull request #569
2017-03-29 11:16:23 -04:00
Jeremy Mikola
21172ea914
mongoc_cursor_is_alive() now returns false when cursors have no results
2017-03-28 18:35:35 -04:00
Jeremy Mikola
15a40bd7c7
PHPC-942: Remove PHPC-159 regression test
...
The patch in PHPC-159 was removed along with stream handlers in PHPC-605. As of PHPC-942, the URI in the test fails parsing and an exception is thrown long before a stream is constructed.
2017-03-28 16:46:48 -04:00
Jeremy Mikola
321fd72881
PHPC-942: Use mongoc_uri_new_with_error() to improve URI error reporting
2017-03-28 15:58:48 -04:00
Jeremy Mikola
59f3d9d3c4
Update XFAILS for BSON corpus tests
...
CDRIVER-1883 was resolved, so regex-valid-005.phpt no longer fails.
CDRIVER-1966 and CDRIVER-1967 were addressed by a new bson_as_extended_json() function for CDRIVER-1947. These tests still fail, but can now depend on PHPC-941, which will update the driver to use that new function.
2017-03-28 15:50:24 -04:00
Jeremy Mikola
04c93a09dd
Bump libbson and libmongoc to 1.7.0-dev
2017-03-28 15:50:24 -04:00
Jeremy Mikola
5fa74afea5
Merge branch 'v1.2'
2017-03-28 14:12:32 -04:00
Jeremy Mikola
04b4bf0326
Merge pull request #567
2017-03-28 13:56:13 -04:00
Jeremy Mikola
f45916a38a
PHPC-940: php_phongo_free_ssl_opt() attempts to free interned strings
...
This issue only manifests itself on PHP 7, since interned strings are tracked in the zval struct instead of the character pointer as in PHP 5.x.
2017-03-28 00:15:59 -04:00
Jeremy Mikola
9b7740a01e
Merge branch 'v1.2'
2017-03-20 13:40:03 -04:00
Jeremy Mikola
aa3fb3ef2b
Back to -dev
2017-03-20 13:39:34 -04:00
Jeremy Mikola
dd22a220a4
Package 1.2.8
1.2.8
2017-03-20 13:38:56 -04:00
Jeremy Mikola
9b18a2adc3
Merge branch 'v1.2'
2017-03-20 09:29:05 -04:00
Jeremy Mikola
53d8d1080b
Merge pull request #563
2017-03-20 09:25:18 -04:00
Jeremy Mikola
f4cea432a9
PHPC-936: Define PHP_MONGODB_VERSION and STABILITY constants
...
This removes the redundant MONGODB_VERSION constant renames the existing version and stability constants to be consistent with the format in PHP's extension skeleton: dcfd753104
2017-03-17 14:47:21 -04:00
Jeremy Mikola
3cf742e73a
Merge branch 'v1.2'
2017-03-15 13:55:51 -04:00
Jeremy Mikola
35954e195d
Back to -dev
2017-03-15 13:55:28 -04:00
Jeremy Mikola
0c4450ff26
Package 1.2.7
1.2.7
2017-03-15 13:54:52 -04:00
Jeremy Mikola
cdd10fe3e0
Merge branch 'v1.2'
2017-03-15 11:07:49 -04:00
Jeremy Mikola
d2fa380942
Merge pull request #560
2017-03-15 11:06:13 -04:00
Jeremy Mikola
ef3a52f95d
Merge pull request #555
2017-03-15 11:01:56 -04:00
Jeremy Mikola
10acc01d80
PHPC-928: Consolidate glob paths for phpt files
2017-03-15 11:01:43 -04:00
Jeremy Mikola
4ab0e67b13
PHPC-928: Consolidate tests/utils glob paths
2017-03-15 11:01:43 -04:00
Jeremy Mikola
77d6d99cdc
PHPC-928: Include missing run-tests-on.sh file in package
2017-03-15 11:01:43 -04:00
Jeremy Mikola
22567f2558
PHPC-928: Include missing ldapconfig.py file in package
2017-03-15 11:01:43 -04:00
Jeremy Mikola
e2753f54eb
PHPC-928: Update package paths for libbson and libmongoc 1.6.0
...
libbson now uses jsonsl instead of yajl.
2017-03-15 11:01:43 -04:00
Jeremy Mikola
12618fd6e2
Merge pull request #558
2017-03-15 11:00:59 -04:00
Jeremy Mikola
d5f41f659d
PHPC-411: Drop system.profile collection before tests
2017-03-15 10:44:45 -04:00
Jeremy Mikola
e6b8479506
Reorganize SKIPIF blocks in tests and add missing NEEDS() checks
2017-03-15 10:41:04 -04:00
Jeremy Mikola
3736c23bbb
Add missing REPLICASET_30 environment in basic.inc
2017-03-15 10:38:06 -04:00
Jeremy Mikola
a011a98f94
PHPC-935: Validate filter and options in Query constructor
...
The regression test for PHPC-920 is obsolete, since we no longer allow construction of an error-prone Query object.
2017-03-13 15:43:08 -04:00
Jeremy Mikola
8df6dd75c1
Merge pull request #556
2017-03-13 15:20:42 -04:00
Jeremy Mikola
35448908d9
Merge branch 'v1.2'
2017-03-13 15:19:33 -04:00
Jeremy Mikola
da8fac1d0a
Merge pull request #557
2017-03-13 15:19:20 -04:00
Jeremy Mikola
9fd59053d8
PHPC-920: Regression test for mongoc_cursor_destroy() crash
2017-03-13 12:46:09 -04:00
Jeremy Mikola
7277da0018
PHPC-929: Skip BSON corpus test for embedded null in code string
...
Per discussion in CDRIVER-1879, there are no plans to support this in libbson.
2017-03-13 10:33:26 -04:00
Jeremy Mikola
35489d94b2
Merge branch 'v1.2'
2017-03-10 14:03:13 -05:00
Jeremy Mikola
03d68ca4dd
Merge pull request #554
2017-03-10 13:55:35 -05:00
Jeremy Mikola
96c6b3f16d
PHPC-933: Remove unnecessary zend_string_release()
2017-03-10 13:51:07 -05:00