summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2017-08-30added to_ABGR32() to core/Colortoger5
2017-08-29Merge pull request #10745 from neikeq/fix-docdata-and-stuffJuan Linietsky
DocData and virtual method type hints fixes
2017-08-29Fixes missing default arguments in MethodInfoIgnacio Etcheverry
2017-08-29DocData and type hints fixesIgnacio Etcheverry
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types - Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string. - PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void. - Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
2017-08-29Made some methods to check method/signal availability in GDScript, closes #9800Juan Linietsky
2017-08-29Removed ParamDef and ParamHint structsWilson E. Alvarez
2017-08-28-Some fixes to code completion.Juan Linietsky
-Fix getter in code completion being displayed when it shouldn't -Clean up preview generation for editors and exposed it as editor plugin
2017-08-27Make build scripts Python3 compatibleMatthias Hoelzl
- The Windows, UWP, Android (on Windows) and Linux builds are tested with Scons 3.0 alpha using Python 3. - OSX and iOS should hopefully work but are not tested since I don't have a Mac. - Builds using SCons 2.5 and Python 2 should not be impacted.
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-27Re-apply clang-format to all filesRémi Verschelde
Some badly formatted code has managed to pass through our CI...
2017-08-26MethodBind: Adds operator== to compare by idIgnacio Etcheverry
2017-08-26Merge pull request #10658 from henkz1/android-buildRémi Verschelde
Fix Android build
2017-08-27Fix double single quotes in `connect` error printPoommetee Ketson
2017-08-26Fix refactored Object::cast_to in NO_SAFE_CAST branchHenrik Andersson
2017-08-26Merge pull request #10648 from Xrayez/image-get-sizeRémi Verschelde
Add handy get_size() method to Image class
2017-08-26Cleanup tons of obsolete commented out codeRémi Verschelde
Mostly in EditorNode, dropping some obsolete editor plugins and also a cleanup of ProjectSettings/EditorSettings.
2017-08-26Add handy get_size() method to Image classAndrii Doroshenko (Xrayez)
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-24Add a static version of Object::cast_to()Hein-Pieter van Braam
This is to prepare to replace all instances of the member version of cast_to().
2017-08-25Show proper string with InputEvent.as_text()volzhs
2017-08-24GCC fixesJuan Linietsky
2017-08-24-Code completion for enumerationsJuan Linietsky
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-23Changed MethodBind API to request information from methods. It's much claner ↵Juan Linietsky
now. Also changed PropertyInfo to include informatino about class names.
2017-08-22Moved member variables to initializer listWilson E. Alvarez
2017-08-22Merge pull request #10520 from RandomShaper/fix-double-parsingJuan Linietsky
Fix tokenization of doubles
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-22Merge pull request #10254 from marcelofg55/masterRémi Verschelde
Added notification const NOTIFICATION_WM_ABOUT
2017-08-21Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky
ClassDB: Provide the enum name of integer constants
2017-08-22Merge pull request #10415 from tagcup/euler_hackRémi Verschelde
Fix incorrect workaround for pure Y (X) rotations in XYZ (YXZ) conven…
2017-08-22Merge pull request #10225 from Noshyaar/mapRémi Verschelde
GDScript Built-in: add inverse_lerp & range_lerp
2017-08-21Fix tokenization of doublesPedro J. Estébanez
Fixes #9600.
2017-08-21Merge pull request #10433 from djrm/pr_svg_supportRémi Verschelde
SVG support
2017-08-21p_screen param from get_screen_* funcs now default to the current screenMarcelo Fernandez
2017-08-21Merge pull request #10484 from Sipaha/pr_mt_queue_deadlock_fixRémi Verschelde
Fix deadlock in CommandQueueMT
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez
2017-08-21Merge pull request #10471 from akien-mga/args-doubledashRémi Verschelde
Third take at making command-line arguments more UNIX-like + main.cpp and help cleanup
2017-08-21Fix binary object marshalling, closes #9472Juan Linietsky
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-20simplify the way window is allowed to steal focus, no longer relying on ↵Juan Linietsky
project.godot. Closes #9459
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-20Added support for SVGDaniel J. Ramirez
2017-08-21Move wait_for_flush out of queue lockSipaha
2017-08-20Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky
Adds Engine::is_editor_hint() method
2017-08-20Merge pull request #10481 from neikeq/water-store-remarkRémi Verschelde
Fixes Ref's GetTypeInfo missing with ptrcall disabled
2017-08-20Fixes Ref's GetTypeInfo missing with ptrcall disabledIgnacio Etcheverry
2017-08-20Exposed Transform.interpolate_with()Przemysław Gołąb (n-pigeon)
Additionaly changed values names for 2D version to more descriptive ones.
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