Commit graph

30946 commits

Author SHA1 Message Date
reduz 84d734da0e Refactored 2D shader and lighting system
-Removed normal/specular properties from nodes
-Create CanvasTexture, which can contain normal/specular channels
-Refactored, optimized and simplified 2D shaders
-Use atlas for light textures.
-Use a shadow atlas for shadow textures.
-Use both items aboves to make light rendering stateless (faster).
-Reorganized uniform sets for more efficiency.
2020-10-24 15:57:25 -03:00
Rémi Verschelde b67ccf1a6f
Merge pull request #43046 from aaronfranke/button-group
Rename button group property to button_group
2020-10-24 08:31:15 +02:00
Aaron Franke 961ee3a1d7
Rename button group property to button_group 2020-10-24 01:30:18 -04:00
Rémi Verschelde 11f362b510
Merge pull request #35766 from YeldhamDev/poly2d_uv_editor_improvements
Minor improvements to the Polygon 2D UV editor
2020-10-24 01:47:40 +02:00
Rémi Verschelde 64be558443
Merge pull request #43041 from Klowner/fixes/41885-android-export-month-timestamp
Fix android apk contents having mtime 1 month in future
2020-10-23 22:16:27 +02:00
Mark Riedesel 5fe902244a Fix android apk contents having mtime 1 month in future
minizip documentation describes tm_mon as expecting the number of months
since January - [0, 11], but the month returned by OS.get_date() is in
the range of [1, 12].
2020-10-23 15:05:48 -04:00
Yuri Roubinsky b09e60ef1a
Merge pull request #43026 from Chaosus/color_autocompletion
Shows ColorRect in Color constants autocompletion
2020-10-23 19:18:20 +03:00
Yuri Roubinsky 4c65dc975c Shows ColorRect in Color constants autocompletion 2020-10-23 19:03:50 +03:00
Rémi Verschelde d5073c6b4c
Merge pull request #43028 from neikeq/rework-csharp-build-panel
C#: Re-work solution build output panel
2020-10-23 08:40:25 +02:00
Ignacio Etcheverry f06f91281c C#: Re-work solution build output panel
- Removed item list that displayed multiple build
  configurations launched. Now we only display
  the last build that was launched.
- Display build output next to the issues list.
  Its visibility can be toggled off/on.
  This build output is obtained from the MSBuild
  process rather than the MSBuild logger. As such
  it displays some MSBuild fatal errors that
  previously couldn't be displayed.
- Added a context menu to the issues list with
  the option to copy the issue text.
- Replaced the 'Build Project' button in the panel
  with a popup menu with the options:
  - Build Solution
  - Rebuild Solution
  - Clean Solution
- The bottom panel button was renamed from 'Mono'
  to 'MSBuild' and now display an error/warning icon
  if the last build had issues.
2020-10-23 07:49:39 +02:00
Rémi Verschelde 32be9299ba
Merge pull request #43013 from qarmin/v_or_not_v
Fix invalid method names
2020-10-22 20:23:04 +02:00
Rafał Mikrut 742251e90a Fix invalid method names 2020-10-22 19:50:25 +02:00
Rémi Verschelde bfc79a2434
Merge pull request #42998 from akien-mga/ci-android-apk
CI: Refactor Android workflow, use pre-installed SDK and NDK
2020-10-22 18:08:01 +02:00
Rémi Verschelde 5f19e1d571
CI: Refactor Android workflow, use pre-installed SDK and NDK
No need to waste time downloading all this when it's readily available :)
Also use the official action to setup Java 8.

Also build both architectures (armv7 and arm64v8) and generate the APK,
so we can upload it.

Remove now unused and outdated `misc/ci/android-tools-linux.sh`.
2020-10-22 17:21:59 +02:00
Rémi Verschelde f0f8864c9c
Merge pull request #42907 from Xrayez/add-ref-rect-border-width
Add `border_width` to `ReferenceRect`
2020-10-22 15:58:12 +02:00
George Marques c8716734eb
Merge pull request #43000 from vnen/variant-internal-method-name
Add name and base type to Variant::InternalMethod (on debug)
2020-10-22 09:55:18 -03:00
Rémi Verschelde 5d2d3787cd
Merge pull request #42999 from Mallos/fix/tilemap-icon2
fix(editor): Create new icon for TileMap Rectangle
2020-10-22 14:42:03 +02:00
Rémi Verschelde 17cd5e845a
Merge pull request #42980 from KoBeWi/(ಥ-͜ʖಥ)
Favor project.binary over project.godot
2020-10-22 14:23:13 +02:00
Rémi Verschelde a04db8eb11
Merge pull request #42905 from volzhs/freetype-2.10.3
Update freetype to 2.10.4
2020-10-22 14:10:22 +02:00
George Marques 8b3271563f
Add name and base type to Variant::InternalMethod (on debug)
This is useful to showing error messages when a pointer to an
InternalMethod is the only information available.
2020-10-22 09:07:25 -03:00
Rémi Verschelde baec2445e1
Merge pull request #42997 from akien-mga/ci-release-no-debug-symbols
CI: Set debug_symbols=no for template builds
2020-10-22 13:32:40 +02:00
Eric Tuvesson 8cf88f8ff4 fix(editor): Create new icon for TileMap Rectangle
ref: #42972
2020-10-22 13:28:34 +02:00
Rémi Verschelde e18a9a2224
CI: Set debug_symbols=no for template builds
This keeps their size small and allows to compare size changes on templates
in PRs, as the template size is what is most relevant to users.

