Commit graph

21787 commits

Author SHA1 Message Date
Rémi Verschelde 6e9272eea8 Node: Fix logic of has/get_node_and_resource and document it
Also document NodePath.
2019-06-26 15:46:32 +02:00
Rémi Verschelde cb8d95dd4b
Merge pull request #24288 from ttencate/update_spinner_23738
Make visibility of update spinner editor-wide, hidden by default
2019-06-26 12:12:16 +02:00
Rémi Verschelde 773b66dfd3
Merge pull request #30084 from akien-mga/doc-encodedobjectasid
doc: Document EncodedObjectAsID, expose its property
2019-06-26 12:09:20 +02:00
Rémi Verschelde a9cff880d6 doc: Document EncodedObjectAsID, expose its property 2019-06-26 10:50:45 +02:00
Rémi Verschelde eeee1dc73e
Merge pull request #30079 from YeldhamDev/help_feature_filter_fix
Fix certain items not appearing in search tree when a feature profile is set
2019-06-26 07:59:25 +02:00
Michael Alexsander Silva Dias 70036d8484 Fix certain items not appearing in search tree when a feature profile is set 2019-06-25 20:36:26 -03:00
Rémi Verschelde 18b62d5019
Merge pull request #30053 from guilhermefelipecgs/fix_popup_centered
Fix Popup::popup_centered not centralizing at the first call
2019-06-25 17:46:57 +02:00
Guilherme Felipe 54653565a4 Fix Popup::popup_centered not centering at the first call 2019-06-25 12:04:29 -03:00
Rémi Verschelde ca084db4aa
Merge pull request #30067 from GlaceGwyneth/gridmap-fix
Fix GridMap transform problems
2019-06-25 14:58:32 +02:00
Thomas ten Cate 05b67514a6 Make visibility of update spinner editor-wide, hidden by default
- Make visibility of the spinner and "update always" option editor-wide,
  rather than per-project metadata.
- Add options "Show Update Spinner" and "Update Continuously" under
  Editor Settings > Interface > Editor. Both options are false by
  default.
- Rename some variables and constants to be more consistent and clearer:
  "update always" -> "update continuously", "update changes" -> "update
  when changed", "update menu" -> "update spinner", "circle" -> "update
  spinner".

Fixes #23738.
2019-06-25 14:57:44 +02:00
Rémi Verschelde 7a56873271
Merge pull request #30060 from Chaosus/wrap_doc_improvement
Extends wrapi/wrapf docs
2019-06-25 14:13:16 +02:00
Rémi Verschelde 2644f47e50
Merge pull request #30065 from akien-mga/docdata-theme-items
doctool: Fix writing theme_item descriptions
2019-06-25 14:13:01 +02:00
Rémi Verschelde c93bea312f
Merge pull request #30050 from njt1982/30050-identifier-fix
iOS export: invalid identifier, the character '-' is not allowed
2019-06-25 13:30:54 +02:00
Chaosus 4c137bebe8 Extends wrapi/wrapf docs 2019-06-25 14:12:37 +03:00
Rémi Verschelde 615ffb3507 doctool: Fix writing theme_item descriptions
We already had support for parsing and saving theme_item descriptions
in DocData, and displaying it in the editor, but doctool would drop the
changes as it was not writing them back to the XML.

