Bernhard Liebl
b80bc553dd
Double-click word selection for RichTextLabel (i.e. docs)
2017-12-28 17:44:22 +01:00
Bernhard Liebl
d640542f6d
Remove some lagginess from TextEdit's smooth scrolling
2017-12-28 15:49:37 +01:00
yanorax
8627de2794
Fix TreeItem cell text alignment
2017-12-29 00:23:57 +11:00
Bernhard Liebl
414c60aee7
Support KEY_UP and KEY_DOWN in LineEdit
2017-12-27 17:04:07 +01:00
Noshyaar
e6b6683694
Merge pull request #14991 from djrm/pr_fixes
...
Show Options Dialog for NodePath and File in clicked button position.
2017-12-27 10:29:25 +07:00
Noshyaar
07d0f2e72b
Merge pull request #15046 from YeldhamDev/optionbutton_changes
...
Added "get_popup" method for OptionButton
2017-12-27 10:22:22 +07:00
Noshyaar
198bb5309d
Merge pull request #15049 from YeldhamDev/get_popup_const
...
Made MenuButton and ColorPickerButton's "get_popup" methods return constant
2017-12-27 10:20:56 +07:00
Ian
19c3f4c4c1
fix indent selection crash
2017-12-26 12:13:17 -08:00
Juan Linietsky
4a2eef4ad8
Removed the InputEvent ID field, which was unused and can cause bugs.
2017-12-26 09:49:31 -03:00
Bernhard Liebl
076a5f35fc
Fix shift-key down on last line in TextEdit
2017-12-26 08:32:30 +01:00
Michael Alexsander Silva Dias
23080c7ed7
Made MenuButton and ColorPickerButton's "get_popup" methods return constant.
2017-12-25 14:03:53 -02:00
Michael Alexsander Silva Dias
096b5a65c6
Added "get_popup" method for OptionButton and minor changes.
2017-12-25 13:49:27 -02:00
Poommetee Ketson
6c897707ca
Add missing parameter names
2017-12-25 21:19:56 +07:00
Noshyaar
256a60bc6e
Merge pull request #14826 from carlosfvieira/14371-F_key_Viewport_focus_problem
...
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys)
2017-12-25 08:42:31 +07:00
Noshyaar
deda8974df
Merge pull request #14853 from MattUV/context-menu
...
Adds an option to move cursor with right click in TextEdit
2017-12-25 08:40:20 +07:00
Noshyaar
24515266a1
Merge pull request #14875 from YeldhamDev/splitcontainer_cursor
...
Fixed SplitContainer showing the "resize" cursor when it shouldn't
2017-12-25 08:37:52 +07:00
Noshyaar
aab4434d76
Merge pull request #14801 from RayKoopa/insert_tree_item
...
Tree: Insert new item, fix behavior when no parent given
2017-12-25 08:35:31 +07:00
Daniel J. Ramirez
07fd5456c8
Show Options Dialog for NodePath and File in clicked button position.
...
Auto select newly created nodes.
2017-12-23 15:15:48 -06:00
Paulb23
a11a691b17
Fixed keyboard word selection when at the start/end of line, issue 14675
2017-12-23 14:47:04 +00:00
Rémi Verschelde
3068ccc8e6
Merge pull request #14913 from poke1024/tooltip-shortcut-names
...
Consistent display of shortcut names in tooltips
2017-12-21 22:47:50 +01:00
poke1024
22d87f20fa
Consistent display of shortcut names in tooltips
2017-12-21 20:17:30 +01:00
carlosfvieira
49859871d9
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
...
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
2017-12-21 11:29:17 +00:00
Michael Alexsander Silva Dias
274b3db0d9
Fixed SplitContainer showing the "resize" cursor when it shouldn't.
2017-12-20 18:20:23 -02:00
MattUV
a55870cd81
Adds an option to move cursor with right click in TextEdit
...
Fixes #14832
- Added an option in the editor settings/cursor to make the cursor move with right click.
- If the option is activated (true by default), a right click will move the cursor before displaying context menu.
- If there is a selection, a right click on it will keep it selected, a right click outside it will unselect it.
- The option is available in textEdit via an inspector property (or via GDScript): caret_moving_by_right_click
- The option is available in the script editor and the shader editor via the editor settings
- The documentation has been updated with the new property, and a few other entries in TextEdit.xml.
2017-12-20 09:01:09 +01:00
Juan Linietsky
fc103566e6
Added font oversampling support
2017-12-19 18:48:30 -03:00
Ray Koopa
a08c5d73a5
Add functionality to insert tree item.
2017-12-18 14:19:39 +01:00
Dmitry Koteroff
ea14b0789b
A few small Debugger->Errors tab enhancements:
...
1. Added "Clear" button to clear list.
2. Errors list now populated with newest items comes first, so no need to scroll everytime.
3. Added PopupMenu to errors list with ability to quickly Copy error text & details.
2017-12-18 03:40:49 +03:00
Rémi Verschelde
1ef123c57d
Merge pull request #14748 from YeldhamDev/popupmenu_circleback
...
Made highlighted item in PopupMenu circle back to the beginning/end when using the keyboard
2017-12-17 20:22:50 +01:00
Rémi Verschelde
90d95c7ee1
Merge pull request #14757 from YeldhamDev/submenu_keyboard
...
More changes to PopupMenu's submenu keyboard handling
2017-12-17 20:22:20 +01:00
Rémi Verschelde
fd022cb156
Merge pull request #14778 from YeldhamDev/lineedit_deselect_expose
...
Exposed LineEdit's "selection_clear" and renamed it to "deselect"
2017-12-17 19:29:59 +01:00
Michael Alexsander Silva Dias
95f93e038a
Exposed LineEdit's "selection_clear" and renamed it to "deselect".
2017-12-17 15:40:44 -02:00
Bernhard Liebl
abfcce0067
Fix cut-copy-line breaking paste (issue 14539)
2017-12-17 16:24:23 +01:00
volzhs
ef32018d1f
Fix Clip Content property is not saved
2017-12-17 23:10:59 +09:00
Michael Alexsander Silva Dias
7e38db631f
More changes to PopupMenu's submenu keyboard handling.
2017-12-16 20:57:26 -02:00
Rémi Verschelde
d03f35f1bc
Bind TextEdit.deselect and update documentation
2017-12-16 21:08:31 +01:00
Michael Alexsander Silva Dias
c19cc581ec
Made highlighted item in PopupMenu circle back to the beginning/end when using the keyboard.
2017-12-16 13:54:43 -02:00
Rémi Verschelde
76af59ee5e
Merge pull request #14649 from MattUV/fix-indentation
...
Modifies text indentation behaviour
2017-12-16 00:41:59 +01:00
Rémi Verschelde
22eab86cdb
Merge pull request #14706 from YeldhamDev/popupmenu_submenu
...
Enhancements and fixes for PopupMenu's submenus
2017-12-16 00:15:35 +01:00
Rémi Verschelde
35b6e7e2c7
Merge pull request #14707 from poke1024/fix14691
...
Fix thin lines in editor gui on hidpi (issue 14691)
2017-12-16 00:10:40 +01:00
Michael Alexsander Silva Dias
dc80a29dc5
Enhancements and fixes for PopupMenu's submenus.
2017-12-15 18:30:42 -02:00
Bernhard Liebl
2616e2b3c6
Fixes close button overlapping window title
2017-12-15 20:28:08 +01:00
Bernhard Liebl
3b79529cf2
Fix thin lines in editor gui on hidpi (issue 14691)
2017-12-15 18:49:48 +01:00
Henrique L Alves
baf1161344
Fixes slider node tick offset
...
Fixes wrong tick offset on slider nodes - they now match with the corresponding 'grabber' positions.
Fixes issue #14637
2017-12-15 09:52:34 -02:00
MattUV
db020f3cea
Modifies indentation behaviours
...
Partially fixes #14559 (see the issue for details);
Removes some code redondancy ;
Adds the possibility to indent left and right without selecting text ;
Adds the entries to the context menu when text is not selected ;
Renames indent_selection_left() and indent_selection_right() to indent_left() and indent_right() ;
Unifies context menus of shader text editor and script text editor.
2017-12-15 10:04:56 +01:00
poke1024
f08768c189
Fix crash (and bug) in RichTextLabel
2017-12-13 20:22:47 +01:00
Noshyaar
0b990d3ef5
Merge pull request #14474 from toger5/fixSliderNan
...
added missing NaN check fixes : #13255
2017-12-12 19:01:40 +07:00
Poommetee Ketson
9888a56639
Change statable to multistate, remove extra separator
2017-12-12 09:41:17 +07:00
volzhs
79de82f7d0
Fix Index p_current=0 error at starting editor
2017-12-11 20:46:33 +09:00
Rémi Verschelde
2314f0c281
Merge pull request #14543 from volzhs/checkbox-checkbutton-center
...
Fix align=center info is not saved with CheckBox & CheckButton
2017-12-11 08:02:22 +01:00
volzhs
1273f10646
Fix align=center info is not saved with CheckBox & CheckButton
2017-12-11 15:53:30 +09:00
volzhs
2afa2bc389
Fix CheckBox minimum size
2017-12-11 15:37:29 +09:00
volzhs
3c04d7798c
Fix CheckButton minimum size
2017-12-11 14:52:32 +09:00
Rémi Verschelde
523237943c
Merge pull request #14509 from poke1024/fix_selection_copy_crash
...
Fix crash in RichTextLabel::selection_copy()
2017-12-10 16:17:54 +01:00
Bernhard Liebl
658fb0a0a9
Fix crash in RichTextLabel::selection_copy()
2017-12-10 16:08:24 +01:00
Rémi Verschelde
bf45e569c9
Merge pull request #11510 from AndreaCatania/skel
...
Added skeleton x-ray
2017-12-10 13:03:53 +01:00
Rémi Verschelde
7d735da6aa
Merge pull request #13351 from poke1024/fix12451_2
...
Make click on arrow properly open and close property editor modals
2017-12-10 11:58:36 +01:00
Bernhard Liebl
efc3ffb816
fix certain popup close clicks with popup buttons
2017-12-10 10:55:48 +01:00
AndreaCatania
63ec5823d1
Implemented skeleton visibility
...
Removed code visibility code from popup menu
2017-12-10 03:15:52 +01:00
toger5
c3d9094140
added missing NaN check fixes : #13255
2017-12-09 22:03:57 +01:00
Rémi Verschelde
5c7644d167
Merge pull request #13847 from YeldhamDev/filedialog_title
...
Added "mode_overrides_title" property to FileDialog
2017-12-09 15:48:19 +01:00
MattUV
e669ca2576
Modify shortcuts and menus to fold/unfold code
...
Fix #13180
As the same shortcut cannot be assigned to two actions, I removed the ability to fold (fold_line()) or unfold (unfold_line()) via menu (still possible by code), and there is a single fold/unfold action (toggle_fold_line()).
The new default shortcut is now Alt+F
2017-12-08 19:21:48 +01:00
Rémi Verschelde
b3b4727dff
Merge pull request #14014 from kosz78/scroll-container-fix
...
Fix scroll enabled in case of content fit in scroll container
2017-12-08 08:28:29 +01:00
Paulb23
48ad133cf9
Changed current line draw order and added code folding color
2017-12-07 19:17:43 +00:00
Rémi Verschelde
13c2ff9320
Style: Apply new clang-format 5.0 style to all files
2017-12-07 08:02:00 +01:00
Rémi Verschelde
8a07cb0b69
Merge pull request #14352 from ianb96/get_hidden_width
...
Fixes horizontal scrolling over hidden lines
2017-12-07 07:52:01 +01:00
Rémi Verschelde
f13bea768d
Merge pull request #14353 from TheAspiringHacker/fix-lineedit-eat
...
Check for icon in LineEdit::set_cursor_position
2017-12-07 07:38:26 +01:00
Rémi Verschelde
46ac939a74
Merge pull request #13362 from groud/fix_folding
...
Fixes folding of blank lines
2017-12-07 07:20:41 +01:00
TheAspiringHacker
de03966a65
Check for icon in LineEdit::set_cursor_position
...
Fixes #14340
2017-12-06 19:13:34 -05:00
Ian
1c1a6723d0
fixes horizontal scrolling over hidden lines
2017-12-06 19:04:47 -05:00
Rémi Verschelde
ca439056a6
Merge pull request #14328 from YeldhamDev/popupmenu_submenu_fix
...
Fixed PopupMenu's submenus not showing up in certain situations
2017-12-07 00:19:22 +01:00
Rémi Verschelde
e334b0c4b2
Merge pull request #13491 from RaXaR/master
...
Added get_popup() method to ColorPickerButton...
2017-12-06 23:47:43 +01:00
Rémi Verschelde
7b557a4e1f
Merge pull request #13409 from YeldhamDev/textedit_disabled
...
Add disabled theme to TextEdit
2017-12-06 23:42:54 +01:00
Michael Alexsander Silva Dias
6629cc7a85
Fixed PopupMenu's submenus not showing up in certain situations.
2017-12-06 17:27:21 -02:00
Konstantin Zaitsev
0485fb4df3
Fix scroll enabled in case of content fit in scroll container
2017-12-06 11:00:46 +07:00
Dmitry Koteroff
0a1a5396ec
Rich Text Label: fixed deselection issue
2017-12-04 18:46:20 +03:00
Michael Alexsander Silva Dias
075edbc5ed
Added "mode_overrides_title" property to FileDialog.
2017-12-03 00:04:47 -02:00
Michael Alexsander Silva Dias
6b07e8c624
Fixed FileDialog's "parent folder" button not having a texture.
2017-12-02 04:30:20 -02:00
RaXaR
d6d0df4ba6
Added get_popup() method to ColorPickerButton. This allows to check if the picker is open or not using Popup signals.
...
Ammend: Added docs for the method.
2017-12-01 23:18:01 +02:00
Michael Alexsander Silva Dias
2773c12156
Add disabled theme to TextEdit.
2017-12-01 01:32:26 -02:00
Ian
d1c7ed4117
last line scroll fix when scroll_past_last_line is disabled
2017-11-28 16:52:52 -05:00
Gilles Roudiere
e13ff74c09
Fixes folding of blank lines
2017-11-28 20:03:46 +09:00
Dmitry Koteroff
ad351a29db
Some improvements to file/dir open/save dialogs:
...
1. Removed "..", instead you now will see "Select Current Folder" and "Select this Folder" buttons.
2. Added "go to parent folder" (^) button to Save a File dialog.
3. Tree.cpp: "nothing_selected" signal has been re-made (previous implementation, merged in #13308 , wasn't optimal in context of performance)
4. Fixed issue in Project Export dialog: MODE_SAVE_FILE wasn't set when you click "Export".
5. Now you can deselect items by clicking on empty space in Open a Directory dialog.
2017-11-27 22:39:36 +01:00
Rémi Verschelde
17b4f43e0e
Merge pull request #13308 from Krakean/scenetreedock_additemsdeselect
...
Scene Tree Dock: added ability to deselect items when clicking on empty space
2017-11-27 13:04:20 +01:00
Rémi Verschelde
b620b3d697
Merge pull request #13318 from Paulb23/adjust_viewport_to_cursor_issue_13190
...
Fixes adjust viewport to cursor when line is to long, issue 13190
2017-11-27 00:53:17 +01:00
Rémi Verschelde
2755eeb2f0
Merge pull request #13252 from Krakean/file_dialogs_small_tweaks
...
A few adjustments to file/dir open dialogs
2017-11-27 00:23:15 +01:00
Rémi Verschelde
7e4cfe4b94
Merge pull request #13245 from Krakean/itemlist_add_some_signals
...
Added some new API functionality to Item List component
2017-11-26 21:05:41 +01:00
Dmitry Koteroff
80a2ede0d1
Item List small enhancements
...
Item list: added new signal - nothing_selected (when mouse clicked on empty space), and two new functions - unselect_all() and is_any_selected()
2017-11-26 22:56:42 +03:00
Paulb23
565809e736
Fixes adjust viewport to cursor when line is to long, issue 13190
2017-11-26 19:10:05 +00:00
Marcin Zawiejski
86ed07c41c
initialize bus_index to 0
...
fixes #13305
2017-11-26 18:16:31 +01:00
Dmitry Koteroff
b8b5bb6577
Scene Tree Dock: added ability to deselect items when clicking on empty space
2017-11-26 18:30:48 +03:00
Juan Linietsky
bc2e8d99e5
Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
...
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Dmitry Koteroff
e3b0214f40
A few small adjustments to file dialogs:
...
a) Added Backspace key support for Tree-based file dialog.
b) Fixed issue inability to select a folder in project manager (always previous folder was selected instead).
c) Open Directory mode: changed "Open" to "Select Current Folder"
d) Block "Open" button when inappropriate content is selected (for example, file when in open folder mode, or folder when in open files mode)
2017-11-24 21:21:55 +03:00
Paulb23
f6f475e6ba
Fixed not be able to unfold the last line
2017-11-23 20:37:08 +00:00
ianb96
19c92c69c3
code folding scrolling fixes
2017-11-21 17:09:04 -05:00
George Marques
20b07a1fb5
Merge pull request #13121 from Krakean/change_filedialog_removedot
...
Remove the "." and "/" (at the end of folders name) from file manage dialog (open scene, open file, ...)
2017-11-21 12:30:20 -02:00
Rémi Verschelde
fee2f367af
Merge pull request #13134 from Chaosus/fixinvalidscroll
...
Fix invalid scroll
2017-11-21 14:25:15 +01:00
Chaosus
9240b7f2d1
Fix invalid scroll
2017-11-21 12:52:46 +03:00
Bernhard Liebl
80ad8afc85
Native pan and zoom for macOS
2017-11-21 09:11:39 +01:00
Dmitry Koteroff
20bda9a2ba
Remove the "." from file manage dialog (open scene, open file, ...)
...
Also removed the "." from game control's FileDialog component.
Also remove the "/" at the end of folders name.
2017-11-21 05:32:44 +03:00
Rémi Verschelde
ddc7793bba
Merge pull request #13105 from Krakean/master
...
Files list: Add "New Folder.." popup when nothing under mouse cursor
2017-11-20 22:44:23 +01:00
Daniel J. Ramirez
e5de5b4908
Visual fixes
...
Added some icons (Including the onion one)
Fixed text editor ellipsis style and editor tabs
2017-11-20 13:03:22 -06:00
Dmitry Koteroff
d67b602f2f
Add "New Folder.." to right mouse button click on project fileslist panel _WHEN_ no any file/folder is under mouse cursor.
2017-11-20 21:25:13 +03:00
Rémi Verschelde
7b5c447301
Merge pull request #12952 from bojidar-bg/12392-export-enums
...
Allow exporting enums from GDScript
2017-11-20 09:11:46 +01:00
Rémi Verschelde
6d105aba9a
Merge pull request #12983 from ianb96/scene_add_tab
...
Add Scene button and tab scrolling
2017-11-20 09:11:31 +01:00
Rémi Verschelde
d6dc909ebe
Merge pull request #12984 from willnationsdev/richtextlabel-hover-signal
...
RichTextLabel: Adding ability for single meta hovering
2017-11-20 09:10:52 +01:00
Rémi Verschelde
414b388499
Fix TextEdit::cursor_set_line bindings
...
As spotted by @neikeq - fixes #13068 .
2017-11-20 08:11:31 +01:00
Rémi Verschelde
d826b043ad
Merge pull request #12950 from ianb96/code_folding
...
Code Folding
2017-11-20 00:15:10 +01:00
Gilles Roudiere
8d1f2b1857
Rework the canvas_item API for further improves to the canvas item editor
2017-11-19 13:36:31 +01:00
Ian
f8e8b7d1a2
add scene button and tab scrolling
2017-11-18 20:31:51 -05:00
Ian
1e59169d2d
scrolling fixes
2017-11-18 20:07:53 -05:00
kbake
a5973f4071
change expand_to_len property to add on nonzero...also rename to
...
expand_to_text_length and shift window on expand to see all text
2017-11-18 18:57:48 -05:00
Ian
d350f506a0
TextEdit code folding
2017-11-17 21:49:43 -05:00
Juan Linietsky
0e04316214
Merge pull request #12962 from SaracenOne/gui_focus_next_prev
...
Add manual overrides for focus_next and focus_previous
2017-11-17 15:03:05 -03:00
Will Nations
eaea646648
Adding ability for single meta hovering
2017-11-17 09:37:41 -06:00
Bojidar Marinov
e4a36d0eda
Allow exporting enums from GDScript
...
Use as `export(E) ...`
Closes #12392
2017-11-17 14:33:36 +02:00
Rémi Verschelde
139a957802
Merge pull request #12763 from remorse107/Code-Complete
...
Modified code completion for better tabbing with immediate hints.
2017-11-17 00:33:27 +01:00
Saracen
e4201734df
Add manual overrides for focus_next and focus_previous on controls similar to what can already be done with focus neighbours.
2017-11-16 09:45:52 +00:00
Bojidar Marinov
443ce6fef2
Allow underscores in GDScript numeric literals
...
Closes #12928
2017-11-15 22:53:08 +02:00
Rémi Verschelde
4685674389
Merge pull request #12842 from ianb96/shader_editor_fix
...
Shader Editor context menu and line operations and style fix
2017-11-14 07:33:04 +01:00
Robert Morse
3372413037
Modified code completion for better tabbing, and removal of need to backspace and re-enter '(' to get code completion hints.
2017-11-13 18:19:11 -06:00
Rémi Verschelde
3c64635003
Merge pull request #12903 from YeldhamDev/scrollcontainer_arrangement
...
Small arrangement in ScrollContainer
2017-11-13 21:28:32 +01:00
Rémi Verschelde
03a080547d
Merge pull request #12014 from hi-ogawa/fix-video-playback
...
Fix video playback
2017-11-13 19:57:18 +01:00
Michael Alexsander Silva Dias
f2f18261c3
Small arrangement in ScrollContainer.
2017-11-13 12:15:48 -02:00
volzhs
710c87ec99
Fit stylebox on ItemList
2017-11-13 22:24:58 +09:00
Michael Alexsander Silva Dias
2a26931246
Made text in TextEdit a property.
2017-11-12 13:10:26 -02:00
Michael Alexsander Silva Dias
920f3f6546
Added "is_readonly()" to TextEdit and made it a property.
2017-11-11 22:14:14 -02:00
Ian
94b3e786cd
shader editor context menu and line operations and style fix
2017-11-11 14:46:59 -05:00
Ian
fc299b4f37
add context menu enable getters, setters, and properties in LineEdit and TextEdit
2017-11-11 03:30:59 -05:00
Poommetee Ketson
aca18b6a49
Merge pull request #12806 from letheed/unify-degrees
...
Unify degree methods and properties
2017-11-11 13:27:02 +07:00
Daniel J. Ramirez
8cf0d6ceb4
Some fixes and improvements.
...
Changed FileDialogs for EditorFileDialogs in EditorNode.
Updated CheckButton.
2017-11-10 16:45:08 -06:00
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