Commit Graph

2176 Commits

Author SHA1 Message Date
Tor Lillqvist
51a143693f Remove leftover >>>> line. 2003-09-29 22:37:47 +00:00
Tor Lillqvist
384cefab93 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.
2003-09-29 22:36:49 +00:00
Gustavo Maciel Dias Vieira
8974526371 Applied revision by Augusta Marques da Silva <augusta.marques@gmx.net>.
2003-09-29  Gustavo Maciel Dias Vieira  <gdvieira@zaz.com.br>

        * pt_BR.po: Applied revision by Augusta Marques da Silva
        <augusta.marques@gmx.net>.
2003-09-29 20:41:38 +00:00
Gediminas Paulauskas
8b017d8dc3 Add Lithuanian translation 2003-09-28 18:10:32 +00:00
Tor Lillqvist
abdb420dab Use G_GINT64_CONSTANT to define G_MININT64 etc, like in the
2003-09-03  Tor Lillqvist  <tml@iki.fi>

	* glibconfig.h.win32.in: Use G_GINT64_CONSTANT to define
	G_MININT64 etc, like in the configure-generated glibnconfig.h.
2003-09-03 19:19:14 +00:00
Pablo Gonzalo del Campo
37f2ea894c Revision of Spanish translation by Francisco Javier F. Serrador
2003-08-28  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Revision of Spanish translation by
                 Francisco Javier F. Serrador <serrador@arrakis.es>.
