summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #37293 from Janglee123/ctrl-click-improvementsRémi Verschelde2020-05-051-0/+12
|\ | | | | Improved go-to definition (Ctrl + Click)
| * Improved go-to definition (Ctrl + Click)janglee2020-05-051-0/+12
| | | | | | | | Co-Authored-By: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
* | Merge pull request #37172 from theoway/autoCompletionBugRémi Verschelde2020-04-241-1/+1
|\ \ | | | | | | Fixed the auto-completion bug in gdscript_editor
| * | Fixed the bool _static logic Umang Kalra2020-04-161-1/+1
| | |
* | | Merge pull request #37954 from ThakeeNathees/autocomplete-indexing-native-typesRémi Verschelde2020-04-211-1/+1
|\ \ \ | | | | | | | | Autocompleting with indexing for builtin types added
| * | | autocompleting with indexing for native types addedThakee Nathees2020-04-171-1/+1
| |/ / | | | | | | | | | Fix: #37768
* / / Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editorRémi Verschelde2020-04-201-1/+1
|/ / | | | | | | | | Subgroups were added in #37678 but not properly handled everywhere where PROPERTY_USAGE_GROUP is.
* | autocomplete for disconnect, is_connected implementedThakee Nathees2020-04-131-3/+6
| |
* | Replace NULL with nullptrlupoDharkael2020-04-021-45/+45
| |
* | Add missing docs for assert message in GDScriptThomas ten Cate2020-03-311-0/+2
|/ | | | Seems like this was overlooked in PR #31142. See also issue #17082.
* Style: Set clang-format Standard to Cpp11Rémi Verschelde2020-03-171-6/+6
| | | | | | | | | | For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
* Refactor ScriptDebugger.Fabio Alessandrelli2020-03-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | EngineDebugger is the new interface to access the debugger. It tries to be as agnostic as possible on the data that various subsystems can expose. It allows 2 types of interactions: - Profilers: A subsystem can register a profiler, assigning it a unique name. That name can be used to activate the profiler or add data to it. The registered profiler can be composed of up to 3 functions: - Toggle: called when the profiler is activated/deactivated. - Add: called whenever data is added to the debugger (via `EngineDebugger::profiler_add_frame_data`) - Tick: called every frame (during idle), receives frame times. - Captures: (Only relevant in remote debugger for now) A subsystem can register a capture, assigning it a unique name. When receiving a message, the remote debugger will check if it starts with `[prefix]:` and call the associated capture with name `prefix`. Port MultiplayerAPI, Servers, Scripts, Visual, Performance to the new profiler system. Port SceneDebugger and RemoteDebugger to the new capture system. The LocalDebugger also uses the new profiler system for scripts profiling.
* Fix autocomplete and GDScript Highlighting for typesnathanwfranke2020-02-261-2/+2
| | | Types include new integer types and others
* Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.Juan Linietsky2020-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | | - Renames PackedIntArray to PackedInt32Array. - Renames PackedFloatArray to PackedFloat32Array. - Adds PackedInt64Array and PackedFloat64Array. - Renames Variant::REAL to Variant::FLOAT for consistency. Packed arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type. For Variant, the float datatype is always 64 bits, and exposed as `float`. We still have `real_t` which is the datatype that can change from 32 to 64 bits depending on a compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only. Neither Variant nor PackedArray make use of real_t, which is only intended for math precision, so the term is removed from there to keep only float.
* Replace FALLTHROUGH macro by C++17 [[fallthrough]]Rémi Verschelde2020-02-231-4/+4
| | | | | | | | | | This attribute is now part of the standard we target so we no longer need compiler-specific hacks. Also enables -Wimplicit-fallthrough for Clang now that we can properly support it. It's already on by default for GCC's -Wextra. Fixes new warnings raised by Clang's -Wimplicit-fallthrough.
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-14/+14
| | | | objects and made them default.
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-3/+3
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Remove deprecated sync and slave networking keywordsRémi Verschelde2020-02-131-1/+1
| | | | | | Those keywords were deprecated for 3.1 in #22087. Also fix token name for `TK_REMOTE`, should be "remote" like the keyword.
* Merge pull request #35218 from bojidar-bg/26691-parse-error-errorsRémi Verschelde2020-01-161-1/+3
|\ | | | | Fix errors raised when showing parse errors in the editor
| * Fix errors raised when showing parse errors in the editorBojidar Marinov2020-01-161-1/+3
| | | | | | | | Fixes #26691
* | Fix function arguments hint format in GDScript editorDanil Alexeev2020-01-161-15/+3
|/ | | | | for consistency with the format of the documentation: "type func_name(arg1: type, arg2: type)"
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Fix GDScript autocompletion with `as` or typed variablesBojidar Marinov2019-12-121-0/+11
| | | | Fixes #31818, fixes #33434
* Make the script templates' blank lines conform with the official style guideMichael Alexsander2019-11-171-0/+3
|
* Fix autocompletion for singletonsEbbDrop2019-10-171-5/+4
|
* Adds skip-breakpoints featureiwek72019-09-031-2/+3
|
* Try and show all the properties added with _get_property_list() when ↵MrCdK2019-09-031-3/+12
| | | | | | triggering completion. Closes https://github.com/godotengine/godot/issues/25097
* gdscript: Fix build after #24925Rémi Verschelde2019-09-021-1/+2
| | | | | | The PR did not use the ScriptCodeCompletionOption system introduced later on, and somehow this did not generate a merge conflict even though neighboring code was changed.
* Merge pull request #24925 from Mr-Slurpy/typed-autoloadRémi Verschelde2019-09-021-0/+9
|\ | | | | Added autoloads as a potential type.
| * Added autoloads as a potential type.Daniel Eliasinski2019-01-111-0/+9
| |
* | Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'Rémi Verschelde2019-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | The last remaining ERR_EXPLAIN call is in FreeType code and makes sense as is (conditionally defines the error message). There are a few ERR_EXPLAINC calls for C-strings where String is not included which can stay as is to avoid adding additional _MSGC macros just for that. Part of #31244.
* | Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde2019-07-201-2/+0
|\ \ | | | | | | Changed some code reported by LGTM and Coverity
| * | Changed some code showed in LGTM and Coverageqarmin2019-07-201-2/+0
| | |
* | | Remove useless casts to StringNils ANDRÉ-CHANG2019-07-171-2/+2
| | |
* | | Show static functions inside classes in method listNils ANDRÉ-CHANG2019-07-151-0/+4
|/ /
* | Parse more informations for code completionGeequlim2019-07-041-75/+144
| |
* | Many fallthrough switch cases now have the FALLTHROUGH macro to tell the ↵hbina0852019-06-291-4/+8
| | | | | | | | compiler that this is intended.
* | Merge pull request #28099 from lupoDharkael/fix-completionRémi Verschelde2019-06-031-7/+7
|\ \ | | | | | | Fix code completion not working with class_name
| * | Don't allow class_name in built-in scriptslupoDharkael2019-04-171-3/+3
| | |
| * | Fix code completion not working with class_namelupoDharkael2019-04-161-4/+4
| | |
* | | autocomplete for enum valueshilfazer2019-05-261-1/+1
| | |
* | | Fix slight issues with autocompletion and member lists in GDScriptBojidar Marinov2019-05-021-1/+1
| | | | | | | | | | | | | | | Fixes #27152 Fixes #28591
* | | Merge pull request #27676 from qarmin/small_fixes_2Rémi Verschelde2019-05-011-7/+4
|\ \ \ | | | | | | | | Small fixes to static analyzer bugs
| * | | Small fixes to static analyzer bugsqarmin2019-04-041-7/+4
| | | |
* | | | Merge pull request #24437 from mateusfccp/single_quotes_optionRémi Verschelde2019-04-301-12/+20
|\ \ \ \ | | | | | | | | | | Add settings for single-quotes on completion
| * | | | Add settings for single-quotes on completionMateus Felipe C. C. Pinto2018-12-181-12/+20
| | | | |
* | | | | Merge pull request #27673 from qarmin/small_fixesRémi Verschelde2019-04-221-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | Small fixes, mostly duplicated code
| * | | | Small fixes, mostly dupicated codeqarmin2019-04-081-1/+1
| | |/ / | |/| |
* | | | Style: Apply new changes from clang-format 8.0Rémi Verschelde2019-04-091-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
* | | | Add support for type hints in non-default script editor templatesHugo Locurcio2019-04-051-25/+34
|/ / / | | | | | | | | | | | | | | | This also refactors template processing to avoid repetition. This closes #27074.