Rémi Verschelde
3564547208
Merge pull request #32750 from Faless/js/fix_ws_refactor
...
Fix HTML5 build after 67a4c30
.
2019-10-21 22:26:33 +02:00
Rémi Verschelde
f5dd4d574f
Merge pull request #32863 from JFonS/navmesh_from_group
...
Add option to create navmesh from objects in group
2019-10-21 16:02:38 +02:00
George Marques
05465b9693
GDScript: Add _ prefix on class name in type compatibility check
...
This makes sure that the classes internally represented with an
underscore (_) prefix, such as singletons, are still properly checked
for inheritance in the ClassDB.
2019-10-19 13:45:52 -03:00
George Marques
bb20e420af
Fix wrong counting of function argument usage
...
There's no need to subtract 1 from the assignment usages because it's
not incremented anywhere else.
Also put back the assignment with operators because they should not
count as usage if the argument is on the left side.
2019-10-19 10:59:57 -03:00
Marcel Admiraal
5b96233c34
Remove duplicate valid value check in gdscript_tokenizer.cpp.
2019-10-18 11:58:34 +02:00
Nehluxhes
28c274bc27
Disable gridmap selection actions when nothing is selected
2019-10-18 01:45:49 +02:00
EbbDrop
f70fd781fc
Fix autocompletion for singletons
2019-10-17 10:48:13 +02:00
Fabio Alessandrelli
2bb3e358e0
Trim protocol field from spaces in WS classes.
2019-10-16 16:16:27 +02:00
jfons
298bd3f88a
Add option to create navmesh from objects in group
...
Adds a new NavigationMesh property to select which objects will be taken
into account for the generation.
By default it will use all the NavigationMeshInstance children to keep
compatibility. The new modes allow to build the NavigationMesh from
all the nodes belonging to a specific group, and optionally include
their children too.
2019-10-16 12:01:10 +02:00
Fabio Alessandrelli
d75e0de729
Fix HTML5 build after 67a4c30
.
...
I messed up a rebase and a commit was partly skipped
2019-10-15 14:15:02 +02:00
Rémi Verschelde
a1033aea51
Merge pull request #32830 from timoschwarzer/remove-redundant-compiler-directives
...
Remove redundant compiler directives
2019-10-15 09:57:46 +02:00
Rémi Verschelde
44293db446
Merge pull request #32820 from qarmin/small_fixes_static_analyzer
...
Small fixes to redundand code, copy paste bugs
2019-10-15 09:54:58 +02:00
Aaron Franke
218f38c7ec
Expose is_equal_approx and restore == to be exact again
...
This commit changes behavior for GDScript and C#.
Also did some organizing of the order to logically group related methods, mostly for Rect2 and AABB.
2019-10-14 16:48:59 -04:00
Aaron Franke
aeb7075628
Replace vector == and is_zero_approx(distance) with is_equal_approx
...
Internal changes only
2019-10-14 16:47:42 -04:00
Aaron Franke
86922ff70b
Make is_equal_approx separate for structures
...
This commit adds exposed behavior for C#
2019-10-14 16:46:54 -04:00
Timo Schwarzer
c69ae35d4d
Remove redundant compiler directives
...
Closes #32817
2019-10-14 16:23:13 +02:00
qarmin
616ab4fac2
Small fixes to redundand code, copy paste bugs
2019-10-14 11:40:55 +02:00
Marcel Admiraal
0539023fd4
Call activate function when setting RigidBodyBullet activation state.
2019-10-14 10:04:44 +02:00
Ignacio Etcheverry
8a0c0371d4
C#: Fix regression from #32732 caused a crash on domain reload
2019-10-12 21:27:56 +02:00
Rémi Verschelde
26bbb26738
Merge pull request #32641 from nekomatata/change-collision-layer
...
Fixed RigidBody stuttering when changing collision layer/mask
2019-10-12 14:07:55 +02:00
Rémi Verschelde
3cc94b2c0b
Mono: Fix template build after #32732
2019-10-11 15:17:36 +02:00
Rémi Verschelde
e49b40a974
Merge pull request #32591 from HaSa1002/lsp-fatal-crash
...
fix #32588 out of range crash in language server
2019-10-11 15:16:10 +02:00
HaSa1002
d9dfc4496c
fix #32588 crash in language server
2019-10-11 14:43:39 +02:00
Rémi Verschelde
d655a7c097
doc: Sync classref with current source
2019-10-11 08:45:03 +02:00
Rémi Verschelde
be446038bb
Merge pull request #32683 from Faless/ws/improve_pr
...
WebSocket improvements, SSL server, custom headers.
2019-10-11 08:28:47 +02:00
Ignacio Etcheverry
8c438a2197
C#: Fix detection of outdated release Godot API assemblies
2019-10-11 01:46:06 +02:00
Hugo Locurcio
7f49c5dd42
Decrease polling frequency to 20 Hz in the GDScript language server
...
This decreases the language server's CPU usage.
2019-10-10 16:42:05 +02:00
Marcel Admiraal
a8836ba28d
Remove dependency on the editor directory being in the build's include path.
...
- Add or remove the necessary subdirectorires to the includes to remove
dependency on the editor directory being in the build's include path.
- Ensure includes in modified files conform to style guideline.
- Remove editor from the build include path.
2019-10-10 08:57:00 +02:00
Rémi Verschelde
781e4f8673
Merge pull request #32673 from aaronfranke/vs-inheritance
...
Make VisualScript check inheritance for port info
2019-10-09 17:52:51 +02:00
Rémi Verschelde
08725bdc28
Merge pull request #32684 from Faless/crypto/self_signed_cert_key_check
...
Fix crash when passing invalid key to Crypto.
2019-10-09 16:52:20 +02:00
Fabio Alessandrelli
e9abcbac3b
Fix crash when passing invalid key to Crypto.
...
In generate_self_signed_certificate
2019-10-09 15:59:17 +02:00
Fabio Alessandrelli
2c557787c1
Document all this new improvements.
2019-10-09 13:53:04 +02:00
Fabio Alessandrelli
67a4c3033b
Custom headers support in WebSocketClient.
...
This commit also converts all PoolVector<String> parameters to
`const Vector<String>` in both WebSocketServer and WebSocketClient.
2019-10-09 13:53:04 +02:00
Fabio Alessandrelli
c723a8b6aa
Implement WebSocketServer SSL support.
2019-10-09 13:53:04 +02:00
Fabio Alessandrelli
33644d7118
WebSocketClient can now use custom SSL certificate
...
Via the `trusted_ssl_certificate` property.
2019-10-09 13:53:04 +02:00
Fabio Alessandrelli
025cc04d9e
Re-implement WebSocket get host/port.
...
Was lost during library switch
2019-10-09 13:53:04 +02:00
Rémi Verschelde
55ef6a0f25
Merge pull request #32671 from GodotExplorer/lsp-send-godot-class-tree
...
lsp: Send godot class tree to clients
2019-10-09 08:35:05 +02:00
Aaron Franke
13779b70e0
Make VisualScript check inheritance for port info
2019-10-09 01:47:05 -04:00
Geequlim
1ab34bc3c2
lsp: Send godot class tree to clients
2019-10-09 13:40:50 +08:00
Aaron Franke
643874f8ca
[Mono] Change Plane intersect methods to return nullable Vector3
2019-10-08 22:47:22 -04:00
Geequlim
2b5b5874a2
lsp: Fix signature of void returned functions in native methods
2019-10-09 10:01:48 +08:00
PouleyKetchoupp
655694b394
Fixed RigidBody stuttering when changing collision layer/mask
...
- Changing collision layer/mask now only updates the broadphase proxy to avoid the velocity to be reset each time (also avoids unnecessary computations)
- No rigid body update at all when the collision layer/mask stays the same
- Same changes for Area for optimization purpose
Fixes #32577
2019-10-08 14:40:24 +02:00
Hugo Locurcio
9499eef4da
Document the GDNative singleton method prefix being changeable
...
This also tweaks error messages to remove hardcoded references to
the default `godot_` prefix.
2019-10-07 15:59:57 +02:00
sheepandshepherd
04dbcd7f5a
Document GDNativeLibrary
2019-10-06 17:38:51 +02:00
noname1477
3659e3db9d
Fixed some obvious typos in error messages
...
In some errors, there were closing quotation marks but no opening (e. g. "Unable to iterate on object of type " +
Variant::get_type_name(container->get_type()) + "'."
2019-10-05 15:33:30 +02:00
Rémi Verschelde
872af14e6f
Merge pull request #32544 from GodotExplorer/gdscript-lsp-show_native_symbol
...
Improvements for gdscript-lsp server
2019-10-05 11:00:51 +02:00
geequlim
9f27a4838c
Format documentations to markdown only when needed
2019-10-05 14:09:38 +08:00
geequlim
e199488bc7
Add custom api textDocument/nativeSymbol
to allow inspect native symbols from LSP clients
2019-10-04 23:00:33 +08:00
geequlim
39813939fc
Fix enumeration value of SymbolKind.
...
Add custom notification 'gdscript/show_native_symbol' to show native symbols in clients.
Close client connections when stop gdscript-lsp
2019-10-04 19:36:40 +08:00
Rémi Verschelde
f3f2fdfbab
Mono: Fix detection of MsBuild from Visual Studio
...
This was a wrong check as an exit code of 0 means success,
not failure. It used to be fine as blocking mode always returned
-2, but this was changed in #32033 to return the exit code.
Fixes #32424 .
2019-10-03 14:13:41 +02:00
Rémi Verschelde
d66cce0215
Merge pull request #32517 from GodotExplorer/gdscript-lsp
...
GDScript LSP server improvement
2019-10-03 13:40:09 +02:00
geequlim
6a8303f82f
Implement DocumentLink of GDScript LSP Server
2019-10-03 18:51:03 +08:00
Rémi Verschelde
c9781df316
Merge pull request #32403 from yeonghoey/enforce4space
...
Print errors when tab indent found in [codeblock]
2019-10-03 08:41:21 +02:00
geequlim
d1a6964d39
Fix codeblock formating to markdown
2019-10-03 14:22:26 +08:00
Rémi Verschelde
42fca4ba27
Merge pull request #32485 from Calinou/macros-add-semicolons
...
Add missing semicolons to `BIND_ENUM_CONSTANT` macro uses
2019-10-02 11:53:19 +02:00
Hugo Locurcio
aba157865a
Add missing semicolons to BIND_ENUM_CONSTANT
macro uses
2019-10-02 09:57:12 +02:00
Hugo Locurcio
621bafb948
Tweak the default function definition color when using a dark theme
...
This decreases its saturation to make it less visually jarring.
The code was also refactored for clarity and to avoid repetition.
2019-10-02 09:36:47 +02:00
Yeongho Kim
d4a55fb639
Print errors when tab indent found in [codeblock]
2019-10-01 23:39:45 +09:00
Rémi Verschelde
d66d970fdb
Merge pull request #32172 from WindyDarian/gdscript_allow_null_weakref
...
Allow weakref(null) in gdscript
2019-10-01 10:35:37 +02:00
Chaosus
a9d981d26c
Fix theme in visual script dialogs (at startup)
2019-09-30 10:51:05 +03:00
Rémi Verschelde
cd63cc7df1
Merge pull request #32402 from YeldhamDev/fix_vs_add_function
...
Fix VS editor's "Create Function" dialog
2019-09-29 21:36:57 +02:00
Rémi Verschelde
784595fda1
Merge pull request #32430 from swarnimarun/vs-decomp
...
Deconstruct node for Visualscript
2019-09-29 21:27:21 +02:00
Swarnim Arun
cf4d476d6e
Deconstruct node for Visualscript
...
Adds deconstruct nodes for the built-in types and adds default text to function rename_input_box for the visualscript.
2019-09-29 23:00:08 +05:30
Michael Alexsander Silva Dias
13e752190f
Fix VS editor's "Create Function" dialog
2019-09-28 11:57:13 -03:00
Bojidar Marinov
db89fef8fa
Highlight singletons and class_names in GDScript
...
Also, implement a small QoL change for auto-typed variables.
Closes #5739
2019-09-28 13:13:18 +03:00
Rémi Verschelde
e636563d5d
Merge pull request #32398 from YeldhamDev/cleanup_vs_editor_left
...
Cleanup VS editor's left menu
2019-09-28 07:35:46 +02:00
Rémi Verschelde
26e5e3e507
Merge pull request #32399 from swarnimarun/vs-patch01
...
Fix edit function button
2019-09-28 07:33:38 +02:00
Ignacio Roldán Etcheverry
763a4d8402
Merge pull request #32401 from neikeq/Kisaama!
...
Mono: Don't compare API hashes on release builds
2019-09-28 03:31:37 +02:00
Michael Alexsander Silva Dias
c9328aa068
Cleanup VS editor's left menu
2019-09-27 21:20:43 -03:00
Ignacio Etcheverry
1509890dbc
Mono: Don't compare API hashes on release builds
...
API hashes cannot be calculated on release builds, as bindings information is lacking. Therefore, we should not be comparing it with the generated glue hash as they will never match.
2019-09-28 01:07:57 +02:00
Swarnim Arun
4967e4a913
Fix Edit function button
2019-09-28 02:16:11 +05:30
Rémi Verschelde
d0e45e78a4
doc: Sync classref with current source
...
And various fixes to bindings, hyperlinks and an uninitialized variable.
2019-09-27 22:16:42 +02:00
Rémi Verschelde
5cb926a001
Merge pull request #29681 from swarnimarun/vs-graph-unification
...
Visual Script Graph Unification
2019-09-27 15:54:37 +02:00
Rémi Verschelde
e067a54988
Merge pull request #32353 from neikeq/yamero
...
Mono: Improve API assembly load error message on exported games
2019-09-26 07:31:03 +02:00
Rémi Verschelde
0a10e07124
Merge pull request #32352 from neikeq/issue-32237
...
Mono: Don't use project settings for debugger agent on exported games
2019-09-26 07:29:25 +02:00
Ignacio Etcheverry
2325fb11a8
Mono: Improve API assembly load error message on exported games
2019-09-25 22:32:39 +02:00
Swarnim Arun
59738e3fa3
Visualscript editor graph unification & refactoring
...
Removes the need to have separate graphs per function for the VisualScript Nodes, and refactoring UI and other improvements such as fuzzy search, right click search boxes and in-graph editable nodes
2019-09-26 01:53:58 +05:30
Ignacio Etcheverry
5ff4e0516b
Mono: Don't use project settings for debugger agent on exported games
2019-09-25 22:03:24 +02:00
Rémi Verschelde
9b8c355eab
Merge pull request #32199 from starryalley/fix_seek
...
Fix VideostreamGDNative seek
2019-09-25 13:01:50 +02:00
Rémi Verschelde
dec10dd776
Merge pull request #32051 from qarmin/some_error_explanation
...
Added some obvious errors explanations
2019-09-25 11:51:54 +02:00
qarmin
17732fe698
Added some obvious errors explanations
2019-09-25 10:28:50 +02:00
George Marques
64d09b7de5
GDScript: Fix type resolution not being return in some cases
...
Some situations caused the parser node type to not being update when
trying to resolve the type, returning invalid data and breaking the
parsing when it shouldn't. This patch fix the behavior.
2019-09-24 18:05:20 -03:00
Rémi Verschelde
e95e847c01
Merge pull request #32307 from neikeq/mesege
...
Fix wrong defval in EditorSpatialGizmo.add_mesh method bind
2019-09-24 15:44:37 +02:00
Ignacio Etcheverry
c4fa027614
Improve C# bindings generator errors for default param values
2019-09-24 15:09:54 +02:00
Rémi Verschelde
a7ac8ec876
doc: Fix parsing of self-closing XML tags
...
Follow-up to #31925 , `<member />` tags just before `</members>` would cause
a parsing issue, and we'd never notice that we're no longer parsing members.
Also added space before closing `/>`.
2019-09-24 13:34:05 +02:00
Rémi Verschelde
2f52d73c21
Merge pull request #31925 from bojidar-bg/31855-overriden-properties-docs
...
Add overriden properties to the documentation
2019-09-24 11:53:43 +02:00
Rémi Verschelde
4f294b958f
doc: Sync classref with current source
...
Fix a few missing bindings or unspecified argument names and default values.
2019-09-24 11:52:06 +02:00
Rémi Verschelde
cf540f853d
Merge pull request #31974 from YeldhamDev/tilegrid_map_fixes
...
Small fixes for the Tile/GridMap editors
2019-09-24 11:06:34 +02:00
Rémi Verschelde
0ea54eeb06
Merge pull request #30497 from Calinou/editor-gizmos-change-notify
...
Notify changes in properties that can be edited by 3D gizmos
2019-09-23 22:22:49 +02:00
Rémi Verschelde
2f228cdda4
Merge pull request #32278 from Calinou/lsp-fix-double-assignment
...
Fix `line` being assigned to twice in the GDScript language server
2019-09-23 18:50:12 +02:00
Hugo Locurcio
c1fcb22677
Fix line
being assigned to twice in the GDScript language server
...
This closes #32090 .
2019-09-23 15:27:30 +02:00
Rémi Verschelde
2114898cb5
Merge pull request #31172 from creikey/add-array-slicing
...
Add array slice method
2019-09-23 15:26:27 +02:00
Rémi Verschelde
159470df08
Merge pull request #32275 from godotengine/skin_support
...
Added skin support and simplified APIs to override bone position + glTF 2.0 import fixes
2019-09-23 15:02:15 +02:00
Rémi Verschelde
30e16fff57
Merge pull request #32198 from starryalley/fix_audio_buffer
...
Fix VideostreamGDNative audio buffer handling
2019-09-23 15:01:43 +02:00
Harley Laue
0fbd00f656
Allow building cvtt with system squish
...
It looks like the SCsub for cvtt was copied from squish and it left
the `if env['build_squish']:` line intact. This means that using
`scons builtin_squish=no modules/cvtt` would fail and overal builds
would also fail because they'd fail to find `ConvectionKernels.h`
2019-09-23 02:59:59 -07:00
Rémi Verschelde
393a0152ea
Merge pull request #32055 from qarmin/some_code_fixes
...
Changed some code found by Clang Tidy and Coverity
2019-09-23 10:00:31 +02:00
Rémi Verschelde
72d87cfbce
Merge pull request #30852 from swarnimarun/vs_tools_script
...
Tool Mode for Visualscript
2019-09-22 21:21:59 +02:00
qarmin
50be65bf43
Changed some code found by Clang Tidy and Coverity
2019-09-22 18:45:08 +02:00
Swarnim Arun
097f47f064
Tool Mode for Visualscript
...
Add the ability to VisualScript to function in Tool mode aka the Editor itself similar to GDScript or Mono
2019-09-21 18:42:27 +05:30
Rémi Verschelde
25a1bfed5c
Merge pull request #32210 from Calinou/editor-log-distinguish-messages
...
Distinguish editor-originating messages in the editor log
2019-09-20 20:22:43 +02:00
Rémi Verschelde
a34b77e271
Merge pull request #32095 from KoBeWi/silly_user
...
Properly remove GridMap node from editor on undo
2019-09-20 17:52:39 +02:00
Rémi Verschelde
9c116f4f1d
Merge pull request #32223 from neikeq/cs_glue_version_fix
...
C#: Make sure cs_glue_version is present when building export templates
2019-09-20 17:46:34 +02:00
Ignacio Etcheverry
95c685143a
C#: Make sure cs_glue_version is present when building export templates
2019-09-20 17:41:20 +02:00
Rémi Verschelde
fdc2463a1b
Merge pull request #32150 from luzpaz/typos
...
Fix misc. source comment typos
2019-09-20 17:09:05 +02:00
Hugo Locurcio
ba566dff2e
Distinguish editor-originating messages in the editor log
...
This fades out messages originating from the editor to make messages
printed by the project stand out more.
This also tweaks wording in some editor messages for consistency.
2019-09-20 01:59:02 +02:00
luz.paz
91ecd7b6a6
Fix misc. source comment typos
...
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-19 14:36:52 -04:00
Rémi Verschelde
c3d5c96494
Merge pull request #31921 from bojidar-bg/28978-uninitialized-array-value
...
Fix uninitialized arrays and dictionaries retaining value
2019-09-19 20:31:12 +02:00
Rémi Verschelde
f9db6ad8c5
Merge pull request #31919 from m4gr3d/use_aar_for_custom_build
...
Leverage Android archive (AAR) file for Godot custom build
2019-09-19 20:22:09 +02:00
Rémi Verschelde
291f408fcf
Merge pull request #32100 from SaracenOne/gdscript_parent_const_types
...
Fix const deceleration for inherited scripts above immediate parent
2019-09-19 20:11:37 +02:00
Rémi Verschelde
fc9985b770
Merge pull request #31961 from YeldhamDev/info_messages
...
Add informational messages to various editors
2019-09-19 20:06:44 +02:00
Rémi Verschelde
b5f14cc6f7
Merge pull request #31934 from mitchcurtis/28187
...
Produce an error when a class has the same name as a Singleton
2019-09-19 20:05:41 +02:00
Rémi Verschelde
318ac6ee13
Merge pull request #31142 from mitchcurtis/assert-message
...
GDScript: add an optional message parameter to assert()
2019-09-19 19:56:05 +02:00
Rémi Verschelde
996e30ee94
Merge pull request #32019 from RevoluPowered/feature/implement-pbr-materials
...
FBX Importer - Maya material PBR path is read properly now
2019-09-19 19:02:27 +02:00
RevoluPowered
269ba00fd3
Implemented maya stingray support
2019-09-19 16:45:33 +01:00
RevoluPowered
efd6f6dbad
Implemented basic texture mapping for PBR material definitions
...
This reads materials properly from Maya and expands on existing functionality to make this work properly.
aiTextureType_SHININESS no longer used as not appropriate for PBR texture as it is legacy.
This fix will be also present in assimp soon.
2019-09-19 16:45:33 +01:00
RevoluPowered
ff8864e020
Fixed blend shapes disappearing
...
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2019-09-19 16:34:14 +01:00
Mark Kuo
8d2efe75ae
Fix VideostreamGDNative audio buffer handling
...
Fix the audio buffer start when there are previous remains
2019-09-19 15:28:33 +10:00
Mark Kuo
ec9c5171d2
Fix VideostreamGDNative seek
...
When seeking video, make sure audio buffers are reset and video time
is updated.
2019-09-19 15:27:31 +10:00
Juan Linietsky
d81ddaf33e
Added skin support and simplified APIs to override bone position.
2019-09-18 19:46:32 -03:00
Windy Darian
628f467605
Allow weakref(null) in gdscript
...
Tiny addition I personally found useful - this allows us to `var my_ref := weakref(null)` for nullable weak ref (with type hint!). When trying to test if `my_ref` is holding valid reference, we can just `if my_ref.get_ref():` instead of `if my_ref and my_ref.get_ref():` everywhere.
2019-09-16 23:15:34 -04:00
Chaosus89
46bb523db7
[Mono] Corrected rectangle intersection
2019-09-16 09:49:04 +03:00
Cameron Reikes
757c509437
Add array slice method
2019-09-14 13:08:28 -07:00
Tomasz Chabora
6290616c0a
Properly remove GridMap node from editor on undo
2019-09-11 23:56:11 +02:00
Mitch Curtis
aa8e3e7b0f
GDScript: add an optional message parameter to assert()
...
Before this patch, assert() only took the condition to assert on:
assert(item_data)
Now, it can optionally take a string that will be printed upon failure:
assert(item_data, item_name + " has no item data in ItemDatabase")
This makes it easier to immediately see what the issue is by being
able to write informative failure messages.
Thanks to @wiped1 for sharing their patch, upon which this is based.
Closes #17082
2019-09-11 15:37:11 +02:00
Saracen
cf00f35a8e
Allow for constant deceleration to be detected inherited scripts above the immediate parent.
2019-09-11 06:19:20 +01:00
Rémi Verschelde
24e1039eb6
Merge pull request #32045 from neikeq/fix-cannot-create-mono-log-file
...
Mono: Fix unable to create log file due to str_format bug
2019-09-08 22:31:52 +02:00
Ignacio Etcheverry
3dcd7e54f4
Mono: Fix unable to create log file due to str_format bug
2019-09-08 19:40:17 +02:00
Ignacio Roldán Etcheverry
da2af72d73
Merge pull request #32022 from neikeq/fix-mono-export-windows-backslash
...
Mono: Fix PCK assembly paths when exporting from Windows
2019-09-07 21:39:27 +02:00
Ignacio Etcheverry
93897fb884
Fix missing method for internal_MonoWindowsInstallRoot
2019-09-07 02:31:01 +02:00
Ignacio Etcheverry
e439581198
Mono: Fix PCK assembly paths when exporting from Windows
...
Assembly paths were written to PCK files with backslash as path separator and PackedData only supports forward slash.
This would make exported games unable to find the assemblies.
2019-09-07 02:19:25 +02:00
Mitch Curtis
8f5ffeeacc
Produce an error when a class has the same name as a Singleton
...
If you somehow end up with a Singleton.gd that looks like this:
extends Node
class_name Singleton
func foo():
pass
You will get an error when using it in another file:
extends Node2D
func _init():
# Parser Error: Non-static function "foo" can only be called from an instance.
Singleton.foo()
This error is confusing. This patch ensures that an error on the class_name line will be produced:
Parse Error: The class "Singleton" conflicts with the AutoLoad singleton of the same name, and is therefore redundant. Remove the class_name declaration to fix this error.
Fixes #28187 .
2019-09-06 17:12:43 +02:00
fhuya
7fabfd402f
Split the Android platform java logic into an Android library module (lib
) and an application module (app
).
...
The application module `app` serves double duties of providing the prebuilt Godot binaries ('android_debug.apk', 'android_release.apk') and the Godot custom build template ('android_source.zip').
2019-09-04 16:20:22 -07:00
Michael Alexsander Silva Dias
fd0dace4b5
Small fixes for the Tile/GridMap editors
2019-09-04 16:54:05 -03:00
Michael Alexsander Silva Dias
5f3a55acb7
Add informational messages to various editors
2019-09-04 12:37:11 -03:00
Bojidar Marinov
b397bcf4a1
Run doctool after overridden properties changes
2019-09-04 15:26:08 +03:00
Rémi Verschelde
75cbcb596a
Merge pull request #30982 from iwek7/feature/skip_breakpoints
...
Adds skip-breakpoints feature
2019-09-04 01:31:08 +02:00
Rémi Verschelde
9bd35a5a4b
Merge pull request #31908 from 64epicks/master
...
Implemented `ord` function in VisualScript
2019-09-04 01:19:05 +02:00
Rémi Verschelde
d2900347bf
Merge pull request #31931 from fire/assimp_map_mode
...
Assimp map mode is not initialized before use.
2019-09-03 23:31:42 +02:00
iwek7
617797c47c
Adds skip-breakpoints feature
2019-09-03 20:49:09 +02:00
K. S. Ernest (iFire) Lee
1094522d76
Assimp map mode is not initialized before use.
2019-09-03 10:11:03 -07:00
64epicks
e430f8ca61
Implemented ord
function in VisualScript
2019-09-03 17:06:11 +02:00
MrCdK
9e9c16c1e5
Try and show all the properties added with _get_property_list() when triggering completion.
...
Closes https://github.com/godotengine/godot/issues/25097
2019-09-03 14:27:27 +02:00
Rémi Verschelde
40a9cc66a9
Merge pull request #31871 from aaronfranke/equal-approx-inf
...
Check for exact equality before approximate equality
2019-09-03 12:00:56 +02:00
Bojidar Marinov
3ca7b4ee45
Fix uninitialized arrays and dictionaries retaining value
...
Fixes #28978
2019-09-03 10:39:04 +03:00
Rémi Verschelde
10b040ab20
Merge pull request #31893 from bojidar-bg/25081-gdscript-index-self
...
Re-allow indexing on objects and other non-builtin types
2019-09-02 20:25:14 +02:00
Rémi Verschelde
85955c5f25
Merge pull request #31843 from 2shady4u/parserCtrlClick
...
Solves ctrl+click on functions by ignoring the cursor
2019-09-02 19:56:35 +02:00
Bojidar Marinov
e3d05fa42d
Re-allow indexing on "self" and object types in GDScript
...
Fixes #25081
2019-09-02 20:18:15 +03:00
Rémi Verschelde
eb38bc6c0a
gdscript: Fix build after #24925
...
The PR did not use the ScriptCodeCompletionOption system introduced
later on, and somehow this did not generate a merge conflict even
though neighboring code was changed.
2019-09-02 16:31:43 +02:00
Rémi Verschelde
877912b23c
Merge pull request #24925 from Mr-Slurpy/typed-autoload
...
Added autoloads as a potential type.
2019-09-02 16:05:05 +02:00
Rémi Verschelde
d767edb9b3
Merge pull request #21443 from deepmax/ord_function
...
Add ord() function to return Unicode code point of a string of length one
2019-09-02 15:28:15 +02:00