Commit Graph

37 Commits

Author SHA1 Message Date
pancake 4bed905d8a
Fix msvc warnings (#19827) 2022-03-15 19:27:34 +01:00
pancake e6f2cd0b2a
Remove trailing spaces (#19460)
$ git grep ' $' | grep -v ^test/ | cut -d : -f 1 | sort -u > /tmp/trailing
$ for a in `cat /tmp/trailing` ; do sed -i -e 's/ *$//' $a ; done
2021-12-02 17:39:59 +01:00
pancake 23ad9b50ee
Fix #12335 - ignore system-installed r2 includes ##build 2021-05-28 00:45:48 +02:00
Riccardo Schirone 2d160f2509
Avoid sdb double headers (#17249) ##build
* Avoid duplication of SDB headers in libr/include

SDB is an external project and as such it should live in shlr. However,
for simplicity in dealing with the include flags, the SDB headers were
copied in libr/include as well. This patch just keeps the SDB files
confined in shlr/sdb and make sure various r_* libs use the headers from
there.

* Fix pkgconfig file generation
2020-07-21 10:28:43 +02:00
GustavoLCR e43c9e7caf Fix some warnings (#15549) 2019-12-08 12:49:58 +01:00
GustavoLCR 3fba693b91 Add support for UTF console input in Windows (#13338) ##windows
* Add support for UTF console input in Windows
* Convert ANSI input to UTF-8
* Convert UTF-8 to acp when calling ANSI version of functions
* Determine if Windows console output is UTF-8 on the fly
2019-03-18 16:05:38 +08:00
David CARLIER 74da0eb115 Few grub/bochs fixes 2018-11-22 12:12:11 +01:00
whitequark c816dc7e66 Don't try to build shared libraries if configured as --without-pic.
Specifically, avoid building all plugins as non-static objects,
as well as some supplementary libraries. In fact, a large amount
of plugins was already gated to build as shared objects only with
WITHPIC=1, but this was not done consistently.
This gating has been moved to */p/Makefile.

Building these shared objects is a waste of time and breaks
the --without-pic build unless CFLAGS is forced in the make
invocation.
2018-01-11 23:09:22 +01:00
Jose Diaz e74aadad28 Renaming char_to_w32 => utf8_to_utf16 2017-11-03 10:27:18 +08:00
Jose Diaz 527ff71d41 Convert char to windows unicode 2017-11-03 10:27:18 +08:00
SkUaTeR 66628139d1 Add changes to compile more plugins with MSVC 2017-05-17 23:42:22 +02:00
pancake ad54e9ddf1 Refix mingw32 build 2017-05-10 00:34:05 +02:00
pancake 69b4c61b8a Fix mingw32 build 2017-05-09 22:57:47 +02:00
xarkes 926f024909 Improved MSVC support (WIP) 2017-05-09 14:25:57 +02:00
pancake 60f9667654 Remove support for bjam build system
- Delete all Jamroot files
2017-05-02 05:48:40 +02:00
pancake ffe0da0fa1 Fix many more clang-analyzer null derefs and overflows 2017-04-18 00:38:24 +02:00
pancake a66cc10d46 Fix a huge list of null derefs from clang-analyzer 2017-04-17 22:02:04 +02:00
pancake 32a38d7c9b Remove the use of -ggdb 2017-02-01 22:32:11 +01:00
pancake 496da56a9e Fix sys/ios-static.sh 2016-09-12 20:52:12 +02:00
Ben Cheney 4b9aeee4a1 Replace ${LIB} with lib in bochs Makefile (#5682)
r2 builds currently fail on Bash on Ubuntu on Windows due to the
${NAME} variable being defined in the environment (as the current
hostname), which meant that libbochs.a was being placed in an
unexpected location. This patch fixes the issue for BoUoW by replacing
use of the ${LIB} variable with a set value of 'lib'. It should be
noted that other build scripts (e.g. shlr/bochs/deps.mk) currently
assume that libbochs.a is located precisely at
shlr/bochs/lib/libbochs.a anyway (and as such, it is suspected that
the use of ${LIB} here may have been spurious to begin with).
2016-09-04 13:08:52 +02:00
pancake c36b299073 Fix some null deref and rarun2 chroot escape vuln 2016-05-24 12:32:45 +02:00
pancake df26636c14 Fix mingw32 build after the osx-ppc changes 2016-05-01 15:17:52 +02:00
pancake aae417badf More OSX-PPC fixes 2016-04-27 01:52:35 +02:00
skuater 36edff3732 fix wait routine in bochs for linux 2016-04-03 17:39:59 +02:00
pancake 4446772565 Fix #4471 - Fix more bochs warnings 2016-04-01 10:40:28 +02:00
pancake 259816b7e6 Fix more covs for bochs 2016-03-31 13:08:39 +02:00
pancake 4c4ed86634 Fix a couple of covs for bochs 2016-03-31 12:49:38 +02:00
pancake 8572fcfa98 Fix w32 build 2016-03-31 12:14:48 +02:00
pancake 6e8c69a695 Fixed several issues found in previous commit 2016-03-30 13:16:10 +02:00
skuater 01fce3fe8e Initital implementation bochs for linux. 2016-03-30 12:57:15 +02:00
SkUaTeR 36fc489d5f Update libbochs.c 2016-03-27 17:40:25 +02:00
pancake d092be54e2 API fixes for bochs and honor sandbox 2016-03-27 13:43:51 +02:00
pancake f1f83276ea Fix static build with libbochs 2016-03-25 10:13:50 +01:00
pancake b24ae8d05e Simplify and fix build for shlr/bochs 2016-03-25 00:51:39 +01:00
pancake 32857e5fcd Fix build 2016-03-25 00:26:55 +01:00
pancake 434b8251e9 Many syntax, language, indent, naming fixes for bochs 2016-03-25 00:21:56 +01:00
skuater c45fe4e1e7 Initial support for BOCHS (windows only for now) 2016-03-25 00:21:49 +01:00