letheed
482e07af7e
Unify degree members and properties
2017-11-10 12:52:07 +01:00
letheed
ab2647a0d0
Remove deprecated rotation methods
2017-11-10 09:09:30 +01:00
Rémi Verschelde
386ec5d954
Merge pull request #12653 from poke1024/fixdocsclick
...
Fix selection and clicks on text in tables in RichTextLabel
2017-11-06 09:44:31 +01:00
Paulb23
6f6afde0c5
Changed line and word mouse selection
2017-11-05 15:54:00 +00:00
Bernhard Liebl
a7304b0c54
Fix selection and clicks on text in tables in RichTextLabel
2017-11-05 11:38:14 +01:00
Bernhard Liebl
8f204d78fd
In Create New Node, always select and show best (shortest) match
2017-11-04 20:21:41 +01:00
Zher Huei Lee
6ba94cb924
Fixed RichTextLabel::add_newline() #12564
2017-11-02 08:46:28 +08:00
Paulb23
e03a054714
Remove text on enter, issue 12494
2017-10-31 20:42:53 +00:00
Juan Linietsky
a4ea63737c
Ability to shrink 3D viewport by half
2017-10-31 14:23:47 -03:00
Rémi Verschelde
a1ffadb953
Revert "Fixes the selection rect in item_list drawn not clipped"
2017-10-31 10:58:53 +01:00
Rémi Verschelde
5bbc9a7e66
Merge pull request #12268 from AlexHolly/fix-lineedit-selection
...
Fix LineEdit drag selection to the left
2017-10-30 23:31:37 +01:00
Rémi Verschelde
4e753971c3
Merge pull request #12351 from groud/fix_item_list_selection_clipping
...
Fixes the selection rect in item_list drawn not clipped
2017-10-30 23:09:49 +01:00
Rémi Verschelde
4889b80698
Merge pull request #12471 from mhilbrunner/autocomplete
...
Fix get_node() and $ autocompletion when using single quotes
2017-10-30 22:22:46 +01:00
Unknown
7683ff3e42
Fix get_node() and $ autocompletion when using single quotes
2017-10-30 21:58:32 +01:00
sanikoyes
b3f5d119aa
Fix crash when click an empty tabs container
2017-10-30 20:20:51 +08:00
Paulb23
9dddce75d0
Added multi level undo redo to line edit
2017-10-29 23:21:06 +00:00
Jakob Sinclair
708982bee1
Fix margin with tree drawing
...
Fixes @akien-mga point brought up in #12352
Signed-off-by: Jakob Sinclair <sinclair.jakob@mailbox.org>
2017-10-24 21:06:27 +02:00
Gilles Roudiere
37d2b17f88
Fixes the selection rect in item_list drawn not clipped
2017-10-24 10:09:39 +02:00
Indah Sylvia
79dda1350d
Finished transition of Patch9Rect to NinePatchRect
2017-10-24 13:01:45 +07:00
Rémi Verschelde
ad5613ec40
Merge pull request #12310 from Paulb23/toggle_highlight_current_line
...
Added setting to toggle current line highlighting
2017-10-23 23:25:11 +02:00
Paulb23
45670df354
Added setting to toggle current line highlighting
2017-10-22 13:42:08 +01:00
Poommetee Ketson
3a71471edd
FileDialog: enlarge the file list a bit
2017-10-22 09:14:11 +07:00
Rémi Verschelde
d39348151e
Merge pull request #12293 from Paulb23/line_highlighting_fix
...
Fixed current line highlighting, issue 12166
[ci skip]
2017-10-21 23:41:53 +02:00
Paulb23
c594c8001b
Fixed current line highlighting and visual indication of empty selected lines
2017-10-21 21:35:50 +01:00
Poommetee Ketson
9cadb9e5f3
Bind unbound enums, rearrange some by value
2017-10-22 01:58:02 +07:00
Poommetee Ketson
ec12e3b4f9
Merge pull request #12042 from MillionOstrich/treeitem-move-to-bottom
...
Stop move_to_bottom losing references to treeitems
2017-10-21 04:58:11 +07:00
AlexHolly
d46093b974
fix LineEdit drag selection to the left
2017-10-20 22:25:12 +02:00
Rémi Verschelde
0e8db63009
Merge pull request #12084 from santouits/tab_container_bug
...
tab container arrows don't work when a popup was set
[ci skip]
2017-10-20 13:04:25 +02:00
Gilles Roudiere
5e348e72c1
Merge pull request #12159 from RandomShaper/fix-sticky-slider
...
Reset slider mouse state on hiding/removing
2017-10-20 11:48:57 +02:00
AlexHolly
776fbe749c
Itemlist rmb now provides the same pos as Tree rmb
2017-10-18 14:56:38 +02:00
Pedro J. Estébanez
807a84f7c9
Reset slider mouse state on hiding/removing
...
Resetting `grab.active`, but also `mouse_inside` so that after reappearing it must be hovered again -even if the mouse is still over it- in order to get a highlight. That is consistent to the way other controls in the engine, e.g. buttons, work.
Fixes #12130 .
2017-10-16 20:59:25 +02:00
Rémi Verschelde
0c9d201044
Merge pull request #11407 from toger5/selection_override_color
...
added option to keep font color on selection + use consistent selection color in help (fixes : #11501 )
2017-10-15 20:49:38 +02:00
Matt Hughes
3edd3cd377
Fix video playback
...
This adds support to
- VideoPlayer
- VideoStreamWebm
- VideoStreamTheora
2017-10-14 23:20:39 +09:00
santouits
c91c22b1f3
tab container arrows don't work when a popup was set
2017-10-14 11:03:27 +03:00
Daniel J. Ramirez
9001ba26aa
Added and improved some missing icons, plus some other visual fixes.
2017-10-13 16:39:17 -05:00
Grosskopf
5194c03992
turned arround minimum Size for Seperator in reaction to issue #12020
2017-10-12 00:25:56 +02:00
MillionOstrich
8d8a90daef
Stop move_to_bottom losing references to treeitems
2017-10-11 21:35:56 +01:00
Rémi Verschelde
438e32d652
Merge pull request #11941 from Paulb23/members_selected_scroll_issue_11648
...
Consistant scroll when using members overview, issue 11648
2017-10-09 15:19:15 +02:00
Rémi Verschelde
d989479744
Merge pull request #11884 from Noshyaar/pr-fd2
...
FileDialog: fix select index out of range
[ci skip]
2017-10-09 12:45:00 +02:00
Paulb23
b07dfd75ea
Consistant scroll when using members overview, issue 11648
2017-10-08 14:29:27 +01:00
Poommetee Ketson
5e67a3bca7
FileDialog: fix select index out of range
2017-10-06 22:03:12 +07:00
Ruslan Mustakov
61ddf52983
Add NIL_IS_VARIANT usage to few definitions
...
The missing usage flag led to GDNative API descriptions containting
arguments with "void" type.
2017-10-05 18:51:22 +07:00
Gilles Roudiere
b759d1416f
Merge pull request #11840 from djrm/pr_fix_drive_selection
...
Match file dialog drive with the current folder.
2017-10-05 12:09:35 +02:00
Daniel J. Ramirez
670564f98e
Match file dialog drive with the current folder.
2017-10-04 14:46:58 -05:00
Terah
43410ca363
Add function set_stream_position to VideoPlayer
...
Also add docucmentation for set_stream_position in VideoPlayer
2017-10-04 07:46:08 +02:00
Andreas Haas
5303efb2fa
Merge pull request #11659 from AndreaCatania/prephysics
...
Renamed fixed_process to physics_process
2017-10-02 23:10:36 +02:00
Andreas Haas
cb71a6d6fa
Merge pull request #11754 from magyar123/master
...
Fixed center align in LineEdit
2017-10-02 22:26:42 +02:00
Poommetee Ketson
34ea271380
Merge pull request #11646 from djrm/pr_visual_improvements
...
Several visual improvements.
2017-10-02 23:49:44 +07:00
Poommetee Ketson
c96fc380e5
Merge pull request #11650 from kitsune/fix-range-unshare-crash
...
Fix crash when unsharing a range that is not shared
2017-10-02 23:48:59 +07:00
balint magyar
b6b2ec7b77
Fixed center align in LineEdit
2017-10-01 20:11:46 +02:00
jagt
86bcbd5b15
Fix GraphEdit mouse scroll axis.
...
maps BUTTON_WHEEL_UP/DOWN to vscroll of GraphEdit.
maps KEY_SHIFT + BUTTON_WHEER_UP/DOWN to hscroll of GraphEdit.
2017-10-01 20:14:42 +08:00
AndreaCatania
4537977d6d
Renamed fixed_process to physics_process
2017-09-30 16:19:07 +02:00
Gilles Roudiere
670e443046
Merge pull request #11684 from toger5/tab_container_menu_button_center
...
Vertical alignement (TabContainer menu button)
2017-09-30 12:43:49 +02:00
toger5
8c087e046d
fixed coustom bg weired offset for code editor
2017-09-29 17:00:17 +02:00
toger5
814c50106b
Vertical alignement (TabContainer menu button)
2017-09-29 13:23:11 +02:00
Daniel J. Ramirez
15986ea343
Several visual improvements.
...
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-28 15:00:43 -05:00
toger5
e49ac08c24
do not overlap current line with selection color
2017-09-28 16:12:12 +02:00
toger5
d58a159e38
keep font color on selection as default
2017-09-28 14:17:14 +02:00
Dylan Enloe
45a322b6ae
Fix crash when unsharing a range that is not shared
...
Added a guard to Range::_unref_shared to prevent it from doing anything
in the event that shared is null.
Fixes Issue: #11521
2017-09-28 00:45:05 -07:00
Rémi Verschelde
da144fed4c
Merge pull request #11617 from groud/fix_bad_display
...
Fixes bad display
2017-09-27 22:15:00 +02:00
Ferenc Arn
9c516d8383
Fix toggle mode of BaseButton.
...
..which got broken with #11480 .
2017-09-26 20:10:44 -04:00
Gilles Roudiere
bd8a5fba30
Fixes set_anchors_and_margins_preset()
2017-09-27 00:38:41 +02:00
Gilles Roudiere
6f185cc9f7
Remove unecessary anchors&margins set causing bad display (sons of containers)
2017-09-27 00:38:28 +02:00
volzhs
c5f0717053
Fix crash when scene has LineEdit and run from editor
2017-09-26 16:19:02 +09:00
Rémi Verschelde
f577efd47e
Merge pull request #11424 from groud/control_node_presets
...
Implements set_margins_preset(...)
2017-09-26 00:11:46 +02:00
Rémi Verschelde
938681724f
Merge pull request #11541 from Paulb23/tree_arrow_goto_parent
...
Goto to parent on left arrow in tree with single column
[ci skip]
2017-09-25 23:16:06 +02:00
Rémi Verschelde
5567cbe6ae
Merge pull request #11545 from Paulb23/line_edit_caret_blink_resetting_issue_10764
...
Fixed caret blink and speed resetting in scenes, issue 10764
[ci skip]
2017-09-25 23:10:32 +02:00
Paulb23
8b80e97338
Fixed caret blink and speed resetting in scenes, issue 10764
2017-09-24 17:22:47 +01:00
Paulb23
5815aaa035
Fixed scrollbar jitter when clicking
2017-09-24 16:19:52 +01:00
Paulb23
35c5422dc2
Goto to parent on left arrow in tree with single column
2017-09-24 13:33:03 +01:00
Marcelo Fernandez
46af050e93
Rename get_position => get_playback_position and seek_pos => seek on audio classes
2017-09-23 16:55:00 +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
Rémi Verschelde
15042128a6
Merge pull request #11480 from tagcup/button_unpress_fix
...
Ensure pressed is set to false in BaseButton::_unpress_group.
[ci skip]
2017-09-22 09:25:08 +02:00
Gilles Roudiere
92f062696a
Implements set_margins_preset(...)
2017-09-22 09:23:07 +02:00
Ferenc Arn
b4417161f5
RichTextLabel: Added get_visible_line_count method.
...
Also exposed get_line_count to GDScript.
2017-09-21 21:43:33 -04:00
Ferenc Arn
ca3061d9c2
Ensure pressed is set to false in BaseButton::_unpress_group.
2017-09-21 20:58:32 -04:00
Rémi Verschelde
82f13288dd
Merge pull request #11453 from djrm/pr_visuals
...
Visual tweaks.
2017-09-21 10:51:06 +02:00
Daniel J. Ramirez
00755ff2c0
Visual tweaks.
...
Updated icons
Updated some color
2017-09-20 19:29:52 -05:00
letheed
5ad9be4c24
Rename pos to position in user facing methods and variables
...
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-20 13:11:10 +02:00
Rémi Verschelde
752a116847
Merge pull request #11256 from djrm/pr_visual_improvements
...
Visual improvements and new look for VS
2017-09-19 23:44:09 +02:00
Rémi Verschelde
2785444f89
Merge pull request #10437 from groud/2d_editor_enhancements
...
Some 2d editor enhancements
2017-09-19 23:24:17 +02:00
Gilles Roudiere
b5f29fe073
Add some options and reorganize the 2D editor menus. Makes available forced snapping.
2017-09-18 23:20:18 +02:00
Rémi Verschelde
30ba4076cd
Merge pull request #11372 from volzhs/fix-smooth-scroll
...
Fix smooth scrolling in ScrollBar
2017-09-18 20:04:39 +02:00
Rémi Verschelde
cc161dcd6f
Merge pull request #11021 from tuga3d/autocomplete-logic-attempt2
...
autocomplete logic attempt 2, fixes #10695
2017-09-18 08:58:18 +02:00
Rémi Verschelde
a00f19a921
Merge pull request #11328 from Paulb23/left_right_arrow_tree_issue_10737
...
Added Left / Right arrow navigation in tree, issue 10737
2017-09-17 22:45:19 +02:00
volzhs
7da0ec01c0
Fix smooth scrolling in ScrollBar
...
fixes #11369
2017-09-18 05:31:21 +09:00
Marcelo Fernandez
31ba932e3b
Fix crash when using key+u on a line with only a #
2017-09-17 17:07:42 -03:00
Rémi Verschelde
0953c8fd55
Merge pull request #11314 from marcelofg55/master
...
Fix possible crash with ctrl-u on script editor
2017-09-17 12:56:13 +02:00
Rémi Verschelde
317512e2fb
Merge pull request #11301 from volzhs/fix-richtextlabel
...
Make clickable properly in editor help
2017-09-17 12:55:47 +02:00
Rémi Verschelde
c24ca2c7a8
Merge pull request #10900 from toger5/theme_tab_border
...
Added border for tabs + container.
2017-09-17 12:41:36 +02:00
Daniel J. Ramirez
d84c79d349
Fixed compilation with tools=no
2017-09-16 23:33:44 -05:00
Poommetee Ketson
d8ca7d4405
Merge pull request #11282 from djrm/pr_script_editor_auto_theme
...
Added adaptive text editor theme
2017-09-17 08:55:13 +07:00
Poommetee Ketson
69f0d3b663
Merge pull request #11269 from toger5/fix_get_stylebox_parent_class
...
also loop for classes if there is no coustom theme fixes #11250
2017-09-17 08:52:26 +07:00
Paulb23
1a0ffe3b64
Added Left / Right arrow navigation in tree, issue 10737
2017-09-16 16:26:05 +00:00
Marcelo Fernandez
a2837360d0
Fix possible crash with ctrl-u on script editor
2017-09-16 04:20:20 -03:00
Daniel J. Ramirez
ba11dc3f48
Added adaptive text editor theme, this includes the shader editor
2017-09-15 16:08:22 -05:00
volzhs
8d1792a294
Make clickable properly in editor help
...
fixes #3671
2017-09-16 02:14:45 +09:00
Thomas Herzog
7dffed485b
Merge pull request #11230 from maxim-sheronov/fix_enum_bindings
...
Fix enums bindings
2017-09-15 08:43:35 +02:00
toger5
10c400c456
Added border for tabs + container.
...
- moved tabConetent position to be more reasonable.
- fixed drawing order to allow those kind of styles.
2017-09-15 00:50:34 +02:00
Daniel J. Ramirez
74d028729f
Improved VisualScriptEditor
2017-09-14 12:45:42 -05:00
toger5
202e4c8836
also loop for classes if there is no coustom theme fixes #11250
2017-09-14 18:15:39 +02:00
Rémi Verschelde
57a5548965
Merge pull request #11191 from toger5/slider_highlight_area
...
added highlight area to slider
2017-09-13 20:09:28 +02:00
Maxim Sheronov
0fffa45158
Fix enums bindings
...
Add missed bindings for enums
Move some enums to class to have correct output of api.json
2017-09-13 20:57:07 +03:00
Rémi Verschelde
ea25573297
Merge pull request #10995 from GodotExplorer/pr-tree
...
Add custom minumus height to TreeItem
2017-09-13 19:25:55 +02:00
toger5
c2c8aac9a3
added highlight area to slider
2017-09-12 22:55:23 +02:00
Daniel J. Ramirez
1e8048dd45
Improved theme generation, and other fixes
2017-09-12 13:16:38 -05:00
Rémi Verschelde
aabbd00284
Merge pull request #10908 from hpvb/fix-unused-variables
...
Fix unused variable warnings
2017-09-12 12:55:53 +02:00
Rémi Verschelde
cf941fdc35
Merge pull request #11026 from hpvb/fix-assign-in-if
...
Remove assignment and declarations in if statements
2017-09-12 11:57:49 +02:00
Rémi Verschelde
2b50dc5d4f
Merge pull request #11057 from hpvb/fix-various-warnings
...
Fix various assorted warnings
2017-09-12 11:39:47 +02:00
Hein-Pieter van Braam
b2a38854fd
Fix unused variable warnings
...
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Hein-Pieter van Braam
8230bf0a2f
Remove assignment and declarations in if statements
...
After discussing with @reduz and @akien-mga it was decided that we do
not allow assignments or declarations in if statements. This PR removes
the instances of this I could find by automated means.
2017-09-08 14:59:15 +02:00
Hein-Pieter van Braam
67a706fc1b
Fix various assorted warnings
...
Fix various warnings that don't have enough instances to merit
individual commits. Also fixes a potential bug in audio_server.cpp.
2017-09-08 14:57:48 +02:00
Hein-Pieter van Braam
5e18967d77
Fix serveral recent new clang-format errors
2017-09-08 00:20:16 +02:00
Juan Linietsky
1eeda0f32f
Restored auto snapping of controls to pixels, fixes #10847 and probably several more issues. Made it optional in the project settings but defaults to true.
2017-09-07 11:22:07 -03:00
Paulo Gomes
9b72f08042
second take at autocomplete logic, using a TextOperation check.
2017-09-06 19:23:09 +01:00
Rémi Verschelde
0b8fa1e010
Remove dead ButtonGroup code
2017-09-06 14:41:34 +02:00
Geequlim
f248f06d45
Add custom minumus height to TreeItem
...
And expose the method `get_drop_section_at_pos` of Tree
2017-09-05 21:02:13 +08:00
Rémi Verschelde
0f63b68336
Merge pull request #10822 from hoelzl/toggle-button
...
Fix inconsistent toggle button behavior
2017-09-05 00:14:05 +02:00
Rémi Verschelde
c9593a285b
Merge pull request #10902 from toger5/rtl_copy_and_selection_color
...
fixed copy on osx + help selection color
2017-09-04 23:11:12 +02:00
Rémi Verschelde
6960f8a3b8
Merge pull request #10916 from volzhs/vertical-align-tree-lineedit
...
LineEdit in Tree is aligned vertical center
2017-09-04 22:58:32 +02:00
Rémi Verschelde
bba365fab7
Merge pull request #10931 from djrm/pr_style_fixes
...
Improved color temperature in script editor
2017-09-04 22:50:54 +02:00
toger5
07d5911c40
fixed copy on osx + help selection color
2017-09-04 18:57:52 +02:00
Rémi Verschelde
df11de72c9
Merge pull request #10932 from djrm/pr_fix_metrics
...
Fixed some metrics (some issues caused by the new Noto Sans font).
2017-09-04 08:10:04 +02:00
Rémi Verschelde
fb263b73aa
Merge pull request #10901 from toger5/script_background_cleanup
...
StyleBoxSupport for RichTextLabel and cleanup for script+docs backgrounds fixes #10685
2017-09-04 08:05:17 +02:00
Rémi Verschelde
fe3b8b48dd
Merge pull request #10894 from Paulb23/brace_auto_indent
...
Added support for brace auto indent and fixed indent above.
2017-09-04 07:59:51 +02:00
Daniel J. Ramirez
d6b664f671
Fix. resizeable -> resizable.
...
(not actually a typo, but the rest of the API uses resizable)
2017-09-03 13:12:52 -05:00
Daniel J. Ramirez
215b110cd3
Improved color temperature in script editor
2017-09-03 02:44:59 -05:00
Daniel J. Ramirez
e298f931a6
Fixed some metrics (some issues caused by the new Noto Sans font).
...
plus other minor fixes
2017-09-03 01:49:31 -05:00
volzhs
c1b31aeb94
LineEdit in Tree is aligned vertical center
2017-09-03 12:56:25 +09:00
toger5
0f62db23ac
richTextLable implemented stylebox support
...
- also fixed issue with total_chars ignoring first line
2017-09-02 18:20:04 +02:00
Paulb23
cfa5f37ee7
Added support for brace auto indent and fixed indent above
2017-09-02 15:59:30 +01:00
Rémi Verschelde
0fc342c296
Merge pull request #10887 from Paulb23/fix_scrolling_up_jitter
...
Fixed jitter when scrolling up
2017-09-02 16:45:20 +02:00
Poommetee Ketson
459f526119
Fix typos 'a' and 'an'
2017-09-02 21:19:06 +07:00
Paulb23
93f6fbd7b2
Fixed jitter when scrolling up
2017-09-02 13:45:21 +01:00
Hein-Pieter van Braam
9c63ab99f0
Fix use of unitialized variables
...
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-02 01:59:26 +02:00
Rémi Verschelde
dac150108a
Merge pull request #10846 from hpvb/fix-sign-compare
...
Fix signed and unsigned comparisons
2017-09-01 21:52:55 +02:00
Poommetee Ketson
ed606ded52
Fix files header
2017-09-01 21:07:55 +07:00
Hein-Pieter van Braam
f9467ec1ea
Fix signed and unsigned comparisons
...
The first in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01 08:13:12 +02:00
Rémi Verschelde
a717083235
Merge pull request #10791 from tuga3d/indent-glitch-attempt-2
...
second attempt on fixing the indent glitch.
2017-08-31 19:26:07 +02:00
Matthias Hoelzl
1bafc3c6cf
Fix inconsistent toggle button behavior
2017-08-31 17:07:32 +02:00
toger5
2aa735757a
unified draw_center naming for (9patch,StyleBoxes)
...
- filled -> draw_center
- is_draw_center -> is_draw_center_enabled
- get_draw_center -> is_draw_center_enabled
2017-08-31 15:25:24 +02:00
Rémi Verschelde
b7f4dcbdd1
Merge pull request #10096 from toger5/label_stylebox
...
fixed Import LineEdit to label + label stylebox
2017-08-31 13:58:52 +02:00
Paulo Gomes
2eb46801cb
second attempt on fixing the indent glitch.
...
I've reverted the first attempt (https://github.com/godotengine/godot/pull/10653 ).
I was very naive and didn't consider that the glitch happens also if you're not in the first column, ex. if you have 2 tabs and press return in between them.
Hope this will solve the problem without messing anything else.
2017-08-30 19:35:38 +01:00
Juan Linietsky
9c3bddfac2
Merge pull request #10745 from neikeq/fix-docdata-and-stuff
...
DocData and virtual method type hints fixes
2017-08-29 20:11:07 -03:00
Ignacio Etcheverry
c16d00591b
DocData and type hints fixes
...
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types
- Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string.
- PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void.
- Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
2017-08-29 19:40:21 +02:00
Rémi Verschelde
213887f209
Merge pull request #10693 from Paulb23/offset_view_when_removing_issue_10529
...
Fixed offset view when removing text, issue 10529
2017-08-28 00:07:02 +02:00
Rémi Verschelde
7ad14e7a3e
Dead code tells no tales
2017-08-27 22:13:45 +02:00
Paulb23
ae26f8e015
Fixed offset view when removing text, issue 10529
2017-08-27 18:29:15 +01: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
a6e37ae2bf
Merge pull request #10600 from MasonAsh/fix-10596
...
Script editor: fixed no key repeat for CTRL+Y
2017-08-27 02:11:58 +02:00
Rémi Verschelde
612099e377
Merge pull request #10591 from Rubonnek/possible-null-ptr-dereference
...
Added/Fixed null pointer checks
2017-08-27 02:10:56 +02:00
Rémi Verschelde
fe26bcd8c6
Merge pull request #10653 from tuga3d/indent-glitch
...
Added a cursor column check.
2017-08-27 02:09:57 +02:00
Wilson E. Alvarez
7a07895920
Added/Fixed null pointer checks
2017-08-26 16:58:47 -04:00
Paulo Gomes
056b0976bc
Added a cursor column check.
...
Fixes glich, when cursor is on column 0 of and indented line and you
press return an extra indent is added.
2017-08-26 19:22:05 +01:00
Poommetee Ketson
5e889cce4f
Tree: fix RMB click collapses next item
2017-08-26 23:55:43 +07: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
Mason Ashbridge
9def31120c
Script editor: fixed no key repeat for CTRL+Y
2017-08-24 01:28:08 -04:00
Juan Linietsky
36e0a72c77
-Code completion for enumerations
...
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-24 00:06:56 -03:00
Rémi Verschelde
916fd47343
Merge pull request #10561 from Paulb23/smooth_scroll_input_override
...
Stops scrolling when the user issues another command
2017-08-23 08:09:13 +02:00
Rémi Verschelde
bc3c9a3c2a
Merge pull request #10555 from Rubonnek/removed-unnecessary-returns-and-breaks
...
Removed unnecessary returns and break statements
[ci skip]
2017-08-23 00:06:29 +02:00
Paulb23
24c6c097f3
Stops scrolling when the user issues another command
2017-08-22 20:04:19 +01:00
Andreas Haas
5d25f6397f
TextEdit: Copy whole line if not having selection.
...
The functionality was already there but hidden behind a bogus return statement.
Fixes #10485
2017-08-22 20:05:52 +02:00
Wilson E. Alvarez
baa94a3758
Removed unnecessary returns and break statements
2017-08-22 13:01:57 -04:00
Evgeny Zuev
1a2622d344
Add stretching to `TextureProgress`
...
Now `TextureProgress` has `nine_patch_stretch` flag. With this flag enabled,
it's being rendered as 9-path using `stretch_margin_*` properties as texture margins.
Stretching doesn't support `FILL_CLOCKWISE` and `FILL_COUNTER_CLOCKWISE` fill modes.
2017-08-22 13:46:59 +07:00
Rémi Verschelde
df590fc2d3
Merge pull request #10340 from Rubonnek/remove-unnecessary-assignments
...
Removed unnecessary assignments
2017-08-22 00:58:12 +02:00
Juan Linietsky
2cc8309249
Merge pull request #10351 from neikeq/enums-are-for-the-weak
...
ClassDB: Provide the enum name of integer constants
2017-08-21 19:56:08 -03:00
Rémi Verschelde
9dd8d73482
Merge pull request #10427 from Hinsbart/fix_padding
...
TextEdit: Fix line padding triggering too early.
2017-08-22 00:04:11 +02:00
Rémi Verschelde
328452e028
Merge pull request #10508 from Paulb23/increase_smooth_scroll_speed
...
Increased smooth scroll speed and added user setting
2017-08-21 22:19:18 +02:00
Gilles Roudiere
f730846fe9
Fix spinboxes bad look
2017-08-21 21:48:05 +02:00
Wilson E. Alvarez
738d2ab969
Removed unnecessary assignments
2017-08-21 15:15:55 -04:00
Paulb23
d6599fde0a
Increased smooth scroll speed and added user setting
2017-08-21 19:20:11 +01:00
Ignacio Etcheverry
32dd9a9f66
ClassDB: Provide the enum name of integer constants
2017-08-20 22:07:43 +02:00
Juan Linietsky
541fdffc0a
Merge pull request #10319 from neikeq/pr-engine-editor-hint
...
Adds Engine::is_editor_hint() method
2017-08-20 12:55:46 -03:00
Rémi Verschelde
9720e94dce
Merge pull request #10479 from Paulb23/fix_not_scrolling_eof
...
Fixed not being able to scroll to eof
2017-08-20 15:25:46 +02:00
Rémi Verschelde
5627047c32
Merge pull request #10455 from groud/control_margin_fixes
...
Some control fixes and removed other useless lines
2017-08-20 15:24:00 +02:00
Paulb23
a0457341fc
Fixed not being able to scroll to eof
2017-08-20 14:07:54 +01:00
Gilles Roudiere
06256cd778
Some control fixes and removed useless lines
2017-08-19 19:10:00 +02:00
Paulb23
a142c9a2f0
Added smooth scrolling to TextEdit
2017-08-19 15:23:45 +01:00
Juan Linietsky
bacfe7a557
Fixes to label and code editor to make editing code hopefully fast again.
2017-08-19 10:51:56 -03:00
Rémi Verschelde
43d91faa2e
Merge pull request #10439 from Paulb23/blinking_text_issue_10432
...
Fixed blinking text, issue 10432
2017-08-19 12:32:13 +02:00
Paulb23
fb0e7f8f1c
Fixed blinking text, issue 10432
2017-08-19 09:55:42 +01:00
Ignacio Etcheverry
90b8a5b71e
Removes editor_hint from SceneTree
2017-08-19 01:29:45 +02:00
Juan Linietsky
cbcf40bd31
-Volume sliders, mute, solo and fx bypass are functional, closes #9021
...
-Fixed tree reselect, makes reselecting an audio bux FX work
2017-08-18 18:21:53 -03:00
Rémi Verschelde
18a7315381
Rename localization method to `tr` again
...
Partial revert of #10380 based on contributor ~~bullying~~ feedback.
2017-08-18 22:38:38 +02:00
Andreas Haas
58b2f441a7
TextEdit: Fix line padding.
...
off-by-one error in the line count calculation.
Fixes #10411
2017-08-18 22:12:07 +02:00
Andreas Haas
3f2d806b02
TextEdit: Moving between words now works across lines.
...
Fixes #10403
2017-08-18 20:53:27 +02:00
Rémi Verschelde
ee59e627de
Merge pull request #10380 from akien-mga/XL_MESSAGE
...
Rename `XL_MESSAGE`/`tr` to `localize`
2017-08-17 22:41:55 +02:00
Rémi Verschelde
c72529baf0
Rename `XL_MESSAGE` aka `tr` to `localize`
...
Also renames `set_message_translation` to `set_message_localization`
for consistency.
2017-08-17 18:10:22 +02:00
toger5
9fdc4874b2
fixed Import LineEdit to label + label stylebox
...
- added a normal stylebox to label. default is StyleBoxEmpty
- changed drawing so that it draws correct with styleboxes with margins
- changed the LineEdit in the import to use a label with the lineEdit
stylebox
2017-08-17 00:15:11 +02:00
Rémi Verschelde
0dd51fc722
Merge pull request #10252 from neikeq/pr-fix-some-stuff-<3
...
Some method fixes
2017-08-16 18:16:47 +02:00
Rémi Verschelde
a8a6082dc0
Merge pull request #8899 from toger5/BetterFlatStylebox
...
Better flat stylebox with rounded corners
2017-08-16 18:15:04 +02:00
TwistedTwigleg
00f6c85928
Synchronize parameter names in definition and declaration
...
Fixes #10244 .
2017-08-16 17:22:23 +02:00
Rémi Verschelde
f98418f093
Merge pull request #10312 from kbake/pressed-scroll-bar-style
...
Scroll bars now look different on press
2017-08-16 17:16:03 +02:00
Juan Linietsky
1ecb48b8c2
Changed anchor constants to enum, removed ANCHOR_CENTER, fixes #9889
2017-08-15 19:49:28 -03:00
toger5
059a0496da
Adapted godot to the new StyleBoxFlat
2017-08-15 19:36:34 +02:00
Gilles Roudiere
0041e08f74
Avoids inverted anchors
...
Add a push_opposite_anchor argument pushing the opposite anchor if
needed
2017-08-13 21:20:14 +02:00
Gilles Roudiere
c26af6f2b7
Adds a function to set Anchors with a layout preset
2017-08-13 21:20:14 +02:00
Gilles Roudiere
e76b535a1a
Handle undo/redo of anchor positioning
2017-08-13 21:20:13 +02:00
Gilles Roudiere
bd0384a9e9
Add anchor visualization
2017-08-13 21:20:13 +02:00
Gilles Roudiere
0d35d4d53b
Replace GUI anchor type by a float between 0 and 1
2017-08-13 21:20:13 +02:00
kbake
a72d17cf11
Scroll bars now look different on press
2017-08-12 17:46:26 -04:00
Ignacio Etcheverry
1a04917fea
Fixes ItemList::is_same_column_width() return type
2017-08-11 13:34:06 +02:00
Rémi Verschelde
ff2cb35b90
Merge pull request #10247 from djrm/pr_bus_fixes
...
Fixes to buses editor
2017-08-11 10:43:30 +02:00
Rémi Verschelde
066fb4d5f9
Merge pull request #10238 from Hinsbart/resource_rmb
...
Inspector: Right click on resource opens sub-menu.
2017-08-11 10:42:29 +02:00
Rémi Verschelde
f67a8d715c
Merge pull request #10193 from kubecz3k/tab-click-signal
...
tab_clicked signal for Tabs
2017-08-11 10:39:04 +02:00
Rémi Verschelde
5cb09d31d8
Merge pull request #10142 from bruvzg/3.0-osx-ime
...
Add IME support (macOS)
2017-08-11 10:35:10 +02:00
Daniel J. Ramirez
9b41333340
Fixes to buses editor
...
Fixed unselectable bus
Added bus options button
2017-08-10 18:07:24 -05:00
Andreas Haas
9d593481f6
Inspector: Right click on resource opens sub-menu.
...
Fixes #9052
2017-08-10 21:02:31 +02:00
Ignacio Etcheverry
78619a5866
Fixes method definitions with extra number of arguments
2017-08-10 07:17:51 +02:00
Ignacio Etcheverry
2f290038d6
Removes type information from method binds
2017-08-10 07:17:50 +02:00
Ignacio Etcheverry
1e74f27f8f
Adds missing type information to virtual method binds
2017-08-10 07:17:50 +02:00
bruvzg
8aa86cb9bc
Implement NSTextInputClient protocol for IME
2017-08-09 19:09:33 +03:00
Jakub Grzesik
7e82ff1d70
tab_clicked signal for Tabs
2017-08-09 09:41:26 +02:00
Juan Linietsky
db7f491833
Fixes node selection, and properly ignore mouse on inner comment node body, closes #6298
2017-08-08 10:59:45 -03:00
Rémi Verschelde
3121b3a4f4
Merge pull request #10141 from ISylvox/lower_case_godot_api
...
Makes all Godot API's Methods lower_case
2017-08-07 14:59:39 +02:00
Rémi Verschelde
309c0cb01b
Merge pull request #10113 from kubecz3k/tab-signal
...
'tab_changed' signal after using 'set_current_tab'
2017-08-07 14:53:29 +02:00
Indah Sylvia
5ae78fdf6a
Makes all Godot API's methods Lower Case
2017-08-07 18:24:35 +07:00
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
Kristupas Stumbrys
0251e9eb01
Fixing typo for rect_position in _change_notify call for Control
2017-05-28 16:38:22 +03:00
Geequlim
b93fce1c18
Fix text warp in color blocks with CJK
...
(cherry picked from commit cd778e00dc
)
2017-05-27 11:37:33 +02:00
Sean Bohan
cba62864c8
Fix item list scroll speed.
...
Remove the extra `set_val` action after the proper one, so the right scroll value won’t get overrided any more.
(cherry picked from commit 064dce7a4c
)
2017-05-27 11:37:33 +02:00
Juan Linietsky
afcce9eb12
-Fix the "set_val" call deferred, it was the only one.. closes #8742
...
-Removed redundant bind in input_event
2017-05-23 09:06:22 -03:00
Rémi Verschelde
a6122ce68b
Merge pull request #8862 from volzhs/editor-theme-margin
...
Fit grid with label and component of editor
2017-05-22 15:16:57 +02:00
volzhs
a2ad2eedbb
Fit grid with label and component of editor
2017-05-22 20:25:19 +09:00
toger5
955615a3c3
fixed crash when dragging to change color in color picker
2017-05-21 19:11:11 -07:00
Juan Linietsky
5b3709d309
Removal of InputEvent as built-in Variant type..
...
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
Rémi Verschelde
231511b2a6
Merge pull request #8631 from volzhs/editor-theme-custom
...
New customizable editor theme
2017-05-20 07:16:11 +02:00
yanorax
7b00ad22b9
Add column_title_pressed signal to Tree node
...
The Tree node column/table form is missing the ability to
capture column title clicks easily.
Adding this functionality will give us the ability to
create functions such as sort by column, which is a common
table manipulation ability in games/apps.
https://godotengine.org/qa/7699
2017-05-18 13:12:27 +10:00
Juan Linietsky
98a3296702
Removal of Image from Variant, converted to a Resource.
2017-05-17 07:37:45 -03:00
Rémi Verschelde
27dd415196
Merge pull request #8759 from AlexHoratio/master
...
Fixed #8526 , popup menu width now responds to submenu icon
2017-05-15 08:00:50 +02:00
AlexHoratio
69359f2220
Fixed #8526 , popup menu width now responds to submenu icon
2017-05-14 18:55:55 +01:00
Damian Day
f2564ca97f
Fix natural sorting order in EditorFileDialog, FileDialog and EditorFileSystemDirectory
...
Make EditorFileDialog, FileDialog and EditorFileSystemDirectory alphanumerical sorting more natural
Added a new method 'naturalnocasecmp_to' and comparator 'NaturalNoCaseComparator' to String.
Fixes #8712 .
2017-05-12 13:02:25 +01:00
volzhs
bb81293047
New customizable editor theme
2017-05-09 17:46:54 +09:00
toger5
304a1f5b5a
Implemented scrolling factor for smooth trackpad scrolling
...
Working platforms platform: OSX, Windows.
Support for almost all ui elements, including project list.
2017-05-07 14:23:56 +02:00
Andreas Haas
def41b9856
Tree: Clear search string on selection.
...
The Tree node has the ability to jump to a specific item by typing the first few chars of it's name.
But on selection ('item_activated' signal), it didn't clear the search string used for that. It was especially annoying in `FileDialog`s and has been bugging me for
ages :P
With this, you can traverse a directory structure in a FileDiag quickly with the keyboard (like you'd expect from pretty much any modern file browser) :)
2017-05-04 22:08:09 +02:00
Poommetee Ketson
e64c473bc9
LineEdit: fix placeholder text affected by secret
2017-05-03 19:23:36 +07:00
volzhs
17e8e343fb
Revert "Add new editor and default theme (WIP)"
...
This reverts commit f045efe007
.
2017-05-03 06:19:15 +09:00
Marc Gilleron
d78efddbf5
Fix #8617 WindowDialog with custom panel background crashes godot
2017-05-02 02:18:50 +02:00
Rémi Verschelde
2feb24953c
Merge pull request #8520 from Hinsbart/tree_tooltips
...
Tree: Ability to add tooltips to TreeItem buttons.
2017-04-27 08:10:11 +02:00
Daniel J. Ramirez
f045efe007
Add new editor and default theme (WIP)
2017-04-27 08:04:57 +02:00
Andreas Haas
29999942a2
Tree: Ability to add tooltips to TreeItem buttons.
...
Adds a tooltip parameter to `TreeItem::add_button()` and set a few tooltips in the Project settings and SceneTree dock.
2017-04-26 19:14:35 +02:00
Rémi Verschelde
5939a9b8e8
Merge pull request #8343 from volzhs/prevent_uncheck
...
Prevent to uncheck selected item with button group
2017-04-24 11:19:14 +02:00
Rémi Verschelde
22b9c0207b
Merge pull request #8417 from neikeq/hello-there
...
External editor improvements and fixes
2017-04-20 02:20:04 +02:00
Rémi Verschelde
c88f56be64
Merge pull request #8376 from RayKoopa/fix_stylebox_expand_margin
...
Respect the expand margin for StyleBoxTextures again.
2017-04-20 02:10:55 +02:00
Paulb23
84bca4e72f
Added support for space indentation
2017-04-18 12:30:46 +01:00
Ignacio Etcheverry
4b8568006d
External editor improvements and fixes
...
Notable changes:
- Now ScriptLanguages have the option to override the global external editor setting.
If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used.
- Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`.
- `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from.
Fixes:
- Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor.
- Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit.
- `Script::get_member_line()` now returns -1 ("found nothing") by default.
2017-04-17 01:51:30 +02:00
Jylhis
8ccb9d13c3
Update PopupMenu hiding
...
Make PopupMenu hiding distinguish between checkable item and non checkable
item.
2017-04-14 15:00:38 +03:00
Ray Koopa
75f684bc17
Respect the expand margin for StyleBoTextures again.
2017-04-13 10:37:22 +02:00
Sergey Pusnei
8589ca3903
Rename [gs]et_pos to [gs]et_position for Controls
...
Control set_pos -> set_position
Control set_global_pos -> set_global_position
[gs]et_mouse_pos -> [gs]et_mouse_position
[gs]et_global_mouse_pos -> [gs]et_global_mouse_position
fixes #8005
2017-04-10 08:27:34 +02:00
volzhs
706ca4efd6
Prevent to uncheck selected item with button group
2017-04-10 13:57:24 +09:00
Rémi Verschelde
df61dc4b2b
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00
supaiku
d51fe99a8b
Fix highlight typo
2017-04-06 17:35:08 +02:00
Rémi Verschelde
4d3ed11212
Merge pull request #8248 from Hinsbart/fix_notify_renames
...
Fix more property names in _change_notify calls.
2017-04-04 00:21:12 +02:00
Andreas Haas
0a287cfe4c
Fix more property names in _change_notify calls.
2017-04-03 18:35:15 +02:00
Rémi Verschelde
1bd3648bb0
Merge pull request #8211 from robertdhernandez/NinePatch-Fix
...
[3.0] Fixed NinePatchRect/StyleBoxTexture incorrectly drawing AtlasTexture
2017-04-03 14:41:53 +02:00
Robert Hernandez
8078b5ecf6
Fixed Node2D/Control not updating properties
2017-04-01 20:13:52 -04:00
Robert Hernandez
7a428206fe
Fixed WindowDialog not aligning properly
2017-03-31 01:48:02 -04:00
Robert Hernandez
a4a12a2b7b
Fixed AtlasTexture being incorrectly
...
Fixed StyleBoxTexture and NinePatchRect drawing the entire texture of an
AtlasTexture.
2017-03-30 21:09:25 -04:00
Rémi Verschelde
debeee56f7
Fix typos in source code using codespell
...
From https://github.com/lucasdemarchi/codespell
2017-03-24 21:45:31 +01:00
Rémi Verschelde
3cf4103a89
Merge pull request #8023 from CrazyGuy108/master
...
List Control::has_point as a virtual method
2017-03-18 10:36:55 +01:00
Rémi Verschelde
3ceefab232
Merge pull request #8020 from karroffel/class-db-inconsistency
...
fixed ClassDB inconsistencies
2017-03-15 19:09:43 +01:00
CrazyGuy108
9589936d6e
List Control::has_point as a virtual method
...
According to Issue #8018 , a BIND_VMETHOD macro wasn't present in scene/gui/control.cpp, while it was declared to be a virtual method in scene/gui/control.h.
classes.xml was updated to also list this method in Control.
2017-03-14 19:08:13 -07:00
Karroffel
6ab3213a55
fixed ClassDB inconsistencies
...
fixes #7960
2017-03-13 21:17:31 +01:00
Andreas Haas
a2776af672
WindowDialog: Fix crash when running as ProjectManager
...
Fixes a bug introduced in #7970
2017-03-13 16:05:18 +01:00
Andreas Haas
9080232f17
Editor: Dim UI when a WindowDialog is shown.
...
Darkens the editor on WindowDialog popup.
This adds the following new Editor settings:
- interface/dim_editor_on_dialog_popup (true) # Enable/Disable editor dimming
- interface/dim_amount (0.6) # Percentage of how much the editor will be darkened (0-1)
- interface/dim_transition_time # The duration (in seconds) of the color blending effect (0-1), 0 is instant.
Please test this thoroughly, I haven't yet seen a case where it fails to work properly but I'm sure I didn't test all
windows of the editor :P
2017-03-06 20:14:41 +01:00
Rémi Verschelde
5dbf1809c6
A Whole New World (clang-format edition)
...
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?
I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon
A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format
A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
2017-03-05 16:44:50 +01:00
Rémi Verschelde
e1c1d7d1d7
Add a bunch of missing Godot headers in own files
2017-03-05 15:47:28 +01:00
Rémi Verschelde
49c065d29c
Refactoring: rename tools/editor/ to editor/
...
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
2017-03-05 14:21:25 +01:00
Rémi Verschelde
630158c992
Merge pull request #7916 from RebelliousX/tab_container
...
TabContainer's signal changes (v3)
2017-03-05 12:03:09 +01:00
Thaer Razeq
c9bda06dfd
- `tab_changed` signal emits only by selecting a different tab.
...
- Added `tab_selected` signal. Which emits a signal by selecting any tab, if current tab is selected again.
- Added `get_previous_tab()`. Which returns the previous shown tab. **Note:** only `tab_changed` can modify previous tab index.
- Add documentation for the added function and signals. Fix a typo too.
2017-03-05 02:47:09 -06:00
Rémi Verschelde
723f74c851
Merge pull request #7929 from RayKoopa/editor_resizable_dialogs
...
Resizable editor / project settings dialogs & save their bounds
2017-03-04 17:04:27 +01:00
Ray Koopa
7623fd10bf
Make Editor, Export and Project settings dialogs resizable and store their bounds
2017-03-03 18:45:53 +01:00
volzhs
66b7586fb0
Fix wrong TreeItem reference after reconstructing
2017-03-03 04:01:04 +09:00
Ray Koopa
e07aa5deb8
Added functionality for resizable dialogs.
2017-03-01 23:40:10 +01:00
Thaer Razeq
f50488a361
Various fixes detected using PVS-Studio static analyzer.
...
- Add FIXME tags comments to some unfixed potential bugs
- Remove some checks (always false: unsigned never < 0)
- Fix some if statements based on reviews.
- Bunch of missing `else` statements
2017-02-28 07:52:02 -06:00
Ray Koopa
5cf063ca9d
Add disabled tabs
2017-02-27 19:07:50 +01:00
Ray Koopa
fc9077a213
Fix several drawing and logic issues in TabContainer
2017-02-27 15:47:47 +01:00
Rémi Verschelde
3de1415b6a
Merge pull request #7653 from Dumbeldor/RichTextLabel_remove_line
...
RichTextLabel add function remove_line
2017-02-26 21:16:30 +01:00
Rémi Verschelde
4d6a3cf7fc
Merge pull request #7874 from volzhs/issue-7820-master
...
Fix crash when click icon while editing node name
2017-02-26 20:28:00 +01:00
Rémi Verschelde
caa74b70e7
Merge pull request #7831 from volzhs/tr-buttonarray-3
...
Translate ButtonArray text
2017-02-26 20:15:33 +01:00
volzhs
3ae0ffa182
Fix crash when click icon while editing node name
2017-02-23 02:20:46 +09:00
Juan Linietsky
de0045cf1b
-renamed globals.h to global_config.cpp (this seems to have caused a few modified files)
...
-.pck and .zip exporting redone, seems to be working..
2017-02-21 00:06:30 -03:00
Juan Linietsky
f6950956bd
Editor Export Settings Dialog is completed!! Now on to make some exporters..
2017-02-19 23:21:35 -03:00
volzhs
57ed6ef741
Translate ButtonArray text
2017-02-18 00:20:55 +09:00
Vincent
c20b186e73
RichTextLabel add function remove_line
2017-02-16 20:36:25 +01:00
Andreas Haas
dd4c2709e4
Spinbox: don't ignore double clicks.
...
Fixes the problem with spinboxes not updating when clicking too fast.
2017-02-14 00:57:49 +01:00
Rémi Verschelde
ea7e8c8e86
Merge pull request #7795 from hpvb/rename-md-macro
...
Rename the _MD macro to D_METHOD
2017-02-13 15:46:17 +01:00
geequlim
4ebc30e303
Fix compile error with TextureButton
...
Export TextureButton::ResizeMode as its own enum values
2017-02-13 21:17:47 +08:00
Hein-Pieter van Braam
411ee71b4d
Rename the _MD macro to D_METHOD
...
This new name also makes its purpose a little clearer
This is a step towards fixing #56
2017-02-13 12:50:02 +01:00
Hein-Pieter van Braam
0f687f0ccb
Remove use of _SCS from ADD_METHOD
...
This saves typing and is a step towards fixing #56
2017-02-13 10:37:47 +01:00
Rémi Verschelde
b2db9279fa
Merge pull request #7769 from GodotExplorer/pr-resizeable-texturebutton_3
...
Enhance TextureButton and TextureRect with resize
2017-02-12 23:22:41 +01:00
geequlim
ab375117ba
Add STRETCH_KEEP_ASPECT_COVERED to TextureRect StretchMode
...
Make TextureButton to the same resize behavior with TextureRect
2017-02-09 22:52:52 +08:00
kbake
1169f4e040
Selected text is now deselected on ctrl+home/end
...
This fixes Issue #7694 and also the error mentioned in the comments of that issue.
2017-02-03 02:01:41 -05:00
Pawel Kowal
b602096b9b
Fix #7011 ScrollContainer takes into account child's EXPAND flag when scrolling is enabled
...
(cherry picked from commit e9316a009e
)
2017-02-02 08:24:37 +01:00
Paulb23
6b42cd5fe6
Fixed line lenght guideline drawing with color option
2017-01-28 14:36:57 +00:00
Rémi Verschelde
5ec3b5f2c9
Merge pull request #7604 from RayKoopa/gui_button_style_pressed
...
Respect style boxes for Button states other than "normal"
2017-01-23 07:55:24 +01:00
Juan Linietsky
0aa7242624
WIP new AudioServer, with buses, effects, etc.
2017-01-21 19:01:00 -03:00
Ray Koopa
2baeb531e6
Respect style boxes for Button states other than "normal"
2017-01-21 23:00:59 +01:00
Ferenc Arn
6f4f9aa6de
Overloaded basic math funcs (double and float variants). Use real_t rather than float or double in generic functions (core/math) whenever possible.
...
Also inlined some more math functions.
2017-01-16 13:36:33 -06:00
Rémi Verschelde
f44ee891be
Style: Fix statements ending with ';;'
2017-01-16 08:49:52 +01:00
Juan Linietsky
b400c69cd4
Oops! Audio engine has vanished :D
2017-01-15 16:07:51 -03:00
Juan Linietsky
dcb95ec147
removed duplicated functions in class hierarchy that were bound more than once
...
added a check to detect this case in the future
2017-01-14 11:10:42 -03:00
Rémi Verschelde
93ab45b6b5
Style: Fix whole-line commented code
...
They do not play well with clang-format which aligns the `//` part
with the rest of the code block, thus producing badly indented commented code.
2017-01-14 14:52:23 +01:00
Rémi Verschelde
7b9f2d9929
Finish renaming *Frame GUI classes to *Rect
...
ReferenceFrame had been overlooked, and the cpp files still used the old
names. Also ripgrep'ed it all to find some forgotten references.
2017-01-14 10:52:54 +01:00
Juan Linietsky
de8cc309d6
Renamed button functions to be more verboes, same with Range unit value -> ratio
2017-01-13 14:08:30 -03:00
Juan Linietsky
e53c247cb1
Created new Engine singleton, and moved engine related OS functions to it.
2017-01-13 12:51:14 -03:00
Juan Linietsky
04c749a1f0
New API for visibility in both CanvasItem and Spatial
...
visible (property) - access set_visible(bool) is_visible()
is_visible_in_tree() - true when visible and parents visible
show() hide() - for convenience
2017-01-13 10:45:50 -03:00
Juan Linietsky
da477b76a9
some class renames
...
TextureFrame -> TextureRect
Patch9Frame -> NinePatchRect
ColorFrame -> ColorRect
2017-01-12 18:28:12 -03:00
Juan Linietsky
5afaf84ae1
Added a list of signals to rename, this should become a header eventually
2017-01-12 00:54:21 -03:00
Juan Linietsky
83cb84753f
Renamed most signals so they refer to:
...
-An action being requested to the user in present tense: (ie, draw, gui_input, etc)
-A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
2017-01-12 00:51:08 -03:00
Juan Linietsky
f698e2be4f
Proper inheritance checking when requesting theem resources
2017-01-11 18:29:59 -03:00
Juan Linietsky
bc26f90581
Type renames:
...
Matrix32 -> Transform2D
Matrix3 -> Basis
AABB -> Rect3
RawArray -> PoolByteArray
IntArray -> PoolIntArray
FloatArray -> PoolFloatArray
Vector2Array -> PoolVector2Array
Vector3Array -> PoolVector3Array
ColorArray -> PoolColorArray
2017-01-11 00:52:51 -03:00
Juan Linietsky
f3f4a11cfb
- _ready() callback only happens once now, if you want to receive it again, use request_ready()
...
- C++ Nodes mostly do an internal process callback, so it does not conflict with users willing to use their own process callbacks
- callbacks such as _input, _process, _fixed_process _unhandled_input, _unhandled_key_input do not requiere calling a function to enable them. They are enabled automatically if found on the script.
2017-01-10 18:04:33 -03:00
Juan Linietsky
48097f6df3
Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a container!
2017-01-10 01:49:55 -03:00
Juan Linietsky
a503f8aadc
Groundbreaking!! Godot resources can now be flagged to be local to the scene being edited!
...
This means that each time this scene is instanced, the resource will be unique!
As such, thanks to this, the following features were implemented:
-ButtonGroup is no longer a control, it's now a resource local to the scene
-ViewportTexture can be created from the editor and set to any object, making ViewportSprite and other kind of nodes obsolete!
2017-01-10 01:07:03 -03:00
Juan Linietsky
1f8451001d
-Translation text will change automatically for in-game buttons, labels, poups when translation is changed.
...
-Added a NOTIFICATION_TRANSLATION_CHANGED for controls that need custom code
-Sorry, editor will not update automatically because it uses a different translatio method.
2017-01-09 16:43:44 -03:00
Juan Linietsky
e9bb65db81
-All types have editable script now in properties
...
-Changed clip to a property in Control which can be set by the user
2017-01-09 15:50:59 -03:00
Juan Linietsky
13cdccf23b
Variant INT and REAL are now 64 bits (other types remain at 32)
2017-01-08 20:58:39 -03:00
Juan Linietsky
94ee7798ce
-removed stop mouse and ignore mouse from control, which were confusing, replaced by mouse filter
2017-01-08 19:54:19 -03:00
Juan Linietsky
4fd464a4c5
Removed ratio anchoring (will have to fix multiple 3D views later..)
2017-01-08 19:12:24 -03:00
Juan Linietsky
de73297883
Swapped expand and fill flag bits, so scenes don't save this property by default
2017-01-08 19:12:24 -03:00
Juan Linietsky
fa170cbc58
PopupMenu now emits both index_pressed and id_pressed instead of item_pressed, closes #3188
2017-01-08 18:18:54 -03:00
Juan Linietsky
a464afb4e7
Removed the "released" signal from button, it's pointless now that button_down and button_up exist.
2017-01-08 17:27:48 -03:00
Juan Linietsky
547a57777b
renamed joystick to joypad everywhere around source code!
2017-01-08 17:06:33 -03:00
Juan Linietsky
920947f297
renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input
2017-01-08 16:28:12 -03:00
Juan Linietsky
8ecc34bfae
removed unnecesary modulate funtions, which were superseded by self_modulate
2017-01-08 12:31:14 -03:00
Juan Linietsky
8963ca3d17
Fix code completion for new getnode syntax
2017-01-08 03:01:52 -03:00
Juan Linietsky
2ab83e1abb
Memory pool vectors (DVector) have been enormously simplified in code, and renamed to PoolVector
2017-01-07 18:26:38 -03:00
Juan Linietsky
99ceddd11e
Editor settings categories are now tidy and beautiful!
2017-01-05 19:41:36 -03:00
Juan Linietsky
495d059a74
Merge branch 'master' of https://github.com/godotengine/godot
2017-01-05 09:18:03 -03:00
Juan Linietsky
0f7af4ea51
-Changed most project settings in the engine, so they have major and minor categories.
...
-Changed SectionedPropertyEditor to support this
-Renamed Globals singleton to GlobalConfig, makes more sense.
-Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
2017-01-05 09:16:00 -03:00
Juan Linietsky
d8e54b1e26
Merge pull request #7431 from MarianoGnu/gles3
...
Fix Color Picker
2017-01-04 20:28:28 -03:00
Juan Linietsky
b085c40edf
-Conversion of most properties to a simpler syntax, easier to use by script
...
-Modified help to display properties
GDScript can still not make use of them, though.
2017-01-04 01:16:14 -03:00
Juan Linietsky
3fae505128
Begin modifying properties to make them more friendly to script and doc.
2017-01-03 00:38:16 -03:00
Juan Linietsky
118eed485e
ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
...
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
2017-01-02 23:03:46 -03:00
Juan Linietsky
ce26eb74bc
Merge branch 'master' of https://github.com/godotengine/godot
2017-01-02 19:12:25 -03:00
Rémi Verschelde
3f3f5a5359
Merge remote-tracking branch 'origin/gles3' into gles3-on-master
...
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
2017-01-02 21:52:26 +01:00
Rémi Verschelde
b530904038
Merge pull request #7341 from bruno-ortiz/master
...
Bugfixes for Tree node
2017-01-02 15:53:43 +01:00
Rémi Verschelde
f50afe81d8
Merge pull request #7385 from bojidar-bg/tree-range-drag-lock
...
Fix #7098 by not accepting right clicks while dragging the range
2017-01-02 14:38:25 +01:00
Bruno Ortiz
4b9a96859b
Making deselect work for TreeItem when select_mode is SELECT_SINGLE and item_selected is now properly emitted
2017-01-02 11:26:37 -02:00
Rémi Verschelde
3e1b5ad223
Merge pull request #7382 from volzhs/fix-visibility
...
Able to change visibility when ancestor node is hidden
2017-01-02 14:17:42 +01:00
Rémi Verschelde
1a2a57e2ee
Merge pull request #7376 from volzhs/scroll-horizontal
...
Scroll horizontally with mouse wheel when horizontal enabled only
2017-01-02 13:52:31 +01:00
Rémi Verschelde
0cf34cb3af
Merge pull request #7372 from chanon/master
...
Fix ColorPicker not correctly updating after pasting hex html color
2017-01-02 13:48:03 +01:00
Rémi Verschelde
c7bc44d5ad
Welcome in 2017, dear changelog reader!
...
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
2017-01-01 22:03:33 +01:00
Bojidar Marinov
d40eb1565e
Fix #7098 by not accepting right clicks while dragging the range
2016-12-28 23:20:54 +02:00
volzhs
f33e21e7af
Show visual notice for visibility on Scene Dock
2016-12-28 22:12:08 +09:00
volzhs
22b76511fb
Scroll horizontally with mouse wheel when horizontal enabled only
2016-12-27 16:32:22 +09:00
chanon
0bf5d86546
fix ColorPicker not correctly updating after pasting hex html color
2016-12-26 15:38:48 +07:00
Rémi Verschelde
0f76c47be3
Merge pull request #7349 from volzhs/fix-richtextlabel
...
Fix duplicated string on RichTextLabel if starts with '\n'
2016-12-23 16:00:21 +01:00
Rémi Verschelde
2b847d2a2e
Merge pull request #7330 from darkfoxprime/#7326-fix-whole-word-search
...
Fix search to find "whole" words at end of line
2016-12-23 15:52:21 +01:00
Ivan P. Skodje
da950cd0f2
PopupMenu upgrade: Hide on item selection ( #7306 )
...
* Added the option to set hide on item selection. Usable in GDScript and from within the source code when you want to specify popup menus you don't want to close immediately when selecting an item
* Renamed getter from get_ to is_, fixed parent/child behavior, renamed bool variable to match most code and added ADD_PROPERTYNO to save some memory
2016-12-23 15:43:45 +01:00
volzhs
0ecc968c5c
Fix duplicated string on RichTextLabel if starts with '\n'
...
Fix #6212 , #3773
2016-12-22 08:52:57 +09:00
Johnson Earls
d1cf29fe99
Fix search to find "whole" words at end of line
...
Fix `_get_column_pos_of_word` so that the `SEARCH_WHOLE_WORDS` flag will properly find words that are at the end of a line.
Fixes #7326 .
2016-12-18 06:19:22 -08:00
Rémi Verschelde
8e4f10a3a1
Merge pull request #7200 from volzhs/fix-anim-scroll
...
Fix scroll bar moving in AnimationPlayer editor
2016-11-28 15:32:27 +01:00
Rémi Verschelde
bb1201af1f
Merge pull request #7198 from volzhs/fix-color-picker
...
Fix color selected with mouse scroll
2016-11-28 15:32:06 +01:00
Rémi Verschelde
895b29978b
Merge pull request #7184 from volzhs/spinbox
...
Prevent Spinbox value update while not focused or disabled
2016-11-28 15:28:55 +01:00
Rémi Verschelde
39fede4b17
Merge pull request #7157 from leezh/buttonarray_fixes
...
Flat button support in ButtonArray. Fixes #7153
2016-11-28 15:20:07 +01:00
volzhs
babc5048dd
Fix scroll bar moving in AnimationPlayer editor
...
Fix #7196
2016-11-28 02:41:47 +09:00
volzhs
d9048309e4
Fix color selected with mouse scroll
...
Fix #7192
2016-11-28 01:58:01 +09:00
volzhs
4df33cbcb3
Prevent Spinbox value update while not focused or disabled
2016-11-25 03:15:42 +09:00
Rémi Verschelde
9e2d09f580
Merge pull request #7145 from avril-gh/fixes-6464-lost-icons
...
fixes #6464 lost icons in dock and file dialog, also #6443 , #6302
2016-11-21 12:01:23 +01:00
Zher Huei Lee
4b7443aeea
Flat button support in ButtonArray. Fixes #7153
2016-11-19 21:48:39 +08:00
Avril
958dbc1173
fixes #6464 lost icons in dock and file dialog, also #6443 , #6302
...
Fixes lost icons in docks, file manager, sample library, settings and
various other places.
2016-11-18 06:13:36 +01:00
volzhs
ff4f04e878
Select exactly matched file automatically in FileDialog
2016-11-17 03:39:30 +09:00
George Marques
e167c664c8
Merge pull request #7109 from volzhs/emit-signal-from-set
...
Emit "*_changed" signal in set_*
2016-11-14 13:46:28 -02:00
Rémi Verschelde
715ab48a54
Merge pull request #7107 from eska014/wasm
...
Some WebAssembly stuff
2016-11-14 08:26:24 +01:00
volzhs
384625aa31
Emit "*_changed" signal in set_*
2016-11-14 04:21:29 +09:00
eska
31f929caa2
Clarify a NULL comparison
...
'TreeItem::get_children()' does not return the child count, but rather
a pointer to the children.
This comparison caused an error during WebAssembly builds using the
LLVM backend path.
2016-11-13 15:27:17 +01:00
Rémi Verschelde
34f0ce1168
Merge pull request #6833 from Elinvention/master
...
Make the step property useful for sliders
2016-11-11 10:46:17 +01:00
Rémi Verschelde
7d1230a266
Merge pull request #7052 from Paulb23/text_edit_color_uniformation
...
Made background and symbol color follow the color API
2016-11-09 15:47:15 +01:00
volzhs
c0e87f2a24
Fix Label valign position
...
Fix #7055
2016-11-07 20:15:21 +09:00
Paulb23
7b036a94bf
Caret blink will no longer cause redraw without focus, issue 6167
2016-11-06 14:15:59 +00:00
Paulb23
0e2c15e91a
Made background and symbol color follow the color API
2016-11-06 13:50:23 +00:00
Rémi Verschelde
c099b32b6c
Merge pull request #7036 from volzhs/spinbox-prefix
...
Fix updating value of SpinBox with prefix
2016-11-06 12:07:54 +01:00
Rémi Verschelde
20a33e809e
Merge pull request #7009 from volzhs/fix-double-click
...
Fix to focus or rename node by double click
2016-11-06 12:02:51 +01:00
volzhs
80b6507071
Fix updating value of SpinBox with prefix
2016-11-05 02:34:19 +09:00
ScotFlux
8639d6e806
fix a tiny typo
2016-11-04 01:50:21 +06:00
Rémi Verschelde
6abe49f88d
Merge pull request #7004 from volzhs/fix-itemlist
...
Fix to fit stylebox with ItemList
2016-11-02 22:10:30 +01:00
volzhs
fd9aebd4fa
Fix to focus or rename node by double click
2016-11-01 22:26:29 +09:00
Rémi Verschelde
d4c17700aa
style: Fix PEP8 whitespace issues in Python files
...
Done with `autopep8 --select=E2,W2`, fixes:
- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
2016-11-01 00:35:16 +01:00
volzhs
4c9b00b508
Fix to fit stylebox with ItemList
2016-11-01 07:45:37 +09:00
volzhs
8d5644c4b2
Fix Accept/ConfirmationDialog UI broken
2016-10-31 03:42:30 +09:00
volzhs
3f15a65307
Revert "Place child control under label in AcceptDialog."
...
This reverts commit 3ef2722904
.
2016-10-31 03:40:52 +09:00
Rémi Verschelde
0aebddafc1
Revert "make `Container` node aware of `Size Flags`"
...
This reverts commit 6ed15e995d
.
Fixes #6974 .
2016-10-30 15:14:28 +01:00
Juan Linietsky
ab4126f510
Merge branch 'master' of https://github.com/godotengine/godot
2016-10-30 09:00:45 -03:00
Rémi Verschelde
21828209ec
Merge pull request #6950 from rdb/master
...
Add "Never" underline mode to LinkButton
2016-10-30 12:11:49 +01:00
Rémi Verschelde
a23d8eafa3
Merge pull request #6928 from razvanc-r/fix-container
...
make Container node aware of Size Flags
2016-10-30 12:06:30 +01:00
Rémi Verschelde
426ff9e7ac
Merge pull request #6614 from TheKK/issue5989
...
Make FileDialog directory selection less misleading
2016-10-30 10:46:01 +01:00
rdb
d517bc908f
Add "Never" underline mode to LinkButton
2016-10-28 10:52:57 +02:00
Răzvan Cosmin Rădulescu
6ed15e995d
make `Container` node aware of `Size Flags`
2016-10-26 11:45:16 +02:00
Mariano Suligoy
6d38f79dc5
Fix Color Picker
...
Replace shaders with procedurally generated controls
2016-10-19 19:43:49 -03:00
Rémi Verschelde
e96c49f849
Merge pull request #6850 from akien-mga/pr-scsub-shebang
...
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17 20:13:18 +02:00
Rémi Verschelde
fc8ccd5b8c
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Rémi Verschelde
048bffd13a
Merge pull request #6806 from leezh/button_array_fixes
...
ButtonArray fixes and improvements
2016-10-17 10:05:42 +02:00
Rémi Verschelde
02feb4545e
Merge pull request #6748 from mateka/issue-6199
...
Place child dialog contents under label in AcceptDialog
2016-10-17 09:55:00 +02:00
Rémi Verschelde
15e324b147
Merge pull request #6739 from bvbfan/patch-3
...
Button focus hovering
2016-10-17 09:53:52 +02:00
Elia Argentieri
0955371447
Make the step property useful for sliders as described in #5773
2016-10-15 18:22:48 +02:00
volzhs
7f6c28e97f
Fix GraphEdit connection wire when resizing GraphNode
2016-10-15 03:11:26 +09:00
George Marques
6ca2128ff8
Merge pull request #6807 from volzhs/buttongroup-signal
...
Add "button_selected" signal to ButtonGroup
2016-10-14 14:43:18 -03:00
Zher Huei Lee
38caa4ef91
Added support for tooltips in ButtonArray. Fixes #6597
2016-10-14 18:11:52 +01:00
Rémi Verschelde
44e0071d0f
Merge pull request #6780 from RandomShaper/space-padded-line-numbers
...
Allow turning off zero-padding for line numbers
2016-10-14 18:09:27 +02:00
George Marques
98ad32c167
Merge pull request #6809 from volzhs/graphedit-zoom
...
Fix GraphEdit connection wire when zoom in/out
2016-10-13 13:09:18 -03:00
Pedro J. Estébanez
00b3af246b
Allow turing off zero-padding for line numbers
2016-10-13 11:43:42 +02:00
volzhs
6227e38ec6
Fix GraphEdit connection wire when zoom in/out
2016-10-13 12:11:29 +09:00
volzhs
870ed6f2fa
Add "button_selected" signal to ButtonGroup
2016-10-13 09:58:06 +09:00
volzhs
06903c7ad2
Expose resizable property of GraphNode in inspector
2016-10-13 08:24:25 +09:00
Zher Huei Lee
f5830e0973
Fixes for ButtonArray
...
Fixed hover sometimes not resetting when mouse leaves widget.
Fixed text position not taking into account stylebox's content margins.
2016-10-12 22:54:04 +01:00
Rémi Verschelde
0f587c460e
Merge pull request #6778 from Hinsbart/completion_z
...
Fix Script Editor drawing over Dialogs.
2016-10-11 09:10:39 +02:00
Juan Linietsky
1527cf8c0d
2D Shaders are working again using the new syntax, though all is buggy in general
2016-10-10 18:31:01 -03:00
Andreas Haas
f73b501d6f
Fix Script Editor drawing over Dialogs.
...
Resets the z-index when focus is lost and the completion is shown.
Fixes #6769
2016-10-10 13:24:46 +02:00
Pedro J. Estébanez
d9c1729a8f
Add line length guideline to code editors
2016-10-10 10:39:58 +02:00
Anthony Fieroni
6d21fd42d3
Button focus hovering
...
Signed-off-by: Anthony Fieroni bvbfan@abv.bg
2016-10-10 10:34:18 +03:00
Mateusz Adamczyk
3ef2722904
Place child control under label in AcceptDialog.
...
Fixes #6199 .
2016-10-09 15:00:35 +02:00
Rémi Verschelde
6f9023c9a6
Merge pull request #6717 from Hinsbart/focus_crash
...
Prevent crash on focus change when no valid next control has been found.
2016-10-09 14:41:22 +02:00
Rémi Verschelde
9eb54e5b6e
Merge pull request #6716 from Hinsbart/completion_fix
...
Fix code completion drawing under other gui elements.
2016-10-09 14:40:11 +02:00
Rémi Verschelde
a4f3d93136
Merge pull request #6707 from volzhs/graphnode
...
Expose selected value of GraphNode
2016-10-09 14:37:21 +02:00
Rémi Verschelde
369865f01a
Merge pull request #6705 from volzhs/graphedit
...
Fix GraphEdit grab random node when delete or deselect by clicking empty space
2016-10-09 14:35:24 +02:00
Rémi Verschelde
fb856e532e
Merge pull request #6673 from J08nY/issue-update-spinner
...
Fix #6653 , add an option to stop the update spinner from spinning
2016-10-09 14:06:59 +02:00
Rémi Verschelde
28b0e9a56c
Merge pull request #6553 from pkowal1982/treecheckbox
...
Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK
2016-10-09 13:54:36 +02:00
Andreas Haas
6dfa405eac
Fix code completion drawing under other gui elements.
...
Raises the z-index of the Script editor when the completion is shown.
fixes #1257
fixes #6690
2016-10-05 10:19:52 +02:00
Andreas Haas
8dd026e4f9
Prevent crash on focus change when no valid next control has been found.
...
Fixes the crash discussed in #6714 .
2016-10-05 08:56:58 +02:00
Juan Linietsky
cf5778e51a
-Added ViewportContainer, this is the only way to make viewports show up in GUI now
...
-2D editing now seems to work
-Added some functions and refactoring to Viewport
2016-10-05 01:26:35 -03:00
volzhs
7d74e3c39f
Expose selected value of GraphNode
2016-10-05 02:00:58 +09:00
volzhs
83278a1ac4
Fix GraphEdit grab random node when delete or deselect by clicking empty space
2016-10-05 01:10:49 +09:00
Juan Linietsky
22d83bc9f6
Begining of GLES3 renderer:
...
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
Rémi Verschelde
ad280e7bfc
Merge pull request #6640 from Hinsbart/color_picker
...
Add inline ColorPicker to Script text editor.
2016-10-03 12:00:10 +02:00
Rémi Verschelde
c939be8859
Merge pull request #6634 from zaps166/fix-resampler-crash
...
Don't crash when video is stopped and played again
2016-10-03 11:59:55 +02:00
Rémi Verschelde
03ee749989
Merge pull request #6529 from pkowal1982/scrolltree
...
Add scrolling to Tree control in Drag and Drop mode
2016-10-03 11:44:32 +02:00
Rémi Verschelde
9c4c1733b4
Merge pull request #6513 from Brickcaster/master
...
Fix for issue #6496 : ItemList does not immediately scroll down to section
2016-10-03 11:39:16 +02:00
J08nY
6b283ae293
PopupMenu: added toggle_item_checked and exposed set_item_tooltip and get_item_tooltip
2016-10-01 16:50:53 +02:00
Andreas Haas
f81d009525
Add inline ColorPicker to Script text editor.
...
Adds an option to the script editor context menu that lets you open
a ColorPicker in order to easily edit `Color()` constructors.
To do this, right click on the word `Color` and select `Pick Color`.
A side effect of this change is that the script editor now has its own
context menu instead of re-using the one from TextEdit.
It's now possible to indent left/right and to toggle comments via this menu.
I also felt free to make it more context-sensitive than before:
Now "Cut" and "Copy" will only be shown if text has actually been selected.
I also added default shortcuts for indent left/right. (alt + left/right)
Closes #6232
2016-09-29 09:12:45 +02:00
Pawel Kowal
3edc0a4832
LineEdit long indicator, fix #6624
2016-09-28 22:05:34 +02:00
Błażej Szczygieł
5585bc1c38
Don't crash when video is stopped and played again
2016-09-28 13:39:06 +02:00
Ying-Ruei Liang(KK)
241e2594f1
Show '.' in the tree of file_dialog
2016-09-26 16:04:15 +08:00
Pawel Kowal
dd4f2a2ccb
Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK
2016-09-19 23:07:24 +02:00
Andreas Haas
9c71e5a9df
Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.
...
Fixes #6466
2016-09-19 14:17:48 +02:00
Juan Linietsky
8b15b26eed
Click the inspected objet name to see all subresources.
2016-09-17 19:01:47 -03:00
Pawel Kowal
9e5aaa27bc
Add scrolling to Tree control in Drag and Drop mode
2016-09-17 21:29:55 +02:00
Brickcaster
cc7bc07e33
Fix for issue #6496
...
Canged order of NOTIFICATION_DRAW to update scrollbar before scrollbar
is checked to see which list elements to display.
2016-09-16 11:25:07 -04:00
sanikoyes
b548ef0009
fix ScrollContainer cannot scroll when scroll bar is hidden
2016-09-13 11:50:41 +08:00
Juan Linietsky
37f1e86108
Do ctrl-click on any code identifier to go to definiton or help page.
2016-09-12 10:53:31 -03:00
Juan Linietsky
b874cede20
Add argument options for the theme override functions in Control
2016-09-11 11:48:31 -03:00
Juan Linietsky
95eb7466df
-Added a ColorFrame control, kind of like Texture but for color.
...
-Added dropping nodes to text editor for them to become a path
-Fixed issues with font not properly being set in code editor
2016-09-11 11:28:01 -03:00
Juan Linietsky
1bf684cea2
-Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons
...
-Fixed a bug related to theme propagation, may be able to solve #6443 , #6302 and others. Please test.
2016-09-11 10:05:46 -03:00
Juan Linietsky
65b93d177e
-Added bindings to the resource filesystem for editor
...
-Added set_child_rect, which was unavailable for script
2016-09-10 17:34:27 -03:00
Juan Linietsky
fc61eb37ce
Merge pull request #5920 from 29jm/fix-warnings
...
Fix some more warnings
2016-09-10 12:21:02 -03:00
Juan Linietsky
026c7913cf
Merge pull request #5942 from pkowal1982/scroll
...
ScrollContainer expand children bug fix
2016-09-10 12:14:33 -03:00
Paulb23
63fd8f863b
Added get_v_scroll to item list, issue 5343
2016-09-09 15:20:57 +01:00
George Marques
c73bef1562
Merge pull request #6423 from bebae/issue-6143
...
fixed wrong placement of AcceptDialog Buttons issue-6143
2016-09-07 23:47:48 -03:00
MarianoGNU
ae4f7cbc2c
Explicitly initialize TextureProgress's initial angle value.
...
(Hopefully)
Fixes #3856
Fixes #6426
Fixes #6344
2016-09-07 20:00:10 -03:00
bebae
dd9189aac4
fixed wrong placement of AcceptDialog Buttons issue-6143
2016-09-07 20:49:53 +02:00
Rémi Verschelde
a40309b532
Merge pull request #6420 from Paulb23/itemlist_tooltip_disable_issue_6240
...
Itemlist tooltip disable issue 6240
2016-09-07 20:42:26 +02:00
Paulb23
62a968b1c6
Ability to disable item list tooltip, issue 6240
2016-09-07 18:13:22 +01:00
Rémi Verschelde
b48e6230f4
LineEdit: Quick fix to set_expand_to_text_length argument name
2016-09-07 08:52:42 +02:00
Juan Linietsky
405f6af79c
-Added diectly editable expressions on node to VSEditor, closes #6392
...
-Added ability for LineEdit to expand to fit text
2016-09-06 20:34:24 -03:00
Juan Linietsky
181fdce1e9
Better snapping for graph ports, closes #6394
2016-09-06 19:55:22 -03:00
Rémi Verschelde
eb1b71180e
Merge pull request #6372 from waldson/master
...
Fixes LineEdit text selection with mouse selecting more than intended
2016-09-05 07:46:02 +02:00
Juan Linietsky
5028d7510d
Connection hints when connecting to empty space.
2016-09-03 14:58:23 -03:00
Waldson Patrício
3d84973184
Fixes LineEdit text selection with mouse selecting more than intended
2016-09-02 13:04:15 -03:00
Juan Linietsky
b780679302
-Added focus to comment node
...
-Make comment node not grab focus on main area
2016-09-02 12:03:49 -03:00
Juan Linietsky
fb4d6d1db0
More visual script improvements
...
-Added anti-aliasing on lines
-Improved draw performance enormously
-Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-30 23:46:41 -03:00
Rémi Verschelde
41ee85b6a0
Merge pull request #5262 from vnen/button-signals
...
Add button_down and button_up signals
2016-08-30 16:49:12 +02:00
Rémi Verschelde
622bf389f2
Merge pull request #6264 from MasonAsh/issue-6263
...
Fix sliders incorrectly calculating value on click
2016-08-29 19:05:32 +02:00
Rémi Verschelde
01d5163b6f
Merge pull request #6220 from volzhs/issue-5789
...
Make LineEdit not to cover whole line when rename node
2016-08-29 19:04:49 +02:00
Rémi Verschelde
23cb5efe7c
Merge pull request #5956 from djrm/tree_behavior
...
Double click on scene tree element to focus currently selected node
2016-08-29 18:28:05 +02:00
Rémi Verschelde
6c674375e5
Merge pull request #6249 from volzhs/issue-6121
...
Show last added action on Input Map
2016-08-28 12:02:08 +02:00
volzhs
2e5a4cb5ca
Show last added action on Input Map and implement InputEvent "=="
2016-08-28 15:18:13 +09:00
Daniel J. Ramirez
70c9979cce
Double click on scene tree element to focus currently selected node
...
In 3D it will focus in the first viewport
Enable double click for trees
2016-08-27 17:15:49 -05:00
George Marques
8a1b1ab6d6
Add button_down and button_up signals
2016-08-26 21:57:52 -03:00
Juan Linietsky
9c6175db11
More visual script work
...
-Block switches to 2d/3d editor if editing visual script
-Added cast node in flow control
-Added ability to do RPC in visual script
-Comment nodes
-Fix bug with inverted cable in connecting backwards
-Copy and paste nodes, including from different scripts
2016-08-25 17:45:20 -03:00
Mason Ashbridge
fb54ba6397
Slider value accounts for grabber offset
2016-08-24 03:17:54 -04:00
Juan Linietsky
ad8f208bdb
Proper function/property selection in visual script editing for property.
...
This one has an ordered list, built-in description, search, etc.
2016-08-23 19:29:07 -03:00
Juan Linietsky
231c72b5eb
prettier connections for graph edit
2016-08-23 10:15:47 -03:00
volzhs
ff22db3b21
Make LineEdit not to cover whole line when rename node
2016-08-23 05:46:11 +09:00
Johan Manuel
67b29e3b9e
Fix some warnings about misleading indentation
2016-08-13 13:21:35 +02:00
Rémi Verschelde
b9e8bddf19
Merge pull request #6132 from neikeq/pr-issue-6123
...
Confirm code completion with numpad key ENTER
2016-08-12 13:45:55 +02:00
Ignacio Etcheverry
e9f9e00bd9
Confirm code completion with numpad key ENTER
2016-08-12 13:37:10 +02:00
Juan Linietsky
9890c1d2ca
Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done!
2016-08-06 19:00:54 -03:00
Juan Linietsky
259418f827
VisualScript can now execute visual scripts, but there is no debugger or profiler yet.
2016-08-05 22:48:00 -03:00
Juan Linietsky
6ed5d48d0c
Concluded base visual scripting! can edit but not run though.
2016-08-04 00:05:35 -03:00
Juan Linietsky
3d1d190dcd
Merge branch 'master' of https://github.com/godotengine/godot
2016-08-02 19:11:47 -03:00
Juan Linietsky
ad313097eb
WIP visual scripting, not working yet but you can check out stuff
2016-08-02 19:11:05 -03:00
Zher Huei Lee
af6ef01c69
Added extra spacing support for DynamicFont
...
Side effect is that label min-size will now take into account
kerning.
2016-08-02 11:05:20 +01:00
Paulb23
740dea7de7
Exposed enable syntax highlighting to properties
2016-07-28 15:47:47 +01:00
Pawel Kowal
853161a000
ScrollContainer expand children bug fix
2016-07-27 20:24:10 +02:00
Ignacio Etcheverry
35cb8ff89e
LineEdit: Fix event handled as text when a mod key is pressed
2016-07-27 19:32:46 +02:00
Juan Linietsky
542bd81e76
Merge pull request #5926 from akien-mga/pr-graphedit-drag
...
Fix GraphEdit dragging issues at scales != 1
2016-07-26 18:49:51 -03:00
Rémi Verschelde
60e19f7751
Fix GraphEdit dragging issues at scales != 1
...
Works around the issue originally described in #5907 (that was then
hijacked to describe the broader issue it exposes).
2016-07-26 23:19:41 +02:00
Juan Linietsky
9151eb591d
Changed the way the step decimals are computed to a safer way, fixes many issues.
2016-07-26 17:25:10 -03:00
Juan Linietsky
0b75f894c3
Merge pull request #5746 from Ovnuniarchos/FileDialogExposed
...
Corrections and additions to FileDialog
2016-07-24 12:36:05 -03:00
Rémi Verschelde
8fbe804bd1
Merge pull request #5884 from 29jm/fix-crash-graphnode
...
Fix crash when GraphNode wasn't a child of a Control
2016-07-24 00:37:20 +02:00
Johan Manuel
580b4465c6
Fix crash when GraphNode wasn't a child of a Control
2016-07-24 00:25:32 +02:00
Rémi Verschelde
ebefdaa598
Merge pull request #5737 from neikeq/pr-issue-5269
...
TextEdit: Scroll search results to the center
2016-07-23 22:54:32 +02:00
MarianoGNU
f00e0b589f
Fix pick color from screen. Closes #5853
2016-07-22 20:35:12 -03:00
Johan Manuel
1a1342670e
Fix ItemList.clear() not removing separators
2016-07-22 16:45:57 +02:00
Robert Lewicki
b1df9e016c
Fixed ItemList indexing bug while selecting items.
...
Also added functionality for unselecting items in itemlist while clicking in empty space.
Fixes #5772 .
2016-07-22 16:28:37 +02:00
Rémi Verschelde
51b03f0bf5
Fix binding for ItemList.sort_items_by_text
...
Also forces to recompute the cached rect for all items.
Fixes #5799
2016-07-22 08:08:17 +02:00
Juan Linietsky
93c3c801db
properly implement item disabling, fixes #5683
2016-07-21 18:24:56 -03:00
Rémi Verschelde
40d78c2144
Merge pull request #5829 from 29jm/master
...
Fix the rotation not updating in the inspector with Controls
2016-07-21 09:09:58 +02:00
Rémi Verschelde
750b973ee4
Merge pull request #5200 from neikeq/sc-CanvasItemEditor
...
Implement ShortCuts in CanvasItemEditor
2016-07-21 09:02:01 +02:00
Ignacio Etcheverry
fc16954fa2
TextEdit: Center search results
2016-07-21 03:40:08 +02:00
Ignacio Etcheverry
4e82f9ffcf
Implement missing ShortCuts in CanvasItemEditor
2016-07-21 03:28:41 +02:00
Johan Manuel
fc4ace3120
Fix the rotation not updating in the inspector with Controls
2016-07-21 00:26:36 +02:00
Rémi Verschelde
17f86eee33
Merge pull request #5792 from neikeq/pr-issue-3868
...
Label: Added `get_visible_line_count` method
2016-07-19 07:38:06 +02:00
Rémi Verschelde
569541bafc
Merge pull request #5790 from neikeq/pr-issue-1149
...
MenuButton: Fix event propagation with dialogs
2016-07-19 07:36:25 +02:00
Juan Linietsky
b49476a011
Merge pull request #5731 from neikeq/pr-issue-5642
...
LineEdit: Fix rtl scrolling with mouse drag selection
2016-07-18 19:29:24 -03:00
Ignacio Etcheverry
78819b6b54
Label: Added `get_visible_line_count` method
2016-07-18 23:33:06 +02:00
Ignacio Etcheverry
c45837cf3f
MenuButton: Fix event propagation with dialogs
2016-07-18 23:06:14 +02:00
Juan Linietsky
f10bd217a2
properly fixed notificaitons for theme changed, closes #5774
2016-07-18 16:41:59 -03:00
Rémi Verschelde
e91bd708d9
Merge pull request #5777 from Paulb23/caret_stretching
...
Fixed caret width on tabs
2016-07-18 16:57:12 +02:00
Rémi Verschelde
f53e7efefe
Merge pull request #5527 from djrm/color_picker_fixes
...
Color picker fixes
2016-07-18 16:43:41 +02:00
Paulb23
5505f0c776
Fixed caret width on tabs
2016-07-18 15:15:40 +01:00
Rémi Verschelde
4958963abe
Merge pull request #5742 from Ovnuniarchos/TreeItemSetButton
...
TreeItem.set_button exposed.
2016-07-18 00:53:39 +02:00
Rémi Verschelde
62eae7cbe2
Merge pull request #5723 from Paulb23/toggle_breakpoint_gutter_issue_5712
...
Fixed toggle breakpoint gutter not updating when the game is running, issue 5712
2016-07-18 00:52:36 +02:00
Rémi Verschelde
3183834c5d
Merge pull request #5657 from Paulb23/block_caret
...
Added block caret to TextEdit
2016-07-18 00:44:45 +02:00
Rémi Verschelde
7b28976af5
Merge pull request #5755 from TheHX/issue-5716
...
Fix empty reference pages after restarting Godot
2016-07-17 19:06:03 +02:00
Franklin Sobrinho
18f165b494
Fix empty reference pages after restarting Godot
2016-07-17 13:29:50 -03:00
Rémi Verschelde
22419082d9
Remove some noisy debug prints
...
Part of #5031
2016-07-17 18:25:21 +02:00
Ovnuniarchos
3698332f6b
Exposed mode, access, filters, and show hidden files to the editor. Also, two functions to get/set the filter list.
2016-07-17 03:00:51 +02:00
Ovnuniarchos
10be575aa1
TreeItem.set_button exposed.
2016-07-16 22:36:19 +02:00
Ignacio Etcheverry
671c21dce7
MenuButton: Fix regression
2016-07-16 15:16:26 +02:00
Ignacio Etcheverry
f9d1e03018
MenuButton: Avoid event propagation if handled as hotkey
2016-07-16 14:36:55 +02:00
Ignacio Etcheverry
71ee8eeb3f
LineEdit: Fix rtl scrolling with mouse drag selection
2016-07-15 22:57:46 +02:00
Daniel J. Ramirez
7b846d62ac
Color picker fixes:
...
- fixed alpha channel slider range in raw mode to go from 0 to 1 fixes #4396
- fixed HS bars going outside the control area
- fixed color text field changing to hex mode even if script mode was selected
2016-07-15 13:33:01 -05:00
Paulb23
b550471a14
Fixed breakpoint gutter toggle not updating when game is running, issue 5712
2016-07-15 15:02:55 +01:00
Paulb23
54f720ac06
Added block caret to TextEdit
2016-07-12 16:07:17 +01:00
Rémi Verschelde
c0e6395526
Merge pull request #5638 from TheHX/tree-buttons
...
Fix tree drawing the pressed stylebox in all buttons in the column
2016-07-12 07:28:02 +02:00
Paulb23
28356a7d63
Expose highlight all occurrences
2016-07-11 15:20:01 +01:00
Paulb23
21385d9ecb
Expose show line numbers
2016-07-11 15:11:35 +01:00
Paulb23
a9956be63d
Added completion font colors
2016-07-11 14:25:56 +01:00
Franklin Sobrinho
5708006340
Fix tree drawing the pressed stylebox in all buttons in the column
2016-07-10 19:03:43 -03:00
Rémi Verschelde
d37ef5990b
Merge pull request #5627 from Paulb23/fixed_highlighting_highlighted_section
...
Fixed highlight all occurrences highlighing highlighted section
2016-07-10 19:42:56 +02:00
Juan Linietsky
7af77e1b7b
Merge pull request #5606 from akien-mga/pr-rtl-raw-text
...
RichTextLabel: Fix adding raw text when bbcode is disabled
2016-07-10 13:07:04 -03:00
Juan Linietsky
5bb552273b
Merge pull request #5489 from jejung/richtextlabel-get_text
...
RichTextLabel-get_text
2016-07-10 12:38:28 -03:00
Paulb23
d43adcbb1e
Fixed highlight all occurrences highlighing highlighted section
2016-07-10 16:10:54 +01:00
Ovnuniarchos
061cadcae5
LineEdit placeholder now accepts translated strings.
2016-07-10 00:39:17 +02:00
Juan Linietsky
864c0e84de
line/col label was changing size with each cursor move, forcing the GUI to resize upwards and costing considerably CPU usage.
...
It has been changed so it won't resize the UI when modified.
This will make the code editor feel a lot smoother.
2016-07-09 14:56:08 -03:00
Juan Linietsky
1d6be8b00d
Changed tree so shift-selection skips folded children, closes #5515
2016-07-09 13:15:45 -03:00
Rémi Verschelde
3816fe9d19
RichTextLabel: Fix adding raw text when bbcode is disabled
...
Fixes #5605 .
2016-07-09 14:26:49 +02:00
Rémi Verschelde
454b210242
Remove unused variables (third pass) + dead code
...
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:16:21 +02:00
Franklin Sobrinho
5c3c87206b
Fix TreeItem range editing by dragging on the inspector
2016-07-04 12:14:49 -03:00
George Marques
55b8a353f5
Fix completion string check when column = 0
2016-07-03 18:49:58 -03:00
George Marques
ec18b97f5c
Stop completion when the match is perfect
...
to avoid the completion insisting showing up after a completion.
2016-07-03 11:34:23 -03:00
George Marques
805b668d7f
Fix code completion sorting
2016-07-03 11:32:30 -03:00
Juan Linietsky
ec94dd7eee
Fixed the order of input, reverts #4384 , closes #5361
2016-07-01 11:42:09 -03:00
Juan Linietsky
8cbb154466
Color picker was getting too much focus, made it get not as much focus.
...
This abuse of focus was the original culprit of #5354
2016-07-01 10:55:35 -03:00
Juan Linietsky
f6725f9768
throw error if GridContainer::set_columns goes below 1, closes #5316
2016-06-30 18:54:54 -03:00
Juan Linietsky
89bb72b2d3
Only emit item_selected once per Tree row, closes #5280
2016-06-30 17:52:32 -03:00
Paulb23
050a514799
Fixed signal connection prints when moving docks, issue 5498
2016-06-30 15:12:14 +01:00
Rémi Verschelde
a99ca66ce5
Merge pull request #5449 from sanikoyes/Pr-placeholder-line-edit
...
Add placeholder property for line_edit
2016-06-30 08:06:26 +02:00
Rémi Verschelde
da2f7e3c38
Merge pull request #5419 from djrm/shortcuts
...
Shortcuts for script switching in script Mode
2016-06-30 08:04:26 +02:00
Rémi Verschelde
fcf6977610
Merge pull request #5487 from Paulb23/function_highlighting_issue_5454
...
Fixed function highlighting with spaces
2016-06-30 07:57:31 +02:00
Juan Linietsky
fe5ee68489
Merge pull request #5429 from Paulb23/selected_text_highlighting_issue_5199
...
Fixed selected text turning black, issue 5199
2016-06-29 18:31:47 -03:00
Jean Jung
aeb5365e84
Adding support to get the raw text without formatting information from a RichTextLabel.
2016-06-29 12:43:51 -03:00
Paulb23
484f4d8dec
Fixed function highlighting with spaces
2016-06-29 15:29:22 +01:00
Jean Jung
2fd9b77828
itemlist-get_selected_items
2016-06-28 14:09:17 -03:00
sanikoyes
c702981d57
add placeholder alpha property
2016-06-28 11:45:17 +08:00
Juan Linietsky
ba5bc57816
Figured out a way to fix event propagation for shortcuts and some other cases so they properly stop shortcuts if a modal window is open, closes #4848
2016-06-27 20:14:59 -03:00
Juan Linietsky
88e28af5e3
Add a small workaround to avoid modal tabs to be closed if they are spawned in the same frame, closes #3837
2016-06-27 11:22:13 -03:00
Juan Linietsky
e2d208f122
Ability to rotate controls using tool, closes #3800
2016-06-27 10:47:51 -03:00
sanikoyes
081c400ac6
Add placeholder property for line_edit
...
this useful for user input tip
2016-06-27 19:47:40 +08:00
Paulb23
7f98f37f13
Fixed selected text turning black, issue 5199
2016-06-26 16:38:16 +01:00
Daniel J. Ramirez
8f259ff5ca
Shortcuts for script switching in script Mode
2016-06-26 10:21:02 -05:00
Rémi Verschelde
b02d67be30
Merge pull request #5307 from MarianoGnu/master
...
TextureRegion improvements
2016-06-26 09:43:45 +02:00
Rémi Verschelde
06c6516604
Merge pull request #5379 from neikeq/pr-issue-5375
...
Fix weird deselection behaviour with text field
2016-06-24 21:14:47 +02:00
Rémi Verschelde
118f54aeeb
Merge pull request #5328 from Paulb23/line_edit_caret
...
Added caret blink to line edit
2016-06-24 21:13:26 +02:00
Ignacio Etcheverry
f1e7552722
Fix weird deselection behaviour with text field
...
- TextEdit will now deselect if Ctrl+Left/Right is pressed
- TextEdit and LineEdit no longer deselect text when Alt is pressed (except with Apple style keys)
2016-06-24 14:26:40 +02:00
Juan Linietsky
9e0b6057e7
Make button aware of it being dragged and reset state, closes #4178
2016-06-23 18:20:39 -03:00
Juan Linietsky
a8f8f52b19
Fix issue saving flags (size fill expand), fixes #4176
2016-06-23 17:03:34 -03:00
Paulb23
4f54e72189
Added setting to toggle line edit caret blink
2016-06-22 13:26:44 +01:00
Paulb23
e09e036565
Line edit caret no longer draws on focus loss
2016-06-22 13:26:44 +01:00
Paulb23
e65eba664f
Added caret blink to line edit
2016-06-22 13:20:48 +01:00
Rémi Verschelde
87cb3629f2
Merge pull request #5344 from Paulb23/code_completion_colors
...
Code completion box colors
2016-06-22 07:51:33 +02:00
Paulb23
45f0dec55c
Added code completion existing color setting
2016-06-21 17:34:38 +01:00
Paulb23
706895a922
Added code completion selected color setting
2016-06-21 17:21:55 +01:00
Paulb23
a40cb680ca
Added code completion background color setting
2016-06-21 16:50:31 +01:00
MarianoGNU
79c500bee1
Modify margins with mouse input
2016-06-20 17:06:19 -03:00
Paulb23
8f6b56cfda
Fixed caret not drawing on focus regain
2016-06-20 20:29:58 +01:00
Rémi Verschelde
3668768463
Merge pull request #5196 from vnen/similarity-code-completion
...
Improve code completion search
2016-06-20 13:37:24 +02:00
Paulb23
8cbd0b9ae3
Text Edit no longer draws caret on focus loss
2016-06-19 16:11:16 +01:00
George Marques
66e7ddb55b
Improve code completion search
...
- List completion by subsequence match.
- Case insensitive.
- Sort completion list by similarity.
2016-06-19 11:43:47 -03:00
George Marques
831ae2d510
Fix TextEdit cursor position after undo remove text
...
It was going to where the text started, now it goes to where the text
ends.
2016-06-19 11:43:47 -03:00
Rémi Verschelde
b9f944ed5c
Merge pull request #5271 from neikeq/pr-issue-1004
...
LineEdit cursor fixes and improvements
2016-06-19 13:06:31 +02:00
Rémi Verschelde
c7b425ed9c
Merge pull request #5259 from neikeq/pr-textedit-zoom
...
TextEdit: Change font size with Ctrl+Mouse Wheel Up/Down
2016-06-19 13:04:20 +02:00
Rémi Verschelde
360cebaf23
Merge pull request #5234 from Paulb23/fix_error_tab_print
...
Fixed error: set_current_tab print on project open
2016-06-19 13:00:12 +02:00
Juan Linietsky
400febf585
Add function to get the color picker dialog from ColorPickerButton, closes #4415
2016-06-19 02:08:22 -03:00
Ignacio Etcheverry
4928cc34eb
LineEdit: Word jumping and OSX hotkeys
2016-06-18 20:53:46 +02:00
Rémi Verschelde
b7dbf9207a
Drop empty files that are not used anywhere
...
Part of #5272
2016-06-18 19:46:30 +02:00
Ignacio Etcheverry
bc9f9b1c6a
TextEdit: Change font size with Ctrl+Mouse Wheel Up/Down
2016-06-18 18:47:11 +02:00
Juan Linietsky
adc13e9027
Make ".." always appear even if dir is unlistable (likely lacking permissions), closes #1938
2016-06-18 12:51:27 -03:00
Ignacio Etcheverry
99612207b7
LineEdit: Fix and improve selection behaviour
2016-06-18 16:14:43 +02:00
Rémi Verschelde
a7fc04626a
Add missing license headers in our source files ( #5255 )
...
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Błażej Szczygieł
aebad5de5f
Fix Theora video playback without a Vorbis stream
...
- prevent audio resampler errors when number of channels is 0,
- don't check for 'audio_done' when there is no audio data.
(cherry picked from commit 763b29f34e
)
2016-06-18 00:49:55 +02:00
Juan Linietsky
65bcde0a7d
TabContainer now reports proper minimum size, closes #4896
2016-06-17 18:38:40 -03:00
Juan Linietsky
6a68ce9c93
Fix bug in GridContainer not updating minimumsize when columns changes, fixes #4677
2016-06-17 16:40:40 -03:00
Juan Linietsky
55b83157e7
Keep track of when fonts change, so theme or controls that use fonts as overrides get properly updated.
...
closes #4622 , probably closes many other issues too
2016-06-17 16:01:30 -03:00
Paulb23
a3481ed1c7
Fixed error: set_current_tab print on project open
2016-06-15 18:19:34 +01:00
UgisBrekis
d97e46ffb6
Adds the ability to draw parent-children relationship lines in scene tree editor
...
Can be turned on/off in editor settings + line color change available as
well
2016-06-15 18:10:19 +01:00
Juan Linietsky
333de40180
does not fix the bug reported in #4326 and #4818 ,
...
but at least make sure it throws and error and does not crash
2016-06-14 08:57:00 -03:00
Juan Linietsky
c204170232
correctly wrap lines longer than width in richtextlabel, fixes #4735
2016-06-14 08:10:25 -03:00
Juan Linietsky
944c7e2603
fix crash when clearing dynamicfontdata, closes #4877
2016-06-13 22:24:11 -03:00
Juan Linietsky
4866713bc3
added a function CanvasItem.get_item_and_children_rect() , fixes #4738
2016-06-13 21:37:04 -03:00
Juan Linietsky
26d63b5594
propagate theme changes properly even through 2D nodes, fixes #4754
2016-06-13 21:11:24 -03:00
Juan Linietsky
28034190a9
Merge pull request #5176 from marcelofg55/master
...
Fixed overloaded virtual functions with const vs none warning
2016-06-13 15:45:13 -03:00
Juan Linietsky
be223c91f9
fixed tile map editor plugin, all previews are now the same size, closes #4983
2016-06-12 17:10:34 -03:00
Juan Linietsky
4667f9e61e
Changed how min/max icon size in ItemList works and replaced it by a fixed size. Fixes many issues, closes #4907
2016-06-12 16:52:22 -03:00
Juan Linietsky
c1056a9bfb
Fixed ancient bug that prevented proper theme editing, closes #4924
2016-06-12 15:31:38 -03:00
marcelofg55
3787856563
Fixed overloaded virtual functions with const vs none warning
2016-06-12 13:31:22 -03:00
Juan Linietsky
83bf8036de
rewrote LineEdit window repositioning code so it does not eat the last character, closes #4992
2016-06-12 12:05:21 -03:00
Juan Linietsky
1555608276
fix how some display values are shown, fixes #4953
2016-06-11 22:16:40 -03:00
Juan Linietsky
ef2f6a18d2
make sure tab is not visible in RichTextLabel, closes #5079
2016-06-11 20:04:00 -03:00
Juan Linietsky
f860915ae0
Made many built-in gdscript functions return more descriptive errors, closes #5150
2016-06-11 19:43:38 -03:00
Juan Linietsky
d5e2b59c84
Added options to keep scale and keep aspect centered to TextureFrame, closes #5114
2016-06-11 18:49:35 -03:00
Juan Linietsky
b5f2ea542a
Merge pull request #5161 from neikeq/pr-imp-sc-tooltip
...
BaseButton: Add identifier for shortcut in tooltip
2016-06-11 17:01:15 -03:00
Ignacio Etcheverry
90b3f702bd
BaseButton: Add identifier for shortcut in tooltip
2016-06-11 21:53:48 +02:00
Juan Linietsky
6b7ddce183
Fix last line of label being deleted by line spacing
2016-06-09 22:16:13 -03:00
Juan Linietsky
678563a3b9
Merge branch 'master' of https://github.com/godotengine/godot
2016-06-09 22:07:19 -03:00
Juan Linietsky
8266cf46b5
Reverted a PR i don't understand how to find but fixes #5097
2016-06-09 22:05:41 -03:00
Juan Linietsky
45d1ffd611
Revert "Fix min size bug of Label"
2016-06-09 21:57:38 -03:00
Paulb23
e260e3872c
Caret blink no longer updates when hidden, issue 5100
2016-06-08 14:02:39 +01:00
Juan Linietsky
32fa1e3ee6
Merge pull request #5088 from Paulb23/breakpoint_marker_scaling
...
Improved breakpoint marker position, and scales with font size
2016-06-08 07:55:29 -03:00
DimOkGamer
9c762fef0f
rtr instead ttr
2016-06-07 23:24:32 +03:00
DimOkGamer
ceae11ee29
Fixed localization in file dialogs
...
and two more lines.
2 fixes in ru.po.
2016-06-07 22:48:16 +03:00
Paulb23
d66b034bd1
Improved breakpoint marker position, and scales with font size
2016-06-07 16:59:16 +01:00
Juan Linietsky
736b65e566
Merge pull request #4977 from SaracenOne/scripting_expose
...
Expose extra methods and constants to scripts
2016-06-06 20:27:40 -03:00
Juan Linietsky
be830d10c2
Merge pull request #5026 from Geequlim/patch9frame-extension
...
Enhanced Patch9Frame
2016-06-06 20:15:33 -03:00
Paulb23
a0eb297cfc
Fix error tab index out of size print, issue 4997
2016-06-06 20:25:19 +01:00
volzhs
f792f63b03
Fix min size bug of Label
...
caused by #5030
2016-06-06 00:09:02 +09:00
Juan Linietsky
cee94b6119
changed TTR for RTR
2016-06-05 00:25:15 -03:00
Juan Linietsky
c1028b9011
fix for travis
2016-06-04 21:45:50 -03:00
Juan Linietsky
007efb6a20
-customizable shortcuts in editor
...
-editor settings now save to .tres instead of .xml
-buttons can now hold a shortcut
2016-06-04 21:31:47 -03:00
Geequlim
9546b2ffd4
Add plugin to pick texture region and patch margins for Patch9Frame
2016-06-05 00:45:53 +08:00
Geequlim
dc3cef7c4d
Add texture region support for Patch9Frame
2016-06-05 00:45:53 +08:00
Geequlim
fdf914e53e
Add texture region support for stylebox render
2016-06-05 00:45:53 +08:00
Saracen
b160a26abd
Expose control theme element and override detection methods to scripting side.
2016-06-04 16:42:07 +01:00
Rémi Verschelde
f1cd33b539
Merge pull request #5030 from sanikoyes/Pr-fix-label-minsize
...
fix line_edit&label get min size bug&draw problem
2016-06-04 16:08:25 +02:00
Rémi Verschelde
cbba9c4506
Merge pull request #4300 from leezh/control_focus_mode
...
Exposed Control::focus_mode to the scene editor
2016-06-04 14:41:36 +02:00
sanikoyes
5f7b42cb87
fix line_edit&label get min size bug
...
fix line_edit draw char(x ofs_max)
2016-06-04 18:10:11 +08:00
Juan Linietsky
df139f57b3
Some cleanup to GDScript
...
separated GDFunction (VM) from GDScript in two different files
2016-05-31 22:33:43 -03:00
Rémi Verschelde
9418b81c74
Merge pull request #4916 from Paulb23/current_line_highlighting
...
Current line highlighting draws behind line numbers and breakpont gutter
2016-05-31 07:35:27 +02:00
Rémi Verschelde
78b4dcf84d
Merge pull request #4920 from neikeq/pr-search-bar-fix
...
Fixed and improved search bar
2016-05-30 22:33:01 +02:00
Ignacio Etcheverry
7e4c58c563
Fixed and improved search bar
...
- Search no longer selects the results
- Return focus to the text editor when hiding the bar
- Fix connecting to invalid signal
- Update/redraw the text editor after searching
2016-05-30 18:15:41 +02:00
Paulb23
6ae126ef9b
Current line draws behind line numbers and breakpont gutter
2016-05-30 16:28:31 +01:00
Geequlim
dde995a513
Make dialogs translatable
2016-05-30 22:23:53 +08:00
Juan Linietsky
9b1f8230ec
-Some fixes to OSX retina scaling for window functions
...
-Implemented HiDPI detection and support for Godot Editor!
2016-05-30 00:28:29 -03:00
Rémi Verschelde
c2b1315689
Merge pull request #4847 from Hinsbart/fix_icon_scale_new
...
Proper alignment and fixed scaling for TileMapEditor tile icons.
2016-05-29 18:39:05 +02:00
Rémi Verschelde
e8d5ff5169
Merge pull request #4823 from Paulb23/fix_backspace_selection_redo_crash
...
Fix crash when redoing backspace to clear selection
2016-05-29 18:34:31 +02:00
Rémi Verschelde
d3b46b6bf2
Merge pull request #4822 from Paulb23/breakpoint_marker_issue_4750
...
Added breakpoint markers, issue 4750
2016-05-29 18:34:13 +02:00
Rémi Verschelde
6a7530c718
Merge pull request #4812 from neikeq/pr-search-bar
...
ScriptEditor/ShaderEditor: Replace find/replace dialog with a bar
2016-05-29 18:32:06 +02:00
Juan Linietsky
3e8eb396d7
Finalized DynamicFont implementation
...
-DynamicFont uses Freetype by default
-Editor fonts are now scalable thanks to this
-Cleaned up documentation browser and added fonts for this
2016-05-29 11:37:52 -03:00
Ignacio Etcheverry
51be9beec9
ScriptEditor/ShaderEditor: Replace find/replace dialog with a bar
2016-05-29 14:26:19 +02:00
Ignacio Etcheverry
aba972238e
TextEdit: Improve search method to avoid overlapping results
2016-05-28 18:23:49 +02:00
Ignacio Etcheverry
65fa8f91ca
TextEdit: Avoid capturing KEY_ESCAPE when there is no completion hint
2016-05-28 18:22:54 +02:00
Bojidar Marinov
ab97718d8a
Reorder tiles into nice columns
2016-05-27 22:42:51 +03:00
Andreas Haas
7c1594ee5a
Use scalar to scale TileMap icons
2016-05-27 18:54:46 +02:00
Paulb23
4a5997ec1c
Fix crash when redoing backspace to clear selection
2016-05-26 14:45:11 +01:00
Paulb23
72fda444d1
Added breakpoint markers, issue 4750
2016-05-26 14:17:14 +01:00
Andreas Haas
677b77036a
Allow ItemList icons to stretch to max size.
2016-05-24 20:36:46 +02:00
Juan Linietsky
e843e74d39
General docks clean up
...
-Moved path box above in fs dock
-Remove up/down button and added reordering with DND of favorites
-Changed zoom icon to be centered vertically
-Made filter for files always visible
-Added some options to TextureFrame for better alignment/stretching
2016-05-23 23:24:32 -03:00
Juan Linietsky
d3495b128a
-Improve resource previews
...
-Also fixed draw_texture_rect() tile parameter
2016-05-23 17:11:49 -03:00
Zher Huei Lee
0ccf153a15
GUI Focus mode improvements
...
Exposed `get_focus_mode()` to the script
Added `focus_mode` to the property panels for line-edit and sliders
Added `enabled_focus_mode` to the property panels for buttons
enabled_focus_mode is used when button is enabled/disabled
2016-05-23 15:08:50 +01:00
Juan Linietsky
a75f896338
First version of Profiler
...
It is now possible to profile GDScript as well as some parts of Godot
internals.
2016-05-21 21:18:16 -03:00
Juan Linietsky
c195c0df6b
-Added configuration warning system for nodes
...
-Added a new "add" and "instance" buttons for scene tree
-Added a vformat() function to ease translation work
2016-05-17 18:28:44 -03:00
Rémi Verschelde
02f3e7e766
Merge pull request #4659 from Paulb23/hex_notation_highlighting
...
Fixed hex notation highlighting
2016-05-17 09:33:44 +02:00
Juan Linietsky
f93aaa9b78
Default editing popup for LineEdit and TextEdit
2016-05-16 20:25:17 -03:00
Juan Linietsky
f9d615ee87
Contextualized Scene Tree menu
...
-Added context menu to Scene Tree Dock
-Removed Buttons
-Added a filter to search for nods more easily in the dock
2016-05-16 12:23:58 -03:00
Juan Linietsky
a2c4c17085
Experimental Right Mouse Button menu for SceneTree
...
Will eventually replace the buttons of that dock, so please test it!
2016-05-15 23:41:48 -03:00
Juan Linietsky
8b47e26f59
Changes to FileSystem Dock
...
-Replaced buttons for file actions fo RMB menu
-Added a split mode, if the dock is not sharing vertical space with
anything else
-imroved drag and drop support
2016-05-15 20:25:51 -03:00
Juan Linietsky
bed3efb17e
New reworked AnimatedSprite!
...
-New SpriteFrames editor, with support for drag&drop, multiple animation
sets, animation speed and loop.
-New AnimatedSprite, with support for all the new features!
AnimatedSprite3D has not been updated yet.
-Added support for drag&drop to other editors, such as resourcepreload,
sample library, etc.
2016-05-14 23:48:45 -03:00
Paulb23
b2bf266ddc
Fixed hex notation highlighting
2016-05-15 01:32:43 +01:00
Juan Linietsky
da7a9aae27
Merge pull request #4096 from neikeq/pr-margin-cont-imp
...
MarginContainer improvements
2016-05-13 13:13:12 -03:00
volzhs
81b4d38fa7
open directory or file when double click
...
fixes #4607
2016-05-13 01:22:19 +09:00
Juan Linietsky
0c57a58056
ability to drag scenes from filesystem to tree for instancing
2016-05-11 20:57:52 -03:00
Rémi Verschelde
b42c4cce0f
Merge pull request #4627 from Paulb23/caret_blink_binds
...
Exposed caret blink to gdscript and properties
2016-05-11 19:05:55 +02:00
Paulb23
dc90cba42e
Bind caret blink to gdscript and properties
2016-05-11 17:41:57 +01:00
Rémi Verschelde
7b471068cf
Merge pull request #4612 from bojidar-bg/fix-anchor-builds
...
Fix #4588 (crash in Control::_set_anchor)
2016-05-11 17:46:29 +02:00
Juan Linietsky
d7318f6965
-begun implementing drag & drop editor wide
...
-filesystem dock dnd support
-property list dnd support
-scene tree dnd support
2016-05-11 11:59:03 -03:00
Rémi Verschelde
b9b423c1ee
Merge pull request #4598 from Paulb23/caret_blink
...
Added caret blink to the text editor
2016-05-11 09:33:12 +02:00
Bojidar Marinov
0b572b35c2
Fix #4588 (crash Control::_set_anchor)
...
Thanks to @vnen for testing this
2016-05-10 20:23:58 +03:00
Rémi Verschelde
bc31be9812
Sync classes.xml with current sources
...
Also fix a typo in the binding of Control::set_drag_forwarding.
2016-05-09 22:20:35 +02:00
Paulb23
e03e7deb1b
Added caret blink in text editor
2016-05-09 19:22:11 +01:00
Rémi Verschelde
0dfc4a2029
Merge pull request #4571 from akien-mga/pr-rot-deg
...
Rotation APIs: Better exposure for degrees methods
2016-05-09 19:08:06 +02:00
Paulb23
9e6234201b
Fixed autocomlete strings not appearing for function arguments
2016-05-08 13:18:50 +01:00
Rémi Verschelde
59e68ae6d0
Merge pull request #4557 from Paulb23/autocomplete_truncate_issue_4554
...
Fixed autocomplete truncate, issue 4554
2016-05-07 20:19:40 +02:00
Paulb23
0a2b341d0a
Fixed code completion after opening bracket, issue 3977
2016-05-07 12:01:56 +01:00
Rémi Verschelde
4eab767a6f
Rotation APIs: Better exposure for degrees methods
...
Made public the various set/getters for rotations in degrees.
For consistency, renamed the exposed method names to remove the leading
underscore, and kept the old names with a deprecation warning.
Fixes #4511 .
2016-05-06 23:38:08 +02:00
Paulb23
accc2a195b
Fixed autocomplete truncate, issue 4554
2016-05-05 16:27:05 +01:00
Rémi Verschelde
99e31e1005
Merge pull request #4547 from neikeq/pr-wrong-debug-methods
...
Fix wrong return and argument types in documentation
2016-05-05 09:27:14 +02:00
Juan Linietsky
f909634832
-make sure single select after multi select works better
...
-fixed some warnings for OSX
2016-05-04 17:41:58 -03:00
Ignacio Etcheverry
1e752c0120
Fix wrong return and argument types in documentation
2016-05-04 15:35:09 +02:00
Juan Linietsky
dd69aeceac
Merge remote-tracking branch 'origin/master'
2016-05-03 22:32:38 -03:00
Paulb23
084d0bef96
Autocomplete no longer shows duplicates, issue 1824
2016-05-03 19:48:35 +01:00
Juan Linietsky
c7e8def446
Add ability to send drag events to another object
...
will be documented/tested later
2016-05-03 11:10:28 -03:00
Rémi Verschelde
21c181bd3c
Tabs: Fix align issue with right/close buttons
...
The stylebox around the close button was badly centered.
There were also bad margins applied when using right buttons.
2016-05-01 16:48:55 +02:00
Rémi Verschelde
8b32c80529
Tabs: cleanup code, no functional change
...
Some dead code removed, a few cosmetic changes.
2016-05-01 16:27:33 +02:00
Rémi Verschelde
8574489dd2
Tabs: Fix navigation buttons overlap when resizing
...
It was not taking into account the minimum width of the stylebox.
Fixed by factorizing some duplicate code.
2016-05-01 15:29:07 +02:00
Rémi Verschelde
bbaf296948
Tabs: Fix icon size not taken into account for offset
...
Fixes #4107 .
2016-05-01 14:54:45 +02:00
Rémi Verschelde
ab7886ffc4
FileDialog: reset mkdir label after use ( #4500 )
...
Closes #1686 .
2016-05-01 11:38:24 +02:00
Rémi Verschelde
6883325f92
math: Fix rounding error for 0 in Math::round ( #4495 )
...
Thus revert the previous workaround in commit b123bc4a2a
.
Fixes #3221 .
2016-05-01 11:37:46 +02:00
Franco Eusébio Garcia
a735573327
Add math/script expression evaluation in editor ( #3620 )
...
Rebase of #453
2016-05-01 10:33:32 +02:00
Geequlim
5c61e17c10
Add more documentations and fix AcceptDialog::add_cancel
2016-04-29 16:34:07 +08:00
Rémi Verschelde
45ffc053b5
Merge pull request #4462 from Paulb23/scroll_lines
...
Added scroll lines, issue #4243
2016-04-28 20:53:41 +02:00
Rémi Verschelde
3a4ec88b37
Classref: Document Button and ButtonArray
...
Also bind relevant constants and define some object types and better
argument names for the docs.
2016-04-28 00:10:17 +02:00
Paulb23
54244e0e1d
Added scroll lines, issue 4243
2016-04-27 18:32:14 +01:00
Aren Villanueva
d75856146c
Adds a remove class item option in the theme editor.
...
I've also added a get_stylebox_types helper function to the theme class in order to figure out exactly what types are available to a theme.
2016-04-21 11:58:53 +10:00
Paulb23
8c328474f2
Setting to change line number color
2016-04-08 20:11:16 +01:00
sanikoyes
5ec7d3f264
Fix warn print when hide an control does not inside_tree
2016-04-07 15:46:38 +08:00
Rémi Verschelde
3e3f16fefc
Merge pull request #4251 from Paulb23/block_indent_issue_3803
...
Fixed block indent inconsistency, issue #3803
2016-04-06 19:39:07 +02:00
Paulb23
93700676b5
Fixed block indent inconsistency, fixes issue 3803
2016-04-06 17:46:10 +01:00
Rémi Verschelde
d5191a610b
Merge pull request #4248 from bojidar-bg/fix-launchmedia-for-bones
...
Fix Ctrl+LaunchMedia showing up as a shortcut for "Make Bones"
2016-04-06 18:43:15 +02:00
Rémi Verschelde
44446cf58b
Merge pull request #4238 from Paulb23/caret_color
...
Ability to change the caret color
2016-04-06 18:42:32 +02:00
Rémi Verschelde
d6871ee847
Merge pull request #4234 from Paulb23/member_variable_syntax_highlighting
...
Member variable syntax highlighting
2016-04-06 18:42:13 +02:00
Bojidar Marinov
b7d79c93f4
Fix PopupMenu and MenuButton not activating items with shortcut inside submenus
2016-04-06 15:42:50 +03:00
Paul Batty
646e089782
Fixed text edit undo and redo operation interaction
2016-04-06 08:36:29 +02:00
Paulb23
c7519f091d
Ability to change the caret color
2016-04-05 17:06:56 +01:00
Paulb23
fc9f9adcb2
Member variable syntax highlighting
2016-04-05 15:50:54 +01:00
Paulb23
971c3be52d
Fixed 'complex' typo in method name
2016-04-05 14:30:00 +01:00
Paulb23
15f43149e1
Fixed undoing twice when removing selection
2016-04-05 13:52:18 +01:00
Rémi Verschelde
72825ecdca
Merge pull request #4191 from leezh/progressbar_minsize
...
Progress bar minsize now checks percent_visible
2016-04-04 07:31:03 +02:00
Paulb23
a984adb5a6
Fixed insert mode interaction with auto complete
2016-04-03 15:21:16 +01:00
Paulb23
fe779d4386
Fixed insert mode removing first unselected character
2016-04-03 14:54:54 +01:00
Paul Batty
50aa78210c
Function syntax highlighting
2016-04-02 21:46:42 +02:00
Paulb23
2b57cb94da
Added insert mode to text editor
2016-04-01 13:48:38 +01:00
Zher Huei Lee
0bba09c4cb
Progress bar minsize now checks percent_visible
...
Allows for really thin progress bars such as for pixel-art styles.
2016-03-31 12:58:07 +01:00
Paulb23
cd07badee3
Fixed numbers not highlighting after space
2016-03-26 22:03:27 +00:00
Rémi Verschelde
15d1fca061
Merge pull request #4102 from SaracenOne/dynamic_margin_properties
...
Dynamic property list for control margins
2016-03-23 09:36:18 +01:00
Rémi Verschelde
e8ee4f7973
Merge pull request #4115 from Paulb23/number_syntax_highlighting
...
Syntax highlighting for numbers
2016-03-22 07:34:08 +01:00
sanikoyes
0c6f089ce4
Fix GDScript crash when call show/hide in func _exit_tree
2016-03-22 12:46:33 +08:00
Paulb23
c844c2d604
Syntax highlighting for numbers
2016-03-21 15:45:38 +00:00
Ignacio Etcheverry
d38454b967
MarginContainer: Add top, right and bottom margins
2016-03-21 00:53:47 +01:00
Saracen
d8392dd117
Dynamic property list for control margins allowing floating point properties to be used with ratio anchors.
2016-03-20 05:59:18 +00:00
Rémi Verschelde
b8daa7e6e6
Merge pull request #4095 from neikeq/pr-bind-add_spacer
...
BoxContainer: Bind method add_spacer(bool)
2016-03-19 13:55:04 +01:00
Ignacio Etcheverry
0571f961a8
BoxContainer: Bind method add_spacer(bool)
2016-03-19 13:37:07 +01:00
Ignacio Etcheverry
abb720438f
TextEdit: Fix Shift+Delete shortcut not calling cut()
2016-03-19 13:22:44 +01:00
Saracen
44fe74bfc3
Fix cursor getting locked on tree control if tree is cleared while modifying numerical element.
2016-03-17 23:10:09 +00:00
Paulb23
9c0e1524e5
Fixed highlighting when word occurs as substring first
2016-03-17 20:35:04 +00:00
Paulb23
4cc3fbeaff
Fixed highliting with shift and mouse
2016-03-17 19:37:19 +00:00
Paulb23
b0488cacf2
Highlight all occurrences of selected word
2016-03-16 21:20:42 +00:00
Ignacio Etcheverry
fac027cb14
LineEdit/TextEdit: Add Shift+Delete shortcut for cut
2016-03-15 13:03:38 +01:00
Ignacio Etcheverry
4dfd0c1863
TextEdit: Fix inconsistent copy, cut and paste behaviour
2016-03-15 13:02:38 +01:00
Rémi Verschelde
c1a1adae28
Merge pull request #4051 from AlexHolly/fileeditor-open-any
...
(editor)filedialog open file and dir MODE_OPEN_ANY
2016-03-15 08:45:01 +01:00
Rémi Verschelde
c30bebd1d3
Merge pull request #4017 from Paulb23/set_tab_size
...
Added configurable tab size in the text editor.
2016-03-14 17:12:15 +01:00
Paulb23
9234bd3ff9
Added configuable tab size
2016-03-14 15:13:45 +00:00
Alexander Holland
751c1deef1
(editor)filedialog mode open any
2016-03-14 16:03:18 +01:00
Rémi Verschelde
8b9596b7bf
Merge pull request #4035 from TheHX/item-list
...
Add icon region support for ItemList
2016-03-13 23:52:27 +01:00
Saracen
b2e471fd7c
Undo and redo commands on text editor now affect internal version which fixes inconsistent file saving validation.
2016-03-13 20:08:12 +00:00
Franklin Sobrinho
1f07fe5502
Add icon region support for ItemList
2016-03-13 12:51:19 -03:00
Juan Linietsky
8b1dcbfe4d
-Made editor support SSL certs by default (embedded them)
...
-Made asset sharing support https
-Many fixes to HTTPRequest
-Added an asset installer dialog
-Visual cleanups to asset sharing tab
-Fixed some issues in ScrollContainer, hope it does not break things
-Asset sharing tab is not visible (hidden on purpose) for now.
2016-03-12 10:46:38 -03:00
Bojidar Marinov
bac875be66
Fix a crash when running a game with Controls with a tools build
...
Regression from #3997
TOOLS_ENABLED is defined, even when running from editor, but EDITOR_DEF SEGFAULTs
2016-03-10 21:01:49 +02:00
Rémi Verschelde
aaad24e6fb
Merge pull request #3865 from Marqin/coverity
...
[Coverity] fixed 11 of 537 potential bugs found by Coverity
2016-03-10 16:15:49 +01:00
Bojidar Marinov
0e8a8d2cb1
Add option to keep margins when changing anchors, closes #3979
...
Amend: Fixed an issue for non-tool builds
Amend2: Same, just fixed doing nothing at some times
2016-03-09 21:14:17 +02:00
Hubert Jarosz
7b07bcaf44
fix six possible "divide by zero"
2016-03-09 00:18:23 +01:00
Hubert Jarosz
bf7f9244a9
fix two reading uninitialized pointers
...
fixed in:
tools/editor/project_settings.cpp
scene/gui/graph_edit.cpp
2016-03-09 00:16:56 +01:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
Juan Linietsky
9157a13aef
Merge pull request #3969 from Paulb23/scroll_past_end_of_file
...
Enabled scrolling past end of file in text editor.
2016-03-08 15:34:21 -03:00
Paulb23
f19eea2f2d
Enabled scrolling past end of file
2016-03-07 02:32:51 +00:00
Martin Chuckeles
bd7f2590f1
Add special new line opening
2016-03-04 20:10:31 +01:00
Juan Linietsky
5a9b18b665
-Work on addon editor plugin (disabled by default)
...
-New HTTPRequest node, to make HTTP requests simpler.
2016-03-04 11:10:48 -03:00
Martin Chuckeles
47206b409d
Add editor settings for call hint placement
...
Added settings: text_editor/put_callhint_tooltip_below_current_line
and text_editor/callhint_tooltip_offset
2016-03-04 12:10:15 +01:00
Martin Chuckeles
26cc14e839
Hide hint if completion is active
2016-03-03 20:31:25 +01:00
Martin Chuckeles
03025f60b6
Move the call hint under the current line
2016-03-03 20:26:50 +01:00
Juan Linietsky
34c022a0a2
-Cleaned up GraphEdit, also fixes #3568
2016-02-08 16:28:12 -03:00
Juan Linietsky
9109e41a20
Property handle rotated controls in 2D editor, fixes #3613
2016-02-08 11:29:32 -03:00
Rémi Verschelde
f5433dc60d
Merge pull request #3627 from lordadamson/master
...
renamed function get_video_texutre to get_video_texture
2016-02-08 11:21:58 +01:00
Adham Zahran
6be6d02daf
renamed function get_video_texutre to get_video_texture
2016-02-08 12:11:26 +02:00
Rémi Verschelde
84fbe2d4cb
Merge pull request #3409 from akien-mga/pr-script-tab-colour
...
Make custom_bg fit the whole "selected" area in ItemLists
2016-02-08 07:39:40 +01:00
MarianoGNU
11b3b68c3f
Stop ColorPicker's narcissism ( fixes #3592 )
...
Also prevent alpha in guidelines.
2016-02-06 00:26:54 -03:00
MarianoGNU
614cf481ce
ColorPicker: Prevent regenerating hsv values every time. Fixes #3492
2016-02-05 23:35:15 -03:00
hondres
df4faf8f33
support horizontal mouse wheel, use in text editor
2016-02-04 17:16:22 +01:00
Juan Linietsky
6349c50f5a
-Add some offset to spinboxes in tree, so revert icon does not annoy much when pops up, fixes #3415
2016-02-02 20:44:42 -03:00
Juan Linietsky
ddf21735ba
-remove the !inside_tree error, fixes grab focus error, closes #3521
2016-02-01 21:32:47 -03:00
Juan Linietsky
b587614653
Make sure variant parser recognizes "nil" for compatibility with old engine.cfg style cofig. Closes #3531
2016-02-01 19:01:06 -03:00
Juan Linietsky
dbcca7bea2
-Removed bizarre code introduced in a 2 years old PR, fixes #3483
2016-01-31 18:09:45 -03:00
Rémi Verschelde
0c7e7e2c28
Merge pull request #3470 from MarianoGnu/master
...
Get color constructor from ColorPicker
2016-01-27 19:08:22 +01:00
Franklin Sobrinho
05a85894da
Fix Tree Slider disappearing when clicking on it
2016-01-27 12:24:49 -03:00
George Marques
38c557114b
Remove strand debug print, fix #3473
2016-01-26 22:39:20 -02:00
MarianoGNU
c927409f25
Get color constructor from ColorPicker
2016-01-26 19:10:56 -03:00
Rémi Verschelde
600411b433
Merge pull request #3467 from MarianoGnu/master
...
Focus and select line edit every time color is changed. Fixes #2586
2016-01-26 21:48:53 +01:00
MarianoGNU
5d3fb49826
Focus and select line edit every time color is changed. Fixes #2586
2016-01-26 17:24:58 -03:00
Franklin Sobrinho
66eb28b945
Fix wrong position of LineEdit in Scene editor
2016-01-26 16:03:28 -03:00
Juan Linietsky
35a28f3442
-Take in consideration canvas layers for GUI input
2016-01-24 10:57:42 -03:00
Juan Linietsky
a2992d5955
-Forgot to add clips input to graphedit, fixes #3420
2016-01-23 18:49:26 -03:00
Juan Linietsky
5a1593951b
-Added a "modal_close" signal for controls
...
-Used it to keep changes on lineedit when focused out
2016-01-23 11:45:36 -03:00
Juan Linietsky
579ec65d36
Revert "Tree and PropertyEditor confirm value change on focus loss"
2016-01-23 11:20:54 -03:00
Juan Linietsky
dfbc2dce17
-Improved tab visibility, fixes #3314
2016-01-22 20:19:57 -03:00
Rémi Verschelde
1120b6ae0d
Make custom_bg fit the whole "selected" area in ItemLists
...
Closes #3096
2016-01-22 00:22:27 +01:00
Rémi Verschelde
23be1d8639
Merge pull request #3407 from TheHX/pr-issue-1717
...
Tree and PropertyEditor confirm value change on focus loss
2016-01-21 19:33:50 +01:00
Franklin Sobrinho
06cafeac0a
Tree and PropertyEditor confirm value change on focus loss
2016-01-21 13:03:06 -03:00
Rémi Verschelde
432e7bf839
Merge pull request #3403 from neikeq/spinbox_hold_imp
...
Fix and improved Spinbox behaviour
2016-01-21 14:18:58 +01:00
Ignacio Etcheverry
bd6f7a411c
Fix wrong local mouse pos when holding spinbox and improve behaviour
2016-01-21 14:09:30 +01:00
Rémi Verschelde
f2a397375e
Merge pull request #3381 from MarianoGnu/graph_zoom
...
Add zoom to GraphEdit
2016-01-20 08:00:28 +01:00
Juan Linietsky
891e31b139
-Some fixes to drag and drop and canvas offset for GUI that were introduced after rewrite
2016-01-19 20:28:20 -03:00
MarianoGNU
76ee2035b6
Add a slider to handle zoom
2016-01-18 22:10:44 -03:00
MarianoGNU
c2aaeaaf5a
Add zoom to GraphEdit
...
Also fix some responsiveness issues:
-Box selection no longer visible when connecting.
-Allow cancel connection with mouse's right button.
2016-01-18 20:41:37 -03:00
Ovnuniarchos
ded1acc33e
New shader nodes are now created under (more or less) the cursor.
2016-01-18 16:02:42 +01:00
Rémi Verschelde
4481e8af5c
Merge pull request #3358 from neikeq/issue_1123
...
F5 hotkey to refresh FileDialog/EditorFileDialog
2016-01-18 14:46:17 +01:00
Rémi Verschelde
c0b9634235
Merge pull request #2854 from MarianoGnu/color_picker
...
new ColorPicker
2016-01-18 13:52:51 +01:00
Juan Linietsky
74a48a0140
-Massive editor dialog cleanup
...
-Added a bottom menu list
2016-01-17 20:03:57 -03:00
Juan Linietsky
72fcb8a35b
-Moved all the "root" input handling for GUI from individual Controls to Viewport.
...
-Should fix several reported bugs when controls don't have a common parent
This may have added new bugs, so please report if so!
2016-01-16 22:41:10 -03:00
MarianoGNU
e730d4b3d9
Add guide lines to visual editor.
2016-01-15 17:32:10 -03:00
MarianoGNU
d1ee2ab893
add screen color picking
2016-01-15 17:23:19 -03:00
MarianoGNU
ad2387f0be
Add presets.
...
Also fix some bugs.
Fix a crash and a minor bug
2016-01-15 17:23:19 -03:00
MarianoGNU
1f3d6824c8
Move shaders to default theme and add shader_override related methods to Control class
2016-01-15 17:23:19 -03:00
MarianoGNU
dc7755ffcd
Add a visual editor to color picker.
2016-01-15 17:23:19 -03:00
Ignacio Etcheverry
e80e450ee8
F5 hotkey to refresh FileDialog/EditorFileDialog
2016-01-15 21:19:16 +01:00
Ignacio Etcheverry
ccbf8b42f4
Fix LineEdit not capturing text input events
2016-01-14 16:26:22 +01:00
Juan Linietsky
c4cee22510
Properly fix tab scrolling, fixes #3128 , fixes #3314
2016-01-13 07:39:31 -03:00
Rémi Verschelde
cbdcd99b85
Merge pull request #3257 from TheHX/pr-range-properties
...
Fix error caused by dragging a Range property
2016-01-11 11:50:50 +01:00
Juan Linietsky
6eb742d49f
-Make a rare corner case where disabling/reenabling mipmaps causes invalid texture state. Fixes #3102
2016-01-10 21:45:58 -03:00
Juan Linietsky
3a3ce982b0
removed this fix, which brought more problems than solutions
2016-01-10 00:26:35 -03:00
Rémi Verschelde
3ad263eafe
Merge pull request #3279 from neikeq/issue_3259
...
Fix TextEdit caret being drawn when outside the visible region
2016-01-08 17:42:02 +01:00
Ignacio Etcheverry
02d1ef8ca6
Fix TextEdit caret drawn when outside the visible region
2016-01-08 17:33:42 +01:00
Richard Nespithal
b123bc4a2a
do not return zero with minus-sign within range value, fixes #3221
2016-01-08 15:57:03 +01:00
Ignacio Etcheverry
6541f6418e
TextEdit/LineEdit: Handle numpad PageUp, PageDown, Home and End
2016-01-07 22:59:23 +01:00
Ignacio Etcheverry
a825cfd932
TextEdit/LineEdit: Handle numpad arrows if NumLock is disabled
2016-01-07 21:51:47 +01:00
Rémi Verschelde
a0c39a4b33
Merge pull request #3191 from neikeq/filedialog_hotkeys
...
Add keyboard shortcut to toggle "show hidden files" in FileDialog
2016-01-07 07:50:26 +01:00
Franklin Sobrinho
a906bce9a0
Fix error caused by dragging a Range property
2016-01-06 09:58:22 -03:00
Rémi Verschelde
52e18accf2
Merge pull request #3159 from neikeq/tab_close_icon
...
Add tab close icon to the default theme
2016-01-06 11:58:52 +01:00
Juan Linietsky
b0b1da6950
Make buttons properly obey stylebox content marins, closes #2156
2016-01-02 15:51:41 -03:00
Ignacio Etcheverry
3ca800226e
FileDialog: keyboard shortcut to toggle "show hidden files"
2016-01-02 12:58:38 +01:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
Juan Linietsky
d1a799f744
-fix range limit issue in Particles2D, closes #2411
2015-12-31 15:18:03 -03:00
reduz
974e5362bc
-forgot a check for tools enabled, closes #3166
2015-12-29 12:14:02 -03:00
reduz
2f19260fb7
-restrict gui root from being removed while performing input, fixes #2578
2015-12-29 10:01:29 -03:00
reduz
45ad1024e1
make it easy to edit popupmenus, fixes #2595
2015-12-29 09:26:17 -03:00
reduz
0c6a4b47a6
-Allow negative texture scale in TextureButton, fixes #2956
2015-12-29 08:47:13 -03:00
Ignacio Etcheverry
563c761c8c
Add tab close icon to the default theme
2015-12-29 12:09:41 +01:00
reduz
496cb49771
Fix proper ordering of project settings properties, also fixes inability to change order of autoloads
2015-12-28 18:04:22 -03:00
Rémi Verschelde
bfbde4dfd1
Merge pull request #3146 from akien-mga/pr-argument-names
...
Add missing argument names in GDScript bindings + related fixes
2015-12-28 12:26:36 +01:00
reduz
37cb0faedb
Merge branch 'master' of https://github.com/okamstudio/godot
2015-12-28 01:41:12 -03:00
reduz
f613d546ed
-fixed rich text label fill alignment, always works now
...
-made also sure it doesn't crash, fixes #2688
2015-12-28 01:40:23 -03:00
Rémi Verschelde
d4993b74fc
Add missing argument names in GDScript bindings
...
All classes were reviewed apart from VisualServer for which no argument name is documented at all.
While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
2015-12-28 02:13:05 +01:00
Rémi Verschelde
9fddc69769
Style fix for rounded_values methods in Range
2015-12-28 00:12:13 +01:00
Juan Linietsky
4dba503fc3
Merge pull request #3140 from neikeq/fix_refresh_icon
...
Add reload icon to FileDialog's default theme
2015-12-26 15:37:00 -03:00
Ariel Manzur
6387a8e01f
fixes crash/deadlock when video is paused and unpaused, might affect audio sync tho
2015-12-26 15:39:49 -03:00
reduz
ddd66c8904
small optimization improvement to rich text label tables
2015-12-26 15:18:01 -03:00
Ignacio Etcheverry
84c5585afe
Added reload icon to FileDialog's default theme
2015-12-26 19:15:22 +01:00
reduz
13964f59c1
-Added table support to RichTextLabel
...
-Made help more readable, closes #2851
2015-12-26 10:25:17 -03:00
Juan Linietsky
a1142225bf
-split view of property editor and editor settings
2015-12-15 23:39:36 -03:00
Juan Linietsky
b12a2f456c
-fixes to theora video ending sooner than expected, fixes #3066
2015-12-15 09:17:32 -03:00
Juan Linietsky
83e0e97214
-implement arrows on tabs, when too many tabs are present, fixes #2806
2015-12-14 10:24:28 -03:00
Rémi Verschelde
4018ea63c7
Merge pull request #3050 from eska014/fix-tree-cell-slider
...
Fix editor for TreeItem cells in range mode
2015-12-13 10:10:33 +01:00
Rémi Verschelde
75e88b8b9e
Merge pull request #3049 from eska014/fix-exp-slider
...
Fix setting Sliders in exponential mode
2015-12-13 10:10:25 +01:00
Juan Linietsky
709de124c1
ability to export scene to zip
2015-12-13 01:08:36 -03:00
Juan Linietsky
11eaf019b3
ability to get video player texture
2015-12-12 20:05:26 -03:00
Juan Linietsky
890b462ffb
added rotation and scale support to gui controls
2015-12-12 13:54:26 -03:00
Juan Linietsky
9a7ff65751
make popup emit index when id is not defined
2015-12-12 09:07:43 -03:00
eska
a028840ea5
Fix editing TreeItem cells in range mode
...
- Show slider when editing range mode tree cells per mouse input
- Hide slider after using keyboard controls to edit range mode tree cells
2015-12-10 23:53:19 +01:00
eska
5b03af6b73
Fix exponential sliders
2015-12-10 23:48:03 +01:00
Rémi Verschelde
5f3c87691e
Merge pull request #3019 from neikeq/spinbox_timer
...
Spinbox update range on mouse held
2015-12-10 15:48:23 +01:00
neikeq
d4051e6eb9
Spinbox: increase/decrease with mouse held
2015-12-10 15:44:16 +01:00
neikeq
5f739a2660
TextEdit: Scroll while selecting with mouse idle
2015-12-09 19:56:47 +01:00
Rémi Verschelde
2cc60386d8
Merge pull request #3005 from TheHX/pr-file-dialog
...
Better hidden folders display preferences for editor file dialogs
2015-12-07 20:40:58 +01:00
neikeq
f499fb6fcf
Fix LineEdit cursor
2015-12-07 20:31:21 +01:00
Franklin Sobrinho
42eef3cdc6
Better hidden folders display preferences for editor file dialogs
2015-12-06 19:35:31 -03:00
neikeq
71eaa2d547
Add refresh button to file dialogs
2015-12-04 19:33:30 +01:00
Rémi Verschelde
68d3438a93
Merge pull request #2975 from neikeq/help_scroll_top
...
Fix help view not scrolling to the top
2015-12-02 16:16:18 +01:00
neikeq
11b560d6d4
Fix help view not scrolling to the top
2015-12-02 14:01:46 +01:00
neikeq
c5698fc28e
Fix RichTextLabel copy never called
2015-12-02 08:19:33 +01:00
koalefant
c93a005fb6
Script Editor: automatic indentation after a colon
2015-11-29 17:13:29 +01:00
Franklin Sobrinho
43e1b879d0
Add container automatic update when moving a child node
2015-11-28 13:05:39 -03:00
Franklin Sobrinho
493d3c22ca
Fix editor help scroll to result
2015-11-27 20:11:49 -03:00
Juan Linietsky
b987d2113b
0theora compilation fixes
2015-11-25 00:28:03 -03:00
Rémi Verschelde
2fbc1445a5
Merge pull request #2870 from neikeq/submenu_pos_fix
...
Popup submenu position enhancement
2015-11-23 11:53:30 +01:00
neikeq
9797b6374b
Popup submenu position enhancement
2015-11-22 15:53:22 +01:00
Franklin Sobrinho
5ef23812ac
Add more properties to AcceptDialog
2015-11-20 18:25:01 -03:00
Franklin Sobrinho
bc3b5847b0
Fix SplitContainer bool properties
2015-11-19 09:56:04 -03:00
Juan Linietsky
b6084a8a62
Merge pull request #2364 from neikeq/textedit_select
...
Some TextEdit selection improvements
2015-11-19 00:30:39 -03:00
Juan Linietsky
0c3386b2ed
Merge pull request #2707 from akien-mga/master
...
Cosmetic fixes to SCons buildsystem
2015-11-18 19:43:28 -03:00
Juan Linietsky
75922c57d6
Merge pull request #2635 from StraToN/tabs-buttons
...
Fixed bug : both tab buttons appearing hovered
2015-11-18 19:15:13 -03:00
Juan Linietsky
762a76630c
Merge pull request #2638 from MarianoGnu/master
...
add missing default value
2015-11-18 19:14:37 -03:00
Juan Linietsky
a8f18e1bae
Merge pull request #2639 from MarianoGnu/origin
...
Fix ButtonGroup broken layout
2015-11-18 19:14:25 -03:00
Juan Linietsky
b0d3c27d31
Merge pull request #2725 from SaracenOne/line_edit_alignment
...
nice!
2015-11-18 19:01:04 -03:00
Juan Linietsky
8bbde9e6cc
Merge pull request #2730 from TheHX/fix_exp_property
...
Fix Range exp_edit property
2015-11-18 19:00:19 -03:00
Juan Linietsky
ee944e0da2
Merge pull request #2734 from neikeq/popupmenu_imp
...
Small PopupMenu behaviour changes
2015-11-18 18:59:56 -03:00
Juan Linietsky
b4f88eb4b6
Merge pull request #2735 from TheHX/fix_tree_checkbox
...
Fix Tree checkbox check/uncheck behavior
2015-11-18 18:59:02 -03:00
Juan Linietsky
ef6fab88be
Merge pull request #2747 from MarianoGnu/line_edit
...
Add <Select All>(Ctrl+A) shortcut to LineEdit. Fixes #1094
2015-11-18 18:55:59 -03:00
Juan Linietsky
f2b43e3ec0
Merge pull request #2769 from TheHX/text_edit_improvements
...
Implement Ctrl + backspace/delete to delete words
2015-11-18 18:42:37 -03:00
Juan Linietsky
0bbe1e1657
Merge pull request #2779 from bojidar-bg/patch-5
...
Change popup_menu.cpp to deselect on .clear
2015-11-18 18:36:39 -03:00
Juan Linietsky
3974fbb852
-fixed tabs
2015-11-18 04:47:41 -03:00
Juan Linietsky
081a236c67
-Merged Script and Help tabs
...
-Help tabs can be opened many at the same time
-Color temperatures for opened scripts
-Dominant script opening when switching scene tab
2015-11-17 09:46:08 -03:00
Juan Linietsky
8420c24f7f
-better integration of ndee's theme
2015-11-13 20:56:44 -03:00
neikeq
ae65dfa4ec
Small PopupMenu changes
2015-11-13 22:03:17 +01:00
Bojidar Marinov
bff8b04f52
Change popup_menu.cpp as proposed in #2011
...
Closes #2011
2015-11-13 12:16:55 +02:00
Franklin Sobrinho
222d112f49
Implement Ctrl + backspace/delete to delete words
2015-11-12 13:35:48 -03:00
neikeq
b70e2b754d
TextEdit: Properly scroll vertically when selecting text with mouse drag
2015-11-07 16:04:32 +01:00
MarianoGNU
7828986b1c
Add <Select All>(Ctrl+A) shortcut to LineEdit.
2015-11-06 19:02:57 -03:00
Franklin Sobrinho
8d48cf95b9
Add Tree checkbox check/uncheck behavior when pressing enter
2015-11-05 12:20:45 -03:00
Franklin Sobrinho
467ee040c4
Fix Range exp_edit property
2015-11-04 15:38:02 -03:00
Juan Linietsky
dde6396f22
more fixes
2015-11-04 09:54:23 -03:00
Saracen
e3c50ac63d
Aligned line edit fix.
2015-11-02 17:37:49 +00:00
Saracen
0006f035eb
Added alignment to LineEdit GUI control.
2015-11-02 17:37:47 +00:00
Rémi Verschelde
399b1b0474
Cosmetic fixes to SCons buildsystem
...
- Removed trailing spaces
- Made sure all indentation is done using tabs (fixes #39 )
- Potentially fixed an identation issue for openssl check
2015-11-01 20:53:26 +01:00
Juan Linietsky
8f84f4117c
-Fixed a bug in scrollcontainer not respecting expand flag
...
If you relied on this, make sure the children of your scrollcontainer
is set to expand with the expand flag in either vertical or horizontal axis
2015-10-25 20:08:18 -03:00
Juan Linietsky
f6a790d58c
Merge branch 'master' of https://github.com/okamstudio/godot
2015-10-20 23:55:08 -03:00
Juan Linietsky
d241b2ec1b
-work in progress implementation of NDEE's theme It's NOT DONE YET
2015-10-20 23:54:24 -03:00
MarianoGNU
6df7d92379
Fix ButtonGroup broken layout
2015-10-19 17:46:13 -03:00
MarianoGNU
bf4bb3e17b
Clamp filling angle instead of normalize
2015-10-19 15:26:00 -03:00
MarianoGNU
4345009a0e
add missing default value
2015-10-19 12:21:19 -03:00
Julian Murgia - StraToN
f256e421b5
Fixed minor bug : quicklty pointing alternatively Script button and Close button on a tab showed both buttons as hovered
2015-10-19 12:26:19 +02:00
MarianoGNU
ede0cf20bb
Add fill_degrees to limitate radial filling
2015-10-18 01:21:53 -03:00
MarianoGNU
4452e26253
Merge branch 'master' of https://github.com/okamstudio/godot
2015-10-17 23:38:33 -03:00
MarianoGNU
68fb30aaea
Add fill modes. Clockwise, Counter-CW and center-offset
2015-10-17 23:37:39 -03:00
Juan Linietsky
7d8f187c33
Merge branch 'master' of https://github.com/okamstudio/godot
2015-10-17 15:49:27 -03:00
Juan Linietsky
1db523d0bb
Merge pull request #2274 from MarianoGnu/master
...
Improve Visual Shader Editor responsiveness
2015-10-17 15:31:23 -03:00
Juan Linietsky
6f9631fc51
Merge branch 'master' of https://github.com/okamstudio/godot
2015-10-17 12:48:47 -03:00
Juan Linietsky
be0f7563fb
Merge pull request #1899 from guilhermefelipecgs/fix_#1897
...
Fix for scroll_to_line and search functions, fix #1897
2015-10-17 12:14:07 -03:00
Juan Linietsky
c22b627ee3
Merge pull request #2362 from AlexHolly/update-scene-tab-fix
...
[UI-FIX] - Update scene tabs on save
2015-10-17 10:51:45 -03:00
Juan Linietsky
c9ff40e140
Merge pull request #2380 from StraToN/tabs-buttons
...
Tab close button + display policies + application on Scenes Tabs
2015-10-17 10:46:32 -03:00
Juan Linietsky
63033aa646
Merge branch 'master' of https://github.com/okamstudio/godot
2015-10-17 10:30:08 -03:00
Juan Linietsky
ab22203791
misc cleanup
2015-10-17 10:29:54 -03:00
Juan Linietsky
0d2b28377f
Merge pull request #2455 from firefly2442/hide-menu-fix
...
[UI fix] Hide opened menu when click on menu button
2015-10-17 10:28:20 -03:00
Juan Linietsky
7060eaaa1b
Merge pull request #2481 from firefly2442/cppcheck-arrayindexthencheck
...
ran cppcheck, fixed cases where array index is used before limits check
2015-10-17 10:23:15 -03:00
MarianoGNU
a5ebb52500
Merge branch 'master' of https://github.com/okamstudio/godot
...
# Solved Conflicts:
# tools/editor/property_editor.cpp
2015-10-16 23:21:39 -03:00
Juan Linietsky
b3cda43a0f
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
platform/windows/detect.py
2015-10-13 01:19:32 -03:00
Juan Linietsky
52e756752e
ability to change audio track in theora video
2015-10-13 01:17:54 -03:00
firefly2442
692216b86a
ran cppcheck, fixed cases where array index is used before limits check
2015-10-12 09:45:44 -05:00
Juan Linietsky
c858515785
Fixed theora playback. Removed theoraplayer.
...
Still need to get proper audio output latency in some platforms.
2015-09-26 14:50:42 -03:00
Juan Linietsky
d5579b1506
Merge pull request #2458 from TheHX/text_edit_hscroll
...
Fix HScrollBar of TextEdit
2015-09-26 08:49:47 -03:00
eska
ce2faae2c5
Fix BaseButtons remaining pressed when hiding them while pressing them down
2015-09-26 03:06:42 +02:00
Juan Linietsky
52eebdc001
Merge pull request #2449 from leezh/label-valign-fix
...
reworked Label class
2015-09-25 11:29:49 -03:00
Juan Linietsky
447c319f2c
Merge pull request #2502 from vnen/fix-itemlist-typo
...
Fix ItemList typo in binding
2015-09-25 11:27:50 -03:00
Zher Huei Lee
c38808b5b1
added alignment to BoxContainer
...
Allows aligning contents of VBoxContainer and HBoxcontainer without
having to insert expanding spacers.
2015-09-24 14:07:53 +01:00
George Marques
e6e9e83c2e
Fix typo in ItemList bindings
2015-09-21 14:08:10 -03:00
Franklin Sobrinho
26a715298e
Fix HScrollBar of TextEdit, closes #2355
2015-09-09 13:44:31 -03:00
firefly2442
930cb97c7d
hide opened menu when click on menu button
2015-09-08 22:48:22 -05:00
Zher Huei Lee
564f3e0302
fix minsize-related issues with Label
...
- fixed end of string adding to Label minsize
- exposed set_clip_text() and is_clipping_text() to the script side
- text would now never stick outside its boundaries
- label min-height is now restricted by max_lines_visible
2015-09-08 10:17:28 +01:00
Zher Huei Lee
a0ba134643
added get_visible_characters() to Label
2015-09-07 22:56:16 +01:00
Zher Huei Lee
7c5cd0c296
reworked Label class
...
- no longer inherits Range - instead, more sensible
function names controlling lines visible
- more accurate vertical alignment
- percent_visible preserved even after setting new text
2015-09-07 19:56:17 +01:00
Juan Linietsky
688047a4c9
-removed resources dock, good bye old friend
2015-09-01 00:49:47 -03:00
Mariano Javier Suligoy
553edf1f25
Merge branch 'master' of https://github.com/okamstudio/godot
...
# Solved Conflicts:
# scene/gui/spin_box.cpp
# scene/gui/tree.cpp
2015-08-30 19:39:36 -03:00
Mariano Javier Suligoy
680402cebf
Add missing icons, also make MSVC2010 happy
2015-08-30 19:37:23 -03:00
Juan Linietsky
947b283248
-fix compile issue (pow)
...
-ask user for track to call nodes when adding call track
2015-08-30 10:10:51 -03:00
Mariano Javier Suligoy
c688b55019
Merge branch 'master' of https://github.com/okamstudio/godot
...
# Solved Conflicts:
# tools/editor/property_editor.cpp
# tools/editor/property_editor.h
2015-08-30 02:48:45 -03:00
Juan Linietsky
7bc9846f16
-multi-selection (shift-click) working in scene tree
2015-08-29 23:46:32 -03:00
Juan Linietsky
3a59747c62
-fixes to capture mode
...
-ability to drag spinboxes and tree ranges to change values, like in Unity or Unreal
2015-08-29 01:43:21 -03:00
Mariano Javier Suligoy
54291c655d
Merge branch 'master' of https://github.com/okamstudio/godot
2015-08-24 21:33:00 -03:00
Juan Linietsky
f6e17e37e8
Added new NinePatch control (could be done before with Panel and Stylebox but this is easier)
...
Will you be brave enough to try it? :)
2015-08-24 09:39:16 -03:00
Juan Linietsky
07e9741425
**WARNING BEFORE PULLING**
...
This push changes the binary and XML formats and bumps the major version to 2.0. As such, files saved in this version WILL NO LONGER WORK IN PREVIOUS VERSIONS. This compatibility breakage with older versions was required in order to properly provide project refactoring tools.
If I were you, unless you are brave, I would wait a week or two before pulling, in case of bugs :)
Summary of Changes
-New Filesystem dock, with filesystem & tree view modes.
-New refactoring tools, to change or fix dependencies.
-Quick search dialog, to quickly search any file
2015-08-23 20:15:56 -03:00
Julian Murgia - StraToN
17fbd20673
Added close button to tab. Added 4 display policies for this close button (show always, show never, show active tab only, show hover). Set the scene tabs in editor to follow the hover policy.
2015-08-18 20:27:01 +02:00
neikeq
51fa997cb5
textedit selection improvements
...
allows using shift and pointer selection together, and selecting text while scrolling.
tried to make it as similar as possible to most editors.
2015-08-13 00:34:07 +02:00
Alexander Holland
cff2509ecd
close all parent PopupMenus fix
2015-08-12 22:24:21 +02:00
Mariano Javier Suligoy
c88038228a
Merge branch 'master' of https://github.com/okamstudio/godot
2015-08-03 17:28:33 -03:00
Mariano Javier Suligoy
d7279ddaf2
Delete selected nodes with the Delete key
2015-07-26 21:57:27 -03:00
Juan Linietsky
07c99e11f5
QOL, script buttons in scene tabs
2015-07-26 10:44:35 -03:00
Mariano Javier Suligoy
5ffd818fb1
Duplicate GraphNode(s) [Control+D]
2015-07-25 21:16:07 -03:00
Mariano Javier Suligoy
bdde79a3f4
Box selection for GraphNodes
2015-07-24 21:59:48 -03:00
Juan Linietsky
d50ebbb441
-added icons for root node types on tabs
2015-07-24 14:18:02 -03:00
Mariano Javier Suligoy
2a43778793
Fix tab indent
2015-07-20 22:15:06 -03:00
Mariano Javier Suligoy
bdd12744fe
Select and move multiple nodes at once
2015-07-19 01:48:46 -03:00
Mariano Javier Suligoy
5b71fc45b7
Use popup menu to add new nodes to the shader graph editor in the last clicked location.
2015-07-16 22:38:12 -03:00
Juan Linietsky
95047562d7
Several performance improvements, mainly in loading and instancing scenes and resources.
...
A general speedup should be apparent, with even more peformance increase when compiling optimized.
WARNING: Tested and it seems to work, but if something breaks, please report.
2015-06-29 00:29:49 -03:00
Juan Linietsky
2b64f73b04
more code completion improvements
...
-calltip dissapears with more types of keypresses or when pressing ')'
-properly looks into autoloaded scripts or nodes with another script for
script functions/variables/etc.
2015-06-27 15:52:39 -03:00
Juan Linietsky
a67486a39e
improved get_node(), connect(), etc code completion.
...
-properly completes text arguments
-includes the "/root" autoloads
2015-06-26 01:14:49 -03:00
Juan Linietsky
8b61a3c358
Merge pull request #1907 from tommy3/show-hidden-files
...
set initial flag 'show_hidden_files' for file dialogs in project manager initialization
2015-06-23 00:01:55 -03:00
Juan Linietsky
46692cccf2
Merge pull request #2068 from Krzycho666/color_ramp
...
ColorRamp new features
2015-06-23 00:01:01 -03:00
Juan Linietsky
e9bbb97acc
Multiple scene editing *POTENTIALLY UNSTABLE*
...
-ability to edit multiple scenes at the same time
-resource internal IDs are now persistent, this makes multiple scene
editing possible but maaaaay result in file corruption bugs (tested and
could not find anything but possibility exists because core code
changed, report immediately if you find this).
-properly save settings, layout, etc when edited
-script editing is independent from scene editing now
-show a yellow box when a script belongs to the scene
2015-06-22 00:04:15 -03:00
Juan Linietsky
8228fea02f
missing changes
2015-06-14 02:13:47 -03:00
Juan Linietsky
9a58960d28
some editor window changes
...
-ability to make dock position configurable, and it gets saved
-editor starts maximized default
2015-06-13 22:12:53 -03:00
krzycho
936b6e69f6
founded and fixed a bug that freezed godot when deleting while grabbing color in ColorRamp
2015-06-11 05:18:13 +02:00
krzycho
394276c45f
ColorRamp new features:
...
- hold alt and left-click to duplicate color
- hold shift while grabbing color node to snap selected one to the nearest one if close enough
2015-06-11 04:36:11 +02:00
Juan Linietsky
c76900beb8
draw button focus before text and icon
...
closes #2047
2015-06-08 10:36:27 -03:00
Juan Linietsky
7590f3db21
grid container supports separate h and v spacing
...
closes #2049
2015-06-08 10:36:26 -03:00
Juan Linietsky
c7af3146c8
Merge pull request #2007 from Krzycho666/master
...
Fixed ui_accept problem
2015-06-07 00:29:35 -03:00
Juan Linietsky
143265d4cb
Merge pull request #1973 from Biliogadafr/ColorRamp
...
Replace color phases with color ramp for Particles2D. (need some review/guidance)
2015-06-07 00:26:35 -03:00
Juan Linietsky
b524b40fdc
-fixed many memory initialization issues
...
-fixed deadlock on previews thread
-fixed compilation errors on unix
2015-06-06 22:06:58 -03:00
Juan Linietsky
6974823288
Merge remote-tracking branch 'origin/master'
...
Conflicts:
tools/editor/io_plugins/editor_texture_import_plugin.cpp
2015-06-06 10:12:09 -03:00
Juan Linietsky
9acab32daa
new file dialog!
...
-ItemList control for easier lists/thumbnails
-New file dialog, with support for thumbnails, favorites, recent places,
etc
-Moved .fscache out of the project, no more bugs due to committed/pulled
.fscache!
-Dir dialog now sorts directories
2015-06-06 09:44:38 -03:00
Juan Linietsky
ab99671bb8
-fixes to navigation, so edge-merging is more flexible on conflict
...
-add tab support to richtextlabel
-some click fixes to audio stream resampled
-ability to import largetextures (dialog)
2015-06-01 19:42:34 -03:00
krzycho
14c63565ec
Fixed ui_accept problem. It's possible now to make a custom ui_accept action event and pull it.
2015-05-29 23:37:23 +02:00
Biliogadafr
df9d48d9b5
Replace color phases with color ramp for Particles2D.
2015-05-24 21:18:52 +03:00
Juan Linietsky
fec6aaffd8
more fixes
...
fix ctrl-a for some cases, mentioned in #1704
fix toggling visibility not updating, fixes #1923
2015-05-19 23:07:11 -03:00
Juan Linietsky
9f686563d0
fixed latin separation in label, broke it? for cjk
...
changed non-separatable character detection so latin works properly.
This is probably incorrect. If you speak chinese, korean or japanese,
please help me fix it. closes #1935
2015-05-19 22:26:25 -03:00
Juan Linietsky
221443c5a2
more fixes
...
-only refuse to load an older file if version major is different, fixes
#1944
-fix drive letter default value, fixes #1939
2015-05-19 21:36:35 -03:00
Juan Linietsky
f220183e40
fix a crash situation when starting a thread and other small fixes
2015-05-18 12:45:53 -03:00
tommy3
282c392466
set initial flag 'show_hidden_files' for file dialogs in project manager initialization
2015-05-14 23:50:15 +02:00
Guilherme Felipe
53541c69d4
Fix for scroll_to_line and search functions, fix #1897
...
The function scroll_to_line(0) should return ERR_FAIL_INDEX because
the first line is 1.
2015-05-13 23:35:00 -03:00
Juan Linietsky
d1e4d6e997
-fix clip+center alignment on Button, fixes #1865
2015-05-09 18:29:55 -03:00
Juan Linietsky
65d48d6d39
-Added prints() function, fixes #1132 , #1859
...
-Tabs work inside built-in log window, fixes #1867
2015-05-09 18:09:58 -03:00
Juan Linietsky
c99813dc38
Merge pull request #1826 from eehrich/master
...
Reviewed compiler warnings: fixed some bugs and formal stuff. (2nd try)
2015-05-07 20:02:54 -03:00
Juan Linietsky
9de37817bc
-removed dynamic_cast on CheckBox, fixes #1830
2015-05-06 09:45:25 -03:00
ehriche
ac9263c680
clearified parenthesis of if construct
2015-05-06 01:39:42 +02:00
ehriche
897a1aade5
optional formal changes
2015-05-06 01:22:31 +02:00
Juan Linietsky
36932a0065
avoid crash on some cases of richtextlabel fill, but odd behavior persists, #1803
2015-05-05 00:37:06 -03:00
Juan Linietsky
74b0e0c296
fix crash in editor when using alt+arrows to indent, thanks adolson and romulox_x
2015-05-05 00:17:22 -03:00
Juan Linietsky
dce8a6c251
Merge pull request #1804 from ricpelo/ricpelo-patch-2
...
Wrong use of | instead of ||
2015-05-04 21:49:12 -03:00
Juan Linietsky
2a02d3f96f
fix font import path on windows, closes #1675
2015-05-04 15:06:41 -03:00
Ricardo Pérez
f3542ff838
Wrong use of | instead of ||
2015-05-04 19:54:17 +02:00
Juan Linietsky
d6d29f6d79
Merge pull request #1755 from dbsGen/master
...
Fixed some bugs in Label.
2015-05-03 22:55:58 -03:00
Biliogadafr
8e7973d660
Triple click doesn't select line if click was done on different lines. Fix #1727
2015-05-02 00:03:49 +03:00
Juan Linietsky
c45ffc2ca9
-fixed old condition in TextureFrame that caused bugs in materials, closes #1742
2015-05-01 12:16:51 -03:00
Juan Linietsky
4804462ee0
-Fixes from source code analyzizer, closes #1768
2015-05-01 10:44:08 -03:00
Gen
0bc5b7a146
Optimize the code.
2015-05-01 18:47:34 +08:00
Gen
c322eddffb
fixed a autowrap bug when word is too length.
2015-04-30 12:47:05 +08:00
Gen
57d571a1c4
Update label.cpp
2015-04-30 00:03:19 +08:00
Gen
02d672753f
space is only skipped when autowrap.
2015-04-29 23:43:39 +08:00
Gen
6fa342a1b0
record the number of space before a word.
2015-04-29 16:34:56 +08:00
Gen
ad358562e5
record the number of space before a words.
2015-04-29 16:34:25 +08:00
Juan Linietsky
7773d70f44
bad lookup in grid container corrected, cells are properly aligned again. Fixes #1462
2015-04-28 23:10:06 -03:00
Gen
dfc59d1e00
Update label.h
2015-04-28 23:07:41 +08:00
Gen
1a6012aff5
Update label.cpp
2015-04-28 23:06:34 +08:00
Juan Linietsky
65c96a71bd
fix crash on exit for popup, fixes #1676
2015-04-26 15:42:02 -03:00
Juan Linietsky
1721ef17d6
disable apply modifiers by default in export flag
2015-04-22 18:20:29 -03:00
Juan Linietsky
93ce7d92c1
-Many fixes and demo for RichTexLabel
...
-Proper ability to edit BBCode in RTL.
2015-04-21 16:01:58 -03:00
Juan Linietsky
70752f3e4b
-oops, duplicated text issue fix..
2015-04-20 20:51:52 -03:00
Juan Linietsky
389d6ca0c7
disable undo properly after ctrl-i, fixes #1688
2015-04-18 16:57:01 -03:00
Juan Linietsky
4661a6e126
-try to avoid errors when path using ".." is present in script include, fixes #1703
2015-04-18 16:17:33 -03:00
Juan Linietsky
fdaa2920eb
Updated copyright year in all headers
2015-04-18 14:38:54 -03:00
Juan Linietsky
1572238adb
merging okam changes
2015-04-02 07:22:17 -03:00
Juan Linietsky
7ad7f2f6a9
android fixes, please test
...
(can' t build android atm)
2015-03-23 11:31:23 -03:00
Juan Linietsky
ffa556aeea
Merge pull request #1402 from ElectricSolstice/editor_match_fix
...
Fixed issue #1377 about script editor parenthesis matching.
2015-03-22 15:02:15 -03:00
Juan Linietsky
6d813c81b8
Merge pull request #1460 from MarianoGnu/master
...
Create Checkbox class with support for Radio Buttons
2015-03-22 14:55:36 -03:00
Juan Linietsky
47efcff8bb
Merge pull request #1535 from rollenrolm/hidden_files
...
New option to show/hide hidden files
2015-03-22 14:46:09 -03:00
Juan Linietsky
1e4841dc52
drag & drop demo (GUI)
2015-03-22 12:52:47 -03:00
rollenrolm
db0a71fc58
New option to show/hide hidden files
2015-03-21 18:33:32 +01:00
Juan Linietsky
acc6f3b285
signed distance field font support
2015-03-21 00:43:33 -03:00
Juan Linietsky
53e1694e1e
New option to send canvas to render buffer
...
allows to use 3D environment effects for post processing such as Glow,
Bloom, HDR, etc. in 2D.
2015-03-16 01:14:59 -03:00
Juan Linietsky
09489e3a78
lot of work on 2D lighting and isometric maps
...
added a new demo, isometric_light that does full isometric sorting,
lights, shadows, etc.
2015-03-09 02:34:56 -03:00
Mariano Javier Suligoy
0bc7eb1d91
Fix C++11 compilation
2015-03-08 10:39:27 -03:00
Mariano Javier Suligoy
63006f6f6f
Register CheckBox class to create it using editor.
2015-03-02 22:12:51 -03:00
Mariano Javier Suligoy
205ed6c9f5
Improve mechanism and fix radio icon rendering.
2015-03-01 16:45:13 -03:00
Mariano Javier Suligoy
e8e9f100e5
Add CheckBox control with theme edition and radio icon avaible.
2015-03-01 11:23:05 -03:00
ElectricSolstice
11a5949ec4
Fixed issue 1377 about script editor parenthesis matching.
2015-02-19 16:34:04 -08:00
Juan Linietsky
5ef3f7392f
support for light and normal mapping in 2D
2015-02-18 19:40:02 -03:00
Juan Linietsky
4333aa240c
Godot UI is quick and snappy again!
...
Changed linked listed sort to use auxiliary memory
this fixes user interface performance issues.
2015-02-15 12:38:25 -03:00
Juan Linietsky
d2f86cc09b
fixes to mouse warp
...
-can warp now from viewport and control, in their respective coordinate
systems
-warp is now local to the window on Windows and OSX.
IF YOU RUN OSX, PLEASE TEST THIS! And make sure it works!, new code is
in OS_OSX::warp_mouse_pos. I don't have OSX so i can't test!
2015-02-14 19:22:06 -03:00
Juan Linietsky
c5f509f238
New Navigation & Pathfinding support for 2D
...
-Added Navigation & NavigationPolygon nodes
-Added corresponding visual editor
-New pathfinding algorithm is modern and fast!
-Similar API to 3D Pathfinding (more coherent)
2015-02-14 12:10:15 -03:00
Juan Linietsky
67d357191f
begin work on lighting system for 2D
...
nothing functional yet, just experimenting with API
2015-01-22 11:07:16 -03:00
Nathan Warden
cac555dc78
When overwriting a file with an auto added extension the file name is now set correctly.
2015-01-16 07:48:28 -05:00
Nathan Warden
7d2f359a0c
File path in save dialog automatically appended with correct extension if not manually added by the user.
2015-01-14 18:05:57 -05:00
marynate
3a0f665c90
Total rows of text edit was calculated wrong, fixed issue #842
2015-01-13 17:16:56 +08:00
Juan Linietsky
544ce2a1db
-Initial working(?) implementation of shaders for 2D. Lighting still not there though.
...
Check for reference:
https://github.com/okamstudio/godot/wiki/shader
2015-01-12 10:19:09 -03:00
Juan Linietsky
78f4b93703
Fixes to GraphEdit:
...
-Working area is bigger now, solves #1148
-Using Position now works, fixes #1141
-RGB ops now work, fixes #1139
-Missing bindings to GraphEdit and GraphNode added
-Shader Graph Editor Shows errors on cyclic links and missing connections
2015-01-08 00:41:34 -03:00
Juan Linietsky
7a0e4c822c
-Visual Shader Editing Finished, PLEASE TEST!
2015-01-07 01:45:46 -03:00
Juan Linietsky
1ff0d5c4e5
-attempt to be friendlier on non english keyboards
2015-01-04 22:39:21 -03:00
Juan Linietsky
a8bcb96ad4
-Fix shortcuts for OSX code completion, fixes #1111
...
-Fixed how translation fallbacks works, fixes #1011
2015-01-04 11:03:31 -03:00
Juan Linietsky
f39473ae7a
-Obscure bug in popups solved, fixes #1008
2015-01-03 23:27:11 -03:00
Juan Linietsky
0e1d70f637
-removed empty control
2015-01-03 16:55:07 -03:00
Juan Linietsky
ddf7457894
Merge branch 'master' of https://github.com/okamstudio/godot
2015-01-03 16:53:39 -03:00
Juan Linietsky
fbdd925d9b
-Work in progress visual shader editor *DOES NOT WORK YET*
2015-01-03 16:52:37 -03:00
Juan Linietsky
167c1027be
-fixed bug on focus capture, now respets line/text edit
...
-when playing animations, property editor is now refreshed properly, fixes #1046
2015-01-03 15:39:01 -03:00
Juan Linietsky
6b5b95bb4e
-added new code completion guess locations, closes #1032
...
-moved commandline fix to mingw-only, should fix #1064
2015-01-03 13:03:13 -03:00
romulox_x
c83a00c603
Changed texturebutton scale from float to Size2
2015-01-02 20:23:52 -08:00
Juan Linietsky
fa7a3ac0d3
removed deadcode
2015-01-03 00:25:21 -03:00
Juan Linietsky
0df45672e7
-ability to scale and modulate texturebutton, closes #818
...
-fixed bug in ordering of modal subwindows, closes #1001
2015-01-03 00:23:14 -03:00
Juan Linietsky
d722537154
-proper minimum size computation for TabContainer
2015-01-02 22:34:22 -03:00
Juan Linietsky
8a28af024e
-fix TextEdit shift-click functionality past begin and end of selection ( #1004 )
2015-01-02 15:08:40 -03:00
Juan Linietsky
d88e192ae4
-fix readonly issues ( #1018 )
2015-01-02 14:27:21 -03:00
Juan Linietsky
f7f197c409
-ability to set default textures in shader (needed for visual shader editing)
...
-work in progress new graph system (will replace current one)
-crash fix in s3m loader (out of bounds acess)
-fixed vbox overriding of separation (fixes empty line between section tabs)
2014-12-21 11:42:44 -03:00
Juan Linietsky
9783f6fc96
Merge branch 'master' of https://github.com/okamstudio/godot
2014-12-20 12:32:32 -03:00
Juan Linietsky
cf0a419efa
WIP work on graph nodes and editing
2014-12-20 12:32:14 -03:00
Juan Linietsky
9f5bbfc322
-improved completion options for InputEvent, shows all event types now
2014-12-18 00:56:33 -03:00
Dana Olson
1a6628f5a3
change shortcut for toggle-comment to Ctrl+K
2014-12-17 15:57:39 -05:00
Juan Linietsky
c8b2a5f64a
-added brace matching to go with the new code completion
2014-12-17 01:53:34 -03:00
Juan Linietsky
bcf27feb98
New Code Completion
...
-=-=-=-=-=-=-=-=-=-
-Massive improvement to code completion
-Argument hinting for functions
If you manage to out-smart the code-completion in a situation where completion
should be possible to guess, let me know.
Please enter the commit message for your changes. Lines starting
2014-12-16 22:31:57 -03:00
Juan Linietsky
10b371516b
More Fixes
...
-=-=-=-=-=
-Bug in saving multinline text in xml fixed. #925
-typo in android export fixed. #930
2014-12-07 11:33:57 -03:00
Dana Olson
380f12def2
now undo/redo supported
2014-12-07 02:21:49 -05:00
Dana Olson
05801b9265
apply patch #882 from dcubix
2014-12-07 01:07:00 -05:00
Juan Linietsky
c79be979d4
Batch of Bugfixes
...
-=-=-=-=-=-=-=-=-
-Fixed Export UV XForm (should work now). #923
-Fixed enforcement of limits in property editor. #919
-Fixed long-standing bug of export editings in script inheritance. #914 , #859 , #756
-Fixed horrible error reporting in shader language. #912
-Added kinematic collision with plane (please test well). #911
-Fixed double animation track insert when using 2D rigs. #904
-VKey updates offset parameter in sprite edition. #901
-Do not allow anymore a script to preload itself. (does not fix #899 , but narrows it down)
-Avoid connection editor from overriding selected text. #897
-Fixed timer autostart. #876
-Fixed collision layers in 3D physics. #872
-Improved operators in shader #857
-Fixed ambient lighting bug #834
-Avoid editor from processing gamepad input #813
-Added not keyword #752
Please test!
2014-12-07 02:04:20 -03:00
Juan Linietsky
8ad12525a9
-fixes to vmethod for button
2014-12-02 17:26:56 -03:00
Dana Olson
7d8e34c284
allow Alt+arrow keys to pass through editor
2014-11-13 00:38:26 -05:00
Juan Linietsky
3daab56f17
Merge pull request #879 from DCubix/master
...
GDScript Editor Goodies
2014-11-13 01:52:17 -02:00
Diego Lopes
e2ba6ecf57
Editor goodies update
2014-11-12 11:39:21 -03:00
Juan Linietsky
6dd8768811
3D Import Import & UDP
...
-=-=-=-=-=-=-=-=-=-=-
-Animation Import filter support
-Animation Clip import support
-Animation Optimizer Fixes, Improvements and Visibile Options
-Extremely Experimental UDP support.
2014-11-12 11:23:23 -03:00
Juan Linietsky
0dbedd18fc
SceneMainLoop -> SceneTree
...
-=-=-=-=-=-=-=-=-=-=-=-=-=-
*YOUR SOURCE MIGHT NOT WORK*
For mor information on fix:
https://github.com/okamstudio/godot/wiki/devel_scene_tree
Other stuff:
-Shower of bullets demo
-Fixes all around
2014-11-05 21:20:42 -03:00
Juan Linietsky
d85b67be53
Bug Fixes
...
-=-=-=-=-
-Fixed problem with scaling shapes (#827 ), related to not taking scale in consideration for calculating the moment of inertia
-Added support for multiline strings (or comments) using """
-Save subscene bug, properties not being saved in root node (#806 )
-Fix Crash in CollisionPolygon2DEditor (#814 )
-Restored Ability to compile without 3D (#795 )
-Fix InterpolatedCamera (#803 )
-Fix UV Import for OBJ Meshes (#771 )
-Fixed issue with modifier gizmos (#794 )
-Fixed CapsuleShape gizmo handle (#50 )
-Fixed Import Button (not properly working in 3D) (#733 )
-Many misc fixes (though no new features)
2014-11-02 11:31:01 -03:00
Gerold31
6532aa627c
Fix some more incorrect bindings
2014-10-26 15:07:54 +01:00
Guy Rabiller
41d1f9b7d6
- Fix BaseButton "Click on Press" issue. Now a button correctly show its visual "Pressed" status when "Click on Press" is enabled and the button is clicked.
2014-10-24 16:33:43 +02:00
Juan Linietsky
cd218b8c09
Fixes
...
-=-=-
-Fixed normalmap depth parameter
-Fixes to DirAccess on Windows
-Double click on resource dock will open them
-Fixes to doc generator (should make github wiki on class list more up to date)
2014-10-14 19:44:41 -03:00
Juan Linietsky
b24fe3dd20
Huge Amount of BugFix
...
-=-=-=-=-=-=-=-=-=-=-
-Fixes to Collada Exporter (avoid crash situtions)
-Fixed to Collada Importer (Fixed Animation Optimizer Bugs)
-Fixes to RigidBody/RigidBody2D body_enter/body_exit, was buggy
-Fixed ability for RigidBody/RigidBody2D to get contacts reported and bodyin/out in Kinematic mode.
-Added proper trigger support for 3D Physics shapes
-Changed proper value for Z-Offset in OmniLight
-Fixed spot attenuation bug in SpotLight
-Fixed some 3D and 2D spatial soudn bugs related to distance attenuation.
-Fixed bugs in EventPlayer (channels were muted by default)
-Fix in ButtonGroup (get nodes in group are now returned in order)
-Fixed Linear->SRGB Conversion, previous algo sucked, new algo works OK
-Changed SRGB->Linear conversion to use hardware if supported, improves texture quality a lot
-Fixed options for Y-Fov and X-Fov in camera, should be more intuitive.
-Fixed bugs related to viewports and transparency
Huge Amount of New Stuff:
-=-=-=-=-=-=-=-==-=-=-=-
-Ability to manually advance an AnimationPlayer that is inactive (with advance() function)
-More work in WinRT platform
-Added XY normalmap support, imports on this format by default. Reduces normlmap size and enables much nice compression using LATC
-Added Anisotropic filter support to textures, can be specified on import
-Added support for Non-Square, Isometric and Hexagonal tilemaps in TileMap.
-Added Isometric Dungeon demo.
-Added simple hexagonal map demo.
-Added Truck-Town demo. Shows how most types of joints and vehicles are used. Please somebody make a nicer town, this one is too hardcore.
-Added an Object-Picking API to both RigidBody and Area! (and relevant demo)
2014-10-03 00:10:51 -03:00
Juan Linietsky
048fdc8aea
-variables with export in script are now IMMEDIATELY AND ALWAYS visible in properties ( #718 )
...
-WorldEnvironment cleanup issues fixed (#563 )
-Text Editor improvement to shift-mouse selection (#648 )
-(Hopefully) fixed rare (but horrible) indexing bug in GDScript compiler (#652 )
-Some changes to PhysicsBody API, renamed property "active" to "sleeping", which makes more sense
-Added add_collision_exception() API in PhysicsBody (more accessible)
-ability to select and copy in the output messages panel
2014-09-22 00:50:48 -03:00
Juan Linietsky
11a5ed508b
Fixed too many little issues, check the issues closed today.
2014-09-21 01:43:42 -03:00
Juan Linietsky
549d344f0f
Fixing Issues...
...
- #672 (default user:// in $HOME/.godot/app_userdata (linux/osx) and $APPDATA/Godot/app_userdata (Windows)
- #676 (draw both tiles and octants in order from top to bottom, left to right )
- #686 (unicode escape sequences work now)
- #702 (was not a bug, but a test was added to see if bodies went too far away)
2014-09-19 18:39:50 -03:00
Juan Linietsky
f0f516442b
Merge pull request #705 from rollenrolm/vslider-fix
...
Fix for inverted VSlider
2014-09-19 11:27:05 -03:00
Ralf Hölzemer
48ff50d447
Fix bug #471 , Colour picker labels are incorrect in HSV and RAW mode
2014-09-19 02:57:41 +02:00
Ralf Hölzemer
5cd174586a
Fix for inverted VSlider
...
VSlider would get set at the inverted position when receiving a mouse click
Dragging the slider worked correct
2014-09-19 00:52:05 +02:00
Juan Linietsky
fa004d5c0f
Small Fixes
...
-----------
-Added Ability for centering on top left for centercontainer
-Added ability to bind more than 5 parameters (must include an extra file)
2014-09-17 11:53:29 -03:00
Juan Linietsky
326fd93e1d
Merge pull request #661 from adolson/add-tab-binding
...
couple tab and tab container fixes
2014-09-17 09:52:33 -03:00
Juan Linietsky
8cab401d08
3D Physics Rework, Other Stuff
...
-=-=-=-=-=-=-=-=-=-=-=-=-=-
3D Physics:
-Fixed "Bounce" parameter in 3D
-Fixed bug affecting Area (sometims it would not detect properly)
-Vehicle Body has seen heavy work
-Added Query API for doing space queries in 3D. Needs some docs though.
-Added JOINTS! Adapted Bullet Joints: and created easy gizmos for setting them up:
-PinJoint
-HingeJoint (with motor)
-SliderJoint
-ConeTwistJoint
-Generic6DOFJoint
-Added OBJECT PICKING! based on the new query API. Any physics object now (Area or Body) has the following signals and virtual functions:
-input_event (mouse or multitouch input over the body)
-mouse_enter (mouse entered the body area)
-mouse_exit (mouse exited body area)
For Area it needs to be activated manually, as it isn't by default (ray goes thru).
Other:
-Begun working on Windows 8 (RT) port. Compiles but does not work yet.
-Added TheoraPlayer library for improved to-texture and portable video support.
-Fixed a few bugs in the renderer, collada importer, collada exporter, etc.
2014-09-15 11:33:30 -03:00
Juan Linietsky
1a2cb755e2
3D Physics and Other Stuff
...
-=-=-=-=-=-=-=-=-=-=-=-=-=
-New Vehicle (Based on Bullet's RaycastVehicle) - Vehiclebody/VehicleWheel. Demo will come soon, old vehicle (CarBody) will go away soon too.
-A lot of fixes to the 3D physics engine
-Added KinematicBody with demo
-Fixed the space query API for 2D (demo will come soon). 3D is WIP.
-Fixed long-standing bug with body_enter/body_exit for Area and Area2D
-Performance variables now includes physics (active bodies, collision pairs and islands)
-Ability to see what's inside of instanced scenes!
-Fixed Blend Shapes (no bs+skeleton yet)
-Added an Android JavaClassWrapper singleton for using Android native classes directly from GDScript. This is very Alpha!
2014-09-02 23:13:40 -03:00
Dana Olson
d344043db7
was fetching incorrect meta data for tab titles
...
closes #650
2014-08-28 02:12:15 -04:00
Dana Olson
a8266cd9b2
add/fix GDScript bindings for add_tab/remove_tab
...
closes #651
2014-08-28 02:06:28 -04:00
Juan Linietsky
678948068b
Small Issues & Maintenance
...
-=-=-=-=-=-=-=-=-=-=-=-=-=
-Begin work on Navigation Meshes (simple pathfinding for now, will improve soon)
-More doc on theme overriding
-Upgraded OpenSSL to version without bugs
-Misc bugfixes
2014-08-01 22:10:38 -03:00
Juan Linietsky
01632a824e
Bug Fixes
...
-=-=-=-=-
-Documentation now shows overridable theme values (though this needs to be documented).
-Detect when object transform is flipped and flip normals too.
-TileMap can specify bounce and friction for collision.
-Removed limit of 4 lights per object
-Added is_hovered() to buttons.
2014-06-29 22:41:02 -03:00
Juan Linietsky
e086bccd63
Import 3D Scene Improvements
...
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-If re-importing from the "dependency changed" dialog, edited scene will keep the local changes.
-Imported scene will keep track of changes in the source asset
-Geometry changes in source geometry or nodes with a different transform will be updated.
-Materials will be kept if changed locally.
-New nodes added will be kept
-If nodes were reparented or renamed, they will still keep track
-Deleted notes will be restored, use the -noimp option to avoid this.
-In general, you can trust that if you do local modifications to the imported scene, they will not be erased after re-import.
-Erasing your changes is done by re-importing from the "Re-Import" menu, re-opening the "Import 3D Scene" dialog. This wil re-import fresh.
Overall, This should allow you to work on a scene and see changes made to 3D assets in real-time.
So Please test!!
2014-06-19 02:23:03 -03:00
Juan Linietsky
ddc0e7fd3b
FineTune HDR and Other Stuff
...
-=-=-=-=-=-=-=-=-=-=-=-=-=-
-More parameters to ESM shadows
-LightMap Octree now can bake to "hdr" (use HDR8 for now)
-New resource PolygonPathFinder, polygon based pathfinder using A-star algorithm. (will add nodes to use it more easily soon)
2014-06-17 11:58:35 -03:00
Theo Hallenius
359ea6088c
Made a uniform distribution of characters in Label::set_percent_visible()
2014-05-31 23:50:10 +02:00
marynate
3164784ca3
Fix script editor scrollbar disappear issue
2014-05-21 01:07:47 +08:00
Juan Linietsky
b324ff7ea5
A bit of everything:
...
-IMA-ADPCM support for samples, this means that sound effects can be compressed and use 4 timess less RAM.
-New 3D import workflow based on Wavefront OBJ. Import single objects as mesh resources instead of full scenes. Many people prefers to work this way. Just like the rest of the imported resources, these are updated in realtime if modified externally.
-Mesh resources now support naming surfaces. This helps reimporting to identify which user-created materials must be kept.
-Several fixes and improvements to SurfaceTool.
-Anti Aliasing added to WorldEnvironment effects (using FXAA)
-2D Physics bodies (RigidBody, KinematicBody, etc), Raycasts, Tilemap, etc support collision layers. This makes easy to group which objects collide against which.
-2D Trigger shapes can now also trigger collision reporting in other 2D bodies (it used to be in Area2D before)
-Viewport render target textures can now be filtered.
-Few fixes in GDscript make it easier to work with static functions and class members.
-Several and many bugfixes.
2014-05-14 01:22:15 -03:00
marynate
8090a4ebb1
Fix LineEdit selected text drag and drop behavior: move instead of duplicate selected text; maintain selection after drag and drop.
2014-05-11 12:16:08 +08:00
jonyrock
6c9203fdaf
remove degud output
2014-05-07 15:42:55 +04:00
jonyrock
0121d96288
call during autocompletion
2014-05-07 15:38:07 +04:00
marynate
0771020c83
Add auto code completion (without press Ctrl+Space manually)
...
Disalbe auto code completion even there's only one option
Hide auto-completion if only one completion option and it's been typed
Support use tab key to accept code completion option
2014-05-06 21:06:03 +08:00
marynate
212b8b2a03
Add get_word_under_cursor() method to TextEdit
2014-05-06 19:21:21 +08:00
Juan Linietsky
72ae89c5aa
Lots of 3D improvements:
...
-Object Manipulator Gizmo keeps proper scale in all windows and projections, (configurable on settings too).
-Manipulator gizmos for other objects (camera, shapes, etc) massively improved and bug-fixed.
-Manipulator gizmos are different for edited object and other objects.
-Properly highlight manipulator gizmo handles when hovered.
-Fixed bugs in fragment program when using more than 1 light together.
-Reload png/jpg files automatically in editor if edited externally.
-Added 4-stages Parallel Split Shadow Mapping, to improve shadow quality in large scenarios
-Added PCF13 to improve smoothness of shadow borders
-General optimization of directional light shadow mapping for Orthogonal,PSM and PSSM.
-Fixed normal mapping when importing DAE files, works nicely now.
2014-05-04 22:50:23 -03:00
jonyrock
209eaf6fa0
Merge remote-tracking branch 'upstream/master' into pair_symbols_tool
2014-05-01 20:15:28 +04:00
jonyrock
bb853d121e
EDITOR_DEF in the right place
2014-04-30 20:21:58 +04:00
Juan Linietsky
87f37bc5a3
-Added OpenSSL and HTTPS support
...
-Built-in version of the library for Windows, Android and iOS (other OSs use system one)
-Small fixes all around
2014-04-28 21:56:43 -03:00
jonyrock
2c683b0f99
#331 settings menu option title fix oops
2014-04-28 13:31:58 +04:00
jonyrock
a93ad6e321
#331 settings menu option title fix
2014-04-28 13:16:49 +04:00
jonyrock
a5384bc07b
pair symbols tool basic imp
2014-04-27 14:34:37 +04:00
jonyrock
a5e331c66f
#298 imp
2014-04-26 16:42:19 +04:00
Juan Linietsky
0360b454a4
-Fixed viewport stretch bugs
...
-Fixed input in viewport stretch bugs
-Fixed tilemap pixel overlap (really?)
2014-04-18 11:43:54 -03:00
jonyrock
a49527540f
text cursor in text editor & const in Rect2i
2014-04-17 15:30:40 +04:00
Juan Linietsky
ec4ef2d2e7
-Added google play services (needed for some stuff)
...
-Added new screen resizing options, stretch_2d is removed, new much more flexible ones.
-Fixed bug in viewport (can create more instances in 3d-in-2d demo now)
-Can set android permissions and screen sizes manually in the export settings
-Changed export templates extension to .tpz (too many people unzipped the manually..)
-File dialog now ensures that the proper extension is used (will not allow to save without it)
-Fixed bug that made collision exceptions not work in 2D
2014-04-14 22:43:44 -03:00
jonyrock
89568b9017
home button like & whitespace
2014-04-10 19:57:20 +04:00
Juan Linietsky
c74d918d57
Merge branch 'master' of https://github.com/okamstudio/godot
2014-04-10 00:19:29 -03:00
Juan Linietsky
7ea3e8267a
-Fixed a few bugs in Viewport
...
-Made a few demos using Viewport to show it's true power!
-Fixed some start-up error messages.
2014-04-10 00:18:27 -03:00
sanikoyes
77a840e350
Merge branch 'master' into hotfix-android-unicode-ime-input
2014-04-06 21:52:47 +08:00
Juan Linietsky
9f33134c93
-Support for changing fonts
...
-Detect when free() might crash the project and throw error
-fixed 2D Bounce in physics (3d still broken)
-renamed “on_top” property to “behind_parent”, which makes more sense, old on_top remains there for compatibility but is invisible.
-large amount of fixes
2014-04-05 12:39:30 -03:00
sanikoyes
9174ac7386
Add anchor options "Center"
2014-03-31 19:02:21 +08:00
sanikoyes
51429bd8d6
fix android can't input unicode characters
...
fix hide soft keyboard by press 'back' button,
then click current focus text edit/line edit control,
soft keyboard won't show again
add features:
press enter key with line edit control will hide soft keyboard
2014-03-13 16:58:03 +08:00
reduz
b657d2df90
Merge pull request #151 from marynate/PR-fix-line-edit-bind-select
...
Fix LineEdit select method binding
2014-02-28 14:50:50 -02:00
marynate
8fb19e5843
Auto select custom property value field when pop up, user can start typing to change value right away.
2014-02-27 22:19:30 +08:00
marynate
3985660ca4
Fix LineEdit select method binding
2014-02-27 22:17:40 +08:00
Juan Linietsky
ed6d9463d2
-Added ATITC texture support
...
-Fixed bug of some tabs showing wrong names
-Exported properties for viewport
2014-02-26 10:08:17 -03:00
Juan Linietsky
8c1731b679
-project settings are saved when changed
...
-load() was in the GDScript docs but missing in the scripting-different music for platformer 2D and 3D
-fix how documentation is generated, built in doc browser should be always up to date
-copypaste, scrolling, etc in builtin doc
-built-in scripts get saved now (though debugger may not always work on them)
-Theme can be set to controls as a property
2014-02-15 21:16:33 -03:00
Juan Linietsky
9afdb3e0ad
-fixed bug in Button now exporting font property
...
-made GUI Theme editor usable
-editor does not allow to export or create .pck in the same path as a project
-changed .pck format (lacked support for versioning so couldn't change it), previous was causing crashes and is now incompatible, just re-export.
-will not look for .pck files recursively, was causing unexpected behaviors
-fixed execution of Godot in paths with non unicode characters in Windows, OSX and Linux.
2014-02-15 02:02:41 -03:00
Juan Linietsky
b607687a31
Merge branch 'master' of https://github.com/okamstudio/godot
2014-02-13 18:06:53 -03:00
Juan Linietsky
58cda02a38
-fixed export templates not loading/exporting on Windows
...
-fixed TouchScreenButton with stretch2d
-fixed(?) OSX crash on startup (test!!)
-compilation fixes on windows
-CollisionPolygon editor works again
-find buttons en find dialog
-TileMap editor cleanup (removed "error", made nicer)
-viewport flicker fixed
-make .scn default extension for saving scenes
-export the rest of the network classes to gdscript
2014-02-13 18:03:28 -03:00
Trent McPheron
555d3761db
Disabled the slider for numeric values on the tree view.
2014-02-10 16:42:46 -05:00
Juan Linietsky
0b806ee0fc
GODOT IS OPEN SOURCE
2014-02-09 22:10:30 -03:00