For editor builds we keep debug symbols so they can be used to debug crashes.
2020-10-22 13:03:27 +02:00
Rémi Verschelde 003ee8b7c2
Merge pull request #42906 from Xrayez/doc-xref-color-ref-rects
Cross-reference `ColorRect` and `ReferenceRect` in the class reference
2020-10-22 11:25:35 +02:00
Rémi Verschelde 232e77bc1b
Merge pull request #42989 from godotengine/revert-42972-fix/tilemap-icon
Revert "fix(editor): TileMap Fill Rectangle icon"
2020-10-22 11:24:42 +02:00
Rémi Verschelde eee7c4acc4
Revert "fix(editor): TileMap Fill Rectangle icon" 2020-10-22 10:28:37 +02:00
Rémi Verschelde d05c7da1aa
Merge pull request #42949 from DavidSichma/shaderglobals
Shader globals bugfixes
2020-10-22 09:53:49 +02:00
Rémi Verschelde 3b85f22a6f
Merge pull request #42939 from Chaosus/fix_custom_property_editor2
Fix custom property editor to correctly show Basis
2020-10-22 09:51:49 +02:00
Yuri Roubinsky d87e645bcf Fix custom property editor to correctly show Basis 2020-10-22 08:41:35 +03:00
Tomasz Chabora 37d515e99c Favor project.binary over project.godot 2020-10-22 00:12:18 +02:00
Rémi Verschelde a4548a079b
Merge pull request #42972 from Mallos/fix/tilemap-icon
fix(editor): TileMap Fill Rectangle icon
2020-10-21 22:10:26 +02:00
Eric Tuvesson 3fee970c62 fix(editor): TileMap Fill Rectangle icon
The default color was blue which is the active color, changed it to be gray by default.
2020-10-21 20:44:55 +02:00
volzhs 42959d54ff Update freetype to 2.10.4 2020-10-22 01:47:48 +09:00
Yuri Roubinsky c97dea47b5
Merge pull request #42962 from Chaosus/fix_shader_texture_funcs
Fix textureSize & texelFetch shader compilation errors
2020-10-21 17:59:23 +03:00
Yuri Roubinsky 433183147e Fix textureSize & texelFetch shader compilation errors 2020-10-21 17:45:40 +03:00
Rémi Verschelde 918f03529f
Merge pull request #42957 from Chaosus/remove_print_windowpos
Remove printing of windowpos/screenpos inside MenuButton::pressed
2020-10-21 09:13:33 +02:00
Yuri Roubinsky f2b98b4106 Remove printing of windowpos/screenpos in MenuButton 2020-10-21 09:58:37 +03:00
David Sichma 5d33cd94c8 Shader globals bugfixes
- shader globals editor displays properties correctly
- fixed some errors how globals were transferred
2020-10-21 01:34:25 +02:00
Rémi Verschelde c3964b6c83
Merge pull request #42945 from akien-mga/ci-sanitizers-no-artifacts
CI: Don't upload linux-sanitizers artifacts
2020-10-20 23:13:39 +02:00
Rémi Verschelde fc8ee3ca9b
CI: Don't upload linux-sanitizers artifacts
It's 1.5 GB, that's maybe a bit overkill.
2020-10-20 21:59:14 +02:00
Rémi Verschelde 207cfc9253
Merge pull request #42944 from Calinou/tonemap-shader-remove-unused-define
Remove unused `#define` from the tonemap shader
2020-10-20 21:02:04 +02:00
Rémi Verschelde ef62e93677
Merge pull request #42943 from vnen/gdscript-local-scope-fix
Fix handling of scope for local GDScript variables
2020-10-20 21:00:57 +02:00
George Marques 96884ef41e
Merge pull request #41983 from ThakeeNathees/array-const-folding-bug-fix
Array/Dictionary Nodes no more reduced to array/dictionary variant
2020-10-20 15:43:07 -03:00
Hugo Locurcio 195540ab90
Remove unused #define from the tonemap shader
It was a leftover from an earlier version of the debanding PR
which used a simpler (but less effective) algorithm.
2020-10-20 19:59:50 +02:00
George Marques 11c05642fe
GDScript: Fix handling of scope for local variables 2020-10-20 14:57:31 -03:00
George Marques c77466b276
Merge pull request #42938 from vnen/gdscript-test-compiler-fix
Add initialization for the language before GDScript debug tests
2020-10-20 14:23:37 -03:00
Rémi Verschelde 181082589a
Merge pull request #42772 from bruvzg/macos_inertia
[macOS] Suppress momentum scrolling after key press.
2020-10-20 15:10:56 +02:00
Rémi Verschelde 15ff276fcf
Merge pull request #42853 from naithar/fix/in-app-store-master
[4.0] [iOS] InAppStore fixes
2020-10-20 15:10:15 +02:00
George Marques 48b91b900d
GDScript: Add initialization for the language before debug tests
This ensures that the tests will use a full environment with correct
settings so global classes and autoloads can be properly found.
2020-10-20 10:07:03 -03:00
Andrii Doroshenko (Xrayez) 803b046b38 Cross-reference ColorRect and ReferenceRect in the class reference
They use the same underlying `CanvasItem.draw_rect()` API.
2020-10-20 13:59:41 +03:00