Commit graph

30423 commits

Author SHA1 Message Date
Marcel Admiraal
5a376cb061 Fix header guards in modules:
- Add missing header guards to various modules' register_types.h
- Add header guard to basis_universal/texture_basisu.h.
- Ensure header guard encloses entire header in
  webrtc/webrtc_data_channel_js.h.
2020-09-06 16:13:59 +01:00
Juan Linietsky
39f58c7412
Merge pull request #41810 from reduz/particle-improvements
Implement manual particle emission and particle sub emitters.
2020-09-06 11:35:36 -03:00
reduz
d0bddf53c5 Implement manual particle emission and particle sub emitters. 2020-09-06 10:29:27 -03:00
Rémi Verschelde
859322343c
Merge pull request #41803 from ThakeeNathees/parameter-type-infer-bug-fix
GDScript: parameter infer type bug fix
2020-09-06 15:22:44 +02:00
Andrea Catania
53e42930d9
Avoid adding margin twice along capsule Y axis 2020-09-06 11:33:27 +02:00
Yuri Roubinsky
ceed524936
Merge pull request #41804 from Chaosus/vs_improvements2
Removes redundant code & fix documentation for VisualShaderNodeCustom
2020-09-06 12:32:19 +03:00
Yuri Roubinsky
de097b9327 Removes redundant code & fix documentation for VisualShaderNodeCustom 2020-09-06 12:09:15 +03:00
Yuri Roubinsky
1a5c518efc
Merge pull request #41802 from Chaosus/vs_improvements
Use flags instead TYPE_ enum in visual shaders editor
2020-09-06 11:07:19 +03:00
Rémi Verschelde
c6b044903d
Merge pull request #41801 from EricEzaM/PR/popup-menu-errors-fix
Fixed get_usable_parent_rect() errors when initialising popup menus.
2020-09-06 10:05:40 +02:00
Thakee Nathees
89489a3cac GDScript: parameter infer type bug fix
Fix: #41772
2020-09-06 13:26:52 +05:30
Yuri Roubinsky
004d8e86a6 Use flags instead TYPE_ enum in visual shaders editor 2020-09-06 10:43:14 +03:00
Rémi Verschelde
da588226a2
Merge pull request #41790 from alexdlm/fix-csproj-read
Handle csproj "Remove" globs
2020-09-06 08:42:08 +02:00
Eric M
13fd60572b Fixed get_usable_parent_rect() errors when initialising popup menus. 2020-09-06 13:59:40 +10:00
Alex de la Mare
8dbd7155b5 Handle csproj "Remove" globs
MSBuild Item returns empty strings if an attribute isn't set (which
caused an IndexOutOfRangeException in NormalizePath).

We were treating Excludes incorrectly, Remove directives provide the
intended behaviour in the auto-including csproj format.
2020-09-06 11:34:04 +10:00
Rémi Verschelde
9fc4f17281
Merge pull request #41789 from Chaosus/vs_cleanup
Cleanup constructor code in visual shader nodes
2020-09-05 15:25:55 +02:00
Yuri Roubinsky
f188c41ffd Cleanup constructor code in visual shader nodes 2020-09-05 16:13:38 +03:00
bruvzg
f043eabdd8
Adds PCK encryption support (using script encryption key for export).
Change default encryption mode from ECB to CFB.
2020-09-05 14:53:39 +03:00
Yuri Roubinsky
52f6ac81be
Merge pull request #41785 from Chaosus/fix_crash
Fix crash regression in the shader function validation
2020-09-05 14:01:39 +03:00
Yuri Roubinsky
b1351fe781 Fix crash regression in the shader function validation
introduced in #41780
2020-09-05 13:49:50 +03:00
Rémi Verschelde
daefe12774
Merge pull request #41780 from Chaosus/improve_shader_messages
Improve messages in shader function validation
2020-09-05 12:38:44 +02:00
Rémi Verschelde
ff9195a905
Merge pull request #40649 from themvl/master
Fix bug where leading and trailing spaces werent taken into account with center and right allignment
2020-09-05 12:38:26 +02:00
Yuri Roubinsky
ab9978697e Improve messages in shader function validation 2020-09-05 13:19:38 +03:00
Fabio Alessandrelli
2163e81fea
Merge pull request #41763 from madmiraal/fix-linux-time
Make OS_Unix time calls thread safe.
2020-09-05 11:57:10 +02:00
Anilforextra
5705e0d309 Fixed Some typos. 2020-09-05 14:31:56 +05:45
Rémi Verschelde
c4865921ec
Merge pull request #41770 from bruvzg/fix_mono_win_build
Fix Mono path utils char types.
2020-09-04 21:44:44 +02:00
Adam Brown
8f1a6d7489 Fixed PackedByteArray GDScript functions
p_self._data.packed_array needs to be used instead of p_self._data._mem

