Thaddeus Crews
01fc9aee6c
Core: Modernize C headers with C++ equivalents
2025-05-02 08:23:01 -05:00
Thaddeus Crews
608e7a27eb
Merge pull request #105242 from adamscott/add-wasm-ld-wall
...
[Web] Add the equivalent of `-Werror` for `wasm-ld`
2025-04-11 09:51:12 -05:00
Thaddeus Crews
cad0cd94ef
Merge pull request #105225 from bruvzg/ds_gdsoft
...
Change `DisplayServerMacOS` from `GDCLASS` to `GDSOFTCLASS`. Add `GDSOFTCLASS` to other display servers.
2025-04-10 16:53:42 -05:00
Adam Scott
ce4f64583a
Add the equivalent of -Werror for wasm-ld
2025-04-10 11:49:03 -04:00
A Thousand Ships
889410dcda
Add String::replace_char(s) methods for performance and convenience
2025-04-10 13:08:45 +02:00
Pāvels Nadtočajevs
0497522933
Change DisplayServerMacOS from GDCLASS to GDSOFTCLASS. Add GDSOFTCLASS to other display servers.
2025-04-10 09:18:58 +03:00
bruvzg
c6739f64df
[Export] Use project settings overrides with the target preset features instead of current platform features.
2025-04-08 21:22:37 +03:00
Yufeng Ying
4f4031a675
Replace size() == 0 with is_empty().
2025-04-02 19:18:43 +08:00
Pāvels Nadtočajevs
4638ade13f
Enable TTS on demand, instead of fully disabling it when project setting is not set.
2025-04-01 15:24:46 +03:00
Lukas Tenbrink
fa0a3c9c6e
Add and require GDSOFTCLASS for Object subclasses that want to cast but do not use GDCLASS.
2025-03-31 20:49:50 +02:00
kobewi
75881f8322
Use initializer list in Arrays
2025-03-26 18:38:15 +01:00
Rémi Verschelde
622dbe3713
Web: Fix editor build after #pragma once refactoring
2025-03-20 18:43:16 +01:00
Thaddeus Crews
83cf424b5f
SCons: Expand NoCache coverage
2025-03-18 09:54:55 -05:00
Thaddeus Crews
10ed66f28c
SCons: Add emitter to declutter build objects
2025-03-15 12:08:24 -05:00
Thaddeus Crews
77e9f55c51
Merge pull request #102676 from adamscott/add-web-library-emitter
...
[Web] Add library emitter to make sources dependent of compiler version
2025-03-11 16:53:53 -05:00
Thaddeus Crews
0bb1f138f2
Merge pull request #100525 from adamscott/set-closure-language-to-default
...
Remove custom `--language-in` arg for the Closure compiler
2025-03-11 14:00:35 -05:00
shahriarlabib000
25a8b808d3
update logo/run icon path in README
2025-03-10 12:03:41 +06:00
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once
2025-03-07 17:33:47 -06:00
Thaddeus Crews
3d9b37911d
Merge pull request #103011 from Repiteo/style/svgo-newline
...
Style: Ensure svgs have trailing newlines
2025-03-07 15:12:41 -06:00
A Thousand Ships
5113022dfe
Clean up some uses of String::substr
...
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
Thaddeus Crews
7e5baa0426
Style: Enforce trailing newlines on svgs
2025-02-18 11:02:45 -06:00
Adam Scott
030e7d4e2d
[Web] Fix issue when pausing an non-started sample
2025-02-17 09:49:50 -05:00
Adam Scott
61344dc5ac
[Web] Refactor mouse_mode setters in display server
2025-02-13 17:25:35 -05:00
Adam Scott
cdb6fc7f74
[Web] Remove position pool system and return false when done instead
2025-02-11 10:43:34 -05:00
Adam Scott
02cc1ec95b
[Web] Add library emitter to make sources dependent of compiler version
2025-02-10 16:18:35 -05:00
Thaddeus Crews
a7e5469155
Merge pull request #102163 from adamscott/fix-glitched-audio-web
...
[Web] Fix audio issues with samples and GodotPositionReportingProcessor
2025-01-31 09:15:49 -06:00
Pāvels Nadtočajevs
b3f7c8f5d3
[Export] Respect icon/splash screen import settings.
2025-01-31 07:45:16 +02:00
Adam Scott
c558c8a5f1
[Web] Fix audio issues with samples and GodotPositionReportingProcessor
2025-01-29 17:02:14 -05:00
Thaddeus Crews
3c80c14092
Merge pull request #101924 from adamscott/game-editor-non-cached-mouse-mode
...
Delegate handling `mouse_mode` to the `DisplayServer`
2025-01-28 16:08:56 -06:00
Adam Scott
47f553ae0b
Delegate to the DisplayServer the task of handling mouse_mode
...
- Add `MOUSE_MODE_MAX` and various index checks
2025-01-28 11:22:27 -05:00
Rémi Verschelde
90208f7dd4
SCons: Fix handling of platform-specific tools, notably mingw
...
Add optional `detect.py` `get_tools` method to let platforms register SCons
tools they need.
This helps move this logic out of SConstruct, keeping platforms more self
contained, and helping thirdparty platforms define their own custom tools.
This logic was also unreliable (the `use_mingw` one would only work if
passed manually on the command line, not in e.g. `get_flags`).
Co-authored-by: Thaddeus Crews <repiteo@outlook.com >
2025-01-25 13:59:30 +01:00
Malcolm Anderson
6b33037021
Add menu bar item for "Pack Project as ZIP..."
...
Apply suggestions from code review
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
Fix includes
Update editor/editor_node.cpp
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2025-01-09 20:37:02 -08:00
Rémi Verschelde
26db0bb15f
SCons: Make lto=auto prefer ThinLTO over full LTO for LLVM targets
...
This speeds up build time considerably for these platforms compared to
using `lto=full`, which is sadly single-threaded with LLVM, unlike GCC.
Changes to default behavior of `lto=auto` (i.e. `production=yes`):
- Linux: Prefer ThinLTO for LLVM
- Web: Prefer ThinLTO
- Windows: Prefer ThinLTO for llvm-mingw
The following LLVM targets don't use LTO by default currently, which
needs to be assessed further (gains from LLVM LTO on performance need
to be weighed against the potential size increase from heavy inlining):
- Android
- iOS
- macOS
- Windows clang-cl
2025-01-09 13:03:58 +01:00
Rémi Verschelde
6f3cc27423
Merge pull request #101178 from BlueCube3310/web-high-quality
...
Web: Export ASTC/BPTC compressed textures
2025-01-08 21:48:13 +01:00
Yufeng Ying
34d8255947
Force build editor with regex module, remove checking code.
...
Fix include.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2025-01-07 19:43:23 +08:00
Rémi Verschelde
11f95e7feb
Merge pull request #99350 from bruvzg/fs_mime
...
Support MIME types in file dialog filters on macOS and Linux.
2025-01-06 22:46:59 +01:00
Rémi Verschelde
990416e90b
Merge pull request #99296 from elpozewaunig/web_splash_properties
...
Add web support for all missing splash screen properties
2025-01-06 22:46:55 +01:00
BlueCube3310
84e6ac9ecd
Web: Export ASTC/BPTC compressed textures
2025-01-06 12:31:22 +01:00
Pāvels Nadtočajevs
e1f129cb52
Support MIME types in file dialog filters on macOS and Linux.
2025-01-04 22:05:35 +02:00
Elias Pozewaunig
8de13860e8
Added web support for all missing splash screen properties
...
show_image, fullsize and use_filter are now supported too.
bg_color, image and minimum_display_time were already supported previously.
2025-01-03 17:56:05 +01:00
Ricardo Subtil
b77aa473a1
Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization
2025-01-03 10:50:15 +00:00
Rémi Verschelde
89b18de032
Merge pull request #100221 from adamscott/fix-diraccess-sync
...
[Web] Fix `DirAccess::unlink()` not updating the IDBFS
2025-01-03 02:01:16 +01:00
Hilderin
9d2a4c03be
Embedding game process in editor
2024-12-18 17:52:42 -05:00
Rémi Verschelde
4cc471dbed
Merge pull request #100553 from tygyh/snyk-fix-450c49dd4b2c073502654af4e06e6ec6
...
Web: Security upgrade eslint from 9.12.0 to 9.15.0
2024-12-18 17:23:46 +01:00
snyk-bot
97ecf7830a
fix: platform/web/package.json & platform/web/package-lock.json to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230
- https://snyk.io/vuln/SNYK-JS-ESLINTPLUGINKIT-8340627
2024-12-18 10:28:34 +00:00
Rémi Verschelde
f08fe52d9a
Merge pull request #99963 from Faless/web/no_ip
...
[Web] Implement dummy IP and NetSocket
2024-12-17 22:59:42 +01:00
Fredia Huya-Kouadio
2d3f6963b2
Update the visibility for the custom templates for all platforms
...
Hide the custom template options behind the `Advanced Options` toggle
2024-12-17 13:08:47 -08:00
Adam Scott
3011717e14
Remove custom --language-in arg for the Closure compiler
2024-12-17 13:52:30 -05:00
Rémi Verschelde
0d4c68f82b
Merge pull request #100482 from adamscott/fix-closure-issues
...
Fix (some of the) 3.1.73 emscripten Closure compiler issues
2024-12-17 16:19:29 +01:00
Rémi Verschelde
182b4741ea
Merge pull request #93479 from Repiteo/scons/better-colored-output
...
SCons: Improve colored output
2024-12-17 16:18:41 +01:00