summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/bson.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-61008 Upgrade vendorized mozjs to esr91.3Justin Seyster2022-03-071-5/+6
| | | | Co-authored-by: Mohammad Dashti <mdashti@gmail.com>
* SERVER-52545 Define listIndexes with IDLA. Jesse Jiryu Davis2020-12-161-4/+25
|
* Revert "SERVER-52545 Define listIndexes with IDL"Lingzhi Deng2020-12-161-25/+4
| | | | This reverts commit 0c132588e9907c7b123f986a61c3a43cd087381f.
* SERVER-52545 Define listIndexes with IDLA. Jesse Jiryu Davis2020-12-151-4/+25
|
* SERVER-42664 add bsonObjToArray to shellcchilds12019-08-091-1/+9
|
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-1/+3
|
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-29286 import and use mozjs-60Gabriel Russell2019-01-301-4/+7
|
* Revert "SERVER-29286 import and use mozjs-60"Gabriel Russell2019-01-291-7/+4
| | | | This reverts commit a3d232b697dfc7c8833fc1855abbc190fe0d5970.
* SERVER-29286 import and use mozjs-60Gabriel Russell2019-01-291-4/+7
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-21/+23
|
* SERVER-30773 optimize bsonWoCompare/bsonBinaryEqualablack122018-10-021-31/+24
|
* SERVER-30773 add functionality for bson element typesablack122018-09-261-6/+22
|
* SERVER-30875 add requireOwnedObjects() to scopeJason Carey2017-08-301-3/+7
| | | | | | Add a flag to JS scopes that requires that bson objects bound to the scope be owned. This should allow for more easy auditing of scopes that don't explicitly manage lifetime with advanceGeneration.
* SERVER-22520 Improve ASAN MozJS integrationJason Carey2017-04-071-2/+2
| | | | | | | | ASAN has trouble dealing with the heap allocations SpiderMonkey produces, due to the storage format of those pointers (tagged punbox'd types). Keeping a side std::unordered_set<void*> which tracks allocations provides the reachability ASAN needs for a little bit of extra book keeping.
* SERVER-25324 Expose a function in the shell to compare BSON at a byte levelJonathan Abrahams2016-09-121-3/+19
|
* SERVER-23358 SpiderMonkey 45.0.2 ESR MongoDB & Build IntegrationMark Benvenuto2016-04-211-5/+17
|
* SERVER-19977 Switch JS BsonHolder to use StringMapJason Carey2015-10-061-3/+5
| | | | | Using StringMap over std::set<std::string> when checking for removed saves a bunch of string creation.
* SERVER-19977 Offer a stack based JSStringWrapperJason Carey2015-10-061-3/+4
| | | | | Small string optimization for encoding utf8 strings from JS strings on the stack. Additions to the api to use on stack buffers.
* SERVER-19977 Intern JS StringsJason Carey2015-10-061-1/+2
| | | | | | Rather than supplying const char*'s throughout our use of the MozJS api, intern the strings and root their associated ids (to save on string parsing).
* SERVER-20564 no default getOwned for BSON in JSJason Carey2015-10-061-13/+42
|
* SERVER-20375 Constrain JS method thisvJason Carey2015-09-171-2/+2
| | | | | | | | | This constrains universal access to wraptype methods by providing a JS_ATTACH_JS_CONSTRAINED_METHOD() macro which allows for a list of types that are allowed to call said method. In this way we can lock down all methods without having to add uasserts to each individual method body.
* SERVER-20080 Constrain ctor calls for JS typesJason Carey2015-09-171-7/+1
| | | | | | | | | | Several types shouldn't be called as a ctor: * NativeFunction * Cursor * CursorHandle * NativeFunction This prevents them from being called as such.
* SERVER-18531 Integrate SpiderMonkeyJason Carey2015-07-141-0/+235
Provides SpiderMonkey 38.0.1esr as a JS engine for mongo and mongod.