GustavoLCR
407121f6da
Fix selecting text on Windows ##cons ( #17303 )
...
* Use Shift key to allow for text selection
2020-07-20 14:23:13 +08:00
Riccardo Schirone
594b940b7c
Fixes some of the issues in Travis ( #17267 )
...
* Do not check with r_return_ if the convention is present
Let's just assume the NULL default in such a case, so that architectures
for which we don't have a defined calling convention can still be
processed somehow by the analysis code. It won't be precise, but it's
better than nothing.
Also add a warning message so users are aware when the calling
convention is not defined.
* Fix oob-read when # is at the end of the cmd string
* Do not set TMPDIR when the new value is the empty string
When TMPDIR is set to empty value, clang+ld behaves in weird ways and
you cannot compile files from within the r2 shell (e.g. when using #!c
or #!cpipe)
* Use meson and add -lasan to pkgconfig files when sanitizer are used
2020-07-16 20:47:30 +08:00
Alexis Ehret
ad20ed47bd
Fix buffer overflow #17122 ( #17152 )
2020-06-29 09:28:35 +02:00
Riccardo Schirone
08cd3c62e3
Fix r_cons_yesno. Key variable was never changed ( #17101 )
2020-06-19 00:16:30 +08:00
pancake
bd9a604a87
Check for return values in about ~50 method calls ( #17025 )
2020-06-15 11:24:43 +02:00
pancake
160fc95e66
Use (void) instead of () in function signatures ( #17026 ) ##refactoring
...
* Use (void) instead of () in function signatures
* Add test to avoid further contributions to commit the same mistake
2020-06-14 16:08:32 +02:00
Anton Kochkov
ffe743ef39
Fix #4056 - rename DEPS to R2DEPS ##build ( #17020 )
...
* Rename DEPS to R2DEPS
* Cleanup of sys/build.sh
2020-06-12 10:49:28 +08:00
Khairul Azhar Kasmiran
1fef151d37
r_cons: Save and restore the active code page on Windows ( #16998 )
...
* r_cons: Save and restore the active code page on Windows
* Use r_sys_cmdf() instead
2020-06-03 18:54:55 +08:00
GustavoLCR
9f40bfae6d
Fix prompt bug on Windows ( #16981 )
...
Fixes line wrapping causing prompt to descend every keypress
2020-06-03 12:48:07 +08:00
pancake
fc4aaa9c46
Fix an oobread when pressing the backspace in the r2 shell ( #16844 )
...
* Regression inrtoduced when moving from int to size_t in r_str_utf8_charsize_prev
str.c:2043:8: runtime error: addition of unsigned offset to 0x00010c7de67f overflowed to 0x00010c7de67e
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior str.c:2043:8 in
2020-05-18 15:51:52 +02:00
Khairul Azhar Kasmiran
2a4cc154f6
Prevent flicker in Visual mode on mintty when holding down PgUp/PgDn ( #16780 )
2020-05-07 19:37:14 -05:00
GustavoLCR
3142e60e8c
Fix #11808 - Fix -0
mode on Windows ( #16772 )
2020-05-06 11:58:48 +08:00
Khairul Azhar Kasmiran
ccab2eb393
When getting terminal size on mintty, reuse prev vals if rows=0 ( #16769 )##cons
2020-05-06 00:30:47 +02:00
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 38b61c7bcfe55a727b9c3cedbc0f3147018e7c6b.
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 39b40cdedd48ac0745a0a5f2df379132ee1005ef.
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