printline
2020-09-04 12:43:00 -07:00
bruvzg
82cd97b675
Fix Mono path utils char types. 2020-09-04 22:20:08 +03:00
Lorenz Junglas
9367310e2b
Remove ArrayMesh::surface_remove declaration
Removal was omitted in 449df8f688
2020-09-04 16:27:59 +02:00
Rémi Verschelde
5c4dffe7c2
Merge pull request #41764 from madmiraal/make-slicing-explicit
Make PosVertex to Vertex slicing explicit.
2020-09-04 14:48:42 +02:00
Rémi Verschelde
605d7b7e82
Merge pull request #41760 from ThakeeNathees/null-dereference-on-gdscript-function-fix
null pointer dereference at GDScriptFunction::call crash fix
2020-09-04 14:45:31 +02:00
Marcel Admiraal
879390680b Make PosVertex to Vertex slicing explicit. 2020-09-04 13:22:20 +01:00
Rémi Verschelde
21da779aee
Merge pull request #41689 from nathanfranke/fix-popupmenu-unresponsive
Fix PopupMenu unresponsive on right side of menu
2020-09-04 13:53:37 +02:00
Rémi Verschelde
44e89cb88f
Merge pull request #41758 from akien-mga/classref-sync
doc: Sync classref with current source
2020-09-04 13:23:20 +02:00
Marcel Admiraal
4b3aec50c0 Replace calls to gmtime with gmtime_r and localtime with localtime_r. 2020-09-04 12:22:43 +01:00
Rémi Verschelde
696849f73a
Merge pull request #41761 from madmiraal/fix-assignment-operators
Ensure assignment operators return by reference to avoid unnecessary copies.
2020-09-04 13:00:17 +02:00
Thakee Nathees
75d4511cb5 null pointer dereference at GDScriptFunction::call fix 2020-09-04 15:24:09 +05:30
Rémi Verschelde
6a03aed5a4
Merge pull request #40958 from clayjohn/VULKAN-shadow-noise
Improve the quick hash function for all GPUs
2020-09-04 10:53:01 +02:00
Rémi Verschelde
de284f931d
doc: Sync classref with current source 2020-09-04 10:43:11 +02:00
Marcel Admiraal
ce263c4ff6 Ensure assignment operators return by reference to avoid unnecessary copies. 2020-09-04 09:18:19 +01:00
Rémi Verschelde
dc8d8d1b5d
Merge pull request #40996 from Calinou/improve-debug-editor-tooltips
Improve editor tooltips related to debugging
2020-09-04 10:07:21 +02:00
Rémi Verschelde
5c0fabd314 i18n: Sync translations with Weblate
(cherry picked from commit 41b9e1d7ea)
2020-09-04 08:56:38 +02:00
Rémi Verschelde
5c55c41c9d
Merge pull request #41753 from neikeq/csharp-hide-build-button-if-no-proj
C#: Hide Build button if there's no solution to build
2020-09-04 08:19:53 +02:00
Rémi Verschelde
15efe040f9
Merge pull request #41747 from neikeq/issue-41446
Fix parsing of C# files with spaces in the path
2020-09-04 08:16:56 +02:00
Rémi Verschelde
90601bb659
Merge pull request #41750 from neikeq/issue-41745
C#: Fix Godot failing to find class namespace
2020-09-04 08:15:49 +02:00
Rémi Verschelde
d1b0b1962d
Merge pull request #41748 from neikeq/issue-41712
Fix 'Parameter "assembly" is null' error
2020-09-04 08:13:46 +02:00
Ignacio Etcheverry
173f7d800b C#: Hide Build button if there's no solution to build
Same as we do with the bottom panel. Mainly to
avoid bothering if the project is not using C#.
2020-09-04 02:07:12 +02:00
Ignacio Etcheverry
a0ef3ba5c8 C#: Fix Godot failing to find class namespace 2020-09-04 01:26:05 +02:00
Ignacio Etcheverry
136181bb50 Fix 'Parameter "assembly" is null' error
This error was normally being printed when
trying to open the project assembly while
the project was not yet built.
The error should not be printed. It's the job
of this method's caller to decide whether to
print an error or not if loading failed.
2020-09-04 01:08:44 +02:00
Ignacio Etcheverry
9e8a5e4b5a Fix parsing of C# files with spaces in the path 2020-09-04 01:01:10 +02:00
Rémi Verschelde
27763b67bb
Merge pull request #40999 from bruvzg/ctl_string_to_utf32
[Complex Test Layouts] Refactor `String` to use UTF-32 encoding.
2020-09-03 21:35:27 +02:00