Juan Linietsky
87c658b304
Re-Added screen space reflection.
2020-04-02 11:25:21 -03:00
Rémi Verschelde
ff14d071cc
Merge pull request #37492 from akien-mga/warnings-clang-displayserverwindows
...
Fix Clang warnings on Windows
2020-04-01 17:12:58 +02:00
Rémi Verschelde
2e84b7b916
Merge pull request #37443 from Leleat/master
...
Fix PopupMenu's letter jumping on any InputEventKey (instead of just a press)
2020-04-01 16:51:10 +02:00
Rémi Verschelde
84b308f446
Merge pull request #37488 from akien-mga/etc2comp-rgba8-max-channels
...
etc2comp: Fix max iterations for RGBA channels
2020-04-01 16:47:07 +02:00
Rémi Verschelde
516b3bb88f
Fix Clang warnings on Windows
...
Fixes #37490 .
2020-04-01 16:28:20 +02:00
Rémi Verschelde
e53cbba36c
Merge pull request #37484 from Calinou/csharp-verbatim-string-highlight
...
Remove syntax highlighting for C# verbatim strings due to bugs
2020-04-01 15:10:19 +02:00
Rémi Verschelde
d229507fa7
Merge pull request #37486 from RandomShaper/fix_trimmed_res
...
Fix res:// trimmed to s:// on Windows
2020-04-01 15:01:31 +02:00
Rémi Verschelde
96e654335a
Merge pull request #37481 from ThakeeNathees/bind-method-typo
...
some typo in method binds fixed
2020-04-01 12:57:26 +02:00
Rémi Verschelde
dbf52c63cc
etc2comp: Fix max iterations for RGBA channels
...
Those checks were *very likely* meant to clamp the max value,
not the min one.
Fixes https://github.com/godotengine/godot/issues/10059#issuecomment-606993001 .
2020-04-01 11:23:42 +02:00
Thakee Nathees
cb53b1d88e
some typo in method binds fixed
2020-04-01 14:01:18 +05:30
Pedro J. Estébanez
741f8d9bec
Fix res:// trimmed to s:// on Windows
2020-04-01 10:30:22 +02:00
Hugo Locurcio
49efd6093e
Remove syntax highlighting for C# verbatim strings due to bugs
...
This closes #32336 .
2020-04-01 09:12:47 +02:00
Rémi Verschelde
f7b8d0c688
Merge pull request #37456 from ttencate/fix/gdscript_assert_message_docs
...
Add missing docs for assert message in GDScript
2020-04-01 08:58:57 +02:00
Rémi Verschelde
64c9b7ffcf
Merge pull request #37468 from accidentalrebel/master
...
Fix for Vulkan loader build error caused by incomplete alias
2020-03-31 23:03:07 +02:00
Thomas ten Cate
4c3c73ef9c
Add missing docs for assert message in GDScript
...
Seems like this was overlooked in PR #31142 . See also issue #17082 .
2020-03-31 19:56:44 +02:00
Rémi Verschelde
a30bfe5176
Merge pull request #35765 from clayjohn/master
...
Add a method to retrieve active material from MeshInstance
2020-03-31 18:03:11 +02:00
ARebel
7e8f7e642e
Fix for Vulkan loader related build error caused by incomplete alias
...
Fixes #37465 . The #37369 commit which added an alias for linuxbsd
platform did not work with the latest branch.
2020-03-31 23:28:30 +08:00
Rémi Verschelde
3a996faeed
Merge pull request #37442 from YeldhamDev/subviewport_register
...
Register SubViewport class
2020-03-31 16:29:41 +02:00
Rémi Verschelde
8dd58a6157
Merge pull request #37153 from neikeq/mono_ios-4.0
...
[master] Mono/C#: Add iOS support
2020-03-31 14:17:27 +02:00
Rémi Verschelde
eab934e868
Merge pull request #37463 from akien-mga/fix-Wmaybe-uninitialized-tools
...
Fix more -Wmaybe-uninitialized warnings with target=release_debug
2020-03-31 14:16:23 +02:00
Rémi Verschelde
0a2fa4d892
Fix more -Wmaybe-uninitialized warnings with target=release_debug
...
I have no idea why those don't get triggered in target=debug builds.
Fixes #37461 .
2020-03-31 13:52:42 +02:00
Rémi Verschelde
047cdea7fa
Merge pull request #37458 from akien-mga/doc-displayserver-window-sync
...
doc: Sync classref with DisplayServer/Window changes
2020-03-31 12:31:43 +02:00
Rémi Verschelde
e5033d3952
doc: Sync classref with DisplayServer/Window changes
2020-03-31 11:56:58 +02:00
Rémi Verschelde
0926c192e8
Style: Add black format to fix_style.sh
...
Also ignore new Android build artifact.
2020-03-31 09:55:13 +02:00
Ignacio Etcheverry
21d1ea60a7
Fix exporting corrupted Xcode pbxproj if project name has spaces
2020-03-31 09:37:17 +02:00
Ignacio Etcheverry
77dd061345
Mono/C#: Add iOS support
...
Right now, games only work on devices when exported with FullAOT+Interpreter.
There are some issues left that need to addressed for FullAOT alone. Right now,
it's giving issues with the Godot.NativeCalls static constructor.
2020-03-31 09:37:16 +02:00
Ignacio Etcheverry
fa08437694
Mono/C#: Fix MinGW build not supporting .lib
libraries
...
MinGW should support both its own format `.a` and MSVC's format `.lib`,
but Mono's module was only using the former. With this change it's now
possible to build with MinGW and link the official Mono for Windows
which is built with MSVC.
2020-03-31 09:37:11 +02:00
Rémi Verschelde
ece425ace4
Merge pull request #37452 from zak-grumbles/thread_start_docs_fix
...
Clarify docs for Thread.start() godotengine#36032
2020-03-31 08:55:46 +02:00
Zak Grumbles
d09644dff3
Clarify docs for Thread.start() godotengine#36032
...
* Updated docs for Thread.start() to specify that the method argument
must accept one parameter.
2020-03-30 21:53:39 -05:00
clayjohn
3362e81674
Add a method to retrieve active material from MeshInstance
2020-03-30 16:53:07 -07:00
Rémi Verschelde
dfed5efea3
Merge pull request #37445 from nekomatata/hook-makerst-fix
...
Fixed errors in makerst pre-commit hook
2020-03-31 00:17:51 +02:00
PouleyKetchoupp
619354fb2c
Fixed errors in makerst pre-commit hook
2020-03-31 00:02:11 +02:00
Rémi Verschelde
2becffd4e8
Merge pull request #37444 from nekomatata/hook-readme-windows
...
Pre-commit hook instructions on Windows
2020-03-30 23:22:01 +02:00
PouleyKetchoupp
7b6e664178
Pre-commit hook instructions on Windows
2020-03-30 22:59:06 +02:00
Leleat
8a5660f3d1
fixed PopupMenus letterjumping on any InputEvent
2020-03-30 21:45:56 +02:00
Michael Alexsander
46a6751302
Register SubViewport class
2020-03-30 16:43:55 -03:00
Rémi Verschelde
f3c74afd28
Merge pull request #37436 from akien-mga/doc-node-renames
...
doc: Update classref with node renames
2020-03-30 20:32:11 +02:00
Rémi Verschelde
6fed21c7cb
Merge pull request #37356 from akien-mga/scons-enable-werror
...
SCons: Treat all warnings as errors
2020-03-30 20:30:54 +02:00
Rémi Verschelde
8f47ca8fe4
Merge pull request #37432 from reduz/glow-bicubic-upscale-global
...
Move glow upscale quality to a global setting, for consistency
2020-03-30 18:29:32 +02:00
Rémi Verschelde
72ea74bcc1
SCons: Treat all warnings as errors
...
After an effort spanning several years, we should now be warning-free
on all major compilers, so we can set `-Werror` to ensure that we don't
introduce warnings in new code.
Disable -Werror=strict-overflow on GCC 7 though, as it seems bogus and
was fixed in 8+.
2020-03-30 18:28:51 +02:00
Rémi Verschelde
f097511b96
Fix another batch of -Wmaybe-uninitialized warnings
...
And simplify code in CSGShape.
2020-03-30 18:27:36 +02:00
Rémi Verschelde
eaaee63b62
doc: Update classref with node renames
...
A few extra renames for classes which were missed in last week's PRs.
2020-03-30 18:23:02 +02:00
Juan Linietsky
89e1263117
Move glow upscale quality to a global setting, for consistency
2020-03-30 10:46:03 -03:00
Rémi Verschelde
b383484e44
Merge pull request #37421 from akien-mga/python-format-black
...
SCons: Format buildsystem files with psf/black
2020-03-30 15:07:00 +02:00
Rémi Verschelde
3644036fd3
Travis: Add static check for Python black formatting
...
Also install and use pygmentize to visualize clang-format and black
diffs.
2020-03-30 09:31:53 +02:00
Rémi Verschelde
4d52761da6
Hooks: Use pygmentize if available to visualize diff
2020-03-30 09:05:59 +02:00
Rémi Verschelde
164826a39b
Hooks: Add pre-commit hook for psf/black formatting
2020-03-30 09:05:59 +02:00
Rémi Verschelde
cd4e46ee65
SCons: Format buildsystem files with psf/black
...
Configured for a max line length of 120 characters.
psf/black is very opinionated and purposely doesn't leave much room for
configuration. The output is mostly OK so that should be fine for us,
but some things worth noting:
- Manually wrapped strings will be reflowed, so by using a line length
of 120 for the sake of preserving readability for our long command
calls, it also means that some manually wrapped strings are back on
the same line and should be manually merged again.
- Code generators using string concatenation extensively look awful,
since black puts each operand on a single line. We need to refactor
these generators to use more pythonic string formatting, for which
many options are available (`%`, `format` or f-strings).
- CI checks and a pre-commit hook will be added to ensure that future
buildsystem changes are well-formatted.
2020-03-30 09:05:53 +02:00
Rémi Verschelde
0168709978
Merge pull request #37412 from KoBeWi/great_tree_escape
...
Properly handle node remove via undo
2020-03-30 06:40:42 +02:00
Tomasz Chabora
37ffb40047
Properly handle node remove via undo
2020-03-29 19:59:04 +02:00