summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2019-07-02Merge pull request #29824 from m4gr3d/add_ovr_exportRémi Verschelde
Add XR mode selection to the Android export process.
2019-07-02Add XR mode selection to the Android export process.fhuya
2019-07-01Merge pull request #29482 from Calinou/html5-fix-emscripten-rootRémi Verschelde
Fix Emscripten root directory detection when building for HTML5
2019-07-01Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde
Replace ` + "/" + ` with `String::file_add()`
2019-06-30Merge pull request #24227 from BastiaanOlij/arkit31Rémi Verschelde
ARKit for Godot 3.2
2019-06-30ARKit for Godot 3.2BastiaanOlij
This PR introduces support for ARKit to the iOS version of Godot. ARKit is Apples Augmented Reality platform. This PR brings in support for ARKit 1.0 and implements a few ARKit 2.0 features. It requires iOS 11 to run but should not prevent Godot from running on older versions as long as ARKit remains unused.
2019-06-29Many fallthrough switch cases now have the FALLTHROUGH macro to tell the ↵hbina085
compiler that this is intended.
2019-06-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-25Allow '-' character in iOS reverse DNS identifiers dissallow underscores.Nicholas Thompson
2019-06-24Merge pull request #29948 from lawnjelly/androidkeyboardRémi Verschelde
Fix some keyboards not working with Android
2019-06-23Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG
2019-06-23SCons: Default to builtin libpng/freetype on LinuxRémi Verschelde
The rationale for keeping those shared by default is that they're typical dependencies found on any Linux system, and it saves compilation time and binary size to link their dynamically. But since official builds default to all-builtin, and Debian/Ubuntu still don't have libpng16 (which we now require) readily available on all their supported releases, it's simpler to bundle all the things. This does not change the fact that those dependencies *can* be unbundled on Linux, it's only the default option changing.
2019-06-21Fix some keyboards not working with Androidlawnjelly
Fixes #17004 Currently the keydown and keyup messages are handled with method like this: if ((source & InputDevice.SOURCE_JOYSTICK) == InputDevice.SOURCE_JOYSTICK || (source & InputDevice.SOURCE_DPAD) == InputDevice.SOURCE_DPAD || (source & InputDevice.SOURCE_GAMEPAD) == InputDevice.SOURCE_GAMEPAD) { // joystick input } else { // keyboard input } The constant for SOURCE_DPAD is 513 10 0000 0001 and the constant for SOURCE_KEYBOARD is 257 1 0000 0001 However, rather confusingly, for many keyboards the source sent by android is 769 11 0000 0001 Thus the keyboard is passing the check as being a DPAD and being processed as a joystick rather than keyboard. This PR handles the specific case of 769, allowing input from physical keyboards.
2019-06-20Add option to toggle console window on WindowsLuka Dornhecker
This is an editor setting and its value can also be toggled using an entry in the Editor toolbar. The console will still appear briefly when starting the project manager or editor, as it's still compiled as console application. Does not impact exported games, which will still run without console in release and with console in debug mode. A project setting or export option could be added to disable it in debug mode if there's demand for it, but that would greatly reduce the usefulness of debug builds if Windows users can no longer report error and crash messages. Fixes #17889. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2019-06-20Merge pull request #29874 from ibrahn/rework-png-loadsaveRémi Verschelde
PNG driver reworked to use libpng 1.6 simplified API
2019-06-20Merge pull request #29910 from m4gr3d/dev_deprecate_armv6Rémi Verschelde
Deprecate support for Android armv6 architecture
2019-06-19Fix Emscripten root directory detection when building for HTML5Hugo Locurcio
Recent Emscripten SDK versions seem to only include the `BINARYEN_ROOT` variable in the Emscripten configuration file, whereas the platform's `detect.py` only looked at `EMSCRIPTEN_ROOT`.
2019-06-19Deprecate armv6 support for Androidfhuya
2019-06-19Made use of semicolons more consitent, fixed formattingJohnJLight
2019-06-19Png driver reworked to use libpng 1.6 simplified APIIbrahn Sahir
Wrapped libpng usage in a pair of functions under PNGDriverCommon, which convert between Godot Image and png data. Switched to libpng 1.6 simplified API for ease of maintenance. Implemented ImageLoaderPNG and ResourceSaverPNG in terms of PNGDriverCommon functions. Travis, switched to builtin libpng (thus builtin freetype and zlib also) so we can build on Xenial.
2019-06-19Linux: Check return values of posix read/writeMartin Capitanio
Fixes #29849, for real this time.
2019-06-18Update macOS global mouse position at startupbruvzg
2019-06-17Merge pull request #29852 from georgwacker/fix-controller-hangRémi Verschelde
Fix endless controller iteration on windows
2019-06-17Fix endless controller iterationGeorg Wacker
Fixes #29846
2019-06-17Linux: Check return value of chdir on cleanupRémi Verschelde
Some compilers trigger a warning for it if we do not bother checking the return value. Fixes #29849.
2019-06-17Add script to fix style issues and copyright headersRémi Verschelde
This is only meant to check the validity of the whole codebase every now and then, or to apply clang-format config changes when relevant.
2019-06-17Merge pull request #29752 from bruvzg/window_size_limitsRémi Verschelde
Add ability to limit maximum/minimum window size.
2019-06-16Merge pull request #29325 from m4gr3d/setup_godot_for_ovr_supportRémi Verschelde
Setup Godot to support the Oculus Mobile SDK.
2019-06-16Merge pull request #10643 from BastiaanOlij/camera_serverRémi Verschelde
CameraServer class
2019-06-15Merge pull request #29786 from dotdigitalgroup/hidpi-javascript-fix-masterRémi Verschelde
Fix pointer position in hidpi-corrected resolutions on web
2019-06-15Fix compilation warnings in JS and Windows buildsRémi Verschelde
Warnings raised by Emscripten 1.38.0 and MinGW64 5.0.4 / GCC 8.3.0. JS can now build with `werror=yes warnings=extra`. MinGW64 still has a few warnings to resolve with `warnings=extra`, and only one with `warnings=all`. Part of #29033 and #29801.
2019-06-15Adding a new Camera Server implementation to Godot.BastiaanOlij
This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server. Other parts of Godot can interact with this to obtain images from the camera as textures. This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
2019-06-15Add ability to limit maximum/minimum window size.bruvzg
2019-06-14Fix pointer position in hidpi-corrected resolutions on webLeonardo Giovanni Scur
2019-06-12Merge pull request #29711 from zaksnet/windows-export-improvemntsRémi Verschelde
Added hint for windows export options
2019-06-12Added hint for windows export optionsZak
2019-06-12Merge pull request #29679 from akien-mga/windows-res-descRémi Verschelde
Remove "Editor" from Windows PE file description
2019-06-12Merge pull request #29481 from bruvzg/macos_fix_dvorak_qwerty_cmd_hotkeysRémi Verschelde
Fixes hotkeys on "Dvorak - QWERTY ⌘" keyboard layout.
2019-06-12Merge pull request #29465 from bruvzg/per_pixel_transp_imprRémi Verschelde
Removes redundant "splash" setting, improves per pixel transparency documentation.
2019-06-12Merge pull request #29306 from qarmin/small_code_fixesRémi Verschelde
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-11Remove "Editor" from Windows PE file descriptionRémi Verschelde
Closes #29569.
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
2019-06-11bullet: Sync with current upstream master branchRémi Verschelde
This updates our local copy to commit 5ec8339b6fc491e3f09a34a4516e82787f053fcc. We need a recent master commit for some new features that we use in Godot (see #25543 and #28909). To avoid warnings generated by Bullet headers included in our own module, we include those headers with -isystem on GCC and Clang. Fixes #29503.
2019-06-11[X11] Add window borderless state detection, fix borderless state ↵bruvzg
restoration after exiting fullscreen.
2019-06-10Merge pull request #29497 from qarmin/fix_memory_leak_in_filesRémi Verschelde
Fix memory leak after closing files
2019-06-05Fix memory leak after closing filesqarmin
2019-06-04[macOS] Fixes hotkeys on "Dvorak - QWERTY ⌘" keyboard layout.bruvzg
2019-06-04[macOS] Fixes unicode input with IME mode inactive, Improves IME mode ↵bruvzg
documentation.
2019-06-04Removes redundant "display/window/per_pixel_transparency/splash" setting, ↵bruvzg
improves per pixel transparency documentation.