Commit Graph

3867 Commits

Author SHA1 Message Date
ca9249b5cf Started reworking filecache to have an immediate file path mode. Non-immediate mode will be removed in next commit, saving the work in case it's needed later. 2023-12-22 19:29:48 +01:00
57c3233187 Optimized path_clean_end_slash in String. 2023-12-22 19:26:41 +01:00
978e49a289 Implemented range requests for the HTTPServerSimple. It does work in fiefox, however wget seems to choke on it. This will be fixed later. 2023-12-22 15:37:04 +01:00
4d6b2f6f55 Fix logic in String::substr_index. 2023-12-22 15:35:35 +01:00
a781853b2b Added a way to get all available marameter keys to WebServerRequest. 2023-12-22 13:14:17 +01:00
e5719c991b Store incoming http request parameters properly. 2023-12-22 13:02:17 +01:00
df2859b9d0 Added a way to unregister connections and get out their raw connection data from the http server. 2023-12-22 12:38:38 +01:00
cf76e6debf Fix the doc descriptions where they got lost due to adding StringName to Variants. Also fixed smaller issues where I ran into them. 2023-12-21 00:48:25 +01:00
4f6d95d77e Fix warning. 2023-12-20 23:25:00 +01:00
2e41d4dfcd Now unicode error printing is disabled by default. Also can be enabled via a macro. 2023-12-20 23:21:32 +01:00
cd6e6149f8 Marked the last backported commit. 2023-12-20 23:10:46 +01:00
Fredia Huya-Kouadio
6713693291 Add Android project settings for gesture support
- Include project setting to enable long press for Android devices
- Include project setting to enable pan and scale gestures on Android devices
2023-12-20 23:08:39 +01:00
kleonc
ae3b43f6ca Improve TileMap editor visible names and tooltips 2023-12-20 23:03:33 +01:00
Rémi Verschelde
d8968ccef9 GDNative: Fix Linux arm64 warning about ignored sysv_abi attribute
Fixes #41160.
2023-12-20 23:02:11 +01:00
Rémi Verschelde
1c70f86950 Fix various GCC 13 warnings
Fixes occurrences of `-Wtype-limits`, `-Wmaybe-uninitialized`,
`-Wduplicated-branches`.
2023-12-20 22:57:54 +01:00
Fredia Huya-Kouadio
312a907ce7 Update the launchMode for the GodotApp activity to allow other activities to be part of the same task
For details, see https://developer.android.com/guide/topics/manifest/activity-element#lmode
2023-12-20 22:53:17 +01:00
Fredia Huya-Kouadio
8452eb6c97 Fix Android editor crash issue
Fix issue causing the Android editor to crash when pressing back from a running project
2023-12-20 22:52:19 +01:00
Fredia Huya-Kouadio
7000a13bda Automatically pick the Android sdk path using environment variables 2023-12-20 22:50:59 +01:00
6b6536ffe8 Also backported the previous change for cscript. 2023-12-20 22:49:11 +01:00
Jason Knight
929ad6b766 Far faster and more efficient method of checking if an identifer refers an autoload. 2023-12-20 22:45:03 +01:00
kleonc
44453b1d58 Make gizmo plugin handle SpriteBase3D instead of Sprite3D 2023-12-20 22:44:23 +01:00
BlueCube3310
7633bb4d89 Fix grayscale dds loading 2023-12-20 22:41:09 +01:00
lawnjelly
96d23e1f29 Fix glGet overflows by using 64 bit versions
Certain glGet operations require 64 bit versions according to the GLES spec.
The previous code was susceptible to overflow bugs,  especially running under ANGLE.
2023-12-20 22:39:02 +01:00
Jakub Marcowski
f45f3bbc73 Remove the separator from ItemList's thumbnail mode 2023-12-20 22:36:05 +01:00
bruvzg
dddc914981 Use occlusionState to determine when window is drawable. 2023-12-20 22:34:45 +01:00
TurboHz
5b05e02fde Return exit code 0 when running --version or --help
Fixes https://github.com/godotengine/godot/issues/83661
2023-12-20 22:33:58 +01:00
Fabio Alessandrelli
f95754186a Fix File.get_buffer returning wrong length
File.get_buffer always returned as many bytes as requested (even when
EOF was reached), this resulted in random bytes being returned when
overflowing.
2023-12-20 22:29:54 +01:00
Zach Coleman
e7611e5eab Make OSIPhone::get_screen_refresh_rate respect iOS Low Power Mode 2023-12-20 22:29:10 +01:00
Haoyu Qiu
838b46ac1a Allow dragging editable children 2023-12-20 22:28:25 +01:00
lawnjelly
88fd023a06 Workaround GCC warning in rasterizer_canvas_batcher
`-Werror=array-bounds` flags when creating a new batch, possibly due to the possibility of the malloc failing (out of memory).
This PR adds an explicit `CRASHNOW` in the hope the compiler will recognise this case is not intended to be recoverable.
2023-12-20 22:25:40 +01:00
Fabio Alessandrelli
bc5b8b61ec mbedTLS: Update to version 2.18.5
(cherry picked from commit 533336559325af95bdf85fef88041ee4af82a705)
2023-12-20 22:21:20 +01:00
Angad Kambli
341f89b10c Check parameter validity in Object::set_script
Fixes #46120.

(cherry picked from commit 9c6c2f09e07e65f7819920c4954a7fd54b37d3f6)
2023-12-20 22:20:51 +01:00
8f03370bfa Updated controller mappings DB from godot. 2023-12-20 22:19:10 +01:00
Rémi Verschelde
651857c040 Web: Fix version check for missing scalbnf LTO workaround
The check needs to happen after we set `env["CXX"]`.
Follow-up to #81340.

(cherry picked from commit 50161808c240b2296045887e1fc683eee87905ae)
2023-12-20 22:16:55 +01:00
Rémi Verschelde
51d50bff9b Web: Workaround Emscripten 3.1.42+ LTO regression
Fixes #80010.

(cherry picked from commit b064008c07be856d6f3a5079d11746137e03ede5)
2023-12-20 22:09:10 +01:00
cb17ff6c1d Updated github action checkout. 2023-12-20 22:06:03 +01:00
ocean (they/them)
6f4467b13a Build system: add option for MSVC incremental linking.
(cherry picked from commit bbafe14970cf2a101b8b04dbfafeeaa9ddfb5d4d)
2023-12-20 22:03:39 +01:00
15bac2d514 Fix syntax error. 2023-12-18 00:46:28 +01:00
f3982e12c7 Fix an exclude in the clang format script. 2023-12-18 00:31:20 +01:00
5133ef182d File copyright header updates pt10. 2023-12-18 00:31:04 +01:00
7a1db17e0f Added more excludes to the clang format script. 2023-12-18 00:25:43 +01:00
98912a89e8 File copyright header updates pt9. 2023-12-18 00:25:33 +01:00
2dc3113b0c Added more excludes to the clang format script. 2023-12-18 00:19:04 +01:00
429575fab6 File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
ac22f681a7 Added more excludes to the clang format script. 2023-12-18 00:03:16 +01:00
ae854d4e55 File copyright header updates pt7. 2023-12-18 00:02:58 +01:00
3afe20bdc7 More old copyright header cleanups. 2023-12-17 23:24:10 +01:00
cc4123e8fc Also ignore formatting fastnoise/lib. 2023-12-17 23:22:59 +01:00
347168197c File copyright header updates pt6. 2023-12-17 23:21:54 +01:00
87794189e6 Skip formatting sqlite. 2023-12-17 23:15:33 +01:00