Commit Graph

1626 Commits

Author SHA1 Message Date
Owen Taylor
11026f6538 Fix trailing , in enumeration Miroslaw Dobrzanski-Neumann (#72574)
Mon Feb 25 22:46:29 2002  Owen Taylor  <otaylor@redhat.com>

	* glib/gdebug.h: Fix trailing , in enumeration
	Miroslaw Dobrzanski-Neumann (#72574)
2002-02-26 03:47:47 +00:00
Owen Taylor
198830aa35 Account for some characters having now uppercase/lowercase equivalents in
Mon Feb 25 21:58:01 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/guniprop.c (g_unichar_toupper/lower): Account
        for some characters having now uppercase/lowercase
        equivalents in code, docs. (#65416)
2002-02-26 03:01:09 +00:00
Owen Taylor
36fea8feaf Fix quoting of \' sequence (#72548, Christian Rose)
Mon Feb 25 16:31:09 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gshell.c (tokenize_command_line): Fix quoting
        of \' sequence (#72548, Christian Rose)
2002-02-25 21:34:38 +00:00
Christian Rose
d5799c79cd Fixed Swedish translation.
2002-02-25  Christian Rose  <menthos@menthos.com>

	* sv.po: Fixed Swedish translation.
2002-02-25 18:57:36 +00:00
Hasbullah Bin Pit
21de5425a5 Updated Malay Translation.
2002-02-25  Hasbullah Bin Pit <sebol@ikhlas.com>

* ms.po: Updated Malay Translation.
2002-02-25 17:08:46 +00:00
Valek Frob
6cb877480c Updated russian translation. 2002-02-25 11:23:02 +00:00
Christian Rose
f614a8dca8 Updated Swedish translation.
2002-02-25  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2002-02-25 09:15:32 +00:00
Owen Taylor
56377271ef Make GInterfaceInfo paramter const to correspond to the conventions for
Sun Feb 24 22:08:29 2002  Owen Taylor  <otaylor@redhat.com>

        * gtypemodule.[ch] (g_type_module_add_interface): Make
        GInterfaceInfo paramter const to correspond to the
        conventions for the g_type_add_interface() functions.
        (#72461, Miroslaw Dobrzanski-Neumann)
2002-02-25 03:15:25 +00:00
Tor Lillqvist
657d78b87e Edits.
2002-02-24  Tor Lillqvist  <tml@iki.fi>

	* README.win32: Edits.

	* config.h.win32.in: Add (as undefined) HAVE_UNSETENV,
	_FILE_OFFSET_BITS and _LARGE_FILES, just for completeness.

	* glibconfig.h.win32.in: Add the gcc-2.95.x undef of
	G_HAVE_ISO_VARARGS.
2002-02-24 21:42:34 +00:00
Owen Taylor
cca5009912 1.3.15, binary, interface age 0.
Sat Feb 23 21:36:51 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: 1.3.15, binary, interface age 0.

        * NEWS: Updated.
2002-02-24 03:19:45 +00:00
Owen Taylor
67ea9743a7 Add a little bit of padding.
Sat Feb 23 14:54:13 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/giochannel.h (struct _GIOChannel): Add a little bit
        of padding.

        * glib/gmain.h (struct _GSource): Add a little bit of padding.
2002-02-23 20:08:45 +00:00
Owen Taylor
600f880935 Add some padding to the class.
Sat Feb 23 13:28:56 2002  Owen Taylor  <otaylor@redhat.com>

        * gtypeplugin.h (struct _GTypePluginClass): Add some
        padding to the class.

        * gclosure.h (struct _GClosure): Fix typo in comment.
2002-02-23 20:08:13 +00:00
Ole Laursen
63e9982ace Updated Danish translation.
2002-02-23  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-02-23 15:34:06 +00:00
Matthias Clasen
642897a7f3 New header containing GTK_DEBUG-style debugging support for GLib.
* glib/gdebug.h: New header containing GTK_DEBUG-style debugging
	support for GLib. Currently only the fatal_warnings debug option exists.

	* glib/gmessages.c (g_log_msg_prefix_init): New one-shot function
	for parsing G_MESSAGES_PREFIXED.
	(_g_debug_init): New one-shot function for parsing G_DEBUG.
	(g_log_write_prefix): Use g_log_msg_prefix_init().
	(g_messages_init): Use g_log_msg_prefix_init() and _g_debug_init().

	* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gdebug.h.


	* glib/Makefile.am (IGNORE_HFILES): Add gdebug.h.

	* glib/running.sgml: Document the G_DEBUG environment variable.

	* glib/tmpl/threads.sgml: Replace g_thread_wait() by
	g_thread_join() in two places.
2002-02-21 23:07:34 +00:00
Tor Lillqvist
470d428f1d Add g_value_set_object_take_ownership and
2002-02-20  Tor Lillqvist  <tml@iki.fi>

	* gobject.def: Add g_value_set_object_take_ownership and
	g_value_set_param_take_ownership.
2002-02-21 20:46:12 +00:00
Owen Taylor
fe60933186 Fix implicit conversions between void * and function pointer (Miroslaw
Wed Feb 20 22:55:15 2002  Owen Taylor  <otaylor@redhat.com>

        * gobject.c: Fix implicit conversions between void * and
        function pointer (Miroslaw Dobrzanski-Neumann, #71963)
2002-02-21 03:57:33 +00:00
Owen Taylor
88cec4d135 ed Feb 20 22:35:42 2002 Owen Taylor <otaylor@redhat.com>
Fixes from Miroslaw Dobrzanski-Neumann (#71963)

        * glib/giounix.c (g_io_channel_new_file): Fix trailing comma
        in enum.

        * configure.in: Check for unsetenv.

        * test/uri-test.c: Fall back to trying putenv(VARNAME) if
        unsetenv isn't present.
2002-02-21 03:54:34 +00:00
Daniel Elstner
9d3f6abacb Use gssize instead of gsize as type of the pos and len arguments. (#71964)
2002-02-20  Daniel Elstner  <daniel.elstner@gmx.net>

* glib/gstring.[ch] (g_string_erase): Use gssize instead of gsize as type of the pos and len arguments. (#71964)
2002-02-20 16:44:56 +00:00
Simos Xenitellis
ec2b9edc39 Added Greek translation 2002-02-20 14:34:32 +00:00
Sven Neumann
5eced196ba gobject/gobject-sections.txt gobject/tmpl/generic_values.sgml updated for
2002-02-20  Sven Neumann  <sven@gimp.org>

	* gobject/gobject-sections.txt
	* gobject/tmpl/generic_values.sgml
	* gobject/tmpl/param_value_types.sgml: updated for GValue changes.
2002-02-20 09:51:10 +00:00
Tim Janik
a0f5e304b2 provide marshaller specific value_set_*_take_ownership() variants.
Sun Feb 16 22:08:48 2002  Tim Janik  <timj@gtk.org>

        * gobject.[hc]:
        * gparam.[hc]: provide marshaller specific value_set_*_take_ownership()
        variants.

        * gvalue.h: shrink GValue's data contents to 2 unions.

        * glib-genmarshal.c: fix release and realeas_check hackage by always
        using _take_ownership() variants. directly access value contents if
        G_ENABLE_DEBUG is not defined.

        * gobject.h: add padding pointers to the class struct.
2002-02-19 17:38:45 +00:00
Tim Janik
f2620633c1 added GValue documentation.
Tue Feb 19 17:45:43 2002  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/generic_values.sgml: added GValue documentation.
2002-02-19 17:08:11 +00:00
Tor Lillqvist
c7e635a922 Include <config.h> first here, too. Use g_io_channel_read_chars() instead
2002-02-19  Tor Lillqvist  <tml@iki.fi>

	* glib/gspawn-win32.c: Include <config.h> first here, too. Use
	g_io_channel_read_chars() instead of (deprecated)
	g_io_channel_read(). Set encoding to NULL for the channels used
	for the pipes from the child.

	* glib/giowin32.c (buffer_read): Do return G_IO_STATUS_EOF when
	EOF has been reached. Otherwise, with the above change to
	gspawn-win32.c, spawn-test hangs.
2002-02-19 09:08:24 +00:00
Takayuki KUSANO
96198d863b Updated Japanese translation.
* ja.po: Updated Japanese translation.
2002-02-19 04:22:08 +00:00
Owen Taylor
340e4c6f20 Remove charset.alias from EXTRA_DIST; we don't want the charset.alias from
Mon Feb 18 20:18:23 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/libcharset/Makefile.am (EXTRA_DIST): Remove
        charset.alias from EXTRA_DIST;	we don't	want the
	charset.alias from the	make distcheck machine
        on the	target system!.	(#70974,	reported by
        Ryan Lovett)
2002-02-19 01:20:35 +00:00
Owen Taylor
ec82c68f59 Turn off ISO varargs support for gcc-2.95 since it causes problems with
Mon Feb 18 12:40:36 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Turn off ISO varargs support for gcc-2.95
        since it causes problems with ANSI and we we have GNUC
        varargs. (#70024, reported by Morten Welinder, fix from
        James Henstridge)
2002-02-18 17:48:44 +00:00
Owen Taylor
57d9c0926a 1.3.14
Sun Feb 17 11:37:06 2002  Owen Taylor  <otaylor@redhat.com>

        * 1.3.14

        * glib/glibintl.h: Error out of config.h wasn't included
        rather than including it, since config.h must be the
        first thing included.

        * glib/gconvert.c glib/gmarkup.c glib/gshell.c glib/gspawn.c
        glib/gunibreak.c glib/gunidecomp.c glib/guniprop.c:
        Include config.h as the first thing. (#71704, Morten
        Welinder)
2002-02-17 23:28:43 +00:00
Owen Taylor
92e45a4009 Fix typo when checking if file + module_suffix exists. (Miroslaw
Sun Feb 17 18:15:22 2002  Owen Taylor  <otaylor@redhat.com>

        * gmodule.c (g_module_open): Fix typo when checking
        if file + module_suffix exists. (Miroslaw Dobrzanski-Neumann,
        #71801)
2002-02-17 23:17:52 +00:00
Wang Jian
22fe431b0a *** empty log message *** 2002-02-17 09:53:08 +00:00
Owen Taylor
ac20a8deba Version 1.3.14.
Fri Feb 15 11:41:42 2002  Owen Taylor  <otaylor@redhat.com>

        * Version 1.3.14.

        * configure.in: 1.3.14, binary age 0, interface age 0.
2002-02-15 17:26:49 +00:00
Owen Taylor
5d43b9ade4 Updated.
Fri Feb 15 10:41:51 2002  Owen Taylor  <otaylor@redhat.com>

        * NEWS: Updated.

        * configure.in: Require autoconf-2.52, run AC_SYS_LARGEFILE.
        (#71410, Sven Neumann)

        * glib/giounix.c glib/giowin32.c glib/giochannel.[ch]:
        Change offset type for g_io_channel_seek[_position] to
        gint64.
2002-02-15 16:41:54 +00:00
Sebastian Wilhelmi
9c357424fc Do not assume, that after g_usleep(G_USEC_PER_SEC) the newly started
2002-02-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* tests/thread-test.c: Do not assume, that after
	g_usleep(G_USEC_PER_SEC) the newly started thread began
	running. Spotted by Miroslaw Dobrzanski-Neumann
	<mne@mosaic-ag.com>. Make the test_g_static_rw_lock_thread threads
	wait a random time. Make the test_g_static_rw_lock test run 5
	seconds, not 1.
2002-02-15 09:58:49 +00:00
Tor Lillqvist
de3bfc0a74 Use the #if branch with G_BREAKPOINT() also on Win32. Remove the separate
2002-02-14  Tor Lillqvist  <tml@iki.fi>

	* glib/gmessages.c (g_logv): Use the #if branch with
	G_BREAKPOINT() also on Win32. Remove the separate __asm int 3 for
	MSVC, G_BREAKPOINT() does exactly that.
2002-02-14 07:06:56 +00:00
James Henstridge
f99e38b2b1 oops. revert some files that accidentally got into that last commit.
They were local changes that shouldn't have gone into the commit
(way too early)
2002-02-14 00:46:58 +00:00
James Henstridge
b0db44badc add third argument to the AC_DEFINE calls, so users of the macro don't
2002-02-14  James Henstridge  <james@daa.com.au>

	* m4macros/glib-gettext.m4: add third argument to the AC_DEFINE
	calls, so users of the macro don't need to add entries to
	acconfig.h in their package.
2002-02-14 00:28:02 +00:00
Havoc Pennington
ad24759fc1 never dispatch sources of mixed priority, because while iterating over the
2002-02-13  Havoc Pennington  <hp@redhat.com>

	* glib/gmain.c (g_main_context_check): never dispatch sources of
	mixed priority, because while iterating over the dispatch array a
	new source with more priority may be added, while a source with
	less priority remains in the dispatch array
2002-02-13 22:37:26 +00:00
Tim Janik
241b6981e3 fixed a check for node not being NULL.
Wed Feb 13 17:22:37 2002  Tim Janik  <timj@gtk.org>

        * gtype.c (g_type_value_table_peek): fixed a check for node not being NULL.
2002-02-13 16:24:35 +00:00
Tim Janik
713ce83c53 remove extraneous redefinition of G_PARAM_SPEC_CLASS().
Wed Feb 13 06:53:50 2002  Tim Janik  <timj@gtk.org>

        * gparam.c: remove extraneous redefinition of G_PARAM_SPEC_CLASS().
2002-02-13 05:53:54 +00:00
Tim Janik
d15d950210 cosmetic cleanups, fixed [u]int64->string conversions.
Wed Feb 13 06:29:51 2002  Tim Janik  <timj@gtk.org>

        * gvaluetransform.c: cosmetic cleanups, fixed [u]int64->string
        conversions.

        * ChangeLog: added entry from owen which went into the wrong
        file.
2002-02-13 05:30:42 +00:00
Darin Adler
d2ab8acd04 Use "if (expr) { } else" as I meant to in the first place. The other form
2002-02-11  Darin Adler  <darin@bentspoon.com>

	* glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
	first place. The other form can trigger warnings in some compilers
2002-02-12 00:50:23 +00:00
Darin Adler
864a14bae3 Use "if (expr) { } else" as I meant to in the first place. The other form
* glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
	first place. The other form can trigger warnings in some compilers
	that suspect a ";" after "if (expr)" is an error.
2002-02-11 22:33:55 +00:00
Manish Singh
efe9b5f5a7 ytpo fix 2002-02-11 22:31:07 +00:00
Manish Singh
92a29a3dda need statement terminators for the if clauses for the precedeing change.
2002-02-11  Manish Singh  <yosh@gimp.org>

        * glib/gmessages.h: need statement terminators for the if clauses for
        the precedeing change.
2002-02-11 22:30:43 +00:00
Darin Adler
d292b4609a Use "if (expr) else" rather than "if (!(expr))" so the parentheses don't
* glib/gmessages.h: Use "if (expr) else" rather than
	"if (!(expr))" so the parentheses don't disable the gcc
	warnings about = vs. ==.
2002-02-11 22:15:42 +00:00
jacob berkman
ed9ba133ef match the signature in the implementation
2002-02-11  jacob berkman  <jacob@ximian.com>

	* glib/gmarkup.h (g_markup_error_quark): match the signature in
	the implementation
2002-02-11 16:28:59 +00:00
Hans Breuer
96dece61ef no sym links on win32, no lstat in msvcrt
2002-02-10  Hans Breuer  <hans@breuer.org>

	* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt

	* tests/makefile.msc.in : added uri-test
2002-02-10 16:42:36 +00:00
Hans Breuer
8d45831997 msvc 5.0 can't cast from uint64 to double. Disable respective
2002-02-10  Hans Breuer  <hans@breuer.org>

	* gvaluetransform.c : msvc 5.0 can't cast from uint64 to
	double. Disable respective transform_func than.

	* makefile.msc.in : build test programs
2002-02-10 16:39:24 +00:00
Kjartan Maraas
77d8d5333c Updated Norwegian (bokmål) translation.
2002-02-10  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmål) translation.
2002-02-10 09:56:18 +00:00
Darin Adler
e507791c85 New. (skip_spaces): g_unichar_isspace -> xml_isspace isspace ->
* glib/gmarkup.c: (xml_isspace): New.
	(skip_spaces): g_unichar_isspace -> xml_isspace
	* glib/gstrfuncs.c: (g_ascii_strtod): isspace -> g_ascii_isspace
	isxdigit -> g_ascii_isxdigit, isdigit -> g_ascii_isdigit
2002-02-10 05:56:06 +00:00
Matthias Clasen
b08db9f35e Test attribute value delimiters.
* tests/markups/valid-4.gmarkup: Test attribute value delimiters.

	* glib/gmarkup.c (g_markup_parse_context_parse): Support
	' and " as attribute value delimiters.  (#70677)
2002-02-09 22:08:10 +00:00