Commit graph

29486 commits

Author SHA1 Message Date
thebestnom
4dc94e93bb Android: fix display server always alerting no Vulkan support 2020-07-14 19:37:36 +03:00
Emmanuel Leblond
b5c80088ce
Correct is_reference attribute in api.json for Reference class 2020-07-14 18:20:20 +02:00
Rémi Verschelde
28d83ecf5a
Merge pull request #40379 from bruvzg/macos_11_window_size
[macOS] Fix window size on macOS Big Sur, use top-left corner as resize origin.
2020-07-14 17:47:44 +02:00
Emmanuel Leblond
1f02ff8a76
Correct RichTextLabel.custom_effects property type metadata 2020-07-14 17:33:50 +02:00
Hugo Locurcio
878f03d8e3
Mention C# gotchas in Object's dynamic call/set/connect methods
This closes #34015.
2020-07-14 17:07:10 +02:00
Rémi Verschelde
e387278b3b
Merge pull request #40315 from Calinou/project-manager-disable-file-logging
Disable file logging for the project manager
2020-07-14 16:33:28 +02:00
Rémi Verschelde
46dcd4ebea
Merge pull request #40375 from Paulb23/fix_visual_shader_clearing_color_regions
Fixed visual shader editor not clearing colour regions
2020-07-14 16:31:36 +02:00
Rémi Verschelde
9bdcfc4e87
Merge pull request #40374 from Faless/udp/server_abstraction
UDPServer uses single socket, abstract clients.
2020-07-14 16:31:19 +02:00
Rémi Verschelde
0692deee23
Merge pull request #40372 from akien-mga/close-those-po-or-files
PO loader: Fix unclosed files and error messages
2020-07-14 16:31:00 +02:00
Rémi Verschelde
003bab643e
Merge pull request #40371 from rcorre/warning-fix
Show gdscript warning in LSP without duplication.
2020-07-14 16:30:46 +02:00
Rémi Verschelde
975262620a
Merge pull request #40367 from akien-mga/scons-disable-werror
SCons: Do not enable werror=yes by default
2020-07-14 16:30:28 +02:00
Hugo Locurcio
0493e7c106
Document VehicleBody3D and VehicleWheel3D limitations
These classes have dozens of open bugs and missing features
which may not be fixed anytime soon.

It's probably better to document it upfront at this point.
2020-07-14 16:16:08 +02:00
Juan Linietsky
13e0385702 Properly pass safe margin on initialization.
Fixes jitter.
2020-07-14 10:19:58 -03:00
Stijn Hinlopen
526e060b73 Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
Paulb23
ccab210fb5 Fixed visual shader editor not clearing colour regions 2020-07-14 13:21:53 +01:00
Rémi Verschelde
2921827387
Merge pull request #40327 from pkdawson/patch-1
Avoid overflow when calculating visible_cells
2020-07-14 14:16:29 +02:00
Fabio Alessandrelli
32fbe37ab4 Reorganize ENet pactches. 2020-07-14 14:10:18 +02:00
Fabio Alessandrelli
7ec5c917d1 Funnel refuse_new_connections to Godot ENet. 2020-07-14 14:10:18 +02:00
Fabio Alessandrelli
839c7b1ba3 Document updated UDPServer interface. 2020-07-14 14:10:18 +02:00
Fabio Alessandrelli
147bbe2155 UDPServer handles PacketPeerUDP-client association
UDPServer now uses a single socket which is shared with the
PacketPeerUDP it creates and has a new `poll` function to read incoming
packets on that socket and delivers them to the appropriate peer.
PacketPeerUDP created this way never reads from the socket, but are
allowed to write on it using sendto.

This is needed because Windows (unlike Linux/BSD) does not support
packet routing when multiple sockets are bound on the same address/port.
2020-07-14 14:10:18 +02:00
bruvzg
850bbabe56
[macOS] Fix window size on macOS Big Sur (title bar height is no longer same as menu height), use top-left corner as resize origin instead of bottom-left. 2020-07-14 15:09:46 +03:00
Stijn Hinlopen
269ed93271 Improve quick open performance and update some behaviour
- Cache possible files and icons at popup
 - Sort files with heapsort instead of selection sort

 - Always scroll back to top (selection) upon refresh
 - Scoring function: fix second case and remove expensive similarity computation for insignificant results.
 - Only show a max amount of files (currently set at 300)
2020-07-14 14:02:06 +02:00
Rémi Verschelde
47cc202972 PO loader: Fix unclosed files and error messages
Trying to get `f->get_path()` after deleting `f` was not super clever :)

Fixes #40324.
2020-07-14 13:39:46 +02:00
Ryan Roden-Corrent
8dcc39ec91
Include gdscript warning name in LSP message.
My initial attempt changed this in the gdscript code, which resulted in
a duplicate warning name in the builtin editor. We should just append
the warning name in the LSP instead.

This uses parens to match what is shown in the builtin editor.
2020-07-14 07:11:16 -04:00
Ryan Roden-Corrent
d92fa3b547
Revert "Include gdscript warning name in the warning message."
This reverts commit de3ad3b30e.
2020-07-14 06:43:58 -04:00
Hugo Locurcio
b89dc6ae00 Disable file logging for the project manager
Due to `user://` returning the current working directory when no
project is open, this caused logs to be written to `$HOME`
most of the time.

