| Age | Commit message (Collapse) | Author |
|
GitOrigin-RevId: 3a3a9d26d8a167c98e72afde863784e9a894ee8d
|
|
|
|
Co-authored-by: Mohammad Dashti <mdashti@gmail.com>
|
|
|
|
Rename utils/mongoutils/str.h => utils/str.h
Rename namespace mongoutils::str => str
Rename mongo::strcasecmp => str::caseInsensitiveCompare.
|
|
Remove leading comments that are just stating the filename.
Move any file-level comments below the copyright banner.
Remove leading blank lines.
|
|
|
|
This reverts commit a3d232b697dfc7c8833fc1855abbc190fe0d5970.
|
|
|
|
|
|
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.
|
|
util function for printing strict JSON
|
|
|
|
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.
|
|
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.
|
|
Provides SpiderMonkey 38.0.1esr as a JS engine for mongo and mongod.
|