summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2020-05-20Merge pull request #38309 from SkyLucilfer/AndroidLineEditRémi Verschelde
Fix Android LineEdit editing bugs
2020-05-19[Windows] Add quotes only to the command line arguments with special characters.bruvzg
2020-05-19Style: Fix unnecessary semicolons that confused clang-formatRémi Verschelde
2020-05-19Merge pull request #33447 from bruvzg/macos_zip_signRémi Verschelde
macOS add signing of DMG and ZIPed export
2020-05-18Update the permission string for the Oculus hand tracking to match the ↵Fredia Huya-Kouadio
latest api update
2020-05-18Merge pull request #38820 from ericrybick/masterRémi Verschelde
Fix certain characters being recognized as special keys on Windows when using the us international layout
2020-05-18Fix certain characters being recognized as special keys in Windows when ↵Eric Rybicki
using the us international layout
2020-05-18Move mix_rate, ouput_latency to AudioDriverManagerFabio Alessandrelli
Each driver used to define the (same) project settings values `audio/mix_rate` and `audio/output_latency`, but the setting names are not driver specific. Overriding is still possible via platform tags.
2020-05-18AudioDriverJavaScript now compute buffer size.Fabio Alessandrelli
Based on mix rate and expected latency.
2020-05-17Implementation of the Godot Android Plugin configuration fileFredia Huya-Kouadio
2020-05-16Fix Android LineEdit editing bugsSkyJJ
2020-05-16Fix input event being dispatched multiple times on WindowsHaSa1002
2020-05-16Fix popup positions on multiple screens (with same scaling only).bruvzg
2020-05-16Merge pull request #37924 from thebestnom/migrate-to-androidXRémi Verschelde
Android: Migrate deprecated support library to AndroidX
2020-05-15macOS signing improvements: allow signed app exporting as ZIP, sign DMG ↵bruvzg
after exporting.
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: Enforce separation line between function definitionsRémi Verschelde
I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027.
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
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.
2020-05-14Style: Fix missing/invalid copyright headersRémi Verschelde
2020-05-14Port member initialization from constructor to declaration (C++11)Rémi Verschelde
Using `clang-tidy`'s `modernize-use-default-member-init` check and manual review of the changes, and some extra manual changes that `clang-tidy` failed to do. Also went manually through all of `core` to find occurrences that `clang-tidy` couldn't handle, especially all initializations done in a constructor without using initializer lists.
2020-05-13Update game controller enums.Marcel Admiraal
2020-05-12Add WebSocket debugger, use it for Javascript.Fabio Alessandrelli
2020-05-11Merge pull request #38386 from reduz/new-lightmapperRémi Verschelde
New GPU lightmapper
2020-05-10New lightmapperJuan Linietsky
-Added LocalVector (needed it) -Added stb_rect_pack (It's pretty cool, we could probably use it for other stuff too) -Fixes and changes all around the place -Added library for 128 bits fixed point (required for Delaunay3D)
2020-05-10Add drop files functionFabio Alessandrelli
2020-05-10Fix Closure compiler build, python style.Fabio Alessandrelli
Move copyToFS into utils.js library included with '--pre-js'.
2020-05-10DisplayServerJavaScript implementation.Fabio Alessandrelli
2020-05-10[HTML5] Locale, input fix, context, exit.Fabio Alessandrelli
Add missing semicolumns in engine.js Add optional extra args to JS Engine.startGame Remove loader.js, explicit noExitRuntime. Also add onExit callback (undocumented in emscripten)
2020-05-10Android: Migrate deprecated support library to AndroidXthebestnom
2020-05-10Style: clang-format: Disable AllowShortCaseLabelsOnASingleLineRémi Verschelde
Part of #33027.
2020-05-10Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde
Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
2020-05-10Style: Add missing copyright headersRémi Verschelde
2020-05-08Merge pull request #38561 from bruvzg/wintab_extra_mm_eventsRémi Verschelde
WinTab: Make movement smoother and handle pressure/tilt changes when cursor is not moving.
2020-05-08WinTab: Adds extra "mouse move" events to make movement smoother and ↵bruvzg
correctly handle pressure/tilt change when cursor is not moving.
2020-05-08Added mapping for KEY_MENU to VK_APPS (0x5d) so context menu's triggered by ↵Eric M
the keyboard menu button work
2020-05-07Remove WinTab error message.bruvzg
2020-05-06clang-format: Add JavaImportGroups for Java codeRémi Verschelde
2020-05-05Merge pull request #38483 from bruvzg/wintab_apiRémi Verschelde
Add support for the WinTab API for pen input.
2020-05-05[Windows] Add support for the WinTab API for pen input.bruvzg
2020-05-05Address `OS.request_permissions()` bug when non-platform permission(s) is ↵Fredia Huya-Kouadio
included
2020-05-03[Linux/Windows] Set pressure to 1.0f when primary button is pressed and ↵bruvzg
device is not pressure sensitive.
2020-05-03Merge pull request #37756 from madmiraal/fix-x11-pressure-tiltRémi Verschelde
Fix X11 pressure and tilt values.
2020-05-01Merge pull request #37414 from Schroedi/fix_html_mouse_inputFabio Alessandrelli
Move wheel handlers from window to canvas element in HTML
2020-04-29Merge pull request #37802 from ThakeeNathees/window-position-bug-osx-x11Rémi Verschelde
display server window position bug fix
2020-04-28Rename InputFilter back to InputRémi Verschelde
It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
2020-04-28Merge pull request #37193 from madmiraal/fix-android-export-unicode-errorsRémi Verschelde
Fix Android export throwing Unicode errors.
2020-04-28Move mouse wheel handler from window to canvas element in HTMLChristoph Schröder
Similar to https://github.com/godotengine/godot/pull/36557 At least in chrome, the following error is printed for each mouse wheel rotation: [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312 This PR moves the handler to the canvas and thereby fixes the error. Tested on: Chrome and Firefox (MacOS), Firefox, Chrome(Android), Safari (IPad + MacOS)
2020-04-27Merge pull request #38253 from nekomatata/bullet-update-2.90Rémi Verschelde
Update to bullet master (2.90)
2020-04-27Update to bullet master (2.90)PouleyKetchoupp
2020-04-26Windows: Appease capricious MSVC versions with moody headersRémi Verschelde
Fixes #37799. Fixes #37986.