aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix HTML5 HTTPClient includesLeon Krause2017-11-151-0/+2
|
* Move singleton management from ProjectSettings to EngineLeon Krause2017-11-141-3/+2
|
* Fix HTML5 mouse button release eventsLeon Krause2017-11-131-3/+4
|
* Merge pull request #12867 from eska014/html5-httpRémi Verschelde2017-11-135-0/+554
|\ | | | | Implement HTTPClient in HTML5 platform
| * Implement HTTPClient in HTML5 platformLeon Krause2017-11-135-0/+554
| | | | | | | | | | | | | | | | | | | | | | Limitations: - Subject to same-origin policy - No persistent connection (but simulated for compatibility) - No blocking mode - No StreamPeer access - No chunked responses - Cannot disable host verification
* | Make video mode initialization more intuitive, fixes #12022Juan Linietsky2017-11-092-7/+0
|/
* Merge pull request #12691 from eska014/webaudioRémi Verschelde2017-11-066-1119/+16
|\ | | | | Fix WebAudio and HTML5 build
| * Fix WebAudio and HTML5 buildLeon Krause2017-11-066-1119/+16
| |
* | Merge pull request #12262 from AndreaCatania/pplugJuan Linietsky2017-11-032-9/+0
|\ \ | |/ |/| Physics server plug
| * Implemented physics plugAndreaCatania2017-11-042-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved init_physics Implemented physics 2D plug Fix clang Fix clang Fix static check Fix clang Fix static check Moved physics server initialization Moved physics server settings initialization
* | Detect javascript platform using EMSCRIPTEN env as wellMarcelo Fernandez2017-10-281-2/+5
| |
* | Sound support for Javascript (untested).Juan Linietsky2017-10-262-3/+92
|/
* 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..