summaryrefslogtreecommitdiff
path: root/core/bind
AgeCommit message (Collapse)Author
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-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 #10340 from Rubonnek/remove-unnecessary-assignmentsRémi Verschelde
Removed unnecessary assignments
2017-08-21Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky
ClassDB: Provide the enum name of integer constants
2017-08-21p_screen param from get_screen_* funcs now default to the current screenMarcelo Fernandez
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez
2017-08-21Fixes for new two-dash long command line argumentsRémi Verschelde
- Fixes some single-dash leftovers that were missed in the previous commit - Reorder the help output for clarity, and document missing options - Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit - Improve error message on malformed arguments and do not display help on error - Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping - Cleanup obsolete code here and there
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-20Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky
Adds Engine::is_editor_hint() method
2017-08-19Revert "Second take at making command-line arguments more UNIX-like + ↵Juan Linietsky
main.cpp and help cleanup"
2017-08-19Fixes for new two-dash long command line argumentsRémi Verschelde
- Fixes some single-dash leftovers that were missed in the previous commit - Reorder the help output for clarity, and document missing options - Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit - Improve error message on malformed arguments and do not display help on error - Cleanup obsolete code here and there
2017-08-19Adds editor_hint to Engine classIgnacio Etcheverry
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-08-07Makes all Godot API's methods Lower CaseIndah Sylvia
2017-07-23Add object type hint for docsPoommetee Ketson
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-13Add GZIP compression supportGeorge Marques
- Fix a wrong call in PoolByteArray::compress
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-19Add compression support for File objectGeorge Marques
2017-06-13Fixed thread check, solves: #3698kubeczek
2017-05-17Removal of Image from Variant, converted to a Resource.Juan Linietsky
2017-04-28Move core thirdparty files to thirdparty/{minizip,misc}Rémi Verschelde
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-09Merge pull request #8333 from touilleMan/classdb-class_sget_property-bindingRémi Verschelde
Add _ClassDB.class_[g|s]et_property to ClassDB exposed methods
2017-04-09Add return value in ClassDB.class_[g|s]et_property bindingsEmmanuel Leblond
2017-04-09Add _ClassDB.class_[g|s]et_property to ClassDB exposed methodsEmmanuel Leblond
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-13fixed ClassDB inconsistenciesKarroffel
fixes #7960
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-03-05Merge pull request #7950 from RandomShaper/expose-more-geomRémi Verschelde
Expose uncapped versions of closest-point-to-segment utilities
2017-03-04Expose uncapped versions of closest-point-to-segment utilitiesPedro J. Estébanez
2017-03-04Add API to access battery power stateJulian Murgia
Done: - X11, server (tested) - Windows (developed, would be nice to retest) - OSX (not tested) Prepared (not developed): - Android (code is here, but may not compile) - iphone - winrt - bb10 - haiku - javascript
2017-03-04Expose Geometry::get_closest_point_to_segment_2d()Pedro J. Estébanez
2017-02-21-renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky
modified files) -.pck and .zip exporting redone, seems to be working..
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-01-30corrected ClassDB::insatnce() return typeKarroffel
2017-01-25Removed import/export system, will start new one from scratch.Juan Linietsky
2017-01-25Merge pull request #7563 from RayKoopa/extended_list_dir_beginRémi Verschelde
Add parameters to Directory.list_dir_begin() to skip navigational or hidden entries
2017-01-24Added parameters to skip hidden and/or navigational file system entriesRay Koopa
2017-01-23Add ClassDB binding for File.get_modified_timeAndreas Haas
Closes #7613
2017-01-16Style: Keep long lines for nowRémi Verschelde
clang-format does not play well with tab-aligned multiline statements... Some more research will be needed if we want to set a column limit.
2017-01-16Style: No break before list braceRémi Verschelde
clang-format does not handle that well *at all*. For the reference, found the relevant pieces of code with: `ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty`
2017-01-14Fix _Directory::get_current_drive error conditionWilhem Barbier
2017-01-14Merge pull request #7524 from neikeq/pr-dir-getcurdriveRémi Verschelde
Directory: Bind get_current_drive() method
2017-01-14Directory: Bind get_current_drive() methodIgnacio Etcheverry
2017-01-14removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky
added a check to detect this case in the future
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-14Unexpose the video mode API, will be completely removed when multi-window ↵Juan Linietsky
support is implemented.