aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript
Commit message (Collapse)AuthorAgeFilesLines
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2712-12/+12
|
* BuildSystem: generated files have .gen.extPoommetee Ketson2017-06-252-5/+5
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-0812-0/+12
|
* SCons: Add option to toggle warnings (on by default)Rémi Verschelde2017-03-251-2/+1
| | | | | | All the warnings are factored out of the platform-specific files and moved to SConstruct. Will have to check that it does not introduce regressions on some platforms/compilers.
* Bring that Whole New World to the Old Continent tooRémi Verschelde2017-03-1910-842/+686
| | | | | Applies the clang-format style to the 2.1 branch as done for master in 5dbf1809c6e3e905b94b8764e99491e608122261.
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-181-3/+3
| | | | | | | | The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful. (Manual redo of 49c065d29ca07040c3fd810026121164ad86b247)
* Style: Prevent clang-format on JS codeRémi Verschelde2017-03-184-91/+293
| | | | (cherry picked from commit 39114178a0952e9f5efee08e23d73d70f3d8d3db)
* Style: Fix statements ending with ';;'Rémi Verschelde2017-03-181-1/+1
| | | | (cherry picked from commit f44ee891beaad397481dd88da41cb80e6539774f)
* Add window features in web exporteska2017-03-072-38/+161
| | | | | | | | - Add 'window' (canvas) resize, maximize and fullscreen - Implement get_screen_size - Fix fullscreen resolution (cherry picked from commit 3e1b437315778a99db669c28277352d7a4e86f36)
* Revert "Add fullscreen features in web export"eska2017-03-072-101/+38
| | | | This reverts commit 17422f1f8673ed242771032fd5dc43df89a3b387.
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-1211-11/+11
| | | | | | | | | | 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! (cherry picked from commit c7bc44d5ad9aae4902280012f7654e2318cd910e)
* Emit asm.js code into a dedicated file for asm.js exporteska2016-12-042-0/+7
| | | | | This helps prevent browser lockups during start-up at the cost of having to distribute an extra file.
* Add fullscreen features in web exporteska2016-12-042-38/+101
| | | | | - Implement fullscreen control, get_window_size, get_screen_size - Fix fullscreen resolution
* Fix some mouse bugs in WebAssembly/asm.jseska2016-12-033-5/+17
| | | | | - Emit mouse wheel release events - Set button masks, fixes #5092
* OS additions and fixes for WebAssembly/asm.jseska2016-12-033-54/+49
| | | | | | | - 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
* scons: Reorder options for clarityRémi Verschelde2016-11-031-2/+1
| | | | | | Also prefix all thirdparty-related toggles with `builtin`. (cherry picked from commit cc95d4448c6005c3007c8460f09b8be1595eb3c0)
* style: Various other PEP8 fixes in Python filesRémi Verschelde2016-11-021-1/+1
| | | | | | | | | | | | Done with `autopep8 --select=E7`, fixes: - E701 - Put colon-separated compound statement on separate lines. - E702 - Put semicolon-separated compound statement on separate lines. - E703 - Put semicolon-separated compound statement on separate lines. - E711 - Fix comparison with None. - E712 - Fix (trivial case of) comparison with boolean. - E713 - Fix (trivial case of) non-membership check. - E721 - Fix various deprecated code (via lib2to3).
* style: Fix PEP8 blank lines issues in Python filesRémi Verschelde2016-11-021-1/+5
| | | | | | | | | | | Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
* style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-022-30/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
* style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde2016-11-022-70/+70
| | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
* Fix extraneous NULL character on HTML exportGeorge Marques2016-10-301-2/+2
| | | | | | Fix #2801 (cherry picked from commit 604ddd691cc0599dabfda30d8a49b08eb51f7e5b)
* SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-301-0/+2
| | | | | | Also switch existing shebangs to "better" /usr/bin/env python. (cherry picked from commit fc8ccd5b8c8b779bffd0f4d7f22f2f964c939163)
* zlib: Split thirdparty files, simplify scons optionRémi Verschelde2016-10-301-0/+1
| | | | (cherry picked from commit cbf52606f4928df46fc89d37d781bad782f0616e)
* squish: Move to a module and split thirdparty libRémi Verschelde2016-10-301-2/+1
| | | | (cherry picked from commit 8311a78df5cdf257297c1ec7493cb098dc76f010)
* mpc: Move to a module and split thirdparty libmpcdecRémi Verschelde2016-10-301-1/+1
| | | | (cherry picked from commit 5c12c9e69b85023934dc85f3aada03da150556be)
* theora: Move to a module and split thirdparty libRémi Verschelde2016-10-301-1/+1
| | | | | | Same rationale as the previous commits. (cherry picked from commit cfcc8a20e862b758c32bd3f152186e6df0591a24)
* ogg/vorbis/opus/speex: Make them modules and unbundle thirdparty libsRémi Verschelde2016-10-301-3/+4
| | | | | | | | | | | | | | | Took the opportunity to undo the Godot changed made to the opus source. The opus module should eventually be built in its own environment to avoid polluting others with too many include dirs and defines. TODO: Fix the platform/ stuff for opus. (cherry picked from commit d9a291f6411f2e571c181da0ac89f550ba73f681) speex module was only added while cherry-picking, as speex is removed in the master branch but we don't want to break compatibility in 2.1.x. Unbundling wasn't done as the module uses the internal speex_free, so it would require some more work.
* Drop nedmalloc which is apparently not used anymoreRémi Verschelde2016-10-301-9/+0
| | | | (cherry picked from commit f63bf12193deaf9cae5b1d6c7289afc17a7de946)
* Pass mouse position to Input singleton in web exporteska2016-07-081-0/+3
|
* Merge pull request #5362 from J08nY/pngRémi Verschelde2016-06-231-0/+0
|\ | | | | libpng: New version 1.6.27
| * Fixed iCCp chunk in pngsJ08nY2016-06-221-0/+0
| | | | | | | | neccesary for libpng 1.6.27 to work silently
* | Improved binding system (ObjectTypeDB::bind_method) to be friendlier to ↵Juan Linietsky2016-06-222-2/+2
|/ | | | | | statically typed languages, should help in the Mono integration. Disabled by default.
* Add missing license headers in our source files (#5255)Rémi Verschelde2016-06-182-0/+56
| | | Also removes a couple wrong Godot headers from third-party source files.
* Fix javascript build in WindowsGeorge Marques2016-06-141-0/+3
| | | | Fix #3438
* remove trailing whitespaceHubert Jarosz2016-05-211-15/+15
|
* Move export GUI debug toggle to export settings windoweska2016-04-281-1/+1
|
* 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-194-121/+435
| | | | | Scancodes work, but unicode values are now completely broken in some browser/OS combinations.
* Remove trailing spacesRémi Verschelde2016-04-021-2/+2
|
* html5: workaround for echo key events.hondres2016-03-043-2/+27
|
* add mappings and increase max number of buttonshondres2016-01-221-1/+1
|
* html5 gamepad supportHinsbart2016-01-212-1/+75
|
* fix string conversion in javascript exporthondres2016-01-201-1/+1
|
* Revamp web export pageeska2016-01-201-17/+55
|
* Update copyright to 2016 in headersGeorge Marques2016-01-018-8/+8
|
* Remove bogus argument in sample_get_descriptionRémi Verschelde2015-12-282-2/+2
| | | | Copy-paste mistake from the setter most likely.
* threadsAriel Manzur2015-12-221-1/+1
|
* missing?Ariel Manzur2015-12-221-0/+7
|
* Add way to look for templates at system wide level tooest312015-11-301-11/+16
| | | | | | | | Useful for everybody wanting to package godot. Fixes #1026. -> Retain the old behaviour: path in error msg only when exporting. -> User templates override system templates
* Add support for Opus audio formatGeorge Marques2015-10-021-0/+3
|