Age | Commit message (Collapse) | Author |
|
Add option to use ThinLTO
|
|
This adds ThinLTO support when using Clang and the LLD Linker, it's
turned off by
default.
For now only support for Linux added as ThinLTO support on other
platforms may still be buggy.
|
|
SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGS
|
|
|
|
|
|
-Process and drop input in step functions.
-Hide editor file dialog right after pressing ok
-Use actual editor file dialogs for project export.
|
|
Many contributors (me included) did not fully understand what CCFLAGS,
CXXFLAGS and CPPFLAGS refer to exactly, and were thus not using them
in the way they are intended to be.
As per the SCons manual: https://www.scons.org/doc/HTML/scons-user/apa.html
- CCFLAGS: General options that are passed to the C and C++ compilers.
- CFLAGS: General options that are passed to the C compiler (C only;
not C++).
- CXXFLAGS: General options that are passed to the C++ compiler. By
default, this includes the value of $CCFLAGS, so that setting
$CCFLAGS affects both C and C++ compilation.
- CPPFLAGS: User-specified C preprocessor options. These will be
included in any command that uses the C preprocessor, including not
just compilation of C and C++ source files [...], but also [...]
Fortran [...] and [...] assembly language source file[s].
TL;DR: Compiler options go to CCFLAGS, unless they must be restricted
to either C (CFLAGS) or C++ (CXXFLAGS). Preprocessor defines go to
CPPFLAGS.
|
|
Fixes #28299
|
|
Added new way to create add-ons
Removed old way to create add-ons
|
|
|
|
fixed an access after free in OS_X11::set_context. (long version)
|
|
Add support for linking using LLD on X11
|
|
Added constructor and assignment operator for CharString
from const char* to simplify memory management when working with
utf8/ascii strings for APIs taking char*.
Reworked OS_X11::set_context to use CharString and avoid some manual
memory management.
|
|
Small fixes, mostly duplicated code
|
|
Use SHGetKnownFolderPath instead of SHGetFolderPathW
|
|
Add camera permissions to android
|
|
Ignore '/utf-8' flag on Visual Studio 2013
|
|
When getting system directories for Windows, we currently use
SHGetFolderPathW. This is a deprecated function and doesn't support
"Downloads" folders.
As a replacement, this commit uses the newer SHGetKnownFolderPath
function, which is supported since Windows Vista. Godot 3.0 only
supports Windows 7+, so we don't need to use SHGetFolderPathW for
backwards compatibility.
Fixes #26876
|
|
|
|
Fix get_unique_id() on Android
|
|
|
|
Add Input::get_current_cursor_shape
|
|
[Clean up] Removed unused/unnecessary methods.
|
|
|
|
|
|
On Windows, when "Language for non-Unicode programs" were set to "Japanese (Japan)", MSVC would by default use Shift JIS (code page 932) to interpret source files, which would result in test_string failing to compile because of characters in `test_34()`. Forcing utf-8 for MSVC fixes the issue
|
|
Fix jump over uninitialized value in OS Unix/X11
|
|
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
|
|
|
|
Allow non-resizeable windows to enter full-screen mode.
|
|
|
|
Remove ContextGL
|
|
|
|
|
|
Fix default mix rate in Xaudio2 and potential shadowing issue in JAndroid.
|
|
Restructuring android glue code to make it easier to extend
|
|
Also rename `use_gcc` to `using_gcc` to make it clear that it returns
a config but does not alter it.
|
|
|
|
|
|
And remove 2 warnings from warnings=extra.
|
|
Fix hiDPI scaling support in `get_real_window_size` and `set_window.size`
|
|
|
|
This reverts commit fb37284c027b494ed3ec21124001fcb729f42cc4.
This reverts commit 4db0f51b9aa76cfc7649787fe1970af606ce8dab.
|
|
|
|
LLD is often faster than GNU ld and gold, resulting in a better
development experience.
This closes #15364.
|
|
|
|
settings prior to creating our gl es context, so we can properly determine which driver to use.
|
|
fix for access after free in OS_X11::set_context.
|
|
|
|
Fixed & improved Visual Studio custom debugger visualization
|