summaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* use non-const copy of input in rendezvousHåvard Pettersen2018-08-133-28/+62
|
* Remove whitespaceHenning Baldersheim2018-08-1213-38/+38
|
* Pass stringref by valueHenning Baldersheim2018-08-1110-47/+41
|
* Pass stringref by valueHenning Baldersheim2018-08-1016-116/+116
|
* Merge pull request #6485 from ↵Henning Baldersheim2018-08-081-2/+7
|\ | | | | | | | | vespa-engine/balder/transfer-when-selecting-the-best Balder/transfer when selecting the best
| * Improve tests by tightening it.Henning Baldersheim2018-08-081-2/+7
| |
* | Add fsync calls to reduce probability of unexpected state after a crash.Tor Egge2018-08-022-0/+19
|/
* Merge pull request #6469 from ↵Tor Brede Vekterli2018-07-2612-125/+123
|\ | | | | | | | | vespa-engine/vekterli/remove-dangerous-stringref-c_str-function Remove dangerous stringref::c_str()
| * Remove stringref::c_str()Tor Brede Vekterli2018-07-2512-125/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | The expected semantics of c_str() (a null-terminated string) cannot be satisfied with a string reference, so remove the function entirely to prevent people from using it in buggy ways. Replaces c_str() with data() in places where it is presumed safe, otherwise constructs temporary string instances. Certain callsites have been de-stringref'd in favor of regular strings, in particular where C APIs have been transitively called. The vast majority of these were called with string parameters anyway, so should not cause much extra allocation.
* | DeinlineHenning Baldersheim2018-07-262-1/+4
|/
* Add control of cache update policy when an item changes value.Henning Baldersheim2018-07-192-14/+16
|
* use new C++ noreturn syntaxArne Juul2018-06-211-3/+4
|
* some more cleanupArne Juul2018-06-203-4/+4
|
* move LOG_SETUP after other includesArne Juul2018-06-202-0/+2
|
* add and use HDR_ABORT insteadArne Juul2018-06-203-3/+40
|
* Merge branch 'master' into arnej/use-log-abortArne Juul2018-06-201-1/+0
|\
| * cleanup leftoversArne Juul2018-06-131-1/+0
| |
* | use LOG_ABORT not just abort()Arne Juul2018-06-1211-11/+35
|/ | | | | | | | | | * abort() has the unfortunate effect that nothing is seen in the log, just an event (which is usually not displayed); so ops people don't see that the program is crashing at all. * LOG_ABORT("message") will log an error with the message (and the file and line) before calling abort(), so it's easy to see what happened. * add or move <vespa/log/log.h> include and LOG_SETUP lines before LOG_ABORT is used (or included).
* If moving a non-owned buffer make sure to copy the buffer.Henning Baldersheim2018-06-123-3/+70
|
* clean up remnants of .mak filesArne Juul2018-06-111-1/+0
|
* Merge pull request #6055 from ↵Henning Baldersheim2018-06-042-25/+21
|\ | | | | | | | | vespa-engine/havardpe/simplify-detect-validate-hostname Havardpe/simplify detect validate hostname
| * drop reverse lookup of ip addressesHåvard Pettersen2018-06-011-15/+0
| | | | | | | | | | | | | | container setups may give different reverse lookup results if you are inside the/a related container compared to being on the outside of the/a related container. This makes reverse lookup less useful for host identity validation.
| * fewer fallbacks and better error reportingHåvard Pettersen2018-06-011-10/+21
| |
* | Check return values in vespalib.Tor Egge2018-06-014-8/+18
|/
* Properly indentHenning Baldersheim2018-05-301-2/+2
|
* Avoid threading issue by properly initializing at startupHenning Baldersheim2018-05-301-19/+40
|
* = defaultHenning Baldersheim2018-05-291-1/+1
|
* Avoid crossing the creek multiple times to get an empty bucket of water.Henning Baldersheim2018-05-292-2/+14
|
* Merge pull request #5957 from vespa-engine/toregge/use-fallthrough-attributesHenning Baldersheim2018-05-272-12/+12
|\ | | | | Use fallthrough attributes.
| * Use fallthrough attributes.Tor Egge2018-05-272-12/+12
| |
* | Handle insertion of non-copyable keys and values in hash map.Tor Egge2018-05-274-0/+47
|/ | | | Handle insertion of non-copyable keys in hash set.
* packaging vespalib into RPM did not workArne Juul2018-05-161-38/+0
|
* Merge pull request #5868 from vespa-engine/arnej/update-error-messagesArne H Juul2018-05-152-5/+6
|\ | | | | cosmetic changes to error messages
| * cosmetic changes to error messagesArne Juul2018-05-152-5/+6
| | | | | | | | | | * some rewording to make it easier to find the corresponding documentation.
* | add RPM for vespa-libArne Juul2018-05-151-0/+38
|/
* relax testArne Juul2018-05-141-7/+1
|
* Ensure zero termination.Henning Baldersheim2018-05-111-1/+1
|
* Use memcpy when not working with stringsHenning Baldersheim2018-05-111-1/+1
|
* Catch by referenceHenning Baldersheim2018-05-111-2/+2
|
* Correct function castHenning Baldersheim2018-05-111-2/+3
|
* added tools to detect and validate hostnameHåvard Pettersen2018-05-099-0/+203
|
* initialize all bytesArne Juul2018-04-231-0/+1
| | | | * ensures alignment padding is initialized so valgrind is satisfied
* added a test that sends an open socket handle over an ipc connectionArne Juul2018-04-233-0/+135
| | | | This reverts commit 0193d4a9ba211ee4afc01a0b71c392a62cef11db.
* Revert "added a test that sends an open socket handle over an ipc connection"Arnstein Ressem2018-04-203-135/+0
|
* added a test that sends an open socket handle over an ipc connectionHåvard Pettersen2018-04-203-0/+135
|
* Avoid inlining move constructorHenning Baldersheim2018-04-032-1/+2
|
* Use move constructors.Henning Baldersheim2018-04-033-47/+33
|
* Collect executor stats once per metrics update and pass the info to bothTor Egge2018-03-052-6/+20
| | | | | metrics update method for document db legacy metrics and to metrics update method for tagged document db metrics.
* added unconstify for ConstArrayRef -> ArrayRef conversionHåvard Pettersen2018-02-274-0/+71
| | | | also added simple test for array ref classes
* Revert "Revert "Revert "Balder/group multiple commits rebased 1"""Henning Baldersheim2018-01-141-2/+1
|