Part of #29868.
2019-06-25 13:08:15 +02:00
Gwyneth Lowe f1bd1c268e Fix GridMap transform problems 2019-06-25 06:06:07 -05:00
Rémi Verschelde 93a67dba37
Merge pull request #30002 from GlaceGwyneth/master
Give LineEdit/TextEdit a custom color for font while uneditable
2019-06-25 13:05:27 +02:00
Nicholas Thompson c48576f733 Allow '-' character in iOS reverse DNS identifiers dissallow underscores. 2019-06-25 11:46:43 +01:00
Rémi Verschelde 230eb262e2
Merge pull request #30030 from zaksnet/document-margincontainer
Document MarginContainer node
2019-06-25 12:20:49 +02:00
Rémi Verschelde c477cbd09d
Merge pull request #30041 from KoBeWi/to_infinity_and_beyond
Allow to remove 2D editor bounds
2019-06-25 09:12:17 +02:00
Rémi Verschelde b966ee49b2
Merge pull request #29979 from flomar/master
Line edit placeholders now react properly to translation changes.
2019-06-25 08:59:31 +02:00
Rémi Verschelde dae112a717
Merge pull request #30056 from austinried/austinried-patch-1
Remove references to mouse stuff from OS
2019-06-25 08:30:11 +02:00
austinried 9eeead4be3
Remove references to mouse stuff from OS
There is nothing in `OS` about mouse grabbing or mouse cursors, that's in `Input`, so I'm cleaning up those references.
2019-06-24 19:28:49 -07:00
Gwyneth Lowe 45f78d786a Give TextEdit a custom color for font when read only is set
Previously there was some transparency hard coded into TextEdit when in read only mode.
This change adds a custom color for adjusting the font in read only mode.
It also applies when syntax highlighting is on.
2019-06-24 20:00:05 -05:00
Gwyneth Lowe f07e5ac153 Give LineEdit a custom font color when un-editable
By default the LineEdit's text when editable is unchecked had some transparency hardcoded.
This change adds a custom color to LineEdit for adjusting the font when editable is off.
Addresses issue 29814
2019-06-24 20:00:05 -05:00
Tomasz Chabora c81525ec05 Allow to remove 2D editor limits 2019-06-25 00:19:44 +02:00
Florian Marchal 0f2b25f83e Line edit placeholders now react properly to translation changes. 2019-06-24 23:22:20 +02:00
Rémi Verschelde 6fbd045845
Merge pull request #29913 from eligt/fix-editor-help
Ensure indentation works properly in rich text
2019-06-24 22:59:59 +02:00
Rémi Verschelde 29cddef895
Merge pull request #29940 from jonri/fix-vehicle-contact
Prevent VehicleBody contact damping from exceeding the baseline value…
2019-06-24 22:58:46 +02:00
Rémi Verschelde 603e87e2bb
Merge pull request #29938 from jonri/fix-collisionshape-scale
Fix updating of collision shape when the transform is set
2019-06-24 22:58:28 +02:00
Rémi Verschelde fd895f4bc0
Merge pull request #30045 from akien-mga/fix-gcc5-build-after-29376
Fix scoped enum value reference, breaks GCC 5
2019-06-24 22:43:26 +02:00
Rémi Verschelde 8c483886d2
Merge pull request #30016 from randall-fulton/docs/object-set-deferred
Add docstring for Object.set_deferred
2019-06-24 22:09:15 +02:00
Rémi Verschelde f1e189704f
Merge pull request #30043 from akien-mga/area2d-body-signals-type-hint
Area2D: Fix argument type of body_* signals
2019-06-24 22:08:41 +02:00
Rémi Verschelde d4c9ae4c24
Merge pull request #30023 from Faless/crash/vector_resize
Fix PoolVector resize and subarray.
2019-06-24 22:07:54 +02:00
Rémi Verschelde 9f2f1f5e3d Fix scoped enum value reference, breaks GCC 5
Introduced in #29376 and recent compilers are fine with it, but GCC 5
complains.

Fixes #30044.
2019-06-24 21:56:55 +02:00
Rémi Verschelde f34c8015cb Area2D: Fix argument type of body_* signals
Those signals receive either a PhysicsBody2D or a TileMap object,
and what the emitting method checks internally is only that the
object is a Node. In theory any Node could go through these signals
if they talk directly to the PhysicsServer2D.

Also updated docs.

Fixes #27076.

Might need further (compat breaking) improvement as this API is a
bit confusing, cf. #24739.
2019-06-24 21:40:31 +02:00
Randall Fulton 6843ad87a4 Add docstring for Object.set_deferred 2019-06-24 12:57:14 -05:00
Rémi Verschelde ab932bb675
Merge pull request #29948 from lawnjelly/androidkeyboard
Fix some keyboards not working with Android
2019-06-24 19:32:42 +02:00
Rémi Verschelde efa4264633
Merge pull request #30009 from Anutrix/tree-icons-height-fix
Fixed script and visibility icons's highlight height in tree
2019-06-24 18:55:44 +02:00
Rémi Verschelde 908a50739a
Merge pull request #30031 from qarmin/prevent_setting_bad_index_enums
Set to enum variables, only correct values
2019-06-24 18:34:23 +02:00
Rémi Verschelde 368b34482c
Merge pull request #30035 from mbrlabs/autoload-fix
Check if autoload nodes are != NULL before deleting them
2019-06-24 18:32:53 +02:00
Marcus Brummer 0716c59f14 Check if autoload nodes are != NULL before deleting them.
This fixes #27854
2019-06-24 16:00:54 +02:00
Zak 9f582a7c3e Document MarginContainer Node 2019-06-24 16:39:35 +03:00
qarmin 33c15799c7 Set to enum variables, only correct values 2019-06-24 14:53:26 +02:00
Rémi Verschelde 25022a1d89
Merge pull request #29974 from clayjohn/particles_restart
Properly set emitting when particles restart
2019-06-24 13:48:56 +02:00
Rémi Verschelde 1cb2b682ab
Merge pull request #30026 from akien-mga/fix-undo-convert-cpuparticles
Fix undo references for conversion to CPUParticles
2019-06-24 12:40:23 +02:00
Rémi Verschelde 338c553732
Merge pull request #30018 from GlaceGwyneth/typo-fix-selected-font
TextEdit: Correct typo that broke custom selected font color
2019-06-24 12:39:32 +02:00
Rémi Verschelde ed504753f4 Fix undo references for conversion to CPUParticles
The 'undo' reference should be the node to free when the undo history
is lost, i.e. the original (GPU) Particles node. Similarly, the 'do'
reference should point to the CPUParticles (result of the 'do' call).

Fixes #29742.
2019-06-24 12:08:30 +02:00
Gwyneth Lowe 7142064110 Correct typo that broke custom selected font color
Change several font_selected_color to font_color_selected; the actual name of the override
2019-06-24 04:55:29 -05:00
Rémi Verschelde 5e21310343 doc: Sync classref with current source 2019-06-24 10:39:59 +02:00