summaryrefslogtreecommitdiffstats
path: root/platform/javascript
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Merge pull request #20922 from kripken/errLeon Krause2018-08-213-6/+6
|\ \ \ | | | | | | | | HTML5: use console.warn instead of Module.printErr
| * | | use console.warn instead of Module.printErr: emscripten no longer exports ↵Alon Zakai (kripken)2018-08-113-6/+6
| | |/ | |/| | | | | | | printErr by default, and instead err() should be used in code seen by the optimizer; however, as Godot only runs on the Web (and not in node.js or elsewhere), using console.warn directly is good enough, and will work in all versions if emscripten
* / | fix Android/HTML5 custom templates option does not workAlessandro2018-08-201-6/+27
|/ /
* | Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
* | -Project/Editor settings now use new inspectorJuan Linietsky2018-07-192-0/+9
|/ | | | | | | -Project/Editor settings now show tooltips properly -Settings thar require restart now will show a restart warning -Video driver is now visible all the time, can be changed easily -Added function to request current video driver
* Refactor OS_JavaScriptLeon Krause2018-07-104-695/+639
|
* Added support for extra mouse buttons.unknown2018-07-091-1/+4
|
* Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio2018-06-282-0/+0
|
* Detect channel count, mix rate, and buffer length in HTML5 audio driverLeon Krause2018-06-082-73/+87
| | | | Refactor WebAudio driver.
* Javascript: Remove weird logMax Hilbrunner2018-05-241-2/+0
|
* Build HTML5 release_debug with -Os, like release.Leon Krause2018-05-141-10/+6
| | | | | The increased build time is negligible in comparison to the decreased file size.
* Small refactoring in HTML5 build scriptsLeon Krause2018-05-142-6/+3
| | | | Drop logic for non-existent 'profile' target
* Merge pull request #18765 from eska014/enginejs-extaltRémi Verschelde2018-05-101-2/+15
|\ | | | | Facilitate using non-default filename extensions in HTML5 platform
| * Accept non-default main packs in engine.js startGame()Leon Krause2018-05-101-1/+5
| | | | | | | | | | | | Allows using startGame() with main packs exported as .zip, but also any other custom extension, for example if a web game host does not allow the .pck filename extension.
| * Add Engine.setWebAssemblyFilenameExtension()Leon Krause2018-05-101-1/+10
| | | | | | | | | | | | Some web game hosts only allow certain filename extensions. If .wasm is not allowed, this function allows overriding the WebAssembly filename extension to work around that restriction.
* | Merge pull request #18766 from eska014/html5-localcustomshellMax Hilbrunner2018-05-101-1/+1
|\ \ | | | | | | Use local path for custom HTML5 shell export
| * | Use local path for custom HTML5 shell exportLeon Krause2018-05-101-1/+1
| |/
* | Merge pull request #18753 from eska014/html5-iframefocusMax Hilbrunner2018-05-102-5/+9
|\ \ | | | | | | Fix keyboard focus lock-out with HTML5 canvas in iframe
| * | Fix keyboard focus lock-out with HTML5 canvas in iframeLeon Krause2018-05-102-5/+9
| |/
* / Fix relative mouse motion when captured in HTML5 platformLeon Krause2018-05-101-1/+1
|/