Mai Lavelle
b966ca6167
Improve detection of gamepads on Linux
...
Some devices (Nintendo Switch Right Joy-Con) report only a right stick.
2022-02-03 22:56:43 -05:00
Fabio Alessandrelli
6d3d17651a
Revert "[HTML5] Better engine config parsing."
...
This reverts commit 2f509f1b12
.
Breaks closure compiler builds.
And adds a warning for future readers.
2022-02-03 19:17:51 +01:00
Rémi Verschelde
c4f38813b4
Merge pull request #57577 from bruvzg/mac_export_tr
2022-02-03 15:16:46 +01:00
Rémi Verschelde
e165f18ae5
Merge pull request #57350 from NeilKleistGao/master
2022-02-03 12:36:23 +01:00
NeilKleistGao
1cf2b9a44b
Add warning for Windows export when rcedit is not configured
2022-02-03 16:25:00 +08:00
bruvzg
2eeff4caec
[macOS] Add empty translation files to the exported app bundle, to allow translation detection by the OS.
2022-02-03 09:56:10 +02:00
Rémi Verschelde
969780cd2d
Merge pull request #57203 from bruvzg/ios_export_fix
2022-02-02 23:14:30 +01:00
Fabio Alessandrelli
6ff753675a
Merge pull request #56771 from mhilbrunner/unacceptable
...
Verify custom HTTP headers, fix off by one error
2022-02-02 18:28:30 +01:00
Rémi Verschelde
ea12094f19
Merge pull request #57497 from Geometror/fix-mouse-mode
2022-02-01 14:46:30 +01:00
Rémi Verschelde
5a1f42b322
Windows: Fix GCC -fpermissive error with 'pck' section workaround
...
Follow-up to #57450 .
2022-02-01 11:33:41 +01:00
Hendrik Brucker
c058361a23
Fix captured mouse mode
2022-02-01 03:49:51 +01:00
Rémi Verschelde
f14b1441e7
Merge pull request #56548 from madmiraal/fix-53894
2022-01-31 18:08:48 +01:00
Fabio Alessandrelli
93968e1451
[HTML5] Fix gamepad samples not being properly reset.
2022-01-31 14:56:48 +01:00
Fabio Alessandrelli
2f509f1b12
[HTML5] Better engine config parsing.
2022-01-31 14:56:40 +01:00
Bartłomiej T. Listwon
e4bde938a1
Prevent LTCG (MSVC LTO) from removing "pck" section
2022-01-30 16:45:28 +01:00
Nathan Franke
8a0a3accee
simplify formatting scripts, add a clang-tidy script, and run clang-tidy
2022-01-29 04:41:03 -06:00
Rémi Verschelde
83c7bf6d94
Merge pull request #57336 from bruvzg/win_con_redir
2022-01-28 15:04:09 +01:00
bruvzg
2c8511579f
Fix MOUSE_MODE_CONFINED not updating area when full-screen is toggled or current screen is changed.
2022-01-28 10:15:08 +02:00
bruvzg
99a1e552ac
[Windows] Disable console I/O redirection, if it's already redirected to the pipe or file.
2022-01-28 08:30:01 +02:00
Rémi Verschelde
4b36b6e92a
Merge pull request #56785 from bruvzg/nat_handles_4
2022-01-27 12:12:34 +01:00
Rémi Verschelde
203e261526
Merge pull request #57293 from mhilbrunner/windows-console-fixups
2022-01-27 11:48:53 +01:00
Max Hilbrunner
3ef5a97505
Verify custom HTTP headers, fix off by one error
2022-01-27 03:22:37 +01:00
Max Hilbrunner
9590eeebb5
Minor typo fixups to Windows console changes
2022-01-27 03:11:00 +01:00
Fredia Huya-Kouadio
6a4614ef48
Include the godot_plugin_jni.cpp
file into the platform/android/SCsub
file
...
This should resolve https://github.com/godotengine/godot/issues/57209
2022-01-26 14:50:56 -08:00
Fredia Huya-Kouadio
b284dd92d3
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
2022-01-26 09:05:47 -08:00
bruvzg
57db989a97
[iOS] Fix iOS export with manually specified signing/provisioning data.
2022-01-25 17:13:03 +02:00
Haoyu Qiu
8be49838b3
Fix memory leak when move to trash fails on Linux
2022-01-25 18:38:13 +08:00
Rémi Verschelde
57a057f7ff
Merge pull request #56754 from madmiraal/fix-45592
2022-01-24 10:05:42 +01:00
Fabio Alessandrelli
3f93528483
Merge pull request #57074 from Faless/net/4.x_http_client_64
...
[Net] Fix get_response_body_length for large files.
2022-01-23 04:42:20 +01:00
Fabio Alessandrelli
18c2e734ac
Merge pull request #56977 from Calinou/web-editor-add-local-web-server
...
Add local web server configuration designed for web editor development
2022-01-23 04:41:32 +01:00
Fabio Alessandrelli
01e5e98312
[Net] Fix get_response_body_length for large files.
...
Parsing was fixed, but not the return value for the exposed getter.
2022-01-23 01:30:35 +01:00
bruvzg
3bf05c9018
[Export] Instead of removing unsupported options, hide it.
2022-01-22 22:56:58 +02:00
Omar Polo
bd448e5535
Rename or refactor macros to avoid leading underscores
...
These are not used consistently and some can conflict with
system-specific defines. While here, also delete some unused macros.
2022-01-20 20:29:15 +01:00
Hugo Locurcio
9ef9bfb12c
Add local web server configuration designed for web editor development
...
Running `npm run serve` in `platform/javascript/` will start
a web server that uses `bin/` as its root folder. This means you
can extract a compiled web editor ZIP in this folder and immediately
be able to test the web editor.
Headers required for the use of SharedArrayBuffer are automatically
added to every response.
2022-01-20 16:42:00 +01:00
Rémi Verschelde
9e0973ca23
Merge pull request #56972 from lawnjelly/warn_unused
2022-01-20 15:34:41 +01:00
lawnjelly
b411a731fe
Add nodiscard to core math classes to catch c++ errors.
...
A common source of errors is to call functions (such as round()) expecting them to work in place, but them actually being designed only to return the processed value. Not using the return value in this case in indicative of a bug, and can be flagged as a warning by using the [[nodiscard]] attribute.
2022-01-20 13:07:49 +00:00
Rémi Verschelde
b6cb366884
Merge pull request #56949 from timothyqiu/has-clipboard
2022-01-20 12:09:45 +01:00
Hugo Locurcio
da19898c24
Force threads when compiling web editor instead of erroring out
...
This makes the build process more seamless. A similar option is
already forced for initial memorywhen needed.
2022-01-19 17:07:20 +01:00
Haoyu Qiu
314f309035
Add DisplayServer.clipboard_has()
to check clipboard content
2022-01-19 23:44:20 +08:00
Rémi Verschelde
74b110a736
Merge pull request #56825 from bruvzg/macos_fix_fullscr_multiwindow
2022-01-19 10:03:17 +01:00
Rémi Verschelde
7c771ea310
Merge pull request #47522 from madmiraal/rename-test_width-test_height
2022-01-18 13:39:57 +01:00
bruvzg
d62ca0c9c0
Window management improvements.
...
[macOS] Fix transient windows not working in the full-screen mode.
[macOS] Fix moving transient windows to the other screen than parent window.
[macOS] Fix popup menu switch on hover.
[macOS] Use content origin rect for windows position (to ensure `DS.mouse_get_position` is equal to `DS.window_get_position` + mouse position from the input events).
[macOS] Fix incorrect input coordinates, when external display with different scaling in connected/disconnected.
[macOS/Windows] Fix moving fullscreen windows between the screens.
Add auto refocusing of the parent window, when the focused transient window is closed.
Remove redundant `DS.mouse_get_absolute_position` function (returns mouse position in the screen coordinates, same as `DS.mouse_get_position`).
2022-01-18 11:47:03 +02:00
bruvzg
8bb00a2dfd
[macOS export] Implements ad-hoc signing on Linux/Windows, adds extra privacy settings, entitlements warnings and error checking.
2022-01-18 11:11:02 +02:00
Rémi Verschelde
8bdef23f7f
Merge pull request #56012 from bruvzg/wt 🤎 4
2022-01-17 13:26:15 +01:00
Rémi Verschelde
7176a43260
Remove property hints referencing unsupported svgz extension
...
The wrongly claimed support for it was removed in #49645 .
See also #56862 .
2022-01-17 12:40:43 +01:00
bruvzg
962d2df042
[iOS] Improve iOS icon / loading screen export.
...
Merge "required" / "optional" icons into a single list.
Remove "generate_missing" and automatically rescale icons / loading screens that are missing or have incorrect size.
Print warning if icon or loading screen has incorrect size.
2022-01-17 11:45:31 +02:00
Hugo Locurcio
40be15920f
Remove support for PVRTC texture encoding and decoding
...
On the only platform where PVRTC is supported (iOS),
ETC2 generally supersedes PVRTC in every possible way. The increased
memory usage is not really a problem thanks to modern iOS' devices
processing power being higher than its Android counterparts.
2022-01-14 21:08:22 +01:00
Rémi Verschelde
5f4e90d602
Merge pull request #56238 from madmiraal/fix-44178
...
Fix Actions mapped to triggers not using the full range
2022-01-14 19:59:29 +01:00
Marcel Admiraal
f41c72c538
Fix Actions mapped to triggers not using the full range
2022-01-14 15:36:20 +00:00
Yuri Roubinsky
9418a2a599
Flush input events before destroying the window
2022-01-14 17:43:31 +03:00