801 Commits

Author SHA1 Message Date
pancake
b5e262a6b9 Linux debugger improvements 2021-04-19 17:28:42 -07:00
pancake
23b838a0a9
Remove all the travis and codecov reminiscenses (#18585)
* Codecov and Travis scripts were disabled on January
2021-04-16 17:56:50 +02:00
Tomasz Gorochowik
4f1f0775cd
Clang format script fixes (#18580) ##dev
* Fix off-by-one error in clang-format-diff detector
* Improve debug messages in clang-format-diff (Thanks to this change the detected ranges will be actually wrapped in the start/end debug messages.)
* Make clang-format-diff detect changes in each chunk separately
2021-04-14 19:03:55 +02:00
soroosh-chabi
6d21fcfe8b
Fix the failure in finding the executing user's ID during install (#18508) ##build
The `UID` variable used previously is a Bash extension that isn't present on all
POSIX shells.
2021-03-29 00:32:44 +02:00
pancake
0b4cfc1dbb Fix version not being updated after running sys/termux.sh ##build 2021-03-17 19:05:09 +01:00
pancake
9a4f344d04
Improve sys/termux.sh checks ##build 2021-03-02 01:35:23 +01:00
pancake
eda2a09a0e Do not run sys/ldconfig on Android ##build 2021-03-02 01:31:45 +01:00
pancake
815c432217 Fix #18397 - Be less strict when running sys/install.sh as root ##build 2021-03-01 11:46:33 +01:00
pancake
81deee6fd3 Fix #18360 - Absolutize the relative --install-path in sys/user.sh 2021-02-28 18:49:14 +01:00
pancake
ee3afa01c9 Fix debian32 in CI ##build 2021-02-27 01:01:22 +01:00
pancake
a0e09ae808 Make sys/debian.sh more verbose 2021-02-24 23:07:36 +01:00
pancake
c95c206ab1 Allow custom CFLAGS for Debian packaging ##build 2021-02-24 22:56:57 +01:00
pancake
da7f0310e4 Fixes for sys/static with acr 2021-02-14 02:41:34 +01:00
soroosh-chabi
205962f73c
Fix a credentials downgrade problem in Install.sh ##build
* Fix failure when finding the executing user's ID during install

The `UID` variable used previously is a Bash extension that isn't present on all
POSIX shells.

* Prioritize downgrading credentials during install

The first thing to do is to check and, if necessary, downgrade the credentials
before proceeding any further during install. Also, checking for the presence of
GNU Make is delayed after the arguments to the install script have been parsed.
2021-02-09 23:06:55 +01:00
pancake
f80c847376
Introduce w32 and w64 in the CI ##build 2021-01-31 00:40:40 +01:00
pancake
ae0a733d5e Add tests for pf.write 2021-01-30 01:18:48 +01:00
pancake
8f72e726c3 Fix create_r2.bat 2021-01-30 00:17:55 +01:00
Gordon M
f63fc2c34c
Update debian.sh (#18299)
The flag as given is a typo. This corrects things.
2021-01-27 00:20:51 +01:00
Kamil Rytarowski
f9c99f1cd5
Fix shell portability issue (#18288)
Caught in pkgsrc on NetBSD.
2021-01-25 15:16:49 +01:00
pancake
ad66121556 Initialize the ndk once and for arm64 for now 2021-01-25 12:41:17 +01:00
pancake
36d63b46f6
Fixes for the android-ndk-installer script and the android-arm64 CI job (#18287)
Co-authored-by: pancake <pancake@nopcode.org>
2021-01-25 12:30:57 +01:00
pancake
85edbad0aa
Add WIP android-arm64 ACR build and other CI improvements ##ci
* Fix macos test
* Add cabextract for pdb tests
* Add android-ndk-installer script
* Using NDK r21d
2021-01-25 11:34:08 +01:00
Anton Kochkov
ef462a4800 Some clang-format improvements ##indent
* Fix for clang-format parsing error
* Align consecutive macros for clang-format
* Dont align escaped newlines
* Use spaces for some alignment
* Add clang-format script
2021-01-25 00:34:58 +01:00
pancake
90b5748289 Improve derizin script 2021-01-25 00:34:58 +01:00
pancake
021c5bc81d Add derizin script and workflow description 2021-01-19 05:37:17 +01:00
pancake
8f0016cc4c Dont detect leaks in the asan job and install r2pipe in brew ##ci 2021-01-13 10:29:33 +01:00
pancake
fb846712f9 Early fail in sys/debian.sh and use proper CFLAGS ##build 2021-01-13 01:28:10 +01:00
pancake
1184610971
Fix the CI badge and fully rewrite all the workflows to make sense ##build
* Windows, Linux, Static, macOS, Android, iOS builds published for every commit
* Kept coverage, coverity, fuzzing tests, lgtm and -Werror jobs
* Kill the continuos, the over-engineered matrix and other empty or unnecessary tasks (250 vs 900LOC)
* Jobs TODO: fatmac, termux and rpm (centos) packages
2021-01-12 13:41:21 +01:00
pancake
658c6a0918
Create dist/ to hold all the distribution build files ##build (#18131) 2020-12-31 18:57:05 +01:00
pancake
701ee21720
Improve the release-notes script (#18080) 2020-12-22 01:49:18 +01:00
pancake
dcc17e7f32 Use latest acr to support BSDs pkgconf tool and more cleanups 2020-12-19 15:24:00 +01:00
pancake
b2be57f9f7 Fix build in BSD, there is no RPATH in there ##build 2020-12-19 15:24:00 +01:00
pancake
b462a7691c
Remove enyo and p unmaintained webuis (2MB), still available via r2pm ##webui 2020-12-16 14:35:03 +01:00
pancake
fe7d2a5c85
Fixes and improvements for the Debian packaging scripts ##build (#17825) 2020-10-26 09:10:30 +01:00
GustavoLCR
489538e02b
Add DbgEng based debug backend for Windows ##debug (#17491)
* Rename `windbg` plugin to `winkd` ##debug
* Add DbgEng based debug backend for Windows ##debug
2020-08-24 19:01:10 +08:00
Christopher Hewitt
5f0be49fd1
meson install: Add DESTDIR to sys/create_r2.sh to allow specifying custom install directory (#17490)
* meson install: Add DESTDIR to allow specifying custom install directory
* Drop DESTDIR support on Windows

Co-authored-by: Khairul Azhar Kasmiran <kazarmy@gmail.com>
2020-08-19 19:58:58 +08:00
Khairul Azhar Kasmiran
fb1190d248
meson install: Create shortcut/symlink to radare2 (#17463) 2020-08-18 18:22:17 +08:00
Anton Kochkov
e3504eb0d9
Some DragonFlyBSD build fixes ##port (#17470) 2020-08-17 12:43:10 +08:00
pancake
91f7e91177
Fix sys/sdk.sh after the sdb refactoring (#17452)
Co-authored-by: pancake <pancake@nopcode.org>
2020-08-14 13:19:10 +08:00
pancake
8efd721dba
Fix Cydia/iOS packaging and compilation issues ##build (#17342) 2020-08-14 13:17:32 +08:00
pancake
8b33d764a7
Fix #3929 - Enable LTO in sys/static.sh ##build (#17141)
* Fix #3929 - Enable LTO in sys/static.sh
* Update Ubuntu to 20.04 for static build
* Use `gcc-ar` when needed
* Do not use "c" option for ${AR}
* Use `$$AR` instead of `$AR`
* Aim to fix  `-dynamiclib` issue outside darwin
* Run tests for static LTO build

Co-authored-by: pancake <pancake@nopcode.org>
Co-authored-by: Anton Kochkov <xvilka@gmail.com>
2020-08-13 13:55:39 +08:00
yossizap
a54f9363e4
Use meson install instead of manual installation in meson.py (#17424)
* Use meson install instead of manual installation in meson.py
* Update AppVeyor and docs to use the new meson.py flag format
* Meson.py should use --prefix for install paths and --install is a boolean for Windows and Unix now.
* Removed windows specific restrictions from meson.py
* Ensure that the prefix path is an absolute path
* Fix install options syntax
* Added an optional rootdir path for the meson setup command

Co-authored-by: yossizap <yossizap@users.noreply.github.com>
2020-08-11 12:33:15 +08:00
pancake
2c48b60f1d
Fix sys/static.sh after 2d160f250918609fa8f399a33f003cedaa85d888 (#17336) ##build 2020-07-24 11:55:53 +02:00
Riccardo Schirone
e3b67f124c
Release pipeline with GitHub Actions (#17192)
* Make sure meson can build with `system` = `android`.
* Add support for binr/blob in meson build
* Create release GitHub Actions workflow
* Add publish-docker-image job
* Also create Ubuntu packages and ship static windows zip
2020-07-09 12:07:45 +08:00
Riccardo Schirone
d6c9bd4542
Add support for binr/blob and fix android build ##meson ##build (#17150)
* Make sure meson can build with `system` = `android`.

* Add support for binr/blob in meson build

* Add also r_util as dependency

* Create sdb_version.py to get the SDBVER value from config.mk

* Set unknown sdb version if something fails
2020-07-05 10:53:37 +08:00
pancake
13e1636d97
Implement RLang.spp for templated scripting ##lang (#17067)
Co-authored-by: pancake <pancake@nopcode.org>
2020-07-01 14:14:18 +02:00
Anton Kochkov
ffe743ef39
Fix #4056 - rename DEPS to R2DEPS ##build (#17020)
* Rename DEPS to R2DEPS
* Cleanup of sys/build.sh
2020-06-12 10:49:28 +08:00
karliss
18649ad666
Do the prefix check after prefix argument has been processed. (#16950) 2020-05-29 11:04:15 +08:00
FXTi
1ffdedcd07
Add Python bytecode plugins (#16771) 2020-05-13 10:37:09 +08:00
Khairul Azhar Kasmiran
dbd33d0efe
Windows sys/meson.py: Add r2 shell script (#16753) 2020-05-02 18:54:01 +02:00