glib/tests
Tor Lillqvist 79d4ba9438 Not used on Windows, don't even compile it then.
2002-01-23  Tor Lillqvist  <tml@iki.fi>

	* glib/gconvert.c: (strdup_len): Not used on Windows, don't even
	compile it then.

	(acceptable): Improve comments for the _acceptable_ table: put
	each ASCII char above the hex number for it.

	(g_escape_file_uri): On Windows, turn backslashes in the file name
	into plain ("forward") slashes.

	(g_filename_from_uri): On Windows, don't return the hostname
	"localhost", because we can not be 100% sure it will be recognized
	in all cases anyway, so simpler to turn it into a null
	hostname.

	Change slashes in the filename into backslashes, as that is the
	more canonical separator.

	Recognize drive letters (either followed by a colon or a vertical
	bar, as used by some browsers), and if the filename part starts
	with a such, don't include any (back)slash.

	Don't drop any extra leading slash in the filename on Unix.

	(g_filename_to_uri): On Windows, if the hostname is "localhost",
	don't use it, for consistency with g_filename_from_uri().

	tests/uri-test.c: Change accordingly, so that all tests pass on
	Windows. Unix, too, I hope, though I couldn't check that now.

	(main): Unset the G_BROKEN_FILENAMES environment variable on Unix,
	as some tests require that filenames are in UTF-8. Is unsetenv()
	portable?

	These changes should fix bugs #59387, #59652, #59657 and #59658.
2002-01-23 00:05:30 +00:00
..
gobject added some assertions to test g_signal_get_invocation_hint(). 2001-12-18 20:38:58 +00:00
markups back out change by mitch@convergence.de and apply patch in bug id #52067 2001-05-24 19:30:40 +00:00
.cvsignore */.cvsignore: Add various Win32 related file types. 2001-11-24 18:53:03 +00:00
array-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
casefold.txt Use G_N_ELEMENTS rather than a custom macro. 2001-07-02 00:49:21 +00:00
casemap.txt Use G_N_ELEMENTS rather than a custom macro. 2001-07-02 00:49:21 +00:00
cxx-test.C Now that we check for a C++ compiler in configure.in anyway, I added a 2001-05-29 14:17:23 +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 Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
gen-casefold-txt.pl Use G_N_ELEMENTS rather than a custom macro. 2001-07-02 00:49:21 +00:00
gen-casemap-txt.pl Use G_N_ELEMENTS rather than a custom macro. 2001-07-02 00:49:21 +00:00
gio-test.c make it compile again 2001-07-20 17:13:52 +00:00
hash-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
iochannel-test-infile Modified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c 2001-07-20 20:14:37 +00:00
iochannel-test.c Find test case for srcdir != builddir, miscellaneous cleanups. 2001-08-12 14:12:02 +00:00
libmoduletestplugin_a.c g_module_symbol takes a gpointer *, not just a gpointer 2001-12-03 20:10:44 +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 Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
mainloop-test.c Recurse with may_block = FALSE, so we don't get into the pathology where 2001-11-02 02:56:08 +00:00
Makefile.am Add (undefined) HAVE_C99_VSNPRINTF. 2001-12-22 08:29:06 +00:00
makefile.mingw.in Add back mainloop-test here, too. 2001-11-14 23:41:54 +00:00
makefile.msc.in moved warning to error pragmas to their own file to not force 'good 2002-01-05 18:54:59 +00:00
markup-test.c Changes for 64-bit cleanliness, loosely based on patch from Mark Murnane. 2001-06-23 13:55:09 +00:00
module-test.c g_module_symbol takes a gpointer *, not just a gpointer 2001-12-03 19:22:50 +00:00
node-test.c Implement G_LEVEL_ORDER correctly. 2001-11-26 19:08:46 +00:00
patterntest.c Version 11, interface, binary age 0. 2001-11-22 18:56:12 +00:00
qsort-test.c Add test case for the g_qsort_with_data func. It works. This fixes bug 2001-05-29 14:55:39 +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 Fix to stupid bug in g_random_boolean, also both functions now return 1 or 2001-05-31 08:12:35 +00:00
relation-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +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 Implement and document g_ascii_isxxx. 2001-08-25 22:29:40 +00:00
slist-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
spawn-test.c After being away for about five months, I'm back working on this... For 2001-08-30 05:09:11 +00:00
strfunc-test.c This fixes #60543: 2001-12-12 22:05:55 +00:00
string-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
strtod-test.c Add g_strtod & co. 2001-10-24 18:00:11 +00:00
testgdate.c Match also UNC paths on Win32. 2001-02-21 12:41:28 +00:00
testgdateparser.c Match also UNC paths on Win32. 2001-02-21 12:41:28 +00:00
testglib.c Add missing g_pattern_match_simple and g_pattern_spec_equal. 2001-10-28 21:05:03 +00:00
thread-test.c Renamed g_thread_create to g_thread_create_full and added macro 2001-05-18 08:44:57 +00:00
threadpool-test.c Renamed g_thread_create to g_thread_create_full and added macro 2001-05-18 08:44:57 +00:00
timeloop-basic.c Changes for 64-bit cleanliness, loosely based on patch from Mark Murnane. 2001-06-23 13:55:09 +00:00
timeloop-closure.c Implement. 2001-09-03 22:13:16 +00:00
timeloop.c Changes for 64-bit cleanliness, loosely based on patch from Mark Murnane. 2001-06-23 13:55:09 +00:00
tree-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
type-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
unicode-caseconv.c Add length arguments to g_utf8_{strup,strdown,casefold,collate_key}. 2001-07-07 02:42:49 +00:00
unicode-collate.c Modified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c 2001-07-20 20:14:37 +00:00
unicode-encoding.c Changes for 64-bit cleanliness, loosely based on patch from Mark Murnane. 2001-06-23 13:55:09 +00:00
unicode-normalize.c Patch from Andrew Taylor to improve tables and reduce relocations by using 2001-11-14 02:32:45 +00:00
uri-test.c Not used on Windows, don't even compile it then. 2002-01-23 00:05:30 +00:00
utf8.txt move $enable_debug down below checks for GCC to avoid setting CFLAGS 2001-01-05 21:22:47 +00:00