Commit graph

32891 commits

Author SHA1 Message Date
Hugo Locurcio
9479bfe5f5
Fix incorrect version requirement in the SCons compilation DB comment 2021-02-01 17:09:42 +01:00
nemerle
022c2952fc Node::replace_by was not copying node properties - removed the dead code.
The code to copy node properties to the new node never worked, so there is no reason to keep the useless bits in there
2021-02-01 16:47:27 +01:00
Rémi Verschelde
0f4e2cd40c
Merge pull request #45630 from akien-mga/linux-enable-udev
Linux: Enable udev support by default
2021-02-01 16:00:34 +01:00
Rémi Verschelde
8b946066bb
Merge pull request #45620 from nathanfranke/improve-editor-inspecter
Simplify Script Variables Population
2021-02-01 15:28:26 +01:00
Rémi Verschelde
621b4e433e
Merge pull request #45629 from akien-mga/linux-static-cpp
Linux: Build with use_static_cpp=yes by default
2021-02-01 15:17:00 +01:00
Rémi Verschelde
1ebd66daff
Linux: Build with use_static_cpp=yes by default for x86_64
This enables `-static-libgcc -static-libstdc++` which help make custom Linux
builds more portable (official builds have been using this option for years).

For some obscure reason Ubuntu 18.04 i386 crashes when using the option for
i386 builds, so let's play it safe and enable for x86_64 only for now.
2021-02-01 14:56:35 +01:00
Rémi Verschelde
e8b69fccbe
Linux: Enable udev support by default
This has been enabled for years in official binaries, and users making custom builds
may end up not enabling it unknowingly, so it's best if we default to the same as
what official builds do.

