Commit Graph

3845 Commits

Author SHA1 Message Date
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
443140a9e8 File copyright header updates pt5. 2023-12-17 23:07:28 +01:00
5088d32fa0 Removed my old copyright headers. 2023-12-17 22:59:50 +01:00
99621357a0 File copyright header updates pt4. 2023-12-17 22:50:00 +01:00
22ec1be9b3 File copyright header updates pt3. 2023-12-17 22:42:34 +01:00
c12e2b34ad File copyright header updates pt2. 2023-12-17 22:39:31 +01:00
b3bb02b250 Fix adding newline in the copyright headers script. 2023-12-17 22:36:00 +01:00
337c99e52f File copyright header updates pt1. 2023-12-17 22:29:33 +01:00
9eb2fb05e4 Updated the copyright headers and clang-format scripts. 2023-12-17 22:14:52 +01:00
ab55049582 Updated the license. 2023-12-17 21:44:51 +01:00
0146de37da Initial docs for the WindowServer. 2023-12-12 14:55:38 +01:00
2c78ecad0f Re-extracted docs for PLogger. 2023-12-12 14:52:01 +01:00
70f749688b Renamed DisplayServer to WindowServer. 2023-12-12 14:51:08 +01:00
a99e07563d Initial DisplayServer method setup. 2023-12-12 14:39:28 +01:00
c11e564b4e Added a new dummy DisplayServer class. 2023-12-12 13:35:51 +01:00
88e9ad04f2 Moved back the servers and resources from core. 2023-12-10 23:11:07 +01:00
11945d7f1d Split material.h. 2023-12-10 21:26:28 +01:00
ee245511fd Removed unnecessary include. 2023-12-10 20:29:39 +01:00
63c895747a Moved Curve and Gradient to core. 2023-12-10 20:23:51 +01:00
e32155717c Moved 2d shapes to core. 2023-12-10 20:03:16 +01:00
9d2309bfe1 Moved shapes to core. 2023-12-10 19:58:44 +01:00
053f083e17 Moved the Physics 2d server to core. 2023-12-10 19:42:57 +01:00
dbcc6e33da Moved the physics server to core. 2023-12-10 19:36:00 +01:00