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