Rémi Verschelde
8ff99d2a8e
Merge pull request #39958 from aaronfranke/gridmap-vec3i
...
Update GridMap to use Vector3i instead of three ints
2020-07-03 13:38:46 +02:00
endlesstravel
d2461bad63
fix crash when pass null in print array in GD.print
...
fix crash when pass null in print array in GD.print 2
fix crash when pass null in print array in GD.print 3
fix space
2020-07-03 16:55:09 +08:00
Rémi Verschelde
64aa25b2e5
Merge pull request #40050 from naithar/feature/ios-gdnative-master-2
...
[4.0] Add support of iOS's dynamic libraries to GDNative
2020-07-03 07:48:13 +02:00
Aaron Franke
8a333cdf9f
Update GridMap to use Vector3i instead of three ints
2020-07-02 16:50:55 -04:00
Rémi Verschelde
f9c2f35dd9
Merge pull request #39415 from SkyLucilfer/PotGeneration
...
Add POT generation feature in Editor
2020-07-02 22:22:46 +02:00
Rémi Verschelde
67e4082b1e
Merge pull request #37350 from aaronfranke/force-impulse
...
Refactor physics force and impulse code to use (force, position) order
2020-07-02 18:39:16 +02:00
Rémi Verschelde
d121248562
Merge pull request #40049 from hinlopen/remove-pane-drag
...
Remove unused class PaneDrag
2020-07-02 18:33:36 +02:00
Sergey Minakov
294416c84c
GDNative export: do not add fake lookup table if static lib is not used
2020-07-02 17:43:04 +03:00
SkyJJ
efb4609425
Add translation parser plugin support
2020-07-02 14:47:35 +02:00
Stijn Hinlopen
c3d9f12a10
Remove unused class PaneDrag
2020-07-02 13:50:31 +02:00
Sergey Minakov
ad2248a3bd
GDNative Editor: Support selecting frameworks for iOS
2020-07-02 13:00:27 +03:00
Sergey Minakov
9086599ae6
GDNative: support dynamic loading of iOS frameworks
2020-07-02 12:55:49 +03:00
Rémi Verschelde
f71e258512
Merge pull request #30424 from raphael10241024/fix_noise
...
Fix OpenSimplexNoise get_image() swap axes
2020-07-02 11:50:57 +02:00
Rémi Verschelde
5c9ee93f3e
Merge pull request #39788 from bruvzg/macos_apple_silicon
...
[macOS] Add support for the Apple Silicon (ARM64) build target.
2020-07-01 16:45:23 +02:00
Rémi Verschelde
a8a2769bb6
Merge pull request #38713 from aaronfranke/string-64bit
...
Make all String integer conversion methods be 64-bit
2020-07-01 16:01:05 +02:00
RaphaelHunter
00cac6e9b6
Fix OpenSimplexNoise get_image() swap axes
2020-07-01 11:40:14 +08:00
G'lek
a5abacd1e7
Change assembly watcher after notification changes
...
Fixed Mono not building after #39986 was merged due to a constant that got renamed.
2020-06-30 17:41:38 -04:00
Rémi Verschelde
5f2295f2df
Merge pull request #39986 from reduz/app-inout-notification
...
Add a separate application focus/in notification
2020-06-30 16:58:46 +02:00
Rémi Verschelde
f3c5f12e39
Merge pull request #38920 from paulherman/tga
...
Expose loading TGA images in Image.
2020-06-30 16:40:28 +02:00
Juan Linietsky
438c380458
Add a separate application focus/in notification out from Window focus notification.
2020-06-30 10:40:06 -03:00
Marcel Admiraal
63f4e92195
Use is_equal_approx() instead of vertex_snap when checking if ray is
...
colliding with equiplanar CSG faces.
2020-06-29 18:21:15 +01:00
Marcel Admiraal
1a559c9889
Create degenerate triangles when inserting an edge into a CSG face.
...
They will be deleted when the faces are merged, but their edges are
needed for merging faces.
2020-06-29 17:57:07 +01:00
bruvzg
00299f15b4
[macOS] Add support for the Apple Silicon (ARM64) build target.
2020-06-29 12:33:51 +03:00
Tomasz Chabora
13298ed873
Improve the preload and load descriptions
2020-06-28 20:51:46 +02:00
Mark Kuo
3b05d2c989
VideoStreamGDNative: close file in cleanup
...
We should close the file handle when we are done.
2020-06-28 10:20:07 +10:00
Rémi Verschelde
87d2397273
Merge pull request #39837 from neikeq/fix-invalid-unbox-long-as-int
...
Mono/C#: Fix InvalidCast because of attempt to unbox long as int
2020-06-26 07:56:42 +02:00
Rémi Verschelde
aa42bd14ac
Merge pull request #39839 from neikeq/use-/restore-instead-of-/t-restore
...
Mono/C#: Use /restore instead of /t:restore when building
2020-06-26 07:49:40 +02:00
Ignacio Etcheverry
4b0c78b3ca
Mono/C#: Use /restore instead of /t:restore when building
...
Documentation recommends not to use /t:restore
together with other targets (like /t:build),
as it messes with the environment.
2020-06-25 23:50:05 +02:00
Ignacio Etcheverry
e8d632720f
Mono/C#: Fix InvalidCast because of attempt to unbox long as int
2020-06-25 23:37:53 +02:00
Ignacio Etcheverry
f87ae395ee
Mono/C#: Fix unhandled exception not being printed
...
For some reason `mono_unhandled_exception` is not
printing the exception as its comment claims.
Use `mono_print_unhandled_exception` instead.
2020-06-25 23:28:53 +02:00
Rémi Verschelde
23f7f86914
Style: Fix copyright headers
2020-06-25 16:33:44 +02:00
Rémi Verschelde
04795d7f1e
Merge pull request #39739 from MichaelBelousov/fix/long-enum-fix-rider-cast
...
fix underlying type of enum crashing cast in RiderPathManager
2020-06-24 22:51:07 +02:00
Rémi Verschelde
8f5005b3eb
Merge pull request #39779 from naithar/feature/ios-modules-master
...
Enable iOS modules and fix missing symbols errors (4.0)
2020-06-24 22:49:39 +02:00
Michael Belousov
9f61f1ed54
Mono: fix bad long casts and wrong underlying enum types in GodotTools
2020-06-24 09:35:13 -04:00
Andrea Catania
a2b5e7971a
Added BulletPhysics APIs to return internal objects and fixed a typo.
2020-06-24 09:09:50 +02:00
Andrea Catania
7709a83493
Optimized physics object spawn time and optimized shape usage when the shape is not scaled
2020-06-24 08:54:11 +02:00
Rémi Verschelde
7d60a88888
Merge pull request #39783 from neikeq/messaging-codecompletion-localize-fix
...
C#: Fix completion request with case insensitive resource path
2020-06-24 01:00:05 +02:00
Ignacio Etcheverry
d569b447ff
C#: Fix completion request with case insensitive resource path
...
Sometimes Visual Studio documents have the root path all in upper case.
Since Godot doesn't support loading resource files with a case insensitive path,
this makes script resource loading to fail when the Godot editor gets code
completion requests from Visual Studio.
This fix allows the resource path part of the path to be case insensitive. It
still doesn't support cases where the rest of the path is also case insensitive.
For that we would need a proper API for comparing paths. However, this fix
should be enough for our current cases.
2020-06-23 20:29:19 +02:00
Sergey Minakov
c3e7aeb279
SCons: Enable iOS modules for ARKit and Camera
2020-06-23 12:48:44 +03:00
Rémi Verschelde
42c4a701dd
Merge pull request #39755 from Faless/crypto/encryption_pr_4.0
...
Crypto enhancements, AESContext, RSA public key, signature, verification.
2020-06-22 23:31:58 +02:00
Rémi Verschelde
10d2fa4210
Merge pull request #39747 from nekomatata/fix-crash-space-query
...
Fix crashes with invalid shapes in BulletPhysicsDirectSpaceState queries
2020-06-22 10:46:39 +02:00
PouleyKetchoupp
8b0232bf29
Fix crashes with invalid shapes in BulletPhysicsDirectSpaceState queries
2020-06-22 10:22:11 +02:00
Rémi Verschelde
c59be89273
Merge pull request #34236 from madmiraal/enable-bullet-debug
...
Enable Bullet DEBUG on debug builds.
2020-06-21 18:41:42 +02:00
Rémi Verschelde
858af3d3b9
Merge pull request #34219 from madmiraal/check-motion-before-bullet-sweep
...
Check for motion in cast_motion() before doing Bullet convexSweepTest().
2020-06-21 18:05:02 +02:00
Marcel Admiraal
8ffe905c45
Check for motion in cast_motion() before doing Bullet convexSweepTest().
...
Also ensure that default closest_safe and closest_unsafe values are
defined in cast_motion() and before cast_motion() is called.
2020-06-21 16:20:26 +01:00
Marcel Admiraal
f5b99b578e
Check if point's index exists before adding it to the list of points
...
that need to split faces when avoiding creating degenerate faces
while merging CSG faces.
2020-06-21 14:48:01 +01:00
Hugo Locurcio
31b7f02a29
Remove ToolButton in favor of Button
...
ToolButton has no redeeming differences with Button;
it's just a Button with the Flat property enabled by default.
Removing it avoids some confusion when creating GUIs.
Existing ToolButtons will be converted to Buttons, but the Flat
property won't be enabled automatically.
This closes https://github.com/godotengine/godot-proposals/issues/1081 .
2020-06-19 20:49:49 +02:00
Rémi Verschelde
a8d302bd4f
Merge pull request #39678 from akien-mga/universae-fenestras
...
Export: Rename 'Windows Universal' to 'UWP'
2020-06-19 18:54:34 +02:00
Rémi Verschelde
d5c659c992
Merge pull request #39652 from paulloz/generics-getnodesingroup
...
[mono] Implement generics GetNodesInGroup
2020-06-19 18:52:36 +02:00
Rémi Verschelde
08ef0aab16
Export: Rename 'Windows Universal' to 'UWP'
...
It's otherwise too easy to be confused between 'Windows Desktop' (Win32)
and 'Windows Universal' (UWP).
2020-06-19 16:31:28 +02:00
Paul Joannon
183dc04d70
[mono] implement generics GetNodesInGroup
2020-06-19 08:49:24 +02:00
Rémi Verschelde
9562fb900e
Merge pull request #39629 from MichaelBelousov/dont-slice-longs-to-mono
...
Dont slice 64-bit integers marshaled to mono in dynamic contexts
2020-06-19 07:50:34 +02:00
Fabio Alessandrelli
8e3f9aa681
Implement RSA encryption/decryption.
2020-06-18 15:29:39 +02:00
Fabio Alessandrelli
dfcc11fa52
Implement sign and verify in crypto.
2020-06-18 15:29:39 +02:00
Fabio Alessandrelli
788f18086e
CryptoKey supports public keys.
2020-06-18 15:29:39 +02:00
Fabio Alessandrelli
f03b7f3d7a
Better zeroizing in CryptoKey.
...
Small code clenup (after PoolByteArray change).
2020-06-18 15:26:01 +02:00
Hugo Locurcio
24a8d43272
Document Mono-specific classes
...
This fully documents all Mono-specific classes.
2020-06-18 10:32:34 +02:00
Michael Belousov
60fcefba69
return boxed long when marshalling a godot int to mono runtime in dynamic contexts
2020-06-17 17:16:17 -04:00
Rémi Verschelde
d341181f30
Merge pull request #38067 from ThakeeNathees/elif-error-line-fixed
...
GDScript debugger incorrect error line fixed
2020-06-17 19:17:44 +02:00
Thakee Nathees
9325671faa
GDScript debugger incorrect error line fixed
...
if the first line of an else or an elif throws a runtime error the
debugger shows incorrect line number.
2020-06-17 21:24:01 +05:30
Rémi Verschelde
ba0db95909
DocData: Skip language-specific ClassDoc without methods/constants
...
Removes the useless `@C#`, `@NativeScript` and `@VisualScript` entries.
2020-06-17 15:09:07 +02:00
Rémi Verschelde
697897cc61
Merge pull request #39275 from ThakeeNathees/shadowed-warning-for-loop-counter
...
Added shadowed var warning for `for` loop counter
2020-06-16 15:51:31 +02:00
Rémi Verschelde
cb4ca328bf
Merge pull request #39578 from neikeq/visualstudio-support
...
C#: Add Visual Studio support
2020-06-16 09:31:19 +02:00
Rémi Verschelde
6cefb8d368
Merge pull request #39314 from ThakeeNathees/debugger-incorrect-line-fix
...
GDScript debugger stepping to incorrect line fix
2020-06-16 09:26:49 +02:00
Rémi Verschelde
df0779acfd
Merge pull request #39315 from ThakeeNathees/ctrl-click-fix-for-subclasses
...
Fix: Ctrl + Click not working for subclasses
2020-06-16 09:26:15 +02:00
Ignacio Etcheverry
7756351f47
Fix dynamic linking of MSVC Mono with MinGW Godot
2020-06-15 21:29:50 +02:00
Ignacio Etcheverry
54df72dcc6
C#: Add VisualStudio support
2020-06-15 21:29:16 +02:00
Rémi Verschelde
bcef549b3e
Merge pull request #39560 from akien-mga/fix-dds-validation
...
DDS: Fix loading files without DDSD_CAPS or DDSD_PIXELFORMAT
2020-06-15 19:57:17 +02:00
Rémi Verschelde
e720118a75
Merge pull request #39556 from akien-mga/lsp-fix-39548
...
GDScript LSP: Fix wrong error checks added in #39385
2020-06-15 14:27:41 +02:00
Rémi Verschelde
0f21249a2d
DDS: Fix loading files without DDSD_CAPS or DDSD_PIXELFORMAT
...
MSDN says:
> When you write .dds files, you should set the DDSD_CAPS and
> DDSD_PIXELFORMAT flags, and for mipmapped textures you should also
> set the DDSD_MIPMAPCOUNT flag. However, when you read a .dds file,
> you should not rely on the DDSD_CAPS, DDSD_PIXELFORMAT, and
> DDSD_MIPMAPCOUNT flags being set because some writers of such a file
> might not set these flags.
https://docs.microsoft.com/en-us/windows/win32/direct3ddds/dds-header
¯\_(ツ)_/¯
Fixes #39516 .
2020-06-15 13:10:24 +02:00
Rémi Verschelde
b5dfe45efc
Merge pull request #39183 from bruvzg/gdnative_merge_structs
...
GDNative: merge API structs, bump version of merged structs.
2020-06-15 12:02:26 +02:00
Rémi Verschelde
786f4ada35
GDScript LSP: Fix wrong error checks added in #39385
...
Reverts `latest_client_id` back to 0, as I misunderstood how the client
IDs are assigned and, without further testing and debugging, I can't
say if this was a bug or a valid default value.
Similarly, a `latest_client_id` of -1 is no longer raising an error.
Fixes #39548 .
2020-06-15 09:51:56 +02:00
Maganty Rushyendra
e5d93f7a66
Fix RegEx example in class doc and correct typo
...
Fix minor errors to do with `search_all` example in RegEx and
typo in RegExMatch class docs.
2020-06-15 10:25:09 +08:00
bruvzg
c3e615e21b
GDNative: merge API structs, bump version of merged structs.
2020-06-11 18:26:47 +03:00
Maganty Rushyendra
9f10f6779c
Enable Unicode support for RegEx class
...
Build PCRE2 thirdparty library with unicode support. RegEx objects
in Godot can now be used to recognize unicode strings.
2020-06-11 14:49:02 +08:00
Rémi Verschelde
d9f0477dad
Merge pull request #39385 from akien-mga/lsp-crash-notify_client
...
GDScript LSP: Fix crash in notify_client
2020-06-08 13:26:51 +02:00
Rémi Verschelde
581dcadf40
Merge pull request #39370 from Anutrix/remove-usused-assimp-var
...
Removed variables in EditorSceneImporterAssimp::import_scene that became unused.
2020-06-08 13:22:20 +02:00
Rémi Verschelde
f6430eec2c
Merge pull request #39152 from abustin/fbx_mesh_compression_fix_master
...
Respect 'mesh compression' editor import option in Assimp and glTF importers [master]
2020-06-08 13:16:31 +02:00
Rémi Verschelde
e34f33711b
GDScript LSP: Fix crash in notify_client
...
`latest_client_id` now defaults to `-1` (invalid ID) instead of `0`.
Also fix typo in notification `gdscrip_client/changeWorkspace`,
and fix argument names in method binds.
Fixes #39375 .
2020-06-08 11:01:45 +02:00
unknown
365c35f30e
Removed variables and #include in EditorSceneImporterAssimp::import_scene that became unused after the recent commit ec1bf96( #39363 ).
2020-06-08 11:59:17 +05:30
Marcus Elg
29abbccc5f
Fix fbx import assimp error
2020-06-07 15:11:40 +02:00
Rémi Verschelde
39d84fef89
denoise: Restrict build to 64-bit desktop platforms
...
One of OIDN's dependencies only supports x86_64 and aarch64.
For now we also exclude potential future Android tools builds,
but this could be re-evaluated in the future.
Fixes #38759 .
2020-06-06 21:23:46 +02:00
Rémi Verschelde
c7632208fe
Merge pull request #39297 from Faless/webrtc/local_description_doc
...
Fix WebRTCPeerConnection set_local_description doc
2020-06-05 11:39:07 +02:00
Rémi Verschelde
36f6103026
Merge pull request #39301 from Calinou/fix-argument-parameter-confusion
...
Tweak the GDScript error message about passed argument type mismatch
2020-06-05 11:33:53 +02:00
Rémi Verschelde
150ba031de
Merge pull request #39276 from ThakeeNathees/predefined-check-for-loop-counter
...
Added predefined var check for `for` loop counter
2020-06-05 11:01:55 +02:00
Thakee Nathees
95b0a00d2c
Fix: Ctrl + Click not working for subclasses
2020-06-05 12:25:07 +05:30
Thakee Nathees
fc89c5c76d
Debugger stepping to incorrect line fix
...
Fix : #39296
2020-06-05 12:15:37 +05:30
Hugo Locurcio
30053de182
Tweak the GDScript error message about passed argument type mismatch
...
This makes it less confusing.
This closes https://github.com/godotengine/godot-proposals/issues/670 .
2020-06-04 22:31:37 +02:00
Fabio Alessandrelli
39bcbf5690
Fix WebRTCPeerConnection set_local_description doc
...
ice_candidate_created should be emitted after set_local_description no
matter the type of the description (assuming no error is returned of
course).
2020-06-04 21:10:34 +02:00
Rémi Verschelde
6a7b55805b
Merge pull request #39041 from swarnimarun/patch-1
...
Fix crashing of VisualScript due to function change
2020-06-04 11:55:12 +02:00
Thakee Nathees
e153772de2
predefined var check for `for` loop counter
2020-06-04 10:37:22 +05:30
Thakee Nathees
54835a5302
shodowed var warning for `for` loop counter
...
Fix : #39268
2020-06-04 10:28:09 +05:30
Rémi Verschelde
7c74312217
SCons: Validate dependencies for linked multimedia modules
...
This is still a bit hacky and eventually we should rework the way we handle
optional dependencies (especially with regard to builtin/system libs), but
it's a simple first step.
Fixes #39219 .
2020-06-03 11:00:10 +02:00
Aaron Franke
25c978730b
Rename String bin_to_int64 to bin_to_int
...
And also change String static to_int(const char *) to return int64_t
2020-06-03 00:04:15 -04:00
Aaron Franke
e5ae89775a
Remove 32-bit String hex_to_int method
2020-06-03 00:03:34 -04:00
Aaron Franke
bb8aa107fd
Remove 32-bit String to_int method
2020-06-03 00:03:34 -04:00
Aaron Franke
ba27deef06
Refactor physics force and impulse code
2020-06-02 23:18:59 -04:00
NutmegStudio
a77f633161
Fixes building mono release templates
2020-05-30 12:21:24 +07:00
Alex Bustin
9175af6f13
Respect 'mesh compression' editor import option in Assimp (ie. FBX) and glTF importers
2020-05-29 13:06:39 -07:00
George Marques
0f1da72492
Actually set GDScript static reference
2020-05-29 11:01:48 -03:00