Commit Graph

2004 Commits

Author SHA1 Message Date
Ivan Stojmirov
d4d4e99a38 Added Macedonian translation 2002-12-25 11:32:42 +00:00
Owen Taylor
982d9f8611 === Released 2.2.0 ===
Fri Dec 20 10:45:29 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.2.0 ===

        * INSTALL.in: --enable-included-printf, not --enable-trio.
        (Matthias Clasen)
2002-12-20 15:48:15 +00:00
Owen Taylor
7eafb2373c === Released 2.2.0 ===
Fri Dec 20 09:52:15 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.2.0 ===

        * INSTALL.in: Document --enable-trio, --disable-mempools,
        --enable-debug. Include docs on cross compilation.

        * NEWS: Update.

        * configure.in: Version 2.2.0, interface age 0.
2002-12-20 15:23:12 +00:00
Owen Taylor
5ab7a70230 Call g_main_thread_init() after setting g_threads_got_initialized.
Fri Dec 20 09:37:27 2002  Owen Taylor  <otaylor@redhat.com>

        * gthread/gthread-impl.c (g_thread_init): Call g_main_thread_init()
        after setting g_threads_got_initialized. (#101624,
        Alceste Scalas, Sebastian Wilhelmi)
2002-12-20 14:42:56 +00:00
Jordi Mallach
7e0095f1ca Updated Catalan translation. 2002-12-19 14:57:39 +00:00
Yanko Kaneti
216d16e4c4 Updated Bulgarian translation (style) by Alexander Shopov
2002-12-19  Yanko Kaneti <yaneti@declera.com>

	* bg.po: Updated Bulgarian translation (style) by
	Alexander Shopov <al_shopov@yahoo.com>.
