History log of /external/bluetooth/glib/tests/uri-test.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
761424465aaad736916b029383483b6ac419d831 22-Jun-2008 Johan Dahlin <jdahlin@async.com.br> Include "config.h" instead of <config.h> Command used: find -name

2008-06-21 Johan Dahlin <jdahlin@async.com.br>

* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Mitch


svn path=/trunk/; revision=7092
/external/bluetooth/glib/tests/uri-test.c
a629b3f02dcdf29f52973f879f953e2ce409ab7a 23-Feb-2006 Kjartan Maraas <kmaraas@gnome.org> Plug leaks reported by valgrind. Same. Same Same. Same. Same.

2006-02-23 Kjartan Maraas <kmaraas@gnome.org>

* tests/completion-test.c: (main): Plug leaks reported by
valgrind.
* tests/convert-test.c: (test_iconv_state), (test_one_half):
Same.
* tests/patterntest.c: (test_compilation): Same
* tests/shell-test.c: (do_argv_test): Same.
* tests/unicode-caseconv.c: (main): Same.
* tests/uri-test.c: (run_to_uri_tests): Same.
/external/bluetooth/glib/tests/uri-test.c
7787e71d8b5ebc413790a87148a649050f096096 01-Aug-2005 Tor Lillqvist <tml@src.gnome.org> Minor simplification in safe_strcmp_filename().
/external/bluetooth/glib/tests/uri-test.c
7aa2e37f5eff398ce82ec33248cdb2aa29295ebc 01-Aug-2005 Tor Lillqvist <tml@src.gnome.org> Ugh, fix braino.
/external/bluetooth/glib/tests/uri-test.c
d5a989875bf71e6972ae75b264b9ccbb9a6f4b07 01-Aug-2005 Tor Lillqvist <tml@novell.com> Make it pass on Win32. (from_uri_tests[]): Take into consideration that on

2005-08-01 Tor Lillqvist <tml@novell.com>

* tests/uri-test.c: Make it pass on Win32.
(from_uri_tests[]): Take into consideration that on Win32 we don't
return "localhost" hostnames.
(safe_strcmp_filename): New function that considers slash and
backslash equal on Win32.
(run_roundtrip_tests): Use safe_strcmp_filename().
/external/bluetooth/glib/tests/uri-test.c
7221f500f53591f980fbb2368c7eaa7f9beb6f27 14-Jul-2005 Matthias Clasen <mclasen@redhat.com> Make the tests silent on success.

2005-07-14 Matthias Clasen <mclasen@redhat.com>

* tests/spawn-test.c:
* tests/uri-test.c:
* tests/thread-test.c:
* tests/queue-test.c:
* tests/mainloop-test.c:
* tests/iochannel-test.c:
* tests/gio-test.c:
* tests/child-test.c: Make the tests silent on success.
/external/bluetooth/glib/tests/uri-test.c
8df27c8dd5cf7ca192d64373fb15b5c63dc510b6 22-Oct-2004 Matthias Clasen <mclasen@redhat.com> Add some uri list tests.c.

2004-10-22 Matthias Clasen <mclasen@redhat.com>

* tests/uri-test.c (run_uri_list_tests): Add some
uri list tests.c.

* glib/gconvert.h:
* glib/gconvert.c (g_uri_list_extract_uris): New function to
split a text/uri-list data into individual uris and strip comments.
/external/bluetooth/glib/tests/uri-test.c
b54cccf6a8470d3b238c87acec1e17092791e431 01-Aug-2004 Manish Singh <yosh@gimp.org> move newline printing from run_from_uri_tests() to run_roundtrip_tests().

Sun Aug 1 13:19:18 2004 Manish Singh <yosh@gimp.org>

* tests/uri-test.c: move newline printing from run_from_uri_tests()
to run_roundtrip_tests().
/external/bluetooth/glib/tests/uri-test.c
0611985dd94a033ed4fc26494beffd72be1bfd34 30-Jul-2004 Matthias Clasen <mclasen@redhat.com> Don't validate for UTF-8 here. (#148420, Robert Ögren)

2004-07-30 Matthias Clasen <mclasen@redhat.com>

