summaryrefslogtreecommitdiff
path: root/misc
AgeCommit message (Collapse)Author
2022-03-15Improve `--debug-stringnames` to be more usefulHugo Locurcio
- Print all StringNames, not just the top 100. - Print statistics at the end of the list of StringNames, with unreferenced and rarely referenced StringNames. - List the CLI argument in `--help` and shell completion.
2022-03-13Tweak the display order of CLI arguments in `--help` for consistencyHugo Locurcio
`--profile-gpu` was renamed to `--gpu-profile` for consistency with `--gpu-abort`. This also updates the shell completion files to the latest `master` branch.
2022-03-11Merge pull request #58751 from bruvzg/loc_str_propsRémi Verschelde
2022-03-09Remove unused GDNative codeRémi Verschelde
This has been superseded by GDExtension so this code is no longer useful nor usable. There's still some GDNative-related stuff in platform export code which needs to be adapted for GDExtension (e.g. to include GDExtension libraries in exports).
2022-03-04Improve app name and system permission message localization.bruvzg
Add localizable string (Dictionary<Lang Code, String>) property editor and property hint. Add localized "app name" property to the project settings. Add localized permission and copyright properties to the macOS and iOS export settings. Remove some duplicated ("app name") and deprecated ("info") macOS and iOS export properties.
2022-03-04[macOS and iOS export] Add localized application name to the translation ↵bruvzg
.plist files.
2022-02-12[macOS] Add missing translation file.bruvzg
2022-02-12Merge pull request #57005 from Calinou/web-editor-tweak-logo-max-widthFabio Alessandrelli
Tweak logo max width on the web editor
2022-02-12Merge pull request #56966 from Calinou/web-editor-allow-any-orientationFabio Alessandrelli
Allow using the web editor on any device orientation
2022-02-10Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Added `misc/scripts/codespell.sh` to make it easier to run it once in a while and update the skip and ignore lists.
2022-02-08Remove support for ARMv7 (32-bit) on iOSHugo Locurcio
All iOS devices since the iPhone 5S support ARMv8 (64-bit). The last iOS version supported on ARMv7 devices is 10.x, which is too old to run Godot 4.0 projects since the minimum supported iOS version is 11.0.
2022-02-06[HTML5] Improve editor progressive web app behavior.Fabio Alessandrelli
Ensures early claim for aggressive caching. Adds a button to update when it detects a new version asking confirmation due to the necessary reload.
2022-02-06[HTML5] PWA service worker prefers cached version.Fabio Alessandrelli
Use an offline first approach, where we prefer the cached version over the network one. This forces games using PWA to always re-export the project and not just the PCK, so that the service worker version gets updated correctly, and the end-user cache is correctly cleared on update.
2022-02-02Merge pull request #57203 from bruvzg/ios_export_fixRémi Verschelde
2022-02-01CI: Fix exclude patterns with `git ls-files`Rémi Verschelde
Follow-up to #55785. In `black_format.sh`, the `--exclude` switch was wrongly used. It's a misnomer that only excludes _untracked_ files, arcane pathspec patterns should instead be used to exclude _tracked_ files. Using this newfound knowledge, we can also simplify the other scripts.
2022-01-29simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke
2022-01-25[iOS] Fix iOS export with manually specified signing/provisioning data.bruvzg
2022-01-21Allow using the web editor on any device orientationHugo Locurcio
On tablets and foldable phones, the editor can remain usable while in portrait mode thanks to the wide display.
2022-01-20Tweak logo max width on the web editorHugo Locurcio
The logo's maximum width is now dependent on the viewport height in addition to the page width. This prevents the "Start Godot editor" button from overflowing the page on mobile devices (although the "Clear persistent data" and "Web editor documentation" buttons will still overflow for now).
2022-01-20Merge pull request #56969 from Calinou/web-editor-tweak-theme-colorRémi Verschelde
Tweak theme color to match the Godot editor's background color
2022-01-19Tweak theme color to match the Godot editor's background colorHugo Locurcio
This makes for a more seamless-looking address bar/status bar when using the web editor on a mobile device, either directly in the brower or installed as a progressive web app. This also specifies a theme color for the web editor's offline fallback.
2022-01-19Improve the default project themeHugo Locurcio
The new default project theme uses StyleBoxFlat extensively for a more modern design and better scalability to multiple resolutions. SVG icons are now used in place of PNG icons. While this does not allow for true vector-based icon drawing (icons are still rasterized at load-time), this makes the design work easier for contributors and opens the door to vector drawing in the future (e.g. with polygons or SDFs). Like for editor icons, the SVG header file is now built automatically when a SVG file is changed. This removing the need for running `make_header.py` manually (TODO). The "Use Hidpi" project setting has been removed in favor of a "Default Theme Scale" project setting, which allows creating the default theme at a higher/lower scale than the default. This can be used when designing GUIs with a high base resolution to ensure crisp visuals. Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-01-18[macOS export] Implements ad-hoc signing on Linux/Windows, adds extra ↵bruvzg
privacy settings, entitlements warnings and error checking.
2022-01-13Merge pull request #56311 from Calinou/default-allow-hidpiRémi Verschelde
2022-01-05Skip formatting .bat files in file_format.shAaron Franke
These are supposed to have CRLF because Windows, so we'll just skip this file type in the script.
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-30Enable "Allow Hidpi" by defaultHugo Locurcio
This fixes window management issues across platforms on hiDPI monitors. The `--low-dpi` command line argument has been removed as similar functionality (forcing low-DPI mode on DPI-aware programs) is already provided by Windows and macOS itself.
2021-12-09Center the indeterminate spinner on HTML5 pageHaoyu Qiu
2021-11-19[HTML5] Add WebGL2 (GLES3) support using the OpenGL renderer.Fabio Alessandrelli
Note, the editor build requires the mbedtls module to be manually enabled, as it is currently needed as a ResourceUID dependency. This will need to be addressed in a separate PR.
2021-11-18Fixed pre-commit-black file extensionsDavid Sichma
Now hook can find .py files.
2021-11-16Fix style issue after #54148Rémi Verschelde
2021-11-09Merge pull request #52945 from bruvzg/macos_editor_translationRémi Verschelde
2021-10-26Merge pull request #54179 from aaronfranke/make-rstRémi Verschelde
2021-10-25clang-format: Enable `--Wno-error=unknown` for compat with older versionsRémi Verschelde
This prevents errors when encountering options which have been defined in newer versions of clang-format, and are invalid in the YAML for the old version. Bump minimum supported clang-format version to 12 (where `--Wno-error=unknown` was added). Use clang-format 12 on CI (13 is not available yet on the Ubuntu 20.04 images).
2021-10-24Rename "makerst.py" to "make_rst.py"Aaron Franke
2021-10-23Merge pull request #54067 from bruvzg/oidn_entRémi Verschelde
2021-10-22clang-format: Sync config with LLVM 13Rémi Verschelde
Disable minimum amount of spaces in comment prefix for now, as it otherwise modifies the whole codebase. That's something we probably want to use as it matches our convention, but we should look into fully converting these comments to our style guide at the same time.
2021-10-21[macOS] Add entitlements required by OIDN JIT for the editor build.bruvzg
2021-10-21Add CI step for compiling and testing godot-cppBastiaan Olij
2021-10-19[HTML5] Editor video driver option. Replace canvas on exit.Fabio Alessandrelli
Default is "Auto", but can be forced to a specific WebGL version if the automatic detection fails. The game and editor canvas are now replaced with a new one in the exit hooks. This helps the browser do some context cleanup, and allow us to create a new context of a different type (WebGL/WebGL2).
2021-09-30Merge pull request #52043 from Calinou/macos-use-big-sur-iconRémi Verschelde
2021-09-22[macOS] Add empty translation files to the editor app bundle, to allow ↵bruvzg
translation detection by the OS.
2021-09-20[macOS] Update MIME codes and file type names to match ↵bruvzg
"dist/linux/org.godotengine.Godot.xml" definitions. Add missing "shader" type icon.
2021-09-14Add dozens of new integration tests to the GDScript test suiteHugo Locurcio
This also ignores `.out` files in the file format static checks.
2021-08-25Print colored diffs when there are formatting failures in CIHugo Locurcio
This makes diffs more readable in CI logs.
2021-08-24Use a Big Sur-style macOS icon for the Godot editorHugo Locurcio
This provides a more coherent visual look with the rest of macOS. Co-authored-by: Hazar <36481442+hazarek@users.noreply.github.com>
2021-08-22Replace HTTP links with HTTPS for sites with HTTPS versionsAaron Franke
2021-08-03[Headless] Add --headless switch (no rendering, no audio).Fabio Alessandrelli
Also remove now unused "--no-window" option, and relative OS getter and setter.
2021-07-31Fix 'Attempted to remove invalid ID' errorsRafał Mikrut
2021-07-29Properly tag project files as a subclass of plain text in the MIME infoMichael Alexsander