Commit Graph

141 Commits

Author SHA1 Message Date
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 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 d2bbdd7941 BinData for spider monkey SERVER-97 2009-06-05 09:54:35 -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 5fbb421a82 fix gc issue with long running $where SERVER-86 2009-06-01 14:50:59 -04:00
Eliot Horowitz d6811aaaad CodeWScope SERVER-80 2009-06-01 12:53:24 -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 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
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 d1b49ff9bd get rid of fork() 2009-05-15 16: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
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 df41c66bb4 fix join() now that done_ is set elsewhere MINOR 2009-05-14 18:12:58 -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 4236b9ca45 handle nulles better 2009-05-14 16:23:19 -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
Dwight 6e15b2b50d eliminate warnings with vc++ 2009-05-14 09:59:50 -04:00
Eliot Horowitz 67d9c8bbde smshell: more utils working, some other fixes 2009-05-13 23:15:59 -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
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
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 f175443ac4 Spider Monkey: bson object cleaning 2009-05-09 22:07:36 -04:00
Eliot Horowitz d6f699c687 SpiderMonkey: arary out fix 2009-05-08 16:57:41 -04:00
Eliot Horowitz 5c96e81008 SpiderMonkey: scope init (CodeWScope) 2009-05-08 16:43:59 -04:00
Eliot Horowitz d0470d437c Spider Monkey: ObjectId 2009-05-08 11:02:12 -04:00
Eliot Horowitz ae3ce795b6 Spider Monkey: all jstests pass 2009-05-07 10:52:57 -04:00
Eliot Horowitz 6230f9576a Spider Monkey: bson array -> sm 2009-05-06 22:26:32 -04:00
Eliot Horowitz 7e634a51d4 Spider Monkey: more bson -> sm jni4 now works 2009-05-06 22:11:45 -04:00
Eliot Horowitz 1131d7d439 Spider Monkey: regex 2009-05-06 17:33:00 -04:00
Eliot Horowitz 8e0ff9805a Spider Monkey: udpate working, other db.eval things 2009-05-06 15:30:05 -04:00
Eliot Horowitz 7ebae06974 Spider Monkey: basic enumerator and conversion for BSONObj 2009-05-06 12:48:19 -04:00
Eliot Horowitz 511f26f338 Spider Monkey: object mapping support 2009-05-06 11:53:39 -04:00
Eliot Horowitz c83226a08e Spider Monkey: cursor working, find almost done - some refactoring 2009-05-06 11:00:22 -04:00
Eliot Horowitz c9d8450389 Spider Monkey: framework mostly done now 2009-05-05 17:28:24 -04:00
Eliot Horowitz 77c36b8c37 Spider Monkey: cleaning interaction - now can make real progress 2009-05-05 16:12:36 -04:00
Eliot Horowitz 2cad033fc0 Spider Monkey: cleaning MINOR 2009-05-05 11:02:47 -04:00
Eliot Horowitz 7c16a1476d Spider Monkey: lots of work on property mangling 2009-05-05 10:43:54 -04:00
Eliot Horowitz 1a739255bd Spider Monkey: closer to db integration 2009-05-04 16:49:05 -04:00
Eliot Horowitz 21845dafb4 Spider Monkey: all js code initializes now 2009-05-03 22:40:36 -04:00
Eliot Horowitz e175182229 Spider Monkey: db access work 2009-05-01 21:25:26 -04:00
Eliot Horowitz e366fb43ac Spider Monkey: abstracting away db.eval connection 2009-04-30 10:51:54 -04:00
Eliot Horowitz 6914eeb2c8 Spider Monkey: args for db.eval 2009-04-30 10:40:33 -04:00
Eliot Horowitz 161ac0f769 Spider Monkey: simple $where clauses working 2009-04-29 15:45:11 -04:00
Eliot Horowitz b927e1bade Spider Monkey: setThis 2009-04-29 11:12:35 -04:00
Eliot Horowitz 6e3122086e Spider Monkey string support 2009-04-29 10:29:56 -04:00
Eliot Horowitz 7bde5793bd starting object conversion 2009-04-29 10:16:39 -04:00
Eliot Horowitz 1542f33dda Merge branch 'master' of git@github.com:mongodb/mongo 2009-04-28 08:48:30 -04:00
Eliot Horowitz 3ca02da7e3 easier to compile on ubuntu 2009-04-28 08:47:56 -04:00
Eliot Horowitz 4fcbdf301e more spider monkey work and testing 2009-04-24 16:41:40 -04:00
Eliot Horowitz 8a5b5607e0 some spider monkey scope tests working 2009-04-23 23:52:47 -04:00
Eliot Horowitz 9c88c32b04 some test refactoring 2009-04-23 22:44:19 -04:00
Eliot Horowitz 7596bf2e98 cleaned up spider monkey defines MINOR 2009-04-23 22:28:11 -04:00
Eliot Horowitz 1a265e0fba messing around with spider monkey 2009-04-23 17:40:43 -04:00