Age | Commit message (Collapse) | Author |
|
|
|
Sanitize Android debug
|
|
Improve Mac/UNIX conformance/reliability
|
|
Added new WASAPI driver for Windows
|
|
- The Windows, UWP, Android (on Windows) and Linux builds are
tested with Scons 3.0 alpha using Python 3.
- OSX and iOS should hopefully work but are not tested since
I don't have a Mac.
- Builds using SCons 2.5 and Python 2 should not be impacted.
|
|
|
|
|
|
|
|
Some badly formatted code has managed to pass through our CI...
|
|
Added/Fixed null pointer checks
|
|
Free memory when Main::setup returns an error
|
|
Fixed several memory leaks
|
|
|
|
|
|
|
|
|
|
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.
This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.
It is explained in this article: https://www.viva64.com/en/b/0226/
|
|
For every UNIX-derived (Android, Linux, macOS, iOS) flavor, a global counter is atomically incremented on thread start. That id is kept as thread-local storage.
Therefore, thread ids are sequential numbers, trivially comparable. This improves the previous state of things, in which `pthread_t` were casted to `Thread::ID` and unportabily compared. Also big, ugly thread ids appeared.
|
|
|
|
fix UnsatisfiedLinkError when quitting on android
|
|
|
|
|
|
A change in `Main`'s API is needed. Please read the comment in the diff for an explanation.
|
|
'Remote debug over ADB' is removed as that will be always the case.
|
|
p_screen param from get_screen_* funcs now default to the current screen
|
|
Removed unnecessary assignments
|
|
Added notification const NOTIFICATION_WM_ABOUT
|
|
|
|
|
|
Third take at making command-line arguments more UNIX-like + main.cpp and help cleanup
|
|
|
|
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping
- Cleanup obsolete code here and there
|
|
main.cpp and help cleanup"
|
|
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Cleanup obsolete code here and there
|
|
Setting the class hint before mapping the window will allow some
window managers to determine if a window should be treated specially.
This is also in accordance with the ICCCM spec which says that
WM_CLASS should only be changed when a window is in a
withdrawn (unmapped) state.
Fixes #10429
|
|
The version we support is MinGW-w64: https://sourceforge.net/p/mingw-w64
The old original MinGW from which it was forked (https://sourceforge.net/projects/mingw),
is no longer maintained and useless for us.
Fixes #10396.
|
|
Upstream bug report: https://sourceforge.net/p/mingw-w64/bugs/460/
|
|
We need the efficient SRWLock methods which are not supported on Vista,
and loading them dynamically while providing fallbacks is not worth the
effort. Closes #10243.
Sorry Vista users... As you are running a supported which is no longer
supported by Microsoft (https://support.microsoft.com/en-us/help/13853/windows-lifecycle-fact-sheet),
we can only encourage you to upgrade to a more recent version if you can,
or switch to Linux, which should give your old hardware a new youth.
|
|
|
|
|
|
|
|
Fixes #10244.
|
|
Use const reference where favorable
|
|
|
|
|
|
Add IME support (macOS)
|
|
|
|
|
|
|
|
Makes all Godot API's Methods lower_case
|