226 Commits

Author SHA1 Message Date
pancake
88711b0164 Add scr.color.grep eval var 2018-01-19 19:50:29 +01:00
pancake
68f7e54d2e Fix build 2018-01-02 19:31:02 +01:00
pancake
b49314a94b Add graph.edges, bringback the linemode=0 and add the graph+dis mode 2017-12-29 11:22:22 +01:00
pancake
0851129765 Implement r_cons_readchar_timeout. wink wink 2017-12-18 02:44:51 +01:00
Jacob Robie
526894a222 Fixes issue where grep is eaten by first command that executes (#9022)
* Fixes issue where grep is eaten by first command that executes instead of the command it was associated with

* Minor bug and formatting fixes
2017-12-15 01:06:16 +01:00
pancake
18f51c3460 Initial support for ec usrcmt -> user comments have different color 2017-11-10 08:07:05 +01:00
josediazfer
ce0b254a77 Removed RCons warning and missing a convertion to w32 unicode (#8794) 2017-11-06 11:10:06 +01:00
Srimanta Barua
41ce16b314 added curved corners (#8660) 2017-10-08 13:09:27 +02:00
Rakholiya Jenish
11e13f1c95 Fix node and edge overlapping issue in graph mode (#7948)
* initial work on fixing overlapping issues in graph mode

* better vertical gap calculation and minor fixes
* fix backedges overlapping issue
* fix backedge height and remove unnecessary functions
* horizontal graph
* add edge info for update graph size
graph size for horizontal layout
* fix leaks in agraph_print_edges
2017-09-12 15:41:30 +02:00
Fangrui Song
63731e9e81 Add help for ~:[s]-[e] show lines s-e & fix #8164 recursive help (#8474)
* Move r_core_cmd_help features to grep.c:r_cons_cmd_help to avoid dependency on r_core from r_cons
* Beautify r_cons_cmd_help & fix wp? & p?
* Fix #8164 recursive help (and add partial support for ??* ???*) & NULL terminate fz? Sl? Sr?

The support for ???* is partial because the current ad-hoc command
parser is obscure and hard to extend.
2017-09-12 11:05:24 +02:00
pancake
7d4db495eb Initial implementation of scr.rainbow for disasm and hexdump 2017-08-31 01:11:34 +02:00
Fangrui Song
a82a239275 Fix leaks in rcons and annotated hexdump 2017-08-13 14:01:00 +02:00
pancake
b29f204049 Html filtering on string buffers to avoid sandboxing issues in the http server 2017-07-20 15:36:49 +02:00
Guillaume Valadon
04bf98a358 Use void in prototypes (#7972) 2017-07-20 10:48:55 +02:00
pancake
ee6c373bfc Fix x~?? -> shows only the help, not the output of the command 2017-07-10 01:23:27 +02:00
Khairul Azhar Kasmiran
9be5c81c50 scr.breaklines: Break lines in Visual mode instead of truncating them (#7888)
* Fix #3731 - scr.breaklines: Break lines in Visual mode instead of truncating them
* Fix jk scrolling
2017-07-09 12:35:11 +02:00
pancake
c016024995 Implement |T to pipe to the scr.tts engine 2017-06-28 01:16:13 +02:00
Ayman Khamouma (ak42)
c3bb9e5edf Add command ecH for instruction highlighting support (#7741)
* only use Color_NOBGRESET when actually needed
2017-06-20 15:48:45 -05:00
Andry
f81e0a7fdb grep functions refactoring (#7672) 2017-06-10 12:39:04 +02:00
pancake
5687da18f9 Fix #7383 - Case insensitive grep with ~+ 2017-05-29 02:52:53 +02:00
pancake
74971add35 Honor MMX and SSE op.family for x86.cs 2017-05-22 00:56:24 +02:00
pancake
0668d04488 Honor color theme in p=, add palette rainbow primitives in RCons 2017-05-18 00:01:16 +02:00
xarkes
926f024909 Improved MSVC support (WIP) 2017-05-09 14:25:57 +02:00
Pepe Vila
046a31cad4 ~? shows help 2017-04-17 17:15:20 +02:00
pancake
6cc2afefc9 Add agft, aka the tinygraph 2017-04-12 02:14:56 +02:00
Riccardo Schirone
4228c1defe core/graph: remove some dup code and fix mini nodes 2017-03-11 02:47:50 +01:00
pancake
b7c192af29 Fix #6821 - Use (void) instead of () 2017-02-20 12:38:10 +01:00
pancake
4bbc73a0e2 Fix #6818 - json indent ~{} honors scr.color
- Cannot configure the color palette
2017-02-20 02:32:58 +01:00
pancake
ef233e2bd5 Fix function signature casting issues 2017-01-29 23:05:02 +01:00
pancake
d619c6039f Fix undefined behaviour in pd with emustr 2017-01-23 22:42:27 +01:00
pancake
a3a42aa982 Implement RCons.jsonpath.grep via ~{json-path} 2017-01-17 13:38:42 +01:00
pancake
b46fa51f9c Colorize backward lines with pal.flow2 2017-01-16 00:41:31 +01:00
pancake
fa26f1f2cc Add experimental horizontal layout and diagonal lines via graph.linemode/layout 2017-01-14 01:14:50 +01:00
Álvaro Felipe Melchor
add4718a93 added new API r_cons_printf_list 2016-12-28 15:30:45 +01:00
pancake
e7e4c86910 Add N key in graph to toggle mini nodes and graph.cmtright 2016-12-19 01:33:54 +01:00
pancake
15c10b2bdc Implement scr.break (word) 2016-12-17 10:42:15 +01:00
pancake
ce59e5f6a1 Fix #6070 - Implement anal.timeout 2016-12-12 23:57:04 +01:00
pancake
c2602a6732 Fix #6142 - Implement ~?. to count chars instead of lines 2016-11-23 12:52:36 +01:00
Álvaro Felipe Melchor
87724384d1 added r_cons_break_{push/pop} to handle ^C better
Besides an UAF has been fixed afecting only ELF
2016-11-21 16:56:12 +01:00
pancake
22e024d5de Implement scr.linesleep and scr.pagesize for fancier demo output 2016-10-26 23:04:55 +02:00
Álvaro Felipe Melchor
046cc2532c specify row to start sorting with ~$[n] 2016-10-25 14:37:57 +02:00
pancake
0e5f39e4ae Implement inverse sort order and fix regression 2016-10-25 12:39:36 +02:00
pancake
d45999d10e Implement column sorting in RCons.grep 2016-10-25 12:03:55 +02:00
Álvaro Felipe Melchor
995faf7289 aim to fix regression 2016-10-24 11:54:17 +02:00
pancake
586e8e685f Fix disasm lines glitch 2016-10-24 10:48:25 +02:00
pancake
02950398a9 Add utf8 rune support for RCons.canvas 2016-10-21 01:24:40 +02:00
Álvaro Felipe Melchor
34a49f094c Fix #3546 - Enhanced support for RCons line grep
Now ~: operator support ranges and negative values

~:-1 show last line
~:-2 show line before the last one
~:..3 same as ~:0..3
~:2..8 show lines from 2 to 8
~:2.. show lines from 2 to the end
2016-10-19 18:50:05 +02:00
Álvaro Felipe Melchor
44d9048169 Fix #5986 - use RStack in r_cons_push/pop
clean up cons and stack code
extend RStack to have free function
use RStack in r_cons_push/pop
2016-10-19 00:11:05 +02:00
pancake
6d6a23c456 Add scr.flush and handle ^C in px/pxr/pd/.. 2016-09-20 00:11:59 +02:00
pancake
697de91c86 Fix #5038 - Disable color when stdout is not in a terminal 2016-09-01 12:06:50 +02:00