summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/valuereader.cpp
AgeCommit message (Collapse)Author
2024-04-12SERVER-64574 Upgrade third_party/mozjs with ESR115.7Santiago Roche
GitOrigin-RevId: 3a3a9d26d8a167c98e72afde863784e9a894ee8d
2023-07-01SERVER-77049 SERVER-77050 IWYU automated changes up to 1.0Daniel Moody
2022-08-23SERVER-68834 clany tidy bugprone-integer-division fixesJuan Gu
2022-05-06SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue
2022-03-07SERVER-61008 Upgrade vendorized mozjs to esr91.3Justin Seyster
Co-authored-by: Mohammad Dashti <mdashti@gmail.com>
2020-04-26SERVER-47735 change mongo source over to logv2Billy Donahue
- Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
2020-02-21SERVER-45567 removing util/log.h where I canGabriel Russell
o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
2020-02-20SERVER-45869 more automatically converted structuredGabriel Russell
2019-12-18SERVER-45057 make base64 encode/decode 22x/15x fasterBilly Donahue
2019-10-30SERVER-44197 remove old TODOGabriel Russell
2019-10-15Revert "SERVER-41994 correctly create and show type 2 binary elements"Gabriel Russell
This reverts commit 3f6ba750fc8374968c3c06e31c67ac2839e9a736.
2019-09-10SERVER-41994 correctly create and show type 2 binary elementsGabriel Russell
2019-07-15SERVER-41313 Evaluate Driver's Client Side FLE Specification Tests in ShellShreyas Kalyan
2019-04-08SERVER-40476 remove mongoutils::str::equalsBilly Donahue
2019-02-13SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue
Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
2019-01-03SERVER-36902 Abort transaction on shell exit, try 2A. Jesse Jiryu Davis
2018-12-20Revert "SERVER-36902 Abort transaction on shell exit"Benety Goh
This reverts commit 759846ffced5ef84734bd917a99061edf44dd786.
2018-12-20SERVER-36902 Abort transaction on shell exitA. Jesse Jiryu Davis
2018-10-22SERVER-37651 Update header files with new licenseRamon Fernandez
2018-02-01SERVER-32072 Always roundtrip dbrefs in the shellJason Carey
dbrefs in the shell can see silent casts from int -> float due to a lack of special case logic that regular bson objects receive. For a fix, hook up the special lookup routines in js bsoninfo type into the js dbrefinfo types.
2017-04-07SERVER-22520 Improve ASAN MozJS integrationJason Carey
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.
2017-03-01SERVER-27954: Correctly parse code_w_s in shellSpencer Jackson
2016-08-18SERVER-22382 allow mongo --host to take uriMatt Cotter
2016-05-16SERVER-23826 SERVER-24150 Avoid numerical UB in ValueReader::fromBSONElementAndrew Morrow
2016-05-10SERVER-24054 JS segfault on load of certain nansJason Carey
2016-04-21SERVER-23358 SpiderMonkey 45.0.2 ESR MongoDB & Build IntegrationMark Benvenuto
2016-02-18SERVER-9131 Fix lint failed checksKaloian Manassiev
2016-02-17SERVER-9131 prevent automatic function marshalling in shellrahuldhodapkar
add shell flag --enableJavaScriptProtection and server setParameter javascriptProtection
2015-11-11SERVER-6102 Deserialize BSON undefined as JS undefinedJonathan Reams
2015-10-06SERVER-19977 Use JS_NewArrayObject directlyJason Carey
Rather than creating objects with stringified integer keys, just create them directly with JS_NewArrayObject, which can take JS::CallArgs or JS::AutoValueVector's directly.
2015-10-06SERVER-19977 Re-work JS ObjectIDJason Carey
Rather than storing a string with the encoded oid, just store a pointer to the oid and convert it to a string on demand for "str" access.
2015-10-06SERVER-20564 no default getOwned for BSON in JSJason Carey
2015-09-21SERVER-19607 no recursion in JS -> BSON conversionJason Carey
Replace functional recursion in javascript object to bson conversion with an explicit stack to minimize the memory cost of processing very deep / cyclical objects. This prevents stack overflows on debug and non-optimized builds on some platforms.
2015-09-17SERVER-20375 Constrain JS method thisvJason Carey
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.
2015-08-13SERVER-19627 Add Decimal128 type support to mongo shellRaymond Jacobson
2015-07-14SERVER-18531 Integrate SpiderMonkeyJason Carey
Provides SpiderMonkey 38.0.1esr as a JS engine for mongo and mongod.