summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2021-11-25Restore console window output for editor app on WindowsYuri Roubinsky
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-22Merge pull request #55159 from m4gr3d/add_oculus_openxr_config_masterRémi Verschelde
2021-11-21Fix Android `get_screen_orientation()` not returning valid valuesMarcel Admiraal
2021-11-20Add support for OpenXR export configurations.Fredia Huya-Kouadio
2021-11-19[HTML5] Add WebGL2 (GLES3) support using the OpenGL renderer.Fabio Alessandrelli
Note, the editor build requires the mbedtls module to be manually enabled, as it is currently needed as a ResourceUID dependency. This will need to be addressed in a separate PR.
2021-11-19Merge pull request #54499 from Faless/threads/4.x_work_pool_defaultRémi Verschelde
2021-11-19[HTML5] Add checks to Gamepad API events.Fabio Alessandrelli
In some conditions the events might be generated even when the `gamepad` object is not accessible due to Security Context requirements. This commit adds a check to avoid firing the handler in those cases.
2021-11-19[HTML5] Fix input not focusing canvas.Fabio Alessandrelli
mousedown and touchstart should focus the canvas to ensure correct application lifecycle.
2021-11-18Merge pull request #55072 from KoBeWi/untitled_goose_projectRémi Verschelde
2021-11-18Fix data directory of unnamed projectskobewi
2021-11-18Windows: Use `/bigobj` only for debug builds, breaks GCC LTORémi Verschelde
Building `target=release` and `target=release_debug` builds with MinGW-GCC errors when linking with LTO. Since it's only needed for `target=debug` builds anyway (bigger objects), which we don't build with LTO, this works around the issue.
2021-11-17Fix crash on macOS (AS) when dualshock4 is removedWill Jordan
2021-11-16[macOS] Fix crash handler not printing function names on M1 Macs.bruvzg
2021-11-15Merge pull request #54992 from RandomShaper/drop_android_db_settingRémi Verschelde
2021-11-15Drop pointless Android depth buffer settingPedro J. Estébanez
2021-11-12Fix typo in architecture name for x86_64 macOSAaron Franke
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-12Modules: Make sure to include modules_enabled.gen.h where neededRémi Verschelde
2021-11-11Merge pull request #54876 from bruvzg/no_captured_moveRémi Verschelde
2021-11-11Make window unmovable by dragging title bar, when mouse in captured or ↵bruvzg
confined mode.
2021-11-11String: Remove `erase` method, bindings can't mutate StringRémi Verschelde
2021-11-10Merge pull request #54837 from akien-mga/windows-bigobjRémi Verschelde
2021-11-10Windows: Enable `/bigobj` to increase max size for obj filesRémi Verschelde
Equivalent `-Wa,-mbig-obj` for GCC/Clang. This started being needed to compile harfbuzz in `target=debug` with MinGW/GCC, but there doesn't seem to be any drawback to enabling `/bigobj` (aside from losing support for pre-VS 2005 linkers, which we don't support).
2021-11-10Windows: Fix compilation warnings with GCC 11.2.1Rémi Verschelde
2021-11-09Merge pull request #54463 from RandomShaper/fix_gl3_32bitsRémi Verschelde
2021-11-09Merge pull request #54315 from nekomatata/x11-key-events-logRémi Verschelde
2021-11-08[macOS] Use pre-wait observer to keep main run loop running and redraw ↵bruvzg
window during the window resize and displaying modal popups.
2021-11-07[iOS export] Capture and display xcodebuild output.bruvzg
2021-11-06[Export] Read and ZIP project files in 16K chunks instead of reading the ↵bruvzg
whole file at once.
2021-11-05Merge pull request #54601 from nekomatata/x11-struts-fix-bad-window-errorRémi Verschelde
2021-11-04Fix BadWindow X11 errors when a window is closed while processing strutsPouleyKetchoupp
A window can be closed on the server side while processing results from _NET_CLIENT_LIST, which causes BadWindow fatal errors by default in XGetWindowProperty. The only way to safely catch this case is to set an error handler to ignore BadWindow errors while these commands are processed.
2021-11-04Merge pull request #54591 from WoLfulus/masterRémi Verschelde
2021-11-04Fix dwFlags on CreateProcessW callsWoLfulus
2021-11-03Add default `minSdkVersion` and `targetSdkVersion` in the ↵Fredia Huya-Kouadio
AndroidManifest.xml file
2021-11-02[macOS] Add support for OpenGLES3 video driver.bruvzg
2021-11-02[OS] Add ThreadWorkPool default size to OS.Fabio Alessandrelli
Some platforms (*cough* web *cough*) have hard limits on the number of threads that can be spawned. Currently, ThreadPoolWork (mostly used in rendering/physics servers) will spawn as many threads as CPUs available causing exception on machines with high CPU count. This commit adds a new overridable method to OS that returns the default thread pool size (still the CPU count by default), and overrides it for the JavaScript platform so it always allocate only one thread. We can likely improve the whole ThreadPoolWork in the future to always allocate X amount of threads, and assign jobs to them on the fly, but that will require some more architectural changes.
2021-11-01Merge pull request #54490 from q66/ppcRémi Verschelde
2021-11-01Add support for PowerPC familyDaniel Kolesa
2021-11-01Fix new projects always being created with OpenGLHugo Locurcio
Only Vulkan is fully implemented for now, so OpenGL isn't available in the project manager yet. This also makes the rendering driver checks use lowercase names everywhere for consistency.
2021-11-01Merge pull request #41565 from nekomatata/x11-usable-screen-sizeRémi Verschelde
2021-11-01Drop broken Android 32-bit framebuffer setting for a reliable one for depth ↵Pedro J. Estébanez
buffer
2021-11-01[macOS] Add `create_instance` function to spawn editor copies.bruvzg
[macOS] Modify `create_project` function to detect and run app bundles using NSWorkspace to ensure app window is registered and activated correctly.
2021-10-31Use OpenGL 3.3 core profile instead of compatibility profileClay John
- Rename OpenGL to GLES3 in the source code per community feedback. - The renderer is still exposed as "OpenGL 3" to the user. - Hide renderer selection dropdown until OpenGL support is more mature. - The renderer can still be changed in the Project Settings or using the `--rendering-driver opengl` command line argument. - Remove commented out exporter code. - Remove some OpenGL/DisplayServer-related debugging prints.
2021-10-30Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3Hugo Locurcio
- Use lowercase driver names for the `--rendering-driver` command line argument.
2021-10-30Add GLES2 2D renderer + Linux display managerlawnjelly
First implementation with Linux display manager. - Add single-threaded mode for EditorResourcePreview (needed for OpenGL). Co-authored-by: clayjohn <claynjohn@gmail.com> Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
2021-10-29Implemented screen_get_usable_rect for X11 Display ServerPouleyKetchoupp
Helps with fixing issues with scrolling popups not respecting screen decorations on the display server side. Reproduction steps for a simple use case: - Start the editor project list - Open the language selection popup Support for multi-screen: Handling decorations is supported in different ways depending on the information the window manager provides: - _GTK_WORKAREAS is used when available from the WM to get accurate rect for the different screens directly (available on Gnome). - Alternatively, strut information is used to calculate available space for a given desktop manually (XFCE, KDE). - As last resort _NET_WORKAREA is used. It provides one full rect for all screens, which doesn't handle decorations on the secondary screen in all cases.
2021-10-29Merge pull request #54340 from aaronfranke/time-docMax Hilbrunner
Update and fix Time documentation
2021-10-28Adds support for 'use_coverage' flag in OSX.Sean Kim
Based on #36572 which added support for Linux
2021-10-28Merge pull request #42117 from nekomatata/x11-get-window-screenRémi Verschelde
Fix window_get_current_screen for X11 display server