mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-29 00:46:16 +01:00
d33887428e
2000-07-27 Tor Lillqvist <tml@iki.fi> * gobject.c: No, don't mark glib_debug_objects for export here, it's handled specially in gtktypeutils.c. * gobject.def: Export g_type_fundamental_last (the function).
234 lines
8.6 KiB
Plaintext
234 lines
8.6 KiB
Plaintext
2000-07-27 Tor Lillqvist <tml@iki.fi>
|
|
|
|
* gobject.c: No, don't mark glib_debug_objects for export here,
|
|
it's handled specially in gtktypeutils.c.
|
|
|
|
* gobject.def: Export g_type_fundamental_last (the function).
|
|
|
|
2000-07-26 Tor Lillqvist <tml@iki.fi>
|
|
|
|
* gobject.def
|
|
* gobject.c: Mark glib_debug_objects for export/import as it is
|
|
used by GTK+.
|
|
|
|
Sun Jul 23 17:23:35 2000 Tim Janik <timj@gtk.org>
|
|
|
|
* gtype.[hc]: make g_type_fundamental_last() a function, avoiding all
|
|
that extern variable clutter and avoiding further problems with thread
|
|
safety.
|
|
|
|
2000-07-19 Tor Lillqvist <tml@iki.fi>
|
|
|
|
* gparam.h
|
|
* gvalue.h
|
|
* gparam.c
|
|
* gtype.c: Shut up Sun's picky compiler.
|
|
|
|
2000-07-14 Tor Lillqvist <tml@iki.fi>
|
|
|
|
* gobject.def: Add g_type_get_plugin.
|
|
|
|
Thu Jul 13 02:07:54 2000 Tim Janik <timj@gtk.org>
|
|
|
|
* gparam.c (g_param_value_defaults): default initialize the temporary
|
|
default value, instead of nuking the caller's value contents.
|
|
|
|
2000-07-11 Raja R Harinath <harinath@cs.umn.edu>
|
|
|
|
* gtype.c (g_type_get_plugin): Don't return just 0 or 1.
|
|
|
|
Tue Jul 11 02:48:13 2000 Tim Janik <timj@gtk.org>
|
|
|
|
* gtype.[hc]: removed g_type_is_dynamic() and added g_type_get_plugin().
|
|
|
|
2000-07-10 Tor Lillqvist <tml@iki.fi>
|
|
|
|
* gobject-query.c: Include ../config.h for HAVE_UNISTD_H. Use it
|
|
to guard inclusion of <unistd.h>.
|
|
|
|
* gtype.h: Fix copy-paste errors in the ifdefs on how to declare a
|
|
variable for export. Call the macro GOBJECT_VAR.
|
|
|
|
* gtype.c: Declare _g_type_fundamental_last for export here, too.
|
|
(type_node_any_new): Use only constant expressions for sizeof
|
|
operator (for instance MSVC requires this).
|
|
|
|
* makefile.mingw.in: Define GOBJECT_COMPILATION.
|
|
|
|
Sun Jul 9 21:21:46 2000 Owen Taylor <otaylor@redhat.com>
|
|
|
|
* genums.c: Move string.h include into the .c file
|
|
instead of where it was in the .h file by mistake.
|
|
|
|
Thu Jul 6 15:30:27 2000 Owen Taylor <otaylor@redhat.com>
|
|
|
|
* Makefile.am (EXTRA_DIST): dist fixes.
|
|
|
|
* gobject.c: Add a global variable glib_debug_objects
|
|
(not in header file) to control object tracing.
|
|
|
|
2000-07-01 Tor Lillqvist <tml@iki.fi>
|
|
|
|
* gobject.def: Update added and renamed entry points.
|
|
|
|
* makefile.mingw.in: Add gvaluetypes.o.
|
|
|
|
Thu Jun 29 16:02:07 2000 Owen Taylor <otaylor@redhat.com>
|
|
|
|
* gobject.c:include string.h for memset
|
|
* genums.h: include string.h for strcpy
|
|
* gvalue.c: include string.h for memset, memcpy.
|
|
|
|
Sat Jun 24 23:03:04 2000 Tim Janik <timj@gtk.org>
|
|
|
|
* gtype.[hc]: provide G_TYPE_CHAR, G_TYPE_UCHAR, G_TYPE_BOOLEAN,
|
|
G_TYPE_INT, G_TYPE_UINT, G_TYPE_LONG, G_TYPE_ULONG, G_TYPE_FLOAT,
|
|
G_TYPE_DOUBLE and G_TYPE_STRING fundamental types.
|
|
added a GTypeValueTable* pointer to GTypeInfo structure for types
|
|
to implement GValue handling functions.
|
|
GTypeValueTable contains the following members:
|
|
value_init(): initialize a GValue structure.
|
|
value_free(): free GValue structure contents (optional).
|
|
value_copy(): copy one GValue contents to another GValue structure of
|
|
collect_type: varargs collection type for the first variable argument
|
|
to be collected by collect_value().
|
|
collect_value(): variable arguments collection function (optional).
|
|
lcopy_type: varargs collection type for the first variable argument
|
|
to be location copyied by lcopy_value().
|
|
lcopy_value(): variable arguments location copy function (optional).
|
|
g_type_value_table_peek(): new function to retrive the GTypeValueTable*
|
|
for a type node. ValueTables get inherited from parent types, unless
|
|
overridden through the GTypeInfo structure. internally, GTypeValueTable
|
|
support means an added overhead of one pointer per static or used
|
|
dynamic type node.
|
|
g_type_add_class_cache_func(): provide a cache_func/data pair to be
|
|
called prior to a type nodes last_unref() function, this can be used
|
|
to prevent premature class destruction. multiple installed cache_func()
|
|
will be chained upon last_unref() untill one of them returns TRUE.
|
|
the cache_func()s have to check the class id passed in to figure whether
|
|
they actually want to cache the class of this type (since all classes
|
|
are routed through the cache_func() chain).
|
|
g_type_remove_class_cache_func(): remove a previously installed
|
|
cache_func/data pair. the cache maintained by this function has to be
|
|
clear when calling g_type_remove_class_cache_func() to avoid leaks.
|
|
g_type_class_unref_uncached(): class unref function for cache_func()
|
|
implementations, unreferences a class omitting the cache chain (and
|
|
therefore unref->cache->unref->... loops).
|
|
|
|
* gvaluetypes.[hc]: provide the value setters/getters for the primitive
|
|
fundamental types boolean, char, uchar, int, uint, long, ulong, float,
|
|
double and string.
|
|
|
|
* gvalue.[hc]: provide G_TYPE_IS_VALUE() in terms of whether a
|
|
GTypeValueTable is provided for this type.
|
|
removed g_value_init_default(), g_value_validate(), g_value_defaults(),
|
|
g_value_set_default() and g_values_cmp() as these are supplied by the
|
|
GParamSpec API now.
|
|
moved g_values_exchange() into the "implementation details" section,
|
|
since it just provides the underlying functionality for
|
|
g_value_convert().
|
|
|
|
* gvaluecollector.h: renamed the varargs value container from
|
|
GParamCValue to GTypeCValue as the value collection methods are
|
|
supplied by the type system now.
|
|
G_PARAM_COLLECT_VALUE() and G_PARAM_LCOPY_VALUE() got renamed to
|
|
G_VALUE_COLLECT() and G_VALUE_LCOPY() and operate without a
|
|
GParamSpec structure now.
|
|
|
|
* genums.h: macros cleanups/fixes.
|
|
|
|
* genum.c: provide G_TYPE_ENUM and G_TYPE_FLAGS type
|
|
and assorted g_value_{s|g}et_{enum|flags}() implementations.
|
|
|
|
* gobject.[hc]:
|
|
provide G_IS_VALUE_OBJECT(), G_TYPE_OBJECT ValueTable methods
|
|
and g_value_{s|g}et_object().
|
|
|
|
* gparam.[hc]: reduced class to value_set_default(),
|
|
value_validate() and values_cmp(). also parameters now need to fill
|
|
in a GType value_type; field to indicate the GValue type they
|
|
are handling. provide g_param_value_set_default(),
|
|
g_param_value_defaults(), g_param_value_validate() and
|
|
g_param_values_cmp().
|
|
|
|
* gparamspecs.[hc]: got rid of the g_value_* functions and
|
|
the G_IS_VALUE_* macros. adapted param spec implementations
|
|
according to the GParamSpecClass changes.
|
|
|
|
Sat Jun 10 08:38:27 2000 Tim Janik <timj@gtk.org>
|
|
|
|
* gtype.c (type_class_init): fetch the nth iface entry of the
|
|
type node in the nth loop iteration, not alwys the first.
|
|
bug discovered by Walt Pohl <cher@suitware.com>.
|
|
(type_data_finalize_class_ifaces): same here, cut and paste
|
|
rulez.
|
|
|
|
Wed Jun 7 09:21:05 2000 Owen Taylor <otaylor@redhat.com>
|
|
|
|
* Makefile.am (INCLUDES): Add top_builddir so glibconfig.h
|
|
is found properly when build srcdir != builddir. (Patch from
|
|
Eric Lemings)
|
|
|
|
2000-05-13 Tor Lillqvist <tml@iki.fi>
|
|
|
|
* makefile.mingw.in
|
|
* gobject.def
|
|
* gobject.rc.in: New files, for Win32 (mingw) build.
|
|
|
|
* Makefile.am: Add to EXTRA_DIST. Add rules to produce the
|
|
corresponding non-*.in files.
|
|
|
|
* gtype.h: (Win32:) Mark _g_type_fundamental_last for
|
|
export/import from DLL.
|
|
|
|
Fri May 5 01:15:48 2000 Tim Janik <timj@gtk.org>
|
|
|
|
* gtype.h: add reserved fundamental ids for gtk types (for transition
|
|
time). added G_TYPE_FUNDAMENTAL_MAX for gtk.
|
|
|
|
Mon Apr 17 20:45:50 2000 Tim Janik <timj@gtk.org>
|
|
|
|
* glib-gobject.c (g_object_base_class_finalize): oops, don't unset
|
|
n_params prior to destructing them.
|
|
|
|
Tue Apr 11 04:28:10 2000 Tim Janik <timj@gtk.org>
|
|
|
|
* fixed a couple of bugs in the initial parameter/object
|
|
implementations, after getting beast running on GObject and GValue.
|
|
|
|
Fri Apr 7 04:27:49 2000 Tim Janik <timj@gtk.org>
|
|
|
|
* glib-gobject.[hc]: completed parameter set/get implementations,
|
|
along with asyncronous parameter changed notification queue.
|
|
|
|
Sun Apr 2 04:54:36 2000 Tim Janik <timj@gtk.org>
|
|
|
|
* glib-gobject.[hc]: GObject implementation, that is facilities
|
|
for setting/getting quarked data and reference counting.
|
|
|
|
* glib-gparamspecs.[hc]: first actuall parameter implementations
|
|
for GLib, so far we have: char, uchar, bool, int, uint, long,
|
|
ulong, enum, flags, float, double, string and object. each of these
|
|
GParamSpecs is a new instantiatable type in its own respect,
|
|
so the .c file derives 13 new types from G_TYPE_PARAM and
|
|
defines over 50 (*2) conversion facilities.
|
|
|
|
* glib-gvaluecollector.h: generic varargs handling stubs for
|
|
GParamSpecs, private header file (does get installed for
|
|
inclusion into user code though).
|
|
|
|
* glib-gvalue.[hc]: GValue functionality implementation.
|
|
|
|
* glib-gparam.[hc]: basis GParamSpec implementation for
|
|
the virtual base type G_TYPE_PARAM.
|
|
|
|
* glib-genums.[hc]: enum/flags type implementation, based on
|
|
bseenum.[hc].
|
|
|
|
* glib-extra.[hc]: GLib additions, including 1.3 compatibility
|
|
routines and various other functions, from string manipulation
|
|
over list manipulation up to a unix signal GSource.
|
|
|
|
* glib-gtype.[hc]: GLib Type System implementation, heavily
|
|
based on BSE's dynamic type system.
|