Age | Commit message (Collapse) | Author |
|
Fix set_default_cursor_shape interaction with Control nodes
|
|
|
|
Implement OS::set_icon in HTML5 platform
|
|
Add Visual Studio debug visualizer
|
|
|
|
|
|
Do not call `set_cursor_shape` when the cursor is inside the `Control` node.
Make it work for x11 in MOUSE_MODE_CONFINED.
|
|
[Docs] Add class ref for Input::set_default_cursor_shape
|
|
Also fix typo in _get_last_error which caused Winsock connect to fail.
|
|
Fix libwebsockets 32-bits UWP builds.
|
|
Misc. typos
|
|
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
|
|
Also fix bogus windows detect.py
|
|
Fixes to mouse mode confined and captured
|
|
New NetSocket interface with common BSD/Win implementation
|
|
|
|
|
|
When resizing an X11 window wait for the WM to process our request
|
|
Update X11 global mouse position at startup
|
|
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
|
|
Tweak Android-related error messages in the Export dialog
|
|
Changed Windows key translate pair from KEY_COLON to KEY_COMMA.
|
|
Fix mouse confined leaving window with OS_Windows::set_window_position
|
|
On X11 when we send an XResizeWindow request to the X server it is happy
to say it is done when the request has been handed over to the window
manager. The window manager itself may however take some time to
actually do the resize. Godot expects that a resize request is
immediate. To work around this issue we could implement the whole
_NET_WM_SYNC_REQUEST protocol. However this protocol does not fit very
well with the way we currently process X events and would when
implemented in the current framework still cause a 1 frame delay between
a resize request and the actual resize happening.
This fixes #21720
|
|
When we start the engine we haven't yet gotten any X11 motion events so
we don't yet know where our mouse cursor is located. Instead we now
query the X server for this information when we start and update the
appropriate values.
In addition when we move the window we also update the mouse position
based off of X server knowledge as we will also not have received any
mouse motion events.
this fixes #8145 (for X11 only)
|
|
OpenJDK 8 has been working well for exporting to Android
for a while now, so it can be recommended instead of OpenJDK 6.
|
|
|
|
|
|
|
|
These modes will work on Linux in the same way as Windows.
|
|
Add check for negative values.
Fixes #21721
|
|
Cursor hotspot must be inside image on Linux. Adding validation for all
platforms for consistency.
|
|
|
|
Fixes #20474.
|
|
|
|
|
|
Fix WebM and Theora video in HTML5 export
|
|
According to https://github.com/bytedeco/javacpp/pull/244 in NDK 17
libandroid_support library is not needed any more, and on armv8 is
already gone which breaks compilation.
|
|
|
|
|
|
Fall back to GLES2 if GLES3 is not working
|
|
When setting an icon that is too large previously Godot would die with a
X Error of failed request: BadLength error. To avoid this we install an
error handler right before we set an icon. If the error handler triggers
we halve the icon size until it works or until we've reached a 0 size on
either width or height.
We print a warning when this happens to alert developers.
This fixes #19716
|
|
This adds a static is_viable() method to all rasterizers which has to be
called before initializing the rasterizer. This allows us to check what
rasterizer to use in OS::initialize together with the GL context
initialization.
This commit also adds a new project setting
"rendering/quality/driver/driver_fallback" which allows the creator of a
project to specify whether or not fallback to GLES2 is allowed. This
setting is ignored for the editor so the editor will always open even if
the project itself cannot run. This will hopefully reduce confusion for
users downloading projects from the internet.
We also no longer crash when GLES3 is not functioning on a platform.
This fixes #15324
|
|
- gdscript
- gdscript_compiler
- regex
- android/export
- gles3/rasterizer (scene and storage)
|
|
Modern distributions such as Fedora do not ship 'xdialog' with their
default deployment. This commit adds support for Gnome's Zenity as well
as KDE's kdialog.
|
|
SCons: Disable min/max WinDef.h macros on MSVC
|
|
Fixes #21370.
|
|
Add OS::open_midi_inputs and OS::close_midi_inputs
|
|
|
|
Equivalent of the cumbersome:
if (OS::get_singleton()->is_stdout_verbose())
print_line(msg);
|