Peter Schiffer
b8a31ae9b4
Add #include <iterator>
to string_util.cc
...
Lnav fails to build on the next Fedora version due to the following error:
```
make[3]: Entering directory '/builddir/build/BUILD/lnav-0.10.1/src/base'
g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/doctest-root -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o string_util.o string_util.cc
make[3]: Leaving directory '/builddir/build/BUILD/lnav-0.10.1/src/base'
string_util.cc: In function 'std::string repeat(const std::string&, size_t)':
string_util.cc:199:22: error: 'ostream_iterator' is not a member of 'std'
199 | std::fill_n(std::ostream_iterator<std::string>(os), num, input);
| ^~~~~~~~~~~~~~~~
string_util.cc:38:1: note: 'std::ostream_iterator' is defined in header '<iterator>'; did you forget to '#include <iterator>'?
37 | #include "string_util.hh"
+++ |+#include <iterator>
38 |
```
Reason is probably the updated GNU toolchain, more info:
https://fedoraproject.org/wiki/Changes/GNUToolchainF36
This patch fixes the issue.
2022-02-21 21:09:30 +01:00
Tim Stack
4d62826cae
Merge pull request #960 from thedataflows/master
...
Proposal to add github actions to build for Windows
2022-02-21 09:42:06 -08:00
Cristian Chiru
146a2ad857
Add github actions to build for Windows
2022-02-20 23:18:45 +02:00
Tim Stack
c254c7ebc6
Merge pull request #959 from thedataflows/master
...
Fixes for building on Windows
2022-02-19 18:35:53 -08:00
Cristian Chiru
084b88b6f4
Fix func signature
2022-02-20 03:32:33 +02:00
Cristian Chiru
b23e0ad508
Fix lnav homedir for windows
2022-02-20 03:30:07 +02:00
Cristian Chiru
e2fe64e536
Fix for building on msys2; Closes #795
2022-02-20 01:35:40 +02:00
Cristian Chiru
092af9b694
Add missing include, closes #956
2022-02-20 01:10:41 +02:00
Tim Stack
b2c7018d2d
Merge pull request #958 from solsticedhiver/patch-1
...
Mention the name of the remote binary file
2022-02-16 08:27:02 -08:00
solsTiCe d'Hiver
62901ac89d
Mention the name of the remote binary file
...
To avoid surprise, just mention the name of the remote binary file that is written and deleted immediately.
Sometimes it is not deleted. (when ?)
2022-02-16 10:17:32 +01:00
Tim Stack
f02a8e2fe9
Update c-cpp.yml
...
remove apt update
2022-01-28 18:18:01 -08:00
Timothy Stack
43df8f75a2
[site] add goatcounter
2022-01-12 14:02:39 -08:00
Timothy Stack
8bb034eeeb
[pcap] initial pcap support
...
Fixes #12
2021-11-05 15:13:16 -07:00
Timothy Stack
c52240a25d
[pages] update version number
2021-10-28 09:22:08 -07:00
Timothy Stack
f74214b9b6
[sql] add a gunzip() SQL function
2021-10-26 09:39:05 -07:00
Timothy Stack
b8945232f7
[test] update expected help output
2021-10-23 14:57:19 -07:00
Tim Stack
b9b4d24933
Merge pull request #932 from eladeyal-intel/patch-1
...
Clarify that keybindings listed are default
2021-10-18 13:14:46 -07:00
Timothy Stack
f33a9a580b
[docs] add clipboard to the tuning section
2021-10-18 09:03:12 -07:00
eladeyal-intel
0f25ec6c3b
Clarify that keybindings listed are default
...
User can changfe the keybindings and the help message would not be updated.
2021-10-18 08:09:29 +03:00
Timothy Stack
fa3c7048c9
[logfmt] remove noisy log message
2021-10-16 08:52:15 -07:00
Timothy Stack
561262c2f9
[perf] fix a performance issue when interactively loading a text file
2021-10-07 09:29:37 -07:00
Timothy Stack
3d31b2b723
[build] fix lib link order
2021-10-03 13:54:09 -07:00
Timothy Stack
7627c41802
[build] missing file
2021-10-03 12:52:29 -07:00
Timothy Stack
19fd336e9a
[formats] add logfmt
2021-10-02 23:17:33 -07:00
Timothy Stack
782878b05c
[tests] fix builddir
2021-10-02 23:03:23 -07:00
Timothy Stack
6e6487935a
[test] fix broken path
2021-10-02 22:38:14 -07:00
Timothy Stack
008b1c827b
[build] fix some 32-bit build issues
2021-10-02 16:29:15 -07:00
Timothy Stack
5089347e82
[views] fix some issues on shutdown
2021-10-01 22:34:39 -07:00
Tim Stack
a9278b400d
Update snapcraft.yaml
2021-10-01 18:43:14 -07:00
Tim Stack
1c8e0f2ef3
Update snapcraft.yaml
2021-10-01 18:27:27 -07:00
Timothy Stack
7c51c3264b
[snap] bump lib version
2021-10-01 18:08:28 -07:00
Tim Stack
1bc6b91dd7
Update snapcraft.yaml
2021-10-01 17:37:16 -07:00
Timothy Stack
d71fd7bff2
[snap] bump curses version
2021-10-01 16:19:35 -07:00
Timothy Stack
2cac26cc00
[input] try fix handling of modifier+cursor keys
2021-10-01 15:58:44 -07:00
Timothy Stack
3c36869711
[looper] check for POLLHUP on stdin
...
Fixes #919
2021-10-01 09:31:39 -07:00
Timothy Stack
b3b8ed7f07
[bump] update doctest version
2021-09-27 22:17:02 -07:00
Timothy Stack
d228c5a9e1
[build] fix for static
2021-09-27 22:02:32 -07:00
Timothy Stack
dc0b7ff631
[cmake] run cmake-format
2021-09-27 15:59:23 -07:00
Timothy Stack
b884f732f2
[json-ext] json_contains() should accept null
...
Related to #447
2021-09-27 15:54:10 -07:00
Timothy Stack
954e368974
[build] rejigger doctest inclusion a bit
2021-09-26 22:01:40 -07:00
Timothy Stack
4ba892677e
[snap] try to get git working
2021-09-26 21:14:54 -07:00
Timothy Stack
644c61c82a
[snap] add removable-media plug and curl pkg
2021-09-26 02:15:58 -07:00
Timothy Stack
cb3e587cb4
[snap] add git/ssh deps
2021-09-26 01:54:06 -07:00
Tim Stack
f4d9e51f4c
Merge pull request #915 from bowlofeggs/optional_system_doctest
...
Provide a configure flag to use the system doctest
2021-09-25 22:37:33 -07:00
Timothy Stack
68d7d64948
[rebuild] some more cleanup
2021-09-25 15:35:44 -07:00
Timothy Stack
1c5567157f
[build] use other #define for max
2021-09-24 09:35:01 -07:00
Timothy Stack
458b959a13
[headless] fix an issue with headless rebuilds
2021-09-24 09:30:03 -07:00
Timothy Stack
272de832d5
[build] silence a warning
2021-09-23 21:39:28 -07:00
Timothy Stack
3c5b86b5ed
[lnav.org] fix download link
2021-09-23 21:20:50 -07:00
Timothy Stack
2edc3c8382
[lnav_log] fix issue when the debug log file couldn't be opened
...
Related to #866
2021-09-23 13:13:01 -07:00