Commit Graph

600 Commits

Author SHA1 Message Date
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