Commit Graph

31 Commits

Author SHA1 Message Date
Tim Stack 5a63ece31d [pcre2] migrate from pcre to pcre2
Fixes #974
2022-09-10 09:28:07 -07:00
Timothy Stack 1891ceb7b5 [perf] fix some performance issues with log vtabs
Fixes #995
2022-06-10 21:17:02 -07:00
Timothy Stack 31a670ce27 [md4c] initial markdown support 2022-05-22 20:44:18 -07:00
Timothy Stack 45262b80c4 [build] fix some itertools issues 2022-05-10 22:22:25 -07:00
Timothy Stack f03f9e704f [views] add a breadcrumb view 2022-05-10 21:58:32 -07:00
Timothy Stack 0785a432fa [console] colorize console output 2022-04-12 16:07:13 -07:00
Timothy Stack 66ef5fdae1 [clang-format] init 2022-03-16 15:38:08 -07:00
Timothy Stack 5e42b4cb8a [debt] include cleanup 2020-10-28 21:23:46 -07:00
Timothy Stack 0940e97b2b [nits] fix some naming issues
Fixes #169
2020-08-30 22:13:56 -07:00
Timothy Stack 5f5e2d5c4e [cleanup] prune some includes and some other cleaning
Defect Number:
    Reviewed By:
   Testing Done:
2018-10-11 05:50:28 -07:00
Timothy Stack 5689984702 [yajlpp] use pointer to member over nullobj() 2018-05-25 06:32:01 -07:00
Timothy Stack 7fb881222d [pretty] highlight log messages in the pretty view as in the normal log view 2018-05-10 06:44:03 -07:00
Timothy Stack 1ed0ff7e0f [pretty-print] check if lines are XML before indenting them as such
Also, update the scanner for changes to re2c
2018-04-02 13:25:07 -07:00
Timothy Stack 41a2eed239 [pretty-print] fix printing of quoted strings that have escaped characters
Fixes #354
2016-10-14 11:18:00 -07:00
Timothy Stack 399c78d86d [pretty] pretty-print the contents of strings
Fixes #250
2015-08-26 21:28:30 -07:00
Timothy Stack 0d37a8c142 [text] pretty-printing should work in the text view 2015-08-18 20:58:20 -07:00
Timothy Stack b7d7fe70c7 [pretty] remove extraneous newline 2015-07-23 23:35:56 -07:00
Timothy Stack f1dd99328d [lnav.cc] move more stuff out of lnav.cc 2015-07-08 22:26:54 -07:00
Timothy Stack 054e8d489b [data-scanner] convert to using re2c 2015-06-08 06:27:45 -07:00
Suresh Sundriyal 55e912d21e [pretty] Don't wait indefinitely for reverse IP lookups.
Reverse lookup for pretty print should be a best effort undertaking. So,
+ Give up on EAI_AGAIN.
+ Don't block on the getnameinfo call indefinitely, resolv.conf might be
  set up with a large timeout.
+ Disable lookups after the first failure.
+ Lots of OCD error checking.
2015-04-23 23:42:51 -07:00
Timothy Stack ae64b599bd [format] add more log levels and fix some more pretty-printer glitches
Fixes #212
2015-04-10 19:50:05 -07:00
Timothy Stack 2dfae4f7f9 [pretty] add some more tests and leave leading spaces alone in some cases 2015-04-07 21:25:01 -07:00
Timothy Stack 5f7344874b [pretty] only start a new line after a comma if we're in a structure 2015-04-07 17:24:56 -07:00
Timothy Stack 7b8bc67cc9 [pretty] drop extra new lines 2015-04-05 11:59:14 -07:00
Suresh Sundriyal a46d33de2b [pretty print] Avoid extra new lines.
With the recent change to enable pretty print on all the log lines in
the current view, 'lnav' adds extra new lines between all the normal log
lines. This change removes the extra new lines.
2015-03-29 03:28:05 -07:00
Timothy Stack b02430f4d9 add netinet include 2015-03-20 20:55:46 -07:00
Timothy Stack 12e0befe30 [pretty-print] try to reverse lookup IP addresses 2015-03-18 06:32:56 -07:00
Timothy Stack c3968e4291 [pretty-print] remove some extra line feeds 2015-03-18 05:49:27 -07:00
Timothy Stack 3e7063a522 [pretty-print] put closing curlys on their own line 2015-03-17 22:38:50 -07:00
Timothy Stack 1a9e41cf2f use stringstream instead of strstream 2015-03-16 23:27:40 -07:00
Timothy Stack c670a86d04 [pretty-print] first pass at a pretty-printer
Defect Number:
    Reviewed By:
   Testing Done:
2015-03-16 23:10:34 -07:00