Jeremy Mikola
a8186091e3
Add 1.0.0alpha2 release notes
1.0.0alpha2
2015-08-20 20:20:53 -04:00
Jeremy Mikola
36899137c3
Bump extension version to 1.0.0alpha2
2015-08-20 20:20:07 -04:00
Jeremy Mikola
c25937f548
Merge pull request #84
2015-08-20 20:00:17 -04:00
Jeremy Mikola
da73fe7c14
PHPC-365: Add src/contrib to Windows build includes
2015-08-20 17:33:21 -04:00
Jeremy Mikola
3a7c1aae9f
Merge pull request #81
1.0.0alpha1
2015-08-20 16:05:53 -04:00
Jeremy Mikola
e1c9d134fa
Add 1.0.0alpha1 release notes
2015-08-20 16:05:32 -04:00
Jeremy Mikola
cb0249892a
Bump extension version to 1.0.0alpha1
2015-08-20 16:03:35 -04:00
Jeremy Mikola
12742f050f
Bump minimum PHP version requirement to 5.4
2015-08-20 16:03:35 -04:00
Jeremy Mikola
4ab03a46ea
Use php.net email addresses for authors
2015-08-20 16:03:35 -04:00
Hannes Magnusson
22ff2fe752
Link to the HHVM project
2015-08-20 08:23:02 -07:00
Hannes Magnusson
27215cfe60
Test running belongs to CONTRIBUTING.md
2015-08-20 08:22:48 -07:00
Hannes Magnusson
4beaf700fc
Add docs for the new PHONGO_SERVERS environment variable
2015-08-20 08:20:26 -07:00
Hannes Magnusson
412391a4d8
We don't tail master
2015-08-20 08:20:09 -07:00
Hannes Magnusson
eac3a2d7da
Merge pull request #82 from derickr/test-name-and-servers
...
Allow for PHONGO-SERVERS.json in ~ (and fix a test case name)
* derickr/test-name-and-servers:
Do this with an env var instead
Allow for PHONGO-SERVERS.json in ~ (and fix a test case name)
2015-08-20 08:18:59 -07:00
Derick Rethans
1b2f920d3d
Do this with an env var instead
2015-08-20 11:10:36 +01:00
Jeremy Mikola
b1e882eeb0
Fix str_replace() newline replacement
...
Fixes e333fc0357
2015-08-19 13:47:40 -04:00
Derick Rethans
ae0cfeae20
Allow for PHONGO-SERVERS.json in ~ (and fix a test case name)
2015-08-19 16:56:19 +01:00
Jeremy Mikola
2aa5329539
Merge pull request #76
2015-08-14 12:09:19 -04:00
Jeremy Mikola
e333fc0357
Strip newlines from exception messages for more concise failures
2015-08-14 12:07:23 -04:00
Derick Rethans
fdfbdb1308
Added the error message to the failure cases.
...
This makes it much easier to debug what goes wrong, en-masse.
2015-08-14 11:59:46 -04:00
Jeremy Mikola
36fa7a7745
Merge pull request #70
2015-08-14 11:55:09 -04:00
Jeremy Mikola
7c7de06f81
Add mongoc-host-list.c to config sources
...
See: mongodb/mongo-c-driver@ffc8a01ebe
2015-08-14 11:51:22 -04:00
Jeremy Mikola
90e823071f
Fix indentation in config.m4 sources
2015-08-14 11:51:22 -04:00
Jeremy Mikola
5b6745342e
Bump libmongoc submodule to 1.2.0-beta
2015-08-14 11:51:22 -04:00
Jeremy Mikola
de69c821c5
Restore -Werror compile flag for 5.4+ developer builds
...
See: 3051d3b184
2015-08-14 11:51:22 -04:00
Jeremy Mikola
f72b71be57
Merge pull request #78
2015-08-14 01:30:58 -04:00
Jeremy Mikola
0d73e362f9
PHPC-271: Server::executeBulkWrite() should take a write concern
2015-08-14 01:08:58 -04:00
Jeremy Mikola
9943341983
Merge pull request #77
2015-08-13 17:43:25 -04:00
Jeremy Mikola
960c51ace7
Split out Manager constructor error tests
...
The extra arguments test can be skipped for HHVM (as was done in #74 ).
The read preference and write concern tests attempt to cover all permutations of invalid arguments. Detailed exceptions are only possible where we apply array options to the structures, since libmongoc currently provides no detailed errors when URI parsing fails (see: CDRIVER-782).
2015-08-13 16:12:33 -04:00
Jeremy Mikola
17e6ff1950
Manager should check client pointer before destroying it
2015-08-13 16:12:33 -04:00
Jeremy Mikola
3b7f42b83d
PHPC-196: Implement Manager getters for WC and RP
2015-08-13 16:12:33 -04:00
Jeremy Mikola
145ddda493
PHPC-353: Return early when there are no options to apply
...
This avoids copying the client's existing RP or WC struct for no reason.
2015-08-13 16:12:33 -04:00
Jeremy Mikola
01564891f9
PHPC-353: Support RP and WC in Manager options array
...
The read preference and write concern are complex structures, so we can't simply set their options on the URI as we do for other things (e.g. auth credentials).
2015-08-13 16:12:33 -04:00
Jeremy Mikola
490e5653bf
Manager constructor should check if URI or client creation fails
...
If the URI cannot be parsed, we should throw an InvalidArgumentException. Failing to initialize the client from a valid URI can remain a RuntimeException.
2015-08-13 16:12:33 -04:00
Jeremy Mikola
47619dbffb
Fix memory leak in _phongo_debug_bson()
...
The string returned by bson_as_json() must be freed.
2015-08-13 16:12:33 -04:00
Jeremy Mikola
6f82d0e386
Merge pull request #79
2015-08-13 16:12:06 -04:00
Jeremy Mikola
a3f4b2427f
Trim #includes, since src/contrib is already an include path
2015-08-13 15:40:39 -04:00
Jeremy Mikola
2436e158c9
Merge pull request #75
2015-08-05 21:57:32 -04:00
Jeremy Mikola
e61b67809e
PHPC-357: Revise test and relocate to standalone group
2015-08-05 21:56:56 -04:00
Derick Rethans
dead06a80b
PHPC-357: "invalid namespace" exception should report the namespace
2015-08-05 21:47:08 -04:00
Jeremy Mikola
c4d03423d7
Merge pull request #74
2015-08-05 21:12:37 -04:00
Derick Rethans
b31ad7c271
PHPC-129: Split out WriteConcern constructor error test
...
The error test should be skipped for HHVM, since it currently has inconsistent error handling.
2015-08-05 21:11:16 -04:00
Derick Rethans
8a62862f95
Merged pull request #73
2015-08-04 10:43:10 +01:00
Derick Rethans
89caf72c6a
Rename BSON\Binary's subType field and getSubType() method to type and getType()
2015-08-04 10:42:45 +01:00
Derick Rethans
802b9b46c5
Merged pull request #72
2015-08-04 10:42:29 +01:00
Derick Rethans
651257063d
Temporary fix for the NULL vs null issue
2015-08-04 10:41:41 +01:00
Hannes Magnusson
640c9b232e
Make the relative path work
2015-08-03 13:57:22 -07:00
Hannes Magnusson
321ab56138
Skip test when not using the test vms
2015-08-03 13:57:22 -07:00
Jeremy Mikola
cc4c95c181
Merge pull request #69
2015-07-30 15:27:14 -04:00
Jeremy Mikola
21fc1d0305
PHPC-350: Bump libmongoc submodule for updated headers
2015-07-30 15:15:38 -04:00