Commit graph

465 commits

Author SHA1 Message Date
Juan Linietsky 3e8eb396d7 Finalized DynamicFont implementation
-DynamicFont uses Freetype by default
-Editor fonts are now scalable thanks to this
-Cleaned up documentation browser and added fonts for this
2016-05-29 11:37:52 -03:00
Andreas Haas 677b77036a Allow ItemList icons to stretch to max size. 2016-05-24 20:36:46 +02:00
Juan Linietsky e843e74d39 General docks clean up
-Moved path box above in fs dock
-Remove up/down button and added reordering with DND of favorites
-Changed zoom icon to be centered vertically
-Made filter for files always visible
-Added some options to TextureFrame for better alignment/stretching
2016-05-23 23:24:32 -03:00
Juan Linietsky d3495b128a -Improve resource previews
-Also fixed draw_texture_rect() tile parameter
2016-05-23 17:11:49 -03:00
Juan Linietsky a75f896338 First version of Profiler
It is now possible to profile GDScript as well as some parts of Godot
internals.
2016-05-21 21:18:16 -03:00
Juan Linietsky c195c0df6b -Added configuration warning system for nodes
-Added a new "add" and "instance" buttons for scene tree
-Added a vformat() function to ease translation work
2016-05-17 18:28:44 -03:00
Rémi Verschelde 02f3e7e766 Merge pull request #4659 from Paulb23/hex_notation_highlighting
Fixed hex notation highlighting
2016-05-17 09:33:44 +02:00
Juan Linietsky f93aaa9b78 Default editing popup for LineEdit and TextEdit 2016-05-16 20:25:17 -03:00
Juan Linietsky f9d615ee87 Contextualized Scene Tree menu
-Added context menu to Scene Tree Dock
-Removed Buttons
-Added a filter to search for nods more easily in the dock
2016-05-16 12:23:58 -03:00
Juan Linietsky a2c4c17085 Experimental Right Mouse Button menu for SceneTree
Will eventually replace the buttons of that dock, so please test it!
2016-05-15 23:41:48 -03:00
Juan Linietsky 8b47e26f59 Changes to FileSystem Dock
-Replaced buttons for file actions fo RMB menu
-Added a split mode, if the dock is not sharing vertical space with
anything else
-imroved drag and drop support
2016-05-15 20:25:51 -03:00
Juan Linietsky bed3efb17e New reworked AnimatedSprite!
-New SpriteFrames editor, with support for drag&drop, multiple animation
sets, animation speed and loop.
-New AnimatedSprite, with support for all the new features!
AnimatedSprite3D has not been updated yet.
-Added support for drag&drop to other editors, such as resourcepreload,
sample library,  etc.
2016-05-14 23:48:45 -03:00
Paulb23 b2bf266ddc Fixed hex notation highlighting 2016-05-15 01:32:43 +01:00
Juan Linietsky da7a9aae27 Merge pull request #4096 from neikeq/pr-margin-cont-imp
MarginContainer improvements
2016-05-13 13:13:12 -03:00
volzhs 81b4d38fa7 open directory or file when double click
fixes #4607
2016-05-13 01:22:19 +09:00
Juan Linietsky 0c57a58056 ability to drag scenes from filesystem to tree for instancing 2016-05-11 20:57:52 -03:00
Rémi Verschelde b42c4cce0f Merge pull request #4627 from Paulb23/caret_blink_binds
Exposed caret blink to gdscript and properties
2016-05-11 19:05:55 +02:00
Paulb23 dc90cba42e Bind caret blink to gdscript and properties 2016-05-11 17:41:57 +01:00
Rémi Verschelde 7b471068cf Merge pull request #4612 from bojidar-bg/fix-anchor-builds
Fix #4588 (crash in Control::_set_anchor)
2016-05-11 17:46:29 +02:00
Juan Linietsky d7318f6965 -begun implementing drag & drop editor wide
-filesystem dock dnd support
-property list dnd support
-scene tree dnd support
2016-05-11 11:59:03 -03:00
Rémi Verschelde b9b423c1ee Merge pull request #4598 from Paulb23/caret_blink
Added caret blink to the text editor
2016-05-11 09:33:12 +02:00
Bojidar Marinov 0b572b35c2 Fix #4588 (crash Control::_set_anchor)
Thanks to @vnen for testing this
2016-05-10 20:23:58 +03:00
Rémi Verschelde bc31be9812 Sync classes.xml with current sources
Also fix a typo in the binding of Control::set_drag_forwarding.
2016-05-09 22:20:35 +02:00
Paulb23 e03e7deb1b Added caret blink in text editor 2016-05-09 19:22:11 +01:00
Rémi Verschelde 0dfc4a2029 Merge pull request #4571 from akien-mga/pr-rot-deg
Rotation APIs: Better exposure for degrees methods
2016-05-09 19:08:06 +02:00
Paulb23 9e6234201b Fixed autocomlete strings not appearing for function arguments 2016-05-08 13:18:50 +01:00
Rémi Verschelde 59e68ae6d0 Merge pull request #4557 from Paulb23/autocomplete_truncate_issue_4554
Fixed autocomplete truncate, issue 4554
2016-05-07 20:19:40 +02:00
Paulb23 0a2b341d0a Fixed code completion after opening bracket, issue 3977 2016-05-07 12:01:56 +01:00
Rémi Verschelde 4eab767a6f Rotation APIs: Better exposure for degrees methods
Made public the various set/getters for rotations in degrees.
For consistency, renamed the exposed method names to remove the leading
underscore, and kept the old names with a deprecation warning.