This closes #40305.
2020-07-14 12:42:51 +02:00
Rémi Verschelde
c2ed367d49
Merge pull request #40365 from aaronfranke/black-path
Globally install Python libraries in GitHub Actions
2020-07-14 12:36:50 +02:00
Rémi Verschelde
8391ec256d SCons: Do not enable werror=yes by default
There are too many users who compile Godot from source and are not familiar
with the buildsystem or C/C++ compilation warnings, and thus report any kind
of yet-unfixed warning as a (often duplicate) bug.

Compiler warnings change at every compiler version and are different for each
compiler, so it's difficult to ensure that the codebase would always be 100%
warning-free, especially in the future.

I already disabled it for stable releases in #37958, but having it on non
stable commits could also become an annoyance in the future when trying to
bisect issues with a new compiler version which emits warnings unknown at
the time of commit.

TL;DR: Contributors, use `dev=yes` or `werror=yes`. CI does and won't let you
create new warnings ;)
2020-07-14 12:33:17 +02:00
Rémi Verschelde
1bb66f04c8
Merge pull request #40277 from hinlopen/refactor-project-settings
Extract remaining tabs from the ProjectSettingsEditor
2020-07-14 12:16:26 +02:00
Stijn Hinlopen
8a6305a6f2 Refactor Project Settings:
- Moved Localization and InputMap editor code to separate files.
 - Removed empty method _item_checked from project_settings_editor.
 - Reordered some code for better readability.
2020-07-14 11:03:51 +02:00
Aaron Franke
61c9f11434
Globally install Python libraries in GitHub Actions
Otherwise it uses ~/.local/bin which GitHub doesn't include in PATH
2020-07-14 04:29:03 -04:00
Rémi Verschelde
861c6c63b6
Merge pull request #40218 from aaronfranke/mono-docs
Add C# XML documentation to core C# math types
2020-07-14 10:17:10 +02:00
Rémi Verschelde
ca5958d180
Merge pull request #38440 from Paulb23/syntax_highlighter_refactor
Syntax highlighter refactor
2020-07-14 09:49:02 +02:00
Rémi Verschelde
28e8347d6c
Merge pull request #40354 from bruvzg/add_vulkan_init_message
Display error popup instead of crashing if Vulkan init failed.
2020-07-14 09:03:25 +02:00
Rémi Verschelde
41802d8397
Merge pull request #40335 from aaronfranke/formatting-gh-actions
Use GitHub Actions for file formatting and style checks
2020-07-14 08:40:32 +02:00
Rémi Verschelde
678368df27
Merge pull request #40349 from volzhs/crash-overlapping-objects
Fix overlappingObjects vector crash
2020-07-14 07:43:28 +02:00
Aaron Franke
16f7b464b6
Remove Travis CI style checks and unnecessary scripts 2020-07-13 14:14:11 -04:00
Aaron Franke
9986439352
Commit other files changed by file_format.sh 2020-07-13 14:14:11 -04:00
Aaron Franke
d8b65461e3
Commit only the SVG files changed by file_format.sh
There were a lot of SVG files changed by file_format.sh
2020-07-13 14:08:55 -04:00
Aaron Franke
79a2e4c1ab
Add static formatting checks for GitHub Actions 2020-07-13 14:06:13 -04:00
volzhs
4e987f5ab9 Fix overlappingObjects vector crash
use clear_overlaps() instead of clearing overlappingObjects directly
2020-07-14 02:34:18 +09:00
bruvzg
996910b627
Add error messages if Vulkan init failed, prevent Vulkan context freeing uninitialized device and instance. 2020-07-13 19:24:21 +03:00
Rémi Verschelde
db1eb909fe
Merge pull request #40261 from bruvzg/macos_mono_build
[macOS, Mono] Fix "Wdeprecated-declarations" build error.
2020-07-13 18:04:22 +02:00
Rémi Verschelde
817062f8ec
Merge pull request #40297 from jiteshvm/texture-dialog-size
change minimum horizontal size from 200 to 240
2020-07-13 18:02:47 +02:00
Rémi Verschelde
6f0edf5bc9
Merge pull request #40308 from madmiraal/fix-40283
Set isScratchedSpaceOverrideModificator to false when removing a RigidBodyBullet from a space.
2020-07-13 17:59:31 +02:00
Patrick Dawson
9e28df22a0 Avoid overflow when calculating visible_cells 2020-07-13 16:53:58 +02:00
Rémi Verschelde
07db4d57d6
Merge pull request #40289 from YeldhamDev/guitab_icon_use_hl
Prefer the highlight version of the "GuiTabIcon" icon for buttons, and make their width/height equal
2020-07-13 16:36:28 +02:00
Rémi Verschelde
59c75d8f16
Merge pull request #40340 from Xrayez/fix-compression-override
Fix overriding compression related settings
2020-07-13 14:47:33 +02:00
Rémi Verschelde
5ce3160f3f
Merge pull request #40332 from aaronfranke/no-misleading
Disable "misleading indentation" warning on GCC
2020-07-13 14:19:25 +02:00
Fabio Alessandrelli
19c420545d
Merge pull request #40339 from Calinou/doc-enet-channels
Improve the ENet channels documentation in NetworkedMultiplayerENet
2020-07-13 14:01:55 +02:00