Commit graph

24246 commits

Author SHA1 Message Date
Rémi Verschelde
dac22c4b13
Merge pull request #33070 from Faless/net/fix_connect
Use WSAConnect instead of connect on Windows.
2019-10-25 21:17:50 +02:00
Rémi Verschelde
81373b9633
Merge pull request #33069 from Faless/mp/fix_cache_cleanup
MultiplayerAPI cleanup cache when peer disconnects
2019-10-25 21:16:13 +02:00
Fabio Alessandrelli
d780570faf Use WSAConnect instead of connect on Windows.
The misterious windows networking stack...
Using connect instead of WSAConnect causes socket error 10022 under
certain conditions.
See: https://github.com/godotengine/webrtc-native/ (issue 6)
Having to guess, code path for connect is different then WSAConnect with
NULL extra parameters.
The only reference about weird error with this code mentions something
called "Windows Filtering Platform" but windows internals are, as
always, obscure.

This might be something to try and report to Microsoft if anyone has the
time to spare with the likely outcome of being ignored.
2019-10-25 18:13:51 +02:00
Fabio Alessandrelli
198af06ff6 MultiplayerAPI cleanup cache when peer disconnects
We used to only cleanup path_get_cache and not path_send_cache causing
issues when a peer disconnects and then reconnects with the same ID.
2019-10-25 18:03:58 +02:00
Rémi Verschelde
6ce35e176f
Merge pull request #33065 from Calinou/textedit-fix-background-color
Fix the default TextEdit background color
2019-10-25 16:35:42 +02:00
Rémi Verschelde
3c7cd84a84
Merge pull request #33060 from bruvzg/ios_zlib
Fix missing `z_verbose` and `z_error` symbols in the debug iOS build.
2019-10-25 16:35:22 +02:00
Rémi Verschelde
b72baf2ca2
Merge pull request #33064 from yeonghoey/mingw-secure-api-32
Specify MINGW_HAS_SECURE_API=1
2019-10-25 16:25:53 +02:00
Hugo Locurcio
c5279432fd
Fix the default TextEdit background color
This closes #32724.
2019-10-25 14:51:59 +02:00
bruvzg
1a0306abb1
Fix missing z_verbose and z_error symbols in debug iOS build. 2019-10-25 15:51:17 +03:00
Rémi Verschelde
96f92e5bfa
Merge pull request #32951 from Klowner/tween-follow-null-bug
fix Tween follow_property finishing with null
2019-10-25 13:40:55 +02:00
Yeongho Kim
c8c8f1b8a4 Specify MINGW_HAS_SECURE_API=1 2019-10-25 20:03:53 +09:00
Rémi Verschelde
f259beb4f1
Merge pull request #33048 from KoBeWi/smarts_vs_grids
Make Ruler Tool depend on grid snap only
2019-10-25 12:06:03 +02:00
Rémi Verschelde
2869c13ba2
Merge pull request #33046 from zatherz/master
Don't terminate search if begin_key doesn't fit (Fixes #33034)
2019-10-25 08:37:41 +02:00
Rémi Verschelde
1c4b2a80b6
Merge pull request #33043 from volzhs/ruler-zoom
Fix ruler origin is moving with zoom
2019-10-25 07:48:37 +02:00
Rémi Verschelde
86abf62e48
Merge pull request #32326 from starryalley/ios_get_model_name
ios: support get_model_name
2019-10-25 07:41:28 +02:00
Rémi Verschelde
325232fbc4
Merge pull request #33051 from volzhs/inspector-stylebox
Make stylebox preview not to expand Inspector panel
2019-10-25 07:39:14 +02:00
Rémi Verschelde
66ccdebbb3
Merge pull request #33045 from nekomatata/cpu-particle-uninitialized-member
Fixed emitting not initialized correctly in cpu particles 2d/3d
2019-10-25 07:24:36 +02:00
Rémi Verschelde
b1e4a62ee0
Merge pull request #33021 from 20kdc/doc-animationplayer-quirks
Document AnimationPlayer's quirks in regards to late updates
2019-10-25 07:21:45 +02:00
Rémi Verschelde
7a0a39cd52
Merge pull request #33041 from volzhs/help-font-size
Recalculate margin based on help source font size
2019-10-25 07:13:58 +02:00
volzhs
f8e592f607 Make stylebox preview not to expand Inspector panel 2019-10-25 06:20:52 +09:00
Tomasz Chabora
50528b966d Make Ruler Tool depend on grid snap only 2019-10-24 22:31:19 +02:00
volzhs
4beeb0fc0f Fix ruler origin is moving with zoom 2019-10-25 05:19:13 +09:00
Zatherz
72d2248276 Don't terminate search if begin_key doesn't fit
Previously this code would continue onto the next iteration of the loop if the line was smaller in size than begin_key, meaning that a situation where begin_key.length() > end_key.length() would cause weird behavior with newlines. Now both the checks for begin_key and end_key are in their own condition and do not skip the entire iteration if they can't be found.
2019-10-24 21:59:02 +02:00
PouleyKetchoupp
1e0f37a70f Fixed emitting not initialized correctly in cpu particles 2d/3d
Fixes uninitialized variable caused by PR #32921
2019-10-24 21:38:01 +02:00
20kdc
170668d92e Document AnimationPlayer's quirks in regards to play updating on next process & similar. (Squashed Edition) 2019-10-24 20:11:12 +01:00
Rémi Verschelde
930d6d8ca4
Merge pull request #33042 from qarmin/fix_leak_capsule_shape
Fix leak in Physics2DServerSW
2019-10-24 21:04:16 +02:00
Rémi Verschelde
68a54803c2
Merge pull request #33035 from bruvzg/macos_fix_warnings
Fix compilation warnings in macOS build, enable `warnings=extra werror=yes`
2019-10-24 20:57:38 +02:00
Rémi Verschelde
ea901b263c
Merge pull request #33036 from Faless/js/no_ecma6
Remove ECMAScript 6 "arrow operator".
2019-10-24 20:48:50 +02:00
volzhs
69c5d637f2 Recalculate margin based on help source font size 2019-10-25 03:28:53 +09:00
Rafał Mikrut
d468e28874 Fix leak in Physics2DServerSW 2019-10-24 20:12:46 +02:00
bruvzg
7b64340eb0
Fix compilation warnings in macOS build, enable warnings=extra werror=yes for macOS CI. 2019-10-24 20:37:56 +03:00
Rémi Verschelde
40a25c1e86
Merge pull request #33029 from akien-mga/rm-rf-slash
Fix uninstallation of mono templates directory
2019-10-24 16:50:54 +02:00
Fabio Alessandrelli
9d13a37b81 Remove ECMAScript 6 "arrow operator".
We don't need it, it's not well supported by compilers, and it was a
mistake in the first place.
2019-10-24 16:46:31 +02:00
Rémi Verschelde
982774e639
Merge pull request #33033 from volzhs/fix-tooltip
Fix rendering tooltip
2019-10-24 16:17:25 +02:00
Rémi Verschelde
9d347a2f24
Merge pull request #33031 from volzhs/inspector-font
Fix incorrect text rendering with smaller display scale
2019-10-24 16:17:02 +02:00
Rémi Verschelde
091c37d921
Merge pull request #33030 from Xrayez/vformat-err-msg
Display error messages in console when vformat is called
2019-10-24 16:15:57 +02:00
volzhs
63e6b1ecce Fix rendering tooltip 2019-10-24 22:48:20 +09:00
volzhs
f8a81e21db Fix incorrect text rendering with smaller display scale 2019-10-24 22:29:41 +09:00
Andrii Doroshenko (Xrayez)
113765b135 Display error messages in console when vformat is called 2019-10-24 15:14:55 +03:00
Rémi Verschelde
47746e10cb Fix uninstallation of mono templates directory
The previous code didn't take into account that templates directories
can have subdirectories like the mono templates have.
Also fix an unclosed dir handle.
2019-10-24 13:54:06 +02:00
Rémi Verschelde
79dae3a87e
Merge pull request #33028 from bruvzg/mac_dock_proj_list
[macOS ] Project manager dock menu improvements.
2019-10-24 12:51:18 +02:00
Rémi Verschelde
31ca1f5aa1
Merge pull request #33012 from madmiraal/vmap-array-operator
Initialise VMap and HashMap values to the default when they are created.
2019-10-24 12:50:48 +02:00
bruvzg
2f3db42de8
Update dock menu on project list changes, add favourites separator. 2019-10-24 13:25:21 +03:00
Rémi Verschelde
0d9f87b37e
Merge pull request #33023 from rxlecky/video-player-refactor
Refactor VideoPlayer and VideoStream
2019-10-24 12:08:24 +02:00
Rémi Verschelde
3c033f84b1
Merge pull request #33025 from akien-mga/travis-android-ndk-r20
Travis: Update Android NDK to r20
2019-10-24 12:04:07 +02:00
Rémi Verschelde
156b96af8a Travis: Update Android NDK to r20
Drop unused and outdated OSX setup.
2019-10-24 10:15:24 +02:00
Marcel Admiraal
ce352ce5b4 Initialise VMap and HashMap values to the default when they are created.
Assigns a default value in VMap and HashMap when new keys are created using
the array operator so they are the same as the other Map classes.

The non const version of the array operator can be used for both assigning a
value and retrieving a writeable version. In the Map template classes the
assign version is being used to create new keys, but sometimes not assigning
a value when retrieving a writeable version.

This does not address the problem that the default value may not be the
correct one, and it does not address the problem that new keys probably
should not be created when the array operator is used. These problems will
be addressed in a separate commit.
2019-10-24 08:18:34 +02:00
SeleckyErik
61bda112bd Refactor VideoPlayer and VideoStream
VideoStream:
- Fix const correctenss

VideoPlayer:
- Remove unused member variable last_frame
- Move _mix_audios function definition to source file
- Fix function parameter naming to match p_ convention
- Fix const correctness
- Add null checking
2019-10-24 01:35:47 +01:00
Mark Riedesel
d0b528e4a8 Fix Tween follow_property finishing with null 2019-10-23 16:38:43 -04:00
Rémi Verschelde
35944aebde
Merge pull request #33019 from volzhs/class_icon
Resize custom class icon
2019-10-23 21:48:40 +02:00