aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12010 from eska014/jsevalRémi Verschelde2017-10-111-29/+53
|\ | | | | Improve JavaScript calls, allow passing byte arrays to GDScript
| * Improve JavaScript callsLeon Krause2017-10-111-29/+53
| | | | | | | | | | | | - Allow returning ArrayBuffer and views as PoolByteArray - Return real_t for integral numbers - Read all color channels as 0.0 - 1.0 floating point numbers
* | Merge pull request #11782 from eska014/persistent-userfs-testHein-Pieter van Braam2017-10-033-14/+28
|\ \ | | | | | | Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
| * | Add OS::is_userfs_persistent to check user:// persistenceLeon Krause2017-10-023-14/+28
| | | | | | | | | | | | Allows starting HTML5 export when IndexedDB is not available.
* | | Merge pull request #11568 from endragor/loggersAndreas Haas2017-10-022-5/+5
|\ \ \ | |/ / |/| | Extract logging logic
| * | Extract logging logicRuslan Mustakov2017-09-252-5/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously logging logic was scattered over OS class implementations with plenty of duplication. Major changes in this commit: - Extracted logging logic into a separate Logger hierarchy. It allows easy configuration of logging mechanism depending on compile-time or run-time configuration. - Implemented RotatedFileLogger which is usually used with StdLogger, providing persistency of logs. It is often important to be able to obtain logs of the game even in production to be able to understand what happened prior to some problem. On mobile there previously was no way to obtain the logs aside from having the device connected to your machine. - flush() is not performed in release mode for every logged line. It is only performed for errors.
* | Use primary WebAssembly.instantiate overloadLeon Krause2017-10-021-3/+3
| | | | | | | | | | | | Previously WebAssembly.compile was used along with the secondary WebAssembly.instantiate overload. Using only the primary overload is recommended to get best performance.
* | Use BoolVariable in platform-specific options.Elliott Sales de Andrade2017-09-252-6/+6
| |
* | Use BoolVariable for module options.Elliott Sales de Andrade2017-09-251-2/+2
| |
* | Use BoolVariable in target/component/advanced options.Elliott Sales de Andrade2017-09-251-1/+1
|/
* Fix mouse button state in HTML5 platformLeon Krause2017-09-191-8/+8
| | | | Regression from 844c5e12e664e3212feacc9ee3200e116556fbc7
* Merge pull request #11252 from marcelofg55/fix_noaudio_crashRémi Verschelde2017-09-171-5/+1
|\ | | | | Fix crash when no audio driver is available
| * Fix crash when no audio driver is availableMarcelo Fernandez2017-09-131-5/+1
| |
* | Fix enums bindingsMaxim Sheronov2017-09-134-8/+8
|/ | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* Merge pull request #11154 from eska014/html5-startup-revampPoommetee Ketson2017-09-127-392/+392
|\ | | | | HTML5 start-up overhaul with download progress display
| * HTML5 start-up overhaulLeon Krause2017-09-117-392/+392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Implement promise-based JS interface for custom HTML page integration - Add download progress callback - Add progress bar and indeterminate spinner to default HTML page - Try downloading files multiple times when failing - Get rid of godotfs.js - Separate steps for engine initialization, game initialization and game start - Allow multiple games on one HTML page - Substitution placeholders only used in .html file - Placeholders renamed: $GODOT_BASE => $GODOT_BASENAME, $GODOT_TMEM -> $GODOT_TOTAL_MEMORY - Emscripten Module is now Engine.RuntimeEnvironment (no longer a global)
* | Merge pull request #10914 from eska014/html5-main-notifRémi Verschelde2017-09-031-15/+16
|\ \ | | | | | | Prevent sending MainLoop notifications before initialized
| * | HTML5: Prevent sending MainLoop notifications before initializedLeon Krause2017-09-031-15/+16
| |/
* | Make build scripts Python3 compatibleMatthias Hoelzl2017-08-271-1/+1
| | | | | | | | | | | | | | | | - The Windows, UWP, Android (on Windows) and Linux builds are tested with Scons 3.0 alpha using Python 3. - OSX and iOS should hopefully work but are not tested since I don't have a Mac. - Builds using SCons 2.5 and Python 2 should not be impacted.
* | Dead code tells no talesRémi Verschelde2017-08-272-0/+4
| |
* | Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2715-15/+15
|/
* p_screen param from get_screen_* funcs now default to the current screenMarcelo Fernandez2017-08-212-3/+1
|
* removed calls to cursor_set_visible on all platforms fixes #10167toger52017-08-081-1/+1
|
* Merge pull request #10105 from eska014/html5-touch-hintRémi Verschelde2017-08-071-1/+5
|\ | | | | Implement OS.has_touchscreen_ui_hint() in HTML5 platform
| * Implement touch-screen check in HTML5 platformL. Krause2017-07-281-1/+5
| |
* | Merge pull request #10104 from eska014/canvas-mgmtRémi Verschelde2017-08-072-48/+70
|\ \ | | | | | | Improve HTML5 canvas management
| * | Improve HTML5 canvas managementL. Krause2017-08-052-48/+70
| |/ | | | | | | | | | | - set_window_maximized hides page content - Fix sporadic full-screen render-size bug in Chromium - Smoother resizing for maximized canvas
* / Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTERBojidar Marinov2017-08-061-1/+1
|/ | | | Closes #7695
* Merge pull request #9770 from eska014/html5-focusRémi Verschelde2017-07-233-31/+94
|\ | | | | Implement input focus behavior in HTML5
| * Implement input focus behavior in HTML5L. Krause2017-07-223-31/+94
| | | | | | | | | | | | - Key and mouse events are only consumed if canvas is focused - NOTIFICATION_WM_MOUSE_ENTER, _MOUSE_EXIT, _FOCUS_IN and _FOCUS_OUT are emitted
* | -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-193-3/+22
|/ | | | -Added system for feature overrides, it's pretty cool :)
* Fix zipping HTML5 templates when using implicit cacheL. Krause2017-07-171-17/+22
|
* Buildsystem: Improve detect.py readability and fix issuesRémi Verschelde2017-07-011-26/+36
| | | | | | | | | | | | | | | | | | | Tried to organize the configure(env) calls in sections, using the same order for all platforms whenever possible. Apart from cosmetic changes, the following issues were fixed: - Android: cleanup linkage, remove GLESv1_CM and GLESv2 - iPhone: Remove obsolete "ios_gles22_override" option - OSX: * Fix bits detection (default to 64) and remove obsolete "force_64_bits" option (closes #9449) * Make "fat" bits argument explicit - Server: sync with X11 - Windows: clean up old DirectX 9 stuff - X11: * Do not require system OpenSSL for building (closes #9443) * Fix typo'ed use_leak_sanitizer option * Fix .llvm suffix overriding custom extra_suffix
* Hide HTML5 native-run icon without runnable presetL. Krause2017-06-271-1/+28
|
* Use custom native-run icons for Android and HTML5L. Krause2017-06-272-0/+12
|
* BuildSystem: generated files have .gen.extensionPoommetee Ketson2017-06-251-1/+1
|
* Update HTML5 platform for new InputEventsL. Krause2017-06-191-95/+96
|
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-202-61/+61
| | | | this might cause bugs I haven't found yet..
* Removal of Image from Variant, converted to a Resource.Juan Linietsky2017-05-171-1/+1
|
* Merge pull request #8625 from eska014/html5-cursorshapeRémi Verschelde2017-05-052-3/+33
|\ | | | | HTML5: Cursor style control
| * Implement cursor style control in HTML5 platformL. Krause2017-05-022-3/+33
| |
* | Merge pull request #8574 from eska014/html5-noglutRémi Verschelde2017-05-023-75/+27
|\ \ | |/ |/| Remove GLUT usage in HTML5 platform
| * Remove GLUT usage in HTML5 platformL. Krause2017-04-283-75/+27
| |
* | Implement mouse capture and hiding in HTML5 exportL. Krause2017-05-022-10/+54
| | | | | | | | MOUSE_MODE_CONFINED cannot be implemented.
* | Fix HTML5 key eventsL. Krause2017-04-291-3/+3
|/ | | | Regression from 86f5ac3
* Implement HTML5 touch eventsL. Krause2017-04-262-206/+109
|
* Reimplement HTML5 mouse input without GLUTL. Krause2017-04-253-93/+113
| | | | Fixes inverted scrolling on Chromium
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-102-5/+5
| | | | | | | | Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-0815-0/+15
|
* Merge pull request #8191 from eska014/webgl2-exportJuan Linietsky2017-03-296-426/+243
|\ | | | | WebGL 2 export per WebAssembly or asm.js