Rémi Verschelde
c938104a88
Merge pull request #56630 from Pineapple/replace-find-last
2022-01-18 16:36:52 +01:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Bartłomiej T. Listwon
22750b1c03
Replace String::find_last with rfind where possible (backward compatible with old API)
2022-01-08 22:40:44 +01:00
Michael Alexsander
d00e183512
Fix undo/redo operations in Input Map
2021-12-24 12:17:34 -03:00
kobewi
24c52f8d67
Improve language lists in localization editor
...
(cherry picked from commit 30df260810
)
2021-12-01 14:23:08 +01:00
Hugo Locurcio
f769e9a864
List Physical Key before Key in the action map input editor
...
Physical Key should be used for most game inputs as it allows
keys to work on non-QWERTY layouts out of the box.
This is especially important for WASD movement layouts.
In contrast, remapped (non-physical) keys are mainly useful in
non-game applications, where shortcuts are expected to match a
precise letter rather than a location on the keyboard.
2021-10-12 11:57:08 +02:00
Marcel Admiraal
18825ad4ff
Fix game controllers ignoring the last listed button
2021-06-03 15:45:05 +01:00
Rémi Verschelde
eb78f80f03
Fix typos with codespell
...
Using codespell 2.0.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2021-05-20 12:56:56 +02:00
bruvzg
dab4cf3ed6
Add `physical_scancode` (keyboard layout independent keycodes) to InputEventKey and InputMap.
...
Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
2021-05-06 23:19:45 +03:00
Hugo Locurcio
35887a2afe
Allow selecting multiple files in the editor translation/remap dialogs
...
This makes it faster to add several translations.
The undo/redo messages were also tweaked to give better context.
2021-05-06 03:02:15 +02:00
Rémi Verschelde
140350d767
Style: Enforce braces around if blocks and loops
...
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2021-05-05 15:02:01 +02:00
Rémi Verschelde
a828398655
Style: Replaces uses of 0/NULL by nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2021-05-04 16:30:23 +02:00
Rémi Verschelde
b5e1e05ef2
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
2021-05-04 14:45:16 +02:00
Rémi Verschelde
64a63e0861
Style: clang-format: Disable AllowShortCaseLabelsOnASingleLine
2021-05-04 14:45:15 +02:00
Rémi Verschelde
3d15f04668
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
2021-05-04 14:45:15 +02:00
kleonc
7a776d68b6
ProjectSettingsEditor: Make "Type" OptionButton item ids match corresponding Variant::Type enum values.
...
(cherry picked from commit f8f12d0564
)
2021-04-20 20:12:52 +02:00
Danil Alexeev
72e8697d8c
Merge Category and Property fields in the Project Settings
...
Closes godotengine/godot-proposals#1545 .
2021-03-02 19:39:46 +03:00
kobewi
ad204f9b95
Save ProjectSettings on editor restart
...
(cherry picked from commit 59e1c007a7
)
2021-02-26 15:24:19 +01:00
Michael Alexsander
95191b9826
Backport the Import Defaults Editor
2021-02-24 17:50:42 -03:00
Marcel Admiraal
3dd57a22df
Add support for new SDL gamecontroller keywords.
2021-02-07 16:41:23 +00:00
Hugo Locurcio
952a089551
Don't allow adding Objects to the project settings
...
Godot doesn't support serializing objects.
This closes #33667 .
(cherry picked from commit 7b84f4fc31
)
2021-01-13 16:17:08 +01:00
Rémi Verschelde
49646383f1
Update copyright statements to 2021
...
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
(cherry picked from commit b5334d14f7
)
2021-01-13 16:17:06 +01:00
Michael Alexsander
d949b042a7
Add placeholders to the searchbars in the Project/Editor settings
...
(cherry picked from commit 626d9d5ae4
)
2020-09-24 14:43:10 +02:00
alvaroHernandez
bce2a3a2d2
prevent joypad button input dropdown going out of dialog
...
(cherry picked from commit e47d5691e4
)
2020-03-25 11:38:53 +01:00
Rémi Verschelde
a7f49ac9a1
Update copyright statements to 2020
...
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.
2020-01-01 11:16:22 +01:00
Haoyu Qiu
078c0d75f2
Cleans up headers included in editor_node.h
2019-12-24 21:46:05 +08:00
Gilles Roudière
0287baf078
Disable ok button if no key is selected when adding event to an action
2019-11-13 22:37:06 +01:00
Rémi Verschelde
bcb6a99154
Merge pull request #32527 from OsamaElHariri/fix_locale_filter
...
Fix locale filter in project settings editor
2019-11-07 13:06:17 +01:00
Hugo Locurcio
b14e391792
Fix key names being wrongly capitalized in the input map editor
...
This also fixes the prompt in the editor shortcuts dialog
while removing duplicated code.
This closes #33305 .
2019-11-04 15:23:28 +01:00
Hugo Locurcio
929d8dd20c
Fix off-by-one error in the Project Settings type dropdown
...
This closes #33075 .
2019-10-25 23:58:21 +02:00
qarmin
616ab4fac2
Small fixes to redundand code, copy paste bugs
2019-10-14 11:40:55 +02:00
Hugo Locurcio
753eff2f68
Allow all Variant types to be added as project settings
2019-10-07 17:17:13 +02:00
Hugo Locurcio
724b9bc0ce
Focus the search box when pressing Ctrl+F in Project/Editor Settings
2019-10-06 17:56:34 +02:00
Osama El Hariri
b2d8b213f7
Fix locale filter in project settings editor
2019-10-03 21:17:35 +03:00
Michael Alexsander Silva Dias
4e9df13a40
Fix crash when moving an action into itself in the Input Map editor
2019-09-27 22:12:35 -03:00
Rémi Verschelde
fd3c825034
Merge pull request #31970 from HaSa1002/i18n
...
Fixed out of range crash on remapping files for translation
2019-09-24 10:07:20 +02:00
Hugo Locurcio
364dfa8d28
Add some missing feature tags to the "Override For..." menu
...
This closes https://github.com/godotengine/godot-docs/issues/2782 .
2019-09-23 15:13:50 +02:00
Rémi Verschelde
0490fc9ce3
Merge pull request #31061 from Abstract-Everything/input-actions-reorder-ui
...
Input actions can be reordered by drag and drop.
2019-09-23 08:10:17 +02:00
lupoDharkael
d9b34d2a3d
Fix right click crash in Locales Filter
2019-09-10 21:25:42 +02:00
J-Camilleri
892adf733c
Input actions can be reordered by drag and drop.
2019-09-05 13:59:17 +02:00
HaSa1002
bbcf26b7bf
Fix out of range crash on remapping files
2019-09-04 19:48:32 +02:00
Rémi Verschelde
ca652bbc47
Merge pull request #25353 from azagaya/master
...
Use also invisible tabs to calculate minimum size of tab container
2019-08-30 13:58:37 +02:00
azagaya
fa6f86b886
Make tab containers in editor, project settings, and export dialog, to use hidden tabs for min size computation.
2019-08-30 08:33:32 -03:00
Rémi Verschelde
d15cf7b672
Merge pull request #30576 from qarmin/lgtm_coverage
...
Changed some code reported by LGTM and Coverity
2019-07-20 12:00:13 +02:00
qarmin
6cbaf7662f
Changed some code showed in LGTM and Coverage
2019-07-20 08:09:57 +02:00
Daniel Larson
ba6fbe5fa7
Added DualShock Equivalents to Joypad Button 10 and 11
2019-07-15 11:56:41 -05:00
Rémi Verschelde
b0ce9401ff
Merge pull request #30126 from qarmin/remove_unnecessary_code
...
Remove unnecessary code and add some error explanations
2019-07-01 14:32:04 +02:00
qarmin
3c154eb93b
Remove unnecessary code and add some error explanations
2019-07-01 12:59:42 +02:00
Hugo Locurcio
310b03d97e
Tweak gamepad button names to be consistent with the documentation
2019-07-01 12:18:59 +02:00
qarmin
4e5310cc60
Some code changed with Clang-Tidy
2019-06-26 15:08:25 +02:00