aboutsummaryrefslogtreecommitdiff
path: root/core/os
Commit message (Collapse)AuthorAgeFilesLines
* IME context detection.Saracen2018-06-111-0/+1
|
* Merge pull request #14622 from bruvzg/non-rectangular-windowsHein-Pieter van Braam2018-05-082-0/+14
|\ | | | | Experimental support for windows with per-pixel transparency.
| * Experimental support for windows with per-pixel transparency (macOS, X11 and ↵bruvzg2018-04-072-0/+14
| | | | | | | | Windows).
* | Local debugger fixes and extensionsBlazej Floch2018-05-071-0/+1
| | | | | | | | | | | | | | | | | | - Adds q/quit option to console debugging - Adds options (variable_prefix) - Breaks into debugger with Ctrl-C in local debug mode (Unix/Windows) - Added option to list all breakpoints - Fixes add/remove breakpoint bug (invalid path parsing) - Minor cleanup
* | Merge pull request #17196 from RandomShaper/improve-gui-touchRémi Verschelde2018-05-022-2/+3
|\ \ | | | | | | Implement universal translation of touch to mouse (3.1)
| * | Implement universal translation of touch to mousePedro J. Estébanez2018-04-302-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*) The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers. Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse. *: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest. On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction. Plus: Improve/fix tracking of current mouse position. ** Summary of changes to settings: ** - `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse` - New setting: `input/pointing_devices/emulate_mouse_from_touch`
* | | Fixing input strength and the impossibility to erase action eventsgroud2018-04-251-3/+5
| | |
* | | 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)