comparison src/ChangeLog @ 2865:8baa2f03d853

[xemacs-hg @ 2005-07-19 09:45:00 by didierv] Face aliasing feature
author didierv
date Tue, 19 Jul 2005 09:45:23 +0000
parents b95fe16005fd
children abbd4c295aa2
comparison
equal deleted inserted replaced
2864:97c8b3b7213a 2865:8baa2f03d853
1 2005-07-19 Didier Verna <didier@xemacs.org>
2
3 * faces.c (Ffind_face): Implement face aliasing.
4 * faces.c (syms_of_faces): Define Qface_alias symbol, and
5 Qcyclic_face_aliasing error symbol.
6
1 2005-07-17 Aidan Kehoe <kehoea@parhasard.net> 7 2005-07-17 Aidan Kehoe <kehoea@parhasard.net>
2 8
3 * cmds.c (Fself_insert_command): 9 * cmds.c (Fself_insert_command):
4 * editfns.c (Fchar_to_string): 10 * editfns.c (Fchar_to_string):
5 * event-stream.c (Fnext_event): 11 * event-stream.c (Fnext_event):
6 * event-stream.c (execute_command_event): 12 * event-stream.c (execute_command_event):
7 * events.c (Fevent_to_character): 13 * events.c (Fevent_to_character):
8 * keymap.c (Ftext_char_description): 14 * keymap.c (Ftext_char_description):
9 * lisp.h: 15 * lisp.h:
10 Add back the last argument to event-to-character; document that 16 Add back the last argument to event-to-character; document that
11 it's unused. 17 it's unused.
12 18
13 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu> 19 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
14 20
15 * sysdll.c (dll_open): Under MacOS X return NULL under the 21 * sysdll.c (dll_open): Under MacOS X return NULL under the
16 filename is NULL. Fixes problems finding local symbols under 10.4 22 filename is NULL. Fixes problems finding local symbols under 10.4
17 (Tiger) 23 (Tiger)
20 26
21 * console-msw.c: 27 * console-msw.c:
22 * console-msw.c (mswindows_perhaps_init_unseen_key_defaults): 28 * console-msw.c (mswindows_perhaps_init_unseen_key_defaults):
23 * console-msw.c (vars_of_console_mswindows): 29 * console-msw.c (vars_of_console_mswindows):
24 Rename Qseen_characters to Vmswindows_seen_characters, dump it 30 Rename Qseen_characters to Vmswindows_seen_characters, dump it
25 when pdump is in use. 31 when pdump is in use.
26 32
27 * console-tty.c (tty_perhaps_init_unseen_key_defaults): 33 * console-tty.c (tty_perhaps_init_unseen_key_defaults):
28 * console-tty.c (vars_of_console_tty): 34 * console-tty.c (vars_of_console_tty):
29 Rename Qseen_characters to Vttyxo_seen_characters, dump it 35 Rename Qseen_characters to Vttyxo_seen_characters, dump it
30 when pdump is in use. 36 when pdump is in use.
31 37
32 2005-06-29 Marcus Crestani <crestani@xemacs.org> 38 2005-06-29 Marcus Crestani <crestani@xemacs.org>
33 39
34 Fix C++ build for unexec. 40 Fix C++ build for unexec.
35 * unexelf.c: Adjust fatal and unexec to the declarations in 41 * unexelf.c: Adjust fatal and unexec to the declarations in
41 * event-Xt.c: 47 * event-Xt.c:
42 * event-gtk.c: 48 * event-gtk.c:
43 * events.c (event_to_character): 49 * events.c (event_to_character):
44 * general-slots.h: 50 * general-slots.h:
45 Move the Qkey_mapping variable to general-slots.h, now that it's 51 Move the Qkey_mapping variable to general-slots.h, now that it's
46 used outside the platform specific keyboard warning code. 52 used outside the platform specific keyboard warning code.
47 53
48 2005-06-28 Marcus Crestani <crestani@xemacs.org> 54 2005-06-28 Marcus Crestani <crestani@xemacs.org>
49 55
50 * console-x.c (x_perhaps_init_unseen_key_defaults): Use 56 * console-x.c (x_perhaps_init_unseen_key_defaults): Use
51 build_intstring to avoid type error. 57 build_intstring to avoid type error.
70 2005-06-26 Aidan Kehoe <kehoea@parhasard.net> 76 2005-06-26 Aidan Kehoe <kehoea@parhasard.net>
71 77
72 * event-stream.c (command_builder_find_leaf): 78 * event-stream.c (command_builder_find_leaf):
73 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): 79 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P):
74 * mule-ccl.c (ccl_driver): 80 * mule-ccl.c (ccl_driver):
75 Couple of build fixes. 81 Couple of build fixes.
76 82
77 2005-06-26 Aidan Kehoe <kehoea@parhasard.net> 83 2005-06-26 Aidan Kehoe <kehoea@parhasard.net>
78 84
79 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add. 85 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
80 * mule-ccl.c: Check that a character set exists before using it 86 * mule-ccl.c: Check that a character set exists before using it
81 to create a character. 87 to create a character.
82 88
83 2005-06-26 Aidan Kehoe <kehoea@parhasard.net> 89 2005-06-26 Aidan Kehoe <kehoea@parhasard.net>
84 90
85 * cmds.c (Fself_insert_command): 91 * cmds.c (Fself_insert_command):
86 No 4th arg to event_to_character. 92 No 4th arg to event_to_character.
87 93
88 * console-impl.h (struct console_methods): Add a new member 94 * console-impl.h (struct console_methods): Add a new member
89 method, perhaps_init_unseen_key_defaults, which is to allow the 95 method, perhaps_init_unseen_key_defaults, which is to allow the
90 console to take appropriate action--often a default binding to 96 console to take appropriate action--often a default binding to
91 self-insert-command--when notified about a character it may not 97 self-insert-command--when notified about a character it may not
92 have seen before. 98 have seen before.
93 99
94 * console-gtk.c: 100 * console-gtk.c:
95 Add gtk_perhaps_init_unseen_key_defaults, a new console method, 101 Add gtk_perhaps_init_unseen_key_defaults, a new console method,
96 and a hash table it uses. 102 and a hash table it uses.
97 103
98 * console-msw.c: 104 * console-msw.c:
99 Add mswindows_perhaps_init_unseen_key_defaults, a new console 105 Add mswindows_perhaps_init_unseen_key_defaults, a new console
100 method, and a hash table it uses. 106 method, and a hash table it uses.
101 107
102 * console-tty.c: 108 * console-tty.c:
103 Add tty_perhaps_init_unseen_key_defaults, a new console method, 109 Add tty_perhaps_init_unseen_key_defaults, a new console method,
104 and a hash table used by it. 110 and a hash table used by it.
105 111
106 * console-x.c: 112 * console-x.c:
107 * console-x.c (x_perhaps_init_unseen_key_defaults): New. 113 * console-x.c (x_perhaps_init_unseen_key_defaults): New.
108 Given a key, if it maps to a character and we weren't previously 114 Given a key, if it maps to a character and we weren't previously
109 aware that it could be generated on console CON, and if it's 115 aware that it could be generated on console CON, and if it's
110 unbound in the global map, bind it to self-insert-command. Return 116 unbound in the global map, bind it to self-insert-command. Return
111 Qt if the binding was done; Qnil if not. 117 Qt if the binding was done; Qnil if not.
112 118
113 * device-gtk.c: 119 * device-gtk.c:
114 * device-gtk.c (vars_of_device_gtk): 120 * device-gtk.c (vars_of_device_gtk):
115 Add a hash table var used by gtk_perhaps_init_unseen_key_defaults. 121 Add a hash table var used by gtk_perhaps_init_unseen_key_defaults.
116 122
117 * editfns.c (Fchar_to_string): 123 * editfns.c (Fchar_to_string):
118 Call Fevent_to_character with three arguments, not four; don't 124 Call Fevent_to_character with three arguments, not four; don't
119 express a belief that the only XEmacs character encoding is 125 express a belief that the only XEmacs character encoding is
120 ASCII. 126 ASCII.
121 127
122 * event-Xt.c: 128 * event-Xt.c:
123 * event-Xt.c (maybe_define_x_key_as_self_inserting_character): 129 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
124 ascii-character -> character-of-keysym property renaming. 130 ascii-character -> character-of-keysym property renaming.
125 131
126 * event-Xt.c (x_has_keysym): 132 * event-Xt.c (x_has_keysym):
127 Make it visible to the console code, make it a little more Mule-safe. 133 Make it visible to the console code, make it a little more Mule-safe.
128 134
129 * event-Xt.c (index_to_name): 135 * event-Xt.c (index_to_name):
130 Move to Mule declaration conventions. 136 Move to Mule declaration conventions.
131 137
132 * event-Xt.c (x_reset_modifier_mapping): 138 * event-Xt.c (x_reset_modifier_mapping):
133 Move large comment from Jamie before this function. 139 Move large comment from Jamie before this function.
134 140
135 * event-Xt.c (x_keysym_to_emacs_keysym): 141 * event-Xt.c (x_keysym_to_emacs_keysym):
136 Move to Mule declaration conventions and coding practices. 142 Move to Mule declaration conventions and coding practices.
137 143
138 * event-Xt.c (x_event_to_emacs_event): 144 * event-Xt.c (x_event_to_emacs_event):
139 Add some comments, and the initial steps necessary for Russian C-x 145 Add some comments, and the initial steps necessary for Russian C-x
140 support. 146 support.
141 147
142 * event-msw.c (mswindows_wnd_proc): 148 * event-msw.c (mswindows_wnd_proc):
143 Don't conditionalize Russian C-x support on Mule. (I'm not certain 149 Don't conditionalize Russian C-x support on Mule. (I'm not certain
144 if this is correct on MSW, but it's the approach I'm taking on 150 if this is correct on MSW, but it's the approach I'm taking on
145 X11.) 151 X11.)
146 152
147 * event-stream.c: 153 * event-stream.c:
148 Add Russian C-x support, a var to enable and disable it, remove 154 Add Russian C-x support, a var to enable and disable it, remove
149 composed-character-default-binding in favour of 155 composed-character-default-binding in favour of
150 self-insert-command, rename 156 self-insert-command, rename
151 command_builder_find_leaf_no_mule_processing to 157 command_builder_find_leaf_no_mule_processing to
152 command_builder_find_leaf_no_jit_binding, change 158 command_builder_find_leaf_no_jit_binding, change
153 command_builder_find_leaf to tell the console-specific code to 159 command_builder_find_leaf to tell the console-specific code to
154 perhaps add a binding for keys its never seen before, and then 160 perhaps add a binding for keys its never seen before, and then
155 retry the lookup if it would otherwise fail. 161 retry the lookup if it would otherwise fail.
156 162
157 * event-stream.c (execute_command_event): 163 * event-stream.c (execute_command_event):
158 event-to-character has three arguments now, not four. 164 event-to-character has three arguments now, not four.
159 165
160 * event-stream.c (vars_of_event_stream): 166 * event-stream.c (vars_of_event_stream):
161 Formatting clean up for inhibit-input-event-recoding. 167 Formatting clean up for inhibit-input-event-recoding.
162 168
163 * event-xlike-inc.c: 169 * event-xlike-inc.c:
164 * event-xlike-inc.c (endif): 170 * event-xlike-inc.c (endif):
165 Move x_keysym_to_character here from event-Xt.c so it can be used 171 Move x_keysym_to_character here from event-Xt.c so it can be used
166 by GTK 1.0 as well; greatly expand it, to handle many more 172 by GTK 1.0 as well; greatly expand it, to handle many more
167 characters than previously. 173 characters than previously.
168 174
169 * events.c: 175 * events.c:
170 Rename the ascii-character property, remove 176 Rename the ascii-character property, remove
171 character-set-property, remove the now unused fourth argument to 177 character-set-property, remove the now unused fourth argument to
172 event_to_character, ditto for the event-to-character, 178 event_to_character, ditto for the event-to-character,
173 179
174 * events.h (enum alternative_key_chars): 180 * events.h (enum alternative_key_chars):
175 * events.h (struct Lisp_Key_Data): 181 * events.h (struct Lisp_Key_Data):
176 Russian C-x processing is no longer Mule specific. (Though I'm not 182 Russian C-x processing is no longer Mule specific. (Though I'm not
177 certain why a Russian speaker would be using a non-Mule build.) 183 certain why a Russian speaker would be using a non-Mule build.)
181 * keymap.c (map_keymap_sort_predicate): 187 * keymap.c (map_keymap_sort_predicate):
182 * keymap.c (Ftext_char_description): 188 * keymap.c (Ftext_char_description):
183 * keymap.c (elide_next_two_p): 189 * keymap.c (elide_next_two_p):
184 * keymap.c (describe_map): 190 * keymap.c (describe_map):
185 Rename ascii-character to character-of-keysym, stop pretending the 191 Rename ascii-character to character-of-keysym, stop pretending the
186 internal encoding of XEmacs is purely ASCII, 192 internal encoding of XEmacs is purely ASCII,
187 193
188 * lisp.h: 194 * lisp.h:
189 * sysdep.c (tty_init_sys_modes_on_device): 195 * sysdep.c (tty_init_sys_modes_on_device):
190 One less argument to event-to-character. 196 One less argument to event-to-character.
191 197
192 2005-06-23 Marcus Crestani <crestani@xemacs.org> 198 2005-06-23 Marcus Crestani <crestani@xemacs.org>
193 199
194 * dumper.c (pdump_load_finish): Use EMACS_INT for elt_count. 200 * dumper.c (pdump_load_finish): Use EMACS_INT for elt_count.
195 201
197 203
198 * file-coding.c: 204 * file-coding.c:
199 * mule-coding.c: 205 * mule-coding.c:
200 The vernacular in Taiwan, and thus the language for which Big5 is 206 The vernacular in Taiwan, and thus the language for which Big5 is
201 most used, is Mandarin. Taiwanese does exist, but since the 207 most used, is Mandarin. Taiwanese does exist, but since the
202 Chinese civil war, it's used less and less in Taiwan. 208 Chinese civil war, it's used less and less in Taiwan.
203 209
204 2005-06-06 Marcus Crestani <crestani@xemacs.org> 210 2005-06-06 Marcus Crestani <crestani@xemacs.org>
205 211
206 * lisp.h (DEFUN): Define S##fname here. 212 * lisp.h (DEFUN): Define S##fname here.
207 * lisp.h (DEFUN_NORETURN): Define S##fname here. 213 * lisp.h (DEFUN_NORETURN): Define S##fname here.
208 * symeval.h (DEFSUBR_MC_ALLOC): Use already defined S##fname. 214 * symeval.h (DEFSUBR_MC_ALLOC): Use already defined S##fname.
245 * xemacs.def.in.in: Fix typo. 251 * xemacs.def.in.in: Fix typo.
246 252
247 2005-05-10 Aidan Kehoe <kehoea@parhasard.net> 253 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
248 254
249 * extents.c: Clarify that the atomic extent property is a kludge 255 * extents.c: Clarify that the atomic extent property is a kludge
250 and will go away if and when we implement something better. 256 and will go away if and when we implement something better.
251 257
252 2005-05-06 Dr. Volker Zell <Dr.Volker.Zell@oracle.com> 258 2005-05-06 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
253 259
254 * sysdep.c: Use autoconf 2.59's HAVE_DECL_SYS_SIGLIST instead of 260 * sysdep.c: Use autoconf 2.59's HAVE_DECL_SYS_SIGLIST instead of
255 SYS_SIGLIST_DECLARED. 261 SYS_SIGLIST_DECLARED.
256 262
257 2005-05-05 Aidan Kehoe <kehoea@parhasard.net> 263 2005-05-05 Aidan Kehoe <kehoea@parhasard.net>
258 264
259 * extents.c: Add some info on atomic-extents.el to the 265 * extents.c: Add some info on atomic-extents.el to the
260 set-extent-property docstring. 266 set-extent-property docstring.
261 267
262 2005-05-05 Aidan Kehoe <kehoea@parhasard.net> 268 2005-05-05 Aidan Kehoe <kehoea@parhasard.net>
263 269
264 * select.c: 270 * select.c:
265 * sound.c: 271 * sound.c:
266 Spelling fixes to docstrings. 272 Spelling fixes to docstrings.
267 273
268 2005-04-27 Stephen J. Turnbull <stephen@xemacs.org> 274 2005-04-27 Stephen J. Turnbull <stephen@xemacs.org>
269 275
270 Allow suppression of WM decorations. 276 Allow suppression of WM decorations.
271 277
326 syms_of_mc_alloc. 332 syms_of_mc_alloc.
327 * symsinit.h: Add syms_of_mc_alloc. 333 * symsinit.h: Add syms_of_mc_alloc.
328 334
329 New lrecord allocation and free functions: 335 New lrecord allocation and free functions:
330 336
331 * alloc.c (alloc_lrecord): New. Allocates an lrecord, includes 337 * alloc.c (alloc_lrecord): New. Allocates an lrecord, includes
332 type checking and initializing of the lrecord_header. 338 type checking and initializing of the lrecord_header.
333 * alloc.c (noseeum_alloc_lrecord): Same as above, but increments 339 * alloc.c (noseeum_alloc_lrecord): Same as above, but increments
334 the NOSEEUM cons counter. 340 the NOSEEUM cons counter.
335 * alloc.c (free_lrecord): New. Calls the finalizer and frees the 341 * alloc.c (free_lrecord): New. Calls the finalizer and frees the
336 lrecord. 342 lrecord.
337 * lrecord.h: Add lrecord allocation prototypes and comments. 343 * lrecord.h: Add lrecord allocation prototypes and comments.
338 344
339 Remove old lrecord FROB block allocation: 345 Remove old lrecord FROB block allocation:
340 346
341 * alloc.c (allocate_lisp_storage): Former function to expand 347 * alloc.c (allocate_lisp_storage): Former function to expand
342 heap. Not needed anymore, remove. 348 heap. Not needed anymore, remove.
343 * alloc.c: Completely remove `Fixed-size type macros' 349 * alloc.c: Completely remove `Fixed-size type macros'
344 * alloc.c (release_breathing_space): Remove. 350 * alloc.c (release_breathing_space): Remove.
345 * alloc.c (memory_full): Remove release_breathing_space. 351 * alloc.c (memory_full): Remove release_breathing_space.
357 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Remove. 363 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Remove.
358 * alloc.c (FREE_FIXED_TYPE): Remove. 364 * alloc.c (FREE_FIXED_TYPE): Remove.
359 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC): Remove. 365 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC): Remove.
360 366
361 Allocate old lrecords with new allocator: 367 Allocate old lrecords with new allocator:
362 368
363 * alloc.c: DECLARE_FIXED_TYPE_ALLOC removed for all lrecords 369 * alloc.c: DECLARE_FIXED_TYPE_ALLOC removed for all lrecords
364 defined in alloc.c. 370 defined in alloc.c.
365 * alloc.c (Fcons): Allocate with new allocator. 371 * alloc.c (Fcons): Allocate with new allocator.
366 * alloc.c (noseeum_cons): Allocate with new allocator. 372 * alloc.c (noseeum_cons): Allocate with new allocator.
367 * alloc.c (make_float): Allocate with new allocator. 373 * alloc.c (make_float): Allocate with new allocator.
428 * alloc.c (free_marker): Use new allocator to free. 434 * alloc.c (free_marker): Use new allocator to free.
429 * alloc.c (garbage_collect_1): Remove release_breathing_space. 435 * alloc.c (garbage_collect_1): Remove release_breathing_space.
430 * alloc.c (gc_sweep): Remove all the old lcrecord and lrecord 436 * alloc.c (gc_sweep): Remove all the old lcrecord and lrecord
431 related stuff. Sweeping now works like this: compact string 437 related stuff. Sweeping now works like this: compact string
432 chars, finalize, sweep. 438 chars, finalize, sweep.
433 * alloc.c (common_init_alloc_early): Remove old lrecord 439 * alloc.c (common_init_alloc_early): Remove old lrecord
434 initializations, remove breathing_space. 440 initializations, remove breathing_space.
435 * emacs.c (Fdump_emacs): Remove release_breathing_space. 441 * emacs.c (Fdump_emacs): Remove release_breathing_space.
436 * lisp.h: Remove prototype for release_breathing_space. 442 * lisp.h: Remove prototype for release_breathing_space.
437 * lisp.h: Adjust the special cons mark makros. 443 * lisp.h: Adjust the special cons mark makros.
438 444
453 * lrecord.h (MC_ALLOC_CALL_FINALIZER_FOR_DISKSAVE): Tell 459 * lrecord.h (MC_ALLOC_CALL_FINALIZER_FOR_DISKSAVE): Tell
454 mc-alloc how to finalize for disksave. 460 mc-alloc how to finalize for disksave.
455 461
456 Unify lrecords and lcrecords: 462 Unify lrecords and lcrecords:
457 463
458 * lisp.h (struct Lisp_String): Adjust string union hack to 464 * lisp.h (struct Lisp_String): Adjust string union hack to
459 new lrecord header. 465 new lrecord header.
460 * lrecord.h: Adjust comments. 466 * lrecord.h: Adjust comments.
461 * lrecord.h (struct lrecord_header): The new lrecord header 467 * lrecord.h (struct lrecord_header): The new lrecord header
462 includes type, lisp-readonly, free, and uid. 468 includes type, lisp-readonly, free, and uid.
463 * lrecord.h (set_lheader_implementation): Adjust to new 469 * lrecord.h (set_lheader_implementation): Adjust to new
464 lrecord_header. 470 lrecord_header.
465 * lrecord.h (struct lrecord_implementation): The field basic_p 471 * lrecord.h (struct lrecord_implementation): The field basic_p
466 for indication of an old lrecord is not needed anymore, remove. 472 for indication of an old lrecord is not needed anymore, remove.
467 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION): Remove basic_p. 473 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION): Remove basic_p.
468 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Remove 474 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Remove
469 basic_p. 475 basic_p.
470 * lrecord.h (copy_sized_lrecord): Remove distinction between 476 * lrecord.h (copy_sized_lrecord): Remove distinction between
471 old lrecords and lcrecords. 477 old lrecords and lcrecords.
472 * lrecord.h (copy_lrecord): Remove distinction between old 478 * lrecord.h (copy_lrecord): Remove distinction between old
473 lrecords and lcrecords. 479 lrecords and lcrecords.
474 * lrecord.h (zero_sized_lrecord): Remove distinction between 480 * lrecord.h (zero_sized_lrecord): Remove distinction between
475 old lrecords and lcrecords. 481 old lrecords and lcrecords.
476 * lrecord.h (zero_lrecord): Remove distinction between old 482 * lrecord.h (zero_lrecord): Remove distinction between old
477 lrecords and lcrecords. 483 lrecords and lcrecords.
478 484
479 Remove lcrecords and lcrecord lists: 485 Remove lcrecords and lcrecord lists:
480 486
481 * alloc.c (basic_alloc_lcrecord): Not needed anymore, remove. 487 * alloc.c (basic_alloc_lcrecord): Not needed anymore, remove.
482 * alloc.c (very_old_free_lcrecord): Not needed anymore, remove. 488 * alloc.c (very_old_free_lcrecord): Not needed anymore, remove.
483 * alloc.c (copy_lisp_object): No more distinction between 489 * alloc.c (copy_lisp_object): No more distinction between
484 lrecords and lcrecords. 490 lrecords and lcrecords.
485 * alloc.c (all_lcrecords): Not needed anymore, remove. 491 * alloc.c (all_lcrecords): Not needed anymore, remove.
486 * alloc.c (make_vector_internal): Allocate as lrecord. 492 * alloc.c (make_vector_internal): Allocate as lrecord.
487 * alloc.c (make_bit_vector_internal): Allocate as lrecord. 493 * alloc.c (make_bit_vector_internal): Allocate as lrecord.
488 * alloc.c: Completely remove `lcrecord lists'. 494 * alloc.c: Completely remove `lcrecord lists'.
494 * alloc.c (free_managed_lcrecord): Remove. 500 * alloc.c (free_managed_lcrecord): Remove.
495 * alloc.c (alloc_automanaged_lcrecord): Remove. 501 * alloc.c (alloc_automanaged_lcrecord): Remove.
496 * alloc.c (free_lcrecord): Remove. 502 * alloc.c (free_lcrecord): Remove.
497 * alloc.c (lcrecord_stats): Remove. 503 * alloc.c (lcrecord_stats): Remove.
498 * alloc.c (tick_lcrecord_stats): Remove. 504 * alloc.c (tick_lcrecord_stats): Remove.
499 * alloc.c (disksave_object_finalization_1): Add call to 505 * alloc.c (disksave_object_finalization_1): Add call to
500 mc_finalize_for_disksave. Remove the lcrecord way to visit all 506 mc_finalize_for_disksave. Remove the lcrecord way to visit all
501 objects. 507 objects.
502 * alloc.c (kkcc_marking): Remove XD_FLAG_FREE_LISP_OBJECT 508 * alloc.c (kkcc_marking): Remove XD_FLAG_FREE_LISP_OBJECT
503 * alloc.c (sweep_lcrecords_1): Remove. 509 * alloc.c (sweep_lcrecords_1): Remove.
504 * alloc.c (common_init_alloc_early): Remove everything related 510 * alloc.c (common_init_alloc_early): Remove everything related
505 to lcrecords, remove old lrecord initializations, 511 to lcrecords, remove old lrecord initializations,
506 * alloc.c (init_lcrecord_lists): Not needed anymore, remove. 512 * alloc.c (init_lcrecord_lists): Not needed anymore, remove.
507 * alloc.c (reinit_alloc_early): Remove everything related to 513 * alloc.c (reinit_alloc_early): Remove everything related to
508 lcrecords. 514 lcrecords.
509 * alloc.c (init_alloc_once_early): Remove everything related to 515 * alloc.c (init_alloc_once_early): Remove everything related to
510 lcrecords. 516 lcrecords.
511 * buffer.c (allocate_buffer): Allocate as lrecord. 517 * buffer.c (allocate_buffer): Allocate as lrecord.
512 * buffer.c (nuke_all_buffer_slots): Use lrecord functions. 518 * buffer.c (nuke_all_buffer_slots): Use lrecord functions.
513 * buffer.c (common_init_complex_vars_of_buffer): Allocate as 519 * buffer.c (common_init_complex_vars_of_buffer): Allocate as
514 lrecord. 520 lrecord.
515 * buffer.h (struct buffer): Add lrecord_header. 521 * buffer.h (struct buffer): Add lrecord_header.
516 * casetab.c (allocate_case_table): Allocate as lrecord. 522 * casetab.c (allocate_case_table): Allocate as lrecord.
517 * casetab.h (struct Lisp_Case_Table): Add lrecord_header. 523 * casetab.h (struct Lisp_Case_Table): Add lrecord_header.
518 * charset.h (struct Lisp_Charset): Add lrecord_header. 524 * charset.h (struct Lisp_Charset): Add lrecord_header.
524 * chartab.c (put_char_table): Use lrecord functions. 530 * chartab.c (put_char_table): Use lrecord functions.
525 * chartab.h (struct Lisp_Char_Table_Entry): Add lrecord_header. 531 * chartab.h (struct Lisp_Char_Table_Entry): Add lrecord_header.
526 * chartab.h (struct Lisp_Char_Table): Add lrecord_header. 532 * chartab.h (struct Lisp_Char_Table): Add lrecord_header.
527 * console-impl.h (struct console): Add lrecord_header. 533 * console-impl.h (struct console): Add lrecord_header.
528 * console-msw-impl.h (struct Lisp_Devmode): Add lrecord_header. 534 * console-msw-impl.h (struct Lisp_Devmode): Add lrecord_header.
529 * console-msw-impl.h (struct mswindows_dialog_id): Add 535 * console-msw-impl.h (struct mswindows_dialog_id): Add
530 lrecord_header. 536 lrecord_header.
531 * console.c (allocate_console): Allocate as lrecord. 537 * console.c (allocate_console): Allocate as lrecord.
532 * console.c (nuke_all_console_slots): Use lrecord functions. 538 * console.c (nuke_all_console_slots): Use lrecord functions.
533 * console.c (common_init_complex_vars_of_console): Allocate as 539 * console.c (common_init_complex_vars_of_console): Allocate as
534 lrecord. 540 lrecord.
535 * data.c (make_weak_list): Allocate as lrecord. 541 * data.c (make_weak_list): Allocate as lrecord.
536 * data.c (make_weak_box): Allocate as lrecord. 542 * data.c (make_weak_box): Allocate as lrecord.
537 * data.c (make_ephemeron): Allocate as lrecord. 543 * data.c (make_ephemeron): Allocate as lrecord.
538 * database.c (struct Lisp_Database): Add lrecord_header. 544 * database.c (struct Lisp_Database): Add lrecord_header.
549 Vtimeout_free_list are no longer needed. Remove. 555 Vtimeout_free_list are no longer needed. Remove.
550 * event-stream.c (allocate_command_builder): Allocate as lrecord. 556 * event-stream.c (allocate_command_builder): Allocate as lrecord.
551 * event-stream.c (free_command_builder): Use lrecord functions. 557 * event-stream.c (free_command_builder): Use lrecord functions.
552 * event-stream.c (event_stream_generate_wakeup): Allocate as 558 * event-stream.c (event_stream_generate_wakeup): Allocate as
553 lrecord. 559 lrecord.
554 * event-stream.c (event_stream_resignal_wakeup): Use lrecord 560 * event-stream.c (event_stream_resignal_wakeup): Use lrecord
555 functions. 561 functions.
556 * event-stream.c (event_stream_disable_wakeup): Use lrecord 562 * event-stream.c (event_stream_disable_wakeup): Use lrecord
557 functions. 563 functions.
558 * event-stream.c (reinit_vars_of_event_stream): Lcrecord lists 564 * event-stream.c (reinit_vars_of_event_stream): Lcrecord lists
559 remove. 565 remove.
595 XD_FLAG_FREE_LISP_OBJECT. 601 XD_FLAG_FREE_LISP_OBJECT.
596 * lstream.c: Lrecord list Vlstream_free_list remove. 602 * lstream.c: Lrecord list Vlstream_free_list remove.
597 * lstream.c (Lstream_new): Allocate as lrecord. 603 * lstream.c (Lstream_new): Allocate as lrecord.
598 * lstream.c (Lstream_delete): Use lrecod functions. 604 * lstream.c (Lstream_delete): Use lrecod functions.
599 * lstream.c (reinit_vars_of_lstream): Vlstream_free_list 605 * lstream.c (reinit_vars_of_lstream): Vlstream_free_list
600 initialization remove. 606 initialization remove.
601 * lstream.h (struct lstream): Add lrecord_header. 607 * lstream.h (struct lstream): Add lrecord_header.
602 * emacs.c (main_1): Remove lstream initialization. 608 * emacs.c (main_1): Remove lstream initialization.
603 * mule-charset.c (make_charset): Allocate as lrecord. 609 * mule-charset.c (make_charset): Allocate as lrecord.
604 * objects-impl.h (struct Lisp_Color_Instance): Add 610 * objects-impl.h (struct Lisp_Color_Instance): Add
605 lrecord_header. 611 lrecord_header.
606 * objects-impl.h (struct Lisp_Font_Instance): Add lrecord_header. 612 * objects-impl.h (struct Lisp_Font_Instance): Add lrecord_header.
607 * objects.c (Fmake_color_instance): Allocate as lrecord. 613 * objects.c (Fmake_color_instance): Allocate as lrecord.
608 * objects.c (Fmake_font_instance): Allocate as lrecord. 614 * objects.c (Fmake_font_instance): Allocate as lrecord.
609 * objects.c (reinit_vars_of_objects): Allocate as lrecord. 615 * objects.c (reinit_vars_of_objects): Allocate as lrecord.
610 * opaque.c: Lcreord list Vopaque_ptr_list remove. 616 * opaque.c: Lcreord list Vopaque_ptr_list remove.
611 * opaque.c (make_opaque): Allocate as lrecord. 617 * opaque.c (make_opaque): Allocate as lrecord.
612 * opaque.c (make_opaque_ptr): Allocate as lrecord. 618 * opaque.c (make_opaque_ptr): Allocate as lrecord.
613 * opaque.c (free_opaque_ptr): Use lrecord functions. 619 * opaque.c (free_opaque_ptr): Use lrecord functions.
614 * opaque.c (reinit_opaque_early): 620 * opaque.c (reinit_opaque_early):
615 * opaque.c (init_opaque_once_early): Vopaque_ptr_list 621 * opaque.c (init_opaque_once_early): Vopaque_ptr_list
616 initialization remove. 622 initialization remove.
617 * opaque.h (Lisp_Opaque): Add lrecord_header. 623 * opaque.h (Lisp_Opaque): Add lrecord_header.
618 * opaque.h (Lisp_Opaque_Ptr): Add lrecord_header. 624 * opaque.h (Lisp_Opaque_Ptr): Add lrecord_header.
619 * emacs.c (main_1): Remove opaque variable initialization. 625 * emacs.c (main_1): Remove opaque variable initialization.
629 * scrollbar.h (struct scrollbar_instance): Add lrecord_header. 635 * scrollbar.h (struct scrollbar_instance): Add lrecord_header.
630 * specifier.c (make_specifier_internal): Allocate as lrecord. 636 * specifier.c (make_specifier_internal): Allocate as lrecord.
631 * specifier.h (struct Lisp_Specifier): Add lrecord_header. 637 * specifier.h (struct Lisp_Specifier): Add lrecord_header.
632 * symbols.c: 638 * symbols.c:
633 * symbols.c (Fmake_variable_buffer_local): Allocate as lrecord. 639 * symbols.c (Fmake_variable_buffer_local): Allocate as lrecord.
634 * symbols.c (Fdontusethis_set_symbol_value_handler): Allocate 640 * symbols.c (Fdontusethis_set_symbol_value_handler): Allocate
635 as lrecord. 641 as lrecord.
636 * symbols.c (Fdefvaralias): Allocate as lrecord. 642 * symbols.c (Fdefvaralias): Allocate as lrecord.
637 * symeval.h (struct symbol_value_magic): Add lrecord_header. 643 * symeval.h (struct symbol_value_magic): Add lrecord_header.
638 * toolbar.c (update_toolbar_button): Allocate as lrecord. 644 * toolbar.c (update_toolbar_button): Allocate as lrecord.
639 * toolbar.h (struct toolbar_button): Add lrecord_header. 645 * toolbar.h (struct toolbar_button): Add lrecord_header.
654 MEMORY_USAGE_STATS 660 MEMORY_USAGE_STATS
655 661
656 * alloc.c (fixed_type_block_overhead): Not used anymore, remove. 662 * alloc.c (fixed_type_block_overhead): Not used anymore, remove.
657 * buffer.c (compute_buffer_usage): Get storage size from new 663 * buffer.c (compute_buffer_usage): Get storage size from new
658 allocator. 664 allocator.
659 * marker.c (compute_buffer_marker_usage): Get storage size from 665 * marker.c (compute_buffer_marker_usage): Get storage size from
660 new allocator. 666 new allocator.
661 * mule-charset.c (compute_charset_usage): Get storage size from 667 * mule-charset.c (compute_charset_usage): Get storage size from
662 new allocator. 668 new allocator.
663 * scrollbar-gtk.c (gtk_compute_scrollbar_instance_usage): Get 669 * scrollbar-gtk.c (gtk_compute_scrollbar_instance_usage): Get
664 storage size from new allocator. 670 storage size from new allocator.
665 * scrollbar-msw.c (mswindows_compute_scrollbar_instance_usage): 671 * scrollbar-msw.c (mswindows_compute_scrollbar_instance_usage):
666 Get storage size from new allocator. 672 Get storage size from new allocator.
667 * scrollbar-x.c (x_compute_scrollbar_instance_usage): Get 673 * scrollbar-x.c (x_compute_scrollbar_instance_usage): Get
668 storage size from new allocator. 674 storage size from new allocator.
669 * scrollbar.c (compute_scrollbar_instance_usage): Get storage 675 * scrollbar.c (compute_scrollbar_instance_usage): Get storage
670 size from new allocator. 676 size from new allocator.
672 size from new allocator. 678 size from new allocator.
673 * unicode.c (compute_to_unicode_table_size_1): Get storage size 679 * unicode.c (compute_to_unicode_table_size_1): Get storage size
674 from new allocator. 680 from new allocator.
675 * window.c (compute_window_mirror_usage): Get storage size from 681 * window.c (compute_window_mirror_usage): Get storage size from
676 new allocator. 682 new allocator.
677 * window.c (compute_window_usage): Get storage size from new 683 * window.c (compute_window_usage): Get storage size from new
678 allocator. 684 allocator.
679 685
680 MC_ALLOC_TYPE_STATS: 686 MC_ALLOC_TYPE_STATS:
681 687
682 * alloc.c (alloc_lrecord): Bump lrecord count. 688 * alloc.c (alloc_lrecord): Bump lrecord count.
699 * alloc.c (gc_count_string_total_size): Remove. 705 * alloc.c (gc_count_string_total_size): Remove.
700 * alloc.c (gc_count_short_string_total_size): Remove. 706 * alloc.c (gc_count_short_string_total_size): Remove.
701 * alloc.c (debug_string_purity): Remove. 707 * alloc.c (debug_string_purity): Remove.
702 * alloc.c (debug_string_purity_print): Remove. 708 * alloc.c (debug_string_purity_print): Remove.
703 * alloc.c (sweep_strings): Remove. 709 * alloc.c (sweep_strings): Remove.
704 710
705 Remove static C-readonly Lisp objects: 711 Remove static C-readonly Lisp objects:
706 712
707 * alloc.c (c_readonly): Not needed anymore, remove. 713 * alloc.c (c_readonly): Not needed anymore, remove.
708 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): Remove some obsolete 714 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): Remove some obsolete
709 lheader invariants assertions. 715 lheader invariants assertions.
747 753
748 * alloc.c (make_string_nocopy): Add string to root set. 754 * alloc.c (make_string_nocopy): Add string to root set.
749 * symbols.c (init_symbols_once_early): Add Qunbound to root set. 755 * symbols.c (init_symbols_once_early): Add Qunbound to root set.
750 756
751 Changes to the Portable Dumper: 757 Changes to the Portable Dumper:
752 758
753 * alloc.c (FREE_OR_REALLOC_BEGIN): Since dumped objects can be 759 * alloc.c (FREE_OR_REALLOC_BEGIN): Since dumped objects can be
754 freed with the new allocator, remove assertion for !DUMPEDP. 760 freed with the new allocator, remove assertion for !DUMPEDP.
755 * dumper.c: Adjust comments, increase PDUMP_HASHSIZE. 761 * dumper.c: Adjust comments, increase PDUMP_HASHSIZE.
756 * dumper.c (pdump_make_hash): Shift address only 2 bytes, to 762 * dumper.c (pdump_make_hash): Shift address only 2 bytes, to
757 avoid collisions. 763 avoid collisions.
758 * dumper.c (pdump_objects_unmark): No more mark bits within 764 * dumper.c (pdump_objects_unmark): No more mark bits within
759 the object, remove. 765 the object, remove.
760 * dumper.c (mc_addr_elt): New. Element data structure for mc 766 * dumper.c (mc_addr_elt): New. Element data structure for mc
761 hash table. 767 hash table.
762 * dumper.c (pdump_mc_hash): New hash table: `lookup table'. 768 * dumper.c (pdump_mc_hash): New hash table: `lookup table'.
763 * dumper.c (pdump_get_mc_addr): New. Lookup for hash table. 769 * dumper.c (pdump_get_mc_addr): New. Lookup for hash table.
764 * dumper.c (pdump_get_indirect_mc_addr): New. Lookup for 770 * dumper.c (pdump_get_indirect_mc_addr): New. Lookup for
765 convertibles. 771 convertibles.
766 * dumper.c (pdump_put_mc_addr): New. Putter for hash table. 772 * dumper.c (pdump_put_mc_addr): New. Putter for hash table.
767 * dumper.c (pdump_dump_mc_data): New. Writes the table for 773 * dumper.c (pdump_dump_mc_data): New. Writes the table for
768 relocation at load time to the dump file. 774 relocation at load time to the dump file.
769 * dumper.c (pdump_scan_lisp_objects_by_alignment): New. 775 * dumper.c (pdump_scan_lisp_objects_by_alignment): New.
770 Visits all dumped Lisp objects. 776 Visits all dumped Lisp objects.
771 * dumper.c (pdump_scan_non_lisp_objects_by_alignment): New. 777 * dumper.c (pdump_scan_non_lisp_objects_by_alignment): New.
772 Visits all other dumped objects. 778 Visits all other dumped objects.
773 * dumper.c (pdump_reloc_one_mc): New. Updates all pointers 779 * dumper.c (pdump_reloc_one_mc): New. Updates all pointers
774 of an object by using the hash table pdump_mc_hash. 780 of an object by using the hash table pdump_mc_hash.
775 * dumper.c (pdump_reloc_one): Replaced by pdump_reloc_one_mc. 781 * dumper.c (pdump_reloc_one): Replaced by pdump_reloc_one_mc.
776 * dumper.c (pdump): Change the structure of the dump file, add 782 * dumper.c (pdump): Change the structure of the dump file, add
777 the mc post dump relocation table to dump file. 783 the mc post dump relocation table to dump file.
778 * dumper.c (pdump_load_finish): Hand all dumped objects to the 784 * dumper.c (pdump_load_finish): Hand all dumped objects to the
779 new allocator and use the mc post dump relocation table for 785 new allocator and use the mc post dump relocation table for
780 relocating the dumped objects at dump file load time, free not 786 relocating the dumped objects at dump file load time, free not
781 longer used data structures. 787 longer used data structures.
782 * dumper.c (pdump_load): Free the dump file. 788 * dumper.c (pdump_load): Free the dump file.
783 * dumper.h: Remove pdump_objects_unmark. 789 * dumper.h: Remove pdump_objects_unmark.
784 * lrecord.h (DUMPEDP): Dumped objects can be freed, remove. 790 * lrecord.h (DUMPEDP): Dumped objects can be freed, remove.
785 791
786 DUMP_IN_EXEC: 792 DUMP_IN_EXEC:
787 793
788 * Makefile.in.in: Linking for and with dump in executable only if 794 * Makefile.in.in: Linking for and with dump in executable only if
789 DUMP_IN_EXEC is defined. 795 DUMP_IN_EXEC is defined.
809 815
810 2005-04-05 Aidan Kehoe <kehoea@parhasard.net> 816 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
811 817
812 * mule-ccl.c (ccl_driver): Calculate the charset and position code 818 * mule-ccl.c (ccl_driver): Calculate the charset and position code
813 for control-1 characters properly, both when reading multibyte 819 for control-1 characters properly, both when reading multibyte
814 characters and writing them. 820 characters and writing them.
815 821
816 2005-03-31 Aidan Kehoe <kehoea@parhasard.net> 822 2005-03-31 Aidan Kehoe <kehoea@parhasard.net>
817 823
818 * unicode.c (set_unicode_conversion): Don't try to write to the 824 * unicode.c (set_unicode_conversion): Don't try to write to the
819 non-existent conversion tables for ASCII and control-1, in the 825 non-existent conversion tables for ASCII and control-1, in the
820 interest of not segfaulting. 826 interest of not segfaulting.
821 * unicode.c (unicode_convert): The "position code" for a control-1 827 * unicode.c (unicode_convert): The "position code" for a control-1
822 character has #xA0 added to it when encoded in Mule, unlike #x80 828 character has #xA0 added to it when encoded in Mule, unlike #x80
823 for all the other non-ASCII character sets ; take this into 829 for all the other non-ASCII character sets ; take this into
824 account. 830 account.
825 831
826 2005-03-29 Aidan Kehoe <kehoea@parhasard.net> 832 2005-03-29 Aidan Kehoe <kehoea@parhasard.net>
827 833
828 * event-Xt.c: Declare Funicode_to_char. 834 * event-Xt.c: Declare Funicode_to_char.
829 * event-Xt.c (x_keysym_to_character): Use it, if we're handed a 835 * event-Xt.c (x_keysym_to_character): Use it, if we're handed a
830 keysym for which it's appropriate. 836 keysym for which it's appropriate.
831 837
832 2005-03-26 Jerry James <james@xemacs.org> 838 2005-03-26 Jerry James <james@xemacs.org>
833 839
834 * dumper.c (BACKTRACE_MAX): New constant defining length of static 840 * dumper.c (BACKTRACE_MAX): New constant defining length of static
835 backtrace array. 841 backtrace array.
836 * dumper.c (pdump_bump_depth): Use it, and avoid buffer overflow 842 * dumper.c (pdump_bump_depth): Use it, and avoid buffer overflow
837 by fixing comparison. 843 by fixing comparison.
838 844
839 2005-02-24 Andrey Slusar <anrays@gmail.com> 845 2005-02-24 Andrey Slusar <anrays@gmail.com>
840 846
841 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64. 847 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
842 848
843 2005-03-25 Marcus Crestani <crestani@xemacs.org> 849 2005-03-25 Marcus Crestani <crestani@xemacs.org>
844 850
845 * device-x.c: Include process.h for egetenv. 851 * device-x.c: Include process.h for egetenv.
846 852
847 2005-03-24 Aidan Kehoe <kehoea@parhasard.net> 853 2005-03-24 Aidan Kehoe <kehoea@parhasard.net>
848 854
849 * device-x.c (x_init_device): Only do the old application class 855 * device-x.c (x_init_device): Only do the old application class
850 determination behaviour if the 856 determination behaviour if the
851 USE_EMACS_AS_DEFAULT_APPLICATION_CLASS environment variable is 857 USE_EMACS_AS_DEFAULT_APPLICATION_CLASS environment variable is
852 set; otherwise, we use XEmacs. 858 set; otherwise, we use XEmacs.
853 * device-x.c (vars_of_device_x): Update the docstring for 859 * device-x.c (vars_of_device_x): Update the docstring for
854 x-emacs-application-class. 860 x-emacs-application-class.
855 * frame.c: default-frame-name is now "XEmacs", unless the old X11 861 * frame.c: default-frame-name is now "XEmacs", unless the old X11
856 resources behaviour has been requested. 862 resources behaviour has been requested.
857 863
858 2005-03-15 Marcus Crestani <crestani@informatik.uni-tuebingen.de> 864 2005-03-15 Marcus Crestani <crestani@informatik.uni-tuebingen.de>
859 865
860 * alloc.c: Dynamically allocate KKCC backtrace stack and some 866 * alloc.c: Dynamically allocate KKCC backtrace stack and some
861 minor typo-fixes for KKCC functions. 867 minor typo-fixes for KKCC functions.
935 * redisplay.h (struct rune): make type field an int, to fix 941 * redisplay.h (struct rune): make type field an int, to fix
936 KKCC marking of unions. 942 KKCC marking of unions.
937 943
938 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org> 944 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
939 945
940 * regex.c (re_match_2_internal): 946 * regex.c (re_match_2_internal):
941 * regex.h (struct re_pattern_buffer): 947 * regex.h (struct re_pattern_buffer):
942 Improve comments. Add a DEBUG_PRINT2 for null matches. 948 Improve comments. Add a DEBUG_PRINT2 for null matches.
943 949
944 2005-03-02 Aidan Kehoe <kehoea@parhasard.net> 950 2005-03-02 Aidan Kehoe <kehoea@parhasard.net>
945 951
946 * select-x.c (x_reply_selection_request): Check that 952 * select-x.c (x_reply_selection_request): Check that
947 XtWindowToWidget returns NULL before calling XtRegisterDrawable, 953 XtWindowToWidget returns NULL before calling XtRegisterDrawable,
948 document why. 954 document why.
949 955
950 2005-03-02 Aidan Kehoe <kehoea@parhasard.net> 956 2005-03-02 Aidan Kehoe <kehoea@parhasard.net>
951 957
952 * select-x.c (x_reply_selection_request): Make the error message 958 * select-x.c (x_reply_selection_request): Make the error message
953 in the absence of HAVE_XTREGISTERDRAWABLE more polite, pass a 959 in the absence of HAVE_XTREGISTERDRAWABLE more polite, pass a
954 second argument to invalid_operation to have it actually compile 960 second argument to invalid_operation to have it actually compile
955 in that case. 961 in that case.
956 962
957 2005-03-01 Aidan Kehoe <kehoea@parhasard.net> 963 2005-03-01 Aidan Kehoe <kehoea@parhasard.net>
958 964
959 * config.h.in: New macro, HAVE_XTREGISTERDRAWABLE. 965 * config.h.in: New macro, HAVE_XTREGISTERDRAWABLE.
960 * select-x.c (x_reply_selection_request): Use it. 966 * select-x.c (x_reply_selection_request): Use it.
961 967
962 2005-03-01 Aidan Kehoe <kehoea@parhasard.net> 968 2005-03-01 Aidan Kehoe <kehoea@parhasard.net>
963 969
964 * select-x.c (x_reply_selection_request): Wrap 970 * select-x.c (x_reply_selection_request): Wrap
965 DEVICE_SELECTED_FRAME in XFRAME --> fixes a build failure. 971 DEVICE_SELECTED_FRAME in XFRAME --> fixes a build failure.
966 972
967 2005-03-01 Aidan Kehoe <kehoea@parhasard.net> 973 2005-03-01 Aidan Kehoe <kehoea@parhasard.net>
968 974
969 * unicode.c: The Mule character encoding model means that extant 975 * unicode.c: The Mule character encoding model means that extant
970 Unicode coding systems will lose data. Make this clear in the 976 Unicode coding systems will lose data. Make this clear in the
971 docstring of unicode-to-char, give sample code to implement 977 docstring of unicode-to-char, give sample code to implement
972 support for some desired code points should our distributors want 978 support for some desired code points should our distributors want
973 to do that. 979 to do that.
974 980
975 2005-02-28 Aidan Kehoe <kehoea@parhasard.net> 981 2005-02-28 Aidan Kehoe <kehoea@parhasard.net>
976 982
977 * select-gtk.c (emacs_gtk_selection_handle): 983 * select-gtk.c (emacs_gtk_selection_handle):
978 * select-gtk.c (emacs_gtk_selection_clear_event_handle): 984 * select-gtk.c (emacs_gtk_selection_clear_event_handle):
979 Use get_selection_raw_timestamp instead of Fget_selection_timestamp. 985 Use get_selection_raw_timestamp instead of Fget_selection_timestamp.
980 * select-gtk.c (gtk_own_selection): 986 * select-gtk.c (gtk_own_selection):
981 Cross reference to some debate in select-x.c 987 Cross reference to some debate in select-x.c
982 * select-x.c: 988 * select-x.c:
983 * select-x.c (x_handle_selection_request): 989 * select-x.c (x_handle_selection_request):
984 Discuss Time vs. time_t--I think Time is _always_ thirty-two-bit 990 Discuss Time vs. time_t--I think Time is _always_ thirty-two-bit
985 and time_t is variable in size. 991 and time_t is variable in size.
986 * select-x.c (x_handle_selection_clear): 992 * select-x.c (x_handle_selection_clear):
987 Replace call to Fget_selection_timestamp with call to 993 Replace call to Fget_selection_timestamp with call to
988 get_selection_raw_time, check that pasted data pointer is non-zero 994 get_selection_raw_time, check that pasted data pointer is non-zero
989 before trying to free it. 995 before trying to free it.
990 * select.c: 996 * select.c:
991 * select.c (Fown_selection_internal): 997 * select.c (Fown_selection_internal):
992 Informative comment! Shouldn't actually be needed outside of the X 998 Informative comment! Shouldn't actually be needed outside of the X
993 world. 999 world.
994 * select.c (get_selection_raw_time): New function. 1000 * select.c (get_selection_raw_time): New function.
995 * select.c (Fget_selection_timestamp): Rework to use 1001 * select.c (Fget_selection_timestamp): Rework to use
996 get_selection_raw_time. 1002 get_selection_raw_time.
997 * select.h: 1003 * select.h:
998 Make get_selection_raw_time available. 1004 Make get_selection_raw_time available.
999 1005
1000 2005-02-26 Aidan Kehoe <kehoea@parhasard.net> 1006 2005-02-26 Aidan Kehoe <kehoea@parhasard.net>
1001 1007
1002 * select-x.c (x_reply_selection_request): Use XtRegisterDrawable 1008 * select-x.c (x_reply_selection_request): Use XtRegisterDrawable
1003 to tell Xt not to drop PropertyChange events destined for the 1009 to tell Xt not to drop PropertyChange events destined for the
1004 selection request target window. This makes incremental selection 1010 selection request target window. This makes incremental selection
1005 transfer work, instead of looping until interrupted. 1011 transfer work, instead of looping until interrupted.
1006 1012
1007 2005-01-06 Andrey Slusar <anrays@gmail.com> 1013 2005-01-06 Andrey Slusar <anrays@gmail.com>
1008 1014
1009 * s/freebsd.h: fix build on the FreeBSD 6 1015 * s/freebsd.h: fix build on the FreeBSD 6
1010 1016
1042 * dumper.c: 1048 * dumper.c:
1043 * dumper.c (pdump_file_try): 1049 * dumper.c (pdump_file_try):
1044 * dumper.c (DUMP_SLACK): 1050 * dumper.c (DUMP_SLACK):
1045 * dumper.c (pdump_load): 1051 * dumper.c (pdump_load):
1046 Include extra DUMP_SLACK when allocating space for exe path. 1052 Include extra DUMP_SLACK when allocating space for exe path.
1047 1053
1048 * glyphs-eimage.c: 1054 * glyphs-eimage.c:
1049 Reformat comment. 1055 Reformat comment.
1050 1056
1051 * sysproc.h: 1057 * sysproc.h:
1052 Delete out-of-date comment about abort. 1058 Delete out-of-date comment about abort.
1126 2005-02-02 Ben Wing <ben@xemacs.org> 1132 2005-02-02 Ben Wing <ben@xemacs.org>
1127 1133
1128 * menubar.c: 1134 * menubar.c:
1129 * menubar.c (Fcompare_menu_text): 1135 * menubar.c (Fcompare_menu_text):
1130 New fun to compare menu itext as if the two were normalized. 1136 New fun to compare menu itext as if the two were normalized.
1131 1137
1132 * menubar.c (Fnormalize_menu_text): 1138 * menubar.c (Fnormalize_menu_text):
1133 * menubar.c (syms_of_menubar): 1139 * menubar.c (syms_of_menubar):
1134 Rename; there are no external callers of this function. 1140 Rename; there are no external callers of this function.
1135 Remove unneeded BUFFER argument. Don't downcase. 1141 Remove unneeded BUFFER argument. Don't downcase.
1136 (This will be done in compare-menu-text.) 1142 (This will be done in compare-menu-text.)
1137 Document that return value may be same string. 1143 Document that return value may be same string.
1138 1144
1139 2003-02-15 Ben Wing <ben@xemacs.org> 1145 2003-02-15 Ben Wing <ben@xemacs.org>
1140 1146
1141 * syswindows.h: Define W32API_2_2 for w32api.h v2.2 or higher. 1147 * syswindows.h: Define W32API_2_2 for w32api.h v2.2 or higher.
1142 Use it when defining a missing structure that is present in this 1148 Use it when defining a missing structure that is present in this
1143 version of w32api.h. 1149 version of w32api.h.
1215 2005-01-27 Ben Wing <ben@xemacs.org> 1221 2005-01-27 Ben Wing <ben@xemacs.org>
1216 1222
1217 * nt.c: 1223 * nt.c:
1218 * fileio.c: 1224 * fileio.c:
1219 Fix sync comments. 1225 Fix sync comments.
1220 1226
1221 * config.h.in: 1227 * config.h.in:
1222 * dired-msw.c (mswindows_get_files): 1228 * dired-msw.c (mswindows_get_files):
1223 * emacs.c (main_1): 1229 * emacs.c (main_1):
1224 * event-msw.c (mswindows_wnd_proc): 1230 * event-msw.c (mswindows_wnd_proc):
1225 * fileio.c: 1231 * fileio.c:
1280 1286
1281 * nt.c (mswindows_rename): 1287 * nt.c (mswindows_rename):
1282 * nt.c (mswindows_unlink): 1288 * nt.c (mswindows_unlink):
1283 * sysdep.c (sys_subshell): 1289 * sysdep.c (sys_subshell):
1284 Unicode-ize. 1290 Unicode-ize.
1285 1291
1286 * realpath.c (readlink_or_correct_case): 1292 * realpath.c (readlink_or_correct_case):
1287 Renamed from readlink_and_correct_case. Fix some problems with 1293 Renamed from readlink_and_correct_case. Fix some problems with
1288 Windows implementation due to incorrect understanding of workings 1294 Windows implementation due to incorrect understanding of workings
1289 of the function. 1295 of the function.
1290 1296
1291 * sound.c (Fplay_sound_file): 1297 * sound.c (Fplay_sound_file):
1292 * ntplay.c (nt_play_sound_file): 1298 * ntplay.c (nt_play_sound_file):
1293 * sound.c: 1299 * sound.c:
1294 * sound.h: 1300 * sound.h:
1295 Rename play_sound_file to nt_play_sound_file and pass 1301 Rename play_sound_file to nt_play_sound_file and pass
1301 1307
1302 2005-01-26 Ben Wing <ben@xemacs.org> 1308 2005-01-26 Ben Wing <ben@xemacs.org>
1303 1309
1304 * free-hook.c (check_free): 1310 * free-hook.c (check_free):
1305 Fix aliasing warning. 1311 Fix aliasing warning.
1306 1312
1307 2005-01-26 Ben Wing <ben@xemacs.org> 1313 2005-01-26 Ben Wing <ben@xemacs.org>
1308 1314
1309 * redisplay.c: 1315 * redisplay.c:
1310 * redisplay.c (generate_displayable_area): 1316 * redisplay.c (generate_displayable_area):
1311 * redisplay.c (regenerate_window): 1317 * redisplay.c (regenerate_window):
1399 2005-01-24 Ben Wing <ben@xemacs.org> 1405 2005-01-24 Ben Wing <ben@xemacs.org>
1400 1406
1401 * bytecode.c (optimize_compiled_function): 1407 * bytecode.c (optimize_compiled_function):
1402 * print.c (ONE_DIGIT): 1408 * print.c (ONE_DIGIT):
1403 Add casts to avoid warning. 1409 Add casts to avoid warning.
1404 1410
1405 * compiler.h: 1411 * compiler.h:
1406 Add MSC_VERSION and include definitions of DOESNT_RETURN and 1412 Add MSC_VERSION and include definitions of DOESNT_RETURN and
1407 friends here, like for GCC. Need different definitions for VC7 1413 friends here, like for GCC. Need different definitions for VC7
1408 and VC6. 1414 and VC6.
1409 1415
1415 1421
1416 * glyphs-eimage.c: 1422 * glyphs-eimage.c:
1417 Some really nasty hacks to allow TIFF and JPEG to both be compiled. 1423 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
1418 #### The better solution is to move the TIFF and JPEG code to 1424 #### The better solution is to move the TIFF and JPEG code to
1419 different files. 1425 different files.
1420 1426
1421 * glyphs-msw.c (mswindows_xbm_instantiate): 1427 * glyphs-msw.c (mswindows_xbm_instantiate):
1422 Define __STDC__ to avoid problems with compface.h. 1428 Define __STDC__ to avoid problems with compface.h.
1423 1429
1424 * intl-auto-encap-win32.c (qxeImmGetCandidateListCount): 1430 * intl-auto-encap-win32.c (qxeImmGetCandidateListCount):
1425 * intl-auto-encap-win32.c (qxeFindResourceEx): 1431 * intl-auto-encap-win32.c (qxeFindResourceEx):
1426 * intl-auto-encap-win32.h: 1432 * intl-auto-encap-win32.h:
1427 * intl-encap-win32.c: 1433 * intl-encap-win32.c:
1428 * intl-encap-win32.c (qxeImmGetCompositionFont): 1434 * intl-encap-win32.c (qxeImmGetCompositionFont):
1429 * syswindows.h: 1435 * syswindows.h:
1430 Those wankers at Microsoft cannot leave well enough alone. 1436 Those wankers at Microsoft cannot leave well enough alone.
1431 Various functions change parameter types semi-randomly between 1437 Various functions change parameter types semi-randomly between
1432 VC6 and VC7, so we need to include our own versions that 1438 VC6 and VC7, so we need to include our own versions that
1433 can handle both kinds with appropriate casting. 1439 can handle both kinds with appropriate casting.
1434 1440
1435 * EmacsFrame.c (EmacsFrameRecomputeCellSize): 1441 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
1436 * EmacsShell-sub.c: 1442 * EmacsShell-sub.c:
1437 * EmacsShell-sub.c (ABORT): 1443 * EmacsShell-sub.c (ABORT):
1438 * EmacsShell-sub.c (SuperClassRootGeometryManager): 1444 * EmacsShell-sub.c (SuperClassRootGeometryManager):
1439 * EmacsShell-sub.c (RootGeometryManager): 1445 * EmacsShell-sub.c (RootGeometryManager):
1723 since it creates huge problems in VC7, solvable only by including 1729 since it creates huge problems in VC7, solvable only by including
1724 massive amounts of files in every compile (and not worth it). 1730 massive amounts of files in every compile (and not worth it).
1725 1731
1726 2005-01-21 Robert Royar <xemacs@frinabulax.org> 1732 2005-01-21 Robert Royar <xemacs@frinabulax.org>
1727 1733
1728 * database.c: Repair typo in NetBSD fix. 1734 * database.c: Repair typo in NetBSD fix.
1729 1735
1730 2005-01-21 Malcolm Purvis <malcolmp@xemacs.org> 1736 2005-01-21 Malcolm Purvis <malcolmp@xemacs.org>
1731 1737
1732 * database.c (dbm_type): 1738 * database.c (dbm_type):
1733 * database.c (dbm_subtype): Mark parameters as unused. 1739 * database.c (dbm_subtype): Mark parameters as unused.
1778 * profile.c (profile_record_about_to_call): 1784 * profile.c (profile_record_about_to_call):
1779 Create inchash_eq() to allow direct incrementing of hash-table 1785 Create inchash_eq() to allow direct incrementing of hash-table
1780 entry. Use in profile.c to try to reduce profiling overhead. 1786 entry. Use in profile.c to try to reduce profiling overhead.
1781 Increase initial size of profile hash tables to reduce profiling 1787 Increase initial size of profile hash tables to reduce profiling
1782 overhead. 1788 overhead.
1783 1789
1784 * buffer.c (init_initial_directory): 1790 * buffer.c (init_initial_directory):
1785 * device-msw.c (mswindows_handle_page_setup_dialog_box): 1791 * device-msw.c (mswindows_handle_page_setup_dialog_box):
1786 * dialog-msw.c (handle_directory_proc): 1792 * dialog-msw.c (handle_directory_proc):
1787 * dialog-msw.c (handle_file_dialog_box): 1793 * dialog-msw.c (handle_file_dialog_box):
1788 * dialog-msw.c: 1794 * dialog-msw.c:
1834 final null byte in PATH_MAX. Create PATH_MAX_INTERNAL and 1840 final null byte in PATH_MAX. Create PATH_MAX_INTERNAL and
1835 PATH_MAX_EXTERNAL and use them everywhere. Rewrite code in 1841 PATH_MAX_EXTERNAL and use them everywhere. Rewrite code in
1836 dumper.c to avoid use of PATH_MAX. When necessary in nt.c, 1842 dumper.c to avoid use of PATH_MAX. When necessary in nt.c,
1837 use _MAX_PATH instead of MAX_PATH to be consistent with 1843 use _MAX_PATH instead of MAX_PATH to be consistent with
1838 other places. 1844 other places.
1839 1845
1840 * text.c (dfc_convert_to_internal_format): 1846 * text.c (dfc_convert_to_internal_format):
1841 Code to short-circuit when binary or Unicode was not working 1847 Code to short-circuit when binary or Unicode was not working
1842 due to EOL wrapping. Fix this code to work when either no 1848 due to EOL wrapping. Fix this code to work when either no
1843 EOL autodetection or no CR's or LF's in the text. 1849 EOL autodetection or no CR's or LF's in the text.
1844 1850
1929 * text.c (skip_ascii_down): 1935 * text.c (skip_ascii_down):
1930 Port FSF algorithm for byte-char conversion, replacing broken 1936 Port FSF algorithm for byte-char conversion, replacing broken
1931 previous version. Track the char position of the gap. Add 1937 previous version. Track the char position of the gap. Add
1932 functions to do char-byte conversion downwards as well as upwards. 1938 functions to do char-byte conversion downwards as well as upwards.
1933 Move comments about algorithm workings to internals manual. 1939 Move comments about algorithm workings to internals manual.
1934 1940
1935 --------------------------- 1941 ---------------------------
1936 work on types 1942 work on types
1937 --------------------------- 1943 ---------------------------
1938 1944
1939 * alloc.c: 1945 * alloc.c:
1940 * alloc.c (gc_plist_hack): 1946 * alloc.c (gc_plist_hack):
1941 * console-x-impl.h (struct x_frame): 1947 * console-x-impl.h (struct x_frame):
1942 * dump-data.c: 1948 * dump-data.c:
1943 * dump-data.c (dumped_data_size): 1949 * dump-data.c (dumped_data_size):
2148 * text.c (qxesprintf): 2154 * text.c (qxesprintf):
2149 Further work on types. This creates a full set of types for all 2155 Further work on types. This creates a full set of types for all
2150 the basic semantics of `char' that I have so far identified, so that 2156 the basic semantics of `char' that I have so far identified, so that
2151 its semantics can always be identified for the purposes of proper 2157 its semantics can always be identified for the purposes of proper
2152 Mule-safe code, and the raw use of `char' always avoided. 2158 Mule-safe code, and the raw use of `char' always avoided.
2153 2159
2154 (1) More type renaming, for consistency of naming. 2160 (1) More type renaming, for consistency of naming.
2155 2161
2156 Char_ASCII -> Ascbyte 2162 Char_ASCII -> Ascbyte
2157 UChar_ASCII -> UAscbyte 2163 UChar_ASCII -> UAscbyte
2158 Char_Binary -> CBinbyte 2164 Char_Binary -> CBinbyte
2172 New; goes with other qxe() functions. #### Maybe goes in a 2178 New; goes with other qxe() functions. #### Maybe goes in a
2173 different section. 2179 different section.
2174 2180
2175 * lisp.h: 2181 * lisp.h:
2176 Group generic int-type defs together with EMACS_INT defs. 2182 Group generic int-type defs together with EMACS_INT defs.
2177 2183
2178 * lisp.h (EXTTEXT_ZTERM_SIZE): 2184 * lisp.h (EXTTEXT_ZTERM_SIZE):
2179 * lisp.h (ITEXT_SIZE): 2185 * lisp.h (ITEXT_SIZE):
2180 * lisp.h (NON_ASCII_INTERNAL_FORMAT): 2186 * lisp.h (NON_ASCII_INTERNAL_FORMAT):
2181 * lisp.h (UTF16_IBYTE_FORMAT): 2187 * lisp.h (UTF16_IBYTE_FORMAT):
2182 * lisp.h (WEXTTEXT_IS_WIDE) 2188 * lisp.h (WEXTTEXT_IS_WIDE)
2183 New defns. 2189 New defns.
2184 2190
2185 * lisp.h (Boolean): 2191 * lisp.h (Boolean):
2186 New type to replace places where int occurs as a boolean. 2192 New type to replace places where int occurs as a boolean.
2187 It's signed because occasionally people may want to use -1 as 2193 It's signed because occasionally people may want to use -1 as
2188 an error value, and because unsigned ints are viral -- see comments 2194 an error value, and because unsigned ints are viral -- see comments
2189 in the internals manual against using them. 2195 in the internals manual against using them.
2190 2196
2191 * dynarr.c: 2197 * dynarr.c:
2192 * dynarr.c (Dynarr_realloc): 2198 * dynarr.c (Dynarr_realloc):
2193 * dynarr.c (Dynarr_resize): 2199 * dynarr.c (Dynarr_resize):
2194 int -> Bytecount. 2200 int -> Bytecount.
2195 2201
2196 --------------------------- 2202 ---------------------------
2197 Mule-izing 2203 Mule-izing
2198 --------------------------- 2204 ---------------------------
2199 2205
2200 * device-x.c: 2206 * device-x.c:
2202 * device-x.c (Fx_valid_keysym_name_p): 2208 * device-x.c (Fx_valid_keysym_name_p):
2203 * device-x.c (Fx_get_font_path): 2209 * device-x.c (Fx_get_font_path):
2204 * device-x.c (Fx_set_font_path): 2210 * device-x.c (Fx_set_font_path):
2205 * device-x.c (reinit_console_type_create_device_x): 2211 * device-x.c (reinit_console_type_create_device_x):
2206 Partially Mule-ize. 2212 Partially Mule-ize.
2207 2213
2208 * dumper.c (see above): 2214 * dumper.c (see above):
2209 * dumper.c (pdump_file_get): 2215 * dumper.c (pdump_file_get):
2210 * dumper.c (pdump_resource_get): 2216 * dumper.c (pdump_resource_get):
2211 * dumper.c (pdump_file_free): 2217 * dumper.c (pdump_file_free):
2212 * dumper.c (pdump_ram_try): 2218 * dumper.c (pdump_ram_try):
2250 * symsinit.h: 2256 * symsinit.h:
2251 * win32.c (init_win32_very_very_early): 2257 * win32.c (init_win32_very_very_early):
2252 Rename win32 init function and call it even earlier, to 2258 Rename win32 init function and call it even earlier, to
2253 initialize mswindows_9x_p even earlier, for use in startup code 2259 initialize mswindows_9x_p even earlier, for use in startup code
2254 (XEUNICODE_P). 2260 (XEUNICODE_P).
2255 2261
2256 * process.c (init_xemacs_process): 2262 * process.c (init_xemacs_process):
2257 Use _wenviron not environ under Windows, to get Unicode environment 2263 Use _wenviron not environ under Windows, to get Unicode environment
2258 variables. 2264 variables.
2259 2265
2260 * event-Xt.c (x_event_to_emacs_event): 2266 * event-Xt.c (x_event_to_emacs_event):
2261 Mule-ize drag-n-drop related stuff. 2267 Mule-ize drag-n-drop related stuff.
2262 2268
2263 * dragdrop.c (dnd_url_hexify_string): 2269 * dragdrop.c (dnd_url_hexify_string):
2264 * dragdrop.h: 2270 * dragdrop.h:
2265 * frame-x.c: 2271 * frame-x.c:
2266 * frame-x.c (x_wm_set_cell_size): 2272 * frame-x.c (x_wm_set_cell_size):
2267 * frame-x.c (x_wm_set_variable_size): 2273 * frame-x.c (x_wm_set_variable_size):
2701 * intl-auto-encap-win32.h (GetVersionEx): 2707 * intl-auto-encap-win32.h (GetVersionEx):
2702 * intl-auto-encap-win32.h (CreateJobObject): 2708 * intl-auto-encap-win32.h (CreateJobObject):
2703 * intl-auto-encap-win32.h (OpenJobObject): 2709 * intl-auto-encap-win32.h (OpenJobObject):
2704 * intl-auto-encap-win32.h (qxemciGetErrorString): 2710 * intl-auto-encap-win32.h (qxemciGetErrorString):
2705 Regenerate. 2711 Regenerate.
2706 2712
2707 --------------------------- 2713 ---------------------------
2708 Unicode-work 2714 Unicode-work
2709 --------------------------- 2715 ---------------------------
2710 2716
2711 * intl-win32.c (convert_multibyte_to_unicode_malloc): 2717 * intl-win32.c (convert_multibyte_to_unicode_malloc):
2722 and convert_unicode_to_multibyte_dynarr() and use. Add stuff for 2728 and convert_unicode_to_multibyte_dynarr() and use. Add stuff for
2723 alloca() conversion of multibyte/unicode. 2729 alloca() conversion of multibyte/unicode.
2724 2730
2725 * alloc.c (build_ext_string): 2731 * alloc.c (build_ext_string):
2726 Use dfc_external_data_len() in case of unicode coding system. 2732 Use dfc_external_data_len() in case of unicode coding system.
2727 2733
2728 * alloc.c: 2734 * alloc.c:
2729 * mule-charset.c: 2735 * mule-charset.c:
2730 * mule-charset.c (make_charset): 2736 * mule-charset.c (make_charset):
2731 * mule-charset.c (syms_of_mule_charset): 2737 * mule-charset.c (syms_of_mule_charset):
2732 Don't zero out and reinit charset Unicode tables. This fucks up 2738 Don't zero out and reinit charset Unicode tables. This fucks up
2760 to return their value. Add some other DFC documentation. 2766 to return their value. Add some other DFC documentation.
2761 2767
2762 * console-msw.c: 2768 * console-msw.c:
2763 * console-msw.h: 2769 * console-msw.h:
2764 Add pointer to docs in win32.c. 2770 Add pointer to docs in win32.c.
2765 2771
2766 * emacs.c: 2772 * emacs.c:
2767 Add comments on sources of doc info. 2773 Add comments on sources of doc info.
2768 2774
2769 * text.c: 2775 * text.c:
2770 * text.c (NOTE): New. 2776 * text.c (NOTE): New.
2775 * intl-win32.c (NOTE): New. 2781 * intl-win32.c (NOTE): New.
2776 * intl-win32.c (Abstract): New. 2782 * intl-win32.c (Abstract): New.
2777 * intl-encap-win32.c: 2783 * intl-encap-win32.c:
2778 * text.h: 2784 * text.h:
2779 * text.h (internal_format): 2785 * text.h (internal_format):
2780 * file-coding.c (encode_decode_coding_region): 2786 * file-coding.c (encode_decode_coding_region):
2781 * file-coding.c: 2787 * file-coding.c:
2782 * mule-coding.c (parse_iso2022_esc): 2788 * mule-coding.c (parse_iso2022_esc):
2783 Collect background comments and related to text matters and 2789 Collect background comments and related to text matters and
2784 internationalization, and proposals for work to be done, in text.c 2790 internationalization, and proposals for work to be done, in text.c
2785 or Internals manual, stuff related to specific textual API's in 2791 or Internals manual, stuff related to specific textual API's in
2803 * win32.c (intl-auto-encap-win32.h): New. 2809 * win32.c (intl-auto-encap-win32.h): New.
2804 Add bunches of new documentation on the different kinds of 2810 Add bunches of new documentation on the different kinds of
2805 builds and environments under Windows and how they work. 2811 builds and environments under Windows and how they work.
2806 Collect this info in win32.c. Add pointers to these docs in 2812 Collect this info in win32.c. Add pointers to these docs in
2807 the relevant s/* files. 2813 the relevant s/* files.
2808 2814
2809 * emacs.c (mswindows_handle_hardware_exceptions_1): 2815 * emacs.c (mswindows_handle_hardware_exceptions_1):
2810 * emacs.c: 2816 * emacs.c:
2811 Document places with long comments. 2817 Document places with long comments.
2812 Remove comment about exiting, move to internals manual, put 2818 Remove comment about exiting, move to internals manual, put
2813 in pointer. 2819 in pointer.
2814 2820
2815 * event-stream.c: 2821 * event-stream.c:
2816 Move docs about event queues and focus to internals manual, put 2822 Move docs about event queues and focus to internals manual, put
2817 in pointer. 2823 in pointer.
2818 2824
2819 * events.h: 2825 * events.h:
2820 Move docs about event stream callbacks to internals manual, put 2826 Move docs about event stream callbacks to internals manual, put
2821 in pointer. 2827 in pointer.
2822 2828
2823 * profile.c: 2829 * profile.c:
2825 * signal.c: 2831 * signal.c:
2826 Move documentation to the Internals manual. 2832 Move documentation to the Internals manual.
2827 2833
2828 * process-nt.c: 2834 * process-nt.c:
2829 Add pointer to comment in win32-native.el. 2835 Add pointer to comment in win32-native.el.
2830 2836
2831 * lisp.h: 2837 * lisp.h:
2832 Add comments about some comment conventions. 2838 Add comments about some comment conventions.
2833 2839
2834 * lisp.h (xfree): 2840 * lisp.h (xfree):
2835 Add comment about the second argument. 2841 Add comment about the second argument.
2836 2842
2837 * device-msw.c (msprinter_init_device): 2843 * device-msw.c (msprinter_init_device):
2838 * redisplay-msw.c (mswindows_text_width_single_run): 2844 * redisplay-msw.c (mswindows_text_width_single_run):
2839 @@#### comments are out-of-date. 2845 @@#### comments are out-of-date.
2840 2846
2841 --------------------------------------------------------------- 2847 ---------------------------------------------------------------
2842 PDUMP WORK (MOTIVATED BY UNICODE CHANGES) 2848 PDUMP WORK (MOTIVATED BY UNICODE CHANGES)
2843 --------------------------------------------------------------- 2849 ---------------------------------------------------------------
2844 2850
2845 * alloc.c (lispdesc_block_size_1): 2851 * alloc.c (lispdesc_block_size_1):
2901 * lrecord.h (XD_DYNARR_DESC): 2907 * lrecord.h (XD_DYNARR_DESC):
2902 PDUMP: 2908 PDUMP:
2903 2909
2904 Properly implement dump_add_root_block(), which never worked before, 2910 Properly implement dump_add_root_block(), which never worked before,
2905 and is necessary for dumping Unicode tables. 2911 and is necessary for dumping Unicode tables.
2906 2912
2907 Pdump name changes for accuracy: 2913 Pdump name changes for accuracy:
2908 XD_STRUCT_PTR -> XD_BLOCK_PTR. 2914 XD_STRUCT_PTR -> XD_BLOCK_PTR.
2909 XD_STRUCT_ARRAY -> XD_BLOCK_ARRAY. 2915 XD_STRUCT_ARRAY -> XD_BLOCK_ARRAY.
2910 XD_C_STRING -> XD_ASCII_STRING. 2916 XD_C_STRING -> XD_ASCII_STRING.
2911 *_structure_* -> *_block_*. 2917 *_structure_* -> *_block_*.
2912 2918
2913 * lrecord.h (XD_DYNARR_DESC): some comments added about 2919 * lrecord.h (XD_DYNARR_DESC): some comments added about
2914 dump_add_root_block() vs dump_add_root_block_ptr(). 2920 dump_add_root_block() vs dump_add_root_block_ptr().
2915 2921
2916 * extents.c: 2922 * extents.c:
2917 remove incorrect comment about pdump problems with gap array. 2923 remove incorrect comment about pdump problems with gap array.
2918 2924
2919 --------------------------------------------------------------- 2925 ---------------------------------------------------------------
2920 ALLOCATION 2926 ALLOCATION
2921 --------------------------------------------------------------- 2927 ---------------------------------------------------------------
2922 2928
2923 * abbrev.c (abbrev_oblookup): 2929 * abbrev.c (abbrev_oblookup):
3003 * text.h: 3009 * text.h:
3004 New macros {alloca,xnew}_{itext,{i,ext,raw,bin,asc}bytes} for 3010 New macros {alloca,xnew}_{itext,{i,ext,raw,bin,asc}bytes} for
3005 more convenient allocation of these commonly requested items. 3011 more convenient allocation of these commonly requested items.
3006 Modify functions to use alloca_ibytes, alloca_array, alloca_extbytes, 3012 Modify functions to use alloca_ibytes, alloca_array, alloca_extbytes,
3007 xnew_ibytes, etc. also XREALLOC_ARRAY, xnew. 3013 xnew_ibytes, etc. also XREALLOC_ARRAY, xnew.
3008 3014
3009 * alloc.c (FREE_FIXED_TYPE): 3015 * alloc.c (FREE_FIXED_TYPE):
3010 * alloc.c (Fstring): 3016 * alloc.c (Fstring):
3011 * alloc.c (MALLOC_BEGIN): 3017 * alloc.c (MALLOC_BEGIN):
3012 * alloc.c (free_managed_lcrecord): 3018 * alloc.c (free_managed_lcrecord):
3013 * alloc.c (garbage_collect_1): 3019 * alloc.c (garbage_collect_1):
3016 * alloc.c (xfree_1): 3022 * alloc.c (xfree_1):
3017 * alloc.c (xrealloc): 3023 * alloc.c (xrealloc):
3018 * alloc.c: 3024 * alloc.c:
3019 Rewrite the allocation functions to factor out repeated code. 3025 Rewrite the allocation functions to factor out repeated code.
3020 Add assertions for freeing dumped data. 3026 Add assertions for freeing dumped data.
3021 3027
3022 * lisp.h (xmalloc_and_record_unwind): 3028 * lisp.h (xmalloc_and_record_unwind):
3023 * lisp.h (xfree): 3029 * lisp.h (xfree):
3024 Moved down and consolidated with other allocation stuff. 3030 Moved down and consolidated with other allocation stuff.
3025 3031
3026 * lisp.h: 3032 * lisp.h:
3027 * dynarr.c (stack_like_malloc): 3033 * dynarr.c (stack_like_malloc):
3028 * dynarr.c (stack_like_free): 3034 * dynarr.c (stack_like_free):
3029 New functions for allocation that's very efficient when mostly in 3035 New functions for allocation that's very efficient when mostly in
3030 LIFO order. 3036 LIFO order.
3036 * text.c (new_dfc_convert_size): 3042 * text.c (new_dfc_convert_size):
3037 * text.c (new_dfc_convert_copy_data): 3043 * text.c (new_dfc_convert_copy_data):
3038 * text.c (new_dfc_convert_malloc): 3044 * text.c (new_dfc_convert_malloc):
3039 * text.h: 3045 * text.h:
3040 Factor out some stuff for general use by alloca()-conversion funs. 3046 Factor out some stuff for general use by alloca()-conversion funs.
3041 3047
3042 * text.h (xmalloc_ibytes): 3048 * text.h (xmalloc_ibytes):
3043 * lisp.h: 3049 * lisp.h:
3044 Fill out convenience routines for allocating various kinds of 3050 Fill out convenience routines for allocating various kinds of
3045 bytes and put them in lisp.h. Use them in place of xmalloc(), 3051 bytes and put them in lisp.h. Use them in place of xmalloc(),
3046 ALLOCA(). 3052 ALLOCA().
3073 * lisp.h (XGCPRO1): 3079 * lisp.h (XGCPRO1):
3074 * lisp.h (XUNGCPRO): 3080 * lisp.h (XUNGCPRO):
3075 Redo GCPRO declarations. Create a "base" set of functions that can 3081 Redo GCPRO declarations. Create a "base" set of functions that can
3076 be used to generate any kind of gcpro sets -- regular, ngcpro, 3082 be used to generate any kind of gcpro sets -- regular, ngcpro,
3077 nngcpro, private ones used in GC_EXTERNAL_LIST_LOOP_2. 3083 nngcpro, private ones used in GC_EXTERNAL_LIST_LOOP_2.
3078 3084
3079 * buffer.c (Fkill_buffer): 3085 * buffer.c (Fkill_buffer):
3080 * callint.c (quotify_args): 3086 * callint.c (quotify_args):
3081 * chartab.c (chartab_data_validate): 3087 * chartab.c (chartab_data_validate):
3082 * console-msw.c: 3088 * console-msw.c:
3083 * device-x.c: 3089 * device-x.c:
3118 * specifier.c (display_table_validate): 3124 * specifier.c (display_table_validate):
3119 Eliminate EXTERNAL_LIST_LOOP, which does not check for circularities. 3125 Eliminate EXTERNAL_LIST_LOOP, which does not check for circularities.
3120 Use EXTERNAL_LIST_LOOP_2 instead or EXTERNAL_LIST_LOOP_3 3126 Use EXTERNAL_LIST_LOOP_2 instead or EXTERNAL_LIST_LOOP_3
3121 or EXTERNAL_PROPERTY_LIST_LOOP_3 or GC_EXTERNAL_LIST_LOOP_2 3127 or EXTERNAL_PROPERTY_LIST_LOOP_3 or GC_EXTERNAL_LIST_LOOP_2
3122 (new macro). Removed/redid comments on EXTERNAL_LIST_LOOP. 3128 (new macro). Removed/redid comments on EXTERNAL_LIST_LOOP.
3123 3129
3124 3130
3125 --------------------------------------------------------------- 3131 ---------------------------------------------------------------
3126 SPACING FIXES 3132 SPACING FIXES
3127 --------------------------------------------------------------- 3133 ---------------------------------------------------------------
3128 3134
3146 3152
3147 --------------------------------------------------------------- 3153 ---------------------------------------------------------------
3148 FIX FOR LEAKING PROCESS HANDLES: 3154 FIX FOR LEAKING PROCESS HANDLES:
3149 --------------------------------------------------------------- 3155 ---------------------------------------------------------------
3150 3156
3151 3157
3152 * process-nt.c (free_process_memory): 3158 * process-nt.c (free_process_memory):
3153 * process-nt.c (alloc_process_memory): 3159 * process-nt.c (alloc_process_memory):
3154 * process-nt.c (run_in_other_process): 3160 * process-nt.c (run_in_other_process):
3155 * process-nt.c (send_signal_the_nt_way): 3161 * process-nt.c (send_signal_the_nt_way):
3156 * process-nt.c (nt_finalize_process_data): 3162 * process-nt.c (nt_finalize_process_data):
3172 WARNING FIXES: 3178 WARNING FIXES:
3173 --------------------------------------------------------------- 3179 ---------------------------------------------------------------
3174 3180
3175 * console-stream.c (init_console_stream): 3181 * console-stream.c (init_console_stream):
3176 `reinit' is unused. 3182 `reinit' is unused.
3177 3183
3178 * compiler.h: 3184 * compiler.h:
3179 * event-msw.c (mswindows_wnd_proc): 3185 * event-msw.c (mswindows_wnd_proc):
3180 * frame-msw.c (mswindows_frame_totally_visible_p): 3186 * frame-msw.c (mswindows_frame_totally_visible_p):
3181 * intl-encap-win32.c (qxeRegisterClass): 3187 * intl-encap-win32.c (qxeRegisterClass):
3182 * intl-encap-win32.c (qxeRegisterClassEx): 3188 * intl-encap-win32.c (qxeRegisterClassEx):
3265 inhibit_non_essential_conversion_operations. 3271 inhibit_non_essential_conversion_operations.
3266 3272
3267 * text.c (dfc_convert_to_external_format): 3273 * text.c (dfc_convert_to_external_format):
3268 * text.c (dfc_convert_to_internal_format): 3274 * text.c (dfc_convert_to_internal_format):
3269 Assert on !inhibit_non_essential_conversion_operations. 3275 Assert on !inhibit_non_essential_conversion_operations.
3270 3276
3271 * console-msw.c (Fmswindows_message_box): 3277 * console-msw.c (Fmswindows_message_box):
3272 * console-msw.c (GetConsoleHwnd): 3278 * console-msw.c (GetConsoleHwnd):
3273 * console-msw.c (mswindows_output_console_string): 3279 * console-msw.c (mswindows_output_console_string):
3274 * console-msw.c (write_string_to_mswindows_debugging_output): 3280 * console-msw.c (write_string_to_mswindows_debugging_output):
3275 * print.c (write_string_to_stdio_stream_1): 3281 * print.c (write_string_to_stdio_stream_1):
3276 Don't do conversion in SetConsoleTitle or FindWindow to avoid 3282 Don't do conversion in SetConsoleTitle or FindWindow to avoid
3277 problems during armageddon. Put #errors for NON_ASCII_INTERNAL_FORMAT 3283 problems during armageddon. Put #errors for NON_ASCII_INTERNAL_FORMAT
3278 in places where problems would arise. 3284 in places where problems would arise.
3279 3285
3280 --------------------------------------------------------------- 3286 ---------------------------------------------------------------
3281 CHANGES TO THE BUILD PROCEDURE: 3287 CHANGES TO THE BUILD PROCEDURE:
3282 --------------------------------------------------------------- 3288 ---------------------------------------------------------------
3283 3289
3284 * config.h.in: 3290 * config.h.in:
3439 3445
3440 * file-coding.c: Improve explanatory comments, add diatribes. 3446 * file-coding.c: Improve explanatory comments, add diatribes.
3441 Fix some typos in comments. 3447 Fix some typos in comments.
3442 3448
3443 2003-11-21 Stephen J. Turnbull <stephen@xemacs.org> 3449 2003-11-21 Stephen J. Turnbull <stephen@xemacs.org>
3444 3450
3445 * dired.c (Fdirectory_files): MATCH is only tried against basename. 3451 * dired.c (Fdirectory_files): MATCH is only tried against basename.
3446 3452
3447 2003-11-02 Stephen J. Turnbull <stephen@xemacs.org> 3453 2003-11-02 Stephen J. Turnbull <stephen@xemacs.org>
3448 3454
3449 * eval.c (Fcatch, Fthrow): Document that tags are compared with `eq'. 3455 * eval.c (Fcatch, Fthrow): Document that tags are compared with `eq'.
3450 3456
3451 2003-10-31 Stephen J. Turnbull <stephen@xemacs.org> 3457 2003-10-31 Stephen J. Turnbull <stephen@xemacs.org>
3452 3458
3453 * procimpl.h (struct Lisp_Process): 3459 * procimpl.h (struct Lisp_Process):
3454 * undo.c (Fprimitive_undo): 3460 * undo.c (Fprimitive_undo):
3455 Remove obsolete references to ENERGIZE in comments. 3461 Remove obsolete references to ENERGIZE in comments.
3456 3462
3457 2004-07-18 Stephen J. Turnbull <stephen@xemacs.org> 3463 2004-07-18 Stephen J. Turnbull <stephen@xemacs.org>
3458 3464
3459 * glyphs.c (Fimage_instance_type): Add 'widget to docstring. 3465 * glyphs.c (Fimage_instance_type): Add 'widget to docstring.