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
Richard Patel
504b484281
Fix invalid macro identifiers in r_print ##bug
...
On AIX with GCC 10, "#define $00" does not compile.
Apparently, '$' in identifiers is a GCC extension.
See https://stackoverflow.com/a/369524
2023-12-05 13:00:47 +01:00
pancake
4ceb8ebba3
Fix ?*>
dumping to screen ##shell
2023-11-23 11:40:19 +01:00
pancake
9432550e1e
Implement ~$$ for internal sort+uniq grep filter ##shell
2023-11-22 21:01:39 +01:00
pancake
5b76e0e635
Add --disable-debugstuff to build without R_LOG_DEBUG, ^C and other stuff ##build
2023-11-21 14:26:32 +01:00
pancake
db20331b87
Current cmd.depth depends on core, not on the global cons context now ##thread
...
* Fix a bunch of race conditions related to background analysis
2023-11-14 10:05:13 +01:00
pancake
f641c61f08
Make r_cons_pal_parse to always return ansi + RColor ##cons
2023-10-06 12:56:37 +02:00
pancake
cd0dc06c0a
Rename RCons.chop() into .trim() ##api
2023-08-17 23:45:29 +02:00
pancake
372c40ec73
Rename RStrpool.ansiChop to ansiTrim() ##api
2023-08-17 23:45:29 +02:00
pancake
d91310ffc2
Fix warnings
2023-08-07 10:40:50 +02:00
pancake
2ccd118e87
Initial support for sixel graphics ##cons
2023-08-04 20:09:01 +02:00
pancake
450a8fa19b
Support bold attribute for the scr.html filter ##cons
2023-08-01 02:09:38 +02:00
pancake
f570ac99ab
Keep RCons.strcat defines for backward compat ##api
2023-07-29 11:10:31 +02:00
pancake
34f3fb0da7
Fix |H and temporal scr.html ##shell
2023-07-27 17:32:29 +02: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
5acdb23f4c
Add blood theme and fix the bluy one for scr.color=1
2023-07-15 09:04:42 +02:00
pancake
eb50735702
Add ~<> cons filter to indent XML ##shell
2023-07-12 05:01:31 +02:00
pancake
8c447c7129
Fix ~{}~foo grepping indented json ##cons
2023-07-11 14:41:27 +02:00
pancake
bed3f10aa5
Rename gui.alt_background -> gui.background2 ##cons
...
* Fix tests
2023-07-07 00:36:49 +02:00
pancake
e1b8c12809
Fix RCons.pal varnames to make them all follow the same syntax ##cons
...
* graph.diff.x -> diff.x
* func_var_x -> var.x
* widget_x -> widget.x
2023-07-07 00:36:49 +02:00
pancake
5988e00f83
Add ec func_var_name
in the color palette ##cons
...
* Use it in disasm.c and update all the themes
2023-07-07 00:36:49 +02:00
pancake
cda5bcbf5a
Disable the RConsMark api because getCursor is too slow ##cons
...
* iow: Speedups console access by disabling an unused feature
2023-07-06 01:42:23 +02:00
Luc Tielen
41e8939e94
Rename r_cons_strcat -> r_cons_print
2023-07-05 15:50:53 +02:00
pancake
d7f965440f
Add the monochrome theme ##cons
2023-07-04 18:49:24 +02:00
Luc Tielen
2a8badaacf
Make r_cons_grep_expression public, rm r_cons_grep_process ##abi
2023-06-20 19:34:54 +02:00
Luc Tielen
ed0c1ea1e4
Free cons context marks during deinit ##cons
2023-06-20 19:34:54 +02:00
pancake
816e205d3a
Better default colors that works for light and dark terminals ##cons
2023-06-19 01:48:45 +02:00
pancake
0779a9c3e8
Initial implementation of the RConsMark API ##cons
2023-06-14 22:19:20 +02:00
Luc Tielen
86b7f47db9
Remove several R2_590 ifdefs ##abi
2023-06-13 13:38:23 +02:00
Luc Tielen
8dc3a9ff62
Eliminate some globals ##cons
2023-06-13 00:14:46 +02:00
pancake
72a298e5d7
Faster ~? rcons filtering ##cons
2023-06-07 19:07:40 +02:00
pancake
eb2cfcd676
Improve the twilight theme ##cons
2023-06-04 01:21:45 +02:00
pancake
6dc01010fe
Remove two globals from RCons.grep
2023-05-29 17:01:57 +02:00
pancake
7db7177de0
Force RCons.setRaw just in case
2023-05-26 14:42:54 +02:00
pancake
c361318c87
Ship and use our own manpage reader ##shell
2023-05-25 03:05:55 +02:00
pancake
d822f8b4a2
Fix #21772 - Ensure RCons.raw after reading from user in ~/ ##cons
2023-05-24 10:42:42 +02:00
Luc Tielen
99c43664f9
Move .inc files to .inc.c for editor support ##main
2023-05-23 20:05:17 +02:00
pancake
67f07275ec
Fix early return in RCons.flush
2023-05-23 19:01:44 +02:00
pancake
ec829808a2
Early return on RCons.flush() when nothing to do ##cons
2023-05-23 18:00:38 +02:00
pancake
ed39311e3f
Autocomplete -i command ##shell
2023-05-23 16:56:25 +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
eee53fea81
Implement basic pdp11 binary parser and a bit better disasm ##bin
2023-05-17 18:28:15 +02:00
pancake
11a049f4fe
Fix RCons.readCharTimeout() ##cons
2023-05-17 12:12:32 +02:00
pancake
7aba336b17
Fix stty windows warning ##windows
2023-05-11 11:42:12 +02:00
Luc Tielen
d4c919cf1a
Remove globals from 2048 ##cons
2023-05-08 21:21:27 +02:00
Luc Tielen
ecc3d257b3
Remove global state in stiv ##cons
2023-05-08 21:21:27 +02:00
pancake
c804c05d75
Fix ::pd and ::? glitch with (null) colors ##cons
2023-05-07 12:12:48 +02:00
pancake
b13b3548c7
Update to the latest wasi-sdk-20 ##build
2023-05-02 11:12:45 +02:00
Ildar
6e70a4c79e
Replace strtok by thread-safe r_str_tok_r
2023-04-22 20:52:23 +02:00
pancake
433917e551
Branch prediction optimizations (2/3) ##performance
2023-04-18 16:10:44 +02:00
pancake
c8e62e19ba
Add greepy color theme (green + pink + white) glitch-style ##cons
2023-04-18 15:52:15 +02:00
pancake
4968d69f18
Migrate the hppa.gnu ##arch
2023-04-09 23:20:32 +02:00
pancake
123bcd7e83
Improve color support in graphviz, still wip ##graph
2023-04-05 17:24:21 +02:00
pancake
d8420d4dca
Improve brainfuck VM using ESIL and arch restrictions ##arch
...
* Instruction size must be 0xff instead of 32, to handle long jumps
* Registers are 32bit, so internal stack must use 32bit words
* Fix loop logic using simplified conditionals
2023-04-01 11:38:31 +02:00
pancake
648f28f7e2
Fix uninitialized memory bug in RCons
2023-03-28 11:29:58 +02:00
pancake
d7e70604ba
More ELF cleanups on the symbol allocation logic ##bin
2023-03-27 15:20:42 +02:00
Lazula
86b5d8e4ab
Correctly align r_core_cmd_help_match output in inexact mode ##shell
2023-03-11 07:32:54 +01:00
pancake
5e24a9b2a1
Fix scr.html when using bold attribute in scr.color=1 ##cons
2023-03-10 22:51:41 +01:00
Lazula
57812e2471
Drastically reduce eUsage counter ##shell
...
* Get rid of some eprintf
* Use RCoreHelpMessage
* Missing comma in cmd_cmp.c and vmenus.c
* cmd.c * cmd_anal.c * cmd_cmp.c * cmd_debug.c * cmd_eval.c
* cmd_flag.c * cmd_help.c * cmd_debug.c 2 * fixes * cmd_info.c
* cmd_log.c * cmd_meta.c * cmd_mount.c * cmd_open.c * cmd_print.c
* cconfig.c * cmd.c * cmd_anal.c * cmd_search.c * cmd_seek.c
* cmd_write.c * core_a2f.c * core_sixref.c * vmenus.c * yank.c
* Please sys/lint.sh
2023-03-09 16:07:09 +01:00
pancake
a4346a3ac2
Fix uaf in xtac and check for more vector allocation failures ##crash
2023-03-04 20:30:05 +01:00
pancake
df34a54407
Add Pz[ie] command to import/export project in zip format ##projects
2023-03-02 22:11:23 +01:00
pancake
6562542998
Remove some unsafe sprintf/strcpy
2023-02-20 23:20:53 +01:00
pancake
aa8cd5e7ee
Fix memory leak in RConsCanvas
2023-02-08 20:34:02 +01:00
pancake
699f9d8651
Add lint for ==' to improve code readability
2023-01-16 13:43:38 +01:00
pancake
961f0e7239
Fix ANSI Escape Sequence Injection vulns via DWARF ##vuln
...
* Reported by @solid-snail via huntrdev
* BountyID: 583133af-7ae6-4a21-beef-a4b0182cf82e
* Reproducer: dwarf_test_func_patched
2023-01-06 12:55:15 +01:00
pancake
634219b2e5
Minor hexdump optimization, use more cmdCall and minor cleanups
2023-01-05 17:52:30 +01:00
pancake
e8a86a28e4
Add proper warning when building libbochs on 64bit
2022-12-23 12:14:14 +01:00
pancake
374178acfd
Fix harmless UB oobread in list
command
2022-12-21 18:07:30 +01:00
pancake
09c68c7fb0
Initial work in graph.bubble for custom bg color in nodes ##graph
2022-12-19 10:15:46 +01:00
pancake
4a8f807f72
Add ve
command to set fg/bg colors for current panel ##panels
2022-12-18 22:34:21 +01:00
pancake
f0d4b0fe1c
Fix runtime warning after leaving an rlang session ##shell
2022-12-13 09:47:04 +01:00
pancake
b8e6b52aac
Also replace __UNIX__ with R2__UNIX__
2022-12-10 20:32:10 +01: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
05947def03
Move the preincrement and void arg from tests to lint.sh ##syntax
...
* The regex was not correct, so it was missing a lot of cases
2022-11-30 17:13:32 +01:00
pancake
5f75a06969
Honor EDITOR in r2pm -e ##r2pm
2022-11-25 11:09:12 +01:00
pancake
98f53e34ad
Fixes for the line editor using live save/load with new RFile apis ##shell
2022-11-25 11:09:12 +01:00
pancake
a79add6dff
Update sdb to remove double include paths ##build
...
* Updated pkg-config paths
2022-11-19 01:05:18 +01:00
pancake
e9b710249f
Rename RVector.len to RVector.length for consistency ##api
2022-11-06 19:48:53 +01:00
pancake
47ebc686ac
Remove two globals from RCons.cpipe ##globals
...
* It's now tied to the rcons instance
2022-11-02 22:03:45 +01:00
pancake
b47140ea8d
Add support for statically compiled themes ##cons
2022-11-02 10:57:15 +01:00
pancake
e317a0666e
Deprecate r_cons_eprintf and use R_LOG instead ##api
2022-10-29 01:17:40 +02:00
pancake
0b90768931
Rename RStr.home() to RFile.home() as part of the Plan ##api
2022-10-27 16:28:33 +02:00
pancake
9a4fe919c6
Prefer _tostring() instead of _to_string() ##api
2022-10-24 20:59:18 +02:00
pancake
41a2bd2424
Add colorization support to pdc output ##decompiler
2022-10-24 16:16:54 +02:00
pancake
92215588e9
Fix memory leak in dietline ##leaks
2022-10-17 19:59:41 +02:00
pancake
21b264024b
Use PJ in RConsPal.list()
2022-10-14 11:43:44 +02: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
430d6e2310
Fix last covs
2022-09-26 18:23:07 +02:00
pancake
95eff67851
Enable the leading spaces linter rule and fix them all ##lint
2022-09-24 03:43:21 +02:00
pancake
1fb3c0fa0d
Guard more critical sections in cons and core ##threads
2022-09-23 23:29:17 +02:00
pancake
133fa058f0
Move colortable global into the RConsContext ##globals
2022-09-21 11:19:16 +02:00
pancake
daf6ee2909
Fix unbreakable under RCons.thready
2022-09-20 18:41:45 +02:00