156 Commits

Author SHA1 Message Date
Lowly Worm
61f34671a6 fix heap buffer overflow in dietline autocomplete (#14984) 2019-09-08 01:05:08 +08:00
dodococo
879e4723bd Fix autocompletion popup (#14958) 2019-09-04 19:02:13 +02:00
pancake
490422ff96 Fix uninitialized variable issue related to the mouse state 2019-09-02 00:31:46 +02:00
dodococo
6f5b81674f Fixes #14914: Mouse wheel for hud (#14940) ##visual 2019-09-01 16:18:37 +02:00
dodococo
9926496395 Fixes #14896: Enable and disable mouse based on requirement in visual/panels (#14909) 2019-08-27 15:44:42 +02:00
GustavoLCR
2d894471b7 Fix crash on r_line_readchar_win (#14875) 2019-08-23 12:38:54 +08:00
GustavoLCR
1964f6f4a1 Drop not needed wrapper
* Fix non-unicode Windows build virtual keys not working
2019-08-23 02:12:19 +02:00
GustavoLCR
8fef69e697 Fix arrows in vi mode on Windows 2019-08-23 02:12:19 +02:00
GustavoLCR
7416b88783 Merge Windows and Unix dietline implementation
* Simulate escape sequences in r_line_readchar_win
* Fix some bugs on Windows
* Some refactoring
2019-08-23 02:12:19 +02:00
radare
e1cf65332a
Use r_sandbox_fopen instead of fopen (#14832) 2019-08-18 17:19:53 +02:00
dodococo
2b1e53b9c7 Fix #14522: Added g support for Vv mode (#14823) 2019-08-18 12:58:54 +02:00
GustavoLCR
b1879aed6c Fixes for path autocompletion on Windows (#14813) 2019-08-16 11:39:31 +08:00
pancake
ebb8374b01 Fix scrolling directions in the hud ##cons 2019-07-30 02:15:22 +02:00
Deepak Chethan
e45a16456f Fixes #14652: Fixes visual hud regressions 2019-07-28 01:32:17 +02:00
dodococo
4add3867a1 All emacs dietline keybindings are implemented (#14664) 2019-07-27 15:40:52 +08:00
dodococo
aa50013606 Fix #11396: Integrate dietline with the hud ##cons (#14565)
* Added support for esc, pag up, pag dwn
* Added vi mode, changed quit method for hud
* Added ^C for vi mode
2019-07-18 03:19:39 +02:00
dodococo
6addc9e83c Fixes #14524: vi delete command is now 3dw (#14527)
* Fixed dietline warnings
* Changed logic for diw/diW
* Fixes #14524: changed vi delete command format to 3dw from d3w
* Removed unnessary print
* ESC key handled in vi_mode
* Fixes #14521: Add support for ^y when ^w
2019-07-10 12:27:16 +08:00
dodococo
d5e7cef6e4 Fix #9269 - Initial Implementation of vi mode ##cons
* Fix #14470: Close popup widget on escape
* Fix #6321: Wrong handling of escape key
2019-07-09 10:52:02 +02:00
Khairul Azhar Kasmiran
3aed0e88d5 Default to scr.color=COLOR_MODE_16 for Alacritty on Windows ##cons 2019-05-27 18:21:17 +02:00
Khairul Azhar Kasmiran
4bd044b116 Use r_cons_win_printf instead in dietline.c (#14127) 2019-05-21 15:53:39 +02:00
GustavoLCR
2473b322f5 Fix selection widget on Windows (#14118) 2019-05-21 02:24:07 +02:00
Khairul Azhar Kasmiran
313de87029 Fix 786af1fd8a977d2eeebef0af8ecbe38570305f3e
It apparently was causing strange keyboard behaviour and crashing Windows.
2019-05-20 11:16:51 +08:00
Khairul Azhar Kasmiran
786af1fd8a Use r_cons_w32_printf instead in dietline.c (#14105) 2019-05-19 16:43:28 +02:00
Khairul Azhar Kasmiran
41912af495 Enable color prompt on Windows ##cons (#14102) 2019-05-19 11:12:34 +02:00
pancake
123efe1b91 Fix bug in autocompletion of arguments with scr.prompt.popup ##cons 2019-05-15 01:13:42 +02:00
dodococo
f3e4d0239e Fix clear screen issues in the autocompletion widget in the prompt ##cons 2019-05-13 22:35:35 +02:00
dodococo
d1147cf087 Initial RLine autocompletion using the popup widget (e scr.prompt.popup) ##cons (#14037) 2019-05-13 16:17:05 +02:00
GustavoLCR
d4190e61a5 Fix warnings on Windows (#13954) 2019-05-05 01:11:12 +03:00
xermicus
557e43b969 enable ctrl-r to perform backward search 2019-05-03 07:29:19 +03:00
xermicus
406cf7bfc8 fix up/down array backward search 2019-05-03 07:29:19 +03:00
Florian Märkl
eaf2b6f2e3 Decouple Autocompletion from RLine 2019-04-25 19:01:12 +02:00
Florian Märkl
838f637ad2 Use RPVector in RLineAutocompletion ##cons
* Use RPVector in RLineAutocompletion
* Fix argc+argv init and clear in RLineCompletion
* Minor changes for RLineCompletion
* Check for completion
* Make r_line_completion_set_weak use argc+argv
* Use only RPVector in RLineCompletion
* Reserve in r_line_completion_set
* Add r_pvector_data() and r_pvector_index_ptr()
* Remove r_pvector_set_free()
2019-04-25 01:58:17 +02:00
pancake
c9f994e530 Fix naming of the public RLine autocompletion callbacks 2019-04-24 14:59:26 +02:00
GustavoLCR
3fba693b91 Add support for UTF console input in Windows (#13338) ##windows
* Add support for UTF console input in Windows
* Convert ANSI input to UTF-8
* Convert UTF-8 to acp when calling ANSI version of functions
* Determine if Windows console output is UTF-8 on the fly
2019-03-18 16:05:38 +08:00
Anton Kochkov
bb67b54f74
Remove CYGWIN & MINGW remnants (#13377) 2019-03-15 12:55:08 +08:00
pancake
0a7643c585 Fix some ASAN issues found randomly 2019-02-09 11:10:27 +01:00
Florian Märkl
f80a47ab60 Move Palette to RConsContext to make RCoreTask less racy ##cons 2019-01-18 11:58:49 +01:00
radare
c98136300d
Fix #12667 - Fix heap overflow in RCons.grep ##cons 2019-01-07 16:08:54 +01:00
dav1901
8b83d03c99 Minor code cleanups free/R_FREE (#12145) 2018-11-13 23:41:28 +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
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
SkUaTeR
1854ced042 Fix for issue #11024 (#11055) 2018-08-12 20:27:05 +02:00
pancake
afda57061c Show error when VA instructions cant be assembled 2018-08-09 16:32:11 +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
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
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
ad75f08a48 Add file completion to V! > open file 2018-07-10 10:33:28 +02:00