glib/tests
Tor Lillqvist 8a0df0a71c Socket support rewritten. It was utterly broken, and untested in fact. We
2001-01-25  Tor Lillqvist  <tml@iki.fi>

	* giowin32.c: Socket support rewritten. It was utterly broken, and
	untested in fact. We still do use a thread for each socket being
	watched, but instead of blocking in recv() (which of course was
	plain stupid for sockets being liste()ed on), we block in
	select(). The read method for sockets calls recv(). It is now
	possible for the application to call accept(), recv() or send() in
	the callback, just like on Unix. Tested with code kindly provided
	by Andrew Lanoix.

	Rename g_io_channel_win32_new_stream_socket() to
	g_io_channel_win32_new_socket() as it isn't restricted to stream
	sockets.

	* gmain.c (g_poll): Related changes in the Win32 version of
	g_poll(). When polling for messages, always do a PeekMessage()
	first. We used to miss messages if several were posted between
	calls to g_poll().

	* giochannel.h: Improve Win32-related comments.

	* gutf8.c: (Win32) Include <stdio.h> for sprintf.

	* tests/gio-test.c: (Win32) Add tests for polling for Windows
	messages.

	* tests/makefile.mingw.in: Remove superfluous compilation command
	line.
2001-01-25 21:16:46 +00:00
..
markups New module to parse a simple markup language 2000-10-27 02:46:04 +00:00
.cvsignore Determine the suffix of the shared librarries for this system. This is 2000-12-22 13:44:25 +00:00
array-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
date-test.c New gcompat.h header file as recommended by Havoc. 2000-12-24 12:11:06 +00:00
dirname-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
gio-test.c Socket support rewritten. It was utterly broken, and untested in fact. We 2001-01-25 21:16:46 +00:00
hash-test.c Introduced new function type GEqualFunc to return TRUE for equal params. 2000-10-30 14:34:52 +00:00
libmoduletestplugin_a.c Determine the suffix of the shared librarries for this system. This is 2000-12-22 13:44:25 +00:00
libmoduletestplugin_b.c Determine the suffix of the shared librarries for this system. This is 2000-12-22 13:44:25 +00:00
list-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
mainloop-test.c Get len using strlen() if arg is negative in the Win32 code, too. 2001-01-06 03:09:46 +00:00
Makefile.am move $enable_debug down below checks for GCC to avoid setting CFLAGS 2001-01-05 21:22:47 +00:00
makefile.mingw.in Socket support rewritten. It was utterly broken, and untested in fact. We 2001-01-25 21:16:46 +00:00
makefile.msc.in Get len using strlen() if arg is negative in the Win32 code, too. 2001-01-06 03:09:46 +00:00
markup-test.c New module to parse a simple markup language 2000-10-27 02:46:04 +00:00
module-test.c Determine the suffix of the shared librarries for this system. This is 2000-12-22 13:44:25 +00:00
node-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
queue-test.c Renamed g_queue_create to g_queue_new in conformance to all other GLib 2000-04-17 10:31:10 +00:00
rand-test.c Moved struct declaration up. Style fixes. 1999-04-12 12:53:37 +00:00
relation-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
run-markup-tests.sh Rearrange into other veriables, and include run-markup-tests.sh. 2000-12-08 21:04:52 +00:00
shell-test.c Fix warnings. 2000-11-28 23:44:21 +00:00
slist-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
spawn-test.c Some more debugging output. (g_io_channel_win32_poll): Remove unused vars. 2000-10-16 18:54:29 +00:00
strfunc-test.c add g_strdupv test 2000-12-07 04:48:37 +00:00
string-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
testgdate.c New gcompat.h header file as recommended by Havoc. 2000-12-24 12:11:06 +00:00
testgdateparser.c Two new files. This is kind of ugly code, but I want to go ahead and make 1998-12-02 20:20:35 +00:00
testglib.c Add doc comments. (g_win32_get_package_installation_directory): Add one 2001-01-17 21:37:32 +00:00
thread-test.c s/G_MICROSEC/G_USEC_PER_SEC/ 2000-09-06 13:56:17 +00:00
threadpool-test.c Moved determination of G_THREAD_FLAGS before G_THREAD_LIBS. Check for 2000-09-28 07:54:40 +00:00
timeloop-basic.c Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
timeloop.c Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
tree-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
type-test.c Some platforms support 64 bit 'long long', but you can not printf or scanf 2000-09-28 07:45:04 +00:00
unicode-encoding.c Get len using strlen() if arg is negative in the Win32 code, too. 2001-01-06 03:09:46 +00:00
utf8.txt move $enable_debug down below checks for GCC to avoid setting CFLAGS 2001-01-05 21:22:47 +00:00