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
Eliot Horowitz
b291d96b0a
move sleep into core utils instead of shell
2011-04-21 14:57:44 -04:00
Aaron
7d1b346700
make NumberLong floatApprox casts more incremental - some compilers may have been optimizing them out
2011-04-19 15:16:08 -07:00
Eliot Horowitz
e46920d6b3
starting to work on sharding helper (sh)
2011-04-14 20:00:18 -04:00
Eliot Horowitz
7efbe7b799
move list of files outside of .h
2011-04-14 20:00:18 -04:00
Eliot Horowitz
fbbd3785a8
better error handling in loading system.js.
2011-04-11 14:22:12 -04:00
Mathias Stearn
244b162111
Use intrusive_ptr rather than shared_ptr for BSONObj
...
Advantages:
* Owned BSONObj now uses 1 heap allocation rather than 3
* sizeof(BSONObj) is now 16 rather than 24 (on 64 bit)
* perftest bson shows it to be much faster
Change in BSONObj constructor API for owned case to make sure old code gets
updated to allocate room for the ref count. Anyone using BSONObjBuilder doesn't
need to worry about this change.
2011-04-03 20:50:45 -04:00
gregs
301376410c
conversion of unneeded caused_by macros to methods
2011-04-01 09:45:10 -04:00
greg
ac8db92b1a
Fix for spidermonkey scripting, callback causes segfault.
2011-03-04 11:30:18 -05:00
Aaron
e1636f4e77
comment
2011-02-15 17:27:19 -08:00
Eliot Horowitz
9af4bc9ed9
better error message
2011-02-07 16:04:25 -05:00
Eliot Horowitz
cd834438e5
make sm conversion from BSON array to js array faster
2011-02-05 22:44:06 -05:00
Eliot Horowitz
7c0c4d13e5
find now takes 7 args
2011-01-25 10:33:53 -05:00
Eliot Horowitz
a7eb7f2c47
shell can pass query options
2011-01-25 02:02:37 -05:00
Eliot Horowitz
6dd4315ccb
sharding check for v8
2011-01-24 01:43:25 -05:00
Eliot Horowitz
ece3377d99
fix v8 readOnly mode
2011-01-24 00:19:53 -05:00
Eliot Horowitz
3419f550a0
better remove error reporting for js
2011-01-21 15:48:47 -05:00
Eliot Horowitz
f964db5b9e
move object creation for mongo_insert into try/catch
2011-01-19 23:18:15 -05: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