Commit Graph

11184 Commits

Author SHA1 Message Date
pancake
d09987546d Fix some returns to fix initialization issues in evars ##config 2021-01-03 10:54:00 +01:00
pancake
81b1ce07fa Remove the unnecessary old project name backup logic 2021-01-03 10:54:00 +01:00
pancake
8d4709bc0b Reworked P command with RProject and prj.name integration ##projects 2021-01-03 10:54:00 +01:00
pancake
898173aa38 Add RFile.new and RFile.move APIs ##util 2021-01-03 10:54:00 +01:00
pancake
cf91324937 Remove file.path and file.lastpath and add RProject ##projects 2021-01-03 10:54:00 +01:00
pancake
020c3056d0
Fix ecn (and VR) when no custom theme was set in .rc ##cons 2021-01-03 10:15:00 +01:00
Aswin C
ef4c9b603d Add internal help for arS and drS 2021-01-03 10:11:04 +01:00
pancake
73aab852fc
Print call convention once in afi ##anal (#18157) 2021-01-03 10:09:08 +01:00
eagleoflqj
2879c582af Use pj in cmd_info.c ##refactor 2021-01-03 01:24:58 +01:00
pancake
b69355bb84
Fix #18136 - Remove RBin.is_debugger and use cfg.debug (#18146) ##refactor 2021-01-01 22:48:02 +01:00
pancake
8d7005b771 Fix cascading solitaire issue in panels menus ##panels 2021-01-01 22:44:20 +01:00
eagleoflqj
d306734aef correct json & clean newline 2021-01-01 22:04:37 +01:00
Eduard MURESAN
cac44b255f Fix the r2 idpij as well 2021-01-01 22:04:37 +01:00
Eduard MURESAN
06417eaf30 Fix pdb information dumped as json 2021-01-01 22:04:37 +01:00
eagleoflqj
c8b5bb02b9 delegate abj to afbij 2020-12-31 22:58:06 +01:00
mrglm
493f0bf023 Fix #17039 ##anal ##json
Fix indentation for abj command
2020-12-31 22:58:06 +01:00
pancake
a232c1a8fd
Automatically set prj.git if git is found in PATH ##projects (#18137) 2020-12-31 19:43:48 +01:00
pancake
0cd6b5528a
Initial implementation of r_cons_eprintf ##cons (#18145) 2020-12-31 19:35:01 +01:00
RHL120
b2117e48c5
Tell the user that debugging projects don't work ##projects (#18134) 2020-12-31 15:35:40 +01:00
Liumeo
248e1e3621
Use pj in cbin.c ##refactor (#18143) 2020-12-31 14:38:15 +01:00
pancake
97954c6ca4 scr.progressbar disabled by default 2020-12-29 16:10:40 +01:00
Carson McManus
92d4685be6
Add a progress bar for when scripts are running ##shell
* Add config var `scr.progressbar` to display a progress bar when running a script
##print
* Don't show progressbar when not in a tty
* Also don't show progressbar when scr.interactive == 0
* Add a progress bar for when scripts are running. Includes when projects are being loaded
* Add config var `scr.progressbar` to display a progress bar when running a script
* Don't show progressbar when not in a tty
* Also don't show progressbar when scr.interactive == 0
2020-12-29 04:48:03 +01:00
pancake
9583bc7f3c Fix cfg.charset listing sorted alphabetically 2020-12-29 00:30:53 +01:00
pancake
4b6fd801e4
Import last random rizin fixes and more (#18128) 2020-12-28 23:34:16 +01:00
pancake
1b173df641 Fix memory leak in pf related to bad sdb api usage ##print 2020-12-28 22:02:48 +01:00
pancake
18823c03fa Remove unused cmd.xterm and use * instead of strcmp for ? ##config 2020-12-28 22:02:48 +01:00
pancake
ab0337c224 Fix ASAN 2020-12-28 21:24:56 +01:00
pancake
4b60f0f2bb Honor R2_CFG_NEWSHELL=0 to disable it ##shell 2020-12-28 20:03:25 +01:00
pancake
49349cb320 Implement $i and $I numvars ##shell
* Warning: The temporal seek only works on oldshell
* Seek to the last address in current basic block
  `> s $I1@$Fe`
* Decomposes into:
  * $Fe = end address of function basic block
  * $I1 = one instruction backward
  * s = seek command is inmune to the @ tmpseek effects
2020-12-28 20:03:25 +01:00
pancake
adcfe0181f Code cleanup 2020-12-28 20:03:25 +01:00
pancake
54c6bca80e Seek command ignores the tmpseek ##shell 2020-12-28 20:03:25 +01:00
pancake
48c1258206 Add missing vars from ?$? in ?$ and sort them alphabetically ##shell 2020-12-28 20:03:25 +01:00
Liumeo
999fc7ebff
Honor cfg.json.num in afbj ##json 2020-12-26 23:53:48 +01:00
RHL120
8b23409c3c
Use snake case in projects.c ##refactor 2020-12-26 11:36:08 +01:00
ivan tkachenko
38f5804ecf Move breaks inside switch-case scopes
Update DEVELOPERS.md code style section and
refactor switch-cases across all code base.
2020-12-26 11:15:03 +01:00
gogo
156f83fdd9 merge pse to ps 2020-12-24 09:50:27 +01:00
pancake
f08e34d298 Fix assert in cfg.charset 2020-12-23 23:14:07 +01:00
pancake
35c9ae73cd Fix asserts in map.rename() 2020-12-23 23:14:07 +01:00
pancake
64676437e9 Fix double-free in charset sdb 2020-12-23 23:14:07 +01:00
pancake
b77d97a6a9 Improve str.wrap, add cons.line and fix cons.printat glitch ##cons 2020-12-23 23:14:07 +01:00
pancake
24a2f8dbd6 Fix the 'c' cursor behaviour in disasm ##panels 2020-12-23 23:14:07 +01:00
pancake
ff4c45e71d Handle ^C and fix ASAN crash in aeA command ##anal 2020-12-23 23:14:07 +01:00
pancake
ac8ead22ef Cache cfg.r2wars value outside the eval loop ##r2wars 2020-12-23 23:14:07 +01:00
pancake
a5399eeddf Box borders in graph and panels are now in yellow ##visual 2020-12-23 23:14:07 +01:00
ratijas
28149b2a95
Fix wording, whitespaces and other minor stuff ##doc (#18081) 2020-12-23 22:22:30 +01:00
Liumeo
6f4af643cb
Use pj in agcj ##refactor (#18087) 2020-12-22 12:19:31 +01:00
Liumeo
55ce4ce303
Use pj in pdb_downloader ##refactor (#18084) 2020-12-21 23:46:12 +01:00
Lazula
f2976d3c7e
Use r_str_get_fail() throughout codebase ##refactor (#18079) 2020-12-21 08:51:44 +01:00
Liumeo
a0b6fed4ca
Fix iAj and use pj in bin.c ##refactor (#18076) 2020-12-21 01:14:37 +01:00
ratijas
6d811285c2
Fix wording and whitespacing ##doc (#18065)
* Fix wording, whitespacing and other minor stuff
* cmd.c: ellaborated yy syntax, improved descriptions
  - replace "srcoff" with "origin"
* cmd.c(cmd_autocomplete):
  - refactor help into function: render autocomplete types with generic
    help subsystem;
  - "Types" heading now follow the "Usage" style by not being prefixed
    by a pipe character;
* cmd_anal.c: fix whitespaces & help text
* cmd_info.c: fix help text capitalization.
* cmd_print.c:
  - fix `pf` cmd help;
  - TODO: what pz? is doing here?
* cons.c:
  - refactor & better document r_cons_cmd_help();
  - fix whitespaces;
* visual & panels modes:
  - as of commit 46187fe4e1, '!' no longer
    launches the r2048 game. The game itself it broken anyway, even when
    running from the Help menu in panels mode;
  - transitioning from panels to visual is not 'entering' but actually
    swapping/replacing visual panels with just panels, thus...
  - reword 'enter into the' to 'swap into' or even just 'enter', e.g.:
    "enter into the visual panels mode" -> "enter visual panels mode".
  - remove the "(dwm style)" words from a fortune tip, because I have no
    idea what it is, and it does not appear to be a valid command in any
    of the r2 modes.
  - update global help text.
* [WIP 2] Fix wording, whitespacing and other minor stuff
* visual.c:
  - r_core_visual_append_help(): first steps merging with
    r_cons_cmd_help from cons.c; use consistent colors for headers.
* [WIP 3] Fix wording, whitespacing and other minor stuff
* panels.c(__update_help):
  - shorten code and titles;
  - add comment to clarify that it is not a copy-paste error;
* [WIP 4] Fix wording, whitespacing and other minor stuff
panels.c, visual.c: tweak help text;
* [WIP 5] Fix wording, whitespacing and other minor stuff
* cmd_help.c: update global help text about visual mode -- it was
  outdated and overloaded.
* vmenus.c:
  - rename stuff, shuffle around static consts to reflect an actual
    ordering when viewing as a help text;
  - slightly improve help text rendering;
  - fix whitespaces;
* [WIP 6] Fix wording, whitespacing and other minor stuff
* lots of help text changed.  still working on proper commit message.
2020-12-21 01:12:08 +01:00