Commit graph

6559 commits

Author SHA1 Message Date
Fabio Alessandrelli
68dc969f8c Fix bug causing UDP socket to close after the first send if not listening
The ring buffer for receiving packets was not resized in constructor
2017-01-23 20:18:23 +01:00
Fabio Alessandrelli
fa0cb7da0e Avoid deadlock when writing/reading data on a connecting TCP socket
TCP status polling is always performed as non blocking.
Trying to put a packet on a connecting socket will fail immediately.
2017-01-23 20:18:23 +01:00
Fabio Alessandrelli
e5e4e7b6a9 Update docs reference for TCP_Server::listen and UDPPacketPeer::listen 2017-01-23 20:18:23 +01:00
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
a19a28288c Merge pull request #7610 from Hinsbart/shape_warning
CollisionShape2D: Fix warning icon not updating.
2017-01-23 07:55:50 +01:00
Rémi Verschelde
5ec3b5f2c9 Merge pull request #7604 from RayKoopa/gui_button_style_pressed
Respect style boxes for Button states other than "normal"
2017-01-23 07:55:24 +01:00
Rémi Verschelde
5027799c13 Merge pull request #7583 from karroffel/wildcard
made _ a special token in GDScript
2017-01-23 07:55:11 +01:00
Juan Linietsky
cff80bb1cc Pretty high quality pitch Shifting effect using smbPitchShift 2017-01-23 01:45:43 -03:00
Juan Linietsky
4d9bc8b00c Added Audio Limiter bus effect, and sidechain ability to compressor. 2017-01-22 20:39:53 -03:00
Juan Linietsky
4d944b4996 Simple to use compressor effect 2017-01-22 18:18:56 -03:00
Juan Linietsky
2d8e765aab Delay sound effect 2017-01-22 15:14:45 -03:00
Juan Linietsky
eda739f414 Added new Audio Bus Chorus effect.
Added new Audio Bus Panner effect.
2017-01-22 11:19:56 -03:00
Andreas Haas
16eee2f59b
CollisionShape2D: Fix warning icon not updating.
`CollisionPolygon2D` also had this problem.
2017-01-22 14:11:17 +01:00
Juan Linietsky
fac52f5bd8 Added BUS effect, Stereo Enhancer 2017-01-21 23:14:30 -03:00
Juan Linietsky
63fa5486a4 distortion effect 2017-01-21 20:57:48 -03:00
Juan Linietsky
0aa7242624 WIP new AudioServer, with buses, effects, etc. 2017-01-21 19:01:00 -03:00
Ray Koopa
2baeb531e6 Respect style boxes for Button states other than "normal" 2017-01-21 23:00:59 +01:00
Rémi Verschelde
c4d6e54e93 Remove Quick Filter Files and fix FS search hotkey
The new Quick Filter Files behaviour since 8b47e26 had not been implemented,
so this implements it and makes it an editor hotkey instead of a menu entry.
Fixes #7582.
2017-01-21 13:07:32 +01:00
Juan Linietsky
ee0f53df52 Merge pull request #7528 from tagcup/real_t_float_fixes
Use real_t rather than float or double in generic functions (core/mat…
2017-01-20 19:24:49 -03:00
karroffel
c24c739da5 made _ a special token in GDScript 2017-01-20 09:26:55 +01:00
Rémi Verschelde
72a0255585 Merge pull request #7576 from Hinsbart/hide_lock_icons
2D Editor: Don't show lock icons for hidden nodes.
2017-01-19 19:37:16 +01:00
Andreas Haas
a043ce7304
2D Editor: Don't show lock icons for hidden nodes.
Now we only draw those icons for visible Nodes.
Fixes #7518
2017-01-19 17:11:00 +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
Jesper Bækdahl
8f7a3884fd x11: don't wait for window to be mapped 2017-01-19 09:38:40 +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
Ferenc Arn
6f4f9aa6de Overloaded basic math funcs (double and float variants). Use real_t rather than float or double in generic functions (core/math) whenever possible.
Also inlined some more math functions.
2017-01-16 13:36:33 -06: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