Age | Commit message (Collapse) | Author |
|
|
|
added get_creation_time function for gdscript
|
|
|
|
- Refactored all builder (make_*) functions into separate Python modules along to the build tree
- Introduced utility function to wrap all invocations on Windows, but does not change it elsewhere
- Introduced stub to use the builders module as a stand alone script and invoke a selected function
There is a problem with file handles related to writing generated content (*.gen.h and *.gen.cpp)
on Windows, which randomly causes a SHARING VIOLATION error to the compiler resulting in flaky
builds. Running all such content generators in a new subprocess instead of directly inside the
build script works around the issue.
Yes, I tried the multiprocessing module. It did not work due to conflict with SCons on cPickle.
Suggested workaround did not fully work either.
Using the run_in_subprocess wrapper on osx and x11 platforms as well for consistency. In case of
running a cross-compilation on Windows they would still be used, but likely it will not happen
in practice. What counts is that the build itself is running on which platform, not the target
platform.
Some generated files are written directly in an SConstruct or SCsub file, before the parallel build starts. They don't need to be written in a subprocess, apparently, so I left them as is.
|
|
This commit makes operator[] on Vector const and adds a write proxy to it. From
now on writes to Vectors need to happen through the .write proxy. So for
instance:
Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;
Failing to use the .write proxy will cause a compilation error.
In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.
_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
|
|
|
|
Added a new MIDIDriver class
|
|
Fix OpenGL buffer depth for per pixel transparency support (Windows)
|
|
|
|
Fixes #20035.
|
|
-Add extra flag optimize=[size,speed] to be able to prioritize size
|
|
|
|
Fixes #20301.
|
|
|
|
-Project/Editor settings now show tooltips properly
-Settings thar require restart now will show a restart warning
-Video driver is now visible all the time, can be changed easily
-Added function to request current video driver
|
|
|
|
|
|
fixed branch on uninit and data race in editor android device polling
|
|
|
|
Initialised relevant variables before stating thread,
to prevent a branch on uninitialised data.
Fixed race condition in polling that could miss a device change.
|
|
|
|
Respect window/handheld/orientation setting in iOS
|
|
|
|
|
|
Write new permissions to the AndroidManifest.xml
|
|
Instead of editing the placeholder permissions actually write new ones.
This should solve the privacy statement problems for the Play store.
This means we also no longer need to placeholder permissions in the
template.
|
|
(cherry picked from commit 9190ae2be7068c8a84f60766a2f7c1da3e0bcd4b)
|
|
-Replaced some viewport size calls to screen size, since viewport size should be deprecated at this point..
|
|
Fix possible NullPointerException crash on cancel payment
|
|
Add a new notification to detect crashes on native scripts
|
|
Change required gles version to 2 for android
|
|
|
|
Fix touch issues on Windows
|
|
|
|
|
|
|
|
|
|
|
|
Implement OpenGL ES rasterizer selection logic for Android.
|
|
|
|
bugfix: correct #ifdef for TOUCH_ENABLED and OPENGL_ENABLED
|
|
|
|
|
|
Detect channel count and mix rate in HTML5 audio driver
|
|
Refactor WebAudio driver.
|
|
This also removes `unix_global_settings_path` from SConstruct
since it is no longer used.
|
|
new one.
|
|
|
|
|
|
Initialized the PID to -2, which will be the value returns in blocking-
mode where the PID is not available. (-1 was already taken to signify an
execution failure).
OS::execute will now properly return a non-OK error code when it fails
to execute the target file.
The documentation was rewritten to be very clear about the differences
between blocking and non-blocking mode.
Fixes #19056.
|