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