Mercurial > hg > xemacs-beta
annotate src/symsinit.h @ 5157:1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
-------------------- ChangeLog entries follow: --------------------
lisp/ChangeLog addition:
2010-03-18 Ben Wing <ben@xemacs.org>
* diagnose.el (show-memory-usage):
Rewrite to take into account API changes in memory-usage functions.
src/ChangeLog addition:
2010-03-18 Ben Wing <ben@xemacs.org>
* alloc.c:
* alloc.c (disksave_object_finalization_1):
* alloc.c (lisp_object_storage_size):
* alloc.c (listu):
* alloc.c (listn):
* alloc.c (Fobject_memory_usage_stats):
* alloc.c (compute_memusage_stats_length):
* alloc.c (Fobject_memory_usage):
* alloc.c (Ftotal_object_memory_usage):
* alloc.c (malloced_storage_size):
* alloc.c (common_init_alloc_early):
* alloc.c (reinit_alloc_objects_early):
* alloc.c (reinit_alloc_early):
* alloc.c (init_alloc_once_early):
* alloc.c (syms_of_alloc):
* alloc.c (reinit_vars_of_alloc):
* buffer.c:
* buffer.c (struct buffer_stats):
* buffer.c (compute_buffer_text_usage):
* buffer.c (compute_buffer_usage):
* buffer.c (buffer_memory_usage):
* buffer.c (buffer_objects_create):
* buffer.c (syms_of_buffer):
* buffer.c (vars_of_buffer):
* console-impl.h (struct console_methods):
* dynarr.c (Dynarr_memory_usage):
* emacs.c (main_1):
* events.c (clear_event_resource):
* extents.c:
* extents.c (compute_buffer_extent_usage):
* extents.c (extent_objects_create):
* extents.h:
* faces.c:
* faces.c (compute_face_cachel_usage):
* faces.c (face_objects_create):
* faces.h:
* general-slots.h:
* glyphs.c:
* glyphs.c (compute_glyph_cachel_usage):
* glyphs.c (glyph_objects_create):
* glyphs.h:
* lisp.h:
* lisp.h (struct usage_stats):
* lrecord.h:
* lrecord.h (enum lrecord_type):
* lrecord.h (struct lrecord_implementation):
* lrecord.h (MC_ALLOC_CALL_FINALIZER_FOR_DISKSAVE):
* lrecord.h (DEFINE_DUMPABLE_LISP_OBJECT):
* lrecord.h (DEFINE_DUMPABLE_SIZABLE_LISP_OBJECT):
* lrecord.h (DEFINE_DUMPABLE_FROB_BLOCK_LISP_OBJECT):
* lrecord.h (DEFINE_DUMPABLE_FROB_BLOCK_SIZABLE_LISP_OBJECT):
* lrecord.h (DEFINE_DUMPABLE_INTERNAL_LISP_OBJECT):
* lrecord.h (DEFINE_DUMPABLE_SIZABLE_INTERNAL_LISP_OBJECT):
* lrecord.h (DEFINE_NODUMP_LISP_OBJECT):
* lrecord.h (DEFINE_NODUMP_SIZABLE_LISP_OBJECT):
* lrecord.h (DEFINE_NODUMP_FROB_BLOCK_LISP_OBJECT):
* lrecord.h (DEFINE_NODUMP_FROB_BLOCK_SIZABLE_LISP_OBJECT):
* lrecord.h (DEFINE_NODUMP_INTERNAL_LISP_OBJECT):
* lrecord.h (DEFINE_NODUMP_SIZABLE_INTERNAL_LISP_OBJECT):
* lrecord.h (MAKE_LISP_OBJECT):
* lrecord.h (DEFINE_DUMPABLE_MODULE_LISP_OBJECT):
* lrecord.h (DEFINE_DUMPABLE_MODULE_SIZABLE_LISP_OBJECT):
* lrecord.h (DEFINE_NODUMP_MODULE_LISP_OBJECT):
* lrecord.h (DEFINE_NODUMP_MODULE_SIZABLE_LISP_OBJECT):
* lrecord.h (MAKE_MODULE_LISP_OBJECT):
* lrecord.h (INIT_LISP_OBJECT):
* lrecord.h (INIT_MODULE_LISP_OBJECT):
* lrecord.h (UNDEF_LISP_OBJECT):
* lrecord.h (UNDEF_MODULE_LISP_OBJECT):
* lrecord.h (DECLARE_LISP_OBJECT):
* lrecord.h (DECLARE_MODULE_API_LISP_OBJECT):
* lrecord.h (DECLARE_MODULE_LISP_OBJECT):
* lstream.c:
* lstream.c (syms_of_lstream):
* lstream.c (vars_of_lstream):
* marker.c:
* marker.c (compute_buffer_marker_usage):
* mc-alloc.c (mc_alloced_storage_size):
* mc-alloc.h:
* mule-charset.c:
* mule-charset.c (struct charset_stats):
* mule-charset.c (compute_charset_usage):
* mule-charset.c (charset_memory_usage):
* mule-charset.c (mule_charset_objects_create):
* mule-charset.c (syms_of_mule_charset):
* mule-charset.c (vars_of_mule_charset):
* redisplay.c:
* redisplay.c (compute_rune_dynarr_usage):
* redisplay.c (compute_display_block_dynarr_usage):
* redisplay.c (compute_glyph_block_dynarr_usage):
* redisplay.c (compute_display_line_dynarr_usage):
* redisplay.c (compute_line_start_cache_dynarr_usage):
* redisplay.h:
* scrollbar-gtk.c (gtk_compute_scrollbar_instance_usage):
* scrollbar-msw.c (mswindows_compute_scrollbar_instance_usage):
* scrollbar-x.c (x_compute_scrollbar_instance_usage):
* scrollbar.c (compute_scrollbar_instance_usage):
* scrollbar.h:
* symbols.c:
* symbols.c (reinit_symbol_objects_early):
* symbols.c (init_symbols_once_early):
* symbols.c (reinit_symbols_early):
* symbols.c (defsymbol_massage_name_1):
* symsinit.h:
* ui-gtk.c:
* ui-gtk.c (emacs_gtk_object_getprop):
* ui-gtk.c (emacs_gtk_object_putprop):
* ui-gtk.c (ui_gtk_objects_create):
* unicode.c (compute_from_unicode_table_size_1):
* unicode.c (compute_to_unicode_table_size_1):
* unicode.c (compute_from_unicode_table_size):
* unicode.c (compute_to_unicode_table_size):
* window.c:
* window.c (struct window_stats):
* window.c (compute_window_mirror_usage):
* window.c (compute_window_usage):
* window.c (window_memory_usage):
* window.c (window_objects_create):
* window.c (syms_of_window):
* window.c (vars_of_window):
* window.h:
Redo memory-usage mechanism, make it general; add way of dynamically
initializing Lisp object types -- OBJECT_HAS_METHOD(), similar to
CONSOLE_HAS_METHOD().
(1) Create OBJECT_HAS_METHOD(), OBJECT_HAS_PROPERTY() etc. for
specifying that a Lisp object type has a particular method or
property. Call such methods with OBJECT_METH, MAYBE_OBJECT_METH,
OBJECT_METH_OR_GIVEN; retrieve properties with OBJECT_PROPERTY.
Methods that formerly required a DEFINE_*GENERAL_LISP_OBJECT() to
specify them (getprop, putprop, remprop, plist, disksave) now
instead use the dynamic-method mechanism. The main benefit of
this is that new methods or properties can be added without
requiring that the declaration statements of all existing methods
be modified. We have to make the `struct lrecord_implementation'
non-const, but I don't think this should have any effect on speed --
the only possible method that's really speed-critical is the
mark method, and we already extract those out into a separate
(non-const) array for increased cache locality.
Object methods need to be reinitialized after pdump, so we put
them in separate functions such as face_objects_create(),
extent_objects_create() and call them appropriately from emacs.c
The only current object property (`memusage_stats_list') that
objects can specify is a Lisp object and gets staticpro()ed so it
only needs to be set during dump time, but because it references
symbols that might not exist in a syms_of_() function, we
initialize it in vars_of_(). There is also an object property
(`num_extra_memusage_stats') that is automatically initialized based
on `memusage_stats_list'; we do that in reinit_vars_of_alloc(),
which is called after all vars_of_() functions are called.
`disksaver' method was renamed `disksave' to correspond with the
name normally given to the function (e.g. disksave_lstream()).
(2) Generalize the memory-usage mechanism in `buffer-memory-usage',
`window-memory-usage', `charset-memory-usage' into an object-type-
specific mechanism called by a single function
`object-memory-usage'. (Former function `object-memory-usage'
renamed to `total-object-memory-usage'). Generalize the mechanism
of different "slices" so that we can have different "classes" of
memory described and different "slices" onto each class; `t'
separates classes, `nil' separates slices. Currently we have
three classes defined: the memory of an object itself,
non-Lisp-object memory associated with the object (e.g. arrays or
dynarrs stored as fields in the object), and Lisp-object memory
associated with the object (other internal Lisp objects stored in
the object). This isn't completely finished yet and we might need
to further separate the "other internal Lisp objects" class into
two classes.
The memory-usage mechanism uses a `struct usage_stats' (renamed
from `struct overhead_stats') to describe a malloc-view onto a set
of allocated memory (listing how much was requested and various
types of overhead) and a more general `struct generic_usage_stats'
(with a `struct usage_stats' in it) to hold all statistics about
object memory. `struct generic_usage_stats' contains an array of
32 Bytecounts, which are statistics of unspecified semantics. The
intention is that individual types declare a corresponding struct
(e.g. `struct window_stats') with the same structure but with
specific fields in place of the array, corresponding to specific
statistics. The number of such statistics is an object property
computed from the list of tags (Lisp symbols describing the
statistics) stored in `memusage_stats_list'. The idea here is to
allow particular object types to customize the number and
semantics of the statistics where completely avoiding consing.
This doesn't matter so much yet, but the intention is to have the
memory usage of all objects computed at the end of GC, at the same
time as other statistics are currently computed. The values for
all statistics for a single type would be added up to compute
aggregate values for all objects of a specific type. To make this
efficient, we can't allow any memory allocation at all.
(3) Create some additional functions for creating lists that
specify the elements directly as args rather than indirectly through
an array: listn() (number of args given), listu() (list terminated
by Qunbound).
(4) Delete a bit of remaining unused C window_config stuff, also
unused lrecord_type_popup_data.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Thu, 18 Mar 2010 10:50:06 -0500 |
parents | a9c41067dd88 |
children | 9e0b43d3095c |
rev | line source |
---|---|
428 | 1 /* Various initialization function prototypes. |
2 Copyright (C) 1995 Board of Trustees, University of Illinois. | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
3 Copyright (C) 2001, 2002, 2010 Ben Wing. |
428 | 4 |
5 This file is part of XEmacs. | |
6 | |
7 XEmacs is free software; you can redistribute it and/or modify it | |
8 under the terms of the GNU General Public License as published by the | |
9 Free Software Foundation; either version 2, or (at your option) any | |
10 later version. | |
11 | |
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with XEmacs; see the file COPYING. If not, write to | |
4802
2fc0e2f18322
Don't create any bignums before pdumping. Add bignum, ratio, and bigfloat
Jerry James <james@xemacs.org>
parents:
3381
diff
changeset
|
19 the Free Software Foundation, Inc., 51 Franklin St - Fifth Floor, |
2fc0e2f18322
Don't create any bignums before pdumping. Add bignum, ratio, and bigfloat
Jerry James <james@xemacs.org>
parents:
3381
diff
changeset
|
20 Boston, MA 02111-1301, USA. */ |
428 | 21 |
22 /* Synched up with: Not in FSF. */ | |
23 | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
24 /* There is no need to put ifdefs around the prototypes here. Extra |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
25 prototypes won't hurt anything. */ |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
26 |
440 | 27 #ifndef INCLUDED_symsinit_h_ |
28 #define INCLUDED_symsinit_h_ | |
428 | 29 |
30 /* Earliest environment initializations (dump-time and run-time). */ | |
31 | |
2367 | 32 void init_win32_very_very_early (void); |
33 | |
428 | 34 void init_data_very_early (void); |
35 void init_floatfns_very_early (void); | |
36 void init_free_hook (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
37 void init_mswindows_dde_very_early (void); |
428 | 38 void init_process_times_very_early (void); |
39 void init_ralloc (void); | |
40 void init_signals_very_early (void); | |
41 | |
814 | 42 /* Early Lisp-engine initialization -- dump-time only for init, dump-time |
43 and post-pdump-load-time for reinit. We call the reinit() routine | |
44 ourselves at post-pdump-load-time, but the init_() routine calls the | |
45 reinit() routine itself. (This is because sometimes the timing of when | |
46 to call the routine is tricky -- the init routine might need to do some | |
47 stuff, call the reinit() routine, and do some more stuff.) */ | |
428 | 48 |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
49 void reinit_alloc_early (void); |
428 | 50 void init_alloc_once_early (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
51 void reinit_eistring_early (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
52 void init_eistring_once_early (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
53 void init_elhash_once_early (void); |
428 | 54 void init_errors_once_early (void); |
1204 | 55 void reinit_opaque_early (void); |
428 | 56 void init_opaque_once_early (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
57 void reinit_symbols_early (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
58 void init_symbols_once_early (void); |
814 | 59 |
60 /* Reset the Lisp engine. Called both at dump-time, run-time and | |
61 run-temacs-time; at dump-time, it's called early, before any of the | |
62 vars() or complex_vars() routines. Currently does almost nothing. */ | |
63 | |
64 void init_alloc_early (void); | |
65 | |
66 /* Called somewhat randomly -- at dump-time, in the middle of the vars() | |
67 calls, and at run-time, just before the late initializations. */ | |
68 | |
69 void init_eval_semi_early (void); | |
428 | 70 |
71 /* Declare the built-in symbols and primitives (dump-time only). */ | |
72 | |
73 void syms_of_abbrev (void); | |
74 void syms_of_alloc (void); | |
75 void syms_of_balloon_x (void); | |
76 void syms_of_buffer (void); | |
77 void syms_of_bytecode (void); | |
78 void syms_of_callint (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
79 EXTERN_C void syms_of_canna_api (void); |
428 | 80 void syms_of_casefiddle (void); |
81 void syms_of_casetab (void); | |
82 void syms_of_chartab (void); | |
83 void syms_of_cmdloop (void); | |
84 void syms_of_cmds (void); | |
771 | 85 void syms_of_console (void); |
428 | 86 void syms_of_console_mswindows (void); |
771 | 87 void syms_of_console_tty (void); |
428 | 88 void syms_of_data (void); |
89 void syms_of_database (void); | |
90 void syms_of_debug (void); | |
771 | 91 void syms_of_device (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
92 void syms_of_device_gtk (void); |
428 | 93 void syms_of_device_mswindows (void); |
771 | 94 void syms_of_device_tty (void); |
428 | 95 void syms_of_device_x (void); |
771 | 96 void syms_of_dialog (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
97 void syms_of_dialog_gtk (void); |
442 | 98 void syms_of_dialog_mswindows (void); |
428 | 99 void syms_of_dialog_x (void); |
100 void syms_of_dired (void); | |
101 void syms_of_dired_mswindows (void); | |
102 void syms_of_doc (void); | |
103 void syms_of_dragdrop (void); | |
104 void syms_of_editfns (void); | |
1706 | 105 EXTERN_C void syms_of_eldap (void); |
428 | 106 void syms_of_elhash (void); |
107 void syms_of_emacs (void); | |
108 void syms_of_eval (void); | |
771 | 109 void syms_of_event_Xt (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
110 void syms_of_event_gtk (void); |
428 | 111 void syms_of_event_mswindows (void); |
771 | 112 void syms_of_event_stream (void); |
428 | 113 void syms_of_events (void); |
114 void syms_of_extents (void); | |
115 void syms_of_faces (void); | |
771 | 116 void syms_of_file_coding (void); |
428 | 117 void syms_of_fileio (void); |
118 void syms_of_filelock (void); | |
119 void syms_of_floatfns (void); | |
120 void syms_of_fns (void); | |
121 void syms_of_font_lock (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
122 void syms_of_font_mgr (void); |
428 | 123 void syms_of_frame (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
124 void syms_of_frame_gtk (void); |
428 | 125 void syms_of_frame_mswindows (void); |
771 | 126 void syms_of_frame_tty (void); |
428 | 127 void syms_of_frame_x (void); |
128 void syms_of_free_hook (void); | |
129 void syms_of_general (void); | |
771 | 130 void syms_of_glyphs (void); |
428 | 131 void syms_of_glyphs_eimage (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
132 void syms_of_glyphs_gtk (void); |
771 | 133 void syms_of_glyphs_mswindows (void); |
563 | 134 void syms_of_glyphs_shared (void); |
428 | 135 void syms_of_glyphs_widget (void); |
771 | 136 void syms_of_glyphs_x (void); |
137 void syms_of_gpmevent (void); | |
138 void syms_of_gui (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
139 void syms_of_gui_gtk (void); |
440 | 140 void syms_of_gui_mswindows (void); |
428 | 141 void syms_of_gui_x (void); |
142 void syms_of_gutter (void); | |
143 void syms_of_indent (void); | |
144 void syms_of_input_method_xlib (void); | |
145 void syms_of_intl (void); | |
771 | 146 void syms_of_intl_win32 (void); |
147 void syms_of_intl_x (void); | |
428 | 148 void syms_of_keymap (void); |
149 void syms_of_lread (void); | |
5157
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
150 void syms_of_lstream (void); |
428 | 151 void syms_of_macros (void); |
152 void syms_of_marker (void); | |
2720 | 153 void syms_of_mc_alloc (void); |
428 | 154 void syms_of_md5 (void); |
155 void syms_of_menubar (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
156 void syms_of_menubar_gtk (void); |
428 | 157 void syms_of_menubar_mswindows (void); |
771 | 158 void syms_of_menubar_x (void); |
428 | 159 void syms_of_minibuf (void); |
160 void syms_of_module (void); | |
161 void syms_of_mule_ccl (void); | |
162 void syms_of_mule_charset (void); | |
771 | 163 void syms_of_mule_coding (void); |
428 | 164 void syms_of_mule_wnn (void); |
771 | 165 void syms_of_nt (void); |
1983 | 166 void syms_of_number (void); |
771 | 167 void syms_of_objects (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
168 void syms_of_objects_gtk (void); |
771 | 169 void syms_of_objects_mswindows (void); |
428 | 170 void syms_of_objects_tty (void); |
171 void syms_of_objects_x (void); | |
1706 | 172 EXTERN_C void syms_of_postgresql (void); |
428 | 173 void syms_of_print (void); |
174 void syms_of_process (void); | |
175 void syms_of_process_nt (void); | |
176 void syms_of_profile (void); | |
177 void syms_of_ralloc (void); | |
178 void syms_of_rangetab (void); | |
179 void syms_of_redisplay (void); | |
180 void syms_of_scrollbar (void); | |
181 void syms_of_scrollbar_mswindows(void); | |
182 void syms_of_search (void); | |
183 void syms_of_select (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
184 void syms_of_select_gtk (void); |
428 | 185 void syms_of_select_mswindows (void); |
771 | 186 void syms_of_select_x (void); |
428 | 187 void syms_of_signal (void); |
188 void syms_of_sound (void); | |
189 void syms_of_specifier (void); | |
190 void syms_of_sunpro (void); | |
191 void syms_of_symbols (void); | |
192 void syms_of_syntax (void); | |
440 | 193 void syms_of_tests (void); |
771 | 194 void syms_of_text (void); |
428 | 195 void syms_of_toolbar (void); |
196 void syms_of_tooltalk (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
197 void syms_of_ui_byhand (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
198 void syms_of_ui_gtk (void); |
428 | 199 void syms_of_undo (void); |
771 | 200 void syms_of_unicode (void); |
428 | 201 void syms_of_widget (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
202 void syms_of_widget_accessors (void); |
771 | 203 void syms_of_win32 (void); |
428 | 204 void syms_of_window (void); |
205 | |
5157
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
206 /* Initialize dynamic properties of objects (i.e. those properties not |
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
207 initialized statically through a DEFINE_*_LISP_OBJECT declaration). |
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
208 Dump time and post-pdump-load-time. */ |
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
209 |
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
210 void buffer_objects_create (void); |
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
211 void extent_objects_create (void); |
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
212 void face_objects_create (void); |
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
213 void glyph_objects_create (void); |
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
214 void lstream_objects_create (void); |
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
215 void mule_charset_objects_create (void); |
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
216 void ui_gtk_objects_create (void); |
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
217 void window_objects_create (void); |
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
218 |
771 | 219 /* Initialize the console types (dump-time only for console_type_(), |
220 post-pdump-load-time only for reinit_). */ | |
428 | 221 |
222 void console_type_create (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
223 void console_type_create_device_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
224 void console_type_create_device_mswindows (void); |
428 | 225 void console_type_create_device_tty (void); |
226 void console_type_create_device_x (void); | |
227 void reinit_console_type_create_device_x (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
228 void console_type_create_dialog_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
229 void console_type_create_dialog_mswindows (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
230 void console_type_create_dialog_x (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
231 void console_type_create_frame_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
232 void console_type_create_frame_mswindows (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
233 void console_type_create_frame_tty (void); |
428 | 234 void console_type_create_frame_x (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
235 void console_type_create_glyphs_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
236 void console_type_create_glyphs_mswindows (void); |
428 | 237 void console_type_create_glyphs_x (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
238 void console_type_create_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
239 void reinit_console_type_create_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
240 void console_type_create_menubar_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
241 void console_type_create_menubar_mswindows (void); |
428 | 242 void console_type_create_menubar_x (void); |
243 void console_type_create_mswindows (void); | |
244 void reinit_console_type_create_mswindows (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
245 void console_type_create_objects_gtk (void); |
428 | 246 void console_type_create_objects_mswindows (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
247 void console_type_create_objects_tty (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
248 void console_type_create_objects_x (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
249 void console_type_create_redisplay_gtk (void); |
428 | 250 void console_type_create_redisplay_mswindows (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
251 void console_type_create_redisplay_tty (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
252 void console_type_create_redisplay_x (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
253 void console_type_create_scrollbar_gtk (void); |
428 | 254 void console_type_create_scrollbar_mswindows (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
255 void console_type_create_scrollbar_x (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
256 void console_type_create_select_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
257 void console_type_create_select_mswindows (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
258 void console_type_create_select_x (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
259 void console_type_create_stream (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
260 void reinit_console_type_create_stream (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
261 void console_type_create_toolbar_gtk (void); |
428 | 262 void console_type_create_toolbar_mswindows (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
263 void console_type_create_toolbar_x (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
264 void console_type_create_tty (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
265 void reinit_console_type_create_tty (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
266 void console_type_create_x (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
267 void reinit_console_type_create_x (void); |
428 | 268 |
771 | 269 /* Initialize the specifier types (dump-time only for specifier_type_(), |
270 post-pdump-load-time only for reinit_). */ | |
428 | 271 |
272 void specifier_type_create (void); | |
273 void reinit_specifier_type_create (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
274 void specifier_type_create_gutter (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
275 void reinit_specifier_type_create_gutter (void); |
428 | 276 void specifier_type_create_image (void); |
277 void reinit_specifier_type_create_image (void); | |
278 void specifier_type_create_objects (void); | |
279 void reinit_specifier_type_create_objects (void); | |
280 void specifier_type_create_toolbar (void); | |
281 void reinit_specifier_type_create_toolbar (void); | |
282 | |
771 | 283 /* Initialize the coding system types (dump-time only for |
284 coding_system_type_(), post-pdump-load-time only for reinit_). */ | |
285 | |
286 void coding_system_type_create (void); | |
287 void reinit_coding_system_type_create (void); | |
288 void coding_system_type_create_intl_win32 (void); | |
289 void reinit_coding_system_type_create_intl_win32 (void); | |
290 void coding_system_type_create_mule_coding (void); | |
291 void reinit_coding_system_type_create_mule_coding (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
292 void coding_system_type_create_unicode (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
293 void reinit_coding_system_type_create_unicode (void); |
771 | 294 |
428 | 295 /* Initialize the structure types (dump-time only). */ |
296 | |
297 void structure_type_create (void); | |
298 void structure_type_create_chartab (void); | |
299 void structure_type_create_faces (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
300 void structure_type_create_hash_table (void); |
428 | 301 void structure_type_create_rangetab (void); |
302 | |
303 /* Initialize the image instantiator types (dump-time only). */ | |
304 | |
305 void image_instantiator_format_create (void); | |
306 void image_instantiator_format_create_glyphs_eimage (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
307 void image_instantiator_format_create_glyphs_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
308 void image_instantiator_format_create_glyphs_mswindows (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
309 void image_instantiator_format_create_glyphs_tty (void); |
428 | 310 void image_instantiator_format_create_glyphs_widget (void); |
311 void image_instantiator_format_create_glyphs_x (void); | |
312 | |
313 /* Initialize the lstream types (dump-time only). */ | |
314 | |
315 void lstream_type_create (void); | |
316 void lstream_type_create_file_coding (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
317 void lstream_type_create_mswindows_selectable (void); |
428 | 318 void lstream_type_create_print (void); |
319 | |
320 /* Initialize process types */ | |
321 | |
322 void process_type_create_nt (void); | |
323 void process_type_create_unix (void); | |
324 | |
325 /* Allow for Fprovide() (dump-time only). */ | |
326 | |
327 void init_provide_once (void); | |
328 | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
329 /* Lisp interactive function to sort groups of initialization functions by |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
330 name, ignoring any reinit_ or init_ at the beginning. Put the cursor |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
331 after the last right paren, type C-x C-e, then select some text and |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
332 M-x sort-symsinit. |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
333 |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
334 (defun sort-symsinit (start end) |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
335 (interactive "r") |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
336 (sort-regexp-fields nil "^.*?void \\(?:re\\)?\\(init_\\)?\\([A-Za-z0-9_]+\\).*$" "\\2" |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
337 start end)) |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
338 |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
339 */ |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
340 |
771 | 341 /* Initialize most variables (dump-time for vars_, dump-time and |
2367 | 342 post-pdump-load-time for reinit_vars). */ |
428 | 343 |
344 void vars_of_abbrev (void); | |
345 void vars_of_alloc (void); | |
5157
1fae11d56ad2
redo memory-usage mechanism, add way of dynamically initializing Lisp objects
Ben Wing <ben@xemacs.org>
parents:
5127
diff
changeset
|
346 void reinit_vars_of_alloc (void); |
428 | 347 void vars_of_balloon_x (void); |
348 void vars_of_buffer (void); | |
349 void reinit_vars_of_buffer (void); | |
350 void vars_of_bytecode (void); | |
4921
17362f371cc2
add more byte-code assertions and better failure output
Ben Wing <ben@xemacs.org>
parents:
4908
diff
changeset
|
351 void reinit_vars_of_bytecode (void); |
428 | 352 void vars_of_callint (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
353 EXTERN_C void vars_of_canna_api (void); |
428 | 354 void vars_of_chartab (void); |
355 void vars_of_cmdloop (void); | |
356 void vars_of_cmds (void); | |
357 void vars_of_console (void); | |
358 void reinit_vars_of_console (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
359 void vars_of_console_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
360 void vars_of_console_mswindows (void); |
428 | 361 void vars_of_console_stream (void); |
362 void vars_of_console_tty (void); | |
3381 | 363 void vars_of_console_x (void); |
428 | 364 void vars_of_data (void); |
365 void vars_of_database (void); | |
366 void vars_of_debug (void); | |
367 void reinit_vars_of_debug (void); | |
368 void vars_of_device (void); | |
369 void reinit_vars_of_device (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
370 void vars_of_device_gtk (void); |
428 | 371 void vars_of_device_mswindows (void); |
372 void vars_of_device_x (void); | |
373 void reinit_vars_of_device_x (void); | |
374 void vars_of_dialog (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
375 void vars_of_dialog_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
376 void vars_of_dialog_mswindows (void); |
428 | 377 void vars_of_dialog_x (void); |
378 void vars_of_dired (void); | |
379 void vars_of_dired_mswindows (void); | |
380 void vars_of_doc (void); | |
381 void vars_of_dragdrop (void); | |
382 void vars_of_editfns (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
383 EXTERN_C void vars_of_eldap (void); |
428 | 384 void vars_of_emacs (void); |
385 void vars_of_eval (void); | |
386 void reinit_vars_of_eval (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
387 void vars_of_event_Xt (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
388 void reinit_vars_of_event_Xt (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
389 void vars_of_event_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
390 void reinit_vars_of_event_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
391 void vars_of_event_mswindows (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
392 void reinit_vars_of_event_mswindows (void); |
428 | 393 void vars_of_event_stream (void); |
394 void reinit_vars_of_event_stream (void); | |
395 void vars_of_event_tty (void); | |
396 void reinit_vars_of_event_tty (void); | |
397 void vars_of_events (void); | |
398 void reinit_vars_of_events (void); | |
399 void vars_of_extents (void); | |
400 void vars_of_faces (void); | |
771 | 401 void vars_of_file_coding (void); |
402 void reinit_vars_of_file_coding (void); | |
428 | 403 void vars_of_fileio (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
404 #ifdef USE_C_FONT_LOCK |
442 | 405 void reinit_vars_of_fileio (void); |
428 | 406 void vars_of_filelock (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
407 #endif /* USE_C_FONT_LOCK */ |
428 | 408 void vars_of_floatfns (void); |
771 | 409 void vars_of_fns (void); |
428 | 410 void vars_of_font_lock (void); |
411 void reinit_vars_of_font_lock (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
412 void vars_of_font_mgr (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
413 void reinit_vars_of_font_mgr (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
414 void vars_of_frame (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
415 void vars_of_frame_gtk (void); |
428 | 416 void vars_of_frame_mswindows (void); |
438 | 417 void reinit_vars_of_frame_mswindows (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
418 void vars_of_frame_tty (void); |
428 | 419 void vars_of_frame_x (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
420 void vars_of_glyphs (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
421 void reinit_vars_of_glyphs (void); |
428 | 422 void vars_of_glyphs_eimage (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
423 void vars_of_glyphs_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
424 void vars_of_glyphs_mswindows (void); |
428 | 425 void vars_of_glyphs_widget (void); |
426 void reinit_vars_of_glyphs_widget (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
427 void vars_of_glyphs_x (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
428 void vars_of_gpmevent (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
429 void vars_of_gui (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
430 void vars_of_gui_gtk (void); |
428 | 431 void vars_of_gui_x (void); |
432 void reinit_vars_of_gui_x (void); | |
433 void vars_of_gutter (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
434 void vars_of_indent (void); |
428 | 435 void vars_of_input_method_motif (void); |
436 void vars_of_input_method_xlib (void); | |
437 void vars_of_insdel (void); | |
438 void reinit_vars_of_insdel (void); | |
439 void vars_of_intl (void); | |
771 | 440 void vars_of_intl_win32 (void); |
428 | 441 void vars_of_keymap (void); |
442 void vars_of_lread (void); | |
443 void reinit_vars_of_lread (void); | |
444 void vars_of_lstream (void); | |
445 void reinit_vars_of_lstream (void); | |
446 void vars_of_macros (void); | |
447 void vars_of_md5 (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
448 void vars_of_menubar (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
449 void vars_of_menubar_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
450 void reinit_vars_of_menubar_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
451 void vars_of_menubar_mswindows (void); |
428 | 452 void vars_of_menubar_x (void); |
453 void reinit_vars_of_menubar_x (void); | |
454 void vars_of_minibuf (void); | |
455 void reinit_vars_of_minibuf (void); | |
456 void vars_of_module (void); | |
457 void reinit_vars_of_module (void); | |
458 void vars_of_mule_ccl(void); | |
459 void vars_of_mule_charset (void); | |
771 | 460 void vars_of_mule_coding (void); |
461 void reinit_vars_of_mule_coding (void); | |
428 | 462 void vars_of_mule_wnn (void); |
442 | 463 void reinit_vars_of_mule_wnn (void); |
440 | 464 void vars_of_nt (void); |
1983 | 465 void vars_of_number (void); |
4802
2fc0e2f18322
Don't create any bignums before pdumping. Add bignum, ratio, and bigfloat
Jerry James <james@xemacs.org>
parents:
3381
diff
changeset
|
466 void reinit_vars_of_number (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
467 void reinit_vars_of_object_mswindows (void); |
428 | 468 void vars_of_objects (void); |
469 void reinit_vars_of_objects (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
470 void vars_of_objects_gtk (void); |
428 | 471 void vars_of_objects_mswindows (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
472 void vars_of_objects_tty (void); |
428 | 473 void vars_of_objects_x (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
474 EXTERN_C void vars_of_postgresql (void); |
428 | 475 void vars_of_print (void); |
476 void reinit_vars_of_print (void); | |
477 void vars_of_process (void); | |
478 void vars_of_process_nt (void); | |
479 void vars_of_process_unix (void); | |
480 void vars_of_profile (void); | |
481 void vars_of_ralloc (void); | |
2526 | 482 void vars_of_realpath (void); |
428 | 483 void vars_of_redisplay (void); |
814 | 484 void vars_of_regex (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
485 void vars_of_scrollbar (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
486 void vars_of_scrollbar_gtk (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
487 void vars_of_scrollbar_mswindows (void); |
428 | 488 void vars_of_scrollbar_x (void); |
489 void reinit_vars_of_scrollbar_x (void); | |
490 void vars_of_search (void); | |
491 void reinit_vars_of_search (void); | |
492 void vars_of_select (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
493 void vars_of_select_gtk (void); |
428 | 494 void vars_of_select_mswindows (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
495 void vars_of_select_x (void); |
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
496 void reinit_vars_of_select_x (void); |
428 | 497 void vars_of_sound (void); |
498 void vars_of_specifier (void); | |
499 void vars_of_sunpro (void); | |
500 void vars_of_symbols (void); | |
501 void vars_of_syntax (void); | |
440 | 502 void vars_of_tests (void); |
771 | 503 void vars_of_text (void); |
504 void reinit_vars_of_text (void); | |
428 | 505 void vars_of_toolbar (void); |
506 void vars_of_tooltalk (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
507 void vars_of_ui_gtk (void); |
428 | 508 void vars_of_undo (void); |
509 void reinit_vars_of_undo (void); | |
771 | 510 void vars_of_unicode (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
511 void vars_of_win32 (void); |
428 | 512 void vars_of_window (void); |
513 void reinit_vars_of_window (void); | |
514 | |
515 /* Initialize specifier variables (dump-time only). */ | |
516 | |
517 void specifier_vars_of_glyphs (void); | |
863 | 518 void specifier_vars_of_glyphs_widget (void); |
428 | 519 void specifier_vars_of_gutter (void); |
520 void specifier_vars_of_menubar (void); | |
521 void specifier_vars_of_redisplay (void); | |
522 void specifier_vars_of_scrollbar (void); | |
523 void specifier_vars_of_toolbar (void); | |
524 void specifier_vars_of_window (void); | |
525 | |
771 | 526 /* Initialize variables with complex dependencies on other variables |
527 (dump-time for complex_vars_, dump-time and post-pdump-load-time | |
528 for reinit_(), pdump-load-time-only for reinit_..._runtime_only()). | |
529 #### The reinit_() functions should be called from emacs.c, not the | |
530 corresponding complex_vars_of_(). */ | |
428 | 531 |
532 void complex_vars_of_alloc (void); | |
4834
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
533 void complex_vars_of_buffer (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
534 void reinit_complex_vars_of_buffer_runtime_only (void); |
428 | 535 void complex_vars_of_casetab (void); |
536 void complex_vars_of_chartab (void); | |
537 void complex_vars_of_console (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
538 void reinit_complex_vars_of_console_runtime_only (void); |
428 | 539 void complex_vars_of_emacs (void); |
4834
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
540 void complex_vars_of_faces (void); |
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
541 void complex_vars_of_file_coding (void); |
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
542 void complex_vars_of_font_mgr (void); |
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
543 void complex_vars_of_frame (void); |
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
544 void complex_vars_of_glyphs (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
545 void complex_vars_of_glyphs_gtk (void); |
4834
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
546 void complex_vars_of_glyphs_mswindows (void); |
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
547 void complex_vars_of_glyphs_x (void); |
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
548 void complex_vars_of_intl_win32 (void); |
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
549 void complex_vars_of_keymap (void); |
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
550 void complex_vars_of_menubar (void); |
428 | 551 void complex_vars_of_minibuf (void); |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
552 void reinit_complex_vars_of_minibuf (void); |
4834
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
553 void complex_vars_of_mule_charset (void); |
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
554 void complex_vars_of_scrollbar (void); |
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
555 void complex_vars_of_syntax (void); |
b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
Ben Wing <ben@xemacs.org>
parents:
4802
diff
changeset
|
556 void complex_vars_of_unicode (void); |
428 | 557 |
558 /* Late initialization -- stuff pertaining only to interactive usage, | |
771 | 559 I/O, or Lisp reading. (Dump-time and run-time, but the code itself |
560 may conditionalize on this by checking the `initialized' variable.) */ | |
428 | 561 |
771 | 562 void init_buffer_1 (void); |
563 void init_buffer_2 (void); | |
442 | 564 void init_console_stream (int reinit); |
428 | 565 void init_device_tty (void); |
566 void init_editfns (void); | |
567 void init_event_Xt_late (void); | |
4908
b3ce27ca7647
various fixes related to gtk, redisplay-xlike-inc.c
Ben Wing <ben@xemacs.org>
parents:
4834
diff
changeset
|
568 void init_event_gtk_late (void); |
814 | 569 void init_event_mswindows_late (void); |
428 | 570 void init_event_stream (void); |
571 void init_event_tty_late (void); | |
572 void init_event_unixoid (void); | |
771 | 573 void init_file_coding (void); |
428 | 574 void init_hpplay (void); |
771 | 575 void init_intl (void); |
576 void init_intl_win32 (void); | |
428 | 577 void init_lread (void); |
578 void init_macros (void); | |
814 | 579 void init_mswindows_environment (void); |
580 void init_nt (void); | |
771 | 581 void init_postgresql_from_environment (void); |
428 | 582 void init_redisplay (void); |
771 | 583 void init_select_mswindows (void); |
428 | 584 void init_sunpro (void); |
442 | 585 void init_win32 (void); |
814 | 586 void init_xemacs_process (void); |
428 | 587 |
1983 | 588 /* Enhanced number initialization: must be done only at runtime due to complex |
589 interactions with the supporting libraries. */ | |
590 void init_number (void); | |
591 | |
440 | 592 #endif /* INCLUDED_symsinit_h_ */ |