Age | Commit message (Collapse) | Author |
|
Add native window/taskbar icon support for Windows and macOS.
|
|
text=auto works well in Git 2.10+ but it's broken in previous versions,
which are still used in production on e.g. Ubuntu 16.04 LTS.
Also fix a couple missed text files with CRLF terminators.
.bat files likely require it to be processed properly on Windows,
but core.autocrlf should take care of converting them on the fly
when checking out on Windows.
|
|
Co-authored-by: Markus Törnqvist <mjt@nysv.org>
|
|
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.
|
|
SCons: Keep exceptions and rtti on Android, iOS and HTML5 tools build
|
|
|
|
Those were disable to keep size small, and on Android avoid the dependency on the STL,
but for tools build (editor) this is not really a concern.
Note: as of today it's not possible to build tools=yes for those platforms, but this
change is one of the necessary steps to enable it.
Fixes #25262.
|
|
Using codespell 1.15.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
|
|
|
|
|
|
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
|
|
|