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
..
2001-12-16 19:31:36 +00:00
2001-11-02 18:56:51 +00:00
2001-11-29 09:41:25 +00:00
2001-12-16 19:31:36 +00:00
2001-12-20 23:13:19 +00:00
2001-12-16 19:31:36 +00:00
2001-12-20 08:52:01 +00:00
2001-12-22 08:29:06 +00:00
2001-11-18 15:30:53 +00:00
2001-11-05 01:47:31 +00:00
2001-07-02 05:02:13 +00:00
2001-07-02 05:02:13 +00:00
2001-12-06 22:58:58 +00:00
2001-12-16 19:31:36 +00:00
2001-06-27 19:18:07 +00:00
2001-11-26 19:08:46 +00:00
2001-12-12 20:32:07 +00:00
2001-12-20 11:12:47 +00:00
2001-12-16 19:31:36 +00:00
2001-07-02 05:02:13 +00:00
2001-12-17 23:04:09 +00:00
2001-10-24 18:00:11 +00:00
2001-12-12 20:32:07 +00:00
2001-12-16 19:31:36 +00:00
2001-12-31 10:12:22 +00:00