Age | Commit message (Collapse) | Author |
|
|
|
Same as #28919.
|
|
Signature was changed in OS via:
cd4449e7abe97b2bc883e2d182db2cc41eb35f8c
|
|
Added MSAA to GLES2 backend
|
|
|
|
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
|
|
|
|
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).
|
|
Fix get_window_position / set_window_position on Linux
|
|
[Input] Release keys/actions pressed if window loses focus
|
|
Re-maps KEY_BRACELEFT/RIGHT for OSX users
|
|
Valentactive/fix-linux-recognition-ecutable-builds-clang
Fix builds made with Clang on some Linux distros (the equivalent of #23542 but for Clang)
|
|
Convert line endings to CRLF in `OS.set_clipboard()` on Windows
|
|
Windows applications typically expect CRLF line endings in clipboard
content.
This closes #28439.
|
|
|
|
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
|
|
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
|
|
Should fix #28098.
|
|
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.
|
|
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
|
|
|
|
|