Kenneth Lee
aa36c0c56c
Fixes build for Windows cross-compilation
...
Fixes #28299
(cherry picked from commit 5c5c3a590a
)
2019-09-24 09:00:45 +02:00
KLee1248
2e5fa9f043
Use SHGetKnownFolderPath instead of SHGetFolderPathW.
...
When getting system directories for Windows, we currently use
SHGetFolderPathW. This is a deprecated function and doesn't support
"Downloads" folders.
As a replacement, this commit uses the newer SHGetKnownFolderPath
function, which is supported since Windows Vista. Godot 3.0 only
supports Windows 7+, so we don't need to use SHGetFolderPathW for
backwards compatibility.
Fixes #26876
(cherry picked from commit 3d908f57d8
)
2019-09-24 09:00:45 +02:00
hbina085
8c2e10c393
Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.
...
(cherry picked from commit 9f0c6a6009
)
2019-09-24 09:00:45 +02:00
qarmin
3b703d6707
Small fixes, mostly dupicated code
...
(cherry picked from commit 856a8226a5
)
2019-09-24 09:00:45 +02:00
mellondill
3078f723a8
https://github.com/godotengine/godot/issues/31297 - HTML5: this.rtenv.callMain is not a function when using latest-upstream backend
...
Added needed changed for normal compiling with emscripten 1.38.41 and later
(cherry picked from commit 3c176827d6
)
2019-09-24 09:00:44 +02:00
volzhs
3178dee53c
Suppress MissingPermission warning for Android vibration
...
It does check its permission every `vibrate_handheld()` calls.
Vibrate permission is added by checking it on export settings.
And there are some changes for deprecated method.
2019-08-27 22:02:22 +09:00
volzhs
081751172a
Support vibration for Android and iOS
2019-08-22 00:05:11 +09:00
Ibrahn Sahir
465056b6eb
Check project settings live before lookup in crash handler
...
In x11, windows and osx crash handlers, check project settings exists
before looking up the crash handler message setting.
Avoids crashing the crash handler when handling a crash outside project
settings lifetime. Instead omitting the configurable message and
continuing with trace dump.
(cherry picked from commit 63068e2ccd
)
2019-07-03 16:31:01 +02:00
KLee1248
e3b1f3c1ad
Re-maps KEY_BRACELEFT/RIGHT for OSX users
...
Should fix #28098 .
(cherry picked from commit 8cbfc0365b
)
2019-07-03 16:21:30 +02:00
bruvzg
c6e49cc0d9
[macOS] Allow using user provided `.icns` files for exported app icons.
...
(cherry picked from commit 22ee26849e
)
2019-07-03 13:19:40 +02:00
Rémi Verschelde
06123fac30
SCons: Default to builtin libpng/freetype on Linux
...
The rationale for keeping those shared by default is that they're typical
dependencies found on any Linux system, and it saves compilation time and
binary size to link their dynamically.
But since official builds default to all-builtin, and Debian/Ubuntu still
don't have libpng16 (which we now require) readily available on all their
supported releases, it's simpler to bundle all the things.
This does not change the fact that those dependencies *can* be unbundled
on Linux, it's only the default option changing.
(cherry picked from commit 1769cbc0e2
)
2019-07-02 14:59:49 +02:00
Bastiaan Olij
edba82b940
Add camera permissions to android
...
(cherry picked from commit fab84c7dff
)
2019-04-20 22:48:34 +02:00
bruvzg
d9aa43e793
[macOS] Allow non-resizeable windows to enter fullscreen mode.
...
(cherry picked from commit 7c7182483f
)
2019-04-20 22:23:25 +02:00
volzhs
3c635b4bdf
Fix get_unique_id() on Android
...
(cherry picked from commit 5a4b2087a0
)
2019-04-20 20:29:03 +02:00
Fabio Alessandrelli
7434760380
Fix jump over uninitialized value in OS Unix/X11
...
(cherry picked from commit 0bcf0314f7
)
2019-04-20 20:18:01 +02:00
Hendrikto
456eb53439
Remove unused imports
...
(cherry picked from commit 49a81308c0
)
2019-04-20 20:15:44 +02:00
Rémi Verschelde
782a6dcdde
SCons: add `methods.using_clang` to check used compiler
...
Also rename `use_gcc` to `using_gcc` to make it clear that it returns
a config but does not alter it.
(cherry picked from commit e4a96164b6
)
2019-04-20 20:14:43 +02:00
Rémi Verschelde
b502152195
SCons: Fix python3 compat for builtin_bullet=no
...
(cherry picked from commit 44f1b390a3
)
2019-04-03 17:01:25 +02:00
marxin
e3ae29e666
Enable warnings=extra on clang and GCC testers.
...
And remove 2 warnings from warnings=extra.
(cherry picked from commit e7f22ebdcd
)
2019-04-03 16:52:01 +02:00
bruvzg
754e1b073a
[macOS] Fix hiDPI scaling support in `OS.get_real_window_size` and `OS.set_window.size` functions.
...
(cherry picked from commit 1b6330b125
)
2019-04-01 11:11:50 +02:00
Sam Green
dbf2f0c31e
Add logging around opengl es context creation. Ensure we can access project settings prior to creating our gl es context, so we can properly determine which driver to use.
...
(cherry picked from commit 440706814a
)
2019-03-16 10:42:50 -07:00
Rémi Verschelde
53131635b4
Merge pull request #26962 from ibrahn/small-x11setcontext-fix
...
fix for access after free in OS_X11::set_context.
2019-03-12 16:28:43 +01:00
Ibrahn Sahir
7822cc9329
fix for access after free in OS_X11::set_context.
2019-03-12 13:41:02 +00:00
Rémi Verschelde
291c281fcf
Merge pull request #26957 from nekomatata/vs-natvis-fix
...
Fixed & improved Visual Studio custom debugger visualization
2019-03-12 14:03:27 +01:00
PouleyKetchoupp
fac0f76b7a
Fixed & improved Visual Studio custom debugger visualization
2019-03-12 08:59:30 +01:00
Rémi Verschelde
f1b01c96b9
HTML5: Fix ETC export for GLES2 fallback on mobile
2019-03-11 16:49:33 +01:00
DESKTOP-3H3MR3A\eloisa
b22cf46fdb
Request Android record permission when needed
2019-03-08 12:38:36 -03:00
Rémi Verschelde
201cb8d7ed
Merge pull request #26745 from akien-mga/android-modules-def
...
Define android/modules globally so it appears in Project Settings
2019-03-07 23:06:05 +01:00
Rémi Verschelde
c74bf2e6b1
Define android/modules globally so it appears in Project Settings
...
Until now people had to add it manually to project.godot to load custom modules.
2019-03-07 11:25:58 +01:00
Philip Whitfield
b717eb714c
osx: update mouse position on mouse press
2019-03-07 10:10:33 +01:00
Rémi Verschelde
1100d6a8f2
Merge pull request #26672 from RandomShaper/fix-22955-android-context-loss
...
Restart game on GL context loss on Android
2019-03-06 22:53:12 +01:00
bruvzg
24d59b56d3
[macOS] Fixes NumPad keys detection, adds some missing key mappings.
2019-03-06 22:03:15 +02:00
Pedro J. Estébanez
2d0d64794e
Restart game on GL context loss on Android
...
Bonus:
Remove useless old code about reload hooks
Fixes #22955 .
2019-03-06 19:09:17 +01:00
Rémi Verschelde
e60465dd75
Merge pull request #26707 from bruvzg/fix_macos_mscroll
...
Fix macOS accumulated mouse scroll events.
2019-03-06 15:32:03 +01:00
bruvzg
37f0a6d99a
Fix macOS accumulated mouse scroll events.
2019-03-06 15:35:19 +02:00
volzhs
8920bb8c1b
Fix directory check when exporting project
...
Fix #26702
2019-03-06 21:20:18 +09:00
Rémi Verschelde
b4d5c1ab5b
Merge pull request #26633 from akien-mga/driver-fallback-etc
...
Disable driver fallback to GLES2 by default
2019-03-06 00:57:49 +01:00
Rémi Verschelde
d592ee6be8
Merge pull request #26666 from Calinou/update-server-buildsystem
...
Update the server platform's `detect.py` to match x11's
2019-03-06 00:21:01 +01:00
Rémi Verschelde
4a8f219660
Merge pull request #26664 from marxin/fix-25714-__bswap_16
...
Replace usage of __bswap_16 with BSWAP16 (#25714 ).
2019-03-05 23:13:23 +01:00
Rémi Verschelde
2e79ec973f
Merge pull request #26626 from rluders/misleading-error-message-export
...
Fixing misleading error message when trying to export
2019-03-05 22:55:16 +01:00
Hugo Locurcio
9e912a4c89
Update the server platform's `detect.py` to match x11's
...
This adds support for LTO, UBSAN/ASAN/LSAN, debugging symbols options
and `optimize=size` in the `server` platform.
2019-03-05 22:22:10 +01:00
marxin
f0d2f079c4
Replace usage of __bswap_16 with BSWAP16 ( #25714 ).
2019-03-05 22:17:20 +01:00
Ricardo Lüders
3fdbdd8380
Fixes misleading error message when trying to export
...
This patch fixes the misleading error message when users
try to "export all" into an invalid destination path.
Closes #26539
2019-03-05 21:32:52 +01:00
Rémi Verschelde
b0f782a0e3
Disable driver fallback to GLES2 by default
...
GLES2 is not designed to be a drop-in replacement for the GLES3 backend,
so the fallback mode has to be used knowingly. It *can* make sense for
simple projects which make sure to handle the differences between both
rendering backends, but most users should stick to one supported backend.
By making it opt-in, we can now use this parameter to define whether to
export ETC textures to Android and iOS when using GLES3 + Fallback.
When using GLES3 without Fallback on Android, set the proper min GLES
version in the AndroidManifest.
Also made the option boolean and renamed it for clarity and to avoid
conflict with the previous String option (which would always evaluate as
"true" otherwise).
Fixes #26569 .
2019-03-05 16:36:46 +01:00
bruvzg
75d75c68c4
Fix HTML5 quick preview URL
2019-03-05 15:48:11 +02:00
Sam Green
36d627a9cf
Remove microphone from export options and distribution plist
2019-03-04 18:01:02 -08:00
Rémi Verschelde
b811207406
More style cleanup...
2019-03-04 10:11:29 +01:00
Juan Linietsky
a1e73dcc94
Add support for event accumlation (off by default, on for editor), fixes #26536
2019-03-03 19:53:13 -03:00
Juan Linietsky
8b4c4d9b2f
Implement a more coherent (and way less hack) way to block animation updates, fixes #24618
2019-03-03 17:57:16 -03:00
Juan Linietsky
ae886a6f32
Ability to keep pumping messages while being debugged, may be a solution for #21431
2019-03-03 17:12:19 -03:00