Fabio Alessandrelli
f6e8579569
Skip RPC/RSET when MASTERSYNC and we are master.
2018-09-25 17:45:28 +02:00
allkhor
79d6bde5ac
Fixed scons warning: Ignoring missing 'core/helper/SCsub' after #22351 .
2018-09-23 21:45:35 +06: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
87535fe291
Fallback to "en" when invalid locale is requested
...
Close #22365 .
2018-09-23 13:58:01 +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
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
c19dc39630
Merge pull request #22201 from DualMatrix/error_spam_2_electric_boogaloo
...
Fixed error spam in remote debugger
2018-09-20 14:45:21 +02:00
Aaron Franke
5f4f9ca4a5
Fix: Strip integer part in "decimals"
...
Note: Core only.
2018-09-19 23:47:33 -04:00
DualMatrix
54286e1711
Fixed error spam in remote debugger
...
Fixed error spam in remote debugger.
2018-09-19 11:32:11 +02:00
Rémi Verschelde
c4f14e091c
Color: Fix rounding error converting from float to 8-bit
...
Fixes #16736 .
2018-09-18 17:11:15 +02:00
Rémi Verschelde
7f5e653a22
Merge pull request #22066 from Faless/bundle_certs
...
Bundle SSL certs with the templates
2018-09-16 01:22:47 +02:00
Fabio Alessandrelli
26677d5e0c
Fix HTTPClient _get_http_data bug after #21976 .
2018-09-15 21:17:15 +02:00
Fabio Alessandrelli
0e56377e96
Allow system certs file to be used by Editor.
...
Note, it will only used by the Editor, not when running the game.
This allows package maintainer to compile Godot to use system installed
certificates when accessing the AssetLib.
2018-09-15 14:45:54 +02:00
Fabio Alessandrelli
d2b38aabec
Bundle SSL certs with the templates.
...
If this is undesired it can be avoided by specifying builtin_certs=no .
Bundled SSL certs will be used unless you specify an override in:
Project Settings -> SSL -> Certificates .
2018-09-15 10:54:00 +02:00
Rémi Verschelde
4547e22393
doc: Sync classref with current source
2018-09-15 03:13:47 +02:00
Fabio Alessandrelli
1e9b46d687
Clearly deprecate sync too in favor of remotesync.
...
NOTE: This changes the RPC_MODE_* enum values.
Games should be re-exported. GDNative rebuilt.
2018-09-15 00:06:03 +02:00
Fabio Alessandrelli
d6b31daec6
Rename slave keyword to puppet
...
The slave keyword will still be available as deprecated in 3.1 but will
be dropped from future releases.
2018-09-15 00:06:03 +02:00
Rémi Verschelde
c9df3fbfdb
Merge pull request #21954 from isaacremnant/fix_inputs
...
Fix is_action_pressed for InputEventActions
2018-09-14 18:06:11 +02:00
elasota
88c74aa017
Fix FileAccessCompressed::get_8 returning 0 for the last byte of a file
2018-09-13 19:10:35 -04:00
Rémi Verschelde
1259cbf13c
Merge pull request #21976 from Faless/http_client_eof_fix
...
Fix non chunked HTTP reading till eof.
2018-09-13 11:17:14 +02:00
Rémi Verschelde
3d0638b8e9
Merge pull request #22020 from Faless/tcp_fix
...
Fix TCP connecting state not set correctly
2018-09-13 11:04:01 +02:00
Rémi Verschelde
1a16dabfb5
Merge pull request #21982 from luzpaz/misc-typos
...
Misc. typos
2018-09-13 10:59:00 +02:00
Fabio Alessandrelli
3d12eb6ca2
Fix TCP connecting state not set correctly
2018-09-13 08:08:55 +02:00
luz.paz
08bde5b2de
Misc. typos
...
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Fabio Alessandrelli
634d057a52
Less verbose ScriptDebugger, message on connect.
...
Short diff, long explaination:
This will hopefully clarify whether or not issues are about the dubgger
like the case of the never ending thread about MacOS "Remote debugger
fails", which started as a real issue, and ended up being referenced for
every strange OSX issue where the window was not visible or the engine
crashed without appearing on screen.
2018-09-13 01:57:58 +02:00
Fabio Alessandrelli
30327872e0
Unify StreamPeerTCP/TCP_Server with NetSocket API
2018-09-12 15:56:20 +02:00
Fabio Alessandrelli
1b99806b47
Unify PacketPeerUDP using NetSocket
2018-09-12 15:56:16 +02:00
Fabio Alessandrelli
b4e3be7519
New NetSocket interface, BSD/Win implementation
...
Unified BSD and Winsock sockets into a single implementation of a
generic NetSocket interface.
This is some ground work for few network improvements:
- Reuse as much code as possible between Posix and Windows.
- Provide a single point of implementation for exotic sdks (consoles).
- Provide platform agnostic StreamPeerTCP and PacketPeerUDP in core.
- Implement connect for UDP allowing for DTLS implementation.
2018-09-12 15:46:37 +02:00
Fabio Alessandrelli
ab0e610e86
Fix non chunked HTTP reading till eof.
2018-09-12 12:42:48 +02:00
Rémi Verschelde
277b24dfb7
Make core/ includes absolute, remove subfolders from include path
...
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
isaacremnant
bf16f89a30
Fix is_action_pressed for InputEventAction.
2018-09-10 15:15:06 -04:00
DualMatrix
35248a03be
Fixed error spam when inspecting remote tree
...
Fixed error spam when inspecting remote tree, fixes #20365
2018-09-08 00:48:39 +02:00
Juan Linietsky
f1e5b7cf42
Print an error if you try to instantiate an editor class outside the editor, fixes #17624
2018-09-06 21:07:46 -03:00
Jared
4ccf25a577
Added multi-monitor support for center_window()
2018-09-03 07:41:04 +03:00
Juan Linietsky
19d57894d8
Change ResourceLoader::load to make it more thread safe.
2018-09-02 14:00:16 -03:00
Michael Alexsander Silva Dias
cf183efbcf
Change some instances of args named "ev" to "event"
2018-09-01 17:03:41 -03:00
DualMatrix
a35286e24b
Fixed duplicating AnimationPlayers leaving empty tracks.
...
Fixed duplicating AnimationPlayers leaving empty tracks.
I don't think duplicating arrays worked before. There was even this weird
//does not make a long of sense but should work
comment at the changed line. Fixes #21616
2018-09-01 13:56:17 +02:00
Rémi Verschelde
9eb4d4ab2d
Add missing copyright headers
2018-08-29 22:41:17 +02:00
Fabio Alessandrelli
97757cd1d1
Fix DNS resolution when cache is invalid.
...
Fix StreamPeerTCP.connect_to_host return value.
2018-08-28 12:32:04 +02:00
Juan Linietsky
0565adb20f
Removed fallback system and merged bptc into s3tc
2018-08-27 13:47:35 -03:00
Rémi Verschelde
66778eae71
Merge pull request #21420 from elasota/fix-last-mipmap
...
Fix uninitialized mipmap levels
2018-08-27 17:48:41 +02:00
Rémi Verschelde
72996df656
Revert "Try closing gracefully before terminating process"
2018-08-27 17:32:43 +02:00
Ignacio Etcheverry
78bb53f85d
Merge pull request #21205 from KellyThomas/c-sharp-feature-parity-quat
...
[Mono] Quat - add some missing constructors and methods
2018-08-27 16:18:09 +02:00
elasota
de2a36505a
Fix mipmap levels not being initialized
2018-08-25 17:22:53 -04:00
Juan Linietsky
8c435a343e
Merge pull request #16927 from neikeq/rework-refcount-notify
...
Notify instance binding data api of refcount increment/decrement
2018-08-25 11:01:55 -03:00
Juan Linietsky
c6b340ea98
Merge pull request #20712 from marcelofg55/midi_open_close
...
Add OS::open_midi_inputs and OS::close_midi_inputs
2018-08-24 12:17:14 -03:00
Juan Linietsky
c6e3394d55
Fix bug leading to crashes in CSG due to bug in OAHashMap, closes #20403
2018-08-24 10:02:43 -03:00
Rémi Verschelde
52466d57e9
Make some debug prints verbose-only, remove others
2018-08-24 14:59:01 +02:00
Rémi Verschelde
de59fe04e7
Add print_verbose to print to stdout only in verbose mode
...
Equivalent of the cumbersome:
if (OS::get_singleton()->is_stdout_verbose())
print_line(msg);
2018-08-24 09:23:20 +02:00