summaryrefslogtreecommitdiff
path: root/core/os
AgeCommit message (Collapse)Author
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-09-03Added multi-monitor support for center_window()Jared
2018-09-01Change some instances of args named "ev" to "event"Michael Alexsander Silva Dias
2018-08-27Revert "Try closing gracefully before terminating process"Rémi Verschelde
2018-08-24Merge pull request #20712 from marcelofg55/midi_open_closeJuan Linietsky
Add OS::open_midi_inputs and OS::close_midi_inputs
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-23Switched AnimatedTexture to a readers-writers lock, solves a race condition ↵Juan Linietsky
and fixes #20221
2018-08-20Try closing gracefully before terminating processMarcin Zawiejski
Use a Microsoft recommended way of process termination for the project process run from the editor. This allows loaded DLLs to receive and handle DLL_PROCESS_DETACH notification and cleanup any global state before the process actually exits.
2018-08-11[Core] Completely kill math_2d.h, change includesAaron Franke
2018-08-10Revert "added get_creation_time function for gdscript"Juan Linietsky
2018-08-10Merge pull request #18914 from notwarp/masterJuan Linietsky
added get_creation_time function for gdscript
2018-08-04Add OS::open_midi_inputs and OS::close_midi_inputsMarcelo Fernandez
2018-07-31Fix #20564 HDR import failUnknown
Token has extra "0" at the end so it fail condition checking.
2018-07-28Merge pull request #20464 from Calinou/add-editor-standalone-feature-tagsRémi Verschelde
Add "editor" and "standalone" feature tags
2018-07-28Merge pull request #20511 from maksloboda/InputEventActionFixRémi Verschelde
Fixed shortcuts not working with InputEventActions
2018-07-27Fixed shortcuts not working with InputEventActionsMax
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-25Add "editor" and "standalone" feature tagsHugo Locurcio
These feature tags can be used to check whether the project was started from an editor binary or from an export template binary.
2018-07-21Added a new MIDIDriver classMarcelo Fernandez
2018-07-20Fix build issues and typos after c69de2ba4Rémi Verschelde
2018-07-20Fix unwanted restartingvolzhs
2018-07-19-Project/Editor settings now use new inspectorJuan Linietsky
-Project/Editor settings now show tooltips properly -Settings thar require restart now will show a restart warning -Video driver is now visible all the time, can be changed easily -Added function to request current video driver
2018-07-18Fixed OS.has_feature not using custom feature tags.matthew1006
2018-07-09Added support for extra mouse buttons.unknown
2018-07-02Add a new notification to detect crashes on native scriptsMarcelo Fernandez
2018-06-11IME context detection.Saracen
2018-05-16added get_creation_time function for gdscriptDaniele Giuliani
2018-05-08Merge pull request #14622 from bruvzg/non-rectangular-windowsHein-Pieter van Braam
Experimental support for windows with per-pixel transparency.
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-07Experimental support for windows with per-pixel transparency (macOS, X11 and ↵bruvzg
Windows).
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