Commit Graph

50243 Commits

Author SHA1 Message Date
Twinaphex
72cccf9ca5
Merge pull request #9211 from orbea/opts
qb: Refactor how config.h and config.mk are created.
2019-07-29 04:31:04 +02:00
Twinaphex
77634fab6d
Merge pull request #9212 from DEX357/patch-31
Update msg_hash_pl.h
2019-07-29 02:48:25 +02:00
twinaphex
9a89279ac2 Revert "Update platform_wiiu.c"
This reverts commit e13b58a077.
2019-07-29 02:43:52 +02:00
Twinaphex
e13b58a077
Update platform_wiiu.c 2019-07-29 02:11:13 +02:00
orbea
93e3248949 qb: Retain HAVE_NO variables.
Fixes a small oversight, nothing is using this code anyways so
I didn't notice at first.
2019-07-28 08:00:22 -07:00
orbea
59cb198dda qb: Make sure CONFIG_OPTS only contains HAVE_ variables. 2019-07-28 07:59:41 -07:00
orbea
13cf3cdef2 qb: Refactor how config.h and config.mk are created.
This is a potential security issue.

The problem is that config.h and config.mk are populated with
all variables prefixed with 'HAVE_' from the user's environment.

Example:

  $ HAVE_FOO=yes ./configure
  $ grep FOO config.mk
  HAVE_FOO = 1
  $ grep FOO config.h
  #define HAVE_FOO 1

After this commit these files will only use variables set by
qb configure process and not from the user's environment. This
issue could result in hard to diagnose undefined behavior or
maybe worse?

The user should experience no change in behavior, but
developers should be more careful about setting 'HAVE_'
variables manually.

Unless the FOO variable is used by check_enabled ($2 only),
check_platform, check_lib, check_pkgconf, check_header,
check_macro or check_switch functions it should be set at
least once by the new add_opt function. The first argument
should be 'FOO' which matches the HAVE_FOO variable and the
second argument should contain 'auto', 'no' or 'yes'.

Example:

  add_opt FOO yes

When in doubt its safe to use add_opt. This will also fix a
few potential issues where configure arguments used by the
user are ignored.

When the second argument is not set the FOO variable will only
be used to populate config.h and config.mk with its current
value. This should only be done in qb/qb.libs.sh in functions
that set 'HAVE_' variables.
2019-07-28 07:59:41 -07:00
twinaphex
eb3753ee3c (XInput/DirectInput) Show device disconnect messages when unplugging a gamepad 2019-07-28 06:42:30 +02:00
DEX357
65b17ab518
Update msg_hash_pl.h 2019-07-28 00:27:08 +02:00
DEX357
6a43f970e7
Update msg_hash_pl.h 2019-07-28 00:09:46 +02:00
DEX357
84116971fb
Update msg_hash_pl.h 2019-07-27 23:55:37 +02:00
DEX357
4c7946a217
Update msg_hash_pl.h
Fix PLup
2019-07-27 23:19:21 +02:00
Twinaphex
b3915e8d22
Merge pull request #9209 from yoshisuga/ios_fix_resolve_path
iOS: call pathname expand before abbreviating to ensure playlist saves with correct path
2019-07-27 22:49:03 +02:00
Yoshi Sugawara
73ce349682 iOS: call pathname expand before abbreviating to ensure playlist saving works when saving an entry from a playlist to another playlist. 2019-07-27 09:26:36 -10:00
Twinaphex
3677170ca3
Merge pull request #9205 from orbea/osx
Update version number to 1.7.7.
2019-07-27 13:26:50 +02:00
orbea
2a74a7e0d6 Update version number to 1.7.7. 2019-07-27 00:35:51 -07:00
twinaphex
91ef99f9b7 Restore this 2019-07-27 04:28:50 +02:00
twinaphex
d28cadef01 Cleanups; turn more functions into static functions 2019-07-27 04:13:33 +02:00
twinaphex
bcdc759b3e (SPIRV-Cross) Buildfix 2019-07-27 03:44:32 +02:00
twinaphex
b4ec860bb3 (SPIRV-Cross) Temporary buildfix for homebrew WiiU toolchain 2019-07-27 02:50:21 +02:00
Twinaphex
6e14020e2d
Merge pull request #9204 from orbea/ps2
Try to fix the ps2 zlib build.
2019-07-27 02:36:04 +02:00
orbea
4418f588ee Try to fix the ps2 zlib build. 2019-07-26 17:30:54 -07:00
Twinaphex
c260b19640
Merge pull request #9203 from orbea/ant
travis: Test android builds.
2019-07-27 02:22:32 +02:00
twinaphex
65b4c2595e Update set keyboard mapping code for input driver 2019-07-27 02:21:24 +02:00
twinaphex
d80dee882f Remove two RARCH_LOG lines 2019-07-27 00:42:08 +02:00
orbea
0e6ec8a887 travis: Try assembleNormalRelease. 2019-07-26 13:33:11 -07:00
orbea
347f13d05e travis: Test android builds. 2019-07-26 12:22:03 -07:00
twinaphex
4df62acac4 Get rid of this check 2019-07-26 20:50:40 +02:00
twinaphex
8a4d3f7431 (XAudio 2.8) Audio device selection can now be set 2019-07-26 20:46:11 +02:00
twinaphex
1650a03b80 Cleanup 2019-07-26 20:41:11 +02:00
twinaphex
5fa4388a4c Cleanup mmdevice_common.c - use encoding/utf functions 2019-07-26 20:34:41 +02:00
Twinaphex
46a65fb38c
Merge pull request #9201 from orbea/android
Try to fix the android zlib build.
2019-07-26 18:43:40 +02:00
orbea
545ce3f483 Try to fix the android zlib build. 2019-07-26 09:23:45 -07:00
Twinaphex
bd0cda9be1
Merge pull request #9200 from orbea/vita
Makefile.vita: Try to fix the build.
2019-07-26 18:01:32 +02:00
orbea
1e609a4f84 Makefile.vita: Try to fix the build.
Tries to fix multiple definition warnings.
2019-07-26 08:49:24 -07:00
twinaphex
81d276fa11 (D3D9 HLSL) Fix two warnings with cxx_BUILD 2019-07-26 17:29:53 +02:00
twinaphex
6002c7e790 (Xaudio 2.7) Add missing macros for CXX_BUILD 2019-07-26 17:28:34 +02:00
twinaphex
19bdafc355 (DSound/Wasapi/XAudio2) CXX_BUILD fixes 2019-07-26 17:22:21 +02:00
twinaphex
86728ddbf2 (WASAPI) Cleanup for audio device selection 2019-07-26 17:19:49 +02:00
twinaphex
b5d11db53b (XAudio2) Device index selection now works for old
pre-XAudio 2.8 codepath
2019-07-26 17:16:24 +02:00
twinaphex
453cc3dcbd (video context driver) has_Windowed can be degraded to a simple
boolean variable
2019-07-26 06:23:20 +02:00
twinaphex
dfc85f5908 Simplify win32_has_process 2019-07-26 06:10:02 +02:00
twinaphex
6b73acee4e (UWP) Buildfix 2019-07-26 04:00:49 +02:00
Twinaphex
213fd3a2e8
Merge pull request #9196 from orbea/zlib2
Clean up the builtin zlib.
2019-07-26 03:40:22 +02:00
twinaphex
aa023729d0 (XAudio2) Start adding device list new/free 2019-07-26 03:39:46 +02:00
twinaphex
ce37405d29 (DirectSound) Add audio device selection - can set audio_device
either by name or by index
2019-07-26 02:36:41 +02:00
orbea
983172d0c2 deps/libz: Move zutil.h back to deps.
This is an internal zlib header and should not be used by other projects.

See the comment in the file.

/* WARNING: this file should *not* be used by applications. It is
   part of the implementation of the compression library and is
   subject to change. Applications should only use zlib.h.
 */
2019-07-25 11:18:33 -07:00
orbea
0565f80ceb deps/libz: Remove uneeded files. 2019-07-25 11:18:33 -07:00
orbea
63a92a3f78 Update the zlib include directory paths. 2019-07-25 11:18:33 -07:00
orbea
84f4dcba2b Remove WANT_ZLIB. 2019-07-25 11:18:33 -07:00