summaryrefslogtreecommitdiff
path: root/misc
AgeCommit message (Collapse)Author
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-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
2021-07-29Make some small tweaks to the MIME infoMichael Alexsander
2021-07-29Add script to make source tarball with `.git/HEAD`Rémi Verschelde
This allows to generate the `VERSION_HASH` constant with the Git commit hash even when building from a source tarball which is not a Git repository (and without dependency on Git itself).
2021-07-25Fix various typos with codespellluz paz
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-06Restructure and reimplement vsync optionsHendrik Brucker
-Add a v-sync mode setting which allows to choose between DISABLED, ON, ADAPTIVE and MAILBOX -Removed the V-Sync via Compositor option
2021-06-14Add LSApplicationCategoryType to the template and export dialog.bruvzg
2021-06-07Allow clang-format 12 in the pre-commit hookHugo Locurcio
clang-format 12's formatting is identical to clang-format 11's.
2021-06-07Style: Cleanup uses of double spaces between wordsRémi Verschelde
Or after punctuation. Tried to leave third-party stuff alone, unless it has been heavily modified for Godot.
2021-06-04Merge pull request #47336 from Calinou/rename-shader-file-extensionRémi Verschelde
Rename the `.shader` file extension to `.gdshader`
2021-05-31Merge pull request #49137 from RandomShaper/ios_targeted_familyRémi Verschelde
Add iOS export option for device family
2021-05-27Add iOS export option for device familyPedro J. Estébanez
2021-05-25Set schemes' build config to debug/release in iOS Xcode exportPedro J. Estébanez
2021-05-20Dist: Add macOS entitlements files for editor code signingRémi Verschelde
These are the entitlements we define for official macOS editor builds since Godot 3.3. Users making custom builds of the engine can use those files with `codesign` to sign their own builds. E.g.: ``` codesign --force --timestamp \ --options=runtime --entitlements editor.entitlements \ -s <your key> -v osx_template.app ```
2021-05-20Fix typos with codespellRémi Verschelde
Using codespell 2.0.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn GIRD leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```