<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mongo.git/src/mongo/scripting/utils.cpp, branch master</title>
<subtitle>github.com: mongodb/mongo.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/'/>
<entry>
<title>SERVER-27209 Eliminate dangerous BSONElement string extraction methods</title>
<updated>2022-01-13T06:29:13+00:00</updated>
<author>
<name>Matt Kneiser</name>
<email>matt.kneiser@mongodb.com</email>
</author>
<published>2022-01-13T00:22:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=fd6b2a875f8942a4ba7fea916b4c52a913e14f49'/>
<id>fd6b2a875f8942a4ba7fea916b4c52a913e14f49</id>
<content type='text'>
- Fix: Change return type of BSONObj::getStringField to include size
 (StringData vs. char*). A char* only contains the data with an ending NULL
 termination. Whereas a StringData contains data + size so caller knows how
 to interpret data if there are embedded NULLs.

- Cleanup: Remove old tag - CachedSizeTag - that disambiguated BSONElement ctors.
 A dangling reference to 'maxLen' in a comment led me to this historical issue.
 $ git log -S'maxLen' -- src/mongo/bson/bsonelement.h
 commit 0d38ef5
 Author: Mathias Stearn mathias@10gen.com
 Date: Tue Dec 19 14:23:08 2017 -0500

 SERVER-32302 Compute BSONElement sizes eagerly

- Test: Add tests for NULL bytes being returned by getStringField

  - $ ninja -j400 +bson_obj_test

- Cleanup: Move BSONElement::valuestr() from public to private

- Cleanup: Remove BSONElement::valuestrsafe()

- Cleanup: Remove all external callers of valuestr/valuestrsafe and cleanup
 their callsites with better alternatives.

- Cleanup: Make multi-line BSONElement &amp; BSONObj public API comments
 conform to style guidelines

- Nit: Fix spelling in a comment
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Fix: Change return type of BSONObj::getStringField to include size
 (StringData vs. char*). A char* only contains the data with an ending NULL
 termination. Whereas a StringData contains data + size so caller knows how
 to interpret data if there are embedded NULLs.

- Cleanup: Remove old tag - CachedSizeTag - that disambiguated BSONElement ctors.
 A dangling reference to 'maxLen' in a comment led me to this historical issue.
 $ git log -S'maxLen' -- src/mongo/bson/bsonelement.h
 commit 0d38ef5
 Author: Mathias Stearn mathias@10gen.com
 Date: Tue Dec 19 14:23:08 2017 -0500

 SERVER-32302 Compute BSONElement sizes eagerly

- Test: Add tests for NULL bytes being returned by getStringField

  - $ ninja -j400 +bson_obj_test

- Cleanup: Move BSONElement::valuestr() from public to private

- Cleanup: Remove BSONElement::valuestrsafe()

- Cleanup: Remove all external callers of valuestr/valuestrsafe and cleanup
 their callsites with better alternatives.

- Cleanup: Make multi-line BSONElement &amp; BSONObj public API comments
 conform to style guidelines

