Commit Graph

3944 Commits

Author SHA1 Message Date
Hannes Magnusson
1b4e5ac11e Bail out when we cannot connect to the server! 2014-12-02 16:12:58 -08:00
Hannes Magnusson
4635cf875f PHP-1195: Error out on 32bit platforms if we cannot represent the int 2014-12-02 16:12:05 -08:00
Hannes Magnusson
fa414d1018 PHP-1195: Remove Int32 and Int64 classess
Keeping these would force everyone to use them, which is not cool when
the majority of users shouldn't have to
2014-12-02 14:54:16 -08:00
Hannes Magnusson
ef5afd98d6 Remove misterious BSON\Log class 2014-12-02 14:53:37 -08:00
Hannes Magnusson
18448953ca bump libmongoc with ssl fix 2014-12-02 14:30:57 -08:00
Hannes Magnusson
da3754432f PHP-1175: Add Support for SSL=true and SSL=prefer 2014-12-02 14:29:41 -08:00
Hannes Magnusson
d0c7968da1 PHP-1175: Compile against OpenSSL
OpenSSL is now a required dependency (needed for SCRAM-SHA-1 by libmongoc).
2014-12-02 14:20:34 -08:00
Hannes Magnusson
6283fe2a96 Improve API consistency between WriteConcern and ReadPreference
Also fixes a segfault when no WriteConcern is provided
2014-12-01 13:55:49 -08:00
Hannes Magnusson
a0f2e15126 PHP-1296: Implement WriteConcerns 2014-11-26 14:04:30 -08:00
Hannes Magnusson
c17001ac30 PHP-1295: Memory leak when generating ID for inserts 2014-11-26 13:37:09 -08:00
Hannes Magnusson
bccdd2771f PHP-1294: Emtpy Query Result should still return QueryResult 2014-11-26 13:04:28 -08:00
Hannes Magnusson
183286a2fc Add an example "document browser" 2014-11-26 12:47:44 -08:00
Hannes Magnusson
89cd4faaf5 PHP-1293: Writing all debug info is not a good default 2014-11-26 12:25:19 -08:00
Hannes Magnusson
07d317c468 WS 2014-11-26 12:23:51 -08:00
Hannes Magnusson
6b247416fe We only allow object/array here, not need for this extra code 2014-11-26 12:23:51 -08:00
Hannes Magnusson
28ae4f9491 PHP-1292: BSON Arrays should be... PHP Arrays 2014-11-26 12:23:51 -08:00
Hannes Magnusson
344b6070bc PHP-1291: memleak when serializing nested objects/array 2014-11-26 12:23:51 -08:00
Hannes Magnusson
a7cbc49a43 Initialize to NULL 2014-11-26 12:23:51 -08:00
Hannes Magnusson
ea5b101576 Enable the corrupt BSON handler for debugging 2014-11-26 12:23:51 -08:00
Hannes Magnusson
05e30cfcac Add missing arginfo for the BSON encoding functions 2014-11-26 12:23:51 -08:00
Hannes Magnusson
19d7c14c02 List commits per release in the RELEASE file 2014-11-26 12:23:51 -08:00
Hannes Magnusson
e691955755 Bump version 2014-11-26 12:23:51 -08:00
Hannes Magnusson
a5c09c9b6f Update README for current situation 2014-11-26 09:47:31 -08:00
Hannes Magnusson
5c289b8cfd Ignore the run-tests php.ini 2014-11-25 16:32:26 -08:00
Hannes Magnusson
f9296a2899 We haven't executed the test target yet! 0.1.0 2014-11-25 16:26:41 -08:00
Hannes Magnusson
53ebbaf1be Fix coverage build 2014-11-25 16:07:17 -08:00
Hannes Magnusson
bfeee295f9 Create the tag at the end of making the release ball 2014-11-25 16:06:52 -08:00
Hannes Magnusson
afb531055e Compiler warnings 2014-11-25 16:05:39 -08:00
Hannes Magnusson
7ae5ffaa0c Running the tests is of course part of a release 2014-11-25 15:16:51 -08:00
Hannes Magnusson
f90650fe20 Ignore generated files 2014-11-25 15:14:04 -08:00
Hannes Magnusson
3a7285ea73 Expose version constants and stability 2014-11-25 15:12:41 -08:00
Hannes Magnusson
7bf571681f Fix version number 2014-11-25 15:12:24 -08:00
Hannes Magnusson
5ac7dbb230 Get the release number from the module 2014-11-25 15:12:06 -08:00
Hannes Magnusson
81677fb782 Update travis for build system changes 2014-11-25 14:43:48 -08:00
Hannes Magnusson
9c1f6984f4 Fix building out of root 2014-11-25 14:33:45 -08:00
Hannes Magnusson
1fcf30c490 Generate package.xml and release archive 2014-11-25 14:33:45 -08:00
Hannes Magnusson
fe6bcec55d Don't Move this to a dedicated patch target 2014-11-25 14:33:45 -08:00
Hannes Magnusson
9c7be2525f Add CREDITS 2014-11-25 14:33:45 -08:00
Hannes Magnusson
9ca9b278ff Add a target to generate a ChangeLog 2014-11-25 10:41:31 -08:00
Hannes Magnusson
69390ae25f Add a custom build target dependency 2014-11-25 10:40:59 -08:00
Hannes Magnusson
eb2ed13512 This seems to be the conventional wisdom setting ulimit on travis 2014-11-25 08:59:31 -08:00
Hannes Magnusson
2c1375c1ea PHP-1289: Automatically apply our required patches 2014-11-25 08:59:26 -08:00
Hannes Magnusson
b39ac29f8b No longer needed 2014-11-25 08:59:26 -08:00
Hannes Magnusson
e3e3c9d552 PHP-1289: Revamp the build system to embed libmongoc, libbson and yajl
Still a littlebit more work left re the version files (point git at
tags with the files committed) and being able to use local patches.

The config files should also be looked into and verified
2014-11-25 08:59:17 -08:00
Hannes Magnusson
4ac834466e Set ulimit before our trap
We set a ERR trap in the compile.sh script to catch all failures, which
means when the ulimit fails, the entire build fails.

There seem to be random build boxes that don't allow you to set ulimit.
It is OK if setting it fails as we only use it to introspect core dumps
(hopefully rarely).

Setting the ulimit before the trap should fix this
2014-11-24 11:35:26 -08:00
Hannes Magnusson
2d9d9f6b93 Don't include libbson or libmongoc in the coverage report 2014-11-24 11:33:10 -08:00
Hannes Magnusson
f4fd188910 Fixed CID-60852: Pointer to local outside scope
Pointer to local outside scope:
`key` points to an out-of-scope variable `numbuf` :]
2014-11-24 11:29:02 -08:00
Hannes Magnusson
4e738bd15c This is the master branch 2014-11-24 10:30:04 -08:00
Hannes Magnusson
35b19c45d5 Fix ZTS - and all the segfaults
We were reading it like good puppies.. But never assigning it! :D
2014-11-24 10:16:12 -08:00
Hannes Magnusson
9561a7426a Attempt to fix stream closing in zts 2014-11-21 21:05:10 -08:00