2002-12-19 12:04:05 +00:00
Manish Singh
ad427fd806 new endian asm for ia64 and x86_64, general reorg and clean up. New
Wed Dec 18 16:19:08 2002  Manish Singh  <yosh@gimp.org>

        * glib/gtypes.h: new endian asm for ia64 and x86_64, general
        reorg and clean up. New implementation of GUINT16_SWAP_LE_BE_CONSTANT()
        that should optimize better. (#101318)
2002-12-19 00:20:03 +00:00
Matthias Clasen
634b48f254 Add docs. 2002-12-18 23:46:18 +00:00
Peteris Krisjanis
06be851bd8 2002-12-18 Artis Trops <hornet@navigator.lv> * lv.po: Updated Latvian translation 2002-12-18 23:05:52 +00:00
Michael Natterer
63f5a15fc6 applied patch I got from Tim Janik for testing which fixes bug #101521.
2002-12-18  Michael Natterer  <mitch@gimp.org>

	* gobject/gtype.c (type_data_finalize_class_ifaces_Wm): applied
	patch I got from Tim Janik for testing which fixes bug #101521.
	(restart iterating the interface enties each time we finalized one
	because they might have been modified).
2002-12-18 18:16:07 +00:00
Ole Laursen
40ffa7af98 Updated Danish translation.
2002-12-18  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-12-18 17:06:36 +00:00
Stanislav Visnovsky
229c3f458c Updated Slovak translation.
2002-12-18  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

	* sk.po: Updated Slovak translation.
2002-12-18 12:38:31 +00:00
Dmitry Mastrukov
8a9fdcb16f ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>. 2002-12-18 04:31:52 +00:00
Germán Poó Caamaño
bc93c2fe42 2002-12-17 German Poo-Caaman~o
* es.po: Updated Spanish translation
2002-12-18 00:17:31 +00:00
Tor Lillqvist
10d5085cde Improvement based on suggestion by Thorsten Maerz:
2002-12-17  Tor Lillqvist  <tml@iki.fi>

	Improvement based on suggestion by Thorsten Maerz:

	* glib/giowin32.c (struct _GIOWin32Channel): Don't need thread_handle.

	(create_thread): We can close thread handle right away, it isn't
	used for anything.

	(read_thread, select_thread): Thus, don't close it here.

	Fix #57690, partial fix for #57689:

	* glib/giowin32.c (g_io_win32_set_flags): Don't set the GError,
	instead call g_warning().

	(g_io_win32_fd_get_flags_internal): New function, sets the
	is_readable, is_writeable and is_seekable flags based on the
	actual access modes of the underlying Win32 HANDLE, by trying
	Win32 ReadFile() and WriteFile() of zero bytes, and
	PeekNamedPipe(). Should work for disk files and pipes. For devices
	(consoles) unfortunately not.

	(g_io_win32_fd_get_flags): Don't set the
	G_IO_FLAG_IS_{READ,WRITE}ABLE flags, g_io_channel_get_flags()
	already does. Call g_io_win32_fd_get_flags_internal() to set the
	is_* flags.

	(g_io_win32_msg_get_flags, g_io_win32_sock_get_flags): Splice the
	generic g_io_win32_get_flags() into these specific functions, as
	they need to do different things. Not implemented yet, though.

	(g_io_channel_win32_new_fd_internal): New function, to avoid
	duplicate fstat() calls. Most code from g_io_channel_win32_new_fd()
	moved here. Call g_io_win32_fd_get_flags_internal() to set the
	is_* flags.

	(g_io_channel_win32_new_fd, g_io_channel_unix_new): Call
	g_io_channel_win32_new_fd_internal().

	(g_io_win32_no_seek): Remove. Don't set is_seekable for those
	channel types.
2002-12-17 04:48:03 +00:00
Matthias Clasen
2511ff2924 Remove markup from doc comment, as GObject doesn't use --sgml-mode yet.
* gparam.c (g_param_spec_internal): Remove markup from doc
	comment, as GObject doesn't use --sgml-mode yet.
2002-12-16 23:33:08 +00:00
Owen Taylor
38828c2486 === Released 2.1.5 ===
Mon Dec 16 17:31:50 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.1.5 ===

        * configure.in: Version 2.1.5, interface age 2.

        * NEWS: Updated.
2002-12-16 22:58:40 +00:00
Owen Taylor
66a12cdfae Add a hack to mostly deal with problems in support of -pthread and
Mon Dec 16 14:58:33 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Add a hack to mostly deal with
        problems in support of -pthread and -lpthread;
        pass -lpthread (for linux) or -Wc,-pthread (for
        other platforms) to libtool when linking libgthread.
        (#100697)
2002-12-16 22:14:40 +00:00
Tor Lillqvist
7c5b3eb4d6 In the admittedly strangely worded "Channel set flags unsupported"
2002-12-16  Tor Lillqvist  <tml@iki.fi>

	* fi.po: In the admittedly strangely worded "Channel set flags
	unsupported" message, "set" is a verb.
2002-12-16 05:24:07 +00:00
Tor Lillqvist
969394d016 Fix potential heap corruption. Sometimes called g_free() on string
2002-12-16  Tor Lillqvist  <tml@iki.fi>

	* glib/gspawn-win32.c (do_spawn): Fix potential heap
	corruption. Sometimes called g_free() on string literal.
2002-12-16 05:22:08 +00:00
Owen Taylor
be29f0e43e AC_SUBST() DATADIRNAME, not DATADIR.
Sun Dec 15 19:51:58 2002  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4: AC_SUBST() DATADIRNAME, not
        DATADIR.
2002-12-16 00:53:45 +00:00
Owen Taylor
0b2996bc75 Restore a missing AC_SUBST() for DATADIRNAME. (Found by Kjartan Maraas)
Sun Dec 15 19:22:58 2002  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4: Restore a missing AC_SUBST()
        for DATADIRNAME. (Found by Kjartan Maraas)
2002-12-16 00:25:26 +00:00
Christian Neumair
58c532e920 Updated German translation. 2002-12-15 20:53:49 +00:00
Owen Taylor
1cac48d3a8 Actually set INTLLIBS when needed. (Reported by Tor Lillqvist)
Sun Dec 15 11:24:29 2002  Owen Taylor  <otaylor@redhat.com>

	* m4macros/glib-gettext.m4: Actually set INTLLIBS
	when needed. (Reported by Tor Lillqvist)
2002-12-15 16:26:58 +00:00
Christophe Merlet
d48eb0a42f Updated French translation. 2002-12-15 15:54:58 +00:00
Tor Lillqvist
448a396517 Add g_rand_init.
2002-12-15  Tor Lillqvist  <tml@iki.fi>

	* glib/glib.def: Add g_rand_init.
2002-12-15 15:51:20 +00:00
Tor Lillqvist
de8234dde0 Slight update to match what is currently produced by configure.
2002-12-15  Tor Lillqvist  <tml@iki.fi>

	* config.h.win32.in: Slight update to match what is currently
	produced by configure.
2002-12-15 05:37:52 +00:00
Owen Taylor
42f04422b0 Fixes from Johannes Stezenbach [...] Remove a stray setting of $LIBS.
Thu Dec 12 23:08:29 2002  Owen Taylor  <otaylor@redhat.com>

        Fixes from Johannes Stezenbach
[...]
        * m4macros/glib-gettext.m4: Remove a stray setting of $LIBS.
2002-12-15 02:51:33 +00:00
Matthias Clasen
8b8616bb9c Move some docs inline.
* gobject/tmpl/param_value_types.sgml: Move some docs inline.

	* gsignal.c (g_signal_new): Typo fix.

	* gparamspecs.c:
	* gparam.c (g_param_spec_internal):
	* gobject.c (g_object_class_install_property): Add docs.
2002-12-15 02:38:49 +00:00
Owen Taylor
2c4878f63e HP-UX 10 xshares the same non-posix getpwuid_r signature as AIX. (#100756,
Sat Dec 14 21:24:04 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
        same non-posix getpwuid_r signature as AIX.
        (#100756, Kai Poitschke)
2002-12-15 02:35:28 +00:00
Owen Taylor
424b7e92fc Mark the contents of the strucures in this file /*< private >*/
Sat Dec 14 21:10:57 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gthread.h: Mark the contents of the strucures
        in this file /*< private >*/

        * glib/gthread.[ch]: Rename the 'write' field of the
        structure to 'have_writer' to avoid any possible
        conflict with system headers. (#90549, Morten Welinder)
2002-12-15 02:19:06 +00:00
Owen Taylor
ceb35b237b Break _g_locale_charset() into two pieces - a fast "raw" piece, and a slow
Sat Dec 14 20:11:41 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/libcharset/{localcharset.[ch] libcharset-glib.patch}
        glib/gutf8.c: Break _g_locale_charset() into two pieces
        - a fast "raw" piece, and a slow "unalias pieces".
        Always call the "raw" piece, and call the unalias bit
        if it changes. Use a per-thread cache. (#79529)
2002-12-15 01:35:07 +00:00
Matthias Clasen
c95ce4b301 Set TRIO_LIBS when building with trio.
* configure.in: Set TRIO_LIBS when building with trio.

	* glib-2.0.pc.in (Libs): Add @TRIO_LIBS@.

	* glib/trio/Makefile.am (libtrio_la_LIBADD): Use @TRIO_LIBS@.
2002-12-15 00:42:37 +00:00
Matthias Clasen
7baf68502f Add gprintfint.h and trio.
2002-12-15  Matthias Clasen  <maclas@gmx.de>

	* glib/Makefile.am (IGNORE_HFILES): Add gprintfint.h and trio.

	* glib/trio/glibtrio.h: New file, redefining all trio symbols to
	fall into the _G/_g_ private glib namespace.

	* glib/trio/Makefile.am (libtrio_la_SOURCES): Add glibtrio.h

	* glib/trio/trionan.c:
	* glib/trio/triostr.c:
	* glib/trio/trio.c: Include glibtrio.h

	* glib/gprintfint.h:
	* glib/trio/trionan.c:
	* glib/trio/triostr.c:
	* glib/trio/trio.c: Include glibtrio.h
2002-12-15 00:03:46 +00:00
Manish Singh
d2064033e6 Fix typo. Missing '%' in my last commit.
Fri Dec 13 17:10:21 2002  Manish Singh  <yosh@gimp.org>

        * glib/gscanner.c (g_scanner_unexp_token): Fix typo. Missing '%'
        in my last commit.
2002-12-14 01:11:25 +00:00
Owen Taylor
9d4af5714a Fixes from Johannes Stezenbach
Thu Dec 12 23:08:29 2002  Owen Taylor  <otaylor@redhat.com>

        Fixes from Johannes Stezenbach

        * configure.in: When adding extra libraries to $LIBS for
        tests, always put them at the front, since that's how
        they'll be used in the actual Makefiles.

        * configure.in: Add a couple of missing ','s in AC_LINK_IFELSE()

        * m4macros/glib-gettext.m4: Remove a stray setting of $LIBS.
2002-12-13 04:11:32 +00:00
Owen Taylor
3c50d7bd88 Allow not setting glib_cv_long_long_format when cross-compiling since we
Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Allow not setting glib_cv_long_long_format
        when cross-compiling since we assume other things that
        will cause us to pull in Trio anyways.

        * configure.in: long_long_format is always ll for trio.

        * configure.in: Error out if --disable-trio is specified
        but the C library doesn't have the necessary features.
2002-12-13 02:09:48 +00:00
Owen Taylor
d852c710a0 long_long_format is always ll for trio.
Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: long_long_format is always ll for trio.

        * configure.in: Error out if --disable-trio is specified
        but the C library doesn't have the necessary features.
2002-12-13 01:49:42 +00:00
Matthias Clasen
68468ee1f7 Add -lm for pow().
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
2002-12-13 00:36:12 +00:00
Matthias Clasen
37e7e80e5b Add a test for positional parameters in g_snprintf(). Use g_printf()
* tests/string-test.c: Add a test for positional parameters in
	g_snprintf().
	* glib-genmarshal.c, gobject-query.c: Use g_printf() instead of
	system printf.  (#99319)
2002-12-12 23:52:29 +00:00
Matthias Clasen
ab5fe79f8a Add --ignore-files=trio to avoid gtk-doc warnings about doxygen comments.
* glib/Makefile.am (MKDB_OPTIONS): Add --ignore-files=trio to
	avoid gtk-doc warnings about doxygen comments.
2002-12-12 23:34:37 +00:00
Manish Singh
72643a6071 use G_G[U]INT64_FORMAT unconditionally, since we'll always have it now.
Thu Dec 12 15:00:10 2002  Manish Singh  <yosh@gimp.org>

        * gvaluetransform.c: use G_G[U]INT64_FORMAT unconditionally,
        since we'll always have it now.
2002-12-12 23:00:24 +00:00
Manish Singh
96670b2085 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.
2002-12-12 22:59:55 +00:00
Owen Taylor
98ccd05da3 AC_PREREQ(2.53) here; convinces Debian's wrappers to use the right
Thu Dec 12 13:52:58 2002  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4: AC_PREREQ(2.53) here; convinces
        Debian's wrappers to use the right autoconf for atk, etc.
        (Reported by Jody Goldberg)
2002-12-12 18:59:54 +00:00
Laurent Dhima
88fffa1610 Updated
* sq.po: Updated
2002-12-12 15:31:31 +00:00
Laurent Dhima
85f5a31277 Updated 2002-12-12 15:29:58 +00:00
Yanko Kaneti
a4dc77edb6 Updated Bulgarian translation.
2002-12-12  Yanko Kaneti <yaneti@declera.com>

	* bg.po: Updated Bulgarian translation.
2002-12-12 04:46:56 +00:00
Nam SungHyun
9dc8fa215d updated 2002-12-12 02:42:46 +00:00
Tor Lillqvist
12bc3d826c Fix off-by-one error. (#100853)
2002-12-11  Tor Lillqvist  <tml@iki.fi>

	* glib/gtimer.c (g_timer_elapsed): Fix off-by-one error. (#100853)

	* glib/gfileutils.c (g_file_test): Bypass extra test for root on
	Win32.

	* glib/glib.def: Add g_{get,set}_application_name.
2002-12-11 23:40:10 +00:00
Owen Taylor
d0579998b2 === Release 2.1.4 ===
Wed Dec 11 17:53:34 2002  Owen Taylor  <otaylor@redhat.com>

        * === Release 2.1.4 ===

        * NEWS: Updates.
2002-12-11 23:13:25 +00:00