summaryrefslogtreecommitdiff
path: root/core/os
AgeCommit message (Collapse)Author
2017-09-02Fix use of unitialized variablesHein-Pieter van Braam
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
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/
2017-08-25Show proper string with InputEvent.as_text()volzhs
2017-08-22Merge pull request #10487 from marcelofg55/curscr_as_defaultRémi Verschelde
p_screen param from get_screen_* funcs now default to the current screen
2017-08-22Merge pull request #10254 from marcelofg55/masterRémi Verschelde
Added notification const NOTIFICATION_WM_ABOUT
2017-08-21p_screen param from get_screen_* funcs now default to the current screenMarcelo Fernandez
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-17Added notification const NOTIFICATION_WM_ABOUTMarcelo Fernandez
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-12InputEventJoypadMotion: Add missing is_pressed() method.Andreas Haas
2017-08-11Merge pull request #10142 from bruvzg/3.0-osx-imeRémi Verschelde
Add IME support (macOS)
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-08-09Implement NSTextInputClient protocol for IMEbruvzg
2017-08-07Makes all Godot API's methods Lower CaseIndah Sylvia
2017-08-06Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTERBojidar Marinov
Closes #7695
2017-08-01Use atomics for memory use trackingPedro J. Estébanez
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.
2017-07-30Style: Apply clang-format on all filesRémi Verschelde
Thus fixing some invalid changes that had still made it to the master branch.
2017-07-27added an optional parameter to OS symbol lookupKarroffel
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.
2017-07-27Merge pull request #9872 from bruvzg/3.0-num-enter-fixRémi Verschelde
Remove duplicate keycode constant for Numpad Enter key (3.0)
2017-07-26Merge pull request #9720 from endragor/stack-bottomThomas Herzog
Add a way to retrieve stack bottom of the main thread
2017-07-26Remove duplicate keycode constant for Numpad Enter key.bruvzg
2017-07-25Fix cvs files freezing the editor when a double quote is not closedMarcelo Fernandez
2017-07-25Add a way to retrieve stack bottom of the main threadRuslan Mustakov
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.
2017-07-19-Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky
-Added system for feature overrides, it's pretty cool :)
2017-07-19Add object type hint for docsPoommetee Ketson
2017-07-17-Reorganized all properties of project settings (Sorry, Again).Juan Linietsky
(Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-11IME window follow the input cursor.geequlim
Abstruct set_ime_position to OS class. Update ime position for LineEdit and TextEdit.
2017-06-24Make the InputEvent device property get savedBojidar Marinov
Fixes #9299
2017-06-22Fix shortcuts, make them visible again and work.Juan Linietsky
2017-06-08Merge pull request #9002 from Hinsbart/key_action_matchRémi Verschelde
InputEvent: Restore old behaviour for matching key events to actions.
2017-06-03InputEvent: Renamed "pos" property to "position"Andreas Haas
Make the naming consistent with other classes.
2017-06-01fixed PowerState enum castKarroffel
Quite a while ago I made a commit (131631b) where I did a weird thing to fix compilation with PTRCALL_ENABLED. And I couldn't sleep because of this after all these months. So here is the proper version.
2017-05-30InputEvent: Restore old behaviour for matching key events to actions.Andreas Haas
Original code in 9100db7
2017-05-28-Added .hdr format supportJuan Linietsky
-Added default environment editor setting -Added environment created by default in new projects -Removed default light and ambient from spatial editor, to make the editor more PBR compliant
2017-05-27Fix InputEvent actions.Andreas Haas
The `InputEvent::is_action(pressed|released)` methods weren't implemented yet. Also fixed a typo in `InputDefault` that prevented `Input.is_action(pressed|released)` from working.
2017-05-25Fix virtual methods in InputEventKey.Andreas Haas
This fixes a lot of problems with key input in the engine.
2017-05-25Merge pull request #8898 from vnen/screentouch-struct-classRémi Verschelde
Change InputEventScreenTouch from struct to class
2017-05-24Change InputEventScreenTouch from struct to classGeorge Marques
2017-05-24Fix 2D-editor mouse wheel zoom (x11).Martin Capitanio
Fixes #8888
2017-05-23-Fix the "set_val" call deferred, it was the only one.. closes #8742Juan Linietsky
-Removed redundant bind in input_event
2017-05-23fixed crash on code that checks InputEventJuan Linietsky
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-17Removal of Image from Variant, converted to a Resource.Juan Linietsky
2017-05-07Implemented scrolling factor for smooth trackpad scrollingtoger5
Working platforms platform: OSX, Windows. Support for almost all ui elements, including project list.
2017-04-28Move core thirdparty files to thirdparty/{minizip,misc}Rémi Verschelde
2017-04-17Fix PRNG randomization.Ferenc Arn
PCG32 doesn't like small seeds, which leads to zero random values (prior to #7532, zero values were handled as special cases). Use a large default seed, and also add a shift in Math::randomize. Fixes #8423.
2017-04-10Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei
Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde