summaryrefslogtreecommitdiffstats
path: root/platform/javascript
Commit message (Collapse)AuthorAgeFilesLines
* Fix directory check when exporting projectvolzhs2019-03-061-1/+1
| | | | Fix #26702
* Merge pull request #26633 from akien-mga/driver-fallback-etcRémi Verschelde2019-03-061-1/+1
|\ | | | | Disable driver fallback to GLES2 by default
| * Disable driver fallback to GLES2 by defaultRémi Verschelde2019-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GLES2 is not designed to be a drop-in replacement for the GLES3 backend, so the fallback mode has to be used knowingly. It *can* make sense for simple projects which make sure to handle the differences between both rendering backends, but most users should stick to one supported backend. By making it opt-in, we can now use this parameter to define whether to export ETC textures to Android and iOS when using GLES3 + Fallback. When using GLES3 without Fallback on Android, set the proper min GLES version in the AndroidManifest. Also made the option boolean and renamed it for clarity and to avoid conflict with the previous String option (which would always evaluate as "true" otherwise). Fixes #26569.
* | Merge pull request #26626 from rluders/misleading-error-message-exportRémi Verschelde2019-03-051-0/+4
|\ \ | | | | | | Fixing misleading error message when trying to export
| * | Fixes misleading error message when trying to exportRicardo Lüders2019-03-051-0/+4
| |/ | | | | | | | | | | | | This patch fixes the misleading error message when users try to "export all" into an invalid destination path. Closes #26539
* / Fix HTML5 quick preview URLbruvzg2019-03-051-1/+1
|/
* Improve VRAM texture compression checks for mobile/webRémi Verschelde2019-03-031-14/+19
| | | | | | | | | | | For HTML5, we need to support S3TC if running on desktop, and ETC or ETC2 for mobile, so make this explicit. Add logic to check for ETC2 support on GLES3, and remove incorrect ETC feature for GLES3 on Android. Fix ETC check invalidating templates on HTML5. Fixes #26476.
* SCons: Move platform-specific Opus config to its moduleRémi Verschelde2019-03-021-4/+0
|
* -Properly handle missing ETC support on exportJuan Linietsky2019-02-261-0/+6
| | | | | -Added ability for resource importers to save metadata -Added ability for resource importers to validate depending on project settings
* -Remove harcoded opengl extension testing from OS, ask rasterizer instead.Juan Linietsky2019-02-261-10/+0
| | | | -Fixed a bug where etc textures were imported broken
* Use stdout/-err for all messages in HTML5 platformLeon Krause2019-02-244-8/+8
|
* Fix file preloading warning in HTML5 platformLeon Krause2019-02-232-5/+2
|
* Fix typos with codespellRémi Verschelde2019-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | Using codespell 1.14.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang doubleclick lod nd numer que te unselect EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
* Fix pixelized previews, but also instances of breaking ImageTexture cache. ↵Juan Linietsky2019-01-271-0/+5
| | | | Closes #25378.
* Allow requesting full screen during start-up in HTML5 platformLeon Krause2019-01-231-1/+14
|
* ExportDialog: Make error messages translatableRémi Verschelde2019-01-211-2/+2
| | | | Also fix missing newlines that caused #24202.
* Deal with Google's HTML5 autoplay policyLeon Krause2019-01-203-0/+16
| | | | Resume audio context after mouse, touch or key input.
* Merge pull request #25150 from eska014/html5-warningRémi Verschelde2019-01-201-2/+1
|\ | | | | Fix HTML5 build warning
| * Refactor OS_JavaScript headerLeon Krause2019-01-201-2/+1
| |
* | Fix HTML5 gamepad logic for Emscripten 1.38.22 compat breakageLeon Krause2019-01-201-1/+2
|/
* Implements OS_JavaScript::set_custom_mouse_cursorGuilherme Felipe2019-01-032-2/+124
|
* Update copyright statements to 2019Rémi Verschelde2019-01-0117-33/+33
| | | | Happy new year to the wonderful Godot community!
* Merge pull request #20385 from moiman100/unify-double-clickingRémi Verschelde2018-12-142-0/+32
|\ | | | | Added double clicking to all buttons on Linux and Javascript
| * Added double clicking to all buttonsMikko Mustonen2018-08-122-0/+32
| |
* | Merge pull request #20063 from moiman100/fix-button-maskRémi Verschelde2018-12-141-1/+4
|\ \ | | | | | | Unified button mask behavior across platforms
| * | Fixed button mask behaviormm2018-07-111-1/+4
| | |
* | | Implemented audio input support for JavaScript audio driverMarcelo Fernandez2018-11-263-10/+102
| | |
* | | Merge pull request #23389 from marcelofg55/multiple_extRémi Verschelde2018-11-021-3/+5
|\ \ \ | | | | | | | | Export for OS X on OS X now lets you select .dmg or .zip
| * | | Export for OS X on OS X now lets you select .dmg or .zipMarcelo Fernandez2018-11-011-3/+5
| | | |
* | | | Merge pull request #23387 from eska014/memgrowth-preloadRémi Verschelde2018-10-291-0/+4
|\ \ \ \ | | | | | | | | | | Enable --no-heap-copy flag for HTML5 builds
| * | | | Enable --no-heap-copy flag for HTML5 buildsLeon Krause2018-10-291-0/+4
| |/ / /
* / / / Add proper stubs for OS_JavaScript::execute(), get_process_id(), kill()Leon Krause2018-10-292-0/+22
|/ / / | | | | | | | | | Avoids linker warnings and errors about undefined references.
* | | Add comments to javascript wrapper parts.Zaven Muradyan2018-10-152-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | The code in pre.js and engine.js is a bit confusing to see in isolation, since the files aren't valid JS files by themselves. This just adds some explanatory text to both files. Fixes #22937.
* | | Fix compiler warnings in HTML5 platformLeon Krause2018-10-023-15/+18
| | |
* | | Fix build for Javascript platformmuiroc2018-10-012-5/+5
| | |
* | | Implement OS::set_icon in HTML5 platformLeon Krause2018-09-162-0/+53
| | |
* | | Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde2018-09-131-1/+1
|\ \ \ | | | | | | | | Misc. typos
| * | | Misc. typosluz.paz2018-09-121-1/+1
| | | | | | | | | | | | Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
* | | | Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-127-7/+7
|/ / / | | | | | | | | | | | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* | | Fix HTML5 gamepad inputLeon Krause2018-08-301-2/+5
| | |
* | | Merge pull request #21511 from eska014/webm-nomtRémi Verschelde2018-08-281-1/+0
|\ \ \ | | | | | | | | Fix WebM and Theora video in HTML5 export
| * | | Enable Theora module for HTML5 platformLeon Krause2018-08-281-1/+0
| | | |
* | | | Fall back to GLES2 if GLES3 is not workingHein-Pieter van Braam2018-08-261-14/+48
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a static is_viable() method to all rasterizers which has to be called before initializing the rasterizer. This allows us to check what rasterizer to use in OS::initialize together with the GL context initialization. This commit also adds a new project setting "rendering/quality/driver/driver_fallback" which allows the creator of a project to specify whether or not fallback to GLES2 is allowed. This setting is ignored for the editor so the editor will always open even if the project itself cannot run. This will hopefully reduce confusion for users downloading projects from the internet. We also no longer crash when GLES3 is not functioning on a platform. This fixes #15324
* | | Merge pull request #21336 from eska014/html5-new-presentationRémi Verschelde2018-08-241-1/+1
|\ \ \ | | | | | | | | Add responsive HTML5 export page with full-size canvas as new default
| * | | Add responsive HTML5 export page with full-size canvas as new defaultLeon Krause2018-08-231-1/+1
| | | |
* | | | Merge pull request #21332 from dragmz/apk-hint-fixRémi Verschelde2018-08-231-3/+3
|\ \ \ \ | | | | | | | | | | Fix file hints
| * | | | Fix file hintsMarcin Zawiejski2018-08-231-3/+3
| | | | | | | | | | | | | | | | | | | | Fixes file hints so the file dialog actually displays the files with given extension (e.g. *.apk).
* | | | | Merge pull request #21330 from eska014/html5-canvas-resizeRémi Verschelde2018-08-232-58/+62
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / Facilitate external modification of HTML5 canvas size
| * / / Facilitate external modification of HTML5 canvas sizeLeon Krause2018-08-232-58/+62
| |/ /
* | | BPTC supportelasota2018-08-211-0/+3
| | |