* glib/gconvert.c (g_unescape_uri_string): Don't validate
for UTF-8 here. (#148420, Robert Ögren)

* tests/uri-test.c (run_roundtrip_tests): Add tests for
roundtrip compatibility. Going from filename to uri and
back should always give you the same filename back.
/external/bluetooth/glib/tests/uri-test.c
ff8ade82ffcec9f13efafef048b3041b55aab107 10-Jun-2004 Federico Mena Quintero <federico@ximian.com> Fix expected results (ha ha) for URIs that *should* have been invalid, or

2004-06-09 Federico Mena Quintero <federico@ximian.com>

* tests/uri-test.c (to_uri_tests): Fix expected results (ha ha)
for URIs that *should* have been invalid, or viceversa.
(from_uri_tests): Likewise.
/external/bluetooth/glib/tests/uri-test.c
9b4080611ac14c5579ca7491c512f07a0a9b8347 10-Apr-2004 Tor Lillqvist <tml@iki.fi> glib/giowin32.c glib/gmain.c glib/gstrfuncs.c Decorating variable

2004-04-10 Tor Lillqvist <tml@iki.fi>

* glib/giowin32.c
* glib/gmain.c
* glib/gstrfuncs.c
* glib/gthread.c: Decorating variable definitions with
__declspec(dllexport) causes problems on Cygwin build, and isn't
really needed for a native Win32 build with mingw or MSVC, so
remove. (#138402, Roger Leigh)

* glib/libcharset/localcharset.c: Use Win32-specific code also on
Cygwin.
* tests/uri-test.c: Don't assume that local filenames are in UTF-8
on Cygwin, either. (#138412, Roger Leigh)
/external/bluetooth/glib/tests/uri-test.c
306d5e2b6b08be30176080e917c4296322e00a85 30-Mar-2003 Matthias Clasen <maclas@gmx.de> Get rid of UNSAFE_DOS_PATH. (acceptable): Align with RFC2396. (#59653)

2003-03-30 Matthias Clasen <maclas@gmx.de>

* glib/gconvert.c (UnsafeCharacterSet): Get rid of
UNSAFE_DOS_PATH.
(acceptable): Align with RFC2396. (#59653)

* tests/uri-test.c: Adjust to the changes above.
/external/bluetooth/glib/tests/uri-test.c
d4407e38fae560bae6a66dd9ae5b2f58b9d89134 04-Nov-2002 Owen Taylor <otaylor@redhat.com> Include config.h so DISABLE_MEMPOOLS actually has an effect. (#96437,

Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>

* glib/gbsearcharray.c: Include config.h
so DISABLE_MEMPOOLS actually has an effect.
(#96437, Morten Welinder)

* tests/uri-test.c: Include <config.h>

Mon Nov 4 14:42:36 2002 Owen Taylor <otaylor@redhat.com>

* gtype.c gsignal.c gvaluearray.c: Include config.h
so DISABLE_MEMPOOLS actually has an effect.
(#96437, Morten Welinder)

* gsignal.c: Conditionalize definition of g_handler_ts
on DISABLE_MEM_POOLS (#96437)

Mon Nov 4 14:45:24 2002 Owen Taylor <otaylor@redhat.com>

* gthread-posix.c gthread-solaris.c: Include <config.h>
/external/bluetooth/glib/tests/uri-test.c
88cec4d1358b874a96035e8b4a38a0b57c84c496 21-Feb-2002 Owen Taylor <otaylor@src.gnome.org> ed Feb 20 22:35:42 2002 Owen Taylor <otaylor@redhat.com>

Fixes from Miroslaw Dobrzanski-Neumann (#71963)

* glib/giounix.c (g_io_channel_new_file): Fix trailing comma
in enum.

* configure.in: Check for unsetenv.

* test/uri-test.c: Fall back to trying putenv(VARNAME) if
unsetenv isn't present.
/external/bluetooth/glib/tests/uri-test.c
4c9d538fc8195904f1dd89fa6bdc95eac0c0103e 08-Feb-2002 Darin Adler <darin@src.gnome.org> Make hostname parameter const char *. Added a new "ASCII must not be

* glib/gconvert.h: Make hostname parameter const char *.
* glib/gconvert.c: (g_unescape_uri_string): Added a new
"ASCII must not be escaped" feature, and some missing error
checking.
(is_escalphanum): New.
(is_escalpha): New.
(hostname_validate): New.
(g_filename_from_uri): Don't allow hostnames to include
escaped ASCII, validate hostnames with the new
hostname_validate.
(g_filename_to_uri): Validate hostnames with the new
hostname_validate.

* tests/uri-test.c: Updated tests to reflect the hostname
validation changes above.

* glib/gdate.c: (g_date_fill_parse_tokens): Remove the
<ctype.h> include and do isdigit -> g_ascii_isdigit.
/external/bluetooth/glib/tests/uri-test.c
79d4ba94384b6f44ad60f0c7b3c91727aa27b523 23-Jan-2002 Tor Lillqvist <tml@iki.fi> 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.
/external/bluetooth/glib/tests/uri-test.c
5c75cc96170a46773a2e8f6aa073d35e2e020ed5 01-Oct-2001 Alex Larsson <alexl@redhat.com> Convert G_CONVERT_ERROR_NOT_ABSOLUTE_FILE_URI and

2001-10-01 Alex Larsson <alexl@redhat.com>

* glib/gconvert.[ch]:
Convert G_CONVERT_ERROR_NOT_ABSOLUTE_FILE_URI and
G_CONVERT_ERROR_INVALID_URI to G_CONVERT_ERROR_BAD_URI.

* tests/uri-test.c:
Update tests
/external/bluetooth/glib/tests/uri-test.c
ee2712c487b180b4b28830d6582135d35e6bbe1a 27-Aug-2001 Darin Adler <darin@src.gnome.org> Updated name of error from G_CONVERT_ERROR_NOT_LOCAL_FILE to

* glib/gconvert.h:
* glib/gconvert.c: (g_filename_from_uri):
Updated name of error from G_CONVERT_ERROR_NOT_LOCAL_FILE to
G_CONVERT_ERROR_NOT_ABSOLUTE_FILE_URI.

* tests/.cvsignore:
* tests/uri-test.c:
Added a lot more test for the new URI functions, including a
number that seem to indicate some minor bugs.
/external/bluetooth/glib/tests/uri-test.c
4e11203c541452f1133645e508c8878719efdae5 26-Aug-2001 Alex Larsson <alexl@redhat.com> New functions to convert between local pahtnames and file: uris.

2001-08-26 Alex Larsson <alexl@redhat.com>

* glib/gconvert.[ch] (g_filename_from_uri,
g_filename_to_uri): New functions to convert
between local pahtnames and file: uris.

* tests/Makefile.am:
* tests/uri-test.c:
Tests for the new functions.
/external/bluetooth/glib/tests/uri-test.c