Martin Dvorak
9152b59527
Fixing Arch build by fixing bug in mvprintw which resolves #443
2021-12-13 22:07:30 +01:00
Martin Dvorak
ad8dd39f45
Fixing installation and upgrade order.
2021-12-12 08:42:54 +01:00
Martin Dvorak
b32ec9db56
Polishing documentation.
2021-12-12 08:40:45 +01:00
Martin Dvorak
634b009dcb
Improving installation documentation and adding distribution packages like Ubuntu 😉
2021-12-12 08:21:40 +01:00
Martin Dvorak
4cfe83ef30
Create SECURITY.md
2021-12-12 07:46:29 +01:00
Martin Dvorak
a0aaa3c238
HSTR release 2.4.0 #441 from dvorka/dev/2.4.0
2021-12-08 08:36:21 +01:00
Martin Dvorak
41a2989e7f
Terminal prompt inject to insert; build fixes.
2021-12-03 18:45:59 +01:00
Martin Dvorak
1a36278dec
Improving command injection documentation.
2021-12-03 07:50:55 +01:00
Martin Dvorak
0fee77a666
Merge branch 'dev/2.4.0' of github.com:dvorka/hstr into dev/2.4.0
2021-12-03 07:50:27 +01:00
Martin Dvorak
ee4514fbc2
Improving command injection documentation.
2021-12-03 07:50:12 +01:00
Thibault Charbonnier
6eb799bc63
Fix a memory leak in blacklist component ( #420 )
2021-12-02 23:59:52 +01:00
Martin Dvorak
04cee3c27d
Finishing zsh unmetafy unicode fix #416 #223
2021-12-02 23:56:24 +01:00
崔小二
4e1b2385bc
Unmetafy unicode when zsh ( #416 )
2021-12-02 23:50:07 +01:00
Martin Dvorak
32c4e262ff
Merge branch 'master' into dev/2.4.0
2021-12-02 23:35:54 +01:00
Milis Linux
298379d204
installation for Milis Linux ( #326 )
2021-12-02 23:32:48 +01:00
monochromec
e3e3b337cb
Added build dependency pkgconf to Debian ( #403 )
2021-12-02 23:30:51 +01:00
Jakub Jirutka
13db4b20e7
Add installation instructions for Alpine Linux ( #426 )
2021-12-02 23:28:52 +01:00
Martin Dvorak
ba39fd274e
Updating build date.
2021-12-02 23:25:35 +01:00
Martin Dvorak
ccb43fa3ff
Getting ready for 2.4.0 release.
2021-12-02 23:08:13 +01:00
Martin Dvorak
64b96d478a
Adding ability to inject command to terminal.
2021-12-02 22:52:13 +01:00
Martin Dvorak
6507ac7f95
Adding Ubuntu Hirsute Hippo.
2021-06-27 09:38:27 +02:00
Martin Dvorak
f57c4c5536
Adding user HSTR videos #428
2021-06-27 09:08:25 +02:00
Martin Dvorak
7d984e4f0d
Skipping history -r
under zsh to avoid printing whole history after a command delete which resolves #248 and resolves #386
2021-06-26 18:27:24 +02:00
Jonathan Chappelow
1d82a22f9c
Do not call isZshParentShell for every history line to ensure performance ( #418 )
2021-01-03 22:51:41 +01:00
Martin Dvorak
60fa279206
Updating list of current Ubuntu releases.
2020-11-19 07:47:22 +01:00
Martin Dvorak
8ff329e7c4
2.3.0 release version references and changelog.
2020-11-19 07:41:56 +01:00
Martin Dvorak
db37132d0a
Merge branch 'master' into dev/2.3.0
2020-11-19 07:31:18 +01:00
Thibault Charbonnier
cba16a2d71
Fix a potential buffer overflow in 'get_shell_name_by_ppid' ( #411 )
2020-11-19 07:24:56 +01:00
James Carlos
33f7f5b593
Fix alias anchor link in configuration MD ( #401 )
2020-11-19 07:23:41 +01:00
Thibault Charbonnier
2fcef2f123
Exclude 'hh' from history ( #412 )
2020-11-19 07:22:54 +01:00
Martin Dvorak
e864e92435
Adding ability to build HSTR tarball from any directory
2020-11-19 07:16:14 +01:00
Thibault Charbonnier
5ab8205859
Fix of wrong zsh extended history (with timestamps) SEGFAULT and parsing #409 ( #410 )
...
This patch fixes a segfault when .zsh_history contains commands starting
with `:` and longer than 15 characters long.
Considering the history line:
: 1592444398:0;:vspman epoll_ctl
The ranked item's line will be:
:vspman epoll_ctl
When building the prioritized history, we used to apply the zsh extended
history offset if the line starts with `:` (and if the command is longer
than `15`, defined by `ZSH_HISTORY_ITEM_OFFSET`), which then makes the
item point to:
tl
This makes the `r->item` pointer invalid, which causes the segfault
observed in #408 within `prioritized_history_destroy`.
---
This patch prevents the same issue from arising again (even if the
line is wrongly interpreted) since it avoids any pointer arithmetic
between assignment and freeing.
Additionally, the patch also greatly improves the heuristics used in
determining whether a line is of extended history format or not, since
the non-extended format is also supported by zsh.
---
Fix #410
Fix #399
2020-11-19 07:13:30 +01:00
Martin Dvorak
09ee298cdf
Adding focal Ubuntu distro.
2020-05-13 21:41:27 +02:00
Martin Dvorak
3d0a3e1c21
Merge branch 'dev/2.3.0' of github.com:dvorka/hstr into dev/2.3.0
2020-05-13 20:59:07 +02:00
Martin Dvorak
e2c4484f2e
Just minor sources polishing.
2020-05-13 20:58:11 +02:00
A-312
d8d922d980
Adding full alternative to edit source.list in debian ( #396 )
2020-04-20 22:10:56 +02:00
Martin Dvorak
6ff3f4dd80
MD index: TuxDiary URL fix (http/https & URL).
2020-04-20 21:58:37 +02:00
Sagi Sarussi
0351095659
Tuxdiary doesn't work using HTTPS
...
Changed "https://tuxdiary.com/2015/02/17/hstr/ " to "http://tuxdiary.com/2015/02/17/hstr/ " because this website doesn't work using SSL.
2020-01-20 00:56:59 +02:00
Martin Dvorak
e62c023c6b
Updating Fedora instructions.
2020-01-05 17:20:53 +01:00
Martin Dvorak
1c78e81b30
Merge pull request #383 from fastgar/patch-2
...
Update PKGBUILD sha256sum for Arch.
2019-12-23 15:27:02 +01:00
fastgar
30a1386599
Update sha256sum
...
Updated the sha256sum to make the Package compilable under Arch.
2019-12-23 14:47:01 +01:00
Martin Dvorak
6e0ea909e5
Polishing Arch installation.
2019-12-23 08:11:51 +01:00
Martin Dvorak
4fb05b8dfe
Removing MF script header.
2019-12-21 21:38:18 +01:00
Martin Dvorak
bf9c42683d
Updated how to build on Fedora.
2019-12-21 21:27:40 +01:00
Martin Dvorak
0c8c8d86b9
Polishing Ubuntu/Debian install files.
2019-12-21 17:03:48 +01:00
Martin Dvorak
9189611e54
Polishing copyright years.
2019-12-21 16:20:46 +01:00
Martin Dvorak
56042acf02
Removing debugging log relict.
2019-12-21 12:11:46 +01:00
Martin Dvorak
e9452d2cdd
More memory leak fixes - nonexistent HISTFILE in particular #379 #353 #330
2019-12-21 12:02:03 +01:00
Martin Dvorak
cb431c67da
ncurses memory leaks explanation.
2019-12-21 09:32:59 +01:00
Martin Dvorak
463dcdd9ba
Fixing various memory leaks #370
2019-12-21 08:54:56 +01:00