Commit graph

16382 commits

Author SHA1 Message Date
Rémi Verschelde
277b24dfb7 Make core/ includes absolute, remove subfolders from include path
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
Ignacio Etcheverry
cc71012266
Merge pull request #21990 from neikeq/howwouldyounamethisbranch
C#/Mono fixes and enhancements
2018-09-12 04:37:34 +02:00
Ignacio Etcheverry
d21c64cc3b C#: Fix cs_files glue mismatch bug 2018-09-12 03:24:08 +02:00
Ignacio Etcheverry
e558e1ec09 Fix/workaround for issue #21667
When a Reference managed instance is garbage collected and its finalizer is called, it could happen that the native instance is referenced once again before the finalizer can unreference and memdelete it. The workaround is to create a new managed instance when this happens (at least for now).
2018-09-12 03:24:08 +02:00
Ignacio Etcheverry
61426464ea Add some mono root hint dirs for OSX
Fixes #13355
2018-09-12 03:24:08 +02:00
Ignacio Etcheverry
691d4e3835 Allow special characters in C# glue files
Fixes #21139

- Surround the generated file modules/mono/glue/cs_compressed.gen.h with ifdef TOOLS_ENABLED
2018-09-12 03:24:08 +02:00
Ignacio Etcheverry
b1356a3590 Cleanup of c# api files and bindings generator
- We no longer generate RID and NodePath C# classes. Both will be maintained manually.
- We no longer generate C# declarations and runtime registration of internal calls for the following classes: RID, NodePath, String, GD, SignalAwaiter and Godot.Object (partial base).
- We no longer auto-generate the base members of Godot.Object. They will be maintained manually as a partial class.

This makes it easier to maintain these C# classes and their internal calls, as well as the bindings generator which no longer generates C# classes that don't derive from Godot Object, and it no longer generates the Godot.Object base members (which where unreadable in the bindings generator code).

- Added missing 'RID(Object from)' constructor to the RID C# class.
- Replaced MONO_GLUE_DISABLED constant macro with MONO_GLUE_ENABLED.
- Add sources in module/mono/glue even if glue is disabled, but surround glue files with ifdef MONO_GLUE_ENABLED.
2018-09-12 03:23:45 +02:00
Rémi Verschelde
0d04fb76e1 Fix mistake in previous commit 2018-09-11 18:12:40 +02:00
Rémi Verschelde
af57515775 UPnP: Fix includes of thirdparty headers 2018-09-11 18:09:12 +02:00
Rémi Verschelde
10db0421db
Merge pull request #21974 from akien-mga/drop-property-editor
Replace last occurrences of PropertyEditor and drop its code
2018-09-11 17:05:55 +02:00
Rémi Verschelde
ed8b75a3e1 Drop obsolete PropertyEditor and SectionedPropertyEditor code
Replaced by EditorInspector.
2018-09-11 16:16:11 +02:00
Rémi Verschelde
45b609f46a Replace last occurrences of PropertyEditor by EditorInspector
Updates the following plugins:
- ConnectionsDialog
- ScriptEditorDebugger
- ItemListEditorPlugin

Also drop now unnecessary compatibility methods.
2018-09-11 16:09:19 +02:00
Rémi Verschelde
4c37ea59be
Merge pull request #21971 from scayze/window_title_update
Update window title when switching scenes
2018-09-11 13:03:11 +02:00
Manuel Strey
909885642a update window title when switching scenes 2018-09-11 12:28:32 +02:00
Rémi Verschelde
890fc101cc
Merge pull request #21967 from godotengine/revert-21831-fix_13849
Revert "Fix selection of spatial nodes after selecting a non-spatial one."
2018-09-11 11:31:47 +02:00
Rémi Verschelde
0471386a97
Revert "Fix selection of spatial nodes after selecting a non-spatial one." 2018-09-11 11:30:48 +02:00
Rémi Verschelde
c320d9394d doc: Sync classref with current source 2018-09-11 00:18:21 +02:00
Rémi Verschelde
bf286ed182 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@aaronfranke, @capnm, @elasota

Thanks to all contributors and donors for making Godot possible!

[ci skip]
2018-09-11 00:18:21 +02:00
Ignacio Etcheverry
8366da5bc6
Merge pull request #21822 from aaronfranke/mono-pascal
[Mono] Various style changes and naming standardization
2018-09-10 23:52:00 +02:00
Rémi Verschelde
96014b6391
Merge pull request #21911 from groud/fix_locked_nodes
Fixes 2D nodes lock not working
2018-09-10 23:43:25 +02:00
Rémi Verschelde
6be11846b4
Merge pull request #21908 from JFonS/fix_18014
Clear cache after reimporting an ArrayMesh
2018-09-10 23:36:47 +02:00
Rémi Verschelde
efeb88b102
Merge pull request #21907 from JFonS/concave_collision_gizmo
Fix SoftBody gizmo slowness, add ConcaveShape wireframe
2018-09-10 23:36:07 +02:00
Rémi Verschelde
c440bf82d6
Merge pull request #21941 from akien-mga/gdscript-memdelete-missing-script
Fix crash when extending non-existing GDScript file
2018-09-10 23:11:54 +02:00
Rémi Verschelde
fe4c893c88
Merge pull request #21871 from DualMatrix/recent_select
Fixed favorites and recent nodes selecting wrong node
2018-09-10 22:52:08 +02:00
Aaron Franke
627ed98ed1 [Mono] Various style changes and naming standardization 2018-09-10 15:22:10 -04:00
Aaron Franke
4743852466 [Mono] Tabs -> Spaces 2018-09-10 15:12:49 -04:00
DualMatrix
6ec28de584 Fixed favorites and recent nodes selecting wrong node
Fixed favorites and recent nodes selecting wrong node and fixed a typo.

