Commit Graph

535 Commits

Author SHA1 Message Date
agirbal
fccf1190d8 - SERVER-2684: v8 was relying on oid.toString() during conversion 2011-10-07 16:29:26 -07:00
agirbal
a6bfe26573 - SERVER-2684: special types in shell (e.g. Timestamp) display in variety of ways, and can confuse users 2011-10-07 15:40:13 -07:00
agirbal
5810ac31bd - SERVER-2751: fixed for SM too. Also fixed test typo. 2011-10-07 01:05:08 -07:00
agirbal
e03ce18ac0 - SERVER-2751: BinData Asserts and crashes shell 2011-10-07 00:33:51 -07:00
agirbal
fedce713e9 - SERVER-3676: JSTests::NumberLong fails 2011-10-06 16:55:51 -07:00
agirbal
dfdb07b116 SERVER-4030: with v8 assert kills db when accessing a sharded collection via JS 2011-10-06 14:29:50 -07:00
agirbal
cade80c5d1 - SERVER-1900: v8 seems to be fixed. Reenabled both tests and it's passing now. 2011-10-05 19:03:16 -07:00
agirbal
ba817fbd9a - SERVER-4025: segv in V8 when certain special objects (e.g. DBCollection) are converted from JS to BSON
- SERVER-445: cleaner code in v8
2011-10-05 13:52:59 -07:00
agirbal
1a93a3e7da - SERVER-1507: option as string must be converted to boolean
- SERVER-3629: implementation finished
2011-10-04 23:41:04 -07:00
agirbal
f895b46f9e SERVER-3425: Server crash when passed invalid JS in CodeWScope object 2011-10-04 21:14:20 -07:00
agirbal
2fb57a8d5e SERVER-3630: 'this' supplied to map function not read only 2011-10-04 16:30:26 -07:00
agirbal
98bb7a2142 SERVER-3986: v8 needs to cache DBCollection objects in db object 2011-09-30 12:46:38 -07:00
Greg Studer
bb2913e56f namespace for v8 array 2011-09-29 18:45:34 -03:00
gregs
509704ea36 final fixup for SERVER-2395 2011-09-29 15:45:25 -04:00
gregs
d419e25c83 Add bulk insert to shell SERVER-2395 2011-09-29 15:15:43 -04:00
agirbal
a53f2a58d7 - SERVER-3972: Add memory limits to V8 JS
- SERVER-3012: cleaner code, attempt to work on v8 but still doesnt
2011-09-28 23:49:45 -07:00
agirbal
7fcb73791c SERVER-3102: clear JS contexts in case of OOM 2011-09-26 15:48:46 -07:00
agirbal
b9d4ce580e SERVER-2031: setSlaveOk at each level in shell 2011-09-20 23:00:36 -07:00
agirbal
02e37cb021 SERVER-3528: memory footprint of JS context keeps increasing as it is used, delete every 100 use 2011-09-19 14:42:11 -07:00
agirbal
468e1dde9c SERVER-3615: for v8 invoke, if this does not exists, should be set to global obj 2011-09-13 09:47:16 -07:00
Eliot Horowitz
955eca2419 fix v8 error reporting 2011-09-07 17:29:18 -04:00
Eliot Horowitz
d40cad9feb combine sm in source 2011-08-21 01:34:54 -04:00
Eliot Horowitz
4e995b98e5 upsert option 2011-08-06 10:17:41 -04:00
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