Commit Graph

16718 Commits

Author SHA1 Message Date
Fabio Alessandrelli
5d91e87c64 Implement WebSocket close notify. 2018-09-24 01:50:37 +02:00
Rémi Verschelde
399910ddd8
Merge pull request #22357 from DualMatrix/no_built_in
Prevent built-in-scripts from being made from FileSystem dock
2018-09-23 18:37:45 +02:00
Rémi Verschelde
60312915dc Fix build after 65fd37c1, using Math_PI
Also fix style in shaders.
2018-09-23 18:26:57 +02:00
Rémi Verschelde
75e44badba
Merge pull request #22380 from allkhor/fix_scons_warning
Fixed scons warning: Ignoring missing 'core/helper/SCsub' after  #22351.
2018-09-23 18:18:57 +02:00
allkhor
79d6bde5ac Fixed scons warning: Ignoring missing 'core/helper/SCsub' after #22351. 2018-09-23 21:45:35 +06:00
DualMatrix
6dc0120c60 Prevent built-in-scripts from being made from FileSystem dock
Prevent built-in-scripts from being made from FileSystem dock
2018-09-23 17:38:59 +02:00
Juan Linietsky
65fd37c149 -Rewrote GLES2 lighting and shadows and optimized state changes, did many optimizations, added vertex lighting.
-Did some fixes to GLES3 too
2018-09-23 12:14:50 -03:00
Rémi Verschelde
7e3ce79ea9
Merge pull request #22346 from Paulb23/text_file_icon
Icon for TextFiles.
2018-09-23 17:10:57 +02:00
Rémi Verschelde
2c7908739a
Merge pull request #22351 from DualMatrix/remove_obsolete
Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/
2018-09-23 15:27:20 +02:00
DualMatrix
f483460e38 Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/
Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/
2018-09-23 14:58:15 +02:00
Rémi Verschelde
3b51022429
Merge pull request #22372 from akien-mga/cull-margin-range
Fix GeometryInstance extra_cull_margin step
2018-09-23 14:38:40 +02:00
Rémi Verschelde
68b1ac2d12
Merge pull request #22371 from akien-mga/locale-C
Fallback to "en" when invalid locale is requested
2018-09-23 14:38:25 +02:00
Rémi Verschelde
d4c75e608e Fix GeometryInstance extra_cull_margin step
Fixes #22369.
2018-09-23 13:58:58 +02:00
Rémi Verschelde
87535fe291 Fallback to "en" when invalid locale is requested
Close #22365.
2018-09-23 13:58:01 +02:00
Rémi Verschelde
8b2eeaa724
Merge pull request #22362 from homer666/physicsdirectspacestate-docs-update
[DOCS] PhysicsDirectSpaceState updates
2018-09-23 12:32:44 +02:00
Rémi Verschelde
81d713e5c2
Merge pull request #22342 from DualMatrix/duplicate_no_fun
Fixed duplicating nodes not attaching script in-game with Sync Scene Changes enabled
2018-09-23 11:57:03 +02:00
homer666
194f476095 [DOCS] PhysicsDirectSpaceState updates 2018-09-23 09:31:37 +10:00
Max Hilbrunner
2613e59f59
Merge pull request #22350 from volzhs/ignore-invalid-device
Ignore invalid device for Android
2018-09-22 18:57:11 +02:00
volzhs
3a2d707697 Ignore invalid device for Android 2018-09-23 01:41:24 +09:00
Max Hilbrunner
397b01d590
Merge pull request #22332 from Faless/udp_win_reset
Fix Winsock UDP ECONNRESET/ENETRESET bug
2018-09-22 17:23:30 +02:00
Max Hilbrunner
d878c828b5
Merge pull request #22115 from akerudesu/find-parent
Added find_parent method to node class
2018-09-22 17:15:38 +02:00
Max Hilbrunner
a4c2890a7b
Merge pull request #22335 from Faless/get_stream_string_no_len
StreamPeer get[_utf8]_string with negative length.
2018-09-22 16:51:43 +02:00
Max Hilbrunner
e863bbb3b0
Merge pull request #22339 from AndreaCatania/fixes2
Toward 3.1 - physics fixes
2018-09-22 16:47:57 +02:00
Paulb23
0dd1cb0dcc Icon for TextFiles 2018-09-22 15:17:17 +01:00
Fabio Alessandrelli
b9707ce08f StreamPeer get[_utf8]_string with negative length.
If the "bytes" parameter of get_string and get_utf8_string is negative,
the length will be read from the stream instead.
The bytes parameter has now a default (-1), allowing to use them
directly as reverses of put_string and put_utf8_string .
put_string was not implemented, so I implemented it to allow sending
ASCII strings (which are much smaller than UTF8 ones).
2018-09-22 13:35:41 +02:00
DualMatrix
9dec4dc07b Fixed duplicating nodes not attaching script in-game with Sync Scene Changes enabled
Fixed duplicating nodes not attaching script in-game with Sync Scene Changes enabled.
2018-09-22 12:37:21 +02:00
Andrea Catania
a3bdcb901f Correctly freed PhysicalBoneEditor 2018-09-22 11:27:30 +02:00
Andrea Catania
d226ba7c2b Corrected cast_motion query behaviour 2018-09-22 11:17:31 +02:00
Rémi Verschelde
29b093f9e8
Merge pull request #22340 from akien-mga/sort_text_editor_themes
Settings: Sort text editor themes alphabetically
2018-09-22 10:52:06 +02:00
Rémi Verschelde
29c557a29a
Merge pull request #21963 from YeldhamDev/dir_select_fix
Make EditorFileDialog be able to pick a folder when entering it
2018-09-22 10:31:21 +02:00
Andrea Catania
855a440071 Removed node from physical_bone_plugin 2018-09-22 10:14:52 +02:00
Rémi Verschelde
6555bf8837
Merge pull request #22325 from Chaosus/min_max_shader_improvement
Added missed min/max shader overloads
2018-09-22 10:11:18 +02:00
Rémi Verschelde
f0051394da Settings: Sort text editor themes alphabetically 2018-09-22 10:02:20 +02:00
Andrea Catania
29e01f97e4 Added rayshape solver algorithm to soft body configurator fixes #22283 fixes #22249 fixes #22281 2018-09-22 09:42:19 +02:00
Fabio Alessandrelli
c37442ef00 Fix Winsock UDP ECONNRESET/ENETRESET bug
Since Windows 2000:
Calling recv/recvfrom when an ICMP reply was received from a previous
send/sendto, may result in a WSAECONNRESET error.

