radare
73f76a99b2
Make RCons.is_interactive() into the RConsContext and improve loading projects in tasks ##cons ( #13132 )
2019-02-18 06:20:01 +01:00
pancake
0a7643c585
Fix some ASAN issues found randomly
2019-02-09 11:10:27 +01:00
Khairul Kasmiran
c7791ab29e
r_cons_singleton() -> r_cons_singleton ()
2019-02-07 18:07:37 +08:00
radare
be141c1c03
Avoid big writes in a single syscall ##cons
2019-02-03 12:05:04 -06:00
GustavoLCR
eecaf9d946
Fix env. vars. not being parsed in !! in Windows ( #12956 )
2019-01-31 13:39:32 -06:00
GustavoLCR
b9956b24bd
Fix #12925 - $ being ignored if : or [] is present in grep line ##cons
2019-01-29 13:29:12 -06:00
GustavoLCR
a81402b46c
Fix #12906 - Add support for mult. keyword highlighting in grep ##cons
2019-01-26 11:55:19 +08:00
Khairul Azhar Kasmiran
4710fd52c4
Improvements and code cleanup in util/str ##core
...
by pancake + fix from kazarmy
2019-01-19 14:11:20 +01:00
Florian Märkl
fc1bab9136
Copy pal when creating a new task ( #12835 )
2019-01-19 01:29:30 +01:00
Florian Märkl
f80a47ab60
Move Palette to RConsContext to make RCoreTask less racy ##cons
2019-01-18 11:58:49 +01:00
pancake
0087f46357
Initial implementation of visual gadgets ##visual
...
* Run any command at any position in the screen
* Crop the output of the command to avoid glitches
* Works in visual mode as well as in console
* Add support for visual gadgets in graph and panels views ##visual
* Implement pgm command to move gadgets around ##visual
2019-01-11 09:59:17 +01:00
lzutao
1365948cee
Do not use reversed keyword of meson ##build
...
`files` is a reversed keyword in meson. Try to avoid using it.
2019-01-10 14:15:50 +01:00
pancake
c74a666f61
Revert "Improvements and code cleanup in util/str ##core"
...
This reverts commit b94bb1bca7
.
2019-01-08 16:48:29 +01:00
radare
b94bb1bca7
Improvements and code cleanup in util/str ##core
2019-01-08 03:01:14 +01:00
radare
c98136300d
Fix #12667 - Fix heap overflow in RCons.grep ##cons
2019-01-07 16:08:54 +01:00
GustavoLCR
ffef4fb1be
Fix #12623 - Make Grep Highlights Case Insensitive ##visual
2019-01-07 00:23:23 +01:00
dav1901
ceeb25ce49
Minor code cleanups/fixes ( #12595 )
...
* Minor code cleanups/fixes
* use r_base64_encode_dyn
* Fix clang-analyzer warning(uninit var)
2019-01-03 00:30:06 +01:00
lzutao
9cc6d2d291
meson: Do not use glob with meson ##build
...
* meson: Explicit is better than implicit
* meson: Fix deprecated warnings in Meson 0.49.0
* meson: Do not need separate array for installed files
libr/socket/meson.build:30: DEPRECATION: Library r_socket was passed to
the "libraries" keyword argument of a previous call to generate() method
instead of first positional argument. Adding r_socket to "Requires" field,
but this is a deprecated behaviour that will change in a future version
of Meson. Please report the issue if this warning cannot be avoided in
your case.
2018-12-27 14:17:54 +01:00
radare
22de1dba2c
Fix #12397 - Colorize grep words if scr.color.grep is set ##cons
2018-12-27 06:23:10 +01:00
Florian Märkl
2462653a23
Optimize ds_align_comment() ##disasm ( #12560 )
...
* Add r_str_len_utf8_ansi() ##util
* Use r_str_len_utf8_ansi() for line len in ##disasm
* Fix delete_last_comment()
2018-12-25 19:51:06 +01:00
David CARLIER
75dfeeffc6
Various build compiler warning fixes attempts. ( #12468 )
2018-12-12 22:04:11 +01:00
dav1901
97b94b3f94
Fix more clang warnings ( #12458 )
2018-12-12 12:22:36 +01:00
dav1901
024d65e288
Fix few more clang warnings ( #12429 )
2018-12-11 10:28:01 +01:00
dav1901
d067c16266
Fix more clang-analyzer warnings ( #12427 )
2018-12-10 14:41:38 +01:00
David CARLIER
384fe0f903
Silencing/fixing clang warnings. ( #12430 )
2018-12-10 00:04:21 +01:00
dav1901
b88806f65f
Fix more clang-analyzer warnings ( #12424 )
2018-12-06 16:55:09 +01:00
pancake
5df3872b9d
Boolify r_cons_yesno()
2018-12-04 12:49:43 +01:00
David CARLIER
260a9e64cc
Couple of leak fixes, div by zero avoidance. ( #12338 )
2018-11-27 15:46:56 +01:00
lzutao
becc3000a8
Change unneeded global static vars to local static ( #12324 )
2018-11-26 23:21:19 +01:00
BlaCoiso
0b582468ef
Update output.c ( #12314 )
2018-11-25 01:47:11 +01:00
radare
d05292e485
Fix 80 warnings coming from gcc8.2 ( #12280 )
2018-11-22 22:11:43 +01:00
lzutao
5c9eb4f43b
Fix #12053 - Flushing stdin is illegal
2018-11-15 19:06:57 +01:00
lzutao
50320592a6
Fix #12060 and #12072 - Rewrite r_num_abs and r_num_units ##core
...
r_num_abs:
- Make r_num_abs static inline
- Use unsigned long long type when defining TB macro
- Use st64 instead of long long
r_num_units:
- Add len argument for buf in r_num_units
- Add PB and EB for r_num_units
- Always display one number after decimal point
* This change simplifies the code
- Use long double type as assigning from ut64 to double cause data loss
r_num_tail_base:
- Use isxdigit (fast) instead of isHexDigit (slower)
- Rename nth to get_nth_nibble
Update all functions to use with new r_num_units:
- Remove side effect when using in other functions like cb_printf
* Trim trailing .0 when input is power of 2
2018-11-14 23:35:44 +01:00
pancake
9556ebb1f9
More warning issues
2018-11-14 13:47:43 +01:00
bart1e
d0052385ee
Fix #11552 - Implemlent r_cons_more and refactor some less.c ##visual
...
* Moved functions to pager_private.h + fixed style issues
2018-11-14 13:15:50 +01:00
Artem Zinenko
4a2bc97a35
Fix #11918 - Moved r_print.h into r_util/r_print.h
2018-11-14 10:54:22 +01:00
Riccardo Schirone
f77ecfb357
Upgrade SDB and use the new HtPP, HtUP, HtUU ##refactoring
...
* sdb-sync: update to commit ea05ca8808605daa683a2b35f143e24c3a70f0c9
2018-11-14 10:47:28 +01:00
dav1901
8b83d03c99
Minor code cleanups free/R_FREE ( #12145 )
2018-11-13 23:41:28 +01:00
dav1901
9b0fbf1ee4
Minor code cleanups - free/R_FREE/etc
2018-11-13 00:23:49 +01:00
dav1901
e25a5b6222
Fix two minor memory overruns
2018-11-07 18:14:08 +01:00
gordon-quad
d2102956cd
Add support for shift-arrows in st and rxvt-unicode ##console
2018-11-02 18:44:43 +01:00
radare
35a5c42a52
Add LL command to lock screen ##visual
...
* Clear terminal backbuffer
* Password not saved in command history
* Show timestamp of last attempt
* Do a random sleep after every read to avoid time attacks
* ^Z is disabled
* Can be used from shell `r2 -qcLL --`
2018-10-31 01:52:08 +01:00
Riccardo Schirone
6080edf13b
Fix r_log when used for r_assert ( #11971 )
...
- Split r_log in r_vlog/r_log and make r_assert_log use r_vlog because it
needs to provide a va_list.
- Rename _r_internal_logging to r_log because that's a R_API function
and it needs a good name
- Make R2_CHECKS_LEVEL dependent on 'buildtype' option
- Make R_LOGLVL_WARN the default log level when in debug mode (default)
- introduce ASSERT_STDOUT macro to print assert failures to stdout
- use ASSERT_STDOUT in the Travis env with asan
- use list of callbacks in RLog instead of just one.
2018-10-29 11:48:12 +01:00
Aaron
a6725edb1f
Fix #10324 - Implement RLog API for leveled logging ##core ( #11786 )
2018-10-27 05:29:22 +02:00
radare
d174f66f95
Refactoring and optimization for the RBin.language identification ##bin ( #11944 )
...
* More code cleanup and bring back bin.reload for the debugger
* Benchmark: swift: 23/9549 rcore: 17232/37147 (2-400x faster)
* For DVIA iOS app this is 1s less
* Demangle all the symbols, not just few
2018-10-27 05:01:09 +02:00
Riccardo Schirone
c09ba158fe
sync sdb and adapt r2 codebase ( #11953 )
...
add improvements of SdbHt from sdb
2018-10-26 15:54:32 +02:00
pancake
2dac50b15f
Temporally disable the hud cache until the scroll is fixed
2018-10-26 14:03:41 +02:00
pancake
11c02de20c
Fix #11936 - Optimize RCons.hud with cache ##refactor
2018-10-26 00:58:47 +02:00
pancake
778ba010ce
Fix build and start refactor of r_cons_hud() ##refactor
2018-10-26 00:24:56 +02:00
davidpolverari
6941e5bd66
Handle ^C in RCons.less ##visual
2018-10-23 11:55:09 +02:00
pancake
a33fc03725
Fix visual panels glitch and handle 's' in zoom mode ##visual
...
* And remove dead code
2018-10-20 02:12:30 +02:00
radare
6bc3d5562f
Fix #11851 - Cursor and echo glitches in Visual ##visual
2018-10-19 13:42:38 +02:00
pancake
15ab430fdd
Fix crash in XNU when calling ttyname() on an invalid fd
2018-10-08 00:02:22 +02:00
Riccardo Schirone
e2278cc50f
sync sdb: some refactoring on how to access base SdbKv fields ( #11741 )
2018-10-05 15:21:46 +02:00
pancake
786feaa80b
Fix one crash and one assert in the graph and remove one useless warning
2018-10-04 16:12:32 +02:00
pancake
c2e447fc01
Fix last googlefuzz (direct memory leak in cb_pager)
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10576
2018-09-21 11:41:48 +02:00
radare
478dd2377a
Fix #11566 - Regression in r2 = introduced by threading and siol ( #11598 )
...
Still not perfect because stdin works, but the tty size/configuration
is not correct when reopening.
2018-09-21 00:13:19 +02:00
radare
20364845e3
Fix negative value on unsigned operation inside RCons ( #11560 )
2018-09-17 15:44:39 +02:00
radare
945e9566fb
Fix #11455 - Implement internal less pager with scr.pager=.. ( #11548 )
...
* Use full screen in r_cons_less (last line was not used before)
2018-09-17 12:15:12 +02:00
Florian Märkl
c05c85aa9f
Reimplement TCP Server with libuv and add configure/meson flags ( #11403 )
2018-09-17 12:07:00 +02:00
radare
486c61529c
Implement the "underscore command"
2018-09-16 22:50:56 +02:00
Maijin
4d12a2036c
Remove restrict keywords
2018-09-15 18:39:56 +02:00
Neven Sajko
8274d307de
Fix signature of printf-like function (pointer) types ( #11522 )
...
The type signatures have to be compatible with printf.
2018-09-15 11:41:05 +02:00
Riccardo Schirone
bd5de316be
Random fixes ( #11503 )
...
* core/panels: fix memleak
* cons: reintroduce change to correctly print multi-line help headers
2018-09-14 11:48:00 +02:00
Neven Sajko
07e1359daf
libr/cons: Fix EOT handling ( #11474 )
2018-09-13 19:44:27 +02:00
Neven Sajko
4a722e80d8
Add braces to if, else, for, while ... ( #11504 )
2018-09-13 10:17:26 +02:00
Neven Sajko
2b7990fcee
libr/cons: Fix SIGWINCH logic ( #11470 )
...
Fixes two bugs; puts pselect in a loop to enable resizing window more
than once before there is any input, and reset sigwinchFlag to zero when
resizing window.
2018-09-12 11:55:20 +02:00
pancake
f90b534a4d
Fix several bugs introduced during r2con
2018-09-10 16:33:29 +02:00
Riccardo Schirone
07bff5eb11
cons/d/xvilka: make nops a bit more visible ( #11432 )
2018-09-07 21:29:15 +08:00
ylmrx
7a2a9900a2
several inline documentation enhancements ( #11429 )
...
* - avoid the ugly lack of space between the command and its description
in the usage lines.
- avoid the confusing sections (cf. 'i?')
- prettier general help (cf. '?') -> use r_core_cmd_help instead of
r_cons_printf (#7967 )
with help and advices from jeisonwi
* - strlen() is better than sizeof()
- coding style correction.
2018-09-07 15:03:01 +02:00
xarkes
a7122b0062
Improved cutter theme ( #11412 )
2018-09-06 11:22:01 +02:00
pancake
8ddd5420d1
Fix syntax issues in white2 theme
2018-09-05 12:08:48 +02:00
Neven Sajko
b0436220dc
libr/cons: Do proper signal handling, use pselect ( #11376 )
...
Fixes async-signal-safety and changing errno within the signal handler
for SIGWINCH, which can cause crashes and maybe security issues.
For async-signal-safety make the signal handler just set a flag, which
is checked for while waiting for input (pselect).
SIGWINCH is blocked process-wide, except in pselect.
2018-09-03 23:46:13 +02:00
pancake
31e7948c28
Fix #11363 - Make ~... work with dos-style line-breaks
2018-09-03 10:37:35 +02:00
Riccardo Schirone
eee1385466
Meson private ( #11331 )
...
* meson: refactor library cflags
* meson: use visibility=hidden by default
* remove unused var
* magic/meson: replace tabs with spaces
2018-09-03 10:07:28 +02:00
Neven Sajko
d8784641ee
Add parentheses in macros where needed for safety ( #11290 )
2018-08-30 13:16:50 +02:00
Anton Kochkov
b6d8983b56
Fix #11306 - Coverity fixes
2018-08-30 12:32:46 +08:00
Vanellope
eccc36f6b2
Autocompletion is supported for setting configs such as e search.in=raw ( #11287 )
2018-08-29 10:20:31 +08:00
Fangrui Song
3f0b38873d
Reland #11181 : replace sort_attrs (insertion sort) with a single insertion ( #11201 )
2018-08-23 01:35:18 +02:00
securisec
e7028d4e84
A better version of white theme ( #11200 )
2018-08-23 00:36:24 +02:00
pancake
d2a6415556
Revert "Replace sort_attrs (insertion sort) with a single insertion ( #11181 )"
...
This reverts commit 884f057646
.
2018-08-22 13:50:35 +02:00
Fangrui Song
884f057646
Replace sort_attrs (insertion sort) with a single insertion ( #11181 )
...
Fixes #11164
2018-08-22 11:10:22 +02:00
radare
8f11d01937
Fix crash in ii~../at ( #11177 )
2018-08-22 03:29:12 +02:00
pancake
035942db81
Fix #11067 - uaf in ~
2018-08-13 16:31:42 +02:00
SkUaTeR
1854ced042
Fix for issue #11024 ( #11055 )
2018-08-12 20:27:05 +02:00
Florian Märkl
cc3c87532a
Break all tasks on exit ( #11026 )
...
* Break all tasks on exit
* null check in r_cons_context_break()
2018-08-11 16:23:27 +02:00
pancake
afda57061c
Show error when VA instructions cant be assembled
2018-08-09 16:32:11 +02:00
d4em0n
245cd0bf16
New r2 colorscheme (onedark) ( #10975 )
2018-08-07 14:05:10 +02:00
Fangrui Song
08e6ed3b78
Fix some -Wincompatible-pointer-types-discards-qualifiers warnings ( #10951 )
2018-08-07 11:50:06 +02:00
cyanpencil
18a764e94e
Fix: added pag up/down and home/end keybindings in selection widget
2018-08-07 11:06:50 +02:00
Luca Di Bartolomeo
5b75563dea
Fix: regression in visual help mode, bring back highlight ( #10943 )
2018-08-05 23:14:04 +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
cyanpencil
3fda01343d
Fix: coverities 1394583 1394582 1394447
2018-08-01 17:52:06 +02:00
cyanpencil
f3b33640d1
Adjust edge positioning if there is a graph title
...
Fix whitespace
2018-07-29 12:48:15 +08:00
cyanpencil
29955c4c0d
Add '#' key to toggle graph hints
...
Refactoring
Small fix
Fix for windows in graph.c
2018-07-29 12:48:15 +08:00
cyanpencil
169d69efd7
Different dot style for backedges
2018-07-29 12:48:15 +08:00
xarkes
79bfcd8f6e
Fixed segfault with VO ( #10829 )
2018-07-27 17:02:48 +02:00
Luca Di Bartolomeo
046af40bd2
Separate command history for sdb shell "ks" ( #10820 )
...
* Separate command history for sdb shell (ks)
* Refactor whitespace in sdbshell_history_down()
2018-07-27 10:33:46 +01:00
cyanpencil
4ac4873100
Dotted lines only for conditional jumps
...
Set graph.dotted default true + refactor in canvas_line.c
2018-07-27 02:12:50 +08:00
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