57829b7cc4
Re-enable per-pixel transparency support on Linux, macOS, and Windows (for Vulkan and OpenGL rendering drivers).
2022-09-03 19:16:03 +03:00
471c9c2969
Add support for system dark mode (Linux)
...
- Use `org.freedesktop.appearance color-scheme` to support system dark mode.
2022-09-02 16:49:21 +02:00
91ba9bcb03
Fix dropped XEvents early in main window lifetime.
...
The DisplayServerX11 constructor processes pending events shortly
after constructing the main window. However, it discards pending events
on the event queue that it is not interested in. This results in these
events never making it to the main events thread and as a result are
never processed. We need to save the events we don't handle in
DisplayServerX11 so that they can be resent for later handling by the
events thread.
2022-09-01 07:42:03 -06:00
87937bcf87
Fix minimize/maximize not taking effect in X11.
...
Attempts to construct an X11 window in an initial state of
minimized/maximized would fail due to the window being unmapped.
We simply check for failed mode changes during an unmap and reapply
them if necessary.
2022-08-30 12:52:24 -06:00
432b25d364
Merge pull request #65066 from aaronfranke/str-path-join
2022-08-30 10:01:11 +02:00
37f3b9f1ef
Fix fullscreen on X11.
...
Attempts to set a Godot window to fullscreen prior to the window being
mapped would silently fail. This commit uses
_window_fullscreen_check to test if a window had been set to fullscreen
while unmapped, and if so, resets it to fullscreen once the window has
been successfully mapped.
Fixes #54065
2022-08-29 19:11:20 -06:00
10a56981dc
Rename String plus_file to path_join
2022-08-29 19:38:13 -05:00
c08e84af0d
Merge pull request #64943 from MatthewZelriche/FixUnMappedAncestor
2022-08-29 08:19:50 +02:00
67e731d450
Merge pull request #64507 from RandomShaper/remove_unused
...
Remove unused `force_quit` variable from many OS abstractions
2022-08-27 18:42:20 +02:00
93af2993f0
Fix X11 menu window bug.
...
Fixes an issue where XSetInputFocus fails due to the window not
being viewable.
Fixes #62635
Fixes #60690
2022-08-27 07:38:09 -06:00
6e647dea24
Remove unused force_quit variable from many OS abstractions
2022-08-27 13:41:53 +02:00
fce3602a1e
Linux: Fix GNU ld detection for pck_embed linker script
2022-08-26 14:06:56 +02:00
ce56743aa1
Improve platform-specific READMEs to add useful links
...
This also adds READMEs for all platforms.
2022-08-25 17:50:53 +02:00
27b0f18275
Unify bits, arch, and android_arch into env["arch"]
...
Fully removes the `bits` option and adapts the code that relied on it.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2022-08-25 11:19:20 +02:00
8be27dc59e
Replace Array return types with TypedArray
2022-08-22 22:42:36 +02:00
6510e11ae9
Fix memory leak when accessing/listing system fonts.
2022-08-09 12:57:53 +03:00
c939f336d6
Only define keep_screen_on project setting once
2022-08-06 22:10:24 +02:00
33258d850c
Merge pull request #61315 from lawnjelly/variant_bucket_pools
...
Variant memory pools
2022-08-02 15:54:18 +02:00
3e5ad8213f
Merge pull request #63563 from aaronfranke/export-arch
2022-07-30 11:22:25 +02:00
d6a9384a32
[Linux] Fix build with missing DBUS.
2022-07-29 22:16:21 +03:00
7199314eb3
Merge pull request #63595 from reduz/remove-signal-connect-binds
...
Remove Signal connect binds
2022-07-29 18:10:39 +02:00
17c4cd6412
Update export dialog to handle many architectures
2022-07-29 10:24:58 -05:00
d4433ae6d3
Remove Signal connect binds
...
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
2022-07-29 16:26:13 +02:00
f973069afb
[Linux] Load dbus libraries dynamically.
2022-07-29 11:19:19 +03:00
51c5ba9da7
[Linux] Replace fontconfig wrapper with a one generated from the older library version (2.12.6, Ubuntu 18.04 LTS).
2022-07-29 08:55:19 +03:00
9ced8bcca3
Load fontconfig libraries dynamically.
2022-07-27 21:07:21 +03:00
f86448520a
Fix Linux build without fontconfig.
2022-07-27 17:21:04 +03:00
cc5135959b
Merge pull request #62973 from bruvzg/sysfont_support
2022-07-27 13:38:30 +02:00
e53ae13178
Split up editor export code into multiple files
2022-07-26 08:28:19 -05:00
ba2cffc575
Merge pull request #63096 from aaronfranke/exp-template-names
2022-07-26 10:28:25 +02:00
36ef8f29dc
Implement support for loading system fonts on Linux, macOS / iOS and Windows.
2022-07-26 08:38:05 +03:00
90019676b0
Code quality: Fix header guards consistency
...
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 11:17:40 +02:00
8b5c744f95
Update export template names for Windows, Mac, and Linux
2022-07-22 18:40:59 -05:00
f37990ed77
Merge pull request #63278 from akien-mga/scons-linux-refactor-linker
2022-07-22 11:40:10 +02:00
ed926c4ec1
Merge pull request #63303 from hansemro/x11-eraser-case-insensitive
...
[X11] Do case-insensitive search for pen inversion detection
2022-07-22 09:17:04 +02:00
0f5436098b
[X11] Do case-insensitive search for pen inversion detection
2022-07-21 19:25:22 -07:00
c8479c0d4d
SCons: Refactor Linux linker options with linker=<bfd|gold|lld|mold>
...
The new option is `linker` and lets the user specify the argument to
the`-fuse_ld=` linker flag directly. The supported options are:
- `default`: No change, typically uses GNU ld (bfd) unless the user or
distro picked a different default `/usr/bin/ld`.
- `bfd`: GNU ld from binutils
- `gold`: GNU gold from binutils
- `lld`: lld from LLVM
- `mold`: mold, an extremely fast modern linker, not (yet) intended for
use in production but great for development speed. Provided by distro
`mold` package or needs to be compiled from source and installed to
`/usr` otherwise.
Removes the `use_lld=yes` option, and make lld actually usable with GCC
too.
Not all the above are compatible or recommend for LTO, we recommend
using GNU ld with GCC LTO, or lld with LLVM ThinLTO.
2022-07-22 01:00:35 +02:00
a21f8b7c13
Improve linuxbsd headless building, cleanup build scripts
...
Now the `linuxbsd` platform can be built headlessly (e.g. without X11
development libraries).
I also cleaned up some weird (old?) usages of the `env` variable which
seem to make no difference and are used nowhere else.
2022-07-20 19:48:35 +02:00
f035e7844f
Remove -pipe from LINKFLAGS
...
For some reason this fixes the CI from going OOM.
2022-07-20 19:04:31 +02:00
7c005ba723
Improve DisplayServer.window_set_current_screen
...
Prevent unnecessary fullscreen toggle animation on macOS, when screen is not changed
Fix window position on Linux/X11
2022-07-19 12:26:11 +03:00
d2900429e8
Add static methods for creating Image and ImageTexture
2022-07-08 13:40:47 +02:00
a194043ea8
Check if GL manager exist to prevent crash when using multithreaded renderer with Vulkan.
2022-07-06 09:56:47 +03:00
344b42703b
Merge pull request #62212 from hansemro/eraser-detect-4
...
Add inversion/eraser-end property for tablet pens
2022-07-04 21:48:19 +02:00
6dcc9d1131
[macOS, Windows, X11] Add stylus inverted/eraser support to
...
InputEventMouseMotion event
2022-07-04 10:36:53 -07:00
b221eab426
Variant memory pools
...
Memory pools via PagedAllocator for Transform2D, Transform3D, Basis and AABB.
2022-07-04 12:01:46 +01:00
d38d76d039
Fix exit code of --help and --version, and test them in CI
...
Corrects prior regression which caused ERROR output and exit code of 1.
2022-07-02 01:17:35 +02:00
aadf831a67
Properly check for fullscreen toggle made through the Window Manager
...
Fixes #40007 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2022-06-30 12:14:46 +02:00
42e619c01e
Adding function key support from F17 to F35
...
OSX supports everything by default,
Linux is also capable of supporting every function key,
Windows as I know support only up to F24
2022-06-16 19:38:21 +02:00
e00571b194
Add readable export errors.
2022-06-08 17:55:46 +03:00
40b3be7912
Remove mouse events that closed the popup from queue, to fix pop-up reopening.
2022-06-02 08:35:27 +03:00