Eliot Horowitz
024f7daec4
fix some unchecked mallocs SERVER-4228
2011-11-08 09:56:42 -05:00
dwight
4f87fbb17c
move bson method to the right place for libs and include only use of bson
2011-06-27 09:14:55 -04:00
dwight
896e10bb8d
fix comment
2011-06-05 18:10:46 -04:00
Dwight
e104e01f84
use memcmp, not strcmp for comparing BSON strings
2011-06-01 14:57:40 -04:00
Dwight
e4e267013c
compile?
2011-05-10 13:04:24 -04:00
Dwight
40e9a56d22
make header dependency order happier/compile
2011-05-10 12:58:56 -04:00
dwight
871d923401
StackBufBuilder
2011-05-10 12:40:01 -04:00
dwight
699ebbbe37
include cleanup
2011-05-09 21:23:58 -04:00
Eliot Horowitz
71dc50d006
don't use stringbuffer for OpDebug SERVER-1591 - updates about 8% faster
2011-05-07 17:00:57 -04:00
dwight
f6c332c91d
safer
2011-05-07 12:34:20 -04:00
Mathias Stearn
d2c770380f
Revert "Add += and -= operators to AtomicUInt"
...
This reverts commit 06f6eec33d .
2011-05-07 00:46:01 -04:00
Mathias Stearn
06f6eec33d
Add += and -= operators to AtomicUInt
2011-05-06 19:40:18 -04:00
Dwight
ede44430d1
compact index keys fix encoding for traditional encoding of complex ones
2011-04-20 12:07:08 -04:00
Dwight
bab2182780
index key class KeyV1 close to done
2011-04-12 17:09:08 -04:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
Eliot Horowitz
29d9dab034
increase bson size to 16mb SERVER-431
2010-12-09 16:59:10 -05:00
dwight
984e62f550
comment
2010-12-01 09:52:19 -05:00
Eliot Horowitz
108401044c
const
2010-11-28 03:36:56 -05:00
dwight
278fba2dd4
dur make fixes
2010-11-27 16:14:47 -05:00
dwight
ce93e7c824
dur
2010-11-26 18:18:24 -05:00
dwight
99196081b2
crlf
2010-11-25 14:33:24 -05:00
dwight
5e970e64bd
avoid using macro to save on header pollution
2010-11-25 12:17:07 -05:00
dwight
20f630656c
pop pragma to avoid header pollution
2010-11-25 11:56:20 -05:00
dwight
c0bc0ccf7c
fix warning
2010-11-25 11:32:32 -05:00
dwight
3d2a3d2e5a
add comment
2010-11-25 11:27:33 -05:00
dwight
a69a19c88d
cleaning
2010-11-14 16:30:49 -05:00
dwight
eaec449b9e
dur
2010-11-13 17:42:41 -05:00
Eliot Horowitz
1a499bf7dc
add zero() and clean AtomicUInt
2010-11-11 01:30:02 -05:00
Eliot Horowitz
b357c3ea89
increase bson size to 8mb SERVER-1918 SERVER-431
2010-10-11 21:56:16 -04:00
Eliot Horowitz
53a0d295e3
split bson max size into User and Internal
...
sometimes objects have to be bigger (oplog insertion for example)
more prep for SERVER-431
2010-10-11 11:26:41 -04:00
Eliot Horowitz
54e30b4c5b
can't base buffer max size on bson max size just yet
2010-10-11 01:12:29 -04:00
Eliot Horowitz
d3c3b8a903
using BSONObjMaxSize everywhere bson size comes into play
...
still 4mb, this is just prep for changing SERVER-431
2010-10-10 20:01:17 -04:00
Alberto Lerner
4b56d14a15
SERVER-1860 Stringbuilder is non-copyable
2010-09-27 16:52:54 -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
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
Mathias Stearn
585b3797ff
use less stringstream in bson
2010-07-27 17:18:43 -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
Alberto Lerner
9c33f219fb
SERVER-1272 Inline hot portion of BufBuild::grow()
2010-07-20 13:44:35 -04:00
Alberto Lerner
f51a4d0669
SERVER-1270 Hook StringData to BufBuilder
2010-07-19 09:56:24 -04:00
dwight
5eaa7eaf1e
rs tweaks
2010-07-12 08:54:37 -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
Mathias Stearn
ed0df3ed3e
fix Date_t::toString
2010-07-05 12:54:11 -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
3f8da3805a
towards QueryOption_Exhaust
2010-06-06 15:46:55 -04:00
Dwight Merriman
f36becfb54
repl cleaning
2010-05-29 16:17:33 -04:00