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