summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2021-12-18Fix initialising of gl_manager and checking gl_manager and context_vulkan ↵Bastiaan Olij
preventing crash issues.
2021-12-16Merge pull request #55966 from bruvzg/wt💩4Rémi Verschelde
2021-12-16Fixed detecting the Valve Streaming GamepadSam Lantinga
Fixed the GUID, and compare the contents of the GUID, not just the pointers
2021-12-15Only rotate Android sensor values for sensors that need them rotatedMarcel Admiraal
2021-12-15[Windows] Detect new Windows Terminal and disable unsupported ↵bruvzg
set_console_visible code.
2021-12-14[Windows] Open a new console window for the editor instances.bruvzg
2021-12-10Misc build system fixesAaron Franke
2021-12-10Merge pull request #43181 from nathanfranke/string-emptyRémi Verschelde
Replace String comparisons with "", String() to is_empty()
2021-12-09Merge pull request #55767 from m4gr3d/config_hand_tracking_frequency_masterRémi Verschelde
2021-12-09Merge pull request #55759 from m4gr3d/enable_exclude_from_recents_masterRémi Verschelde
2021-12-09Merge pull request #55737 from m4gr3d/add_min_target_sdk_configs_masterRémi Verschelde
2021-12-09Add support for configuring the xr hand tracking frequency modene0fhyk
2021-12-09Enable configuration of the `android:excludeFromRecents` activity attribute.Fredia Huya-Kouadio
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-08Add configs to specify the min and target sdk versions.Fredia Huya-Kouadio
2021-12-03Fix files_dropped in HTML5 export.Luis Sanchez
(Ignore trailing slash when creating the temporary directory)
2021-11-30Don't return reference on copy assignment operatorsRémi Verschelde
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit).
2021-11-30[HTML5] Fix multi-touch input handling.Fabio Alessandrelli
The code to populate the input data for WebAssembly was incorrectly overriding values when multiple touches were present due to wrong indexing.
2021-11-26Merge pull request #55347 from Faless/js/4.x_scons_emcc_abspathRémi Verschelde
2021-11-26[HTML5] Use absolute path for JS lib/pre/externs.Fabio Alessandrelli
Ensure better compatibility when emcc which may run some tools from different paths (e.g. closure compiler). This fixes externs include issues with modern emcc using the closure compiler.
2021-11-26Merge pull request #55344 from Chaosus/repair_error_funcYuri Roubinsky
2021-11-26Fix console colors on WindowsYuri Roubinsky
2021-11-26[HTML5] Fix focus (again) in Firefox's iframes.Fabio Alessandrelli
This actually makes sense(?), when running inside an iframe the active element might be our canvas, while the iframe itself is not active in the parent window. Since we consume the event, the iframe does not get focused in Firefox (but does in Chromium-based browsers), so we must always call focus to handle such occasions.
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