1 2001-03-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
3 * Makefile.am: Set G_LOG_DOMAIN to \"GModule\" instead of
6 * gmodule.c, gmodule.def, gmodule.h: Removed
7 g_log_domain_gmodule. This fixes Bug #51643 for good.
9 Sat Feb 17 07:33:21 2001 Tim Janik <timj@gtk.org>
11 * gmodule-dl.c: fix systems with broken RTLD_GLOBAL.
13 2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
15 * gmodule.h: include glib.h before doing extern "C". Makes some
16 C++ compiler happy. Reported by Denis Vakatov
17 <vakatov@peony.nlm.nih.gov>.
19 Wed Mar 1 05:34:47 2000 Tim Janik <timj@gtk.org>
21 * gmodule-beos.c (_g_module_symbol): do not return NULL symbols.
23 * gmodule-os2.c: removed NetBSD specific defines.
24 (_g_module_self): set an error message for unsupported behaviour.
26 * gmodule-beos.c: many coding style fixups.
30 (_g_module_symbol): bunch of memory leaks plugged.
32 * gmodule-dl.c: make sure the error message returned from dlerror()
33 is always != NULL, by using a wrapper function fetch_dlerror(). based
34 on a patch to fix _g_module_symbol() for NetBSD from Scott Presnell
37 * gmodule-dld.c: minor indentation.
39 * gmodule-win32.c: minor cleanups.
41 Sat Feb 19 19:43:29 2000 Tim Janik <timj@gtk.org>
43 * testgmodule.c (main): added test to check that not yet bound symbols
44 in shared libraries of the main module are retrievable, from David Gero.
46 * gmodule-dld.c (_g_module_symbol): applied patch by David Gero
47 <dgero@nortelnetworks.com>, so lookups for module_self also return
48 library symbols on AIX.
50 Sat May 1 10:24:02 PDT 1999 Manish Singh <yosh@gimp.org>
52 * Makefile.am: use -avoid-version and -module for test plugins
54 Fri Apr 23 09:03:48 1999 Tim Janik <timj@gtk.org>
56 * gmodule.c (g_module_symbol): removed inline variable assignment.
57 s/CHECK_ERROR/SUPPORT_OR_RETURN/ to make the code more self descriptive.
59 Wed Feb 10 12:06:30 1999 Tim Janik <timj@gtk.org>
61 * gmodule.c (CHECK_ERROR): be more descriptive on unsupported systems.
63 Wed Feb 10 07:56:33 1999 Tim Janik <timj@gtk.org>
65 * gmodule.c (g_module_error): fixed errernerous code wrt to thread
66 specific error string allocation handling.
68 Thu Jan 21 12:40:11 EST 1999 Jeff Garzik <jgarzik@pobox.com>
70 * gmodule-dl.c (_g_module_build_path):
71 Add braces to eliminate an ambiguous else warning.
73 1999-01-16 Tor Lillqvist <tml@iki.fi>
75 * gmodule-dl.c gmodule-dld.c: In
76 _g_module_build_path, don't add the "lib" prefix and
77 ".so" or ".sl" suffix if already there.
79 * gmodule-win32.c: Likewise for the ".dll" suffix.
81 1998-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
83 * gmodule.c: Made it MT safe, the g_module_error() is now thread
86 Fri Nov 20 14:43:44 1998 Tim Janik <timj@gtk.org>
88 * gmodule.c (_g_module_build_path): added empty default imlementation
89 so gmodule.so compiles on systems that are not yet supported, fix from
90 Erik Bagfors <bagfors@hpc2n.umu.se>.
92 1998-11-13 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
94 * Makefile.am (INCLUDES): The previous commit message is wrong
95 about the -I$(top_srcdir) being redundant. I put it back.
97 Wed Nov 11 23:23:22 EST 1998 Jeff Garzik <jgarzik@pobox.com>
99 * Makefile.am : INCLUDES is the right way to add to CFLAGS, not
100 DEFS. Also there are bugs with '+=' in makefiles.
101 Got rid of DEFS line by moving G_LOG_DOMAIN setting into INCLUDES.
102 Removed redundant -I from INCLUDES.
104 Tue Oct 27 04:00:11 1998 Tim Janik <timj@gtk.org>
106 * testgmodule.c (main): changed the #ifdef WIN32 test to NATIVE_WIN32,
107 this needs to be more constistent throughout the code, do we go for
108 NATIVE_WIN32 or WIN32?
110 * gmodule.c (LibMain): special cased the #ifdef __LCC__ case for
111 NATIVE_WIN32, since lcc maybe used on other platforms as well.
112 * libgplugin_a.c (LibMain):
113 * libgplugin_b.c (LibMain):
114 likewise. not sure i like this special requirement for lcc in here.
116 * gmodule-dl.c (_g_module_build_path):
117 feature empty "" directories and prepend the module name with "lib".
119 * gmodule-dld.c (_g_module_build_path):
120 * gmodule-win32.c (_g_module_build_path):
121 feature empty "" directories.
123 * we need some more magic in the _g_module_build_path variants
124 so we don't append/prepend lib and .so, .sl or .dll for those names
125 that already contain it.
127 * applied patch from Tor Lillqvist for g_module_build_path() and
130 1998-10-20: Tor Lillqvist <tml@iki.fi>
132 * gmodule/gmodule-win32.c:
135 * gmodule/gmodule.c gmodule/gmodule.h:
136 Added the funcion g_module_build_path that builds the path to
137 a module file, decorating the name according to the system's
138 conventions. Added the Windows implementation.
140 * gmodule/libgplugin_a.c gmodule/libgplugin_b.c:
141 Added LibMain for LCC-Win32.
143 * gmodule/testgmodule.c:
144 Handle Windows dll names.
146 1998-10-25 Raja R Harinath <harinath@cs.umn.edu>
148 * gmodule.h: Remove `#pragma }'.
149 * gmoduleconf.h.in: Likewise.
151 Wed Oct 21 19:58:27 1998 Tim Janik <timj@gtk.org>
153 * gmodule.c (g_module_symbol): fixed a string pointer bug that could
154 cause garbage error messages from g_module_symbol() for systems that
157 Mon Sep 21 01:54:48 1998 Tim Janik <timj@gtk.org>
160 * gmodule.c: renamed old _de_init functionality to _unload.
161 modules are now expected to export:
162 G_MODULE_EXPORT const gchar* g_module_check_init (GModule *module);
164 G_MODULE_EXPORT void g_module_unload (GModule *module);
165 returning a string other than NULL from g_module_check_init() will
166 prevent the module from being loaded. a call to g_module_make_resident()
167 from g_module_unload() will prevent the module from being unloaded and
168 still make it resident.
170 Thu Sep 17 06:34:22 1998 Tim Janik <timj@gtk.org>
173 * gmodule.c: implemented g_module_make_resident() which can be
174 used to make modules resident.
175 fixed a buglet about the optional "g_module_de_init" function in
176 modules, which could get invoked twice on very obscure occasions.
178 Tue Sep 15 14:57:30 1998 Owen Taylor <otaylor@redhat.com>
180 * Makefile.am: Update to libtool-1.2b,
181 change library versioning scheme to drop LT_RELEASE
182 from the -l line, while keeping it in the soname.
184 Thu Aug 20 07:08:16 1998 Tim Janik <timj@gtk.org>
186 * gmodule.c: provide no operation implementation for the underlying
187 _g_module_* functions, so we at least compile on systems that have
188 neither of G_MODULE_IMPL_DL or G_MODULE_IMPL_DLD.
190 Mon Aug 17 03:41:52 1998 Tim Janik <timj@gtk.org>
193 * gmodule.c (g_module_open): changed the return type for the
194 GModuleCheckInit function to be a string, describing the error
196 (g_module_symbol): show the failing symbol on error messages.
198 Fri Aug 14 02:24:39 1998 Tim Janik <timj@gtk.org>
200 * Makefile.am: feature the G_LOG_DOMAIN macro to set the log domain
201 to "GModule" upon compilation. we currently have to add this definition
202 to the DEFS variable.
203 * testgmodule.c: we need an ugly #undef G_LOG_DOMAIN at the start
204 of this file currently, since automake doesn't support per target
207 Mon Aug 10 03:35:57 1998 Tim Janik <timj@gtk.org>
209 * gmodule.c: minor changes to internal interface.
211 * gmodule-dld.c: put some comments into the files, and provided
212 better error checking for shl_findsym(). whish i had a system to
215 Mon Aug 10 02:18:31 1998 Tim Janik <timj@gtk.org>
217 * Makefile.am (lib_LTLIBRARIES): for now, skip the dependency on
218 -lglib for libgmodule-1.1.la, libgplugin_a.la and libgplugin_b.la
219 since this clashes with inter-library-dependencies for not installed
220 libraries. glib-config takes care of this for the usuall case, but
221 there needs to be a better way...
223 Sun Aug 9 15:57:38 1998 Tim Janik <timj@gtk.org>
225 * testgmodule.c: test program for GModule.
227 * libgplugin_b.c: test plugins for testgmodule.c.
230 * gmodule.c: GModule library implementation, which is basically
231 a wrapper about system specifc dynamic loading facilities.
234 Sun Aug 9 10:31:05 1998 Tim Janik <timj@gtk.org>
236 * ChangeLog start for gmodule.