Commit Graph

22695 Commits

Author SHA1 Message Date
Rémi Verschelde e088358ca1
Merge pull request #31018 from follower/fix-thirdparty-assimp-compile-fail
Fix error when building assimp on older Mac OS X version
2019-08-02 11:25:10 +02:00
Rémi Verschelde 69e6dc9164
Merge pull request #31015 from Calinou/improve-gizmo-axis-colors
Improve the gizmo axis colors and increase the manipulator opacity
2019-08-02 11:22:27 +02:00
Rémi Verschelde 46986321c1
Merge pull request #31001 from KoBeWi/come_back_script
Add Reopen Closed Script option in Script Editor
2019-08-02 11:18:21 +02:00
Rémi Verschelde 6d6b9ccc9a Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@Anutrix, @hbina, @santouits

Thanks to all contributors and donors for making Godot possible!
2019-08-02 09:43:42 +02:00
Cameron Reikes c123a8c4f5 Same method when redrawing as when theme changed 2019-08-01 19:50:14 -07:00
follower 84698dfa3d Fix error when building assimp on older Mac OS X version.
Prevents this error when building with Mac OS X 10.9 SDK:

    error: no member named 'atoi' in namespace 'std'; did you mean simply 'atoi'?
2019-08-02 04:19:51 +12:00
Rémi Verschelde 77e8947687
Merge pull request #30905 from clayjohn/set-cpuparticles2d-visible
Toggle CPUParticles2D visibility when redrawing
2019-08-01 18:13:28 +02:00
Hugo Locurcio d57680cf34
Improve the gizmo axis colors and increase the manipulator opacity
The new colors should make it easier to see the manipulator gizmo.
Highlighted gizmos are now fully opaque (instead of being white),
keeping the color information while a gizmo is highlighted.

This also adds a setting hint for the manipulator gizmo opacity
editor setting.

Axis colors were taken from Blender 2.80.

This partially addresses #16154.
2019-08-01 14:30:35 +02:00
Tomasz Chabora 5718599bd2 Add Reopen Closed Script option in Script Editor 2019-08-01 13:32:30 +02:00
Rémi Verschelde 3a6102a6f7
Merge pull request #31010 from Chaosus/vs_fix_expression
Some visual fixes for Expression node in visual shaders
2019-08-01 10:50:33 +02:00
Chaosus 82e2efe591 Some visual fixes for Expression node 2019-08-01 11:03:23 +03:00
Rémi Verschelde a967ece4c7
Merge pull request #31009 from Chaosus/vs_fix_outer_product
Fix outerProduct function in visual shaders
2019-08-01 08:48:44 +02:00
Rémi Verschelde 10b3f7925b
Merge pull request #31007 from sparkart/vs_descriptive_tooltips
Add descriptive tooltips in VS editor
2019-08-01 08:46:49 +02:00
Rémi Verschelde b755cf1a2d
Merge pull request #31004 from Kanabenki/fix-undo-close-scene
Don't add unsaved scene to previous scenes list when closing a tab
2019-08-01 08:45:36 +02:00
Rémi Verschelde 8743da90d9
Merge pull request #30993 from Chaosus/gles2_funcs
Expose several GLES3 built-ins to GLES2
2019-08-01 08:28:35 +02:00
Rémi Verschelde 3256fbfd10
Merge pull request #30992 from Calinou/tweak-damping-setting-hints
Tweak Area and PhysicsBody damping setting hints for consistency
2019-08-01 08:26:59 +02:00
Chaosus c34d75b678 Fix outerProduct function in visual shaders 2019-08-01 08:29:05 +03:00
Emmanuel Barroga 5c447cecd2 Add descriptive tooltips in VS editor
In the Visual Script editor, the override icon is not very clear what it's intended purpose is for. Currently, its tooltip just says: "Function:" which is the same tooltip as the "add new function" icon.

To resolve this issue, this PR adds descriptive tooltips to the following icons in the Visual Script editor: 
-Override Function
-Add Function
-Add Variable
-Add Signal
2019-07-31 20:10:19 -07:00
Kanabenki 648313ab8a Don't add unsaved scene to previous scenes list 2019-07-31 23:49:16 +02:00
Rémi Verschelde 507e41e698
Merge pull request #30999 from nekomatata/fix-regression-godot-physics
Fixed regression in Godot Physics
2019-07-31 19:47:33 +02:00
Chaosus 8b4c538ab2 Expose several GLES3 built-ins to GLES2 2019-07-31 19:00:10 +03:00
PouleyKetchoupp 53ac260d19 Reverted fix that makes sense for collision_solver_2d_sat but not for the 3d version
(original commit: aab8da25ad)

Fixes #30886
2019-07-31 17:36:09 +02:00
Hugo Locurcio 47c615caf3
Cap the number of warnings/errors per second rather than per frame
This reproduces the behavior used for printing when using the remote
debugger. The default limit is 100 errors and 100 warnings per second,
which makes it possible to display much more GDScript warnings
before overflowing.

This also adds a "Too many warnings" message, so that warnings
don't look like errors when overflowing anymore.

