summaryrefslogtreecommitdiffstats
path: root/misc
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #54179 from aaronfranke/make-rstRémi Verschelde2021-10-263-5/+5
|\
| * Rename "makerst.py" to "make_rst.py"Aaron Franke2021-10-243-5/+5
| |
* | clang-format: Enable `--Wno-error=unknown` for compat with older versionsRémi Verschelde2021-10-252-3/+3
|/ | | | | | | | | | 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).
* Merge pull request #54067 from bruvzg/oidn_entRémi Verschelde2021-10-232-20/+10
|\
| * [macOS] Add entitlements required by OIDN JIT for the editor build.bruvzg2021-10-212-20/+10
| |
* | clang-format: Sync config with LLVM 13Rémi Verschelde2021-10-221-3/+3
|/ | | | | | | 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.
* Add CI step for compiling and testing godot-cppBastiaan Olij2021-10-211-0/+11
|
* [HTML5] Editor video driver option. Replace canvas on exit.Fabio Alessandrelli2021-10-191-12/+30
| | | | | | | | | 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).
* Merge pull request #52043 from Calinou/macos-use-big-sur-iconRémi Verschelde2021-09-301-0/+0
|\
| * Use a Big Sur-style macOS icon for the Godot editorHugo Locurcio2021-08-241-0/+0
| | | | | | | | | | | | This provides a more coherent visual look with the rest of macOS. Co-authored-by: Hazar <36481442+hazarek@users.noreply.github.com>
* | [macOS] Update MIME codes and file type names to match ↵bruvzg2021-09-205-6/+33
| | | | | | | | "dist/linux/org.godotengine.Godot.xml" definitions. Add missing "shader" type icon.
* | Add dozens of new integration tests to the GDScript test suiteHugo Locurcio2021-09-141-0/+3
| | | | | | | | This also ignores `.out` files in the file format static checks.
* | Print colored diffs when there are formatting failures in CIHugo Locurcio2021-08-253-3/+3
|/ | | | This makes diffs more readable in CI logs.
* Replace HTTP links with HTTPS for sites with HTTPS versionsAaron Franke2021-08-226-7/+7
|
* [Headless] Add --headless switch (no rendering, no audio).Fabio Alessandrelli2021-08-033-3/+3
| | | | | Also remove now unused "--no-window" option, and relative OS getter and setter.
* Fix 'Attempted to remove invalid ID' errorsRafał Mikrut2021-07-311-6/+6
|
* Properly tag project files as a subclass of plain text in the MIME infoMichael Alexsander2021-07-291-0/+1
|
* Make some small tweaks to the MIME infoMichael Alexsander2021-07-291-6/+8
|
* Add script to make source tarball with `.git/HEAD`Rémi Verschelde2021-07-291-0/+66
| | | | | | 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).
* Fix various typos with codespellluz paz2021-07-251-1/+1
| | | | 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`
* Restructure and reimplement vsync optionsHendrik Brucker2021-07-064-12/+0
| | | | | -Add a v-sync mode setting which allows to choose between DISABLED, ON, ADAPTIVE and MAILBOX -Removed the V-Sync via Compositor option
* Add LSApplicationCategoryType to the template and export dialog.bruvzg2021-06-142-0/+4
|
* Allow clang-format 12 in the pre-commit hookHugo Locurcio2021-06-071-3/+4
| | | | clang-format 12's formatting is identical to clang-format 11's.
* Style: Cleanup uses of double spaces between wordsRémi Verschelde2021-06-071-1/+1
| | | | | Or after punctuation. Tried to leave third-party stuff alone, unless it has been heavily modified for Godot.
* Merge pull request #47336 from Calinou/rename-shader-file-extensionRémi Verschelde2021-06-041-0/+6
|\ | | | | Rename the `.shader` file extension to `.gdshader`
| * Rename the `.shader` file extension to `.gdshader`Hugo Locurcio2021-03-241-0/+6
| | | | | | | | | | This lets third-party software recognize Godot shaders more easily, without relying on guesswork since the `.shader` extension is generic.
* | Merge pull request #49137 from RandomShaper/ios_targeted_familyRémi Verschelde2021-05-311-4/+4
|\ \ | | | | | | Add iOS export option for device family
| * | Add iOS export option for device familyPedro J. Estébanez2021-05-271-4/+4
| | |
* | | Set schemes' build config to debug/release in iOS Xcode exportPedro J. Estébanez2021-05-251-5/+5
|/ /
* | Dist: Add macOS entitlements files for editor code signingRémi Verschelde2021-05-202-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
* | Fix typos with codespellRémi Verschelde2021-05-202-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
* | Fix Ubuntu clang-format version detection in the pre-commit hookHugo Locurcio2021-05-101-2/+6
| |
* | [HTML5] Remove "fixed-size.html".Fabio Alessandrelli2021-05-071-389/+0
| | | | | | | | No longer used in 3.3+.
* | [HTML5] Export as Progressive Web App.Fabio Alessandrelli2021-04-272-14/+45
| | | | | | | | | | | | Adds possibility to export as a progressive web app. Allows customizing base icons, display mode, orientation and offline page.
* | [HTML5] Optional icon generation, use export name for it.Fabio Alessandrelli2021-04-271-1/+0
| | | | | | | | | | | | | | | | We used to only generate the favicon if it was specified in the user project settings, now it's optional, will export it to `NAME.icon.png`, (falling back to the default project icon if none is set in project settings), and the `<link>` tag is added using the `$HEAD_INCLUDE` instead of being hardcoded in the template.
* | Merge pull request #47069 from Calinou/html5-editor-welcome-dialogFabio Alessandrelli2021-04-171-0/+65
|\ \ | | | | | | Add a welcome dialog to the HTML5 editor
| * | Add a welcome dialog to the HTML5 editorHugo Locurcio2021-03-171-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | This modal dialog displayed when the page is loaded. It can be dismissed permanently by clicking the "OK, don't show again" button. Clicking outside the modal will only dismiss it once. This dialog is used to remind people that the HTML5 editor is still in release candidate stage and isn't considered production-ready yet.
* | | Test Godot with Vulkan in CIRafał Mikrut2021-04-151-0/+65
| | |
* | | [macOS] Update required Vulkan API version the ICD configs.bruvzg2021-04-142-2/+2
| | |
* | | Add Open Graph metadata to the HTML5 editorHugo Locurcio2021-03-241-17/+26
| |/ |/| | | | | | | | | | | - Consistently use double quotes in the HTML markup. - Define English language to assist screen readers and search engines. - Add missing `alt` text for the logo image. - Remove duplicate `id` for the preload project ZIP input.
* | [HTML5] Clarify editor PWA manifest.jsonFabio Alessandrelli2021-03-241-2/+2
| | | | | | | | Update name and description to clarify it's the web version.
* | [HTML5] Fix bogus Web Editor manifest.Fabio Alessandrelli2021-03-171-1/+1
|/ | | | | The `start_url` in the PWA manifest.json must be relative for it to work in subfolders (like in the official Web Editor page).
* clang-format: Fix version number in hook warningRémi Verschelde2021-03-141-1/+1
|
* [HTML5] Drag and drop zip in project manager.Fabio Alessandrelli2021-03-121-2/+2
| | | | | | | | | | | With a very nice hack, a new hidden configuration option that delays dropped files removal at exit. This still leaks while the project manager is running, but will clear memory as soon as it exits or load something. (reminder, dropped files are reguarly removed after the signal is emitted specifically to avoid leaks, but I prefer hacking the HTML5 config then the project manager).
* [HTML5] Add PWA support to the editor page.Fabio Alessandrelli2021-03-084-2/+162
| | | | | | | | | | | | | | | | This allows to install it as an app, and provide offline support (after the first run). Practically, this boils down to adding a JSON file as a manifest, an offline page to be displayed when the cached files are not avaialble, and a JS file to cache resources and return them. The reason for the "first run requirements" is that some browsers, will emit an "install" by just visiting the page (to see if the JS code is compatibile), and we do not want to force casual visitors to just download the 10 MiB+ compressed editor WebAssembly file without pressing the start button. Special thanks to Hugo Locurcio (Calinou) for the initial work.
* [HTML5] Make editor HTML build tag scons4-proof.Fabio Alessandrelli2021-02-261-2/+2
| | | | | | We used to have it like `$GODOT_VERSION` which caused inconsistencies between different scons versions when substituting it. It's now `@GODOT_VERSION@`, which is safe on both scons3 and scons4.
* Improve the editor HTML templateHugo Locurcio2021-02-241-8/+26
| | | | | | | | | | | | | | - Darken the header tab background to match the default editor background color. - Hide the distracting focus outlines for the editor and game canvas. - Use a pure black background for the game canvas to better distinguish it from the editor and provide a more neutral background. - Use a bold font weight for the Start Godot editor button on the loader page. - Link to the web editor documentation on the loader page. - Clarify what happens when clicking "OK" in the persistent data removal warning dialog. - Tidy up the HTML template by removing obsolete attributes.
* Merge pull request #45871 from Riteo/improve-mime-typesRémi Verschelde2021-02-242-8/+29
|\ | | | | General improvements to the MIME source file
| * Improve the MIME source fileRiteo Siuga2021-02-092-8/+29
| | | | | | | | | | | | - Add MIME definitions for resources, scenes and scripts - Remove the "weight" property, which defaults to 50, a much saner value than the previous 100, which was a bit excessive. - Changes their icon names in order to follow the XDG icon naming conventions.
* | Remove unused variables from full-size.htmlMarcel Admiraal2021-02-211-4/+0
| |