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