Commit Graph

25978 Commits

Author SHA1 Message Date
e818b51f32 Only emit the JavaScript support code for Web when building for HTML5
Excluding other unused environments like Node.js makes the support code
about 4 KB smaller.
2020-01-31 12:33:16 +01:00
91b0be18dc Merge pull request #35421 from williamd1k0/improve-top-animation-menu
Use an icon in the top Animation Key menu
2020-01-22 21:21:15 +01:00
41feb410a6 Merge pull request #35338 from rburing/fix_find_focus_neighbor
Fix Control::_window_find_focus_neighbour
2020-01-22 21:16:35 +01:00
cb3fcba99f Use an icon in the top Animation Key menu 2020-01-22 17:06:40 -03:00
36e11d1c34 Merge pull request #35412 from DaividFrank/check_overriding_self
Disabled re-assigning 'self'
2020-01-22 20:47:52 +01:00
2aa866fa70 Merge pull request #35440 from ericrybick/27104-input-buggy-linux
Remove buggy check if key was already released for accumulated input on linux
2020-01-22 19:19:02 +01:00
40e41e2254 Merge pull request #35435 from bojidar-bg/34154-project-setting-properties
Get real default values for project settings in documentation
2020-01-22 18:26:32 +01:00
badabdf8b9 GDScript: Added checks in assign operations to disable re-assigning 'self' 2020-01-22 19:00:54 +02:00
7ffc3ec6be Merge pull request #35437 from akien-mga/gles3-texture-mag-filter-wrong-value
GLES3: Fix invalid value for GL_TEXTURE_MAG_FILTER parameter
2020-01-22 17:52:24 +01:00
67261b1e87 Remove buggy check if key was already released for accumulated input
Fixes #27104
2020-01-22 17:03:33 +01:00
00284a75e8 GLES3: Fix invalid value for GL_TEXTURE_MAG_FILTER parameter
`GL_LINEAR_MIPMAP_LINEAR` can be used for `GL_TEXTURE_MIN_FILTER`,
but not for `GL_TEXTURE_MAG_FILTER`.

Cf. https://www.khronos.org/opengl/wiki/GLAPI/glTexParameter

Fixes #35436.
2020-01-22 15:18:56 +01:00
387ee7d763 Get real default values for project settings in documentation
Also, ignore custom project settings and values for input/ entries

Fixes #34154
2020-01-22 15:57:10 +02:00
409de53e72 Merge pull request #35423 from Faless/fix/object_emit_free
Make sure we know when deleting an emitting object
2020-01-22 14:52:54 +01:00
41f59ecfca Make sure we know when deleting an emitting object
We used a lock signals in the signal_map while emitting, because it was
not allowed to disconnect them while being emitted.
We used that lock to check if we where deleting an object during signal
emission.
Now that we allow to disconnect signals while they are being emitted, if
an object first disconnects, then gets deleted we can't know that a
signal was being emitted during the destructor.

This commit adds a new `_emitting` boolean member to Object to be set
while emitting and checked in the destructor, while removing the old
signal lock which is now unused.
2020-01-22 14:08:16 +01:00
829d21f1c2 Merge pull request #35352 from Feniks-Gaming/BetterDictionary
Improve dictionary description
2020-01-22 13:20:41 +01:00
ff7e7bd260 Thread: Fix typo in destructor error message 2020-01-22 11:17:20 +01:00
7e76a67d1e Merge pull request #35430 from BastiaanOlij/fix_vr_joystick_id
Incorrect joystick id was returned on an inactive ARVR controller
2020-01-22 08:48:28 +01:00
5cf9f4faeb Incorrect joystick id was returned on an inactive ARVR controller 2020-01-22 18:27:32 +11:00
eefeff23e9 Merge pull request #35404 from Calinou/update-changelog-3.2
Update CHANGELOG.md for Godot 3.2
2020-01-22 08:26:10 +01:00
de543d18e8 Merge pull request #35389 from clayjohn/DOCS-materials
Finish up docs for materials
2020-01-22 07:41:33 +01:00
2ee15f650e Merge pull request #35425 from timothyqiu/assetlib-import-leak
Fixes leak when importing zip in AssetLib
2020-01-22 07:40:50 +01:00
7c632968b2 Merge pull request #35419 from Calinou/project-manager-loading-placeholder
Use a loading placeholder for project icons in the project manager
2020-01-22 07:29:21 +01:00
f2ece82480 Finish up docs for materials 2020-01-21 19:28:32 -08:00
a7368a519e Fixes leak when importing zip in AssetLib 2020-01-22 09:34:18 +08:00
56aae0e8bc Use a loading placeholder for project icons in the project manager
Now that projects are loaded asynchronously, some projects in the
list may be displayed before their icon is done loading. This is
especially common on slower hardware.