Fixes #4511.
2016-05-06 23:38:08 +02:00
Paulb23 accc2a195b Fixed autocomplete truncate, issue 4554 2016-05-05 16:27:05 +01:00
Rémi Verschelde 99e31e1005 Merge pull request #4547 from neikeq/pr-wrong-debug-methods
Fix wrong return and argument types in documentation
2016-05-05 09:27:14 +02:00
Juan Linietsky f909634832 -make sure single select after multi select works better
-fixed some warnings for OSX
2016-05-04 17:41:58 -03:00
Ignacio Etcheverry 1e752c0120 Fix wrong return and argument types in documentation 2016-05-04 15:35:09 +02:00
Juan Linietsky dd69aeceac Merge remote-tracking branch 'origin/master' 2016-05-03 22:32:38 -03:00
Paulb23 084d0bef96 Autocomplete no longer shows duplicates, issue 1824 2016-05-03 19:48:35 +01:00
Juan Linietsky c7e8def446 Add ability to send drag events to another object
will be documented/tested later
2016-05-03 11:10:28 -03:00
Rémi Verschelde 21c181bd3c Tabs: Fix align issue with right/close buttons
The stylebox around the close button was badly centered.
There were also bad margins applied when using right buttons.
2016-05-01 16:48:55 +02:00
Rémi Verschelde 8b32c80529 Tabs: cleanup code, no functional change
Some dead code removed, a few cosmetic changes.
2016-05-01 16:27:33 +02:00
Rémi Verschelde 8574489dd2 Tabs: Fix navigation buttons overlap when resizing
It was not taking into account the minimum width of the stylebox.
Fixed by factorizing some duplicate code.
2016-05-01 15:29:07 +02:00
Rémi Verschelde bbaf296948 Tabs: Fix icon size not taken into account for offset
Fixes #4107.
2016-05-01 14:54:45 +02:00
Rémi Verschelde ab7886ffc4 FileDialog: reset mkdir label after use (#4500)
Closes #1686.
2016-05-01 11:38:24 +02:00
Rémi Verschelde 6883325f92 math: Fix rounding error for 0 in Math::round (#4495)
Thus revert the previous workaround in commit b123bc4a2a.
Fixes #3221.
2016-05-01 11:37:46 +02:00
Franco Eusébio Garcia a735573327 Add math/script expression evaluation in editor (#3620)
Rebase of #453
2016-05-01 10:33:32 +02:00
Geequlim 5c61e17c10 Add more documentations and fix AcceptDialog::add_cancel 2016-04-29 16:34:07 +08:00
Rémi Verschelde 45ffc053b5 Merge pull request #4462 from Paulb23/scroll_lines
Added scroll lines, issue #4243
2016-04-28 20:53:41 +02:00
Rémi Verschelde 3a4ec88b37 Classref: Document Button and ButtonArray
Also bind relevant constants and define some object types and better
argument names for the docs.
2016-04-28 00:10:17 +02:00
Paulb23 54244e0e1d Added scroll lines, issue 4243 2016-04-27 18:32:14 +01:00
Aren Villanueva d75856146c Adds a remove class item option in the theme editor.
I've also added a get_stylebox_types helper function to the theme class in order to figure out exactly what types are available to a theme.
2016-04-21 11:58:53 +10:00
Paulb23 8c328474f2 Setting to change line number color 2016-04-08 20:11:16 +01:00
sanikoyes 5ec7d3f264 Fix warn print when hide an control does not inside_tree 2016-04-07 15:46:38 +08:00