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

493 Commits

Author SHA1 Message Date
Dwight
0a3f5af2c3 fix vcproj; typo 2010-01-20 14:34:53 -05:00
Eliot Horowitz
2ff6749889 Quorum -> SyncClusterConnection 2010-01-19 17:36:01 -05:00
Eliot Horowitz
f8be8a7529 fix spidermonkey error handling SERVER-515 2010-01-14 23:57:07 -05:00
Aaron
5d67aa7014 MINOR use hidden value for native js thread object, avoids trouble when printing 2010-01-12 18:00:29 -08:00
Aaron
386a525c2f SERVER-529 when js thread throws an exception, log and check return 2010-01-12 17:33:03 -08:00
Aaron
63df738650 SERVER-470 only install fork() in shell, not db internal js 2010-01-11 10:04:11 -08:00
Aaron
70a290f861 MINOR Fix compile breakage due to client option name change 2010-01-04 09:34:24 -08:00
Dwight
7d26553061 a little code cleanup / renameing 2010-01-03 16:37:38 -05:00
Aaron
54fd59f6e1 MINOR initialize callback 2009-12-29 20:23:33 -08:00
Aaron
3b84e7162e SERVER-470 MINOR don't need persistent handles for copied function arguments 2009-12-29 19:26:54 -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
Aaron
978582f803 SERVER-470 MINOR Refactor shell scope init code 2009-12-29 17:38:29 -08:00
Aaron
aece98652e SERVER-470 allow shell threads to be run in fresh scopes 2009-12-29 17:29:24 -08:00
Aaron
75c7995a2a MINOR cleanup 2009-12-29 11:46:57 -08:00
Aaron
f0e2ccae3d MINOR merge and add exception codes 2009-12-29 11:32:09 -08:00
Aaron
453aa1977e SERVER-446 MINOR refactor usage of v8 raii objects 2009-12-29 11:13:08 -08:00
Aaron
91362b9e35 SERVER-446 use v8's raii objects correctly per documentation 2009-12-29 11:04:00 -08:00
dwight
6f4bfb2e14 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	SConstruct
	db/dbinfo.h
