aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* Remove CppUnit dependencies in modulesTor Brede Vekterli2019-06-262-10/+2
| | | | Move test config helpers out of cppunit submodule.
* Merge pull request #9814 from vespa-engine/balder/use-from_chars-in-streamHenning Baldersheim2019-06-202-75/+66
|\ | | | | Use std::from_chars in stream.
| * verify that whitespace is eaten.Henning Baldersheim2019-06-152-5/+16
| |
| * Use std::from_chars in stream.Henning Baldersheim2019-06-142-71/+51
| |
* | Merge pull request #9831 from ↵Henning Baldersheim2019-06-197-10/+50
|\ \ | | | | | | | | | | | | vespa-engine/vekterli/replace-gcc-stl-internal-functions Replace GCC-only `std::_Identity` and `std::_Select1st` with own code
| * | Replace GCC-only `std::_Identity` and `std::_Select1st` with own codeTor Brede Vekterli2019-06-177-10/+50
| |/ | | | | | | | | | | | | Put in `stllike` submodule since it's technically hoisted from _a_ STL implementation...! `vespalib::Identity` can be replaced with `std::identity` once on a C++20 compiler.
* | Merge pull request #9678 from vespa-engine/balder/hide-symbolsHenning Baldersheim2019-06-161-4/+2
|\ \ | |/ |/| Hide symbols
| * Hide symbolsHenning Baldersheim2019-06-041-4/+2
| |
* | make allow-underflow common codeArne Juul2019-06-124-24/+28
| |
* | make allow-underflow common codeArne Juul2019-06-121-0/+17
| |
* | simplify testArne Juul2019-06-121-10/+2
| |
* | * no exception on underflow in strtof() and strtod()Arne Juul2019-06-122-7/+83
| | | | | | | | | | | | * still throw exception on overflow instead of returning HUGE_VAL * change exception message to make it readable * unit test float and double conversion from denormalized numbers
* | minor fixes in JSON number parsingArne Juul2019-06-121-2/+2
| | | | | | | | | | | | * only fail if number conversion fails, no failure on overflow / underflow. * JSON does not support octal or hex numbers.
* | Merge pull request #9752 from vespa-engine/toregge/add-missing-includes-1Tor Brede Vekterli2019-06-112-0/+2
|\ \ | | | | | | Add missing includes.
| * | Add missing includes.Tor Egge2019-06-112-0/+2
| | |
* | | Nested namespaceHenning Baldersheim2019-06-117-69/+21
| | |
* | | Remove assert no longer necessary.Henning Baldersheim2019-06-111-26/+6
|/ /
* | Ensure file is only included once.Geir Storli2019-06-071-0/+2
| |
* | Use normal unordered set.Tor Egge2019-06-062-6/+6
| |
* | Use normal type traits.Tor Egge2019-06-061-15/+15
| |
* | Use inplace new instead of std::_ConstructTor Egge2019-06-052-8/+8
|/ | | | Use std::destroy or std::destroy_at instead of std::_Destroy.
* The unit test for rcuvector has been moved to vespalib.Tor Egge2019-06-011-1/+1
| | | | Change dependency accordingly.
* Merge pull request #9567 from ↵Geir Storli2019-05-282-16/+11
|\ | | | | | | | | vespa-engine/havardpe/improve-default-crypto-engine-lifetime-management use proper singleton for default crypto engine
| * use proper singleton for default crypto engineHåvard Pettersen2019-05-272-16/+11
| |
* | Update executable name to match new test locationTor Brede Vekterli2019-05-271-3/+3
| |
* | Move datastore and btree code from searchlib to vespalibTor Brede Vekterli2019-05-27110-0/+17386
| | | | | | | | | | | | | | | | | | | | Namespace is still `search` and not `vespalib` due to the massive amount of code that would need to be modified for such a change. Other changes: - Move `BufferWriter` from searchlib to vespalib - Move assertion and rand48 utilities from staging_vespalib to vespalib - Move gtest utility code from staging_vespalib to vespalib
* | Move `AddressSpace` from searchlib to vespalibTor Brede Vekterli2019-05-243-0/+62
|/
* Merge pull request #9516 from vespa-engine/vekterli/move-rcuvector-to-vespalibTor Brede Vekterli2019-05-2310-0/+823
|\ | | | | Move RcuVector and relevant support classes to vespalib
| * Use `size_t` instead of `uint32_t` in `vespalib::GrowStrategy`Tor Brede Vekterli2019-05-231-11/+11
| |
| * Move RcuVector and relevant support classes to vespalibTor Brede Vekterli2019-05-2310-0/+823
| | | | | | | | | | | | | | | | | | | | | | | | | | Having RCU support available across all our C++ modules open up new opportunities for optimizations. This changes the following: - `RcuVector` moved from `searchlib` to `vespalib` - `MemoryUsage` moved from `searchlib` to `vespalib` - Introduce a simplified, more generic `GrowStrategy` in `vespalib` used by the moved `RcuVector` which does not have any notion of documents. Existing searchlib `GrowStrategy` gets a simple function to convert to this generic strategy.
* | Merge pull request #9512 from vespa-engine/toregge/refactor-handle-recorderGeir Storli2019-05-232-0/+8
|\ \ | | | | | | Refactor handle recorder.
| * | Refactor handle recorder.Tor Egge2019-05-232-0/+8
| | |
* | | Verify both signed char and unsigned charHenning Baldersheim2019-05-232-0/+3
|/ /
* / Add optimized support for array<byte>Henning Baldersheim2019-05-225-0/+27
|/
* Use std::regex instead of std::basic_regex<char>.Tor Egge2019-05-211-1/+1
|
* exit without core when crypto setup failsHåvard Pettersen2019-05-161-5/+11
|
* Remove gen_closure.pyBjørn Christian Seime2019-04-161-171/+0
| | | Newer C++ versions now contains language feature removing the need of the generated closure.h file.
* Merge pull request #8980 from vespa-engine/havardpe/improved-compression-apiHenning Baldersheim2019-04-013-0/+148
|\ | | | | added simplified api for compression/decompression
| * added simplified api for compression/decompressionHåvard Pettersen2019-04-013-0/+148
| |
* | Revert unintended change.Henning Baldersheim2019-04-012-17/+0
| |
* | Use main thread when only 1 thread.Henning Baldersheim2019-04-013-7/+28
| |
* | Make stride and numThreads workHenning Baldersheim2019-03-301-13/+17
| |
* | Add support for stride and number of threads.Henning Baldersheim2019-03-301-16/+30
|/
* include content length in http responseHåvard Pettersen2019-03-262-1/+3
|
* Revert "include content length in http response"Harald Musum2019-03-252-3/+1
|
* include content length in http responseHåvard Pettersen2019-03-252-1/+3
|
* set incoming connections to non-blockingHåvard Pettersen2019-03-211-0/+1
|
* Use utility function to create nonblocking socketpair.Tor Egge2019-03-203-3/+6
|
* Use fundamental integer types in vespalib::Optimized.Tor Egge2019-03-192-28/+52
|
* Specify template argument for std::basic_regex.Tor Egge2019-03-171-1/+1
|