Commit Graph

814 Commits

Author SHA1 Message Date
Á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
1f2f3f2394 Honor varsub and relsub with asm.ucase for parse.arm 2016-10-18 01:49:32 +02:00
pancake
7023d010cc Add ios-cydia32.sh script to build radare2-arm32 cydia package 2016-10-06 15:17:13 +02:00
pancake
25107af958 Update the ogray theme 2016-10-06 03:12:43 +02:00
pancake
e2b14a50f3 Fix latest COVs 2016-09-21 11:30:29 +02:00
pancake
5a4d39b65a Fix glitches in hud avrepag stuff 2016-09-20 13:20:49 +02:00
pancake
69b70a2a94 Fix #5643 - Handle re/av-page in V_ hud mode 2016-09-20 13:14:34 +02:00
pancake
6d6a23c456 Add scr.flush and handle ^C in px/pxr/pd/.. 2016-09-20 00:11:59 +02:00
pancake
57fcc54a4d Fix #5790 - 0>> shouldnt quit the prompt 2016-09-19 17:44:22 +02:00
Sven Steinbauer
2996538700 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
pancake
dee162875d Fix big-endian bug in r_cons_yesno() 2016-09-19 01:35:36 +02:00
Maijin
13ed2131ee Cleanup TODOs [ci skip] 2016-09-19 00:02:10 +02:00
zlowram
f9b70631b2 Fixed some issues from #5718 (#5791)
* Fixed some issues from #5718

- Confirmation message for number of lines to print will not appear
anymore if the output is redirected to a file.
- "signature too small" message will be printed to stderr instead of
stdout, so will not appear on zignature file.
- Previous flagspace will be restored after running `.z` or `z/`
commands.

