aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* Move reference counts in unique store out of dictionary.Tor Egge2019-08-137-60/+40
|
* Move B-tree used for dictionary in unique store into UniqueStoreDictionary.Tor Egge2019-08-1212-123/+339
|
* Fix typo in comment.Tor Egge2019-08-091-1/+1
|
* Reduce number of template arguments forTor Egge2019-08-093-9/+33
| | | | search::datastore::uniquestore::CompactionContext.
* Wrap entries in unique store.Tor Egge2019-08-096-7/+70
|
* Merge pull request #10216 from ↵Tor Egge2019-08-0910-42/+149
|\ | | | | | | | | vespa-engine/toregge/factor-out-unique-store-compare Factor out unique store comparator.
| * Add class comment.Tor Egge2019-08-091-0/+5
| |
| * Factor out unique store compare class.Tor Egge2019-08-0810-42/+144
| | | | | | | | | | | | Use same template parameters for unique store dictionary btree, regardless of unique store entry type. Instantiate unique store btree related classes in one compilation unit.
* | Pass int64_t to nbostream instead of long.Tor Egge2019-08-071-6/+6
|/
* Merge pull request #10196 from ↵Henning Baldersheim2019-08-062-2/+2
|\ | | | | | | | | vespa-engine/toregge/use-std-exit-instead-of-std-quick-exit Use std::_Exit instead of std::quick_exit.
| * Use std::_Exit instead of std::quick_exit.Tor Egge2019-08-062-2/+2
| |
* | Improve error detection in websocket test.Tor Egge2019-08-061-1/+1
|/
* Add declaration for BTreeNodeAggregatedWrap<MinMaxAggregated>::_instance.Tor Egge2019-08-021-0/+1
|
* Don't depend on gcc libs when using clangTor Egge2019-08-011-1/+1
|
* Add includes needed when using clang (on mac).Tor Egge2019-08-012-0/+2
|
* Drop log level from error to warningTor Brede Vekterli2019-07-161-1/+1
| | | | | Indicates a misconfigured client, but is not semantically an internal error.
* Propagate peer address for TLS codec/context and print on errorTor Brede Vekterli2019-07-168-25/+52
| | | | | Buffer emitted log messages on the peer's IP address to avoid log flooding in the case of a misbehaving client that keeps sending bogus requests.
* 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
|/ /