Commit Graph

22567 Commits

Author SHA1 Message Date
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
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
Rémi Verschelde 73d2a99761
Merge pull request #30911 from hadrien-psydk/optimize_dir_access_unix_get_next_lnk
Optimize DirAccessUnix::get_next() for some file systems (with link support)
2019-07-30 00:12:30 +02:00
nobuyuki_nyuu 3f516622c3 Changes default coarse 2d zoom level from 1.5 to sqrt(2). 2019-07-29 17:12:03 -05:00
Rémi Verschelde 14e3d29f0c
Merge pull request #30890 from KoBeWi/how_to_action
Clarify is_action_pressed() for multiple assigned buttons
2019-07-30 00:07:49 +02:00
Rémi Verschelde d15090e275
Merge pull request #30909 from Kaligule/patch-1
Add a reference to pow to the description of exp.
2019-07-30 00:06:30 +02:00
Michael Alexsander Silva Dias d6988b7d2b Make the expand icon in the bottom panel always be the same 2019-07-29 18:08:05 -03:00
Rémi Verschelde b697121d75
Merge pull request #30895 from clayjohn/gles2-shader-funcs
Added round function to gles2
2019-07-29 22:43:26 +02:00
Rémi Verschelde 961b9b30e3
Merge pull request #30932 from Dragoncraft89/master
Translate TabContainer titles, when inherited from node name
2019-07-29 22:41:07 +02:00
Rémi Verschelde 10c015b730 i18n: Sync translation template with current source 2019-07-29 21:40:51 +02:00
Rémi Verschelde 1babc23d95 i18n: Sync translations with Weblate 2019-07-29 21:40:01 +02:00
Rémi Verschelde adffd9aaef
Merge pull request #30935 from YeldhamDev/gdnative_plugin_fix
Fix 'GDNativeLibrary' editor being incorrectly opened
2019-07-29 21:38:37 +02:00
Rémi Verschelde baa1d0c3d0
Merge pull request #30923 from NilsIrl/better_dropdown
Improve platform selection in the GDNativeLibrary dock
2019-07-29 21:38:21 +02:00
Rémi Verschelde 051b5b3d15 doc: Sync classref with current source 2019-07-29 21:12:57 +02:00
clayjohn 3f25dde6b4 added round function to gles2 2019-07-29 11:17:08 -07:00
Michael Alexsander Silva Dias 147990cb6d Fix 'GDNativeLibrary' editor being incorrectly opened 2019-07-29 15:05:49 -03:00
Rémi Verschelde cc0e5e51b8
Merge pull request #30931 from guilhermefelipecgs/fix_30917
Fix set_default_cursor_shape always sending motion event
2019-07-29 19:31:26 +02:00
Florian Kothmeier 65101c9a20
Translate TabContainer titles, when inherited from node name 2019-07-29 19:07:56 +02:00
Guilherme Felipe 508761e0cd Fix set_default_cursor_shape always sending motion event 2019-07-29 14:00:37 -03:00
Rémi Verschelde b90ef52ece Find trailing whitespace and indentation in gdnative_api.json 2019-07-29 18:48:21 +02:00
Rémi Verschelde e5e1d7c178
Merge pull request #30928 from NilsIrl/remove_useless
Remove useless variable and line in OptionButton
2019-07-29 18:43:48 +02:00
Kaligule a2c81a7455 Add a reference to pow to the description of exp.
This might be especially usefull since godot script doesn't support ** or ^ as operators, so beginners might search for the exponential function, when what they really need is the pow function.

This is exactly what happened to me and since I couldn't find helpfull information in the documentation I had to look it up online, where I found the answer on a helpfull [reddit thread](https://www.reddit.com/r/godot/comments/3mvwz0/how_do_i_do_exponents_in_godot/).

@akien-mga told me how to reference methods here:
godotengine#30909
2019-07-29 18:17:52 +02:00
NilsIrl abceb74b49 Remove useless variable and line in OptionButton 2019-07-29 17:41:28 +02:00
Rémi Verschelde a19c15d105
Merge pull request #30926 from NilsIrl/if_to_switch
Change if to switch in OptionButton
2019-07-29 17:30:21 +02:00
NilsIrl dfecd62235 Change if to switch in OptionButton 2019-07-29 16:47:47 +02:00
Rémi Verschelde 639127de09
Merge pull request #30898 from clayjohn/max-lights-reflections
Add project setting for max lights and reflections in GLES3
2019-07-29 16:01:53 +02:00
Hadrien e02c5ef48a Optimize DirAccessUnix::get_next() for some file systems
On some file systems, like ext4 on Linux, readdir() gives enough
information to determine the entry type in order to avoid doing
a stat() system call.

Use this information and call stat() only if necessary: for file
systems that do not support this feature and for links.
2019-07-29 15:02:26 +02:00