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