The original reason for having it opt-in was likely the addition of a dependency on
libudev, but that should be fairly ubiquitous by now.
2021-02-01 14:40:15 +01:00
Sergey Minakov
3db04b3bd4 [iOS] Initialize plugins earlier
Initialize iOS plugins before 'Main::setup' call to have access to them in script's '_init' function.
2021-02-01 15:27:10 +03:00
Rémi Verschelde
c691444d2e
Merge pull request #45603 from zaevi/csharp_fix_string_hash
[C#] Fix string.Hash()
2021-02-01 11:32:58 +01:00
zaevi
baac70c27e
Fix C# string.Hash() 2021-02-01 04:12:00 -05:00
Rémi Verschelde
d811f86102
Merge pull request #45281 from Chaosus/vs_unify
Unified several visual shader nodes
2021-02-01 08:56:03 +01:00
Rémi Verschelde
fe217efa2c
Merge pull request #45506 from Chaosus/vs_connection_fix
Attempt to connect to first correct port on dragging in visual shader
2021-02-01 08:55:06 +01:00
Nathan Franke
5a3af1bc7d
Simplify Script Variables Population 2021-01-31 19:14:26 -06:00
bruvzg
c75923498e
Use integer coordinates for the font glyphs rendering. 2021-01-31 20:10:50 +02:00
Rémi Verschelde
5525cd85c6
Merge pull request #45315 from RandomShaper/modernize_thread
Modernize Thread
2021-01-31 15:24:56 +01:00
Fabio Alessandrelli
02eb11450b
Merge pull request #45539 from madmiraal/fix-handling-baseexception
Don't handle BaseException in JavaScript build script
2021-01-31 13:39:41 +01:00
Rémi Verschelde
f351cf1b8d
Merge pull request #45581 from Calinou/doc-webxrinterface-fix-code-sample
Fix WebXRInterface code sample in the class reference
2021-01-31 00:26:42 +01:00
Hugo Locurcio
85ed695836
Add viewport resolution to the 3D editor's View Information pane 2021-01-31 00:21:36 +01:00
Hugo Locurcio
3434074933
Fix WebXRInterface code sample in the class reference
This also fixes the code sample's indentation to look correct in the
editor help.
2021-01-30 23:59:52 +01:00
zaevi
befbfecd4d add search extensions for scons' path 2021-01-30 20:13:01 +08:00
Aaron Franke
9199a681de
Use real_t in physics nodes 2021-01-29 19:59:58 -05:00
Hugo Locurcio
42ef79b826
Create the temporary PCK export directory if it doesn't exist
This closes #45560.
2021-01-30 00:51:56 +01:00
Hugo Locurcio
200f1cf015
Reference the control gallery image in the Control class documentation
Like the Tween cheatsheet or Color constants cheatsheet, this references
a "cheatsheet" image from the documentation repository.
2021-01-29 18:05:04 +01:00
Rémi Verschelde
46de553473
Merge pull request #45519 from aaronfranke/physics-real_t
Use real_t in physics code
2021-01-29 16:31:47 +01:00
Rémi Verschelde
dd6cc94157
Merge pull request #45135 from vnen/gdnative-generator
Add GDNative JSON generator for the builtin API
2021-01-29 16:07:15 +01:00
George Marques
8a8dbd76b1
Add GDNative JSON generator for the builtin API
Which can be used by language bindings to generate code statically. This
is generated as a different file from the class API because it has
different requirements (the builtin types have constructors and don't
have signals), so bindings can better make use of each JSON file without
extra parsing.

This also cleans up a bit the old API generator, mainly initializing
structs and renaming "instanciable" to the more correct "instantiable".

The argument description in help text was updated to better reflect how
it should be used. The <path> argument is mandatory.
2021-01-29 11:40:37 -03:00
Rémi Verschelde
a4aaead346
Merge pull request #43193 from kleonc/master
Docs: Fix TileMap::map_to_world description
2021-01-29 13:06:15 +01:00
kleonc
e62ec6c6b1 Docs: Fix TileMap::map_to_world description 2021-01-29 12:38:21 +01:00
Rémi Verschelde
1da4215841
Merge pull request #43223 from KoBeWi/dedit
Disable active editors when node gets deselected
2021-01-29 12:29:15 +01:00
Rémi Verschelde
e856c5593b
Merge pull request #43222 from KoBeWi/sub_editor_oblivion
Remove unused get_subeditor() method
2021-01-29 12:28:55 +01:00
Pedro J. Estébanez
99fe462452 Modernize Thread
- Based on C++11's `thread` and `thread_local`
- No more need to allocate-deallocate or check for null
- No pointer anymore, just a member variable
- Platform-specific implementations no longer needed (except for the few cases of non-portable functions)
- Simpler for `NO_THREADS`
- Thread ids are now the same across platforms (main is 1; others follow)
2021-01-29 12:02:13 +01:00
Rémi Verschelde
c4a2fe99e8
Merge pull request #45551 from flyingpimonster/tree-item-docs
docs: Add TreeItem method descriptions
2021-01-29 09:55:43 +01:00
Rémi Verschelde
54360b3b01
Merge pull request #45548 from dsnopek/webxr-master-docs-canvaslayer
Remove reference to CanvasLayer in WebXR example, because it can cause rendering issues in AR
2021-01-29 09:43:06 +01:00
James Westman
2f5164d78c
docs: Add TreeItem method descriptions 2021-01-28 22:34:29 -06:00
James Westman
08e1453d7f
GraphNode: Add properties for custom icons
Add properties for the slots' icon textures, so they can be set easily
in the editor.

Fixes #45487.
2021-01-28 21:22:25 -06:00
David Snopek
f6e8da3661 Remove reference to CanvasLayer in WebXR example, because it can cause rendering issues in AR. 2021-01-28 19:24:27 -06:00
Rémi Verschelde
fbb4742377
Merge pull request #45411 from a-ivanov/more-object-tests
Unit tests for Object creation and property getter/setter
2021-01-29 00:58:54 +01:00
Aaron Franke
cb9fc117d1
Use real_t in physics code 2021-01-28 18:15:42 -05:00
Anton Ivanov
db0f3da2c4
Unit tests for Object creation and property getter/setter 2021-01-29 01:53:28 +03:00
Rémi Verschelde
329d4796ae
Merge pull request #45525 from van800/rider-line
Navigating to error line number in Rider from Godot editor debugger console is off-by-one.
2021-01-28 23:39:52 +01:00
Ivan Shakhov
deef9a73a5 Fix off by one error navigating to line number in Rider
Fixes https://github.com/JetBrains/godot-support/issues/61
2021-01-28 22:41:12 +01:00
Marcel Admiraal
fad0cec272 Don't handle BaseException in JavaScript build script 2021-01-28 19:23:49 +00:00
Rémi Verschelde
e50422d01c
Merge pull request #43978 from aaronfranke/cs-string
Unify URI encoding/decoding, handle spaces-are-pluses, and handle hex/bin prefix automatically
2021-01-28 14:48:59 +01:00
Aaron Franke
e829b7aee4
Unify URI encoding/decoding and add to C#
http_escape and percent_encode have been unified into uri_encode, and http_unescape and percent_decode have been unified into uri_decode.
2021-01-28 07:45:01 -05:00
Aaron Franke
a3e3bf8227
Make hex_to_int and bin_to_int handle the prefix automatically
Also add BinToInt to C#
2021-01-28 07:43:53 -05:00
Rémi Verschelde
726967f453
Merge pull request #45522 from akien-mga/doc-sync
doc: Sync classref with current source
2021-01-28 12:13:40 +01:00
Rémi Verschelde
fb01d057af
doc: Sync classref with current source 2021-01-28 11:26:37 +01:00
Rémi Verschelde
b441592372
Merge pull request #45514 from dsnopek/webxr-master-ar-lose-tracking
Prevent fatal error in WebXR when 'immersize-ar' loses and regains tracking
2021-01-28 09:32:19 +01:00
David Snopek
a23fc126eb Prevent fatal error in WebXR when 'immersize-ar' loses and regains tracking 2021-01-27 20:48:11 -06:00
Rémi Verschelde
1ea133b6b5
Merge pull request #45511 from KoBeWi/apocalypse_(world_crash)
Cache world in VisibilityNotifier3D to avoid crash
2021-01-27 21:19:25 +01:00