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

72 Commits

Author SHA1 Message Date
agirbal
d69d4be02e remove debug line 2011-07-18 18:31:28 -07:00
Eliot Horowitz
6064eb3b40 spam 2011-07-16 23:22:55 -04:00
agirbal
3a5ebf3c85 - fix some tests, error when trying to access bson on some builtin obj 2011-07-16 15:41:10 -07:00
agirbal
b128aeaf2b - fix negative Date for v8 2011-07-16 15:06:14 -07:00
agirbal
c08570d803 SERVER-854: now NumberInt properly kept for v8 2011-07-15 23:58:00 -07:00
agirbal
0ed5ef7b06 - fix basica.js with v8, need to mark base obj as modified when subobj is accessed 2011-07-15 14:17:31 -07:00
agirbal
550af81d77 - V8: use BSON data as is if an object was not modified
- unplug NumberInt from V8 until fixed (need to compare types with previous BSON)
- better debug lines for read only objects
2011-07-10 17:12:47 -07:00
agirbal
30037ebe7c SERVER-854: fix segv in v8 2011-07-07 13:42:36 -07:00
agirbal
eb5c2318c7 SERVER-854: implementation of NumberInt for V8 2011-07-02 16:01:48 -07:00
Dwight
05d1949790 try to compile with v8 on widnows 2011-06-20 17:43:18 -04:00
agirbal
8aeaf8d850 SERVER-3168: added UUID type and method. Fixed conversion to BSON. 2011-05-30 16:29:48 -07:00
agirbal
1eb57466fc SERVER-3168: for v8, added base64() method and now the binary data is stored in internal field, cleaner 2011-05-30 10:25:29 -07:00
agirbal
c775f5f250 SERVER-3107: readOnly option to JS cursor, to reuse BSON as-is
Fixed named properties enumerator for readonly v8 object
2011-05-26 15:27:47 -07:00
agirbal
5cc563b581 - Added option for read only objects in JS invoke method
- map function uses RO input object which speeds up MR quite a bit
- added a flag in RO objects so that the BSON can be used as is when converting back
2011-05-25 17:41:40 -07:00
agirbal
b66a139b17 fix v8 test failure, due to some objects being readonly 2011-05-17 22:42:05 -07:00
agirbal
17e2688d76 SERVER-2579: print warning if modifying r/o object 2011-05-13 16:32:22 -07:00
agirbal
13e71279c9 SERVER-2579: added readonly object for lazy v8 objects, which makes them much faster to access
SERVER-2976: further implementation of jsMode for M/R. Can be turned on using temp flag jsMode:true
2011-05-10 15:30:02 -07:00
agirbal
8d13203c40 SERVER-2976: added M/R pure jsMode with collection output 2011-05-10 15:30:01 -07:00
agirbal
04d364a44d SERVER-2579: optimize append() method to use same BSONObj builder throughout process 2011-05-02 16:08:41 -07:00
agirbal
1725803c20 SERVER-2579: all v8 object creation is now lazy.
Correct allocation and freeing of underlying C++ object.
Correct ordering of object properties even when new ones are added within JS.
Supports deletion of properties with lazzy wrapper.

Also removed scope->setThis in favor of passing it in the invoke() command.
2011-05-02 16:08:41 -07:00
agirbal
52c03d3954 switch setObject to lzV8, all tests still pass 2011-05-02 16:08:40 -07:00
agirbal
c75b2cbae1 SERVER-2579: added framework for lazy v8 2011-04-25 11:02:52 -07:00
agirbal
d2219e9bfc SERVER-2983: cache often used strings in v8 engine 2011-04-24 13:06:59 -07:00
agirbal
b6913e3417 SERVER-2983: add v8string caching for v8 engine 2011-04-24 12:34:21 -07:00
agirbal
1e6220e3af SERVER-2993: refactor v8 engine to carry scope in most methods / callbacks 2011-04-24 11:56:52 -07:00
Aaron
8f6aa41ebd v8 fix gc callback 2011-01-10 22:52:21 -08:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
c022b54c08 init( BSONObj* ) can be const * 2010-12-15 09:50:35 -05:00
Eliot Horowitz
4e51d779c6 fix comment parsing in v8 2010-11-29 01:50:57 -05:00
Aaron
92a5d51100 SERVER-1840 make eval function construction logic in v8 more consistent with sm 2010-10-04 14:44:42 -07:00
Aaron
d2249cdf68 SERVER-387 enable interrupts for v8 2010-09-23 15:42:24 -07:00
Aaron
9221b81acb SERVER-1762 don't call loadStored() with v8 mutex 2010-09-08 23:31:17 -07:00
Aaron
e53c867908 SERVER-1749 guard all v8 function callbacks 2010-09-07 21:32:46 -07:00
Eliot Horowitz
b416e09061 Scope::rename and ability to block db access prep for SERVER-1715 2010-09-01 01:32:35 -04:00
Eliot Horowitz
ccdb5dd86d some debugging for parallel tests 2010-08-25 21:59:32 -04:00
Mathias Stearn
e8e772181a Use one string per JS file.
mongo_vstudio.cpp in next push
2010-08-10 14:44:10 -04:00
Mathias Stearn
06cb7f821f use StringData for hardcoded JS files 2010-08-10 14:44:10 -04:00
Eliot Horowitz
f7288ef410 fix v8 cursor closing 2010-07-05 00:54:17 -04:00
Eliot Horowitz
48d2acc0de fix where on v8 SERVER-864 2010-04-08 15:26:12 -04:00
Aaron
63df738650 SERVER-470 only install fork() in shell, not db internal js 2010-01-11 10:04:11 -08:00
Aaron
aece98652e SERVER-470 allow shell threads to be run in fresh scopes 2009-12-29 17:29:24 -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
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05: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
39967b0609 SERVER-446 v8 support storefunc 2009-12-22 09:52:11 -08:00
Aaron
5d9f70180b SERVER-446 populate 'args' object on v8 invoke 2009-12-21 16:00:57 -08:00