Commit graph

1054 commits

Author SHA1 Message Date
Bojidar Marinov
7b7c7c8dc0
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
Closes #7695
2017-08-06 16:26:07 +03:00
Juan Linietsky
435bedd9ef Merge pull request #10116 from neikeq/prop_method_ambiguities
Renames properties and methods to avoid ambiguities
2017-08-05 17:55:43 -03:00
Ignacio Etcheverry
e82270e8d0 Renames properties and methods to avoid ambiguities
- Method Node2D.scale(Vector2) renamed to Node2D.apply_scale(Vector2)
- Property BaseButton.is_pressed renamed to BaseButton.pressed
2017-08-05 22:52:58 +02:00
Jakub Grzesik
63ddad98f5 'tab_changed' signal after using 'set_current_tab'
closes #10051
2017-08-05 17:56:00 +02:00
Rémi Verschelde
c936e9946e Merge pull request #10046 from Hinsbart/script_open_resource
ScriptEditor: ctrl+click can open scenes & resources.
2017-08-03 13:37:25 +02:00
Andreas Haas
aef974e7a8
ItemList: Remove redundant Vector2 initializations. 2017-08-02 21:49:06 +02:00
Andreas Haas
708ddb05af
ScriptEditor: ctrl+click can open scenes/resources.
Closes #9654
2017-08-02 19:23:57 +02:00
Rémi Verschelde
6dd1cdc9db Merge pull request #10027 from Noshyaar/pr-tree
Tree: fix index error with expanded column
2017-08-01 22:28:56 +02:00
Rémi Verschelde
64b47574af Merge pull request #10021 from Noshyaar/pr-mb
MenuButton: defer grab_click_focus until button_up
2017-08-01 22:28:28 +02:00
Rémi Verschelde
7aa802e770 Merge pull request #10019 from Paulb23/ctrl_backspace_issue_6546
Made delete next and prev consistent to other editors, issue 6546
2017-08-01 22:27:35 +02:00
Poommetee Ketson
bff9518483 Tree: fix index error with expanded column 2017-08-02 03:12:02 +07:00
Poommetee Ketson
49ec6c4380 MenuButton: defer grab_click_focus until button_up 2017-08-02 00:43:25 +07:00
Paulb23
0018894456 made delete next and prev consistent to other editors,issue 6546 2017-08-01 18:40:43 +01:00
Rémi Verschelde
85088275c5 Merge pull request #8209 from robertdhernandez/Texture-Region-Editor-Sync
Texture region now updates when changing an Atlas region rect
2017-08-01 00:15:37 +02:00
Geequlim
0b11062d93 Fix property type expose of Control.stretch_ratio.
Fix set integer value from inspector to round instead of floor.
2017-07-31 14:15:38 +08:00
Rémi Verschelde
1b5a6a800c Merge pull request #9937 from AlexHolly/tabs-add-tab-defaults
fix missing DEFVAL
2017-07-28 11:16:08 +02:00
AlexHolly
4062456c41 fix missing DEFVAL 2017-07-28 04:00:03 +02:00
Daniel J. Ramirez
707bb96fa8 Do not allow multiple data connections to the same data input slot, fixes #6357.Improved curve rendering when nodes are close. 2017-07-27 16:39:53 -05:00
Geequlim
407c082810 Fix the resize mode of TextureButton cannot be saved into resource files. 2017-07-26 13:39:14 +08:00
Poommetee Ketson
f471afa4a5 Label: update min size when regenerate wordcache 2017-07-25 17:06:16 +07:00
Rémi Verschelde
bf8119f966 Merge pull request #9746 from Noshyaar/label
Label: add auto_height
2017-07-24 23:05:05 +02:00
Rémi Verschelde
374cffaa11 Merge pull request #9764 from Noshyaar/pr-fix2
Add object type hint for docs
2017-07-24 08:07:32 +02:00
Poommetee Ketson
2777f81d29 Add object type hint for docs 2017-07-23 18:57:03 +07:00
Rémi Verschelde
537cd79fc8 Merge pull request #9773 from Noshyaar/pr-tabs
Tabs: expose tab_close_display_policy property
2017-07-23 13:13:53 +02:00
Rémi Verschelde
e3aa9b5191 Merge pull request #9706 from djrm/theme_fixes
Icons can now be added inside line edits (Search icon).
2017-07-23 13:03:53 +02:00
Poommetee Ketson
3ec47b4c6e Tabs: expose tab_close_display_policy property 2017-07-23 16:12:19 +07:00
Rémi Verschelde
f0ab3283c0 Merge pull request #9749 from kubecz3k/animtree-slider-fix
AnimationTree nodes sliders fixes
2017-07-22 13:46:36 +02:00
Jakub Grzesik
0fc4b04f51 AnimationTree nodes sliders fixes 2017-07-21 13:57:46 +02:00
Poommetee Ketson
85bade0c85 Label: add auto_height 2017-07-21 17:20:19 +07:00
Poommetee Ketson
47c4777ccf Enhanched About dialog, Add ItemList auto_height
Add set/has_auto_height for ItemList to automatically set minimum
size by content.
Add hash to About dialog.
Resize About dialog so that dev list appears in 3 columns.
2017-07-21 14:18:40 +07: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
Daniel J. Ramirez
95f55c8f0d Icons can now be added inside line edits (Search icon).
Fixed window title bar margins.