Fixes #6535
2018-09-10 20:58:29 +02:00
Rémi Verschelde
0faafa6f4d Fix crash when extending non-existing GDScript file
Fixes #21682 with a partial revert of #21411.
The ~Ref() destructor (from 'scriptres') already takes care
of freeing the 'script' resource.
2018-09-10 20:46:20 +02:00
Rémi Verschelde
864a314340
Merge pull request #21949 from marcelofg55/wasapi_init_fix
Fix possible crash when switching audio device on WASAPI driver
2018-09-10 20:41:51 +02:00
Marcelo Fernandez
10a4925159 Fix possible crash when switching audio device on WASAPI driver 2018-09-10 15:12:02 -03:00
Rémi Verschelde
db26c1205c
Merge pull request #21937 from romlok/remotetransform
Clarify which direction RemoteTransform[2D] work
2018-09-10 19:10:44 +02:00
Rémi Verschelde
772b398ad8
Merge pull request #21886 from RyanStein/bugfix-15509
Check for double-colon on open recent script.
2018-09-10 19:06:41 +02:00
Rémi Verschelde
497853c383
Merge pull request #21882 from DualMatrix/animation_track
Fixed animation_player errors displaying wrong property.
2018-09-10 19:01:18 +02:00
Rémi Verschelde
ec788e1ac4
Merge pull request #21879 from willnationsdev/script-name-empty
Fix ScriptCreateDialog passing script w/ no filename
2018-09-10 18:58:21 +02:00
Rémi Verschelde
e883edfac9
Merge pull request #21872 from Paulb23/fix_backwards_search
Fix backwards search in TextEdit selecting non-whole words, issue 15677
2018-09-10 18:52:35 +02:00
Rémi Verschelde
87e0563116
Merge pull request #21491 from AlexHolly/fix-textedit-uncomment-spamm
Uncommenting a selection was not updating the selection.
2018-09-10 18:48:41 +02:00
Rémi Verschelde
76b211540e
Merge pull request #21865 from Calinou/tweak-android-export-errors
Tweak Android-related error messages in the Export dialog
2018-09-10 18:47:53 +02:00
Rémi Verschelde
0dd7e02350
Merge pull request #21859 from avencherus/fix-scancode-colon
Changed Windows key translate pair from KEY_COLON to KEY_COMMA.
2018-09-10 18:38:39 +02:00
Rémi Verschelde
5007b415c1
Merge pull request #21850 from DualMatrix/error_spam
Fixed error spam when inspecting remote tree
2018-09-10 17:30:55 +02:00
Rémi Verschelde
6d7a8a6caa
Merge pull request #21939 from akien-mga/physics-check-shape-query-params
PhysicsServer: Add validity checks for shape query parameters
2018-09-10 17:16:47 +02:00
Rémi Verschelde
de8522aeb6
Merge pull request #21846 from Calinou/tweak-light-instance-error
Tweak the Light instantiation error message and fix a typo
2018-09-10 17:09:01 +02:00
Rémi Verschelde
584f1ab0c5
Merge pull request #21842 from merumelu/curve-point-count
Bind Curve::get_point_count
2018-09-10 16:49:09 +02:00
Rémi Verschelde
5e900ebf29 PhysicsServer: Add validity checks for shape query parameters
Fixes #17439.
2018-09-10 16:30:16 +02:00
Rémi Verschelde
de60714b91
Merge pull request #21857 from BastiaanOlij/fix_never_true_prealpha
Fixed a theoretical condition where prealpha prevents lighting
2018-09-10 16:02:58 +02:00
Rémi Verschelde
fcabf95934
Merge pull request #21835 from DualMatrix/save_branch
Prevent overwriting open scenes when saving
2018-09-10 16:00:25 +02:00
Mel Collins
12448e659a Clarify which direction RemoteTransform[2D] work 2018-09-10 15:54:32 +02:00
Rémi Verschelde
04eb6046c5
Merge pull request #21831 from JFonS/fix_13849
Fix selection of spatial nodes after selecting a non-spatial one.
2018-09-10 15:39:31 +02:00
Rémi Verschelde
a2d2fbe8a6
Merge pull request #21784 from guilhermefelipecgs/fix_resized_mouse_confined
Fix mouse confined leaving window with OS_Windows::set_window_position
2018-09-10 15:34:49 +02:00
Rémi Verschelde
c0df3b147e Make sure project manager gets editor hint set
Previous fix in e8e06b2 worked in most cases but not if you run e.g.
'godot -', where the '-' argument would mean that 'project_manager'
is false and yet that's what will be opened eventually.
2018-09-10 14:53:45 +02:00
Rémi Verschelde
0f6803ea77
Merge pull request #21841 from char0xff/fix-array
Fix mistake in Array.xml
2018-09-10 14:23:26 +02:00