1
0
mirror of https://git.code.sf.net/p/fuse-emulator/fuse synced 2026-01-27 01:41:34 +03:00
Commit Graph

72 Commits

Author SHA1 Message Date
Sergio Baldoví
3fa28fbf89 Consolidate .gitignore files in top source directory 2016-10-29 07:52:26 +02:00
Fredrick Meunier
5de51003fd Retire legacy RCS tags 2016-10-24 11:45:18 +11:00
Fredrick Meunier
fe21695bed Add more transient files to gitignores 2016-10-24 10:11:25 +11:00
Fredrick Meunier
99b964e30b Have a go at updating copyright dates since v 1.1.1.
Legacy-ID: 5432
2016-05-01 04:16:09 +00:00
Sergio Baldoví
9d54c6cc84 Use '#include <config.h>' instead of '#include "config.h"' (thanks, Stuart).
Legacy-ID: 5310
2015-06-22 22:23:29 +00:00
Sergio Baldoví
6e4cd718cc Switch to using non-recursive makefile (patch #321) (thanks, Stuart)
Legacy-ID: 5302
2015-06-14 21:38:49 +00:00
Adrien Destugues
7fe4a50d3f #include <sys/select.h> for POSIX systems.
Legacy-ID: 5260
2015-05-14 21:57:02 +00:00
Adrien Destugues
325055c32c Avoid mixing declarations and code for C89 compilers
Legacy-ID: 5252
2015-05-12 23:13:44 +00:00
Sergio Baldoví
6fe14f9600 Use libspectrum_free where appropriate.
Legacy-ID: 5164
2015-03-17 00:10:14 +00:00
Sergio Baldoví
533ecfe9d6 Initialise sockaddr_in.
Legacy-ID: 5141
2015-03-15 23:10:24 +00:00
Sergio Baldoví
8a964e81fe Remove unneeded "out of memory" error handling.
Legacy-ID: 5139
2015-03-15 22:49:47 +00:00
Sergio Baldoví
dbae1afca5 Switch to using libspectrum_new over raw malloc.
Legacy-ID: 5136
2015-03-14 13:23:36 +00:00
Stuart Brady
996f1054bd W5100: fix segfault in error handling when setting SO_REUSEADDR
Legacy-ID: 5135
2015-03-03 22:10:01 +00:00
Stuart Brady
d4a756f594 Add missing GCC_PRINTF annotations
Legacy-ID: 5134
2015-03-03 22:01:50 +00:00
Sergio Baldoví
4d86477efb Destroy mutex before closing (patch #308).
Legacy-ID: 4912
2013-03-24 19:34:06 +00:00
Sergio Baldoví
67c843447e Improve SpeccyBoot behaviour on non-Linux systems and when ROM is not available
(patch #302).

Legacy-ID: 4898
2013-02-25 22:20:54 +00:00
Philip Kendall
4f223a9aa6 Remove data races (patch #306) (thanks, Alberto Garcia and helgrind).
Legacy-ID: 4876
2013-02-03 19:45:37 +00:00
Philip Kendall
915c3c7c1c Ensure we don't read bogus data on UDP writes (bug #271).
Legacy-ID: 4865
2013-01-28 20:54:40 +00:00
Witold Filipczyk
d6ec226a15 Make sure write_pending member of nic_w5100_socket_t is initialised (bug #275).
Legacy-ID: 4858
2013-01-25 22:07:07 +00:00
Sergio Baldoví
4b69aae6ed Allow the disabling of Spectranet code if required libraries are not present (patch #300).
Legacy-ID: 4779
2012-11-29 18:55:54 +00:00
Fredrick Meunier
92cf3774c6 Migrate INCLUDES to AM_CPPFLAGS.
Legacy-ID: 4743
2012-10-10 13:20:50 +00:00
Sergio Baldoví
405f231776 Add *.a to the ignore property (part of bug #253).
Legacy-ID: 4693
2012-05-06 06:39:19 +00:00
Sergio Baldoví
5eab707c52 Fix LOBYTE and HIBYTE redeclarations on Win32 (part of bug #253).
Legacy-ID: 4691
2012-05-06 06:32:08 +00:00
Sergio Baldoví
e3799f38a3 Fix build break when building without glib (fixes bug #251).
Legacy-ID: 4688
2012-05-06 06:11:52 +00:00
Sergio Baldoví
9ace76ff1a Final tweaks to Win32 Spectranet code.
Legacy-ID: 4651
2012-01-23 20:29:54 +00:00
Sergio Baldoví
e2fd1ca09a Make Win32 build work.
Legacy-ID: 4650
2012-01-22 22:07:23 +00:00
Philip Kendall
5bda3dc157 Make Win32 build at least compile (almost entirely guesser).
Legacy-ID: 4648
2012-01-22 19:57:35 +00:00
Fredrick Meunier
2269e3a807 Include <string.h> for memset template.
Legacy-ID: 4639
2012-01-21 13:01:26 +00:00
Philip Kendall
65ec6587aa Abstract out selfpipe functionality.
Legacy-ID: 4627
2012-01-12 22:36:52 +00:00
Philip Kendall
2eda9006c8 Make UDP servers bind to the right port (Phil/Sergio).
Legacy-ID: 4614
2011-12-24 16:08:17 +00:00
Philip Kendall
282b0e9239 Things on the socket thread can't call ui_error as X11 doesn't like that being
called from a different thread.

Legacy-ID: 4612
2011-12-23 16:56:36 +00:00
Philip Kendall
ba8c866c28 Stop dumping lots of stuff to stdout.
Legacy-ID: 4552
2011-11-07 22:00:10 +00:00
Philip Kendall
f70df6a1a6 Ensure we don't acquire a lock recursively, thus avoiding deadlock (thanks,
Winston).

Legacy-ID: 4528
2011-07-08 21:13:06 +00:00
Philip Kendall
cbaa3ab2ad First bits of Win32 compatibility layer (Sergio Baldoví/Phil)
Legacy-ID: 4527
2011-07-03 20:21:43 +00:00
Sergio Baldoví
dc480baa37 Clean up Spectranet on exit.
Legacy-ID: 4526
2011-07-03 19:38:16 +00:00
Philip Kendall
13bc9332d0 Handle TCP server mode.
Legacy-ID: 4525
2011-07-03 13:22:00 +00:00
Philip Kendall
5363df12d6 Handle EOF on TCP sockets.
Legacy-ID: 4518
2011-06-30 20:47:46 +00:00
Philip Kendall
047ebcea92 Set SO_REUSEADDR on new sockets.
Legacy-ID: 4517
2011-06-30 20:28:27 +00:00
Philip Kendall
3568d7b826 Remove duplicated code when opening a new socket.
Legacy-ID: 4516
2011-06-30 20:19:36 +00:00
Philip Kendall
cb2eb22ab1 Abort connection if the bind call fails.
Legacy-ID: 4515
2011-06-30 20:02:40 +00:00
Philip Kendall
1b1b3bf6dd Check the return code from select(). Also catch the case when a socket is
closed between being added to the set and the select call, when select will
fail with EBADF (thanks, Winston).

Legacy-ID: 4514
2011-06-30 19:53:18 +00:00
Philip Kendall
1f96b98ff5 Don't need to set the sockaddr when reading from a socket.
Legacy-ID: 4513
2011-06-28 22:28:23 +00:00
Philip Kendall
c7817745e1 Reset the W5100 when the Spectranet is reset.
Legacy-ID: 4512
2011-06-28 06:14:42 +00:00
Philip Kendall
bc48ef2c0d Don't double release the lock if a bind() call fails (thanks, Sergio Baldoví).
Legacy-ID: 4511
2011-06-26 20:24:38 +00:00
Fredrick Meunier
d537377ac2 Add string.h for memset prototype and add some more verbose error logging and
bind information to help with debugging.

Legacy-ID: 4510
2011-06-23 12:12:25 +00:00
Philip Kendall
8718b46206 Store core W5100 state in snapshots.
Legacy-ID: 4509
2011-06-23 06:42:11 +00:00
Philip Kendall
ed7f1eb6c3 Remember to implement RECV for TCP sockets (thanks, Guesser).
Legacy-ID: 4505
2011-06-22 20:50:49 +00:00
Philip Kendall
0f5e2ea584 Ensure that UDP datagrams which wrap around the transmit buffer are not split into two.
Legacy-ID: 4503
2011-06-21 21:13:39 +00:00
Philip Kendall
ee11518d01 Multiple datagrams should not be combined in one sendto() call (thanks,
Guesser and Chris Cowley).

Legacy-ID: 4502
2011-06-21 20:58:54 +00:00
Philip Kendall
1598de941b Don't add the UDP header to TCP data.
Legacy-ID: 4501
2011-06-21 06:03:40 +00:00