summaryrefslogtreecommitdiffstats
path: root/platform/javascript/os_javascript.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix HTML5 key eventsL. Krause2017-04-291-3/+3
|/ | | | Regression from 86f5ac3
* Implement HTML5 touch eventsL. Krause2017-04-261-197/+109
|
* Reimplement HTML5 mouse input without GLUTL. Krause2017-04-251-20/+113
| | | | Fixes inverted scrolling on Chromium
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-4/+4
| | | | | | | | 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-2/+3
|\ | | | | WebGL 2 export per WebAssembly or asm.js
| * WebGL 2 export per WebAssembly or asm.jseska2017-03-291-2/+3
| |
* | Input: Remove usage of platform dependent event IDs.Andreas Haas2017-03-261-15/+3
|/ | | | | 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-217/+187
| | | | | | | | | | | | | | | | | | | | | | | | 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-1/+14
| | | | | | | | | | | | | | 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
* Fixes to webgl/opengl es 3.0 for compatibility with webgl2.0, still does not ↵Juan Linietsky2017-02-221-0/+2
| | | | work though
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-1/+1
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Enable WebGL2 in web export, start fixing buildeska2017-02-011-28/+9
| | | | Will not yet compile
* Adapt platforms to AudioServer refactoringRémi Verschelde2017-01-161-26/+5
| | | | | | Fixes compilation on Windows and likely other platforms (at least as far as AudioServer changes were concerned), though they were not tested.
* Style: Prevent clang-format on JS codeRémi Verschelde2017-01-161-0/+14
|
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-1/+1
|
* Oops! Audio engine has vanished :DJuan Linietsky2017-01-151-1/+1
|
* Merge pull request #7519 from eska014/web-presentationRémi Verschelde2017-01-151-9/+3
|\ | | | | Improve Web export presentation
| * Improve usability and style in web export presentationeska2017-01-141-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | - Check for WebGL support, don't load if unsupported - Check for IndexedDB support - Make canvas support check message visible - Colored debug output for warnings and errors - Make it obvious status can be closed by clicking - Don't use status to display non-critical errors - Limit output message count - Add clear output button - Fix setting total memory
* | Style: Fix whole-line commented codeRémi Verschelde2017-01-141-4/+6
| | | | | | | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* | rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky2017-01-131-2/+2
| |
* | renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-081-2/+2
| |
* | -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-051-2/+2
| | | | | | | | | | | | | | | | categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
* | 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-36/+151
| | | | | | - Add 'window' (canvas) resize, maximize and fullscreen - Implement get_screen_size - Fix fullscreen resolution
* Fix some mouse bugs in WebAssembly/asm.jseska2016-11-301-2/+8
| | | | | - Emit mouse wheel release events - Set button masks, fixes #5092
* OS additions and fixes for WebAssembly/asm.jseska2016-11-301-44/+40
| | | | | | | - 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
* Merge pull request #4376 from eska014/js-evalRémi Verschelde2016-08-301-0/+5
|\ | | | | Add JavaScript eval interface to web export
| * Add JavaScript eval interfaceeska2016-06-301-0/+5
| |
* | Pass mouse position to Input singleton in web exporteska2016-07-081-0/+3
|/
* Add fallback to legacy KeyboardEvent in web exporteska2016-04-191-1/+21
| | | | | Fallback to KeyboardEvent property `charCode` is absence of both `key` and `char` for retrieval of unicode value.
* Reimplement key input events in Emscripten exporteska2016-04-191-8/+60
| | | | | Scancodes work, but unicode values are now completely broken in some browser/OS combinations.
* html5: workaround for echo key events.hondres2016-03-041-1/+5
|
* add mappings and increase max number of buttonshondres2016-01-221-1/+1
|
* html5 gamepad supportHinsbart2016-01-211-1/+67
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* HTML5 exporter seems to be fully functionalJuan Linietsky2015-09-121-3/+40
| | | | | -user:// filesystem implemented -default template page could look prettier, help appreciated
* HTML5 exporter ImprovementsJuan Linietsky2015-09-101-5/+5
| | | | | | -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/+6
|
* -fixed export templates not loading/exporting on WindowsJuan Linietsky2014-02-131-1/+1
| | | | | | | | | | | | -fixed TouchScreenButton with stretch2d -fixed(?) OSX crash on startup (test!!) -compilation fixes on windows -CollisionPolygon editor works again -find buttons en find dialog -TileMap editor cleanup (removed "error", made nicer) -viewport flicker fixed -make .scn default extension for saving scenes -export the rest of the network classes to gdscript
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+593