Commit Graph

392 Commits

Author SHA1 Message Date
radius
e10aee3f1d get a proper error 2017-11-19 21:04:58 -05:00
radius
34934b169c silence coverity warning 2017-11-19 17:34:15 -05:00
radius
b32a69889e console buildfix 2017-11-19 16:21:26 -05:00
radius
8dfc585c59 fix another leak 2017-11-19 13:07:51 -05:00
radius
c5dfa314ad fix leak 2017-11-19 12:43:13 -05:00
radius
11611acbe4 use correct size here 2017-11-19 09:43:51 -05:00
radius
9b673152f7 fix C89 errors 2017-11-19 09:41:36 -05:00
radius
149469515f Fix lan rooms
Squashed commit of the following:

commit 6e1fea3b16bb330ed2862eb00d2e911221c48a34
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 22:16:02 2017 -0500

    use the baked in address instead of sockaddr

commit 84f2d389fd6352b3037f48c18d133d2f1063d461
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 22:05:57 2017 -0500

    send replies

commit c6733009cc5a25e58391c5fc693b277ea27404b3
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 21:53:12 2017 -0500

    send replies

commit a6816c9481f7ea89a3c97597233e54c6354716e7
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 21:46:55 2017 -0500

    send replies

commit c2453b73ccafbd53192507affbc11d5f279c2e7c
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 21:26:34 2017 -0500

    look for common interfaces

commit fb42e6470242689f5e6160149ef91f0f0abf068d
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 20:06:50 2017 -0500

    send broadcasts in all interfaces

commit b7730596df9775fb815007689e9c7cc06b317b03
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 20:00:17 2017 -0500

    send broadcasts in all interfaces

commit b620a78052d1b95e81d346f3e5efb233e0547793
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 14:30:31 2017 -0500

    add more logging

commit c016c7d559cd631172a58f99cd3e1a1365965b8e
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 14:12:03 2017 -0500

    update log messages

commit 0a49ba61f56f2ca483fa76c7a04f0709c68b95ad
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 13:50:47 2017 -0500

    fix lan room listing for rooms > 1, allow connecting in arbitrary ports
2017-11-18 22:43:47 -05:00
Brad Parker
bbf6f2f451 fix "may be used uninitialized in this function" warning 2017-10-28 16:01:29 -04:00
twinaphex
1e37aab49b Cleanup 2017-09-30 16:59:14 +02:00
Brad Parker
0a1b3fedc0 VC6 support (targets NT 3.51) 2017-09-06 23:03:02 -04:00
twinaphex
e16371b8a5 Merge input_config.c and input_driver.c 2017-08-31 02:25:04 +02:00
Gregor Richards
584e12ed37 Fix disconnection not fully deinitializing Netplay. 2017-08-18 14:13:39 -04:00
twinaphex
e56250c84f C89_BUILD fix 2017-08-17 01:41:30 +02:00
radius
6804432fa7 log address family, fix inet_ntop_compat 2017-08-15 21:03:59 -05:00
Brad Parker
c072894a93 netplay: show country next to lobby nickname 2017-07-29 02:24:11 +00:00
radius
84e0251a86 add retroarch version to lan announcement 2017-07-24 21:13:28 -05:00
radius
32525ea0d3 rename MITM with Relay 2017-07-24 20:54:33 -05:00
radius
f7f613a244 android buildfix 2017-07-24 20:13:53 -05:00
radius
e09075dc25 Add RetroArch version and use different icons for different room types 2017-07-24 20:13:52 -05:00
radius
6804540635 improve logging 2017-07-24 20:13:52 -05:00
radius
dcd71b403f add RetroArch version to the netplay announcement 2017-07-24 06:14:34 +02:00
twinaphex
b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
Twinaphex
e2be9e659d Silence some warnings 2017-06-08 02:44:38 +02:00
Gregor Richards
fb3c35dc9f Handle forwarding of netplay state demotions correctly.
Netplay state demotions, i.e. changes from playing to spectating or
disconnected states, could cause chain disconnections of all other
clients. This was due to a bug in when MODE change messages were sent.
Clients rely on the server sending all messages in its own order, and as
a consequence, the server typically holds messages for retransmission
until they can be retransmitted at the correct time. MODE messages were
not held, so could be sent early. When they were sent early, this caused
other clients to panic and disconnect.

A smaller but much stupider secondary bug was also fixed, in which the
first connection could be dropped due simply to writing connections[0]
instead of connections[i] somewhere.
2017-06-06 21:35:09 -04:00
twinaphex
449483206f Revert "New attempt to fix memory leaks of struct retro_system_info"
This reverts commit a1d3dd69dd.
2017-05-30 01:44:49 +02:00
twinaphex
a1d3dd69dd New attempt to fix memory leaks of struct retro_system_info
char variables
2017-05-29 22:24:10 +02:00
twinaphex
d2bc5e0454 Fix more ASAN errors 2017-05-29 02:21:56 +02:00
twinaphex
d8f1cf7b5a Style nits 2017-05-28 18:03:11 +02:00
twinaphex
57273a545f Be more careful here 2017-05-28 18:00:47 +02:00
aliaspider
b49d2a87ab getaddrinfo error codes can also be positive. 2017-05-28 12:46:39 +01:00
aliaspider
934f7c58ba (WiiU) enable networking. 2017-05-23 10:24:23 +01:00
Gregor Richards
2681352d53 Make sure we flush a netplay pause message, so it isn't forgotten. 2017-05-22 16:27:22 -04:00
Andrés
abd6dcd57f Merge pull request #4952 from fr500/fixes
fix delimiter for mitm connect
2017-05-21 12:13:02 -05:00
radius
a09a1030c0 fix delimiter for mitm connect 2017-05-21 12:04:50 -05:00
twinaphex
aeddb18e31 Rewrite netplay checks 2017-05-21 14:18:10 +02:00
twinaphex
0bb1de9561 Cleanups 2017-05-21 09:16:45 +02:00
twinaphex
f51aa6e4ec Add TODO/FIXME note 2017-05-17 09:10:58 +02:00
twinaphex
0aeb683444 Style nits/cleanups 2017-05-16 20:33:14 +02:00
twinaphex
944eff06b8 Cleanup 2017-05-16 20:25:54 +02:00
twinaphex
2562391167 Split up runloop message queue code from netplay_log_connection 2017-05-16 20:24:08 +02:00
twinaphex
eb409328ec Style nits 2017-05-16 20:15:57 +02:00
radius
1de95c6413 further refinement of the netplay workflow 2017-05-16 00:18:29 -05:00
twinaphex
61a4e94649 Use string_is_equal_fast 2017-05-16 04:04:21 +02:00
Twinaphex
c035f9597a Merge pull request #4921 from fr500/master
NETPLAY menu improvements
2017-05-16 03:00:19 +02:00
radius
c783dbff28 remove some more code duplication, lan rooms now show up correctly on left-right 2017-05-15 19:45:23 -05:00
radius
a98033f375 make the --start netplay host-- entry context sensitive 2017-05-15 18:58:46 -05:00
twinaphex
e2c7671e9f Create rarch_menu_running/rarch_menu_running_finished 2017-05-15 04:31:40 +02:00
twinaphex
42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex
de80671658 Simplify content_get_crc 2017-05-06 16:41:22 +02:00