370 Commits

Author SHA1 Message Date
Hannes Magnusson
6671cce5c4 Add release notes 0.1.2 2014-12-08 15:52:11 -08:00
Hannes Magnusson
54a2e194ce PHP-1322: More renaming 2014-12-08 14:43:09 -08:00
Hannes Magnusson
b5c3810070 PHP-1322 Rename count methods in WriteResults 2014-12-08 14:34:35 -08:00
Hannes Magnusson
2a6e5d1261 PHP-1320: $batch->update() fails when replacing entire document
Doesn't seem to be much point in providing a special replaceOne
method. Thats something userland can do ontop of $batch->update()
2014-12-08 13:58:06 -08:00
Hannes Magnusson
41f8b82e65 PHP-1319: Convert this into normalish cursor 2014-12-08 10:20:33 -08:00
Hannes Magnusson
ba8378e1fd PHP-1319: Implement command cursors 2014-12-08 10:17:17 -08:00
Hannes Magnusson
000bdeee14 Add tracing to mongoc 2014-12-08 09:58:50 -08:00
Hannes Magnusson
c36442013e We are throwing exception here, doesn't matter if we are assigning return value 2014-12-05 11:38:07 -08:00
Hannes Magnusson
407fa910c8 Throw exception on failure
This prevents a broken Query object that can lead to segfaults
2014-12-05 11:38:07 -08:00
Hannes Magnusson
a3ee5d626d Make phongo_throw_exception variadic to improve error messages 2014-12-05 11:38:07 -08:00
Hannes Magnusson
9fbc609df8 Fix reference counting of nested bson objects 2014-12-05 10:20:57 -08:00
Hannes Magnusson
de54f807fd Bump version 2014-12-04 09:38:56 -08:00
Hannes Magnusson
6ebe3bcb26 Commit the release notes 2014-12-04 09:35:38 -08:00
Hannes Magnusson
b42703e9ed Take the release notes from the release file 0.1.1 2014-12-03 18:06:10 -08:00
Hannes Magnusson
ef32e83cef Lets not actually tag automatically, just ask politely 2014-12-03 18:00:24 -08:00
Hannes Magnusson
5cac7d1c9b Whopsy, we need $$ to read the output 2014-12-03 17:55:20 -08:00
Hannes Magnusson
c5bf72d994 Update toc and run syntax highlitghting automatically 2014-12-03 17:34:50 -08:00
Hannes Magnusson
4ebbff609b Add command docs 2014-12-03 17:34:32 -08:00
Hannes Magnusson
56aae06ba8 WS 2014-12-03 16:23:15 -08:00
Hannes Magnusson
a276e33394 Initial documentation
Using markdown and mkdocs ( $ pip install mkdocs )
2014-12-03 16:17:32 -08:00
Hannes Magnusson
5b69759da9 Move docs to old-docs making way for actual documentation 2014-12-03 15:47:58 -08:00
Hannes Magnusson
6efcec44ba Remove unused command 2014-12-03 14:26:54 -08:00
Hannes Magnusson
67040bde2b Integer IDs can also be int32 2014-12-02 17:21:57 -08:00
Hannes Magnusson
29bfcd96cc Fix 32bit builds 2014-12-02 17:21:04 -08:00
Hannes Magnusson
8739a1f777 PHP-1195: Integers are now represented as int32, as long as they fit 2014-12-02 17:20:07 -08:00
Hannes Magnusson
c7d3666d03 Differenciate the connection type by the SSL option 2014-12-02 16:13:16 -08:00
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