Commit Graph

1250 Commits

Author SHA1 Message Date
Rémi Verschelde 22c9a44174 Merge pull request #5391 from RandomShaper/parallax-layer-fix-tidy
Improve parallax mirroring algorithm
2016-06-24 21:26:54 +02:00
Rémi Verschelde 001294ed35 Merge pull request #5386 from Paulb23/code_completion_color_theme
Exposed code completion colors to the text edit theme
2016-06-24 21:19:30 +02:00
Rémi Verschelde d52fa2e0eb Merge pull request #5380 from vnen/string-canvasitem-docs
Documentation for String and CanvasItem
2016-06-24 21:16:20 +02:00
Rémi Verschelde 06c6516604 Merge pull request #5379 from neikeq/pr-issue-5375
Fix weird deselection behaviour with text field
2016-06-24 21:14:47 +02:00
Rémi Verschelde 118f54aeeb Merge pull request #5328 from Paulb23/line_edit_caret
Added caret blink to line edit
2016-06-24 21:13:26 +02:00
Pedro J. Estébanez fbddc0b747 Improve parallax mirroring algorithm
Replaces the iterative approach currently used by the standard fmod() function.
Also fixes infinite looping that happens when the mirroring value is negative.
2016-06-24 18:39:56 +02:00
Paulb23 b643d9af6f Exposed code completion colors to the text edit theme 2016-06-24 16:33:29 +01:00
Ignacio Etcheverry f1e7552722 Fix weird deselection behaviour with text field
- TextEdit will now deselect if Ctrl+Left/Right is pressed
- TextEdit and LineEdit no longer deselect text when Alt is pressed (except with Apple style keys)
2016-06-24 14:26:40 +02:00
Juan Linietsky 9e0b6057e7 Make button aware of it being dragged and reset state, closes #4178 2016-06-23 18:20:39 -03:00
George Marques b06d235ce8
Rename CanvasItem.edit_get() to edit_get_state()
This makes more sense of what it does and correlates to edit_set_state()
2016-06-23 17:59:37 -03:00
Juan Linietsky a8f8f52b19 Fix issue saving flags (size fill expand), fixes #4176 2016-06-23 17:03:34 -03:00
Rémi Verschelde 0a72f9ccb8 Merge pull request #5362 from J08nY/png
libpng: New version 1.6.27
2016-06-23 07:40:03 +02:00
Juan Linietsky d6225b1e00 Improved binding system (ObjectTypeDB::bind_method) to be friendlier to statically typed languages, should help in the Mono integration.
Disabled by default.
2016-06-22 23:13:41 -03:00
J08nY 0ab05b09e4
Fixed iCCp chunk in pngs
neccesary for libpng 1.6.27 to work silently
2016-06-22 21:13:29 +02:00
Paulb23 4f54e72189 Added setting to toggle line edit caret blink 2016-06-22 13:26:44 +01:00
Paulb23 e09e036565 Line edit caret no longer draws on focus loss 2016-06-22 13:26:44 +01:00
Paulb23 e65eba664f Added caret blink to line edit 2016-06-22 13:20:48 +01:00
Rémi Verschelde 87cb3629f2 Merge pull request #5344 from Paulb23/code_completion_colors
Code completion box colors
2016-06-22 07:51:33 +02:00
Bojidar Marinov f3342eb72e
Fix a inherited transform bug with Camera2D preview drawing
Closes #5339
2016-06-21 22:35:04 +03:00
Paulb23 45f0dec55c Added code completion existing color setting 2016-06-21 17:34:38 +01:00
Paulb23 706895a922 Added code completion selected color setting 2016-06-21 17:21:55 +01:00
Paulb23 a40cb680ca Added code completion background color setting 2016-06-21 16:50:31 +01:00
Rémi Verschelde 91ee2f6059 Merge pull request #5335 from J08nY/loop-interpolation-scene-fix
Animation: Fix property loop_interpolation
2016-06-21 17:28:14 +02:00
J08nY bd5c8f2aa0
Animation: Fix property loop_interpolation
fixes #5317
2016-06-21 14:11:26 +02:00
Saracen 912afb129f Make return type explicit. 2016-06-21 12:41:28 +01:00
Rémi Verschelde 029ca80dca Merge pull request #5321 from Paulb23/caret_hidden_issue_5320
Fixed caret not drawing on focus regain
2016-06-21 12:02:18 +02:00
Juan Linietsky d76ee09774 property remove parent owned nodes when using replace, fixes #4128 2016-06-20 22:57:07 -03:00
Juan Linietsky fa0d1cd27c fix CanvasItem.get_global_transform() and CanvasItem.get_local_transform(), closes #4075 2016-06-20 21:19:12 -03:00
Juan Linietsky ad8d4a6b26 Fixed the order of events called by _input, closes #4384 2016-06-20 19:09:14 -03:00
Juan Linietsky 6872139300 Add quotes to .tscn keys, solves #4366 2016-06-20 18:41:59 -03:00
Juan Linietsky 85d8000449 Allow mouse wheel to go throuhgh so scroll containers work properly, fixes #4431 2016-06-20 17:16:52 -03:00
Juan Linietsky 6bdd17f07c Fix error storing path for children of instanced nodes in .tscn, fixes #4320 fixes #4579 fixes #4580 2016-06-20 17:09:53 -03:00
MarianoGNU 79c500bee1 Modify margins with mouse input 2016-06-20 17:06:19 -03:00
Paulb23 8f6b56cfda Fixed caret not drawing on focus regain 2016-06-20 20:29:58 +01:00
Juan Linietsky 0e07f49a03 Make dure to only call drop_data if can_drop_data returned true, closes #4616 2016-06-20 10:29:52 -03:00
Rémi Verschelde 3668768463 Merge pull request #5196 from vnen/similarity-code-completion
Improve code completion search
2016-06-20 13:37:24 +02:00
MarianoGNU 0f1a717c64 Remove unused connection. ShaderEditor should'nt handle ShaderGraphs.
Fixes #4678 && #4745
2016-06-20 00:50:33 -03:00
Juan Linietsky 0db02f26b6 -Added options for scene import plugin to keep materials and user-added tracks to animations, please test! closes #4425 2016-06-20 00:20:30 -03:00
Rémi Verschelde 618d34463d Merge pull request #5298 from Paulb23/caret_draw_focus
Text Edit no longer draws caret on focus loss
2016-06-19 18:58:31 +02:00
George Marques 5cb31f6d5b
Replace 'or'/'and' keywords
Some compilers do not like this.
2016-06-19 12:36:50 -03:00
Paulb23 8cbd0b9ae3 Text Edit no longer draws caret on focus loss 2016-06-19 16:11:16 +01:00
George Marques 66e7ddb55b
Improve code completion search
- List completion by subsequence match.
- Case insensitive.
- Sort completion list by similarity.
2016-06-19 11:43:47 -03:00
George Marques 831ae2d510
Fix TextEdit cursor position after undo remove text
It was going to where the text started, now it goes to where the text
ends.
2016-06-19 11:43:47 -03:00
Rémi Verschelde b9f944ed5c Merge pull request #5271 from neikeq/pr-issue-1004
LineEdit cursor fixes and improvements
2016-06-19 13:06:31 +02:00
Rémi Verschelde c7b425ed9c Merge pull request #5259 from neikeq/pr-textedit-zoom
TextEdit: Change font size with Ctrl+Mouse Wheel Up/Down
2016-06-19 13:04:20 +02:00
Rémi Verschelde 360cebaf23 Merge pull request #5234 from Paulb23/fix_error_tab_print
Fixed error: set_current_tab print on project open
2016-06-19 13:00:12 +02:00
Rémi Verschelde 40944ddffb Merge pull request #5085 from RandomShaper/remove-unreachable-code
Remove found dead code
2016-06-19 12:45:36 +02:00
Rémi Verschelde 3520902194 Merge pull request #4724 from Cybolic/optional-loop-interpolation
Added toggle for loop interpolation based on adolson's code
2016-06-19 12:30:22 +02:00
Juan Linietsky 400febf585 Add function to get the color picker dialog from ColorPickerButton, closes #4415 2016-06-19 02:08:22 -03:00
Juan Linietsky 7c20c386c5 -Added trigger mode to tracks, useful for properties that work as triggers, such as playing a sample, an animation, etc.
-Better interpolation of discrete tracks, fixes #4417
2016-06-19 01:43:02 -03:00
Juan Linietsky 0bbb0d0caa DynamicFontData can be built-in (will still link to a ttf though), closes #4600 2016-06-18 19:03:53 -03:00
Ignacio Etcheverry 4928cc34eb LineEdit: Word jumping and OSX hotkeys 2016-06-18 20:53:46 +02:00
Rémi Verschelde c3bf11d4d4 Drop fully commented-out files
Part of #5272
2016-06-18 20:23:49 +02:00
Rémi Verschelde b7dbf9207a Drop empty files that are not used anywhere
Part of #5272
2016-06-18 19:46:30 +02:00
Ignacio Etcheverry bc9f9b1c6a TextEdit: Change font size with Ctrl+Mouse Wheel Up/Down 2016-06-18 18:47:11 +02:00
Juan Linietsky adc13e9027 Make ".." always appear even if dir is unlistable (likely lacking permissions), closes #1938 2016-06-18 12:51:27 -03:00
Ignacio Etcheverry 99612207b7 LineEdit: Fix and improve selection behaviour 2016-06-18 16:14:43 +02:00
Rémi Verschelde a7fc04626a Add missing license headers in our source files (#5255)
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Błażej Szczygieł aebad5de5f Fix Theora video playback without a Vorbis stream
- prevent audio resampler errors when number of channels is 0,
- don't check for 'audio_done' when there is no audio data.

(cherry picked from commit 763b29f34e)
2016-06-18 00:49:55 +02:00
Juan Linietsky 65bcde0a7d TabContainer now reports proper minimum size, closes #4896 2016-06-17 18:38:40 -03:00
Juan Linietsky 95dc15b750 Send body inout notifications after state is applied, fixes #4683 2016-06-17 16:45:10 -03:00
Juan Linietsky 6a68ce9c93 Fix bug in GridContainer not updating minimumsize when columns changes, fixes #4677 2016-06-17 16:40:40 -03:00
Juan Linietsky 55b83157e7 Keep track of when fonts change, so theme or controls that use fonts as overrides get properly updated.
closes #4622 , probably closes many other issues too
2016-06-17 16:01:30 -03:00
Juan Linietsky 9f2f8c9130 fixes compilation error on visual studio, closes #5249 2016-06-17 10:34:44 -03:00
Juan Linietsky f0d9245ecf -added missing .inc files
-Made it possible to change the editor theme
-Added two options to theme editor plugin to create empty template themes and editor themes
-Make sure that saved themes to .tres keep the null theme fields, to make it easier to keep those when saving/loading the theme
2016-06-17 01:13:23 -03:00
Juan Linietsky 816b3fa94d It is now possible to set a default custom theme, whether you want a hidpi default theme, or just use a custom font for the default theme 2016-06-16 20:05:22 -03:00
Paulb23 a3481ed1c7 Fixed error: set_current_tab print on project open 2016-06-15 18:19:34 +01:00
UgisBrekis d97e46ffb6 Adds the ability to draw parent-children relationship lines in scene tree editor
Can be turned on/off in editor settings + line color change available as
well
2016-06-15 18:10:19 +01:00
Rémi Verschelde 41677df7cf Merge pull request #5218 from djrm/new_icons
Some theme icons and better exporter
2016-06-15 13:43:56 +02:00
Rémi Verschelde 0f1ae03626 Merge pull request #5149 from m4nu3lf/master
TimeSeek node in AnimationTreePlayer now propagates filters
2016-06-15 08:14:35 +02:00
Daniel J. Ramirez 131cd1399c Added some theme icons and its sources 2016-06-14 21:40:24 -05:00
Juan Linietsky 333de40180 does not fix the bug reported in #4326 and #4818,
but at least make sure it throws and error and does not crash
2016-06-14 08:57:00 -03:00
Juan Linietsky c204170232 correctly wrap lines longer than width in richtextlabel, fixes #4735 2016-06-14 08:10:25 -03:00
Juan Linietsky 37ed2bae69 Better error text when trying to add/remove/move child nodes in a busy parent, closes #4838 2016-06-13 22:46:18 -03:00
Juan Linietsky 944c7e2603 fix crash when clearing dynamicfontdata, closes #4877 2016-06-13 22:24:11 -03:00
Juan Linietsky 4866713bc3 added a function CanvasItem.get_item_and_children_rect() , fixes #4738 2016-06-13 21:37:04 -03:00
Juan Linietsky 26d63b5594 propagate theme changes properly even through 2D nodes, fixes #4754 2016-06-13 21:11:24 -03:00
Juan Linietsky d03f1131d7 Merge pull request #5058 from neikeq/pr-issue-1461
Preserve signal connections when replacing target node
2016-06-13 15:50:31 -03:00
Juan Linietsky 28034190a9 Merge pull request #5176 from marcelofg55/master
Fixed overloaded virtual functions with const vs none warning
2016-06-13 15:45:13 -03:00
Juan Linietsky f0abda999e resolve numerical error when comparing instancing an inheritance to avoid saving changed properties when they didn't, closes 4759 2016-06-12 19:33:07 -03:00
Juan Linietsky be223c91f9 fixed tile map editor plugin, all previews are now the same size, closes #4983 2016-06-12 17:10:34 -03:00
Juan Linietsky 4667f9e61e Changed how min/max icon size in ItemList works and replaced it by a fixed size. Fixes many issues, closes #4907 2016-06-12 16:52:22 -03:00
Juan Linietsky c1056a9bfb Fixed ancient bug that prevented proper theme editing, closes #4924 2016-06-12 15:31:38 -03:00
marcelofg55 3787856563 Fixed overloaded virtual functions with const vs none warning 2016-06-12 13:31:22 -03:00
Juan Linietsky 83bf8036de rewrote LineEdit window repositioning code so it does not eat the last character, closes #4992 2016-06-12 12:05:21 -03:00
Juan Linietsky 1555608276 fix how some display values are shown, fixes #4953 2016-06-11 22:16:40 -03:00
Juan Linietsky ef9720c8f0 fix crash in SamplePlayer, closes #5005 2016-06-11 21:18:19 -03:00
Juan Linietsky ef2f6a18d2 make sure tab is not visible in RichTextLabel, closes #5079 2016-06-11 20:04:00 -03:00
Juan Linietsky f860915ae0 Made many built-in gdscript functions return more descriptive errors, closes #5150 2016-06-11 19:43:38 -03:00
Juan Linietsky d5e2b59c84 Added options to keep scale and keep aspect centered to TextureFrame, closes #5114 2016-06-11 18:49:35 -03:00
Juan Linietsky b75fb6674b do not allow picking in captured mode, closes #5134 2016-06-11 17:44:52 -03:00
Juan Linietsky db1e9bac79 better rewording 2016-06-11 17:25:43 -03:00
Juan Linietsky 375fbe5c7c Show descriptive errors when look_at is improperly used, closes #5131 2016-06-11 17:22:48 -03:00
Juan Linietsky b5f2ea542a Merge pull request #5161 from neikeq/pr-imp-sc-tooltip
BaseButton: Add identifier for shortcut in tooltip
2016-06-11 17:01:15 -03:00
Ignacio Etcheverry 90b3f702bd BaseButton: Add identifier for shortcut in tooltip 2016-06-11 21:53:48 +02:00
m4nu3lf 048f5a6b75 TimeSeek node in AnimationTreePlayer now propagates filters 2016-06-10 23:23:09 +01:00
Juan Linietsky c5a2aff6db fixes wrong bool return, closes #5037 2016-06-09 22:30:34 -03:00
Juan Linietsky 6b7ddce183 Fix last line of label being deleted by line spacing 2016-06-09 22:16:13 -03:00
Juan Linietsky 678563a3b9 Merge branch 'master' of https://github.com/godotengine/godot 2016-06-09 22:07:19 -03:00
Juan Linietsky 8266cf46b5 Reverted a PR i don't understand how to find but fixes #5097 2016-06-09 22:05:41 -03:00