2003-08-28 15:04:27 +00:00
Matthias Clasen
b6227171ad Fix a C99ism. (#120821, Thomas Klausner)
2003-08-28  Matthias Clasen  <maclas@gmx.de>

	* tests/patterntest.c (verbose): Fix a C99ism.  (#120821, Thomas
	Klausner)
2003-08-27 22:30:30 +00:00
Andraz Tori
3e4fcb094a Updated Slovenian translation 2003-08-27 11:48:30 +00:00
Hans Breuer
0ea0a8696e link with trio, add gprintf.obj
2003-08-26  Hans Breuer  <hans@breuer.org>

	* glib/trio/makefile.msc : (new file)
	* glib/makefile.msc.in : link with trio, add gprintf.obj

	* glib/gscanner.c : need to include 'glib.h' before
	using G_OS_WIN32
	workaround for clumsy compiler : gscanner.c(1198) : error C2520:
	conversion from unsigned __int64 to double not implemented,
	use signed __int64 ...

	* tests/spawn-test.c : include <io.h> om G_OS_WIN32
2003-08-26 21:06:44 +00:00
Owen Taylor
6427c7e2d7 === Released 2.2.3 ===
Tue Aug 26 12:40:57 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.2.3 ===

        * configure.in: Added is to ALL_LINGUAS.
GLIB_2_2_3
2003-08-26 16:52:28 +00:00
Owen Taylor
970e9c29d5 === Released 2.2.3 ===
Mon Aug 25 20:30:06 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.2.3 ===

        * configure.in: Version 2.2.3, interface age 3.

        * NEWS: Updated.
2003-08-26 01:10:33 +00:00
Manish Singh
43ca2ef7bf fix typo in last commit, cast to GTypeValueTable * to get rid of const
Mon Aug 25 14:51:46 2003  Manish Singh  <yosh@gimp.org>

        * gtypemodule.c (g_type_module_register_type): fix typo in last
        commit, cast to GTypeValueTable * to get rid of const warning.
2003-08-25 22:04:07 +00:00
Tor Lillqvist
6e733d34d2 Avoid UNLOCKing the critical section twice, which might cause a hang.
2003-08-25  Tor Lillqvist  <tml@iki.fi>

	* glib/giowin32.c (read_thread): Avoid UNLOCKing the critical
	section twice, which might cause a hang. (#120653)

	* glib/giowin32.c (g_io_channel_unix_new): Warn if fd is both a
	valid file descriptor and socket.

	* glib/trio/trio.c: Use <locale.h> and USE_LOCALE also on
	Windows. (#115286, Ernst Lippe)
2003-08-25 21:16:13 +00:00
Owen Taylor
89628b345b add bug number 2003-08-25 18:43:15 +00:00
Owen Taylor
c3f3742947 Clarify docs on the return. Fix a memory leak if a type with a value table
Mon Aug 25 14:16:48 2003  Owen Taylor  <otaylor@redhat.com>

        * gtypemodule.c (g_type_module_register_type): Clarify
        docs on the return. Fix a memory leak if a type with a
        value table is reloaded.
2003-08-25 18:24:06 +00:00
Owen Taylor
ed4a3ed152 When DISABLE_MEM_POOLS is set, loop through and free the poll records
Mon Aug 25 12:17:20 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (g_main_context_unref_and_unlock):
        When DISABLE_MEM_POOLS is set, loop through and free
        the poll records explicitely, since g_mem_chunk_destroy()
        won't do it. (#118121, Morten Welinder)
2003-08-25 16:20:55 +00:00
Richard Allen
8c303690a9 *** empty log message *** 2003-08-20 15:09:30 +00:00
Tor Lillqvist
0beb21e7bd [Win32] Make the fatal error message box easier to notice with
2003-08-19  Tor Lillqvist  <tml@iki.fi>

	* glib/gmessages.c (g_logv): [Win32] Make the fatal error message
	box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
	to get a nice stop-sign icon.
2003-08-19 19:09:16 +00:00
Owen Taylor
99403027d7 Add $INTLLIBS to $LIBS temporarily, not -lintl. (Problem with fix for
Tue Aug 19 09:42:06 2003  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
        temporarily, not -lintl. (Problem with fix for
        #119171, pointed out by James Henstridge)
2003-08-19 13:45:40 +00:00
Dafydd Harries
289dc3c0f4 Updated Welsh translation. 2003-08-19 04:51:59 +00:00
Richard Allen
e44cd6a039 *** empty log message *** 2003-08-18 21:31:11 +00:00
Richard Allen
e5dfc4c48b *** empty log message *** 2003-08-18 19:43:31 +00:00
Richard Allen
bd0d48b2fc *** empty log message *** 2003-08-18 19:05:17 +00:00
Richard Allen
c4ad5f8273 Added Icelandic transdlation 2003-08-18 18:04:07 +00:00
Richard Allen
3beb5e5662 Added Icelandic translation 2003-08-18 18:03:49 +00:00
Metin Amiroff
a834e8fdfd Updated Azerbaijani translation.
2003-08-18  Metin Amiroff <metin@karegen.com>

	* az.po: Updated Azerbaijani translation.
2003-08-18 10:12:25 +00:00
Tor Lillqvist
d735a83fd6 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.
2003-08-16 16:42:15 +00:00
Tor Lillqvist
00f400b5ad [Win32] Don't exceed handle array bounds. Warn if there would be too many
2003-08-15  Tor Lillqvist  <tml@iki.fi>

	* glib/gmain.c (g_poll): [Win32] Don't exceed handle array
	bounds. Warn if there would be too many handles to wait
	for. (WaitForMultipleObjects() has a relatively low limit of 64
	handles. The Win32 IO channel code should be fixed not to need to
2003-08-15 05:04:20 +00:00
Tor Lillqvist
4fd57bb66b glib/Makefile.am gmodule/Makefile.am gobject/Makefile.am Use srcdir also
2003-08-13  Tor Lillqvist  <tml@iki.fi>

	* glib/Makefile.am
	* gmodule/Makefile.am
	* gobject/Makefile.am
	* gthread/Makefile.am: Use srcdir also in references to the .def
	files. (#118885, Jeff Bonggren)
2003-08-13 00:22:57 +00:00
Tor Lillqvist
52dbad4e92 Drop the Win32-specific implementation. It used WideCharToMultiByte(),
2003-08-12  Tor Lillqvist  <tml@iki.fi>

	* glib/gconvert.c (g_locale_from_utf8): Drop the Win32-specific
	implementation. It used WideCharToMultiByte(), which is broken as
	it stores unconvertable characters as fallback characters
	(question marks) in the destination string without being able to
	tell how much of the conversion succeeded. Using g_convert() like
	on Unix is better and simpler. (#117872)

	(g_locale_to_utf8): No need for the Win32-specific implementation
	here, either.

	* glib/glib.def: Remove two dups.
2003-08-12 23:45:52 +00:00
Tor Lillqvist
f80d5fadaa Remove two dups.
2003-08-12  Tor Lillqvist  <tml@iki.fi>

	* glib/glib.def: Remove two dups.
2003-08-12 23:09:05 +00:00
Matthias Clasen
9e985fb446 Copy the G_GNUC_DEPRECATED docs from HEAD.
* glib/tmpl/macros_misc.sgml: Copy the G_GNUC_DEPRECATED docs from HEAD.
2003-08-08 20:15:43 +00:00
Matthias Clasen
48c4cfc106 Add an index of all symbols.
2003-08-08  Matthias Clasen  <maclas@gmx.de>

	* glib/glib-docs.sgml:
	* gobject/gobject-docs.sgml: Add an index of all symbols.
2003-08-08 20:05:03 +00:00
Matthias Clasen
baa871f82a /2003-08-08 Matthias Clasen <maclas@gmx.de>
* glib/glib-docs.sgml:
	* gobject/gobject-docs.sgml: Add an index of all symbols.
2003-08-08 20:04:48 +00:00
Matthias Clasen
96ca8c89e6 Improve the wording of the warning for invalid
values.  (#117246, Mariano Suarez-Alvarez)
2003-08-08 19:47:59 +00:00
Matthias Clasen
63ac98ef80 Forgot to actually switch to trio if snprintf() isn't good enough.
2003-08-08  Matthias Clasen  <maclas@gmx.de>

	* configure.in: Forgot to actually switch to trio if snprintf() isn't good enough.
2003-08-08 19:20:38 +00:00
Matthias Clasen
b09c3ff50b Accept NULL buffer if max is zero.
2003-08-07  Matthias Clasen  <maclas@gmx.de>

	* glib/trio/trio.c (trio_snprintf, trio_vsnprintf): Accept NULL buffer if max is zero.

	* acinclude.m4 (AC_FUNC_SNPRINTF_C99): Tests whether the system snprintf() is good enough.
	* configure.in: Use  AC_FUNC_SNPRINTF_C99.  (#106091)
2003-08-07 20:45:48 +00:00
Matthias Clasen
5c757e0808 Specify test strings in UTF-8, remove all charset conversion. Replace the
2003-08-07  Matthias Clasen  <maclas@gmx.de>

	* tests/patterntest.c: Specify test strings in UTF-8, remove all charset conversion.
	Replace the NOISY define by a cmdline arg --noisy.   (#115757)
2003-08-07 19:52:15 +00:00
Owen Taylor
b1d8d30df7 Set $LIBS to include -lintl when checking for dcgettext and
Thu Aug  7 15:01:09 2003  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4: Set $LIBS to include
        -lintl when checking for dcgettext and
        _nl_msg_cat_cntr. (Tim Mooney, #119171)
2003-08-07 19:10:29 +00:00
Noah Levitt
1e22ce40b8 Get rid of "len" parameter to output_special_case and output_marks, and
2003-08-05  Noah Levitt  <nlevitt@columbia.edu>

	* glib/guniprop.c: Get rid of "len" parameter to output_special_case
	and output_marks, and make them work more like g_unichar_to_utf8,
	fixing a bug in the process. (#118957)
2003-08-06 01:18:58 +00:00
Matthias Clasen
822a6ee664 Add note about in-place editing to g_strdelimit() doc.
(#118875, Thomas Vander Stichele)
2003-08-05 21:36:23 +00:00
Tor Lillqvist
11d013024d When possible, manage without the helper process. (Part of the
2003-07-31  Tor Lillqvist  <tml@iki.fi>

	* glib/gspawn-win32.c: When possible, manage without the helper
	process. (Part of the enhancements outlined in #98737.) Speeds up
	GIMP 1.3's first-time-run plug-in query phase a lot.

	Plug a file descriptor (and thus Win32 handle) leak: close the
	read end of the child error report pipe after use.
2003-07-31 01:21:49 +00:00
Wang Jian
77a1b32fa4 *** empty log message *** 2003-07-25 16:23:27 +00:00
Matthias Clasen
80eca10e6f Work around gtk-doc stupidity.
2003-07-25  Matthias Clasen  <maclas@gmx.de>

	* glib/gutf8.c (g_utf8_get_char_validated): Work around gtk-doc stupidity.
2003-07-24 23:09:51 +00:00
Matthias Clasen
cf4f6e3c18 Mention the restriction on message length. (#118043, Martyn Russell)
* glib/tmpl/messages.sgml: Mention the restriction on message length.  (#118043, Martyn Russell)
2003-07-23 22:42:26 +00:00
Danilo Šegan
d2164029ad Updated Serbian translation by Serbian team (Prevod.org).
2003-07-14  Danilo Šegan  <dsegan@gmx.net>

	* sr.po, sr@Latn.po: Updated Serbian translation by Serbian team
	(Prevod.org).
2003-07-14 05:16:32 +00:00
Joel Brich
75031bc8d8 Added "eo" to ALL_LINGUAS. Added Esperanto translation from Charles
2003-07-12  Joel Brich  <joel.brich@laposte.net>

	* configure.in: Added "eo" to ALL_LINGUAS.
	* po/eo.po: Added Esperanto translation
	from Charles Voegler <cvoegler@dweasel.com>
2003-07-12 16:18:54 +00:00
Manish Singh
949f8eda9f check if context->poll_chunk is set before trying to destroy it. For
Wed Jul  9 16:27:26 2003  Manish Singh  <yosh@gimp.org>

        * glib/gmain.c (g_main_context_unref_and_unlock): check if
        context->poll_chunk is set before trying to destroy it. For example,
        this can happen if no sources are added to a context before it is
        freed.
2003-07-10 00:17:44 +00:00
Matthias Clasen
25f3d9ddde *2003-07-02 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/string_utils.sgml: Document g_strfreev(NULL).
2003-07-01 22:17:07 +00:00
Andy Lanoix
d60c75f1fb Copy glib/giowin32.c MAIN to glib-2-2 branch for:
* glib/giowin32.c: Resolved thread deadlocks in socket
	ichannel code to support Add-Cancel-Add watch functionality
	on windows. Also cleaned up socket error handling to not
	segfault and do the right thing. <alanoix@umich.edu>

	* glib/giowin32.c: Fix indentation and spacing. Use
	INADDR_LOOPBACK instead of inet_addr("127.0.0.1") and
	gethostbyaddr(). <tml@iki.fi>
2003-06-28 20:33:01 +00:00