summaryrefslogtreecommitdiffstats
path: root/platform/javascript
Commit message (Collapse)AuthorAgeFilesLines
* 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
|/
* Implement universal translation of touch to mousePedro J. Estébanez2018-04-301-35/+0
| | | | | | | | | | | | | | | | | | | Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*) The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers. Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse. *: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest. On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction. Plus: Improve/fix tracking of current mouse position. ** Summary of changes to settings: ** - `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse` - New setting: `input/pointing_devices/emulate_mouse_from_touch`
* Merge pull request #17792 from eska014/enginejs-preloadpathsRémi Verschelde2018-04-043-16/+33
|\ | | | | Handle directories in engine.js preloadFile()
| * Fix engine.js startGame() when loading from directoryLeon Krause2018-03-271-3/+14
| |
| * Allow custom path when using engine.js preloadFile() with URLLeon Krause2018-03-271-3/+3
| |
| * Fix engine.js preloadFile() with directoriesLeon Krause2018-03-271-3/+13
| |
| * Expose Emscripten libs to engine.js discreetlyLeon Krause2018-03-273-10/+6
| |
* | Merge pull request #17836 from eska014/detect-emconfigRémi Verschelde2018-04-031-5/+15
|\ \ | | | | | | Detect and configure JavaScript build per Emscripten configuration file
| * | Detect and configure JavaScript build per Emscripten configuration fileLeon Krause2018-03-291-5/+15
| |/
* / Fix bug in HTML5 HTTPClient.Fabio Alessandrelli2018-03-301-1/+1
|/ | | | | The URL parameter already has a slash, adding an extra one results in an invalid resource path
* Refactor JavaScript platform build scriptLeon Krause2018-03-267-211/+101
|
* Add RWLockDummy for NO_THREADS buildsLeon Krause2018-03-201-1/+1
|
* Disable Emscripten assertions in release_debug buildsLeon Krause2018-03-181-1/+2
| | | | The messages generated by some assertions can be confusing to users.
* Fix typo in engine.jsLeon Krause2018-03-161-2/+2
|
* Check only for WebGL 1.0, move test to HTML fileLeon Krause2018-03-152-12/+15
| | | | | | | | Whether to use WebGL 1.0 or 2.0 can only be determined at runtime after reading project settings, so check for the lower version. The test is now in the HTML file, so if desired WebGL 2.0 can be checked early by changing the behaviour there.
* Reinstate WebGL 1.0 driver in HTML5 platformLeon Krause2018-03-071-6/+23
|
* Clean and expose get_audio/video_driver_* funcs on OS classMarcelo Fernandez2018-03-041-1/+2
|
* Merge pull request #16781 from eska014/html5-httpcRémi Verschelde2018-02-172-15/+37
|\ | | | | HTML5 HTTPClient fixes
| * Flush HTTPClient response data only on request/close in HTML5 platformLeon Krause2018-02-171-2/+0
| |
| * Warn when polling HTTPClient synchronously in HTML5 platformLeon Krause2018-02-172-0/+24
| |
| * Disable insecure HTTP methods CONNECT and TRACE in HTML5 platformLeon Krause2018-02-171-0/+2
| |
| * Fix HTML5 HTTPClient response header retrievalLeon Krause2018-02-161-2/+4
| |
| * Fix HTML5 HTTPClient failure detectionLeon Krause2018-02-161-11/+7
| |
* | Disabled mbedtls module in javascript platformFabio Alessandrelli2018-02-141-2/+2
| |
* | Deleting OpenSSL module and libraryFabio Alessandrelli2018-02-141-1/+1
|/
* Merge pull request #16059 from eska014/html5-notlsRémi Verschelde2018-01-251-0/+5
|\ | | | | Disable OpenSSL module in HTML5 platform by default
| * Disable OpenSSL module in HTML5 platform by defaultLeon Krause2018-01-251-0/+5
| |
* | Fix HTML5 JS API setResizeCanvasOnStartLeon Krause2018-01-241-8/+3
|/
* HTML export: Make s3tc the standard Texture Formatx12122018-01-201-3/+3
|
* Wrap Emscripten module into JS Engine singleton per SConsLeon Krause2018-01-131-6/+5
| | | | | Emscripten's meta DCE changes in 1.37.27(/28?) make it impossible to keep using --pre-js for this
* Fix HTML5 feature tagsLeon Krause2018-01-123-13/+21
| | | | | | | 'HTML5' is the platform tag, the 'JavaScript' tag indicates availability of the JavaScript.eval singleton. Also report texture compression support.
* Merge pull request #15447 from eska014/html5-optmodeRémi Verschelde2018-01-071-2/+8
|\ | | | | Build WebAssembly release module with -Os to decrease file size
| * Build WebAssembly module with -Os to decrease file sizeLeon Krause2018-01-071-2/+8
| |
* | Initialize WebGL context in OSLeon Krause2018-01-071-3/+7
| |
* | Merge pull request #15422 from eska014/html5-loggerRémi Verschelde2018-01-071-0/+5
|\ \ | | | | | | Print without color control sequences in HTML5 platform
| * | HTML5: Print without color control sequencesLeon Krause2018-01-071-0/+5
| |/