Commit graph

32664 commits

Author SHA1 Message Date
Rémi Verschelde 235d891e00
Merge pull request #45653 from migueldeicaza/patch-1
C conformance: Replace "bool" as the base definition for boolean with char
2021-02-02 22:04:39 +01:00
Miguel de Icaza f02252e37d C conformance: Include stdbool.h to define bool
`bool` is otherwise not defined in C.
2021-02-02 18:11:00 +01:00
Rémi Verschelde 9e0bdeb5de
Merge pull request #45665 from naithar/fix/ios-plugin-initialization-4.0
[4.0] [iOS] Earlier plugin initialization
2021-02-02 17:30:20 +01:00
Rémi Verschelde 9620c1ce61
Merge pull request #45659 from Chaosus/vs_fix_preview
Fix port previews for uniforms in visual shaders
2021-02-02 16:58:11 +01:00
Rémi Verschelde ea1e26f312
Merge pull request #45648 from Kanabenki/check-project-manager-dirs
Check default project and autoscan directories exist on project manager startup
2021-02-02 13:12:12 +01:00
Kanabenki 58be3c069a Check default project and autoscan directories exist on project manager startup 2021-02-02 12:55:11 +01:00
Rémi Verschelde cb04457871
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@dalexeev, @dsnopek, @HaSa1002

Thanks to all contributors and donors for making Godot possible!
2021-02-02 12:38:27 +01:00
Yuri Roubinsky ee3b51250a Fix port previews for uniforms in visual shaders 2021-02-02 13:41:05 +03:00
Rémi Verschelde ae6b2d6edc
Merge pull request #45657 from bruvzg/fix_macos_mkv_crash
Fix macOS Vulkan debug label crash.
2021-02-02 11:26:52 +01:00
bruvzg 7be7e87ff3
Always init DEBUG_UTILS_MESSENGER_CREATE_INFO structure if DEBUG_UTILS functions are used. Add temporary variables to fix potential use-after-free. 2021-02-02 11:27:47 +02:00
Rémi Verschelde 122a27523d
Merge pull request #45030 from aaronfranke/color-str-construct
Replace ColorN and from HTML with a string constructor
2021-02-02 09:49:35 +01:00
Aaron Franke f55445079a
Replace ColorN and from HTML with a string constructor 2021-02-01 17:27:19 -05:00
Rémi Verschelde b24c24f64b
Merge pull request #45594 from JFonS/improve_3d_grid
3D editor grid improvements
2021-02-01 23:18:24 +01:00
Rémi Verschelde 2d897d12c1
Merge pull request #45646 from qarmin/trashy_value
Don't use trashy max_decals value to prevent crashes
2021-02-01 22:57:56 +01:00
jfons 73e62dffb9 3D editor grid improvements
This commit adds a view-dependant fade to the 3D viewport grid. It fades out
at steep view angles to hide the solid regions that appear far from the camera.
I also included a fade to hide the grid borders.

I added some improvements to the dynamic grid when the camera is in orthogonal mode.
It properly handles zoom now, and the grid center is now set to the intersection point
between the grid plane and the camera forward ray, keeping the grid
always visible.
2021-02-01 22:19:54 +01:00
Rafał Mikrut 0c3febca06 Don't use trashy max_decals value to prevent crashes 2021-02-01 21:43:08 +01:00
Rémi Verschelde d2e1216504
Merge pull request #37547 from aaronfranke/tau
Use Math_TAU and deg2rad/etc in more places and optimize code
2021-02-01 20:55:25 +01:00
Rémi Verschelde 264504d76d
Merge pull request #45110 from fmazan/completion-panel-positioning
Fixed completion and hint panel positioning in TextExit
2021-02-01 20:50:17 +01:00
Rémi Verschelde 13c0e48791
Merge pull request #45137 from Calinou/doc-control-gallery
Reference the control gallery image in the Control class documentation
2021-02-01 20:49:30 +01:00
Rémi Verschelde c4811ab525
Merge pull request #45549 from flyingpimonster/graphnode-icon
GraphNode: Add properties for custom icons
2021-02-01 20:49:19 +01:00
Rémi Verschelde 35a8d0c8ff
Merge pull request #45561 from Calinou/fix-export-no-tmpdir
Create the temporary PCK export directory if it doesn't exist
2021-02-01 20:48:56 +01:00
Rémi Verschelde 3375647818
Merge pull request #45564 from aaronfranke/physics-nodes-real_t
Use real_t in physics nodes
2021-02-01 20:48:16 +01:00
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