Commit Graph

61 Commits (master)

Author SHA1 Message Date
Tim Stack b6e483cde5 [json-format] preserve sub-second times
Related to #1248
2 months ago
Tim Stack 5bc667d100 [formats] fix up the sssd log
Related to #1233
3 months ago
Tim Stack 884e2df6ad [:eval] treat the argument like the contents of a file with multiple commands 9 months ago
Tim Stack ce391166ee [ptime] fix buffer overflow
Fixes #997
9 months ago
Tim Stack 912171a43f [vmw_vc_svc_log] fixup for this format
Also, some optimizations for gantt index building
10 months ago
Tim Stack 12c2718a16 [data_scanner] recognize XML comments 10 months ago
Tim Stack 4cd1234cea [date_time] try to show zone offset where appropriate
Related to #703
10 months ago
Tim Stack 917270e293 [date_time] try to handle truncated sub-second values
Certain software will leave zeroes off the end of
timestamps...
10 months ago
Tim Stack 155dad6ee1 [date_time_scanner] convert timestamps with zones to local time
Related to #703
10 months ago
Tim Stack e952dc6340 [date_time_scanner] do not try to read millis if it is already set
Also, pay attention to the gmtoff when converting exttm to a timeval.

Fixes #1034
10 months ago
Tim Stack bd5b3908c3 [formats] some tweaks 10 months ago
Tim Stack c69b398944 [tutorial] add more steps to the first tutorial 2 years ago
Timothy Stack c24be236a3 [:goto] raise an error if the input is not fully parsed
Related to #999
2 years ago
Timothy Stack dfaeee7f44 [perf] fix some performance issues 2 years ago
Timothy Stack 66ef5fdae1 [clang-format] init 2 years ago
Timothy Stack c3dc668b69 [remote] add some config options and remove the copied tailer binary
Also fix time offset issue
3 years ago
Timothy Stack 32ddc76624 [time] use a 64-bit time_t in some places 3 years ago
Timothy Stack 0f238f7972 [docs] add some more text to arch docs and other tweaks 3 years ago
Timothy Stack b847ae7164 [tests] more coverage 3 years ago
Timothy Stack 8633afdff3 [ptime] fix handling of too large number for seconds 3 years ago
Timothy Stack 8e629b166a [build] some more compiler profiling
Defect Number:
    Reviewed By:
   Testing Done:
4 years ago
Timothy Stack 51d1204a96 [arc] add content hash to archive temp dir and tech debt 4 years ago
Timothy Stack dfd18a4be5 [view] add files view 4 years ago
Timothy Stack a3264fb104 [log_format] fix issues with year rollover
Defect Number:
    Reviewed By:
   Testing Done:
4 years ago
Timothy Stack 0940e97b2b [nits] fix some naming issues
Fixes #169
4 years ago
Timothy Stack d61f2568d6 [ptimec] fix a case of undefined behavior 5 years ago
Timothy Stack fb7d6eafaf [build] some refactoring of files 5 years ago
Timothy Stack b1a6d06490 [lss] refactor the force flag during indexing and some other stuff 6 years ago
Timothy Stack b1ff6b3a3b [json-log] fix some inconsistencies with json logs
Fill some gaps brought up in #535
6 years ago
Timothy Stack d1da7b800c [ptime] fix %p and %l 6 years ago
Timothy Stack 5689984702 [yajlpp] use pointer to member over nullobj() 6 years ago
Timothy Stack 9e1411f113 [ptime] fix am/pm issue again
Fixes #520
6 years ago
Timothy Stack 5e0dabb231 [ptime] fix offset in failed parse for a few cases 6 years ago
Timothy Stack 2070c669de [ptime] fix PM offset
Fixes #517
6 years ago
Timothy Stack 7d7060ae4c [generic_log] fix recognition for generic logs
The generic format picks up extra text in the timestamp, which
caused the date time scanner to reject some matches.  I think
it's okay to allow for some trailing junk, so it no longer
ensures the size of the match is the same as the input.
6 years ago
Timothy Stack 4b40b3f9f5 [date-time] add a formatter for 0x0p+0
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack 2f44f1e861 [ptime] add %N time format for nanoseconds 7 years ago
Timothy Stack c0684a97cc [sql] add a regexp_capture tablue-valued function
Fixup the release makefile a bit.
7 years ago
Timothy Stack d799cc227e some tweaks to these changes 8 years ago
Adam Spiers 43ac6366cb fix -Wformat time_t warnings (#368)
Fix warnings like:

    ptimec.hh: In function ‘void ftime_i(char*, off_t&, ssize_t, const exttm&)’:
    ptimec.hh:387:57: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
         snprintf(&dst[off_inout], len - off_inout, "%lld", t);
                                                             ^

In this case we know that the `t` returned by `tm2sec` is a number of
seconds, so a long should be long enough, and anyway there is already
code checking for overflow.

Fixes #368.

https://github.com/tstack/lnav/issues/368
8 years ago
Timothy Stack 26cd9f5930 [ptime] make sure the full time stamp is matched
Fixes #389
Fixes #390
8 years ago
Timothy Stack 41854cf637 [json-log] custom date formats
Fixes #341
8 years ago
Timothy Stack 96191badf3 [release] update versions for release and fix some time issues 8 years ago
Timothy Stack 4f05af6408 [time] add support for TAI64N timestamps
Fixes #300
8 years ago
Timothy Stack cedd89d9b6 [build] try to fix some warnings and debug breakage 9 years ago
Timothy Stack ec473edc85 [cmd] add support for times in goto 9 years ago
Timothy Stack 100e4233d5 [ptime] fix parsing for double digit year 9 years ago
Timothy Stack cec3d0cb72 [generic_log] add time format that includes zone 9 years ago
Timothy Stack 245a3c3d1b [fmt] allow timestamp to be specified in the log format
Fixes #155
9 years ago
Timothy Stack 23344ac8b2 build fix 9 years ago