3574 Commits

Author SHA1 Message Date
Matthias Clasen
9e7453e74e const correctness fixes, found by Arjan van de Ven and gcc.
2005-11-17  Matthias Clasen  <mclasen@redhat.com>

	* glib/gbacktrace.c:
	* glib/gdate.c:
	* glib/gthread.c: const correctness fixes, found
	by Arjan van de Ven and gcc.
2005-11-17 13:10:52 +00:00
Ales Nyakhaychyk
3c19ca22a3 Updated Belarusian Translation 2005-11-17 11:01:08 +00:00
Matthias Clasen
beb4630f90 Bump version 2005-11-15 18:05:08 +00:00
Matthias Clasen
2565f03e9d 2.8.4 GLIB_2_8_4 2005-11-15 14:57:32 +00:00
Matthias Clasen
f21752c570 Updates
2005-11-13  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates
2005-11-14 02:31:47 +00:00
Matthias Clasen
b5b19ab229 Improve GOnce docs 2005-11-08 14:26:58 +00:00
Tor Lillqvist
b895e9a33e Don't call g_warning(). (#320688)
2005-11-05  Tor Lillqvist  <tml@novell.com>

	* glib/giowin32.c (g_io_win32_set_flags): Don't call
	g_warning(). (#320688)
2005-11-08 08:35:50 +00:00
Matthias Clasen
b6a860356d Don't call cb_funcs->unref while holding the context lock. (#320886, Andy
2005-11-07  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
	while holding the context lock.  (#320886, Andy Wingo)
2005-11-07 20:16:40 +00:00
Theppitak Karoonboonyanan
75de025f66 Updated Thai translation.
2005-11-06  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Updated Thai translation.
2005-11-06 16:10:03 +00:00
Matthias Clasen
86e364ea3b Expand the docs. (#320466, Steffen Gutmann)
2005-11-04  Matthias Clasen  <mclasen@redhat.com>

        * glib/gmain.c (g_child_watch_source_new): Expand
        the docs.  (#320466, Steffen Gutmann)
2005-11-04 20:31:11 +00:00
Matthias Clasen
0d8714bad0 Include gdataset.h. (#320322)
2005-11-04  Matthias Clasen  <mclasen@redhat.com>

        * glib/gscanner.h: Include gdataset.h.  (#320322)
2005-11-04 19:14:51 +00:00
Matthias Clasen
ae33c0ab86 add new GDebugFlag for fatal_criticals handle G_DEBUG=fatal_criticals, to
2005-11-04  Matthias Clasen  <mclasen@redhat.com>

        * glib/gdebug.h: add new GDebugFlag for fatal_criticals
        * glib/gmessages.c: (_g_debug_init): handle G_DEBUG=fatal_criticals,
        to help find critical warnings in applications.  (#320017,
        Vincent Untz)
2005-11-04 19:07:38 +00:00
Matthias Clasen
8cf4ab38f1 Add some tests for conversions between UTF-8, UCS-4 and UTF-16.
2005-10-29  Matthias Clasen  <mclasen@redhat.com>

	* tests/convert-test.c: Add some tests for conversions between
	UTF-8, UCS-4 and UTF-16.

	* glib/gutf8.c (g_utf8_to_ucs4, g_utf8_to_utf16): Fix handling
	of len == -1, noticed by Morten Welinder.
2005-10-30 03:07:25 +00:00
Takeshi AIHANA
6d2d9b9d7b Fixed typos reported by kano@na.rim.or.jp.
2005-10-26  Takeshi AIHANA <aihana@gnome.gr.jp>

	* ja.po: Fixed typos reported by kano@na.rim.or.jp.
2005-10-26 13:54:12 +00:00
Matthias Clasen
e47048a33e Don't set items_read twice in the error case, and add some documentation.
2005-10-26  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutf8.c (g_ucs4_to_utf8): Don't set items_read twice
        in the error case, and add some documentation.  (#319806, Morten
        Welinder)
2005-10-26 13:12:21 +00:00
Yair Hershkovitz
ca59615852 Updated Hebrew translation.
2005-10-24  Yair Hershkovitz  <yairhr@gmail.com>

	* he.po: Updated Hebrew translation.
2005-10-24 21:27:38 +00:00
Manish Singh
fd02b2717b Use AC_CHECK_FUNCS for _NSGetEnviron, to get the config.h symbol
2005-10-19  Manish Singh  <yosh@gimp.org>

        * configure.in: Use AC_CHECK_FUNCS for _NSGetEnviron, to get the
        config.h symbol automatically. Fixes bug #313731.
2005-10-19 18:38:48 +00:00
Tor Lillqvist
77d1b96971 Return a g_strdup()ed copy of the value stored in the hash table, so that
2005-10-19  Tor Lillqvist  <tml@novell.com>

	* glib/gwin32.c (g_win32_get_package_installation_directory):
	Return a g_strdup()ed copy of the value stored in the hash table,
	so that it can be g_free()d without leaving a dangling pointer in
	the hash table. (#319232)
2005-10-19 15:11:28 +00:00
Vincent van Adrighem
b13bd03176 Translation updated.
2005-10-15  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated.
2005-10-15 12:51:05 +00:00
Matthias Clasen
f3c660f8d0 Handle all-zero sequences correctly. (#317930, Sebastien Bacher)
2005-10-06  Matthias Clasen  <mclasen@redhat.com>

        * glib/gunicollate.c (g_utf8_collate_key_for_filename): Handle
        all-zero sequences correctly.  (#317930, Sebastien Bacher)
2005-10-07 03:06:02 +00:00
Matthias Clasen
3f5bf4ab30 Bump version number 2005-10-03 16:37:15 +00:00
Matthias Clasen
e0e46acfa5 2.8.3 GLIB_2_8_3 2005-10-03 16:32:37 +00:00
Matthias Clasen
5e3a919220 Really fix #314890.
2005-10-03  Matthias Clasen  <mclasen@redhat.com>

	* glib-mkenums.in: Really fix #314890.
2005-10-03 15:49:50 +00:00
Runa Bhattacharjee
1c93674b4d Added Entry for Updation of Bengali (bn) Translation:10/03 2005-10-03 05:34:27 +00:00
Runa Bhattacharjee
2d26a60ea9 Updated Bengali (bn) Translion:10/03 2005-10-03 05:34:13 +00:00
Davyd Madeley
0343ffe951 Minor documentation improvements for g_strchug, g_strchomp and g_strstrip.
2005-10-01  Davyd Madeley  <davyd@fugro-fsi.com.au>

        * glib/tmpl/string_utils.sgml: Minor documentation improvements for
          g_strchug, g_strchomp and g_strstrip.
2005-10-01 02:36:09 +00:00
Michael Natterer
dabed28ec7 revert last change, it breaks all users of G_IMPLEMENT_INTERFACE() inside
2005-09-28  Michael Natterer  <mitch@gimp.org>

	* gtype.h (G_IMPLEMENT_INTERFACE): revert last change, it breaks
	all users of G_IMPLEMENT_INTERFACE() inside
	G_DEFINE_TYPE_WITH_CODE(), since apparently GCC doesn't like
	commas enclosed in {}, not (), in nested macro calls.
2005-09-27 23:14:30 +00:00
David Odin
54e3fb2c84 moved the ChangeLog entry to the correct ChangeLog 2005-09-27 18:59:57 +00:00
Kjartan Maraas
dcfe7fac88 Remove this 2005-09-26 20:11:49 +00:00
David Odin
ed3ada1b5e initialize all the fields of GInterfaceInfo in the G_IMPLEMENT_INTERFACE
* gobject/gtype.h: initialize all the fields of GInterfaceInfo in the
  G_IMPLEMENT_INTERFACE macro, to shut up a warning when compiling at -W
2005-09-26 19:05:29 +00:00
Matthias Clasen
8a5550cc66 Bump version number 2005-09-26 17:27:33 +00:00
Matthias Clasen
4f526ff6fc 2.8.2 GLIB_2_8_2 2005-09-26 17:25:20 +00:00
Matthias Clasen
aef922732e Don't hang on '{' following a trigraph comment in the same line. (#314890,
2005-09-26  Matthias Clasen  <mclasen@redhat.com>

	* glib-mkenums.in: Don't hang on '{' following a trigraph comment
	in the same line.  (#314890, Mathias Hasselmann)
2005-09-26 15:20:41 +00:00
Matthias Clasen
3f6d15d15b Add details to the docs. (#314393, Matthew F. Barnes)
2005-09-26  Matthias Clasen  <mclasen@redhat.com>

	* glib/gstrfuncs.c (g_ascii_strtoull): Add details to the
	docs.  (#314393, Matthew F. Barnes)
2005-09-26 14:47:16 +00:00
Martin Willemoes Hansen
ce9a6cf292 Updated Danish translation.
* da.po: Updated Danish translation.
2005-09-26 08:38:13 +00:00
Alessio Frusciante
4bdc873c83 Updated Italian translation. 2005-09-25 15:19:37 +00:00
Christian Rose
f19e4dda52 Updated Swedish translation.
2005-09-25  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2005-09-25 10:12:26 +00:00
Matthias Clasen
d33acb488f Fix docs 2005-09-20 05:52:17 +00:00
Tor Lillqvist
1d46789a62 Add warning to doc comment that these functions should not be used on
2005-09-16  Tor Lillqvist  <tml@novell.com>

	* glib/gstrfuncs.c (g_ascii_strcasecmp, g_ascii_strncasecmp): Add
	warning to doc comment that these functions should not be used on
	encodings like CP932.
2005-09-15 23:39:31 +00:00
Matthias Clasen
8547e3d783 Add a test for grup names of length 1.
2005-09-14  Matthias Clasen  <mclasen@redhat.com>

	* tests/keyfile-test.c: Add a test for grup names of length 1.

	* glib/gkeyfile.c (g_key_file_line_is_group): Accept group names
	of length 1.  (#316309)
2005-09-14 18:13:46 +00:00
Matthias Clasen
4e13581cc9 Clarify docs.
2005-09-12  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmarkup.c (g_markup_escape_text): Clarify docs.
2005-09-12 18:22:06 +00:00
Sebastian Wilhelmi
5dd0f6651e Link the the refcount tests to the system thread library $(G_THREAD_LIBS).
2005-09-11  Sebastian Wilhelmi  <seppi@seppi.de>

	* tests/refcount/Makefile.am (INCLUDES): Link the the refcount
	tests to the system thread library $(G_THREAD_LIBS). Fixes #313744
	and #314217.
2005-09-11 16:30:03 +00:00
Maxim Dziumanenko
fd081e3b39 Updated Ukrainian translation
2005-09-08  Maxim Dziumanenko <mvd@mylinux.ua>

	* Updated Ukrainian translation
2005-09-08 10:13:03 +00:00
Tor Lillqvist
02fdf66d84 Must have the rule to create gspawn-win32-helper-console.c outside if
OS_WIN32, as it is included in the distributed files.
2005-09-07 09:56:53 +00:00
Tor Lillqvist
89754be257 Create also a console version of the gspawn-win32-helper program,
2005-09-07  Tor Lillqvist  <tml@novell.com>

	* glib/Makefile.am: Create also a console version of the
	gspawn-win32-helper program, gspawn-win32-helper-console.exe.
	It's otherwise identical to gspawn-win32-helper.exe, except marked
	as a console application (linked without the -mwindows option).

	* glib/gspawn-win32.c (do_spawn_directly, do_spawn_with_pipes):
	Drop the dont_wait parameter. Its truth value correlated 100% with
	the NULLness of the exit_status parameter anyway, so it's enough
	to check whether exit_status is NULL. Invert the sense of the
	dont_return_handle parameter and rename it to do_return_handle, to
	make the code easier to read by avoiding double negations.

	(g_spawn_sync_utf8, g_spawn_async_with_pipes_utf8): Modify calls
	to do_spawn_with_pipes() accordingly.

	(do_spawn_with_pipes): If we have a console, use the console
	version of the helper program, otherwise use the GUI one. This
	avoids extra console windows opening up in some situations. (In
	case a console application uses the GUI gspawn-win32-helper.exe to
	spawn another console application we would get a separate console
	for the spawned console application).

	* glib-zip.in: Distribute also gspawn-win32-helper-console.exe.
2005-09-07 09:47:34 +00:00
Matthias Clasen
4ec3861c59 Tell xgettext about all the printf-like functions we use.
2005-09-06  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.in.in: Tell xgettext about all the
        printf-like functions we use.
2005-09-06 16:35:56 +00:00
Inaki Larranaga
644144db8a Updated Basque translation.
2005-09-05  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.
2005-09-06 06:45:55 +00:00
Matthias Clasen
837e4dcd9a Report an error if the file is too large. (#315275, Kjartan Maraas)
2005-09-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmappedfile.c (g_mapped_file_new): Report an error
	if the file is too large.  (#315275, Kjartan Maraas)
2005-09-05 18:20:40 +00:00
Matthias Clasen
08710ea187 The return value of read() is signed. (#315273, Kjartan Maraas)
2005-09-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c (g_key_file_load_from_fd): The return value
	of read() is signed.  (#315273, Kjartan Maraas)
2005-09-05 17:56:57 +00:00
Takeshi AIHANA
3e70e826c5 Updated Japanese translation for HEAD.
2005-09-05  Takeshi AIHANA <aihana@jcom.home.ne.jp>

	* ja.po: Updated Japanese translation for HEAD.
2005-09-05 12:57:17 +00:00