summaryrefslogtreecommitdiff
path: root/scene/gui/tree.cpp
AgeCommit message (Collapse)Author
2018-09-13Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde
Misc. typos
2018-09-12Misc. typosluz.paz
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
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.
2018-09-01Improve ClassDB information for some some signal parametersKelly Thomas
2018-08-31Make "Search Classes" dialog have relationship lines if the setting is enabledMichael Alexsander Silva Dias
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
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.
2018-07-13fixed a branch on uninitialised data in gui/treeIbrahn Sahir
I don't think it was really causing any harm, but this makes things a little more explicit and helps clean up valgrind output.
2018-04-11Use internal physics processing for Nodes' internal logicRémi Verschelde
2018-03-16Merge pull request #16947 from Faless/ui_actionsFabio Alessandrelli
GUI elements ui_action usage, improvements
2018-02-28Fix various valgrind reported uninitialized variable usesHein-Pieter van Braam
2018-02-23Tree now uses UI actions instead of keysFabio Alessandrelli
2018-02-17Clean up some bad words from code commentsArtem Varaksa
2018-01-18Fix typos in code and docs with codespellRémi Verschelde
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-13Fixes hangs with Tree in multi selection mode (issue 15588)Bernhard Liebl
2018-01-12Bind many more properties to scriptsBojidar Marinov
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
2018-01-06Fix crash when calling tree API before NOTIFICATION_ENTER_TREEBernhard Liebl
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-04Merge pull request #15314 from poke1024/tree-rlinesRémi Verschelde
Tree: only draw visible relationship lines
2018-01-04Tree: only draw visible relationship linesBernhard Liebl
2018-01-03found via cppcheck:firefly2442
remove code that will never run make definition and declaration names for parameters match change floats that were being set to bool values remove pointer that is never used
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-29Fix TreeItem cell text alignmentyanorax
2017-12-26Removed the InputEvent ID field, which was unused and can cause bugs.Juan Linietsky
2017-12-18Add functionality to insert tree item.Ray Koopa
2017-12-15Fix thin lines in editor gui on hidpi (issue 14691)Bernhard Liebl
2017-11-27Some improvements to file/dir open/save dialogs:Dmitry Koteroff
1. Removed "..", instead you now will see "Select Current Folder" and "Select this Folder" buttons. 2. Added "go to parent folder" (^) button to Save a File dialog. 3. Tree.cpp: "nothing_selected" signal has been re-made (previous implementation, merged in #13308, wasn't optimal in context of performance) 4. Fixed issue in Project Export dialog: MODE_SAVE_FILE wasn't set when you click "Export". 5. Now you can deselect items by clicking on empty space in Open a Directory dialog.
2017-11-26Scene Tree Dock: added ability to deselect items when clicking on empty spaceDmitry Koteroff
2017-11-21Native pan and zoom for macOSBernhard Liebl
2017-11-17Allow exporting enums from GDScriptBojidar Marinov
Use as `export(E) ...` Closes #12392
2017-11-04In Create New Node, always select and show best (shortest) matchBernhard Liebl
2017-10-24Fix margin with tree drawingJakob Sinclair
Fixes @akien-mga point brought up in #12352 Signed-off-by: Jakob Sinclair <sinclair.jakob@mailbox.org>
2017-10-11Stop move_to_bottom losing references to treeitemsMillionOstrich
2017-10-02Merge pull request #11659 from AndreaCatania/prephysicsAndreas Haas
Renamed fixed_process to physics_process
2017-09-30Renamed fixed_process to physics_processAndreaCatania
2017-09-28Several visual improvements.Daniel J. Ramirez
Added proper label sizing Improved text editor status bar Fixed some issues with ItemList and also some style fixes Added background to color picker samples (the mrcdk fix) Fixed slider ticks. Added VS breakpoint and error styleboxes.
2017-09-25Merge pull request #11541 from Paulb23/tree_arrow_goto_parentRémi Verschelde
Goto to parent on left arrow in tree with single column [ci skip]
2017-09-24Goto to parent on left arrow in tree with single columnPaulb23
2017-09-20Rename pos to position in user facing methods and variablesletheed
Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
2017-09-16Added Left / Right arrow navigation in tree, issue 10737Paulb23
2017-09-15Merge pull request #11230 from maxim-sheronov/fix_enum_bindingsThomas Herzog
Fix enums bindings
2017-09-13Fix enums bindingsMaxim Sheronov
Add missed bindings for enums Move some enums to class to have correct output of api.json
2017-09-13Merge pull request #10995 from GodotExplorer/pr-treeRémi Verschelde
Add custom minumus height to TreeItem
2017-09-12Merge pull request #10908 from hpvb/fix-unused-variablesRémi Verschelde
Fix unused variable warnings
2017-09-08Fix unused variable warningsHein-Pieter van Braam
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08Fix various assorted warningsHein-Pieter van Braam
Fix various warnings that don't have enough instances to merit individual commits. Also fixes a potential bug in audio_server.cpp.
2017-09-05Add custom minumus height to TreeItemGeequlim
And expose the method `get_drop_section_at_pos` of Tree
2017-09-03LineEdit in Tree is aligned vertical centervolzhs
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-27Merge pull request #10591 from Rubonnek/possible-null-ptr-dereferenceRémi Verschelde
Added/Fixed null pointer checks