Adam Spiers
c18adb8b73
fix hints about moving by hour
...
o/O do not move forward/backward an hour; in fact, no hotkey does,
but 6/^ are about as close as it gets.
8 years ago
Adam Spiers
41acc7f249
group keybindings in built-in help text
...
Group them in roughly the same way as in the manual. This makes
it a lot easier to locate a key binding more quickly.
8 years ago
Adam Spiers
c354295c92
increase emphasis of level 1 heading underlines
...
This will allow us to introduce level 2 headings underlined by the
hyphen character.
8 years ago
Timothy Stack
d8a49ec737
actual fix for json fields
8 years ago
Timothy Stack
a758056657
Revert "need to check level before incrementing line count"
...
This reverts commit c0cd26dec4
.
8 years ago
Timothy Stack
c0cd26dec4
need to check level before incrementing line count
8 years ago
Timothy Stack
4c0a8d0376
[ptime] need to clear the zone from the base when using a custom time format
8 years ago
Timothy Stack
b296e84a65
[format] color extra json fields that are identifiers
8 years ago
Timothy Stack
a59e0b290e
[format] allow json log fields to be hidden
...
Fixes #303
8 years ago
Timothy Stack
b392886f0c
[highlight] choose highlight color based on the regex
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
9f79dcc31a
[format] point out the location of a pcre-compile error
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
d9b5cf3856
call setlocale() to try and get unicode working
8 years ago
Timothy Stack
41a2eed239
[pretty-print] fix printing of quoted strings that have escaped characters
...
Fixes #354
8 years ago
Timothy Stack
2e68f48a18
[hist] check for zoom with no logs
...
Fixes #346
8 years ago
Timothy Stack
5539e21c05
[log-format] fix line-format where a variable can span lines
...
Fixes #337
8 years ago
Timothy Stack
876b37ade0
[log-format] add "truncate" overflow value
8 years ago
Timothy Stack
c05dfafae8
[log-format] abbreviate long fields when formatting JSON logs
...
Fixes #340
8 years ago
Timothy Stack
9ee18c26d3
[log-format] add min-width and align options to line-format
...
Also some fixes for validating the format definitions.
Fixes #338
8 years ago
Timothy Stack
41854cf637
[json-log] custom date formats
...
Fixes #341
8 years ago
Suresh Sundriyal
6cea55ae3d
[freebsd] More out of source build related fixes.
8 years ago
Suresh Sundriyal
7c670bc730
[freebsd] Fix out of source builds
8 years ago
Timothy Stack
8dbf018814
[loader] the loader was not converting the level name to the enum value correctly
...
Closes #329
8 years ago
Eli Young
5602af33f8
[fmt] Fix glog_log format
...
The log format used by glog uses spaces to left-pad the thread to 7
digits, per the code:
https://github.com/golang/glog/blob/65d6746/glog.go#L577
This fixes the regular expression to correctly match the extra
whitespace.
8 years ago
Timothy Stack
5d12eed17e
fix a bug related to hide-extra for json logs
9 years ago
Tim Stack
91633d089f
Merge pull request #320 from sureshsundriyal/db-attach
...
[secure-mode] Disallow ATTACH statements completely.
9 years ago
Suresh Sundriyal
6663740c5e
[secure-mode] Disallow ATTACH statements completely.
...
The code to handle in-memory db exceptions is hideous and unreliable,
given the fact that SQLite does not expose much in terms of getting the
current value and the methods to check the compile time options can
themselves be disabled by a compile=time option in SQLite.
There really isn't much use for in-memory databases and if someone
really needs it, they can always choose to run in normal mode, so just
remove the extra code.
9 years ago
Timothy Stack
a81db3f41d
fix summary overlay on linux
9 years ago
Timothy Stack
fbbedfea48
[build] try to silence some warnings
9 years ago
Timothy Stack
c564beee29
[build] try to silence some warnings
9 years ago
Timothy Stack
deccd51bdf
[mouse] update the status line when the mouse is enabled/disabled
9 years ago
Tim Stack
1850c4f678
Merge pull request #318 from sureshsundriyal/db-attach
...
[secure-mode] Prevent users from attaching db files.
9 years ago
Timothy Stack
5ea5504aec
[time] fix time rollover for days
...
Fixes #304
9 years ago
Suresh Sundriyal
a13047a9ed
[secure-mode] Check to see if URIs are enabled.
...
Check to see if URIs are enabled or not before continuing on with the
file uri checks.
9 years ago
Timothy Stack
a4deaa1e8b
[spectro] log_time must be in ascending order
9 years ago
Suresh Sundriyal
1e6878164f
[secure-mode] Refactoring and check for sqlite version.
...
'mode=memory' query parameter is only supported from sqlite3 version
3.8.0 onwards. Make sure to check for the version before continuing with
the 'ATTACH' statement.
Turning off some of the tests, since they fail on the Travis CI setup
which uses sqlite version 3.6.0.
9 years ago
Suresh Sundriyal
e6c87678e9
[secure-mode] Prevent users from attaching db files.
...
Prevent the users from attaching an external db file which they may not
have ownership of.
The current authorizer method is hooked in only when the LNAVSECURE
variable is set. This is done deliberately, since the method will be
called on every sqlite query and I did not want to incur a performance
hit.
If the scope of this authorizer increases, we should consider passing in
the lnav_data as pUserData and do the checks inside the authorizer
itself.
9 years ago
Timothy Stack
834fea5f73
oops, left debugging stuff in
9 years ago
Timothy Stack
82f970c09e
[config] add a config option to control A_DIM for text
...
Fixes #298
9 years ago
Timothy Stack
3167302722
[data-parser] fix some issues with parsing hierarchical data and improve the debugger
9 years ago
Timothy Stack
1477c2ae51
[text-view] swap the rotation of f/F to something more natural
9 years ago
Suresh Sundriyal
e4ef35e652
[commands] Remove eval from the list of sandboxed commands.
9 years ago
Suresh Sundriyal
88833c8035
[commands] Read and honor the 'LNAVSECURE' environment variable.
...
Read the value of the 'LNAVSECURE' environment variable upfront and
store it in the lnav_data structure. When this variable is set prior to
the binary execution, the following commands are disabled:
* 'open'
* 'pipe-to'
* 'pipe-line-to'
* 'write-*-to'
This is a proposed fix for tstack/lnav#305 .
9 years ago
Timothy Stack
54b9c5ebf5
[parser] handle empty groups
9 years ago
Timothy Stack
2b76181fd6
[parser] try to handle apostrophes better
9 years ago
Timothy Stack
a8cd28097b
[spectro] add some better error messages for the spectrogram command and fix some vtable glitches
9 years ago
Timothy Stack
efc74a5a0e
[docs] some minor doc updates
9 years ago
Timothy Stack
96191badf3
[release] update versions for release and fix some time issues
9 years ago
Timothy Stack
cbe3541366
[spectro] add tab-completion for DB column names
9 years ago
Timothy Stack
3dcc59c405
[build] missing include
9 years ago
Timothy Stack
cc16c9a214
[build] fix attempt #2
9 years ago