History log of /external/bluetooth/glib/tests/testglib.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
efc2cdbfc981754db361f49c30c8ee24ac0c769e 08-Apr-2009 Peter Kjellerstedt <pkj@axis.com> Fix parsing of timezones

Make g_time_val_from_iso8601 handle timezones with minutes correctly;
also accept comma as a fraction separator. (#578369)
/external/bluetooth/glib/tests/testglib.c
88c7129340a594462ea2a78d714987ff45246662 14-Aug-2008 Matthias Clasen <mclasen@redhat.com> Bug 547337 – G_DISABLE_DEPRECATED breaks tests build

2008-08-13 Matthias Clasen <mclasen@redhat.com>

Bug 547337 – G_DISABLE_DEPRECATED breaks tests build

* tests/testglib.c: Protect deprecated API by ifdefs.
Patch by Kalle Vahlman


svn path=/trunk/; revision=7353
/external/bluetooth/glib/tests/testglib.c
b5b363019ada3c4294f01abf665bb89c4a91dd16 04-Aug-2008 Tor Lillqvist <tml@novell.com> Avoid warning on Win64 by using gintptr cast instead if long cast.

2008-08-04 Tor Lillqvist <tml@novell.com>

* tests/testglib.c: Avoid warning on Win64 by using gintptr cast
instead if long cast.


svn path=/trunk/; revision=7304
/external/bluetooth/glib/tests/testglib.c
96f99d334d434ae08e0884666895afd1d1ad2108 24-Jun-2008 Paolo Borelli <pborelli@katamail.com> Bug 539770 - migrate gstrfunc unit tests to gtest

2008-06-24 Paolo Borelli <pborelli@katamail.com>

Bug 539770 - migrate gstrfunc unit tests to gtest

* tests/strfunc-test.c:
* tests/testglib.c:
* tests/strtoll-test.c:
* tests/strtod-test.c:
* tests/string-test.c:
* tests/Makefile.am:
Removed old tests.

* glib/tests/fileutils.c:
* glib/tests/strfuncs.c:
* glib/tests/Makefile.am:
Added all the old tests migrated to the new unit test framework
and add new unit tests for some of the functions.


svn path=/trunk/; revision=7097
/external/bluetooth/glib/tests/testglib.c
d780a41c37c0f076239bdacc4e8b02735ac006a4 19-Jun-2008 Matthias Clasen <matthiasc@src.gnome.org> set tv_usec to 0 rather than 1 when a fraction of a second is not

* glib/gtimer.c (g_time_val_from_iso8601): set tv_usec to 0 rather
than 1 when a fraction of a second is not specified
(g_time_val_from_iso8601): calculate a fraction of a second
correctly even in case it does not happen to consist of exactly
six digits; do not allow random data after the ISO 8601 string,
only whitespace
(make g_time_val_to_iso8601): support fractions of a second
Patch by Peter Kjellerstedt

* tests/testglib.c: Update to match


svn path=/trunk/; revision=7057
/external/bluetooth/glib/tests/testglib.c
d6682a1f2d3841f749c9484ecb3ad23508cf04d4 18-Apr-2008 17:40:58 Tim Janik <timj@imendio.com> fixed gstdio.h include.

2008-04-18 17:40:58 Tim Janik <timj@imendio.com>

* tests/testglib.c: fixed gstdio.h include.

* tests/Makefile.am: properly list testglib.c SOURCES.



svn path=/trunk/; revision=6862
/external/bluetooth/glib/tests/testglib.c
fe751b255f098f54760273eff3d3d2508cef72b8 10-Mar-2008 Matthias Clasen <matthiasc@src.gnome.org> Small test fixup

svn path=/trunk/; revision=6652
/external/bluetooth/glib/tests/testglib.c
11d7305d5ab03ce2a17bcbc76400feb7319c62b5 23-Feb-2008 Matthias Clasen <mclasen@redhat.com> Don't test user directories for being non-null. (#517084, Yevgen Muntyan)

2008-02-23 Matthias Clasen <mclasen@redhat.com>

* tests/testglib.c: Don't test user directories for being
non-null. (#517084, Yevgen Muntyan)

svn path=/trunk/; revision=6562
/external/bluetooth/glib/tests/testglib.c
1cda3c9e017ce9359d5019bb7bc8993208523891 21-Dec-2007 Hans Breuer <hans@breuer.org> adapt to recent api changes variable declaration at the beginning of a

2007-12-09 Hans Breuer <hans@breuer.org>

* tests/gio-ls.c : adapt to recent api changes
* tests/testglib.c : variable declaration at the beginning of a block

(Lieven van der Heide, #503602)
* win32-fixup.pl : process *.rc.in as well; substitute
LT_CURRENT_MINUS_AGE
* glib/makefile.msc.in : alphabetic sorting of OBJECTS


svn path=/trunk/; revision=6184
/external/bluetooth/glib/tests/testglib.c
a979c0d5a2124cbfe5114c5e3f1e7eefc0e230fd 19-Dec-2007 Emmanuele Bassi <ebassi@gnome.org> Fix the date validation check. (#503029)

2007-12-19 Emmanuele Bassi <ebassi@gnome.org>

* glib/gtimer.c (g_time_val_from_iso8601): Fix the date validation
check. (#503029)

* tests/testglib.c (various_string_tests): Add an invalid date
for testing the above fix.

svn path=/trunk/; revision=6160
/external/bluetooth/glib/tests/testglib.c
0efd85aeac71bc312a44ac7632dff39caf45eeda 12-Dec-2007 16:06:11 Tim Janik <timj@imendio.com> split up tests and reworked code to use the new test framework.

2007-12-12 16:06:11 Tim Janik <timj@imendio.com>

* tests/testglib.c: split up tests and reworked code to use
the new test framework.

* tests/Makefile.am: added testglib to TEST_PROGS.



svn path=/trunk/; revision=6103
/external/bluetooth/glib/tests/testglib.c
d154485bc75ac40665ed810b5669f7a8e7315f3a 04-Jun-2007 Matthias Clasen <mclasen@redhat.com> Add support for a number of special directories, as defined by the

2007-06-04 Matthias Clasen <mclasen@redhat.com>

Add support for a number of special directories, as
defined by the xdg-user-dirs specification. (#432651,
Bastien Nocera, Emmanuele Bassi, Michael Natterer)

* glib/glib.symbols:
* glib/gutils.[hc]: Add the GUserDirectory enum and
g_get_user_special_dir(), with implementations based
on the xdg-user-dirs spec and on native interfaces
for Win32 and Carbon.

* configure.in: Add Carbon checks.

* tests/tetsglib.c: Test g_get_user_special_dir().


svn path=/trunk/; revision=5528
/external/bluetooth/glib/tests/testglib.c
1f536d2f1233ede8ef7b205864e72e8ea233c97e 20-Jun-2006 Matthias Clasen <mclasen@redhat.com> Fix an off-by-2 error in the leap year calculation. (#344905, Dan Winship)

2006-06-20 Matthias Clasen <mclasen@redhat.com>

* glib/gtimer.c (mktime_utc): Fix an off-by-2 error
in the leap year calculation. (#344905, Dan Winship)

* tests/testglib.c (main): Change the test data for
the g_time_val_from_iso8601 tests to expose an off-by-2
error in the leap year calculation.
/external/bluetooth/glib/tests/testglib.c
6db9ec40708a4ad60a11a21856a1d54a48b01abd 23-Mar-2006 Emmanuele Bassi <ebassi@cvs.gnome.org> Check for timegm.

2006-03-23 Emmanuele Bassi <ebassi@cvs.gnome.org>

* configure.in: Check for timegm.

* glib/gtimer.h:
* glib/gtimer.c:
* glib/glib.symbols:
* docs/reference/glib/glib-sections.txt: Added g_time_val_to_iso8601
and g_time_val_from_iso8601, to convert a GTimeVal to and from an
ISO 8601 encoded date.

* tests/testglib.c: Added test cases for g_time_val_to_iso8601()
and g_time_val_from_iso8601() functions.
/external/bluetooth/glib/tests/testglib.c
9e5824666934f99d6f43acc9020970bd8279c679 14-Mar-2006 Matthias Clasen <mclasen@redhat.com> Don't read past the end of the string. (#334471, Morten Welinder)

2006-03-14 Matthias Clasen <mclasen@redhat.com>

* glib/gutils.c (g_parse_debug_string): Don't read past the
end of the string. (#334471, Morten Welinder)
/external/bluetooth/glib/tests/testglib.c
b8c119f901c3320a790187304e3bebdcf3a80219 22-Jun-2005 Tor Lillqvist <tml@novell.com> glib/gfileutils.c glib/gfileutils.h glib/glib.symbols Rename g_makepath()

2005-06-22 Tor Lillqvist <tml@novell.com>

* glib/gfileutils.c
* glib/gfileutils.h
* glib/glib.symbols
* tests/testglib.c: Rename g_makepath() to g_mkdir_with_parents().
/external/bluetooth/glib/tests/testglib.c
1833a93dddaaa77b11761a92d8961bba67217d94 22-Jun-2005 Tor Lillqvist <tml@novell.com> New function. Creates a directory including intermediate parent

2005-06-22 Tor Lillqvist <tml@novell.com>

* glib/gfileutils.c (g_makepath): New function. Creates a
directory including intermediate parent directories as
needed. (#60509)

* glib/gfileutils.h: Declare it.

* glib/glib.symbols: Add it.

* tests/testglib.c: Test it.
/external/bluetooth/glib/tests/testglib.c
477989f555f13cd067c043f61c6941c5dc6409ad 22-Jun-2005 Tor Lillqvist <tml@novell.com> New function. Returns the machine's name, or one of its names. Document

2005-06-22 Tor Lillqvist <tml@novell.com>

* glib/gutils.c (g_get_host_name): New function. Returns the
machine's name, or one of its names. Document that it is
best-effort only, and not guaranteed to be unique or anything.
(g_get_any_init): Get the host name here. On Unix use
gethostname(), on Windows use GetComputerName(). (#5200)

* glib/gutils.h
* glib/glib.symbols: Add here, too.

* tests/testglib.c: Test it.
/external/bluetooth/glib/tests/testglib.c
446c1f1aa8a0f092b44262211e8eff27b5b72b68 20-Mar-2005 Tor Lillqvist <tml@src.gnome.org> Minor printout change, now identical as in glib-2-6 branch.
/external/bluetooth/glib/tests/testglib.c
20378332aea3a273a27bd0d40451811b21a7a1f6 20-Mar-2005 Tor Lillqvist <tml@novell.com> Print more detailled output from the timer tests. Don't print home

2005-03-20 Tor Lillqvist <tml@novell.com>

* tests/testglib.c (main): Print more detailled output from the
timer tests. Don't print home directory twice. Test
g_win32_error_message().

* tests/spawn-test.c (run_tests): On Win32, run netstat instead of
ipconfig. On Windows XP collecting output from ipconfig doesn't
seem to work for some reason.
/external/bluetooth/glib/tests/testglib.c
d209e108b190a06cdf85451200304db408cbfcf4 07-Sep-2004 Matthias Clasen <mclasen@redhat.com> Add a function to return a list of applicable locale names. (#95587,

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

* glib/gutils.h:
* glib/gutils.c (g_get_language_names): Add a function to
return a list of applicable locale names. (#95587,
Hidetoshi Tajima)
(guess_category_value, compute_locale_variants):
(explode_locale, unalias_lang, read_aliases): Helper
functions for g_get_language_names()

* tests/testglib.c (main): Show the results of
g_get_language_names()
/external/bluetooth/glib/tests/testglib.c
b359dbbf5ee28513e42c9336167012e78514d456 26-Aug-2004 Tor Lillqvist <tml@iki.fi> Test the new XDG basedir functions.

2004-08-26 Tor Lillqvist <tml@iki.fi>

* tests/testglib.c (main): Test the new XDG basedir functions.
/external/bluetooth/glib/tests/testglib.c
48deca637904679e81a7a4e0fc7f9964835ae005 22-Apr-2004 Matthias Clasen <mclasen@redhat.com> Trivial warning fix.

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

* tests/testglib.c (main): Trivial warning fix.
/external/bluetooth/glib/tests/testglib.c
05501852ecb0bd3d048273c0ac063fe739983d8d 22-Apr-2004 Matthias Clasen <mclasen@redhat.com> Add testcases for g_message() involving non-printable and unsafe

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

* tests/testglib.c (main): Add testcases for g_message() involving
non-printable and unsafe characters.

* glib/gmessages.c (escape_string): Don't assume that
string->str remains unchanged over g_string_insert()
calls. (#139030, Christophe Saout)
/external/bluetooth/glib/tests/testglib.c
ee4e622d3724a6dfee8ce9463eccb31081cf852f 20-Feb-2004 Tim Janik <timj@gtk.org> applied patch from #131937 with slight renames. provides

Fri Feb 20 03:02:05 2004 Tim Janik <timj@gtk.org>

* glib/ghash.[hc]: applied patch from #131937 with slight
renames. provides g_hash_table_find().
/external/bluetooth/glib/tests/testglib.c
7ace455394c2f7b52e2e74982d8a4527ca4e1460 22-Jan-2004 Owen Taylor <otaylor@redhat.com> Add g_timer_continue(). (#98536, Tim-Philipp Müller)

Thu Jan 22 13:55:44 2004 Owen Taylor <otaylor@redhat.com>

* glib/gtimer.c: Add g_timer_continue().
(#98536, Tim-Philipp Müller)

* configure.in: Version 2.3.2, interface age 0.

* NEWS: tweak, finish.
/external/bluetooth/glib/tests/testglib.c
b5ae75aa4af1f046ee3bc1342c934dcf1c412494 21-Nov-2003 Manish Singh <yosh@gimp.org> Added G_GSIZE_FORMAT and friends.

Thu Nov 20 15:09:40 2003 Manish Singh <yosh@gimp.org>

* configure.in: Added G_GSIZE_FORMAT and friends.

* tests/printf-test.c
* tests/testglib.c
* tests/type-test.c: Add tests for the above.
/external/bluetooth/glib/tests/testglib.c
dfa8c540a1932c4c7e376ca765c0d4707f0fd496 24-Oct-2003 Owen Taylor <otaylor@redhat.com> === Released 2.3.0 ===

Thu Oct 23 12:38:24 2003 Owen Taylor <otaylor@redhat.com>

* === Released 2.3.0 ===

* tests/gobject/Makefile.am (dist-hook): Remove
and extra backslash.

* tests/gobject/Makefile.am (EXTRA_DIST): Add
testmarshal.list.

* glib/Makefile.am (libglib_2_0_la_SOURCES): Add
missing gunicode-private.h.

* tests/testglib.c (main): Fix a warning.

* tests/gobject/ifaceinherit.c: Remove check that
wasn't supposed to work (adding an interface already
added to the derived class to the base class),
fix a bug.
/external/bluetooth/glib/tests/testglib.c
b514888d163366e7dffb057ec07903e137b1a417 30-Sep-2003 Tor Lillqvist <tml@iki.fi> Use hardcoded name for DLL, as there is no reliable way to determine it at

2003-09-29 Tor Lillqvist <tml@iki.fi>

* tests/testglib.c (main): Use hardcoded name for DLL, as there is
no reliable way to determine it at compile or run time anyway.
/external/bluetooth/glib/tests/testglib.c
55d624d80cbc962c0dfbdecfba7e128b3b332e31 16-Aug-2003 Tor Lillqvist <tml@iki.fi> Fix #117925 (Dov Grobgeld):

2003-08-16 Tor Lillqvist <tml@iki.fi>

Fix #117925 (Dov Grobgeld):

* glib/gutils.c (g_find_program_in_path, g_basename,
g_path_get_basename, g_path_is_absolute, g_path_skip_root,
g_path_get_dirname, g_get_any_init): On Win32, look also for
slashes ('/') as pathname separators.

* glib/gfileutils.c (g_file_open_tmp): Ditto. If the template
contains a pathname separator, include the actual one in the error
message, instead of always the canonical one.

(g_build_filename): Separate implementation on Win32 that looks
for either slash or backslash. Document Unix/Windows differences.

* tests/testglib.c
* tests/strfunc-test.c: Test above functionality on Win32.
/external/bluetooth/glib/tests/testglib.c
96670b2085ac958b2e5ac9617cab04fb61f053aa 12-Dec-2002 Manish Singh <yosh@gimp.org> pull in trio if host printf doesn't have a known way of printing 64-bit

Thu Dec 12 14:58:55 2002 Manish Singh <yosh@gimp.org>

* configure.in: pull in trio if host printf doesn't have a known
way of printing 64-bit ints.

* glib/gmacros.h: remove extra whitespace at the end

* glib/gscanner.c (g_scanner_unexp_token): use G_GUINT64_FORMAT
instead of hardcoding "%llu"

* tests/testglib.c: remove obsolete conditionals using G_HAVE_GINT64,
we always have it now.

* tests/type-test.c: same as above, and for G_G[U]INT64_FORMAT as
well.
/external/bluetooth/glib/tests/testglib.c
d1f37d50530b75fdfd63b0789a1af0ec9a844295 16-Oct-2002 Manish Singh <yosh@gimp.org> add -DG_DISABLED_DEPRECATED

Tue Oct 15 15:07:45 2002 Manish Singh <yosh@gimp.org>

* gmodule/Makefile.am gobject/Makefile.am gthread/Makefile.am:
add -DG_DISABLED_DEPRECATED

* tests/gio-test.c tests/mainloop-test.c tests/string-test.c
tests/testglib.c test/tree-test.c tests/unicode-collate.c
tests/unicode-normalize.c: Deprecation cleanup
/external/bluetooth/glib/tests/testglib.c
90d93042c2956f64838edb46ee43e8f02b7c7a24 29-Mar-2002 Owen Taylor <otaylor@redhat.com> Remove warning about g_print, etc, encoding.

Thu Mar 28 18:22:53 2002 Owen Taylor <otaylor@redhat.com>

* README: Remove warning about g_print, etc, encoding.

* NEWS: Updates.

* glib/gmessages.c (g_log_default_handler): Use %lu
(plus a cast) when printing out pid_t arguments.
(#76770, Morten Welinder)

* glib/gstrfuncs.c (g_strdup_vprintf): Check the
result of vasprintf(), return NULL on failure.
(#76802, Akira Tagoh)

* tests/testglib.c (TEST): Supress a warning with
some GCC versions.
/external/bluetooth/glib/tests/testglib.c
9c35df3de3553b0bc94d1dc8ef539dd23a19ddc4 28-Oct-2001 Tor Lillqvist <tml@iki.fi> Add missing g_pattern_match_simple and g_pattern_spec_equal.

2001-10-28 Tor Lillqvist <tml@iki.fi>

* glib/glib.def: Add missing g_pattern_match_simple and
g_pattern_spec_equal.

* glib/gwin32.c (g_win32_get_package_installation_subdirectory):
Set separator correctly.

* glib/libcharset/config.charset (os): Match also mingw*.

* tests/testglib.c (main): (Win32): Print the lib/locale
subdirectory, as that is what actually gets used.
/external/bluetooth/glib/tests/testglib.c
46aae08e8d129d1dc9d3b92463178352460f88b2 29-Sep-2001 George Lebl <jirka@5z.com> cast the string size to gulong and use %lu for printing to avoid 64bit

Sat Sep 29 02:33:14 2001 George Lebl <jirka@5z.com>

* tests/testglib.c (main): cast the string size to gulong and use %lu
for printing to avoid 64bit issues

* glib/gstrfuncs.[ch] (g_ascii_strncasecmp): Change the 'n' argument
to gsize instead guint.
/external/bluetooth/glib/tests/testglib.c
58f3fdd7489226a023882f85777a1bb8715c495f 20-Sep-2001 Tor Lillqvist <tml@iki.fi> Accept also forward slashes. (But still don't accept them in the other

2001-09-20 Tor Lillqvist <tml@iki.fi>

* glib/gutils.c (g_path_is_absolute): (Win32:) Accept also forward
slashes. (But still don't accept them in the other functions
here. This is a thorny issue. Windows in fact does treat / like \
on input (at least as local directory separators, dunno about
server/share separators). But GLib only has the one
G_DIR_SEPARATOR value, that apps should scan for, and use when
building pathnames. To properly fix this would require totally
abstracting pathnames, and don't having any path name scanning and
building in applications at all. Fat chance.)
(GLIB_LOCALE_DIR): Redefine only on "pure" Win32, not Cygwin. Use
subdirectory "share\locale", as on Unix.

* glib/gwin32.c: Don't need to define those langiage and
sublanguage constants here, current mingw (w32api) headers have
them.

* glib/glib.def: Add a few missing entry points.

* tests/testglib.c (main): Use same name for DLL as libtool does.
Use G_DIR_SEPARATOR in g_path_get_basename tests.
/external/bluetooth/glib/tests/testglib.c
71075ee0db9c46f6081c5683e15cdcd84cd6d23d 18-Sep-2001 Tim Janik <timj@gtk.org> add simple test for g_path_get_basename().

Tue Sep 18 18:19:33 2001 Tim Janik <timj@gtk.org>

* tests/testglib.c: add simple test for g_path_get_basename().

* glib/gfileutils.c (g_file_open_tmp):
* glib/gstrfuncs.c (g_strerror): scratch erroneous usages
of "illegal".
/external/bluetooth/glib/tests/testglib.c
3fa620d4dfeb3440526682b4970bc9147b6665c9 19-Jul-2001 Darin Adler <darin@src.gnome.org> Add missing const. (g_strsplit): Add g_return_val_if_fail for case of

* glib/gstrfuncs.c: (g_ascii_strdown), (g_ascii_strup): Add
missing const.
(g_strsplit): Add g_return_val_if_fail for case of empty
delimiter, which can result in an infinite loop otherwise.
* glib/gstrfuncs.h: Add missing const.
* tests/.cvsignore: Ignore a generated file.

* tests/array-test.c:
* tests/dirname-test.c:
* tests/hash-test.c:
* tests/list-test.c:
* tests/node-test.c:
* tests/relation-test.c:
* tests/shell-test.c:
* tests/slist-test.c:
* tests/spawn-test.c:
* tests/strfunc-test.c:
* tests/string-test.c:
* tests/testglib.c:
* tests/tree-test.c:
* tests/type-test.c:
Add an #undef G_DISABLE_ASSERT so all tests will assert even if
asserts are disabled inside glib itself.
/external/bluetooth/glib/tests/testglib.c
624a3c9689a9538af7df04aab389423edc82b51a 11-Jul-2001 Darin Adler <darin@src.gnome.org> Add some generated files.

* .cvsignore: Add some generated files.

* glib/gmain.c: (g_main_context_iterate): Comment out cruft
after #endif to avoid gcc warning.
* gmodule/gmodule.c: (g_module_set_error_unduped): Remove
const from type to avoid gcc warning.
* gobject/gsignal.c: (g_signal_emitv): ifdef variable used
only if G_ENABLE_DEBUG to avoid gcc warning.
* gobject/gtype.c: (type_iface_vtable_init_Wm),
(type_iface_vtable_finalize_Wm): ifdef call needed only
if !G_DISABLE_ASSERT to avoid gcc warning.
* tests/testglib.c: (main): ifdef call needed only if
!G_DISABLE_ASSERT to avoid gcc warning. Maybe later we
should make the test to #undef G_DISABLE_ASSERT.
* tests/unicode-collate.c: Add include of <string.h> to
avoid gcc warning.
/external/bluetooth/glib/tests/testglib.c
55688d6cc6d7085bc35a58a2cacb22cf19807564 30-Jun-2001 Owen Taylor <otaylor@redhat.com> Patch from Darin Adler (#54166)

Sat Jun 30 12:49:26 2001 Owen Taylor <otaylor@redhat.com>

Patch from Darin Adler (#54166)

* glib/gstrfuncs.[ch]: Add ascii-only, locale-insensitive
g_ascii_to[lower/upper], g_ascii_str[down/up],
g_ascii_is[upper/lower] and deprecate the locale-affected
versions which break for UTF-8, etc. Make
g_ascii_strup/strdown duplicating,
not in-place for consistency with UTF-8 functions.

* glib/gstring.[ch]: Add ascii-only, locale-insensitive
g_string_ascii_[down/up], and deprecate the locale-affected
versions which break for UTF-8, etc.

* glib/gutils.c glib/gwin32.c test/testglib.c: Use
the g_ascii_* functions where appropriate.
/external/bluetooth/glib/tests/testglib.c
655d467602853052251c10a24f1b62ed1cf72793 20-Apr-2001 Dan Winship <danw@src.gnome.org> Add a check for the Darwin dynamic linker. Use AC_TRY_LINK when checking

* configure.in: Add a check for the Darwin dynamic linker. Use
AC_TRY_LINK when checking for "nonposix getpwuid_r" so it notices
"no getpwuid_r" correctly.

* testglib.c (main): Make template[] bigger to prevent an overrun.
Remove an unused variable. Initialize error to NULL.

* tests/gio-test.c (main): Add a cast to prevent a warning when
size_t is a long.

* tests/type-test.c (main): Add an #ifdef to prevent a warning
when G_HAVE_GINT64 is defined and G_GINT64_FORMAT isn't.
/external/bluetooth/glib/tests/testglib.c
754d8ddad85ef7054bf262bbc57ee67a0278f493 09-Mar-2001 Tor Lillqvist <tml@iki.fi> Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>.

2001-02-21 Tor Lillqvist <tml@iki.fi>

Cygwin support contributed by Stefan Ondrejicka
<ondrej@idata.sk>. Hopefully I got it all in while simultaneously
adding support for auto*/libtool for mingw.

* Makefile.am: Changes for auto* support on Cygwin and Win32. Do
still distribute the hand-written makefiles and *.win32.in files,
though. Use GIO, GSPAWN and PLATFORMDEP macros set by configure.
Use -no-undefined. Pass -export-symbols glib.def to libtool.

* configure.in: Define G_PLATFORM_WIN32 on both pure Win32 (mingw)
and Cygwin. Add AC_CYGWIN, AC_EXEEXT and AC_LIBTOOL_WIN32_DLL
calls for Cygwin and mingw support. Check for %I64u guint64
format (in MS C library). Set G_MODULE_IMPL on mingw and
Cygwin. Use ac_object and ac_exeext. Set GIO, GSPAWN, PLATFORMDEP
and G_LIBS_EXTRA. Compile timeloop only on Unix. Define OS_WIN32
automake conditional on Win32.

* glib.h: Include gwin32.h also on Cygwin.

* gfileutils.c (get_contents_posix): Use O_BINARY (defined as 0 on
Unix) for Cygwin's sake.

* gtimer.c (GETTIME): Reduce #ifdefs, use a macro GETTIME().

* gconvert.c
* gthread.c
* gutf8.c
* gutils.c: For code needed both on Cygwin and native Win32,
test for G_PLATFORM_WIN32.

* gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS.

* gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT
in case compiling a static library on Win32 or Cygwin.

* gwin32.c: No <direct.h> on Cygwin. No need for ftruncate() or
dirent emulation on Cygwin.
(get_package_directory_from_module) Convert return value from
GetModuleFileName() to POSIX path on Cygwin.

* tests/Makefile.am (progs_LDADD): Link with libglib, libgthread
and libgmodule as appropriate. Use -no-undefined.

* gbacktrace.c: Move #ifdefs around a bit on Win32.

* gshell.c (unquote_string_inplace): Make static.

* testglib.c: Make some vars static. Add Cygwin path tests.
/external/bluetooth/glib/tests/testglib.c
00988d0d76dd765f654fb88265d11a59355eaf50 01-Mar-2001 Tor Lillqvist <tml@iki.fi> Implement on Win32. Append the executable file name suffixes from PATHEXT

2001-03-01 Tor Lillqvist <tml@iki.fi>

* gutils.c(g_find_program_in_path): Implement on Win32. Append the
executable file name suffixes from PATHEXT in turn while
looking for the program.
(g_find_program_in_path): If the program we are looking for is a
relative path in a subdirectory, don't do any path search.
/external/bluetooth/glib/tests/testglib.c
b6ba941b505beb30da5c3004a3d8985ae5837335 01-Mar-2001 Tor Lillqvist <tml@iki.fi> Remove test for initial double backslash (UNC path), this will of course

2001-03-01 Tor Lillqvist <tml@iki.fi>

* gutils.c (g_path_is_absolute): (Win32) Remove test for initial
double backslash (UNC path), this will of course be matched by the
test for an initial G_DIR_SEPARATOR right up front. Silly me.
(g_find_program_in_path): Implement on Win32.
(g_get_any_init): (Win32) Also look for the USERPROFILE env var
indicating the home directory equivalent.

* testglib.c (main): Test g_find_program_in_path() on Win32 by
looking for more.com and regedit.exe.

* glib.def: Add g_find_program_in_path.
/external/bluetooth/glib/tests/testglib.c
cd89e4cca6d203c3f3324d7368bbbd6634bc11d3 21-Feb-2001 Tor Lillqvist <tml@iki.fi> Match also UNC paths on Win32.

2001-02-21 Tor Lillqvist <tml@iki.fi>

* gutils.c (g_path_is_absolute): Match also UNC paths on Win32.

* gthread.h: Include gtypes.h to be sure to get GLIB_VAR
definition, remove definition from here.

* gunicode.h: Remove duplicate GLIB_VAR definition from here, too.

* gutils.c: (Win32) Use USERPROFILE as home dir if present. On
Win2k, HOMEDRIVE and HOMEPATH aren't reliable.

* Makefile.am (INCLUDES): Add -DGLIB_COMPILATION.

* makefile.mingw.in: Remove install target, Windows isn't Unix.

* testgdate.c
* testgdateparser.c
* testglib.c: Undefine GLIB_COMPILATION.

* glib.def: Updates.

* .cvsignore
* */.cvsignore: Ignore also .obj, .dll, .lib and .exe files.
/external/bluetooth/glib/tests/testglib.c
1c391cc69846713b0406545146ea232efc5f34e2 18-Feb-2001 Havoc Pennington <hp@pobox.com> include string.h

2001-02-17 Havoc Pennington <hp@pobox.com>

* gthread.c: include string.h

Applied patch from Soeren Sandmann:

* testglib.c: const fixes

* gwin32.h: format cleanups

* gutils.c (g_atexit): constify a variable
(g_find_program_in_path): constification
(g_basename): G_CONST_RETURN
(g_path_skip_root): G_CONST_RETURN
(g_getenv): G_CONST_RETURN
(g_get_user_name): G_CONST_RETURN
(g_get_real_name): G_CONST_RETURN
(g_get_home_dir): G_CONST_RETURN
(g_get_tmp_dir): G_CONST_RETURN
(g_get_prgname): G_CONST_RETURN
(_glib_gettext): G_CONST_RETURN

* gunicode.h: formatting cleanups

* gstrfuncs.c (g_strerror): G_CONST_RETURN
(g_strsignal): G_CONST_RETURN

* gspawn.c (g_execute): const on variables

* gmessages.c (printf_string_upper_bound): fix const on a variable

* gmem.c (g_mem_chunk_new): make the "name" arg const
(struct _GRealMemChunk): make the "name" field const

* gfileutils.c (g_file_open_tmp): store const return in a const
gchar* variable

* gdataset.c (g_quark_to_string): G_CONST_RETURN

2001-02-17 Havoc Pennington <hp@pobox.com>

Applied patch from Soeren Sandmann:

* gvaluetypes.c (g_value_get_string): G_CONST_RETURN

* gtype.c (g_type_name): G_CONST_RETURN

* gsignal.c (g_signal_name): G_CONST_RETURN

* gobject-query.c (main): const fix

2001-02-17 Havoc Pennington <hp@pobox.com>

Applied patch from Soeren Sandmann:

* gmodule.c (g_module_error): G_CONST_RETURN
(g_module_name): G_CONST_RETURN
/external/bluetooth/glib/tests/testglib.c
69dbd6eb03a0abe5d0f889c670a467e74e256ef7 17-Jan-2001 Tor Lillqvist <tml@iki.fi> Add doc comments. (g_win32_get_package_installation_directory): Add one

2001-01-17 Tor Lillqvist <tml@iki.fi>

* gwin32.c (g_win32_getlocale, g_win32_error_message): Add doc
comments.
(g_win32_get_package_installation_directory): Add one parameter,
the name of a DLL in the package. Add possibility to use that to
deduce the installation directory if not entered into the
Registry. Make the return value dynamically allocated.
(g_win32_get_package_installation_subdirectory): New convenience
function.

* gutils.c (GLIB_LOCALE_DIR)
* gwin32.h: Adapt accordingly.

* testglib.c (main): Adapt tests accordingly.
/external/bluetooth/glib/tests/testglib.c
a9d05d4cc443a8c2e6675aca994c065305a8adb4 16-Jan-2001 Tor Lillqvist <tml@iki.fi> Define ENABLE_NLS and GETTEXT_PACKAGE.

2001-01-17 Tor Lillqvist <tml@iki.fi>

* config.h.win32.in: Define ENABLE_NLS and GETTEXT_PACKAGE.

* makefile.mingw.in
* makefile.msc.in: Use the GNU intl library.

* gwin32.c (g_win32_get_package_installation_directory): New
function. To be used by various GLib-using packages to get their
installation directory, which should be stored in the Registry by
some installer.

* gwin32.h: Declare it.

* testglib.c (main): Test it.

* gutils.c: On Win32, define GLIB_LOCALE_DIR using
g_win32_get_package_installation_directory().

* glib.def: Update.
/external/bluetooth/glib/tests/testglib.c
71e0f9374743a66d77430c1a46f0b06c58942f79 05-Jan-2001 Tor Lillqvist <tml@iki.fi> Add test for g_path_skip_root().

2001-01-05 Tor Lillqvist <tml@iki.fi>

* testglib.c (main): Add test for g_path_skip_root().

* gutils.c (g_path_skip_root): Fix bugs in code I just added ;-)
/external/bluetooth/glib/tests/testglib.c
4f76917c6a239dfcecfd87682799953e27681be9 11-Nov-2000 Tor Lillqvist <tml@iki.fi> Improve chance to generate unique names with less effort a bit.

2000-11-11 Tor Lillqvist <tml@iki.fi>

* gfileutils.c (g_mkstemp): Improve chance to generate unique
names with less effort a bit.

* gfileutils.h: Add g_file_open_tmp() declaration.

* testglib.c: Include <io.h> on Win32.

* makefile.mingw.in: Correct the way to invoke sub-makes.

2000-11-11 Tor Lillqvist <tml@iki.fi>

* gtypemodule.c: Include stdlib.h for exit().

* makefile.{mingw,msc}.in (gobject_OBJECTS): Add gtypemodule.

* gobject.def: Add new functions.
/external/bluetooth/glib/tests/testglib.c
997215e7477075bfa05a9f21a639f3d8f74d2144 11-Nov-2000 Tor Lillqvist <tml@iki.fi> New function, suggested by Havoc earlier this month. (g_mkstemp): Use only

2000-11-11 Tor Lillqvist <tml@iki.fi>

* gfileutils.c (g_file_open_tmp): New function, suggested by Havoc
earlier this month.
(g_mkstemp): Use only one case for letters in temp file name, as
this will be used on systems with case-insensitive file systems.

* testglib.c (main): Test g_mkstemp() and g_file_open_tmp().
/external/bluetooth/glib/tests/testglib.c
267b6813703e24ef60d0e8ba42557c414f9dd52e 30-Oct-2000 Sebastian Wilhelmi <wilhelmi@ira.uka.de> Introduced new function type GEqualFunc to return TRUE for equal params.


2000-10-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>

* gcache.h, gcache.c, ghash.h, ghash.c, grel.c, grel.h, gtypes.h:
Introduced new function type GEqualFunc to return TRUE for equal
params. This is now used instead of GCompareFunc (which should
work akin to strcmp) here. This kind of fixes Bug #14412. Note
that technically GCompareFunc and GEqualFunc are still the same
types, as gint == gboolean.

* ghash.h, gutils.c: g_int_equal and g_direct_equal now return
gboolean to be really become GEqualFunc.

* gscanner.c, testglib.c, tests/hash-test.c: Some tiny changes to
follow the above change.
/external/bluetooth/glib/tests/testglib.c
9432265430dc0d4c61551a5a3cbdd6216297f8e4 08-Sep-2000 Tim Janik <timj@gtk.org> for non-i386 and non-alpha, or non gcc, implement BREAKPOINT() as raise (5

Mon Aug 21 03:57:46 2000 Tim Janik <timj@gtk.org>

* glib.h (G_BREAKPOINT): for non-i386 and non-alpha, or non gcc,
implement BREAKPOINT() as raise (5 /* SIGTRAP */);

* glib.h: provide user-definable switch G_IMPLEMENT_INLINES,
to turn on compilation of inline function implementations provided
in header files with extern linkage.
wrap inline function implementations into ifdef __G_UTILS_C__, so we
really only compile them for gutils.c and not also into arbitrary user
code that wants to make use of G_IMPLEMENT_INLINES.
adjusted comment apropriately.

* gutils.c: to turn on compilation of inline functions, provide
#define G_IMPLEMENT_INLINES 1 and #define __G_UTILS_C__.
/external/bluetooth/glib/tests/testglib.c
c9bd7542e1a28ba9de60048361c0a97d251833e7 26-Jul-2000 Tim Janik <timj@gtk.org> applied patch from Andreas Persenius <ndap@swipnet.se> that updates the

Wed Jul 26 12:59:31 2000 Tim Janik <timj@gtk.org>

* *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that
updates the license headers to the GNU Lesser General Public License,
as well as updating the copyright year to 2000.
/external/bluetooth/glib/tests/testglib.c
83e49bd036d362eb626afa0aef347c08df3b72be 26-Jul-2000 Tim Janik <timj@gtk.org> added g_strlcat() and g_strlcpy() wrappers, supplied by David Wheeler

Wed Jul 26 05:47:48 2000 Tim Janik <timj@gtk.org>

* configure.in:
* testglib.c:
* gstrfuncs.c:
* glib.h: added g_strlcat() and g_strlcpy() wrappers, supplied by
David Wheeler <dwheeler@ida.org>:

* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.

* testglib.c: Added tests for g_strlcpy, g_strlcat.
/external/bluetooth/glib/tests/testglib.c
fec9828ac62918374fb8aa94e15a9bdf554e269e 20-Jul-2000 Sebastian Wilhelmi <wilhelmi@ira.uka.de> Mark the functions g_basename and g_dirname deprecated. They will issue an


2000-07-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>

* gutils.c, glib.h: Mark the functions g_basename and g_dirname
deprecated. They will issue an warning once, when compiled with
G_ENABLE_DEBUG, but continue to work as before. Instead the
functions g_path_get_basename and g_path_get_dirname should be
used, which BOTH return newly allocated memory, that has to freed
by g_free. The new g_path_get_basename now strips trailing slashes
from the path. This fixes #5097. For discussion see
http://mail.gnome.org/pipermail/gtk-devel-list/2000-April/003139.html

* gwin32.c, testglib.c, tests/dirname-test.c: Use the new
functions instead of the old ones.

* gmodule/libgplugin_a.c, gmodule/testgmodule.c: Use
g_path_get_basename instead of the deprecated g_basename.
/external/bluetooth/glib/tests/testglib.c
6e47268c14ef1285fb8c9f4d2d3748c2bd84335f 29-Jun-2000 Owen Taylor <otaylor@redhat.com> updated

Thu Jun 29 15:57:28 2000 Owen Taylor <otaylor@redhat.com>

* NEWS: updated

* Makefile.am: added snapcheck target to go along with snapshot

* gstring.c glib.h (g_string_hash): Add g_string_hash to
go along with g_string_equal.

Tue Jun 27 12:40:23 EDT 2000 David A. Wheeler <dwheeler@dwheeler.com>

* glib.h: Added g_string_equal for comparing GStrings;
changed g_str_equal so it returns gboolean (instead of gint).

* gstring.c: Modified GString implementation to support embedded
ASCII NUL ('\0') characters, and implemented g_string_equal.

* testglib.c tests/string-test.c: Added tests for g_string_equal
and tests for proper handling of embedded ASCII NUL characters.
/external/bluetooth/glib/tests/testglib.c
db8baf697889c80c0632d7cc91343c18a2647429 01-Mar-2000 Tim Janik <timj@gtk.org> minor optimization.

Wed Mar 1 10:39:39 2000 Tim Janik <timj@gtk.org>

* gslist.c (g_slist_reverse): minor optimization.

* testglib.c (g_node_test): added a couple of tests for
g_node_copy().

* glib.h:
* gnode.c (g_node_copy): new function to copy subtrees,
supplied by dbsears@ix.netcom.com.
changed iterator to walk the children list backwards, so
we get down from O(n^2) to O(n).

* gnode.c (g_node_first_sibling): applied patch from
dbsears@ix.netcom.com to optimize access if node->parent
is present.

* gutils.c (g_get_any_init): backed out HAVE_PW_GECOS check around
assignment of g_real_name, sicne HAVE_PW_GECOS is never defined and
thus breaks the original code.

* merged changes from 1.2.7.

Sat Feb 19 19:43:29 2000 Tim Janik <timj@gtk.org>

* testgmodule.c (main): added test to check that not yet bound symbols
in shared libraries of the main module are retrievable, from David Gero.

Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>

Bug #4156 - Changes vaguely modelled after Scott Gifford's patch

* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.

* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
/external/bluetooth/glib/tests/testglib.c
cf24ff7121c1567c6831b8752f7ae02cb15d6e00 17-Feb-2000 Havoc Pennington <hp@pobox.com> changed g_str_hash() to a 31 bit version based on a submission by Karl

Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>

* gstring.c: changed g_str_hash() to a 31 bit version based on
a submission by Karl Nelson and hand optimized ad absurdum by
various people ;)

* gstring.c: applied patch from havoc for new gstring functions,
added some more sanity checks, coding style fixups.

2000-02-13 Havoc Pennington <hp@pobox.com>

* tests/string-test.c (main): Add tests for the new GString
features

* testglib.c (main): Add tests for the new GString features

* gstring.c (g_string_insert_len): New function; insert
a given length of string at a given position.
(g_string_append): reimplement in terms of g_string_insert_len
(g_string_append_len): new function
(g_string_insert_c): accept -1 for "pos" arg to mean "append"
(g_string_append_c): reimplement in terms of g_string_insert_c
(g_string_prepend): reimplement in terms of g_string_insert_len
(g_string_prepend_len): new function
(g_string_prepend_c): reimplement in terms of g_string_insert_c
(g_string_insert): reimplement in terms of g_string_insert_len

* glib.h: Declare g_string_insert_len, g_string_append_len,
g_string_prepend_len
/external/bluetooth/glib/tests/testglib.c
6c5ec62da239e31462ac88e5ce40ffb017920e04 01-Nov-1999 Tor Lillqvist <tml@iki.fi> glib.h Rename Win32-only functions from gwin_* to g_win32_* to match the

1999-11-01 Tor Lillqvist <tml@iki.fi>

* glib.h
* glib.def: Rename Win32-only functions from gwin_* to g_win32_*
to match the GLib naming conventions.

* gutils.c
* gwin32.c
* testglib.c
* makefile.{cygwin,msc}: Move the Win32-only functions to the new
file gwin32.c
/external/bluetooth/glib/tests/testglib.c
30cc3ed1fe251c3b5ee477152645884849037af0 31-Oct-1999 Tor Lillqvist <tml@iki.fi> Don't crash if removing a nonexistent value.

1999-10-31 Tor Lillqvist <tml@iki.fi>

* gcache.c (g_cache_remove): Don't crash if removing a nonexistent
value.

* gutils.c (gwin_getlocale): New Win32-specific function, returns
a Unixish current locale string (en, zh_TW etc).

* glib.h: Declare it.

* glib.def: Export it.

* testglib.c: Test it.

* gmessages.c (Win32: ensure_stdout_valid): Some improvements,
make sure we don't call AllocConsole several times, which I think
has happened.
/external/bluetooth/glib/tests/testglib.c
7ea73a019935e1118935433c86480acc5eee2e05 04-Oct-1999 Manish Singh <yosh@src.gnome.org> G_OS_FOO #defines. I *think* I got the cygwin and beos stuff right, but
I haven't tested it. The respective porters should fix any screwups

-Yosh
/external/bluetooth/glib/tests/testglib.c
2aa1277d60f63d283a955d40cc681f1d30a067e8 24-Apr-1999 Tor Lillqvist <tml@src.gnome.org> Support added for building using a GNU toolchain on Win32,
i.e. gcc -mno-cygwin on cygwin (a.k.a. mingw32, using egcs-1.1.2).

* README.win32: Updated.
* build-dll makefile.cygwin tests/makefile.cygwin: New files.
* glib.h glib.def glibconfig.h.win32 makefile.msc: Slight updates.
* gmain.c: No need to include <fcntl.h> and <io.h> on Win32.
* gmain.c gutils.c testglib.c tests/string-test.c: Test for
NATIVE_WIN32, not _MSC_VER.
* gmutex.c: Must declare g_thread_functions_for_glib_use as
exported (using the GUTILS_C_VAR macro).
* gutils.c gmodule/libgplugin_[ab].c: LibMain not needed.
* gmodule/gmoduleconf.h.win32: Need underscore with gcc.
* gthread/gthread.c: With gcc on Win32, must use memcpy to assign
value of g_thread_functions_for_glib_use (?).
* makefile.msc tests/makefile.msc: Cosmetics.
/external/bluetooth/glib/tests/testglib.c
b9ef2b41db975061960e2217220668c2a5d563da 24-Feb-1999 CST 1999 Shawn T. Amundson <amundson@gtk.org> inserted additional note to look for ChangeLog and AUTHORS file for a log

Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>

* *.[ch]: inserted additional note to look for ChangeLog and
AUTHORS file for a log of modifications.
/external/bluetooth/glib/tests/testglib.c
448e792b0a9b092f9593eaa51e16acd8abe54c76 24-Jan-1999 Jeff Garzik <jgarzik@pobox.com> - Fixed bug that overwrote nodes in hash buckets instead of adding them to

Sat Jan 23 22:45:59 1999 Jeff Garzik <jgarzik@pobox.com>

* ghash.c (g_hash_table_lookup_node, g_hash_table_lookup,
g_hash_table_insert, g_hash_table_remove,
g_hash_table_lookup_extended):
- Fixed bug that overwrote nodes in hash buckets instead of
adding them to the hash bucket node list.
Hash tables now work as advertised.

(g_hash_table_resize):
- Use g_new0 instead of manual init.
- Space out code a bit for readability.

(g_hash_nodes_destroy):
- Replaced "if (!hash_node) return;" with
"if (hash_node) {do stuff}".
Testing takes up less code space than explicit call to
'return' before end of function. (look at gcc -S)

Updated module header copyright to 1999.
New module macro G_HASH_BUCKET for (table,key)->bucket lookups.

* tests/hash-test.c:
- Add two new tests, one with strings as the keys and values, and
one with ints as the keys and values. Tests indirect (strings)
and direct (ints) hashing.
- Cleanup unused junk left over from testglib.c.
- Converted a g_print call to g_assert_not_reached.
- Updated copyright to 1999.

* testglib.c, tests/string-test.c:
- Init 'tmp_string' var to NULL, silencing uninit-var warning.
/external/bluetooth/glib/tests/testglib.c
63cc3f3cfb1ef2e4447ef962fd028ee58a8ec1c8 23-Jan-1999 Tim Janik <timj@gtk.org> cleaned up the errno mess for GETPWUID. we especially don't want to

Sat Jan 23 02:14:28 1999 Tim Janik <timj@gtk.org>

* gutils.c (g_get_any_init): cleaned up the errno mess for
GETPWUID. we especially don't want to g_error() out here!
the warning for G_THREADS_ENABLED and !HAVE_GETPWUID_R isn't
gcc related.
if !HAVE_PWD_H and !NATIVE_WIN32, g_free the home dir before
resetting it to NULL, why are we doing this anyways?
reordered code a bit so we always provide defaults (except
for g_home_dir).
/external/bluetooth/glib/tests/testglib.c
5afc0d6cf4d844c7e7ad6618f75bcc8401119361 13-Jan-1999 Manish Singh <yosh@src.gnome.org> acinclude.m4 ltconfig upgrade to libtool 1.2d (with fixes for irix6 and

* acinclude.m4
* ltconfig
* ltmain.sh: upgrade to libtool 1.2d (with fixes for irix6 and osf)

* testglib.c: removed unused cruft

-Yosh
/external/bluetooth/glib/tests/testglib.c
b4c62873da3942abcb6f1f6a9d878ce1314b28ab 11-Jan-1999 Jeff Garzik <jgarzik@src.gnome.org> alloca and vasprintf go away
/external/bluetooth/glib/tests/testglib.c
5eeca0d62d4b3290bf9104c9f2dce71206d1b7fd 09-Jan-1999 Jeff Garzik <jgarzik@src.gnome.org> Make all aux functions static.

* testglib.c:
Make all aux functions static.

* tests/Makefile.am, tests/dirname-test.c, tests/type-test.c:
New tests dirname-test and type-test, from testglib.
/external/bluetooth/glib/tests/testglib.c
81224ac5ac0406d44b83f2db8412e816a7f077fb 03-Jan-1999 Jeff Garzik <jgarzik@src.gnome.org> Added g_alloca, g_new_a, g_new0_a macros.
/external/bluetooth/glib/tests/testglib.c
ab114d33f7f378a4d2f255b783704e3d3d0fe5e2 02-Jan-1999 Jeff Garzik <jgarzik@src.gnome.org> Added g_strdup_printf check
/external/bluetooth/glib/tests/testglib.c
bbbfe78d7051d23b0c833489b97a1a6b76e5e334 02-Jan-1999 Jeff Garzik <jgarzik@src.gnome.org> Handle NULL strings like g_strdup. s/g_strconcat_a/g_strconcat3_a/ to

* glib.h:
(g_strdup_a, g_strndup_a): Handle NULL strings like g_strdup.
s/g_strconcat_a/g_strconcat3_a/ to reflect fixed number of args

* testglib.c:
Added g_strdup, g_strconcat checks.
Added str==NULL checks for alloca string macros.
s/g_strconcat_a/g_strconcat3_a/
/external/bluetooth/glib/tests/testglib.c
3de4d2b78162c7611d7e4823436d240e9d518cbe 02-Jan-1999 Manish Singh <yosh@src.gnome.org> made the alloca tests follow the testglib style

* testglib.c: made the alloca tests follow the testglib style

* Makefile.am: minor cleanups, mostly cosmetic

-Yosh
/external/bluetooth/glib/tests/testglib.c
58aaa9d32bd86132afb0a9eedd69f8b0299d556b 02-Jan-1999 Jeff Garzik <jgarzik@src.gnome.org> added g_strndup_a macro

* glib.h: added g_strndup_a macro

* testglib.c:
Added tests for new alloca-based string routines.
Reformatted a couple strings.
/external/bluetooth/glib/tests/testglib.c
be7ab912ee3521a4edfdf8e95977d4259da1bc29 13-Nov-1998 Owen Taylor <otaylor@redhat.com> Added g_list_sort() and g_slist_sort() to merge sort GLists and GSLists.

Fri Nov 13 15:17:34 1998 Owen Taylor <otaylor@redhat.com>

* glist.c gslist.c glib.h: Added g_list_sort() and
g_slist_sort() to merge sort GLists and GSLists.
Submitted by Sven Over <sven.over@ob.kamp.net>
over a year ago!

* testglib.c: Test the new sort functions.
/external/bluetooth/glib/tests/testglib.c
11376df686533f658cac985344f45d6132a87076 11-Nov-1998 Manish Singh <yosh@src.gnome.org> use __extension__ for long long on gcc >= 2.8 and egcs, and provide a

* configure.in: use __extension__ for long long on gcc >= 2.8 and
egcs, and provide a G_GINT64_CONSTANT wrapper so -ansi -pedantic
compiles clean.

* glib.h: make the endian x86 asm __const__ so the compiler can do
better optimizations. Also remove the cc clobber, these shouldn't
be changing condition codes. Ditch some redundant casts. Add an
optimization for 64-bit endian conversions in x86. Use constant
wrapper for the generic method.

* testglib.c: use constant wrappers for 64-bit constants

-Yosh
/external/bluetooth/glib/tests/testglib.c
7e046917266805e0ddeb60f07b98ea82d9e8c1ac 01-Nov-1998 Manish Singh <yosh@src.gnome.org> applied glib-tml-981101-1 patch from Tor Lillqvist (ChangeLog entry

* applied glib-tml-981101-1 patch from Tor Lillqvist (ChangeLog
entry appended below)

* testglib.c
* gstrfuncs.c
* glib.h: use G_HAVE_GINT64, since HAVE_GINT64 is gone

* gmessages.c
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H

-Yosh
/external/bluetooth/glib/tests/testglib.c
215251e99dcaa18bda8ed70cdd8f0edc27de5f41 27-Oct-1998 Manish Singh <yosh@src.gnome.org> reimplemented the endian stuff, using inline asm for x86. #define g_htonl

* glib.h: reimplemented the endian stuff, using inline asm for x86.
#define g_htonl and friends.

* testglib.c: new tests for the endian stuff

* configure.in: care for AIX in gmodule linker flags test (from Joel Becker
<jlbec@raleigh.ibm.com>). Check $host_os for linux instead of existance of
/usr/include/linux

* gutils.c: buh-bye evil warning. Thou hast been #ifdef'd out of thine
existance!

-Yosh
/external/bluetooth/glib/tests/testglib.c
a6149403deed931b8c78b26aeb0e9c952cf3ef93 27-Oct-1998 Tor Lillqvist <tml@iki.fi> removed dummy structure definitions for struct _GCache, _GTree, _GTimer,

Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>

* glib.h: removed dummy structure definitions for struct _GCache,
_GTree, _GTimer, _GMemChunk, _GListAllocator and _GStringChunk.

* gutils.c: implement glib's inline functions _after_ all include
statements have been processed.
removed Tor's MAXPATHLEN check since there already was one supplied
further down in this file.
(LibMain): special cased the #ifdef __LCC__ case for NATIVE_WIN32,
since lcc maybe used on other platforms as well. why in hell is this
stuff required?
(g_get_any_init): for windows, if the user name is supplied, use it as
realname also.
in general, if there is no homedir specified, use the tmpdir that
we already figured.

* gtimer.c (g_timer_elapsed): changed a g_assert() statement to
g_return_if_fail().

* applied glib-tml-981020-0.patch for WIN32 portability, added some
comments and g_return_if_fail() statements, minor indentation fixes.
ChangeLog entry from Tor Lillqvist is appended.

* glib.h (struct dirent): use lower case structure members.

* glib.h:
* makefile.lcc:
* makefile.msc:
s/COMPILING_GLIB/GLIB_COMPILATION/

1998-10-20: Tor Lillqvist <tml@iki.fi>

* README.win32 glib.def gmodule.def
* glibconfig.h.win32 gmodule/gmoduleconf.h.win32:
New files for the Windows port. The .def files list exported
symbols for the Microsoft linker and compatibles.

* configure.in:
Added checks for some platform-dependent headers: pwd.h sys/param.h
sys/select.h sys/time.h sys/times.h unistd.h, and the function lstat.

* gerror.c:
Conditionalized inclusion of system-dependent headers. Changes
for Windows: no gdb to do a stack trace. Just call abort().

* glib.h:
Changes for Windows:

Added macros G_DIR_SEPARATOR, G_DIR_SEPARATOR_S for
platform-dependent file name syntax elements. Added macros
G_SEARCHPATH_SEPARATOR, G_SEARCHPATH_SEPARATOR_S for
platform-dependent search path syntax conventions.

Added pragmas for Microsoft C to make it more pedantic.

Marked GLib's global variables for export from DLL.

Added the function g_strescape that escapes backslashes.

Added functions g_path_is_absolute and g_path_skip_root to
handle platform-dependent file name syntax.

Added the function g_getenv that expands environment variables
that contain references to other environment variables, as is
typical on Windows NT.

Added the GIOChannel structure which is used to encapsulate the
IPC mechanism used by the GIMP's plug-ins, and possibly other
things later. On Unix a GIOChannel encapsulates just a file
descriptor. On Windows it contains a file handle from _pipe() and a
few other things related to the implementation of gdk_input_add
and GIMP plug-in communication. Subject to change.

Removed duplicate declarations of the version variables.

For the Microsoft compiler, declare own implementation of
ftruncate and the <dirent.h> functions.

* gmem.c:
Define a symbolic name for the profiling table size.

* gmessages.c:
Conditionalized inclusion of unistd.h. On Windows, output using
stdio to stdout.

* gscanner.c:
Conditionalized inclusion of unistd.h. Added changes for
Microsoft C. Added CR to the skipped character set. Added small
workaround for MSC compiler bug in g_scanner_cur_value.

* gstrfuncs.c:
Added the function g_strescape, which escapes the backslash
character. Needed especially when printing Windows filenames.

* gtimer.c:
Conditionalized inclusion of unistd.h and sys/time.h. Added
implementations for Windows.

* gutils.c:
Conditionalized inclusion of platform-dependent headers. Use
the platform-independent file name syntax macros.
Conditionalize code on platform-dependent features. Added the
functions g_path_is_absolute g_path_skip_root and g_getenv.
Added the GIOChannel-related functions. Added
compiler-dependent Unix compatibility functions for Windows.

* makefile.lcc makefile.msc:
New files. Compiler-specific makefiles for LCC-Win32 and
Microsoft C. Only Microsoft C is actually supported currently.

* testglib.c:
Added pathname check cases for Windows. Added workaround for
bug in the Microsoft runtime library. Improved some tests a bit.

Tue Oct 27 04:00:11 1998 Tim Janik <timj@gtk.org>

* testgmodule.c (main): changed the #ifdef WIN32 test to NATIVE_WIN32,
this needs to be more constistent throughout the code, do we go for
NATIVE_WIN32 or WIN32?

* gmodule.c (LibMain): special cased the #ifdef __LCC__ case for
NATIVE_WIN32, since lcc maybe used on other platforms as well.
* libgplugin_a.c (LibMain):
* libgplugin_b.c (LibMain):
likewise. not sure i like this special requirement for lcc in here.

* gmodule-dl.c (_g_module_build_path):
feature empty "" directories and prepend the module name with "lib".

* gmodule-dld.c (_g_module_build_path):
* gmodule-win32.c (_g_module_build_path):
feature empty "" directories.

* we need some more magic in the _g_module_build_path variants
so we don't append/prepend lib and .so, .sl or .dll for those names
that already contain it.

* applied patch from Tor Lillqvist for g_module_build_path() and
windows support.

1998-10-20: Tor Lillqvist <tml@iki.fi>

* gmodule/gmodule-win32.c:
New file.

* gmodule/gmodule.c gmodule/gmodule.h:
Added the funcion g_module_build_path that builds the path to
a module file, decorating the name according to the system's
conventions. Added the Windows implementation.

* gmodule/libgplugin_a.c gmodule/libgplugin_b.c:
Added LibMain for LCC-Win32.

* gmodule/testgmodule.c:
Handle Windows dll names.
/external/bluetooth/glib/tests/testglib.c
034e7c0339f64d4d52a53f2324daa2fca0332add 20-Sep-1998 Manish Singh <yosh@src.gnome.org> This is Josh, commiting as Manish. This is completely new, and
nothing will break.

* glib.h: New function g_hash_table_foreach_remove is similar to
g_hash_table_foreach, but the callback's return value indicates
whether to remove the element (if TRUE) or not (if FALSE).
/external/bluetooth/glib/tests/testglib.c
0b42c37e7d91a517372108e99105556f5146b0b5 07-Sep-1998 Tim Janik <timj@gtk.org> check for all three inline keywords individually.

Mon Sep 7 07:53:21 1998 Tim Janik <timj@gtk.org>

* configure.in: check for all three inline keywords individually.

* glib.h: inlining hassle. for compilers that don't allow the `inline'
keyword, mostly because of strict ANSI C compliance or dumbness, we try
to fall back to either `__inline__' or `__inline'.
we define G_CAN_INLINE, if the compiler seems to be actually *capable*
to do function inlining, in which case inline function bodys do make
sense. we also define G_INLINE_FUNC to properly export the function
prototypes if no inlinig can be performed. we special case most of the
stuff, so inline functions can have a normal implementation by defining
G_INLINE_FUNC to extern and G_CAN_INLINE to 1.

* ltconfig: (compiler PIC flag test): special case linux for non
aout systems to honour lcc's position independant code (cases
"linux*aout)" and "linux*)" got added). (this needs to go into
libtool which does an advanced test, checking for __LCC__).

* autogen.sh: take $CC=lcc into account by invoking automake with
--include-deps so lcc isn't scared by gcc's auto-dependancy
generation code. care about $ACLOCAL_FLAGS. optionally feature
autoheader.

* minor fixups in other places to cure some of lcc's warnings.
/external/bluetooth/glib/tests/testglib.c
7401460a60504dad7b77219d0ba3d93112e12444 02-Sep-1998 Manish Singh <yosh@src.gnome.org> Mostly changes to GArray code. See ChangeLog.
/external/bluetooth/glib/tests/testglib.c
d5803865b40fbdf2ebec2dafbf9974bd590ebf40 16-Aug-1998 Tim Janik <timj@gtk.org> version bump to 1.1.3, binary age 0, interface age 0.

Sun Aug 16 20:28:27 1998 Tim Janik <timj@gtk.org>

* version bump to 1.1.3, binary age 0, interface age 0.

* glib.h: be nice to platforms that don't have gint64 and don't
issue #warning on every compilation. since glib doesn't require
gint64 itself, packages that need gint64 should test for this
themselves.

* glib.h:
* gutils.c: added a new function g_vsnprintf().

Fri Aug 14 16:41:53 1998 Tim Janik <timj@gtk.org>

* glib.h: added static inline functions for bit mask tests:
g_bit_nth_lsf, g_bit_nth_msf and g_bit_storage.

Fri Aug 13 14:23:37 1998 Tim Janik <timj@gtk.org>

* glib.h:
* gmessages.c:
revised the message handling system, which is now based on a new
mechanism g_log*. most of the assertment macros got adapted to
feature the new g_log() call with an additional specification of
the log level in a preprocessor macro G_LOG_DOMAIN. if G_LOG_DOMAIN
is undefined upon the includion of glib.h, it'll be defined with a
value of (NULL) and thus preserves the original bahaviour for
warning and error messages. the message handler setting functions
for g_warning, g_error and g_message are only provided for backwards
compatibility and might get removed somewhen.

* Makefile.am: feature the G_LOG_DOMAIN macro to set the log domain
to "GLib" upon compilation. we currently have to add this definition
to the DEFS variable.
* testglib.c: we need an ugly #undef G_LOG_DOMAIN at the start
of this file currently, since automake doesn't support per target
_CFLAGS yet.

* glib.h: changed some gints to gbooleans, made a few const corrections,
removed some superfluous G_STMT_START{}G_STMT_END wrappers, added some
in other required places.

* gnode.c:
(g_node_prepend):
(g_node_insert_before):
(g_node_insert):
(g_node_append_data):
(g_node_prepend_data):
(g_node_insert_data_before):
(g_node_insert_data):
(g_node_append):
return (node), so these macros/functions can be usefully chained with
g_node_new().

[GModule]
Fri Aug 14 02:24:39 1998 Tim Janik <timj@gtk.org>

* Makefile.am: feature the G_LOG_DOMAIN macro to set the log domain
to "GModule" upon compilation. we currently have to add this definition
to the DEFS variable.
* testgmodule.c: we need an ugly #undef G_LOG_DOMAIN at the start
of this file currently, since automake doesn't support per target
_CFLAGS yet.
/external/bluetooth/glib/tests/testglib.c
041a14df580f901b3123d3ad7a82f3a8dced590a 05-Aug-1998 George Lebl <jirka@5z.com> fix 64-bitness in g_prints, sizeof doesn't seem to return int so I cast it

Wed Aug 05 01:15:36 1998 George Lebl <jirka@5z.com>

* testglib.c: fix 64-bitness in g_prints, sizeof doesn't
seem to return int so I cast it for printing, probably
just cosmetic
/external/bluetooth/glib/tests/testglib.c
16b83a9a50fcfa57a3c86f7e02cf7aa15567145d 04-Aug-1998 Tim Janik <timj@gtk.org> version bump to 1.1.1, binary age 1, interface age 0. updates. updates.

Tue Aug 4 15:17:54 1998 Tim Janik <timj@gtk.org>

* configure.in: version bump to 1.1.1, binary age 1, interface age 0.
* NEWS: updates.
* README: updates.
* INSTALL: updates and fixes.
* COPYING: include the GNU LGPL, rather than shipping an empty file.
* AUTHORS: listed original authors here, and added people who made
significant improvements to glib.

* glib.h:
* gutils.c: implement g_get_current_dir() which returns a newly
allocated string, instead of a g_getcwd() variant that operates
on a static buffer.
export glib_interface_age and glib_binary_age.
as a convenience, macro definitions have been added for
g_node_insert_data, g_node_insert_data_before, g_node_append_data and
g_node_prepend_data.

* testglib.c: minor cleanups, print current dir.
/external/bluetooth/glib/tests/testglib.c
5272119ce910740d98415f70c662bbb8942a4a5f 31-Jul-1998 Tim Janik <timj@gtk.org> added a GNode test.

Fri Jul 31 22:17:05 1998 Tim Janik <timj@gtk.org>

* testglib.c (g_node_test): added a GNode test.

Fri Jul 31 09:08:16 1998 Tim Janik <timj@gtk.org>

* Makefile.am: compile gnode.c.

* glib.h:
* gnode.c: added implementation of n-way trees.

* gtree.c (g_tree_traverse): added a warning to the switch() statement
which says that G_LEVEL_ORDER is not implemented.
/external/bluetooth/glib/tests/testglib.c
acc1c38efe2decbd924cf9f4844d6fb3d86fcc4b 14-Jul-1998 Tim Janik <timj@gtk.org> new fuction g_dirname() which returns a newlly allocated string.

Tue Jul 14 09:05:18 1998 Tim Janik <timj@gtk.org>

* glib.h:
* gutils.c: new fuction g_dirname() which returns a newlly
allocated string.
/external/bluetooth/glib/tests/testglib.c
05b2f03c6ab0523829c300881bcc164c30c4e8fa 18-Jun-1998 Federico Mena Quintero <federico@nuclecu.unam.mx> Use GINT_TO_POINTER casts to remove compiler warnings.

1998-06-18 Federico Mena Quintero <federico@nuclecu.unam.mx>

* testglib.c (main): Use GINT_TO_POINTER casts to remove compiler
warnings.

* grel.c: #include <string.h>
/external/bluetooth/glib/tests/testglib.c
df9a49ec3cbb19e58be929548cfba12452c55d83 12-Jun-1998 Josh MacDonald <jmacd@icw.EECS.Berkeley.EDU> [Changes from josh to sync with his glib stuff -Yosh]

Fri Jun 12 00:39:28 1998 Josh MacDonald <jmacd@icw.EECS.Berkeley.EDU>

* glib.h: add new hash and equal functions g_int_*. complement
g_direct_hash with g_direct_equal.

* grel.c: new file, GRelations implement tuples of N-N mappings.
A comment in glib.h briefly describes the interface.

* ghash.c: new function, g_hash_table_size

* glib.h: new typedefs, gsize, gssize, gtime.

* garray.c: new functions implementing a simplified GArray. This
GPtrArray is an array of gpointers and has functions to add and
remove elements, much like java.lang.Vector.

* garray.c: new functions for the single-byte special case of
GArray. The functions g_byte_array* operate on arrays of bytes.
Internally, a GArray is used.

* testglib.c: tests for g_ptr_array, g_byte_array, and g_relation...
/external/bluetooth/glib/tests/testglib.c
2e0320d57e417f7d1c838d729a99545db2228e93 11-Jun-1998 Owen Taylor <otaylor@src.gnome.org> Initial revision
/external/bluetooth/glib/tests/testglib.c