Commit Graph

1226 Commits

Author SHA1 Message Date
Riccardo Schirone
79bee09fc3 Use g->x and g->y to rebase x/y got with r_str_str_xy
* Use RVector instead of RPVector
* Use RAGraph instead of the fixed core->agraph which may be wrong
* Fix infinite loop and remove unused functions
2020-05-03 17:33:36 +02:00
pancake
4b0e25caeb Implement findNextWord in the interactive Visual Graph ##graph 2020-05-03 17:33:36 +02:00
Khairul Azhar Kasmiran
8484a1b103
Fix some remaining issues of #16747 (#16760)
* Fix mintty issue with mouse clicks/scroll wheel after quit

* Fix alacritty issue with stty
2020-05-03 22:06:50 +08:00
GustavoLCR
153de56173
Add VT sequences input support ##windows (#16747)
* Add VT sequences input support ##windows

* Fix radare2 immediately exiting when console is redirected to pipe
* Hack to get viewport size under MinTTY
* Fix mouse when VT input disabled and buffer scrolled
* Fix line wrapping when VT output disabled

* Fix build on VS2017

* Fix for comments

* fix some weirdness

* Fix losing echo after exiting
2020-05-03 17:31:52 +08:00
pancake
9079a7bd96
Fix #15978 - segfault when using r2pipe webserver + local visual (#16508) 2020-04-11 01:57:39 +02:00
Liumeo
75bc5ec905
y already >=0 (#16512) 2020-04-10 09:02:35 +02:00
pancake
d95befca7a
Fix #16233 - ~{} works on colorized JSONs ##json (#16425)
* Fix #16233 - ~{} works on colorized JSONs ##json
* Fix issue in json_indent
2020-04-06 16:08:47 +08:00
radare
3f77b9a76b
Avoid duplicated module filenames to fix static.sh ##build (#16403) 2020-04-02 14:30:27 +02:00
Florian Märkl
0b5e78e923
Make size arg of r_file_slurp() size_t (#16221) 2020-03-15 23:34:38 +01:00
pancake
a56d67cd52 Fix #16192 - segfault in qwert^a^x 2020-03-12 12:08:28 +01:00
radare
72093ac706
Fix #16138 - Do not preincrement when it's not necessary (#16151) 2020-03-05 19:06:59 +01:00
pancake
bb78ef3457 Drop the reset attributes on newlines 2020-03-04 02:10:07 +01:00
radare
33f2e9bed6
Fix again the EOL bgcolor issue (and improve scr.html) (#16120) ##cons 2020-03-04 00:09:12 +01:00
radare
5e629a3260
Avoidify the strTrim() APIs + cleanup/refactor ##util (#16056) 2020-03-02 21:39:37 +01:00
Paul I
0e62dda341
Fix fgets() usage (#16068) 2020-02-29 20:47:10 +01:00
radare
12495ec098
Fix #16063 - bgcolor not reset on newlines ##cons (#16064) 2020-02-28 11:34:36 +01:00
Florian Märkl
204e038211
Fix r_cons_rgb_parse() harder (#16061)
Also fix init of some ret args in r_meta_print()
2020-02-27 20:13:34 +01:00
Anton Kochkov
9ae41ae69f
Revert "Avoidify the RUtil.strTrim() APIs, rename trimHeadTail() and add asserts in RConfig ##refactor" (#16055)
This reverts commit 38b61c7bcf.
2020-02-26 09:59:04 +08:00
radare
38b61c7bcf
Avoidify the RUtil.strTrim() APIs, rename trimHeadTail() and add asserts in RConfig ##refactor 2020-02-25 17:53:09 +01:00
radare
2b74ff5cda
Fix #15359 - Enable key.f# keys to be used in the shell ##cons 2020-02-23 11:55:54 +01:00
pancake
560c59c848 Fix ASAN segfault in RCons.rgbParse() 2020-02-18 01:04:08 +01:00
Khairul Kasmiran
78e21373be Revert "ONE_STREAM_HACK & scr.onestream: Force expected ONE_STREAM order if necessary (#15535)"
This reverts commit 39b40cdedd.
2020-02-17 00:00:46 +01:00
pancake
446727b1f8 Improve the gentoo theme ##cons 2020-02-11 00:49:40 +01:00
Vane11ope
2d7f7e4e6d
Fix a bug on clicking in panels (on Mac and Linux) ##panels 2020-02-06 00:19:33 +01:00
radare
1ac6209c88
Fix #14424 - Handle ~ operator in the ms shell ##cons (#15846) 2020-01-19 07:40:21 +01:00
Anton Kochkov
b4de5c5113 Some more coverity fixes (#15802) 2020-01-14 12:57:34 +01:00
Anton Kochkov
f3a0a3d01c Some coverity fixes 2020-01-10 12:30:23 +01:00
Vane11ope
45fec159c5
fix some crashes of the widget (#15694)
fix some crashes of the widget
2019-12-21 06:57:29 +09:00
GustavoLCR
07b5e062f2 Fix #15545 - Fix NULL derefs after r_file_slurp() fails 2019-12-15 23:38:38 +01:00
Anton Kochkov
e11b2a9145
Some Coverity defect fixes (#15626) 2019-12-13 11:25:19 -06:00
GustavoLCR
e43c9e7caf Fix some warnings (#15549) 2019-12-08 12:49:58 +01:00
GustavoLCR
54c8929a3c Fix #14197 - Don't highlight control chars on hud filter (#15552) ##cons 2019-12-07 20:33:38 +01:00
Khairul Azhar Kasmiran
39b40cdedd
ONE_STREAM_HACK & scr.onestream: Force expected ONE_STREAM order if necessary (#15535) 2019-12-02 23:09:38 +08:00
karliss
00a890f4f2 Include last line when greping using foo~n.. (#15524) ##cons 2019-11-29 10:47:23 +01:00
MNayer
f4bd6bce0b Fix anal.timeout calculation in r_cons_break_timeout (#15490) 2019-11-23 21:53:44 +01:00
dok
34e4bd7291 Use sigaction instead of signal ##core 2019-11-06 12:41:36 +01:00
GustavoLCR
4716e50572 Fix #15407 - Fix using unexpected ACP for input on Windows (#15408) 2019-11-04 00:36:20 -06:00
GustavoLCR
5da7f2476c Fix double-free in canvas.c (#15379) 2019-10-29 10:24:09 +01:00
radare
583687dcd9
Fix function key handling in visual/panels ##cons (#15345) 2019-10-24 02:21:20 +02:00
GustavoLCR
92bbe968b2 Kill r_sys_get_osinfo () (#15346) 2019-10-24 02:20:57 +02:00
Florian Märkl
aad2a2c79e Link sdb fully into r_util in meson (#15338) ##build 2019-10-23 15:52:19 +02:00
Khairul Azhar Kasmiran
184a67abac For utf-8 locale, check LC_ALL, LC_CTYPE and LANG in sequence instead (#15326) ##cons 2019-10-22 19:21:20 +02:00
Florian Märkl
80c74d7aa7 Replace r_str_const* with RStrConstPool (#15300)
* Add RStrConstPool

* Replace RAnal.consts with RStrConstPool

* Remove useless r_str_const() calls

* Kill more r_str_const()

* Remove r_str_const() from Java

* Remove r_str_const() from Canvas

* Remove r_str_const() from mach0

* Remove r_str_const() from PE

* Kill r_str_const* completely
2019-10-20 12:31:45 +02:00
GustavoLCR
73d555dbed Also use LANG env var to check for UTF-8 output support (#15257) ##cons 2019-10-16 12:12:26 +02:00
GustavoLCR
50174972fd Move UTF-8 setting logic to scr.utf8 config callback on Windows (#15273) ##cons 2019-10-16 12:11:52 +02:00
GustavoLCR
bf15aa7a4e Fix #15267 - Fix jump shortcuts on Windows (#15270)
* Revert " Fix #12921 - Impl. r_cons_arrow_to_hjkl for Windows ##cons"

This reverts commit 7f86ef243c.

This fixes #15267

* Re-Fix #12921 - Impl. r_cons_arrow_to_hjkl for Windows

This time only translate arrows in the function.

This is so that __cons_readchar_w32 does not return inputs that we are
not interested in that caused the #15267 regression.
2019-10-14 12:47:17 +02:00
neuracr
d561a59a03 Fix #15222 (#15236) - inverse page up/down in popup widget 2019-10-10 04:44:34 +02:00
pancake
94ed5c2c7d FIx warnings with latest GCC on GNU/Linux 2019-10-08 17:42:39 +02:00
GustavoLCR
006d4716df
Fix missing return statement in dietline.c
In r_line_readchar_utf8()
2019-10-06 01:40:08 -03:00
Paul I
c7828248bc Fix memleaks in r_cons_highlight() (#15172) 2019-10-03 01:41:18 +02:00