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