* .:9090 is now '=t 9090' (listen for commands via tcp)
* '=:9090' (listen for commands via rap) is now '=r 9090'
* The backslash and single quote aliases were confusing and break commands consistency
Tests fixed:
db/cmd/feat_grep multi-command single-line grep
db/cmd/cmd_zignature af ; af ; zfs libc-v10.sig - newshell
db/cmd/cmd_zignature af ; af ; zfs libc-v7.sig - newshell
New test failed:
db/tools/rax2 C array {0x33,33,23,32}
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
* Fixed some of the glaring issues found in r_file_dir_recursive()
* Added a command to access r_file_dir_recursive()
* Made dir constant to hopefuly fix tests
* Split r_file_dir_recursive into 2 functions to make it return RList *
* Adjusted the lsrf function to work with the new split
* Moved the lr command logic to the cmd_lsrf function
* Applied requested changes
* Fixed the CI issues
* Changed !arg to !input
* Changed !input to R_STR_ISEMPTY (input)
* Add support for xz decompression, that will be the base for future
api handling internal implementations and system tools to decompress
buffers in memory.
The problem was that the quotes are not checked to be before or after
the hash comment.
Fixes: 765f2b6
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
Co-authored-by: Anthoine Bourgeois <anthoine.bourgeois@blade-group.com>
* 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
* 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.
* Fix function spacing for r_num functions
* Remove r_num_ntohs
* Rename r_num_to_trits to r_num_to_ternary for
consistency with surrounding code
* Rename trits to ternary in other files
* Fix spacing in test_contrbtree.c
* Add r_io_map macros throughout code base
* Update string NULL-checking with renamed functions r_str_get() and r_str_getf()
* Change string NULL-checks throughout code base to use functions
* Add r_str_get_fail() to specify a custom string to return if NULL-check fails
* Mark JSON to be updated with PJ with "TODO PJ"
* Incidental style updates such as missing spaces