Jeremy Mikola
175c5beead
Package 1.2.0alpha1
1.2.0alpha1
2016-08-02 15:23:35 -04:00
Jeremy Mikola
725dab72a6
Merge pull request #366
2016-08-02 11:30:24 -04:00
Jeremy Mikola
e452697fc0
PHPC-741: Missing TSRMLS_CC for php_phongo_utcdatetime_init_from_string()
2016-08-02 11:27:49 -04:00
Jeremy Mikola
2193137b92
Merge pull request #365
2016-08-02 10:50:13 -04:00
Jeremy Mikola
09968d7931
PHPC-447: Generate libmongoc and libbson headers in config.w32
...
This removes the old config and version headers, which required manual updates and were often out-of-date as a result.
Additionally, this syncs the config header replacements with 1.4.0-beta1.
2016-08-02 10:49:53 -04:00
Jeremy Mikola
b38e642c69
Merge pull request #364
2016-08-02 10:47:54 -04:00
Jeremy Mikola
b4c907deb4
PHPC-460: Fix variable reference in UTCDateTime export on 32-bit
2016-08-01 17:08:16 -04:00
Jeremy Mikola
7b7596cff3
PHPC-741: Fix variable reference in UTCDateTime init on Windows
2016-08-01 17:06:44 -04:00
Jeremy Mikola
e33304d85b
Merge pull request #362
2016-08-01 13:53:08 -04:00
ian boros
e545a5d52b
PHPC-755: Remove include of private mongoc-trace.h
2016-07-29 18:13:58 -04:00
ian boros
88808910c9
PHPC-754: Remove libmongoc-priv system dependency in config.m4
2016-07-29 18:11:58 -04:00
Jeremy Mikola
ff79f64177
PHPC-758: Disable Decimal128 for bundled libbson and libmongoc 1.4.0
2016-07-29 18:11:41 -04:00
Jeremy Mikola
d8f6ad276f
PHPC-629: Fix $binary and $type field in extended JSON
...
The order of these fields was changed by CDRIVER-1340 (in libbson 1.4.0-beta1).
2016-07-29 17:41:17 -04:00
Jeremy Mikola
b462e2c83a
PHPC-629: Bump libbson and libmongoc to 1.4.0-beta1
2016-07-29 17:41:14 -04:00
Jeremy Mikola
8c45a958bf
Merge pull request #351
2016-07-19 12:39:22 +02:00
Jeremy Mikola
98f02d868c
PHPC-730: Javascript::getCode() and Javascript::getScope()
2016-07-19 11:26:06 +02:00
Jeremy Mikola
46a08496ee
Merge pull request #350
2016-07-15 12:08:58 -04:00
Jeremy Mikola
67bd17c63a
PHPC-729: Implement __toString() for Javascript and Binary
2016-07-15 11:51:42 -04:00
Jeremy Mikola
ba167a32ff
Merge pull request #348
2016-07-15 11:16:11 -04:00
Jeremy Mikola
c3fa0c1f8b
PHPC-748: Fix CursorID::__toString() and var_dump() for 32-bit
2016-07-15 11:15:54 -04:00
Jeremy Mikola
00c093096f
Merge pull request #349
2016-07-15 11:14:59 -04:00
Jeremy Mikola
5fbcef0638
PHPC-746: Default Manager URI to "mongodb://127.0.0.1/"
2016-07-15 11:14:45 -04:00
Jeremy Mikola
0124ecf22d
Merge pull request #347
2016-07-15 11:12:24 -04:00
Jeremy Mikola
e85ba1b550
Declare __wakeup() for ReadConcern, ReadPreference, and WriteConcern
...
These classes do not support serialization, but were missing a declaration for Manager::__wakeup(), which throws.
2016-07-15 11:11:48 -04:00
Jeremy Mikola
4e26b503bd
Declare __wakeup as lowercase for consistency
2016-07-15 11:11:48 -04:00
Jeremy Mikola
f70f2b4a37
Clean up arginfo definitions
2016-07-15 11:11:48 -04:00
Jeremy Mikola
8ec05ccbef
Document actual default Manager URI (see: PHPC-746)
2016-07-15 11:11:48 -04:00
Jeremy Mikola
149ddc4ae3
Clean up MongoDB\Driver method protos
2016-07-15 11:11:48 -04:00
Jeremy Mikola
0f832deea6
Clean up MongoDB\BSON method protos
2016-07-15 11:11:48 -04:00
Jeremy Mikola
1ac174659f
Merge pull request #346
2016-07-14 11:53:11 -04:00
Jeremy Mikola
66822bfb5e
PHPC-724: Do not allow null bytes in Regex pattern or flags
...
These fields are cstrings in the BSON spec, so any null bytes would result in unexpected truncation.
2016-07-14 11:27:18 -04:00
Jeremy Mikola
b6754f6b48
PHPC-721: Do not allow null bytes in Javascript code
...
Even though "code" is not a cstring in the BSON spec, libbson does not support null bytes. Throw early to avoid unexpected truncation during BSON encoding.
2016-07-14 11:27:18 -04:00
Jeremy Mikola
40f2603004
Remove unused STRTOLL() macro
2016-07-14 11:27:18 -04:00
Jeremy Mikola
f1e057d52d
PHPC-741: Consistent exceptions for UTCDateTime init methods
2016-07-14 11:27:18 -04:00
Jeremy Mikola
9c514b5536
PHPC-741: Consistent exceptions for Timestamp init methods
2016-07-14 11:27:18 -04:00
Jeremy Mikola
160c65d38c
PHPC-741: Consistent exceptions for Regex init methods
2016-07-14 11:27:18 -04:00
Jeremy Mikola
04765b41e8
PHPC-741: Consistent exceptions for ObjectID init methods
2016-07-14 11:27:18 -04:00
Jeremy Mikola
6825553da0
Rename MaxKey and MinKey serialization tests
2016-07-14 11:27:18 -04:00
Jeremy Mikola
3cd58578f6
PHPC-741: Consistent exceptions for Javascript init methods
2016-07-14 11:27:18 -04:00
Jeremy Mikola
e38c21d90e
PHPC-741: Consistent exceptions for Decimal128 init methods
2016-07-14 11:27:18 -04:00
Jeremy Mikola
7d3dadb9ed
PHPC-741: Consistent exceptions for Binary init methods
2016-07-14 11:27:18 -04:00
Jeremy Mikola
5c65399eca
Define ZSTR_VAL() for PHP 5 and remove phongo_str() macro
2016-07-14 11:27:18 -04:00
Jeremy Mikola
c7a418f96c
Merge pull request #345
2016-07-13 11:40:35 -04:00
Jeremy Mikola
b3298a0efe
PHPC-739: Rename "javascript" to "code" in Javascript BSON class
...
This changes behavior of var_dump(), var_export(), and serialization.
Additionally, this renames the internal struct fields to be consistent with the publicized property names.
2016-07-13 10:32:45 -04:00
Jeremy Mikola
e6058a9d77
Remove redundant null assignment in create_object handler
...
Objects are already allocated with ecalloc(), which clears memory.
2016-07-13 10:32:45 -04:00
Jeremy Mikola
70b995fb14
Merge pull request #340
2016-07-13 10:05:28 -04:00
Jeremy Mikola
10e1879357
PHPC-460: UTCDateTime serialization and var_export
2016-07-12 16:30:43 -04:00
Jeremy Mikola
0a32ce98fb
PHPC-460: Timestamp serialization and var_export
2016-07-12 16:30:43 -04:00
Jeremy Mikola
dcd1920108
PHPC-460: Regex serialization and var_export
2016-07-12 16:30:43 -04:00
Jeremy Mikola
ef1eee4699
PHPC-460: MaxKey and MinKey serialization and var_export
2016-07-12 16:30:43 -04:00