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