Commit Graph

25290 Commits

Author SHA1 Message Date
Rémi Verschelde edf2ed5e50
Merge pull request #34582 from timothyqiu/forward-decl
Cleans up headers included in editor_node.h
2019-12-30 16:28:47 +01:00
Rémi Verschelde 46bc05c5ac
Merge pull request #34576 from rcorre/imgeo-coords
Clarify ImmediateGeometry.add_vertex.
2019-12-30 16:25:21 +01:00
Rémi Verschelde df2968de26
Merge pull request #34571 from rcorre/array_returns
Be more specific about array return values.
2019-12-30 16:22:30 +01:00
Rémi Verschelde 5b687b4c93
Merge pull request #34563 from Paulb23/23751_extra_line_indent
Fixed selection indent taking an additional line
2019-12-30 16:20:37 +01:00
Rémi Verschelde 9ef9370904
Merge pull request #34561 from NoFr1ends/fix-disconnect-in-theme-change
Fix issue with disconnecting events when font changes
2019-12-30 16:20:11 +01:00
Rémi Verschelde a96c95f1ef
Merge pull request #34685 from winston-yallow/fix_omnilight_attenuation
Use correct omni light attenuation
2019-12-30 16:11:58 +01:00
Rémi Verschelde 2691a8ec71
Merge pull request #34655 from MadEqua/fix-multimesh-gles3
Reset GLES3 MultiMesh buffer id when reallocating.
2019-12-30 16:10:52 +01:00
Ignacio Roldán Etcheverry b8e8f4942d
Merge pull request #34690 from kramer425/mono-build-tools-fix
Fix msbuild target argument
2019-12-29 23:27:06 +01:00
Dan Kramer 1b26f2c505 Fix msbuild target argument 2019-12-29 17:03:21 -05:00
Winston c9fe11dec1
Use correct omni light attenuation
fixes godotengine/godot#34683
2019-12-29 17:22:34 +01:00
Ignacio Roldán Etcheverry 12482bf884
Merge pull request #34657 from neikeq/tasukete
Mono/C#: Re-structure API solution and GodotTools post-build target
2019-12-29 13:36:50 +01:00
Ignacio Etcheverry 86274b9fc9 Mono/C#: Re-structure API solution and GodotTools post-build target
Previously we had a placeholder solution called 'Managed' to benefit from
tooling while editing the a part of the C# API.
Later the bindings generator would create the final 'GodotSharp' solution
including these C# files as well as the auto-generated C# API.
Now we replaced the 'Managed' solution with the final 'GodotSharp' solution
which is no longer auto-generated, and the bindings generator only takes
care of the auto-generated C# API.
This has the following benefits:
- It's less confusing as there will no longer be two versions of the same file
(the original and a generated copy of it). Now there's only one.
- We no longer need placeholder for auto-generated API classes, like Node or
Resource. We used them for benefiting from tooling. Now we can just use the
auto-generated API itself.
- Simplifies the build system and bindings generator. Removed lot of code
that is not needed anymore.

Also added a post-build target to the GodotTools project to copy the output to
the data dir. This makes it easy to iterate when doing changes to GodotTools,
as SCons doesn't have to be executed anymore just to copy these new files.
2019-12-28 20:48:55 +01:00
Bruno Lourenço 16429a4289 Reset GLES3 MultiMesh buffer id when reallocating. 2019-12-28 18:38:25 +00:00
Ignacio Roldán Etcheverry 318c693516
Merge pull request #34595 from van800/mac_rider
Fix search for Rider path on Mac
2019-12-26 02:16:55 +01:00
Ignacio Roldán Etcheverry f90e8c41a2
Merge pull request #34604 from neikeq/issue-27674
Mono/C#: Fix memory leak with new Reference instances created from C#
2019-12-25 20:47:07 +01:00
Ignacio Etcheverry 0ef635c0e3 Mono/C#: Fix memory leak with new Reference instances created from C# 2019-12-25 19:33:59 +01:00
Ivan.Shakhov 682dd04b2d fix Rider path on Mac 2019-12-25 00:14:31 +01:00
Haoyu Qiu 078c0d75f2 Cleans up headers included in editor_node.h 2019-12-24 21:46:05 +08:00
Ryan Roden-Corrent 67f441a09d
Clarify ImmediateGeometry.add_vertex.
It isn't obvious whether you should add vertices in global coordinates,
or local to the ImmediateGeometry Node.
2019-12-23 23:20:32 -05:00
Rémi Verschelde d711c57d76
Merge pull request #34570 from MadEqua/fix-skeleton-transform
Fix canvas GLES3 skeleton transform uniform updating.
2019-12-23 22:36:09 +01:00
Bruno Lourenço 65195f505f Fix canvas GLES3 skeleton transform uniform updating. 2019-12-23 18:40:48 +00:00
Paulb23 0049f43fc8 Fixed selection indent taking an additional line 2019-12-23 13:16:57 +00:00
Jonas Bernemann 2f35cf4946 Fix issue with disconnecting events when font changes 2019-12-23 14:08:34 +01:00
Rémi Verschelde 22782d519c
Merge pull request #34553 from timothyqiu/center-dock-position
Centers label text in Dock Select popup panel
2019-12-23 08:31:29 +01:00
Haoyu Qiu d53c392b34 Centers Dock Position text 2019-12-23 09:37:36 +08:00
Ryan Roden-Corrent e002044761
Be more specific about array return values.
The prior docs weren't clear if {pop_,}{front,back} would fail or return
`null` on an empty array.
2019-12-22 14:38:10 -05:00
Rémi Verschelde 56d44aaac9
Merge pull request #34090 from Calinou/doc-improve-basis
Improve the Basis class documentation
2019-12-22 20:37:48 +01:00
Rémi Verschelde 5d7898fb6e
Merge pull request #34545 from Calinou/add-code-of-conduct
Add a link to the code of conduct in the repository
2019-12-22 20:32:02 +01:00
Hugo Locurcio 04d7d0838c
Add a link to the code of conduct in the repository
This makes it display when opening an issue for the first time in the repository.
2019-12-22 18:05:24 +01:00
Hugo Locurcio bb62c07fce
Improve the Basis class documentation 2019-12-22 18:04:51 +01:00
Rémi Verschelde 67f94ad76e
Merge pull request #34543 from Calinou/doc-fix-node-process-priority
Fix the Node `process_priority` description to match actual behavior
2019-12-22 17:29:29 +01:00
Hugo Locurcio 0bab51ab55
Fix the Node `process_priority` description to match actual behavior
This closes #34531.
2019-12-22 17:01:56 +01:00
Rémi Verschelde ac046b7bac
Merge pull request #34542 from Faless/net/packet_peer_stream_input_buffer
Fix buffers size calculation in PacketPeerStream.
2019-12-22 16:19:28 +01:00
Fabio Alessandrelli cbc772d696 Fix buffers size calculation in PacketPeerStream.
The calculation used to be wrong when exactly at a power of 2.
`nearest_shift` always return the "next" power of 2
`nearest_shift(4) == 3 # 2^3 = 8`.

