Commit Graph

2797 Commits

Author SHA1 Message Date
Tim Stack
7ccb467695 [build] fix some more warnings 2023-06-13 20:35:03 -07:00
Tim Stack
91730b7c3c [cleanup] fix some warnings 2023-06-13 13:57:53 -07:00
Tim Stack
193fd7d8cc [fmt] bump version to 10.0.0 2023-06-13 13:01:32 -07:00
Tim Stack
51841d40b8 [view] add selection column to lnav_views
related to #1149
2023-06-13 10:47:49 -07:00
Tim Stack
a8ef2c54d6 [build] fix artifact path 2023-06-12 08:41:46 -07:00
Tim Stack
f096824034 [build] general actions improvements 2023-06-12 08:30:49 -07:00
Tim Stack
5d63be60dc [build] do checkout 2023-06-12 06:01:24 -07:00
Tim Stack
3744923604 [build] diff container approach 2023-06-12 05:59:05 -07:00
Tim Stack
aa8f152c5b [build] call entrypoint 2023-06-12 05:51:09 -07:00
Tim Stack
5e8800872b [build] try using prebuilt image 2023-06-12 05:46:39 -07:00
Tim Stack
fc67f704cc [build] fix autogen path 2023-06-11 22:53:09 -07:00
Tim Stack
231a76c14b [build] fix order of autogen 2023-06-11 22:36:48 -07:00
Tim Stack
a403788d90 [build] fix some typos 2023-06-11 22:22:01 -07:00
Tim Stack
1cc35fd6be [build] move into extract 2023-06-11 21:58:26 -07:00
Tim Stack
b529ecf979 [build] move to dockerfile 2023-06-11 21:56:27 -07:00
Tim Stack
b357efea7a [build] fix ncurses url 2023-06-11 21:42:13 -07:00
Tim Stack
7a08a54f59 [build] install deps 2023-06-11 21:40:27 -07:00
Tim Stack
4da325882b [build] sh instead of bash? 2023-06-11 21:32:01 -07:00
Tim Stack
2771fe0b52 [build] sigh, no hash bang 2023-06-11 21:30:32 -07:00
Tim Stack
17d5bde24a [build] set x bit 2023-06-11 21:29:34 -07:00
Tim Stack
2c478c921f [build] downgrade alpine version 2023-06-11 21:27:12 -07:00
Tim Stack
156eb1d779 [build] more stuff 2023-06-11 21:25:24 -07:00
Tim Stack
1d18566b8d [build] try to build musl using an action 2023-06-11 21:08:28 -07:00
Tim Stack
9f1cf33120 [release] bump deps 2023-06-09 21:13:39 -07:00
Tim Stack
dd21bdfd82 [text_filter] scrub ansi when testing a filter
Related to #1163
2023-06-09 08:43:14 -07:00
Tim Stack
f98f1e52c9
Merge pull request #1160 from he32/shift-overflow-fix
ArenaAlloc/arenaallocimpl.h: avoid shift overflow on 32-bit hosts.
2023-05-24 20:47:34 -07:00
Tim Stack
2d870dece8
Merge pull request #1159 from he32/isdigit-fix
strnatcmp.c: ensure correct value range for isdigit() argument.
2023-05-24 20:34:53 -07:00
Havard Eidnes
0b51752974 ArenaAlloc/arenaallocimpl.h: avoid shift overflow on 32-bit hosts.
Use the constants defined by <stdint.h> to avoid right-shift by 32
on a 32-bit host by comparing SIZE_MAX to UINT32_MAX, since `value`
is a size_t.

Found by building on NetBSD/macppc with -Wshift-count-overflow
(which is default on in the pkgsrc setup, which this is from).

./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >=
width of type [-Wshift-count-overflow]
  111 |       value |= value >> 32;
      |                ~~~~~~^~~~~
2023-05-24 23:03:44 +00:00
Havard Eidnes
f5daea2273 strnatcmp.c: ensure correct value range for isdigit() argument.
The valid values to pass to `isdigit()` is the values represented
by `unsigned char` and the value of EOF (usually -1).  Other values
such as the other negative `signed char` values may invoke undefined
behaviour.

Fix this by casting the argument to `isdigit()` to `unsigned char`.

Found by building on NetBSD/macppc with -Wchar-subscripts turned on.
2023-05-24 22:57:37 +00:00
Tim Stack
34f026e444 [tests] unset NO_COLOR since it can affect the tests where color is captured in the output
Related to #1154
2023-05-23 21:04:08 -07:00
Tim Stack
9323958296 [args] fix handling of non-numeric text after colon in a path
Fixes #1155
2023-05-16 21:00:45 -07:00
Tim Stack
a324bc8c1c [docs] add a note that level regexes are not anchored
Related to #1153
2023-05-06 10:29:38 -07:00
Tim Stack
c3abaee445 [log/text-views] reload selectable config
Related to #1088
2023-04-29 16:38:29 -07:00
Tim Stack
822eaf5a1a [json_log] auto detect the required width for a column
Related to #1146
2023-04-29 16:13:42 -07:00
Tim Stack
cd59577324
Merge pull request #1147 from FlorianMuenchbach/feature/cursor-mode-tests
Some test cases for listview behavior in cursor mode
2023-04-28 11:49:01 -07:00
Tim Stack
de0cccd2b2
Merge pull request #1152 from tstack/dependabot/bundler/docs/nokogiri-1.14.3
Bump nokogiri from 1.14.2 to 1.14.3 in /docs
2023-04-28 11:47:29 -07:00
dependabot[bot]
895bb963a3
Bump nokogiri from 1.14.2 to 1.14.3 in /docs
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.2...v1.14.3)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 18:46:36 +00:00
Tim Stack
f2a0c8f21c [logfile] include microseconds when converting timestamps
Mentioned in #1145

Also, fix the field hiding issue mentioned in #1146
2023-04-28 11:37:24 -07:00
Florian Münchbach
1b250cc124 Add test input files to Makefile 2023-04-25 21:38:53 +02:00
Florian Münchbach
4d7f929d9a Add test cases for cursor mode 2023-04-23 17:49:59 +02:00
Florian Münchbach
ea5d59e7e2 Use set_selection instead set_top in listview driver 2023-04-23 15:53:15 +02:00
Florian Münchbach
6c642abad6 Prefix selected line in listview driver output with '+' 2023-04-23 15:53:15 +02:00
Florian Münchbach
e7a4e388a2 Add command options for cursor mode and key 'press' input to listview driver 2023-04-23 15:53:15 +02:00
Tim Stack
add3982d2e
Merge pull request #1144 from kbdharun/master
CI (workflows): bump actions version, fix Node 12 deprecation warning in action runs
2023-04-09 21:09:34 -07:00
K.B.Dharun Krishna
3024d929db
tailer-ape.yml: bump actions/checkout to v3 2023-04-09 21:48:32 +05:30
K.B.Dharun Krishna
91c30c9c76
coverity.yml: bump actions/checkout to v3 2023-04-09 21:48:05 +05:30
K.B.Dharun Krishna
e3b8c56098
c-cpp.yml: bump actions version to v3 (Node 16) 2023-04-09 21:45:45 +05:30
Tim Stack
44b564681b [format_loader] catch invalid format names
Fixes #1122
2023-04-05 22:52:55 -07:00
Tim Stack
a2f076a967 [test_sql_str_func] disable url test that is dependent on the curl version 2023-04-03 00:40:04 -07:00
Tim Stack
3862ba8ac1 [tests] fix file path 2023-03-31 12:37:45 -07:00