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
Rémi Verschelde
47f00925dc
Merge pull request #28454 from homer666/popup-centered-maxsize
...
Add `popup_centered_clamped()` method to Popup
2019-05-28 11:36:41 +02:00
Rémi Verschelde
378ddde5e3
Merge pull request #25720 from qarmin/fix_hide_search_project_settings
...
Clear SearchBox when unclick SearchButton
2019-04-30 13:49:01 +02:00
Rémi Verschelde
36d4f86ed9
Merge pull request #27707 from Calinou/tweak-message-wording
...
Improve wording of various messages and make casing more consistent
2019-04-30 11:10:36 +02:00
homer666
80e9e93e27
Add Popup::popup_centered_clamped method
...
- Also replace redundant duplicate code in editor dialogs with calls to popup_centered_clamped()
2019-04-30 05:35:43 +10:00
Hugo Locurcio
35a0162167
Improve wording of various messages and make casing more consistent
...
This also adds the number of selected projects to the confirmation
dialog that appears before removing projects.
2019-04-21 14:37:14 +02:00
Rémi Verschelde
c8994b56f9
Style: Apply new changes from clang-format 8.0
...
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).
2019-04-09 17:09:48 +02:00
Hugo Locurcio
cca1fab1c4
Use the "warning" color for the "restart required" label
...
This makes the color match the warning icon placed besides the label.
2019-03-25 14:04:31 +01:00
Bojidar Marinov
699a3957ce
Fix renaming actions in the Project settings
...
Fixes #27113 , a regression from 6daed7d122
2019-03-16 16:28:03 +02:00
marxin
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
qarmin
a0fb4f2b5d
Clearch SearchBox when unclick SearchButton
2019-02-08 23:59:51 +01:00
Juan Linietsky
5bd3f72878
Properly warn about the effects of changing an import type, as well as force editor restart. Fixes #23874
2019-01-25 17:23:56 -03:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Michael Alexsander Silva Dias
63dc20a827
Move "Dialog Bounds" from the Editor Settings to project's metadata
2018-12-04 13:55:24 -02:00
Rémi Verschelde
8f33542ac3
ProjectSettings: Fix InputMap editor on HiDPI
...
Fixes #20898 .
2018-09-14 18:11:55 +02:00
Rémi Verschelde
45b609f46a
Replace last occurrences of PropertyEditor by EditorInspector
...
Updates the following plugins:
- ConnectionsDialog
- ScriptEditorDebugger
- ItemListEditorPlugin
Also drop now unnecessary compatibility methods.
2018-09-11 16:09:19 +02:00
Rémi Verschelde
52466d57e9
Make some debug prints verbose-only, remove others
2018-08-24 14:59:01 +02:00
elasota
35f6ba5c5d
BPTC support
2018-08-21 22:56:04 -04:00
Rémi Verschelde
2f20836e52
Merge pull request #19837 from willnationsdev/plugin-utilities
...
Add PluginConfigDialog.
2018-08-15 11:42:51 +02:00
Rémi Verschelde
62f3de6c86
Merge pull request #20747 from hpvb/fix-20184
...
Do not call _update_actions when only changing deadzone
2018-08-14 10:00:01 +02:00
Łukasz Rutkowski
81fb81de9d
Do not use theme to set LineEdit right_icon
2018-08-11 12:04:26 +02:00
Łukasz Rutkowski
e8a435c8cd
Add clear text button to LineEdit
...
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
2018-08-11 12:04:26 +02:00
Hein-Pieter van Braam
7db66fea39
Do not call _update_actions when only changing deadzone
...
Because changing the deadzone with a click happens during
_propagate_mouse_event the tree is always blocked leading to a crash. We
don't actually need to update actions here anyway.
This fixes #20184
2018-08-05 22:22:16 +02:00
Will Nations
ff604414a4
Add PluginConfigDialog, EditorPluginSettings GUI
2018-07-26 10:12:05 -05:00
Hein-Pieter van Braam
0e29f7974b
Reduce unnecessary COW on Vector by make writing explicit
...
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-26 00:54:16 +02:00
Juan Linietsky
c69de2ba46
-Project/Editor settings now use new inspector
...
-Project/Editor settings now show tooltips properly
-Settings thar require restart now will show a restart warning
-Video driver is now visible all the time, can be changed easily
-Added function to request current video driver
2018-07-19 19:02:04 -03:00
Max Hilbrunner
abfa4b822b
Merge pull request #18717 from Essojadojef/fix-inputmap-categories
...
Fix all Input Map actions expand when an event is modified
2018-07-17 16:14:10 +02:00
unknown
9cc41a59ac
Added support for extra mouse buttons.
2018-07-09 14:34:19 +03:00
Chaosus
a28494c962
Fix button regression
2018-07-03 20:44:18 +03:00
Max Hilbrunner
24ce1ace13
Merge pull request #19244 from Chaosus/settingsperformance_and_colordeferred
...
Increases settings apply speed and added deferred color setting to ColorPicker
2018-07-03 17:01:23 +02:00
Gilles Roudiere
6daed7d122
Move the deadzone to a column in the input project settings
2018-06-08 20:04:32 +02:00
Rémi Verschelde
6bc9ac9cc3
i18n: Sync translation templates with current source
...
(cherry picked from commit 74808e71d2
)
2018-06-05 22:41:34 +02:00
Chaosus
cf38270ef7
Increase settings apply speed and added deferred color apply
2018-05-31 11:33:36 +03:00
Juan Linietsky
005b69cf6e
-New inspector.
...
-Changed UI resizing code, gained huge amount of speed.
-Reorganized timer sync to clean up behavior (sorry forgot commit this before)
-
2018-05-15 17:14:31 -03:00
Alessandro
4966bb5c67
Fix actions unfold in Input Map when events are modified
2018-05-08 18:38:14 +02:00
Juan Linietsky
b89e354ce6
Merge pull request #18610 from homer666/editor-popup-adjustments
...
Adjust default editor dialog window sizes
2018-05-07 12:09:49 -03:00
homer666
7ff3b52dea
Adjust default editor popup sizes
2018-05-05 12:09:56 +10:00
Michael Alexsander Silva Dias
5b0ddb1354
Small changes for some strings.
2018-05-03 18:07:18 -03:00
Hugo Locurcio
1c419531a0
Change ".." punctuation for "..." in editor strings ( #16507 )
2018-04-22 19:36:01 +02:00
Gilles Roudiere
7e89dc432c
Fixes left/up axis not mappable as actions
2018-04-18 21:38:52 +02:00
Gilles Roudiere
ebfa731012
Allow actions to provide an analog value
2018-04-16 23:20:43 +02:00
Nibodhika
1e28f63bcf
Allows to map an action to all devices.
...
This is accomplished by setting a special value (-1) to the device variable
in the InputEvent that's being used to compare with the one received from the OS.
This special value is invalid for a regular input, so it should be safe.
Implements #17942
2018-04-07 20:08:09 +00:00
robfram
da6c07698f
Fix non-valid characters for `input_action`
...
Add a new function to check action names, `_validate_action_name`, in
the spirit of `_valprop`. Offending characters include non-printable
ascii, and `\/=:"`. Also set only one text for the UI message.
2018-03-17 15:32:44 +01:00
Rémi Verschelde
535205196f
Merge pull request #17013 from Noshyaar/theme
...
Update icons when theme changed
2018-03-13 13:48:37 +01:00
robfram
ea94a82596
Fix non working action names containing whitespaces
...
Now the action name is quoted if it contains spaces. Also, quotation
mark (") is added to the forbidden character list for action names, as
it was also a bug.
Fix #17322
2018-03-12 21:28:41 +01:00
Poommetee Ketson
2de1dfa42f
Update icons when theme changed
2018-02-25 23:04:16 +07:00
Paolo Perkovic
e7b98119df
Fix UX with project settings search functionality
2018-02-02 17:38:45 +01:00
Andreas Haas
d664d6e634
ProjectSettings: Disallow adding properties without name.
2018-01-30 20:25:14 +01:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
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-05 01:22:23 +01:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Michael Alexsander Silva Dias
e86454fb38
Fixes and modifications for some dialogs.
2017-12-21 15:26:46 -02:00
Ray Koopa
0d04f212a3
Clean up setting dialogues a bit.
2017-12-17 18:39:36 +01:00
Poommetee Ketson
24df9f3707
Enhance undoredo action name, TTR, cleanup
2017-12-12 23:04:37 +07:00
Michael Alexsander Silva Dias
f482ed0853
Removed style override inside the Localization tab in the Project Settings.
2017-12-07 21:49:44 -02:00
Juan Linietsky
30dadb1228
Merge pull request #11933 from cxong/master
...
Use "Command" instead of "Meta" for macOS (#1619 )
2017-11-21 14:25:09 -03:00
Rémi Verschelde
faf097d350
Merge pull request #12895 from volzhs/better-ttr-format
...
Better TTR format
2017-11-13 12:46:39 +01:00
volzhs
2e7345c00f
Better TTR format
2017-11-13 20:37:28 +09:00
Andreas Haas
b3cef1b61e
Merge pull request #12829 from ianb96/project_settings_fix
...
Project Settings Crash fix
2017-11-11 21:03:05 +01:00
Ian
e09d76e67d
fix #12769 project settings crash
2017-11-10 21:24:57 -05:00
William McKIE
fd01e7d89e
Replace Del icon by Remove icon
...
It would seem there are editors that still used the old del icon
inherited from 2.X instead of the fresh remove icon from 3.X
resulting to be replaced to an "Error" textual icon.
2017-11-10 21:57:39 +01:00
bncastle
a7feec3992
Clear text when a new action is added Project Settings Input Map
...
When editing the Input Map under Project Settings:
Clear the action name the 'Add' button is clicked and the action is
successfully added.
2017-10-31 12:59:30 -04:00
Poommetee Ketson
9449a34f4f
ProjectSettings: show error msg in a label instead
2017-10-28 09:35:09 +07:00
DimOkGamer
509f6f81ad
Added the ability to filter the list of locales in the Remap tab.
2017-10-24 01:07:40 +03:00
DimOkGamer
b137bfd7ff
Fix deleting localization remap option.
2017-10-15 04:43:02 +03:00
Cong
524ffc9712
Use "Command" for OSX in translation strings ( #1619 )
2017-10-13 20:12:58 +11:00
Juan Linietsky
3d87b70f7a
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
2017-10-05 15:34:34 -03:00
Juan Linietsky
3cadecf17b
fixed the OS.has_feature() API, and added support for 32 and 64.
2017-10-03 17:36:14 -03:00
Gilles Roudiere
6f185cc9f7
Remove unecessary anchors&margins set causing bad display (sons of containers)
2017-09-27 00:38:28 +02:00
Gilles Roudiere
05bb8e0c10
Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
2017-09-22 11:39:44 +02:00
Juan Linietsky
c771e03ee2
-Fixed changes to default input actions not working, closes #10502
...
-Added Array.duplicate() method, needed to fix above
2017-09-06 18:14:04 -03:00
Rémi Verschelde
4405de570d
Merge pull request #10874 from Noshyaar/pr-action
...
ProjectSettings: enhance add action error, fix confirm dialog
2017-09-04 23:30:45 +02:00
Poommetee Ketson
3d13b9ff5f
ProjectSettings: enhance add action error, fix confirm dialog
...
- Disable add action button if name is invalid
- Fix dialog being ConfirmationDialog instead of AcceptDialog
2017-09-04 14:00:53 +07:00
Juan Linietsky
281fb4e4fb
Added transmission shader parameter.
2017-09-03 10:30:37 -03:00
Poommetee Ketson
459f526119
Fix typos 'a' and 'an'
2017-09-02 21:19:06 +07:00
Poommetee Ketson
ed606ded52
Fix files header
2017-09-01 21:07:55 +07:00
Rémi Verschelde
d664469ec7
Fix inability to change project settings
...
Regression from 565600e844
, fixes #10712 .
2017-08-28 18:15:46 +02:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Rémi Verschelde
565600e844
Cleanup tons of obsolete commented out code
...
Mostly in EditorNode, dropping some obsolete editor plugins and also a
cleanup of ProjectSettings/EditorSettings.
2017-08-26 17:47:57 +02:00
Poommetee Ketson
e705236ad6
Fix typo 'an setting' to 'a setting'
2017-08-26 17:57:32 +07:00
Andreas Haas
6134d8741d
Editor: Add some more translatable strings.
2017-08-25 18:49:45 +02:00
Hein-Pieter van Braam
cacced7e50
Convert Object::cast_to() to the static version
...
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.
This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.
It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
Daniel J. Ramirez
273d2ab9d4
Several ui improvements (mostly margins)
...
Improved colors
Added some missing icons
2017-08-08 11:44:37 -05:00
Daniel J. Ramirez
cd8feed0df
Some theme and usability improvements
...
Fixed create script editor dialog not changing extension
Options menu for inspector element is bigger
2017-07-31 13:19:45 -05:00
Juan Linietsky
25678b1876
-Renamed GlobalConfig to ProjectSettings, makes more sense.
...
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00