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