In such cases, this makes the project manager display a loading
placeholder instead of the default project icon.
2020-01-21 22:56:19 +01:00
5127afa812 Merge pull request #35413 from akien-mga/if-0-means-couperet
Remove unused #if 0'ed code
2020-01-21 22:27:50 +01:00
6190690757 Merge pull request #35411 from akien-mga/greater-font-sizes-for-everyone
Allow greater values for DynamicFont size property
2020-01-21 21:45:52 +01:00
4faaf6089a Remove unused #if 0'ed code 2020-01-21 21:41:54 +01:00
79aaafc686 Merge pull request #35408 from Faless/ws/fix_packet_count
Fix MultiplayerAPI crash when peer implementation misbehave.
2020-01-21 21:06:11 +01:00
0be64da008 Allow greater values for DynamicFont size property
See https://github.com/godotengine/godot/issues/22581#issuecomment-576836691.

Not using `or_greater` as there *is* a max size value that the current
implementation can accept. If using e.g. size 6000 with
FiraSans-Regular.ttf, errors are printed due to failing asserts on a
glyph size that should be within 4096x4096 px.
2020-01-21 20:59:16 +01:00
50f1b035b8 Fix MultiplayerAPI crash when peer impl misbehave.
Also fix WebSocketMultiplayer::get_available_packet_count() return value
when peer is not configured to use the multiplayer API.
2020-01-21 20:46:32 +01:00
24960e2254 Merge pull request #35407 from neikeq/issue-27285
Add dummy preprocessor for the C# script class parser
2020-01-21 20:39:23 +01:00
d53c15b12c Make script class parser errors to not abort the build
As our script class parser is error prone, we should not impede the build from continuing because of a parsing error.
This should be reverted in the future once we switch to Roslyn.
2020-01-21 20:07:26 +01:00
378fc592b1 Add dummy preprocessor for the C# script class parser
No attempts are made at conditional compilation. The main if branch is always assumed to be true.
2020-01-21 19:57:38 +01:00
a60d70bc9d Update CHANGELOG.md for Godot 3.2 2020-01-21 19:17:01 +01:00
d4ac0ca153 Merge pull request #35393 from YeldhamDev/plugin_script_syntax
Make script made via plugin creation obey syntax settings
2020-01-21 13:21:01 +01:00
423f15262f Merge pull request #35399 from ericrybick/35367-signals-dock-size-jumps-when-selecting-nodes
Clip text in NodeDock toolbuttons to prevent dock size changes
2020-01-21 11:18:35 +01:00
371b5a450a Clip text in NodeDock toolbuttons to prevent dock size changes
Fixes #35367
2020-01-21 10:23:09 +01:00
4bc98c105d Merge pull request #35394 from ericrybick/fix-assetlib-thumbnail-overlay-
Fix asset library video play overlay not being centered on the thumbnail
2020-01-21 08:20:35 +01:00
a948782110 Merge pull request #35385 from akien-mga/bullet-prevent-div-by-zero
Bullet: Prevent potential division by zero
2020-01-21 08:13:53 +01:00
77f04ec52a Merge pull request #35390 from timothyqiu/find-in-files-leak
Fixes leak in Find in Files utility
2020-01-21 08:09:07 +01:00
99346e9654 Fix asset library video play overlay not being centered on the thumbnail 2020-01-21 08:04:32 +01:00
3a0dc52127 Make script made via plugin creation obey syntax settings 2020-01-21 02:05:56 -03:00
3042b4f4cb Fixes leak in Find in Files utility 2020-01-21 08:47:59 +08:00
41b21dee01 Bullet: Prevent potential division by zero
Fixes #33715.
2020-01-21 00:20:57 +01:00
1508cc4051 Merge pull request #35363 from ericrybick/33106-importing-textureAtlas-cuts-out-the-sprites
Fix AtlasPacker ignoring semi-transparent pixels
2020-01-21 00:13:12 +01:00
439e0027ec Fix AtlasPacker ignoring semi-transparent pixels
Fixes #33106
2020-01-20 22:43:38 +01:00
6e24933115 Improve dictionary description
I improved dictionary description to ad some real life examples and expand on it a little bit so person who never seen dictionary can understand it better seeing them for a first time here. 
I also added note about the way to compare dictionaries  as it can catch people of guard because common assumption is that it works the same as comparing Arrays when it does not.
2020-01-20 20:36:59 +00:00
b711c09bc8 Revert "Fix audio capture naming in Javascript"
This reverts commit 69f7263cd8.

Follow-up to #35359.
2020-01-20 21:35:19 +01:00
709665b15d Merge pull request #35379 from dankan1890/quick_fix
TextureRegionEditor: Corrected typo
2020-01-20 21:34:02 +01:00