Commit Graph

32693 Commits

Author SHA1 Message Date
Rémi Verschelde
2d134b6ddd
Merge pull request #45596 from Calinou/editor-add-viewport-resolution
Add viewport resolution to the 3D editor's View Information pane
2021-02-01 20:43:34 +01:00
Rémi Verschelde
0db77315fe
Merge pull request #45608 from bruvzg/font_int_coords
Use integer coordinates for the font glyphs rendering.
2021-02-01 20:42:52 +01:00
Rémi Verschelde
46a2cc6141
Merge pull request #45642 from Calinou/project-manager-increase-folder-button-visibility
Make the Open Project Folder button more visible in the project manager
2021-02-01 20:42:15 +01:00
Rémi Verschelde
74091a1974
Merge pull request #45579 from zaevi/add_scons_ext
add search extensions for Scons' path
2021-02-01 20:41:25 +01:00
Rémi Verschelde
c4a801cdbf
Merge pull request #45604 from nemerle/node_replace_by_dead_code_removal
Node::replace_by is not copying node properties, removed the dead code
2021-02-01 20:24:19 +01:00
Rémi Verschelde
1db16f08d3
Merge pull request #45634 from Calinou/fix-scons-compilation-db-comment
Fix incorrect version requirement in the SCons compilation DB comment
2021-02-01 20:23:59 +01:00
Hugo Locurcio
04cbfbe6b2
Make the Open Project Folder button more visible in the project manager
This closes https://github.com/godotengine/godot-proposals/issues/619.
2021-02-01 20:04:01 +01:00
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