aboutsummaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #10148 from leezh/pcre2Rémi Verschelde2017-08-313-1312/+340
|\ \ | | | | | | Replacement of internal RegEx with PCRE2
| * | Replacement of internal RegEx with PCRE2Zher Huei Lee2017-08-193-1312/+340
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pattern and replacement matching behaviour has been changed purely due to the nature of switching to a standards-compliant library. One mistake in the previous behaviour was that named groups didn't have a number. This has been corrected. As names are actually just an alias of numbered groups, RegExMatch::get_name_dict() is now get_names() and is a dict referring to the group number it represents. Duplicate names are enabled and the with the first matching instance used. Due the lack of a suitable equivalent in PCRE2, RegExMatch::expand() was removed.
* | | Merge pull request #10382 from toger5/dark_iconsRémi Verschelde2017-08-312-6/+52
|\ \ \ | | | | | | | | Light Theme
| * | | Implement color conversion for dark SVG iconstoger52017-08-302-6/+52
| | | |
* | | | Remove 10778 related methods from GDNativeHein-Pieter van Braam2017-08-302-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | After #10778 master didn't build any longer with GDNative. This removes the methods removed in that PR from the GDNative bindings for Basis also.
* | | | Merge pull request #10750 from Rubonnek/fix-duplicate-script-changed-signalRémi Verschelde2017-08-301-12/+12
|\ \ \ \ | | | | | | | | | | Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed'
| * | | | Renamed 'script_changed' signal in the script editor plugin to ↵Wilson E. Alvarez2017-08-291-12/+12
| | | | | | | | | | | | | | | | | | | | 'edited_script_changed'
* | | | | Merge pull request #10776 from hpvb/fix-10758Rémi Verschelde2017-08-301-0/+4
|\ \ \ \ \ | |_|_|_|/ |/| | | | Disable -ffast-math for etc2comp
| * | | | Disable -ffast-math for etc2compHein-Pieter van Braam2017-08-301-0/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Fix GDNative API generator after changes to MethodBindRuslan Mustakov2017-08-303-20/+25
| | | |
* | | | Add enums in GDNative API generatorRuslan Mustakov2017-08-301-1/+40
|/ / /
* | | Merge pull request #10745 from neikeq/fix-docdata-and-stuffJuan Linietsky2017-08-293-17/+34
|\ \ \ | | | | | | | | DocData and virtual method type hints fixes
| * | | Makes built-in vararg methods actual vararg methodsIgnacio Etcheverry2017-08-292-9/+16
| | | | | | | | | | | | | | | | | | | | - Removes hardcoded parameters from built-in vararg methods and adds METHOD_FLAG_VARARG to them. - Makes EditorHelp display built-in vararg methods correctly.
| * | | DocData and type hints fixesIgnacio Etcheverry2017-08-293-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | | -Fixes to how collada generates tangents (use SurfaceTool), closes #9562Juan Linietsky2017-08-291-1/+2
| |/ / |/| | | | | | | | -Fix to gridmap cell size (wrong property type)
* | | -Some fixes to code completion.Juan Linietsky2017-08-281-3/+28
| | | | | | | | | | | | | | | -Fix getter in code completion being displayed when it shouldn't -Clean up preview generation for editors and exposed it as editor plugin
* | | Merge pull request #10662 from hoelzl/python3-v3Rémi Verschelde2017-08-282-2/+4
|\ \ \ | | | | | | | | Make build scripts Python 3 compatible
| * | | Make build scripts Python3 compatibleMatthias Hoelzl2017-08-272-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | | -Moved script run to editor, removed from projectJuan Linietsky2017-08-271-19/+34
| |/ / |/| | | | | | | | | | | -fixed to code completion -fix shader crash bug reported by tagcup
* | | Fix a crash in gdscript callbacksHein-Pieter van Braam2017-08-271-2/+2
|/ / | | | | | | This fixes a crash running the 'goltorus' project.
* | Dead code tells no talesRémi Verschelde2017-08-279-575/+9
| |
* | -Largely rewrote gridmap to simplify itJuan Linietsky2017-08-274-296/+353
| | | | | | | | | | -Got editor working again -Added a current-floor marker on selection
* | Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-27173-173/+173
| |
* | nanosvg: Document in COPYRIGHT.txt and thirdparty README.mdRémi Verschelde2017-08-271-2/+2
| |
* | Merge pull request #10591 from Rubonnek/possible-null-ptr-dereferenceRémi Verschelde2017-08-273-5/+5
|\ \ | | | | | | Added/Fixed null pointer checks
| * | Added/Fixed null pointer checksWilson E. Alvarez2017-08-263-5/+5
| | |
* | | Merge pull request #10669 from hpvb/fix-6118Rémi Verschelde2017-08-271-0/+3
|\ \ \ | | | | | | | | Add several missing Null checks in _notification
| * | | Add several missing Null checks in _notificationHein-Pieter van Braam2017-08-261-0/+3
| |/ / | | | | | | | | | This fixes #6118
* / / Add two missing Null checksHein-Pieter van Braam2017-08-261-2/+6
|/ / | | | | | | | | | | | | These Null checks were removed in #10581 but actually changed the logic of the functions in this case. This fixes #10654
* | -Massive clean up to gizmosJuan Linietsky2017-08-264-777/+71
| | | | | | | | | | | | | | -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
* | Fix i18n bug in GridMap stringRémi Verschelde2017-08-251-4/+2
| | | | | | | | Regression from 6134d87 causing build issue on clang.
* | Editor: Add some more translatable strings.Andreas Haas2017-08-252-47/+47
| |
* | Merge pull request #10581 from hpvb/fix-gcc6+Rémi Verschelde2017-08-2514-162/+130
|\ \ | | | | | | Make cast_to a static member of Object.
| * | Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-2414-162/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/
* | | Implemented, The Amazing Zylann Hack (tm), fixes #10603Juan Linietsky2017-08-253-0/+19
|/ /
* | GDScript: More reliable check if loading a template.Andreas Haas2017-08-241-1/+1
| | | | | | | | Prevents showing some useless parse errors in the console.
* | Fix mismatched signatures for GDScriptLanguage::complete_codeRémi Verschelde2017-08-241-1/+1
| |
* | -Code completion for enumerationsJuan Linietsky2017-08-246-14/+152
| | | | | | | | -Disabled GDNative and GDNativeScript so build compiles again
* | Changed MethodBind API to request information from methods. It's much claner ↵Juan Linietsky2017-08-231-6/+6
| | | | | | | | | | | | now. Also changed PropertyInfo to include informatino about class names.
* | Merge pull request #10563 from Hinsbart/vs_cancel_selectRémi Verschelde2017-08-232-0/+9
|\ \ | | | | | | VisualScriptEditor: Remove Node when canceling PropertySelector.
| * | VisualScriptEditor: Remove Node when canceling PropertySelector.Andreas Haas2017-08-222-0/+9
| | |
* | | Merge pull request #10542 from karroffel/gdscript-match-indexRémi Verschelde2017-08-231-1/+20
|\ \ \ | | | | | | | | support enums and nested constants in match statement
| * | | support enums and nested constants in match statementKarroffel2017-08-221-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #10555 from Rubonnek/removed-unnecessary-returns-and-breaksRémi Verschelde2017-08-233-3/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Removed unnecessary returns and break statements [ci skip]
| * | | | Removed unnecessary returns and break statementsWilson E. Alvarez2017-08-223-3/+4
| | |/ / | |/| |
* / | | Fix crashes in SVG loadingPedro J. Estébanez2017-08-221-3/+4
|/ / / | | | | | | | | | Adding null terminators.
* / / readded ability to set loop offset in seconds, closes #9630Juan Linietsky2017-08-223-1/+21
|/ /
* | Merge pull request #10340 from Rubonnek/remove-unnecessary-assignmentsRémi Verschelde2017-08-228-35/+16
|\ \ | | | | | | Removed unnecessary assignments
| * | Removed unnecessary assignmentsWilson E. Alvarez2017-08-218-35/+16
| | |
* | | Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky2017-08-215-24/+27
|\ \ \ | | | | | | | | ClassDB: Provide the enum name of integer constants