Since Windows Vista(?)/Windows Server 2008:
Calling recv/recvfrom when an ICMP reply was received from a previous
send/sendto, may also result in a WSAENETRESET error.

Both those features are disabled by this commit using disabling
SIO_UDP_CONNRESET and SIO_UDP_NETRESET on newly created UDP sockets.
2018-09-22 04:09:42 +02:00
Fabio Alessandrelli
5a03d50921
Merge pull request #22327 from Faless/defective_by_design_is_the_windows_way
Use select instead of WSAPoll on Windows.
2018-09-22 02:02:10 +02:00
Fabio Alessandrelli
479d4fb741 Detect POLLERR revents too in NetSocketPosix.
Usually indicate an RST was received by a TCP socket.
2018-09-22 01:40:58 +02:00
Fabio Alessandrelli
a15db2d2b6 Use select instead of WSAPoll on Windows.
WSAPoll is broken by design.
It was announced as the new way to introduce compatibility to posix
sockets, their implementation was broken, and they decided not to fix it.

You can read the full story here:
https://daniel.haxx.se/blog/2012/10/10/wsapoll-is-broken/
2018-09-22 01:40:58 +02:00
Michael Alexsander Silva Dias
622bae393b Make EditorFileDialog be able to pick a folder when entering it 2018-09-21 19:42:06 -03:00
Chaosus
16e5ef6894 Added missed min/max shader overloads 2018-09-21 20:10:03 +03:00
Rémi Verschelde
ef7b384861 doc: Misc formatting fixes 2018-09-21 15:34:11 +02:00
Rémi Verschelde
eaef2cc6b5
Merge pull request #22032 from Windfisch/docfix
Add documentation details about Image formats and color space conversion
2018-09-21 15:21:24 +02:00
Max Hilbrunner
a384cffc44
Merge pull request #22316 from Faless/poll_more_checks_easy_squash
Add checks for clean disconnect in HTTP/TCP/SSL.
2018-09-21 15:03:55 +02:00
Max Hilbrunner
0279985a70
Merge pull request #22218 from char0xff/doc_editorpluginsinterface
Improve EditorPlugin.xml and EditorInterface.xml
2018-09-21 14:58:27 +02:00
Fabio Alessandrelli
92de6df113 Add checks for clean disconnect in HTTP/TCP/SSL.
Half-open TCP connection can, of course, only be detected by
writing the socket, or waiting for TCP timeout.
2018-09-21 14:34:57 +02:00
Rémi Verschelde
94403af7ad
Merge pull request #22310 from groud/remove_unsplit_mode
Remove auto disabling of the split-view in the FileSystem dock
2018-09-21 12:40:57 +02:00
groud
f19dfc1aa8 Remove auto disabling of the split-view in the FileSystem dock 2018-09-21 12:19:50 +02:00
Rémi Verschelde
534b7ef292
Merge pull request #22174 from cyclopsian/obj-paths
Check for absolute paths in OBJ loader
2018-09-21 10:32:18 +02:00
Rémi Verschelde
f22f83f2df
Merge pull request #22308 from groud/fix_filesystem_setting
Fixes filesystem display mode not updating at startup
2018-09-21 10:28:05 +02:00
Rémi Verschelde
d26c6b28a6 doc: Fixes to rst converter 2018-09-21 09:50:21 +02:00