summaryrefslogtreecommitdiffstats
path: root/scene/gui/tree.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Cleanup some unecessary editor/ includes in scene/Rémi Verschelde2019-06-121-1/+1
| | | | | | | | | | | | Part of #29730, handles false positives.
* | | Merge pull request #29648 from jbuck3/tree-tooltipsRémi Verschelde2019-06-121-0/+4
|\ \ \ | | | | | | | | Fix Tree button tooltips
| * | | Fix Tree button tooltipsJames Buck2019-06-091-0/+4
| | | | | | | | | | | | | | | | Fixes #22777
* | | | Merge pull request #29306 from qarmin/small_code_fixesRémi Verschelde2019-06-121-3/+2
|\ \ \ \ | |/ / / |/| | | Small fixes to unrechable code, possibly overflows, using NULL pointers
| * | | Small fixes to unrechable code, possibly overflows, using NULL pointersqarmin2019-06-031-3/+2
| |/ /
* | | Fix crash when searching Tree with no selectionTomasz Chabora2019-06-041-3/+3
| | |
* | | Merge pull request #28841 from KoBeWi/option_button_optionsRémi Verschelde2019-06-011-12/+36
|\ \ \ | |/ / |/| | Improvements to incremental search
| * | Improvements to incremental searchTomasz Chabora2019-05-311-12/+36
| | |
* | | Merge pull request #27836 from turtletooth/right-clickRémi Verschelde2019-05-281-0/+4
|\ \ \ | | | | | | | | Allow Right Click in Empty Space on FileSystemDock
| * | | Allow Right Click in Empty Space on FileSystemDockJeremy Bullock2019-04-091-0/+4
| | | |
* | | | PageDown key selects last one when left items count is shortvolzhs2019-05-211-2/+2
| |/ / |/| |
* | | Merge pull request #27673 from qarmin/small_fixesRémi Verschelde2019-04-221-1/+0
|\ \ \ | | | | | | | | Small fixes, mostly duplicated code
| * | | Small fixes, mostly dupicated codeqarmin2019-04-081-1/+0
| | | |
* | | | Enhance tree scrolling when dragginggroud2019-04-121-15/+15
| | | |
* | | | Reorganized connection dialog for much improved ease of use.Juan Linietsky2019-04-111-2/+5
| |/ / |/| | | | | | | | | | | | | | | | | | | | -Removed dest path field -Added a "Source" signal -Added an "Advanced" button to hide complexity -Fix bug on Tree to make sure "ensure visible" works on hidden trees -Fix bug on TextEdit to ensure signals created with script not open sill focus the right line
* | | Style: Apply new changes from clang-format 8.0Rémi Verschelde2019-04-091-2/+5
| | | | | | | | | | | | | | | | | | 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).
* | | Fix -Wimplicit-fallthrough warnings from GCC 8Rémi Verschelde2019-04-051-1/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional. Can be replaced by `[[fallthrough]]` if/when we switch to C++17. The warning is now enabled by default for GCC on `extra` warnings level (part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet, but we could enable it manually once we switch to C++11. There's no equivalent feature in MSVC for now. Fixes #26135.
* | -Make tileset and meshlibrary edit in a separate inspector, fixes #26671Juan Linietsky2019-03-061-1/+5
| | | | | | | | | | | | -Made relationship lines appear based on theme settings, not previous hack -Fix drawing of relationship lines (was broken) -Fix double initialization of theme settings
* | Add -Wshadow=local to warnings and fix reported issues.marxin2019-02-201-11/+11
| | | | | | | | Fixes #25316.
* | Fix typos with codespellRémi Verschelde2019-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 1.14.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang doubleclick lod nd numer que te unselect EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
* | Update rect size on selectvolzhs2019-01-161-2/+1
| |
* | Defer activated signal after tree has been traversed.Juan Linietsky2019-01-141-1/+15
| |
* | Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | | | | | Happy new year to the wonderful Godot community!
* | Draw relationship lines when its value is higher than 0volzhs2018-12-251-1/+1
| |
* | Fix tree item editable cell not updating when windows was resizedGuilherme Felipe2018-12-141-0/+17
| |
* | Unify editor class and reference searchRay Koopa2018-11-201-1/+1
| | | | | | | | Co-authored-by: Michael Alexsander Silva Dias <michaelalexsander@protonmail.com>
* | If using relationship lines (now default) hide guides.Juan Linietsky2018-11-181-1/+4
| |
* | Fix creating a visual script virtual function after minimizing crashes #23536K. S. Ernest (iFire) Lee2018-11-051-1/+1
| |
* | [Docs] Fixed 'get_button_count's link and a typo related to 'button'.M. Huri2018-10-131-1/+1
| |
* | Fix crash in Tree when moving using JoypadFabio Alessandrelli2018-10-071-2/+3
| |
* | Fix various warnings: [-Waddress], [-Wpointer-arith], [-Wwrite-strings], ↵Rémi Verschelde2018-09-271-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [-Wreturn-local-addr] and more Fixes the following GCC 5 warnings: ``` core/os/file_access.cpp:49:19: warning: the address of 'FileAccess::create_func' will always evaluate as 'true' [-Waddress] servers/audio_server.cpp:192:70: warning: comparison with string literal results in unspecified behaviour [-Waddress] drivers/gles2/rasterizer_storage_gles2.cpp:4095:90: warning: NULL used in arithmetic [-Wpointer-arith] modules/gdnative/register_types.cpp:237:3: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] platform/android/export/export.cpp:207:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] modules/gdscript/gdscript.h:150:67: warning: returning reference to temporary [-Wreturn-local-addr] servers/physics_2d/collision_object_2d_sw.h:119:56: warning: returning reference to temporary [-Wreturn-local-addr] servers/physics_2d/collision_object_2d_sw.h:123:56: warning: returning reference to temporary [-Wreturn-local-addr] servers/physics_2d/collision_object_2d_sw.h:127:50: warning: returning reference to temporary [-Wreturn-local-addr] servers/physics_2d/collision_object_2d_sw.h:131:52: warning: returning reference to temporary [-Wreturn-local-addr] editor/plugins/skeleton_editor_plugin.cpp:34:36: warning: extra tokens at end of #include directive modules/bullet/bullet_types_converter.cpp:31:9: warning: #pragma once in main file editor/import/editor_scene_importer_gltf.cpp:1996:51: warning: name lookup of 'i' changed modules/visual_script/visual_script_property_selector.cpp:402:45: warning: name lookup of 'E' changed scene/gui/tree.cpp:1268:25: warning: name lookup of 'i' changed scene/resources/visual_shader.cpp:808:32: warning: name lookup of 'i' changed ```
* | Fix warnings for operator precedence disambiguation [-Wparentheses]Rémi Verschelde2018-09-271-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | Fixes the following GCC 5 warnings: ``` core/io/resource_format_binary.cpp:1721:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] core/typedefs.h:108:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] editor/plugins/spatial_editor_plugin.cpp:2202:58: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] editor/plugins/spatial_editor_plugin.cpp:5002:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] main/input_default.cpp:346:59: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] main/input_default.cpp:348:60: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] main/input_default.cpp:579:57: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] modules/gridmap/grid_map_editor_plugin.cpp:613:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] modules/theora/video_stream_theora.cpp:335:34: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] modules/theora/video_stream_theora.cpp:336:35: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] modules/visual_script/visual_script_property_selector.cpp:215:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] scene/gui/rich_text_label.cpp:424:84: warning: suggest parentheses around '&&' within '||' [-Wparentheses] scene/gui/rich_text_label.cpp:512:80: warning: suggest parentheses around '&&' within '||' [-Wparentheses] scene/gui/scroll_container.cpp:173:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] scene/gui/scroll_container.cpp:173:86: warning: suggest parentheses around '&&' within '||' [-Wparentheses] scene/gui/tree.cpp:1419:98: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ```
* Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to ↵DualMatrix2018-09-231-33/+7
| | | | | | core/math/ Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/
* Merge pull request #22198 from DualMatrix/input_was_eatenRémi Verschelde2018-09-201-2/+2
|\ | | | | Fixed ctrl+up/down shortcut no longer working in scene tree
| * Fixed ctrl+up/down shortcut no longer working in scene treeDualMatrix2018-09-201-2/+2
| | | | | | | | Fixed ctrl+up/down shortcut no longer working in scene tree.
* | Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde2018-09-131-1/+1
|\ \ | |/ |/| Misc. typos
| * Misc. typosluz.paz2018-09-121-1/+1
| | | | | | Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
* | Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-6/+6
|/ | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Improve ClassDB information for some some signal parametersKelly Thomas2018-09-011-3/+3
|
* Make "Search Classes" dialog have relationship lines if the setting is enabledMichael Alexsander Silva Dias2018-08-311-1/+1
|
* Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-261-54/+54
| | | | | | | | | | | | | | | | | | | | | | | This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
* fixed a branch on uninitialised data in gui/treeIbrahn Sahir2018-07-131-5/+14
| | | | | I don't think it was really causing any harm, but this makes things a little more explicit and helps clean up valgrind output.
* Use internal physics processing for Nodes' internal logicRémi Verschelde2018-04-111-8/+8
|
* Merge pull request #16947 from Faless/ui_actionsFabio Alessandrelli2018-03-161-261/+257
|\ | | | | GUI elements ui_action usage, improvements
| * Tree now uses UI actions instead of keysFabio Alessandrelli2018-02-231-261/+257
| |
* | Fix various valgrind reported uninitialized variable usesHein-Pieter van Braam2018-02-281-0/+2
|/
* Clean up some bad words from code commentsArtem Varaksa2018-02-171-2/+2
|
* Fix typos in code and docs with codespellRémi Verschelde2018-01-181-35/+35
| | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell
* Fixes hangs with Tree in multi selection mode (issue 15588)Bernhard Liebl2018-01-131-0/+3
|
* Bind many more properties to scriptsBojidar Marinov2018-01-121-0/+24
| | | | | | | Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added