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
dwight
16d3dc355c
compile
2010-07-07 15:04:32 -04:00
Alberto Lerner
13a235bcf3
SERVER-1270 Length uniform in all ctors (thanks Mathias)
2010-07-07 14:53:12 -04:00
Alberto Lerner
4bccb4792c
SERVER-1270 Improve StringData (on behalf of Andrew Morrow)
2010-07-07 13:55:12 -04:00
Mathias Stearn
1dcdf8305b
full option to BSONObj::toString. fix Chunk::genId. SERVER-1370
2010-07-07 12:18:57 -04:00
Mathias Stearn
13c6875815
temporarily Revert "git rid of "operator string""
...
This reverts commit 95fa51a1df
.
2010-07-07 01:22:33 -04:00
Mathias Stearn
95fa51a1df
git rid of "operator string"
2010-07-07 00:30:17 -04:00
Alberto Lerner
62a6e478d6
SERVER-1272 Separate slow portion of hot function
2010-07-06 21:12:17 -04:00
Alberto Lerner
cc37c07bb5
SERVER-1270 Make it a bit faster for std::string's
2010-07-06 20:33:59 -04:00
dwight
c103884d09
better diag screen rs
2010-07-06 16:11:56 -04:00
Mathias Stearn
ed0df3ed3e
fix Date_t::toString
2010-07-05 12:54:11 -04:00
Eliot Horowitz
dd337cb1d6
fix bsondemo and add to SConstruct
2010-07-02 10:50:43 -04:00
Eliot Horowitz
2aa01a059e
better error message
2010-07-01 16:05:27 -04:00
Dwight
df99ec85df
elim warnings on widnows compile
2010-06-29 11:28:20 -04:00
Mathias Stearn
23a6d6a869
Start handling Nuls in strings. SERVER-1177
2010-06-25 17:34:27 -04:00
Eliot Horowitz
a3c7ba0c77
Merge commit '1094c42'
2010-06-25 15:58:54 -04:00
Eliot Horowitz
9959f32daa
open to BSONObj::woCompare to treak compare key as dotted
2010-06-25 15:43:41 -04:00
Eliot Horowitz
f8901bec59
make includes a bit easier to manage
2010-06-24 11:23:10 -04:00
Eliot Horowitz
a5b8c2b7cf
string verstion of getFieldDotted
2010-06-24 10:49:49 -04:00
Erick Tryzelaar
e657acd9dc
Fix a typo.
2010-06-22 16:26:56 +08:00
dwight
a38bc950bd
compile (windows)
2010-06-22 00:26:08 +02:00
Eliot Horowitz
a7f063dc21
nicer way to create bson
...
BSONField<int> x("x");
BSONObj o = BSON( x(5) );
ASSERT_EQUALS( BSON( "x" << 5 ) , o );
o = BSON( x.gt(5) );
ASSERT_EQUALS( BSON( "x" << BSON( "$gt" << 5 ) ) , o );
2010-06-21 11:18:33 -04:00
Eliot Horowitz
de1ce815b6
OID::isSet()
2010-06-14 18:44:42 -04:00
Mathias Stearn
2f94443140
fix GridFS. Add binDataClean to handle subtype 2. SERVER-1233
2010-06-14 06:30:19 -04:00
Eliot Horowitz
49122f7d6c
fix json parser cleanup
2010-06-12 23:28:38 -04:00
Eliot Horowitz
be7b84c033
close subobj BSONObjBuilders automatically if they don't get closed cleanly
2010-06-10 16:00:37 -04:00
dwight
dd285bfae6
make bsondemo.cpp compile
2010-06-09 12:54:08 -04:00
Eliot Horowitz
04e67973ee
fix assert
2010-06-09 12:07:15 -04:00
Eliot Horowitz
0aa13e8e62
Merge branch 'master' of github.com:mongodb/mongo
2010-06-09 11:32:12 -04:00
Eliot Horowitz
cbb36406f0
some tool cleaning, bsondump tool
2010-06-09 11:31:30 -04:00
dwight
23882959f5
switch default subtype to 0 for BinData bson
2010-06-09 11:00:43 -04:00
dwight
3f8da3805a
towards QueryOption_Exhaust
2010-06-06 15:46:55 -04:00
Richard Kreuter
e79e21e2e9
Add license headers for some files.
2010-06-04 10:27:35 -04:00
Dwight Merriman
f36becfb54
repl cleaning
2010-05-29 16:17:33 -04:00
Dwight Merriman
9d68fe1195
file
2010-05-29 15:48:17 -04:00
Mathias Stearn
4436e111c6
this should never have compiled
2010-05-26 17:15:27 -04:00
Aaron
ea362c0ca4
SERVER-109 explain
2010-05-26 01:30:50 -07:00
Aaron
cb17065bae
maybe compile solaris
2010-05-25 17:57:50 -07:00
Aaron
8affe97c8d
maybe compile solaris
2010-05-25 17:49:40 -07:00
Dwight Merriman
d1c913cc72
cleaning
2010-05-23 18:52:26 -04:00
Dwight Merriman
6efbf9af37
bson tweaking
2010-05-23 18:35:08 -04:00
Dwight
9675dc776f
c++ strikes again
2010-05-21 18:03:11 -04:00
Dwight
27e55029fd
ismaster; bsonobjbuilder
2010-05-21 17:50:08 -04:00
Dwight
13e25a7171
apbsonobjbuilder pend d list
2010-05-21 17:39:25 -04:00
Eliot Horowitz
0afdef1676
cruft/pack cleaning
2010-05-17 16:50:47 -04:00
Dwight Merriman
63b7b35c7c
change log.h
2010-05-15 11:44:03 -04:00
Eliot Horowitz
c73d192855
in log() gen time at end
2010-05-14 17:08:03 -04:00
Eliot Horowitz
04662e21d9
object id coordination across cluster SERVER-927
2010-05-11 12:06:09 -04:00
Dwight
e2972cb6a0
rs renaming
2010-05-05 14:57:49 -04:00
Dwight
206aac1097
Merge branch 'master' of github.com:mongodb/mongo
2010-05-04 17:36:28 -04:00
Dwight
1efea63bdb
vs2010 cleaning
2010-05-04 17:08:30 -04:00
Mathias Stearn
bad71c1584
BSONObj::operator== const
2010-05-04 16:49:04 -04:00
Mathias Stearn
d2cec0e4d0
better debugging of invalid bsonobj size
2010-05-03 14:30:41 -04:00
Dwight Merriman
8be209992d
build procdess tweaking
2010-05-02 19:17:35 -04:00
Dwight Merriman
c9a8840035
vcproj
2010-05-01 02:58:46 -04:00
Eliot Horowitz
19b7872bd8
remove warnings and useless assert
2010-04-28 20:57:32 -04:00