summaryrefslogtreecommitdiffstats
path: root/editor/project_settings_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-48/+96
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: Enforce separation line between function definitionsRémi Verschelde2020-05-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027.
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-98/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Update game controller enums.Marcel Admiraal2020-05-131-36/+47
|
* Style: clang-format: Disable AllowShortCaseLabelsOnASingleLineRémi Verschelde2020-05-101-6/+17
| | | | Part of #33027.
* Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde2020-05-101-3/+6
| | | | | | | Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
* Implement global and per instance shader uniforms.Juan Linietsky2020-04-171-0/+5
| | | | | | | | Adds two keywords to shader language for uniforms: -'global' -'instance' This allows them to reference values outside the material.
* Replace NULL with nullptrlupoDharkael2020-04-021-7/+7
|
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-35/+35
|
* Working multiple window support, including editorJuan Linietsky2020-03-261-70/+75
|
* Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky2020-03-261-1/+1
|
* prevent joypad button input dropdown going out of dialogalvaroHernandez2020-03-161-0/+2
|
* Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodesRémi Verschelde2020-03-011-10/+45
|\ | | | | Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
| * Rename `scancode` to `keycode`.bruvzg2020-02-251-10/+45
| | | | | | | | | | Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap. Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
* | Signals: Fix signals error prints for the new signal systemMateo Dev .592020-02-281-1/+2
| |
* | Signals: Manually port most of remaining connect_compat usesRémi Verschelde2020-02-281-1/+1
| | | | | | | | | | | | | | | | It's tedious work... Some can't be ported as they depend on private or protected methods of different classes, which is not supported by callable_mp (even if it's a class inherited by the current one).
* | Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-78/+37
|/ | | | | | | | | Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-39/+39
| | | | objects and made them default.
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-8/+8
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Improve icons in the Input Map editorHugo Locurcio2020-02-051-13/+25
| | | | | | | | | | - Add a disabled icon for built-in inputs with a tooltip explaining why they can't be removed. This also makes the Add button's horizontal position consistent between built-in and custom inputs. - Fade out input event icons slightly to make them easier to distinguish from action icons. - Remove unnecessary punctuation from mouse button and joypad event descriptions.
* 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.
* Cleans up headers included in editor_node.hHaoyu Qiu2019-12-241-0/+2
|
* Disable ok button if no key is selected when adding event to an actionGilles Roudière2019-11-131-0/+3
|
* Merge pull request #32527 from OsamaElHariri/fix_locale_filterRémi Verschelde2019-11-071-7/+12
|\ | | | | Fix locale filter in project settings editor
| * Fix locale filter in project settings editorOsama El Hariri2019-10-031-7/+12
| |
* | Fix key names being wrongly capitalized in the input map editorHugo Locurcio2019-11-041-18/+2
| | | | | | | | | | | | | | This also fixes the prompt in the editor shortcuts dialog while removing duplicated code. This closes #33305.
* | Fix off-by-one error in the Project Settings type dropdownHugo Locurcio2019-10-251-3/+4
| | | | | | | | This closes #33075.
* | Small fixes to redundand code, copy paste bugsqarmin2019-10-141-0/+2
| |
* | Allow all Variant types to be added as project settingsHugo Locurcio2019-10-071-11/+8
| |
* | Focus the search box when pressing Ctrl+F in Project/Editor SettingsHugo Locurcio2019-10-061-0/+23
|/
* Fix crash when moving an action into itself in the Input Map editorMichael Alexsander Silva Dias2019-09-271-1/+1
|
* Merge pull request #31970 from HaSa1002/i18nRémi Verschelde2019-09-241-1/+1
|\ | | | | Fixed out of range crash on remapping files for translation
| * Fix out of range crash on remapping filesHaSa10022019-09-041-1/+1
| |
* | Add some missing feature tags to the "Override For..." menuHugo Locurcio2019-09-231-0/+4
| | | | | | | | This closes https://github.com/godotengine/godot-docs/issues/2782.
* | Merge pull request #31061 from Abstract-Everything/input-actions-reorder-uiRémi Verschelde2019-09-231-0/+84
|\ \ | | | | | | Input actions can be reordered by drag and drop.
| * | Input actions can be reordered by drag and drop.J-Camilleri2019-09-051-0/+84
| | |
* | | Fix right click crash in Locales FilterlupoDharkael2019-09-101-1/+1
| |/ |/|
* | Merge pull request #25353 from azagaya/masterRémi Verschelde2019-08-301-0/+1
|\ \ | |/ |/| Use also invisible tabs to calculate minimum size of tab container
| * Make tab containers in editor, project settings, and export dialog, to use ↵azagaya2019-08-301-2/+5
| | | | | | | | hidden tabs for min size computation.
* | 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
| | |
* | | Added DualShock Equivalents to Joypad Button 10 and 11Daniel Larson2019-07-151-2/+2
|/ /
* | Merge pull request #30126 from qarmin/remove_unnecessary_codeRémi Verschelde2019-07-011-2/+2
|\ \ | | | | | | Remove unnecessary code and add some error explanations
| * | Remove unnecessary code and add some error explanationsqarmin2019-07-011-2/+2
| | |
* | | Tweak gamepad button names to be consistent with the documentationHugo Locurcio2019-07-011-4/+4
|/ /
* | Some code changed with Clang-Tidyqarmin2019-06-261-1/+1
| |
* | Merge pull request #28454 from homer666/popup-centered-maxsizeRémi Verschelde2019-05-281-8/+2
|\ \ | | | | | | Add `popup_centered_clamped()` method to Popup
| * | Add Popup::popup_centered_clamped methodhomer6662019-04-301-8/+2
| | | | | | | | | | | | - Also replace redundant duplicate code in editor dialogs with calls to popup_centered_clamped()
* | | Merge pull request #25720 from qarmin/fix_hide_search_project_settingsRémi Verschelde2019-04-301-0/+1
|\ \ \ | | | | | | | | Clear SearchBox when unclick SearchButton
| * | | Clearch SearchBox when unclick SearchButtonqarmin2019-02-081-0/+1
| | |/ | |/|