25 Commits

Author SHA1 Message Date
Álvaro Felipe Melchor
cb0280d62a Fix crash in ec command 2016-07-13 22:31:15 +02:00
pancake
ad85da85ff Fix code indentation in libr_cons 2016-06-29 12:33:31 +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
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
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
sghctoma
cbd1e88f48 Fixed coding style in libr/cons/pal.c and libr/cons/rgb.c , 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
37a5f6d358 Honor RConsPalette in pxA, handle hex.onechar 2015-03-22 16:16:51 +01:00
XVilka
94a7ca141c 256 colors support in cygwin 2015-01-26 21:41:57 +03:00
pancake
fb45861275 Support RGB colors in scr.html 2015-01-13 01:22:33 +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
pancake
f37246d3d8 Fix reverse RGB parser (fixes ecj issues) 2014-11-21 14:43:14 +01:00
jvoisin
5cbbbcf327 Fix some coverity issues in rgb.c 2014-08-04 19:07:49 +02:00
pancake
b1b02fba8e Fix linkage of RCoreJava plugin 2014-03-18 00:55:26 +01:00
pancake
fd075de90a Add 16bit dithering for 256/16M rgb console + fixes
Add scr.rgbcolor to disable 16bit ansi escapes
Disabled by default on windows
Implement ansi to rgb and rgb to ansi conversors
Implement 256 color to rgb bruteforcer
ec: renamed to ecr
Fixes for the VE menu
Drop --enable-devel flag from r2-bindings/README
2013-07-17 22:12:14 +02:00
pancake
be46b9da31 Initial support for truecolor (xterm only)
Add e scr.truecolor variable
Add !! command to save history
Add ec: command to randomize palette
Minor rgb trash fix,
2013-07-17 19:34:27 +02:00
pancake
a1123b6a69 Added default color paletes for rcons
Added 'ecf':load colorschemes
Added VE visual menu to configure colors
r_cons_rgb_parse() needs a rewrite
2013-07-17 03:51:53 +02:00
pancake
9e18ba2b7e Various fixes in cons/rgb 2013-06-27 02:19:40 +02:00
pancake
9d65bfe70c Initial r_cons palette support. See 'ec' command 2013-05-22 04:22:49 +02:00
pancake
99040c9ad7 Initial import of r_cons_rgb API (ansi 256 color) 2013-04-01 04:42:14 +02:00