Commit Graph

16699 Commits

Author SHA1 Message Date
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
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
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
groud 77a6a467b3 Fixes filesystem display mode not updating at startup 2018-09-21 09:42:41 +02:00
Rémi Verschelde 78e335566b
Merge pull request #22304 from YeldhamDev/filedock_path_start_fix
Make filesystem dock's path bar start with said path written
2018-09-21 09:36:44 +02:00
Rémi Verschelde 83758a9004 doc: Sync classref with current source 2018-09-21 09:33:05 +02:00
Michael Alexsander Silva Dias ab2eac8e3f Make filesystem dock's path bar start with said path written 2018-09-21 04:05:50 -03:00
Rémi Verschelde 8e4b18a721
Merge pull request #22298 from LikeLakers2/docs-header-fix
Fix the weird method linking issue when the previous method's description ends with a code block
2018-09-21 08:04:34 +02:00
LikeLakers2 268ae71fae Fix the weird method linking issue when the previous method's description ends with a code block 2018-09-20 18:14:47 -04:00
Juan Linietsky d9e88bccbe
Merge pull request #22295 from groud/fix_2D_IK
Fixes 2D Inverse Kinematic
2018-09-20 17:55:37 -03:00
groud de01b7941d Fixes 2D IK 2018-09-20 22:33:49 +02:00
Rémi Verschelde 34f8441434
Merge pull request #22047 from DualMatrix/better_nav_2D
Better heuristic for the shortest path algorithm for navigation2D
2018-09-20 22:31:22 +02:00
Rémi Verschelde 6d46e553f9
Merge pull request #22277 from akien-mga/main-refactor
Main: Group static members and add some docs
2018-09-20 22:30:31 +02:00
Rémi Verschelde 58466b5b3a
Merge pull request #22233 from JFonS/fix_20061
Fix lighting of rotated particles in 2D
2018-09-20 22:23:33 +02:00
Rémi Verschelde db2d999ea5
Merge pull request #22155 from LittleWhite-tb/21718-font-leak
Clear textures before setting new textures
2018-09-20 21:46:38 +02:00
Rémi Verschelde 76ca46d1f4
Merge pull request #22225 from groud/fix_draw_on_viewport
Fixes drawing of the 2D plugins on the 3D view
2018-09-20 21:45:16 +02:00
Rémi Verschelde f93a69cb6e
Merge pull request #22287 from Chaosus/fix_warning
Fix "This control can't grab focus." warning spam
2018-09-20 21:41:53 +02:00
DualMatrix 0b5c694b74 Better heuristic for the shortest path algorithm for navigation2D and navigation.
Better heuristic for the shortest path algorithm for navigation2D and navigation.
It now will use the shortest distance to the polygon as cost instead of the distance to the center.
2018-09-20 21:23:17 +02:00
Rémi Verschelde 0b705d5583
Merge pull request #22068 from akien-mga/default-editor-layout
EditorNode: New default dock layout
2018-09-20 19:57:30 +02:00
Rémi Verschelde 46d8a28314
Merge pull request #22094 from elasota/fix-visual-shader
Fix VisualShader code overwrites and save failures
2018-09-20 18:46:20 +02:00
Rémi Verschelde 14632cf88f
Merge pull request #22239 from Chaosus/fix_vs_connection
Disconnects previous visual shader node before making a new connection
2018-09-20 18:46:02 +02:00
Rémi Verschelde 8e0dfe5501 EditorNode: New default dock layout
As discussed with @reduz, now that the FileSystem dock is getting
files display in tree view (#21426), we can change the docks layout
again to give more height to the new inspector.

The new layout is thus:
- Top left: Scene and Import docks
- Bottom left: FileSystem
- Right (full height): Inspector and Node docks

The 2nd left (LEFT_R) and 1st right (RIGHT_L) VSplitContainers (the
ones in use) also get an additional 40px of width compared to their
previous size (which was the minimum size).

Fixes #21480.
2018-09-20 18:35:38 +02:00