Commit Graph

249 Commits

Author SHA1 Message Date
pancake
361b8b0c15
!! for session history, !. for history save ##shell 2024-08-05 13:06:19 +02:00
satk0
ebd8bf9042
Replace r_return_val_if_fail with uppercase alternative 2024-08-05 12:26:32 +02:00
pancake
5eec711f58 Fix move cursor right with arrow keys issue in dietline ##shell 2024-07-23 16:21:47 +02:00
pancake
d5701dba3a
Fix memleak in the 'f' command 2024-04-06 00:49:02 +02:00
pancake
b67bfd2e6a Support live hexpairs input in the visual assembler ##visual 2024-04-04 11:29:33 +02:00
Mikael Berthe
484dc2570b Remove cursor move on Ctrl-l ##cons
^L clears the screen as expected, but the cursor is moved and it is
probably not intended.
2024-04-02 13:39:09 +02:00
Mikael Berthe
c546ca6b0f Add support for arrow keys on some terminals ##cons
Some terminals use the sequences \EO{A,B,C,D} for the arrow keys
(e.g. xterm, tmux, screen).
2024-04-02 13:39:09 +02:00
pancake
0910318649 Revert "Minor optimization by avoiding one unnecessary clearline in the dietline ##cons"
This reverts commit 8d51c071a6.
2024-03-30 20:50:23 +01:00
pancake
8d51c071a6 Minor optimization by avoiding one unnecessary clearline in the dietline ##cons 2024-03-26 16:19:00 +01:00
pancake
8e90149867 Fix #22523 - 1 byte oobread in the java disassembler ##crash 2024-01-04 16:53:09 +01:00
yep
df6f68728f fix compilation error (again) 2024-01-03 23:12:51 +01:00
yep
7911bf402d fix compilation errors 2024-01-03 23:12:51 +01:00
yep
17069314ce Make it possible to use Enter to submit the command in dietline vi-mode ##cons
fix minor bugs ##cons

simplify code ##cons
2024-01-03 23:12:51 +01:00
yep
f41945a662 Implement vi horizontal motions (f/F & t/T) + more di (delete in) vi commands in dietline ##cons 2024-01-03 23:12:51 +01:00
yep
01a0f7fdb7 Implement ~ (swap case) dietline vi-mode command + fix color bug in prompt ##cons 2024-01-03 23:12:51 +01:00
yep
840d1e0ca7 Refactor d (delete) commands and implement c (change) commands in dietline vi-mode ##cons 2024-01-03 23:12:51 +01:00
yep
b4c7eaf830 Fix word deletion bugs in dietline vi-mode ##cons 2024-01-03 23:12:51 +01:00
yep
78741167ac Improve dietline vi-mode word motion commands (b, e, d) ##cons 2024-01-03 23:12:51 +01:00
yep
0002b7048b Make behaviour of some dietline vi commands closer to vim's ##cons 2024-01-03 23:12:51 +01:00
pancake
c28f2ba029 Minor scr.demo improvements on startup ##cons 2023-07-21 01:48:36 +02:00
pancake
8a8cb277bb Implement the golden platinum shiny prompt ##cons 2023-07-21 01:10:24 +02:00
pancake
ad76c037c7 Fix recent regression in dietline when moving cursor 2023-05-17 23:31:05 +02:00
pancake
743d23f8c0 Detect too large input strings in RCons.prompt ##cons
* Faster keyboard reading, reducing terminal control calls
2023-05-17 21:17:43 +02:00
pancake
97a6439055 Do the same for __WINDOWS__ -> R2__WINDOWS__ 2022-12-10 20:32:10 +01:00
pancake
e0e1208e2a Fix #21136 - o <tab> autocompletion not working ##shell 2022-12-08 01:57:22 +01:00
pancake
e9b710249f
Rename RVector.len to RVector.length for consistency ##api 2022-11-06 19:48:53 +01:00
iTrooz_
f974c649c3
Fix Ctrl+Arrow dietline shortcut for word cursor ##cons 2022-10-12 02:59:59 +02:00
pancake
8aeae89831 Fix console history log path regression ##cons 2022-10-06 13:10:19 +02:00
pancake
6967f63396
Allow changing number of saved input lines ##shell
Authored-by: Paul B Mahol <onemda@gmail.com>
2022-09-16 15:50:21 +02:00
pancake
b705e334f6 Massage more R2_580 pending changes breaking APIs and ABIs 2022-09-16 11:34:19 +02:00
pancake
cfbe17d7a8 Fix a couple of coverities in canvas and dietline ##cons 2022-08-19 23:11:47 +02:00
pancake
7a35f03471 More source spacing linting 2022-08-18 14:37:29 +02:00
pancake
0f8321842f
Merge the asm.mcs96 plugin into anal ##refactor 2022-06-28 14:32:12 +02:00
pancake
208f76bab4 Fix RCons.histLoad() regression introduced in deb75acf78 2022-06-26 02:05:24 +02:00
pancake
3c4a17a558 Autoset vtmode=1 or 2 depending on shell or visual ##windows
* Fixes history arrow bug in shell after fixing visual shift
2022-06-22 00:56:29 +02:00
pancake
f63febeff0 Reduce stack in RLine.histLoad() and early return on windows to fix a crash ##cons 2022-06-21 22:45:03 +02:00
pancake
f95e3f5514 Fix null deref assert on release builds related to fortunes 2022-06-21 21:53:06 +02:00
pancake
21e99d6fa6 More core fixes for Windows 2022-06-09 23:12:33 +02:00
pancake
ffaf2db970 vmode fixes visual shift issue in cmd.exe ##windows 2022-06-09 21:06:00 +02:00
pancake
af4c941825
Add ec bgprompt for a colorful shell and visual prompts ##cons
* ec bgprompt=red blue ; ec prompt=green yellow
2022-05-20 21:47:30 +02:00
pancake
f46c4e793f
Move more local static into the thread-local-storage (#20134) 2022-05-19 12:41:26 +02:00
pancake
a3a95d26a6
Deshadow some variables, in progress for the full -Wshadow cleanup ##build 2022-05-05 09:44:03 +02:00
pancake
138906e27f
Use RLog in RCons ##api 2022-04-25 01:12:44 +02:00
pancake
576e81d71d Add sandbox checks for the debugger io plugins ##security 2022-04-19 00:50:42 +02:00
pancake
f8a35da205
Dont use != NULL as its implicit in C, even for bool casts ##refactor
$ find binr libr -name "*.c" -exec sed -i -e 's/ != NULL//g' {} \;
2022-03-15 19:54:04 +01:00
Lazula
d507bda91c Remove R_EMPTY and R_EMPTY2 2022-03-13 11:26:10 +01:00
Sergi Àlvarez i Capilla
46a69a5014 Fix all the latest covs which spotted new findings 2022-02-15 12:05:50 +01:00
Lazula
ad749a0b1a Fix static/R_API function definition formatting
* Remove spaces before parens
* Remove spaces after asterisks
2021-12-21 20:58:12 +01:00
Lazula
2255bf8b5d Many indentation style fixes
* Change several 8-space indents to tabs
* Apply tab indent style when breaking long lines
* Move operators from EOL to start of next line
* Fix ternary formatting
2021-11-18 10:43:52 +01:00
pancake
3e032073a3
Fix null name maps, workaround msvc-asan compiler crash and acp/utf/wchar fixes for w32 2021-11-14 00:50:54 +01:00