0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

129 Commits

Author SHA1 Message Date
Alberto Lerner
7a7cc4adfa SERVER-1452 StringData-ing up, c_str()-ing down 2010-08-18 18:12:31 -04:00
Eliot Horowitz
5663169f5f fix 32-bit compile 2010-08-18 10:03:08 -04:00
Eliot Horowitz
a054706d1e appendNumber unsizned, size_t 2010-08-18 09:47:51 -04:00
dwight
bc9997faef rs towards slaveDelay 162 2010-08-17 23:35:53 -04:00
Dwight
14bc66a7e9 fix sizet int translate warning windows 2010-08-16 11:57:54 -04:00
dwight
b12c0a79fe rs SERVER-1598 getlasterrordefaults 2010-08-09 16:15:41 -04:00
Eliot Horowitz
9dd3b21002 make BSONElement::toString 20x faster for double 2010-08-08 23:39:09 -04:00
Alberto Lerner
c8ae18d4b4 change back header-only bson 2010-08-03 11:08:08 -04:00
Dwight
cafe5555c9 make bsondemo compile again with vs2010 2010-08-02 16:21:14 -04:00
Mathias Stearn
28fc116721 Make bson.h compile cleanly by itself. SERVER-1511 2010-07-29 11:11:05 -04:00
Eliot Horowitz
cd2d06fa73 typo 2010-07-29 09:43:36 -04:00
Eliot Horowitz
421ff50975 appendObject for raw char* appending 2010-07-29 01:07:22 -04:00
dwight
684486e7e0 towards vcxproj compile 2010-07-28 14:46:13 -04:00
Andrew C. Morrow
6239b1629a SERVER-1498: qualify custom strnlen in bsoninlines, move impl
- strnlen was ambiguous in bsoninlines.h without goodies.h header
 - goodies.h header includes lots of other stuff, so moved custom
   strnlen to bson/util/misc.h.
 - update bsoninlines.h to use namespace qualified name
2010-07-27 18:15:48 -04:00
Andrew C. Morrow
2bc93939b5 fix compilation errors in bson.h 2010-07-27 18:15:43 -04:00
Andrew C. Morrow
0553e3c381 SERVER-1496: Add explicit data/length ctor to StringData 2010-07-27 18:15:36 -04:00
Mathias Stearn
99c0d3557f More efficient toString 2010-07-27 17:18:43 -04:00
Mathias Stearn
00679b9a2b Test expect lowercase hex. May change them later. 2010-07-27 17:18:43 -04:00
Mathias Stearn
585b3797ff use less stringstream in bson 2010-07-27 17:18:43 -04:00
Mathias Stearn
16ab1bcbe6 Remove tautologous test. validate() used the same formula as size() 2010-07-27 17:18:43 -04:00
Andrew C. Morrow
8443231430 fast done capability for BSONObjBuilder 2010-07-27 09:32:46 +08:00
Eliot Horowitz
91cc690bb9 don't build string for uassert in bson since uassert there isn't a macro 2010-07-26 16:10:37 -04:00
Eliot Horowitz
4471c919ed fix bson asserts 2010-07-26 16:10:32 -04:00
Eliot Horowitz
1284b0b38a option not to include EOO on string 2010-07-24 12:40:19 -04:00
dwight
75be526b4a windows, at least vs2010 debug was unhappy with timettostring we had a buf len specified that did not match callers length 2010-07-24 00:33:50 -04:00
Eliot Horowitz
5e07c9e50c appendChar 2010-07-23 12:06:25 -04:00
Eliot Horowitz
c09bd3b45f debugging 2010-07-22 14:00:14 -04:00
Eliot Horowitz
8593e82df6 oid operator< 2010-07-22 13:52:22 -04:00
Dwight
3b2ede3771 rs rollback work 2010-07-21 15:39:59 -04:00
Eliot Horowitz
9bc4aea8ba operator < > <= >= for BSONObj 2010-07-20 23:16:48 -04:00
Alberto Lerner
9c33f219fb SERVER-1272 Inline hot portion of BufBuild::grow() 2010-07-20 13:44:35 -04:00
Alberto Lerner
67710484c1 SERVER-1270 Missed one call in BSONObjBuilder 2010-07-20 12:29:29 -04:00
Alberto Lerner
27dde175e0 SERVER-1270 Hook StringData to BSONObjBuilder 2010-07-20 11:15:06 -04:00
Mathias Stearn
8047e6afb2 $or helper in C++ SERVER-1332 2010-07-19 13:42:09 -04:00
Dwight
7019539aa6 compile 2010-07-19 10:44:53 -04:00
Alberto Lerner
f51a4d0669 SERVER-1270 Hook StringData to BufBuilder 2010-07-19 09:56:24 -04:00
Alberto Lerner
6f728ae260 Eliminate BSONObj->string implicit conversion 2010-07-18 15:15:31 -04:00
Alberto Lerner
a36f3ebb6d Make StringData a class 2010-07-18 14:35:14 -04:00
Alberto Lerner
ebc5d5d3e1 Let's keep it just one struct
This reverts commit 94af9c42e4.
2010-07-18 14:22:36 -04:00
dwight
db607d1f22 tweak 2010-07-18 12:53:07 -04:00
Eliot Horowitz
94af9c42e4 added a StringDataNoSize struct 2010-07-18 11:21:48 -04:00
Eliot Horowitz
867b9c16f1 use StringData in place rather than hacking 2010-07-18 11:14:32 -04:00
Alberto Lerner
daf8c0fbd0 Revert "SERVER-1270 Prep for hooking StringData"
This reverts commit b7c9a9fc57.
2010-07-17 16:07:38 -04:00
Alberto Lerner
b7c9a9fc57 SERVER-1270 Prep for hooking StringData 2010-07-17 14:33:17 -04:00
Dwight
ec4207bac9 Merge branch 'master' of github.com:mongodb/mongo 2010-07-14 15:09:10 -04:00
Dwight
db5aafcd11 rs fixes 2010-07-14 15:08:59 -04:00
Mathias Stearn
4407f18829 extractFieldsDotted was unused and broken (done() vs obj()). use extractFields instead. 2010-07-14 14:34:44 -04:00
Mathias Stearn
38c27222e7 BSONForEach macro 2010-07-14 14:34:43 -04:00
dwight
5eaa7eaf1e rs tweaks 2010-07-12 08:54:37 -04:00
Alberto Lerner
7755d602c4 SERVER-1270 Go all the way const 2010-07-07 17:53:06 -04:00