2009-12-29 13:45:46 -05:00
dwight
24e2542d95 remove dbinfo.h/cpp 2009-12-29 13:42:45 -05:00
Mathias Stearn
959fc2c674 mongo shell can now take a directory and run all *.js files in it 2009-12-28 19:00:33 -05:00
Eliot Horowitz
fa8961c3e8 Exception classess need codes too SERVER-112 2009-12-28 17:06:07 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
503473112d when loading js files, only get read access 2009-12-23 15:28:53 -05:00
Aaron
81cf93cf8a SERVER-470 fix some v8 locking issues 2009-12-22 17:56:57 -08:00
Aaron
d70db47d96 SERVER-470 unlock v8 appropriately so can do work in parallel 2009-12-22 15:08:17 -08:00
Aaron
7dcfe01698 SERVER-470 added fork()/Thread() to v8 engine- 2009-12-22 14:32:45 -08:00
Aaron
770394a02d SERVER-446 implement gc() in v8 engine 2009-12-22 11:39:23 -08:00
Aaron
556a554205 SERVER-446 clean up whitespace when creating js function in v8 engine 2009-12-22 10:47:03 -08:00
Aaron
80bd8d169d SERVER-446 support multi update mode v8 2009-12-22 10:19:48 -08:00
Aaron
39967b0609 SERVER-446 v8 support storefunc 2009-12-22 09:52:11 -08:00
Aaron
6c7cc48dcd SERVER-446 implement new Object.bsonsize( x ) syntax in sm engine 2009-12-21 20:58:55 -08:00
Aaron
643ec0261b SERVER-446 implement bsonsize() in v8 2009-12-21 20:40:04 -08:00
Aaron
793dfc134b SERVER-446 save hostname in mongo object 2009-12-21 20:27:09 -08:00
Aaron
44d85e4713 MINOR sm don't store array in auto_ptr 2009-12-21 19:56:41 -08:00
Aaron
0e045e2fe1 SERVER-446 use generic object id validation in v8 engine ObjectId constructor 2009-12-21 19:49:51 -08:00
Aaron
bbcc6c1d0c SERVER-446 extract object id string validation to general engine layer 2009-12-21 17:03:12 -08:00
Aaron
de9e185d3d SERVER-446 v8 handles NumberLong type 2009-12-21 16:48:52 -08:00
Aaron
5d9f70180b SERVER-446 populate 'args' object on v8 invoke 2009-12-21 16:00:57 -08:00
Aaron
1477e29e2b MINOR don't store array in auto_ptr 2009-12-21 15:36:00 -08:00
Aaron
ad86985670 SERVER-446 v8 don't drop undefined elements 2009-12-21 15:25:28 -08:00
Aaron
48feb5237f SERVER-502 fix specification of native callback flags in sm 2009-12-21 14:45:53 -08:00
Aaron
ad93048085 SERVER-446 v8 allow js client access to MaxKey and MinKey values 2009-12-21 14:37:23 -08:00
Aaron
81b7e051b2 SERVER-446 js implementation of keySet() 2009-12-21 11:21:25 -08:00
Aaron
455bf0c049 SERVER-446 use js BinData type from v8 engine 2009-12-21 09:55:20 -08:00
Aaron
c3ea73736f SERVER-446 v8 don't attempt to convert c++ backed 'external' objects to BSON 2009-12-16 17:47:32 -08:00
Aaron
4cf6964975 SERVER-446 fix v8 type() bug involving type hierarchy 2009-12-16 17:33:30 -08:00
Aaron
72f5a9db9c MINOR formatting 2009-12-16 16:57:12 -08:00
Aaron
643ad02d77 SERVER-446 add DBPointer to v8 2009-12-16 16:50:36 -08:00
Aaron
2e5ca7d391 Merge branch 'master' of github.com:mongodb/mongo 2009-12-16 14:49:58 -08:00
Aaron
78a9e77c33 SERVER-446 don't attempt to write protect arrays in v8 2009-12-16 14:49:22 -08:00
Eliot Horowitz
edfe77b6ef quorom connection (for sharding config) checkpoint 2009-12-16 16:26:49 -05:00
Aaron
385bb32641 SERVER-446 v8 support bindata round trip 2009-12-16 11:42:46 -08:00
Aaron
df01c097d6 SERVER-446 implement old style dbref support in v8 2009-12-16 11:14:48 -08:00
Aaron
25b56fbba9 SERVER-446 support conversion of Code, CodeWScope to v8 function 2009-12-16 10:36:17 -08:00
Aaron
b9ddc3e9ef SERVER-446 v8 round trip array support 2009-12-16 09:31:56 -08:00
Aaron
bec620a87a SERVER-446 simple int/double differentiation 2009-12-15 17:40:53 -08:00
Aaron
ebdb8282a2 SERVER-446 Implemented special db types round trip support for v8 2009-12-15 16:54:39 -08:00
Aaron
98fc9169e4 MINOR cleanup 2009-12-15 15:54:07 -08:00
Aaron
8add9a17b9 SERVER-446 implement readOnly mode in v8 engine 2009-12-15 15:52:41 -08:00
Mathias Stearn
f64ec0964a Silence warnings 2009-12-09 15:02:42 -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
415cb5e867 remove include 2009-12-04 09:53:05 -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
9c2f1a1bd1 don't allow db access on $where SERVER-454 2009-12-03 17:41:45 -05:00
Eliot Horowitz
843f365571 make some js stuff use table scan helper 2009-12-03 17:24:22 -05:00
Eliot Horowitz
47a01f2bfe better debugging 2009-11-30 15:10:23 -05:00
metagoto
705ec48cd9 add DBRef support to v8 engine (not DBPointer) 2009-11-24 11:41:50 +08:00
metagoto
3c71fb2ef9 fix for V8 TryCatch change 2009-11-24 11:41:49 +08:00
Eliot Horowitz
893346a0ac Merge branch 'master' of github.com:mongodb/mongo 2009-11-22 22:05:59 -05:00
Eliot Horowitz
7eb8fab97d added bsonsize to bson objects in js 2009-11-22 22:05:46 -05:00
metagoto
8397915d8f add load() to v8 engine 2009-11-23 09:35:15 +08:00
Eliot Horowitz
045a22df7a better m/r error handling and reporting 2009-11-13 11:08:42 -05:00
Eliot Horowitz
8af511ef9b handle comments at the beginning of code SERVER-398 2009-11-10 13:40:21 -05:00
Eliot Horowitz
01c85879b1 some simple optimiziations 2009-11-04 14:48:36 -05:00
Eliot Horowitz
ef6bc68882 handle numeric types better 2009-10-27 16:23:07 -04:00
Mathias Stearn
d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Eliot Horowitz
6475aeecfb remove wrong assertion SERVER-386 2009-10-25 20:35:33 -04:00
Eliot Horowitz
1bc6fff4e6 shell multi-update option and test SERVER-268 2009-10-22 09:43:31 -04:00
Eliot Horowitz
9e8b811472 write ops in js should not have a return 2009-10-21 16:40:45 -04:00
Eliot Horowitz
17568a92c4 slight mr speedup across the board and v8 wrapper work 2009-10-21 11:40:43 -04:00
Eliot Horowitz
1e1df0e434 fix assert 2009-10-20 17:31:52 -04:00
Eliot Horowitz
e48db1f60a replace cerr with cout for all server files 2009-10-16 11:39:59 -04:00
Dwight
5696d65d83 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-15 16:47:48 -04:00
Dwight
f152047f19 fix assert to use ours and thus make unit test pass 2009-10-15 16:47:35 -04:00
Eliot Horowitz
7636df40d7 compiler with xulrunner-1.9.0 - SERVER-359 2009-10-15 16:07:14 -04:00
Eliot Horowitz
a3dc8e28a8 v8 works for map/reduce now 2009-10-15 11:27:02 -04:00
Eliot Horowitz
9355cc739e v8: some more stuff working, checkpoint 2009-10-13 16:12:43 -04:00
Eliot Horowitz
feabc14657 v8: some cleaning 2009-10-13 11:11:55 -04:00
Eliot Horowitz
f7553c7835 v8: more refactoring, basic shell working 2009-10-13 10:48:38 -04:00
Eliot Horowitz
fe88b06959 v8: refactoring checkpoint 2009-10-13 10:12:44 -04:00
Eliot Horowitz
1410fa1b75 v8: more tests pass 2009-10-12 11:30:43 -04:00
Eliot Horowitz
6c10cf4d98 fix return for simple expr. 2009-10-12 11:25:49 -04:00
Eliot Horowitz
bd840cf7b0 more v8 work 2009-10-12 11:22:30 -04:00
Eliot Horowitz
77fb45335a v8 invoke works now 2009-10-11 18:15:12 -04:00
Eliot Horowitz
6f30be62d4 exec checkpoint 2009-10-10 22:24:08 -04:00
Eliot Horowitz
d667638de0 change sm order 2009-10-10 16:52:46 -04:00
Eliot Horowitz
f93d2e5504 compat. with new versions of sm 2009-10-10 16:10:52 -04:00
Eliot Horowitz
96d0418d96 checkpoint for playing with v8 2009-10-10 01:30:00 -04:00
Dwight
ff54f16271 add Connection class
beginnings that is
2009-10-09 14:59:44 -04:00
Eliot Horowitz
445c662ffc cache functions 2009-10-09 11:32:41 -04:00
Eliot Horowitz
cc2c5c4911 add new style DBRef to js SERVER-243 2009-10-02 17:07:07 -04:00
Eliot Horowitz
eaf0c845bc renamed DBRef DBPointer SERVER-243 2009-10-02 16:38:20 -04:00
Eliot Horowitz
b302244b0a don't use assert b/c of windows 2009-09-30 10:08:58 -04:00
Eliot Horowitz
f579b72175 compilie solaris MINOR 2009-09-29 16:58:48 -04:00
Eliot Horowitz
ae3d49d718 allow you to store js functions in the server SERVER-157 2009-09-29 16:54:31 -04:00
Eliot Horowitz
40bf236107 changed order for older boost 2009-09-24 15:41:31 -04:00
Eliot Horowitz
7c3a470c0b local scope for large argument passing 2009-09-24 10:51:16 -04:00
Eliot Horowitz
356d71309c sm craziness 2009-09-23 17:16:32 -04:00
Dwight
20ce663892 adaptive replication sleep time
and log much cleaner for repl
2009-09-22 10:10:02 -04:00
Eliot Horowitz
dcbe8fbd95 handle js -> bson in 1 place 2009-09-21 15:54:41 -04:00
Eliot Horowitz
e0496df06d use mmap instead of read 2009-09-21 15:22:15 -04:00
Eliot Horowitz
bbc07f85ec don't allow db.eval on sharded collections SHARDING-27 2009-09-10 10:36:11 -04:00
Eliot Horowitz
fce76595ff slightly better next() at end handling SERVER-280 2009-09-04 11:05:06 -04:00
Eliot Horowitz
184870bf95 support JS_SetOperationCallback in sm 1.8.1 SERVER-167 2009-09-01 14:23:36 -04:00
Eliot Horowitz
cbf26c5b21 fix sm gc issue 2009-08-29 01:26:50 -04:00
Eliot Horowitz
3f1d5ad8d4 better error messages 2009-08-28 16:56:34 -04:00
Eliot Horowitz
82c3aaa3ca type in non xulrunner 2009-08-28 16:39:13 -04:00
Eliot Horowitz
46cbb8a6b2 some sm safety 2009-08-28 16:35:09 -04:00
Eliot Horowitz
5f898ab000 fix function rooting and function names 2009-08-28 15:06:09 -04:00
Eliot Horowitz
7245d462e9 replaced super hacky compileFunction with some minimal custom parsing 2009-08-28 14:22:29 -04:00
Eliot Horowitz
b3e8ab8119 minor 181 cleaning 2009-08-28 14:03:08 -04:00
Eliot Horowitz
3c6ec5274a xulrunner in ubuntu passes all client tests now 2009-08-28 13:27:15 -04:00
Eliot Horowitz
c0f769582f npe for sm 1.8 that makes client pass 2009-08-28 00:04:43 -04:00
Eliot Horowitz
1e1977a698 fix concurrency issue cleaning up pooled scopes 2009-08-21 16:15:36 -04:00
Eliot Horowitz
9ce02334be couple of small optimizations 2009-08-19 11:49:21 -04:00
Eliot Horowitz
2627b365fe debugging for posible issue MINOR 2009-08-16 20:31:17 -04:00
Eliot Horowitz
115e9e42e1 better file handling in shell 2009-08-14 11:06:10 -04:00
Eliot Horowitz
b5bb4b2af9 better sm locking 2009-08-12 10:51:31 -04:00
Eliot Horowitz
79fcbfa97a implement paired connection support in shell SERVER-171 2009-08-10 14:00:18 -04:00
Eliot Horowitz
a22b8abeee better debugging for invalid utf-8 in sm 2009-08-07 16:55:51 -04:00
Eliot Horowitz
3578c9a207 little more debugging for next new type MINOR 2009-08-06 11:54:09 -04:00
Eliot Horowitz
1aaef4311c unknow regex flag warning, not assert 2009-08-06 11:25:15 -04:00
Eliot Horowitz
488086994c inShutdown() method so spider monkey can shutdown cleanly 2009-08-05 17:15:04 -04:00
Eliot Horowitz
79be4b64a3 clean up dbexit with an ExitCode enum SERVER-183 2009-08-05 16:00:27 -04:00
Eliot Horowitz
7d335e715c fix shell 2009-08-05 14:10:36 -04:00
Eliot Horowitz
a3475be9de fix sun compile 2009-08-05 13:39:01 -04:00
Eliot Horowitz
c34247cd96 more sm locking 2009-08-05 13:34:54 -04:00
Eliot Horowitz
b1793eae5b some sm internal locking 2009-08-05 13:30:55 -04:00
Eliot Horowitz
d223c26df9 get rid of JS_THREADSAFE checks 2009-08-05 13:24:53 -04:00
Eliot Horowitz
c9ad39db79 caching js context, also THREADSAFE mangling 2009-08-05 13:14:06 -04:00
Eliot Horowitz
d0ed87f6a8 NumberLong in spider monkey 2009-08-04 12:07:09 -04:00
Eliot Horowitz
8be85b3e48 fix gratuitous slowness in Map (for group) SERVER-189 2009-07-29 14:20:40 -04:00
Eliot Horowitz
c662c71c50 fix for win64 and boost 2009-07-27 14:02:32 -04:00
yellow
de9d456c35 linux boost fix MINOR 2009-07-24 11:10:35 -04:00
Eliot Horowitz
168dcf7632 sm18 checkpoint 2009-07-24 08:26:35 -04:00
Eliot Horowitz
767d576ca4 fix npe in fix 2009-07-23 18:58:32 -04:00
Eliot Horowitz
a4a3d19ce1 temp fix for sub object mods 2009-07-23 17:37:52 -04:00
Eliot Horowitz
529784d10d fix object -> bson when adding fields 2009-07-23 16:47:52 -04:00
Eliot Horowitz
294f9e4873 make sure db doesn't crash with weird db.eval returns SERVER-159 2009-07-15 11:41:23 -04:00
Eliot Horowitz
252c621fc3 better error check, and clean shutdownServer message SERVER-152 2009-07-13 16:32:17 -04:00
Eliot Horowitz
8db5cbbea8 fix null,date returns from db.eval SERVER-151 2009-07-13 12:49:29 -04:00
Eliot Horowitz
ad841f9c4a fix issue when deleting fields from JS SERVER-139 2009-07-09 12:09:30 -04:00
Mike Dirolf
2671b91d48 strip leading whitespace from code before adding return 2009-06-19 15:48:32 -04:00
Mike Dirolf
eb95a15752 whitespace 2009-06-19 15:46:53 -04:00
Eliot Horowitz
a4a895e1f0 fix shell printing 2009-06-11 20:27:07 -04:00
Eliot Horowitz
6d12b8bc22 set VAROBJFIX even though its on by default MINOR 2009-06-11 20:13:33 -04:00
Eliot Horowitz
4e4dd60185 add "this" as a LocalRoot SERVER-102 2009-06-09 15:17:50 -04:00
Eliot Horowitz
6b1d43b3b1 finish SERVER-101 move BSONObjIterator::_more to BSONObjIterator::more 2009-06-09 12:32:04 -04:00
Eliot Horowitz
00df88c21d moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
2009-06-09 11:43:04 -04:00
Eliot Horowitz
d5122c9b90 change Map to use Map.get Map.put Map[] won't work
more tests for group
2009-06-08 10:54:55 -04:00
Eliot Horowitz
b6e455fd69 fix type() for Array 2009-06-08 10:54:08 -04:00
Eliot Horowitz
786ab44143 fix mem leak 2009-06-06 22:47:53 -04:00
Eliot Horowitz
e5126fee80 try to fix windows compile 2009-06-05 10:34:50 -04:00
Eliot Horowitz
d2bbdd7941 BinData for spider monkey SERVER-97 2009-06-05 09:54:35 -04:00
Eliot Horowitz
e9d5faa697 typo MINOR 2009-06-04 17:10:21 -04:00
Eliot Horowitz
531425968d ubuntu sm hack MINOR 2009-06-04 17:04:30 -04:00
Eliot Horowitz
ac0cebb3d0 fix shell var SERVER-95 2009-06-04 12:22:26 -04:00
Eliot Horowitz
b2defb1b7e db ref for javascript and shell SERVER-46 2009-06-03 13:18:50 -04:00
Eliot Horowitz
64e3aab1e7 fixed a bug in sm gc not cleaning things up 2009-06-03 11:10:23 -04:00
Eliot Horowitz
f53f855347 better error handling for invalid objcet ids SERVER-88 2009-06-02 08:31:07 -04:00
Eliot Horowitz
5fbb421a82 fix gc issue with long running $where SERVER-86 2009-06-01 14:50:59 -04:00
Eliot Horowitz
e3a3919baa spider monkey 1.6 compile MINOR 2009-06-01 12:59:07 -04:00
Eliot Horowitz
d6811aaaad CodeWScope SERVER-80 2009-06-01 12:53:24 -04:00
Eliot Horowitz
4a534aedd1 fix dates in spider monkey SERVER-83 2009-06-01 11:34:11 -04:00
Eliot Horowitz
3cb12e98e7 hack for ubuntu's weird js version 2009-05-29 16:26:59 -04:00
Eliot Horowitz
3b8c1a8709 memory leak in sm SERVER-73 2009-05-28 17:07:40 -04:00
Eliot Horowitz
7f6c3e9ebe fix sm leak b/c of iterator api confusion - part of SERVER-73 2009-05-28 15:08:03 -04:00
Eliot Horowitz
583a6ab627 compile with spider monkey 1.6 MINOR 2009-05-28 13:54:47 -04:00
Dwight
18285e76de Windows:
db->mongod in vcproj
suppress a couple warnings
2009-05-28 13:16:23 -04:00
Eliot Horowitz
31c52cba69 make "new ObjectId()" and "ObjectId()" both work for backwards compatability 2009-05-28 10:54:48 -04:00
Eliot Horowitz
e8a92a31f4 Merge branch 'master' of git@github.com:mongodb/mongo 2009-05-27 16:23:52 -04:00
Eliot Horowitz
d556557091 lowercase warning for buildbot MINOR 2009-05-27 16:23:33 -04:00
Aaron
3b2ecb5ff0 sm correctly read strings as utf8 even if JS_EncodeCharacters doesn't work as documented 2009-05-27 16:09:59 -04:00
Eliot Horowitz
11442277be print warning if spider monkey isn't compiled with utf8 support 2009-05-27 15:40:01 -04:00
Aaron
6eef769974 simple sm utf8 check 2009-05-27 15:20:09 -04:00
Aaron
f2920fa2a8 sm encoding checkpoint 2009-05-27 14:31:23 -04:00
Aaron
9b622e6fc1 merge 2009-05-26 17:54:15 -04:00
Aaron
0b9432e6b9 sm encoding checkpoint 2009-05-26 16:04:07 -04:00
Eliot Horowitz
b05f9dc659 gc() helper method and better sm gc protection 2009-05-26 15:36:41 -04:00
Eliot Horowitz
c0fef5d2ab don't translate sm -> bson if object hasn't been modified
SERVER-70
2009-05-26 14:43:20 -04:00
Eliot Horowitz
c7c3890079 fix GC issues with arrays being collected while being built
add gc() method to force spider monkey gc
SERVER-69
2009-05-26 12:05:29 -04:00
Eliot Horowitz
f9e648decb some asserts and safety stuff MINOR 2009-05-25 17:58:02 -04:00
Eliot Horowitz
833991e131 tests and asserts MINOR 2009-05-23 21:10:37 -04:00
Aaron
53ae7f47fe Merge branch 'master' of git@github.com:mongodb/mongo 2009-05-22 14:42:08 -04:00
Aaron
b69171ef53 use larger buffer and specify size correctly 2009-05-22 14:41:22 -04:00
Eliot Horowitz
2eddff58bb conserver types when doing bson -> js -> bson as much as possible 2009-05-22 10:48:05 -04:00
Eliot Horowitz
ed74bbf25a more weird js syntax handling 2009-05-21 10:05:26 -04:00
Eliot Horowitz
e11f79c1f9 added [int] to BSONObj 2009-05-20 16:54:11 -04:00
Eliot Horowitz
0bcbdbc3ec some js safety stuff MINOR 2009-05-20 16:43:43 -04:00
Eliot Horowitz
7155f7aa55 handle broken eval scripts correctly 2009-05-20 15:47:48 -04:00
Aaron
f9c896224b Add paramaterizable timeout for engine's invoke and exec, set timeout of 10 minutes for db.eval 2009-05-19 16:13:24 -04:00
Aaron
c19bc9f686 reorder cursor / connection destruction 2009-05-19 11:03:30 -04:00
Aaron
afb9b89908 use reference counted pointers for private connection and cursor objects to enforce deletion order 2009-05-18 17:19:40 -04:00
Dwight
df348ee066 fix assert macro definition after a boost include (ugly at the moment) 2009-05-15 17:27:31 -04:00
Eliot Horowitz
d979c4529d Merge branch 'master' of git@github.com:mongodb/mongo 2009-05-15 17:13:18 -04:00
Aaron
d1b49ff9bd get rid of fork() 2009-05-15 16:32:31 -04:00
Eliot Horowitz
d3303f4938 remove vstudio warning MINOR 2009-05-15 16:08:03 -04:00
Aaron
f555dd3f93 don't define JS_THREADSAFE 2009-05-15 13:40:10 -04:00
Aaron
3c9ffd3e34 fix compile warnings MINOR 2009-05-15 13:32:31 -04:00
Eliot Horowitz
2db1e0ca72 Merge branch 'smshell'
Conflicts:
	jstests/count.js
	scripting/engine_spidermonkey.cpp
