comparison src/ChangeLog @ 996:25e260cb7994

[xemacs-hg @ 2002-09-10 15:27:02 by james] Enable unloading of dynamic modules. Create the first two internal XEmacs modules: LDAP and postgreSQL. Update the sample directory to contain a sample internal XEmacs module and a sample external XEmacs module. Improve support for autoloading modules. Make internal module code compile into the XEmacs binary if XEmacs is configured without module support. Make the internal module directories self-contained so that they can be distributed separately from XEmacs.
author james
date Tue, 10 Sep 2002 15:27:39 +0000
parents 4700aface1ab
children 3d3204656cb4
comparison
equal deleted inserted replaced
995:4575a219af58 996:25e260cb7994
1 2002-08-08 Jerry James <james@xemacs.org>
2
3 * Makefile.in.in: ldap.o and postgresql.o have moved.
4 * alloc.c (unstaticpro_nodump_1): New function.
5 * alloc.c (unstaticpro_nodump): Ditto.
6 * depend: Regenerate.
7 * eldap.c: Move to modules/ldap.
8 * eldap.h: Ditto.
9 * emacs.c (main_1): Call LDAP and PostgreSQL initialization
10 functions only if they are not modules.
11 * emodules.c: Define EMODULES_DO_NOT_REDEFINE to skip changes to
12 core functions and macros made in emodules.h.
13 * emodules.c (unloading_module): New variable to flag when a
14 module unload is in progress.
15 * emodules.c (emodules_list): New member unload, to hold a
16 function for doing module cleanup at unload time.
17 * emodules.c (Fload_module): Note that users should not call this
18 function directly.
19 * emodules.c (Funload_module): Ditto. Compile it. Call the
20 module's unload function if it has one.
21 * emodules.c (emodules_load): Stop working around formerly broken
22 build_string() declaration. Update load-history for module
23 unloading.
24 * emodules.c (syms_of_module): Add new symbols.
25 * emodules.c (vars_of_module): Add unloading-module. Make
26 Vmodule_extensions use the new format.
27 * emodules.h: Block paths from module code into the dump_add*
28 functions.
29 * emodules.h (EMODULES_VERSION): New version.
30 * fileio.c: Add Qfile_name_nondirectory for use in emodules.c.
31 * inline.c: eldap.h and postgresql.h have moved.
32 * lisp.h: Add unstaticpro_nodump, unloading_module, Qmodule, and
33 Qfile_name_sans_extension declarations.
34 * lisp.h (Dynarr_delete_object): New macro.
35 * lrecord.h (UNDEF_LRECORD_IMPLEMENTATION): New macro.
36 * lrecord.h (UNDEF_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
37 * postgresql.c: Move to modules/postgresql.
38 * postgresql.h: Ditto.
39 * symbols.c (reject_constant_symbols): Allow it if we are
40 unloading a module.
41 * symbols.c (Fset): Allow unbinding constant value forward symbols
42 if we are unloading a module.
43 * symbols.c (defsubr): Update the load history for modules.
44 * symbols.c (defsubr_macro): Ditto.
45 * symbols.c (defvar_magic): Ditto.
46
1 2002-08-29 Jerry James <james@xemacs.org> 47 2002-08-29 Jerry James <james@xemacs.org>
2 48
3 * eldap.c: Put #endif tokens in a comment. 49 * eldap.c: Put #endif tokens in a comment.
4 50
5 * eldap.c (Fldap_status): 51 * eldap.c (Fldap_status):