<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mongo.git/src/mongo/util/stringutils.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-40476 merge contents of utils/stringutils into utils/str.</title>
<updated>2019-04-11T21:01:01+00:00</updated>
<author>
<name>Billy Donahue</name>
<email>billy.donahue@mongodb.com</email>
</author>
<published>2019-04-09T21:29:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=96ad39f93f670e9e09a1e430898e3b9a8bd70f54'/>
<id>96ad39f93f670e9e09a1e430898e3b9a8bd70f54</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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-29762 Look up arrays by index during update.</title>
<updated>2017-07-06T16:26:13+00:00</updated>
<author>
<name>Justin Seyster</name>
<email>justin.seyster@mongodb.com</email>
</author>
<published>2017-07-06T16:26:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=3ea2d70f0260b1ec6ec8c60d42d6a6669a802ef2'/>
<id>3ea2d70f0260b1ec6ec8c60d42d6a6669a802ef2</id>
<content type='text'>
This patch moves getPositionalPathSpecification() from its location in
document_path_support.h to stringutils.h, where it is renamed to
parseUnsignedBase10Integer(). This function should now be what all
code uses that needs to use a path component to look up an element in
an array.

There are two problems with trying to look up an array element by
string, which this patch addresses (for one particular case). The
first is that it will fail if the path component has leading zeros
(e.g. "a.01.b").

The second problem is that mutable BSON does not maintain the
invariant that array elements have their index as their field name
throughout the entire lifetime of the mutable document. Array lookups
by string fail during the times that this invariant does not hold
(notably, after a mutable array has been extended in length).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch moves getPositionalPathSpecification() from its location in
document_path_support.h to stringutils.h, where it is renamed to
parseUnsignedBase10Integer(). This function should now be what all
code uses that needs to use a path component to look up an element in
an array.

There are two problems with trying to look up an array element by
string, which this patch addresses (for one particular case). The
first is that it will fail if the path component has leading zeros
(e.g. "a.01.b").

The second problem is that mutable BSON does not maintain the
invariant that array elements have their index as their field name
throughout the entire lifetime of the mutable document. Array lookups
by string fail during the times that this invariant does not hold
(notably, after a mutable array has been extended in length).
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-14596 fix variable name</title>
<updated>2016-09-08T18:20:02+00:00</updated>
<author>
<name>Matt Cotter</name>
<email>matt.cotter@mongodb.com</email>
</author>
<published>2016-09-08T18:19:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=730dc4a5feb10426a38238769f7270c2f5f66ea1'/>
<id>730dc4a5feb10426a38238769f7270c2f5f66ea1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-14596 move free function escape out of bsonelement</title>
<updated>2016-09-08T17:31:31+00:00</updated>
<author>
<name>Matt Cotter</name>
<email>matt.cotter@mongodb.com</email>
</author>
<published>2016-09-06T18:00:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=383c6a87842a42a57abf2fc1dd8fd2724aadcb4f'/>
<id>383c6a87842a42a57abf2fc1dd8fd2724aadcb4f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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-16940 Change pass-by-const-ref of StringData to pass-by-value</title>
<updated>2015-02-06T21:37:35+00:00</updated>
<author>
<name>Tyler Brock</name>
<email>tyler.brock@gmail.com</email>
</author>
<published>2015-02-06T19:29:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=aa9980b8c02de71c6918fba4aba9f22dd10eed01'/>
<id>aa9980b8c02de71c6918fba4aba9f22dd10eed01</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-13256 Remove pch.h</title>
<updated>2015-01-15T12:04:27+00:00</updated>
<author>
<name>Andrew Morrow</name>
<email>acm@mongodb.com</email>
</author>
<published>2015-01-11T22:27:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=849e93f22089d2a2e0cdc5891037b116602cdd72'/>
<id>849e93f22089d2a2e0cdc5891037b116602cdd72</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-13256 Add usings and qualifications for names from namespace std</title>
<updated>2015-01-15T12:04:26+00:00</updated>
<author>
<name>Andrew Morrow</name>
<email>acm@mongodb.com</email>
</author>
<published>2015-01-09T23:02:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=9f30e21c627e4c73ab0b44e45b7ce657b3e2619f'/>
<id>9f30e21c627e4c73ab0b44e45b7ce657b3e2619f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
