Commit Graph

2023 Commits

Author SHA1 Message Date
Tor Lillqvist
90f62a657f Don't distribute glib-zip.
2003-01-04  Tor Lillqvist  <tml@iki.fi>

	* Makefile.am (BUILT_EXTRA_DIST): Don't distribute glib-zip.
2003-01-04 17:14:35 +00:00
Tor Lillqvist
933b7ba4b6 [Win32] Install also the .def files, to help users generate import
2003-01-04  Tor Lillqvist  <tml@iki.fi>

	* {glib,gmodule,gobject,gthread}/Makefile.am:
	[Win32] Install also the .def files, to help users generate
	import libraries for other compilers. Uninstall, too.

	* glib-zip.in: Include .def files from above.
2003-01-04 06:47:14 +00:00
Tor Lillqvist
a0821bd753 Don't claim broken pipes are unreadable. (Well, they are, but read()
2003-01-04  Tor Lillqvist  <tml@iki.fi>

	* glib/giowin32.c (g_io_win32_fd_get_flags_internal): Don't claim
	broken pipes are unreadable. (Well, they are, but read() handles
	it, and treats it like EOF.)
2003-01-04 05:43:06 +00:00
Tor Lillqvist
53266027ee Use g_ascii_strcasecmp().
2003-01-01  Tor Lillqvist  <tml@iki.fi>

	* gmodule-win32.c (_g_module_build_path): Use g_ascii_strcasecmp().
2003-01-04 03:54:35 +00:00
Manish Singh
3fa609363c use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for tests for inline
Thu Jan  2 16:19:15 2003  Manish Singh  <yosh@gimp.org>

        * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
        tests for inline keywords. Fixes #101976.
2003-01-03 00:16:09 +00:00
Tor Lillqvist
54cadf4528 Correct the comment telling what headers have the declarations of some
2003-01-02  Tor Lillqvist  <tml@iki.fi>

	* glib/gwin32.h: Correct the comment telling what headers have
	the declarations of some POSIXish functions.

	* glib/giowin32.c (g_io_win32_fd_get_flags_internal): Fix braino:
	The checks for readability/writeability were backwards.
2003-01-02 00:30:22 +00:00
Chyla Zbigniew
05a8c34fb8 Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2003-01-02 00:18:46 +00:00
Chyla Zbigniew
e96ebaf350 Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2003-01-02 00:16:57 +00:00
Tor Lillqvist
1377e3d1e7 Check the C stdout and stderr streams for validity, instead of what
2003-01-01  Tor Lillqvist  <tml@iki.fi>

	* glib/gmessages.c (ensure_stdout_valid, ensure_stderr_valid):
	Check the C stdout and stderr streams for validity, instead of
	what GetStdHandle() returns.
2003-01-01 23:18:44 +00:00
Abel Cheung
ea09218038 Updated traditional Chinese translation.
2003-01-02  Abel Cheung  <maddog@linux.org.hk>

	* zh_TW.po: Updated traditional Chinese translation.
2003-01-01 19:44:30 +00:00
Tor Lillqvist
ac17691afc Move the alloc_console_called static flag inside these two functions.
2003-01-01  Tor Lillqvist  <tml@iki.fi>

	* glib/gmessages.c (ensure_stderr_valid, ensure_stdout_valid): Move the
	alloc_console_called static flag inside these two functions.
2003-01-01 17:00:51 +00:00
Tor Lillqvist
7809df2a6a Remove comment that only stdout would be used on Windows, no longer true.
2003-01-01  Tor Lillqvist  <tml@iki.fi>

	* glib/tmpl/messages.sgml: Remove comment that only stdout would
	be used on Windows, no longer true.
2003-01-01 01:40:52 +00:00
Tor Lillqvist
1b68ce7033 New function, parallel to ensure_stdout_valid(). #defined as empty on
2003-01-01  Tor Lillqvist  <tml@iki.fi>

	* glib/gmessages.c (ensure_stderr_valid): New function, parallel
	to ensure_stdout_valid(). #defined as empty on Unix.
	(mklevel_prefix): Do use either stderr or stdout on Windows,
	too. Otherwise g_warning() messages (that are just warnings, by
	definition) will get mixed with proper stdout output. Noticed in
	GIMP's gimpconfig-dump.
	(strdup_convert, mklevel_prefix, g_printerr): Call
	ensure_stderr_valid() before trying to use stderr.
	(g_logv): [Win32] Convert message to current codepage before
	display with MessageBox().
2003-01-01 01:19:47 +00:00
Gil Osher
63d6e3e49d *** empty log message *** 2002-12-30 10:13:46 +00:00
Owen Taylor
52a20ff026 Split ChangeLog 2002-12-28 21:16:55 +00:00
Vincent van Adrighem
60b01ffc21 Dutch translation updated by Tino Meinen.
2002-12-28  Vincent van Adrighem  <V.vanAdrighem@dirck.mine.nu>

	* nl.po: Dutch translation updated by Tino Meinen.
2002-12-28 14:29:46 +00:00
Tivo Leedjrv
20fa53a497 Added Estonian translation by Allan Sims <allsi@eau.ee>.
2002-12-28  Tivo Leedjrv  <toivo@linux.ee>

        * et.po: Added Estonian translation
        by Allan Sims <allsi@eau.ee>.
2002-12-27 23:43:22 +00:00
Tivo Leedjrv
3eb15f35ce Added et to ALL_LINGUAS.
2002-12-28  Tivo Leedjrv  <toivo@linux.ee>

        * configure.in: Added et to ALL_LINGUAS.
2002-12-27 23:41:33 +00:00
Vincent van Adrighem
c52bd3afbd Dutch translation updated by Tino Meinen.
2002-12-27  Vincent van Adrighem  <V.vanAdrighem@dirck.mine.nu>

	* nl.po: Dutch translation updated by Tino Meinen.
2002-12-27 08:31:54 +00:00
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