cyanpencil
104a52b55f
Fix some utf8 bugs in canvas.c
2018-07-27 02:12:50 +08:00
cyanpencil
fc26f2a04e
Use dotted lines in graph
2018-07-27 02:12:50 +08:00
cyanpencil
22d369cf2b
Updated all color themes for ai.* colors
2018-07-23 11:11:15 +08:00
Florian Märkl
7995089d3f
Always keep break stack filled in tasks in threads
2018-07-21 16:29:12 +02:00
Florian Märkl
61950ec620
Expose r_cons_context_break() to API
2018-07-21 16:29: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
cyanpencil
94f753ac52
Parse grep line only if there is a digit afterward :
2018-07-16 21:04:41 +02:00
cyanpencil
8f3b7f4870
Fixed grep help
2018-07-16 21:04:41 +02:00
cyanpencil
9081cf9199
Fixed grep line range after []
2018-07-16 21:04:41 +02:00
cyanpencil
1b5079c14a
Fix : after [] in grep
2018-07-16 21:04:41 +02:00
Fangrui Song
592fc8f26a
Fix "Invalid color text" for "focus" colortheme ( #10712 )
2018-07-12 09:03:40 +02:00
cyanpencil
ad75f08a48
Add file completion to V! > open file
2018-07-10 10:33:28 +02:00
Riccardo Schirone
7572f315ea
meson improvements ( #10617 )
...
* meson.build: fix meson build when not on git
* meson.build: make capstone a dependency
* meson.build: make r_magic library optional
* meson.build: capstone include is already in the dependency
* meson.build: use dependencies instead of manual linking + includes
* meson.build: add travis
* flag/meson.build: include sdb dependency
* travis-script: print messages based on install system
* io/meson.build: add sdb as dependency
* syscall/meson.build: missing sdb dependency
* {parse,config}/meson.build: add sdb dependency
* travis.yml: pass INSTALL_SYSTEM var to docker
* {bin/shlr}/meson.build: add sdb_dep to r2java and bin
* install meson and ninja-build in r2-travis docker
* travis.yml: allow meson build to fail for now
* anal/meson.build: add sdb and java dependencies
* egg/meson.build: add sdb dependency
* travis.yml: meson build env should be also in the includes list
* core/meson.build: add java dep
* meson.build: use dependencies also to create main r2 dependency
* rasm2/meson.build: replace link_with with dependencies
* rasm2/meson.build: add sdb as dependency
* meson.builds: convert link_with to dependencies and fix tabs
* travis-script: change meson install prefix and set PKG_CONFIG_PATH
* travis-script: add lib64 to LD_LIBRARY_PATH
2018-07-09 16:58:38 +02:00
Jakob
8b54c3c073
Make yanking more compliant with bash conventions ( #10677 )
...
* Add support for M-d (kill_word)
* Make yanking more compliant with bash conventions
* Use r_str_ndup for kill/yank
* Rename 'yank' to 'paste'
2018-07-09 15:29:57 +02:00
pancake
16c807f1ce
Fix hexdump bottleneck issue and probably a segfault too
2018-07-08 03:12:41 +02:00
Jakob
f193a58382
Add support for M-d (kill_word) ( #10654 )
2018-07-08 01:02:00 +02:00
skuater
c079da92b3
fix for issue #10198
2018-07-06 22:04:05 +08:00
pancake
685ce4e0ed
Strpool is not StrBuf. Fix ecf109900f
2018-07-05 11:40:59 +02:00
cyanpencil
602c8bf53b
Fix whitespace in canvas and str.c
2018-07-03 11:31:05 +08:00
cyanpencil
611ab267ef
Support for fullwidth characters
2018-07-03 11:31:05 +08:00
Florian Märkl
f8a734a58b
Fix sleeping for readchar on Windows ( #10549 )
2018-06-30 02:45:17 +02:00
Florian Märkl
f18a01fb6a
Fix a few warnings
2018-06-26 23:09:07 +02:00
securisec
e55b1dde0a
Create ayu ( #10482 )
2018-06-25 10:31:38 +08:00
Luca Di Bartolomeo
ea51883945
Fixed overflow in canvas.c ( #10460 )
2018-06-24 20:09:14 +02:00
Florian Märkl
5e35ad898b
RConsContext ( #10450 )
...
* Add RConsContext
* Swap cons in tasks using RConsContext
* Create cons context for background tasks
* Move event_interrupt to RConsContext
* Fix breaking main cons from signal
* Make r_print_is_interrupted() use callback
2018-06-23 12:10:13 +02:00
Luca Di Bartolomeo
38bb81f98b
Revert to old graph edges positioning (added an option) ( #10430 )
2018-06-20 17:49:25 +02:00
cyanpencil
dd6533e662
Fix travis whitespace in canvas.c
2018-06-20 11:22:59 +02:00
cyanpencil
2cf784ef49
Refactoring in canvas.c
2018-06-20 11:22:59 +02:00
cyanpencil
4b1fe1f7f9
Fix graph in panels rendering
...
Fix use after free in canvas resize
Fix utf8 working only in leftmost panel
2018-06-20 11:22:59 +02:00
David CARLIER
5874a1e840
Checking history folder creation as in sandbox/pledge mode, it is not possible ( #10412 )
2018-06-19 16:57:44 +02:00
pancake
3f9c8485ad
Fix !<num>
2018-06-19 09:59:59 +02:00
pancake
04f54cc7dd
Fix crashes in graph and canvas
2018-06-19 01:05:25 +02:00
pancake
8638b8395f
Fix UAF introduced in previous malloc(0) bugfix
2018-06-18 19:44:29 +02:00
pancake
e3eac1a8ee
Avoid malloc(0) in cons.c:71
2018-06-18 19:07:30 +02:00
pancake
4e648db8fa
Fix warnings in RCons
2018-06-17 12:49:26 +02:00
Florian Märkl
e9be4e2f68
Fix Leak in cons dump loading
2018-06-17 11:34:03 +02:00
Florian Märkl
fa3ff32569
Fix Task Commands for new Tasks
2018-06-17 11:34:03 +02:00
Florian Märkl
6730a93e9c
Sleep during prompt
...
Sleep during prompt for Windows
2018-06-17 11:34:03 +02:00
Florian Märkl
9ff250d1a7
Tasks Cons Swapping
2018-06-17 11:34:03 +02:00
Florian Märkl
61e2c0b329
Split up cons stack functions
2018-06-17 11:34:03 +02:00
cyanpencil
c3366d9004
fix color crashes in panels
2018-06-16 20:42:46 +02:00
cyanpencil
5c1ce98280
fix coverity defects
2018-06-14 17:46:20 +02:00
Luca Di Bartolomeo
36eb3aa558
Fix overflow in canvas.c + fix utf8 crop ( #10336 )
2018-06-13 12:55:36 +02:00
Luca Di Bartolomeo
83e85ee07f
UTF-8 support in canvas (panels, graph) ( #10319 )
2018-06-12 13:05:47 +02:00
Florian Märkl
6fa6ce3efb
Fix Leak in r_cons_pop() ( #10322 )
2018-06-11 18:49:10 +02:00
Synray
8aa87a3820
Add cons_pal_len
2018-06-10 03:27:53 +02:00
Vanellope
0f8fd93806
Cleaned up rubbish ( #10292 )
2018-06-10 03:27:29 +02:00
Khairul Kasmiran
4e25681e84
Using rgb instead of #
2018-06-04 15:51:36 +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
27816462cc
Add line_highlight to themes ( #10246 )
2018-06-03 11:13:53 +02:00
Aaron McDaniel
ad5c08cbe0
Made dietline word boundaries more readline-like
...
Resolves issue #10161
2018-05-31 02:32:07 +02:00
Aaron McDaniel
a37bdd37c3
Cleaned up some unused code from dietline
2018-05-31 02:32:07 +02:00
Paul I
cad927a591
Meson: add rule for tags.r2 ( #10215 )
2018-05-28 23:25:48 +02:00
Florian Märkl
f5fe86b790
Add r_cons_lastline_utf8_ansi_len() and use in ds_align_comment()
2018-05-26 18:27:29 +02:00
pancake
91a2e5fb9d
More killing of strcasecmp/strncasecmp
2018-05-21 22:13:07 +02:00
pancake
ceba14c612
Fix last covs
2018-05-21 11:32:37 +02:00
pancake
05cc56325e
Fix #9850 - V/ - visual highlight heap overflow
2018-05-21 03:06:52 +02:00
Sebastien Marie
3822f1446e
avoid cp -a: it isn't POSIX defined and don't exist on openbsd ( #10133 )
...
replace it by the most similar arguments: cp -PRp
(not copied elements are context,links,xattr)
2018-05-20 00:29:53 +02:00
Paul I
7e9f982849
Meson: some cleanup ( #10076 )
2018-05-16 10:24:35 +02:00
radare
9e08da0fa6
Improve build of libr.a and libr.dylib, fix and improve sys/ios-sdk.sh ( #10046 )
...
- Update spp and force hidden visibility
- Use R_API wisely
- RSys.prefix returns const things
- Use -install_name on Apple
- Fix merged lib visibility linking on Linux
- Use OSTYPE instead of BUILD_OS
- Honor crosscompiler-objcopy and support android like linux
- Add extra missing archives
- Fix for android
- Upgrade spp and sdb
- Skip libr. from symstall
- Add --enable-merged configure option
- Use --enable-merged on ios-sdk
- Upgrade sdb again for js0n
- Kill sys/ios-shell.sh
- Msvc dynamic build fix
2018-05-09 23:31:52 +02:00
Khairul Azhar Kasmiran
ce3ddd5f6c
Allow asm.highlight color change thru ec line_highlight ( #10051 )
2018-05-09 09:31:33 +02:00
pancake
bb2088f493
Fix #10036 - Add sepia theme
2018-05-08 03:10:11 +02:00
Paolo Monti
bc08a99c06
Fix #9964 plus some style while at it ( #10040 )
2018-05-07 20:02:22 +02:00
pancake
8b3707078f
Ensure RConsSingleton is filled with zeros
2018-05-06 19:15:00 +02:00
Khairul Kasmiran
1232aacbf5
Removed some spaces
2018-05-03 21:00:07 +08:00
Khairul Kasmiran
2faadf6d86
r_cons_singleton() 🠊 r_cons_singleton ()
2018-05-02 21:36:08 +08:00
Khairul Kasmiran
be623bce42
Removed some spaces
2018-05-01 07:47:10 +08:00
Paul I
cc90ec6be5
[WIP] Move hardcoded paths to r_userconf.h ( #9959 )
...
* Move hardcoded paths to r_userconf.h
* Add R2_HOME_* macros
* Some cleanup
2018-04-28 10:02:55 +02:00
pancake
19c4f5223c
Fix a lot of things broken in previous merged PRs. grrrrrr
2018-04-24 11:32:51 +02:00
Khairul Azhar Kasmiran
ec75785c7c
Highlight seek line using different background color ( #9853 )
2018-04-24 09:51:14 +02:00
Florian Märkl
cee122e9df
Make r_cons_rgb_str() safe ( #9938 )
2018-04-21 11:31:24 +02:00
pancake
d4c92e3c76
Better graph box colors for the bold theme
2018-04-20 00:37:58 +02:00
pancake
648cc6ff3c
Fix agv color boxes for some themes
2018-04-20 00:31:47 +02:00
Florian Märkl
0b9b25c352
Exclude Makefile and meson.build in libr/cons/d in install ( #9927 )
2018-04-20 00:25:44 +02:00
radare
a30c5c3722
Initial work on supporting pauseable CoreTasks ( #9921 )
2018-04-20 00:25:33 +02:00
pancake
59d8f4e280
Minor improvements here and there
2018-04-12 11:28:25 +02:00
pancake
848981912f
Fix last covs, and some reindents
2018-04-11 10:25:22 +02:00
pancake
1adac87918
Update sdb-1.1.0, update calls to sdb_fmt()
2018-04-10 23:52:47 +02:00
Paul I
40b4a5b557
Meson: disable libversion info for Windows ( #9858 )
2018-04-10 22:44:54 +02:00
pancake
0e7e7a34b6
Add bold theme
2018-04-10 11:42:17 +02:00
vane11ope
4f42a6381a
fixed panels blinking all the time when scrolling
2018-04-09 09:42:22 +02:00
Khairul Kasmiran
41fe409b74
Removed some spaces
2018-04-08 21:03:28 +08:00
pancake
2d0e3eaa98
Fix #9827 - Avoid infinite loop in ~&+
2018-04-08 12:27:01 +02:00
Nics
35aca48289
Exclude meson.build from the list of color schemes. ( #9648 )
2018-04-03 09:09:36 +02:00
Paul I
ca3652da4b
Meson: Add version info for shared libs ( #9763 )
2018-03-24 18:18:32 +01:00
Paul I
4e73ad7d19
Meson: some cleanup ( #9753 )
2018-03-23 07:47:46 +01:00
fcasal
8a503d0cbe
fix zenburn theme jump colors ( #9729 )
...
graph.true was red
2018-03-20 13:37:25 +01:00
pancake
fe7ae5d0af
Fix last 20 coverity issues
2018-03-19 11:51:04 +01:00
pancake
77ee1804e5
Fix defragger theme
2018-03-15 00:16:16 +01: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
Oscar Salvador
58369b86f5
Some fixups for #9682 ( #9688 )
2018-03-14 13:08:01 +01:00
cyanpencil
bc5ade54a1
removed incorrect return ( #9685 )
2018-03-14 11:09:27 +08:00
pancake
f85480fe28
Fix #9676 - Infinite loop in ecs with scr.color=2
2018-03-13 11:52:09 +01:00
pancake
1c1cad1d94
Minor improvement in r_cons_set_raw
2018-03-09 03:01:05 +01:00
cyanpencil
cd719d120b
Implement pluggable dietline history. Use it in Vo ( #9591 )
2018-03-09 00:33:33 +01:00
Riccardo Schirone
c939bbc058
cons/canvas_line: fix back and straight edges ( #9630 )
...
Without this patch, the last piece of those lines was missing.
2018-03-08 10:50:36 +01:00
pancake
b323f78dc5
Fix a heap overflow (non-null terminated string) in RCons.rgb_str()
2018-03-07 18:08:19 +01:00
pancake
6428824bc6
Fix asan issue with graph initialization
2018-03-07 12:47:39 +01:00
pancake
cac712d5e3
Add wfs and wff, and help for wf?
2018-03-07 10:55:45 +01:00
pancake
cf238084e0
Improve white theme
2018-03-07 01:52:11 +01:00
pancake
6ac290eaec
r_cons_yesno() is now echo-ing the pressed key
2018-03-07 01:19:04 +01:00
pancake
92fc73f7d9
Partially enable utf8 in visual panels and honor color theme
2018-03-05 23:32:27 +01:00
Rene Laemmert
2fe71e69da
added my theme ( #9589 )
2018-03-05 12:47:20 +01:00
Paul I
13f7013696
Meson: Added sdb building/installation rules ( #9575 )
2018-03-05 00:10:28 +01:00
Florian Märkl
5e1f811ec0
Fix meson indentation ( #9567 )
2018-03-03 22:08:37 +01:00
xarkes
00668df334
Fix non closing on readline failure (windows)
2018-03-03 17:49:27 +01:00
Florian Märkl
95a1b75784
Install Headers and .pc Files with Meson ( #9548 )
...
Use meson pkgconfig for .pc files
meson 0.44
Install same headers as acr
2018-03-03 20:00:18 +08:00
securisec
84ead4285f
Create darkda ( #9555 )
2018-03-03 10:49:54 +01:00
pancake
8d675ab95a
Fix glitch in graph cropping introduced in 173c7ee49f
2018-03-01 12:01:29 +01:00
Fangrui Song
a244064276
Support more terminal attributes other than bold. ( #9535 )
2018-02-28 17:54:39 +01:00
pancake
df48171b2d
Update coding style rules for braces
2018-02-28 01:24:03 +01:00
pancake
7b5ab319f8
Revert V* behaviour, add < command and make dietline reuse rcons.readChar
2018-02-28 01:19:08 +01:00
pancake
976422cc0b
Improve RCons.readPush and add .readFlush() to make V* happy
2018-02-28 00:37:19 +01:00
pancake
2497fb6f51
Implement r_cons_readpush() new api and fix the V... automation
2018-02-28 00:26:41 +01:00
xarkes
9d36f29f99
Monokai color improvements #9487
2018-02-26 18:50:27 +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
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
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
Maijin
3c4e718bae
Fix ecr/eco
2018-02-23 22:59:37 +01:00
pancake
06c519ead7
Fix the RCons.pal_init() issue :?
2018-02-23 19:28:17 +01:00
xarkes
9abaf3d4a6
Better cons init
2018-02-23 19:10:19 +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
securisec
7467b99205
Update monokai ( #9459 )
2018-02-22 15:33:23 +08:00
pancake
d8911ce002
Add ed command to edit ~/.radare2rc
2018-02-21 02:18:04 +01:00
Giuseppe
7a140d71e6
Use different color when pxw unmapped data ( #9404 )
2018-02-20 23:55:11 +01:00
Paul I
bb4f61580e
Cleanup meson files ( #9424 )
2018-02-20 09:33:19 +01:00
pancake
6d7008b42f
Fix box colors for the ogray theme
2018-02-19 22:48:53 +01:00
pancake
148e54b677
Fix crash (oobread) in r_cons_less
2018-01-27 23:49:59 +01:00
pancake
88711b0164
Add scr.color.grep eval var
2018-01-19 19:50:29 +01:00
securisec
5f2a8dcb73
Some changes to monokai
...
Some changes to monokai
2018-01-12 09:56:57 +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
335938be58
r_str_chop -> r_str_trim
2018-01-08 03:22:26 +01:00
Thomas Bailleux
fa3ecb3334
fix issue #9123 with grep [n-] ( #9141 )
2018-01-07 04:00:59 +01:00
securisec
3eb5b57cdf
Create monokai
2018-01-04 17:40:19 +01:00
pancake
68f7e54d2e
Fix build
2018-01-02 19:31:02 +01:00
pancake
3c67ec8f5d
Fix #9044 - Honor graph.* on all color themes
2017-12-30 03:44:32 +01:00
pancake
34ffd014f4
Better graphs, bringback t/f, add ^to seek to the begining and updated help
2017-12-30 00:50:25 +01:00
SkUaTeR
467eaed971
Add timeout to readchar_win
2017-12-29 19:55:34 +01:00
pancake
b49314a94b
Add graph.edges, bringback the linemode=0 and add the graph+dis mode
2017-12-29 11:22:22 +01:00
pancake
74c2e7fdc8
Minor random fixes here and there for graph, twilight theme and mmx esil
2017-12-29 11:19:56 +01:00
pancake
ffb6753dac
Initial pseudo for MMX
2017-12-28 20:18:02 +01:00
Ziyaddin Sadigov
d4dd6fd5e6
Fix typo regarding byte size ( #9067 )
2017-12-27 18:33:58 +01:00
pancake
df4ddfc745
Fix last covs
2017-12-20 15:05:33 +01:00
pancake
0b1e8eaecc
Fix almost all warnings from the msvc build
2017-12-19 00:18:39 +01:00
pancake
d2b13c7764
Fix crash when loading the dark theme (thanks asan)
2017-12-18 15:26:25 +01:00
pancake
0851129765
Implement r_cons_readchar_timeout. wink wink
2017-12-18 02:44:51 +01:00
Jacob Robie
526894a222
Fixes issue where grep is eaten by first command that executes ( #9022 )
...
* Fixes issue where grep is eaten by first command that executes instead of the command it was associated with
* Minor bug and formatting fixes
2017-12-15 01:06:16 +01:00
pancake
bf9c5f96d9
Upgrade sdb (renames mht to dict)
2017-12-13 03:07:22 +01:00
Florian Märkl
9fb5399363
scr.html: do not print <br /> at the end ( #9001 )
2017-12-11 10:11:56 +01:00
pancake
d355a9c93e
Bring back the canvas trimming and fix again visual glitch with 1 node graphs
2017-11-26 02:25:57 +01:00
mrpaja
c2653f8afe
Fix whitespace issue, when using the tab complete
2017-11-26 01:35:58 +01:00
pancake
c830c67a08
Fix rendering interactive visual graph with only 1 node
2017-11-26 01:32:52 +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
f371229fe0
Oops scr.fps was already there :D show it in graph view too
2017-11-24 00:55:18 +01:00
pancake
04c492a60c
Add usrcmt on all themes
2017-11-16 11:48:15 -05:00
Francesco Tamagni
49e7045473
Tweak pink theme ( #8845 )
...
- more readable “call” color scheme
- add “usrcmt”
2017-11-16 10:28:04 -05:00
pancake
18f51c3460
Initial support for ec usrcmt -> user comments have different color
2017-11-10 08:07:05 +01:00
josediazfer
ce0b254a77
Removed RCons warning and missing a convertion to w32 unicode ( #8794 )
2017-11-06 11:10:06 +01:00
pancake
1db0c10f8e
Fix regression in feat_grep
2017-11-04 16:15:50 +01:00
pancake
a9b4bb76fb
Fix #8778 - Honor escaping ':' in ~ and make it smarter to have better grepping
2017-11-04 12:57:12 +01:00
xarkes
7e063d0b47
Added theme for cutter
2017-10-22 12:21:12 +02:00
pancake
54a766a751
More makefile fixes for android and mingw32
2017-10-19 01:54:44 +02:00
xarkes
0ee7073122
Fixed Bold color ascii parsing
2017-10-15 10:45:25 +02:00
Srimanta Barua
41ce16b314
added curved corners ( #8660 )
2017-10-08 13:09:27 +02:00
pancake
9bc8c9ba6d
Fix memleak in RCons.grep
2017-10-05 12:44:56 +02:00
Michael Scherer
8849412c47
Do not crash on half formed json filter ( #8641 )
...
Fix #8640
2017-10-04 13:08:58 +02:00
andrey.torsunov
0ddf622dd5
#7894 update grep documentation
2017-10-04 09:47:32 +08:00
pancake
34bdab65b7
Pressing _ in RCons.less enters the HUD mode
2017-09-26 11:53:16 +02:00
Rene Laemmert
fcdf5793f1
Fix node glitches in graph with magic numbers ( #8578 )
2017-09-22 09:12:01 +02:00
pancake
c09e0f3748
Fix leak in cons_setattr
2017-09-17 01:41:27 +02:00
pancake
829009a339
Revert "fix leak in cons/canvas:set_attr by strdupping everything"
...
This reverts commit 00074b3a44
.
2017-09-17 01:41:08 +02:00
Rakholiya Jenish
00074b3a44
fix leak in cons/canvas:set_attr by strdupping everything
...
fix formatting
2017-09-15 14:32:07 +08:00
Rakholiya Jenish
11e13f1c95
Fix node and edge overlapping issue in graph mode ( #7948 )
...
* initial work on fixing overlapping issues in graph mode
* better vertical gap calculation and minor fixes
* fix backedges overlapping issue
* fix backedge height and remove unnecessary functions
* horizontal graph
* add edge info for update graph size
graph size for horizontal layout
* fix leaks in agraph_print_edges
2017-09-12 15:41:30 +02:00
Fangrui Song
63731e9e81
Add help for ~:[s]-[e] show lines s-e & fix #8164 recursive help ( #8474 )
...
* Move r_core_cmd_help features to grep.c:r_cons_cmd_help to avoid dependency on r_core from r_cons
* Beautify r_cons_cmd_help & fix wp? & p?
* Fix #8164 recursive help (and add partial support for ??* ???*) & NULL terminate fz? Sl? Sr?
The support for ???* is partial because the current ad-hoc command
parser is obscure and hard to extend.
2017-09-12 11:05:24 +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
pancake
4ab226a91b
Fix #8340 - shift-tab in V! is working again
2017-08-27 19:31:30 +02:00
alvarofe
d4ee6f6e95
Fix crash due to freeing memory not allocated
...
This is not the right solution though
2017-08-27 00:56:12 +02:00
Fangrui Song
4721f6760e
Fix a leak on r_cons_instance.grep.str ( #8324 )
2017-08-26 19:46:05 +02:00
Giovanni
3851e7ea20
13 coverity bugs fixed. ( #8303 )
...
* 1372431 Unused value
* 1372425 Unused value
* 1372412 Dereference before null check
* 1372410/1372409 Resource leak
* 1372400 Dereference before null check
* 1372391/1372398 Resource leak
* 1372397 Dereference before null check
* 1372394 Resource leak
* 1372390 Dereference before null check
* 1372379 Dereference before null check
* 1372304 Resource leak
* 1372298: Out-of-bounds read & 1355090: Untrusted array index read
* 1372290 Dereference null return value
* 1372283 Missing break in switch
* fixed mistake.
2017-08-24 13:31:27 +02:00
pancake
fd7dfad154
More fixes
2017-08-19 17:16:54 +02:00
Fangrui Song
a82a239275
Fix leaks in rcons and annotated hexdump
2017-08-13 14:01:00 +02:00
pancake
59a94ae59f
Fix #8084 - Honor colors in json_indent ~{}
2017-08-11 12:23:57 +02:00
Fangrui Song
27e8ead3a5
Fix a few warnings ( #8144 )
2017-08-08 11:34:53 +02:00
pancake
dde903aa7b
Honor bin.dbginfo for DEX (~20% speedup loading times)
2017-07-24 01:35:33 +02:00
Fangrui Song
6cf72a3747
Fix r_line_readchar_utf8 ( #7971 )
2017-07-21 16:40:04 +02:00
pancake
abe9e015fa
Another fix to make nonsandboxed webserver happy with html
2017-07-20 15:51:00 +02:00
pancake
3a114bee0c
Fix http server without sandbox
2017-07-20 15:48:26 +02:00
pancake
b29f204049
Html filtering on string buffers to avoid sandboxing issues in the http server
2017-07-20 15:36:49 +02:00
Marc
80d4b44b2e
Fix random code style issues
2017-07-13 00:46:27 +02:00
pancake
ee6c373bfc
Fix x~?? -> shows only the help, not the output of the command
2017-07-10 01:23:27 +02:00
Khairul Azhar Kasmiran
9be5c81c50
scr.breaklines: Break lines in Visual mode instead of truncating them ( #7888 )
...
* Fix #3731 - scr.breaklines: Break lines in Visual mode instead of truncating them
* Fix jk scrolling
2017-07-09 12:35:11 +02:00
SkUaTeR
c31d81da26
support for static build ( #7822 )
...
* support for static build
* improved sharard/static build
2017-06-28 22:54:40 +02:00
Lowly Worm
ab77303b32
add alt+backspace and modularize ^w to use unix_word_rubout ( #7794 )
...
* add alt+backspace and modularize ^w to use unix_word_rubout
2017-06-20 23:02:32 -07: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
xarkes
675fa9b9ff
Windows fixes and fix graph tests
2017-06-16 21:18:50 +02:00
xarkes
1b0497cb0b
Fixed windows segfault
2017-06-15 14:11:50 +08:00
pancake
cd33acbd51
Implement !- and !-* commands to clear command history
2017-06-14 17:31:57 +02:00
Francesco Tamagni
4eab2a8553
Fix CID 1368158 ( #7731 )
...
by keeping the ap argument read-only and use a copy instead, so both copies can be safely ended before returning
2017-06-13 13:45:16 +02:00
pancake
f62df0d745
Add flow2 to all color themes
2017-06-13 10:38:38 +02:00
pancake
fef6618c29
More fixes for the white theme
2017-06-13 10:08:50 +02:00
pancake
966b6475c4
Fix warnings in rcons and update www-m
2017-06-12 17:20:34 +02:00
Francesco Tamagni
c17c725ebb
Fix crash in r_cons_printf_list and simplify logic ( #7725 )
2017-06-12 12:38:00 +02:00
pancake
54150fa3db
Fix last covs
2017-06-12 11:28:54 +02:00
Andry
f81e0a7fdb
grep functions refactoring ( #7672 )
2017-06-10 12:39:04 +02:00
pancake
90ffb5463d
Fix graph lines colors in the white theme
2017-06-01 02:58:59 +02:00
SkUaTeR
dc7914644e
Meson improvements
2017-05-31 13:38:47 +02:00
SkUaTeR
0596c1c08e
Meson shlr libs
2017-05-30 18:38:19 +02:00
pancake
f8373b46d6
More null termination in rcons
2017-05-30 11:01:33 +02:00
pancake
5687da18f9
Fix #7383 - Case insensitive grep with ~+
2017-05-29 02:52:53 +02:00
pancake
c506c8ebd7
Fix help messages in eco white
2017-05-23 03:00:21 +02:00
pancake
74971add35
Honor MMX and SSE op.family for x86.cs
2017-05-22 00:56:24 +02:00
pancake
0c6cd8cbc8
Better white theme for calls
2017-05-21 03:33:03 +02:00
Simone Ferrini
71de3c477d
[dietline] Fixed command history regression ( #7535 )
2017-05-20 12:40:43 +02:00
pancake
792d2e2ff2
Honor color palette in pxa
2017-05-18 11:43:26 +02:00
pancake
a4a27b64cf
Set all ec keys in the cga theme
2017-05-18 00:06:15 +02:00
pancake
0668d04488
Honor color theme in p=, add palette rainbow primitives in RCons
2017-05-18 00:01:16 +02:00
Andry
a0d25a79e4
Fix #7356 - i~{} messes up the thing ( #7385 )
2017-05-15 22:32:46 +02:00
SkUaTeR
9a1337512a
meson.build fixes to build with MSVC
2017-05-14 23:06:00 +02:00
pancake
2b4ef99e94
Fix history up issue reported by @jduck
2017-05-14 22:59:02 +02:00
pancake
02fa7b92e1
Enhance the white color theme
2017-05-13 05:28:30 +02:00
pancake
8c49c29900
Aim to fix va_copy issue in rcons
2017-05-13 03:35:01 +02:00
pancake
81f2f82cd3
Fix write(0) in radiff2 -x
2017-05-10 22:28:11 +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
pancake
60f9667654
Remove support for bjam build system
...
- Delete all Jamroot files
2017-05-02 05:48:40 +02:00
pancake
fa671b9a16
Initial support for the Meson build system
...
- Integrated with current ACR
- Fix some stale fails got removed
2017-05-02 05:05:36 +02:00
pancake
9d83647047
Aim to fix eco cga on windows
2017-04-28 23:01:37 +02:00
pancake
6db6c6c72f
Support background color in rgb mode for scr.html
2017-04-24 04:08:57 +02:00
pancake
3bb3d6a324
Use RCons.printf in RCons.history to make !~... work
2017-04-18 16:38:27 +02:00
dx
cde7747504
grep: Fix ~[x] with x higher than the total number of columns ( #7284 )
...
For example, "ii~[2]" didn't filter anything at all because the first
row only has one column
2017-04-17 13:54:16 +02:00
0x0dada
7327642241
Fix incorrect modes various .c files. ( #7287 )
2017-04-16 10:10:04 +02:00
pancake
df35e11621
Fix underflow in dietline with utf8
2017-04-11 23:00:23 +02:00
Duncan Ogilvie
7d332aaf3d
correctly handle I.buffer==NULL in r_cons_push.pop
2017-04-09 10:09:45 +02:00
pancake
2b43893eb1
Fix RCons regression causing entry0 to be printed on start
2017-04-09 00:29:44 +02:00
pancake
04304e2ca1
Fixes for rcons_push/pop
2017-04-08 00:26:28 +02:00
ewtoombs
8021e7f42f
Some refactoring and r2-indent for dietline
2017-04-04 12:31:47 +02:00
pancake
d023e33790
Fix null deref in RCons.swapGround
2017-03-30 09:51:45 +02:00
pancake
f8e2431316
Support ^A and ^E in ^R
2017-03-21 02:59:32 +01:00
pancake
b19049cdf1
Remove slurp command '<'
2017-03-19 00:29:55 +01:00
pancake
08b734ad30
Fix regression in RCons adding <br> in JSON outputs
2017-03-18 23:59:34 +01:00
xarkes
072551a8a7
Modified json indent character
2017-03-17 12:09:17 +01:00
davidpolverari
1fb422b532
Fix #6162 - Renames r_str_concat to r_str_append
2017-03-16 22:29:49 +01:00
Riccardo Schirone
6640df28ff
cons: fix typo in xvilka theme
2017-03-12 20:08:51 +01:00
SkUaTeR
542e06f656
Fix grep on windows, and json output for r2pipe on windows ( #6976 )
2017-03-10 12:38:41 +01:00
pancake
024998890b
Fix #6942 - show prompt when scr.fgets=true
2017-03-08 23:36:45 +01:00
pancake
4bbc73a0e2
Fix #6818 - json indent ~{} honors scr.color
...
- Cannot configure the color palette
2017-02-20 02:32:58 +01:00
pancake
25967a0b5a
Fix regression in scr.html
2017-02-17 04:07:01 +01:00
ITAYC0HEN
ea71fae6ee
Add to html output and fix <br /> ( #6780 )
...
e scr.html=true doesn't print spaces as and thus it looks messy because the maximum spaces sequence allowed in html is 1.
Therefore we should change every space to .
In addition, fix a problem with <br /> printing, \n (a new line) was printed instead and it doesn't consider as line-break in some editors. Therefore now it avoids printing new line and prints <br /> instead.
2017-02-14 12:08:49 +01:00
pancake
4bf5c94bf6
More optimizations for RConsCanvas
2017-02-13 01:31:43 +01:00
pancake
ea5740da57
Optimize prefixline in cons/canvas
2017-02-13 00:58:25 +01:00
SchumBlubBlub
6c00c9e2d5
Reorganize string macros
2017-02-06 00:00:03 +01:00
pancake
ef233e2bd5
Fix function signature casting issues
2017-01-29 23:05:02 +01:00
Álvaro Felipe Melchor
f8a5f88440
Fix #6564 - agf can be stopped
2017-01-28 13:33:01 +01:00
leberus
800379c475
Try to fix #6579 ( #6589 )
2017-01-27 10:06:31 +01:00
Giovanni
6f0f1ffd2d
Fixed newline color issue on windows
2017-01-25 23:27:12 +01:00
pancake
b65403abb4
More glitchfixing for disasm
2017-01-24 11:36:02 +01:00
pancake
d619c6039f
Fix undefined behaviour in pd with emustr
2017-01-23 22:42:27 +01:00
pancake
41602c4212
Fix android build
2017-01-18 13:46:39 +01:00
pancake
a3a42aa982
Implement RCons.jsonpath.grep via ~{json-path}
2017-01-17 13:38:42 +01:00
pancake
fb163cf1bf
Implement ~... RCons.hud grep style
2017-01-17 13:12:27 +01:00
pancake
b46fa51f9c
Colorize backward lines with pal.flow2
2017-01-16 00:41:31 +01:00
pancake
fa26f1f2cc
Add experimental horizontal layout and diagonal lines via graph.linemode/layout
2017-01-14 01:14:50 +01:00
pancake
5953145229
Fix #6474 - underflow index in visual hud prompt
2017-01-10 14:07:18 +01:00
Moritz Eckert
4f9454a790
Call var_end in case of an early return ( #6408 )
2016-12-31 17:22:59 +01:00
pancake
91c52cb613
Fix crash in rcons with palloc
2016-12-29 19:20:33 +01:00
Álvaro Felipe Melchor
add4718a93
added new API r_cons_printf_list
2016-12-28 15:30:45 +01:00
Anton Kochkov
e20ac7a139
Fix some more coverities
2016-12-22 00:21:11 +03:00
Álvaro Felipe Melchor
224b3c3319
fix some coverities
2016-12-18 23:41:55 +01:00
pancake
da218c993c
Fix #6038 - Autocomplete issue after @
2016-12-18 01:05:34 +01:00
pancake
15c10b2bdc
Implement scr.break (word)
2016-12-17 10:42:15 +01:00
pancake
ce59e5f6a1
Fix #6070 - Implement anal.timeout
2016-12-12 23:57:04 +01:00
Álvaro Felipe Melchor
234a3ca5fc
clean up the code coding style mainly
2016-12-12 20:23:11 +01:00
pancake
c2602a6732
Fix #6142 - Implement ~?. to count chars instead of lines
2016-11-23 12:52:36 +01:00
pancake
795066aa5e
Fix #6236 - > ~/foo
2016-11-22 00:28:15 +01:00
Álvaro Felipe Melchor
87724384d1
added r_cons_break_{push/pop} to handle ^C better
...
Besides an UAF has been fixed afecting only ELF
2016-11-21 16:56:12 +01:00
Álvaro Felipe Melchor
e14b2a37d6
fix r_cons_get_buffer to avoid return trash
2016-11-18 13:14:57 +01:00
Álvaro Felipe Melchor
91b67d90b6
fix null dereference
2016-11-18 13:14:56 +01:00
Álvaro Felipe Melchor
e97c2cf55e
rcons.push/pop rcore.cmd_str
2016-11-18 13:14:52 +01:00
jvoisin
8c1a3dca93
Document the ~[i,j,k,l]
syntax
2016-11-18 02:04:51 +01:00
SkUaTeR
6e5e4fa40c
Fix windows visualmode ( #6207 )
...
* fix r_cons_w32_printf to avoid print \r
2016-11-17 12:04:00 +01:00
pancake
26e9c4feac
Only scr.linesleep when in sandbox-free interactive
2016-11-16 03:02:50 +01:00
Álvaro Felipe Melchor
3222447eab
Fix warnings when compiling in linux
2016-11-08 01:58:07 +01:00
Álvaro Felipe Melchor
00b0f8fb0e
Update focus theme and fix crash when switching themes
2016-11-07 18:38:45 +01:00
pancake
61102d2643
Fix #524 - grep count (~?) returns a value
2016-11-04 04:45:35 +01:00
pancake
2e090ed750
Complete the xvilka theme
2016-11-04 04:22:43 +01:00
pancake
836c885199
Enhance the white theme
2016-11-04 04:11:21 +01:00
pancake
02d064b1d4
Add asm.capitalize option
2016-11-04 03:56:42 +01:00
Álvaro Felipe Melchor
b478d3d757
Fix #6047 - underflow in prompt
2016-10-27 19:42:55 +02:00
pancake
ffc74163b4
Fix div by zero with scr.pagesize and matrix theme
2016-10-27 04:45:39 +02:00
pancake
05bdb884a1
Ansify+update rasta and white themes
2016-10-27 04:22:09 +02:00
pancake
ae41db5a3d
Fix dark theme and add new theme CGA
2016-10-27 03:55:27 +02:00
pancake
d2b2314b1b
Make the lima and pink themes look as lima and pink
2016-10-27 03:09:51 +02:00
pancake
22e024d5de
Implement scr.linesleep and scr.pagesize for fancier demo output
2016-10-26 23:04:55 +02:00
pancake
8b8151d12e
Fix latest covs
2016-10-26 11:25:50 +02:00
Álvaro Felipe Melchor
046cc2532c
specify row to start sorting with ~$[n]
2016-10-25 14:37:57 +02:00
pancake
0e5f39e4ae
Implement inverse sort order and fix regression
2016-10-25 12:39:36 +02:00
pancake
d45999d10e
Implement column sorting in RCons.grep
2016-10-25 12:03:55 +02:00
pancake
02950398a9
Add utf8 rune support for RCons.canvas
2016-10-21 01:24:40 +02:00
pancake
7a1b6871d9
Fix a bunch of outstanding coverities
2016-10-20 14:11:02 +02:00
Álvaro Felipe Melchor
34a49f094c
Fix #3546 - Enhanced support for RCons line grep
...
Now ~: operator support ranges and negative values
~:-1 show last line
~:-2 show line before the last one
~:..3 same as ~:0..3
~:2..8 show lines from 2 to 8
~:2.. show lines from 2 to the end
2016-10-19 18:50:05 +02:00
Álvaro Felipe Melchor
e3e31c51c7
clean I.buffer when r_cons_push to avoid trash
2016-10-19 13:39:05 +02:00
Álvaro Felipe Melchor
a5db0d9486
clean up cons grep
2016-10-19 13:39:05 +02:00
Álvaro Felipe Melchor
258e12fdd8
Fix oob write when r_cons_pop
2016-10-19 02:09:14 +02:00
Álvaro Felipe Melchor
267d804741
Fix regression
2016-10-19 00:36:14 +02:00
Á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