summaryrefslogtreecommitdiff
path: root/glib-1.2.10/gmodule/ChangeLog
blob: d806882a5fe118bcf077b478f2ebf1ed88972bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
2001-03-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* Makefile.am: Set G_LOG_DOMAIN to \"GModule\" instead of
	g_log_domain_gmodule. 

	* gmodule.c, gmodule.def, gmodule.h: Removed
	g_log_domain_gmodule. This fixes Bug #51643 for good.

Sat Feb 17 07:33:21 2001  Tim Janik  <timj@gtk.org>

	* gmodule-dl.c: fix systems with broken RTLD_GLOBAL.

2000-07-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gmodule.h: include glib.h before doing extern "C". Makes some
	C++ compiler happy. Reported by Denis Vakatov
	<vakatov@peony.nlm.nih.gov>.

Wed Mar  1 05:34:47 2000  Tim Janik  <timj@gtk.org>

	* gmodule-beos.c (_g_module_symbol): do not return NULL symbols.

	* gmodule-os2.c: removed NetBSD specific defines.
	(_g_module_self): set an error message for unsupported behaviour.

	* gmodule-beos.c: many coding style fixups.
	(_g_module_open):
	(_g_module_self):
	(_g_module_close):
	(_g_module_symbol): bunch of memory leaks plugged.

	* gmodule-dl.c: make sure the error message returned from dlerror()
	is always != NULL, by using a wrapper function fetch_dlerror(). based
	on a patch to fix _g_module_symbol() for NetBSD from Scott Presnell
	<srp@zgi.com>.

	* gmodule-dld.c: minor indentation.

	* gmodule-win32.c: minor cleanups.

Sat Feb 19 19:43:29 2000  Tim Janik  <timj@gtk.org>

	* testgmodule.c (main): added test to check that not yet bound symbols
	in shared libraries of the main module are retrievable, from David Gero.

	* gmodule-dld.c (_g_module_symbol): applied patch by David Gero
	<dgero@nortelnetworks.com>, so lookups for module_self also return
	library symbols on AIX.

Sat May  1 10:24:02 PDT 1999 Manish Singh <yosh@gimp.org>

	* Makefile.am: use -avoid-version and -module for test plugins

Fri Apr 23 09:03:48 1999  Tim Janik  <timj@gtk.org>

	* gmodule.c (g_module_symbol): removed inline variable assignment.
	s/CHECK_ERROR/SUPPORT_OR_RETURN/ to make the code more self descriptive.

Wed Feb 10 12:06:30 1999  Tim Janik  <timj@gtk.org>

	* gmodule.c (CHECK_ERROR): be more descriptive on unsupported systems.

Wed Feb 10 07:56:33 1999  Tim Janik  <timj@gtk.org>

	* gmodule.c (g_module_error): fixed errernerous code wrt to thread
	specific error string allocation handling.

Thu Jan 21 12:40:11 EST 1999  Jeff Garzik  <jgarzik@pobox.com>

        * gmodule-dl.c (_g_module_build_path):
        Add braces to eliminate an ambiguous else warning.

1999-01-16  Tor Lillqvist  <tml@iki.fi>

	* gmodule-dl.c gmodule-dld.c: In
 	_g_module_build_path, don't add the "lib" prefix and
 	".so" or ".sl" suffix if already there.

	* gmodule-win32.c: Likewise for the ".dll" suffix.

1998-12-10  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gmodule.c: Made it MT safe, the g_module_error() is now thread
	specific.

Fri Nov 20 14:43:44 1998  Tim Janik  <timj@gtk.org>

	* gmodule.c (_g_module_build_path): added empty default imlementation
	so gmodule.so compiles on systems that are not yet supported, fix from
	Erik Bagfors <bagfors@hpc2n.umu.se>.

1998-11-13  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

	* Makefile.am (INCLUDES): The previous commit message is wrong
	about the -I$(top_srcdir) being redundant. I put it back.

Wed Nov 11 23:23:22 EST 1998 Jeff Garzik <jgarzik@pobox.com>

        * Makefile.am : INCLUDES is the right way to add to CFLAGS, not 
        DEFS.  Also there are bugs with '+=' in makefiles.
        Got rid of DEFS line by moving G_LOG_DOMAIN setting into INCLUDES.
        Removed redundant -I from INCLUDES.

Tue Oct 27 04:00:11 1998  Tim Janik  <timj@gtk.org>

	* testgmodule.c (main): changed the #ifdef WIN32 test to NATIVE_WIN32,
	this needs to be more constistent throughout the code, do we go for
	NATIVE_WIN32 or WIN32?

	* gmodule.c (LibMain): special cased the #ifdef __LCC__ case for
	NATIVE_WIN32, since lcc maybe used on other platforms as well.
	* libgplugin_a.c (LibMain): 
	* libgplugin_b.c (LibMain): 
	likewise. not sure i like this special requirement for lcc in here.

	* gmodule-dl.c (_g_module_build_path): 
	feature empty "" directories and prepend the module name with "lib".

	* gmodule-dld.c (_g_module_build_path): 
	* gmodule-win32.c (_g_module_build_path): 
	feature empty "" directories.
	
	* we need some more magic in the _g_module_build_path variants
	so we don't append/prepend lib and .so, .sl or .dll for those names
	that already contain it.

	* applied patch from Tor Lillqvist for g_module_build_path() and
	windows support.

1998-10-20: Tor Lillqvist <tml@iki.fi>
        
	* gmodule/gmodule-win32.c:
        New file.

        * gmodule/gmodule.c gmodule/gmodule.h:
        Added the funcion g_module_build_path that builds the path to
        a module file, decorating the name according to the system's
        conventions.  Added the Windows implementation.

	* gmodule/libgplugin_a.c gmodule/libgplugin_b.c:
        Added LibMain for LCC-Win32.

        * gmodule/testgmodule.c:
        Handle Windows dll names.

1998-10-25  Raja R Harinath  <harinath@cs.umn.edu>

	* gmodule.h: Remove `#pragma }'.
	* gmoduleconf.h.in: Likewise.

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.

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.

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.

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.

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.

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.

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.

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.

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...

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
	a wrapper about system specifc dynamic loading facilities.
	

Sun Aug  9 10:31:05 1998  Tim Janik  <timj@gtk.org>

	* ChangeLog start for gmodule.