Neven Sajko
4a722e80d8
Add braces to if, else, for, while ... ( #11504 )
2018-09-13 10:17:26 +02:00
Luca Di Bartolomeo
370f35c2a6
Vim-like autocompletion in visual offset prompt ( #10912 )
...
* Feat: autocompletion widget for offset prompt in visual mode
* Fix: screen refresh when erasing sel_widget
* Refactor: many small changes to the autocompletion widget
* Fix: colors in selection widget taken from palette
* Refactor: do not use utf8 inside selection widget
* Refactor: rename ANSI_ESC_CLEAR_LINE to R_CONS_CLEAR_LINE
2018-08-05 20:53:12 +02:00
Khairul Kasmiran
be623bce42
Removed some spaces
2018-05-01 07:47:10 +08:00
Florian Märkl
cee122e9df
Make r_cons_rgb_str() safe ( #9938 )
2018-04-21 11:31:24 +02:00
pancake
b323f78dc5
Fix a heap overflow (non-null terminated string) in RCons.rgb_str()
2018-03-07 18:08:19 +01:00
Fangrui Song
a244064276
Support more terminal attributes other than bold. ( #9535 )
2018-02-28 17:54:39 +01:00
pancake
7b5ab319f8
Revert V* behaviour, add < command and make dietline reuse rcons.readChar
2018-02-28 01:19:08 +01:00
xarkes
d5f57a7ccb
Fix fg+background colors handling
2018-02-24 19:14:55 +01:00
xarkes
b2b647a5f7
Renamed COLOR_MODE constants
2018-02-24 12:04:48 +01:00
xarkes
5e097dbae1
Killed cons->truecolor in favor of cons->color
2018-02-24 11:47:38 +01:00
xarkes
29158c3726
Html color parse ( #9492 )
2018-02-24 10:28:55 +01:00
xarkes
184d2ccb5c
Some colors fixes
2018-02-24 08:15:49 +01:00
pancake
caa4cc66d9
Dont initialize truecolor table if no color is needed
2018-02-24 00:19:15 +01:00
xarkes
7e98502666
Code refactoring for the color palette handling
...
* RConsPrintablePalette initialization
* Remove scr.rgbcolor
* Added RColor support to cons_pal_parse
* Added warnings about pal_set and missing event_update
* Code cleaning (char* to RColor), less rgb_parse
2018-02-23 19:00:47 +01:00
pancake
0b1e8eaecc
Fix almost all warnings from the msvc build
2017-12-19 00:18:39 +01:00
xarkes
0ee7073122
Fixed Bold color ascii parsing
2017-10-15 10:45:25 +02:00
pancake
9f7c98b5f8
scr.rainbow is false by default and color enhanced
2017-08-31 01:30:37 +02:00
pancake
7d4db495eb
Initial implementation of scr.rainbow for disasm and hexdump
2017-08-31 01:11:34 +02:00
SkUaTeR
beb80cfc16
Fixes for MSVC
2017-05-09 23:53:20 +02:00
xarkes
926f024909
Improved MSVC support (WIP)
2017-05-09 14:25:57 +02:00
Á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