summaryrefslogtreecommitdiffstats
path: root/platform/javascript/javascript_main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-3/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Add drop files functionFabio Alessandrelli2020-05-101-0/+1
|
* DisplayServerJavaScript implementation.Fabio Alessandrelli2020-05-101-6/+43
|
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-1/+1
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Refactor OS_JavaScriptLeon Krause2018-07-101-16/+11
|
* Javascript: Remove weird logMax Hilbrunner2018-05-241-2/+0
|
* Refactor JavaScript platform build scriptLeon Krause2018-03-261-1/+1
|
* Fix internal Emscripten JS API callsLeon Krause2018-01-061-1/+1
| | | | Emscripten 1.37.24 no longer exports these by default
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Change HTML5 start-up APILeon Krause2017-11-191-1/+0
| | | | | | | | Rename engine.start() to startGame(), new start() takes string arguments handed directly to main(). Rename Engine.loadEngine() to load(). Add setLocale(), setResizeCanvasOnStart(), setExecutableName() and preloadFile().
* Add OS::is_userfs_persistent to check user:// persistenceLeon Krause2017-10-021-9/+7
| | | | Allows starting HTML5 export when IndexedDB is not available.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Remove GLUT usage in HTML5 platformL. Krause2017-04-281-60/+16
|
* Reimplement HTML5 mouse input without GLUTL. Krause2017-04-251-72/+0
| | | | Fixes inverted scrolling on Chromium
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* WebGL 2 export per WebAssembly or asm.jseska2017-03-291-9/+4
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-69/+56
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixes to webgl/opengl es 3.0 for compatibility with webgl2.0, still does not ↵Juan Linietsky2017-02-221-1/+1
| | | | work though
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-3/+2
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Style: Prevent clang-format on JS codeRémi Verschelde2017-01-161-0/+2
|
* Merge pull request #7519 from eska014/web-presentationRémi Verschelde2017-01-151-22/+20
|\ | | | | Improve Web export presentation
| * Improve usability and style in web export presentationeska2017-01-141-22/+20
| | | | | | | | | | | | | | | | | | | | | | | | - 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-2/+2
| | | | | | | | | | 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.
* | 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!
* Fix some mouse bugs in WebAssembly/asm.jseska2016-11-301-3/+8
| | | | | - Emit mouse wheel release events - Set button masks, fixes #5092
* OS additions and fixes for WebAssembly/asm.jseska2016-11-301-1/+1
| | | | | | | - 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
* Reimplement key input events in Emscripten exporteska2016-04-191-110/+0
| | | | | Scancodes work, but unicode values are now completely broken in some browser/OS combinations.
* html5: workaround for echo key events.hondres2016-03-041-0/+19
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* HTML5 exporter seems to be fully functionalJuan Linietsky2015-09-121-5/+52
| | | | | -user:// filesystem implemented -default template page could look prettier, help appreciated
* HTML5 exporter ImprovementsJuan Linietsky2015-09-101-0/+2
| | | | | | -Better template handling -Voice support -Stream support
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+251