Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
Add SHA256 for PoolByteArray
|
|
Add FRUSTUM camera mode, allowing tilted frustums
|
|
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.
|
|
Support UTF-8 input action names
|
|
Use StringBuilder in C# bindings generator
|
|
Typo fix: "the function exists" -> "the function exits"
|
|
Don't crash on printing nested types
|
|
Sender network id is now set to local network id for local rpc calls.
|
|
Object::script may not be a valid Ref<Script>
|
|
It appears that Object::script may be a valid ScriptInstance but not be
castable to Ref<Script>. There were only 5 places in the code that made
this assumption. This commit fixes that.
|
|
When adding an Array or Dictionary to itself operator String() got in an
infinite loop. This commit adds a stack to operator String() (Through
the use of a new 'stringify method'). This stack keeps track of all
unique Arrays and Dictionaries it has seen. When a duplicate is found
only a static string is printed '[...]' or '{...}'.
This mirror Python's behavior in a similar case.
|
|
This adds support for groups in the import system, which point to a single file.
Add property hint for saving files in file field
|
|
- Also fixed generation of empty summary comments when no comment should have been generated.
|
|
`ZSTD_DCtx_setMaxWindowSize` is still part of the experimental API
(thus unexposed in the shared library). Upstream examples seem to
use `ZSTD_d_windowLogSize` instead, so it's probably what we should
use too.
Fixes #17374.
Distro packagers can now unbundle Zstd.
|
|
|
|
Enable object decoding when serializing binary project settings
|
|
[Clean up] Removed unused/unnecessary methods.
|
|
|
|
-Node folding is now saved externally together with the properties
-External resources remember their ID when scenes are saved.
|
|
Made AudioFrame and Vector2 equivalent for casting.
Added ability to obtain the playback object from stream players.
Added ability to obtain effect instance from audio server.
|
|
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).
|
|
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
|
|
Replace a few #if/#elif with #ifdef and "#elif defined"
|
|
Added functions to AStar for disable/enable points to effectivly create obstacles
|
|
Added method to retrieve a direction vector from one point to another
|
|
Allow default audio bus layout modification
|
|
Reorder reverse caps characters table for string lower case conversion
|
|
Added smoothstep built-in function
|
|
|
|
core_bind: Use the appropriate enum instead of int
|
|
|
|
|
|
Added gaussian distribution function to RNG
|
|
Fixed Transform FLIP_Y and FLIP_Z set as identity transform
|
|
Fix new GCC 9 warnings: -Wdeprecated-copy.
|
|
|
|
|
|
Fixes Geometry.segment_intersects_circle working only one way.
|
|
|
|
This reverts commit 95ad747deaa474b30c04b01f60634f2be9a5ea18.
It introduced regressions, see #27655.
|
|
|
|
Fix -Wimplicit-fallthrough warnings from GCC 8
|
|
|
|
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135.
|
|
The binary search algorithm used to lookup character codes in the table
relies that the data must be ordered. This fixes `to_lower()` string
method to convert upper case to lower case properly, so that the
algorithm doesn't terminate prematurely.
Co-authored-by: AndreevAndrei (avandrei) <avandrei@MacBookAAV.local>
|
|
|
|
#27614
|
|
_can_call_mode used to call is_network_master/get_network_master
internally.
This would reset any potential last error set via ERR_EXPLAIN,
preventing it from being displayed correctly.
_can_call_mode now expects the node master ID to be passed instead.
|