0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00
Commit Graph

512 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
Eliot Horowitz
556538105c fix js dates on 32-bit linux 2011-07-07 19:38:06 -04:00
agirbal
30037ebe7c SERVER-854: fix segv in v8 2011-07-07 13:42:36 -07:00
agirbal
a057d6d68e SERVER-854: unplugging NumberInt as being automatically created from bson int values, breaks many behaviors 2011-07-06 13:28:41 -07:00
Eliot Horowitz
8113df798d change NumberInt.tojson 2011-07-05 12:10:13 -04:00
agirbal
5dcc4f9d49 SERVER-854: NumberInt implemented in SM 2011-07-03 18:47:14 -07:00
agirbal
eb5c2318c7 SERVER-854: implementation of NumberInt for V8 2011-07-02 16:01:48 -07:00
Eliot Horowitz
142a86b237 net cleaning: move message.* to net/
net cleaning: move http tools to net/
2011-06-26 17:13:54 -04:00
agirbal
b341cedb20 remove unnecessary includes 2011-06-23 15:32:21 -07:00
Eliot Horowitz
ea1de002b3 bench: remove support 2011-06-23 15:23:11 -04:00
agirbal
403b7aa8a2 SERVER-3168: Fixed hexadecimal output, added tests 2011-06-22 10:16:14 -07:00
Dwight
67d1821746 towards compile v8 windows 2011-06-21 10:39:27 -04:00
Dwight
05d1949790 try to compile with v8 on widnows 2011-06-20 17:43:18 -04:00
dwight
c38947fe02 signed dates and the shell 2011-06-06 19:53:49 -04:00
Dwight
cb474fb216 fix bench.cpp 2011-06-03 14:42:07 -04:00
agirbal
13364b16f4 SERVER-3168: finished MD5 and HexData for v8 2011-05-31 12:17:55 -07:00
Eliot Horowitz
d941aa4020 dynamic bench fields 2011-05-31 00:35:45 -04:00
agirbal
8aeaf8d850 SERVER-3168: added UUID type and method. Fixed conversion to BSON. 2011-05-30 16:29:48 -07:00
agirbal
e371c76cca SERVER-3168: methods implemented for BinData 2011-05-30 11:22:28 -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
21def6cf94 SERVER-3168: added length() and subtype(). Moved methods from SM layer to utils.js 2011-05-30 10:25:29 -07:00
Eliot Horowitz
c2a6654951 js compile fixes 2011-05-27 01:12:00 -04:00
dwight
284af81234 shell bindata stuff 2011-05-27 00:49:47 -04: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
1e252e05ea fix compile 2011-05-25 23:13:39 -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
6bfc2d5d5f SERVER-3012: increased SM runtime limit to 64MB 2011-05-24 11:30:06 -07:00
dwight
8a0660ac31 use firstElementFieldName() 2011-05-23 20:03:19 -04: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
d47de50498 fix passing data pointer for native functions with spidermonkey 2011-05-10 20:05:30 -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
Eliot Horowitz
ccbfb35a9d cruft 2011-05-08 16:10:57 -04:00
Eliot Horowitz
6038878678 support update in benchRun 2011-05-07 14:46:37 -04:00
agirbal
1f6df26f34 fix compile for spidermonkey 2011-05-02 16:08:41 -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
6a9fad1b2c SERVER-2983: added string caching for all db functions 2011-04-24 13:17:47 -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