pancake
33bf2c6fc9
Initial rvc refactoring and cleanup of the api ##vc
2022-09-27 12:10:26 +02:00
RHL120
20b3acec3b
Move rvc apis into callbacks ##vc
...
* Update the ravc2 help message
* Fix ravc2 branch
2022-09-26 11:17:04 +02:00
pancake
3313fcf7be
Add more critical regions here and there
2022-09-24 23:14:29 +02:00
pancake
97c77155f9
Fix master
2022-09-19 02:40:16 +02:00
pancake
4801bbc13d
Add r_file_is_executable and r_file_extension apis ##api
...
* Boolify some rdebug apis
* Make json.parse arg const
2022-09-19 02:06:35 +02:00
pancake
b705e334f6
Massage more R2_580 pending changes breaking APIs and ABIs
2022-09-16 11:34:19 +02:00
RHL120
a86c2a1aaa
Minor indent fixes in projects.c
2022-08-01 13:40:05 +02:00
pancake
cfa869989c
The RThread.start(true) had racy deadlocks, re-enable the bg http server ##util
2022-07-20 17:36:27 +02:00
pancake
8c80cfe7d9
Fix #20405 - Multiple fixes and improvements in projects ##projects
...
* io maps are now saved and restored
* add an extra test and review/update others
* Use omu in om* and run o*;om* in P
* Better handling multiple P subcommands and help msg
* Use more R_LOG instead of eprintf
2022-07-05 10:56:04 +02:00
pancake
21064e9473
Add omu command to create a unique map ##io
...
* Add another broken project test
* Fix warning regression introduced in previous windows fix
2022-07-04 21:24:40 +02:00
Richard Patel
363df75c06
Replace some instances of eprintf with R_LOG_
2022-06-28 02:49:42 +02:00
RHL120
4822e23d6c
Create a struct for rvc state ##projects
2022-05-26 19:52:01 +02:00
pancake
93d9860f41
Add test for 'q' return code bug and minor cleanup r2r ##tests
2022-05-26 12:41:49 +02:00
pancake
c5a40784e1
Save and restore the register values ##projects
2022-05-12 16:29:23 +02:00
pancake
4be0d2b9a4
Confirm project deletion and honor scr.interactive on reopen ##project
...
* Add broken test for projects reopen
2022-05-05 11:44:13 +02:00
pancake
a314a7ebde
Add P* and P! to dump script and run shell in project dir ##projects
...
* Also makes Pd `diff` the project instead of deleting it
2022-05-05 10:05:07 +02:00
pancake
f855443586
What's bool stays bool, makes eval changes more consistent ##projects
2022-05-05 10:05:07 +02:00
pancake
41a21d33b2
Dont save dir. variables in project scripts ##projects
2022-05-04 12:58:04 +02:00
pancake
7fe3556dd7
P+ is now an alias for Ps for consistency with P- ##projects
2022-05-04 09:56:38 +02:00
Mathieu Dolmen
19e4a1cd86
Increase project name max length
2022-05-01 02:09:10 +02:00
RHL120
7435f87982
Add an error return to r_core_project_cat ##projects
...
* Minor changes to r_core_project_cat
* Use core->num->value in r_core_project_cat
* Add a test
* Fix project return value
* Fix Pc return value test
Co-authored-by: Lazula
2022-04-17 18:58:26 +02:00
Lazula
d507bda91c
Remove R_EMPTY and R_EMPTY2
2022-03-13 11:26:10 +01:00
RHL120
785e500a7e
A better way to check if a project has been saved ##projects
...
* Add a dirty var to RFlag, RAnal and RConfig
* Add prj.alwaysprompt
* Add R_DIRTY() and R_IS_DIRTY()
2022-01-25 10:39:15 +01:00
pancake
a3c4bc388b
Add prj.sandbox to enable experimental sandboxed project loading ##projects
2021-12-20 23:20:50 +01:00
RHL120
7b11df1c20
Use rmrf in r_core_project_delete
2021-09-21 14:58:28 +02:00
pancake
2e75afb4d1
Fix issue in Pd without arguments ##projects
2021-09-20 06:23:11 +02:00
pancake
0f943971a4
Fix saving/loading projects for PE binaries ##projects
2021-09-19 21:49:02 +02:00
pancake
86472a6b4f
Fail with r2 -p unexistent-project ##projects
...
Co-authored-by: pancake <pancake@nopcode.org>
2021-09-19 00:16:46 +02:00
RHL120
897960352d
Fix a problem with rvc/git ( #18994 )
2021-08-19 03:34:18 +02:00
pancake
2284394120
Honor bool in io.va, scr.interactive, scr.prompt and cfg.fortunes ##core
2021-08-18 12:09:20 +02:00
pancake
69cb36e8cf
Dont save projects when no project is used ##projects
2021-08-15 10:59:15 +02:00
RHL120
260dbb9e8f
Integrate rvc in projects and add a default commit message ##vc
...
* Add an rvc_git_repo_exists ()
* Add a prj.vc.message variable
* Honor interactivity to rvc
* Integrate rvc into projects
2021-08-13 18:37:18 +02:00
RHL120
3b65b54a51
Fix #18641 prevent overwriting projects with Ps ##projects ( #18755 )
2021-05-26 23:42:38 +02:00
pancake
486d3194de
Minor project api cleanup ( #18698 )
2021-05-15 01:04:10 +02:00
RHL120
4682d70dc0
Initial import of the 'Radare2 Version Control System' APIs ( #18499 ) ##core
...
* Sets the base for supporting multiple version controls for projects
* Implements a native version control software inside r2
* prj.git is now renamed to prj.vc (and prj.vc.type is added)
* No commands to use it yet, just API, further changes will come soon
2021-04-26 11:27:46 +02:00
RHL120
13bc241a03
Added stricter rules to is_valid_project_name ##projects ( #18598 )
...
* Only allow lowercase letters, numbers and lowerdash
2021-04-19 14:15:27 +02:00
RHL120
cec6d6ea43
Freed Variables After Last Use In project.c ( #18522 )
...
* In load_project_rop() rc_path is not freed when not in use
* Check if prj_dir is NULL before using it
* Revert "In load_project_rop() rc_path is not freed when not in use"
This reverts commit d4cdb2d1d8
.
* Removed my stupid git mistake
* Removed pointless free()
* Added missing free (prj_dir);
* Ran free (str) in r_core_project_execute_cmds() after last use
2021-04-01 00:44:02 +02:00
pancake
e7c29ed232
Boolify cfg.debug ( #18452 )
2021-03-14 22:22:04 +01:00
condret
1fae2164cb
Rename r_io_map_get_for_fd to r_io_map_get_by_fd ##io
2021-03-12 20:52:45 +01:00
Kamil Rytarowski
9d761f6a88
Avoid array subscript type issues ( #18295 )
...
Cast char to unsigned char for standard reasons and security purposes.
Fixes build issues on NetBSD.
2021-01-26 13:08:58 +01:00
pancake
edda7a408a
Add CC, command previous CC, is now CCF ##meta
2021-01-15 10:56:58 +01:00
pancake
47bd92c36e
Remove the prj.simple option ##projects ( #18207 )
...
Co-authored-by: pancake <pancake@nopcode.org>
2021-01-12 14:58:04 +01:00
pancake
f0deea9760
Fix calling convention save/restore ##projects
2021-01-10 14:14:51 +01:00
pancake
54a97ea8af
Fix tests and optimize o--
...
More fixes
2021-01-03 10:54:00 +01:00
pancake
73a3512376
prj.git commit now works with scr.interactive=false
2021-01-03 10:54:00 +01:00
pancake
c239eff1ed
Save the write cache in projects ##projects
2021-01-03 10:54:00 +01:00
pancake
a5c351c725
Remove transitional projects code ##projects
2021-01-03 10:54:00 +01:00
pancake
7a849f26ef
dir.projects becomes abspath when set ##projects
2021-01-03 10:54:00 +01:00
pancake
d7a4aedf5a
Fix projects by removing code and honoring prj.name ##projects
2021-01-03 10:54:00 +01:00
pancake
d09987546d
Fix some returns to fix initialization issues in evars ##config
2021-01-03 10:54:00 +01:00