kobewi
072f6feaba
Make some Image methods static
2022-10-14 14:34:15 +02:00
Fabio Alessandrelli
40d60ca6ae
[WebSocket] Fix debugger implementation.
...
Register module during core initialization so the remote debugger can
properly handle the "wss://" protocol.
2022-10-13 17:25:29 +02:00
Rémi Verschelde
fd4572cc45
Merge pull request #67340 from bruvzg/mac_export_min
...
Fix macOS export plugin build without regex module.
2022-10-13 09:05:42 +02:00
Rémi Verschelde
40847f1436
Merge pull request #67318 from bruvzg/more_gcc_warn
...
[Windows] Fix more GCC MinGW warnings.
2022-10-13 09:04:06 +02:00
bruvzg
dac2047529
Fix macOS export plugin build without regex module.
2022-10-13 08:54:50 +03:00
Rémi Verschelde
42ebc4ef65
Merge pull request #67325 from Faless/web/4.x_scons_serve
...
[Web] Add the "serve" and "run" scons targets.
2022-10-12 22:56:10 +02:00
Rémi Verschelde
261b9da77f
Merge pull request #67281 from Nidjo123/x11-window-resize
...
Keep rendering context window size in sync when resizing
2022-10-12 22:53:49 +02:00
Rémi Verschelde
f2248969db
Merge pull request #66952 from bruvzg/macos_net_export
...
Fix macOS .NET export.
2022-10-12 22:52:59 +02:00
Fabio Alessandrelli
a06602363c
[Web] Add the "serve" and "run" scons targets.
...
You can now run the test HTTP server by calling:
scons p=web serve
If you also wish to run the browser, call instead:
scons p=web run
The default listen port is 8060, but can be overriden via the env
variable GODOT_WEB_TEST_PORT which must be a valid integer.
2022-10-12 22:29:35 +02:00
bruvzg
ad4cc8682b
[Windows] Fix GCC MinGW warnings.
2022-10-12 20:19:17 +03:00
Rémi Verschelde
06dc4648bf
Merge pull request #67252 from zaevi/web_fix_export_file_locked
...
[Web] Fix file locked issue when exporting to Web.
2022-10-12 14:44:32 +02:00
Rémi Verschelde
ced736e584
Merge pull request #67272 from Riteo/fix-auto-execinfo
...
Actually set the execinfo flag on non-glibc systems
2022-10-12 08:56:03 +02:00
Rémi Verschelde
fb9b4a1dd0
Merge pull request #67258 from Faless/web/4.x_eslint_html
...
[Web] Add auto-formatting to HTML files.
2022-10-12 08:54:52 +02:00
Nikola Bunjevac
882d40fa11
Keep rendering context window size in sync when resizing
...
On X11 we rely on ConfigureNotify event to update rendering context
window size, but we don't get such event when resizing
programmatically, only when done "manually" by resizing the window
etc.
2022-10-11 23:27:21 +02:00
Riteo
a3b5353892
Actually set the execinfo flag on non-glibc systems
2022-10-11 21:45:29 +02:00
Rémi Verschelde
736a2df437
Merge pull request #67244 from RandomShaper/split_render_further_2
...
Polish rendering driver refactor further (take 2)
2022-10-11 21:08:42 +02:00
Fabio Alessandrelli
9a653ebeac
[Web] Add auto-formatting to HTML files.
...
Uses html-eslint for HTML file and eslint-plugin-html for inline
JavaScript.
Use HTML5 (not XHTML), remove CDATA and trailing slashes for self
closing tags.
Add format checks to CI.
2022-10-11 19:42:12 +02:00
Pedro J. Estébanez
f82deaa5b3
Polish rendering driver refactor further (take 2)
2022-10-11 19:06:55 +02:00
Zae
55a491114a
Fix file locked issue when exporting to Web.
2022-10-11 20:49:51 +08:00
Rémi Verschelde
5aadc618b6
Merge pull request #66102 from MJacred/feature/getvideoadapterdriverinfo
...
Fetch video adapter driver name and version from OS
2022-10-11 13:59:53 +02:00
MJacred
de768afbdc
Fetch video adapter driver name and version from OS on Linux/*BSD and Windows
2022-10-11 12:39:41 +02:00
Rémi Verschelde
6ad1a635ee
Merge pull request #67242 from akien-mga/cleanup-unused-defines
...
Cleanup unused defines in platform code
2022-10-11 12:34:10 +02:00
Rémi Verschelde
a92c564a02
Cleanup unused defines in platform code
2022-10-11 11:52:41 +02:00
Pedro J. Estébanez
e14c5186e2
Fix newlines not honored in Windows console
...
This is relevant when building with `windows_subsystem=console`.
2022-10-11 10:09:50 +02:00
Micky
fe56c1ff75
Use JSON::stringify
where possible
2022-10-11 00:27:23 +02:00
Rémi Verschelde
28f642097a
Merge pull request #67183 from akien-mga/gcc-warnings-cleanup
...
SCons: Cleanup GCC warnings configuration
2022-10-10 17:42:36 +02:00
Rémi Verschelde
3c413cf008
Merge pull request #67200 from bruvzg/fix_win_gcc_warn
...
[Windows] Fix GCC MinGW warnings.
2022-10-10 17:42:19 +02:00
Fabio Alessandrelli
15a8e17b87
Merge pull request #67184 from zaevi/web_fix_GodotJSWrapper_object_type
...
[Web] Fix `Object` type in GodotJSWrapper.
2022-10-10 17:41:10 +02:00
bruvzg
379df32a98
[Windows] Fix GCC MinGW warnings.
2022-10-10 17:43:49 +03:00
Rémi Verschelde
8017827144
SCons: Re-enable treating #warning
as error with werror
...
Replace all TODO uses of `#warning` by proper TODO comments, and will open
matching bug reports to keep track of them.
We don't have a great track record fixing TODOs, but I'd wager we're even
worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10 16:12:26 +02:00
Zae
bf61af6ae9
Fix Object type in GodotJSWrapper.
2022-10-10 19:28:43 +08:00
bruvzg
73430f292b
[macOS] Fix window button position and title bar size when editor scale do not match OS UI scale.
2022-10-10 10:32:41 +03:00
Jason Knight
c2d7f7fb4c
Change auto to default in cursor css settings.
2022-10-07 10:53:49 -06:00
Rémi Verschelde
b28c39d2f5
Merge pull request #67021 from RandomShaper/window_create_ret_madness
...
Harmonize return values of `window_create()` in rendering drivers
2022-10-07 14:22:53 +02:00
bruvzg
6daf4c6593
[.NET Export] Improve .NET export process.
...
[macOS export] Fix incorrect file placement, search paths and architecture detection.
[macOS export] Automatically detect executable files and set +x flag.
[macOS export] Automatically apply "Disable Library Validation" entitlements when required.
[macOS export] Remove old Mono export code.
Fix folder tree creation for shared objects export.
Add arch suffix to the exported .NET "data" folder name.
Remove old Mono code from .NET "data" folder lookup.
2022-10-07 13:33:06 +03:00
Pedro J. Estébanez
e821e9d2a2
Harmonize return values of window_create() in rendering drivers
2022-10-07 11:31:54 +02:00
bruvzg
0103af1ddd
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
2022-10-07 11:32:33 +03:00
Rémi Verschelde
6c58327c69
Merge pull request #66965 from bruvzg/win_llvm
...
[Windows] Fix LLVM MinGW build.
2022-10-06 08:57:29 +02:00
Rémi Verschelde
c2c9a582da
Merge pull request #64815 from RandomShaper/default_cpu_count
...
Improve default `OS`'s CPU count getter
2022-10-06 08:55:51 +02:00
bruvzg
6afb2d0225
[Windows] Fix LLVM MinGW build.
2022-10-06 09:30:25 +03:00
Fredia Huya-Kouadio
ea9bb98f26
Merge pull request #66946 from m4gr3d/cursor_shape_logic_cleanup_main
...
Cleanup of the Android cursor shape logic
2022-10-05 13:07:34 -07:00
Fredia Huya-Kouadio
ffe0e3970f
Cleanup of the Android cursor shape logic
2022-10-05 11:57:57 -07:00
Pedro J. Estébanez
6bf02c0162
Keep a single, portable implementation of OS::get_processor_count()
2022-10-05 20:10:47 +02:00
Fredia Huya-Kouadio
38113acf0d
Merge pull request #66941 from winterpixelgames/bugfix-android-null-input-event
...
Fix null in android keyboard handling.
2022-10-05 10:51:58 -07:00
Jason Knight
88df3e8d53
Fix null in android keyboard handling.
2022-10-05 11:17:02 -06:00
Fredia Huya-Kouadio
3178b042b3
Fix the gradle build configuration for the Android platform following https://github.com/godotengine/godot/pull/66242
2022-10-05 08:41:48 -07:00
Rémi Verschelde
5b6ccf2fd2
Merge pull request #66720 from qarmin/unintialized_memory
...
Remove usage of unitialized variables
2022-10-05 11:42:47 +02:00
Rémi Verschelde
33f4c5282f
Merge pull request #64819 from RandomShaper/enhance_thread_funcs
...
Enhance portability of threading
2022-10-05 11:42:35 +02:00
Rémi Verschelde
4bf3199000
Merge pull request #64886 from Calinou/web-editor-add-local-web-server-2
...
Replace local web server setup for web editor with a Python-based solution
2022-10-05 08:36:19 +02:00
Rémi Verschelde
2c94470dd1
Merge pull request #63983 from Calinou/scons-linux-execinfo-musl
...
Automatically use execinfo for crash handler on *BSD and musl-based Linux
2022-10-05 08:29:59 +02:00