summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2020-09-23Merge pull request #42178 from Faless/js/sync_fs_size_handlersRémi Verschelde
[HTML5] Synchronous main, better persistence, handlers fixes, optional full screen.
2020-09-23JS synchronous start, better persistent FS sync.Fabio Alessandrelli
The engine now expects to emscripten FS to be setup and sync-ed before main is called. This is exposed via `Module["initFS"]` which also allows to setup multiple persistence paths (internal use only for now). Additionally, FS syncing is done **once** for every loop if at least one file in a persistent path was open for writing and closed, and if the FS is not syncing already. This should potentially fix issues reported by users where "autosave" would not work on the web (never calling `syncfs` because of too many writes).
2020-09-23Make canvas resize optional in HTML5.Fabio Alessandrelli
2020-09-23Better HiDPI support in HTML5.Fabio Alessandrelli
2020-09-23Window event listener do not use capture.Fabio Alessandrelli
2020-09-23Small refactor to JavaScript handlers.Fabio Alessandrelli
Crated helper class in native/utils.js. Simplify code in OS/DisplayServer.
2020-09-23Expose request_quit method to JS in HTML5 export.Fabio Alessandrelli
2020-09-18Add overridable init method for the Godot fragment instance.Fredia Huya-Kouadio
2020-09-18[HTML5] Add override keyword, cleanup methods.Fabio Alessandrelli
2020-09-18Fix typos with codespellRémi Verschelde
Using codespell 1.17.1. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2020-09-18X11: Try to load libXrandr.so.3 if libXrandr.so.2 isn't foundRémi Verschelde
All Linux distros, and FreeBSD and OpenBSD seem to have libXrandr.so.2, but for some reason recent NetBSD versions seem to have libXrandr.so.3 now.
2020-09-18Linux/BSD: Fix support for NetBSDRémi Verschelde
Add __NetBSD__ to `platform_config.h` so that it can find `alloca` and use the proper `pthread_setname_np` format. Rename RANDOM_MAX to avoid conflict with NetBSD stdlib. Fixes #42145.
2020-09-17Add window click-through support.bruvzg
2020-09-14Only display the Windows toggle console option if it can actually be usedHugo Locurcio
2020-09-10Remove unused Python imports.Marcel Admiraal
2020-09-09Explicitly add implicitly added semicolons.Marcel Admiraal
2020-09-05Adds PCK encryption support (using script encryption key for export).bruvzg
Change default encryption mode from ECB to CFB.
2020-09-03[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg
2020-09-03Merge pull request #41332 from bruvzg/win_subsys_optionRémi Verschelde
Revert #41164, add subsystem build option.
2020-09-03Fix drag and drop between windows in X11 display serverPouleyKetchoupp
Proper implementation for get_window_at_screen_position: Now getting the topmost last active window when overlapping. Mouse drag & release events: They are now propagated through the current focused window, in order to make it consistent with the engine expectations and the Windows display server implementation.
2020-09-03Merge pull request #41456 from nekomatata/x11-fix-popupsRémi Verschelde
Popup fixes for X11 display server
2020-08-30Fix issue causing the textedit to move upwardFredia Huya-Kouadio
2020-08-27Merge pull request #41550 from ↵Rémi Verschelde
godotengine/revert-40671-virtual-keyboard-height-fix Revert "Fix virtual keyboard height regression"
2020-08-26Merge pull request #41549 from ↵Rémi Verschelde
godotengine/revert-40484-android-virtual-keyboard-adjustment Revert "Disable virtual keyboard focus adjustment on Android"
2020-08-26Revert "Fix virtual keyboard height regression"Fredia Huya-Kouadio
2020-08-26Revert "Disable virtual keyboard focus adjustment on Android"Fredia Huya-Kouadio
2020-08-26Revert "Move PopupWindow logic to GodotEditText on Android"Fredia Huya-Kouadio
2020-08-26Fix WINDOW_EVENT_FOCUS_IN for popups on WindowsPouleyKetchoupp
On Windows, WINDOW_EVENT_FOCUS_IN was never sent by the display server for popups, because WM_ACTIVATE events are received during the call to _update_window_style, which happened before the callbacks were set. This was causing some issues with the way Popup is now handling closing on parent focus. Now _update_window_style is only called during show_window, after Window initialized callbacks.
2020-08-26Fix menu popups delay and focus in X11 display serverPouleyKetchoupp
Now using override_redirect for menu & tooltip popups to prevent the WM from interfering with them, so we have more control over focus management and avoid a delay before they show up.
2020-08-25[macOS] Fix heap use-after-free in DisplayServer.bruvzg
2020-08-22Re-apply "Fixes for windows in X11 tiling WMs"PouleyKetchoupp
From PR #38727 which was reverted in #41373 because of regressions in Ubuntu with Gnome. Co-authored-by: Lorenzo Cerqua <lorenzocerqua@tutanota.com>
2020-08-21Fix new black style check failures in various files.Marcel Admiraal
2020-08-19Revert "Fixes for windows in X11 tiling WMs"Juan Linietsky
2020-08-19Merge pull request #41080 from naithar/feature/ios-framework-importRémi Verschelde
[iOS] [4.0] Export: Add a method to embed a framework
2020-08-19iOS Export: Add a method to embed a frameworkSergey Minakov
By default 'add_ios_framework' would not embed a framework to save previous behavior. New 'add_ios_embedded_framework' would embed framework on export.
2020-08-17Add Windows Subsystem build option.bruvzg
2020-08-17Revert "[Windows] Attach to parent console instead of creating new one."bruvzg
This reverts commit 4f7a49db53c6aaabeca70fe8901144af708fb6b2.
2020-08-17[Windows] Fix modifier keys when using tablet input.bruvzg
2020-08-16Port ClassDB tests to use doctestAndrii Doroshenko (Xrayez)
Extracted the most minimal core initialization functionality from `setup()` and `setup2()` so that `ClassDB` could be tested properly (input, audio, rendering, physics etc, are excluded). Display and rendering servers/singletons are not initialized at all. Due to the fact that most subsystems are disabled, fixed various crashes in the process (in order): - `AcceptDialog` OK/cancel swap behavior (used `DisplayServer` while `register_scene_types()`); - `make_default_theme` which depends on `RenderingServer`; - `XRServer` singleton access while calling `register_modules_types()`; - hidden bug in a way joypads are cleaned up (MacOS and Linux only). Removed manual `ClassDB` init/cleanup calls from `test_validate_testing.h`. ClassDB tests: Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
2020-08-15Merge pull request #41285 from bruvzg/macos_on_top_4Rémi Verschelde
[macOS] Fix "on top" incorrectly set on init and resetting on window update.
2020-08-15Fix "on top" incorrectly set on init (all platforms).bruvzg
Fix "on top" reseting on window update. (macOS).
2020-08-15fixed linker being slow on OSXGordon MacPherson
2020-08-13Remove obsolete GLES2 backend codeRémi Verschelde
This code currently isn't compiled (and cannot compile). We plan to re-add OpenGL ES-based renderer(s) in Godot 4.0 alongside Vulkan (probably ES 3.0, possibly also a low-end ES 2.0), but the code will be quite different so it's not relevant to keep this old Godot 3.2 code. The `drivers/gles2` code from the `3.2` branch can be used as a reference for a potential new implementation.
2020-08-11Merge pull request #41000 from amanj120/forward_port_bundle_pr_exportRémi Verschelde
Add 'Export App Bundle' to Android Export Options
2020-08-11Merge pull request #41164 from bruvzg/win_attach_consoleRémi Verschelde
[Windows] Attach to parent console instead of creating new one.
2020-08-11[Windows] Attach to parent console instead of creating new one.bruvzg
2020-08-11Merge pull request #40961 from BrainBlasted/update-platform-metadataRémi Verschelde
platform: Update metadata for export platforms
2020-08-10iOS: simplify OS value retrievalSergey Minakov
2020-08-05Add 'Export App Bundle' to Android Export OptionsAman Jain
2020-08-01platform: Update metadata for export platformsChristopher Davis
Updates the logos of for macOS, Android, and iOS; Also changes "Mac OSX" to "macOS" Addresses https://github.com/godotengine/godot-proposals/issues/1161