Derick Rethans
fb6044a819
phpinfo() behaves totally different in HHVM
2015-08-28 16:57:54 +01:00
Derick Rethans
23d98a8d25
Merged pull request #89
2015-08-28 16:51:59 +01:00
Derick Rethans
260a250189
HHVM does not allow for current() on an object
...
As it (correctly) gets serialized to an object, we need to cast to
an array so that we can call current.
Issue: https://github.com/facebook/hhvm/issues/6160
2015-08-28 16:51:18 +01:00
Derick Rethans
d67bb7383a
Split tests for invalid arguments out into their own files, and ignore them for HHVM
2015-08-28 16:51:18 +01:00
Jeremy Mikola
1d8362cbf6
Merge pull request #88
2015-08-28 11:42:59 -04:00
Jeremy Mikola
6df3f8ab6c
PHPC-337: BSON\Javascript debug handler
2015-08-26 15:57:08 -04:00
Jeremy Mikola
02cb37f418
PHPC-339: BSON\Timestamp debug handler
2015-08-26 15:57:08 -04:00
Jeremy Mikola
57871d1f4b
PHPC-340: BSON\UTCDateTime debug handler
...
The milliseconds will be dumped as a string value on 32-bit platforms.
2015-08-26 15:57:08 -04:00
Jeremy Mikola
8f39e13536
PHPC-338: BSON\Regex debug handler
2015-08-26 11:37:59 -04:00
Jeremy Mikola
c2472fca50
Fix test expectation for builds with top-level BSON namespace
2015-08-26 11:20:43 -04:00
Jeremy Mikola
bc2ddedd5a
Merge pull request #85
2015-08-21 17:34:19 -04:00
Hannes Magnusson
39fa9ed01a
Don't be printing out these commands during execution
2015-08-21 14:23:08 -07:00
Hannes Magnusson
66cc122c19
Back to -dev
2015-08-21 13:44:31 -07:00
Hannes Magnusson
20a4c3d344
PHPC-366: Update release script to use RELEASE-x.y file
2015-08-21 13:42:38 -07:00
Hannes Magnusson
37b8a25889
PHPC-366: Merge 1.0.x release notes into RELEASE-1.0
2015-08-21 13:06:51 -07:00
Hannes Magnusson
efe5a6ca57
PHPC-366: Merge RELEASE-0.* release notes into RELEASE-0
2015-08-21 13:06:51 -07:00
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