aboutsummaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* Added the set/get_setting function in Editor/Project settings. Renamed has() ↵Juan Linietsky2017-10-052-2/+2
| | | | to has_setting. Fixes #11844
* Merge pull request #11823 from endragor/virtual-keyboard-heightGilles Roudiere2017-10-0410-3/+101
|\ | | | | Allow to obtain virtual keyboard height
| * Allow to obtain virtual keyboard heightRuslan Mustakov2017-10-0410-3/+101
| | | | | | | | | | | | | | | | On mobile platforms virtual keyboards take up significant amount of screen space and UI containing a text box may need to be adjusted after the keyboard appears to keep the text box visible to user. This commit adds a way to obtain virtual keyabord height so that controls are aware of how much they need to move.
* | fixed the OS.has_feature() API, and added support for 32 and 64.Juan Linietsky2017-10-031-0/+10
| |
* | Merge pull request #11782 from eska014/persistent-userfs-testHein-Pieter van Braam2017-10-033-14/+28
|\ \ | |/ |/| Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
| * Add OS::is_userfs_persistent to check user:// persistenceLeon Krause2017-10-023-14/+28
| | | | | | | | Allows starting HTML5 export when IndexedDB is not available.
* | Merge pull request #11568 from endragor/loggersAndreas Haas2017-10-0219-243/+330
|\ \ | | | | | | Extract logging logic
| * | Extract logging logicRuslan Mustakov2017-09-2519-243/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously logging logic was scattered over OS class implementations with plenty of duplication. Major changes in this commit: - Extracted logging logic into a separate Logger hierarchy. It allows easy configuration of logging mechanism depending on compile-time or run-time configuration. - Implemented RotatedFileLogger which is usually used with StdLogger, providing persistency of logs. It is often important to be able to obtain logs of the game even in production to be able to understand what happened prior to some problem. On mobile there previously was no way to obtain the logs aside from having the device connected to your machine. - flush() is not performed in release mode for every logged line. It is only performed for errors.
* | | Merge pull request #11575 from marcelofg55/move_path_to_trashPoommetee Ketson2017-10-026-0/+118
|\ \ \ | | | | | | | | FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
| * | | FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trashMarcelo Fernandez2017-09-256-0/+118
| |/ /
* | | Merge pull request #11716 from marcelofg55/coreaudio_driverPoommetee Ketson2017-10-0213-658/+12
|\ \ \ | |_|/ |/| | Merged iphone and osx audio drivers into drivers/coreaudio
| * | Merged iphone and osx audio drivers into drivers/coreaudioMarcelo Fernandez2017-09-3013-658/+12
| | |
* | | Use primary WebAssembly.instantiate overloadLeon Krause2017-10-021-3/+3
|/ / | | | | | | | | | | Previously WebAssembly.compile was used along with the secondary WebAssembly.instantiate overload. Using only the primary overload is recommended to get best performance.
* | Reduce gcc lto build time by telling the linker toFelix M. Cobos2017-09-262-2/+8
| | | | | | | | use the number of jobs indicated by -j
* | Merge pull request #11567 from QuLogic/scons-var-typesRémi Verschelde2017-09-2511-107/+112
|\ \ | | | | | | Add types to scons command-line options
| * | Use BoolVariable in platform-specific options.Elliott Sales de Andrade2017-09-257-46/+46
| | |
| * | Use BoolVariable for module options.Elliott Sales de Andrade2017-09-253-4/+4
| | |
| * | Use BoolVariable for third-party options.Elliott Sales de Andrade2017-09-253-49/+49
| | |
| * | Use BoolVariable in target/component/advanced options.Elliott Sales de Andrade2017-09-257-8/+8
| | |
| * | Use EnumVariable for choice-based build options.Elliott Sales de Andrade2017-09-255-5/+10
| |/
* / Enhance iOS exportRuslan Mustakov2017-09-261-22/+339
|/ | | | | | | | | | - The export process now builds complete .ipa on macOS, instead of just creating XCode project. - The project includes Capabilities games usually require: Game Center, Push Notifications, In-App Purchase. - Icons and launch screens can be specified in export preset.
* Merge pull request #11519 from hpvb/fix-gcc-ltoRémi Verschelde2017-09-242-2/+10
|\ | | | | | | | | Fix gcc lto [ci skip]
| * Fix gcc ltoHein-Pieter van Braam2017-09-232-2/+10
| | | | | | | | | | This repairs LTO on X11 and adds it to MingW targets. The difference in linktime is substantial, but runtime performance is quite a bit better.
* | Removed get_resource_dir from osx platformBastiaanOlij2017-09-242-24/+0
| |
* | Merge pull request #11527 from QuLogic/system-zstdRémi Verschelde2017-09-242-0/+6
|\ \ | | | | | | Enable building against system zstd.
| * | Enable building against system zstd.Elliott Sales de Andrade2017-09-232-0/+6
| |/
* / Add support for OpenSSL 1.1.0.Elliott Sales de Andrade2017-09-242-18/+0
|/ | | | | | | | This release hides many struct members which provides easier forward compatibility but is a break from previous releases. A few small macros provide compatibility between both 1.1.0 and 1.0.x. Fixes #8624.
* Comment out code that is causing project loading to fail on osxBastiaanOlij2017-09-221-0/+12
|
* UWP: Fix build issue about Object ambiguityGeorge Marques2017-09-211-16/+16
|
* Merge pull request #11458 from volzhs/fix-trustmanager-masterRémi Verschelde2017-09-211-16/+4
|\ | | | | | | | | Fix TrustManager for Android [ci skip]
| * Fix TrustManager for Androidvolzhs2017-09-211-16/+4
| |
* | Merge pull request #11243 from hpvb/add-debug-info-on-releaseRémi Verschelde2017-09-217-19/+65
|\ \ | | | | | | Create separate debug info files by default
| * | Create separate debug info files by defaultHein-Pieter van Braam2017-09-167-19/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we have a built-in stacktrace on a segfault it would be useful to have debug information on debug_release builds so that bugreports can include this information. Without this debug info we will still get function names in the backtrace but not file location. This commit will by default build all targets with minimal debug info and then strip the information into separate files. On MacOS this is a .dSYM file, on Linux/MingW this is a .debug file. MacOSX will automatically load a dSYM file if it exists in its debugger. On Linux/MingW we create a 'gnu debuglink' meaning that gdb and friends will automatically find the debug symbols if they exist. Existing workflow for developers does not change at all, except that we now create two instead of one build artifact by default. This commit also adds a 'debug_symbols' option to X11, MacOS, and MingW targets. The default is 'yes' which corresponds to -g1. The alternatives are 'no' (don't generate debug infos at all) or 'full' which runs with -g2. A target=debug build will now build with -g3.
* | | Merge pull request #11141 from fcobos/x11_borderless_switch_fixRémi Verschelde2017-09-211-0/+10
|\ \ \ | |_|/ |/| | X11 - Adding borders back to a borderless window was not working.
| * | Adding borders back to a borderless window was not working.Felix M. Cobos2017-09-121-0/+10
| | |
* | | Rename pos to position in user facing methods and variablesletheed2017-09-2012-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* | | Merge pull request #11432 from endragor/min-sdk-version-18Rémi Verschelde2017-09-202-9/+9
|\ \ \ | | | | | | | | | | | | | | | | Set Android minSdkVersion to 18 [ci skip]
| * | | Set Android minSdkVersion to 18Ruslan Mustakov2017-09-202-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | It's the minimum version where GLES 3 API is available. It is already the version Godot binary is compiled with for Android, but the config files were not updated in time.
* | | | Return player ID after connecting to Game CenterRuslan Mustakov2017-09-201-0/+1
|/ / /
* | | Fix mouse button state in HTML5 platformLeon Krause2017-09-191-8/+8
| | | | | | | | | | | | Regression from 844c5e12e664e3212feacc9ee3200e116556fbc7
* | | Fix crash handler not including stdlib.hMarcelo Fernandez2017-09-192-0/+2
| | |
* | | Prevent running the crash_handler when a debugger is present on windowsMarcelo Fernandez2017-09-184-21/+25
| | |
* | | Merge pull request #11252 from marcelofg55/fix_noaudio_crashRémi Verschelde2017-09-1710-82/+8
|\ \ \ | | | | | | | | Fix crash when no audio driver is available
| * | | Fix crash when no audio driver is availableMarcelo Fernandez2017-09-1310-82/+8
| | | |
* | | | Fix x11 exported executables not getting the +x flagMarcelo Fernandez2017-09-171-0/+1
| |_|/ |/| |
* | | Merge pull request #11230 from maxim-sheronov/fix_enum_bindingsThomas Herzog2017-09-1529-94/+98
|\ \ \ | | | | | | | | Fix enums bindings
| * | | Fix enums bindingsMaxim Sheronov2017-09-1329-94/+98
| | | | | | | | | | | | | | | | | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* | | | X11: Fix gamepads not being added whith udev.Andreas Haas2017-09-141-1/+0
| | | | | | | | | | | | | | | | | | | | Seems like this property isn't present on some gamepads... Fixes #10958
* | | | Buildsystem: Windows cross-compilation on Linux defaults to 64-bitRémi Verschelde2017-09-131-3/+6
| |/ / |/| |
* | | Added a crash handler to dump the backtrace on Windows, Linux and OS XMarcelo Fernandez2017-09-1319-23/+766
| | |