Hannes Magnusson
646eb6d9b7
Add 0.2.0 release notes
0.2.0
2015-03-23 16:41:40 -07:00
Hannes Magnusson
809e99d7b8
PHPC-174: Rename module registration, constants and so on to mongodb
2015-03-23 16:37:38 -07:00
Hannes Magnusson
234da99149
Bump release to 0.2.0-alpha
2015-03-23 16:15:33 -07:00
Hannes Magnusson
f048eb40b8
Include the version and config templates
2015-03-23 16:15:33 -07:00
Hannes Magnusson
88f8702ebe
Only run our tests as part of release for now
2015-03-23 16:15:33 -07:00
Hannes Magnusson
e7338b792c
PHPC-174: Rename phongo to mongodb
2015-03-23 16:15:33 -07:00
Hannes Magnusson
002c248795
PHPC-174: Use consistent extension names for PHP and HHVM drivers
2015-03-23 15:54:15 -07:00
Hannes Magnusson
367238e527
PHPC-195: Fix typo and couple of missing incldues
2015-03-23 14:58:17 -07:00
Hannes Magnusson
8c2c3040c1
PHPC-195: Remove mongoc/bson header file workarounds
2015-03-23 14:43:30 -07:00
Hannes Magnusson
bb02c4861b
Test for PHPC-186
2015-03-23 13:53:33 -07:00
Hannes Magnusson
4daeefa3a5
Remove char * casting, the macro soup leads to incorrect sizeof
2015-03-23 12:46:55 -07:00
Hannes Magnusson
7ccd38c870
Fix zts
2015-03-20 16:49:34 -07:00
Hannes Magnusson
7783427829
PHPC-183: Add -Wdeclaration-after-statement to --enable-developers-flags
2015-03-20 15:38:40 -07:00
Hannes Magnusson
b40a98e677
PHPC-183: Fix compiler warnings with -Wdeclaration-after-statement
...
This also increases the chances of successful Windows build :)
2015-03-20 15:37:24 -07:00
Hannes Magnusson
8b1624b282
PHPC-189: Implement Manager->getServers()
2015-03-20 15:02:57 -07:00
Hannes Magnusson
4da65af278
PHPC-188: Populate MongoDB\Driver\Server
2015-03-20 14:14:35 -07:00
Hannes Magnusson
5f8d990b53
PHPC-24 PHPC-77 PHPC-69 Provide a functioning Server object
2015-03-20 11:33:46 -07:00
Hannes Magnusson
7a3bf33841
bump submodule to mongoc 1.2.0-dev - includes sdam stuff
2015-03-19 14:22:59 -07:00
Hannes Magnusson
45c366a9fb
PHPC-106: Comment out var_dump() data for now
2015-03-19 14:20:44 -07:00
Hannes Magnusson
85f038f57a
PHPC-106: Enable mongoc SDAM build
2015-03-19 14:20:44 -07:00
Hannes Magnusson
d53c90ce94
PHPC-106: Connect asynchronouslyish
2015-03-19 14:20:44 -07:00
Hannes Magnusson
b825395d18
PHPC-106: Implement the new poll callback
2015-03-19 14:20:44 -07:00
Hannes Magnusson
3bb0c8b6cb
In SDAM this is forbidden and throws exception
2015-03-19 14:20:44 -07:00
Hannes Magnusson
9d78b52287
Show the response when the test fails
2015-03-19 14:20:44 -07:00
Hannes Magnusson
50fe097841
Store the original mongoc_uri_t not just the options bson
2015-03-19 14:20:44 -07:00
Hannes Magnusson
14533db5d8
Add a little tracing love
2015-03-18 11:50:35 -07:00
Hannes Magnusson
57ed2c92fb
Properly block on socket writes
...
If a socket write returns EWOULDBLOCK PHP will poll() using the socket
read timeout.
This is only an issue when writing crazy amount of data to a
non-blocking socket in multiple iterations... which we do.
2015-03-18 11:40:04 -07:00
Hannes Magnusson
ddc558e32a
Fix null pointer exception
2015-03-18 11:39:14 -07:00
Hannes Magnusson
b6b6e9636f
Unhide this
2015-03-18 11:30:26 -07:00
Jeremy Mikola
908449dc53
Merge pull request #27
2015-03-17 16:51:58 -04:00
Jeremy Mikola
aa5903790a
Return const struct pointers from zval getters
2015-03-17 16:17:24 -04:00
Jeremy Mikola
b5f8c34dae
PHPC-181: Discard const qualifiers for PHP API
2015-03-17 16:14:27 -04:00
Jeremy Mikola
00f2da72f8
PHPC-181: Use const for pointer args where applicable
2015-03-17 16:10:04 -04:00
Hannes Magnusson
dd16db9d50
PHPC-180: Fix limited batch import
...
Also fixed cache mtime debug check :)
2015-03-16 22:49:44 -07:00
Hannes Magnusson
b32ebba8a2
PHPC-180: No need to sleep anything, we get a fresh connection in next test
2015-03-16 22:37:16 -07:00
Hannes Magnusson
70a184961f
PHPC-180: We now load 1024 users
2015-03-16 22:28:56 -07:00
Hannes Magnusson
ebffad28a4
PHPC-180: We now generate 1024 users, only load the first 100
2015-03-16 22:28:49 -07:00
Hannes Magnusson
823864e588
PHPC-180: Cache the fixtures
...
Don't be regenerating the fixtures all the time, is super slow.
We now store them in /tmp/PHONGO-FIXTURES.json and read it from there,
as long as its mtime is newer then the fixtures-users.inc
Since we are caching these, bump the generated count to 1024 to force few roundtrips
2015-03-16 22:25:21 -07:00
Hannes Magnusson
1228956719
Surpress timezone warning by adding it to the ini
2015-03-16 22:24:40 -07:00
Hannes Magnusson
3efb11c140
PHPC-180: Rename constant and pass the cleanup uri explicitly
...
- Use the new connection string constant that includes auth
- Call the cleanup routines explicitly when needed
2015-03-16 20:30:15 -07:00
Hannes Magnusson
4f693030b9
PHPC-180: Replace this Orchestration wrapper with significantly simpler code
...
We no create a /tmp/PHONGO-SERVERS.json file upon launching the servers
which stores the server IDs and connection string (including auth).
This makes it much faster to look up the available servers
2015-03-16 20:28:39 -07:00
Hannes Magnusson
aa620d740a
Use underscore for the id so we can declare them as constants in php
2015-03-16 20:28:28 -07:00
Hannes Magnusson
0e3fae876a
Use readable name for the replicaset nodes
2015-03-16 16:49:23 -07:00
Hannes Magnusson
21a22c6c5b
Minor README updates
...
- Remove warning now that we are approaching alpha
- Most of these badges don't mean anything, or we've stopped using them
- Update running the tests
2015-03-16 14:20:14 -07:00
Jeremy Mikola
bda6f5eb17
Merge pull request #26
2015-03-13 15:57:34 -04:00
Jeremy Mikola
ae0219d69e
PHPC-168: Implement WriteResult::isAcknowledged()
...
We copy the write concern struct rather than store an is_acknowledged boolean, which allows us to include the write concern in the debug output. Down the line, we may decide to implement a getWriteConcern() method to help users in handling/logging write concern errors.
2015-03-13 02:26:51 -04:00
Jeremy Mikola
9298ad8153
PHPC-170: Don't set write concern on bulk unnecessarily
2015-03-13 02:26:51 -04:00
Jeremy Mikola
70715516b5
PHPC-177: Include all fields in WriteConcern debug output
...
This mainly removes logic where no fields were included in the debug output if "w" was equal to MONGOC_WRITE_CONCERN_W_DEFAULT.
Although the "wmajority" boolean exists, we can still report the actual "w" value, which will be sent to the server.
2015-03-13 02:26:51 -04:00
Jeremy Mikola
a56939385e
Remove unnecessary Manager and apply EXPECTF patterns
2015-03-12 19:48:01 -04:00
Jeremy Mikola
0d25dfad8f
Update Ubuntu's package repository before installing
2015-03-12 19:47:21 -04:00