aboutsummaryrefslogtreecommitdiff
path: root/core/os (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixes left/up axis not mappable as actionsGilles Roudiere2018-04-181-2/+2
|
* Merge pull request #16902 from groud/analog_action_systemJuan Linietsky2018-04-184-28/+81
|\ | | | | Allow actions to provide an analog value
| * Allow actions to provide an analog valueGilles Roudiere2018-04-164-28/+81
| |
* | iPhone X support and iOS-related fixesRuslan Mustakov2018-04-111-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting from April 2018 Apple no longer accepts apps that do not support iPhone X. For games this mainly means respecting the safe area, unobstructed by notch and virtual home button. UI controls must be placed within the safe area so that users can interact with them. This commit: - Adds OS::get_window_safe_area method that returns unobscured area of the window, where interactive controls should be rendered. - Reorganizes how launch screens are exported - the previous way was incorrect and modern iPhones did not pick up the correct screens and because of that used a non-native resolution to render the game. - Adds launch screen options for iPhone X. - Makes launch screens optional in the export template. If not specified, a white screen will be used. - Adds App Store icon (1024x1024) export option as it now has to be bundled with the app instead of being provided in iTunes Connect. - Fixes crash when launching games in iOS Simulator. It happened because controllerWasConnected callback came before the engine was initialized. Now in such case the controllers will be queued up and registered after initialization is done. - Fixes issue with the virtual keyboard where for some reason autocorrection panel would intersect with the keyboard itself and not allow you to use the top row of the keyboard. This is fixed by disabling autocorrection altogether. Closes #17358. Fixes #17428. Fixes #17331.
* | Implement Input.set_default_cursor_shape to change the default shapeGuilherme Felipe2018-04-102-0/+3
|/ | | | Closes #18043
* Fixed signal input variable nameAndrea Catania2018-04-061-1/+1
|
* [macOS] Fix keyboard shortcuts on non QWERTY keyboard layouts.bruvzg2018-03-282-122/+0
|
* Add RWLockDummy for NO_THREADS buildsLeon Krause2018-03-202-0/+25
|
* Merge pull request #17376 from marcelofg55/file_get_pathHein-Pieter van Braam2018-03-151-0/+3
|\ | | | | Added File.get_path and File.get_path_absolute functions
| * Added File.get_path and File.get_path_absolute functionsMarcelo Fernandez2018-03-131-0/+3
| |
* | Merge pull request #17311 from marcelofg55/export_err_checksRémi Verschelde2018-03-131-3/+4
|\ \ | |/ |/| Improved error checking at EditorExportPlatformPC::export_project
| * Improved error checking at EditorExportPlatformPC::export_projectMarcelo Fernandez2018-03-061-3/+4
| |
* | Reinstate WebGL 1.0 driver in HTML5 platformLeon Krause2018-03-071-1/+2
|/
* Clean and expose get_audio/video_driver_* funcs on OS classMarcelo Fernandez2018-03-042-6/+40
|
* (Magnify|Pan)Gesture: implement as_textPoommetee Ketson2018-02-242-0/+12
|
* Merge pull request #15564 from RandomShaper/adpod-topmostRémi Verschelde2018-02-141-1/+5
|\ | | | | Add new window setting: always on top
| * Add new window setting: always on topPedro J. Estébanez2018-01-051-1/+5
| | | | | | | | Implemented for Windows and Linux.
* | Added OS::center_window to center the window precisely on desktop platformsMarcelo Fernandez2018-02-122-0/+13
| |
* | Mono: Allow loading `mscorlib` from resources.bruvzg2018-01-311-0/+3
| |
* | - Improves portability in joystick buttons enumAriel Manzur2018-01-241-2/+2
|/ | | | - Fixes linking bug in modules split library
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-0533-2/+61
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Change OS::initialize signature to return Error (fix segfault on x11)Emmanuel Leblond2018-01-041-1/+1
|
* found via cppcheck:firefly24422018-01-032-5/+5
| | | | | | | remove code that will never run make definition and declaration names for parameters match change floats that were being set to bool values remove pointer that is never used
* Merge pull request #12814 from guilhermefelipecgs/add_hardware_custom_cursorRémi Verschelde2018-01-033-2/+44
|\ | | | | Custom hardware-accelerated mouse cursor
| * Add implementation for custom hardware cursorGuilherme Silva2017-12-173-2/+44
| |
* | Update copyright statements to 2018Rémi Verschelde2018-01-0131-62/+62
| | | | | | | | Happy new year to the wonderful Godot community!
* | Reimport now checks source path changes and imported files and their md5, ↵Juan Linietsky2017-12-272-0/+32
| | | | | | | | fixes #14728
* | Removed the InputEvent ID field, which was unused and can cause bugs.Juan Linietsky2017-12-262-22/+0
| |
* | -Removed OpenMP support, replaced by a custom class.Juan Linietsky2017-12-242-0/+82
|/ | | | -Disabled Opus, implementation is wrong.
* Merge pull request #14635 from poke1024/getlineRémi Verschelde2017-12-171-1/+54
|\ | | | | Faster FileAccess::get_line()
| * Faster FileAccess::get_line()poke10242017-12-161-1/+54
| |
* | Add epic hack so vsync can be toggled in run-time from script. Fixes #14458.Juan Linietsky2017-12-162-3/+21
| | | | | | | | Call needs to be routed via visual server to reach the proper thread.
* | Remove get_stack_bottomRuslan Mustakov2017-12-162-11/+0
| | | | | | | | | | It's not used in godot-nim any longer and there were no other uses for it.
* | Fix type mismatch in OS::set_borderless_windowRémi Verschelde2017-12-141-1/+1
| | | | | | | | Closes #14663.
* | -Add lightmapperJuan Linietsky2017-12-141-0/+1
|/ | | | | | -Fixes to unwrapper (remove degenerates), makes Thekla not crash -Added optional cancel button in EditorProgress -Added function to force processing of events (needed for cancel button)
* Fixes vsync setting ignored when using a separate thread for renderingStefano Bonicatti2017-12-091-1/+3
| | | | | | | | | Setting the vsync in the main thread, after the rendering thread starts and takes the OpenGL context fails, so we need to do that before. Also, for some reason, the main thread cannot make current the context anymore. Fixes #13447
* Style: Apply clang-format again on all filesRémi Verschelde2017-12-071-1/+1
| | | | | Fixes issues introduced by newer clang-format versions or commits pushed directly without using the clang-format pre-commit hook.
* Fix Windows-to-Linux export errorPedro J. Estébanez2017-12-062-1/+4
| | | | Now chmod() returns ERR_UNAVAILABLE by default, to signal the caller the problem is lack of support instead of a failed operation.
* Changed the dynamic library open function to allow setting the path of the ↵Juan Linietsky2017-11-301-1/+1
| | | | library to open extra libraries.
* Allow customizing user:// path (folder in OS::get_data_path())Rémi Verschelde2017-11-262-8/+16
| | | | | | | | This allows to specify any valid folder name (including with subfolders) to use as user:// on all platforms. The folder is constrained to the platform-specific OS::get_data_path() (typically what `XDG_DATA_HOME` resolves to). Fixes #13236.
* Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky2017-11-251-1/+1
| | | | | | wrong function, leading to unnecesary copy on writes and reduced performance.
* Core: Bind InputEventGesture events.Andreas Haas2017-11-242-0/+33
|
* Modified low processor sleep to 8000 and made it customizable (should be ↵Juan Linietsky2017-11-222-0/+14
| | | | customizable for editor too)
* Merge pull request #13130 from endragor/gdnative-android-exportRémi Verschelde2017-11-211-1/+1
|\ | | | | Proper GDNative export on Android
| * Proper GDNative export on AndroidRuslan Mustakov2017-11-211-1/+1
| |
* | Merge pull request #11933 from cxong/masterJuan Linietsky2017-11-213-12/+40
|\ \ | | | | | | Use "Command" instead of "Meta" for macOS (#1619)
| * | Use "Command" instead of "Meta" for macOS (#1619)Cong2017-10-083-12/+40
| | |
* | | Merge pull request #13133 from endragor/resurrect-file-loggingRémi Verschelde2017-11-212-7/+17
|\ \ \ | | | | | | | | Return and repair file logging
| * | | Return and repair file loggingRuslan Mustakov2017-11-212-7/+17
| | |/ | |/| | | | | | | And make it configurable, too.
* / | Native pan and zoom for macOSBernhard Liebl2017-11-212-8/+122
|/ /