Rémi Verschelde
1808241d16
Merge pull request #24688 from Supatier/add-additional-vscode-name
...
Add code-oss, vscode-oss, and visual-studio-code-oss to vscode path
2019-01-03 21:32:41 +01:00
Timo Schwarzer
d77643562b
Fix segfault when trying to autocomplete in inner classes
...
Fixes #24697
2019-01-03 15:51:34 +01:00
supatier
ab7f102b14
Add code-oss, vscode-oss, and visual-studio-code-oss to vscode path
2019-01-02 05:40:34 +07:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Rémi Verschelde
d1f3b622f0
Fix missing/malformed license headers
2019-01-01 12:46:36 +01:00
Rémi Verschelde
ac46862097
Merge pull request #24506 from JFonS/expose_gizmos
...
Expose the new gizmo plugin system to scripting
2018-12-30 15:42:30 +01:00
Rémi Verschelde
dcc7f2b54b
Merge pull request #24545 from akien-mga/osxcross-mono
...
SCons: Allow building Mono module with OSXCross
2018-12-30 15:07:18 +01:00
Rémi Verschelde
08f71baca5
Fix loading EXR with alpha channel
...
Fixes #24659 .
2018-12-30 14:35:15 +01:00
Rémi Verschelde
95e96947f6
SCons: Drop ios_sim option forcing x86, simulator needs x86_64
2018-12-27 14:11:13 +01:00
Rémi Verschelde
2e39e38c10
doc: Sync classref with current source
...
Fix various code formatting issues and argument names.
2018-12-27 11:10:18 +01:00
Rémi Verschelde
de4d7a785e
Fix size in HeightMapShapeBullet::set_data
2018-12-27 10:29:25 +01:00
Ignacio Etcheverry
ac118434ee
Merge pull request #24622 from Supatier/fix-vscode-w-uncommon-exec-name
...
Fix: Cannot find code editor: VSCode; although installed on linux
2018-12-27 10:13:04 +01:00
Rémi Verschelde
32a7c05eb4
Merge pull request #24610 from Faless/emws_buf_size_fixes
...
Fix HTML5 WebSocket client buffers size.
2018-12-27 09:45:25 +01:00
Supatier
b173eed8aa
Fix Godot unable to find VSCode binary
...
VSCode's executable name is not uniform and godot only search for "code".
2018-12-27 15:16:29 +07:00
Rémi Verschelde
a1fa614e78
Merge pull request #24561 from KellyThomas/fix-antiquewhite
...
fix capitalization for antiquewhite
2018-12-27 08:52:10 +01:00
Fabio Alessandrelli
77466285f2
Fix HTML5 WebSocket client buffers size.
2018-12-26 17:51:12 +01:00
Andrii Doroshenko (Xrayez)
ba13a2bc05
Bring back script encryption in export preset
...
Retrieved working implementation from 2.1 branch and adapted to
existing export preset system.
Added Script tab in export preset to export script as raw text,
compiled, or encrypted (same as in 2.1). The script encryption key is
visually validated. The script export mode and the key is saved per
per preset in `export_presets.cfg`, so it makes sense to ignore this
file in version control system.
Each custom exporting procedure can retrieve an export preset set
during project exporting. Refactored project export dialog a bit to
allow easier code comprehension.
2018-12-24 17:16:14 +02:00
Daniel Abbott
572367552c
GodotRestInfoContactResultCallback::addSingleResult
now returns normal
...
`PhysicsDirectSpaceState.get_rest_info()` now provides normals in result
Addresses issue 24558
2018-12-22 19:26:18 -07:00
Kelly Thomas
a5e38586ce
fix capitalization for antiquewhite
2018-12-23 08:00:35 +08:00
Rémi Verschelde
d52100f4ff
SCons: Allow building Mono module with OSXCross
...
Improve the test logic to only assume that we're building for macOS
if OSXCROSS_ROOT is defined *and* we requested p=osx.
Supersedes #24480 .
2018-12-22 12:36:19 +01:00
JFonS
6b15b4f904
Expose the new gizmo plugin system to scripting
2018-12-21 23:56:39 +01:00
Kelly Thomas
09496d93b1
[Mono] Color - add ColorN(), Colors - add named color properties
2018-12-21 15:01:32 +08:00
Rémi Verschelde
2709113c83
Merge pull request #24499 from akien-mga/android-thirdparty
...
Android: Better identify thirdparty C/C++ code
2018-12-20 19:12:58 +01:00
Rémi Verschelde
6cdcde7114
doc: Add missing commas after "If true/false"
2018-12-20 13:47:12 +01:00
Rémi Verschelde
6770357e47
Android: Better identify thirdparty C/C++ code
...
- The `cpu-features.{c,h}` code was only used by chance by the webm
(libvpx) code, so I moved it there. It was actually introduced before
that and wasn't in use, and libvpx just happened to be able to
compile thanks to it being bundled.
It could potentially be compiled on the fly from the Android NDK, but
since we plan to replace the webm module by a GDNative plugin in the
near future, I went the bundling route.
- `ifaddrs_android.h` is already provided in the Android NDK as
`ifaddrs.h`, same as on other Unixes. Yet we cannot use it until we
up the min API level to 24, where `getifaddrs` is first defined.
I moved the files to `thirdparty/misc` and synced them with upstream
WebRTC (only indentation changes and removal of `static` qualifiers).
Also removes dropped thirdparty files from COPYRIGHT.txt after changes
in #24105 and #24145 .
2018-12-20 13:07:54 +01:00
Rémi Verschelde
830232f130
Merge pull request #23615 from buresu/pluginscript-new
...
PluginScript: Add support for the new() method
2018-12-18 09:29:04 +01:00
Rémi Verschelde
9c7bc127b9
Merge pull request #24385 from hpvb/reduce-string-coew
...
Reduce String CoW
2018-12-16 19:13:35 +01:00
Hein-Pieter van Braam
4e25e5066b
Reduce String CoW
...
By introducing an intermediate proxy class for the array subscript
operator for String and CharString we can control better when CowData
will actually CoW.
This should improve performance of String usage for most cases.
2018-12-16 16:51:38 +01:00
Rémi Verschelde
9df7ed59fb
Merge pull request #19501 from Zylann/custom_loaders
...
Added basic support for custom resource savers and loaders
2018-12-16 14:26:56 +01:00
Marc Gilleron
065e2670af
Added basic support for custom resource savers and loaders
2018-12-15 05:34:53 +00:00
Rémi Verschelde
4629152d68
doc: Sync classref with current source
2018-12-15 01:39:02 +01:00
meditator
0059930644
Add support for collision layers and masks in CSG shapes
2018-12-15 00:36:47 +01:00
corrigentia
0a4a3f7157
doc: Grammar and punctuation fixes for CSGMesh and CSGCombiner
2018-12-14 14:00:11 +01:00
Rémi Verschelde
72feccf205
Adapt GDNative VideoStream to use ResourceFormatLoader
...
Same logic as used for Webm and Theora support in #19937 and #21084 ,
fixing issues when exporting projects.
2018-12-13 15:33:28 +01:00
Rémi Verschelde
012dac9aad
Fix includes and initialization for GDNative Videodecoder
...
Fixes warnings and a crash when running the destructor with an
uninitialized pcm pointer.
2018-12-13 15:31:13 +01:00
Anish
7199b7b5dd
Added interface for GDNative Videodecoder.
...
Interface and callback api added for Videodecoder support.
Should be able to construct any format videodecoder using
only the given interface.
GSoC 2018 project.
2018-12-13 15:19:09 +01:00
Rémi Verschelde
17c3c64a80
i18n: Sync translation template with current source
...
Also French translation update and misc fixes to source strings.
2018-12-13 14:47:24 +01:00
Rémi Verschelde
55089d0b1a
Merge pull request #24224 from BastiaanOlij/flip_bitangent
...
Reverse bitangent on everythings
2018-12-11 15:21:43 +01:00
volzhs
d4133ac844
Update libwebp to 1.0.1
2018-12-10 22:34:39 +09:00
Rémi Verschelde
bf59b73250
Merge pull request #20609 from YeldhamDev/menu_hover_explicit
...
Make opening menus with the same parent on mouse focus explicit
2018-12-09 23:15:33 +01:00
Rémi Verschelde
286f52c70a
Merge pull request #20745 from Zylann/heightmap_from_image
...
Allow to create a heightmap collision shape from an image
2018-12-09 23:08:51 +01:00
Rémi Verschelde
a3ffc8bc20
Merge pull request #24223 from vnen/gdscript-better-type-compatible
...
Fix type-compatibilty check in GDScript
2018-12-09 11:41:00 +01:00
Ben Rog-Wilhelm
b26487a2b4
Tweaks after feedback
2018-12-08 00:54:12 -08:00
Ben Rog-Wilhelm
f13f2d512f
Implement CSharpScript::get_script_method_list and related functionality.
2018-12-07 23:54:40 -08:00
Bastiaan Olij
fa63a0fe83
Reverse bitangent on everythings to ensure default normal map behavriour is consistent
2018-12-08 13:43:46 +11:00
George Marques
74a3bf72f0
Fix type-compatibilty check in GDScript
...
Objects and PoolArrays are properly tested for conversion.
2018-12-07 23:53:45 -02:00
Rémi Verschelde
19f2a188bb
Merge pull request #22934 from SeleckyErik/issue-11457
...
GDscript function str2var now returns null on invalid input
2018-12-07 15:43:47 +01:00
Aron Castro
3aeeaa9318
Fix csgshape collider without object id
2018-12-03 16:06:30 -02:00
Ignacio Etcheverry
f6f2be7577
Fix crash due to ~CSharpInstance() being called on freed instance
...
This would be the case when calling SetScript on an object with a C# script.
2018-12-01 02:28:24 +01:00
Ignacio Etcheverry
5fd3ef4e78
Implement CSharpScript::is_valid()
2018-11-30 21:45:44 +01:00
Ignacio Etcheverry
989b93d6a4
Merge pull request #24091 from neikeq/ii
...
C#: Improve tool script support and fix reloading issues
2018-11-30 21:39:13 +01:00
Ignacio Etcheverry
b9b7dcdf00
C#: Improve tool script support and fix reloading issues
2018-11-30 20:43:06 +01:00
Erik
78c9677816
GDscript function str2var now returns input string on invalid input
...
str2var used to raise a blocking error when invalid input was passed. Now it logs an error message and
returns the input string. This solution was proposed in #13021 .
Closes #11457 and #13021 .
2018-11-28 14:47:40 +01:00
Rémi Verschelde
06db076fc6
Merge pull request #24025 from aaronfranke/analyzer-errors
...
Fix many errors found by PVS-Studio
2018-11-28 14:08:50 +01:00
Rémi Verschelde
b47d4e1ba5
Merge pull request #24017 from eska014/rt-squish
...
Enable squish decompression in runtime builds
2018-11-28 12:40:43 +01:00
Leon Krause
32751e09ac
Build squish decompression in runtime
2018-11-28 11:11:58 +01:00
Aaron Franke
cb01268562
Fix many errors found by PVS-Studio
...
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
2018-11-28 05:03:24 -05:00
Rémi Verschelde
78cdbc54b0
Merge pull request #23994 from AndreaCatania/prec
...
Added function to control 6DOF precision
2018-11-28 10:30:47 +01:00
Rémi Verschelde
3f41bd1522
Merge pull request #23996 from Windfisch/bulletfix
...
Add more max-checking to physics queries
2018-11-28 10:30:09 +01:00
Juan Linietsky
3a93499f89
Allow signal connecting even if script is invalid (only when compiled with tools), fixes #17070
2018-11-27 19:55:37 -03:00
Andrea Catania
a395d809a5
Added function to control 6DOF precision
2018-11-27 07:11:28 +01:00
Florian Jung
e10c3e7ec5
Add more max-checking to physics queries
...
Fixes some out-of-bounds problems when there are more collisions than
have been requested for. This extends what has been done in 444b8471a3
.
Fixes godotengine/godot#23990
2018-11-26 18:15:58 +01:00
Rémi Verschelde
942855a9ee
Merge pull request #23961 from Faless/lws_poll_all
...
Websocket LWS keep servicing till no CB are left
2018-11-26 11:48:31 +01:00
Rémi Verschelde
7b2ac28326
Merge pull request #23959 from RandomShaper/fix-dangling-script-fix
...
Fix dangling script fix
2018-11-26 10:13:00 +01:00
Fabio Alessandrelli
c3d3f1dedb
Websocket LWS keep servicing till no CB are left
...
Apparently, only a single WRITABLE/READABLE callback is called at each
servicing. For this reason, we want to keep servicing until we end up
not receiving any callback.
When that happens, we can assume that we can't (or don't want to) write
more, and that there is nothing left to read in the socket buffer.
2018-11-25 17:25:03 +01:00
Pedro J. Estébanez
06b6cea62e
Fix crash on signal/resume to dangling target
2018-11-25 13:16:45 +01:00
Carter Anderson
d339824f15
Parse C# generics and type constraints correctly
2018-11-24 18:29:23 -08:00
Pedro J. Estébanez
b499537e68
Revert "Fix crash on signal/resume to dangling target"
...
This reverts commit 54bdc1e1f6
.
2018-11-24 23:46:13 +01:00
Rémi Verschelde
1c169413ff
Merge pull request #23740 from ttencate/unused_argument_22139
...
Prevent unused_argument warning when passing arg to parent constructor
2018-11-23 01:07:22 +01:00
Rémi Verschelde
7a9e4c2602
Merge pull request #22953 from DualMatrix/properties_gone
...
Fixed parents export vars not appearing in inspector if parent is class_name.
2018-11-22 19:34:41 +01:00
Andrea Catania
c6e6249143
Improved algorithm that check collision
2018-11-22 09:03:21 +01:00
Liangdi
dced53b4d9
add undeclared function params of VisualScriptEditor::_selected_method , Fixes #23475
2018-11-21 21:25:19 +08:00
Michael Alexsander Silva Dias
da7d3c5a58
Make opening menus with the same parent on mouse focus explicit
2018-11-20 20:37:45 -02:00
Ignacio Etcheverry
d275d848b3
C#: Replace calls to old of old Basis(Vec3,Vec3,Vec3) constructor
2018-11-20 22:23:09 +01:00
Rémi Verschelde
477e89a8a2
Merge pull request #23760 from BastiaanOlij/fix_tangent_direction
...
Fixing tangent and binormal logic
2018-11-20 14:13:36 +01:00
Rémi Verschelde
84dcf9ca19
Merge pull request #23824 from BastiaanOlij/polygon_caps
...
Adding UVs on end caps for CSGPolygon
2018-11-20 13:59:46 +01:00
Rémi Verschelde
173b342ca7
Remove trailing whitespace
...
With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'`
(+ manual revert of some thirdparty code under `platform/android`).
2018-11-20 11:15:02 +01:00
Rémi Verschelde
5c3422873f
doc: Another indentation fixup
2018-11-20 10:20:00 +01:00
Ignacio Etcheverry
5712daf2d9
Merge pull request #23833 from neikeq/hh
...
C#: Fix Basis(Vec3,Vec3,Vec3) constructor
2018-11-20 06:13:29 +01:00
Ignacio Etcheverry
bf94eed60c
C#: Fix Basis(Vec3,Vec3,Vec3) constructor
...
Now it sets axes in order to match GDScript implementation.
2018-11-20 02:08:22 +01:00
Bastiaan Olij
bcef4b8dc6
Fixing tangent and binormal logic
2018-11-19 22:27:05 +11:00
Bastiaan Olij
9703153396
Adding UVs on end caps
2018-11-19 22:08:49 +11:00
Rémi Verschelde
fafece44a2
Merge pull request #23789 from vnen/gdscript-empty-class-bug
...
Check for valid values when checking for class members
2018-11-18 11:23:43 +01:00
George Marques
3d2d04afd4
Check for valid values when checking for class members
...
- Check if GDScript was compiled correctly before checking its functions
and properties.
- Check if native class name is actually set before looking for it in
the ClassDB.
2018-11-17 23:23:40 -02:00
George Marques
0bc953d83b
Allow primitives to be compared to Object types with is
2018-11-17 22:41:08 -02:00
Rémi Verschelde
5075e372f3
Merge pull request #23668 from sdfgeoff/fix_angular_constraints
...
Exposing more of bullets 6DOF spring constraints
2018-11-17 16:15:33 +01:00
Juan Linietsky
6ed1be9637
Merge pull request #23743 from BastiaanOlij/csg_mikkt_tangent
...
Adding mikkt tangent support to CSG objects
2018-11-16 23:24:52 +01:00
Juan Linietsky
f141f747de
Fix Squish decompression, closes #18109
2018-11-16 19:12:00 -03:00
Ibrahn Sahir
d1550215b0
Fix some undefined behaviour in Bullet module.
...
Nulling mainShape when it's deleted to avoid double free.
Initialising vector in inertia calculation to work around bug in bullet.
2018-11-16 14:20:09 +00:00
Bastiaan Olij
caf14e77db
Adding mikkt tangent support to CSG objects
2018-11-17 00:07:18 +11:00
Juan Linietsky
8306d60e85
Get rid of gridmap error due to not yet valid cursor instance, fixes #17546
2018-11-16 09:10:44 -03:00
Juan Linietsky
0b1e93ccd4
-Make sure monitorable cant be flipped while flushing queries, fixes #17330
...
-Also added set_deferred, this was missing.
2018-11-16 08:49:26 -03:00
Thomas ten Cate
4a530433d4
Prevent unused_argument warning when passing arg to parent constructor
...
This requires creating the FunctionNode object a bit sooner, and setting
it as the current_function while parsing the parent constructor call
arguments.
Note that the return type has not yet been parsed at this point, but
that doesn't seem to be a problem.
Fixes #22139
2018-11-16 10:46:05 +01:00
Ibrahn Sahir
f8a1c77fcf
Assign pointer null in RegEx::clear to avoid double free on destruction.
2018-11-15 13:36:40 +00:00
Rémi Verschelde
b2f96b2892
Merge pull request #22940 from Faless/lws_buffers_bis
...
Better buffering for WebSocket
2018-11-13 09:54:06 +01:00
Geoffrey Irons
e149327be0
Added angular restitution
...
Adding angular and linear springs
Added getters
2018-11-13 09:24:00 +01:00
Fabio Alessandrelli
c066db4d59
Convert WebSocket module to use PacketBuffer class
2018-11-12 22:55:17 +01:00
Fabio Alessandrelli
4847b5bff5
Add new PacketBuffer class for buffered peers
2018-11-12 21:49:50 +01:00
George Marques
7f6f9abb2f
Make enum values not be script constants if enum is named
...
Anonymous enums still creates script constants.
Also add a check to see if name used for enum is already defined.
2018-11-11 01:42:20 -02:00
Rémi Verschelde
c02cd5139f
Merge pull request #23490 from Faless/lws_client_memfix
...
Fix access to freed mem in WS client after #23241
2018-11-10 22:18:42 +01:00