Jeremy Mikola
5cefd644b9
PHPC-203: Result::toArray() should proxy iterator_to_array($this)
...
This introduces a BC break in that toArray() no longer returns the first result document. It must now be manually unwrapped from the return value.
2015-03-31 19:29:57 -04:00
Hannes Magnusson
aaca0528e3
Make sure we install the latest package in case of multiple rebuilds of same name
2015-03-31 13:08:29 -07:00
Jeremy Mikola
8fa1615a7f
Merge pull request #31
2015-03-31 15:31:42 -04:00
Jeremy Mikola
1f9f7716d9
PHPC-214: Result does not need custom iterator classes
...
Wrapping a cursor can already be accomplished with IteratorIterator.
2015-03-31 15:29:19 -04:00
Hannes Magnusson
446a4b2a9a
Forcefully install the new archive, even though it exists
2015-03-30 17:05:04 -07:00
Hannes Magnusson
eb3aa9f939
PHPC-216: PHP5.5 change the prototype of get_current_key leading to
...
very strange and hard to track down segfaults
2015-03-30 17:03:29 -07:00
Hannes Magnusson
2f9b1dc16b
PHPC-216: Include our pem files in the pecl archive
2015-03-30 17:02:58 -07:00
Hannes Magnusson
02886670b2
PHPC-216: Use array(), not [], for PHP5.3 compatibility
2015-03-30 17:02:34 -07:00
Hannes Magnusson
1e7ecc6fb3
Split release target into release and packaging
2015-03-30 16:54:10 -07:00
Hannes Magnusson
e0d1c4b2bd
PHPC-218: Provision ubuntu image and install & run the test suite
2015-03-30 15:58:36 -07:00
Hannes Magnusson
469aa9d388
No need to sudo, run the scripts as priveleged
2015-03-30 15:56:11 -07:00
Hannes Magnusson
099c344f72
PHPC-216: PHP5.3 test suite fixes
2015-03-30 15:55:05 -07:00
Hannes Magnusson
d307434dfa
PHPC-217: Include the connection tests in pecl package
2015-03-30 14:43:39 -07:00
Hannes Magnusson
c5a00d5f23
PHPC-213: Memory alignment issues on FreeBSD
2015-03-30 13:59:18 -07:00
Hannes Magnusson
3545be23b5
Fix stability name according to pecl rules
2015-03-30 13:58:58 -07:00
Hannes Magnusson
5dffbe2ac7
PHPC-216: PHP5.3 test suite fixes
2015-03-30 13:30:53 -07:00
Hannes Magnusson
b7ab119d3a
Re align
2015-03-27 07:51:46 -07:00
Hannes Magnusson
57a82b7619
PHPC-212: undefined symbol: _mongoc_sasl_set_service_host - patch by remi@php.net
2015-03-27 07:50:23 -07:00
Hannes Magnusson
74ba68a513
Ignore coverage files
2015-03-26 14:23:43 -07:00
Hannes Magnusson
a2449279fe
bump version
2015-03-25 20:52:05 -07:00
Hannes Magnusson
382970a9d1
Merge pull request #28 from jmikola/phpc-201
...
PHPC-201: Rename Result::setTypemap() to setTypeMap()
2015-03-25 20:50:34 -07:00
Hannes Magnusson
5185e906ed
Add 0.3.1 release notes
0.3.1
2015-03-25 20:09:01 -07:00
Hannes Magnusson
2d6453eff9
bump version for windows packaging fix
2015-03-25 20:05:31 -07:00
Hannes Magnusson
bb67bf4b7f
PHPC-211: Windows libbson and mongoc config files missing in release archive
2015-03-25 18:57:23 -07:00
Hannes Magnusson
6bc0cdbaae
Link to the docs on php.net
2015-03-25 16:18:56 -07:00
Hannes Magnusson
ce7621038d
Use pecl for installing
2015-03-25 16:12:15 -07:00
Hannes Magnusson
d4433b6cdf
Bump version
2015-03-25 16:11:08 -07:00
Hannes Magnusson
183ce0bb9d
Add 0.3.0 release notes
0.3.0
2015-03-25 16:09:15 -07:00
Hannes Magnusson
77bbd10f3c
Add config.w32 to package.xml
2015-03-25 16:04:35 -07:00
Hannes Magnusson
227e7842cb
Use absolute paths in skipifs too
2015-03-25 14:08:39 -07:00
Jeremy Mikola
afafb14c87
PHPC-201: Rename Result::setTypemap() to setTypeMap()
2015-03-25 16:58:10 -04:00
Hannes Magnusson
86eb275648
Update bundles for windows fixes
2015-03-25 13:42:41 -07:00
Hannes Magnusson
48d96546f9
PHPC-175: Fix header includes on Windows
2015-03-25 13:40:38 -07:00
Hannes Magnusson
e30ea0a9ae
PHPC-175: Fix build on 32bit
2015-03-25 13:40:11 -07:00
Hannes Magnusson
f1896687b4
PHPC-175: Windows doesn't have these compiler attributes
2015-03-25 13:39:11 -07:00
Hannes Magnusson
6282bb4688
Fix windows bson config
2015-03-25 13:37:13 -07:00
Hannes Magnusson
06d8aee1bd
IPHPC-176: Copy build templates, add missing file & set build flags
2015-03-25 13:33:23 -07:00
Hannes Magnusson
1cce49d21c
Use absolute paths on in tests so they can run easier on windows
2015-03-25 13:32:09 -07:00
Hannes Magnusson
71f29b47a1
Absolute path is required to run tests on windows
2015-03-25 13:22:46 -07:00
Hannes Magnusson
3b78578ba3
Allow mongoc_init() to not use our mm
...
There is a shutdown race condition in the mongoc counters segment
allocation where zend mm will free the counters during RSHUTDOWN.
This happens as there is no "persistent alloc" callback from the bson
allocators that we can pemalloc() for.
Instead, we'll let mongoc_init use its own alloctors -- but we have to
remember to reset the alloc callbacks before mongoc_cleanup()
2015-03-25 13:22:37 -07:00
Hannes Magnusson
545dc98603
bump mongoc with windows fixes
2015-03-25 10:24:21 -07:00
Hannes Magnusson
c5a0711972
PHPC-200: Don't set stream initiator when creating client fails
2015-03-25 08:55:30 -07:00
Hannes Magnusson
bc93899be8
PHPC-199: Missing file from mongoc in config.m4
2015-03-25 08:55:30 -07:00
Hannes Magnusson
879784a107
Initial win32 attempt
2015-03-24 12:54:18 -07:00
Hannes Magnusson
882d33ba93
Bundle windows configs
2015-03-24 12:53:19 -07:00
Hannes Magnusson
4a274d319f
Improve code coverage
2015-03-24 09:31:50 -07:00
Hannes Magnusson
c21eb74f29
Simplify
...
It originally was used for more then just plain result, but now we
always have the cursor so no need to pass the server_id
2015-03-24 09:31:50 -07:00
Hannes Magnusson
34b3abf745
Providing higher init size is worse then providing none
...
Also increase code coverage to 100 \o/
2015-03-24 09:31:50 -07:00
Hannes Magnusson
c6a793d466
Add raises() helper, similar to throws() except for php warnings/notices/deprecated/...
2015-03-24 09:31:50 -07:00
Hannes Magnusson
55ff6ba5cd
ignore mongodb*tgz release files and "failed.txt" from run-tests
2015-03-24 09:30:14 -07:00