This closes #21896.
2019-07-31 17:29:26 +02:00
Hugo Locurcio 0243dc53b8
Tweak Area and PhysicsBody damping setting hints for consistency
This partially addresses #19182.
2019-07-31 13:57:13 +02:00
Rémi Verschelde d66461e85a
Merge pull request #30972 from Chaosus/vs_copy_paste
Implement copy/paste in visual shaders
2019-07-31 11:56:01 +02:00
Chaosus f704506807 Implement copy/paste in visual shaders 2019-07-31 12:43:29 +03:00
Rémi Verschelde f34998023d
Merge pull request #30986 from sparkart/fix_progressbar_border_error
Fix ProgressBar Wrong Value with Border
2019-07-31 11:35:47 +02:00
clayjohn 96c3004855 allow omnilights and spotlights to use negative in GLES2 2019-07-30 23:44:22 -07:00
Rémi Verschelde 0636e664ff
Merge pull request #30981 from IAmActuallyCthulhu/pr/fix-typo-physics-2d-server-wrap-mt
Correct typo and format of comments
2019-07-31 08:10:58 +02:00
Rémi Verschelde 51b2d86685
Merge pull request #30977 from clayjohn/GLES3-screen-uv
Properly pass SCREEN_PIXEL_SIZE to canvas light shader
2019-07-31 07:45:41 +02:00
Emmanuel Barroga 7db96e22dd Fix ProgressBar Wrong Value with Border
Closes: #30969

The FG rectangle of the progressbar is incorrect when dealing with a non-zero border. This issue stems from wrong order of operations when drawing the rectangle: int p = r * get_size().width - mp;
2019-07-30 21:47:11 -07:00
IAmActuallyCthulhu 4e617d2ca2
Correct typo and format of comments 2019-07-30 16:43:07 -05:00
clayjohn 518f0fb190 properly pass SCREEN_PIEXEL_SIZE to canvas light shader 2019-07-30 13:45:11 -07:00
Rémi Verschelde 4b7b1b0d4a
Merge pull request #30945 from RevoluPowered/feature/assimp_update
Updated assimp to commit 1d565b0 with iFire
2019-07-30 20:47:34 +02:00
Rémi Verschelde 2765113908
Merge pull request #30958 from akien-mga/jpgd-security-fixes-google
jpgd.h: Backport security vulnerabilities fixes from Google Android
2019-07-30 20:04:06 +02:00
Rémi Verschelde 875075cd65
Merge pull request #30961 from Calinou/window-size-error
Turn `OS.set_min/max_window_size()` warnings into errors
2019-07-30 20:03:49 +02:00
Rémi Verschelde 5544ea4a17
Merge pull request #30966 from akien-mga/android-remove-stl-no
Android: Remove unusable android_stl=no option
2019-07-30 20:03:08 +02:00
RevoluPowered 243f400ee2 Updated assimp to commit 1d565b0 with iFire
Signed-off-by: RevoluPowered <gordon@gordonite.tech>
Signed-off-by: K. S. Ernest (iFIre) Lee <ernest.lee@chibifire.com>
2019-07-30 18:59:29 +01:00
Rémi Verschelde 2da1614beb Android: Remove unusable android_stl=no option
As of 3.1 and later, we have too many thirdparty C++ dependencies
and some internal uses of `new` and `delete` too for it to make
sense to build without the STL on Android.

The option has been broken since 3.0, and the "System STL" that we
relied on for basic support of `new` and `delete` is likely to be
dropped from the NDK:
https://android.googlesource.com/platform/ndk/+/ndk-release-r20/docs/BuildSystemMaintainers.md#System-STL
2019-07-30 18:53:38 +02:00
Rémi Verschelde c9a1a69ad6
Merge pull request #30967 from akien-mga/android-drop-ndk-pre-15
Android: Drop support for NDK < r15
2019-07-30 18:52:39 +02:00
Rémi Verschelde d6ef5daf48 Android: Drop support for NDK < r15
NDK r15c was released over two years ago (July 2017), and we
cannot build against r14b anyway as it seems to fail with our
setup to link the STL.
2019-07-30 15:49:31 +02:00
Rémi Verschelde dfa324eb8e
Merge pull request #30962 from silvanocerza/remote-tree-collapse-fix
Fixed remote scene tree not collapsing
2019-07-30 15:36:07 +02:00
Silvano Cerza d8dae84c9a Fixed remote scene tree not collapsing 2019-07-30 15:11:13 +02:00
Hugo Locurcio 7de2c70e11
Turn `OS.set_min/max_window_size()` warnings into errors
Since invalid values will cause the setting to be discarded,
it makes more sense to display an error message instead of a
warning message.
2019-07-30 14:50:52 +02:00
Rémi Verschelde 5c333270ed jpgd.h: Backport security vulnerabilities fixes from Google Android
Squashed version of https://github.com/richgel999/jpeg-compressor/pull/10
with the line endings fixed (DOS to Unix).

See https://github.com/richgel999/jpeg-compressor/pull/10 and #30952
for details. Relates to CVE-2017-0700.

Fixes #30952.
2019-07-30 12:32:57 +02:00
Rémi Verschelde 7d76f3b393
Merge pull request #30944 from YeldhamDev/bottom_panel_icon_simplify
Make the expand icon in the bottom panel always be the same
2019-07-30 09:27:33 +02:00
Rémi Verschelde 71dbe398df
Merge pull request #30943 from ibrahn/fix-win-gettime-aliasing
Fix strict-aliasing warning in OS_Windows::get_unix_time.
2019-07-30 09:26:36 +02:00
Rémi Verschelde 9da24f7e3d
Merge pull request #30938 from nobuyukinyuu/2d-editor-zoom-p1
Changes default canvas_item_editor coarse zoom level from 1.5 to sqrt(2)
2019-07-30 00:57:43 +02:00
Ibrahn Sahir 3502a85ba8 Fix strict-aliasing warning in OS_Windows::get_unix_time. 2019-07-29 23:52:59 +01:00
Rémi Verschelde ffab25c95a
Merge pull request #27952 from Kanabenki/undo-close-tab
Add Undo Close Tab option in tabs context menu
2019-07-30 00:26:48 +02:00