fixed compilation error
2017-07-19 13:23:16 -05:00
Rémi Verschelde
c5ba9d9b7c Merge pull request #9703 from Noshyaar/docs
Add object type hint for docs
2017-07-19 10:00:20 +02:00
Poommetee Ketson
49c7620326 Add object type hint for docs 2017-07-19 02:03:34 +07:00
Rémi Verschelde
9cf72d0ae1 Merge pull request #9700 from djrm/button_fixes
Fixed button flat behavior when not in normal state.
2017-07-18 18:14:23 +02:00
Rémi Verschelde
1bed4c6783 Merge pull request #9629 from kubecz3k/tabs-addons
Tabs enhancements: get_tab_rect(), move_tab()
2017-07-18 18:12:26 +02:00
Daniel J. Ramirez
337c1238b9 Fixed button flat behavior when not in normal state.
Also changed some buttons to flat mode
2017-07-18 11:03:06 -05:00
Jakub Grzesik
b5de36b29d Tabs enhancements: get_tab_rect(), move_tab_from_to()
exposed: get_tab_rect(tab_idx)
new and exposed: move_tab_from_to(idx_from, idx_to)
2017-07-18 17:57:02 +02:00
Rémi Verschelde
0afa77a8a2 Merge pull request #9689 from djrm/theme_fixes
Added separators using StyleBoxLine, some theme style fixes
2017-07-18 14:06:04 +02:00
Rémi Verschelde
e21ea393ea Merge pull request #9688 from djrm/slider_fix
Fixed slider centering when using SIZE_EXPAND_FILL.
2017-07-18 14:05:54 +02:00
Daniel J. Ramirez
79d85b7ff6 Fixed slider centering when using SIZE_EXPAND_FILL. 2017-07-18 01:50:01 -05:00
Daniel J. Ramirez
17c3422431 Added separators using StyleBoxLine, some theme style fixes, added variant icon 2017-07-18 01:09:19 -05:00
Rémi Verschelde
5a42bbaace Merge pull request #9482 from Noshyaar/pr-ramp
Fix shrunk ColorPickers
2017-07-18 07:52:32 +02:00
Poommetee Ketson
668d00ff2d Fix ColorPicker to use theme constants 2017-07-18 09:43:16 +07:00
Juan Linietsky
69a4ea34c4 Change label so they appear vertically alligned on fill 2017-07-17 22:47:00 -03:00
Rémi Verschelde
2b8342e308 Merge pull request #9652 from djrm/theme_fixes
Improvements and fixes for the default theme.
2017-07-17 22:36:00 +02:00
Poommetee Ketson
9be034a8cd LineEdit: don't undo uneditable LineEdit 2017-07-17 20:00:01 +07:00
Rémi Verschelde
4fe63ed7a3 Merge pull request #9642 from kubecz3k/checkbox-fix
Fix uncheckable checkboxes in RMB menu. closes #9625
2017-07-17 12:05:29 +02:00
Daniel J. Ramirez
a3c2d9a6bd Improvements and fixes for the default theme.
Added customizable border size and window highlight.
2017-07-16 13:23:59 -05:00
Juan Linietsky
2e73be99d8 Lots of work on Audio & Physics engine:
-Added new 3D stream player node
-Added ability for Area to capture sound from streams
-Added small features in physics to be able to properly guess distance to areas for sound
-Fixed 3D CollisionObject so shapes are added the same as in 2D, directly from children
-Fixed KinematicBody API to make it the same as 2D.
2017-07-15 08:32:34 -03:00
Jakub Grzesik
7f31cbda4f Fix uncheckable checkboxes in RMB menu. closes #9625 2017-07-14 10:59:11 +02:00
Rémi Verschelde
0ee47fefbe Merge pull request #9627 from Noshyaar/dialog
AcceptDialog: fix child w/ ANCHOR_END sized wrong until resized
2017-07-13 11:51:46 +02:00
Poommetee Ketson
b5b4abb56d AcceptDialog: fix child w/ ANCHOR_END sized wrong until resized 2017-07-13 15:57:24 +07:00
Poommetee Ketson
e2dd495ff2 Control: save SIZE_FILL size flag property 2017-07-13 13:50:15 +07:00
Rémi Verschelde
a5bb77d523 Merge pull request #9366 from GodotExplorer/pr-ime-position-flow-cursor
IME window follow the input cursor.
2017-07-11 17:07:14 +02:00
ducdetronquito
074801e7a9 [#7212] Fixed missing 'Variant' return values in documentation. 2017-07-11 13:25:51 +02:00
geequlim
7358766ff6 IME window follow the input cursor.
Abstruct set_ime_position to OS class.
Update ime position for LineEdit and TextEdit.
2017-07-11 18:36:20 +08:00
Thomas Herzog
34edac54e3 Merge pull request #9510 from kubecz3k/tab-reposition
ability to reposition scene tabs with drag & drop
2017-07-11 00:11:03 +02:00
Thomas Herzog
e5334fdd29 Merge pull request #9586 from Noshyaar/slider
Slider: add set/is_editable
2017-07-11 00:08:54 +02:00
Thomas Herzog
e2e6c2ba43 Merge pull request #9521 from AlexHolly/control-posi-to-posr
removed floor so that global pos works with scale in control
2017-07-11 00:00:43 +02:00
Poommetee Ketson
0c66078bcb Slider: add set/is_editable 2017-07-11 02:48:55 +07:00
Jakub Grzesik
29c2aabdaf ability to reposition scene tabs with drag & drop 2017-07-10 10:31:15 +02:00
Rémi Verschelde
0bf88e4b38 Merge pull request #9489 from TwistedTwigleg/Additional_functions_for_Label_and_RichTextLabel
Added additional functions to RichTextLabel
2017-07-08 23:53:25 +02:00
alexholly
3b5ac579a9 removed floor so that global pos works with scale 2017-07-08 21:04:04 +02:00
TwistedTwigleg
d649140b9b Added additional functions to RichTextLabel:
* Added set_text function to RichTextLabel
* Added percent_visible attributes and functions to RichTextLabel
This should make switching from Label to RichTextLabel easier.
2017-07-08 14:05:18 -04:00
Juan Linietsky
7c679dd830 More fill modes for containers, closes #9504 2017-07-06 19:06:55 -03:00
Juan Linietsky
bd9d98c172 Ability to set rotation and scaling pivot for controls. 2017-07-06 17:42:44 -03:00
Juan Linietsky
fd9b4ba6e6 -Ability for controls to grow the left/top when anchored. This makes anchoring controls to the right/bottom easier when they are resized. 2017-07-06 13:30:24 -03:00
Poommetee Ketson
3aff102fc3 ItemList: expose methods, in-editor items editing support 2017-07-04 20:12:33 +07:00
Juan Linietsky
2a3e00c8c7 -Many fixes to VisualScript, fixed property names, etc.
-Added ability to set/get a field in GetSet, as well as assignment ops
-Added a Select node
-Fixed update bugs related to variable list and exported properties, closes #9458
2017-06-30 21:35:05 -03:00
Robert Hernandez
f0f407e76e Texture region now updates when changing an Atlas
- Removed atlas_changed signal for AtlasTexture
- Changes are now handled by _notify_change
- Removed unneccesary signal connections
- Texture preview now updates in real-time

Fixed TextureRegionEditor constantly regenerating
2017-06-29 10:49:24 -04:00
Juan Linietsky
db3b05d289 Reworked translation system
-Label and Button reload translation on the fly
-Resources are loaded and reload depending on locale
2017-06-28 17:01:35 -03:00
toger5
b941931c95 tree fix drawing order for header +
- the collapse arrow gets drawn after the background so its not hidden underneath anymore
 - custom_bg_color no offset anymore
2017-06-25 17:12:36 -07:00
Juan Linietsky
760cdbe1a3 -Added folding to property editor, persistent on objects it edits
-Some changes to tree to support this properly
2017-06-25 17:31:22 -03:00
Poommetee Ketson
e3998528e0 BuildSystem: generated files have .gen.extension 2017-06-25 07:55:01 +07:00
Rémi Verschelde
44c7210387 Merge pull request #9249 from Noshyaar/pr-colorpick
ColorPicker: fix DPI, hue & color update issues
2017-06-24 23:02:02 +02:00
geequlim
81afb275eb Add statements for script types of RichTextLabel 2017-06-24 14:18:23 +08:00
Juan Linietsky
3f2cd75c6f Fix shortcuts, make them visible again and work. 2017-06-22 19:57:59 -03:00
Juan Linietsky
f27d2a3355 -Moved NinePatch to shader, saves a ton of draw calls rendering UI
-Implemented missing stretch modes, now tile and tile fit work
2017-06-21 23:37:25 -03:00
Thomas Herzog
86407aebc5 Merge pull request #8407 from Jylhis/popup_item_select_hide
Update PopupMenu hiding
2017-06-20 00:20:21 +02:00
Poommetee Ketson
443e58e88c ColorPicker: fix DPI, hue & color update issues 2017-06-20 04:00:05 +07:00
Mariano Suligoy
f5185e7ba6 Fix ColorPicker's screen pick functionality 2017-06-19 09:23:57 -03:00
Juan Linietsky
b19225bfce -Fix freezes caused by etccomp2, closes #9183
-Normalmaps are now detected and imported as RGTC, both in S3TC and ETC2, this improves their quality.
2017-06-16 21:49:37 -03:00
Rémi Verschelde
3e7bbf2ca3 Merge pull request #9196 from volzhs/scene-tab
Enhance scene tabs
2017-06-16 08:14:45 +02:00
volzhs
fc2fe7ebd1 Enhance scene tabs
- show scene thumbnail on hover
- resize if has many tabs
- show full scene file name with current edited scene
- can be customized EditorSettings > Interface > Scene Tab
- close scene with mouse middle button
2017-06-16 13:21:05 +09:00
remorse107
61feec28cf Color Picker Fixed Appearance
Corrected bug with color picker hue section and with the wrong color array being sent to the 256x256 palette selector.

Color Picker Fixed Appearance and clang Format
2017-06-15 06:32:57 -05:00
Juan Linietsky
c1df35037f get rid of button array 2017-06-14 18:27:44 -03:00
Karroffel
23c5fa8687 renamed occurances of ColorRamp with Gradient
ColorRamp got renamed to Gradient recently, reduz missed some occurances though.
2017-06-14 01:24:04 +02:00
Juan Linietsky
42b2d52c88 Properly adjust the visible editor rect and make limits respected, closes #8328 2017-06-12 16:19:12 -03:00
Juan Linietsky
bcc435094d Restired multithread support in OSX and Windows, should stop the crashes. 2017-06-10 10:15:33 -03:00
Rémi Verschelde
606b4ee9df Merge pull request #9051 from toger5/fixedScriptEditorListSeperation
fixed spacing for script editor script list
2017-06-08 07:34:27 +02:00
toger5
50e5c7f980 fixed overlapping of temp. colors (script editor)
+ added a little bit more spacing to the scripts in the script list.
the temp colors now expand to the vseperation, instead of having the same size than the stylebox
2017-06-07 02:41:08 -07:00
Rémi Verschelde
897d6377b7 Revert "Fix text warp in color blocks with CJK"
This reverts commit cd778e00dc.

That commit introduced regressions for non-CJK languages are discussed
in #8952. Fixes #9078.
2017-06-07 07:38:53 +02:00
Andreas Haas
9e5efa4abd
GraphNode: Remove debug print. 2017-06-06 21:19:55 +02:00
Poommetee Ketson
5fd458e03a Fix build error 2017-06-05 21:19:54 +07:00
Rémi Verschelde
f8d7670e82 Merge pull request #9038 from AlexHolly/rect2-rename-pos
renamed all Rect2.pos to Rect2.position
2017-06-05 15:52:05 +02:00
Juan Linietsky
01198cb896 Removed stupid right arrow to edit resource. Now simply click it.. 2017-06-04 20:35:45 -03:00
alexholly
a3c90b0293 renamed all Rect2.pos to Rect2.position 2017-06-04 02:09:17 +02:00
Andreas Haas
9bc5348961
InputEvent: Renamed "pos" property to "position"
Make the naming consistent with other classes.
2017-06-03 11:26:39 +02:00
Juan Linietsky
bb20f230ad -Added .hdr format support
-Added default environment editor setting
-Added environment created by default in new projects
-Removed default light and ambient from spatial editor, to make the editor more PBR compliant
2017-05-28 21:48:05 -03:00