Matthias Clasen [Thu, 2 Sep 2004 00:27:27 +0000 (00:27 +0000)]
Add a function to calculate the ISO 8601 week number of a date. (#92579,
Wed Sep 1 20:22:39 2004 Matthias Clasen <maclas@gmx.de>
* glib/gdate.h:
* glib/gdate.c (g_date_get_iso8601_week_of_year): Add
a function to calculate the ISO 8601 week number of
a date. (#92579, Niklas Lundell)
Anders Carlsson [Wed, 1 Sep 2004 17:35:59 +0000 (17:35 +0000)]
Set program name before calling the pre-parse hooks.
2004-09-01 Anders Carlsson <andersca@gnome.org>
* glib/goption.c: (g_option_context_parse):
Set program name before calling the pre-parse hooks.
Anders Carlsson [Wed, 1 Sep 2004 17:31:43 +0000 (17:31 +0000)]
Handle option contexts without a main group.
2004-09-01 Anders Carlsson <andersca@gnome.org>
* glib/goption.c: (g_option_context_free), (print_help),
(g_option_context_parse):
Handle option contexts without a main group.
* tests/option-test.c: (empty_test2), (main):
Add test case for that.
Francisco Javier F. Serrador [Tue, 31 Aug 2004 21:37:05 +0000 (21:37 +0000)]
Updated Spanish translation.
2004-08-31 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Anders Carlsson [Mon, 30 Aug 2004 20:40:52 +0000 (20:40 +0000)]
Set prgname to <unknown> if argc and argv are NULL.
2004-08-30 Anders Carlsson <andersca@gnome.org>
* glib/goption.c: (g_option_context_parse):
Set prgname to <unknown> if argc and argv are NULL.
* tests/option-test.c: (empty_test1), (main):
Add test case for that.
Matthias Clasen [Mon, 30 Aug 2004 03:59:59 +0000 (03:59 +0000)]
Point to g_hash_table_lookup_extended() for differentiation between
Sun Aug 29 23:58:38 2004 Matthias Clasen <maclas@gmx.de>
* glib/ghash.c (g_hash_table_lookup): Point to
g_hash_table_lookup_extended() for differentiation between
not-found and value-is-NULL. (#150960, Morten Welinder)
Matthias Clasen [Mon, 30 Aug 2004 03:54:01 +0000 (03:54 +0000)]
Fix a typo. (#151109, Stepan Kasal)
Sun Aug 29 23:50:45 2004 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/fileutils.sgml: Fix a typo. (#151109, Stepan Kasal)
Matthias Clasen [Fri, 27 Aug 2004 14:57:34 +0000 (14:57 +0000)]
Fix #151193, Stepan Kasal:
2004-08-27 Matthias Clasen <mclasen@redhat.com>
Fix #151193, Stepan Kasal:
* glib/gfileutils.c (g_file_error_from_errno):
* glib/gfileutils.h (enum GFileError): Add G_FILE_ERROR_NOSYS.
Matthias Clasen [Fri, 27 Aug 2004 04:49:02 +0000 (04:49 +0000)]
Set the program name from argv[0], noticed by Masatake YAMATO.
Fri Aug 27 00:45:41 2004 Matthias Clasen <maclas@gmx.de>
* glib/goption.c (g_option_context_parse): Set the program name
from argv[0], noticed by Masatake YAMATO.
Tor Lillqvist [Thu, 26 Aug 2004 00:08:46 +0000 (00:08 +0000)]
Test the new XDG basedir functions.
2004-08-26 Tor Lillqvist <tml@iki.fi>
* tests/testglib.c (main): Test the new XDG basedir functions.
Tor Lillqvist [Wed, 25 Aug 2004 15:32:50 +0000 (15:32 +0000)]
New function. Returns the Windows version code like GetVersion(), except
2004-08-25 Tor Lillqvist <tml@iki.fi>
* glib/gwin32.c (g_win32_get_windows_version): New
function. Returns the Windows version code like GetVersion(),
except that one can pretend to be running on Win9x by setting the
G_WIN32_PRETEND_WIN9X environment variable. This is mainly for
debugging purposed.
* glib/gwin32.h: Declare it. Define macros G_WIN32_WINDOWS_IS_NT_BASED
and G_WIN32_HAVE_WIDECHAR_API to test Windows features at run-time.
Matthias Clasen [Wed, 25 Aug 2004 05:26:59 +0000 (05:26 +0000)]
Version bump.
Matthias Clasen [Wed, 25 Aug 2004 05:02:57 +0000 (05:02 +0000)]
2.5.2
Matthias Clasen [Wed, 25 Aug 2004 04:30:09 +0000 (04:30 +0000)]
Update for 2.5.2
Tor Lillqvist [Wed, 25 Aug 2004 00:39:13 +0000 (00:39 +0000)]
Win32 equivalences of the XDG folders
2004-08-25 Tor Lillqvist <tml@iki.fi>
Win32 equivalences of the XDG folders
* glib/gutils.c (get_special_folder): New function, calls
SHGetSpecialFolderLocation() to get path to places like the My
Documents folder.
(g_get_any_init): Use CSIDL_PROFILE as HOME if not
overridden by env vars.
(g_get_user_data_dir): Use CSIDL_PERSONAL.
(g_get_user_config_dir): Use CSIDL_APPDATA.
(g_get_user_cache_dir): Use CSIDL_INTERNET_CACHE. Debatable...
(g_get_system_data_dirs): Use CSIDL_COMMON_APPDATA and
CSIDL_COMMON_DOCUMENTS.
(g_get_system_config_dirs): Use CSIDL_COMMON_APPDATA.
* configure.in: Add -lole32 to G_LIBS_EXTRA for mingw.
* glib/glib.def: Add the new functions.
Pawan Chitrakar [Tue, 24 Aug 2004 10:20:25 +0000 (10:20 +0000)]
Updated Nepali Translation
2004-08-23 Pawan Chitrakar <pawan@nplinux.org>
* ne.po: Updated Nepali Translation
Manish Singh [Mon, 23 Aug 2004 23:15:08 +0000 (23:15 +0000)]
remove unused variable.
Mon Aug 23 16:16:35 2004 Manish Singh <yosh@gimp.org>
* glib/goption.c (g_option_group_add_entries): remove unused
variable.
Matthias Clasen [Mon, 23 Aug 2004 17:56:35 +0000 (17:56 +0000)]
Add an example for g_on_error_query() usage. (#148716, Christian Persch)
2004-08-23 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/warnings.sgml: Add an example for
g_on_error_query() usage. (#148716, Christian Persch)
Iñaki Larrañaga [Mon, 23 Aug 2004 11:30:51 +0000 (11:30 +0000)]
Updated Basque translation.
2004-08-23 Iñaki Larrañaga <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.
Matthias Clasen [Mon, 23 Aug 2004 05:36:48 +0000 (05:36 +0000)]
Don't call g_get_home_dir() while holding the g_utils_global lock, simply
Mon Aug 23 01:35:18 2004 Matthias Clasen <maclas@gmx.de>
* glib/gutils.c (g_get_user_cache_dir):
* glib/gutils.c (g_get_user_config_dir):
* glib/gutils.c (g_get_user_data_dir): Don't call g_get_home_dir()
while holding the g_utils_global lock, simply use g_home_dir.
(#150695, Jody Goldberg)
Tor Lillqvist [Sat, 21 Aug 2004 21:29:35 +0000 (21:29 +0000)]
Tell select_thread to break out of its loop. Prevents a thread leak.
2004-08-21 Tor Lillqvist <tml@iki.fi>
* glib/giowin32.c (g_io_win32_finalize): Tell select_thread to
break out of its loop. Prevents a thread leak. (#147392, Peter
Zelezny)
Tor Lillqvist [Sat, 21 Aug 2004 13:43:51 +0000 (13:43 +0000)]
Guard against bogus return value from strxfrm(). For instance Microsoft's
2004-08-21 Tor Lillqvist <tml@iki.fi>
* glib/gunicollate.c (g_utf8_collate_key): Guard against bogus
return value from strxfrm(). For instance Microsoft's strxfrm()
returns INT_MAX on errors. (#141124)
Tor Lillqvist [Thu, 19 Aug 2004 23:38:38 +0000 (23:38 +0000)]
Correct source and destination charset parameter order in g_convert()
2004-08-19 Tor Lillqvist <tml@iki.fi>
* glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
source and destination charset parameter order in g_convert()
call. (#150394, possibly also #141124)
Jon Kåre Hellan [Thu, 19 Aug 2004 22:12:33 +0000 (22:12 +0000)]
Remove trailing commas.
Matthias Clasen [Tue, 17 Aug 2004 20:28:24 +0000 (20:28 +0000)]
Check for all four values of the visibility attribute; gcc 2.96 seems to
2004-08-17 Matthias Clasen <mclasen@redhat.com>
* configure.in: Check for all four values of the
visibility attribute; gcc 2.96 seems to miss
"default". (#150379, Vincent Noel)
Christian Rose [Mon, 16 Aug 2004 17:00:37 +0000 (17:00 +0000)]
Added "bs" to ALL_LINGUAS. Added Bosnian translation by Kenan Hadžiavdić
2004-08-16 Christian Rose <menthos@menthos.com>
* configure.in: Added "bs" to ALL_LINGUAS.
* po/bs.po: Added Bosnian translation by
Kenan Hadžiavdić <kenanh@frisurf.no>.
Tommi Vainikainen [Fri, 13 Aug 2004 19:46:09 +0000 (19:46 +0000)]
Unified po headers for Finnish Team
Matthias Clasen [Thu, 12 Aug 2004 15:00:35 +0000 (15:00 +0000)]
Document the necessity to call g_thread_init() when using threads (even
2004-08-12 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/threads.sgml: Document the necessity to call
g_thread_init() when using threads
(even non-gthreads). (#149490, Vincent Untz)
Ray Strode [Wed, 11 Aug 2004 17:53:05 +0000 (17:53 +0000)]
Add new XDG basedir API (bug 139973).
2004-08-11 Ray Strode <rstrode@redhat.com>
* docs/reference/glib/glib-sections.txt:
* glib/gutils.[ch] (g_get_user_data_dir),
(g_get_user_config_dir), (g_get_user_cache_dir),
(g_get_system_data_dirs), (g_get_system_config_dirs):
Add new XDG basedir API (bug 139973).
Matthias Clasen [Tue, 10 Aug 2004 18:52:30 +0000 (18:52 +0000)]
Remove G_GNUC_INTERNAL from here. Check whether the visibility attribute
2004-08-10 Matthias Clasen <mclasen@redhat.com>
* glib/gmacros.h: Remove G_GNUC_INTERNAL from here.
* configure.in: Check whether the visibility attribute
works and define G_HAVE_GNUC_VISIBILITY and
G_GNUC_INTERNAL in glibconfig.h correspondingly.
Matthias Clasen [Mon, 9 Aug 2004 21:39:39 +0000 (21:39 +0000)]
Define empty if gcc is too old.
Mon Aug 9 17:37:56 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old.
Ankitkumar Rameshchandra Patel [Mon, 9 Aug 2004 06:55:22 +0000 (06:55 +0000)]
Added Gujarati & Panjabi
Hans Breuer [Fri, 6 Aug 2004 18:22:46 +0000 (18:22 +0000)]
updated
2004-08-06 Hans Breuer <hans@breuer.org>
* glib/makefile.msc.in glib/glib.def : updated
* glib/gutils.c : avoid 'inconsitent dll linkage' by not
defining extern char** environ with msvc
Matthias Clasen [Fri, 6 Aug 2004 17:26:28 +0000 (17:26 +0000)]
Require ngettext. (#123847, Danilo Segan)
2004-08-06 Matthias Clasen <mclasen@redhat.com>
* m4macros/glib-gettext.m4: Require ngettext. (#123847,
Danilo Segan)
Ray Strode [Thu, 5 Aug 2004 20:53:25 +0000 (20:53 +0000)]
strdup result so caller doesn't free internally managed memory.
Thu Aug 5 20:53:00 2004 Ray Strode <rstrode@redhat.com>
* glib/gutils.h (g_get_codeset): strdup result so caller
doesn't free internally managed memory.
Ankitkumar Rameshchandra Patel [Thu, 5 Aug 2004 05:17:06 +0000 (05:17 +0000)]
ankit@redhat.com 05/08/04
Tor Lillqvist [Wed, 4 Aug 2004 23:12:53 +0000 (23:12 +0000)]
Update to match what configure produces. Add the G_ATOMIC_*. Define
2004-08-04 Tor Lillqvist <tml@iki.fi>
* config.h.win32.in: Update to match what configure produces. Add
the G_ATOMIC_*. Define G_ATOMIC_I486 when compiling with gcc. Move
HAVE_INT64_AND_I64 to where the configure script puts it. Add
HAVE_INTTYPES_H_WITH_UINTMAX. Define intmax_t as __int64 for MSVC.
Matthias Clasen [Tue, 3 Aug 2004 20:44:24 +0000 (20:44 +0000)]
Add a section for GOption. Include GOption section. New template.
Tue Aug 3 16:43:22 2004 Matthias Clasen <maclas@gmx.de>
* glib/glib-sections.txt: Add a section for GOption.
* glib/glib-docs.sgml: Include GOption section.
* glib/tmpl/option.sgml: New template.
Matthias Clasen [Tue, 3 Aug 2004 20:23:05 +0000 (20:23 +0000)]
Mark user visible strings for translation.
Tue Aug 3 16:19:44 2004 Matthias Clasen <maclas@gmx.de>
* glib/goption.c: Mark user visible strings for translation.
Matthias Clasen [Tue, 3 Aug 2004 19:52:49 +0000 (19:52 +0000)]
Pedantically use g types throughout.
Tue Aug 3 15:50:55 2004 Matthias Clasen <maclas@gmx.de>
* glib/goption.[hc]: Pedantically use g types throughout.
Matthias Clasen [Tue, 3 Aug 2004 19:41:02 +0000 (19:41 +0000)]
New function to check the version of GLib at runtime. (#149175, Michael
Tue Aug 3 14:58:20 2004 Matthias Clasen <maclas@gmx.de>
* glib/gutils.h:
* glib/gutils.c (glib_check_version): New function to
check the version of GLib at runtime. (#149175, Michael Natterer)
Anders Carlsson [Mon, 2 Aug 2004 22:24:17 +0000 (22:24 +0000)]
Move GTranslateFunc to gtypes.h
2004-08-03 Anders Carlsson <andersca@gnome.org>
* glib/goption.h:
* glib/gtypes.h:
Move GTranslateFunc to gtypes.h
Anders Carlsson [Mon, 2 Aug 2004 21:40:40 +0000 (21:40 +0000)]
Add GOption.
2004-08-02 Anders Carlsson <andersca@gnome.org>
* glib/Makefile.am:
* glib/glib.h:
* glib/goption.c:
* glib/goption.h:
* tests/.cvsignore:
* tests/Makefile.am:
* tests/option-test.c:
Add GOption.
Matthias Clasen [Mon, 2 Aug 2004 15:34:30 +0000 (15:34 +0000)]
Add a G_GNUC_INTERNAL macro to mark function declarations as internal and
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* glib/gmacros.h: Add a G_GNUC_INTERNAL macro to mark function
declarations as internal and avoid PLT indirections for
them. (#145465, Arjan van de Ven)
* glib/gunicodeprivate.h:
* glib/gthreadinit.h:
* glib/gmessages.h:
* glib/gdebug.h:
* glib/gconvert.c: Use G_GNUC_INTERNAL for _g_charset_get_aliases(),
_g_debug_init(), _g_log_fallback_handler(), _g_mem_thread_init(),
_g_messages_thread_init(), _g_convert_thread_init(),
_g_rand_thread_init(), _g_main_thread_init(), _g_atomic_thread_init(),
_g_mem_thread_private_init(), _g_messages_thread_private_init(),
_g_utf8_normalize_wc() and _g_unichar_combining_class().
* glib/gatomic.c: Include gthreadinit.h here to see the declaration
for _g_atomic_thread_init().
Matthias Clasen [Mon, 2 Aug 2004 15:12:19 +0000 (15:12 +0000)]
Include gthreadinit.h here to see the declaration for
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* glib/gatomic.c: Include gthreadinit.h here to see the declaration
for _g_atomic_thread_init().
Manish Singh [Sun, 1 Aug 2004 20:21:02 +0000 (20:21 +0000)]
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().
Matthias Clasen [Sun, 1 Aug 2004 04:35:24 +0000 (04:35 +0000)]
*** empty log message ***
Matthias Clasen [Sun, 1 Aug 2004 03:51:21 +0000 (03:51 +0000)]
2.5.1
Matthias Clasen [Sun, 1 Aug 2004 03:17:21 +0000 (03:17 +0000)]
Updates for 2.5.1
Matthias Clasen [Sun, 1 Aug 2004 00:39:45 +0000 (00:39 +0000)]
Include a test involving consecutive backslashes followed by a non-escaped
Sat Jul 31 20:33:07 2004 Matthias Clasen <maclas@gmx.de>
* tests/shell-test.c: Include a test involving consecutive
backslashes followed by a non-escaped doublequote.
* glib/gshell.c (tokenize_command_line): Count consecutive
backslashes mod 2 to detect escaped doubleqotes. (#127306)
Matthias Clasen [Fri, 30 Jul 2004 19:00:01 +0000 (19:00 +0000)]
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.
Iñaki Larrañaga [Thu, 29 Jul 2004 15:36:07 +0000 (15:36 +0000)]
Updated Basque translation.
2004-07-29 Iñaki Larrañaga <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.
Matthias Clasen [Wed, 28 Jul 2004 15:39:01 +0000 (15:39 +0000)]
Clarify docs for g_get_real_name(). (#143552, Danek Duvall)
2004-07-28 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/misc_utils.sgml: Clarify docs for
g_get_real_name(). (#143552, Danek Duvall)
Matthias Clasen [Wed, 28 Jul 2004 15:32:07 +0000 (15:32 +0000)]
Catch cases of forgotten g_type_add_private(). (#148368, Tommi Komulainen)
2004-07-28 Matthias Clasen <mclasen@redhat.com>
* gtype.c (g_type_instance_get_private): Catch cases of
forgotten g_type_add_private(). (#148368, Tommi Komulainen)
Matthias Clasen [Wed, 28 Jul 2004 15:00:59 +0000 (15:00 +0000)]
Tests for handling of whitespace inside tags.
2004-07-28 Matthias Clasen <mclasen@redhat.com>
* tests/markups/valid-{9,10,11}.gmarkup:
* tests/markups/fail-{37,38,39}.gmarkup: Tests for handling
of whitespace inside tags.
* glib/gmarkup.c (enum GMarkupParseState): Add
STATE_AFTER_ATTRIBUTE_NAME and STATE_AFTER_CLOSE_TAG_NAME.
(g_markup_parse_context_parse): Accept whitespace between
attribute names, '=' and attribute values and between
close tag name and '>'. (#148646, Hiroyuki Ikezoe)
Matthias Clasen [Tue, 27 Jul 2004 06:02:15 +0000 (06:02 +0000)]
s/g_strsplit/g_strsplit_set/ as well.
Tue Jul 27 02:01:31 2004 Matthias Clasen <maclas@gmx.de>
* glib/gstrfuncs.c (g_strsplit_set): s/g_strsplit/g_strsplit_set/
as well.
Soeren Sandmann [Sat, 24 Jul 2004 15:51:59 +0000 (15:51 +0000)]
s/g_strtokenize/g_strsplit_set/ in docs.
Sat Jul 24 17:50:07 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* glib/gstrfuncs.c (g_strsplit_set):
s/g_strtokenize/g_strsplit_set/ in docs.
Matthias Clasen [Fri, 23 Jul 2004 14:39:25 +0000 (14:39 +0000)]
Fix docs for G_MAXSIZE. (#148262, Christophe Fergeau)
Fri Jul 23 10:38:24 2004 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/limits.sgml: Fix docs for G_MAXSIZE. (#148262,
Christophe Fergeau)
Amanpreet Singh Alam [Thu, 22 Jul 2004 06:36:07 +0000 (06:36 +0000)]
up
Matthias Clasen [Wed, 21 Jul 2004 18:14:54 +0000 (18:14 +0000)]
Fix #132858, Sven Neumann, patch by James Henstridge:
2004-07-21 Matthias Clasen <mclasen@redhat.com>
Fix #132858, Sven Neumann, patch by James Henstridge:
* glib-gettextize.in: modify so that mkinstalldirs will
get installed into auxdir.
* Makefile.am (gettext_SCRIPTS): install mkinstalldirs.
Matthias Clasen [Wed, 21 Jul 2004 17:59:17 +0000 (17:59 +0000)]
Use the correct fields for enums and flags. (#145015,Tommi Komulainen)
2004-07-21 Matthias Clasen <mclasen@redhat.com>
* glib-genmarshal.c (put_marshal_value_getters): Use the
correct fields for enums and flags. (#145015,Tommi Komulainen)
Matthias Clasen [Wed, 21 Jul 2004 17:51:28 +0000 (17:51 +0000)]
Fix #147651, reported by Oliver Guntermann:
2004-07-21 Matthias Clasen <mclasen@redhat.com>
Fix #147651, reported by Oliver Guntermann:
* glib/gprintfint.h (_g_vasprintf): Don't wrap vasprintf(),
_g_gnulib_vasprintf() in a macro, since they behave
differently wrt. to memory allocation.
* glib/gprintf.c (g_vasprintf): Instead, differentiate
here between the three cases: system vasprintf(),
_g_gnulib_vasprintf(), no vasprintf().
Guntupalli Karunakar [Wed, 21 Jul 2004 11:14:02 +0000 (11:14 +0000)]
updated hindi translation
Crispin Flowerday [Tue, 20 Jul 2004 11:53:15 +0000 (11:53 +0000)]
Fix a typo in my name
2004-07-20 Crispin Flowerday <gnome@flowerday.cx>
* NEWS: Fix a typo in my name
Soeren Sandmann [Tue, 20 Jul 2004 02:34:30 +0000 (02:34 +0000)]
Bump version number
Tue Jul 20 04:31:40 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* configure.in: Bump version number
Soeren Sandmann [Sun, 18 Jul 2004 17:44:23 +0000 (17:44 +0000)]
=== Released 2.5.0 ===
Sun Jul 18 19:40:30 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* === Released 2.5.0 ===
* Makefile.am (BUILT_EXTRA_DIST): move gtk-doc.make here.
Matthias Clasen [Sun, 18 Jul 2004 05:40:51 +0000 (05:40 +0000)]
Updates for 2.5.0
Mathieu Lacage [Fri, 16 Jul 2004 06:56:20 +0000 (06:56 +0000)]
fill in ulinks
Mathieu Lacage [Fri, 16 Jul 2004 06:37:58 +0000 (06:37 +0000)]
apply patch by stefan Kost
Amanpreet Singh Alam [Tue, 13 Jul 2004 11:00:36 +0000 (11:00 +0000)]
13/7/04 aman <amanlinux@netscape.net> modify
Matthias Clasen [Mon, 12 Jul 2004 20:34:08 +0000 (20:34 +0000)]
Don't choke on a zero handler_id.
2004-07-12 Matthias Clasen <mclasen@redhat.com>
* gsignal.c (g_signal_handler_is_connected): Don't
choke on a zero handler_id.
Matthias Clasen [Mon, 12 Jul 2004 04:03:50 +0000 (04:03 +0000)]
Remove the ENABLE_NLS check here as well.
Mon Jul 12 00:02:40 2004 Matthias Clasen <maclas@gmx.de>
* glib/gi18n-lib.h: Remove the ENABLE_NLS check here as well.
Matthias Clasen [Fri, 9 Jul 2004 13:10:47 +0000 (13:10 +0000)]
Improve g_array_free() docs. (#146875, Ed Griffiths)
Matthias Clasen [Fri, 9 Jul 2004 13:05:40 +0000 (13:05 +0000)]
Convert filename to UTF-8 before using it in the error message. (#146054,
2004-07-09 Matthias Clasen <mclasen@redhat.com>
* glib/gdir.c (g_dir_open): Convert filename to UTF-8
before using it in the error message. (#146054, Federico
Mena Quintero)
Matthias Clasen [Thu, 8 Jul 2004 04:54:45 +0000 (04:54 +0000)]
Remove the ENABLE_NLS check, since GLib can't be built without anyway.
* glib/gi18n.h: Remove the ENABLE_NLS check, since GLib can't
be built without anyway. (#135899, Murray Cumming)
Matthias Clasen [Tue, 6 Jul 2004 14:13:24 +0000 (14:13 +0000)]
Fix the declarations of the new functions to return GType, not void. Also
Tue Jul 6 00:46:43 2004 Matthias Clasen <maclas@gmx.de>
* gtypemodule.h:
* gtypemodule.c: Fix the declarations of the new
functions to return GType, not void.
Also add missing includes. (#145508, Morten Welinder)
Matthias Clasen [Tue, 6 Jul 2004 04:56:36 +0000 (04:56 +0000)]
Add g_type_module_register_enum() and g_type_module_register_flags().
Tue Jul 6 00:54:38 2004 Matthias Clasen <maclas@gmx.de>
* gobject/gobject-sections.txt:
* gobject/tmpl/gtypemodule.sgml: Add g_type_module_register_enum()
and g_type_module_register_flags().
Matthias Clasen [Tue, 6 Jul 2004 04:44:22 +0000 (04:44 +0000)]
Add forgotten "Since" tag
Matthias Clasen [Mon, 5 Jul 2004 22:52:06 +0000 (22:52 +0000)]
Complete the g_log() family. (#135730, Sven Herzberg)
Mon Jul 5 18:50:27 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmessages.h (g_debug): Complete the g_log()
family. (#135730, Sven Herzberg)
Matthias Clasen [Mon, 5 Jul 2004 22:45:16 +0000 (22:45 +0000)]
Add top_srcdir to make srcdir != . work. (#145166, Kaz Sasayama)
Mon Jul 5 18:42:30 2004 Matthias Clasen <maclas@gmx.de>
* glib/gnulib/Makefile.am (INCLUDES): Add top_srcdir to
make srcdir != . work. (#145166, Kaz Sasayama)
Matthias Clasen [Sun, 4 Jul 2004 05:59:37 +0000 (05:59 +0000)]
Use a small test library instead of libpthread.so for testing RTLD_GLOBAL
Sun Jul 4 01:52:18 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Use a small test library instead of
libpthread.so for testing RTLD_GLOBAL brokenness. (#139567,
Julio M. Merino Vidal)
Sebastian Wilhelmi [Fri, 2 Jul 2004 19:03:33 +0000 (19:03 +0000)]
Rename __asm to __asm__ and __volatile to __volatile__ to make the file
2004-07-02 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gatomic.c: Rename __asm to __asm__ and __volatile to
__volatile__ to make the file consistent. Spotted by Benoit
Carpentier <gtkool_2kx@yahoo.fr>.
John Ehresman [Thu, 1 Jul 2004 16:17:54 +0000 (16:17 +0000)]
glib/giowin32.c (g_io_channel_win32_init, g_io_win32_free) Initialize
2004-07-01 John Ehresman <jpe@wingide.com>
* glib/giowin32.c (g_io_channel_win32_init, g_io_win32_free)
Initialize reset_send & reset_recv fields and don't close
sockets unless they were created. (#145153)
Matthias Clasen [Wed, 23 Jun 2004 16:56:48 +0000 (16:56 +0000)]
Add an initializer for the g_define_type_info.value_table.
Wed Jun 23 12:55:34 2004 Matthias Clasen <maclas@gmx.de>
* gtype.h (G_DEFINE_TYPE_EXTENDED): Add an initializer for
the g_define_type_info.value_table. (#144678,Mariano
Suárez-Alvarez)
Matthias Clasen [Wed, 23 Jun 2004 01:51:42 +0000 (01:51 +0000)]
Fix a couple of typos.
Tue Jun 22 21:50:47 2004 Matthias Clasen <maclas@gmx.de>
* gsignal.c: Fix a couple of typos.
Matthias Clasen [Sat, 19 Jun 2004 02:57:15 +0000 (02:57 +0000)]
Actually define the guard after checking for it. (#108038, Morten
Fri Jun 18 22:55:36 2004 Matthias Clasen <maclas@gmx.de>
* gsourceclosure.h (__G_SOURCECLOSURE_H__): Actually
define the guard after checking for it. (#108038,
Morten Welinder)
Federico Mena Quintero [Wed, 16 Jun 2004 00:20:54 +0000 (00:20 +0000)]
New section on file name encodings.
2004-06-15 Federico Mena Quintero <federico@ximian.com>
* glib/tmpl/conversions.sgml: New section on file name encodings.
* glib/file-name-encodings.sxd: New diagram of how file name
encodings work.
* glib/file-name-encodings.png: Same as above, for inclusion in
the generated docs.
* glib/Makefile.am (HTML_IMAGES): Add file-name-encodings.png.
(EXTRA_DIST): Add the new images.
* glib/running.sgml: Add ids to the corresponding paragraphs that
describe G_FILENAME_ENCODING and G_BROKEN_FILENAMES, to be able to
reference them from elsewhere.
Matthias Clasen [Sat, 12 Jun 2004 03:00:05 +0000 (03:00 +0000)]
Ignore a missing newline at EOF for single line comments. (#83674, Sven
Fri Jun 11 22:56:46 2004 Matthias Clasen <maclas@gmx.de>
* glib/gscanner.c (g_scanner_get_token_ll): Ignore a
missing newline at EOF for single line comments.
(#83674, Sven Neumann)
Matthias Clasen [Fri, 11 Jun 2004 03:45:54 +0000 (03:45 +0000)]
Actually set any_failed on failure. (#143552, Philippe Blain)
Thu Jun 10 23:38:02 2004 Matthias Clasen <maclas@gmx.de>
* tests/printf-test.c (TEST): Actually set any_failed on
failure. (#143552, Philippe Blain)
Matthias Clasen [Fri, 11 Jun 2004 01:31:02 +0000 (01:31 +0000)]
Add an example for GModule usage. (#144127, Tommi Komulainen)
Thu Jun 10 21:29:55 2004 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/modules.sgml: Add an example for GModule
usage. (#144127, Tommi Komulainen)
Mathieu Lacage [Thu, 10 Jun 2004 20:21:59 +0000 (20:21 +0000)]
integrate the last changes by Stefan
Mathieu Lacage [Thu, 10 Jun 2004 11:00:53 +0000 (11:00 +0000)]
Fix a typo reported by Laurent Lemaitre. Tweak the GType section on instiable objects and update the change list.
Mathieu Lacage [Thu, 10 Jun 2004 09:41:43 +0000 (09:41 +0000)]
add chain up section
Federico Mena Quintero [Thu, 10 Jun 2004 00:17:57 +0000 (00:17 +0000)]
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.
Mathieu Lacage [Wed, 9 Jun 2004 20:22:04 +0000 (20:22 +0000)]
commit first patches from stefan, work on the chaining up section
Pawan Chitrakar [Wed, 9 Jun 2004 09:10:39 +0000 (09:10 +0000)]
Updated nepali translation
2004-06-09 Pawan Chitrakar <pawan@nplinux.org>
* ne.po: Updated nepali translation
Federico Mena Quintero [Tue, 8 Jun 2004 03:27:03 +0000 (03:27 +0000)]
Fixes #140532.
2004-06-07 Federico Mena Quintero <federico@ximian.com>
Fixes #140532.
* glib/gconvert.c (is_asciialphanum): Renamed from
is_escalphanum(); ensures that this is an ASCII character.
(is_asciiescalpha): Renamed from is_escalpha().
(hostname_validate): Use the two functions above.
(g_filename_to_uri): Don't convert the filename to UTF-8.
(g_filename_from_uri): Don't convert the filename from UTF-8.
Matthias Clasen [Tue, 8 Jun 2004 02:29:16 +0000 (02:29 +0000)]
Make "make check" less noisy.
Matthias Clasen [Mon, 7 Jun 2004 03:22:17 +0000 (03:22 +0000)]
Fix the docs for G_DEFINE_TYPE() and friends. (#143800, Crispin Flowerday)
Sun Jun 6 23:20:42 2004 Matthias Clasen <maclas@gmx.de>
* gobject/tmpl/gtype.sgml: Fix the docs for G_DEFINE_TYPE()
and friends. (#143800, Crispin Flowerday)
Tor Lillqvist [Sun, 6 Jun 2004 17:19:03 +0000 (17:19 +0000)]
Add name of bug reporter.