On the other hand `next_power_of_2` returns the exact value if that
value is a power of 2 (i.e. `next_power_of_2(4) == 4`).

I.e. :
```
WARN_PRINT(itos(next_power_of_2(4)) + " " + itos(1 << nearest_shift(4)));
// WARNING: ... : 4 8
```

Is this by design?
2019-12-22 15:35:44 +01:00
Rémi Verschelde 8938577459 i18n: Sync translations with Weblate + update template
Also fix a few stray clang-format formatting errors that passed
through CI unnoticed.
2019-12-22 13:27:02 +01:00
Rémi Verschelde 9410d0c792
Merge pull request #34516 from Faless/debugger/output_buffer_size
Correct size for PacketPeerStream in Debugger.
2019-12-22 12:37:59 +01:00
Rémi Verschelde 4bec32a11e
Merge pull request #34400 from alexchond/alexchon
Document DUPLICATE_USE_INSTANCING #2770
2019-12-22 12:36:42 +01:00
Rémi Verschelde b3fac5ded0
Merge pull request #34411 from Calinou/cleanup-scripts
Remove unused scripts from the `misc/scripts` directory
2019-12-22 12:34:50 +01:00
Rémi Verschelde 18e4fb3548
Merge pull request #34413 from Zacxalot/vehiclewheel-tooltip
Update VehicleWheel.xml
2019-12-22 12:34:34 +01:00
Rémi Verschelde f7d8dd79e9
Merge pull request #34441 from KoBeWi/wrapping_things_up
Fix code editor not always centering to bookmarks
2019-12-22 12:34:03 +01:00
Rémi Verschelde e4ecfe90f9
Merge pull request #34515 from Faless/ws/closing_ws
WSLPeer now prevents receiving data after close.
2019-12-22 12:32:52 +01:00
Rémi Verschelde 2f2724a40f
Merge pull request #34536 from timothyqiu/line-edit-icon
Set proper icon for LineEdit in editor theme
2019-12-22 12:32:26 +01:00
Rémi Verschelde 0df1122acc
Merge pull request #34488 from nekomatata/style_box_flat_aa
Fixed StyleBoxFlat border size with aa on
2019-12-22 12:31:19 +01:00
Haoyu Qiu 6ee9833c6f Set proper icon for LineEdit in editor theme 2019-12-22 15:01:59 +08:00
Rémi Verschelde e21872f4b9
Merge pull request #34527 from MadEqua/fix-gles3-light-cutoff
Fix GLES3 light cutoff.
2019-12-21 23:40:15 +01:00
Rémi Verschelde ecdfeec513
Merge pull request #34526 from Calinou/add-contacts-reported-hint
Add a range property hint for the number of contacts reported
2019-12-21 23:36:05 +01:00
Rémi Verschelde 34ddb7ac59
Merge pull request #34519 from MadEqua/fix-contact-shadows
Fix contact shadow when light is outside of viewport.
2019-12-21 23:30:55 +01:00
Ignacio Roldán Etcheverry 58c07f27fc
Merge pull request #34522 from kramer425/mono-windows-path-ext-fix
Fix mono on windows path ext error
2019-12-21 22:55:13 +01:00
Hugo Locurcio 0a5b30b14a
Add a range property hint for the number of contacts reported
This closes #34505.
2019-12-21 22:27:10 +01:00
Bruno Lourenço d47374385c Fix GLES3 light cutoff. 2019-12-21 20:52:54 +00:00