bruvzg
f883dd48ca
Add empty translation files to the exported app bundle, to allow translation detection by the OS.
...
(cherry picked from commit 2eeff4caec
)
2022-02-17 10:30:53 +01:00
Sergey Minakov
21b6d31e4c
[iOS] Fix touch handling for overlay views
...
Workaround for GodotView touches being called from UIWindow on different UIView input
(cherry picked from commit aba5f6d9be
)
2022-02-17 10:25:07 +01:00
Rémi Verschelde
269c585f08
Server: Fix skip libstdc++ static linking on macOS
...
Fixes #48161 .
(cherry picked from commit 94dd9c26dd
)
2022-02-17 10:22:06 +01:00
Fabio Alessandrelli
c09b8a9997
Revert "[HTML5] Better engine config parsing."
...
This reverts commit 2f509f1b12
.
Breaks closure compiler builds.
And adds a warning for future readers.
(cherry picked from commit 6d3d17651a
)
2022-02-04 00:17:30 +01:00
bruvzg
894b6d5049
Fix iOS export with manually specified signing/provisioning data.
...
(cherry picked from commit 57db989a97
)
2022-02-02 23:19:21 +01:00
Rémi Verschelde
717cb07304
Windows: Fix GCC -fpermissive error with 'pck' section workaround
...
Follow-up to #57450 .
(cherry picked from commit 5a1f42b322
)
2022-02-01 12:20:50 +01:00
Fabio Alessandrelli
147e2b7c92
[HTML5] Fix gamepad samples not being properly reset.
...
(cherry picked from commit 93968e1451
)
2022-01-31 21:45:51 +01:00
Fabio Alessandrelli
18d676636d
[HTML5] Better engine config parsing.
...
(cherry picked from commit 2f509f1b12
)
2022-01-31 21:45:44 +01:00
Bartłomiej T. Listwon
3cae7a7df5
Prevent LTCG (MSVC LTO) from removing "pck" section
...
(cherry picked from commit e4bde938a1
)
2022-01-31 20:40:31 +01:00
Fredia Huya-Kouadio
3b4be5741e
Fix XR Android manifest metadata
...
- Adds the parameters for supported Meta devices, which is required to access some device specific capabilities
- Remove the 'com.samsung.android.vr.application.mode' metadata when we're not using the VrApi plugin
(cherry picked from commit 5deeb38a70
)
2022-01-31 20:38:43 +01:00
Haoyu Qiu
fbff61dfe9
Fix memory leak when move to trash fails on Linux
...
(cherry picked from commit 8be49838b3
)
2022-01-25 18:56:36 +01:00
Rémi Verschelde
0e0ccc4adf
ImageLoader: Remove references to unsupported svgz extension
...
I don't see any reference to gzip/svgz supported in the nanosvg library,
and the handful of test gzip compressed svgz files I tried failed loading.
Also cleaning a couple missing includes in platform export code.
(cherry picked from commit 1ee44b2366
)
2022-01-25 18:41:01 +01:00
Rémi Verschelde
71066cd63b
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
(cherry picked from commit a627cdafc5
)
2022-01-13 16:00:37 +01:00
Jason Knight
b83ae018ff
Android export plugin passes absolute file paths to gradle for keystores.
...
(cherry picked from commit 39070291ef
)
2022-01-12 16:46:11 +01:00
bruvzg
454fe105e6
[macOS] Improve window activation hack.
...
(cherry picked from commit 927105692f
)
2022-01-12 16:42:24 +01:00
Max Hilbrunner
4674599dfa
Windows input: fix bracket -> brace for US input
...
(cherry picked from commit 36af1abbe0
)
2022-01-12 16:16:28 +01:00
Rémi Verschelde
2e8fdd0112
Fix typos with codespell
...
Using codespell 2.1.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
(cherry picked from commit b197de6f5f
)
2022-01-07 00:17:47 +01:00
bruvzg
cb6d82a111
Fix multiple missing UTF-8 decoding.
...
(cherry picked from commit c69e0d16bc
)
2022-01-06 21:30:41 +01:00
bruvzg
0868f6af62
Fix decoding UTF-8 filenames on unzipping.
...
(cherry picked from commit d2573c1636
)
2022-01-06 00:58:32 +01:00
Marcel Admiraal
ecb283009e
Fix tablet tilt values returning bad values
...
(cherry picked from commit 913855926d
)
2022-01-06 00:58:32 +01:00
bruvzg
8d83e58b37
[macOS] Fix OpenGL flickering.
...
Remove kCGLCEMPEngine, which is causing flicker.
Disable window redraw during resize, when rendering in the separate thread.
2021-12-21 11:23:00 +02:00
Sam Lantinga
31f5b20d0f
Fixed detecting the Valve Streaming Gamepad
...
Fixed the GUID, and compare the contents of the GUID, not just the pointers
(cherry picked from commit 8df0baf6f5
)
2021-12-17 00:05:21 +01:00
bruvzg
5f7b91136f
[Windows] Detect new Windows Terminal and disable unsupported set_console_visible code.
...
(cherry picked from commit 9aef3a93dd
)
2021-12-16 23:05:54 +01:00
bruvzg
cd5ba99f35
[Windows] Open a new console window for the editor instances.
...
(cherry picked from commit 38c1706a7d
)
2021-12-14 17:31:13 +01:00
Aaron Franke
e147fc3428
[3.x] Misc build system fixes
...
(cherry picked from commit 7bf7bd70ac
)
2021-12-14 17:29:59 +01:00
ne0fhyk
522c0dd6b6
Add support for configuring the xr hand tracking frequency mode
...
(cherry picked from commit 9d22ad3c9b
)
2021-12-09 23:05:20 +01:00
Fredia Huya-Kouadio
605502a0d2
Enable configuration of the `android:excludeFromRecents` activity attribute.
...
(cherry picked from commit cfa81ff32a
)
2021-12-09 23:03:42 +01:00
Fredia Huya-Kouadio
0ed8be946f
Add configs to specify the min and target sdk versions.
...
(cherry picked from commit 65cfa28cce
)
2021-12-09 23:02:13 +01:00
Luis Sanchez
57927ff097
Fix files_dropped in HTML5 export.
...
(Ignore trailing slash when creating the temporary directory)
(cherry picked from commit 40f26cb260
)
2021-12-09 12:06:14 +01:00
bruvzg
fa3f071e21
[macOS] Fix crash handler not printing function names on M1 Macs.
...
(cherry picked from commit c8037ef2e5
)
2021-12-08 10:38:43 +01:00
Fabio Alessandrelli
4ce01a35be
[HTML5] Fix multi-touch input handling.
...
The code to populate the input data for WebAssembly was incorrectly
overriding values when multiple touches were present due to wrong
indexing.
(cherry picked from commit 470496d8d4
)
2021-11-30 12:21:28 +01:00
bruvzg
726fe83b84
[macOS] Fix driver crash when enabling per-pixel transparency on M1 macs.
...
(cherry picked from commit f72cc71ebe
)
2021-11-30 10:59:49 +01:00
Fabio Alessandrelli
35b7e86e6e
[HTML5] Use compatibility function for glGetBufferSubData.
...
The "webgl/webgl2.h" include provides that function, but it's not
available in emscripten versions < 2.0.17 .
Since we need to support emscripten 1.39.9 (mono builds), this commit
adds a JS function in library_godot_display.js as a compatibility layer
for it, and implement glGetBufferSubData by funneling the call to that
function (so we don't have name collisions JS-side with recent emcc).
All those hacks are now moved to the platform directory instead of being
ifdefs inside the drivers implementations.
(cherry picked from commit bbfe054175
)
2021-11-29 16:42:26 +01:00
Fabio Alessandrelli
8fb897ecfa
[HTML5] Use absolute path for JS lib/pre/externs.
...
Ensure better compatibility when emcc which may run some tools from
different paths (e.g. closure compiler).
This fixes externs include issues with modern emcc using the closure
compiler.
(cherry picked from commit eaedc92c61
)
2021-11-29 16:41:44 +01:00
Fabio Alessandrelli
8f0208af65
[HTML5] Fix focus (again) in Firefox's iframes.
...
This actually makes sense(?), when running inside an iframe the active
element might be our canvas, while the iframe itself is not active in
the parent window. Since we consume the event, the iframe does not get
focused in Firefox (but does in Chromium-based browsers), so we must
always call focus to handle such occasions.
(cherry picked from commit 63e2db2499
)
2021-11-26 10:43:32 +01:00
Marcel Admiraal
fab0c48c80
Fix Android `get_screen_orientation()` not returning valid values
...
(cherry picked from commit 05744ee0e2
)
2021-11-25 23:13:14 +01:00
Fredia Huya-Kouadio
2a12784498
Add support for OpenXR export configurations.
...
(cherry picked from commit 9c50bcabed
)
2021-11-25 23:13:14 +01:00
Fabio Alessandrelli
2a4efa3bcd
[HTML5] Add checks to Gamepad API events.
...
In some conditions the events might be generated even when the `gamepad`
object is not accessible due to Security Context requirements.
This commit adds a check to avoid firing the handler in those cases.
(cherry picked from commit 91dbc288cc
)
2021-11-25 23:13:13 +01:00
Fabio Alessandrelli
d70461b27e
[HTML5] Fix input not focusing canvas.
...
mousedown and touchstart should focus the canvas to ensure correct
application lifecycle.
(cherry picked from commit f13c7fc83e
)
2021-11-25 23:13:13 +01:00
Will Jordan
e2cf151560
Fix crash on macOS (AS) when dualshock4 is removed
...
(cherry picked from commit 283e31a3e2
)
2021-11-25 23:13:07 +01:00
Hugo Locurcio
0b66d80b61
Fix outdated SCons macOS build message
...
The message incorrectly stated that the minimum supported version
is 10.9, when it is in fact 10.12.
(cherry picked from commit fde50db399
)
2021-11-15 22:37:18 +01:00
bruvzg
4574b3ebeb
[iOS export] Capture and display xcodebuild output.
...
(cherry picked from commit 2e74bacf17
)
2021-11-15 22:25:35 +01:00
bruvzg
a4b736606f
[Export] Read and ZIP project files in 16K chunks instead of reading the whole file at once.
...
(cherry picked from commit c8f3dd776b
)
2021-11-15 22:23:59 +01:00
bruvzg
71eeecfaf0
[macOS] Enable multithreaded OpenGL engine flag when using multithreaded VisualServer.
...
(cherry picked from commit 28d7b585c9
)
2021-11-15 22:22:06 +01:00
Fredia Huya-Kouadio
724ef83971
Add default `minSdkVersion` and `targetSdkVersion` in the AndroidManifest.xml file
2021-11-03 21:49:22 -07:00
Rémi Verschelde
2c47e33905
Merge pull request #54313 from nekomatata/x11-fix-input-delay-3.x
2021-11-02 08:53:06 +01:00
Rémi Verschelde
bf59549f68
Merge pull request #54394 from robfram/freebsd-llvm-no-atomic-lib
2021-11-01 22:30:13 +01:00
bruvzg
ed25a160ea
[macOS] Always execute editor instances using NSWorkspace to ensure app window is registered and activated correctly.
2021-11-01 11:33:30 +02:00
robfram
2c8014e565
Exclude atomic lib under FreeBSD using LLVM
2021-10-29 18:24:57 +02:00
Rémi Verschelde
14ef65e49b
Merge pull request #54348 from akien-mga/3.x-clang-format-dont-align-operands
2021-10-28 15:43:15 +02:00