summaryrefslogtreecommitdiffstats
path: root/platform/javascript/os_javascript.h
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix WebAudio and HTML5 buildLeon Krause2017-11-061-1/+0
| |
* | Implemented physics plugAndreaCatania2017-11-041-4/+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
* Merge pull request #11782 from eska014/persistent-userfs-testHein-Pieter van Braam2017-10-031-0/+5
|\ | | | | Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
| * Add OS::is_userfs_persistent to check user:// persistenceLeon Krause2017-10-021-0/+5
| | | | | | | | Allows starting HTML5 export when IndexedDB is not available.
* | Extract logging logicRuslan Mustakov2017-09-251-5/+1
|/ | | | | | | | | | | | | | | | | | | 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.
* Fix enums bindingsMaxim Sheronov2017-09-131-1/+1
| | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* p_screen param from get_screen_* funcs now default to the current screenMarcelo Fernandez2017-08-211-1/+1
|
* Improve HTML5 canvas managementL. Krause2017-08-051-0/+5
| | | | | | - set_window_maximized hides page content - Fix sporadic full-screen render-size bug in Chromium - Smoother resizing for maximized canvas
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-0/+2
| | | | -Added system for feature overrides, it's pretty cool :)
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-1/+1
| | | | this might cause bugs I haven't found yet..
* Merge pull request #8625 from eska014/html5-cursorshapeRémi Verschelde2017-05-051-0/+1
|\ | | | | HTML5: Cursor style control
| * Implement cursor style control in HTML5 platformL. Krause2017-05-021-0/+1
| |
* | Merge pull request #8574 from eska014/html5-noglutRémi Verschelde2017-05-021-7/+1
|\ \ | |/ |/| Remove GLUT usage in HTML5 platform
| * Remove GLUT usage in HTML5 platformL. Krause2017-04-281-7/+1
| |
* | Implement mouse capture and hiding in HTML5 exportL. Krause2017-05-021-3/+5
|/ | | | MOUSE_MODE_CONFINED cannot be implemented.
* Implement HTML5 touch eventsL. Krause2017-04-261-10/+1
|
* Reimplement HTML5 mouse input without GLUTL. Krause2017-04-251-1/+0
| | | | Fixes inverted scrolling on Chromium
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-1/+1
| | | | | | | | 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-081-0/+1
|
* Merge pull request #8191 from eska014/webgl2-exportJuan Linietsky2017-03-291-1/+1
|\ | | | | WebGL 2 export per WebAssembly or asm.js
| * WebGL 2 export per WebAssembly or asm.jseska2017-03-291-1/+1
| |
* | Input: Remove usage of platform dependent event IDs.Andreas Haas2017-03-261-1/+0
|/ | | | | The ID property for InputEvents is set by `SceneTree` when sending the event down the tree. So there's no need for the platform specific code to set this value when it will later be overriden anyway...
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-35/+29
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Add API to access battery power stateJulian Murgia2017-03-041-0/+7
| | | | | | | | | | | | | | Done: - X11, server (tested) - Windows (developed, would be nice to retest) - OSX (not tested) Prepared (not developed): - Android (code is here, but may not compile) - iphone - winrt - bb10 - haiku - javascript
* Enable WebGL2 in web export, start fixing buildeska2017-02-011-5/+0
| | | | Will not yet compile
* Adapt platforms to AudioServer refactoringRémi Verschelde2017-01-161-6/+3
| | | | | | Fixes compilation on Windows and likely other platforms (at least as far as AudioServer changes were concerned), though they were not tested.
* renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-081-1/+1
|
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* Add window features in web exporteska2016-11-301-2/+10
| | | | | | - Add 'window' (canvas) resize, maximize and fullscreen - Implement get_screen_size - Fix fullscreen resolution
* Fix some mouse bugs in WebAssembly/asm.jseska2016-11-301-0/+1
| | | | | - Emit mouse wheel release events - Set button masks, fixes #5092
* OS additions and fixes for WebAssembly/asm.jseska2016-11-301-9/+8
| | | | | | | - Implement alert, shell_open, set_window_title - Add locale lookup, fixes #2477 - Print without color control sequences - Move get_executable_path implementation to OS_JavaScript
* Add JavaScript eval interfaceeska2016-06-301-0/+5
|
* Reimplement key input events in Emscripten exporteska2016-04-191-3/+0
| | | | | Scancodes work, but unicode values are now completely broken in some browser/OS combinations.
* html5: workaround for echo key events.hondres2016-03-041-1/+3
|
* html5 gamepad supportHinsbart2016-01-211-0/+8
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Merge branch 'master' of https://github.com/okamstudio/godotJuan Linietsky2015-09-241-1/+6
|\
| * HTML5 exporter seems to be fully functionalJuan Linietsky2015-09-121-1/+6
| | | | | | | | | | -user:// filesystem implemented -default template page could look prettier, help appreciated
* | Added ability to set custom mouse cursors. Not hardware accelerated yet.Juan Linietsky2015-09-241-0/+1
|/
* HTML5 exporter ImprovementsJuan Linietsky2015-09-101-3/+3
| | | | | | -Better template handling -Voice support -Stream support
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* wrong function, changing..Juan Linietsky2015-04-021-1/+1
|
* javascript build fixJuan Linietsky2015-04-021-0/+1
|
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+164