summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2017-08-29Fix export of 32 Bits Framebuffer optionHenrik Andersson
2017-08-29Merge pull request #10531 from RandomShaper/remove-old-android-settingRémi Verschelde
Sanitize Android debug
2017-08-29Merge pull request #10552 from RandomShaper/improve-posixRémi Verschelde
Improve Mac/UNIX conformance/reliability
2017-08-28Merge pull request #10692 from marcelofg55/wasapi_driverRémi Verschelde
Added new WASAPI driver for Windows
2017-08-27Make build scripts Python3 compatibleMatthias Hoelzl
- 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.
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Added new WASAPI driver for WindowsMarcelo Fernandez
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-27Re-apply clang-format to all filesRémi Verschelde
Some badly formatted code has managed to pass through our CI...
2017-08-27Merge pull request #10591 from Rubonnek/possible-null-ptr-dereferenceRémi Verschelde
Added/Fixed null pointer checks
2017-08-27Merge pull request #10598 from Rubonnek/free-memoryRémi Verschelde
Free memory when Main::setup returns an error
2017-08-27Merge pull request #10625 from Rubonnek/fixed-leaksRémi Verschelde
Fixed several memory leaks
2017-08-26Added/Fixed null pointer checksWilson E. Alvarez
2017-08-26Fix refactored Object::cast_to in NO_SAFE_CAST branchHenrik Andersson
2017-08-25Free memory when Main::setup returns an errorWilson E. Alvarez
2017-08-25Fixed several memory leaksWilson E. Alvarez
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
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/
2017-08-24Implement custom thread numbering for POSIXPedro J. Estébanez
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.
2017-08-23Allow building fat binaries with osxcrossFabio Alessandrelli
2017-08-23Merge pull request #10575 from henkz1/android_quit_errorRémi Verschelde
fix UnsatisfiedLinkError when quitting on android
2017-08-23fix UnsatisfiedLinkError when quittingHenrik Andersson
2017-08-22Removed unnecessary returns and break statementsWilson E. Alvarez
2017-08-22Fix Android remote debug not hitting breakpointsPedro J. Estébanez
A change in `Main`'s API is needed. Please read the comment in the diff for an explanation.
2017-08-22Make Android debug over USB the only optionPedro J. Estébanez
'Remote debug over ADB' is removed as that will be always the case.
2017-08-22Merge pull request #10487 from marcelofg55/curscr_as_defaultRémi Verschelde
p_screen param from get_screen_* funcs now default to the current screen
2017-08-22Merge pull request #10340 from Rubonnek/remove-unnecessary-assignmentsRémi Verschelde
Removed unnecessary assignments
2017-08-22Merge pull request #10254 from marcelofg55/masterRémi Verschelde
Added notification const NOTIFICATION_WM_ABOUT
2017-08-21p_screen param from get_screen_* funcs now default to the current screenMarcelo Fernandez
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez
2017-08-21Merge pull request #10471 from akien-mga/args-doubledashRémi Verschelde
Third take at making command-line arguments more UNIX-like + main.cpp and help cleanup
2017-08-21Fix y axis for set_window_position on OS XMarcelo Fernandez
2017-08-21Fixes for new two-dash long command line argumentsRémi Verschelde
- 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
2017-08-19Revert "Second take at making command-line arguments more UNIX-like + ↵Juan Linietsky
main.cpp and help cleanup"
2017-08-19Fixes for new two-dash long command line argumentsRémi Verschelde
- 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
2017-08-19Set the X11 class hint before mapping the windowRichard Adenling
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
2017-08-18Windows: Drop support for obsolete MinGWRémi Verschelde
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.
2017-08-18Workaround missing WM_TOUCH on mingw-w64 < 4.0Rémi Verschelde
Upstream bug report: https://sourceforge.net/p/mingw-w64/bugs/460/
2017-08-18Windows: Drop support for Vista (0x0600)Rémi Verschelde
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.
2017-08-17Add closest_power_of_2 func and implement mix_rate/latency on OS XMarcelo Fernandez
2017-08-17Removed unused variableWilson E. Alvarez
2017-08-17Added notification const NOTIFICATION_WM_ABOUTMarcelo Fernandez
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-16Merge pull request #10264 from Rubonnek/use-const-referenceRémi Verschelde
Use const reference where favorable
2017-08-14Fix get_screen_* funcs returning old values after resolution changes on WindowsMarcelo Fernandez
2017-08-14Use const reference where favorableWilson E. Alvarez
2017-08-11Merge pull request #10142 from bruvzg/3.0-osx-imeRémi Verschelde
Add IME support (macOS)
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-08-09Implement NSTextInputClient protocol for IMEbruvzg
2017-08-08removed calls to cursor_set_visible on all platforms fixes #10167toger5
2017-08-07Merge pull request #10141 from ISylvox/lower_case_godot_apiRémi Verschelde
Makes all Godot API's Methods lower_case