- Nit: Fix spelling in a comment
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-44623 Rework JSON generation from BSONObj</title>
<updated>2019-12-18T15:57:45+00:00</updated>
<author>
<name>Henrik Edin</name>
<email>henrik.edin@mongodb.com</email>
</author>
<published>2019-12-18T15:57:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=b14cfb55e25db5a7f05355054f687bcc73779ee2'/>
<id>b14cfb55e25db5a7f05355054f687bcc73779ee2</id>
<content type='text'>
- Extended Canonical/Relaxed 2.0.0 is supported
- Using libfmt instead of stringstream as internal buffer
- JSON parser can parse Extended Canonical/Relaxed and Strict formats
- Removed TenGen format
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Extended Canonical/Relaxed 2.0.0 is supported
- Using libfmt instead of stringstream as internal buffer
- JSON parser can parse Extended Canonical/Relaxed and Strict formats
- Removed TenGen format
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-39560 - remove leading blank line on all C++ files</title>
<updated>2019-02-13T20:26:10+00:00</updated>
<author>
<name>Billy Donahue</name>
<email>billy.donahue@mongodb.com</email>
</author>
<published>2019-02-13T19:07:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=b21647a5e19e5980186e57f77be0b1e0ef92a087'/>
<id>b21647a5e19e5980186e57f77be0b1e0ef92a087</id>
<content type='text'>
Remove leading comments that are just stating the filename.
Move any file-level comments below the copyright banner.
Remove leading blank lines.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove leading comments that are just stating the filename.
Move any file-level comments below the copyright banner.
Remove leading blank lines.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-37651 Update header files with new license</title>
<updated>2018-10-22T17:05:34+00:00</updated>
<author>
<name>Ramon Fernandez</name>
<email>ramon@mongodb.com</email>
</author>
<published>2018-10-20T02:27:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=a66a5578d5b006cef85b16eac05c96b58c877ebe'/>
<id>a66a5578d5b006cef85b16eac05c96b58c877ebe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-31508: Make Javascript sleep interruptable</title>
<updated>2018-04-27T20:51:01+00:00</updated>
<author>
<name>Spencer Jackson</name>
<email>spencer.jackson@mongodb.com</email>
</author>
<published>2018-04-18T16:41:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=8bd820b1418fd1811ed7c79bbd60bbb2c9d7cb5c'/>
<id>8bd820b1418fd1811ed7c79bbd60bbb2c9d7cb5c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-26002 Make sure javascript sleep isn't interrupted</title>
<updated>2016-09-16T14:18:34+00:00</updated>
<author>
<name>Jonathan Reams</name>
<email>jbreams@mongodb.com</email>
</author>
<published>2016-09-07T18:18:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=e3b42fd990070f48c11b233cec0c198098d1a48f'/>
<id>e3b42fd990070f48c11b233cec0c198098d1a48f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-24146 Fix JSON.stringify regression, and add new "tostrictjson" shell util function for printing strict JSON</title>
<updated>2016-08-15T14:52:24+00:00</updated>
<author>
<name>Adam Chelminski</name>
<email>adam.chelminski@mongodb.com</email>
</author>
<published>2016-08-05T15:49:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=df4248d69bd6643925d0e9cc62c6be3adf7750d7'/>
<id>df4248d69bd6643925d0e9cc62c6be3adf7750d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-23547 Make the multiversion concept of "latest" more precise.</title>
<updated>2016-04-07T13:41:39+00:00</updated>
<author>
<name>Andy Schwerin</name>
<email>schwerin@mongodb.com</email>
</author>
<published>2016-04-07T13:41:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=07c2cd5b87e44e5f95fe4f6bdfef5fb6dd012bce'/>
<id>07c2cd5b87e44e5f95fe4f6bdfef5fb6dd012bce</id>
<content type='text'>
This supports multiversion tests involving subversions, like 3.2.1 compared to 3.2 latest.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This supports multiversion tests involving subversions, like 3.2.1 compared to 3.2 latest.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-18579: Clang-Format - reformat code, no comment reflow</title>
<updated>2015-06-20T14:56:02+00:00</updated>
<author>
<name>Mark Benvenuto</name>
<email>mark.benvenuto@mongodb.com</email>
</author>
<published>2015-06-20T04:22:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=9c2ed42daa8fbbef4a919c21ec564e2db55e8d60'/>
<id>9c2ed42daa8fbbef4a919c21ec564e2db55e8d60</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-8886 Final set of license exceptions for OpenSSL</title>
<updated>2013-12-10T18:04:53+00:00</updated>
<author>
<name>Ian Whalen</name>
<email>ian@mongodb.com</email>
</author>
<published>2013-12-10T18:04:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=8d5e83075ed1ffc989b4e04ec981fc5355f0f9e7'/>
<id>8d5e83075ed1ffc989b4e04ec981fc5355f0f9e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
