Commit Graph

424 Commits

Author SHA1 Message Date
pancake
7aa5ae27c5 Fix w32 console line limit issue, some fixes for wine console 2015-01-09 12:47:40 +01:00
pancake
c7e1fad6bc Add Vn (mini-ascii-art graph visual mode) 2015-01-09 11:39:25 +01:00
Alvaro Muñoz
e1f2b73066 fixed colors 2015-01-08 23:37:48 +01:00
Julien Nabet
164bbc7333 Some cppcheck reports fixed:
(warning) Logical disjunction always evaluates to true: regnum < 32 || regnum > 31
(style) Same expression on both sides of '||'
(style) Same expression on both sides of '&&'
(style) Expression is always false because 'else if' condition matches previous condition at line 180
2014-12-28 04:20:14 +01:00
pancake
559c2cd25a Add '!' inside '#!' and make r_core_editor accessible from r_cons_editor. 2014-12-19 03:17:28 +01:00
pancake
cace7101e5 Fix warnings in RCons and update sdb 2014-12-14 01:56:55 +01:00
Alvaro Muñoz
db09c38b9d Improve colors in webui and fix ans256 to rgb
- added fname and fdelimiters in disasm views
- fix r2 ansi256 to rgb conversion
- clean color string, no leading whitespaces, trash anything after color
2014-12-10 21:47:46 +01:00
Alvaro Muñoz
dc5da0898b Fix #1732 and #1735 - uses 'ec gui. and ai.' prefixes 2014-12-08 23:48:42 +01:00
Kamil Rytarowski
aadbd0f868 Fix GCC warnings: array subscript has type 'char'
Reported at NetBSD-current/amd64
GCC 4.8.4 (nb1 20141012)
2014-12-04 03:26:08 +00:00
pancake
20925abb7f Fix all latest COVs and avoid use of tabs in i 2014-12-03 13:15:07 +01:00
pancake
123c9a87d0 Fix echo | r2 - infinite loop 2014-12-03 02:52:56 +01:00
Judge_Dredd
d4164af4ce fix history up/down bug (issue #1751) 2014-11-28 13:07:45 +01:00
pancake
f9fa0e5536 Fix ^C issue with nullcmd repeat issue (reported by @jfrankowski) 2014-11-24 03:10:29 +01:00
pancake
4762795c87 Fix static build 2014-11-23 11:03:24 +01:00
pancake
af94293214 Fix static linkage 2014-11-22 02:26:30 +01:00
pancake
23776435a2 Fix #1714 - Add ~{} and ~{}.. RCons filters for JSON indentation 2014-11-22 01:51:51 +01:00
pancake
f37246d3d8 Fix reverse RGB parser (fixes ecj issues) 2014-11-21 14:43:14 +01:00
Anton Kochkov
bede18046e Fix win32 build on CI 2014-11-20 16:52:33 +03:00
pancake
e86e3747d7 Handle emacs keys ^f and ^b in dietline too 2014-11-20 02:11:00 +01:00
pancake
4e2f55d374 Implement emacs keybindings for Visual mode (thanks jonatanhal) 2014-11-20 01:40:33 +01:00
pancake
68f9d00e01 Implement 'ecj' to show color configuration in JSON 2014-11-19 23:23:35 +01:00
pancake
5e236429c7 Implement ^Z in RCons for prompt and visual modes (unix only) 2014-11-19 22:25:17 +01:00
pancake
417cab4f93 Some more fixes for the disasm 2014-11-13 03:59:51 +01:00
pancake
6d4529ffbf Add core.anal plugin a2f command. Fix a bug in x86.cs, align comments at right 2014-11-13 03:36:48 +01:00
pancake
954ee2d607 Fix #1563 - Display bug on izz | more and izz |less 2014-11-10 05:39:17 +01:00
Henrik Nordstrom
5c5114c542 cons: Simplify buffer management slightly in r_cons_printf
there is no need to check twice if the buffer is full.

In additition the first check (deleted) has an off by one error.
2014-11-03 02:25:22 +01:00
pancake
211688f537 Handle bp.cmd and RBreakpointItem->cmd in RDebugContinue (bps and traces)
- Add scr.echo
2014-10-30 22:58:51 +01:00
pancake
b91d1d9eca Fix #1556 - radiff2 -x dump issue 2014-10-28 11:54:58 +01:00
pancake
8c49c1f10d Add palete colors for address info numbers in pxw/pxq 2014-10-27 11:55:52 +01:00
pancake
8b7d4b033c Add smyck theme 2014-10-21 00:08:43 +02:00
pancake
bd14b08ba0 Add zenburn theme 2014-10-17 15:23:05 +02:00
pancake
757ae729c6 Added 'twilight' theme 2014-10-17 10:20:08 +02:00
pancake
859daf9a5b Add consonance and tango themes. Add asm.flaginbytes
* invalid instruction color is now configurable
* fixed SAR as unknown instruction issue
* Bring back dead code to render flags between the offset and opcode
* Fixes for the rasta and solarized themes
2014-10-16 01:51:48 +02:00
pancake
49e4abc2ca Add solarized theme 2014-10-15 23:35:51 +02:00
pancake
2ac80c7c6a Add chunked search /+ and enhace visual mode |=
* | sets cmd.cprompt
* = sets cmd.vprompt
* var names are a bit confusing, we should find better names
* Better highlight
* Fixed column in visual
* scr.colpos has been deprecated, now uses hex.cols
* Initial implementation of a chunked search /+
2014-10-06 02:36:22 +02:00
pancake
4249664dd4 Fix block cursor problems and temporal cursor seek in visual+prompt 2014-10-01 19:00:06 +02:00
pancake
e3ef5f652c Fix scr.highlight on !OSX 2014-09-28 03:53:59 +02:00
pancake
9496ed2e05 More highlight fixes 2014-09-27 04:05:27 +02:00
pancake
7d8159a2e1 Fix crash in RCons.highlight 2014-09-27 03:51:04 +02:00
pancake
cde83cfd0c Add many experimental enhancements for the visual debugger
- V@ is an alias to set cmd.vprompt
- New config variables!
  stack.size = size of stack displayed in Vpp
  stack.delta = substract that delta to the stack address
  stack.anotated = use pxa instead of pxw
  scr.highlight = word to highlight by RCons
  hex.flagsz = override flag size in pxa
- Fix x86 udis anal plugin size of invalid instructions
- Fix 'hud file not found' issue
- Add 'Vdh' to set scr.highlight
- Fix V: wheel scroll issue
- Realign pxa marks if addr > UT32_MAX
- Set hex.flagsz = 9999 to cover the whole area instead of just 1 byte
2014-09-27 03:48:54 +02:00
pancake
a18f7819d9 Fix the support for 0x0 sized terminals (adb shell) 2014-09-24 03:17:43 +02:00
pancake
342ff7ba4f Bring back the anal vars (wip), Fix Vvg, and VJK with screen boundaries 2014-09-22 13:45:36 +02:00
condret
effa16c871 add new color-profile: focus 2014-09-17 01:52:30 +02:00
deeso
c185ca44c8 Fixed a bug that did not correctly restart va_* after reallocating the r_cons_instance's data buffer for printing 2014-09-13 21:26:40 -05:00
pancake
7129805cb8 Avoid negative console resolutions 2014-09-14 01:07:15 +02:00
pancake
e39d407f79 Fix infinite loop when debugging r2 from lldb 2014-09-10 01:40:43 +02:00
pancake
212d15803c Fix crash in VVV 2014-09-08 17:10:53 +02:00
pancake
27650d1f42 Fix more color issues in pxa 2014-09-08 02:08:38 +02:00
pancake
be66c5149d Fix segfault in pxa palette and avoid empty lines 2014-09-08 01:59:28 +02:00
pancake
dee8c27502 Do not use ttyname() - not portable 2014-09-08 01:39:21 +02:00
pancake
071578cb80 Fix 'pxa' disco-mode problems 2014-09-08 01:33:50 +02:00
pancake
8ad662fa1a Fix oob read in RCons.flush() 2014-09-06 11:39:16 +02:00
pancake
0e5a82e10e Add newline to stderr if no one in last line inside RCons.flush 2014-09-06 00:24:03 +02:00
pancake
5150cc8684 Finally fix the wheel issues? 2014-09-04 23:52:05 +02:00
pancake
5e19db1748 Use write instead of eprintf for RCons.{cup|mouse} 2014-09-04 22:57:10 +02:00
pancake
62ffd3dc8d Fix invalid input in prompt because of the utf8 terminal check 2014-09-04 22:55:57 +02:00
pancake
15aaf3cfc5 Fix the scr.wheel thing again. Waiting for maijin feedback 2014-09-04 11:06:41 +02:00
pancake
f998e2f235 Fix crash in autocompletion #1270 2014-08-31 19:14:36 +02:00
pancake
0a9163811f Fix overflow in RCons 2014-08-31 17:59:28 +02:00
jvoisin
75a37c469e Improves the 2048 implementation
The patch is from bla, from smashthestack.
2014-08-30 20:06:09 +02:00
pancake
7569b18527 Fix integer overflow issue in RCons (reduces memory usage too) 2014-08-30 01:11:04 +02:00
pancake
4abf72b101 Fix #1245 ? i cant reproduce it so.. im blindy guessing 2014-08-28 22:44:42 +02:00
pancake
39418f681c Fix #1254 - Make 2048 happy with arrows 2014-08-27 21:49:31 +02:00
pancake
2eefd8908e Add r_cons_is_utf8 () and use it to setup scr.utf8 on non-quiet mode 2014-08-25 03:26:02 +02:00
Anton Kochkov
ebe5d29307 Fix format string warning on Windows/Mingw32 2014-08-19 16:13:07 +04:00
jvoisin
9b99c0135d Even more coverifix 2014-08-18 15:03:02 +02:00
pancake
b12858bdd9 Oops in r2 -0 2014-08-17 17:23:48 +02:00
pancake
a661d916e4 Add r2 -0 to make interactive pipe handling nicer 2014-08-17 02:54:10 +02:00
jvoisin
d11aba0b0f Fix some minor coverity issues 2014-08-04 19:25:23 +02:00
jvoisin
5cbbbcf327 Fix some coverity issues in rgb.c 2014-08-04 19:07:49 +02:00
pancake
29c3e1ba7a Fix more CIDs assigned to me 2014-08-01 12:07:08 +02:00
pancake
85277d7f0c Fix an overflow and another glitch in ascii graphs 2014-08-01 01:09:05 +02:00
pancake
3fc1e58bc3 Fix oob glitch in ascii art graph 2014-08-01 00:54:04 +02:00
pancake
10daa78aeb Fix regression in grep$ introduced in d1aaa61c58 2014-07-17 04:45:32 +02:00
pancake
0969d86a5d Better color palete for help message 2014-07-16 20:20:19 +02:00
pancake
2719a78290 Support make install & make symstall with DESTDIR or PREFIX with spaces 2014-07-10 01:13:04 +02:00
pancake
8411034b4e Handle HOME/END keys in VTE 2014-06-25 17:32:36 +02:00
Anton Kochkov
1f05d9e5dc Fix libr_cons building on cygwin 2014-06-25 16:52:01 +04:00
pancake
4e614b25b8 Fix new palete entries for the help colors 2014-06-24 01:09:55 +02:00
jvoisin
3d3e1b900f Set a specific color for help msg 2014-06-21 18:00:11 +02:00
pancake
03f444ae55 Fix ogray theme and add /R help 2014-06-16 01:12:52 +02:00
pancake
db05de4513 Add orange-gray theme (ogray). Move doc/r2theme to shlr/www/enyo/colors 2014-06-14 03:53:35 +02:00
jvoisin
ec5e9ad183 Fix a stupid typo 2014-06-09 12:36:39 +02:00
jvoisin
07cf636929 Fix CID 1135107 2014-06-08 00:56:22 +02:00
pancake
315e8866e1 Add 'creg' color palete to colorize changed registers in 'drd' 2014-06-04 17:23:58 +02:00
Maijin
4f13bad9c1 Sorting 2014-05-27 13:35:15 +02:00
Maijin
aa2469e8f4 Updating dark theme 2014-05-27 13:24:15 +02:00
pancake
afc6afecef Add rasta color theme: 'ecf rasta' 2014-05-27 02:42:03 +02:00
pancake
ca18aedb94 Add Capstone SystemZ and SPARC disassembler and analysis plugins 2014-05-17 02:53:37 +02:00
pancake
1ce6e7c45b Add rahash2 -d and -D to encode/decode base64 strings and files 2014-05-16 14:34:36 +02:00
pancake
45c41d4582 Handle 'mov' color in RCons.pal 2014-05-16 04:07:03 +02:00
pancake
583be01f32 Handle ^C in /p 2014-05-14 23:24:46 +02:00
pancake
728dd81352 Add objc.pl to import ObjC class info into r2, enhace arm.cs and more
- Fix @@ flagname*
- Fix precision bug in r_num_units()
- Better ARM Thumb code analysis (still pretty basic)
2014-05-14 03:53:22 +02:00
jvoisin
a2ce9e11dc Fix CID 1213704 2014-05-11 15:17:32 +02:00
jvoisin
4205a95abf Fix CID 1135033 2014-05-11 13:01:23 +02:00
jvoisin
c6729cb640 Fix CID 1211146 2014-05-10 23:06:15 +02:00
jvoisin
d3ed221493 Fix CID 1134702 2014-05-10 23:03:07 +02:00
pancake
ee276298b2 Fix memleaks in radiff2, segfaults in 8051 and aagraph 2014-05-09 03:06:05 +02:00
pancake
201231a7a5 Fix remaining segfault in RCons.canvas, still trashy output 2014-05-08 02:58:20 +02:00
pancake
7fa79a3f36 Fix some RCons.canvas bugs 2014-05-08 02:26:42 +02:00