2009-05-15 13:10:55 -04:00
Eliot Horowitz
0516fad382 backwards compatibile js timestamp 2009-05-15 13:07:14 -04:00
Aaron
52cebee31b finish cleaning up externalSetup modes MINOR 2009-05-15 10:54:34 -04:00
Aaron
cb97e39f0f cleanup externalSetup modes MINOR 2009-05-15 10:48:14 -04:00
Aaron
7a9f157a92 Thread cleanup MINOR 2009-05-15 10:42:57 -04:00
Eliot Horowitz
7b0777cb01 Spider Monkey: Timestamp, MaxKey, MinKey working 2009-05-15 09:19:13 -04:00
Eliot Horowitz
33e7a6538e Spider Monkey: more types - almost working 2009-05-15 08:31:11 -04:00
Aaron
04546333b6 spam MINOR 2009-05-14 18:18:16 -04:00
Aaron
92d59dce2d Merge branch 'smshell' of git@github.com:mongodb/mongo into smshell 2009-05-14 18:13:12 -04:00
Aaron
df41c66bb4 fix join() now that done_ is set elsewhere MINOR 2009-05-14 18:12:58 -04:00
Eliot Horowitz
7030e2b584 Merge branch 'smshell' of git@github.com:mongodb/mongo into smshell 2009-05-14 17:37:48 -04:00
Eliot Horowitz
6a06a6cb3c print shell stuff 2009-05-14 17:37:21 -04:00
Aaron
df9fe97f79 don't exec jsconcatcode for forked contexts, not sure why this is a problem 2009-05-14 17:32:07 -04:00
Eliot Horowitz
3247006c76 more tests passing, _id in front 2009-05-14 16:35:43 -04:00
Eliot Horowitz
2ada81b523 Merge branch 'smshell' of git@github.com:mongodb/mongo into smshell 2009-05-14 16:27:31 -04:00
Eliot Horowitz
4236b9ca45 handle nulles better 2009-05-14 16:23:19 -04:00
Aaron
ef72fd65a1 Merge branch 'smshell' of git@github.com:mongodb/mongo into smshell 2009-05-14 16:14:17 -04:00
Aaron
6eb15b9f38 fork fixes MINOR 2009-05-14 16:14:01 -04:00
Eliot Horowitz
4f8f716712 Merge branch 'smshell' of git@github.com:mongodb/mongo into smshell 2009-05-14 16:11:17 -04:00
Eliot Horowitz
60f76f524f sm regex -> bson 2009-05-14 16:11:01 -04:00
Aaron
285f0735f6 thread safe use of js contexts 2009-05-14 15:55:33 -04:00
Aaron
0edca05e15 port fork() to spidermonkey 2009-05-14 14:40:08 -04:00
Aaron
3e46a4507c save host in Mongo object 2009-05-14 13:18:37 -04:00
Eliot Horowitz
7cff395f2f handle sm->bson date 2009-05-14 10:57:06 -04:00
Dwight
6e15b2b50d eliminate warnings with vc++ 2009-05-14 09:59:50 -04:00
Eliot Horowitz
39e627ab61 smshell: query array access mode 2009-05-13 23:21:54 -04:00
Eliot Horowitz
67d9c8bbde smshell: more utils working, some other fixes 2009-05-13 23:15:59 -04:00
Eliot Horowitz
7ce30a5699 smshell: almost done 2009-05-13 17:53:41 -04:00
Eliot Horowitz
85ac757f2f resolver fix 2009-05-13 17:35:07 -04:00
Eliot Horowitz
4bf96beb17 Spider Monkey Shell: another checkpoint 2009-05-13 17:27:45 -04:00
Eliot Horowitz
18c01987a2 checkpoint for smshell - working except for db 2009-05-13 17:00:02 -04:00
eliot
33097e058d hack for windows link 2009-05-13 14:20:20 -04:00
Dwight
9d5bbc8090 fix up free() old defensive code 2009-05-13 11:42:48 -04:00
eliot
eb537e9f3d windows compile MINOR 2009-05-12 15:49:40 -04:00
yellow
70d64b0473 Spider Monkey: backwards compatability stuff 2009-05-11 13:10:26 -04:00
Eliot Horowitz
781f258799 Spider Monkey: writable objects 2009-05-10 09:24:54 -04:00
Eliot Horowitz
426bfdfe08 Spider Monkey: minor bson_*_class reord MINOR 2009-05-09 22:57:09 -04:00
Eliot Horowitz
11b301c8c3 v8 compile - MINOR 2009-05-09 22:18:32 -04:00
Eliot Horowitz
f175443ac4 Spider Monkey: bson object cleaning 2009-05-09 22:07:36 -04:00
Eliot Horowitz
0422e9a224 Spider Monkey: find field spec 2009-05-09 10:23:44 -04:00
Eliot Horowitz
d6f699c687 SpiderMonkey: arary out fix 2009-05-08 16:57:41 -04:00