summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2017-08-29DocData and type hints fixesIgnacio Etcheverry
- 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-27Dead code tells no talesRémi Verschelde
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-27Merge pull request #10600 from MasonAsh/fix-10596Rémi Verschelde
Script editor: fixed no key repeat for CTRL+Y
2017-08-27Merge pull request #10591 from Rubonnek/possible-null-ptr-dereferenceRémi Verschelde
Added/Fixed null pointer checks
2017-08-27Merge pull request #10653 from tuga3d/indent-glitchRémi Verschelde
Added a cursor column check.
2017-08-26Added/Fixed null pointer checksWilson E. Alvarez
2017-08-26Added a cursor column check.Paulo Gomes
Fixes glich, when cursor is on column 0 of and indented line and you press return an extra indent is added.
2017-08-26Tree: fix RMB click collapses next itemPoommetee Ketson
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
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-24Script editor: fixed no key repeat for CTRL+YMason Ashbridge
2017-08-24-Code completion for enumerationsJuan Linietsky
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-23Merge pull request #10561 from Paulb23/smooth_scroll_input_overrideRémi Verschelde
Stops scrolling when the user issues another command
2017-08-23Merge pull request #10555 from Rubonnek/removed-unnecessary-returns-and-breaksRémi Verschelde
Removed unnecessary returns and break statements [ci skip]
2017-08-22Stops scrolling when the user issues another commandPaulb23
2017-08-22TextEdit: Copy whole line if not having selection.Andreas Haas
The functionality was already there but hidden behind a bogus return statement. Fixes #10485
2017-08-22Removed unnecessary returns and break statementsWilson E. Alvarez
2017-08-22Add stretching to `TextureProgress`Evgeny Zuev
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-22Merge pull request #10340 from Rubonnek/remove-unnecessary-assignmentsRémi Verschelde
Removed unnecessary assignments
2017-08-21Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky
ClassDB: Provide the enum name of integer constants
2017-08-22Merge pull request #10427 from Hinsbart/fix_paddingRémi Verschelde
TextEdit: Fix line padding triggering too early.
2017-08-21Merge pull request #10508 from Paulb23/increase_smooth_scroll_speedRémi Verschelde
Increased smooth scroll speed and added user setting
2017-08-21Fix spinboxes bad lookGilles Roudiere
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez
2017-08-21Increased smooth scroll speed and added user settingPaulb23
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-20Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky
Adds Engine::is_editor_hint() method
2017-08-20Merge pull request #10479 from Paulb23/fix_not_scrolling_eofRémi Verschelde
Fixed not being able to scroll to eof
2017-08-20Merge pull request #10455 from groud/control_margin_fixesRémi Verschelde
Some control fixes and removed other useless lines
2017-08-20Fixed not being able to scroll to eofPaulb23
2017-08-19Some control fixes and removed useless linesGilles Roudiere
2017-08-19Added smooth scrolling to TextEditPaulb23
2017-08-19Fixes to label and code editor to make editing code hopefully fast again.Juan Linietsky
2017-08-19Merge pull request #10439 from Paulb23/blinking_text_issue_10432Rémi Verschelde
Fixed blinking text, issue 10432
2017-08-19Fixed blinking text, issue 10432Paulb23
2017-08-19Removes editor_hint from SceneTreeIgnacio Etcheverry
2017-08-18-Volume sliders, mute, solo and fx bypass are functional, closes #9021Juan Linietsky
-Fixed tree reselect, makes reselecting an audio bux FX work
2017-08-18Rename localization method to `tr` againRémi Verschelde
Partial revert of #10380 based on contributor ~~bullying~~ feedback.
2017-08-18TextEdit: Fix line padding.Andreas Haas
off-by-one error in the line count calculation. Fixes #10411
2017-08-18TextEdit: Moving between words now works across lines.Andreas Haas
Fixes #10403
2017-08-17Merge pull request #10380 from akien-mga/XL_MESSAGERémi Verschelde
Rename `XL_MESSAGE`/`tr` to `localize`
2017-08-17Rename `XL_MESSAGE` aka `tr` to `localize`Rémi Verschelde
Also renames `set_message_translation` to `set_message_localization` for consistency.
2017-08-16Merge pull request #10252 from neikeq/pr-fix-some-stuff-<3Rémi Verschelde
Some method fixes
2017-08-16Merge pull request #8899 from toger5/BetterFlatStyleboxRémi Verschelde
Better flat stylebox with rounded corners
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-16Merge pull request #10312 from kbake/pressed-scroll-bar-styleRémi Verschelde
Scroll bars now look different on press
2017-08-15Changed anchor constants to enum, removed ANCHOR_CENTER, fixes #9889Juan Linietsky
2017-08-15Adapted godot to the new StyleBoxFlattoger5
2017-08-13Avoids inverted anchorsGilles Roudiere
Add a push_opposite_anchor argument pushing the opposite anchor if needed
2017-08-13Adds a function to set Anchors with a layout presetGilles Roudiere