summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/numberlong.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-03-07SERVER-61008 Upgrade vendorized mozjs to esr91.3Justin Seyster
Co-authored-by: Mohammad Dashti <mdashti@gmail.com>
2019-12-04SERVER-43246 Add a log line for when a cursor is reaped due to logical ↵Kevin Pulo
session cleanup
2019-06-27SERVER-7143 replace standard library number parsing with custom NumberParserNathan Brown
2019-04-09SERVER-40476 remove mongoutils::strBilly Donahue
Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
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-30SERVER-29286 import and use mozjs-60Gabriel Russell
2019-01-29Revert "SERVER-29286 import and use mozjs-60"Gabriel Russell
This reverts commit a3d232b697dfc7c8833fc1855abbc190fe0d5970.
2019-01-29SERVER-29286 import and use mozjs-60Gabriel Russell
2018-10-22SERVER-37651 Update header files with new licenseRamon Fernandez
2017-06-12SERVER-10601 --> remove parseLL() function definition and use in numberlong.cppTyler Kaye
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.
2016-09-06SERVER-25887 fix autocomplete for NumberLongMatt Cotter
2016-09-01SERVER-25827 fix UB related to NumberLong(NaN) in shellMatt Cotter
2016-08-15SERVER-24146 Fix JSON.stringify regression, and add new "tostrictjson" shell ↵Adam Chelminski
util function for printing strict JSON
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-22461 Crash in mozjs code with invalid NumberLong objectWaley Chen
2016-02-16Revert "SERVER-22461 Crash in mozjs code with invalid NumberLong object"Eric Milkie
This reverts commit e99fdcb0f869f475d688fa42ba7e9e9b88a631bb.
2016-02-15SERVER-22461 Crash in mozjs code with invalid NumberLong objectWaley Chen
2016-02-11Revert "SERVER-22461 Crash in mozjs code with invalid NumberLong objectt"Jason Carey
This reverts commit ac424fe0c912f1e5553d40f79a168d09ccffef31.
2016-02-11SERVER-22461 Crash in mozjs code with invalid NumberLong objecttWaley Chen
2015-10-06SERVER-19977 JS ObjectWrapper improvementsJason Carey
* hasOwnField, which doesn't do prototype traversal the way hasField does. * enumerate can bail early based on the callbacks return value
2015-10-06SERVER-19977 Intern JS StringsJason Carey
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).
2015-09-23SERVER-20332 make JS NumberLong more robustJason Carey
NumberLong can have it's floatApprox, top and bottom fields modified to produce nans on getNumber(). Change that to getNumberLongLong() to avoid those.
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-10SERVER-19814 add compare() method to NumberLong, and use it in shell's ↵David Storch
implementation of find and getMore commands
2015-07-31SERVER-9973 Fix NumberLong on 32-bit platformsJonathan Reams
2015-07-30SERVER-9973 Allow creating NumberLong from anything that supports toNumberJonathan Reams
2015-07-14SERVER-18531 Integrate SpiderMonkeyJason Carey
Provides SpiderMonkey 38.0.1esr as a JS engine for mongo and mongod.