Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-30 | Don't return reference on copy assignment operators | Ré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-26 | Merge pull request #55347 from Faless/js/4.x_scons_emcc_abspath | Ré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-26 | Merge pull request #55344 from Chaosus/repair_error_func | Yuri Roubinsky | |
2021-11-26 | Fix console colors on Windows | Yuri 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-25 | Restore console window output for editor app on Windows | Yuri Roubinsky | |
2021-11-23 | Rename `remove()` to `remove_at()` when removing by index | Lightning_A | |
2021-11-22 | Merge pull request #55159 from m4gr3d/add_oculus_openxr_config_master | Rémi Verschelde | |
2021-11-21 | Fix Android `get_screen_orientation()` not returning valid values | Marcel Admiraal | |
2021-11-20 | Add 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-19 | Merge pull request #54499 from Faless/threads/4.x_work_pool_default | Ré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-18 | Merge pull request #55072 from KoBeWi/untitled_goose_project | Rémi Verschelde | |
2021-11-18 | Fix data directory of unnamed projects | kobewi | |
2021-11-18 | Windows: Use `/bigobj` only for debug builds, breaks GCC LTO | Ré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-17 | Fix crash on macOS (AS) when dualshock4 is removed | Will Jordan | |
2021-11-16 | [macOS] Fix crash handler not printing function names on M1 Macs. | bruvzg | |
2021-11-15 | Merge pull request #54992 from RandomShaper/drop_android_db_setting | Rémi Verschelde | |
2021-11-15 | Drop pointless Android depth buffer setting | Pedro J. Estébanez | |
2021-11-12 | Fix typo in architecture name for x86_64 macOS | Aaron Franke | |
2021-11-12 | Use "enum class" for input enums | Aaron Franke | |
2021-11-12 | Modules: Make sure to include modules_enabled.gen.h where needed | Rémi Verschelde | |
2021-11-11 | Merge pull request #54876 from bruvzg/no_captured_move | Rémi Verschelde | |
2021-11-11 | Make window unmovable by dragging title bar, when mouse in captured or ↵ | bruvzg | |
confined mode. | |||
2021-11-11 | String: Remove `erase` method, bindings can't mutate String | Rémi Verschelde | |
2021-11-10 | Merge pull request #54837 from akien-mga/windows-bigobj | Rémi Verschelde | |
2021-11-10 | Windows: Enable `/bigobj` to increase max size for obj files | Ré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-10 | Windows: Fix compilation warnings with GCC 11.2.1 | Rémi Verschelde | |
2021-11-09 | Merge pull request #54463 from RandomShaper/fix_gl3_32bits | Rémi Verschelde | |
2021-11-09 | Merge pull request #54315 from nekomatata/x11-key-events-log | Ré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-05 | Merge pull request #54601 from nekomatata/x11-struts-fix-bad-window-error | Rémi Verschelde | |
2021-11-04 | Fix BadWindow X11 errors when a window is closed while processing struts | PouleyKetchoupp | |
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-04 | Merge pull request #54591 from WoLfulus/master | Rémi Verschelde | |
2021-11-04 | Fix dwFlags on CreateProcessW calls | WoLfulus | |
2021-11-03 | Add 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-01 | Merge pull request #54490 from q66/ppc | Rémi Verschelde | |
2021-11-01 | Add support for PowerPC family | Daniel Kolesa | |
2021-11-01 | Fix new projects always being created with OpenGL | Hugo 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-01 | Merge pull request #41565 from nekomatata/x11-usable-screen-size | Rémi Verschelde | |
2021-11-01 | Drop 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. |