update.
[chise/xemacs-chise.git] / src / ChangeLog
1 1999-06-12  MORIOKA Tomohiko  <tomo@etl.go.jp>
2
3         * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
4         `CCL_MODE_ENCODING'.
5
6         * file-coding.c (mule_decode): Run `ccl_driver' with
7         `CCL_MODE_DECODING'.
8         (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
9
10         * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
11         (ccl_driver): Add new argument `conversion_mode'.
12         (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
13         (Fccl_execute_on_string): Likewise [perhaps it is better to add
14         new optional argument].
15
16         * mule-ccl.h (CCL_MODE_ENCODING): New macro.
17         (CCL_MODE_DECODING): New macro.
18         (ccl_driver): Add new argument `conversion_mode'.
19
20 1999-06-11  XEmacs Build Bot <builds@cvs.xemacs.org>
21
22         * XEmacs 21.2.16 is released
23
24 1999-06-10  Andy Piper  <andy@xemacs.org>
25
26         * select-msw.c (mswindows_own_selection): only set the clipboard
27         if asked.
28         (mswindows_get_foreign_selection): only get the clipboard if
29         asked.
30         (mswindows_disown_selection): only disown the clipboard if asked.
31
32 1999-06-03  MORIOKA Tomohiko  <tomo@etl.go.jp>
33
34         * file-coding.c (coding_system_from_mask): Use `raw-text' instead
35         of `no-conversion'.
36         (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
37         of coding-category `no-conversion'.
38
39 1999-06-03  MORIOKA Tomohiko  <tomo@etl.go.jp>
40
41         * file-coding.c (Qraw_text): New variable.
42         (syms_of_mule_coding): Add new symbol `raw-text'.
43         (complex_vars_of_mule_coding): Add new coding-system `raw-text';
44         define coding-system `binary' independently; define coding-system
45         `no-conversion' as an alias for `raw-text'.
46
47         * file-coding.h (Qraw_text): New variable.
48
49 1999-05-20  MORIOKA Tomohiko  <tomo@etl.go.jp>
50
51         * mule-charset.c (complex_vars_of_mule_charset): Registry of
52         japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
53         "jisc6226.1983".
54
55 1999-06-08  SL Baur  <steve@xemacs.org>
56
57         * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
58
59 1999-06-06  Hrvoje Niksic  <hniksic@srce.hr>
60
61         * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
62         base64.el.
63         (base64_decode_1): Signal errors instead of returning -1.
64
65 1999-06-07  Hrvoje Niksic  <hniksic@srce.hr>
66
67         * mule-charset.c (Fmake_char): Update docstring.
68
69 1999-06-07  Hrvoje Niksic  <hniksic@srce.hr>
70
71         * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
72
73 1999-06-05  Hrvoje Niksic  <hniksic@srce.hr>
74
75         * fns.c (base64_decode_1): Allow and ignore any non-base64
76         characters in input.
77
78 1999-05-27  Olivier Galibert  <galibert@pobox.com>
79
80         * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
81         of report_pure_usage().
82
83 1999-06-04  Hrvoje Niksic  <hniksic@srce.hr>
84
85         * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
86
87 1999-06-04  XEmacs Build Bot <builds@cvs.xemacs.org>
88
89         * XEmacs 21.2.15 is released
90
91 1999-06-01  Hirokazu FUKUI  <fukui@atesoft.advantest.co.jp>
92
93         * frame.c (Fset_mouse_position):
94         (Fset_mouse_pixel_position):
95         * window.c (Fsplit_window):
96         (Fmove_to_window_line):
97         Fix crash when invoking functions with an already-deleted window
98         argument.
99
100         * indent.c (vertical_motion_1):
101         (vmotion_pixels):
102         (Fvertical_motion_pixels):
103         * window.c (Fwindow_displayed_text_pixel_height):
104         Fix error message when invoking functions with an already-deleted
105         window argument.
106
107 1999-06-01  Jan Vroonhof  <vroonhof@math.ethz.ch>
108
109         * sysdep.c (request_sigio_on_device): Guard against glibc
110         2.1's stub streams implementation.
111
112 1999-06-03  SL Baur  <steve@xemacs.org>
113
114         * config.h.in:
115         * emacs.c:  Implement x.y.z version numbers
116         From Jan Vroonhof <vroonhof@math.ethz.ch>
117
118 1999-05-20  MORIOKA Tomohiko  <tomo@etl.go.jp>
119
120         * mule-charset.c (complex_vars_of_mule_charset): Registry of
121         japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
122         "jisc6226.1983".
123
124 1999-06-03  SL Baur  <steve@xemacs.org>
125
126         * frame-x.c:
127         * device-x.c: rename session option to wmcommand.
128         From Oliver Graf <ograf@rhein-zeitung.de>
129
130 1999-05-27  Hrvoje Niksic  <hniksic@srce.hr>
131
132         * fns.c (Fsubstring): Don't traverse the same region twice with
133         charcount_to_bytecount().
134
135 1999-06-03  SL Baur  <steve@steve1.m17n.org>
136
137         * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
138         garbage.
139
140         * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
141         doesn't really work as is implied by the commentary).
142         Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
143
144 1999-06-02  SL Baur  <steve@steve1.m17n.org>
145
146         * symsinit.h: Declare vars_of_ntproc.
147         * emacs.c (main_1): Call it.
148
149         * ntproc.c (syms_of_ntproc): Move variable initializations from
150         here ...
151         (vars_of_ntproc): ... to here [new function].
152
153         * file-coding.c (syms_of_file_coding): Rename.
154         (vars_of_file_coding): Ditto.
155         (complex_vars_of_file_coding): Ditto.
156
157         * symsinit.h: Rename *_mule_coding to *_file_coding.
158
159         * emacs.c (main_1): Call them by the proper name.
160
161         * device-msw.c (syms_of_device_mswindows): Move variable
162         initializations from here ...
163         (vars_of_device_mswindows): ... to here.
164
165         * chartab.c (vars_of_chartab): New function.
166
167         * symsinit.h: New function, vars_of_chartab.
168
169         * emacs.c (main_1): Call it.
170
171         * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
172         (vars_of_mule_canna): ... to here.
173
174         * mule-ccl.c (vars_of_mule_ccl): New function.  Move variable
175         initializations out of syms_of_mule_ccl.
176
177         * symsinit.h: Declare new function vars_of_mule_ccl.
178
179         * emacs.c (main_1): Call it.
180
181 1999-05-27  Hrvoje Niksic  <hniksic@srce.hr>
182
183         * fns.c (base64_decode_1): Ignore whitespace.
184
185 1999-05-27  Hrvoje Niksic  <hniksic@srce.hr>
186
187         * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
188         ARG2.
189
190 1999-05-21  Andy Piper  <andy@xemacs.org>
191         
192         * xselect.c: deleted.
193         
194         * symsinit.h: declare select initialisation.
195
196         * select.h: new file. declare commonly used select functions and
197         variables.
198
199         * select.c: new file. generalised from xselect.c.
200         (clean_local_selection_data): moved from xselect.c.
201         (get_local_selection): ditto. device specific pieces called via a
202         devmeth.
203         (handle_selection_clear): ditto.
204         (Fown_selection_internal): renamed and generalised from
205         Fx_own_selection_internal. moved from xselect.c.
206         (Fdisown_selection_internal): ditto.
207         (Fselection_owner_p): ditto.
208         (Fselection_exists_p): ditto.
209         (Fget_selection_internal): ditto.
210         (syms_of_select): new function. QXXXX values moved from xselect.c
211         (vars_of_select): new function. selection_converter_alist,
212         lost_selection_hooks moved and renamed from xselect.c
213
214         * select-x.c: renamed from xselect.c.
215         (x_own_selection): converted to device specific. non-X-specific
216         bits moved to select.c.
217         (x_get_foreign_selection): ditto.
218         (x_disown_selection): ditto.
219         (x_selection_exists_p): ditto.
220         (console_type_create_select_x): new function.
221
222         * select-msw.c (mswindows_own_selection): new device method to set
223         the clipboard when we 'own' the selection.
224         (mswindows_get_foreign_selection): new device method to get the
225         clipboard.
226         (mswindows_disown_selection): new device method to delete the
227         selection when we 'disown' it.
228         (console_type_create_select_mswindows): new function.
229
230         * emacs.c (main_1): add select to things to initialise.
231
232         * console.h (struct console_methods): new console methods for
233         selection.
234
235         * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
236
237 1999-05-20  Hrvoje Niksic  <hniksic@srce.hr>
238
239         * print.c (long_to_string): Install a faster version.
240
241 1999-05-16  Andy Piper  <andy@xemacs.org>
242
243         * ntproc.c (syms_of_ntproc): default
244         win32-start-process-share-console to t.
245
246 1999-05-14  Hrvoje Niksic  <hniksic@srce.hr>
247
248         * config.h.in: Do it here.
249
250         * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
251
252 1999-05-14  Andy Piper  <andy@xemacs.org>
253
254         * toolbar-msw.c (mswindows_output_toolbar): hash on something
255         hashable.
256
257 1999-05-14  XEmacs Build Bot <builds@cvs.xemacs.org>
258
259         * XEmacs 21.2.14 is released
260
261 1999-05-12  Andy Piper  <andy@xemacs.org>
262
263         * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
264
265 1999-05-11  Gunnar Evermann  <ge204@eng.cam.ac.uk>
266
267         * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
268         run_temacs_argv array -- fixes random memory corruption crash
269
270 1999-05-12  Jan Vroonhof  <vroonhof@math.ethz.ch>
271
272         * window.c (Fcurrent_window_configuration):
273         Save minibuffer height;
274
275         * window.c (set_window_configuration): use it.
276
277 1999-05-10  Robert Pluim  <rpluim@bigfoot.com>
278
279         * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
280
281 1999-04-21  Jan Vroonhof  <vroonhof@math.ethz.ch>
282
283         * redisplay.c (redisplay_window): Do not put data
284         in the line start cache if it is not guaranteed to be correct
285
286 1999-04-02  Jan Vroonhof  <vroonhof@math.ethz.ch>
287
288         * window.c (struct window_config): Removed frame
289         size members.
290         (window_config_equal): No longer compare frame sizes.
291         (Fset_window_configuration): Resize old top window to fit in the
292         current frame directly, no longer use a fake frame resize.
293         (Fcurrent_window_configuration): No longer save frame size
294
295 1999-05-11  Andy Piper  <andy@xemacs.org>
296
297         * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
298         first character.
299
300 1999-05-10  Hrvoje Niksic  <hniksic@srce.hr>
301
302         * sysdep.c (init_system_name): If gethostname gives a proper
303         domain name, don't look further for one.
304
305 1999-05-09  Hrvoje Niksic  <hniksic@srce.hr>
306
307         * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
308         (Fintern_soft): Accept a symbol argument.
309
310 1999-05-06  Hrvoje Niksic  <hniksic@srce.hr>
311
312         * symbols.c (Fintern): ...do it here.
313
314         * lread.c (read_atom): Don't handle keywords here.
315
316 1999-05-06  Hrvoje Niksic  <hniksic@srce.hr>
317
318         * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
319
320 1999-05-03  Olivier Galibert  <galibert@pobox.com>
321
322         * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
323         is interned in the main obarray.
324
325 1999-04-23  Gunnar Evermann  <ge204@eng.cam.ac.uk>
326         
327         * menubar-x.c (pre_activate_callback): set accelerator field in
328         "No menu" entries to nil. Avoid crash in
329         command_builder_operate_menu_accelerator
330
331 1999-05-03  Olivier Galibert  <galibert@pobox.com>
332
333         * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
334
335         * lisp.h (DEFUN): Fix lrecord header initialisation.
336
337 1999-05-02  Andy Piper  <andy@xemacs.org>
338
339         * objects-msw.c (mswindows_font_instance_truename): add a ';'.
340
341         * ntproc.c (sys_kill): cast using MS mandated defines.
342
343 1999-04-29  Andy Piper  <andy@xemacs.org>
344
345         * m/intel386.h: remove redundant definitions.
346
347         * s/mingw32.h: new header for mingw32.
348         
349         * unexnt.c: (open_input_file): function moved to nt.c.
350         (close_file_data): ditto.
351         (rva_to_section): function moved to ntproc.
352
353         * symsinit.h: declare syms_of_ntproc();
354         
355         * objects-msw.c (mswindows_font_instance_truename): new function.
356
357         * ntproc.c: remove many warnings.
358         (_sys_read_ahead): moved from nt.c and made static.
359         (rva_to_section): moved from unexnt.c but not defined under
360         mingw32.
361         (win32_executable_type): implement what we can for mingw32
362         headers.
363         (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
364
365         * ntheap.h: remove declarations of functions that are now static.
366         
367         * ntheap.c: support static heap.
368
369         * nt.h: conditionalise X_OK definition.
370
371         * nt.c: eliminate many warnings and support mingw32.
372         (open_input_file): function moved from unexnt.c and made static
373         (close_file_data): ditto.
374         (_sys_read_ahead): moved to ntproc.c
375
376         * emacs.c: make sure syms_of_ntptroc gets called under windows.
377         
378         * console-msw.h: support mingw32.
379         * getloadavg.c: ditto.
380         * ntplay.c: ditto.
381         * sysdep.c: ditto.
382         * sysdir.h: ditto.
383         * systime.h: ditto.
384         * systty.h: ditto.
385
386         * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
387         some systems don't have all of the encapsulated system calls.
388         
389         * callproc.c: warning elimination.
390         * dired-msw.c: ditto.
391         * process-nt.c: ditto.
392         * realpath.c: ditto.
393         
394         * Makefile.in.in: tweak : and ; for building under mswindows.
395         
396 1999-04-26  Michael Harnois  <mharnois@willinet.net>
397
398         * eldap.c (allocate_ldap): Adapt to the new semantics of
399         alloc_lcrecord_type().
400
401 1999-03-16  MORIOKA Tomohiko  <tomo@etl.go.jp>
402
403         * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
404
405 1998-09-04  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
406
407         * Delete mule-coding.c and mule-coding.h because they are not
408         used.
409
410 1999-04-22  Gunnar Evermann  <ge204@eng.cam.ac.uk>
411
412         * objects.c (print_font_instance): Check for NILP(f->device),
413         i.e. Vthe_null_font_instance.
414         (font_instance_truename_internal): ditto.
415         (Ffont_instance_properties): ditto.
416
417 1999-04-22  Olivier Galibert  <galibert@pobox.com>
418
419         * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
420         array anymore.
421
422 1999-04-22  Hrvoje Niksic  <hniksic@srce.hr>
423
424         * Makefile.in.in (tests): Don't mention tests explicitly -- makes
425         it easier to add new ones.
426
427 1999-04-22  Hrvoje Niksic  <hniksic@srce.hr>
428
429         * symbols.c (reject_constant_symbols): Ditto.
430         (init_symbols_once_early): Ditto.
431
432         * print.c (print_symbol): Don't use ->obarray.
433
434         * symbols.c (Funintern): Ditto.
435
436         * alloc.c (Fmake_symbol): Don't set ->obarray.
437
438         * lisp.h (struct Lisp_Symbol): Removed .obarray field.
439
440         * symbols.c (init_symbols_once_early): Removed
441         Vpure_uninterned_symbol_table.
442         (Fintern): Don't store to ->obarray field.
443
444 1999-04-22  Hrvoje Niksic  <hniksic@srce.hr>
445
446         * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
447         (eq_with_ebola_notice): Remove abracadabra support.
448
449 1999-04-11  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
450
451         * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
452         retrieve the distinguished names of entries
453
454 1999-03-08  Martin Buchholz  <martin@xemacs.org>
455
456         * lread.c (read_escape): Make hex escapes read only two hex digits.
457
458 1999-04-05  Olivier Galibert  <galibert@pobox.com>
459
460         * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
461         * make-src-depend: Remove puresize-adjust.h.
462         * src-headers: Remove puresize-adjust.h.
463         * config.h.in: Kill everything purespace/gung-ho related.
464
465         * dbxrc: Make gung-ho mandatory.
466         * gdbinit: Ditto.
467
468         * lrecord.h: Make gung-ho mandatory.  Remove pure flag and add
469         c_readonly and lisp_readonly.  Remove implementation arrays.
470         (C_READONLY_RECORD_HEADER_P): Added.
471         (LISP_READONLY_RECORD_HEADER_P): Added.
472         (SET_C_READONLY_RECORD_HEADER): Added.
473         (SET_LISP_READONLY_RECORD_HEADER): Added.
474
475         * lisp.h: Kill everything purespace/non gung-ho related.
476         (CHECK_C_WRITEABLE): Added.
477         (CHECK_LISP_WRITEABLE): Added.
478         (C_READONLY): Added.
479         (LISP_READONLY): Added.
480
481         * lisp-union.h: Make gung-ho mandatory.
482         * lisp-disunion.h: Ditto.
483
484         * alloc.c: Kill everything purespace/non  gung-ho related. Fix all
485         set_lheader_implementation calls.
486         (c_readonly): Added.
487         (lisp_readonly): Added.
488         (make_string_nocopy): Added.
489         (Fpurecopy):  Changed to do  nothing.   Kept the old documentation
490         for reference purposes for the next patches.
491         (sweep_lcrecords_1): Don't free C readonly lcrecords.
492         (sweep_bit_vectors_1): Don't free C readonly bitvectors.
493         (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
494
495         * fns.c: Make gung-ho mandatory.
496         (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
497         (Fremprop): Ditto.
498         (Ffillarray): Ditto.
499
500         * data.c: Make gung-ho mandatory.
501         (pure_write_error): Removed.
502         (c_write_error): Added.
503         (lisp_write_error): Added.
504         (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
505         (Fsetcdr): Ditto.
506         (Faset): Ditto.
507
508         * symbols.c: Make gung-ho mandatory.  make_pure_pname ->
509                   make_string or make_string_nocopy.  Fix various
510                   alloc_lcrecord_type.
511         
512         * lread.c: Remove everything purespace related.
513         (Flocate_file_clear_hashing): purified -> c_readonly.
514         (locate_file): Ditto.
515         (read_atom): make_pure_pname -> make_string.
516
517         * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
518                   reporting.
519         (Fdump_emacs): Ditto.
520
521         * print.c (print_internal): Make gung-ho mandatory.
522         * ntheap.c (sbrk): Ditto.
523         * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
524         * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
525
526         * sheap.c (more_static_core): Remove puresize-adjust.h from
527                   message.
528
529         * syntax.c (complex_vars_of_syntax): make_pure_string ->
530                   make_string_nocopy.
531         * keymap.c (make_keymap): Fix alloc_lcrecord_type.
532         (vars_of_keymap): make_pure_string -> make_string_nocopy.
533         * events.c (deinitialize_event): Fix set_lheader_implementation.
534         (zero_event): Ditto.
535         * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
536         * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
537         * mule-charset.c (make_charset): Ditto.
538         * console.c (allocate_console): Ditto.
539         (complex_vars_of_console): Ditto.
540         * file-coding.c (allocate_coding_system): Ditto.
541         * device.c (allocate_device): Ditto
542         * gui-x.c (gcpro_popup_callbacks): Ditto.
543         * extents.c (allocate_extent_auxiliary): Ditto.
544         (allocate_extent_info): Ditto.
545         (copy_extent): Ditto.
546         * glyphs.c (allocate_image_instance): Ditto.
547         (allocate_glyph): Ditto.
548         * frame.c (allocate_frame_core): Ditto.
549         * database.c (allocate_database): Ditto.
550         * tooltalk.c (make_tooltalk_message): Ditto.
551         (make_tooltalk_pattern): Ditto.
552         * rangetab.c (Fmake_range_table): Ditto.
553         (Fcopy_range_table): Ditto.
554         * process.c (make_process_internal): Ditto.
555         * chartab.c (Fmake_char_table): Ditto.
556         (make_char_table_entry): Ditto.
557         (copy_char_table_entry): Ditto.
558         (Fcopy_char_table): Ditto.
559         * elhash.c (make_general_lisp_hash_table): Ditto.
560         (Fcopy_hash_table): Ditto.
561         * buffer.c (allocate_buffer): Ditto.
562         (complex_vars_of_buffer): Ditto.
563         * event-stream.c (allocate_command_builder): Ditto.
564         * objects.c (Fmake_color_instance): Ditto.
565         (Fmake_font_instance): Ditto.
566         (vars_of_objects): Ditto.
567         * toolbar.c (update_toolbar_button): Ditto.
568         * window.c (allocate_window): Ditto.
569         (make_dummy_parent): Ditto.
570         (Fcurrent_window_configuration): Fix alloc_lcrecord.
571         (vars_of_window): Fix make_lcrecord_list.
572         * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
573                   Flist.
574         * lstream.c (Lstream_new): Fix make_lcrecord_list.
575         * opaque.c (make_opaque): Fix alloc_lrecord.
576         (make_opaque_list): Fix alloc_lrecord_type.
577
578 1999-04-19  Hrvoje Niksic  <hniksic@srce.hr>
579
580         * process.c (Fstart_process_internal): Ditto.
581
582         * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
583         locate_file().
584
585         * glyphs-x.c (x_locate_pixmap_file): Ditto.
586
587         * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
588         locate_file().
589
590         * emodules.c (vars_of_module): New variable Vmodule_extensions.
591         (emodules_load): Use it when calling locate_file().
592
593         * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
594         locate_file().
595
596         * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
597         (vars_of_callproc): Initialize it.
598         (Fcall_process_internal): Use it when calling locate_file().
599
600         * alloc.c (disksave_object_finalization): Use
601         Flocate_file_clear_hashing().
602
603         * lread.c (Flocate_file_clear_hashing): Clear all hasing when
604         given `t' as argument.
605
606 1999-04-18  Hrvoje Niksic  <hniksic@srce.hr>
607
608         * lread.c (locate_file): Expand `pathel' when appropriate.
609         (Flocate_file_clear_hashing): Expand path elements.
610         (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
611
612         * dired.c (make_directory_hash_table): Create the hash-table only
613         if the directory open is successful.
614
615         * lread.c (decode_mode_1): New function.
616         (decode_mode): Ditto.
617         (Flocate_file): Use them.
618         (Flocate_file): Expand FILENAME.
619         (locate_file_map_suffixes): New function.
620         (locate_file_in_directory_mapper): New function.
621         (locate_file_in_directory): Use locate_file_in_directory_mapper()
622         and locate_file_map_suffixes().
623         (locate_file_construct_suffixed_files): Use
624         locate_file_map_suffixes().
625         (locate_file_without_hash): Don't GCPRO path.
626         (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
627         (syms_of_lread): Remove Qlocate_file_hash_table.
628         (locate_file_find_directory_hash_table): Use
629         Vlocate_file_hash_table.
630         (locate_file_refresh_hashing): Ditto.
631
632         * lread.c: Renamed read_objects to Vread_objects.
633
634 1999-04-16  Olivier Galibert  <galibert@pobox.com>
635
636         * mule-charset.c: Generally resync with fsf 20.3 charset
637         interface.
638         (make_charset): Add long and short name.  Use id instead of
639         leading byte.
640         (Fmake_charset): Ditto.
641         (Fmake_reverse_direction_charset): Ditto.
642         (Fcharset_property): Ditto.
643         (Fcharset_short_name): Added.
644         (Fcharset_long_name): Added.
645         (Fcharset_description): Renamed from charset-doc-string.
646         (syms_of_mule_charset): Synced symbols.
647         (complex_vars_of_mule_charset): Synced charsets.
648
649         * mule-charset.h: Removed leading byte (uses id instead), added
650         short and long name.
651
652 1999-04-15  Hrvoje Niksic  <hniksic@srce.hr>
653
654         * file-coding.c (Fdefine_coding_system_alias): New function.
655
656 1999-04-08  Olivier Galibert  <galibert@pobox.com>
657
658         * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
659         and -ascii fonts for displaying ascii instead of iso8859-1 only.
660
661 1998-12-14  Hrvoje Niksic  <hniksic@srce.hr>
662
663         * extents.c (set_extent_glyph_1): Make sure that the glyph we
664         attach to the extent is valid.
665
666 1998-12-12  Hrvoje Niksic  <hniksic@srce.hr>
667
668         * dired.c (user_name_completion): Mule-ize.
669         (user_name_completion): Use xmalloc/xrealloc/xfree.
670         (user_name_completion): Use DO_REALLOC.
671         (user_name_completion): Cut down the number of static variables;
672         use a structure.
673         (user_name_completion): Username completion is always
674         case-sensitive.
675
676 1998-12-06  Hrvoje Niksic  <hniksic@srce.hr>
677
678         * fns.c (base64_decode_1): Remove COUNTER.
679         (base64_decode_1): Accept CRLF in addition to CR.
680         (base64_decode_1): Disallow a stray character after final EOF; the 
681         check was probably a remnant of buggy recode code.
682
683 1998-12-05  Hrvoje Niksic  <hniksic@srce.hr>
684
685         * fns.c (init_provide_once): Provide `base64'.
686
687 1998-12-04  Hrvoje Niksic  <hniksic@srce.hr>
688
689         * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
690         (Fbase64_encode_region): If buffer is read-only, bail out early.
691         (Fbase64_decode_region): Ditto.
692         (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
693         compiler.
694         (Fbase64_encode_string): Ditto.
695         (Fbase64_decode_region): Ditto.
696         (Fbase64_decode_string): Ditto.
697
698 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
699
700         * dired.c (Fdirectory_files): Remove redundant code.
701
702 1999-03-05  Philip Aston  <philipa@parallax.co.uk>
703
704         * frame-msw.c Make raise-frame restore minimised windows.
705
706 1999-03-05  Philip Aston  <philipa@parallax.co.uk>
707
708         * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
709         add magic newline.
710
711 1999-03-05  Philip Aston  <philipa@parallax.co.uk>
712
713         * toolbar-msw.c Consider captions when deciding whether to rebuild
714         toolbar. This fixes the initial toolbar display for those of us
715         who don't like captions. These patches applied by Andy Piper.
716
717 1999-03-12  XEmacs Build Bot <builds@cvs.xemacs.org>
718
719         * XEmacs 21.2.13 is released
720
721 1999-03-12  SL Baur  <steve@xemacs.org>
722
723         * file-coding.c: Guard ucs table initialization with ifdef MULE.
724
725 1999-03-10  Stephen J. Turnbull  <turnbull@sk.tsukuba.ac.jp>
726
727         * file-coding.c:  docstring and comment improvements.
728         (decode_ucs4)  flag possible data loss with comment.
729
730 1999-03-10  Martin Buchholz  <martin@xemacs.org>
731
732         * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
733         (ucs_to_char):
734         (Fucs_char):
735         (Fset_char_ucs):
736         (decode_coding_ucs4):
737         (encode_coding_ucs4):
738         (detect_coding_utf8):
739         (decode_coding_utf8):
740         (encode_utf8):
741         (encode_coding_utf8):
742         Add CHECK_* macros where needed to avoid crashes.
743         #ifdef out all composite character support using
744         #ifdef ENABLE_COMPOSITE_CHARS
745         Use normal XEmacs coding standards.
746         Fix docstrings.
747         Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
748
749 1998-09-08  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
750
751         * file-coding.c (make-coding-system): Add description about
752         `ucs-4' and `utf-8'.
753         (detection_state): Modify to implement ucs-4 and utf-8.
754         (detect_coding_type): Likewise.
755         (detect_coding_ucs4): New implementation.
756         (detect_coding_utf8): New implementation.
757         (encode_utf8): fixed.
758         (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
759         `utf-8'.
760
761 1998-09-08  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
762
763         * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
764         2022 registry to private area.
765
766 1998-09-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
767
768         * file-coding.c (encode_utf8): New function.
769         (encode_coding_utf8): New implementation.
770
771 1998-09-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
772
773         * file-coding.c (ucs_to_mule_table): New variable; abolish
774         `Vucs_to_mule_table'
775         (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
776         (set-ucs-char): New function.
777         (ucs_to_char): New function.
778         (ucs-char): New function.
779         (set-char-ucs): New function.
780         (char-ucs): New function.
781         (decode_ucs4): Use `ucs_to_char'.
782         (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
783         `mule-to-ucs-table'.
784
785 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
786
787         * chartab.h: EXFUN `Fget_char_table'.
788
789         * file-coding.c (encode_ucs4): New function.
790         (encode_coding_ucs4): Use `encode_ucs4'.
791
792 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
793
794         * file-coding.c (decode_coding_ucs4): New implementation.
795
796 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
797
798         * file-coding.c (decode_coding_ucs4): fixed.
799
800         * file-coding.c (Vmule_to_ucs_table): New variable.
801         (mule_char_to_ucs4): New function.
802         (encode_coding_ucs4): New implementation.
803         (complex_vars_of_mule_coding): Define variable
804         `mule-to-ucs-table'.
805
806 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
807
808         * file-coding.c (decode_coding_utf8): New implementation.
809
810 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
811
812         * file-coding.c (decode_coding_utf8): fixed.
813
814 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
815
816         * file-coding.c (Vucs_to_mule_table): New variable.
817         (decode_ucs4): Refer `Vucs_to_mule_table'.
818         (complex_vars_of_mule_coding): Define variable
819         `ucs-to-mule-table'.
820
821 1998-09-04  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
822
823         * file-coding.c (detect_coding_ucs4): New function (not
824         implemented yet).
825         (decode_coding_ucs4): New function.
826         (encode_coding_ucs4): New function (not implemented yet).
827         (detect_coding_utf8): New function (not implemented yet).
828         (decode_coding_utf8): New function.
829         (encode_coding_utf8): New function (not implemented yet).
830         (make-coding-system): New type `ucs4' and `utf8'.
831         (coding-system-type): Likewise.
832         (detection_state): Add `ucs4' and `utf8'.
833         (detect_coding_type): Likewise.
834         (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
835         (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
836         (decode_ucs4): New function (very incomplete).
837         (syms_of_mule_coding): Add `ucs4' and `utf8'.
838
839         * file-coding.h: Add definitions for UCS-4 and UTF-8.
840
841 1999-03-08  Martin Buchholz  <martin@xemacs.org>
842
843         * mule-charset.c:
844         (non_ascii_valid_char_p):
845         (lookup_composite_char):
846         (composite_char_string):
847         (make-composite-char):
848         (composite-char-string):
849         (syms_of_mule_charset): 
850         (complex_vars_of_mule_charset): 
851         * mule-charset.h (LEADING_BYTE_COMPOSITE):
852         (CHAR_LEADING_BYTE):
853         (MAKE_CHAR):
854         * file-coding.h (CODING_STATE_COMPOSITE):
855         (CODING_STATE_ISO2022_LOCK):
856         (iso_esc_flag):
857         (LEADING_BYTE_COMPOSITE):
858         * file-coding.c (struct iso2022_decoder):
859         (decoding_closer):
860         (reset_iso2022):
861         (parse_iso2022_esc):
862         (encode_coding_iso2022):
863         #ifdef out all composite character support using 
864         #ifdef ENABLE_COMPOSITE_CHARS 
865
866         * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
867
868 1999-03-04  Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
869
870         * fns.c (Fbase64_encode_string): Calculate `allength' in the same
871         way of `Fbase64_encode_region'.
872
873 1999-02-18  Katsumi Yamaoka   <yamaoka@jpl.org>
874
875         * fns.c (base64_encode_1): Don't add a newline at the tail.
876
877 1999-03-08  Andy Piper  <andy@xemacs.org>
878
879         * menubar-msw.c (displayable_menu_item): correct off-by-one &
880         handling.
881
882 1999-03-07  Martin Buchholz  <martin@xemacs.org>
883
884         * console-stream.h (struct stream_console):
885         * event-unixoid.c (event_stream_unixoid_select_console):
886         (event_stream_unixoid_unselect_console):
887         * print.c (Fexternal_debugging_output):
888         * sysdep.c (reset_one_device):
889         * console-stream.c (stream_init_console):
890         (stream_delete_console):
891         (allocate_stream_console_struct): move into stream_init_console.
892         (free_stream_console_struct): move into stream_delete_console.
893         Use `fd' only for file descriptors.
894         Therefore, rename members of struct stream_console.
895
896         * systime.h: Unix98 says sys/time.h should define select(), but
897         some systems define that in unistd.h.  So include that file always.
898
899         * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'.  Avoid
900         multiple evaluation of first arg.  Do proper do {} while (0) wrapping.
901         (HAS_IIFORMAT_METH_P): Prevent macro from being used in
902         non-boolean context
903         (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
904
905         * EmacsShell.c:
906         * balloon_help.c:
907         Add #include <stdio.h>.
908         Some versions of assert.h use printf() without #include'ing stdio.h
909
910         * free-hook.c (blocktype): Add gcpro5_type to blocktype.
911         (log_gcpro): Remove unused variable FRAME.
912         (show_gcprohist): Ansify.
913         Comment the #endif's
914
915         * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
916         after it's just been XtDestroy'ed!
917
918 1999-02-18  Martin Buchholz  <martin@xemacs.org>
919
920         * opaque.c (print_opaque):
921         (sizeof_opaque):
922         (equal_opaque):
923         (hash_opaque):
924         Egcs 1.1.1 seems to have a bug where
925         INTP (p->size_or_chain)
926         will crash XEmacs.  Fix by introducing intermediate variable.
927
928         * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
929
930         * dired.c (Fdirectory_files):
931         (Ffile_name_completion):
932         (Ffile_name_all_completions):
933         (file_name_completion):
934         - Use `directory' instead of `dirname' to sync with FSF Emacs and
935         avoid compiler warnings.
936         - Fix up docstrings so that C variables match documentation.
937
938 1999-03-05  Martin Buchholz  <martin@xemacs.org>
939
940         * alloc.c: (garbage_collect_1): Reorg code to make scope of local
941         variables as small as possible to help out the compiler and the maintainer.
942
943         * alloc.c: (disksave_object_finalization):
944         Set all the *-load-path variables to
945         nil, not just load-path itself.  This gets the locate-file hash
946         tables garbage collected BEFORE dump, and has the side effect of
947         preventing crashes on OSF4.0+egcs.
948
949         * alloc.c:
950         * gdbinit:
951         * dbxrc:
952         - Clean up gdb/dbx debugging support.
953         - Storing an EMACS_INT in an enum is not 64-bit clean!
954         - So change the enum to a set of separate variables.
955         - Add test cases to help debug the debugging support!
956         - Add `lisp-shadows' and `run-temacs' targets for dbx.
957         - Both dbx and gdb have been tested now.
958
959 1999-03-05  XEmacs Build Bot <builds@cvs.xemacs.org>
960
961         * XEmacs 21.2.12 is released
962
963 1999-02-16  Kazuyuki IENAGA  <ienaga@jsys.co.jp>
964
965         * device-x.c: Support to find best visual without flashing.
966
967 1999-03-02  Paul Keusemann  <pkeusem@visi.com>
968
969         * database.c (berkdb_map): Add flags argument to cursor call (must
970           be 0 according to docs) required for Berkeley DB 2.6.4 and later.
971
972 1999-03-03  Martin Buchholz  <martin@xemacs.org>
973
974         * hash.c:
975         * hash.h:
976         General cleanup.  Get free-hook.c working again.
977         Remove unused functions:
978         make_strings_hash_table, copy_hash, expand_hash_table.
979
980         * malloc.c:
981         * mem-limits.h:
982         Always use new ANSI-style function prototypes.
983
984         * unexalpha.c (unexec): Never use implicit int.
985
986         * sgiplay.c (close_sound_file):
987         (play_sound_file):
988         (restore_audio_port):
989         (play_sound_data):
990         (audio_initialize):
991         (play_internal):
992         (drain_audio_port):
993         (write_mulaw_8_chunk):
994         (write_linear_chunk):
995         (write_linear_32_chunk):
996         (initialize_audio_port):
997         (open_audio_port):
998         (set_channels):
999         (set_output_format):
1000         (adjust_audio_volume):
1001         (get_current_volumes):
1002         (parse_snd_header):
1003         Always use new ANSI-style function prototypes.
1004         Use unistd.h for missing prototypes.
1005
1006         * unexelfsgi.c (round_up):
1007         (find_section):
1008         (unexec): Always use new ANSI-style function prototypes
1009
1010         * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
1011
1012         * console.h (struct console_methods): Always use full ANSI prototypes
1013
1014         * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
1015
1016 1999-03-02  Andy Piper  <andy@xemacs.org>
1017
1018         * event-stream.c (init_event_stream): make sure native mswindows
1019         gets an appropriate event loop.
1020
1021 1999-02-22  Andy Piper  <andy@xemacs.org>
1022
1023         * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1024         than SW_SHOWNORMAL to prevent resizing of maximised frames.
1025         (mswindows_raise_frame): remove comment.
1026
1027 1999-03-01  XEmacs Build Bot <builds@cvs.xemacs.org>
1028
1029         * XEmacs 21.2.11 is released
1030
1031 1999-02-25  SL Baur  <steve@xemacs.org>
1032
1033         * mule-charset.c (Qleading_byte): New variable to implement
1034         charset-leading-byte function.
1035         (Fcharset_property): Use it.
1036         (syms_of_mule_charset): Initialize it.
1037         From Kazuyuki IENAGA <ienaga@jsys.co.jp>
1038
1039 1999-02-17  Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
1040
1041         * glyphs-x.c (cononvert_EImage_to_XImage): correct
1042         bytes per pixel counting.
1043
1044 1999-02-15  Andy Piper  <andy@xemacs.org>
1045
1046         * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
1047         major lockups.
1048
1049 1999-02-16  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1050
1051         * fns.c (Fbase64_encode_string): New optional argument
1052         `NO_LINE_BREAK'.
1053
1054 1999-02-16  Martin Buchholz  <martin@xemacs.org>
1055
1056         * gdbinit:  Fix up commands to run temacs.  Add lisp-shadows command.
1057         * alloc.c (xcalloc):  undef xcalloc, just like xmalloc
1058
1059 1999-02-10  Martin Buchholz  <martin@xemacs.org>
1060
1061         * s/bsdos4.h: New file.  Port to BSDI BSD/OS 4.0.
1062         * xintrinsic.h:  Redo CONST support for X11 R4 compatibility.
1063
1064 1999-02-05  XEmacs Build Bot <builds@cvs.xemacs.org>
1065
1066         * XEmacs 21.2.10 is released
1067
1068 1999-02-02  Gleb Arshinov  <gleb@cs.stanford.edu>
1069
1070         * process-nt.c (nt_send_process):
1071         Fix for process-send-region/process-send-string breaking when size
1072         of the input > 128 chars: change maximum chunk size for process
1073         stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
1074         succeeds.
1075
1076 1999-02-02  XEmacs Build Bot <builds@cvs.xemacs.org>
1077
1078         * XEmacs 21.2.9 is released
1079
1080 1999-01-30  Martin Buchholz  <martin@xemacs.org>
1081
1082         * bytecode.c (funcall_compiled_function): Call
1083         UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
1084
1085         * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
1086         #ifdef 0 out unused macro.
1087
1088 1999-01-27  Martin Buchholz  <martin@xemacs.org>
1089
1090         * gui.c (gui_parse_item_keywords_internal): Make static.
1091
1092 1999-01-21  Andy Piper  <andy@xemacs.org>
1093
1094         * glyphs-msw.c: add xface support.
1095         (mswindows_xface_instantiate): new function copied from glyphs-x.c
1096         (image_instantiator_format_create_glyphs_mswindows): do device
1097         specific initialisation for xfaces.
1098         (xbm_create_bitmap_from_data): line data must be padded to a word
1099         boundary.
1100
1101         * glyphs-x.c (xface_validate): moved to glyphs.c
1102         (xface_normalize): ditto.
1103         (xface_possible_dest_types): ditto.
1104         (image_instantiator_format_create_glyphs_x): do device specific
1105         initialisation for xfaces.
1106
1107         * glyphs.h: declare xface symbol.
1108
1109         * glyphs.c: move generic xface support here.
1110         (xface_validate): moved from glyphs-x.c
1111         (xface_normalize): ditto.
1112         (xface_possible_dest_types): ditto.
1113         (image_instantiator_format_create): xface declarations moved from
1114         glyphs-x.c.
1115
1116 1999-01-14  Adrian Aichner  <aichner@ecf.teradyne.com>
1117
1118         * event-stream.c (vars_of_event_stream): Fixing documentation.
1119
1120 1999-01-17  Gunnar Evermann  <ge204@eng.cam.ac.uk>
1121
1122         * glyphs-eimage.c (gif_instantiate): Correct handling of
1123         interlaced gifs to avoid writing past the end of the eimage
1124         buffer.
1125
1126 1999-01-13  Hrvoje Niksic  <hniksic@srce.hr>
1127
1128         * search.c (Freplace_match): Handle single backslash at end of
1129         NEWTEXT correctly.
1130
1131 1999-01-12  William M. Perry  <wmperry@aventail.com>
1132
1133         * eldap.c (Fldap_open): slow down interrupts around ldap_open to
1134           avoid connection errors.
1135
1136 1999-01-12  Andy Piper  <andy@xemacs.org>
1137
1138         * redisplay-output.c (redisplay_update_line): backout change that
1139         shouldn't have gone ine.
1140
1141 1999-01-09  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
1142
1143         * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
1144         collide with ldap.el
1145
1146 1999-01-11  Andy Piper  <andy@xemacs.org>
1147
1148         * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
1149         (DISPLAY_LINE_YPOS): new macro.
1150
1151         * redisplay-msw.c (mswindows_output_string): use it.
1152         (mswindows_output_pixmap): ditto.
1153         (mswindows_output_display_block): ditto.
1154
1155         * redisplay-output.c (redisplay_output_display_block): new
1156         function. just call the devmeth, maybe insert some generic code
1157         here later.
1158         (compare_display_blocks): use it.
1159         (output_display_line): ditto.
1160         (redisplay_unmap_subwindows_maybe): new function. potentially
1161         unmap subwindows in the given area.
1162
1163         * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
1164         resetting.
1165
1166 1999-01-10  J. Kean Johnston  <jkj@sco.com>
1167
1168         * Makefile.in.in: Set value of moduledir
1169         - Changed DUMPENV to include $(MODULEPATH)
1170         - Added install rule to install header files for use by ellcc.
1171
1172         * config.h.in: Added INHIBIT_SITE_MODULES
1173         - Added HAVE__DLERROR
1174         - Added HAVE_DLFCN_H
1175         - Added DLSYM_NEEDS_UNDERSCORE
1176
1177         * dll.c: Removed.
1178
1179         * emodules.c: New file containing dynamic loading code.
1180
1181         * emodules.h: New file.
1182
1183         * emacs.c: Added variables Vmodule_directory,
1184         Vsite_module_directory, Vconfigure_module_directory and
1185         Vconfigure_site_module_directory.
1186         - (main_1): Added new variable inhibit_site_modules and command
1187         line options `-no-site-modules' and `--no-site-modules'.
1188         - (main_1): Call syms_of_module() instead of syms_of_dll().
1189         - (main_1): Call vars_of_module().
1190         - (vars_of_emacs): Introduce inhibit-site-modules,
1191         module-directory, configure-module-directory,
1192         site-module-directory, and configure-site-module-directory to the
1193         Lisp reader.
1194
1195         * lisp.h: Declare load_module and list_modules, as well as
1196         Vmodule_directory, Vsite_module_directory,
1197         Vconfigure_module_directory and Vconfigure_site_module_directory.
1198
1199         * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
1200         - Added correct support for site-lisp directory.
1201
1202         * symbols.c (defsubr): Modified to allow modules to add new subrs
1203         after dump time.
1204         - (defsubr_macro): Same.
1205         - (defvar_magick): Only use purespace when not initialized, so
1206         that loaded modules can still add symbols.
1207
1208         * symsinit.h: Add definitions for syms_of_module(),
1209         vars_of_module().  Removed syms_of_dll().
1210
1211         * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
1212         - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
1213         - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
1214
1215         * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
1216         explicitly pass -belf for native cc.
1217
1218         * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
1219         hard-coding the library name.
1220
1221 1999-01-01    <martin@xemacs.org>
1222
1223         * device-x.c (Fx_set_font_path):
1224         Add proper cast to permit compilation under C++.
1225
1226         * buffer.c (directory_is_current_directory):
1227         Add proper casts to permit compilation under C++.
1228
1229 1998-12-30  Damon Lipparelli  <lipp@primus.com>
1230
1231         * event-msw.c (mswindows_wnd_proc):
1232           Fixed failure when building with MSVC 5.
1233
1234 1998-12-29  Martin Buchholz  <martin@xemacs.org>
1235
1236         * file-coding.c (decode_coding_iso2022):
1237         - Prevent crash when decoding ISO7/Lock detected files
1238         - the usual martin fiddling
1239
1240 1998-12-29  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1241
1242         * event-msw.c:
1243           glyphs-msw.c:
1244           Fixed failures when building with MSVC.
1245         * unexnt.c (dump_bss_and_heap):
1246           Removed compiler warning by removing bss_data variable.
1247
1248 1998-12-18  Jim Radford  <radford@robby.caltech.edu>
1249
1250         * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
1251         so that packages that distribute their own fonts can access them.
1252
1253 1998-12-28  Andy Piper  <andy@xemacs.org>
1254
1255         * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
1256         that have an image provided.
1257
1258         * glyphs.h: add Q_image decl.
1259
1260         * glyphs-widget.c new functionality allowing images in
1261         widgets.
1262         (check_valid_glyph_or_image): new function to validate
1263         glyphs passed in through :image.
1264         (widget_normalize): new function. convert :image parameters into
1265         real glyphs if not already so.
1266         (widget_instantiate_1): mess with size parameters to be similar to
1267         :image if provided.
1268         (syms_of_glyphs_widget): new keyword :image.
1269         (image_instantiator_format_create_glyphs_widget): normalize
1270         buttons and allow :image.
1271
1272 1998-12-27  Andy Piper  <andy@xemacs.org>
1273
1274         * frame-msw.c (mswindows_init_frame_1): warning elimination.
1275
1276         * glyphs-widget.c (check_valid_anything): no-op function.
1277         (check_valid_callback): check callbacks in gui_items.
1278         (check_valid_symbol): as it sounds.
1279         (check_valid_string_or_vector): ditto.
1280         (widget_validate): modified for descriptors that are vectors or
1281         sequences of keyword/val pairs.
1282         (widget_instantiate_1): ditto.
1283         (image_instantiator_format_create_glyphs_widget): allow gui_item
1284         keywords in the instantiator.
1285
1286         * gui.c (gui_parse_item_keywords_internal): renamed from
1287         gui_parse_item_keywords but taking error behaviour.
1288         (gui_parse_item_keywords): use it.
1289         (gui_parse_item_keywords_no_errors): ditto.
1290         (gui_item_add_keyval_pair): add Error_behavior flag and only
1291         signal invalid keywords if required.
1292
1293         * gui.h: new gui signatures.
1294
1295         * menubar.c (menu_parse_submenu_keywords): use new
1296         gui_item_add_keyval_pair signature.
1297
1298         * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
1299
1300 1998-12-28  Martin Buchholz <martin@xemacs.org>
1301
1302         * XEmacs 21.2.8 is released.
1303
1304 1998-12-28  Martin Buchholz  <martin@xemacs.org>
1305
1306         * editfns.c (get_home_directory):
1307         (user-home-directory): Simplify.
1308
1309
1310         * callproc.c (child_setup):
1311         - Environment variables were being passed to inferior processes
1312           using internal encoding.
1313         - Convert to external encoding.
1314         - Rename local var `tem' to better name `tail'.
1315         - Use Flength instead of `manual' calculation.
1316
1317         * buffer.c (kill-buffer):
1318         (record-buffer):
1319         (set-buffer-major-mode):
1320         (current-buffer):
1321         - Fix up parameter names to correspond to docstrings.
1322         - Don't use `bufname' when a buffer will do as well.
1323         - Remove one unneeded GCPRO.
1324
1325         * buffer.h (initial_directory):
1326         * buffer.c (init_initial_directory):
1327         - use correct conversions between internal and external format.
1328         (directory_is_current_directory): new function
1329         (init_buffer): convert initial_directory to internal format.
1330         - solve crashes when current working directory is non-ASCII.
1331
1332         * alloc.c (xmalloc):
1333         (xcalloc):
1334         (xrealloc):
1335         - remove stupid casts, since XEmacs requires an ANSI C system.
1336         (lrecord_type_index): replace abort() with more readable assert().
1337
1338         (reset_lcrecord_stats): remove.
1339         (sweep_lcrecords_1):
1340         - replace call to reset_lcrecord_stats() with call to xzero().
1341
1342 1998-12-27  Martin Buchholz  <martin@xemacs.org>
1343
1344         * process-unix.c (unix_create_process):
1345         - Fix crash invoking program with non-ASCII name.
1346           Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
1347         - Remove unused variable `env'.
1348         - Rename `temp' to better name `save_errno'.
1349         - Reorganize code for clarity.  But still too chicken to nuke the
1350           BSD 4.2 support.
1351
1352 1998-12-24  Martin Buchholz <martin@xemacs.org>
1353
1354         * XEmacs 21.2.7 is released.
1355
1356 1998-12-23  Martin Buchholz  <martin@xemacs.org>
1357
1358         * glyphs.c (decode_device_ii_format):
1359         - Fix indentation.
1360         - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
1361
1362         * glyphs-x.c (x_subwindow_instantiate):
1363         - A image instance mask was being assigned to a image instance type!
1364         - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
1365
1366         * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
1367         Fix indentation.
1368         * glyphs-x.h: Make indentation consistent.
1369
1370         * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
1371
1372         * glyphs-widget.c (check_valid_glyph): Warning suppression.
1373         - Make it static
1374         - #ifdef it out, since it's not actually used yet (FIX THIS!)
1375
1376         * glyphs-widget.c:
1377         * glyphs.h:
1378         Move declarations of decode_device_ii_format and
1379         decode_image_instantiator_format into glyphs.h where they belong.
1380
1381 1998-12-22  Martin Buchholz  <martin@xemacs.org>
1382
1383         * frame-x.c (x_delete_frame): Revert part of my changes at the
1384         suggestion of Gunnar Evermann - unfortunately no one really
1385         understands this code.
1386
1387         * callproc.c (init_callproc): code cleanup.
1388
1389         * free-hook.c (malloc):
1390         (check_malloc):
1391         (__free_hook):
1392         (__malloc_hook):
1393         (__realloc_hook):
1394         (block_input_malloc):
1395         (block_input_realloc):
1396         * device-x.c (x_delete_device):
1397         * emacs.c (voodoo_free_hook):
1398         * events.c (print_event):
1399         (CHECK_EVENT_TYPE):
1400         (CHECK_EVENT_TYPE2):
1401         (CHECK_EVENT_TYPE3):
1402         Use proper prototypes.
1403         Make C_E_T macros a little faster.
1404         Pedantic fiddly little changes.  You really don't care.
1405
1406 1998-12-22  Andy Piper  <andy@xemacs.org>
1407
1408         * redisplay-output.c (redisplay_clear_region): make sure that
1409         fg/bg colors get set even when we are in the border area.
1410
1411 1998-12-13  Martin Buchholz  <martin@xemacs.org>
1412
1413         * console-msw.c: Function definitions follow coding standards
1414         - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1415
1416 1998-12-11  Martin Buchholz  <martin@xemacs.org>
1417
1418         * events.h (struct timeout_data):
1419         * event-tty.c (tty_timeout_to_emacs_event):
1420         * event-msw.c (mswindows_wm_timer_callback):
1421         * event-Xt.c (Xt_timeout_to_emacs_event):
1422         * event-msw.c (mswindows_cancel_dispatch_event):
1423         Make sure Lisp_Objects inside events are initialized to Qnil, not
1424         Qnull_pointer, which is now illegal.
1425
1426 1998-12-10  Martin Buchholz  <martin@xemacs.org>
1427
1428         * lisp.h: Fix up prototypes to match alloc.c
1429
1430 1998-12-08  Martin Buchholz  <martin@xemacs.org>
1431
1432         * windowsnt.h: Remove `support' for using index and rindex
1433
1434         * filelock.c (current_lock_owner):
1435         - Change uses of index -> strchr, rindex -> strrchr
1436
1437 1998-12-07  Martin Buchholz  <martin@xemacs.org>
1438
1439         * sysdep.c (set_descriptor_non_blocking):
1440         Since O_NONBLOCK is now always #defined, make use of fcntl
1441         conditional on F_SETFL being defined.
1442
1443         * console-msw.c (DHEADgER):
1444         (DOPAQUE_DATA):
1445         (DEVENT):
1446         (DCONS):
1447         (DCONSCDR):
1448         (DSTRING):
1449         (DVECTOR):
1450         (DSYMBOL):
1451         (DSYMNAME):
1452         - max_align_t should not be visible to the user of the
1453           XOPAQUE_DATA macro.
1454         - use Bufbyte instead of char
1455         - parens around (FOOP (obj)) are always redundant.
1456           If they were necessary, we should fix the macro instead.
1457         - Always use string_data(foo) instead of foo->data.
1458
1459
1460 1998-12-06  Martin Buchholz  <martin@xemacs.org>
1461
1462         * frame-msw.c (mswindows_init_frame_1):
1463         - use make_lisp_hash_table, not Fmake_hash_table
1464         - include elhash.h
1465
1466         * lisp.h:
1467         * alloc.c (make_vector): remove travesty
1468         (Fmake_vector):
1469         (make_pure_vector):
1470         (pure_cons):
1471         (make_bit_vector_internal):
1472         (make_bit_vector):
1473         (make_bit_vector_from_byte_vector):
1474         (Fmake_bit_vector):
1475         - make vector_equal a little faster.
1476         - Don't use variable name `new'.
1477         - Use size_t instead of EMACS_INT.
1478         - usual Martin-style pointless bit-twiddling.
1479
1480         * fns.c (mapcar1):
1481         (Fmapconcat):
1482         (Fmapcar):
1483         (Fmapvector):
1484         Make mapcar faster.  In particular, make
1485           (mapc #'identity long-string)
1486         MUCH faster under Mule.
1487         * tests/automated/lisp-tests.el: Test 'em!
1488
1489         * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1490         bytecode.
1491
1492 1998-12-01  Martin Buchholz  <martin@xemacs.org>
1493
1494         * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
1495         Qnil, not NULL, to initialize `null' Lisp_Objects.
1496
1497 1998-11-29  Hrvoje Niksic  <hniksic@srce.hr>
1498
1499         * specifier.c (display_table_validate): Update.
1500
1501         * redisplay.c (create_text_block): Use them.
1502
1503         * glyphs.c (display_table_entry): New function.
1504         (get_display_tables): Ditto.
1505
1506 1998-12-15  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
1507
1508         * eldap.c (toplevel): Mention that eldap.c compiles with
1509         OpenLDAP libs
1510         (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
1511         (Fldap_search_internal): Ditto
1512
1513 1998-12-11  Martin Buchholz  <martin@xemacs.org>
1514
1515         * event-msw.c (mswindows_cancel_dispatch_event):
1516         Gratuitous code prettification
1517
1518
1519 1998-12-07  Hrvoje Niksic  <hniksic@srce.hr>
1520
1521         * fns.c (Fnconc): Fix use of wrong_type_argument().
1522
1523         * floatfns.c (Ffloat): Fix docstring.
1524         (Ffloat): Fix use of wrong_type_argument().
1525         (Fabs): Ditto.
1526         (extract_float): Ditto.
1527         (Fceiling): Ditto.
1528         (Fround): Ditto.
1529         (Ftruncate): Ditto.
1530
1531 1998-12-06  Martin Buchholz  <martin@xemacs.org>
1532
1533         * frame-msw.c (mswindows_init_frame_1):
1534         - use make_lisp_hash_table, not Fmake_hash_table
1535         - include elhash.h
1536
1537         * lisp.h:
1538         * alloc.c (make_vector): remove travesty
1539         (Fmake_vector):
1540         (make_pure_vector):
1541         (pure_cons):
1542         (make_bit_vector_internal):
1543         (make_bit_vector):
1544         (make_bit_vector_from_byte_vector):
1545         (Fmake_bit_vector):
1546         - make vector_equal a little faster.
1547         - Don't use variable name `new'.
1548         - Use size_t instead of EMACS_INT.
1549         - usual Martin-style pointless bit-twiddling.
1550
1551         * fns.c (mapcar1):
1552         (Fmapconcat):
1553         (Fmapcar):
1554         (Fmapvector):
1555         Make mapcar faster.  In particular, make
1556           (mapc #'identity long-string)
1557         MUCH faster under Mule.
1558         * tests/automated/lisp-tests.el: Test 'em!
1559
1560         * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1561         bytecode.
1562
1563 1998-12-02  Didier Verna  <verna@inf.enst.fr>
1564
1565         * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
1566         accelerator field to nil for labels.
1567
1568 1998-12-16  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1569
1570         * menubar-msw.c (displayable_menu_item):
1571           Escape occurrences of '&' and support occurrences of the
1572          '%_' accelerator indicator in menus.
1573
1574 1998-11-26  Didier Verna  <verna@inf.enst.fr>
1575
1576         * dired.c (Fdirectory_files): use make_string instead of
1577         make_ext_string on the filename. The conversion external->internal
1578         format is already done in sys_readdir.
1579
1580 1998-12-15  Gunnar Evermann  <ge204@eng.cam.ac.uk>
1581
1582         * glyphs.c (normalize_image_instantiator): GCPRO instantiator
1583
1584 1998-12-16  Jonathan Harris  <jhar@tardis.ed.ac.uk>
1585
1586         * event-msw.c
1587           (Belatedly) added Kirill to list of file's authors.
1588           emacs_mswindows_quit_p: Don't process WM_PAINT messages in
1589           quit checking. WM_PAINT messages cause redisplay, but
1590           windows' states are not necessarily stable when this function
1591           gets called.
1592
1593 1998-12-17  Andy Piper  <andy@xemacs.org>
1594
1595         * strftime.c (zone_name): CONSTify.
1596
1597 1998-12-15  Andy Piper  <andy@xemacs.org>
1598
1599         * glyphs-msw.c (mswindows_combo_instantiate): ditto.
1600         (mswindows_widget_property): return Qunbound when no property available.
1601         (mswindows_button_property): ditto.
1602         (mswindows_combo_property): ditto.
1603         (mswindows_widget_set_property): ditto.
1604
1605         * glyphs-widget.c (check_valid_item_list): use properties.
1606
1607         * glyphs.h (struct Lisp_Image_Instance): we have properties now.
1608
1609         * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
1610         (Fimage_instance_property): ditto.
1611         * glyphs-widget.c (widget_property): ditto.
1612         (widget_set_property): ditto.
1613
1614         * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
1615         as setting the class cursor so that GC actually changes the
1616         cursor.
1617
1618         * config.h: don't undef MAIL_USE_POP.
1619
1620 1998-12-13  Andy Piper  <andy@xemacs.org>
1621
1622         * glyphs-msw.c
1623         (image_instantiator_format_create_glyphs_mswindows): line ->
1624         label.
1625         (mswindows_label_instantiate): ditto. Play with window flags.
1626         (image_instantiator_format_create_glyphs_mswindows): ditto.
1627         (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
1628
1629         * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
1630         cope with lines and labels.
1631         (static_instantiate): use widget_instantiate_1.
1632         line -> label.
1633         (image_instantiator_format_create_glyphs_widget): ditto.
1634
1635 1998-12-10  Andy Piper  <andy@xemacs.org>
1636
1637         * Makefile.in.in (objs): add gui.o
1638
1639 1998-12-10  Andy Piper  <andy@xemacs.org>
1640
1641         * gui.c: adjust defines of HAVE_POPUPS so that we can build with
1642         no window system.
1643
1644 1998-12-09  Andy Piper  <andy@xemacs.org>
1645
1646         * glyphs.c (finalize_image_instance): mark glyphs changed when an
1647         image instance is removed so that the subwindow cache gets reset
1648         and thus destroyed images get GC'd.
1649
1650 1998-12-08  Andy Piper  <andy@xemacs.org>
1651
1652         * gui-msw.c (mswindows_handle_gui_wm_command): call
1653         MARK_SUBWINDOWS_CHANGED.
1654
1655         * glyphs-msw.c (mswindows_finalize_image_instance): make sure
1656         subwindows really get deleted.
1657
1658         * redisplay.c: new variable subwindows_changed[_set].
1659         (redisplay_window): use it.
1660         (redisplay_frame): ditto.
1661         (redisplay_device): ditto.
1662         (redisplay_without_hooks): ditto.
1663
1664         * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
1665         subwindows redisplay as per glyphs equivalent.
1666         * redisplay.h: ditto.
1667         (MARK_SUBWINDOWS_CHANGED): ditto.
1668         (RESET_CHANGED_SET_FLAGS): ditto.
1669         * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
1670
1671 1998-12-07  Andy Piper  <andy@xemacs.org>
1672
1673         * frame.c (Fmake_frame): reset subwindow cachels on non-stream
1674         frames.
1675
1676         * redisplay.c (redisplay_frame): invalidate subwindow cachels.
1677
1678         * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
1679         messages and paint widget glyphs as appropriate with their face fg
1680         & bg.
1681
1682 1998-12-06  Andy Piper  <andy@xemacs.org>
1683
1684         * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
1685         here rather than in glyphs-widget - do this because we only want
1686         to provide what is really available.
1687
1688         * glyphs.c (Fimage_instance_property): new function to get the
1689         properties of image instances. wires through to console specific
1690         methods and then to widget specific methods.
1691         (Fset_image_instance_property): ditto but for setting widget properties.
1692         (check_valid_face): make extern so that it can be used elsewhere.
1693
1694         * glyphs-widget.c (widget_property): new function. gets the
1695         properties of widgets in general and wires the function through to
1696         widget specific ones.
1697         (widget_set_property): ditto but for setting widget properties.
1698
1699         * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
1700         add items to the list. Play with window styles a bit to get the
1701         desired effect.
1702         (mswindows_widget_property): break out specific widget properties.
1703         (mswindows_button_property): new function. gets the checked state
1704         of a button.
1705         (mswindows_combo_property): new function. gets the current
1706         selection in the combo box.
1707         (mswindows_widget_set_property): new function. sets specific
1708         properties of specific widgets.
1709
1710         * glyphs-widget.c (check_valid_item_list): new function. check
1711         that items for a combo-box are just a list of strings.
1712         (combo_validate): new function. check there is an item list.
1713         (widget_instantiate_1): new function. renamed from
1714         widget_instantiate so that we can do slightly different things for
1715         other widgets.
1716         (widget_instantiate): call widget_instantiate_1.
1717         (combo_instantiate): new function to instantiate combo boxes,
1718         defaults height to the pixel height of the number of items in the
1719         box.
1720         (syms_of_glyphs_widget): move widget keywords here.
1721         (image_instantiator_format_create_glyphs_widget): use new combo
1722         functions.
1723
1724 1998-12-04  Andy Piper  <andy@xemacs.org>
1725
1726         * event-msw.c (mswindows_wnd_proc): mule-ize.
1727
1728         * glyphs.c (pixmap_to_lisp_data): mule-ize.
1729
1730         * glyphs-msw.c (extract_xpm_color_names): mule-ize.
1731         (resource_name_to_resource): ditto.
1732         (mswindows_resource_instantiate): ditto.
1733         (mswindows_widget_instantiate): ditto.
1734         (mswindows_widget_set_property): ditto.
1735
1736         * redisplay-output.c (redisplay_output_subwindow): don't show
1737         subwindows if they are obscured at the edge of the frame, emacs
1738         gets into some sort of redisplay loop otherwise.
1739
1740         * gui.h: prototype gui_item_selected_p.
1741
1742         * gui.c (gui_item_selected_p): new function to determine the
1743         selected state of a gui_item.
1744
1745         * frame.h (struct frame): add subwindows_changed flag.
1746
1747         * redisplay.c (redisplay_frame): call update_frame_subwindows ().
1748
1749         * glyphs.c (update_subwindow): new function to update a
1750         subwindow's state.
1751         (update_frame_subwindows): new function to update all the
1752         subwindows on a frame.
1753
1754         * console.h (struct console_methods): add update_subwindow.
1755
1756         * glyphs-msw.c (mswindows_widget_property): return selected state
1757         for selected property.
1758         (mswindows_update_subwindow): new function. updates widget glyphs
1759         in redisplay as per menubars or toolbars e.g. selected state.
1760         (console_type_create_glyphs_mswindows): add update_subwindow.
1761
1762 1998-12-03  Andy Piper  <andy@xemacs.org>
1763
1764         * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
1765         tty coding system things are such.
1766
1767         * glyphs-widget.c (widget_face_font_info): new function for
1768         pulling out height and width metrics for a widget's face.
1769         (widget_text_to_pixel_conversion): calculate pixel sizes of text
1770         for widgets.
1771
1772         * event-msw.c (mswindows_drain_windows_queue): translate messages
1773         that are destined for subwindows. This makes edit fields interact
1774         with the keyboard correctly.
1775         nuke warnings by #ifndef'ing out stuff not required by msg select().
1776
1777         * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
1778         macro defining the iiforma without the symbol required by widget.
1779         (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
1780
1781         * general.c (syms_of_general): add Qwidget, Qselected.
1782
1783         * faces.c (complex_vars_of_faces): add widget face inheriting from
1784         gui-element face.
1785
1786 1998-11-09  Andy Piper  <andy@xemacs.org>
1787
1788         * window.h (struct window): add a cache of subwindows on a
1789         per-window basis.
1790
1791         * window.c (mark_window): mark the subwindow_instance_cache.
1792         (allocate_window): initialise the subwindow instance_cache.
1793
1794         * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
1795         instead of the devmeth.
1796         (x_clear_toolbar): ditto.
1797
1798         * redisplay-x.c (x_output_display_block): call
1799         redisplay_output_subwindow for subwindows and widgets.
1800
1801         * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
1802         types to do nothing for.
1803
1804         * lisp.h: declare new widget/subwindow symbols.
1805
1806         * glyphs.c (image_instantiate): cache subwindows on a per-window
1807         basis.
1808         (subwindow_possible_dest_types): new function for subwindow dest
1809         types.
1810         (subwindow_instantiate): generic instantiation of a
1811         subwindow. specialised by device multi-methods.
1812         (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
1813         subwindows.
1814         (Fimage_instance_subwindow_id): ditto.
1815         (Fresize_subwindow): ditto.
1816         (Fforce_subwindow_map): ditto.
1817
1818         * glyphs-x.c (x_print_image_instance): remove subwindow
1819         stuff. Handled genrically in glyphs.c.
1820         (x_image_instance_equal): ditto.
1821         (x_image_instance_hash): ditto.
1822         (x_finalize_image_instance): delete subwindows when required.
1823         (mark_subwindow) (print_subwindow) (finalize_subwindow)
1824         (subwindow_hash) (Fmake_subwindow): deleted because of new,
1825         glyph-based, subwindow implementation.
1826         (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
1827         in glyphs.el
1828         (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
1829         glyphs.c.
1830         (x_unmap_subwindow): new function to unmap X subwindows.
1831         (x_map_subwindow): new function to map X subwindows.
1832         (x_subwindow_instantiate): new function to instantiate X
1833         subwindows.
1834         (x_resize_subwindow): new function to resize X subwindows.
1835         (console_type_create_glyphs_x): add subwindow functions.
1836         (image_instantiator_format_create_glyphs_x): add device
1837         multi-methods for xpm, xbm and subwindow.
1838
1839         * glyphs.el (subwindow-xid): old alias for new subwindow functions.
1840         (subwindow-width): ditto.
1841         (subwindow-height): ditto.
1842
1843         * glyphs-msw.c (mswindows_widget_instantiate): new function for
1844         generally instantiating ms subwindows. Used by
1845         mswindows_*_instantiate.
1846         (mswindows_edit_instantiate): instantiate an edit field on a
1847         mswindows frame.
1848
1849 1998-11-04  Andy Piper  <andy@xemacs.org>
1850
1851         * symsinit.h: declare new functions.
1852
1853         * redisplay.h: declare new functions.
1854
1855         * redisplay-x.c (x_output_display_block): call
1856         redisplay_clear_region rather than x_clear_region.
1857         (x_output_string): ditto.
1858         (x_output_pixmap): ditto.
1859         (x_clear_to_window_end): ditto.
1860         (x_output_eol_cursor): ditto.
1861         (x_clear_region): only do X specific things. other duties handled
1862         in redisplay_clear_region.
1863
1864         * redisplay-tty.c (tty_clear_region): do tty specific things - some
1865         duties moved to redisplay_clear_region.
1866
1867         * redisplay-output.c (clear_left_border): use
1868         redisplay_clear_region instead of device method.
1869         (clear_right_border): ditto.
1870         (output_display_line): ditto.
1871         (redisplay_output_subwindow): ditto.
1872         (redisplay_clear_top_of_window): ditto.
1873         (redisplay_clear_region): perform duties previously handled by
1874         device methods. call the appropriate device method at the
1875         end. unmap subwindows if necessary.
1876
1877         * redisplay-msw.c (mswindows_output_string): use
1878         redisplay_clear_region instead of mswindows_clear_region.
1879         (mswindows_clear_to_window_end): ditto.
1880         (mswindows_output_display_block): output subwindows when required.
1881         (mswindows_clear_region): only do mswindows specific things,
1882         everything else is now handled in redisplay_clear_region.
1883
1884         * gui.h: add item id hash defines and declare function prototypes.
1885
1886         * gui.c (mark_gui_item): new function for marking gui_items.
1887         (gui_item_hash): generic hash function for generating command ids
1888         for gui_items.
1889
1890         * gui-msw.c: new file.
1891         (mswindows_handle_gui_wm_command): new function to handle widget
1892         callbacks.
1893
1894         * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
1895         multi-methods.
1896         (IIFORMAT_HAS_SHARED_METHOD): ditto.
1897         (DEFINE_DEVICE_IIFORMAT): ditto.
1898         (INITIALIZE_DEVICE_IIFORMAT): ditto.
1899         (struct Lisp_Image_Instance): add widget and subwindow data plus
1900         appropriate access functions.
1901
1902         * glyphs.c (decode_device_ii_format): new function for decoding
1903         image instantiator functions based on a device type as well as an
1904         image format.
1905         (decode_image_instantiator_format): just call
1906         decode_device_ii_format with nil device.
1907         (add_entry_to_device_ii_format_list): new function for per device
1908         method instances.
1909         (add_entry_to_image_instantiator_format_list): just call
1910         add_entry_to_device_ii_format_list with nil device.
1911         (check_valid_vector): new function.
1912         (instantiate_image_instantiator): instantiate using per-format
1913         method and then per-format-per-device method (device
1914         multi-methods). signal an error if neither is possible.
1915         (mark_image_instance): cope with subwindows and widgets.
1916         (print_image_instance): ditto.
1917         (image_instance_equal): ditto.
1918         (image_instance_hash): ditto.
1919         (allocate_glyph): ditto.
1920         (glyph_width): ditto.
1921         (glyph_height_internal): ditto.
1922         (xpm_instantiate): removed because of device multi-methods.
1923         (mark_subwindow_cachels): new cachel functions for caching
1924         instantiated subwindows on a per-frame basis. mostly copied from
1925         glyph cachel functions.
1926         (update_subwindow_cachel_data): ditto.
1927         (add_subwindow_cachel): ditto.
1928         (get_subwindow_cachel_index): ditto.
1929         (reset_subwindow_cachels): ditto.
1930         (mark_subwindow_cachels_as_not_updated): ditto.
1931         (unmap_subwindow): generic unmapping of subwindows based on cachel
1932         data.
1933         (map_subwindow): ditto.
1934         (initialize_subwindow_image_instance): generic initialisation of
1935         subwindow data.
1936         (syms_of_glyphs): add widget keywords.
1937
1938         * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
1939         x_subwindow_data.
1940
1941 1998-11-04  Andy Piper  <andy@xemacs.org>
1942
1943         * glyphs-widget.c: new file for instantiating widget type glyphs.
1944         (widget_possible_dest_types): new general dest type function for
1945         widgets.
1946         (widget_validate): ditto.
1947         (initialize_widget_image_instance): ditto
1948         (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
1949         before handing on control to device multi-methods.
1950         (syms_of_glyphs_widget): new function.
1951         (image_instantiator_format_create_glyphs_widget): new function,
1952         added placeholders for button, edit, combo, scrollbar
1953         (vars_of_glyphs_widget): new function.
1954
1955         * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
1956         storing window ids of widgets.
1957
1958         * glyphs-msw.c (mswindows_finalize_image_instance): cope with
1959         deletion of widget and subwindow glyphs.
1960         (mswindows_unmap_subwindow): new device function for unmapping
1961         subwindows on a msw frame.
1962         (mswindows_map_subwindow): ditto.
1963         (mswindows_register_image_instance): register instantiated widgets
1964         with the widget hastable.
1965         (mswindows_button_instantiate): instantiate a button type widget
1966         on an msw frame.
1967         (mswindows_subwindow_instantiate): instanttiate a subwindow on a
1968         mswindows frame.
1969         (image_instantiator_format_create_glyphs_mswindows): add device
1970         multi-methods for xbm, xpm, subwindow, edit and button.
1971
1972         * frame.h (struct frame): add subwindow_cachels dynarr for caching
1973         information about subwindows visible on the current frame. used by
1974         redisplay_clear_region to unmap subwindows as required.
1975
1976         * frame.c (mark_frame): mark subwindow_cachels.
1977         (allocate_frame_core): instantiate subwindow_cachels.
1978
1979         * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
1980         widget hashtable.
1981
1982         * event-msw.c (mswindows_wnd_proc): add call to
1983         mswindows_handle_gui_wm_command to handle widget callbacks.
1984
1985         * emacs.c (main_1): add calls to glyphs-widget initialisation
1986         routines.
1987
1988         * console.h (struct console_methods): add
1989         unmap/map_subwindow_method for use be redisplay_clear_region to
1990         map and unmap subwindows. Remove xpm and xbm stuff - now dealt
1991         with by image instantiator multi-methods. Add
1992         resize_subwindow_method.
1993
1994         * console-stream.c (stream_clear_region): change signature to
1995         match new generic clear region function.
1996
1997         * Makefile.in.in: add glyphs-widget.o to list of objects.
1998
1999         * console-msw.h (struct mswindows_frame): add widget hashtable for
2000         wiring command ids to callbacks.
2001
2002 1998-12-16  Andy Piper  <andy@xemacs.org>
2003
2004         * XEmacs 21.2.6 is released
2005
2006 1998-12-08  Hrvoje Niksic  <hniksic@srce.hr>
2007
2008         * md5.c (Fmd5): Correctly initiate string input stream.
2009
2010         * Makefile.in.in (tests): Add md5-tests.el.
2011
2012 1998-12-06  Martin Buchholz  <martin@xemacs.org>
2013
2014         * lisp.h:
2015         * alloc.c (make_vector): remove travesty
2016         (Fmake_vector):
2017         (make_pure_vector):
2018         (pure_cons):
2019         (make_bit_vector_internal):
2020         (make_bit_vector):
2021         (make_bit_vector_from_byte_vector):
2022         (Fmake_bit_vector):
2023         - make vector_equal a little faster.
2024         - Don't use variable name `new'.
2025         - Use size_t instead of EMACS_INT.
2026         - usual Martin-style pointless bit-twiddling.
2027
2028         * fns.c (mapcar1):
2029         (Fmapconcat):
2030         (Fmapcar):
2031         (Fmapvector):
2032         Make mapcar faster.  In particular, make
2033           (mapc #'identity long-string)
2034         MUCH faster under Mule.
2035         * tests/automated/lisp-tests.el: Test 'em!
2036
2037 1998-12-06  Martin Buchholz  <martin@xemacs.org>
2038
2039         * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2040         bytecode.
2041
2042 1998-12-13  Martin Buchholz  <martin@xemacs.org>
2043
2044         * console-msw.c: Function definitions follow coding standards
2045         - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2046
2047 1998-12-11  Martin Buchholz  <martin@xemacs.org>
2048
2049         * events.h (struct timeout_data):
2050         * event-tty.c (tty_timeout_to_emacs_event):
2051         * event-msw.c (mswindows_wm_timer_callback):
2052         * event-Xt.c (Xt_timeout_to_emacs_event):
2053         * event-msw.c (mswindows_cancel_dispatch_event):
2054         Make sure Lisp_Objects inside events are initialized to Qnil, not
2055         Qnull_pointer, which is now illegal.
2056
2057 1998-12-10  Martin Buchholz  <martin@xemacs.org>
2058
2059         * lisp.h: Fix up prototypes to match alloc.c
2060
2061 1998-12-09  Andy Piper  <andy@xemacs.org>
2062
2063         * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
2064         XSETINT for assigning lisp objects.
2065
2066 1998-12-07  Martin Buchholz  <martin@xemacs.org>
2067
2068         * opaque.h:
2069         * console-msw.c (DHEADER):
2070         (DOPAQUE_DATA):
2071         (DEVENT):
2072         (DCONS):
2073         (DCONSCDR):
2074         (DSTRING):
2075         (DVECTOR):
2076         (DSYMBOL):
2077         (DSYMNAME):
2078         - max_align_t should not be visible to the user of the
2079           XOPAQUE_DATA macro.
2080         - use Bufbyte instead of char
2081         - parens around (FOOP (obj)) are always redundant.
2082           If they were necessary, we should fix the macro instead.
2083         - Always use string_data(foo) instead of foo->data.
2084
2085 1998-12-07  Martin Buchholz  <martin@xemacs.org>
2086
2087         * sysdep.c (set_descriptor_non_blocking):
2088         Since O_NONBLOCK is now always #defined, make use of fcntl
2089         conditional on F_SETFL being defined.
2090
2091 1998-12-09  Andy Piper  <andy@xemacs.org>
2092
2093         * menubar-msw.c (mswindows_handle_wm_command): add back in checks
2094         that got removed in the merge
2095
2096 1998-11-30  Greg Klanderman  <greg@alphatech.com>
2097
2098         * dired.c (vars_of_dired): bugfix for previous conditionalization
2099         of user-name-completion on non- Windows NT.
2100
2101 1998-12-08  Martin Buchholz  <martin@xemacs.org>
2102
2103         * windowsnt.h: Remove `support' for using index and rindex
2104
2105         * filelock.c (current_lock_owner):
2106         - Change uses of index -> strchr, rindex -> strrchr
2107
2108 1998-12-06  Martin Buchholz  <martin@xemacs.org>
2109
2110         * frame-msw.c (mswindows_init_frame_1):
2111         - use make_lisp_hash_table, not Fmake_hash_table
2112         - include elhash.h
2113
2114 1998-12-05  XEmacs Build Bot <builds@cvs.xemacs.org>
2115
2116         * XEmacs 21.2.5 is released
2117
2118 1998-11-30  Martin Buchholz  <martin@xemacs.org>
2119
2120         * xselect.c (receive_incremental_selection):
2121         * xselect.c (x_get_window_property):
2122         * xmu.c (XmuReadBitmapDataFromFile):
2123         * xmu.c (XmuCursorNameToIndex):
2124         * xgccache.c (describe_gc_cache):
2125         * xgccache.c (gc_cache_lookup):
2126         * xgccache.c (free_gc_cache):
2127         * xgccache.c (make_gc_cache):
2128         * window.h:
2129         * window.c (map_windows_1):
2130         * window.c (Fother_window_for_scrolling):
2131         * window.c (window_scroll):
2132         * window.c (change_window_height):
2133         * window.c (Fsplit_window):
2134         * window.c (window_left_gutter_width):
2135         * window.c (window_modeline_height):
2136         * window.c (invalidate_vertical_divider_cache_in_window):
2137         * window.c (window_needs_vertical_divider_1):
2138         * window.c (update_mirror_internal):
2139         * window.c (SET_LAST_FACECHANGE):
2140         * widget.c (Fwidget_plist_member):
2141         * unexec.c (copy_text_and_data):
2142         * unexcw.c (copy_executable_and_dump_data_section):
2143         * tooltalk.doc:
2144         * tooltalk.c (struct Lisp_Tooltalk_Pattern):
2145         * tooltalk.c (struct Lisp_Tooltalk_Message):
2146         * toolbar.h (struct toolbar_button):
2147         * toolbar.c (default_toolbar_visible_p_changed_in_window):
2148         * toolbar.c (recompute_overlaying_specifier):
2149         * toolbar.c (toolbar_validate):
2150         * toolbar.c (toolbar_button_at_pixpos):
2151         * toolbar.c (get_toolbar_coords):
2152         * toolbar.c (update_frame_toolbars):
2153         * toolbar-x.c:
2154         * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
2155         * toolbar-msw.c (mswindows_find_toolbar_pos):
2156         * toolbar-msw.c (mswindows_output_toolbar):
2157         * toolbar-msw.c (mswindows_clear_toolbar):
2158         * toolbar-msw.c:
2159         * systty.h:
2160         * syssignal.h:
2161         * sysproc.h:
2162         * sysfile.h:
2163         * sysdll.c:
2164         * sysdep.h:
2165         * sysdep.c (rmdir):
2166         * sysdep.c (sys_fopen):
2167         * sysdep.c (sys_open):
2168         * sysdep.c (tty_init_sys_modes_on_device):
2169         * sysdep.c (get_eof_char):
2170         * sysdep.c (child_setup_tty):
2171         * sysdep.c (set_descriptor_non_blocking):
2172         * syntax.h:
2173         * syntax.c (scan_words):
2174         * syntax.c:
2175         * symsinit.h:
2176         * symeval.h (struct symbol_value_varalias):
2177         * symeval.h (struct symbol_value_forward):
2178         * symbols.c (syms_of_symbols):
2179         * symbols.c (init_symbols_once_early):
2180         * symbols.c (Fbuilt_in_variable_type):
2181         * symbols.c (Fsymbol_value_in_buffer):
2182         * symbols.c (default_value):
2183         * symbols.c (Fset):
2184         * symbols.c (find_symbol_value_quickly):
2185         * symbols.c (store_symval_forwarding):
2186         * symbols.c (set_default_console_slot_variable):
2187         * symbols.c (set_default_buffer_slot_variable):
2188         * symbols.c (verify_ok_for_buffer_local):
2189         * symbols.c (symbol_is_constant):
2190         * symbols.c (oblookup):
2191         * symbols.c (Funintern):
2192         * symbols.c (Fintern):
2193         * symbols.c (check_obarray):
2194         * sunplay.c:
2195         * specifier.h (struct specifier_methods):
2196         * specifier.h:
2197         * specifier.c (specifier_instance):
2198         * specifier.c (specifier_instance_from_inst_list):
2199         * specifier.c (decode_locale_type):
2200         * specifier.c (specifier_equal):
2201         * specifier.c (finalize_specifier):
2202         * specifier.c (prune_specifiers):
2203         * specifier.c (kill_specifier_buffer_locals):
2204         * sound.c (init_native_sound):
2205         * sound.c:
2206         * signal.c (alarm):
2207         * search.c (Fmatch_data):
2208         * search.c (match_limit):
2209         * search.c (Freplace_match):
2210         * search.c (skip_chars):
2211         * search.c (scan_buffer):
2212         * search.c:
2213         * scrollbar.c (specifier_vars_of_scrollbar):
2214         * scrollbar.c (Fscrollbar_set_hscroll):
2215         * scrollbar.c (vertical_scrollbar_changed_in_window):
2216         * scrollbar.c (release_window_mirror_scrollbars):
2217         * scrollbar.c (free_scrollbar_instance):
2218         * scrollbar-x.c:
2219         * scrollbar-msw.c:
2220         * s/msdos.h (O_BINARY):
2221         * s/linux.h:
2222         * s/freebsd.h (LIBS_TERMCAP):
2223         * regex.c (re_match_2_internal):
2224         * regex.c (compile_extended_range):
2225         * regex.c (POP_FAILURE_POINT):
2226         * regex.c (PUSH_FAILURE_POINT):
2227         * redisplay.h (RESET_CHANGED_SET_FLAGS):
2228         * redisplay.h:
2229         * redisplay.h (struct display_line):
2230         * redisplay.h (struct rune):
2231         * redisplay.c (vars_of_redisplay):
2232         * redisplay.c (redisplay_variable_changed):
2233         * redisplay.c (UPDATE_CACHE_RETURN):
2234         * redisplay.c (validate_line_start_cache):
2235         * redisplay.c (mark_redisplay_structs):
2236         * redisplay.c (mark_glyph_block_dynarr):
2237         * redisplay.c (window_line_number):
2238         * redisplay.c (redisplay_frame):
2239         * redisplay.c (redisplay_window):
2240         * redisplay.c (generate_modeline):
2241         * redisplay.c (create_right_glyph_block):
2242         * redisplay.c (create_left_glyph_block):
2243         * redisplay.c (create_text_block):
2244         * redisplay.c:
2245         * redisplay-x.c (x_output_hline):
2246         * redisplay-x.c (x_output_vertical_divider):
2247         * redisplay-tty.c (tty_output_display_block):
2248         * redisplay-output.c (output_display_line):
2249         * redisplay-output.c:
2250         * redisplay-msw.c (mswindows_output_vertical_divider):
2251         * redisplay-msw.c (mswindows_ring_bell):
2252         * redisplay-msw.c (mswindows_output_cursor):
2253         * redisplay-msw.c:
2254         * rangetab.c:
2255         * ralloc.c:
2256         * puresize.h (RAW_PURESIZE):
2257         * profile.c (syms_of_profile):
2258         * profile.c (Fstart_profiling):
2259         * profile.c (sigprof_handler):
2260         * profile.c:
2261         * procimpl.h:
2262         * process.c (vars_of_process):
2263         * process.c (read_process_output):
2264         * process.c (get_process):
2265         * process.c:
2266         * process-unix.c (unix_open_multicast_group):
2267         * process-unix.c (unix_get_tty_name):
2268         * process-unix.c (unix_send_process):
2269         * process-unix.c (unix_reap_exited_processes):
2270         * process-unix.c (unix_create_process):
2271         * process-unix.c (unix_init_process_io_handles):
2272         * process-unix.c (allocate_pty):
2273         * process-unix.c:
2274         * process-nt.c (nt_open_network_stream):
2275         * process-nt.c (nt_update_status_if_terminated):
2276         * process-nt.c (nt_finalize_process_data):
2277         * process-nt.c:
2278         * print.c (debug_short_backtrace):
2279         * print.c (debug_backtrace):
2280         * print.c (print_symbol):
2281         * print.c (print_internal):
2282         * print.c (print_cons):
2283         * print.c (Fwrite_char):
2284         * print.c (print_prepare):
2285         * print.c (canonicalize_printcharfun):
2286         * print.c (output_string):
2287         * print.c:
2288         * opaque.h:
2289         * opaque.c (allocate_managed_opaque):
2290         * opaque.c:
2291         * offix.c (DndSetData):
2292         * objects.c (face_boolean_create):
2293         * objects.c (font_instantiate):
2294         * objects.c (font_create):
2295         * objects.c (color_create):
2296         * objects.c (finalize_font_instance):
2297         * objects.c (finalize_color_instance):
2298         * objects.c:
2299         * objects-x.c (x_font_instance_truename):
2300         * objects-x.c:
2301         * objects-x.c (x_initialize_font_instance):
2302         * objects-x.c (allocate_nearest_color):
2303         * objects-tty.c (tty_initialize_font_instance):
2304         * objects-tty.c (tty_initialize_color_instance):
2305         * objects-msw.c (mswindows_initialize_color_instance):
2306         * ntproc.c (syms_of_ntproc):
2307         * ntproc.c (Fwin32_set_process_priority):
2308         * ntproc.c (sys_spawnve):
2309         * ntproc.c:
2310         * ntheap.c (get_data_end):
2311         * nt.c (period):
2312         * nt.c:
2313         * nt.c (stat):
2314         * nt.c (generate_inode_val):
2315         * nt.c (sys_rename):
2316         * nas.c:
2317         * mule-wnnfns.c (Fwnn_hinsi_number):
2318         * mule-wnnfns.c (Fwnn_yuragi):
2319         * mule-wnnfns.c (Fwnn_common_learn):
2320         * mule-wnnfns.c (Fwnn_suffix_learn):
2321         * mule-wnnfns.c (Fwnn_prefix_learn):
2322         * mule-wnnfns.c (Fwnn_okuri_learn):
2323         * mule-wnnfns.c (Fwnn_complex_conv):
2324         * mule-wnnfns.c (Fwnn_last_is_first):
2325         * mule-wnnfns.c (Fwnn_bmodify_dict_add):
2326         * mule-wnnfns.c (Fwnn_notrans_dict_add):
2327         * mule-wnnfns.c (Fwnn_fiusr_dict_add):
2328         * mule-wnnfns.c (Fwnn_fisys_dict_add):
2329         * mule-wnnfns.c (Fwnn_hinsi_list):
2330         * mule-wnnfns.c (Fwnn_fuzokugo_set):
2331         * mule-wnnfns.c (Fwnn_dict_search):
2332         * mule-wnnfns.c (Fwnn_word_toroku):
2333         * mule-wnnfns.c (Fwnn_hindo_update):
2334         * mule-wnnfns.c (Fwnn_bunsetu_henkou):
2335         * mule-wnnfns.c (Fwnn_kakutei):
2336         * mule-wnnfns.c (Fwnn_begin_henkan):
2337         * mule-wnnfns.c (Fwnn_dict_comment):
2338         * mule-wnnfns.c (Fwnn_dict_add):
2339         * mule-wnnfns.c (Fwnn_open):
2340         * mule-mcpath.c (mc_getcwd):
2341         * mule-coding.c (vars_of_mule_coding):
2342         * mule-coding.c (convert_to_external_format):
2343         * mule-coding.c (encoding_marker):
2344         * mule-coding.c (decoding_marker):
2345         * mule-coding.c (Fcopy_coding_system):
2346         * mule-coding.c (Fmake_coding_system):
2347         * mule-coding.c (Fcoding_system_list):
2348         * mule-coding.c (Ffind_coding_system):
2349         * mule-coding.c (symbol_to_eol_type):
2350         * mule-coding.c:
2351         * mule-charset.c (complex_vars_of_mule_charset):
2352         * mule-charset.c (vars_of_mule_charset):
2353         * mule-charset.c (Fset_charset_ccl_program):
2354         * mule-charset.c (struct charset_list_closure):
2355         * mule-charset.c (Ffind_charset):
2356         * mule-charset.c (make_charset):
2357         * mule-charset.c (non_ascii_valid_char_p):
2358         * mule-charset.c:
2359         * mule-ccl.c (ccl_driver):
2360         * mule-canna.c (c2mu):
2361         * mule-canna.c (Fcanna_henkan_begin):
2362         * mule-canna.c (Fcanna_parse):
2363         * mule-canna.c (Fcanna_store_yomi):
2364         * mule-canna.c (Fcanna_touroku_string):
2365         * mule-canna.c (Fcanna_initialize):
2366         * minibuf.c:
2367         * menubar.c (menu_parse_submenu_keywords):
2368         * menubar-x.c (make_dummy_xbutton_event):
2369         * menubar-x.c (set_frame_menubar):
2370         * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2371         * menubar-x.c:
2372         * menubar-msw.h:
2373         * menubar-msw.c (mswindows_popup_menu):
2374         * menubar-msw.c (mswindows_update_frame_menubars):
2375         * menubar-msw.c (mswindows_handle_wm_command):
2376         * menubar-msw.c (unsafe_handle_wm_initmenu_1):
2377         * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
2378         * menubar-msw.c (update_frame_menubar_maybe):
2379         * menubar-msw.c (populate_or_checksum_helper):
2380         * menubar-msw.c (empty_menu):
2381         * menubar-msw.c:
2382         * md5.c:
2383         * marker.c (set_marker_internal):
2384         * marker.c (print_marker):
2385         * malloc.c:
2386         * make-src-depend:
2387         * lstream.c (lisp_buffer_rewinder):
2388         * lstream.c (mark_lstream):
2389         * lrecord.h:
2390         * lrecord.h (struct lrecord_header):
2391         * lread.c (readevalloop):
2392         * lread.c (locate_file):
2393         * lread.c (locate_file_in_directory):
2394         * lread.c (Flocate_file):
2395         * lread.c (load_force_doc_string_unwind):
2396         * lread.c (ebolify_bytecode_constants):
2397         * lread.c:
2398         * lisp.h:
2399         * lisp-union.h:
2400         * lisp-disunion.h:
2401         * linuxplay.c (linux_play_data_or_file):
2402         * linuxplay.c (audio_init):
2403         * line-number.c:
2404         * keymap.h:
2405         * keymap.c (describe_map):
2406         * keymap.c (describe_map_mapper):
2407         * keymap.c (Fdescribe_bindings_internal):
2408         * keymap.c (Fsingle_key_description):
2409         * keymap.c (map_keymap_sorted):
2410         * keymap.c (get_relevant_keymaps):
2411         * keymap.c (Flookup_key):
2412         * keymap.c (raw_lookup_key_mapper):
2413         * keymap.c (Fdefine_key):
2414         * keymap.c (Fevent_matches_key_specifier_p):
2415         * keymap.c (key_desc_list_to_event):
2416         * keymap.c (define_key_parser):
2417         * keymap.c (define_key_check_and_coerce_keysym):
2418         * keymap.c (keymap_submaps):
2419         * keymap.c (keymap_store_internal):
2420         * keymap.c (keymap_delete_inverse_internal):
2421         * keymap.c (keymap_store_inverse_internal):
2422         * keymap.c (print_keymap):
2423         * keymap.c (Lisp_Keymap):
2424         * keymap.c:
2425         * intl.c:
2426         * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
2427         * insdel.c (make_gap):
2428         * input-method-xlib.c (get_XIM_input):
2429         * input-method-xlib.c (XIM_init_frame):
2430         * imgproc.c:
2431         * hash.h:
2432         * hash.c:
2433         * gui.c:
2434         * gui-x.c (button_item_to_widget_value):
2435         * gui-x.c (popup_selection_callback):
2436         * glyphs.h (struct image_instantiator_methods):
2437         * glyphs.c (mark_glyph_cachels):
2438         * glyphs.c (Fglyph_type):
2439         * glyphs.c (image_instantiate):
2440         * glyphs.c (image_create):
2441         * glyphs.c (make_image_instance_1):
2442         * glyphs.c (finalize_image_instance):
2443         * glyphs.c:
2444         * glyphs-x.c (finalize_subwindow):
2445         * glyphs-x.c (xface_validate):
2446         * glyphs-x.c (x_locate_pixmap_file):
2447         * glyphs-x.c (convert_EImage_to_XImage):
2448         * glyphs-msw.c:
2449         * glyphs-msw.c (mswindows_resource_instantiate):
2450         * glyphs-msw.c (xpm_to_eimage):
2451         * glyphs-msw.c (convert_EImage_to_DIBitmap):
2452         * glyphs-eimage.c (tiff_instantiate):
2453         * glyphs-eimage.c (png_instantiate):
2454         * glyphs-eimage.c (struct png_error_struct):
2455         * glyphs-eimage.c (gif_memory_storage):
2456         * glyphs-eimage.c:
2457         * gifrlib.h:
2458         * getloadavg.c (getloadavg):
2459         * getloadavg.c:
2460         * gdbinit:
2461         * free-hook.c (log_gcpro):
2462         * free-hook.c (check_malloc):
2463         * free-hook.c (check_free):
2464         * free-hook.c (ROUND_UP_TO_PAGE):
2465         * free-hook.c:
2466         * frame.h (struct frame):
2467         * frame.h:
2468         * frame.c (change_frame_size_1):
2469         * frame.c (allocate_frame_core):
2470         * frame.c:
2471         * frame-x.c (x_focus_on_frame):
2472         * frame-x.c (x_init_frame_2):
2473         * frame-x.c (x_popup_frame):
2474         * frame-x.c (xemacs_XtPopup):
2475         * frame-x.c:
2476         * frame-x.c (Foffix_start_drag_internal):
2477         * frame-x.c (x_cde_destroy_callback):
2478         * frame-x.c (x_wm_hack_wm_protocols):
2479         * frame-tty.c (tty_frame_visible_p):
2480         * frame-msw.c (mswindows_make_frame_invisible):
2481         * frame-msw.c (mswindows_after_init_frame):
2482         * frame-msw.c (mswindows_init_frame_1):
2483         * fns.c (syms_of_fns):
2484         * fns.c (Fbase64_decode_string):
2485         * fns.c (Fnconc):
2486         * fns.c (Ffillarray):
2487         * fns.c (Fobject_plist):
2488         * fns.c (Fget):
2489         * fns.c (Fcanonicalize_lax_plist):
2490         * fns.c (Fcanonicalize_plist):
2491         * fns.c (Fplist_remprop):
2492         * fns.c (Fplist_get):
2493         * fns.c (advance_plist_pointers):
2494         * fns.c (internal_plist_put):
2495         * fns.c (Fnreverse):
2496         * fns.c (Fremassq):
2497         * fns.c (Felt):
2498         * fns.c (Fsubstring):
2499         * fns.c (Fbvconcat):
2500         * fns.c (Flength):
2501         * fns.c (length_with_bytecode_hack):
2502         * fns.c (print_bit_vector):
2503         * fns.c:
2504         * floatfns.c (Ffloor):
2505         * floatfns.c:
2506         * floatfns.c (in_float_error):
2507         * fileio.c (Ffile_modes):
2508         * fileio.c (Fexpand_file_name):
2509         * fileio.c (Fmake_temp_name):
2510         * fileio.c (Ffile_name_nondirectory):
2511         * fileio.c (Ffile_name_directory):
2512         * file-coding.h:
2513         * file-coding.c (vars_of_mule_coding):
2514         * file-coding.c (convert_to_external_format):
2515         * file-coding.c (encoding_marker):
2516         * file-coding.c (decoding_marker):
2517         * file-coding.c (Fcopy_coding_system):
2518         * file-coding.c (Fmake_coding_system):
2519         * file-coding.c (struct coding_system_list_closure):
2520         * file-coding.c (Ffind_coding_system):
2521         * file-coding.c (symbol_to_eol_type):
2522         * file-coding.c:
2523         * faces.h (struct face_cachel):
2524         * faces.c (vars_of_faces):
2525         * faces.c (face_property_was_changed):
2526         * faces.c (mark_face_cachels):
2527         * faces.c (temporary_faces_list):
2528         * faces.c (struct face_list_closure):
2529         * faces.c:
2530         * extents.h (struct extent):
2531         * extents.c (vars_of_extents):
2532         * extents.c (struct copy_string_extents_1_arg):
2533         * extents.c (add_string_extents_mapper):
2534         * extents.c (Fextent_property):
2535         * extents.c (Fset_extent_property):
2536         * extents.c (symbol_to_glyph_layout):
2537         * extents.c (properties_equal):
2538         * extents.c (print_extent):
2539         * extents.c (print_extent_1):
2540         * extents.c (extent_in_region_p):
2541         * extents.c (gap_array_make_gap):
2542         * extents.c:
2543         * events.h (struct Lisp_Event):
2544         * events.h:
2545         * events.c (Fevent_properties):
2546         * events.c (format_event_object):
2547         * events.c (Fmake_event):
2548         * events.c (event_equal):
2549         * events.c (print_event):
2550         * events.c (mark_event):
2551         * event-stream.c ((read-char)
2552         * event-stream.c (vars_of_event_stream):
2553         * event-stream.c (syms_of_event_stream):
2554         * event-stream.c (Fset_recent_keys_ring_size):
2555         * event-stream.c (Fsit_for):
2556         * event-stream.c (Fnext_event):
2557         * event-stream.c (execute_help_form):
2558         * event-stream.c (maybe_kbd_translate):
2559         * event-stream.c:
2560         * event-msw.c (vars_of_event_mswindows):
2561         * event-msw.c (mswindows_wnd_proc):
2562         * event-msw.c (mswindows_need_event):
2563         * event-msw.c (mswindows_drain_windows_queue):
2564         * event-msw.c (mswindows_pump_outstanding_events):
2565         * event-msw.c:
2566         * event-msw.c (slurp_thread):
2567         * event-msw.c (struct ntpipe_slurp_stream):
2568         * event-msw.c (HANDLE_TO_USID):
2569         * event-Xt.c (emacs_Xt_handle_magic_event):
2570         * event-Xt.c (x_event_to_emacs_event):
2571         * event-Xt.c (x_reset_modifier_mapping):
2572         * event-Xt.c (x_reset_key_mapping):
2573         * event-Xt.c:
2574         * eval.c (syms_of_eval):
2575         * eval.c (warn_when_safe):
2576         * eval.c (warn_when_safe_lispobj):
2577         * eval.c (Fbacktrace_frame):
2578         * eval.c (Fbacktrace):
2579         * eval.c (top_level_set):
2580         * eval.c (unbind_to_hairy):
2581         * eval.c (specbind_magic):
2582         * eval.c (specbind_unwind_wasnt_local):
2583         * eval.c (call2_trapping_errors):
2584         * eval.c (call1_trapping_errors):
2585         * eval.c (catch_them_squirmers_call2):
2586         * eval.c (call0_trapping_errors):
2587         * eval.c (run_hook_trapping_errors):
2588         * eval.c (catch_them_squirmers_eval_in_buffer):
2589         * eval.c (call4_in_buffer):
2590         * eval.c (call3_in_buffer):
2591         * eval.c (call2_in_buffer):
2592         * eval.c (call1_in_buffer):
2593         * eval.c (call0_in_buffer):
2594         * eval.c (run_hook):
2595         * eval.c (run_hook_with_args_in_buffer):
2596         * eval.c (Fapply):
2597         * eval.c (Feval):
2598         * eval.c (do_autoload):
2599         * eval.c (un_autoload):
2600         * eval.c (Fautoload):
2601         * eval.c (Finteractive_p):
2602         * eval.c (Fcommand_execute):
2603         * eval.c (signal_quit):
2604         * eval.c (call_with_suspended_errors):
2605         * eval.c (signal_error):
2606         * eval.c (return_from_signal):
2607         * eval.c (Fcall_with_condition_handler):
2608         * eval.c (run_condition_case_handlers):
2609         * eval.c (condition_case_1):
2610         * eval.c (Funwind_protect):
2611         * eval.c (unwind_to_catch):
2612         * eval.c (internal_catch):
2613         * eval.c (Fmacroexpand_internal):
2614         * eval.c (Fuser_variable_p):
2615         * eval.c (Fdefconst):
2616         * eval.c (Fdefvar):
2617         * eval.c (Ffunction):
2618         * eval.c (signal_call_debugger):
2619         * eval.c (call_debugger):
2620         * eval.c:
2621         * emacs.c (main):
2622         * emacs.c (sort_args):
2623         * emacs.c (main_1):
2624         * elhash.h:
2625         * elhash.c:
2626         * editfns.c (Fencode_time):
2627         * editfns.c (Fdecode_time):
2628         * editfns.c (Fuser_full_name):
2629         * editfns.c:
2630         * editfns.c (save_excursion_restore):
2631         * ecrt0.c:
2632         * dynarr.c:
2633         * doprnt.c (emacs_doprnt_1):
2634         * doc.c (verify_doc_mapper):
2635         * doc.c (Fsnarf_documentation):
2636         * doc.c (Fdocumentation):
2637         * dll.c:
2638         * dired.c (user_name_completion):
2639         * dired.c (Fdirectory_files):
2640         * dialog-x.c:
2641         * dialog-msw.c:
2642         * dgif_lib.c (FreeSavedImages):
2643         * dgif_lib.c (DGifGetImageDesc):
2644         * device.h:
2645         * device.h (struct device):
2646         * device.c (Fselect_device):
2647         * device.c (allocate_device):
2648         * device.c:
2649         * device-x.c (Fx_keysym_on_keyboard_p):
2650         * device-x.c (Fx_valid_keysym_name_p):
2651         * device-x.c (x_IO_error_handler):
2652         * device-x.c (x_delete_device):
2653         * device-x.c (x_finish_init_device):
2654         * device-x.c (x_init_device):
2655         * device-x.c:
2656         * device-msw.c (mswindows_init_device):
2657         * dbxrc:
2658         * database.c (vars_of_database):
2659         * database.c (Fput_database):
2660         * database.c (Fopen_database):
2661         * database.c (berkdb_remove):
2662         * database.c (berkdb_put):
2663         * database.c (Fdatabasep):
2664         * database.c (print_database):
2665         * database.c:
2666         * data.c (vars_of_data):
2667         * data.c (syms_of_data):
2668         * data.c (init_errors_once_early):
2669         * data.c (prune_weak_lists):
2670         * data.c (finish_marking_weak_lists):
2671         * data.c (print_weak_list):
2672         * data.c (Fmod):
2673         * data.c (Fstring_to_number):
2674         * data.c (Fnumber_to_string):
2675         * data.c (Findirect_function):
2676         * data.c (Fsetcdr):
2677         * data.c (Ffloatp):
2678         * data.c (Fsubr_interactive):
2679         * data.c (Farrayp):
2680         * data.c (Fkeywordp):
2681         * data.c (Fnull):
2682         * data.c:
2683         * console.h (CONSOLE_NAME):
2684         * console.h:
2685         * console.c (vars_of_console):
2686         * console.c (Fselect_console):
2687         * console.c:
2688         * console-x.h (DEVICE_X_COLORMAP):
2689         * console-x.h (struct x_device):
2690         * console-x.c (x_device_to_console_connection):
2691         * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
2692         * console-tty.c (tty_init_console):
2693         * console-tty.c:
2694         * console-msw.h (struct mswindows_frame):
2695         * conslots.h:
2696         * config.h.in:
2697         * cmds.c (internal_self_insert):
2698         * cmds.c (Fforward_line):
2699         * cmds.c (Fforward_char):
2700         * cmds.c:
2701         * cmdloop.c:
2702         * chartab.c (mark_char_table_entry):
2703         * chartab.c:
2704         * casefiddle.c (casify_word):
2705         * callproc.c (child_setup):
2706         * callproc.c (Fcall_process_internal):
2707         * callproc.c:
2708         * callint.c (Fcall_interactively):
2709         * bytecode.h:
2710         * bytecode.c (execute_rare_opcode):
2711         * bytecode.c (execute_optimized_program):
2712         * bytecode.c:
2713         * bufslots.h:
2714         * buffer.h (BUFFER_REALLOC):
2715         * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
2716         * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
2717         * buffer.h:
2718         * buffer.h (MAP_INDIRECT_BUFFERS):
2719         * buffer.h (CHECK_LIVE_BUFFER):
2720         * buffer.c (init_initial_directory):
2721         * buffer.c (complex_vars_of_buffer):
2722         * buffer.c (vars_of_buffer):
2723         * buffer.c (finish_init_buffer):
2724         * buffer.c (Fget_file_buffer):
2725         * buffer.c (Fbuffer_list):
2726         * buffer.c (mark_buffer):
2727         * balloon_help.c (balloon_help_move_to_pointer):
2728         * balloon_help.c (show_help):
2729         * balloon_help.c:
2730         * backtrace.h:
2731         * alloc.c (garbage_collect_1):
2732         * alloc.c (sweep_strings):
2733         * alloc.c (sweep_compiled_functions):
2734         * alloc.c (sweep_bit_vectors_1):
2735         * alloc.c (sweep_vectors_1):
2736         * alloc.c (sweep_lcrecords_1):
2737         * alloc.c (tick_lcrecord_stats):
2738         * alloc.c (pure_string_sizeof):
2739         * alloc.c (mark_conses_in_list):
2740         * alloc.c (mark_object):
2741         * alloc.c (report_pure_usage):
2742         * alloc.c (make_pure_float):
2743         * alloc.c (make_pure_string):
2744         * alloc.c (free_managed_lcrecord):
2745         * alloc.c (mark_string):
2746         * alloc.c (noseeum_make_marker):
2747         * alloc.c (allocate_event):
2748         * alloc.c (Fbit_vector):
2749         * alloc.c (Fvector):
2750         * alloc.c (make_float):
2751         * alloc.c (Fmake_list):
2752         * alloc.c (Flist):
2753         * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
2754         * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
2755         * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
2756         * alloc.c (dbg_constants):
2757         * alloc.c (gc_record_type_p):
2758         * alloc.c (free_lcrecord):
2759         * alloc.c (xmalloc):
2760         * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
2761         * abbrev.c:
2762         * Makefile.in.in (mostlyclean):
2763         * Makefile.in.in (external_client_xlib_objs_nonshared):
2764         * Makefile.in.in (temacs_link_args):
2765         * Makefile.in.in (release):
2766         * Makefile.in.in (dnd_objs):
2767         * Makefile.in.in (objs):
2768         * Makefile.in.in (PROGNAME):
2769         * EmacsShell.c: cast strings to (XtPointer)
2770         * EmacsFrame.c: cast strings to (XtPointer)
2771         - mega patch
2772         - rewrite basic lisp functions for speed
2773         - rewrite bytecode interpreter for speed
2774         - rewrite list looping constructs for speed and safety using
2775           tortoise/hare.
2776         - use size_t where appropriate.
2777         - new hashtable implementation
2778         - cleanup implementation of opaques
2779         - opaques can now be purecopy'ed
2780         - move some cl functionality into C for speed.
2781         - remove last remaining VMS support
2782         - spelling fixes
2783         - improve gdb/dbx debugger support
2784         - move pure.c back into alloc.c for performance
2785         - enable report_pure_usage() if --memory-usage-stats
2786         - remove remnants of Energize support (EMACS_BTL, cadillac...)
2787         - don't use symbols with leading `_' or embedded `__'
2788         - globally cleanup duplicated semicolons `;;'
2789         - I give in on %p vs %lx - we use printf("%lx",(long) p)
2790           globally.
2791         - globally replace O_NDELAY with O_NONBLOCK.
2792         - globally replace CDISABLE with _POSIX_VDISABLE.
2793         - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
2794         - define (and maybe use!) STDERR_FILENO and friends.
2795         - add support for macros defined in C
2796         - `when', `unless', `not' and `defalias' now defined in C,
2797           so that they are universally available.
2798         - rename defvar_mumble to defvar_magic
2799         - rename RETURN__ to RETURN_SANS_WARNINGS
2800         - use consistent style of initial caps in error messages
2801         - implement last, butlast, nbutlast, copy-list in C.
2802         - provide typedefs for all struct Lisp_foo types
2803         - Lisp_Objects must be initialized to Qnil rather than 0.
2804         - make sure XEmacs runs (slowly) with always_gc == 1;
2805         - fast and safe LOOP_* macros
2806         - change calls to XSETOBJ to XSETFOO
2807         - replace calls to XSETINT by make_int()
2808         - plug up memory leaks
2809         - use style markobj (foo), not silly ((markobj) (foo))
2810         - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
2811
2812 1998-12-02  P. E. Jareth Hein  <jareth@camelot.co.jp>
2813
2814         * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
2815
2816 1998-11-28  SL Baur  <steve@altair.xemacs.org>
2817
2818         * XEmacs 21.2-beta4 is released.
2819
2820 1998-11-27  SL Baur  <steve@altair.xemacs.org>
2821
2822         * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
2823         property in control-1 charset.
2824         From Julian Bradfield <jcb@daimi.au.dk>
2825
2826 1998-11-26  Jan Vroonhof  <vroonhof@math.ethz.ch>
2827
2828         * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
2829         keyword.
2830         Add stub for :label.
2831
2832         * gui.c (gui_item_add_keyval_pair): ditto.
2833
2834         * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
2835         :key-sequence keyword.
2836         Add stub for:label.
2837         Support :active for submenus like the Windows code and FSF Emacs.
2838
2839 1998-11-27  Hrvoje Niksic  <hniksic@srce.hr>
2840
2841         * dired.c (make_directory_hash_table): make_string() is OK because
2842         readdir() Mule-encapsulates.
2843
2844 1998-11-26  Hrvoje Niksic  <hniksic@srce.hr>
2845
2846         * fns.c (Fbase64_encode_string): Fix docstring.
2847         (Fbase64_decode_string): Ditto.
2848
2849 1998-11-26  Hrvoje Niksic  <hniksic@srce.hr>
2850
2851         * editfns.c (Ftranslate_region): Use
2852         convert_bufbyte_string_into_emchar_string().
2853
2854 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
2855
2856         * editfns.c (Ftranslate_region): Accept vectors and char-tables as
2857         well as strings.
2858         (Ftranslate_region): Turn table into an array of Emchars for
2859         larger regions.
2860
2861 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
2862
2863         * chartab.c (Freset_char_table): Fix wrong placement of #endif.
2864
2865 1998-11-24  Hrvoje Niksic  <hniksic@srce.hr>
2866
2867         * chartab.c (Freset_char_table): Don't blindly fill chartables of
2868         type `char' with nils.
2869
2870         * chartab.c (canonicalize_char_table_value): Coerce ints to chars
2871         for tables of type `char'.
2872
2873 1998-11-26  Didier Verna  <verna@inf.enst.fr>
2874
2875         * input-method-xlib.c (Initialize_Locale): don't call
2876         XtSetLanguageProc. We've done the whole work here.
2877         * input-method-xfs.c (Initialize_Locale): ditto.
2878         * input-method-motif.c (Initialize_Locale): ditto.
2879
2880 1998-11-26  Didier Verna  <verna@inf.enst.fr>
2881
2882         * process-unix.c (unix_create_process): handle properly
2883         Vfile_name_coding_system for converting the program and directory
2884         names.
2885
2886 1998-11-27  SL Baur  <steve@altair.xemacs.org>
2887
2888         * m/arm.h: New file.
2889         From James LewisMoss <dres@ioa.com>
2890
2891 1998-11-27  Takeshi Hagiwara  <hagiwara@ie.niigata-u.ac.jp>
2892
2893         * m/mips-nec.h:
2894         Fix the realpath() problem of UnixWare2.1.3.
2895         Patches for NEC's sysv4.2 machine.
2896
2897 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
2898
2899         * dired.c (Fdirectory_files): Remove redundant code.
2900
2901 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
2902
2903         * fns.c (free_malloced_ptr): New function.
2904         (XMALLOC_OR_ALLOCA): New macro.
2905         (XMALLOC_UNBIND): Ditto.
2906         (Fbase64_encode_region): Use malloc() for large blocks; arrange it
2907         to be freed in case of non-local exit.
2908         (Fbase64_encode_string): Ditto.
2909         (Fbase64_decode_region): Ditto.
2910         (Fbase64_decode_string): Ditto.
2911         (STORE_BYTE): New macro.
2912         (base64_decode_1): Use it.
2913
2914 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
2915
2916         * fns.c (base64_value_to_char): Base64 stuff.
2917
2918 1998-11-24  Hrvoje Niksic  <hniksic@srce.hr>
2919
2920         * editfns.c (Fbuffer_substring): New function.
2921
2922         * lisp.h: Declare make_string_from_buffer_no_extents().
2923
2924         * insdel.c (make_string_from_buffer_1): New function.
2925         (make_string_from_buffer_no_extents): Ditto.
2926
2927 1998-11-15  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
2928
2929         * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
2930         sound work on AIX with OSS installed.  Linux should still work.
2931
2932 1998-11-03  Andy Piper  <andyp@parallax.co.uk>
2933
2934         * config.h.in: name change for cygwin/version.h
2935
2936         * configure.in: check for cygwin/version.h now.
2937
2938         * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
2939         CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
2940         move cygwin32/version.h to cygwin/version.h
2941
2942 1998-11-03  Olivier Galibert  <galibert@pobox.com>
2943
2944         * lisp.h  (struct  Lisp_Bit_Vector): Fix declaration of  bits from
2945         int to long.
2946
2947 1998-10-22  Andy Piper  <andyp@parallax.co.uk>
2948
2949         * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
2950         CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
2951         enable BROKEN_SIGIO under b20 to make QUIT work.
2952
2953 1998-10-22  Andy Piper  <andyp@parallax.co.uk>
2954
2955         * frame-msw.c (mswindows_size_frame_internal): force frame sizing
2956         to fit within the constraints of the screen size. I.e. make the
2957         frame small enough to fit and move it if some of it will be
2958         off-screen.
2959
2960 1998-10-19  Greg Klanderman  <greg@alphatech.com>
2961
2962         * dired.c: conditionalize inclusion of user-name-completion
2963         primitives on non-Windows NT.  The needed functions don't exist on NT.
2964
2965 1998-11-24  SL Baur  <steve@altair.xemacs.org>
2966
2967         * gifrlib.h: Clean up types for 64 bit compile.
2968         * dgif_lib.c (DGifInitRead): Ditto.
2969         (MakeSavedImage): Ditto.
2970         * emacs.c (decode_path): Ditto.
2971         From Steve Carney <carney@pa.dec.com>
2972
2973 1998-10-16  William M. Perry  <wmperry@aventail.com>
2974
2975         * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
2976           (cehckboxes instead of checkboxes).
2977
2978 1998-10-15  SL Baur  <steve@altair.xemacs.org>
2979
2980         * XEmacs 21.2-beta3 is released.
2981
2982 1998-10-13  Raymond Toy  <toy@rtp.ericsson.se>
2983
2984         * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
2985         gnuclient.  Otherwise, we run xemacs as we always did.  This gets
2986         rid of the annoying DOS window when running gnuclient.
2987
2988 1998-10-13  Andy Piper  <andyp@parallax.co.uk>
2989
2990         * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
2991         HAVE_MS_WINDOWS typo.
2992
2993 1998-10-13  SL Baur  <steve@altair.xemacs.org>
2994
2995         * process-unix.c (unix_send_process): Set closed flag on writable
2996         pipe after SIGPIPE is received and before we call deactivate_process.
2997
2998 1998-10-03  Gunnar Evermann  <ge204@eng.cam.ac.uk>
2999
3000         * window.c (Fset_window_start): respect narrowing when
3001         checking wheter start is at the beginning of a line.
3002         (Fset_window_buffer): Ditto
3003         Fixes repeatable crash in VM.
3004
3005 1998-10-09  SL Baur  <steve@altair.xemacs.org>
3006
3007         * window.c (specifier_vars_of_window): Set default vertical
3008         divider width to 1 on ttys.
3009
3010 1998-10-08  Martin Buchholz  <martin@xemacs.org>
3011
3012         * alloc.c:
3013         * unexec.c:
3014         * malloc.c:
3015         Add <stddef.h> to get ptrdiff_t declaration
3016
3017 1998-10-07  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3018
3019         * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3020           is used for Motif or Lucid scrollbars under X.
3021
3022 1998-10-08  Pierre Wendling  <pw@ebc.vbe.dec.com>
3023
3024         * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
3025         `configure'
3026
3027 1998-10-06  Takeshi Hagiwara  <hagiwara@ie.niigata-u.ac.jp>
3028
3029         * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
3030
3031 1998-10-05  Andy Piper  <andyp@parallax.co.uk>
3032
3033         * s/cygwin32.h: more cygwin b20 reorganisation.
3034
3035 1998-10-01  Raymond Toy  <toy@rtp.ericsson.se>
3036
3037         * nas.c: Added necessary support functions to be able to handle
3038         WAVE files in memory, just like the support for SND files in
3039         memory.
3040
3041 1998-09-30  SL Baur  <steve@altair.xemacs.org>
3042
3043         * callproc.c (child_setup): Fix spelling typo.
3044
3045 1998-09-29  SL Baur  <steve@altair.xemacs.org>
3046
3047         * XEmacs 21.2-beta2 is released.
3048
3049 1998-09-27  P. E. Jareth Hein  <jareth@camelot.co.jp>
3050
3051         * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
3052         to prevent memory corruption in the case of jumping out of a series of
3053         nested match patterns. This is a rather brute force approach, though.
3054
3055 1998-09-02  Andy Piper  <andyp@parallax.co.uk>
3056
3057         * config.h.in: ditto.
3058
3059         * s/cygwin32.h: rearrange declarations to cope with cygwin
3060         b20. Include cygwin32/version.h if it exists.
3061
3062 1998-09-20  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3063
3064         * device-msw.c (mswindows_init_device): Call new
3065           mswindows_enumerate_fonts() function in objects-msw.c instead
3066           of font_enum_callback_1() to enumerate fonts.
3067
3068           font_enum_callback_1() and _2() moved to objects-msw.c.
3069
3070         * faces.c (complex_vars_of_faces): Make the mswindows default
3071           face font fully specified and provide some fallbacks.
3072
3073         * objects-msw.c: font_enum_callback_1() and _2() moved here
3074           from objects-msw.c. Obtain the enumerated font's character
3075           sets by table lookup instead of using the locale-specific
3076           string provided by Windows.
3077
3078           New public non-method mswindows_enumerate_fonts() that fills
3079           in the supplied mswindows device's font list.
3080
3081           mswindows_initialize_font_instance: Use the supplied name
3082           variable instead of f->name when signalling errors. Match font
3083           weights and character sets using lookup tables which handle
3084           spaces instead of by frobbing.
3085
3086 1998-09-20  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3087
3088         * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
3089           on the size of code fragments passed to run_in_other_process.
3090
3091           run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
3092           the amount of memory to allocate in the other process.
3093
3094           Removed sigkill_code_end(), sigint_code_end() and
3095           sig_enable_code_end() since they are now redundant.
3096
3097           send_signal() and enable_child_signals(): Don't try to work
3098           out the end of the code fragments passed to
3099           run_in_other_process()
3100
3101 1998-09-10  Kazuyuki IENAGA  <ienaga@jsys.co.jp>
3102
3103         * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
3104         FreeBSD-current.
3105
3106         * src/unexelf.c: Partially synched with FSF's 20.3.
3107
3108 1998-09-10  Hrvoje Niksic  <hniksic@srce.hr>
3109
3110         * insdel.c (signal_after_change): Map across indirect buffers
3111         here, and not in the upper-level functions.
3112         (signal_first_change): Don't check for Armageddon.
3113         (signal_before_change): Map across indirect buffers here.
3114         (prepare_to_modify_buffer): ...and here.
3115
3116 1998-09-09  Hrvoje Niksic  <hniksic@srce.hr>
3117
3118         * insdel.c (signal_after_change): Add return value.
3119         (buffer_insert_string_1): Use it.
3120         (buffer_delete_range): Ditto.
3121         (buffer_replace_char): Ditto.
3122         (cancel_multiple_change): Map the indirect buffers.
3123
3124 1998-09-06  Hrvoje Niksic  <hniksic@srce.hr>
3125
3126         * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3127         (uninit_buffer_text): Ditto.
3128
3129         * buffer.c (Fmake_indirect_buffer): Implement stricter
3130         error-checking.
3131
3132 1998-09-04  Hrvoje Niksic  <hniksic@srce.hr>
3133
3134         * insdel.c (change_function_restore): Reverse order of
3135         function-call and assignment.
3136         (first_change_hook_restore): Ditto.
3137
3138         * extents.c (mark_extent_auxiliary): Mark them.
3139         (Fset_extent_property): Set them.
3140         (Fextent_property): Get them.
3141         (Fextent_properties): Ditto.
3142         (vars_of_extents): Set their default.
3143
3144         * extents.h (struct extent_auxiliary): Add before_change_functions
3145         and after_change_functions.
3146
3147         * insdel.c (signal_before_change): Use it.
3148         (signal_after_change): Ditto.
3149
3150         * extents.c (report_extent_modification): New function.
3151
3152         * insdel.c (signal_before_change): Don't check for Armageddon.
3153         (signal_after_change): Ditto.
3154
3155 1998-09-11  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3156
3157         * redisplay.c (redisplay_window): make sure a new starting point
3158         is chosen if it somehow got moved from the beginning of the line
3159         -- this can happen because Fwiden was called recently.
3160
3161         * window.c (Fset_window_start): set start_at_line_beg correctly
3162         (Fset_window_buffer): Ditto
3163
3164 1998-09-06  Hrvoje Niksic  <hniksic@srce.hr>
3165
3166         * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3167         (uninit_buffer_text): Ditto.
3168
3169         * buffer.c (Fmake_indirect_buffer): Implement stricter
3170         error-checking.
3171
3172 1998-05-14  Jan Vroonhof  <vroonhof@math.ethz.ch>
3173
3174         * emacs.c (main_1): Removed references to *vars_of_filelock.
3175
3176         * lisp.h: Added Fsystem_name.
3177
3178         * filelock.c: Replaced by version from FSF 20.2. Now implements
3179         locking by using symlinks which is NFS safe. However keep the
3180         GCPRO's in lock_file and the calls to callx_in_buffer like our old
3181         version (and of course use ansi C, acessor macros, etc).
3182
3183 1998-09-06  Jan Vroonhof  <vroonhof@math.ethz.ch>
3184
3185         * process-unix.c (unix_create_process): Reset SIGHUP handler to
3186         SIG_DFL. We now try to conserve any inherted SIG_IGN settings
3187         in init_signals_very_early. However these should not be passed
3188         on to children attached to the new pty.
3189
3190 1998-08-28  Andy Piper  <andyp@parallax.co.uk>
3191
3192         * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
3193
3194 1998-09-07  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3195
3196         * fileio.c (file-name-directory, file_name_as_directory):
3197           Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
3198
3199 1998-09-02  Andy Piper  <andyp@parallax.co.uk>
3200
3201         * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
3202
3203         * ralloc.c: uncomment __morecore.
3204
3205 1998-09-92  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3206
3207         * event-msw.c(winsock_writer): Supply a dummy 4th argument to
3208           WriteFile() to fix a winsock 1.x bug on Win95.
3209
3210 1998-08-28  Hrvoje Niksic  <hniksic@srce.hr>
3211
3212         * event-Xt.c (emacs_Xt_mapping_action): Check for device being
3213         deleted.
3214         (x_event_to_emacs_event): Ditto.
3215         (emacs_Xt_handle_focus_event): Ditto.
3216         (emacs_Xt_handle_magic_event): Ditto.
3217
3218         * console-x.h (struct x_device): New flag being_deleted.
3219         (DEVICE_X_BEING_DELETED): New macro.
3220
3221         * device-x.c (x_IO_error_handler): Throw to top-level instead of
3222         returning.  Before doing that, set the being_deleted flag on the
3223         device.
3224
3225 1998-08-27  Hrvoje Niksic  <hniksic@srce.hr>
3226
3227         * device-x.c (x-seppuku-on-epipe): Removed.
3228
3229 1998-08-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3230
3231         * frame-x.c (x_delete_frame): Flush the X output buffer after
3232         calling XtDestroyWidget to ensure that the windows are really
3233         killed right now.
3234
3235 1998-08-26  Hrvoje Niksic  <hniksic@srce.hr>
3236
3237         * menubar-x.c (my_run_hook): New unused function.
3238         (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
3239         since we ignore the results of the contained functions anyway.
3240
3241 1998-08-26  P. E. Jareth Hein  <jareth@camelot.co.jp>
3242
3243         * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
3244         interlaced GIF files that are smaller than 4 lines high...
3245
3246 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
3247
3248         * buffer.c (map_over_sharing_buffers): Deleted.
3249
3250         * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
3251
3252         * buffer.c (Fkill_buffer): Keep indirect_children updated while
3253         killing them.
3254
3255 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
3256
3257         * insdel.c (buffer_insert_string_1): Advance the point bytind in
3258         all the buffers.
3259         (buffer_delete_range): Ditto.
3260
3261         * marker.c (init_buffer_markers): Set point-marker to the value of
3262         point in an indirect buffer.
3263
3264 1998-08-30  Hrvoje Niksic  <hniksic@srce.hr>
3265
3266         * undo.c (undo_prelude): Test last-undo-buffer against base
3267         buffer.
3268
3269         * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
3270
3271         * buffer.h (BUFFER_BASE_BUFFER): New macro.
3272
3273 1998-08-30  Hrvoje Niksic  <hniksic@srce.hr>
3274
3275         * insdel.c (init_buffer_text): Initialize it here.
3276
3277         * line-number.c: Address line_number_cache through buffer->text.
3278
3279         * buffer.c (mark_buffer): Mark line number cache.
3280
3281         * bufslots.h (line_number_cache): Move to struct buffer_text.
3282
3283         * insdel.c (buffer_insert_string_1): Propagate signals and changes
3284         across the children buffers.
3285         (buffer_delete_range): Ditto.
3286         (buffer_replace_char): Ditto.
3287         (gap_left): Ditto.
3288         (gap_right): Ditto.
3289
3290         * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
3291
3292         * buffer.c (Fmake_indirect_buffer): Uncomment.
3293
3294 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
3295
3296         * macros.c (Fend_kbd_macro): Remove trailing period from error
3297         message.
3298         (Fexecute_kbd_macro): Ditto.
3299
3300 1998-08-21  Greg Klanderman  <greg@alphatech.com>
3301
3302         * dired.c (Fuser_name_completion): remove optional 2nd argument.
3303         (Fuser_name_completion_1): new function to return uniqueness
3304         indication in addition to the user name completion.
3305         (user_name_completion): change type of `uniq' argument.
3306
3307 1998-08-19  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
3308
3309         * lread.c (vars_of_lread): Removed `source-directory' variable.
3310
3311 1998-08-22  Hrvoje Niksic  <hniksic@srce.hr>
3312
3313         * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
3314         Cygwin.
3315
3316 1998-08-19  SL Baur  <steve@altair.xemacs.org>
3317
3318         * dired.c (vars_of_dired): Fix misapplied patch.
3319
3320 1998-08-16  Martin Buchholz  <martin@xemacs.org>
3321
3322         * fns.c (Fremrassq, remrassq_no_quit):
3323         A XCAR that should have been an XCDR turned Fremrassq into Fremassq
3324
3325 1998-07-17  Didier Verna  <verna@inf.enst.fr>
3326
3327         * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
3328         style as foreground GC for faces that have the `dim' property.
3329         (x_output_string): when the `dim' face property is set,
3330         ensure the gray pixmap has been created, and get a proper
3331         foreground GC to draw the text.
3332
3333 1998-08-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3334
3335         * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
3336           Manually track the state of the left and right Ctrl and Alt
3337           modifiers.
3338
3339 1998-08-07 Matt Stupple <matts@tibco.com>
3340
3341         * ntproc.c: don't wait on char_consumed at thread entry.
3342         Additionally, to get the 'process' marked as finished, ensure
3343         that the CHILD_ACTIVE macro returns false, so before exiting
3344         close char_avail and set it to NULL, and close other handles
3345         to reduce handle leak problems.
3346
3347 1998-08-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3348
3349         * menubar-msw.c (displayable_menu_item): take account of menu
3350           depth when deciding whether to try to display accelerators.
3351
3352 1998-08-04  Andy Piper  <andyp@parallax.co.uk>
3353
3354         * event-msw.c: use MsgWaitForMultipleObjects if there are no
3355         subprocesses.
3356
3357         * glyphs-msw.c: fix a couple of potential handle leaks.
3358
3359 1998-08-04  P. E. Jareth Hein  <jareth@camelot.co.jp>
3360
3361         * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
3362           *decoding ONLY* back into the core.
3363         * glyphs-eimage.c: Change referenced header file for GIF
3364           reading to point to the incore version.
3365
3366 1998-07-20  Martin Buchholz  <martin@xemacs.org>
3367
3368         * casefiddle.c (casify_object):
3369         Change algorithm from O(N**2) to O(N).
3370         Code cleanup.
3371         Doc string cleanup.
3372
3373 1998-07-22  Greg Klanderman  <greg@alphatech.com>
3374
3375         * dired.c (file_name_completion_unwind): don't leak the cons.
3376
3377 1998-07-20  Greg Klanderman  <greg@alphatech.com>
3378
3379         * dired.c (Fuser_name_completion): new function.
3380         (Fuser_name_all_completions): new function.
3381         (user_name_completion): new function.
3382         (syms_of_dired): 2 new DEFSUBRs.
3383         (vars_of_dired): initialize user name cache vars.
3384
3385 1998-07-29  P. E. Jareth Hein  <jareth@camelot.co.jp>
3386
3387         * glyphs-eimage.c (png_instantiate): Add proper handling for background
3388         colors taken from the default face.  Also correct a thinko in
3389         transparency (not alpha) handling.
3390
3391 1998-07-23  Martin Buchholz  <martin@xemacs.org>
3392
3393         * s/decosf4-0.h:  Use a perfectly ordinary link.  Nuke BSD crap.
3394         * unexalpha.c: ANSI C-ize.  Clean compiler warnings.
3395         * lread.c (Fload_internal):  Be very careful with printfs of
3396         size_t's
3397         * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
3398         argument.
3399
3400 1998-07-27  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3401
3402         * callint.c (Fcall_interactively): GCPRO prompt string before
3403         passing it to Fread_key_sequence
3404
3405 1998-07-27  SL Baur  <steve@altair.xemacs.org>
3406
3407         * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
3408         Vvertical_divider_map.
3409
3410         * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
3411         Qnil or 0, none were initialized prior to this change.
3412
3413         Rename misnamed `V' prefixed integer variables:
3414         Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
3415         Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
3416         Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
3417         Vcanna_ichiran_revLen.
3418
3419         Rename misnamed `V' prefixed integer variables and initialize
3420         properly in the vars_of routine.
3421         Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
3422         Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
3423         Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
3424         Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
3425         Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
3426         Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
3427         Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
3428         Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
3429         Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
3430         Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
3431         Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
3432         Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
3433         Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
3434         Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
3435         Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
3436         Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
3437         Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
3438         Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
3439         Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
3440         Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
3441         Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
3442         Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
3443         Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
3444         Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
3445         Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
3446         Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
3447         Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
3448         Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
3449         Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
3450         Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
3451         Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
3452         Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
3453         Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
3454         Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
3455         Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
3456         Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
3457         Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
3458         Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
3459         Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
3460         Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
3461         Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
3462         Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
3463         Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
3464         Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
3465         Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
3466         Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
3467
3468 1998-07-16  Jan Vroonhof  <vroonhof@math.ethz.ch>
3469
3470         * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
3471         (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
3472         keys thus no longer considering all keysyms on a key.
3473
3474 1998-07-19  SL Baur  <steve@altair.xemacs.org>
3475
3476         * XEmacs 21.2-beta1 is released.
3477
3478 1998-07-12  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
3479
3480         * eldap.c (Fldap_search_internal): When converting the list of
3481         attributes to search Copy the final 0 from Lisp strings to C
3482         strings.
3483         Check base, not Vldap_default_base as a a string
3484
3485 1998-07-13  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3486
3487         * nt.c: Remove Vstdio_str; already defined in console-stream.c.
3488
3489         * unexnt.c: Unconditionally define bss_start and bss_size, and
3490           ensure that they don't go in the .bss section.
3491
3492 1998-07-17  Olivier Galibert  <galibert@pobox.com>
3493
3494         * glyphs-x.c (convert_EImage_to_XImage):  Fix previous patch (conv
3495         byte order is dependant  of  the local  byte order).
3496         From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3497
3498 1998-07-18  SL Baur  <steve@altair.xemacs.org>
3499
3500         * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
3501         Qmswindows_resource.
3502         From Jonathan Harris <jhar@tardis.ed.ac.uk>
3503
3504 1998-07-12  SL Baur  <steve@altair.xemacs.org>
3505
3506         * general.c (syms_of_general): Add defsymbol for Qresource.
3507
3508         * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
3509         Qmswindows_resource.
3510         (TopLevel): Rename 'resource image format to 'mswindows_resource.
3511         (mswindows_resource_validate): Rename.
3512         (mswindows_resource_normalize): Rename.
3513         (mswindows_resource_possible_dest_types): Rename.
3514         (mswindows_resource_instantiate): Rename.
3515         (image_instantiator_format_create_glyphs_mswindows): Replace
3516         `resource' with `mswindows.resource'.
3517
3518         * XEmacs 21.0-pre5 is released.
3519
3520 1998-07-10  SL Baur  <steve@altair.xemacs.org>
3521
3522         * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
3523         server type in environment.
3524         Use alloca-ed strings instead of tiny fixed size ones.
3525
3526 1998-07-09  SL Baur  <steve@altair.xemacs.org>
3527
3528         * XEmacs 21.0-pre4 is released.
3529
3530 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
3531
3532         * fileio.c: (expand_file_name): under win32: Don't treat names
3533         as UNC names if a drive letter has been specified.  If a drive
3534         has been specified, strip out extra directory-seperators that
3535         reportedly cause problems under Win95.
3536
3537 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3538
3539         * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
3540           MSVC >= 5.0. Put emacs init and zero-init data in a special
3541           section of the executable when this is defined.
3542
3543         * unexnt.c, ntheap.h:
3544           Removed unused find_section() and get_section_size().
3545
3546         * unexnt.c:
3547           Fix up the executable's checksum after dumping otherwise the
3548           profiler complains.
3549           When DUMP_SEPARATE_SECTION is defined, don't need to dump
3550           zero-init data separately from init data. Dump emacs data
3551           into a special section of the executable.
3552           When DUMP_SEPARATE_SECTION not defined, dump .bss up to
3553           my_ebss instead of up to the end of bss.
3554
3555 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3556
3557         * filelock.c: Removed Vconfigure_lock_directory - already
3558           defined in emacs.c.
3559
3560         * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
3561           defined in frame.c and general.c respectively.
3562
3563         * glyphs-msw.c: Removed Qresource - already defined in
3564           general.c.
3565
3566 1998-07-05  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
3567
3568         * eldap.c (Fldap_search_internal): Docstring fixes
3569
3570 1998-07-04  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3571
3572         * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
3573           EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
3574           EMACSPACKAGEPATH and INFOPATH variables.
3575           Removed unused get_emacs_configuration function.
3576
3577         * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
3578           it is now defined at build-time by the makefile.
3579
3580 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
3581
3582         * fileio.c: (expand_file_name): under win32: Don't treat names as
3583         UNC names if a drive letter has been specified.  If a drive has
3584         been specified, strip out extra directory-seperators that
3585         reportedly cause problems under Win95.
3586
3587 1998-07-05  Andy Piper  <andyp@parallax.co.uk>
3588
3589         * faces.c (complex_vars_of_faces): for the gui-element face don't
3590         fallback to the default face, instead provide reasonable default
3591         fallbacks that were previously hardcoded elsewhere.
3592
3593 1998-07-06  Olivier Galibert  <galibert@pobox.com>
3594
3595         * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
3596         when the X server endianness is different than the client's one.
3597
3598 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
3599
3600         * eval.c (run_hook_with_args_in_buffer): Check
3601           default (non-buffer-local) value of hook for
3602           nil before treating it as a function.  Don't initialize
3603           the `globals' variable twice.
3604
3605 1998-06-24  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3606
3607         * fileio.c: Don't do directory seperator canonicalisation in
3608           substitute-in-file-name because we don't know that the
3609           filename refers to a local file.
3610
3611 1998-06-24  Adrian Aichner  <aichner@ecf.teradyne.com>
3612
3613         * process-nt.c (nt_create_process): Try appending the standard
3614           executable file extensions to the filename if none supplied.
3615
3616 1998-06-29  SL Baur  <steve@altair.xemacs.org>
3617
3618         * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
3619         for cygwin32.
3620         From Keisuke Mori <ksk@ntts.com>
3621
3622 1998-06-24  Andy Piper  <andyp@parallax.co.uk>
3623
3624         * toolbar-msw.c (mswindows_output_toolbar): only enable masked
3625         images if we have masks. This handles the xbm case (have masks)
3626         and avoids overuse of resources in the xpm case (generally no masks).
3627         Don't output small toolbars.
3628
3629 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
3630
3631         * eval.c (run_hook_with_args_in_buffer): Don't treat
3632           the default value of a buffer local hook as a list of
3633           hooks unless it is both a cons and the car of that cons
3634           is not Qlambda.
3635
3636 1998-06-29  SL Baur  <steve@altair.xemacs.org>
3637
3638         * extents.c: Email address for Ben Wing is ben@xemacs.org.
3639         * process-unix.c: Ditto.
3640         * mule-coding.h: Ditto.
3641         * mule-coding.c: Ditto.
3642         * mule-charset.c: Ditto.
3643         * mule-charset.h: Ditto.
3644         * file-coding.c: Ditto.
3645         * file-coding.h: Ditto.
3646
3647 1998-06-22  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3648
3649         * event-msw.c: Guard against recursion when freeing
3650           FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
3651
3652         * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
3653           Call ShowWindow twice in init_frame_3 to get round runemacs
3654           weirdness.
3655
3656 1998-06-27  Hrvoje Niksic  <hniksic@srce.hr>
3657
3658         * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
3659
3660         * winslots.h: Rename.
3661
3662         * window.c (specifier_vars_of_window): Renamed
3663         vertical-divider-draggable-p to vertical-divider-always-visible-p,
3664         as suggested by Ben Wing.
3665         (specifier_vars_of_window): Fix docstrings.
3666
3667 1998-06-22  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
3668
3669         * unexaix.c: Line number information works correctly again.
3670
3671 1998-06-22  Olivier Galibert  <galibert@pobox.com>
3672
3673         * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
3674
3675 1998-06-21  Martin Buchholz  <martin@xemacs.org>
3676
3677         * editfns.c (get_home_directory): ANSIfy.
3678         XEmacs is compilable under C *and* C++.
3679         It's XEmacs, not Xemacs!
3680
3681 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3682
3683         * console-msw.h: added a list of fonts to device data.
3684
3685         * device-msw.c: enumerate list of available fonts in
3686           mswindows_init_device. Free list in mswindows_delete_device.
3687
3688         * objects-msw.c: Added helper function match_font used by
3689           mswindows_initialize_font_instance and mswindows_list_fonts.
3690           Allow a charset to be specified in a font string, even if
3691           previous fields havn't been specified.
3692
3693 1998-06-23  Greg Klanderman  <greg@alphatech.com>
3694
3695         * indent.c (column_at_point): column cache bugfix.
3696         Set last_known_column_point to the buffer position for
3697         which the column was requested, not buffer's point.
3698
3699         * redisplay.c (decode_mode_spec): for current-column, show
3700         window's point's column, not buffer's point's column.
3701
3702 1998-06-23  Andy Piper  <andyp@parallax.co.uk>
3703
3704         * menubar-msw.c (mswindows_handle_wm_command): use
3705         enqueue_misc_user event rather than
3706         mswindows_enqueue_msic_user_event to fix customize problems. Add some
3707         checks that X does.
3708
3709         * console-msw.h: declare mswindows_enqueue_magic_event.
3710
3711         * event-msw.c (mswindows_enqueue_magic_event): make global.
3712
3713 1998-06-24  Hrvoje Niksic  <hniksic@srce.hr>
3714
3715         * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
3716         (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
3717         (add_position_to_cache): Use EMACS_INT instead of int.
3718
3719 1998-06-21  Olivier Galibert  <galibert@pobox.com>
3720
3721         * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
3722         suitable for an int used as a boolean (btw, C sucks.).
3723
3724 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
3725
3726         * object-msw.c: remove warnings.
3727
3728         * device-msw.c: #define wrongly named cygwin structure elements.
3729
3730         * s/cygwin32.h: define DEMI_BOLD
3731
3732 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3733
3734         * redisplay-msw.c: new function mswindows_apply_face_effects.
3735           This is called by output_string and output_cursor to display
3736           underline and strikeout on faces.
3737
3738 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3739
3740         * console-msw.h: added a list of fonts to device data.
3741
3742         * device-msw.c: enumerate list of available fonts in
3743           mswindows_init_device. Free list in mswindows_delete_device.
3744
3745         * objects-msw.c: Added helper function match_font used by
3746           mswindows_initialize_font_instance and mswindows_list_fonts.
3747           Allow a charset to be specified in a font string, even if
3748           previous fields havn't been specified.
3749
3750 1998-06-15  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3751
3752         * objects-msw.c:
3753           Removed compilation warnings from mswindows_string_to_color.
3754           mswindows_list_fonts returns a more general bogus font.
3755           New lisp-visible function mswindows-color-list.
3756
3757 1998-06-19  David Bush <david.bush@adn.alcatel.com>
3758
3759         * editfns.c (Fuser_login_name): Modify to user new function
3760         user_login_name.
3761         (user_login_name): C only function to avoid Lisp object overhead
3762         Returns "unknown" instead of nil in Cygwin environment
3763
3764         * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
3765         equivalent for current user in Cygwin environment. Use new
3766         function user_login_name to get username.
3767
3768         * lisp.h: Declare user_login_name
3769
3770 1998-06-18  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
3771
3772         * unexaix.c (make_hdr): Fixed bias computations so debugging info
3773         works again.
3774         Some other insignificant nitpicks.
3775
3776 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
3777
3778         * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
3779         creating the image list and make sure he bk color is transparent.
3780
3781 1998-06-18  Jan Vroonhof  <vroonhof@math.ethz.ch>
3782
3783         * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
3784         completed_timeouts. The timer could have expired.
3785
3786 1998-06-17  Andy Piper  <andyp@parallax.co.uk>
3787
3788         * console-msw.h: move XEMACS_RECT_WH inside frame
3789         parameters. define macors to access it.
3790
3791         * frame-msw.c (mswindows_init_frame_1): use new target_rect
3792         parameter to intialise desired sizing. (mswindows_init_frame_2):
3793         enable and size the frame to something sensible when we get
3794         here. (mswindows_set_frame_properites): use new
3795         mswindows_size_frame_internal function and size frame if frame
3796         parameters not just if init is finished - WM_SIZE happens too
3797         early for some specs. (mswindows_size_frame_internal): new
3798         function abstracted from mswindows_set_frame_properties.
3799         (Vmswindows_use_system_frame_size_defaults):
3800         new variable controls whether to allow the system to pick frame
3801         size defaults, defaults to nil.
3802
3803         * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
3804         than duplicated code.
3805
3806 1998-06-15  Colin Rafferty <colin@xemacs.org>
3807
3808         * Makefile.in.in: Made EXTW_LINK expand properly.
3809
3810 1998-06-12  Martin Buchholz  <martin@xemacs.org>
3811
3812         * redisplay.c (vars_of_redisplay): default value of
3813         column-number-start-at-one should be NIL!
3814
3815 1998-06-11  Martin Buchholz  <martin@xemacs.org>
3816
3817         * casefiddle.c:
3818         (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
3819
3820 1998-06-05  Hrvoje Niksic  <hniksic@srce.hr>
3821
3822         * eldap.c (Fldap_search_internal): Use build_ext_string instead of
3823         build_string to avoid crashes under Mule.
3824
3825 1998-06-13  Andy Piper  <andyp@parallax.co.uk>
3826
3827         * ntplay.c (play_sound_data_1): don't delete the sound data until
3828         the next sound is played and the previous one finished.
3829
3830 1998-06-10  Samuel Mikes  <smikes@alumni.hmc.edu>
3831
3832         * fileio.c (directory-sep-char): Escape backslashes.
3833
3834 1998-06-10  Hrvoje Niksic  <hniksic@srce.hr>
3835
3836         * event-stream.c: Fix docstring reference.
3837
3838 1998-06-12  Hrvoje Niksic  <hniksic@srce.hr>
3839
3840         * alloc.c (make_float): Remove useless initialization of `next'
3841         field.
3842         (make_pure_float): Ditto.
3843
3844         * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
3845
3846 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
3847
3848         * fileio.c (Fmake_directory_internal): Remove conditionals
3849         on WINDOWSNT when calling mkdir.
3850
3851         * ntproc.c: Deleted the following unused functions:
3852         register_child, reap_subprocess, sys_wait.
3853
3854         * nt.c (sys_rename): Ifzeroed this implementation.
3855         Deleted the following unused functions:
3856         sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
3857         sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
3858         sys_read, sys_write.
3859         Merger sys_fopen and sys_open with sysdep.c implementation.
3860
3861         * sysdep.c: Removed MS-DOS code.
3862         (sys_rename): Deal with Microsoft rename weirdness.
3863         (sys_open): Implemented for Windows.
3864         (sys_fopen): Ditto.
3865         (sys_mkdir): Ditto.
3866
3867 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
3868
3869         * buffer.c (complex_vars_of_buffer): Removed %t description from
3870         the docstring.
3871
3872 1998-06-04  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
3873
3874         * scrollbar-msw.c: initialize the cbSize element of the
3875         SCROLLINFO struct before calling SetScrollInfo. WinNT seems
3876         to ignore the value of cbSize, but Win95 (and I presume Win98)
3877         appear to want it set to sizeof(SCROLLINFO).
3878
3879 1998-06-04  Kirill M. Katsnelson  <kkm@kis.ru>
3880
3881         * event-stream.c: Defined Qcancel_mode_internal.
3882         (syms_of_event_stream): defsymbol'ed it.
3883
3884         * events.h: Externed it.
3885
3886         * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
3887
3888 1998-06-04  Oliver Graf <ograf@fga.de>
3889
3890         * frame-x.c (x_cde_destroy_callback): free the data
3891         (cde-start-drag-internal) corrected root position, 21.1 needs this
3892         hardcoded in Button events
3893         (offix-start-drag-internal) corrected root position
3894
3895 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
3896
3897         * process-nt.c (signal_cannot_launch): Use signal_simple_error()
3898         instead of error().
3899
3900 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
3901
3902         * dialog-msw.c (button_width): Removed `inline' from the function
3903         declaration.
3904
3905 1998-06-03  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
3906
3907         * frame-msw.c: add WS_VISIBLE flag to the first frame created.
3908         Note that adding this flag to subsequent frames causes problems.
3909
3910 1998-06-03  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3911
3912         * glyphs-eimage.c (png_instantiate) move 'struct
3913         png_memory_storage tbr' out of nested block to avoid dangling
3914         reference
3915
3916 1998-06-02  Andy Piper  <andyp@parallax.co.uk>
3917
3918         * faces.h:
3919         * faces.c: rename 3d-object -> gui-element. add toolbar face which
3920         inherits from gui-element.
3921
3922         * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
3923         with existing code, generate masks correctly.
3924
3925 1998-06-03  P. E. Jareth Hein  <jareth@camelot-soft.com>
3926
3927         * glyphs-eimage.c: Changed included header for gifs to use
3928         Gifreader instead of giflib.
3929
3930         * glyphs-x.c: removed the image-related functions that were
3931         moved into glyphs-eimage.
3932
3933 1998-06-02  David Bush  <david.bush@adnb.alcatel.com>
3934
3935         * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
3936         if built without X Windows support.
3937
3938 1998-06-02  Hrvoje Niksic  <hniksic@srce.hr>
3939
3940         * fns.c (Fconcat): Synch docstring with new reality.
3941
3942 1998-06-03  SL Baur  <steve@altair.xemacs.org>
3943
3944         * frame.c: Remove reference to msdos.h (which is going away).
3945         Suggested by Hrvoje Niksic and Kirill Katsnelson.
3946
3947 1998-06-02  P. E. Jareth Hein  <jareth@camelot-soft.com>
3948
3949         * glyphs-eimage.c (jpeg_instantiate): Fix handling of
3950         grayscale images/
3951
3952
3953 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
3954
3955         * events.h: Fixed commentary about misc-user scrollbar events.
3956
3957         * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
3958         object as an event channel, instead of window object.
3959         (x_update_horizontal_scrollbar_callback): Ditto.
3960
3961 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
3962
3963         * ntplay.c (play_sound_data_1) new function. convert alloca data
3964         to malloc if necessary.
3965         (play_sound_file): if the file is not in our path then convert to
3966         data and play.
3967
3968 1998-06-01  SL Baur  <steve@altair.xemacs.org>
3969
3970         * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
3971         * msdos.c (Frecent_doskeys): Ditto.
3972
3973         * unexalpha.c (unexec): Reverse parameters in call to memcpy.
3974         Suggested by Reggie Perry <perry@zso.dec.com>
3975
3976         * buffer.h: Eliminate size in declaration.
3977
3978 1998-06-01  Olivier Galibert  <galibert@pobox.com>
3979
3980         * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
3981
3982 1998-06-01  Kirill M. Katsnelson  <kkm@kis.ru>
3983
3984         * gui.c (gui_item_init): Changed the default value for config member
3985         from Qunbound to Qnil.
3986
3987 1998-06-01  Greg Klanderman  <greg@alphatech.com>
3988
3989         * indent.c (vmotion_pixels): Don't #define abs().
3990
3991 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
3992
3993         * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
3994         respectively.
3995
3996 1998-05-30  Andy Piper  <andyp@parallax.co.uk>
3997
3998         * glyphs.h: add xbm declarations.
3999
4000         * console.h: add xbm_instantiate_method device method.
4001
4002         * glyphs.c (check_valid_xbm_inline) (xbm_validate)
4003         (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
4004         (xbm_possible_dest_types): moved here from glyphs-x.c. use
4005         locate_pixmap_file device method and read_bitmap_data_from_file
4006         instead of XmuReadBitmapDataFromFile.
4007         (xbm_instatntiate): make a device method.
4008
4009         * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
4010         new function that just calls XmuReadBitmapDataFromFile.
4011         (x_xbm_instatntiate): device method from xbm_instantiate.
4012
4013         * glyphs-msw.c (read_bitmap_data) (NextInt)
4014         (read_bitmap_data_from_file): new functions copied from Xmu
4015         sources.
4016         (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
4017         inline data to an mswindows bitmap.
4018         (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4019         (mswindows_xbm_instantiate): mswindows-ized versions of the X
4020         functions.
4021
4022 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
4023
4024         * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4025         `modeline-visible-p'.
4026         Declared specifier lisp variables at the beginning oh the file
4027         as static.
4028
4029         * procimpl.h (struct process_methods): Changed semantics of
4030         create_process method so it accepts lisp strings instead of
4031         char pointers.
4032
4033         * process.c (Fstart_process_internal): Moved building of
4034         unix style argv from here to process-unix.c, ...
4035
4036         * process-unix.c (unix_create_process): ... right here.
4037
4038         * process-nt.c (nt_create_process): Changed this function to
4039         support new semantics, so avoided a GC problem.
4040
4041         * events.c (Fmake_event): Document misc-user events properties.
4042         (Fmake_event): Do not allow arbitrary objects for channel property
4043         of misc-user events.
4044         (Fmake_event): Change misc-user event validation: it is function
4045         which is required, not button.
4046
4047         * event-msw.c (mswindows_user_event_p): Recognize misc user events as
4048         user events.
4049         (mswindows_enqueue_misc_user_event): Added function.
4050         (mswindows_bump_queue): Removed function.
4051         (mswindows_enqueue_magic_event): Support NULL HWND parameter.
4052         (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
4053         (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
4054         (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
4055         really nothing, which is my personal favorite thing.
4056
4057         * console-msw.h: Removed prototype for mswindows_bump_queue().
4058         Added prototype for mswindows_enqueue_misc_user_event().
4059
4060         * menubar-msw.c (mswindows_handle_wm_command): Use
4061         mswindows_enqueue_misc_user_event().
4062
4063         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4064
4065         * dialog-msw.c (dialog_proc): Ditto.
4066
4067         * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
4068          (mswindows_handle_scrollbar_event): Use frame, not window, for misc
4069         user events channel.
4070
4071 1998-05-29  Greg Klanderman  <greg@alphatech.com>
4072
4073         * window.c (Fwindow_displayed_text_pixel_height): was relying on
4074         incorrect semantics of vmotion_pixels which has been fixed.  don't
4075         use it anymore as it can't easily be used.
4076
4077         * indent.c (vmotion_pixels): fix off by one bug moving up.  also
4078         the motion was reported incorrectly if you tried to go past end of
4079         buffer.
4080
4081 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
4082
4083         * toolbar.h: Removed misleading commentary, as Martin suggested.
4084
4085 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
4086
4087         * lisp.h: Extern Qactivate_menubar_hook.
4088
4089         * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
4090         run_hook ().
4091
4092 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
4093
4094         * glyphs-msw.c: use BPLINE macro.
4095
4096         * select-msw.c (mswindows-selection-exists-p)
4097         (mswindows-delete-selection): doc string fixes.
4098
4099         * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
4100         unpressable. warning elimination.
4101
4102 1998-05-28  Martin Buchholz  <martin@xemacs.org>
4103
4104         * alloc.c (dbg_constants):
4105         * dbxrc:
4106         * gdbinit:
4107         Remove toolbar_data debugging code, since that lrecord has
4108         also been removed.
4109
4110 Wed May 27, 1998  Darryl Okahata  <darrylo@sr.hp.com>
4111
4112         * alloc.c: zap cached value of (user-home-directory), so that
4113           it's not undumped.
4114
4115         * buffer.c: From init_buffer(), separated out code that
4116           determined the initial directory for the *scratch* buffer, and
4117           put them into a function called "init_initial_directory()".
4118           The initial directory is now available as a global "char *"
4119           called initial_directory.
4120
4121         * buffer.h: Added extern entries for initial_directory[] and
4122           init_initial_directory().
4123
4124         * editfns.c: added new elisp function "user-home-directory",
4125         which basically returns getenv("HOME"), but attempts to use
4126         other values if $HOME isn't set.This may have to be tweaked in
4127         the future as, under Unix, "/" is used if $HOME isn't set (this
4128         probably should be set to the current directory).  To support
4129         this, a new C function, "get_home_directory()", now exists,
4130         which returns the "home directory", as a "char *" string.
4131
4132         * emacs.c: Rearrange NT initialization order so that
4133         environment/registry variables will be properly entered into
4134         Vprocess_enviroment.
4135
4136         * fileio.c: replaced egetenv("HOME") with calls to the new
4137           get_home_directory().
4138
4139         * lisp.h: Added function prototypes for uncache_home_directory()
4140           and get_home_directory(), along with lisp prototypes for
4141           Fuser_home_directory() and friends.
4142
4143         * nt.c: replaced getenv("HOME") with calls to the new
4144           get_home_directory().
4145
4146         * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
4147           warnings about getcwd(), etc. not having prototypes.
4148
4149 1998-05-28  Kirill M. Katsnelson  <kkm@kis.ru>
4150
4151         * process-nt.c (send_signal): Emulate SIGHUP.
4152         (validate_signal_number): Ditto.
4153
4154         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
4155         remove MOD_SHIFT from ASCII characters.
4156         (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
4157         F10 is pressed.
4158
4159 1998-05-24  Oliver Graf <ograf@fga.de>
4160
4161         * frame-x.c (cde-start-drag-internal): added filename and multi-
4162         data transfers
4163         (x_cde_convert_callback) dito
4164
4165 1998-05-26  Oliver Graf <ograf@fga.de>
4166
4167         * frame-x.c: include event-mod.h also with CDE
4168         (x_cde_convert_callback) made the thing working
4169         (cde-start-drag-internal) also debugging
4170
4171 1998-05-25  Hans Guenter Weigand  <hgweigand@wiesbaden.netsurf.de>
4172
4173         * m/sparc.h:
4174         * getloadavg.c:
4175         * malloc.c:
4176         * unexec.c:
4177         * mem-limits.h:
4178           - add __OpenBSD__ where __NetBSD__ was found.
4179           - TODO: replace platform-specific conditional compilation by
4180             feature tests in configure.in.
4181
4182 1998-05-15  Greg Klanderman  <greg@alphatech.com>
4183
4184         * window.c (Fwindow_displayed_text_pixel_height): New function.
4185         (syms_of_window): DEFSUBR it.
4186
4187         * indent.c (Fvertical_motion_pixels): New function - request
4188         movement in pixels.
4189         (vmotion_pixels): helper.
4190         (syms_of_indent): DEFSUBR.
4191         * lisp.h: declaration for vmotion_pixels().
4192
4193         * indent.c (Fvertical_motion): Add optional third argument PIXELS,
4194         to request returning motion in pixels.
4195         (Fvertical_motion_pixels): Remove, functionality merged into
4196         Fvertical_motion.
4197         * window.c (window_scroll): call Fvertical_motion with 3 arguments.
4198         (Fmove_to_window_line): ditto.
4199         * lisp.h: Change declaration for Fvertical_motion.
4200
4201         * window.c: rename window-text-pixel-{height,width,edges} to
4202         window-text-area-pixel-*.
4203
4204 1998-05-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4205
4206         * tooltalk.c (vars_of_tooltalk) added staticpro for
4207         Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
4208
4209 1998-05-27  Andy Piper  <andyp@parallax.co.uk>
4210
4211         * faces.c: create a new 3d_object_face, make modeline and
4212         vertical_divider faces fallback to this rather than the default.
4213
4214 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
4215
4216         * s/cygwin32.h: define charsets for cygwin.
4217
4218 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
4219
4220         * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
4221         and coordinates. resize bitmaps if we have already settled on a
4222         different size.
4223
4224         * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
4225
4226 1998-05-25  Hrvoje Niksic  <hniksic@srce.hr>
4227
4228         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4229
4230         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4231
4232         * gui.h: Ditto.
4233
4234         * gui-x.c (popup_selection_callback): Ditto.
4235
4236         * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
4237
4238         * gui.c (get_callback): Renamed to get_gui_callback.
4239
4240 1998-05-17  Martin Buchholz  <martin@xemacs.org>
4241
4242         * glyphs.h: order rearrangement.
4243
4244         * device-tty.c (tty_asynch_device_change): Warning suppression.
4245         * device-x.c (x_device_system_metrics): Warning suppression.
4246         Make Doc strings consistent with coding standards.
4247
4248 1998-05-24  Martin Buchholz  <martin@xemacs.org>
4249
4250         * general.c: multiple definition of `Qicon'.  general.c seems
4251           like a good home for Qicon.
4252
4253 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
4254
4255         * This patch is to fix compilation warnings under Windows.
4256
4257         * s/windowsnt.h: Encapsulate getpid with sys_getpid.
4258         Added prototypes for FSF inherited functions, with which XEmacs is
4259         sprinkled thoroughly.
4260         Removed some #if 0 code. Bracketed some more definitions, probably
4261         related to Visual C versions prior to 4 (we do not support them).
4262
4263         * sysfloat.h (logb): Finally, get logb() prototyped.
4264
4265         * sysfile.h: Added Windows specific includes.
4266         Removed old Windows specific code bracketed with #if 0.
4267
4268         * sysdep.h: Added prototype for xrealpath().
4269
4270         * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
4271
4272         * symsinit.h: Added prototypes for syms_of_dired_mswindows,
4273         vars_of_dired_mswindows and init_ntproc (Grrr).
4274
4275         * realpath.c: Added Windows specific include files.
4276         (xrealpath): Conditionalized declaration of some auto variables on
4277         S_IFLNK, to avoid warnings.
4278
4279         * ntproc.c: Disabled some compiler warnings. This file is going to
4280         die, so I have not cleaned it up much.
4281         (set_process_dir): Const parameter.
4282         (Fwin32_short_file_name): Down CHECK_* macros to one argument.
4283         (Fwin32_long_file_name): Ditto.
4284         (Fwin32_set_process_priority): Ditto. Why didn't I remove these
4285         three functions?
4286
4287         * nt.h: Added prototypes for set_process_dir and convert_time.
4288
4289         * nt.c: More include files.
4290         (getpwnam): Consted char* argument.
4291         (get_emacs_configuration): Const return value.
4292         (opendir): Const argument.
4293         (stat): Casted converstion long->short.
4294         (stat): Removed ad hoc and questionable support for non-MSC compile.
4295         (sys_pipe): Removed unused auto variable.
4296         (_sys_read_ahead): Removed calls to DebPrint.
4297         (sys_read): Ditto, in 2 places.
4298         (term_ntproc): Added unused int parameter to signal handler, to
4299         avoid a warning when compiling a call to signal().
4300         (msw_sigset): Properly return old signandler or NULL instead of void.
4301
4302         * floatfns.c (Flogb): Casted arguments to unary minus to signed.
4303
4304         * gmalloc.c (morecore): Ditto.
4305         (_free_internal): Ditto.
4306
4307         * lread.c (parse_integer): Ditto.
4308
4309         * dired-msw.c: Added several include files.
4310
4311         * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
4312         of Compilers to Shut Up.
4313
4314         * callproc.c: Added #includes to suppress warnings under Windows.
4315         (init_callproc): Removed #if0'ed code and unused variables.
4316
4317 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
4318
4319         * device-msw.c (mswindows_device_system_metrics): do planes in a
4320         way consistent with X.
4321
4322         * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
4323         use SetPixel, use DIBits functions.
4324         (xpm_to_eimage): frob colors more closely like xpm deos.
4325
4326         * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
4327         to be closer to X version.
4328
4329         * event-msw.c: use tooltip string directly.
4330
4331         * redisplay-msw.c: reinstate Kirill's bg pixmap change.
4332
4333         * objects-msw.c: frob rgb colors that only Kyle uses.
4334
4335         * dialog-msw.c (button_width): INLINE -> inline.
4336
4337 1998-05-23  SL Baur  <steve@altair.xemacs.org>
4338
4339         * getloadavg.c (getloadavg): Fix typo.
4340
4341 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
4342
4343         * objects-msw.c (mswindows_initialize_font_instance): Added support
4344         for font character sets.
4345         Replaced 'XXX' with '####' in comments throughout the file.
4346
4347 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
4348
4349         * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
4350         console_type_create_dialog_mswindows(), to initialize Windows dialog
4351         support.
4352
4353         * symsinit.h: Prototyped the above functions.
4354
4355         * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
4356         checks to dialog.c...
4357
4358         * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
4359         device must support dialog boxes, and the descriptor must supply at
4360         least one button.
4361
4362         * dialog-msw.c: New file, dialogs for Windows.
4363
4364 1998-05-21  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
4365
4366         * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
4367         (Fldap_search_internal): Removed unused variable `err'
4368
4369         * eldap.h: Moved Lisp_LDAP declaration here instead of using a
4370         forward declaration
4371
4372 1998-05-17  Martin Buchholz  <martin@xemacs.org>
4373
4374         * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
4375         defined.  Therefore there is no need to handle the case when
4376         HAVE_LDAP is undefined.  Similarily, there is no reason to have
4377         any code wrapped within `#ifdef emacs', since this code is only
4378         useful within an emacs.  This simplifies the code significantly.
4379
4380         * inline.c: Include eldap.h only if HAVE_LDAP.
4381         * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
4382         already does that.
4383
4384 1998-05-21  Kirill M. Katsnelson  <kkm@kis.ru>
4385
4386         * unexnt.c (copy_executable_and_dump_data_section): Suppress
4387         printing dump stats when building without DEBUG_XEMACS.
4388         (dump_bss_and_heap): Ditto.
4389
4390 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
4391
4392         * gnuclient.c: don't suppress window system if there is no display
4393         and we are running under mswindows. send 'mswindows device type if
4394         we are in this situation.
4395
4396 1998-05-20  Andy Piper  <andyp@parallax.co.uk>
4397
4398         * general.c:
4399         * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
4400
4401         * glyphs-msw.c: change cursor imgae type name to resource. Fix
4402         some nits.
4403
4404 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
4405
4406         * EmacsFrame.c (Xt_StringToScrollBarPlacement):  Added support for
4407         {top,bottom}-{left,right} values in addition to
4408         {top,bottom}_{left,right}.
4409
4410 1998-05-18  Hrvoje Niksic  <hniksic@srce.hr>
4411
4412         * fileio.c (Fmake_temp_name): Remove unreached code.
4413
4414         * process-nt.c (validate_signal_number): Use
4415         signal_simple_error().
4416
4417 1998-05-19  Martin Buchholz  <martin@xemacs.org>
4418
4419         * unexhp9k800.c:
4420         * sound.c (vars_of_sound):
4421         * sysdep.c (reset_sigio_on_device):
4422         * window.c (window_bottom_gutter_height):
4423         unexhp9k800.c:258: warning: implicit declaration of function
4424         `calculate_checksum'
4425         sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
4426         sysdep.c:1012: warning: unused variable `owner'
4427         window.c:993: warning: `window_right_toolbar_width' defined but not used
4428
4429 1998-05-19  Andy Piper  <andyp@parallax.co.uk>
4430
4431         * glyphs-msw.c (mswindows_create_resized_mask)
4432         (mswindows_create_resized_bitmap): new funnctions split out from
4433         mswindows_resize_dibitmap_instance.
4434
4435         * glyphs-msw.h: declare new resize functions.
4436
4437         * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
4438         functions so that the original bitmaps are preserved.
4439
4440         * sheap.c: fixup static heap exhausted error to avoid FAQs.
4441
4442         * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
4443         color if we are trying to output 0 depth bg pixmap.
4444
4445         * scrollbar-msw.c: warning elimination.
4446
4447 1998-05-18  Martin Buchholz  <martin@xemacs.org>
4448
4449         * frame-x.c (x_update_frame_external_traits): Start preprocessor
4450         directives in column 1.
4451
4452         * search.c (skip_chars): Avoid using xzero with arrays, since some
4453         compilers get confused by the construct &array.
4454
4455 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
4456
4457         * objects-msw.h:
4458         * objects-msw.c: Changed the charset value for a new font from
4459         "don't care" to "ansi".
4460
4461         * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
4462
4463 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
4464
4465         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
4466         modifier on control chars.
4467         Use IsCharAlpha() instead of isaplha().
4468
4469 1998-05-19  Kazuyuki IENAGA <ienaga@jsys.co.jp>
4470
4471         * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
4472
4473 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
4474
4475         * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
4476         charset when creating font.
4477         (mswindows_initialize_color_instance): Do not create brush along
4478         with a color.
4479         (mswindows_finalize_color_instance): Do not delete it then.
4480
4481         * objects-msw.h (struct mswindows_color_instance_data): Removed
4482         brush slot, and corresponding accessor macro.
4483
4484 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
4485
4486         * toolbar.c: Removed toolbar_data lrecord implementation.
4487         (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
4488         with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
4489         (compute_frame_toolbar_buttons): Ditto.
4490         (CHECK_TOOLBAR): Ditto.
4491         (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
4492         (update_frame_toolbars): Do not check for changed buffer
4493         here. Toolbar information is provided by cached specs in
4494         windows. The check for buffer is eliminated becuase toolbars are
4495         marked changed in set_frame_selected_window() in frame.c
4496         Added check for changed toolbars geometry.
4497         (compute_frame_toolbars_data): Removed unused second parameter;
4498         Adjusted callers of this static function throughout the file.
4499         (init_frame_toolbars): Initialize current_toolbar_size.
4500         (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
4501         what is its current expansion, for clarity.
4502         (init_frame_toolbars): Ditto.
4503         (init_device_toolbars): Ditto.
4504         (init_global_toolbars): Ditto.
4505
4506         * toolbar.h: Removed definition of toolbar_data lrecord.
4507         Added accessor macros FRAME_TOOLBAR_BUTTONS and
4508         FRAME_CURRENT_TOOLBAR_SIZE.
4509         Added macro DEVICE_SUPPORTS_TOOLBARS_P.
4510
4511         * toolbar-x.c (x_output_toolbar): The same change as in
4512         toolbar-msw.c
4513         (x_output_toolbar): Ditto.
4514         (x_redraw_exposed_toolbar): Ditto.
4515
4516         * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
4517         buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
4518         (mswindows_output_toolbar): Ditto.
4519         (mswindows_output_toolbar): Ditto.
4520
4521         * frame.c (mark_frame): Removed marking of arrays, according to
4522         frameslots.h change.
4523         (nuke_all_frame_slots): Ditto.
4524         (set_frame_selected_window): Mark toolbars changed when
4525         last_nonminibuf_window changes.
4526
4527         * frame.h (struct frame): Moved some slots to frameslots.h.
4528         Added current_toolbar_size array.
4529         Changed references from toolbar_data to toolbar_buttons in macros
4530         FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
4531         FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
4532         FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
4533
4534         * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
4535         Moved arrays of lisp objects here from frame.h: toolbar_size,
4536         toolbar_visible_p, toolbar_border_width.
4537         Removed toolbar_data slot and added toolbar_buttons.
4538
4539 1998-05-17  Kirill M. Katsnelson  <kkm@kis.ru>
4540
4541         * symsinit.h: Externed syms_of_process_nt()
4542
4543         * emacs.c (main_1): Call syms_of_process_nt()
4544
4545         * process-nt.c: Quote process arguments by a call to Lisp function
4546         `nt-quote-process-args'.
4547         (syms_of_process_nt): New function.
4548         (nt_send_process): Flush data stream after each write, to avoid
4549         leaving buffered data.
4550         (nt_send_process): When blocked on process output, wait for
4551         process to slurp more for progressively increasing time intervals.
4552
4553 1998-05-17  Martin Buchholz  <martin@xemacs.org>
4554
4555         * window.c (have_undivided_common_edge): Make file-local function
4556         static.
4557         (map_windows): Return 0 if all map functions successful.
4558         Fix typos.
4559
4560         * winslots.h: Use unlikely names for local variables in macros to
4561         avoid shadowing warnings.
4562
4563 1998-05-17  Andy Piper  <andyp@parallax.co.uk>
4564
4565         * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
4566         so that we re-output if the toolbar size has changed.
4567
4568 1998-05-17  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
4569
4570         * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
4571
4572         * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
4573
4574         * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
4575         greater).
4576
4577 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
4578
4579         * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
4580         get bitmap manifest constants defined.
4581
4582         * console-msw.h: Include system files in angle brackets, not in
4583         quotes.
4584
4585         * window.c (specifier_vars_of_window): Fixed a typo in
4586         `vertical-divider-line-width' docstirng.
4587
4588 1998-05-16  Olivier Galibert  <galibert@pobox.com>
4589
4590         * line-number.c (delete_invalidate_line_number_cache): Use an
4591         EMACS_INT.
4592         (buffer_line_number): Remove dangerous, plain wrong when using
4593         64bits emacs ints, cast.
4594
4595         * insdel.c (buffer_delete_range): Use an EMACS_INT.
4596
4597         * cmds.c (Fforward_line): Use EMACS_INTs.
4598
4599         * search.c (bi_scan_buffer): Change to use EMACS_INTs.
4600         (scan_buffer): Ditto.
4601         (bi_find_next_newline_no_quit): Remove useless cast.
4602         (find_next_newline_no_quit): Ditto.
4603         (find_next_newline): Ditto.
4604         (find_before_next_newline): Use an EMACS_INT.
4605
4606         * lisp.h: Change scan_buffer to pass EMACS_INTs.
4607
4608 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
4609
4610         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4611
4612         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4613
4614         * gui-x.c (popup_selection_callback): Use it.
4615
4616         * gui.h (get_callback): Declare it.
4617
4618         * gui.c (get_callback): New function.
4619
4620 1998-05-15  SL Baur  <steve@altair.xemacs.org>
4621
4622         * window.c (have_undivided_common_edge): Guard scrollbar specific
4623         stuff.
4624         (window_needs_vertical_divider_1): Ditto.
4625
4626 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
4627
4628         * emacs.c (decode_path): Eliminate compiler warning.
4629         (Fdecode_path): Renamed to Fsplit_path.
4630         (Fsplit_string_by_char): New function.
4631
4632 1998-05-14  Damon Lipparelli  <lipp@primus.com>
4633
4634         * winslots.h: close comment
4635
4636 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
4637
4638         * callproc.c: Removed declared and unused variable Qbuffer_file_type.
4639
4640         * bufslots.h: Removed buffer_file_type slot.
4641
4642         * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
4643         buffer local flags.
4644         (complex_vars_of_buffer): Removed buffer-file-type variable and
4645         its default reference.
4646
4647 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
4648
4649         * faces.c (complex_vars_of_faces): Defined
4650         Vvertical_divider_face.
4651         (vars_of_faces): Staticpro it.
4652
4653         * faces.h: Externed Vvertical_divider_face.
4654
4655         * redisplay-x.c (x_output_vertical_divider): Use
4656         Vvertical_divider_face to draw the divider instead of modeline
4657         face.
4658
4659         * redisplay-msw.c (mswindows_output_vertical_divider): Draw
4660         divider face using Vvertical_divider_face background.
4661         Fix drawing spacing gaps around the divider.
4662
4663 1998-05-14  Didier Verna  <verna@inf.enst.fr>
4664
4665         * redisplay-x.c (x_output_vertical_divider): removed hard-wired
4666         values for the vertical divider line width and spacing. Use the
4667         cached values from the window structure instead.
4668         (x_divider_width): ditto.
4669
4670         * window.c (specifier_vars_of_window): new specifiers:
4671         vertical-divier -line-width and -spacing.
4672         (vertical_divider_global_width_changed): formerly known as
4673         vertical_divider_shadow_thickness_changed.
4674
4675         * winslots.h: new slots: vertical_specifier _line_width and
4676         _spacing. Plus corrected a comment typo.
4677
4678 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
4679
4680         * window.h: Declared window_divider_width().
4681
4682         * console-stream.c (stream_divider_width): Removed method.
4683         (console_type_create_stream): And declaration for it.
4684
4685         * redisplay.c (pixel_to_glyph_translation): Use
4686         window_divider_width() instead of divider_width redisplay method.
4687         (pixel_to_glyph_translation): Fix top divider edge calculation
4688         when scrollbar is on top.
4689
4690         * window.c (window_divider_width): New function, an outphaser for
4691         divider_width redisplay method.
4692         (window_right_gutter_width): Use it.
4693         (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
4694         specifiers, set fallback values differently on TTYs, and document
4695         the behavior of these on TTYs in the docstrings.
4696
4697         * scrollbar.c (update_scrollbar_instance): Use
4698         window_divider_width() instead of divider_width redisplay method.
4699
4700         * console.h (struct console_methods): Removed divider_width_method.
4701
4702         * redisplay-tty.c (tty_divider_width): Removed device method.
4703         (console_type_create_redisplay_tty): Removed definition for it.
4704         (tty_output_vertical_divider): Respect the value returned by
4705         window_divider_width thus divider line width specification.
4706
4707         * redisplay-msw.c (mswindows_divider_width): Removed device method.
4708         (console_type_create_redisplay_mswindows): Removed definition for it.
4709         (mswinodws_output_vertical_divider): Respect the value returned by
4710         window_divider_width thus divider line width specification.
4711
4712 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
4713
4714         * toolbar-msw.c: guess toolbar frame size a bit more accurately.
4715
4716 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
4717
4718         * glyphs-msw.c: resource loading implementation.
4719         (cursor_normalize): new function.
4720         (cursor_validate): ditto.
4721         (cursor_instantiate): ditto.
4722         (cursor_name_to_resource): ditto.
4723         (cursor_possible_dest_types): ditto.
4724         (check_valid_symbol): ditto.
4725         (check_valid_string_or_int): ditto.
4726
4727 1998-05-14  Martin Buchholz  <martin@xemacs.org>
4728
4729         * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
4730         VINTR and VQUIT.
4731
4732         * process-unix.c (process_signal_char): Use VSUSP instead of
4733         non-standard VSWTCH.  Always prefer VSUSP to VSWTCH.
4734
4735 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
4736
4737         * specifier.c (specifier_instance): Change locale precedence of
4738         instantiation so window locale has higher priority than buffer
4739         locale.
4740         (Fspecifier_instance): Reflect this in docstring.
4741         (Fadd_spec_list_to_specifier): Ditto.
4742         (Fadd_spec_to_specifier): Ditto.
4743         (Fremove_specifier): Ditto.
4744
4745 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
4746
4747         ** Dialog separation into a device method from Andy Piper
4748
4749         * emacs.c (main_1): Call console_type_create_dialog_x().
4750
4751         * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
4752         into this device method.
4753         (console_type_create_dialog_x): New function.
4754
4755         * dialog.c (Fpopup_dialog_box): New function.
4756         (syms_of_dialog): Defsubr it.
4757
4758         * console.h (struct console_methods): Declared
4759         popup_dialog_box_method().
4760
4761         * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
4762
4763 1998-05-14  Oliver Graf <ograf@fga.de>
4764
4765         * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
4766         * frame-x.c (x_cde_transfer_callback): checked for merge errors
4767
4768 1998-05-13  Oliver Graf <ograf@fga.de>
4769
4770         * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
4771
4772 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
4773
4774         * console.h (device_metrics): Removed dbcs, input-method-editor
4775         and right-to-left metrics.
4776
4777         * device.c (Fdevice_system_metric): Ditto.
4778         (Fdevice_system_metrics): Ditto.
4779         (syms_of_device): Ditto.
4780         (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
4781         again.
4782
4783 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
4784
4785         * line-number.h (mark_line_number_cache): Remove unused
4786         declaration.
4787
4788         * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
4789         (get_nearest_line_number): Simplify.
4790         (add_position_to_cache): Make the old marker point nowhere.
4791
4792 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
4793
4794         ** Renamed window-divider-map => vertical-divider-map
4795         and event-over-divider-p => event-over-vertical-divider-p,
4796         in the following files/functions:
4797         * events.h:
4798         * events.c (Fevent_over_divider_p):
4799         * keymap.c (get_relevant_keymaps):
4800         (vars_of_keymap):
4801
4802         * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
4803
4804         * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
4805
4806 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
4807
4808         * window.c (vertical_divider_changed_in_window): Renamed so.
4809         (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
4810         (window_needs_vertical_divider_1): Decide whether we need it based
4811         on the value of the above specifier. If separators are unwanted,
4812         put them only if there's no scrollbar between this window and its
4813         right neighbor.
4814         (have_undivided_common_edge): New function, helper for the above.
4815         (window_needs_vertical_divider): Return either a cached value,
4816         or clauclate and cache one.
4817         (invalidate_vertical_divider_cache_in_window): Implemented.
4818         (map_windows): Changed return type to int, return the value from
4819         MAPFUN.
4820
4821         * window.h: Prototype invalidate_vertical_divider_cache_in_window.
4822         (struct window): Added need_vertical_divider_p and
4823         need_vertical_divider_valid_p.
4824
4825         * winslots.h: Added vertical_divider_draggable_p slot.
4826
4827         * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
4828         (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
4829
4830         * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
4831
4832         * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
4833         invalidate_vertical_divider_cache_in_frame().
4834         Prototype it.
4835
4836 1998-05-14  Andy Piper  <andyp@parallax.co.uk>
4837
4838         * toolbar-msw.c: provide correct parameters to TB_SETROWS.
4839
4840         * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
4841         masks correctly and don't select 0.
4842
4843 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
4844
4845         * winslots.h: New file, declaration of some struct window and
4846         struct saved_window members.
4847
4848         * window.h (struct window): Include it, with required preprocessor
4849         magic.
4850
4851         * window.c (mark_window): Ditto.
4852         (allocate_window): Ditto.
4853         (struct saved_window): Ditto.
4854         (mark_window_config): Ditto.
4855         (saved_window_equal): Ditto.
4856         (Fset_window_configuration): Ditto.
4857
4858 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
4859
4860         * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
4861
4862 1998-05-12  Didier Verna  <verna@inf.enst.fr>
4863
4864         * redisplay-x.c (x_output_vertical_divider): draw shadows around
4865         the divider line. The shadow thickness is currently
4866         hard-wired. This will probably be turned into a specifier soon.
4867
4868 1998-05-12  Didier Verna  <verna@inf.enst.fr>
4869
4870         * console.h (struct console_methods): the divider_width console
4871         method now requires a struct window * argument.
4872
4873         * redisplay-x.c (x_divider_width): ditto. Plus remove
4874         X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
4875         (x_output_vertical_divider): give a depressed look when the shadow
4876         thickness is negative.
4877
4878         * console-stream.c (stream_divider_width): pass a struct window *
4879         argument.
4880
4881         * redisplay-tty.c (tty_divider_width): ditto.
4882
4883         * window.c (window_right_gutter_width): totdi.
4884
4885         * redisplay.c (generate_modeline): ittod.
4886
4887         * scrollbar.c (update_scrollbar_instance): ttido.
4888
4889         * redisplay-msw.c (mswindows_divider_width): ottid.
4890         WARNING: this enables to compile, but the feature is not functional.
4891
4892         * window.h (struct window): new field
4893         vertical_divider_shadow_thickness.
4894
4895         * window.c (specifier_vars_of_window): new specifier
4896         vertical-divider-shadow-thickness.
4897         (vertical_divider_shadow_thickness_changed): new function to
4898         inform redisplay that the window has changed.
4899         (mark_window): handle new field vertical_divider_shadow_thickness
4900         from struct window.
4901         (allocate_window): ditto.
4902         (saved_window_equal): toddi.
4903         (Fset_window_configuration): totid.
4904         (save_window_save): ttdio.
4905         (struct saved_window): new field vertical_divider_shadow_thickness.
4906
4907 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
4908
4909         * device-msw.c (mswindows_device_system_metrics): Support a deluge
4910         of metrics.
4911
4912 1998-05-12  Oliver Graf <ograf@fga.de>
4913
4914         * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
4915         * event-Xt.c (x_event_to_emacs_event): C++ compability
4916
4917 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
4918
4919         * emacs.c (Fdecode_path): Default SEPCHAR to value of
4920         path-separator.
4921
4922 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
4923
4924         * emacs.c (vars_of_emacs): Do it here; change the meaning of
4925         Vpath_separator.
4926
4927         * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
4928
4929 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
4930
4931         * emacs.c (decode_path_1): New function.
4932         (decode_path): Use it.
4933         (Fdecode_path): Renamed from Fdecode_path_internal; use
4934         decode_path_1.
4935
4936 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
4937
4938         * macros.c (Fzap_last_kbd_macro_event): New function.
4939         (Fend_kbd_macro): Remove REMOVE_LAST kludge.
4940
4941 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
4942
4943         * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
4944         multiple bitmaps are output vertically as well as horizontally.
4945         * (mswindows_output_dibitmap): don't cope with bitmap boundaries
4946         crossing lines this is handled by
4947         mswindows_output_dibitmap_region.
4948
4949 1998-05-12  Martin Buchholz  <martin@xemacs.org>
4950
4951         * inline.c: Include eldap.h
4952
4953         * menubar-x.c (x_update_frame_menubar_internal):
4954         Remove: unused variable `container'
4955
4956 1998-05-11  Martin Buchholz  <martin@xemacs.org>
4957
4958         * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
4959         Unfortunately, the resulting temacs still cannot dump.
4960
4961         * symbols.c (symbol_is_constant):
4962         (verify_ok_for_buffer_local):
4963         -Wswitch Warning suppression - add default case to switches.
4964
4965         * redisplay.c (decode_mode_spec): Remove unused variables,
4966         Replace Fcoding_system_property (codesys, Qmnemonic) with
4967         XCODING_SYSTEM_MNEMONIC (codesys);
4968         Fcoding_system_property is for users.
4969
4970         * buffer.c:
4971         * fileio.c:
4972         * lread.c:
4973         * xselect.c:
4974         Change empty docstrings into no doc strings at all.
4975         Fix bogus FSF-format docstrings.
4976
4977         * extents.c:
4978         Standardize docstrings.
4979
4980         * floatfns.c:
4981         Explain problems with matherr.
4982
4983         * glyphs.c:  make DEFUNs etags-readable, i.e. single-line
4984
4985         * syssignal.h:
4986         if BROKEN_SIGIO, then SIGIO wants to be undefined.
4987         if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
4988         Fix the weird resultant interaction (causes windows problems)
4989
4990         * gdbinit:
4991         * dbxrc:
4992         Take new EMACSBOOTSTRAPLOADPATH into account.
4993         Update documentation strings
4994
4995         * Makefile.in.in:
4996         - Adjust for luser's CDPATH being set to something weird.
4997         - Take into account bash 2.02's tendency to print the cwd when
4998           using CDPATH.  Always use `cd ./foo' instead of `cd foo'.
4999         - fix the run-temacs target to use $(DUMPENV)
5000         - fix the run-puremacs target to use $(DUMPENV)
5001         - fix the `depend' target to properly $(RM) the right files
5002         - Generate a better TAGS file for XEmacs' lisp code using
5003           hand-crafted regexps.
5004         - Use standard coding conventions for modules/Makefile.in
5005
5006 1998-05-12  Didier Verna  <verna@inf.enst.fr>
5007
5008         * redisplay.c: removed the scrolling modeline code that didn't
5009         make it for 21.0. To be continued ...
5010
5011 1998-05-13  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
5012
5013         * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
5014         and empty string inputs.
5015
5016 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
5017
5018         * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5019
5020 1998-05-10  Oliver Graf <ograf@fga.de>
5021
5022         * event-stream.c (enqueue_misc_user_event_pos): created
5023         * lisp.h (enqueue_misc_user_event_pos): prototype added
5024         * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5025         * emacs.c: call vars_of_dragdrop
5026         * dragdrop.c (vars_of_dragdrop): provide dragdrop
5027
5028 1998-05-11  Oliver Graf <ograf@fga.de>
5029
5030         * frame-x.c (x_cde_transfer_callback): return at correct pos
5031         * event-Xt.c (x_event_to_emacs_event): changed format of drop
5032         object for MIME (see comment in dragdrop.c)
5033         * dragdrop.c: API change documented in comment
5034         removed provide of dragdrop [is provided by dragdrop.el]
5035
5036 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
5037
5038         * window.c (window_needs_vertical_divider): Enable vertical
5039         dividers for every non-rightmost window.
5040         (window_left_gutter_width): Left gutter consists of mythical
5041         toolbar and a virtual scrollbar.
5042         (window_right_gutter_width): The right one may have a divider
5043         also.
5044
5045         * scrollbar.c (update_scrollbar_instance): Position vertical
5046         scrollbar left to divider if the latter present.
5047
5048         * redisplay.h: Declared OVER_DIVIER constant.
5049
5050         * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
5051         case.
5052
5053         * redisplay-x.c (x_output_vertical_divider): Output divider along
5054         the right side of the window, down to window bottom. Swapped
5055         foreground and background colors so it is visible by default.
5056
5057         * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
5058         stick the divider to the right window side.
5059
5060         * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
5061         deadbox painting.
5062         (mswindows_divider_width): Ask system for user preferred value.
5063         (mswindows_output_vertical_divider): Always output the divider on
5064         the right side of a window, down to bottom.
5065
5066         * keymap.c (get_relevant_keymaps): Route mouse button events which
5067         happened over a window divider through window-divider-map.
5068         (Fkey_binding): Documented that in the docstring.
5069         Defined the variable Vwindow_divider_map.
5070
5071         * events.c (Fevent_over_divider_p): Added this function.
5072
5073         * events.h: EXFUNed it.
5074
5075 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
5076
5077         * toolbar.c (update_frame_toolbars): Re-layout frame windows if
5078         toolbar geometry is suspected to change.
5079
5080 1998-05-11  Jonathan Harris  <jhar@tardis.ed.ac.uk>
5081
5082         * src/device-msw.c
5083         * src/event-msw.c
5084         Condition dnd and dde code on HAVE_DRAGNDROP.
5085
5086 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
5087
5088         * events.c (format_event_object): Print space as SPC etc.
5089
5090 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
5091
5092         * print.c (print_internal): In the default case, abort() if
5093         ERROR_CHECK_TYPECHECK.
5094
5095         * fileio.c (Fmake_temp_name): Doc fix.
5096
5097 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
5098
5099         * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
5100
5101         * undo.c (Fprimitive_undo): Fixed typo.
5102
5103 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
5104
5105         * fns.c (concat): Signal error on integer argument.
5106
5107 1998-05-10  Kirill M. Katsnelson  <kkm@kis.ru>
5108
5109         * console.h (device_metrics): Prefixed each constatnt with DM_
5110
5111         * device.c: (Fdevice_system_metric): Renamed so from plural form
5112         (metrics); Changed parameters order and added DEFAULT parameter;
5113         Unabbreviated some metric constants; Fixed and untabified doc string.
5114         (Fdevice_system_metrics): Added. Returns a plist of all provided
5115         metrics.
5116
5117         * device-msw.c (mswindows_device_system_metrics): Renamed
5118         device_metrics enum constants.
5119         Return Qunbound instead of Qnil.
5120
5121         * device-tty.c (tty_device_system_metrics): Ditto.
5122
5123         * device-x.c (x_device_system_metrics): Ditto.
5124
5125 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
5126
5127         * redisplay-msw.c: implement background pixmaps (really!). Make
5128         sure bg color is transparent if we have bg pmaps.
5129         * (mswindows_output_string) (mswindows_clear_region): output bg
5130         pmap if required.
5131         * (mswindows_output_dibitmap_region): new function.
5132         * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
5133         the bg color rather than transparently.
5134
5135         * toolbar-msw.c: use masks if they exist.
5136
5137         * glyphs-msw.c: set up masks correctly.
5138
5139         * event-msw.c: typedef SOCKET if cygwin and not msg select().
5140
5141 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
5142
5143         * regex.c (re_match_2_internal): Check for quit.
5144
5145 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
5146
5147         * frame.c (Ffocus_frame): New function.
5148