aboutsummaryrefslogtreecommitdiff
path: root/core/os (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12039 from Hinsbart/expose_joy_connectionRémi Verschelde2017-10-111-0/+1
|\ | | | | | | | | Input: expose joy_connection_changed() [ci skip]
| * Input: expose joy_connection_changed()Andreas Haas2017-10-111-0/+1
| |
* | Merge pull request #11810 from marcelofg55/osx_export_improvRémi Verschelde2017-10-091-1/+1
|\ \ | |/ |/| OS X export code improvements
| * OS::execute can now read from stderr too when executing with a pipeMarcelo Fernandez2017-10-031-1/+1
| |
* | Make sure to obey hidpi to off by default, as present in project settings. ↵Juan Linietsky2017-10-051-1/+1
| | | | | | | | | | | | Set it to on by default for editor. Many integrated GPUs can't really get enough performance to play games at hidpi, so this should be enabled manually.
* | Merge pull request #11823 from endragor/virtual-keyboard-heightGilles Roudiere2017-10-042-0/+7
|\ \ | | | | | | Allow to obtain virtual keyboard height
| * | Allow to obtain virtual keyboard heightRuslan Mustakov2017-10-042-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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-032-2/+9
| |/ |/|
* | Merge pull request #11782 from eska014/persistent-userfs-testHein-Pieter van Braam2017-10-031-0/+2
|\ \ | |/ |/| Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
| * Add OS::is_userfs_persistent to check user:// persistenceLeon Krause2017-10-021-0/+2
| | | | | | | | Allows starting HTML5 export when IndexedDB is not available.
* | Merge pull request #11568 from endragor/loggersAndreas Haas2017-10-024-28/+30
|\ \ | | | | | | Extract logging logic
| * | Extract logging logicRuslan Mustakov2017-09-254-28/+30
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* / FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trashMarcelo Fernandez2017-09-251-0/+2
|/
* Rename pos to position in user facing methods and variablesletheed2017-09-206-6/+6
| | | | | | | | | | | 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.
* Fix MSVC compilation errorsKonstantin Zaitsev2017-09-191-1/+1
|
* Fix x11 exported executables not getting the +x flagMarcelo Fernandez2017-09-173-2/+9
|
* Merge pull request #11230 from maxim-sheronov/fix_enum_bindingsThomas Herzog2017-09-153-46/+11
|\ | | | | Fix enums bindings
| * Fix enums bindingsMaxim Sheronov2017-09-133-46/+11
| | | | | | | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* | Added a crash handler to dump the backtrace on Windows, Linux and OS XMarcelo Fernandez2017-09-131-0/+3
| |
* | Style: Apply clang-format to @reduz's changesRémi Verschelde2017-09-131-1/+1
| | | | | | | | [ci skip]
* | Changed the doc class generation to individual files per class. It is also ↵Juan Linietsky2017-09-121-0/+1
|/ | | | | | possible to save module files in module directories and the build system will recognize them.
* Fix use of unitialized variablesHein-Pieter van Braam2017-09-021-1/+2
| | | | The second in my quest to make Godot 3.x compile with -Werror on GCC7
* Dead code tells no talesRémi Verschelde2017-08-271-22/+1
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2732-32/+32
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-1/+1
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* Show proper string with InputEvent.as_text()volzhs2017-08-252-0/+84
|
* Merge pull request #10487 from marcelofg55/curscr_as_defaultRémi Verschelde2017-08-221-3/+3
|\ | | | | p_screen param from get_screen_* funcs now default to the current screen
| * p_screen param from get_screen_* funcs now default to the current screenMarcelo Fernandez2017-08-211-3/+3
| |
* | Merge pull request #10254 from marcelofg55/masterRémi Verschelde2017-08-222-1/+7
|\ \ | | | | | | Added notification const NOTIFICATION_WM_ABOUT
| * | Added notification const NOTIFICATION_WM_ABOUTMarcelo Fernandez2017-08-172-1/+7
| | |
* | | ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-4/+4
| |/ |/|
* | Synchronize parameter names in definition and declarationTwistedTwigleg2017-08-163-4/+4
| | | | | | | | Fixes #10244.
* | InputEventJoypadMotion: Add missing is_pressed() method.Andreas Haas2017-08-122-0/+6
|/
* Merge pull request #10142 from bruvzg/3.0-osx-imeRémi Verschelde2017-08-111-0/+3
|\ | | | | Add IME support (macOS)
| * Implement NSTextInputClient protocol for IMEbruvzg2017-08-091-0/+3
| |
* | Removes type information from method bindsIgnacio Etcheverry2017-08-103-6/+6
|/
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-075-14/+14
|
* Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTERBojidar Marinov2017-08-062-4/+4
| | | | Closes #7695
* Use atomics for memory use trackingPedro J. Estébanez2017-08-012-25/+27
| | | | | | | | Plus: - An allocation is counted only after checking its success. - Max usage is updated after growing reallocs as well. - Drop unused header. - Changed the 0xFFF.. at get_mem_available() to -1 with a comment telling it's the same, but more universal.
* Style: Apply clang-format on all filesRémi Verschelde2017-07-303-3/+3
| | | | Thus fixing some invalid changes that had still made it to the master branch.
* added an optional parameter to OS symbol lookupKarroffel2017-07-271-3/+3
| | | | | | | | When looking up a symbol from a library, previously an error was shown when the symbol did not exist. That caused confusion when the lookup was completely optional. This adds a new parameter to that method so that those errors can be handled manually if needed.
* Merge pull request #9872 from bruvzg/3.0-num-enter-fixRémi Verschelde2017-07-272-3/+0
|\ | | | | Remove duplicate keycode constant for Numpad Enter key (3.0)
| * Remove duplicate keycode constant for Numpad Enter key.bruvzg2017-07-262-3/+0
| |
* | Merge pull request #9720 from endragor/stack-bottomThomas Herzog2017-07-262-0/+16
|\ \ | |/ |/| Add a way to retrieve stack bottom of the main thread
| * Add a way to retrieve stack bottom of the main threadRuslan Mustakov2017-07-252-0/+16
| | | | | | | | | | | | | | | | | | I'm working on Nim bindings and Nim GC needs to know the stack boundaries to check whether certain pointers are located on the stack or in the heap. This commit adds godot_get_stack_bottom procedure to gdnative module which returns pointer to the stack bottom of the main thread. Later on this may be improved to return stack bottom of the current thread.
* | Fix cvs files freezing the editor when a double quote is not closedMarcelo Fernandez2017-07-251-0/+2
|/
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-196-14/+33
| | | | -Added system for feature overrides, it's pretty cool :)
* Add object type hint for docsPoommetee Ketson2017-07-192-2/+2
|
* -Reorganized all properties of project settings (Sorry, Again).Juan Linietsky2017-07-171-1/+1
| | | | | (Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
* IME window follow the input cursor.geequlim2017-07-111-0/+2
| | | | | Abstruct set_ime_position to OS class. Update ime position for LineEdit and TextEdit.