Commit Graph

400 Commits

Author SHA1 Message Date
Manish Singh
c915c2d683 removed wrap_g_io_channel_ref() hack, since g_io_channel_ref() has a
Mon Nov  8 10:47:41 2004  Manish Singh  <yosh@gimp.org>

        * gobject/gsourceclosure.c: removed wrap_g_io_channel_ref() hack,
        since g_io_channel_ref() has a compatible API now.
2004-11-08 18:49:54 +00:00
Matthias Clasen
7f1bfaee74 *** empty log message *** 2004-11-02 23:06:58 +00:00
Matthias Clasen
00ff30a0bc *** empty log message *** 2004-11-02 21:53:23 +00:00
Matthias Clasen
286d84fcb0 glib/gdebug.h glib/gutils.c gobject/gtype.c gthread/gthread-posix.c
2004-11-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/gconvert.c:
	* glib/gdebug.h
	* glib/gutils.c
	* gobject/gtype.c
	* gthread/gthread-posix.c
	* tests/timeloop-closure.c
	* tests/timeloop.c: Fix sparse warnings.  (#157014, Kjartan Maraas)
2004-11-01 18:47:12 +00:00
Hans Breuer
aa410edee6 updated [and finally fixed my script to produce ready to go de-in(ed)
2004-10-29  Hans Breuer  <hans@breuer.org>

	* glibconfig.h */makefile.msc.in : updated [and finally fixed my
	script to produce ready to go de-in(ed) files, w/o autotools]

	* */*.rc.in : updated copyrights to 2004

	* glib/gutils.c : some CSIDL_* defines lacking from older SDK;
	use the same fallback mecahnism as on *NIX where ever applicable
2004-10-29 20:58:04 +00:00
Matthias Clasen
25dc3ce452 2.5.4 2004-10-27 17:56:33 +00:00
Matthias Clasen
1cb5534a51 Fix srcdir != builddir builds. (#156447, Thomas Fitzsimmons)
2004-10-27  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.am (gobjectalias.h): Fix srcdir != builddir
	builds.  (#156447, Thomas Fitzsimmons)
2004-10-27 04:42:51 +00:00
Matthias Clasen
45698f6ecf Add new symbols.
2004-10-26  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols: Add new symbols.

	* abicheck.sh: Don't include symbols which are just in the
	symbols list for .defs file compatibility.
2004-10-26 16:41:43 +00:00
Matthias Clasen
481fe81c06 Rename first parameter to check_data, since apparently the system headers
2004-10-23  Matthias Clasen  <mclasen@redhat.com>

	* gtype.h (GTypeInterfaceCheckFunc): Rename first parameter to
	check_data, since apparently the system headers on AIX leak a
	macro named func_data.  (#155178, Andrea Campi)
2004-10-24 01:22:30 +00:00
4
565d9253e7 applied patch from Jean-Yves Lefort <jylefort@brutele.be> to not access
Wed Oct  6 02:12:44 2004    <timj@birnet.org>

        * gtype.c (g_type_instance_get_private): applied patch from Jean-Yves
        Lefort <jylefort@brutele.be> to not access the instance_real_class_bsa
        pointer without holding the instance_real_class lock.
2004-10-06 00:15:07 +00:00
Matthias Clasen
ca4e234113 Improve the warning if G_SIGNAL_NO_HOOKS is set. (#154299, Nickolay V.
2004-10-04  Matthias Clasen  <mclasen@redhat.com>

	* gsignal.c (g_signal_add_emission_hook): Improve the warning
	if G_SIGNAL_NO_HOOKS is set.  (#154299, Nickolay V. Shmyrev)
2004-10-04 20:20:05 +00:00
Tor Lillqvist
4f89335660 [Win32] Add code to remove the bug-compatibility entries (see #134813, and
2004-09-22  Tor Lillqvist  <tml@iki.fi>

	* Makefile.am (install-libtool-import-lib): [Win32] Add code to
	remove the bug-compatibility entries (see #134813, and related
	comments below) from the import library. The PRIVATE keyword in
	the .def file is supposed to mean that, but it isn't implemented
	yet by GNU ld.

	* makegobjectalias.pl: In case the symbol is followed by some
	stuff ("PRIVATE") that's intended for the .def file, use just the
	actual symbol.

	* gobject.symbols: For binary bug compatibility on Win32, add the
	g_slist_remove_all and g_unichar_validate symbols inside #ifdef
	INCLUDE_INTERNAL_SYMBOLS. (See #134813 and log entries from March
	below.)
2004-09-22 22:41:02 +00:00
Matthias Clasen
36e34772d8 2.5.3 2004-09-18 21:03:46 +00:00
Manish Singh
d8357e2c51 don't hardcode lengths for cut, instead split on the third field.
Thu Sep 16 18:42:46 2004  Manish Singh  <yosh@gimp.org>

        * abicheck.sh: don't hardcode lengths for cut, instead split on
        the third field.
2004-09-17 01:41:30 +00:00
Matthias Clasen
465c7d1ead Implement the same PLT reduction technique used in GTK+:
2004-09-16  Matthias Clasen  <mclasen@redhat.com>

	Implement the same PLT reduction technique used in GTK+:

	* Makefile.am: Generate gobjectalias.h from gobject.symbols.
	(BUILT_SOURCES): Add gobjectalias.h.

	* makegobjectalias.pl: Script to generate gobjectalias.h.

	* *.c: Include gobjectalias.h
2004-09-16 18:52:40 +00:00
Matthias Clasen
88e7569e65 Add ABI control using the same technique that is used in GTK+.
2004-09-16  Matthias Clasen  <mclasen@redhat.com>

	Add ABI control using the same technique that is used in GTK+.

	* gobject.symbols: Master list of symbols.

	* gobject.def: Removed. It is now generated from gobject.symbols.

	* Makefile.am (gobject.def): Generate from gobject.symbols.
	(TESTS): Add abicheck.sh
	(EXTRA_DIST): Add abicheck.sh
	(export_symbols): Don't export _-prefixed symbols.

	* gtype.h:
	* gtype.c: Move the declarations of the various _init() functions
	to the header, and mark them as G_GNUC_INTERNAL.
2004-09-16 18:33:02 +00:00
Matthias Clasen
7f014a1ff3 2.5.2 2004-08-25 05:02:57 +00:00
Matthias Clasen
5b1c38b0b3 2.5.1 2004-08-01 03:51:21 +00:00
Matthias Clasen
47bd02855f Catch cases of forgotten g_type_add_private(). (#148368, Tommi Komulainen)
2004-07-28  Matthias Clasen  <mclasen@redhat.com>

	* gtype.c (g_type_instance_get_private): Catch cases of
	forgotten g_type_add_private().  (#148368, Tommi Komulainen)
2004-07-28 15:32:07 +00:00
Matthias Clasen
2e41f072a5 Use the correct fields for enums and flags. (#145015,Tommi Komulainen)
2004-07-21  Matthias Clasen  <mclasen@redhat.com>

	* glib-genmarshal.c (put_marshal_value_getters): Use the
	correct fields for enums and flags.  (#145015,Tommi Komulainen)
2004-07-21 17:59:17 +00:00
Soeren Sandmann
0192c59937 === Released 2.5.0 ===
Sun Jul 18 19:40:30 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* === Released 2.5.0 ===

	* Makefile.am (BUILT_EXTRA_DIST): move gtk-doc.make here.
2004-07-18 17:44:23 +00:00
Matthias Clasen
03657b9bf0 Don't choke on a zero handler_id.
2004-07-12  Matthias Clasen  <mclasen@redhat.com>

	* gsignal.c (g_signal_handler_is_connected): Don't
	choke on a zero handler_id.
2004-07-12 20:34:08 +00:00
Matthias Clasen
a41b04a301 Fix the declarations of the new functions to return GType, not void. Also
Tue Jul  6 00:46:43 2004  Matthias Clasen  <maclas@gmx.de>

	* gtypemodule.h:
	* gtypemodule.c: Fix the declarations of the new
	functions to return GType, not void.
	Also add missing includes.  (#145508, Morten Welinder)
2004-07-06 14:13:24 +00:00
Matthias Clasen
8414d97c5b Add g_type_module_register_enum() and g_type_module_register_flags().
Tue Jul  6 00:54:38 2004  Matthias Clasen  <maclas@gmx.de>

	* gobject/gobject-sections.txt:
	* gobject/tmpl/gtypemodule.sgml: Add g_type_module_register_enum()
	and g_type_module_register_flags().
2004-07-06 04:56:36 +00:00
Matthias Clasen
ef9a178b8e Add an initializer for the g_define_type_info.value_table.
Wed Jun 23 12:55:34 2004  Matthias Clasen  <maclas@gmx.de>

	* gtype.h (G_DEFINE_TYPE_EXTENDED): Add an initializer for
	the g_define_type_info.value_table.  (#144678,Mariano
	Suárez-Alvarez)
2004-06-23 16:56:48 +00:00
Matthias Clasen
160cd96ae2 Fix a couple of typos.
Tue Jun 22 21:50:47 2004  Matthias Clasen  <maclas@gmx.de>

	* gsignal.c: Fix a couple of typos.
2004-06-23 01:51:42 +00:00
Matthias Clasen
0bd1de96cf Actually define the guard after checking for it. (#108038, Morten
Fri Jun 18 22:55:36 2004  Matthias Clasen  <maclas@gmx.de>

	* gsourceclosure.h (__G_SOURCECLOSURE_H__): Actually
	define the guard after checking for it.  (#108038,
	Morten Welinder)
2004-06-19 02:57:15 +00:00
Matthias Clasen
0ce7180eec === Released 2.4.1 ===
2004-04-30  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.4.1 ===

	* glib/libcharset/Makefile.am (INCLUDES): Add -I$(top_srcdir)
	to make make distcheck happy.

	* configure.in: Version 2.4.1, interface age 1.

	* NEWS: Updates
2004-04-30 14:45:14 +00:00
Matthias Clasen
5868112a61 Actually convert escape chars in --vprod. (#139058, Christophe Saout)
2004-04-22  Matthias Clasen  <mclasen@redhat.com>

	* glib-mkenums.in: Actually convert escape chars in
	--vprod.   (#139058, Christophe Saout)
2004-04-22 21:02:34 +00:00
Matthias Clasen
ae0c9d95bb Correct the initial minimal value to be -G_MAXFLOAT. The initial values
2004-04-15  Matthias Clasen  <mclasen@redhat.com>

	* gparamspecs.c (param_float_init): Correct the initial
	minimal value to be -G_MAXFLOAT. The initial values were
	inconsistant before, with the initial default being smaller
	than the inital minimum.
	(param_double_init): Correct the initial minimal value
	to be -G_MAXDOUBLE.

	* glib/tmpl/types.sgml: Correct the description of the
	gfloat and gdouble ranges.
2004-04-15 16:45:31 +00:00
Owen Taylor
c309c65ecb === Released 2.4.0 ===
Tue Mar 16 11:50:56 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.4.0 ===

        * configure.in: Version 2.4.0, interface age 0.

        * README.in: Updates

        * NEWS: Updates
2004-03-16 19:10:34 +00:00
Tor Lillqvist
07ab639c25 Mark the two entries that shouldn't be in the import library (see below)
2004-03-10  Tor Lillqvist  <tml@iki.fi>

	* gobject.def: Mark the two entries that shouldn't be in the
	import library (see below) as PRIVATE.
2004-03-16 00:50:10 +00:00
Owen Taylor
55df929d48 === Released 2.3.6 ===
Tue Mar  9 09:16:11 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.6 ===

        * configure.in: Version 2.3.6, interface age 1.

        * NEWS: Updates
2004-03-09 14:44:02 +00:00
Tor Lillqvist
fd64571b80 Update.
2004-03-06  Tor Lillqvist  <tml@iki.fi>

	* README.win32: Update.

	* configure.in
	* Makefile.am
	* */Makefile.am: Drop the hand-written makefile.mingw(.in)
	files. They haven't been maintained in a long time. As several
	people have managed to build GLib for Win32 using the
	autoconfiscation mechanism, there is no real reason to even try to
	maintain the hand-written mingw makefiles.
2004-03-06 07:37:46 +00:00
Tor Lillqvist
6e521087ad Another of the glib DLL's functions was erronously present in the stable
2004-03-04  Tor Lillqvist  <tml@iki.fi>

	* gobject.def: Another of the glib DLL's functions was erronously
	present in the stable branch's gobject.def: g_unichar_validate,
	and nobody noticed until too late. Thus there are applications
	deployed that expect it to be found in the gobject DLL, and to
	keep ABI compatibility, we must keep it there forever. Argh.
2004-03-04 06:43:00 +00:00
Owen Taylor
109ebb109a === Released 2.3.5 ===
Mon Mar  1 16:49:51 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.5 ===

        * configure.in: Version 2.3.5, interface ago 0.

        * NEWS: Some further updates.
2004-03-02 00:05:36 +00:00
Tor Lillqvist
fed19fc424 Add g_slist_remove_all back for ABI compatibility. That entry point
2004-03-01  Tor Lillqvist  <tml@iki.fi>

	* gobject.def: Add g_slist_remove_all back for ABI
	compatibility. That entry point actually is in the glib DLL, but
	it was at some time many years ago by mistake added to
	gobject.def. Thus there presumably are executables out there that
	expect it to be exported from the gobject DLL. We don't want to
	break those. (#134813, J. Ali Harlow)
2004-03-01 20:48:50 +00:00
Matthias Clasen
e64c3c0bb0 forgotten changelog 2004-02-29 22:50:02 +00:00
Hans Breuer
f2fbccdb57 added g_strv_get_type
2003-02-28  Hans Breuer  <hans@breuer.org>

	* gobject.def : added g_strv_get_type
2004-02-28 13:02:07 +00:00
Matthias Clasen
5c57631f69 Support parsing of intializers containing macros with arguments. (#129717)
Fri Feb 27 01:49:22 2004  Matthias Clasen  <maclas@gmx.de>

	* glib-mkenums.in: Support parsing of intializers containing
	macros with arguments.  (#129717)
2004-02-27 00:49:56 +00:00
Owen Taylor
81e39b7858 === Released 2.3.3 ===
Tue Feb 24 14:09:21 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.3 ===

        * configure.in: Version 2.3.3, interface age 0.
2004-02-24 19:27:19 +00:00
Tim Janik
b183ffc5ed added (GTypeFlags) cast needed by C++.
Fri Feb 20 02:44:54 2004  Tim Janik  <timj@gtk.org>

        * gtype.h (G_DEFINE_TYPE_EXTENDED): added (GTypeFlags) cast needed by C++.
2004-02-20 01:47:26 +00:00
Tim Janik
999a87a19a provide a short-cut version for this macro in case
Tue Feb  3 21:24:01 2004  Tim Janik  <timj@gtk.org>

        * gtype.h (_G_TYPE_CVH): provide a short-cut version for
        this macro in case value->g_type==checked_type for gcc, similar
        to instance and class check short-cuts. this speeds up code that
        makes frequent use of G_VALUE_HOLDS_*() (e.g. setters/getters).

        * gtype.c (type_data_last_unref_Wm): don't call class-cache functions
        for the uncached case, this rendered g_type_class_unref_uncached()
        useless. pointed out by Stefan Westerfeld.
2004-02-03 20:30:23 +00:00
Tim Janik
82744debfe prefixed the parent_class variable defined by G_DEFINE_TYPE() with
Sat Jan 24 18:20:13 2004  Tim Janik  <timj@gtk.org>

        * gtype.h: prefixed the parent_class variable defined by G_DEFINE_TYPE()
        with type_name. removed type_parent_class argument
        from G_DEFINE_TYPE_EXTENDED().
2004-01-24 17:23:52 +00:00
Tor Lillqvist
2b7d6c5831 Add a missing entry.
2004-01-24  Tor Lillqvist  <tml@iki.fi>

	* gobject.def: Add a missing entry.
2004-01-24 03:56:36 +00:00
Manish Singh
b4e2d28850 wrap g_io_channel_ref in a function that returns the passed in GIOChannel,
Sun Jan 11 15:34:35 2004  Manish Singh  <yosh@gimp.org>

        * gsourceclosure.c: wrap g_io_channel_ref in a function that returns
        the passed in GIOChannel, so we aren't abusing GBoxedCopyFunc
        semantics. Fixes bug #131076.
2004-01-11 23:59:49 +00:00
Matthias Clasen
805ba95fb1 Document the lowercase_name trigraph option.
Sat Jan 10 23:55:42 2004  Matthias Clasen  <maclas@gmx.de>

	* glib-mkenums.1: Document the lowercase_name trigraph option.
2004-01-10 22:57:59 +00:00
Tim Janik
93ec5cfa66 made G_DEFINE_TYPE_INTERNAL() public by renaming it to
Sat Jan 10 02:43:20 2004  Tim Janik  <timj@gtk.org>

        * gtype.h: made G_DEFINE_TYPE_INTERNAL() public by renaming it to
        G_DEFINE_TYPE_EXTENDED() and moving it into the appropriate section.
2004-01-10 01:46:23 +00:00
Matthias Clasen
b4f769efaf Add a boxed type for nul-terminated string arrays. (#110528)
Fri Jan  9 23:41:00 2004  Matthias Clasen  <maclas@gmx.de>

	* gboxed.h:
	* gboxed.c (g_strv_get_type): Add a boxed type for nul-terminated
	string arrays.  (#110528)
2004-01-09 22:39:55 +00:00
Tim Janik
ba482c66c3 added convenience macros G_IMPLEMENT_INTERFACE() and G_DEFINE_TYPE() plus
Fri Jan  9 15:34:15 2004  Tim Janik  <timj@gtk.org>

        * gtype.h: added convenience macros G_IMPLEMENT_INTERFACE() and
        G_DEFINE_TYPE() plus variants.
2004-01-09 14:40:31 +00:00