Riccardo Schirone
e2278cc50f
sync sdb: some refactoring on how to access base SdbKv fields ( #11741 )
2018-10-05 15:21:46 +02:00
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
Luca Di Bartolomeo
13a2cb344a
[WIP] Colorize function arguments and variables part 2 ( #10777 )
...
* Colorize comments that hint type of data
* Use new colors for comments that hint type of data
* Colorize local variables and args in disasm
* Fixed leak in r_anal_var_all_list()
* Refactoring + rename color func_arg* to func_var*
* Updated all color themes for func_var* colors
* Directly query sdb for faster and cleaner var colorizing in r_colorize_opcode
* Remove hackish r_core.h include in print.c and use callbacks instead
2018-07-20 12:45:51 +02:00
cyanpencil
8cb110efa3
Add function argument colors to palette
2018-07-18 00:07:48 +02:00
Florian Märkl
f18a01fb6a
Fix a few warnings
2018-06-26 23:09:07 +02:00
Synray
8aa87a3820
Add cons_pal_len
2018-06-10 03:27:53 +02:00
Khairul Kasmiran
2f285d5f90
ec highlight -> wordhl
2018-06-04 15:51:36 +02:00
Khairul Kasmiran
58e48c8267
ec line_highlight -> linehl
2018-06-04 15:51:36 +02:00
Khairul Azhar Kasmiran
ce3ddd5f6c
Allow asm.highlight color change thru ec line_highlight ( #10051 )
2018-05-09 09:31:33 +02:00
Khairul Kasmiran
1232aacbf5
Removed some spaces
2018-05-03 21:00:07 +08:00
Florian Märkl
cee122e9df
Make r_cons_rgb_str() safe ( #9938 )
2018-04-21 11:31:24 +02:00
pancake
1adac87918
Update sdb-1.1.0, update calls to sdb_fmt()
2018-04-10 23:52:47 +02:00
pancake
6d455d1b01
Fix leak in RConsPal.rainbow
2018-03-14 15:37:37 +01:00
pancake
dc74fbd746
Fix more memleaks
2018-03-14 15:31:08 +01:00
pancake
f85480fe28
Fix #9676 - Infinite loop in ecs with scr.color=2
2018-03-13 11:52:09 +01:00
Fangrui Song
a244064276
Support more terminal attributes other than bold. ( #9535 )
2018-02-28 17:54:39 +01:00
xarkes
ce6a253258
Fixed HTML color code parsing (ec btext #ef8d1aa)
2018-02-25 09:36:41 +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
184d2ccb5c
Some colors fixes
2018-02-24 08:15:49 +01:00
pancake
ff1fa01cf4
More code tweaking in RCons
2018-02-24 00:44:46 +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
Giuseppe
7a140d71e6
Use different color when pxw unmapped data ( #9404 )
2018-02-20 23:55:11 +01:00
pancake
e43107d1ca
r_str_chop_ro, r_str_trim_const -> r_str_trim_ro
2018-01-08 03:29:29 +01:00
pancake
d2b13c7764
Fix crash when loading the dark theme (thanks asan)
2017-12-18 15:26:25 +01:00
pancake
8852a501db
Fix colors in asm.cmtright=0 and honor fc in disasm offsets and flag colors
2017-11-24 23:52:22 +01:00
pancake
18f51c3460
Initial support for ec usrcmt -> user comments have different color
2017-11-10 08:07:05 +01:00
Fangrui Song
a82a239275
Fix leaks in rcons and annotated hexdump
2017-08-13 14:01:00 +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
pancake
74971add35
Honor MMX and SSE op.family for x86.cs
2017-05-22 00:56:24 +02:00
pancake
792d2e2ff2
Honor color palette in pxa
2017-05-18 11:43:26 +02:00
pancake
0668d04488
Honor color theme in p=, add palette rainbow primitives in RCons
2017-05-18 00:01:16 +02:00
pancake
b46fa51f9c
Colorize backward lines with pal.flow2
2017-01-16 00:41:31 +01:00
pancake
7436ce01ee
ecc [arg] - show color palete in css prefixing the CSS keys
2016-07-03 20:56:44 +02:00
pancake
ad85da85ff
Fix code indentation in libr_cons
2016-06-29 12:33:31 +02:00
Jeffrey Crowell
10b9fc1db0
rm unneeded calls to r_cons_printf
2016-06-26 00:17:16 -04: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
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
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
pancake
cdc6fb4687
Fix parsing of rgb colors and support html
2016-03-31 01:16:19 +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
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
condret
ddba3a446b
add new colors-configs for new optype
2015-10-21 11:04:55 +00:00