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