Commit Graph

32822 Commits

Author SHA1 Message Date
Rémi Verschelde a7a51fb326
Merge pull request #45715 from bruvzg/mono_dotnet_path
[Mono] Use the same search logic for both `MSBuild` and `dotnet`.
2021-02-05 09:29:16 +01:00
Rémi Verschelde 1f7f27e86a
Merge pull request #45722 from reduz/intel-fixed
Fixes to get Godot running again on Intel IGP
2021-02-05 07:46:02 +01:00
reduz 33278b0721 Fixes to get Godot running again on Intel IGP
-Fixed strange bug with shadowed instance_param (this should not have worked anywhere, odd..)
-Cleaned up barrier usage further.
2021-02-05 00:02:06 -03:00
bruvzg e304f716c7
[Mono] Use the same search logic for both `MSBuild` and `dotnet`, add custom search paths on macOS. 2021-02-04 22:39:38 +02:00
kobewi 962610bbaa Make Rect2 properties show in 2x2 layout 2021-02-04 20:53:29 +01:00
Rémi Verschelde 779dc76130
Merge pull request #45696 from YeldhamDev/texregion_margin_snap
Make margins obey the snap option in the TextureRegion editor
2021-02-04 19:33:30 +01:00
Rémi Verschelde 2ba66c1457
Merge pull request #45672 from reduz/barrier-optimization
Rewrote how barriers work for faster rendering
2021-02-04 17:19:35 +01:00
Rémi Verschelde a405a249a6
Merge pull request #45708 from dalexeev/fix-help-shortcut
Fix "editor/editor_help" shortcut overwriting when restarting editor
2021-02-04 16:56:21 +01:00
Danil Alexeev 2105b6a070 Fix "editor/editor_help" shortcut overwriting when restarting editor 2021-02-04 18:21:29 +03:00
Rémi Verschelde 7e14a276da
Merge pull request #45707 from akien-mga/doc-method-binding-no-p_-prefix
doc: Don't bind argument names with p_ prefix
2021-02-04 15:02:04 +01:00
Rémi Verschelde 5e0f3f1fe1
Merge pull request #45705 from Faless/js/4.x_editor_preload
[HTML5] Better editor persistent folders, automatically open zip import popup
2021-02-04 14:53:31 +01:00
Rémi Verschelde 59ae3ea44f
Merge pull request #45701 from hpvb/fix-tga-crash
Fix a crash in the TGA loader with malformed input
2021-02-04 14:47:31 +01:00
Rémi Verschelde 69152af45d doc: Don't bind argument names with p_ prefix
This prefix is used in the C++ codebase, not in the scripting API.
2021-02-04 14:45:06 +01:00
Rémi Verschelde 444f57210e
Merge pull request #42721 from Paulb23/update_syntax_highlighting_docs
Update SyntaxHighlighter documentation
2021-02-04 14:44:21 +01:00
kobewi fb83d905da Change sort_custom/bsearch_custom to use Callables 2021-02-04 14:37:52 +01:00
Rémi Verschelde 0cb40549c4
Merge pull request #45703 from vnen/duplicate-highlight-methods
Removed duplicated binding of two methods
2021-02-04 14:17:58 +01:00
George Marques 3f4d60616e
Make SyntaxHighligher::_clear_highlighting_cache virtual
Since it's meant to be used as a virtual method.
2021-02-04 09:54:09 -03:00
reduz f20999f6fe Rewrote how barriers work for faster rendering
-Added more finegrained control in RenderingDevice API
-Optimized barriers (use less ones for thee same)
-General optimizations
-Shadows render all together unbarriered
-GI can render together with shadows.
-SDFGI can render together with depth-preoass.
-General fixes
-Added GPU detection
2021-02-04 09:42:28 -03:00
George Marques bcf1617755
Removed duplicated binding of two methods
They are bound as both regular and virtual methods which makes ClassDB
report the methods twice when querying the API. The non-virtual binding
is removed since both methods only seem to be used as virtual.
2021-02-04 09:30:41 -03:00
Hein-Pieter van Braam-Stewart 403e4fd08b Fix a crash in the TGA loader with malformed input 2021-02-04 13:09:21 +01:00
Rémi Verschelde 1d1310f3d7
Merge pull request #35966 from muiroc/anim_node_blend_ignored_bug
Use the blend parameter passed to blend_animation
2021-02-04 12:22:24 +01:00
muiroc 01bd1b33c7 Use the blend parameter passed to blend_animation during graph processing 2021-02-04 11:25:00 +01:00
Michael Alexsander 2d4cda89e1 Make margins obey the snap option in the TextureRegion editor 2021-02-03 22:44:17 -03:00
Fabio Alessandrelli 95d2102565 [HTML5] Make home path persistent in editor.
We used to only persist specific sub-folder of /home/web_user/ when
running the Web Editor. This resulted in bad UX about default project
creation path etc.
This PR makes the whole folder persistent, move the zip preloading to a
different folder (to avoid persisting it), and automatically prompt the
user to import it if present.
2021-02-03 18:59:54 +01:00
Fabio Alessandrelli 9db7e07d5a Import zip via drag and drop in project manager.
Dropping a single ZIP file in the project manager will now prompt the
import dialog.
2021-02-03 18:59:54 +01:00
Fabio Alessandrelli 67532dfa95 Sync RasterizerDummy. 2021-02-03 18:59:54 +01:00
Rémi Verschelde 5f8f049ddb
Merge pull request #45674 from Calinou/doc-file-endian-swap
Improve the `File.endian_swap` documentation
2021-02-03 18:38:20 +01:00
Rémi Verschelde 43ab0edbd2
Merge pull request #45686 from naithar/feature/extend-plugin-params-4.0
[4.0] [iOS] Additional 'linker_flags' plugin parameter
2021-02-03 18:37:42 +01:00
Rémi Verschelde 6407cdaaf2
Merge pull request #40766 from naithar/feature/ios-loading_screen
[4.0] [iOS] Native loading screen implementation
2021-02-03 18:36:39 +01:00
Sergey Minakov c575fb81cc iOS: Use storyboard as loading screen
If 'Launch Screen' storyboard is present it will be used as loading screen.
2021-02-03 19:53:52 +03:00
Sergey Minakov 9f5265766d [iOS] Additional 'linker_flags' plugin parameter 2021-02-03 18:27:26 +03:00
Rémi Verschelde 7185a7c3c2
Merge pull request #45496 from Chaosus/fix_particles
Fix particles not properly updated by their lifetime
2021-02-03 15:50:52 +01:00
Rémi Verschelde c2c0536ea8
Merge pull request #45682 from naithar/fix/ios-notifications-4.0
[iOS] Remove remote notifications code
2021-02-03 14:14:03 +01:00
Sergey Minakov 4fda1ae6b8 [iOS] Remove remote notifications code
Using any remote notification method (even indirectly) causes App Store to trigger APNS warning email.
2021-02-03 15:00:43 +03:00
Rémi Verschelde 468d75bf6b
Merge pull request #45679 from akien-mga/scons-production
SCons: Add `production=yes` option to use production defaults
2021-02-03 12:52:41 +01:00
Rémi Verschelde db26871210 SCons: Add `production=yes` option to use production defaults
This is meant for users making custom builds to match the options used on
optimized, official builds.

