summaryrefslogtreecommitdiff
path: root/core/os
AgeCommit message (Collapse)Author
2018-05-07Local debugger fixes and extensionsBlazej Floch
- 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
2018-05-02Merge pull request #17196 from RandomShaper/improve-gui-touchRémi Verschelde
Implement universal translation of touch to mouse (3.1)
2018-04-30Implement universal translation of touch to mousePedro J. Estébanez
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`
2018-04-25Fixing input strength and the impossibility to erase action eventsgroud
2018-04-18Fixes left/up axis not mappable as actionsGilles Roudiere
2018-04-18Merge pull request #16902 from groud/analog_action_systemJuan Linietsky
Allow actions to provide an analog value
2018-04-16Allow actions to provide an analog valueGilles Roudiere
2018-04-11iPhone X support and iOS-related fixesRuslan Mustakov
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.
2018-04-10Implement Input.set_default_cursor_shape to change the default shapeGuilherme Felipe
Closes #18043
2018-04-06Fixed signal input variable nameAndrea Catania
2018-03-28[macOS] Fix keyboard shortcuts on non QWERTY keyboard layouts.bruvzg
2018-03-20Add RWLockDummy for NO_THREADS buildsLeon Krause
2018-03-15Merge pull request #17376 from marcelofg55/file_get_pathHein-Pieter van Braam
Added File.get_path and File.get_path_absolute functions
2018-03-13Added File.get_path and File.get_path_absolute functionsMarcelo Fernandez
2018-03-13Merge pull request #17311 from marcelofg55/export_err_checksRémi Verschelde
Improved error checking at EditorExportPlatformPC::export_project
2018-03-07Reinstate WebGL 1.0 driver in HTML5 platformLeon Krause
2018-03-06Improved error checking at EditorExportPlatformPC::export_projectMarcelo Fernandez
2018-03-04Clean and expose get_audio/video_driver_* funcs on OS classMarcelo Fernandez
2018-02-24(Magnify|Pan)Gesture: implement as_textPoommetee Ketson
2018-02-14Merge pull request #15564 from RandomShaper/adpod-topmostRémi Verschelde
Add new window setting: always on top
2018-02-12Added OS::center_window to center the window precisely on desktop platformsMarcelo Fernandez
2018-01-31Mono: Allow loading `mscorlib` from resources.bruvzg
2018-01-24- Improves portability in joystick buttons enumAriel Manzur
- Fixes linking bug in modules split library
2018-01-05Add new window setting: always on topPedro J. Estébanez
Implemented for Windows and Linux.
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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.
2018-01-04Change OS::initialize signature to return Error (fix segfault on x11)Emmanuel Leblond
2018-01-03found via cppcheck:firefly2442
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
2018-01-03Merge pull request #12814 from guilhermefelipecgs/add_hardware_custom_cursorRémi Verschelde
Custom hardware-accelerated mouse cursor
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-27Reimport now checks source path changes and imported files and their md5, ↵Juan Linietsky
fixes #14728
2017-12-26Removed the InputEvent ID field, which was unused and can cause bugs.Juan Linietsky
2017-12-24-Removed OpenMP support, replaced by a custom class.Juan Linietsky
-Disabled Opus, implementation is wrong.
2017-12-17Add implementation for custom hardware cursorGuilherme Silva
2017-12-17Merge pull request #14635 from poke1024/getlineRémi Verschelde
Faster FileAccess::get_line()
2017-12-16Add epic hack so vsync can be toggled in run-time from script. Fixes #14458.Juan Linietsky
Call needs to be routed via visual server to reach the proper thread.
2017-12-16Faster FileAccess::get_line()poke1024
2017-12-16Remove get_stack_bottomRuslan Mustakov
It's not used in godot-nim any longer and there were no other uses for it.
2017-12-14Fix type mismatch in OS::set_borderless_windowRémi Verschelde
Closes #14663.
2017-12-14-Add lightmapperJuan Linietsky
-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)
2017-12-09Fixes vsync setting ignored when using a separate thread for renderingStefano Bonicatti
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
2017-12-07Style: Apply clang-format again on all filesRémi Verschelde
Fixes issues introduced by newer clang-format versions or commits pushed directly without using the clang-format pre-commit hook.
2017-12-06Fix Windows-to-Linux export errorPedro J. Estébanez
Now chmod() returns ERR_UNAVAILABLE by default, to signal the caller the problem is lack of support instead of a failed operation.
2017-11-30Changed the dynamic library open function to allow setting the path of the ↵Juan Linietsky
library to open extra libraries.
2017-11-26Allow customizing user:// path (folder in OS::get_data_path())Rémi Verschelde
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.
2017-11-25Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky
wrong function, leading to unnecesary copy on writes and reduced performance.
2017-11-24Core: Bind InputEventGesture events.Andreas Haas
2017-11-22Modified low processor sleep to 8000 and made it customizable (should be ↵Juan Linietsky
customizable for editor too)
2017-11-21Merge pull request #13130 from endragor/gdnative-android-exportRémi Verschelde
Proper GDNative export on Android
2017-11-21Merge pull request #11933 from cxong/masterJuan Linietsky
Use "Command" instead of "Meta" for macOS (#1619)
2017-11-21Proper GDNative export on AndroidRuslan Mustakov