* Changed fprintf (stderr,... to eprintf
2016-09-18 13:28:26 +02:00
pancake
b7b46d305c Fix for tk 2016-09-14 00:22:43 +02:00
pancake
dbffaeb602 Aim to fix the missing font tag issue in scr.html 2016-09-03 18:38:12 +02:00
pancake
e16773367f Aim to fix OSX crash after last rcons change 2016-09-01 17:12:06 +02:00
pancake
0dab982923 Disable the uncolorful non-tty behaviour by default 2016-09-01 12:06:53 +02:00
pancake
697de91c86 Fix #5038 - Disable color when stdout is not in a terminal 2016-09-01 12:06:50 +02:00
Álvaro Felipe Melchor
84e871e456 Fix #5476 - fix UAF executing twice izz~:0 2016-08-28 17:36:18 +02:00
pancake
533d325cdc Speedup RCons.hud 2016-08-16 01:32:31 +02:00
Álvaro Felipe Melchor
7a3fddf46c fix crash in hud 2016-08-07 13:02:51 +02:00
Maijin
7938640445 Move all /t/ from r2 to r2r 2016-07-27 19:19:30 +02:00
Álvaro Felipe Melchor
cb0280d62a Fix crash in ec command 2016-07-13 22:31:15 +02:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
pancake
7436ce01ee ecc [arg] - show color palete in css prefixing the CSS keys 2016-07-03 20:56:44 +02:00
Jeffrey Crowell
d9fc1ce9fc fix random color switch statement 2016-07-01 00:56:35 -04:00
pancake
ad85da85ff Fix code indentation in libr_cons 2016-06-29 12:33:31 +02:00
Jeffrey Crowell
c145740030 replace r_cons_printf("%s\n",p) r_cons_println(p)
move from 10% of code in vfprintf to just 6% \o/ for simple tests of r2
-c "aaa" -q /bin/ls
2016-06-26 00:52:03 -04:00
Jeffrey Crowell
10b9fc1db0 rm unneeded calls to r_cons_printf 2016-06-26 00:17:16 -04:00
Jeffrey Crowell
40af6b6065 fix macro for r_cons_println 2016-06-26 00:17:16 -04:00
pancake
90d42c0418 Refactor pia/pda and implement pdaj and pda= 2016-06-25 03:36:49 +02:00
oblique
5b13a92c50 behelit theme: Better color for swi (#5080) 2016-06-04 16:51:59 +02:00
pancake
16d0396b8f Fix /A, add MJMP optype, and op.reg for UJMP 2016-05-30 00:38:35 +02:00
oblique
dc8bf4d6e8 Add 'floc' in palette's keys (#5025) 2016-05-29 00:06:12 +02:00
oblique
f4e81720b6 Add behelit theme (#5026) 2016-05-28 23:04:30 +02:00
oblique
d692aa441e lookup_rgb now looks for the extended colors only
We do this because non-extended colors usually are used by users
to change the theme of their terminal, so they will be different from
the default ones.
2016-05-28 14:58:28 +02:00
oblique
e6381db6b4 Initialize 256 color table in the correct place
Because `color_table` was initialized only in `unrgb`, `rgb` was returning
values only from `approximate_rgb`. So if we call `rgb(0x5f, 0x87, 0xff)` it
will return `75` (i.e 5fafff) instead of `69`.
2016-05-28 14:58:28 +02:00
oblique
416edaea45 ANSI 256 colors have RGB values from 0 until 5 inclusive, not 0 until 6 2016-05-28 14:58:28 +02:00
Ahmed Mohamed Abd El-MAwgood
f65e56364a Adding colors to r2 2048 (#4994) 2016-05-26 16:58:02 +02:00
Anton Kochkov
caade12229 Fix CID 1338307 2016-05-24 09:04:34 +03:00
Anton Kochkov
c9ef702fc7 Fix CID 1171363 2016-05-24 09:03:15 +03:00
Anton Kochkov
efc5a6bc23 Fix CID 1356009 2016-05-24 09:01:35 +03:00
Sven Steinbauer
8da8ad740f Cleanup fixes
* For commit comments and compiler errors
* Fixes for PR comments
* fix some "infer fixes" commits

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-23 11:25:44 +02:00
pancake
f3e6f386bf Fix RCons.less first line not shown 2016-05-16 02:59:42 +02:00
pancake
411cad06e2 Update r2pm manpage and fix #4843 2016-05-15 23:54:47 +02:00
Riccardo Schirone
15c1197636 util/print: use screen_bounds to store the first non visible address 2016-05-10 22:15:24 +02:00
pancake
8a05a74cfb Fix #4819 - honor arrows in V! 2016-05-09 11:13:37 +02:00
Sven Steinbauer
9d68cf74f8 Colour current graphviz nodes and make colors configurable
Colours current node in Graphviz output (`ag` command) 'lightblue'.

Add `graph.gv.current` option to config with default to `false`

* White space fixes

Spaces before parens

* Make GV colour configurable

Using existing colours from the palette. Changes boxes from
`lightgray` to `gray` and allows settings for traced boxes, box colour,
and current box colour.
2016-05-04 00:50:33 +02:00
Riccardo Schirone
3c2355ab27 cons/hud: remove duplicated code in strmatch and fix bug with spaces 2016-04-29 11:05:58 +02:00
pancake
360280a9b2 Fixes for the previous commit 2016-04-28 14:12:11 +02:00
Davide Balzarotti
86760900b1 Added color support for the hud.
- Fix issue #3570

* new matching algorithm (list of space-separated words, case insensitive)
  - Fix bug #4704
* refactoring some code
* updated copyright
2016-04-28 14:02:22 +02:00
pancake
d4b26eb9ec Fix #4536 - Fix background color rcons.html filter 2016-04-07 14:22:57 +02:00
pancake
7bfa3f42cf Add graph.gv variables to set custom graphviz styles 2016-03-31 02:25:54 +02:00
pancake
c724e3b1a5 Honor ec graph.{true|false|trufae} in aga for graphviz 2016-03-31 02:03:44 +02:00
pancake
cdc6fb4687 Fix parsing of rgb colors and support html 2016-03-31 01:16:19 +02:00
pancake
50513097e8 Fix XSS issue with scr.html=true 2016-03-27 05:49:30 +02:00
pancake
cf7a751fc5 Fix #4367 - Honor pds [num-bytes] 2016-03-23 01:18:27 +01:00
Riccardo Schirone
72ffe1bd0f cons/dietline: show the same number of items per line
It fixes a bug when showing options for autocompletion, where the first
row has less items than the others. With this patch every line, except
the last, should have the same number of elements.
2016-02-13 09:23:17 +01:00
pancake
63854eb4ca Fix #4048 - Fix autocomplete of macros 2016-01-29 00:32:46 +01:00
pancake
44a86928cc Fix some of the warnings in #4013 2016-01-27 03:14:19 +01:00
fenugrec
2abdee6a43 libr/cons/cons.c::palloc() : add some sanity checks:
- add bounds checking for int arg
- don't touch .buffer and .buffer_sz if malloc fails
2016-01-17 19:24:53 +01:00
pancake
3535c284e1 Handle '?' and 'u' keys in r_cons_less 2016-01-14 23:27:09 +01:00
pancake
399a1b82c9 Human-friendly registers sort in linux-x86-64 reg profile 2016-01-11 23:47:49 +01:00
pancake
fe49555c1d Fix #3944 - crash regression in dietline 2016-01-11 12:04:08 +01:00
pancake
11d5503cf8 Fix null deref in dietline 2016-01-11 00:31:07 +01:00
pancake
9dc6cfa4ea Fix #3926 - Fix color wrap for long lines in visual mode 2016-01-10 23:46:33 +01:00
skuater
6b752ce77e add ^V (paste windows clipboard) support for windows console 2016-01-10 23:05:43 +01:00
pancake
b1a9899dc1 Fixes for #3846 - agg help messages 2016-01-05 00:47:41 +01:00
Riccardo Schirone
530daf5420 cons/dietline: set right buffer.index when autocompleting
Fix #3856
2015-12-17 10:18:06 +01:00
pancake
cfb03d3772 More indentation fixes 2015-12-09 00:27:31 +01:00
pancake
a4fc08b401 More auto-indentation enhancements 2015-12-08 23:55:23 +01:00
pancake
0880d7d4f5 Some refactor/cleanup for agf and io cache (wip) 2015-12-08 14:59:30 +01:00
pancake
991c39a601 More whitelisted auto-indented files 2015-12-08 13:24:21 +01:00
pancake
d24d069ade Initial work on automatic indent whitelisting 2015-12-08 12:55:29 +01:00
Riccardo Schirone
0407aab9c5 core/core: add afvn autocompletion
cons/dietline: add support for autocompletion in the middle of the
input, without destroying the other part of the string
2015-11-27 12:57:39 +01:00
skuater
61243bbc46 Fix issue in dietline.c 2015-11-13 01:29:22 +01:00
pancake
9c9bb2dbd5 Memory optimization for flags (-70%) + some warnfixes + sdb-sync 2015-11-08 23:38:42 +01:00
pancake
6bc091f16f Fix some covs and the is_any() macro in anal.riscv 2015-11-05 10:34:42 +01:00
skuater
ae3edbbf1f fixed some bugs in rcons 2015-11-03 22:30:50 +01:00
Álvaro Felipe Melchor
b1583d5b24 Fix more issues reported by clang-analyzer 2015-11-03 22:14:00 +01:00
Jeffrey Crowell
20d1886a5a fix a bunch of memleaks 2015-11-01 00:47:16 -04:00
Jeffrey Crowell
04bf9bffd8 fix potential stack-buffer overflow in hud.c 2015-10-31 23:57:15 -04:00
pancake
72b27776d7 Initial support for function signatures using pf and initial symbol tables 2015-10-30 03:07:22 +01:00
pancake
365d089eb8 Fix #3557 - V_ is the new VF_, old one is in V?? 2015-10-29 12:54:19 +01:00
xambroz
d448260816 build cleanup focused on possibility to control the lib directories with the build parameters
needed mainly for RedHat/Fedora builds
2015-10-27 03:26:45 +01:00
pancake
21fe9f1fa9 A bit deeper zerosep 2015-10-24 23:25:56 +02:00
pancake
880821634f Refactor zerosep for r2 -0 2015-10-24 22:49:12 +02:00
condret
742b4370b9 fix #3566 (third try) 2015-10-23 18:02:05 +00:00
pancake
888c05d31f Fix some recent covs 2015-10-23 12:07:07 +02:00
pancake
64ea903317 Enhancement in basic colorscheme 2015-10-23 01:54:08 +02:00
pancake
a3f0b18f04 Add basic colorscheme - windows friendly 2015-10-23 01:33:23 +02:00
sghctoma
cbd1e88f48 Fixed coding style in libr/cons/pal.c and libr/cons/rgb.c , 2015-10-22 23:38:33 +02:00
sghctoma
c30950541d Only display color charts that are appropriate for the current settings 2015-10-22 23:38:33 +02:00
sghctoma
5559f3ba7e Made the "ec" command family 24bit-aware. 2015-10-22 23:38:32 +02:00
pancake
3de77ad6e6 Initial support of dbg.libs/unlibs for Linux/OSX 2015-10-22 04:48:56 +02:00
condret
ddba3a446b add new colors-configs for new optype 2015-10-21 11:04:55 +00:00
pancake
e569417ddf Fix ~:: 2015-10-19 12:53:14 +02:00
pancake
6ed80ae39b Update sdb and rename rmkdir->mkdirp 2015-10-19 00:25:39 +02:00
Riccardo Schirone
6df5031bf7 core/graph: quick fix for 1-level back-edges and self-referenced blocks 2015-10-18 15:52:34 +02:00
Riccardo Schirone
e54462343d core/graph: honor scr.color also for edges and current box 2015-10-14 00:10:17 +02:00
pancake
acdbab7e30 Fix cov in cons.grep 2015-10-03 13:54:46 +02:00
funktioniert
7bb5f39495 Add support for multiple columns in greps 2015-09-29 11:32:57 +02:00
pancake
5ecd98305e Add support for MBN/SBL roms, fix 11acb8392, binsect->has_strings 2015-09-29 00:42:31 +02:00
pancake
da3264250c Honor ^C in aae 2015-09-25 18:38:16 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
pancake
d38cd15837 Fix #3280 - visual ^z breaking mouse wheel 2015-09-13 16:11:31 +02:00
jvoisin
fbe8b6d938 Once again, clang-analyzer strikes! 2015-09-04 15:12:42 +02:00
8tab
a202b0c4cb setting default non zero values for window row and column size 2015-09-01 23:27:54 +02:00
pancake
f8d3a41fd7 Fix #3200 - Honor scr.rgbcolor in ecr command 2015-08-31 17:06:59 +02:00
Jeffrey Crowell
0a1b56f125 fix memleaks (from COV) 2015-08-31 00:42:21 -04:00
pancake
1e1b1adf2a Major enhacements for the V! visual panels 2015-08-31 05:06:01 +02:00
Riccardo Schirone
5dc9997427 cons/cons: fix issue with last line not cleared 2015-08-10 00:59:39 +02:00
Riccardo Schirone
e2482345eb cons/canvas: fix bold attributes 2015-08-09 22:17:56 +02:00
Álvaro Felipe Melchor
19c48e7edb Fix oob read in prefixline and oob write in r_cons_canvas_write 2015-08-01 00:42:30 +02:00
Jeffrey Crowell
05638b4cfe fix COV (REVERSE_NULL) 2015-07-30 23:18:28 -04:00
Riccardo Schirone
6007ca4fde cons/canvas,core/graph: fix some CIDs 2015-07-31 00:05:56 +02:00
Riccardo Schirone
a26c484db9 cons/canvas: fix w32 build 2015-07-30 15:40:15 +02:00
Riccardo Schirone
fc42e8a2a6 cons/canvas: support ansi strings
core/graph: use colored disassembly as default
2015-07-30 01:05:31 +02:00
Riccardo Schirone
46ffc1346f util/str: add some comments and fix r_str_ansi_chop
util/str: fix r_str_ansi_filter
2015-07-29 21:33:42 +02:00
Riccardo Schirone
94f303ca36 core/graph: clean code + fixes
cons/canvas_line: split style in color and symbol

In this way you can choose to apply a color and/or a symbol (t/f/v) to a
line. This patch also changes core/graph to avoid t/f symbols in the
middle of long edges.

cons/canvas_line: fix "reversed" edge

core/graph: center current node when changing function
2015-07-27 12:29:18 +02:00
Riccardo Schirone
31dfeda157 core/graph: improve edges layout 2015-07-25 13:55:31 +02:00
pancake
d2233a896b Add de Debugger Esil API for advanced software watchpoints
- Implemented in r_debug_esil_* APIs
- Support for step-into and continue
- Expressions can be regs, numbers, math operations, ranges, comparisons..
- Honor dbg.prestep for stepping before or after analysing
- read-write-exec watchpoints using native debug backend and esil emulation
- OSX/iOS debugger error message is now nicer
- anal/rpnesil renamed to esil
- Add esi,edi in osx regprofile
- Add r_cons_is_breaked() for consistency
2015-07-21 06:11:42 +02:00
pancake
df25085ffe Add custom color support for graphs and handle VVR and VVVq 2015-07-15 15:54:20 +02:00
Riccardo Schirone
a6c23407b2 cons/cons.c: avoid printing last line
fix #2908
2015-07-14 18:06:55 +02:00
pancake
85c9e89ef8 Add non-color mode for the material webui 2015-07-10 00:44:16 +02:00
pancake
aeded4675c Fix print 0 lines issue in RCons 2015-07-07 00:21:51 +02:00
pancake
406000688d Use yellow for text in hexdump like in pd, cyan for bin 2015-07-06 01:27:43 +02:00
pancake
20a70e75a0 Add more ESIL for ARM64 2015-07-04 02:34:17 +02:00
Álvaro Felipe Melchor
daf8e5b06f Fix some infers 2015-06-28 20:15:35 +02:00
pancake
8f25a9b344 Fix iOS build, crashes in reflines, analysis issues on OSX debugger and more! 2015-06-21 00:50:53 +02:00
pancake
0bece627d2 Fix w32 keypad input issue on wine 2015-06-12 11:49:44 +02:00
pancake
f8b1f8e807 Fix iorap bug, disasm glitch, and comments are red now 2015-06-12 02:11:07 +02:00
pancake
5954f6e046 Fix #2716 - sdb, rmkdir and console issues on w32 2015-06-11 12:12:22 +02:00
pancake
f802bdf3b1 Add afg command to print non-interactive ascii-art graph 2015-06-11 03:55:15 +02:00
Judge Dredd (key 6E23685A)
b19c9ea39e fix #2725 2015-06-09 13:34:31 +02:00
pancake
9bbaa981b6 Initial import of r2web:// io plugin 2015-06-06 03:02:35 +02:00
Riccardo Schirone
8cb35540c7 cons: use all the available space in the screen
* r_cons_get_size should return the number of rows, why is there a "-1"?
* the newline at the end of the canvas converted to string (in
  r_cons_canvas_to_string) make things shift up one line
* r_cons_canvas_write should consider "left" (which is the number of
  chars available from x until the right side of the screen) and not
  "left - 1". Moreover, since "slen" is at most the maximum number of
  characters that we can print in that row, there is no need to check
  if we can write those bytes
* r_cons_flush usually add a newline, but we shouldn't print it because
  otherwise everything will shift up by one line
2015-06-04 19:11:16 +02:00
Judge_Dredd
2acf7d4a03 arbitraty number of matches in cons/less search, refactor 2015-06-04 09:21:05 +03:00
pancake
297a620a94 Fix two covs 2015-06-03 12:34:15 +02:00
Riccardo Schirone
757c2da65f cons/canvas_line: refactoring calls to draw_horizontal_line 2015-06-02 10:17:17 +02:00
Riccardo Schirone
2d74815b27 cons/canvas_line: remove special case x == x2 in canvas_line_square 2015-06-02 10:17:17 +02:00
Riccardo Schirone
5a8afbfd50 cons/canvas_line: extract draw_horizontal_line helper function
cons/canvas_line: extract draw_vertical_line helper function
2015-06-02 10:17:17 +02:00
Riccardo Schirone
e48a7b8dcd cons/canvas_line: use some spaces between operators 2015-06-02 10:17:17 +02:00
Riccardo Schirone
c4bfa3ec95 cons/dietline: move to next/prev word with ESCf/b and clear line with ^K 2015-06-02 10:17:17 +02:00
pancake
9699ce98fa Fix w32 build strndup -> r_str_ndup 2015-06-01 22:54:40 +02:00
Judge_Dredd
264883a097 Refactor cons highlight 2015-06-01 21:58:07 +02:00
Judge_Dredd
e38dd6689d fix search highlight in cons/less 2015-06-01 21:53:27 +02:00
Judge Dredd (key 6E23685A)
61985d3b4b less highlight bug almost fixed 2015-06-01 21:53:27 +02:00
pancake
bb151c1607 Fix two out-of-canvas node location and missing box lines issues 2015-05-31 22:27:47 +02:00
Riccardo Schirone
36a89dc370 cons/canvas: fix printing of partially visible borders of a box 2015-05-31 20:20:32 +02:00
Riccardo Schirone
ac3a153925 cons/canvas: remove useless condition because always true 2015-05-31 20:20:31 +02:00
Riccardo Schirone
632aa56bb8 r_cons_canvas_write: not stop writing when there is an empty line
some lines can seem empty because what we want to write was cropped, but
this shouldn't deny the next lines, that can be longer and so, still
visible, to be printed.
2015-05-31 20:20:31 +02:00
Riccardo Schirone
5efc92520d cons/dietline: fix move to next/previous word
Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2015-05-30 12:23:18 +02:00
Judge_Dredd
b190fff5e2 fix for #2314 and #2312 2015-05-28 00:28:25 +02:00
pancake
d25c520a18 Add pxr and pxd in px?. Initial PoC for mouse click support 2015-05-27 23:46:41 +02:00
Jeffrey Crowell
045b22fdf1 add 'xvilka' colorscheme 2015-05-23 10:45:49 -04:00
Judge Dredd (key 6E23685A)
bdc2f2e661 fix partial color loss mentioned in #2314 2015-05-21 14:15:43 +02:00
Jeffrey Crowell
836020c374 update instructions for using theme 2015-05-14 19:24:17 -04:00
dequis
a4eb454514 dietline: Fix HOME key when used from screen/tmux 2015-05-11 12:09:26 +02:00
skuater@hotmail.com
ccfae11ebc windbg ^c support under linux+ ^c support for windows 2015-05-05 18:33:34 +02:00
Judge_Dredd
560c70c10e fix #2484, w/o breaking line count 2015-05-04 09:53:37 +02:00
pancake
2c28fb56f8 Handle arrow escape codes for Haiku/BeOS (by capi_x) 2015-04-25 04:06:14 +02:00
Judge Dredd (key 6E23685A)
3e1ca77491 less / search now supports highlighting multiple matches (up to 10) on the same line 2015-04-22 11:12:18 +02:00
pancake
63f0dc8e3f Implement more utf8 terminal check, handle jbe in asm.pseudo 2015-04-20 15:27:05 +02:00
pancake
070836b326 Honor SIGSTOP without breaking ^Z 2015-04-20 01:05:22 +02:00
pancake
0342ce3fe0 Fix r2 -q0 2015-04-16 04:06:02 +02:00
Judge Dredd (key 6E23685A)
60f09a5ebc fix possible memleak in cons less 2015-04-13 12:12:25 +02:00
Jeffrey Crowell
7a9ac6ae54 coverifix! 2015-04-13 00:43:42 -04:00
pancake
e56d7b1410 Handle = as separator in the internal grep 2015-04-13 02:07:52 +02:00
Judge_Dredd
0ce2c0033c cons less chop lines to terminal width 2015-04-12 16:12:02 +02:00
jvoisin
34473357d7 Fix some compilation warnings 2015-04-12 00:06:38 +02:00
pancake
51341240c3 Use dietline in ?i and enforce nonraw and cursor mode 2015-04-11 20:51:08 +02:00
Álvaro Felipe Melchor
35f573fe1f Fix memleaks in RCons.pal 2015-04-11 13:08:00 +02:00
Anton Kochkov
c5f2f3521f Fix the leaking holes 2015-04-11 02:05:51 +03:00
pancake
b4bd98ea6d Show lines instead of chars to make humans happy 2015-04-09 19:54:59 +02:00
pancake
37476d6eef Do not drop raw cons after getchr to avoid visual flickering 2015-04-09 16:43:20 +02:00
XVilka
db22e7337e Fix input on Cygwin 2015-04-07 17:25:14 +03:00
skuater
f98d144afa Windows console enhanced support for arrow and special keys 2015-04-07 15:23:03 +02:00
pancake
a0ef11be00 Fix 3 covs and several warnings in windbg for w32 2015-04-07 14:53:28 +02:00
pancake
f35b06c176 Fix #2323 - Fix crash in 'f ~..' 2015-04-07 13:22:34 +02:00
pancake
87162dc8bf Add wta support for appending dump. 2015-04-03 04:11:26 +02:00
pancake
8d89d9af2c Fix crash in ag, memleak in iI and nullderef in hexdump 2015-04-02 20:22:24 +02:00
pancake
43a7af0238 Fix graph flush issue 2015-03-31 00:45:57 +02:00
pancake
3cfa2b2f0e Fix #1544 - ^w chopping input 2015-03-23 22:05:06 +01:00
Jonathan Neuschäfer
dcc1a15749 more EOF fixes 2015-03-23 16:16:37 +01:00
pancake
4b1a487649 Fix crash in RConsCanvas and type in RCoreConfig description 2015-03-23 10:19:53 +01:00
pancake
261a4d2faa Fix #2174 - Crash in V!! 2015-03-23 01:28:32 +01:00
pancake
37a5f6d358 Honor RConsPalette in pxA, handle hex.onechar 2015-03-22 16:16:51 +01:00
pancake
12ea9734b5 Fix about 15 more random COVs 2015-03-21 02:04:49 +01:00
pancake
515b2e77bc Fix about 40 COVs related to memleaks and buffer overflows 2015-03-21 01:27:54 +01:00
Monokles
b9c59d39d0 Added 'ecc' (css output) command to cmd_eval
- Implemented 'ecc' command in pal.c
- Fixed indentation issues and added scope
2015-03-19 00:00:29 +01:00
pancake
5cd2165633 Initial implementation of Vt. Still not finished 2015-03-17 01:29:28 +01:00
pancake
7f9ae863f9 Fix #2183 - r2 stdin mode prints junk 2015-03-16 03:17:22 +01:00
pancake
28d6c12043 V! -> V!!, VV(nofn) -> V!
- VV only opens if there's a function analized
- V! now opens the panels view
- V!! launches the 2048 game
2015-03-05 23:33:28 +01:00
pancake
ef293e4b66 Initial PoC for the Visual 2.0 (for now: VV) 2015-03-05 02:07:53 +01:00
pancake
184eaefc8a Fix #2158 - fix underflow in rcons.memcat 2015-03-04 01:27:22 +01:00
Jaume Delclòs Coll
ed27f7567b Fix dietline cursor position 2015-03-03 02:01:07 +01:00
pancake
c4ae6db6f9 Revert "Fix prompt long line issue (still buggy, but cursor works again)"
This reverts commit e3e95fc94e.
2015-03-03 02:00:53 +01:00
pancake
e3e95fc94e Fix prompt long line issue (still buggy, but cursor works again) 2015-03-03 00:04:41 +01:00
pancake
7564069395 Fix #2147 - Fix dietline long line edit issue 2015-02-27 15:24:28 +01:00
jvoisin
838c467724 Coverifix once again 2015-02-19 15:04:58 +01:00
r0nk
d196673c48 implemented a binary search for canvas 2015-02-19 01:18:50 -05:00
jvoisin
a4ba5f64f5 Even more Coverifix 2015-02-19 00:27:00 +01:00
jvoisin
2f6793a262 Coverifix 2015-02-18 00:29:35 +01:00
jvoisin
7a1975bd06 Add some comments for graphs + coverifix 2015-02-17 17:03:16 +01:00
jvoisin
a193e54eac Coverifix 2015-02-17 00:34:51 +01:00
r0nk
87ae355a3a removed repetitive code. 2015-02-16 03:23:02 +01:00
pancake
d3ddbea631 Colorize node box 2015-02-15 21:48:46 +01:00
pancake
40edd608d1 Bring back the old edge style in the aa graph. Fix self loops 2015-02-15 21:34:12 +01:00
r0nk
e0989630d8 optimized canvas search 2015-02-15 13:34:13 +01:00
pancake
421dd1243f Obey scr.color in RConsCanvas from RCore.cmd("VV") 2015-02-14 04:50:29 +01:00
pancake
e1fec8fcab Fix trash chars in rconscanvas-color 2015-02-14 04:40:08 +01:00
r0nk
7bf5f13ce6 Initial support for colors in RConsCanvas
started on cons_canvas color support. Still a bit buggy, working out the kinks.
Yanked my old line drawing algo from ward, still working on colors.
Still incomplete, Changed the way that attributes work, still lots of strange behavior, It appears that most attributes aren't where they belong.
still not finished. Ok now the lines and colors are working, but the colors are overwriting other sections. Working on preventing that.
colors are now working, but they are _so. slow._
woops, removed the debugging printf
Figured out the big evil function that has to be optimized, attr_at takes aprox 91% of the cpu, so he needs to be fixed
Signed-off-by: r0nk <r00nk@simplecpu.com>
Signed-off-by: r0nk <r00nk@simplecpu.com>
2015-02-14 04:18:43 +01:00
Judge Dredd (key 6E23685A)
53934fb9b4 r_cons_less / search highlighting and {n,p} keys 2015-02-12 11:47:12 +01:00
pancake
18c451f2c2 Add scr.wheelspeed and implement dynamic asm.lineswidth in scr.responsive 2015-02-11 00:13:54 +01:00
pancake
dc75cb2320 Fix the rest of base64 warnings 2015-02-10 00:05:18 +01:00
Judge_Dredd
3cf696c080 less / regexp search 2015-02-08 20:02:53 +01:00
pancake
099fb3f55b Bring back background color in console
Add help for `ec type fg bg`
2015-02-04 12:09:29 +01:00
pancake
b87733d554 cmd_open refactoring and fix few warnings 2015-02-03 00:52:24 +01:00
pancake
0b391feebb Fix scr.html closing <font> tags (faster webui) 2015-02-01 02:28:17 +01:00
pancake
f2351636fe Fix r_cons_readline() signature and some code cleanup 2015-01-31 00:50:05 +01:00
XVilka
94a7ca141c 256 colors support in cygwin 2015-01-26 21:41:57 +03:00
XVilka
80d016e0ed Fix a typo in the previous commit 2015-01-26 20:01:48 +03:00
XVilka
2558a42cf3 Fix cygwin 32/64 builds and visual mode 2015-01-26 19:55:12 +03:00
pancake
dfa6644b83 Fix scr.html nested <font> issue 2015-01-26 03:43:57 +01:00
NighterMan
9127695627 Add r_cons singleton refcount to fix history bug 2015-01-22 02:24:24 +01:00
pancake
e1f8bce721 Add matrix theme 2015-01-20 02:11:53 +01:00
pancake
21093b2f2d Fix graph text node align issue for negative X deltas 2015-01-19 23:06:43 +01:00
pancake
1ccd0e3b67 Fix #1938 - Workaround for cg /dev/urandom crash 2015-01-17 01:21:43 +01:00
jvoisin
ce9ece1177 Coverifix++ 2015-01-16 00:56:54 +01:00
skuater
9b4044046e Handle arrow and page up/down keys on W32 2015-01-14 23:31:29 +01:00
jvoisin
4fd6ce62d5 Fix some gcc warnings 2015-01-13 02:07:44 +01:00
pancake
fb45861275 Support RGB colors in scr.html 2015-01-13 01:22:33 +01:00
pancake
2b493cdbc6 Fix row-by-one on w32 cmd.exe 2015-01-12 16:31:12 +01:00
pancake
45a1eb5ca0 Implement w32 terminal size detection (fails on wine, untested on cmd.exe) 2015-01-12 16:06:11 +01:00
pancake
377ec87272 Fix two null deref in RConsCanvas and another left border glitch 2015-01-11 02:54:27 +01:00
pancake
c042bcd789 Fix infinite loop in rcons.canvas 2015-01-11 02:34:28 +01:00
pancake
d713debdfc Fix left and top border issues with canvas text (nicer graphs) 2015-01-11 02:28:59 +01:00
pancake
790ce09483 Fix right border graph canvas glitch 2015-01-10 04:21:10 +01:00
pancake
6ee5b5003c Fix RCons crash on w32 (thanks Skuater for pointing out!) 2015-01-09 16:03:42 +01:00
pancake
7aa5ae27c5 Fix w32 console line limit issue, some fixes for wine console 2015-01-09 12:47:40 +01:00
pancake
c7e1fad6bc Add Vn (mini-ascii-art graph visual mode) 2015-01-09 11:39:25 +01:00
Alvaro Muñoz
e1f2b73066 fixed colors 2015-01-08 23:37:48 +01:00
Julien Nabet
164bbc7333 Some cppcheck reports fixed:
(warning) Logical disjunction always evaluates to true: regnum < 32 || regnum > 31
(style) Same expression on both sides of '||'
(style) Same expression on both sides of '&&'
(style) Expression is always false because 'else if' condition matches previous condition at line 180
2014-12-28 04:20:14 +01:00
pancake
559c2cd25a Add '!' inside '#!' and make r_core_editor accessible from r_cons_editor. 2014-12-19 03:17:28 +01:00
pancake
cace7101e5 Fix warnings in RCons and update sdb 2014-12-14 01:56:55 +01:00
Alvaro Muñoz
db09c38b9d Improve colors in webui and fix ans256 to rgb
- added fname and fdelimiters in disasm views
- fix r2 ansi256 to rgb conversion
- clean color string, no leading whitespaces, trash anything after color
2014-12-10 21:47:46 +01:00
Alvaro Muñoz
dc5da0898b Fix #1732 and #1735 - uses 'ec gui. and ai.' prefixes 2014-12-08 23:48:42 +01:00
Kamil Rytarowski
aadbd0f868 Fix GCC warnings: array subscript has type 'char'
Reported at NetBSD-current/amd64
GCC 4.8.4 (nb1 20141012)
2014-12-04 03:26:08 +00:00
pancake
20925abb7f Fix all latest COVs and avoid use of tabs in i 2014-12-03 13:15:07 +01:00