This enables, on the platforms which support them:
- `use_static_cpp=yes` (portable binaries for Linux and Windows)
- `use_lto=yes` (link time optimizations - note: requires a lot of RAM!)
- `debug_symbols=no` (no debug symbols, smaller binaries)

Also abort when using MSVC with `production=yes`, as:
- It cannot optimize the GDScript VM like GCC or Clang do, leading to
  significant performance drops.
- Its LTO support is unreliable, at least used to trigger crashes last
  we tried it extensively.

All options can still be overridden if specified, and the `dev=yes` option
was changed to also support overrides.
2021-02-03 11:48:17 +01:00
Rémi Verschelde 3a3af0279b
Merge pull request #45658 from RandomShaper/fix_frozen_peak
Make audio bus channels' peak volume consistent
2021-02-03 10:05:34 +01:00
Rémi Verschelde 0f327f0d65
Merge pull request #45678 from clayjohn/VULKAN-physical-sky
Add check for sun in PhysicalSky
2021-02-03 09:31:53 +01:00
clayjohn 814b41fef1 Add check for sun in PhysicalSky 2021-02-02 23:06:42 -08:00
Rémi Verschelde 6ae97bfdda
Merge pull request #45669 from MrMinimal/master
Fix swapped front/rear view
2021-02-02 23:40:58 +01:00
Rémi Verschelde 3cecf11bb6
Merge pull request #45670 from Faless/js/4.x_canvas_id_fix
[HTML5] Fix mouse_mode and fullscreen detection.
2021-02-02 22:53:00 +01:00
Rémi Verschelde 0e3fb44d4e
Merge pull request #42394 from aaronfranke/editor-dotgodot
Move project-specific editor data into res://.godot/editor
2021-02-02 22:19:43 +01:00
Rémi Verschelde cc95e2c6a6
Merge pull request #45593 from lyuma/audio_effect_capture
Add AudioEffectCapture
2021-02-02 22:14:58 +01:00
Rémi Verschelde b37534902e
Merge pull request #45662 from akien-mga/main-fix-l10n-remapping
Main: Load translations and remaps before scene types
2021-02-02 22:05:15 +01:00
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
Hugo Locurcio c5f0db45df
Improve the `File.endian_swap` documentation 2021-02-02 21:59:55 +01:00
Aaron Franke ee798c4f49
Move project-specific editor data into res://.godot/editor 2021-02-02 14:14:37 -05:00
Fabio Alessandrelli 97288f25f4 [HTML5] Fix mouse_mode and fullscreen detection.
The canvas_id is `#`-prefixed to work with emscripten as a CSS selector.
When comparing to an event target ID (e.g. when checking if the canvas
is fullscreen, or is locking the mouse) we need to skip the first char
(the hash).
2021-02-02 20:08:51 +01:00
Tom Langwaldt f995d6cd17
Fix swapped front/rear view 2021-02-02 19:44:38 +01:00
Hugo Locurcio 95fda7e881
Document that GridMap doesn't support visual layers or cull masks
See #40245.
2021-02-02 19:30:55 +01:00