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

644 Commits

Author SHA1 Message Date
Aaron
cf3b8f2468 SERVER-531 refactor code for not influencing lastError 2010-01-12 15:33:29 -08:00
Dwight
7d26553061 a little code cleanup / renameing 2010-01-03 16:37:38 -05:00
Dwight
e21bb90572 compile 2009-12-31 16:26:26 -05:00
Mathias Stearn
692b618d7d JSON parser supports 'new Date(1234)' SERVER-461 2009-12-30 17:56:44 -05:00
Dwight
b88f54e219 compile windows (vcproj) 2009-12-30 11:59:54 -05:00
Aaron
13533a68a8 Merge branch 'master' of github.com:mongodb/mongo 2009-12-29 20:53:40 -08:00
Eliot Horowitz
9e96ad0a07 fix unit test 2009-12-29 23:50:45 -05:00
Aaron
bf9e214caf Merge branch 'master' of github.com:mongodb/mongo 2009-12-29 20:01:43 -08:00
Aaron
8573d53da7 SERVER-470 MINOR abstract shell init functionality so v8_utils need not link with shell 2009-12-29 18:27:49 -08:00
Eliot Horowitz
e610aaddca 32-bit fix 2009-12-29 21:26:55 -05:00
Eliot Horowitz
ac84841e63 first checking of simple/fast resettable StringBuilder 2009-12-29 17:32:31 -05:00
Aaron
f0e2ccae3d MINOR merge and add exception codes 2009-12-29 11:32:09 -08:00
Aaron
91362b9e35 SERVER-446 use v8's raii objects correctly per documentation 2009-12-29 11:04:00 -08:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
e19c177dec fix $bit test 2009-12-24 13:11:10 -05:00
Eliot Horowitz
e1a4c3f0af test that doesn't work yet for $bit - commented out 2009-12-23 16:00:04 -05:00
Dwight
15535d0906 compile windows / vcproj 2009-12-22 16:42:49 -05:00
Mathias Stearn
a871f11644 Thread pool 2009-12-22 12:15:52 -05:00
Eliot Horowitz
62a4aef8fd start work on bit operators SERVER-503
only ugly syntax works and not idempotent yet
2009-12-21 17:32:01 -05:00
Eliot Horowitz
c32fbf2b0f some update c++ unit tests 2009-12-21 15:56:56 -05:00
Dwight
65ae020708 QueryMessage was being instantiated twice on every query - fixed. 2009-12-21 14:22:23 -05:00
Dwight
8a1cecd76e fix cpp unit tests were failing on windows _DEBUG build 2009-12-21 14:08:13 -05:00
Aaron
83d4e4f2e1 MINOR fix warning 2009-12-21 10:17:21 -08:00
Aaron
499cb647b6 SERVER-446 MINOR enhance BinData round trip test to check data strings containing null bytes 2009-12-21 09:57:04 -08:00
Eliot Horowitz
773c59c53c update unit test 2009-12-18 17:39:02 -05:00
Eliot Horowitz
da08edb63d tests and minor fixes for SERVER-181 and SERVER-273 2009-12-18 17:28:36 -05:00
Eliot Horowitz
a71ff07701 BSONObjIteratorSorted - sorted iterator for bson obj that is sorted by field name 2009-12-18 01:50:43 -05:00
Dwight
7ac119e062 build vis studio 2009-12-17 16:18:00 -05:00
Aaron
15971b9ad9 SERVER-446 test that BinData js object is being used 2009-12-16 18:37:31 -08:00
Aaron
643ad02d77 SERVER-446 add DBPointer to v8 2009-12-16 16:50:36 -08:00
Aaron
78a9e77c33 SERVER-446 don't attempt to write protect arrays in v8 2009-12-16 14:49:22 -08:00
Aaron
ec440eda85 Merge branch 'master' of github.com:mongodb/mongo 2009-12-16 11:43:40 -08:00
Mathias Stearn
ee53e7ec8b MVar synchronization primitive 2009-12-16 14:38:05 -05:00
Aaron
7c13d80f1c MINOR comments 2009-12-16 10:37:29 -08:00
Aaron
b9ddc3e9ef SERVER-446 v8 round trip array support 2009-12-16 09:31:56 -08:00
Aaron
df1867b3a7 MINOR array js round trip test 2009-12-15 18:03:29 -08:00
Aaron
bec620a87a SERVER-446 simple int/double differentiation 2009-12-15 17:40:53 -08:00
Aaron
8add9a17b9 SERVER-446 implement readOnly mode in v8 engine 2009-12-15 15:52:41 -08:00
Aaron
a6e2b4a605 MINOR enhanced read only js tests 2009-12-15 11:22:19 -08:00
Eliot Horowitz
03da5382fb removed old update code 2009-12-10 17:02:47 -05:00
Eliot Horowitz
341cd83dd1 finish + switch to simpler+cleaner new object from mod code 2009-12-10 16:38:47 -05:00
Eliot Horowitz
4119148e97 almost all operators done on recursive update version 2009-12-10 15:59:09 -05:00
Eliot Horowitz
9bf50a42e3 more update cleaning 2009-12-10 14:29:14 -05:00
Dwight
4390797b88 make query optimizer map thread-safe 2009-12-09 18:13:36 -05:00
Dwight
f9184738d3 more renaming 2009-12-09 16:57:53 -05:00
Mathias Stearn
dcf3a10eea Start using Date_t. Can anyone think of a better name? 2009-12-09 12:00:17 -05:00
Eliot Horowitz
d672078581 update re-write almost done, faster and cleaner 2009-12-08 17:00:25 -05:00
Eliot Horowitz
03b5ae2078 some update refactoring so can test ModSet directly 2009-12-07 23:41:58 -05:00
Eliot Horowitz
6487373835 fix test locking 2009-12-06 11:18:35 -05:00
Eliot Horowitz
a2b7ab3e2e 32-bit compile 2009-12-05 22:19:03 -05:00
Eliot Horowitz
a208f7991f a date test 2009-12-05 21:19:52 -05:00
Dwight
edfa5eca01 wrap dbtests with a big dblcok - now passes 2009-12-04 12:50:53 -05:00
Eliot Horowitz
2aec9ea61d moving towards direct access from DBDirectClient rather than through message layer
not finished
2009-12-04 01:25:50 -05:00
Eliot Horowitz
31445b9fe0 fix dbtest framework output 2009-12-04 00:17:14 -05:00
Eliot Horowitz
5d8ca55f47 some more helpers for querying 2009-12-03 17:11:24 -05:00
Mathias Stearn
7581e97181 fix for windows 2009-12-03 14:46:29 -05:00
Mathias Stearn
58f7052028 Better formating for dbtests 2009-12-03 14:31:23 -05:00
Dwight
e8cb0b90f8 add new test to dbtests in vcproj 2009-12-03 12:09:11 -05:00
Mathias Stearn
04c6bf7241 Fix for boost 1.33 2009-12-02 15:28:28 -05:00
Mathias Stearn
c58d0d3123 Test for atomicIncrement() and ThreadedTest helper 2009-12-02 14:33:06 -05:00
Mathias Stearn
31a82b3034 Loosen test because capped collection size isn't exact 2009-11-30 17:05:31 -05:00
Mathias Stearn
ce036039e6 JSON parser now creates ints and longs SERVER-309 2009-11-30 17:05:31 -05:00
Eliot Horowitz
47a01f2bfe better debugging 2009-11-30 15:10:23 -05:00
Dwight
25bb636eb4 some initial visual studio 2010 support 2009-11-30 12:09:39 -05:00
Eliot Horowitz
e8193c5df2 forgot a test 2009-11-25 14:35:30 -05:00
Eliot Horowitz
3b724c73ad use Helpers::findById for simpel _id lookups 2009-11-25 12:41:13 -05:00
Eliot Horowitz
eed27626b8 some btree helpers and test 2009-11-25 10:09:59 -05:00
Dwight
560185f6f1 fix seg fault on windows because of static initializier order 2009-11-18 14:22:00 -05:00
Eliot Horowitz
5946dbf445 32-bit fix 2009-11-13 21:19:38 -05:00
Eliot Horowitz
ca785a0400 BDONObjBuilder::apendAsNumber
better fix for SERVER-423
2009-11-13 21:07:15 -05:00
Mike Dirolf
86b713fdff minor: oops - fix for broken tests 2009-11-10 17:49:47 -05:00
Mike Dirolf
bb2e504105 use instead of for strict JSON DBRef encoding - more consistent 2009-11-10 17:28:51 -05:00
Mathias Stearn
44498641ea BSON_ARRAY macro 2009-11-05 13:34:14 -05:00
Mathias Stearn
e863bb68d6 BSONArray class 2009-11-05 13:34:14 -05:00
Mathias Stearn
1ce5f2707b BSONArrayBuilder class 2009-11-05 13:34:14 -05:00
Mathias Stearn
1acf77ce0c Add nested-dotted converters for BSONObj 2009-11-02 13:32:20 -05:00
Eliot Horowitz
39645a2739 removing dead code 2009-11-02 11:00:49 -05:00
Eliot Horowitz
2dcaea56d3 windows compile MINOR 2009-10-29 12:06:16 -04:00
Eliot Horowitz
a770c37bd8 test for increasing OIDs 2009-10-29 11:58:32 -04:00
Eliot Horowitz
e8466f3dc5 flag to update multiple objects with $ operators SERVER-268 2009-10-21 22:54:11 -04:00
Dwight
bfa27ae2b3 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-21 16:00:55 -04:00
Dwight
844d96c19f allow more indexes
do not revert to an earlier db version or you will have problems
2009-10-21 16:00:40 -04:00
Eliot Horowitz
113cf4107d shutdown unittest cleanly 2009-10-21 09:57:51 -04:00
Eliot Horowitz
d54681458c $inc/$set work even if indexes - not 100% efficient now - SERVER-108 2009-10-21 01:01:52 -04:00
Dwight
691ac521d2 add update.cpp to vcproj 2009-10-19 13:25:53 -04:00
Eliot Horowitz
fcbca1e707 field selector no longer effects which objects are returned
SERVER-362
2009-10-19 12:14:20 -04:00
Eliot Horowitz
117a9b68f9 some prep work for comparing dotted field names. can't use strcmp like we used to since don't quite match 2009-10-16 23:41:21 -04:00
Eliot Horowitz
349961ae9c move oplogSize to CmdLine 2009-10-16 23:32:34 -04:00
Dwight
01f1f6915d move CurOp into Client and make inprog handle multiple in progress 2009-10-16 15:36:34 -04:00
Dwight
f152047f19 fix assert to use ours and thus make unit test pass 2009-10-15 16:47:35 -04:00
Mathias Stearn
326f612a98 un-overload appendTimeT to support MSVC 2009-10-15 15:23:53 -04:00
Mathias Stearn
d6a19bb42d Eliminate warning MINOR 2009-10-15 14:08:40 -04:00
Mathias Stearn
e3caa5ec46 cast len to size_t to remove compiler warning 2009-10-15 14:08:40 -04:00
Mathias Stearn
f84a1f2429 support appending time_t to BSONObjBuilder 2009-10-15 13:59:30 -04:00
Eliot Horowitz
3dddfe2a7a don't prealloc in unit tests 2009-10-14 16:57:11 -04:00
Eliot Horowitz
87d435a706 fix test and 1 assert 2009-10-14 15:36:49 -04:00
Dwight
16f8b77c5e move the var 'database' inside Client object 2009-10-14 14:34:38 -04:00
Eliot Horowitz
ab1f46de2c fix bug with cursors and capped collections where cursor could get partial data 2009-10-13 16:44:52 -04:00
Dwight
ca9747f9cc Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-13 16:01:13 -04:00
Dwight
2d934d1006 move curNs to Client object 2009-10-13 16:01:02 -04:00
Dwight
1083a425c2 ThreadLocalInt prettier 2009-10-13 12:55:23 -04:00
Mathias Stearn
ed92b96011 BSON( "created" << DATENOW ) 2009-10-13 12:33:25 -04:00
Dwight
cf7a86e0f9 make lasterror threadsafe
rename Connection -> Client
lasterror code easier to read
bunch of windows warnings eliminated
2009-10-12 15:12:16 -04:00
Eliot Horowitz
1777f1d93b some tests for v8 compat. 2009-10-11 21:35:39 -04:00
Eliot Horowitz
708ca2b8fb add a js test 2009-10-10 22:41:21 -04:00
Eliot Horowitz
96d0418d96 checkpoint for playing with v8 2009-10-10 01:30:00 -04:00
Eliot Horowitz
b5a5b5deb4 init threads in unit tests 2009-10-09 15:24:27 -04:00
Dwight
ff54f16271 add Connection class
beginnings that is
2009-10-09 14:59:44 -04:00
Eliot Horowitz
0ca301655e arrays match themselves in queryies SERVER-146 2009-10-09 10:12:19 -04:00
Eliot Horowitz
3e3dda9c97 fix compount key with array indexing SERVER-279 2009-10-08 13:07:25 -04:00
Eliot Horowitz
f88a4415b6 fix regresstion return code 2009-10-08 11:48:04 -04:00
Eliot Horowitz
23936952c1 use templated assert 2009-10-08 11:04:13 -04:00
Eliot Horowitz
7425aa3d70 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-07 15:48:13 -04:00
Eliot Horowitz
9e46e19eeb BSONObj::md5() - some tests that can be copied to other drivers 2009-10-07 15:47:53 -04:00
Dwight
d2db017c7a some code cleanup 2009-10-07 15:34:14 -04:00
Eliot Horowitz
bbc42224b2 2 more tests MINOR 2009-10-07 09:15:30 -04:00
Eliot Horowitz
a301303c98 Merge branch 'master' of github.com:mongodb/mongo 2009-10-06 23:07:36 -04:00
Dwight
0c9212038d small cleanups 2009-10-06 16:17:11 -04:00
Eliot Horowitz
99fd09c2e9 some compat tests MINOR 2009-10-05 21:08:00 -04:00
Eliot Horowitz
d3ad7fa491 fix windows 2009-10-01 10:41:22 -04:00
Dwight
1b508836b5 link visual studio base64 2009-10-01 10:10:02 -04:00
Eliot Horowitz
1f622ad076 finish getting rid of boost base64 2009-10-01 09:49:17 -04:00
Eliot Horowitz
41a7ff05a7 counting fails twice 2009-10-01 08:35:04 -04:00
Eliot Horowitz
1bb3d4a004 fix base64 issue 2009-10-01 01:26:19 -04:00
Eliot Horowitz
cc2377b335 better debugging 2009-10-01 01:26:10 -04:00
Eliot Horowitz
aaf8754d31 better debugging 2009-10-01 01:25:53 -04:00
Eliot Horowitz
f7bfd1192c base64 decode 2009-09-30 23:32:28 -04:00
Eliot Horowitz
fdd776a50a simple base64::encode 2009-09-30 23:08:33 -04:00
Dwight
04515195f8 fix compile windows 2009-09-30 15:23:56 -04:00
unknown
74aefcc405 test project 2009-09-30 14:32:26 -04:00
unknown
7153023470 win pre-compild headers 2009-09-30 14:32:17 -04:00
Eliot Horowitz
8058f0b7f3 trying to get dbtests running on win 2009-09-30 11:58:44 -04:00
Eliot Horowitz
9d0c7e66a3 some debugging 2009-09-30 10:30:25 -04:00
Eliot Horowitz
b302244b0a don't use assert b/c of windows 2009-09-30 10:08:58 -04:00
Eliot Horowitz
9359676af4 test for reIndex command 2009-09-29 10:18:14 -04:00
Eliot Horowitz
c2c136a3f2 don't use any files for external sort if its in 1 chunk 2009-09-25 11:22:43 -04:00
Eliot Horowitz
ab135dd2f4 a unit test that already passes 2009-09-25 11:11:48 -04:00
Eliot Horowitz
c9d513ffd3 fix framework a tiny bit 2009-09-25 10:56:56 -04:00
Eliot Horowitz
29821161c1 soem test framework improvements 2009-09-25 10:46:49 -04:00
Dwight
90aa429845 Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-24 17:47:43 -04:00
Dwight
0c5d8a7b3f build indexes bottom up
Merge branch 'master' of git@github.com:mongodb/mongo

Conflicts:

	db/extsort.cpp
2009-09-24 17:47:13 -04:00
Eliot Horowitz
8b91377b09 dropIndex, dropIndexes, getIndexes, reIndex for c++ driver SERVER-314 2009-09-24 17:41:09 -04:00
Eliot Horowitz
d1ba3c244a dwight's test 2009-09-24 17:17:11 -04:00
Dwight
7a6f8d2398 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	db/pdfile.cpp
2009-09-24 17:13:52 -04:00
Eliot Horowitz
56698dc313 return Iterator * 2009-09-24 17:04:44 -04:00
Dwight
86f4a5480a Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-24 14:22:28 -04:00
Dwight
6cf3d75d08 btreebuilder work / temp commit 2009-09-24 12:11:55 -04:00
Eliot Horowitz
6d258c54de sort by obj,diskloc SERVER-291 2009-09-24 11:57:45 -04:00
Mike Dirolf
5f21ef37f7 minor: a version that builds with boost 1.33.1 2009-09-21 13:01:06 -04:00
Mike Dirolf
be84f05356 minor: more compatibility for old versions of boost 2009-09-21 12:43:45 -04:00