1998-10-21 20:04:47 +02:00
|
|
|
Wed Oct 21 19:58:27 1998 Tim Janik <timj@gtk.org>
|
|
|
|
|
|
|
|
* gmodule.c (g_module_symbol): fixed a string pointer bug that could
|
|
|
|
cause garbage error messages from g_module_symbol() for systems that
|
|
|
|
NEED_USCORE.
|
|
|
|
|
1998-09-21 04:32:30 +02:00
|
|
|
Mon Sep 21 01:54:48 1998 Tim Janik <timj@gtk.org>
|
|
|
|
|
|
|
|
* gmodule.h:
|
|
|
|
* gmodule.c: renamed old _de_init functionality to _unload.
|
|
|
|
modules are now expected to export:
|
|
|
|
G_MODULE_EXPORT const gchar* g_module_check_init (GModule *module);
|
|
|
|
and
|
|
|
|
G_MODULE_EXPORT void g_module_unload (GModule *module);
|
|
|
|
returning a string other than NULL from g_module_check_init() will
|
|
|
|
prevent the module from being loaded. a call to g_module_make_resident()
|
|
|
|
from g_module_unload() will prevent the module from being unloaded and
|
|
|
|
still make it resident.
|
|
|
|
|
1998-09-17 06:59:41 +02:00
|
|
|
Thu Sep 17 06:34:22 1998 Tim Janik <timj@gtk.org>
|
|
|
|
|
|
|
|
* gmodule.h:
|
|
|
|
* gmodule.c: implemented g_module_make_resident() which can be
|
|
|
|
used to make modules resident.
|
|
|
|
fixed a buglet about the optional "g_module_de_init" function in
|
|
|
|
modules, which could get invoked twice on very obscure occasions.
|
|
|
|
|
1998-09-15 21:08:11 +02:00
|
|
|
Tue Sep 15 14:57:30 1998 Owen Taylor <otaylor@redhat.com>
|
|
|
|
|
|
|
|
* Makefile.am: Update to libtool-1.2b,
|
|
|
|
change library versioning scheme to drop LT_RELEASE
|
|
|
|
from the -l line, while keeping it in the soname.
|
|
|
|
|
1998-08-20 07:10:27 +02:00
|
|
|
Thu Aug 20 07:08:16 1998 Tim Janik <timj@gtk.org>
|
|
|
|
|
|
|
|
* gmodule.c: provide no operation implementation for the underlying
|
|
|
|
_g_module_* functions, so we at least compile on systems that have
|
|
|
|
neither of G_MODULE_IMPL_DL or G_MODULE_IMPL_DLD.
|
|
|
|
|
1998-08-17 04:40:30 +02:00
|
|
|
Mon Aug 17 03:41:52 1998 Tim Janik <timj@gtk.org>
|
|
|
|
|
|
|
|
* gmodule.h:
|
|
|
|
* gmodule.c (g_module_open): changed the return type for the
|
|
|
|
GModuleCheckInit function to be a string, describing the error
|
|
|
|
condition.
|
|
|
|
(g_module_symbol): show the failing symbol on error messages.
|
|
|
|
|
version bump to 1.1.3, binary age 0, interface age 0.
Sun Aug 16 20:28:27 1998 Tim Janik <timj@gtk.org>
* version bump to 1.1.3, binary age 0, interface age 0.
* glib.h: be nice to platforms that don't have gint64 and don't
issue #warning on every compilation. since glib doesn't require
gint64 itself, packages that need gint64 should test for this
themselves.
* glib.h:
* gutils.c: added a new function g_vsnprintf().
Fri Aug 14 16:41:53 1998 Tim Janik <timj@gtk.org>
* glib.h: added static inline functions for bit mask tests:
g_bit_nth_lsf, g_bit_nth_msf and g_bit_storage.
Fri Aug 13 14:23:37 1998 Tim Janik <timj@gtk.org>
* glib.h:
* gmessages.c:
revised the message handling system, which is now based on a new
mechanism g_log*. most of the assertment macros got adapted to
feature the new g_log() call with an additional specification of
the log level in a preprocessor macro G_LOG_DOMAIN. if G_LOG_DOMAIN
is undefined upon the includion of glib.h, it'll be defined with a
value of (NULL) and thus preserves the original bahaviour for
warning and error messages. the message handler setting functions
for g_warning, g_error and g_message are only provided for backwards
compatibility and might get removed somewhen.
* Makefile.am: feature the G_LOG_DOMAIN macro to set the log domain
to "GLib" upon compilation. we currently have to add this definition
to the DEFS variable.
* testglib.c: we need an ugly #undef G_LOG_DOMAIN at the start
of this file currently, since automake doesn't support per target
_CFLAGS yet.
* glib.h: changed some gints to gbooleans, made a few const corrections,
removed some superfluous G_STMT_START{}G_STMT_END wrappers, added some
in other required places.
* gnode.c:
(g_node_prepend):
(g_node_insert_before):
(g_node_insert):
(g_node_append_data):
(g_node_prepend_data):
(g_node_insert_data_before):
(g_node_insert_data):
(g_node_append):
return (node), so these macros/functions can be usefully chained with
g_node_new().
[GModule]
Fri Aug 14 02:24:39 1998 Tim Janik <timj@gtk.org>
* Makefile.am: feature the G_LOG_DOMAIN macro to set the log domain
to "GModule" upon compilation. we currently have to add this definition
to the DEFS variable.
* testgmodule.c: we need an ugly #undef G_LOG_DOMAIN at the start
of this file currently, since automake doesn't support per target
_CFLAGS yet.
1998-08-16 23:14:11 +02:00
|
|
|
Fri Aug 14 02:24:39 1998 Tim Janik <timj@gtk.org>
|
|
|
|
|
|
|
|
* Makefile.am: feature the G_LOG_DOMAIN macro to set the log domain
|
|
|
|
to "GModule" upon compilation. we currently have to add this definition
|
|
|
|
to the DEFS variable.
|
|
|
|
* testgmodule.c: we need an ugly #undef G_LOG_DOMAIN at the start
|
|
|
|
of this file currently, since automake doesn't support per target
|
|
|
|
_CFLAGS yet.
|
|
|
|
|
1998-08-10 03:36:18 +02:00
|
|
|
Mon Aug 10 03:35:57 1998 Tim Janik <timj@gtk.org>
|
|
|
|
|
|
|
|
* gmodule.c: minor changes to internal interface.
|
|
|
|
* gmodule-dl.c:
|
|
|
|
* gmodule-dld.c: put some comments into the files, and provided
|
|
|
|
better error checking for shl_findsym(). whish i had a system to
|
|
|
|
test this stuff on.
|
|
|
|
|
1998-08-10 02:26:44 +02:00
|
|
|
Mon Aug 10 02:18:31 1998 Tim Janik <timj@gtk.org>
|
|
|
|
|
|
|
|
* Makefile.am (lib_LTLIBRARIES): for now, skip the dependency on
|
|
|
|
-lglib for libgmodule-1.1.la, libgplugin_a.la and libgplugin_b.la
|
|
|
|
since this clashes with inter-library-dependencies for not installed
|
|
|
|
libraries. glib-config takes care of this for the usuall case, but
|
|
|
|
there needs to be a better way...
|
|
|
|
|
1998-08-09 16:00:01 +02:00
|
|
|
Sun Aug 9 15:57:38 1998 Tim Janik <timj@gtk.org>
|
|
|
|
|
|
|
|
* testgmodule.c: test program for GModule.
|
|
|
|
* libgplugin_a.c:
|
|
|
|
* libgplugin_b.c: test plugins for testgmodule.c.
|
|
|
|
|
|
|
|
* gmodule.h:
|
|
|
|
* gmodule.c: GModule library implementation, which is basically
|
1998-09-17 06:59:41 +02:00
|
|
|
a wrapper about system specifc dynamic loading facilities.
|
1998-08-09 16:00:01 +02:00
|
|
|
|
|
|
|
|
1998-08-09 10:32:18 +02:00
|
|
|
Sun Aug 9 10:31:05 1998 Tim Janik <timj@gtk.org>
|
|
|
|
|
|
|
|
* ChangeLog start for gmodule.
|