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