summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2017-08-30Merge pull request #10776 from hpvb/fix-10758Rémi Verschelde
Disable -ffast-math for etc2comp
2017-08-30Disable -ffast-math for etc2compHein-Pieter van Braam
Apparently -ffast-math generates incorrect code with recent versions of GCC and Clang. The manual page for GCC warns about this possibility. In my tests it doesn't actually appear to be measurably slower in this case, and this is used in a batch process so it seems safe to disable this. This fixes #10758 and fixes #10070
2017-08-30Fix GDNative API generator after changes to MethodBindRuslan Mustakov
2017-08-30Add enums in GDNative API generatorRuslan Mustakov
2017-08-29Merge pull request #10745 from neikeq/fix-docdata-and-stuffJuan Linietsky
DocData and virtual method type hints fixes
2017-08-29Makes built-in vararg methods actual vararg methodsIgnacio Etcheverry
- Removes hardcoded parameters from built-in vararg methods and adds METHOD_FLAG_VARARG to them. - Makes EditorHelp display built-in vararg methods correctly.
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-29-Fixes to how collada generates tangents (use SurfaceTool), closes #9562Juan Linietsky
-Fix to gridmap cell size (wrong property type)
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-28Merge pull request #10662 from hoelzl/python3-v3Rémi Verschelde
Make build scripts Python 3 compatible
2017-08-27-Moved script run to editor, removed from projectJuan Linietsky
-fixed to code completion -fix shader crash bug reported by tagcup
2017-08-27Fix a crash in gdscript callbacksHein-Pieter van Braam
This fixes a crash running the 'goltorus' project.
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-27-Largely rewrote gridmap to simplify itJuan Linietsky
-Got editor working again -Added a current-floor marker on selection
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-27nanosvg: Document in COPYRIGHT.txt and thirdparty README.mdRémi Verschelde
2017-08-27Merge pull request #10591 from Rubonnek/possible-null-ptr-dereferenceRémi Verschelde
Added/Fixed null pointer checks
2017-08-27Merge pull request #10669 from hpvb/fix-6118Rémi Verschelde
Add several missing Null checks in _notification
2017-08-26Add two missing Null checksHein-Pieter van Braam
These Null checks were removed in #10581 but actually changed the logic of the functions in this case. This fixes #10654
2017-08-26Added/Fixed null pointer checksWilson E. Alvarez
2017-08-26Add several missing Null checks in _notificationHein-Pieter van Braam
This fixes #6118
2017-08-26-Massive clean up to gizmosJuan Linietsky
-Make sure handles are always visible (on top) -Fixed instanced scene selection (should work properly now) -Added interpolated camera -Customizable gizmo colors in editor settings
2017-08-25Fix i18n bug in GridMap stringRémi Verschelde
Regression from 6134d87 causing build issue on clang.
2017-08-25Editor: Add some more translatable strings.Andreas Haas
2017-08-25Merge pull request #10581 from hpvb/fix-gcc6+Rémi Verschelde
Make cast_to a static member of Object.
2017-08-25Implemented, The Amazing Zylann Hack (tm), fixes #10603Juan Linietsky
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-24GDScript: More reliable check if loading a template.Andreas Haas
Prevents showing some useless parse errors in the console.
2017-08-24Fix mismatched signatures for GDScriptLanguage::complete_codeRémi Verschelde
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-23Merge pull request #10563 from Hinsbart/vs_cancel_selectRémi Verschelde
VisualScriptEditor: Remove Node when canceling PropertySelector.
2017-08-23Merge pull request #10542 from karroffel/gdscript-match-indexRémi Verschelde
support enums and nested constants in match statement
2017-08-23Merge pull request #10555 from Rubonnek/removed-unnecessary-returns-and-breaksRémi Verschelde
Removed unnecessary returns and break statements [ci skip]
2017-08-22VisualScriptEditor: Remove Node when canceling PropertySelector.Andreas Haas
2017-08-22Fix crashes in SVG loadingPedro J. Estébanez
Adding null terminators.
2017-08-22Removed unnecessary returns and break statementsWilson E. Alvarez
2017-08-22support enums and nested constants in match statementKarroffel
The initial version of the pattern matcher in GDScript does not allow matching on nested identifiers, only one identifiers available in the current scope. With the introduction of enums to GDScript that's a huge missing feature. This commit makes the parser accept indexed constants and variables to properly support enums.
2017-08-22readded ability to set loop offset in seconds, closes #9630Juan Linietsky
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-22Merge pull request #10225 from Noshyaar/mapRémi Verschelde
GDScript Built-in: add inverse_lerp & range_lerp
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-20Added missing icon and svgs upscalingDaniel J. Ramirez
2017-08-20Added support for SVGDaniel J. Ramirez
2017-08-20Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky
Adds Engine::is_editor_hint() method
2017-08-20Merge pull request #10455 from groud/control_margin_fixesRémi Verschelde
Some control fixes and removed other useless lines
2017-08-19Some control fixes and removed useless linesGilles Roudiere