Age | Commit message (Collapse) | Author |
|
|
|
This allows other programs to find out the PID of a Godot instance just
by the X11 window ID.
|
|
|
|
|
|
Spinning forever is clearly worse, especially since this happens on at
least FVWM even though the window actually is maximized.
|
|
"modules/gdnative", "modules/gdscript" directories.
|
|
|
|
Since invalid values will cause the setting to be discarded,
it makes more sense to display an error message instead of a
warning message.
|
|
|
|
|
|
Optimization for Input::set_custom_mouse_cursor when used inside
_process function. (Avoids cursor blinking in low end devices)
|
|
|
|
Enhance game export
|
|
|
|
The basic point is as in 2.1 (appending the PCK into the executable), but this implementation also patches a dedicated section in the ELF/PE executable so that it matches the appended data perfectly.
The usage of integer types is simplified in existing code; namely, using plain `int` for small quantities.
|
|
It's the recommended way to set those, and is more portable
(automatically prepends -D for GCC/Clang and /D for MSVC).
We still use CPPFLAGS for some pre-processor flags which are not
defines.
|
|
|
|
Replace ` + "/" + ` with `String::file_add()`
|
|
Remove redundant code, possible NULL pointers and others
|
|
|
|
|
|
The rationale for keeping those shared by default is that they're typical
dependencies found on any Linux system, and it saves compilation time and
binary size to link their dynamically.
But since official builds default to all-builtin, and Debian/Ubuntu still
don't have libpng16 (which we now require) readily available on all their
supported releases, it's simpler to bundle all the things.
This does not change the fact that those dependencies *can* be unbundled
on Linux, it's only the default option changing.
|
|
PNG driver reworked to use libpng 1.6 simplified API
|
|
Wrapped libpng usage in a pair of functions under PNGDriverCommon,
which convert between Godot Image and png data.
Switched to libpng 1.6 simplified API for ease of maintenance.
Implemented ImageLoaderPNG and ResourceSaverPNG in terms of
PNGDriverCommon functions.
Travis, switched to builtin libpng (thus builtin freetype and zlib also)
so we can build on Xenial.
|
|
Fixes #29849, for real this time.
|
|
Some compilers trigger a warning for it if we do not bother
checking the return value.
Fixes #29849.
|
|
Add ability to limit maximum/minimum window size.
|
|
This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server.
Other parts of Godot can interact with this to obtain images from the camera as textures.
This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
|
|
|
|
Removes redundant "splash" setting, improves per pixel transparency documentation.
|
|
Small fixes to unrechable code, possibly overflows, using NULL pointers
|
|
This updates our local copy to commit 5ec8339b6fc491e3f09a34a4516e82787f053fcc.
We need a recent master commit for some new features that we use in Godot
(see #25543 and #28909).
To avoid warnings generated by Bullet headers included in our own module,
we include those headers with -isystem on GCC and Clang.
Fixes #29503.
|
|
restoration after exiting fullscreen.
|
|
improves per pixel transparency documentation.
|
|
|
|
Supersedes #27736.
|
|
Fix application window not listed in taskbar (X11)
|
|
In x11, windows and osx crash handlers, check project settings exists
before looking up the crash handler message setting.
Avoids crashing the crash handler when handling a crash outside project
settings lifetime. Instead omitting the configurable message and
continuing with trace dump.
|
|
Fully initialised color var.
Clarified intent a little with comments/layout.
|
|
|
|
|
|
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
|
|
Small fixes to static analyzer bugs
|
|
Include paths are processed from left to right, so we use Prepend to
ensure that paths to bundled thirdparty files will have precedence over
system paths (e.g. `/usr/include` should have lowest priority).
|
|
* for executable
* for editor and exported executable (on older Cinnamon versions)
|
|
Fix get_window_position / set_window_position on Linux
|
|
[Input] Release keys/actions pressed if window loses focus
|
|
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com>
|
|
This is the same as #23542 (Fix binaries incorrectly detected as shared
libraries on some linux distros) but for Clang. It should be fine with
Clang 4 or higher.
|
|
Add option to use ThinLTO
|