Commit Graph

6384 Commits

Author SHA1 Message Date
Fabio Alessandrelli
619e7a2c8b Bind to IPv4 on OpenBSD when using wildcard
OpenBSD does not support binding on both IPv4 and IPv6 using the same socket
2017-01-23 20:18:23 +01:00
Fabio Alessandrelli
88a56ba783 Remove set_ip_type from network classes (no longer needed)
- TCP:
  - `listen` bind to wildcard "*" -> dual stack socket
  - `listen` bind to address -> socket from address type
  - `connect` -> resolve using best protocol (UNSPEC), socket from address type

- UDP:
  - `listen` bind to wildcard "*" -> dual stack socket
  - `listen` bind to address -> socket from address type
  - `put_packet`/`put_var` -> resolve using TYPE_ANY (UNSPEC), socket from address type
    (to change socket type you must first call `close` it)
2017-01-23 20:18:22 +01:00
Fabio Alessandrelli
2fe4ef6699 Implement UDP listen bind address 2017-01-23 20:18:18 +01:00
Fabio Alessandrelli
b2839343ca Implement TCP Server bind address 2017-01-23 20:15:20 +01:00
Fabio Alessandrelli
4198291cd4 IP_Address can now be a wildcard (not a valid IP, used for binding) 2017-01-23 20:15:20 +01:00
Fabio Alessandrelli
98a7e2b4e0 Convert validity checks of IP_Address to is_valid method. 2017-01-23 20:15:20 +01:00
Fabio Alessandrelli
e4b9b37ccf Avoid calling close when polling a UDP peer without socket 2017-01-23 20:15:20 +01:00
Rémi Verschelde
8e84e53ebb Merge pull request #7574 from RayKoopa/canvas_item_fix_is_hidden
Fix Spatial::is_visible and editor calls to CanvasItem/Spatial::is_visible
2017-01-19 16:12:00 +01:00
Rémi Verschelde
3a7923a857 Use Markdown comments in the issue template 2017-01-19 11:04:59 +01:00
Juan Linietsky
34016a8b73 Merge pull request #7577 from tagcup/issue_7476
Use property convention introduced in b085c4 (_ rather than / as sepa…
2017-01-18 22:01:57 -03:00
Ferenc Arn
81d9fe44df Use property convention introduced in b085c4 (_ rather than / as separator).
Fixes #7476.
2017-01-18 18:56:27 -06:00
Ray Koopa
faa13adad3 Fix editor method calls to is_visible for Spatial and CanvasItem and is_visible itself for Spatial 2017-01-18 22:00:00 +01:00
Rémi Verschelde
ca14dd296a Merge pull request #7572 from BastiaanOlij/fix_math
Some changes in the header so Godot3 compiles again on Windows.
2017-01-18 15:48:39 +01:00
BastiaanOlij
d11a4c1120 Some changes in the header so Godot3 compiles again on Windows. 2017-01-18 21:55:47 +11:00
Rémi Verschelde
430b008b0d Fix typo in issue template 2017-01-17 20:06:27 +01:00
Rémi Verschelde
f9d6fbc5bd Fix issue template as people started ignoring it 2017-01-17 19:48:59 +01:00
Rémi Verschelde
79480a69cd Merge pull request #7566 from karroffel/ptrcall-fix
updated method_ptrcall.h to use 3.0 naming
[ci skip]
2017-01-17 11:40:43 +01:00
karroffel
fb16f09b15 updated method_ptrcall.h to use 3.0 naming 2017-01-17 11:36:17 +01:00
Rémi Verschelde
6ab023fab5 Merge pull request #7564 from djrm/icons
Icons
2017-01-17 06:39:59 +01:00
Daniel J. Ramirez
26d8ee0308 Added some missing icons and modified others 2017-01-16 23:09:16 -06:00
Daniel J. Ramirez
949d4208ed icon fixes 2017-01-16 20:08:38 -06:00
Rémi Verschelde
23eb355ebb Merge pull request #7562 from RandomShaper/ordered-image-group-files
Make image-groups map in export.cfg ordered
2017-01-16 21:05:16 +01:00
Pedro J. Estébanez
7576476705 Make image-groups map in export.cfg ordered
This improves the VCS experience because otherwise they change their order everytime producing spurious changes.
2017-01-16 20:22:35 +01:00
Rémi Verschelde
d13f2f9e25 Merge pull request #7560 from volzhs/issue-7555
Fix crash when creating new project
2017-01-16 20:10:34 +01:00
Rémi Verschelde
3000c2d967 Merge pull request #7540 from volzhs/default-rot
Change camera default rotation
2017-01-16 20:08:37 +01:00
Rémi Verschelde
af871d22e2 Merge pull request #7536 from GodotExplorer/pr-copy-node-path
Add 'Copy Node Path' action to right mouse menu
2017-01-16 20:07:03 +01:00
Rémi Verschelde
bf05dab74f Merge pull request #7532 from tagcup/pcg_prng
Replace the existing PRNG (Xorshift31) with (minimal) PCG-32.
2017-01-16 20:06:54 +01:00
volzhs
57350faee4 Fix crash when creating new project 2017-01-17 03:50:42 +09:00
Rémi Verschelde
0a9aee6b1d Merge pull request #7558 from Faless/fix_windows_output
Fix gibberish output for windows/mingw.
2017-01-16 19:28:03 +01:00
Rémi Verschelde
7b059965e8 Adapt platforms to AudioServer refactoring
Fixes compilation on Windows and likely other platforms (at least
as far as AudioServer changes were concerned), though they were
not tested.
2017-01-16 19:19:45 +01:00
Fabio Alessandrelli
3df934acad Fix gibberish output for windows/mingw.
%ls should be used instead of %s or %S to speficy narrow/wide charstring
in wprintf fwprintf

Fixes #6252
2017-01-16 18:56:28 +01:00
volzhs
0ecf7f7ca0 Change camera default rotation 2017-01-17 02:23:23 +09:00
Rémi Verschelde
6a3dae5be9 zlib: Update to upstream version 1.2.11 2017-01-16 17:58:34 +01:00
Jerome67000
8c19a6cb85 #7215 try to fix adb bad targeting user on device 2017-01-16 17:53:12 +01:00
Rémi Verschelde
ed96a3da8d Merge pull request #7553 from Faless/tcp-win-fix
Fix bug in windows TCP poll function
2017-01-16 16:00:23 +01:00
Fabio Alessandrelli
c356ec5e8b Fix bug in windows TCP poll function
Bug introduced when implementing TCP disconnection detection.
(too much yank-paste).
Fixes #7545
2017-01-16 15:50:20 +01:00
Rémi Verschelde
0c80bc2579 Merge pull request #7457 from BastiaanOlij/glew3-ios
Working on compile issues for iOS
2017-01-16 13:47:01 +01:00
BastiaanOlij
3a02df7739 Working on compile issues for iOS 2017-01-16 23:14:13 +11:00
Rémi Verschelde
eeea116022 Merge pull request #7548 from BastiaanOlij/audio3-osx
Fix compile errors related to audio on OSX
2017-01-16 11:05:15 +01:00
BastiaanOlij
cef0ae5d5d Fix compile errors related to audio on OSX 2017-01-16 20:32:44 +11:00
Rémi Verschelde
2a0ddc1e89 Style: Various fixes to play nice with clang-format 2017-01-16 08:49:52 +01:00
Rémi Verschelde
39114178a0 Style: Prevent clang-format on JS code 2017-01-16 08:49:52 +01:00
Rémi Verschelde
f44ee891be Style: Fix statements ending with ';;' 2017-01-16 08:49:52 +01:00
Rémi Verschelde
e2a3f06f3d Style: Keep long lines for now
clang-format does not play well with tab-aligned multiline statements...
Some more research will be needed if we want to set a column limit.
2017-01-16 08:48:24 +01:00
Rémi Verschelde
40323407df Style: No break before list brace
clang-format does not handle that well *at all*.

For the reference, found the relevant pieces of code with:
`ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty`
2017-01-16 08:48:24 +01:00
Rémi Verschelde
3890256fc5 Style: Cleanups, added headers, renamed files
Made sure files in core/ and tools/ have a proper Godot license header
when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h}
to rect3.{cpp,h} and class_db.{cpp,h} respectively.

Also added a proper header to core/io/base64.{c,h} after clarifying
the licensing with the original author (public domain).
2017-01-16 08:04:23 +01:00
Ferenc Arn
4c9004671a Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant with 32-bit output, 64-bit state).
PCG is better than many alternatives by many metrics (see www.pcg-random.org) including statistical quality with good speed.
2017-01-15 19:15:16 -06:00
Juan Linietsky
b400c69cd4 Oops! Audio engine has vanished :D 2017-01-15 16:07:51 -03:00
Franklin Sobrinho
b24b52d56b Add a API to add/remove items to the "Tools" menu 2017-01-15 16:42:24 +01:00
Rémi Verschelde
e0faf8a51b Style: Cosmetic fixes to play nice with clang-format 2017-01-15 16:42:17 +01:00