summaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #10315 from vespa-engine/toregge/extend-unique-store-testTor Egge2019-08-198-111/+197
|\ | | | | Extend unique store test to cover use of unique store string allocator
| * Style fix for naming of data types.Tor Egge2019-08-191-17/+17
| |
| * Extend unique store test to cover use of unique store string allocator.Tor Egge2019-08-188-109/+195
| |
* | Merge pull request #10261 from ↵Tor Brede Vekterli2019-08-192-0/+27
|\ \ | | | | | | | | | | | | vespa-engine/vekterli/set-status-page-basic-http-security-headers Set basic HTTP security headers on status pages served from backend
| * | Set basic HTTP security headers on status pages served from backendTor Brede Vekterli2019-08-132-0/+27
| | | | | | | | | | | | | | | | | | We should already escape everything printed on these pages, but as part of a defense in depth strategy we use a restrictive set of HTTP security headers to minimize the impact in the case of a regression or bug.
* | | Merge pull request #10321 from ↵Geir Storli2019-08-191-0/+1
|\ \ \ | | | | | | | | | | | | | | | | vespa-engine/toregge/add-missing-includes-for-unique-store-string-allocator Add missing include statement.
| * | | Add missing include statement.Tor Egge2019-08-191-0/+1
| | |/ | |/|
* / | Add missing return statement.Tor Egge2019-08-181-0/+1
|/ /
* | Merge pull request #10288 from ↵Tor Brede Vekterli2019-08-166-21/+77
|\ \ | | | | | | | | | | | | vespa-engine/vekterli/add-freelist-support-to-array-store Add free-list support to ArrayStore
| * | Add free-list support to ArrayStoreTor Brede Vekterli2019-08-166-21/+77
| | | | | | | | | | | | | | | | | | * Add support for enabling freelists via `ArrayStoreConfig`. Currently defaults to false. * Small array allocations from freelist reuse both entry ref and array buffer * Large array allocations from freelist reuse entry ref only
* | | Style fixes for UniqueStoreStringAllocator.Tor Egge2019-08-156-22/+19
|/ /
* | Extend class comment for UniqueStoreStringAllocator.Tor Egge2019-08-151-3/+9
| |
* | Add struct BufferStats, used by unit tests.Tor Egge2019-08-152-36/+73
| |
* | Add separate allocator for strings in unique store.Tor Egge2019-08-1519-24/+560
| |
* | Add commit fields to vtagMartin Polden2019-08-151-0/+4
| |
* | Rewrite unique store tests to gtest.Geir Storli2019-08-142-99/+100
| |
* | Factor out unique store allocator from unique store.Tor Egge2019-08-136-124/+168
| |
* | 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
| | |