1 1998-12-28 Martin Buchholz <martin@xemacs.org>
3 * XEmacs 21.2.8 is released.
5 1998-12-28 Martin Buchholz <martin@xemacs.org>
7 * editfns.c (get_home_directory):
8 (user-home-directory): Simplify.
11 * callproc.c (child_setup):
12 - Environment variables were being passed to inferior processes
13 using internal encoding.
14 - Convert to external encoding.
15 - Rename local var `tem' to better name `tail'.
16 - Use Flength instead of `manual' calculation.
18 * buffer.c (kill-buffer):
20 (set-buffer-major-mode):
22 - Fix up parameter names to correspond to docstrings.
23 - Don't use `bufname' when a buffer will do as well.
24 - Remove one unneeded GCPRO.
26 * buffer.h (initial_directory):
27 * buffer.c (init_initial_directory):
28 - use correct conversions between internal and external format.
29 (directory_is_current_directory): new function
30 (init_buffer): convert initial_directory to internal format.
31 - solve crashes when current working directory is non-ASCII.
36 - remove stupid casts, since XEmacs requires an ANSI C system.
37 (lrecord_type_index): replace abort() with more readable assert().
39 (reset_lcrecord_stats): remove.
41 - replace call to reset_lcrecord_stats() with call to xzero().
43 1998-12-27 Martin Buchholz <martin@xemacs.org>
45 * process-unix.c (unix_create_process):
46 - Fix crash invoking program with non-ASCII name.
47 Try invoking xemacs with SHELL=/bin/üsh, then M-x shell.
48 - Remove unused variable `env'.
49 - Rename `temp' to better name `save_errno'.
50 - Reorganize code for clarity. But still too chicken to nuke the
53 1998-12-24 Martin Buchholz <martin@xemacs.org>
55 * XEmacs 21.2.7 is released.
57 1998-12-23 Martin Buchholz <martin@xemacs.org>
59 * glyphs.c (decode_device_ii_format):
61 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
63 * glyphs-x.c (x_subwindow_instantiate):
64 - A image instance mask was being assigned to a image instance type!
65 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
67 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
69 * glyphs-x.h: Make indentation consistent.
71 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
73 * glyphs-widget.c (check_valid_glyph): Warning suppression.
75 - #ifdef it out, since it's not actually used yet (FIX THIS!)
79 Move declarations of decode_device_ii_format and
80 decode_image_instantiator_format into glyphs.h where they belong.
82 1998-12-22 Martin Buchholz <martin@xemacs.org>
84 * frame-x.c (x_delete_frame): Revert part of my changes at the
85 suggestion of Gunnar Evermann - unfortunately no one really
86 understands this code.
88 * callproc.c (init_callproc): code cleanup.
90 * free-hook.c (malloc):
96 (block_input_realloc):
97 * device-x.c (x_delete_device):
98 * emacs.c (voodoo_free_hook):
99 * events.c (print_event):
103 Use proper prototypes.
104 Make C_E_T macros a little faster.
105 Pedantic fiddly little changes. You really don't care.
107 1998-12-22 Andy Piper <andy@xemacs.org>
109 * redisplay-output.c (redisplay_clear_region): make sure that
110 fg/bg colors get set even when we are in the border area.
112 1998-12-13 Martin Buchholz <martin@xemacs.org>
114 * console-msw.c: Function definitions follow coding standards
115 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
117 1998-12-11 Martin Buchholz <martin@xemacs.org>
119 * events.h (struct timeout_data):
120 * event-tty.c (tty_timeout_to_emacs_event):
121 * event-msw.c (mswindows_wm_timer_callback):
122 * event-Xt.c (Xt_timeout_to_emacs_event):
123 * event-msw.c (mswindows_cancel_dispatch_event):
124 Make sure Lisp_Objects inside events are initialized to Qnil, not
125 Qnull_pointer, which is now illegal.
127 1998-12-10 Martin Buchholz <martin@xemacs.org>
129 * lisp.h: Fix up prototypes to match alloc.c
131 1998-12-08 Martin Buchholz <martin@xemacs.org>
133 * windowsnt.h: Remove `support' for using index and rindex
135 * filelock.c (current_lock_owner):
136 - Change uses of index -> strchr, rindex -> strrchr
138 1998-12-07 Martin Buchholz <martin@xemacs.org>
140 * sysdep.c (set_descriptor_non_blocking):
141 Since O_NONBLOCK is now always #defined, make use of fcntl
142 conditional on F_SETFL being defined.
144 * console-msw.c (DHEADgER):
153 - max_align_t should not be visible to the user of the
155 - use Bufbyte instead of char
156 - parens around (FOOP (obj)) are always redundant.
157 If they were necessary, we should fix the macro instead.
158 - Always use string_data(foo) instead of foo->data.
161 1998-12-06 Martin Buchholz <martin@xemacs.org>
163 * frame-msw.c (mswindows_init_frame_1):
164 - use make_lisp_hash_table, not Fmake_hash_table
168 * alloc.c (make_vector): remove travesty
172 (make_bit_vector_internal):
174 (make_bit_vector_from_byte_vector):
176 - make vector_equal a little faster.
177 - Don't use variable name `new'.
178 - Use size_t instead of EMACS_INT.
179 - usual Martin-style pointless bit-twiddling.
185 Make mapcar faster. In particular, make
186 (mapc #'identity long-string)
187 MUCH faster under Mule.
188 * tests/automated/lisp-tests.el: Test 'em!
190 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
193 1998-12-01 Martin Buchholz <martin@xemacs.org>
195 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
196 Qnil, not NULL, to initialize `null' Lisp_Objects.
198 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
200 * specifier.c (display_table_validate): Update.
202 * redisplay.c (create_text_block): Use them.
204 * glyphs.c (display_table_entry): New function.
205 (get_display_tables): Ditto.
207 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
209 * eldap.c (toplevel): Mention that eldap.c compiles with
211 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
212 (Fldap_search_internal): Ditto
214 1998-12-11 Martin Buchholz <martin@xemacs.org>
216 * event-msw.c (mswindows_cancel_dispatch_event):
217 Gratuitous code prettification
220 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
222 * fns.c (Fnconc): Fix use of wrong_type_argument().
224 * floatfns.c (Ffloat): Fix docstring.
225 (Ffloat): Fix use of wrong_type_argument().
227 (extract_float): Ditto.
232 1998-12-06 Martin Buchholz <martin@xemacs.org>
234 * frame-msw.c (mswindows_init_frame_1):
235 - use make_lisp_hash_table, not Fmake_hash_table
239 * alloc.c (make_vector): remove travesty
243 (make_bit_vector_internal):
245 (make_bit_vector_from_byte_vector):
247 - make vector_equal a little faster.
248 - Don't use variable name `new'.
249 - Use size_t instead of EMACS_INT.
250 - usual Martin-style pointless bit-twiddling.
256 Make mapcar faster. In particular, make
257 (mapc #'identity long-string)
258 MUCH faster under Mule.
259 * tests/automated/lisp-tests.el: Test 'em!
261 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
264 1998-12-02 Didier Verna <verna@inf.enst.fr>
266 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
267 accelerator field to nil for labels.
269 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
271 * menubar-msw.c (displayable_menu_item):
272 Escape occurrences of '&' and support occurrences of the
273 '%_' accelerator indicator in menus.
275 1998-11-26 Didier Verna <verna@inf.enst.fr>
277 * dired.c (Fdirectory_files): use make_string instead of
278 make_ext_string on the filename. The conversion external->internal
279 format is already done in sys_readdir.
281 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
283 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
285 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
288 (Belatedly) added Kirill to list of file's authors.
289 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
290 quit checking. WM_PAINT messages cause redisplay, but
291 windows' states are not necessarily stable when this function
294 1998-12-17 Andy Piper <andy@xemacs.org>
296 * strftime.c (zone_name): CONSTify.
298 1998-12-15 Andy Piper <andy@xemacs.org>
300 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
301 (mswindows_widget_property): return Qunbound when no property available.
302 (mswindows_button_property): ditto.
303 (mswindows_combo_property): ditto.
304 (mswindows_widget_set_property): ditto.
306 * glyphs-widget.c (check_valid_item_list): use properties.
308 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
310 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
311 (Fimage_instance_property): ditto.
312 * glyphs-widget.c (widget_property): ditto.
313 (widget_set_property): ditto.
315 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
316 as setting the class cursor so that GC actually changes the
319 * config.h: don't undef MAIL_USE_POP.
321 1998-12-13 Andy Piper <andy@xemacs.org>
324 (image_instantiator_format_create_glyphs_mswindows): line ->
326 (mswindows_label_instantiate): ditto. Play with window flags.
327 (image_instantiator_format_create_glyphs_mswindows): ditto.
328 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
330 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
331 cope with lines and labels.
332 (static_instantiate): use widget_instantiate_1.
334 (image_instantiator_format_create_glyphs_widget): ditto.
336 1998-12-10 Andy Piper <andy@xemacs.org>
338 * Makefile.in.in (objs): add gui.o
340 1998-12-10 Andy Piper <andy@xemacs.org>
342 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
345 1998-12-09 Andy Piper <andy@xemacs.org>
347 * glyphs.c (finalize_image_instance): mark glyphs changed when an
348 image instance is removed so that the subwindow cache gets reset
349 and thus destroyed images get GC'd.
351 1998-12-08 Andy Piper <andy@xemacs.org>
353 * gui-msw.c (mswindows_handle_gui_wm_command): call
354 MARK_SUBWINDOWS_CHANGED.
356 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
357 subwindows really get deleted.
359 * redisplay.c: new variable subwindows_changed[_set].
360 (redisplay_window): use it.
361 (redisplay_frame): ditto.
362 (redisplay_device): ditto.
363 (redisplay_without_hooks): ditto.
365 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
366 subwindows redisplay as per glyphs equivalent.
367 * redisplay.h: ditto.
368 (MARK_SUBWINDOWS_CHANGED): ditto.
369 (RESET_CHANGED_SET_FLAGS): ditto.
370 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
372 1998-12-07 Andy Piper <andy@xemacs.org>
374 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
377 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
379 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
380 messages and paint widget glyphs as appropriate with their face fg
383 1998-12-06 Andy Piper <andy@xemacs.org>
385 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
386 here rather than in glyphs-widget - do this because we only want
387 to provide what is really available.
389 * glyphs.c (Fimage_instance_property): new function to get the
390 properties of image instances. wires through to console specific
391 methods and then to widget specific methods.
392 (Fset_image_instance_property): ditto but for setting widget properties.
393 (check_valid_face): make extern so that it can be used elsewhere.
395 * glyphs-widget.c (widget_property): new function. gets the
396 properties of widgets in general and wires the function through to
397 widget specific ones.
398 (widget_set_property): ditto but for setting widget properties.
400 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
401 add items to the list. Play with window styles a bit to get the
403 (mswindows_widget_property): break out specific widget properties.
404 (mswindows_button_property): new function. gets the checked state
406 (mswindows_combo_property): new function. gets the current
407 selection in the combo box.
408 (mswindows_widget_set_property): new function. sets specific
409 properties of specific widgets.
411 * glyphs-widget.c (check_valid_item_list): new function. check
412 that items for a combo-box are just a list of strings.
413 (combo_validate): new function. check there is an item list.
414 (widget_instantiate_1): new function. renamed from
415 widget_instantiate so that we can do slightly different things for
417 (widget_instantiate): call widget_instantiate_1.
418 (combo_instantiate): new function to instantiate combo boxes,
419 defaults height to the pixel height of the number of items in the
421 (syms_of_glyphs_widget): move widget keywords here.
422 (image_instantiator_format_create_glyphs_widget): use new combo
425 1998-12-04 Andy Piper <andy@xemacs.org>
427 * event-msw.c (mswindows_wnd_proc): mule-ize.
429 * glyphs.c (pixmap_to_lisp_data): mule-ize.
431 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
432 (resource_name_to_resource): ditto.
433 (mswindows_resource_instantiate): ditto.
434 (mswindows_widget_instantiate): ditto.
435 (mswindows_widget_set_property): ditto.
437 * redisplay-output.c (redisplay_output_subwindow): don't show
438 subwindows if they are obscured at the edge of the frame, emacs
439 gets into some sort of redisplay loop otherwise.
441 * gui.h: prototype gui_item_selected_p.
443 * gui.c (gui_item_selected_p): new function to determine the
444 selected state of a gui_item.
446 * frame.h (struct frame): add subwindows_changed flag.
448 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
450 * glyphs.c (update_subwindow): new function to update a
452 (update_frame_subwindows): new function to update all the
453 subwindows on a frame.
455 * console.h (struct console_methods): add update_subwindow.
457 * glyphs-msw.c (mswindows_widget_property): return selected state
458 for selected property.
459 (mswindows_update_subwindow): new function. updates widget glyphs
460 in redisplay as per menubars or toolbars e.g. selected state.
461 (console_type_create_glyphs_mswindows): add update_subwindow.
463 1998-12-03 Andy Piper <andy@xemacs.org>
465 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
466 tty coding system things are such.
468 * glyphs-widget.c (widget_face_font_info): new function for
469 pulling out height and width metrics for a widget's face.
470 (widget_text_to_pixel_conversion): calculate pixel sizes of text
473 * event-msw.c (mswindows_drain_windows_queue): translate messages
474 that are destined for subwindows. This makes edit fields interact
475 with the keyboard correctly.
476 nuke warnings by #ifndef'ing out stuff not required by msg select().
478 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
479 macro defining the iiforma without the symbol required by widget.
480 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
482 * general.c (syms_of_general): add Qwidget, Qselected.
484 * faces.c (complex_vars_of_faces): add widget face inheriting from
487 1998-11-09 Andy Piper <andy@xemacs.org>
489 * window.h (struct window): add a cache of subwindows on a
492 * window.c (mark_window): mark the subwindow_instance_cache.
493 (allocate_window): initialise the subwindow instance_cache.
495 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
496 instead of the devmeth.
497 (x_clear_toolbar): ditto.
499 * redisplay-x.c (x_output_display_block): call
500 redisplay_output_subwindow for subwindows and widgets.
502 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
503 types to do nothing for.
505 * lisp.h: declare new widget/subwindow symbols.
507 * glyphs.c (image_instantiate): cache subwindows on a per-window
509 (subwindow_possible_dest_types): new function for subwindow dest
511 (subwindow_instantiate): generic instantiation of a
512 subwindow. specialised by device multi-methods.
513 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
515 (Fimage_instance_subwindow_id): ditto.
516 (Fresize_subwindow): ditto.
517 (Fforce_subwindow_map): ditto.
519 * glyphs-x.c (x_print_image_instance): remove subwindow
520 stuff. Handled genrically in glyphs.c.
521 (x_image_instance_equal): ditto.
522 (x_image_instance_hash): ditto.
523 (x_finalize_image_instance): delete subwindows when required.
524 (mark_subwindow) (print_subwindow) (finalize_subwindow)
525 (subwindow_hash) (Fmake_subwindow): deleted because of new,
526 glyph-based, subwindow implementation.
527 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
529 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
531 (x_unmap_subwindow): new function to unmap X subwindows.
532 (x_map_subwindow): new function to map X subwindows.
533 (x_subwindow_instantiate): new function to instantiate X
535 (x_resize_subwindow): new function to resize X subwindows.
536 (console_type_create_glyphs_x): add subwindow functions.
537 (image_instantiator_format_create_glyphs_x): add device
538 multi-methods for xpm, xbm and subwindow.
540 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
541 (subwindow-width): ditto.
542 (subwindow-height): ditto.
544 * glyphs-msw.c (mswindows_widget_instantiate): new function for
545 generally instantiating ms subwindows. Used by
546 mswindows_*_instantiate.
547 (mswindows_edit_instantiate): instantiate an edit field on a
550 1998-11-04 Andy Piper <andy@xemacs.org>
552 * symsinit.h: declare new functions.
554 * redisplay.h: declare new functions.
556 * redisplay-x.c (x_output_display_block): call
557 redisplay_clear_region rather than x_clear_region.
558 (x_output_string): ditto.
559 (x_output_pixmap): ditto.
560 (x_clear_to_window_end): ditto.
561 (x_output_eol_cursor): ditto.
562 (x_clear_region): only do X specific things. other duties handled
563 in redisplay_clear_region.
565 * redisplay-tty.c (tty_clear_region): do tty specific things - some
566 duties moved to redisplay_clear_region.
568 * redisplay-output.c (clear_left_border): use
569 redisplay_clear_region instead of device method.
570 (clear_right_border): ditto.
571 (output_display_line): ditto.
572 (redisplay_output_subwindow): ditto.
573 (redisplay_clear_top_of_window): ditto.
574 (redisplay_clear_region): perform duties previously handled by
575 device methods. call the appropriate device method at the
576 end. unmap subwindows if necessary.
578 * redisplay-msw.c (mswindows_output_string): use
579 redisplay_clear_region instead of mswindows_clear_region.
580 (mswindows_clear_to_window_end): ditto.
581 (mswindows_output_display_block): output subwindows when required.
582 (mswindows_clear_region): only do mswindows specific things,
583 everything else is now handled in redisplay_clear_region.
585 * gui.h: add item id hash defines and declare function prototypes.
587 * gui.c (mark_gui_item): new function for marking gui_items.
588 (gui_item_hash): generic hash function for generating command ids
591 * gui-msw.c: new file.
592 (mswindows_handle_gui_wm_command): new function to handle widget
595 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
597 (IIFORMAT_HAS_SHARED_METHOD): ditto.
598 (DEFINE_DEVICE_IIFORMAT): ditto.
599 (INITIALIZE_DEVICE_IIFORMAT): ditto.
600 (struct Lisp_Image_Instance): add widget and subwindow data plus
601 appropriate access functions.
603 * glyphs.c (decode_device_ii_format): new function for decoding
604 image instantiator functions based on a device type as well as an
606 (decode_image_instantiator_format): just call
607 decode_device_ii_format with nil device.
608 (add_entry_to_device_ii_format_list): new function for per device
610 (add_entry_to_image_instantiator_format_list): just call
611 add_entry_to_device_ii_format_list with nil device.
612 (check_valid_vector): new function.
613 (instantiate_image_instantiator): instantiate using per-format
614 method and then per-format-per-device method (device
615 multi-methods). signal an error if neither is possible.
616 (mark_image_instance): cope with subwindows and widgets.
617 (print_image_instance): ditto.
618 (image_instance_equal): ditto.
619 (image_instance_hash): ditto.
620 (allocate_glyph): ditto.
621 (glyph_width): ditto.
622 (glyph_height_internal): ditto.
623 (xpm_instantiate): removed because of device multi-methods.
624 (mark_subwindow_cachels): new cachel functions for caching
625 instantiated subwindows on a per-frame basis. mostly copied from
626 glyph cachel functions.
627 (update_subwindow_cachel_data): ditto.
628 (add_subwindow_cachel): ditto.
629 (get_subwindow_cachel_index): ditto.
630 (reset_subwindow_cachels): ditto.
631 (mark_subwindow_cachels_as_not_updated): ditto.
632 (unmap_subwindow): generic unmapping of subwindows based on cachel
634 (map_subwindow): ditto.
635 (initialize_subwindow_image_instance): generic initialisation of
637 (syms_of_glyphs): add widget keywords.
639 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
642 1998-11-04 Andy Piper <andy@xemacs.org>
644 * glyphs-widget.c: new file for instantiating widget type glyphs.
645 (widget_possible_dest_types): new general dest type function for
647 (widget_validate): ditto.
648 (initialize_widget_image_instance): ditto
649 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
650 before handing on control to device multi-methods.
651 (syms_of_glyphs_widget): new function.
652 (image_instantiator_format_create_glyphs_widget): new function,
653 added placeholders for button, edit, combo, scrollbar
654 (vars_of_glyphs_widget): new function.
656 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
657 storing window ids of widgets.
659 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
660 deletion of widget and subwindow glyphs.
661 (mswindows_unmap_subwindow): new device function for unmapping
662 subwindows on a msw frame.
663 (mswindows_map_subwindow): ditto.
664 (mswindows_register_image_instance): register instantiated widgets
665 with the widget hastable.
666 (mswindows_button_instantiate): instantiate a button type widget
668 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
670 (image_instantiator_format_create_glyphs_mswindows): add device
671 multi-methods for xbm, xpm, subwindow, edit and button.
673 * frame.h (struct frame): add subwindow_cachels dynarr for caching
674 information about subwindows visible on the current frame. used by
675 redisplay_clear_region to unmap subwindows as required.
677 * frame.c (mark_frame): mark subwindow_cachels.
678 (allocate_frame_core): instantiate subwindow_cachels.
680 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
683 * event-msw.c (mswindows_wnd_proc): add call to
684 mswindows_handle_gui_wm_command to handle widget callbacks.
686 * emacs.c (main_1): add calls to glyphs-widget initialisation
689 * console.h (struct console_methods): add
690 unmap/map_subwindow_method for use be redisplay_clear_region to
691 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
692 with by image instantiator multi-methods. Add
693 resize_subwindow_method.
695 * console-stream.c (stream_clear_region): change signature to
696 match new generic clear region function.
698 * Makefile.in.in: add glyphs-widget.o to list of objects.
700 * console-msw.h (struct mswindows_frame): add widget hashtable for
701 wiring command ids to callbacks.
703 1998-12-16 Andy Piper <andy@xemacs.org>
705 * XEmacs 21.2.6 is released
707 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
709 * md5.c (Fmd5): Correctly initiate string input stream.
711 * Makefile.in.in (tests): Add md5-tests.el.
713 1998-12-06 Martin Buchholz <martin@xemacs.org>
716 * alloc.c (make_vector): remove travesty
720 (make_bit_vector_internal):
722 (make_bit_vector_from_byte_vector):
724 - make vector_equal a little faster.
725 - Don't use variable name `new'.
726 - Use size_t instead of EMACS_INT.
727 - usual Martin-style pointless bit-twiddling.
733 Make mapcar faster. In particular, make
734 (mapc #'identity long-string)
735 MUCH faster under Mule.
736 * tests/automated/lisp-tests.el: Test 'em!
738 1998-12-06 Martin Buchholz <martin@xemacs.org>
740 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
743 1998-12-13 Martin Buchholz <martin@xemacs.org>
745 * console-msw.c: Function definitions follow coding standards
746 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
748 1998-12-11 Martin Buchholz <martin@xemacs.org>
750 * events.h (struct timeout_data):
751 * event-tty.c (tty_timeout_to_emacs_event):
752 * event-msw.c (mswindows_wm_timer_callback):
753 * event-Xt.c (Xt_timeout_to_emacs_event):
754 * event-msw.c (mswindows_cancel_dispatch_event):
755 Make sure Lisp_Objects inside events are initialized to Qnil, not
756 Qnull_pointer, which is now illegal.
758 1998-12-10 Martin Buchholz <martin@xemacs.org>
760 * lisp.h: Fix up prototypes to match alloc.c
762 1998-12-09 Andy Piper <andy@xemacs.org>
764 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
765 XSETINT for assigning lisp objects.
767 1998-12-07 Martin Buchholz <martin@xemacs.org>
770 * console-msw.c (DHEADER):
779 - max_align_t should not be visible to the user of the
781 - use Bufbyte instead of char
782 - parens around (FOOP (obj)) are always redundant.
783 If they were necessary, we should fix the macro instead.
784 - Always use string_data(foo) instead of foo->data.
786 1998-12-07 Martin Buchholz <martin@xemacs.org>
788 * sysdep.c (set_descriptor_non_blocking):
789 Since O_NONBLOCK is now always #defined, make use of fcntl
790 conditional on F_SETFL being defined.
792 1998-12-09 Andy Piper <andy@xemacs.org>
794 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
795 that got removed in the merge
797 1998-11-30 Greg Klanderman <greg@alphatech.com>
799 * dired.c (vars_of_dired): bugfix for previous conditionalization
800 of user-name-completion on non- Windows NT.
802 1998-12-08 Martin Buchholz <martin@xemacs.org>
804 * windowsnt.h: Remove `support' for using index and rindex
806 * filelock.c (current_lock_owner):
807 - Change uses of index -> strchr, rindex -> strrchr
809 1998-12-06 Martin Buchholz <martin@xemacs.org>
811 * frame-msw.c (mswindows_init_frame_1):
812 - use make_lisp_hash_table, not Fmake_hash_table
815 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
817 * XEmacs 21.2.5 is released
819 1998-11-30 Martin Buchholz <martin@xemacs.org>
821 * xselect.c (receive_incremental_selection):
822 * xselect.c (x_get_window_property):
823 * xmu.c (XmuReadBitmapDataFromFile):
824 * xmu.c (XmuCursorNameToIndex):
825 * xgccache.c (describe_gc_cache):
826 * xgccache.c (gc_cache_lookup):
827 * xgccache.c (free_gc_cache):
828 * xgccache.c (make_gc_cache):
830 * window.c (map_windows_1):
831 * window.c (Fother_window_for_scrolling):
832 * window.c (window_scroll):
833 * window.c (change_window_height):
834 * window.c (Fsplit_window):
835 * window.c (window_left_gutter_width):
836 * window.c (window_modeline_height):
837 * window.c (invalidate_vertical_divider_cache_in_window):
838 * window.c (window_needs_vertical_divider_1):
839 * window.c (update_mirror_internal):
840 * window.c (SET_LAST_FACECHANGE):
841 * widget.c (Fwidget_plist_member):
842 * unexec.c (copy_text_and_data):
843 * unexcw.c (copy_executable_and_dump_data_section):
845 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
846 * tooltalk.c (struct Lisp_Tooltalk_Message):
847 * toolbar.h (struct toolbar_button):
848 * toolbar.c (default_toolbar_visible_p_changed_in_window):
849 * toolbar.c (recompute_overlaying_specifier):
850 * toolbar.c (toolbar_validate):
851 * toolbar.c (toolbar_button_at_pixpos):
852 * toolbar.c (get_toolbar_coords):
853 * toolbar.c (update_frame_toolbars):
855 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
856 * toolbar-msw.c (mswindows_find_toolbar_pos):
857 * toolbar-msw.c (mswindows_output_toolbar):
858 * toolbar-msw.c (mswindows_clear_toolbar):
867 * sysdep.c (sys_fopen):
868 * sysdep.c (sys_open):
869 * sysdep.c (tty_init_sys_modes_on_device):
870 * sysdep.c (get_eof_char):
871 * sysdep.c (child_setup_tty):
872 * sysdep.c (set_descriptor_non_blocking):
874 * syntax.c (scan_words):
877 * symeval.h (struct symbol_value_varalias):
878 * symeval.h (struct symbol_value_forward):
879 * symbols.c (syms_of_symbols):
880 * symbols.c (init_symbols_once_early):
881 * symbols.c (Fbuilt_in_variable_type):
882 * symbols.c (Fsymbol_value_in_buffer):
883 * symbols.c (default_value):
885 * symbols.c (find_symbol_value_quickly):
886 * symbols.c (store_symval_forwarding):
887 * symbols.c (set_default_console_slot_variable):
888 * symbols.c (set_default_buffer_slot_variable):
889 * symbols.c (verify_ok_for_buffer_local):
890 * symbols.c (symbol_is_constant):
891 * symbols.c (oblookup):
892 * symbols.c (Funintern):
893 * symbols.c (Fintern):
894 * symbols.c (check_obarray):
896 * specifier.h (struct specifier_methods):
898 * specifier.c (specifier_instance):
899 * specifier.c (specifier_instance_from_inst_list):
900 * specifier.c (decode_locale_type):
901 * specifier.c (specifier_equal):
902 * specifier.c (finalize_specifier):
903 * specifier.c (prune_specifiers):
904 * specifier.c (kill_specifier_buffer_locals):
905 * sound.c (init_native_sound):
908 * search.c (Fmatch_data):
909 * search.c (match_limit):
910 * search.c (Freplace_match):
911 * search.c (skip_chars):
912 * search.c (scan_buffer):
914 * scrollbar.c (specifier_vars_of_scrollbar):
915 * scrollbar.c (Fscrollbar_set_hscroll):
916 * scrollbar.c (vertical_scrollbar_changed_in_window):
917 * scrollbar.c (release_window_mirror_scrollbars):
918 * scrollbar.c (free_scrollbar_instance):
921 * s/msdos.h (O_BINARY):
923 * s/freebsd.h (LIBS_TERMCAP):
924 * regex.c (re_match_2_internal):
925 * regex.c (compile_extended_range):
926 * regex.c (POP_FAILURE_POINT):
927 * regex.c (PUSH_FAILURE_POINT):
928 * redisplay.h (RESET_CHANGED_SET_FLAGS):
930 * redisplay.h (struct display_line):
931 * redisplay.h (struct rune):
932 * redisplay.c (vars_of_redisplay):
933 * redisplay.c (redisplay_variable_changed):
934 * redisplay.c (UPDATE_CACHE_RETURN):
935 * redisplay.c (validate_line_start_cache):
936 * redisplay.c (mark_redisplay_structs):
937 * redisplay.c (mark_glyph_block_dynarr):
938 * redisplay.c (window_line_number):
939 * redisplay.c (redisplay_frame):
940 * redisplay.c (redisplay_window):
941 * redisplay.c (generate_modeline):
942 * redisplay.c (create_right_glyph_block):
943 * redisplay.c (create_left_glyph_block):
944 * redisplay.c (create_text_block):
946 * redisplay-x.c (x_output_hline):
947 * redisplay-x.c (x_output_vertical_divider):
948 * redisplay-tty.c (tty_output_display_block):
949 * redisplay-output.c (output_display_line):
950 * redisplay-output.c:
951 * redisplay-msw.c (mswindows_output_vertical_divider):
952 * redisplay-msw.c (mswindows_ring_bell):
953 * redisplay-msw.c (mswindows_output_cursor):
957 * puresize.h (RAW_PURESIZE):
958 * profile.c (syms_of_profile):
959 * profile.c (Fstart_profiling):
960 * profile.c (sigprof_handler):
963 * process.c (vars_of_process):
964 * process.c (read_process_output):
965 * process.c (get_process):
967 * process-unix.c (unix_open_multicast_group):
968 * process-unix.c (unix_get_tty_name):
969 * process-unix.c (unix_send_process):
970 * process-unix.c (unix_reap_exited_processes):
971 * process-unix.c (unix_create_process):
972 * process-unix.c (unix_init_process_io_handles):
973 * process-unix.c (allocate_pty):
975 * process-nt.c (nt_open_network_stream):
976 * process-nt.c (nt_update_status_if_terminated):
977 * process-nt.c (nt_finalize_process_data):
979 * print.c (debug_short_backtrace):
980 * print.c (debug_backtrace):
981 * print.c (print_symbol):
982 * print.c (print_internal):
983 * print.c (print_cons):
984 * print.c (Fwrite_char):
985 * print.c (print_prepare):
986 * print.c (canonicalize_printcharfun):
987 * print.c (output_string):
990 * opaque.c (allocate_managed_opaque):
992 * offix.c (DndSetData):
993 * objects.c (face_boolean_create):
994 * objects.c (font_instantiate):
995 * objects.c (font_create):
996 * objects.c (color_create):
997 * objects.c (finalize_font_instance):
998 * objects.c (finalize_color_instance):
1000 * objects-x.c (x_font_instance_truename):
1002 * objects-x.c (x_initialize_font_instance):
1003 * objects-x.c (allocate_nearest_color):
1004 * objects-tty.c (tty_initialize_font_instance):
1005 * objects-tty.c (tty_initialize_color_instance):
1006 * objects-msw.c (mswindows_initialize_color_instance):
1007 * ntproc.c (syms_of_ntproc):
1008 * ntproc.c (Fwin32_set_process_priority):
1009 * ntproc.c (sys_spawnve):
1011 * ntheap.c (get_data_end):
1015 * nt.c (generate_inode_val):
1016 * nt.c (sys_rename):
1018 * mule-wnnfns.c (Fwnn_hinsi_number):
1019 * mule-wnnfns.c (Fwnn_yuragi):
1020 * mule-wnnfns.c (Fwnn_common_learn):
1021 * mule-wnnfns.c (Fwnn_suffix_learn):
1022 * mule-wnnfns.c (Fwnn_prefix_learn):
1023 * mule-wnnfns.c (Fwnn_okuri_learn):
1024 * mule-wnnfns.c (Fwnn_complex_conv):
1025 * mule-wnnfns.c (Fwnn_last_is_first):
1026 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
1027 * mule-wnnfns.c (Fwnn_notrans_dict_add):
1028 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
1029 * mule-wnnfns.c (Fwnn_fisys_dict_add):
1030 * mule-wnnfns.c (Fwnn_hinsi_list):
1031 * mule-wnnfns.c (Fwnn_fuzokugo_set):
1032 * mule-wnnfns.c (Fwnn_dict_search):
1033 * mule-wnnfns.c (Fwnn_word_toroku):
1034 * mule-wnnfns.c (Fwnn_hindo_update):
1035 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
1036 * mule-wnnfns.c (Fwnn_kakutei):
1037 * mule-wnnfns.c (Fwnn_begin_henkan):
1038 * mule-wnnfns.c (Fwnn_dict_comment):
1039 * mule-wnnfns.c (Fwnn_dict_add):
1040 * mule-wnnfns.c (Fwnn_open):
1041 * mule-mcpath.c (mc_getcwd):
1042 * mule-coding.c (vars_of_mule_coding):
1043 * mule-coding.c (convert_to_external_format):
1044 * mule-coding.c (encoding_marker):
1045 * mule-coding.c (decoding_marker):
1046 * mule-coding.c (Fcopy_coding_system):
1047 * mule-coding.c (Fmake_coding_system):
1048 * mule-coding.c (Fcoding_system_list):
1049 * mule-coding.c (Ffind_coding_system):
1050 * mule-coding.c (symbol_to_eol_type):
1052 * mule-charset.c (complex_vars_of_mule_charset):
1053 * mule-charset.c (vars_of_mule_charset):
1054 * mule-charset.c (Fset_charset_ccl_program):
1055 * mule-charset.c (struct charset_list_closure):
1056 * mule-charset.c (Ffind_charset):
1057 * mule-charset.c (make_charset):
1058 * mule-charset.c (non_ascii_valid_char_p):
1060 * mule-ccl.c (ccl_driver):
1061 * mule-canna.c (c2mu):
1062 * mule-canna.c (Fcanna_henkan_begin):
1063 * mule-canna.c (Fcanna_parse):
1064 * mule-canna.c (Fcanna_store_yomi):
1065 * mule-canna.c (Fcanna_touroku_string):
1066 * mule-canna.c (Fcanna_initialize):
1068 * menubar.c (menu_parse_submenu_keywords):
1069 * menubar-x.c (make_dummy_xbutton_event):
1070 * menubar-x.c (set_frame_menubar):
1071 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
1074 * menubar-msw.c (mswindows_popup_menu):
1075 * menubar-msw.c (mswindows_update_frame_menubars):
1076 * menubar-msw.c (mswindows_handle_wm_command):
1077 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
1078 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
1079 * menubar-msw.c (update_frame_menubar_maybe):
1080 * menubar-msw.c (populate_or_checksum_helper):
1081 * menubar-msw.c (empty_menu):
1084 * marker.c (set_marker_internal):
1085 * marker.c (print_marker):
1088 * lstream.c (lisp_buffer_rewinder):
1089 * lstream.c (mark_lstream):
1091 * lrecord.h (struct lrecord_header):
1092 * lread.c (readevalloop):
1093 * lread.c (locate_file):
1094 * lread.c (locate_file_in_directory):
1095 * lread.c (Flocate_file):
1096 * lread.c (load_force_doc_string_unwind):
1097 * lread.c (ebolify_bytecode_constants):
1102 * linuxplay.c (linux_play_data_or_file):
1103 * linuxplay.c (audio_init):
1106 * keymap.c (describe_map):
1107 * keymap.c (describe_map_mapper):
1108 * keymap.c (Fdescribe_bindings_internal):
1109 * keymap.c (Fsingle_key_description):
1110 * keymap.c (map_keymap_sorted):
1111 * keymap.c (get_relevant_keymaps):
1112 * keymap.c (Flookup_key):
1113 * keymap.c (raw_lookup_key_mapper):
1114 * keymap.c (Fdefine_key):
1115 * keymap.c (Fevent_matches_key_specifier_p):
1116 * keymap.c (key_desc_list_to_event):
1117 * keymap.c (define_key_parser):
1118 * keymap.c (define_key_check_and_coerce_keysym):
1119 * keymap.c (keymap_submaps):
1120 * keymap.c (keymap_store_internal):
1121 * keymap.c (keymap_delete_inverse_internal):
1122 * keymap.c (keymap_store_inverse_internal):
1123 * keymap.c (print_keymap):
1124 * keymap.c (Lisp_Keymap):
1127 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
1128 * insdel.c (make_gap):
1129 * input-method-xlib.c (get_XIM_input):
1130 * input-method-xlib.c (XIM_init_frame):
1135 * gui-x.c (button_item_to_widget_value):
1136 * gui-x.c (popup_selection_callback):
1137 * glyphs.h (struct image_instantiator_methods):
1138 * glyphs.c (mark_glyph_cachels):
1139 * glyphs.c (Fglyph_type):
1140 * glyphs.c (image_instantiate):
1141 * glyphs.c (image_create):
1142 * glyphs.c (make_image_instance_1):
1143 * glyphs.c (finalize_image_instance):
1145 * glyphs-x.c (finalize_subwindow):
1146 * glyphs-x.c (xface_validate):
1147 * glyphs-x.c (x_locate_pixmap_file):
1148 * glyphs-x.c (convert_EImage_to_XImage):
1150 * glyphs-msw.c (mswindows_resource_instantiate):
1151 * glyphs-msw.c (xpm_to_eimage):
1152 * glyphs-msw.c (convert_EImage_to_DIBitmap):
1153 * glyphs-eimage.c (tiff_instantiate):
1154 * glyphs-eimage.c (png_instantiate):
1155 * glyphs-eimage.c (struct png_error_struct):
1156 * glyphs-eimage.c (gif_memory_storage):
1159 * getloadavg.c (getloadavg):
1162 * free-hook.c (log_gcpro):
1163 * free-hook.c (check_malloc):
1164 * free-hook.c (check_free):
1165 * free-hook.c (ROUND_UP_TO_PAGE):
1167 * frame.h (struct frame):
1169 * frame.c (change_frame_size_1):
1170 * frame.c (allocate_frame_core):
1172 * frame-x.c (x_focus_on_frame):
1173 * frame-x.c (x_init_frame_2):
1174 * frame-x.c (x_popup_frame):
1175 * frame-x.c (xemacs_XtPopup):
1177 * frame-x.c (Foffix_start_drag_internal):
1178 * frame-x.c (x_cde_destroy_callback):
1179 * frame-x.c (x_wm_hack_wm_protocols):
1180 * frame-tty.c (tty_frame_visible_p):
1181 * frame-msw.c (mswindows_make_frame_invisible):
1182 * frame-msw.c (mswindows_after_init_frame):
1183 * frame-msw.c (mswindows_init_frame_1):
1184 * fns.c (syms_of_fns):
1185 * fns.c (Fbase64_decode_string):
1187 * fns.c (Ffillarray):
1188 * fns.c (Fobject_plist):
1190 * fns.c (Fcanonicalize_lax_plist):
1191 * fns.c (Fcanonicalize_plist):
1192 * fns.c (Fplist_remprop):
1193 * fns.c (Fplist_get):
1194 * fns.c (advance_plist_pointers):
1195 * fns.c (internal_plist_put):
1196 * fns.c (Fnreverse):
1199 * fns.c (Fsubstring):
1200 * fns.c (Fbvconcat):
1202 * fns.c (length_with_bytecode_hack):
1203 * fns.c (print_bit_vector):
1205 * floatfns.c (Ffloor):
1207 * floatfns.c (in_float_error):
1208 * fileio.c (Ffile_modes):
1209 * fileio.c (Fexpand_file_name):
1210 * fileio.c (Fmake_temp_name):
1211 * fileio.c (Ffile_name_nondirectory):
1212 * fileio.c (Ffile_name_directory):
1214 * file-coding.c (vars_of_mule_coding):
1215 * file-coding.c (convert_to_external_format):
1216 * file-coding.c (encoding_marker):
1217 * file-coding.c (decoding_marker):
1218 * file-coding.c (Fcopy_coding_system):
1219 * file-coding.c (Fmake_coding_system):
1220 * file-coding.c (struct coding_system_list_closure):
1221 * file-coding.c (Ffind_coding_system):
1222 * file-coding.c (symbol_to_eol_type):
1224 * faces.h (struct face_cachel):
1225 * faces.c (vars_of_faces):
1226 * faces.c (face_property_was_changed):
1227 * faces.c (mark_face_cachels):
1228 * faces.c (temporary_faces_list):
1229 * faces.c (struct face_list_closure):
1231 * extents.h (struct extent):
1232 * extents.c (vars_of_extents):
1233 * extents.c (struct copy_string_extents_1_arg):
1234 * extents.c (add_string_extents_mapper):
1235 * extents.c (Fextent_property):
1236 * extents.c (Fset_extent_property):
1237 * extents.c (symbol_to_glyph_layout):
1238 * extents.c (properties_equal):
1239 * extents.c (print_extent):
1240 * extents.c (print_extent_1):
1241 * extents.c (extent_in_region_p):
1242 * extents.c (gap_array_make_gap):
1244 * events.h (struct Lisp_Event):
1246 * events.c (Fevent_properties):
1247 * events.c (format_event_object):
1248 * events.c (Fmake_event):
1249 * events.c (event_equal):
1250 * events.c (print_event):
1251 * events.c (mark_event):
1252 * event-stream.c ((read-char)
1253 * event-stream.c (vars_of_event_stream):
1254 * event-stream.c (syms_of_event_stream):
1255 * event-stream.c (Fset_recent_keys_ring_size):
1256 * event-stream.c (Fsit_for):
1257 * event-stream.c (Fnext_event):
1258 * event-stream.c (execute_help_form):
1259 * event-stream.c (maybe_kbd_translate):
1261 * event-msw.c (vars_of_event_mswindows):
1262 * event-msw.c (mswindows_wnd_proc):
1263 * event-msw.c (mswindows_need_event):
1264 * event-msw.c (mswindows_drain_windows_queue):
1265 * event-msw.c (mswindows_pump_outstanding_events):
1267 * event-msw.c (slurp_thread):
1268 * event-msw.c (struct ntpipe_slurp_stream):
1269 * event-msw.c (HANDLE_TO_USID):
1270 * event-Xt.c (emacs_Xt_handle_magic_event):
1271 * event-Xt.c (x_event_to_emacs_event):
1272 * event-Xt.c (x_reset_modifier_mapping):
1273 * event-Xt.c (x_reset_key_mapping):
1275 * eval.c (syms_of_eval):
1276 * eval.c (warn_when_safe):
1277 * eval.c (warn_when_safe_lispobj):
1278 * eval.c (Fbacktrace_frame):
1279 * eval.c (Fbacktrace):
1280 * eval.c (top_level_set):
1281 * eval.c (unbind_to_hairy):
1282 * eval.c (specbind_magic):
1283 * eval.c (specbind_unwind_wasnt_local):
1284 * eval.c (call2_trapping_errors):
1285 * eval.c (call1_trapping_errors):
1286 * eval.c (catch_them_squirmers_call2):
1287 * eval.c (call0_trapping_errors):
1288 * eval.c (run_hook_trapping_errors):
1289 * eval.c (catch_them_squirmers_eval_in_buffer):
1290 * eval.c (call4_in_buffer):
1291 * eval.c (call3_in_buffer):
1292 * eval.c (call2_in_buffer):
1293 * eval.c (call1_in_buffer):
1294 * eval.c (call0_in_buffer):
1295 * eval.c (run_hook):
1296 * eval.c (run_hook_with_args_in_buffer):
1299 * eval.c (do_autoload):
1300 * eval.c (un_autoload):
1301 * eval.c (Fautoload):
1302 * eval.c (Finteractive_p):
1303 * eval.c (Fcommand_execute):
1304 * eval.c (signal_quit):
1305 * eval.c (call_with_suspended_errors):
1306 * eval.c (signal_error):
1307 * eval.c (return_from_signal):
1308 * eval.c (Fcall_with_condition_handler):
1309 * eval.c (run_condition_case_handlers):
1310 * eval.c (condition_case_1):
1311 * eval.c (Funwind_protect):
1312 * eval.c (unwind_to_catch):
1313 * eval.c (internal_catch):
1314 * eval.c (Fmacroexpand_internal):
1315 * eval.c (Fuser_variable_p):
1316 * eval.c (Fdefconst):
1318 * eval.c (Ffunction):
1319 * eval.c (signal_call_debugger):
1320 * eval.c (call_debugger):
1323 * emacs.c (sort_args):
1327 * editfns.c (Fencode_time):
1328 * editfns.c (Fdecode_time):
1329 * editfns.c (Fuser_full_name):
1331 * editfns.c (save_excursion_restore):
1334 * doprnt.c (emacs_doprnt_1):
1335 * doc.c (verify_doc_mapper):
1336 * doc.c (Fsnarf_documentation):
1337 * doc.c (Fdocumentation):
1339 * dired.c (user_name_completion):
1340 * dired.c (Fdirectory_files):
1343 * dgif_lib.c (FreeSavedImages):
1344 * dgif_lib.c (DGifGetImageDesc):
1346 * device.h (struct device):
1347 * device.c (Fselect_device):
1348 * device.c (allocate_device):
1350 * device-x.c (Fx_keysym_on_keyboard_p):
1351 * device-x.c (Fx_valid_keysym_name_p):
1352 * device-x.c (x_IO_error_handler):
1353 * device-x.c (x_delete_device):
1354 * device-x.c (x_finish_init_device):
1355 * device-x.c (x_init_device):
1357 * device-msw.c (mswindows_init_device):
1359 * database.c (vars_of_database):
1360 * database.c (Fput_database):
1361 * database.c (Fopen_database):
1362 * database.c (berkdb_remove):
1363 * database.c (berkdb_put):
1364 * database.c (Fdatabasep):
1365 * database.c (print_database):
1367 * data.c (vars_of_data):
1368 * data.c (syms_of_data):
1369 * data.c (init_errors_once_early):
1370 * data.c (prune_weak_lists):
1371 * data.c (finish_marking_weak_lists):
1372 * data.c (print_weak_list):
1374 * data.c (Fstring_to_number):
1375 * data.c (Fnumber_to_string):
1376 * data.c (Findirect_function):
1379 * data.c (Fsubr_interactive):
1381 * data.c (Fkeywordp):
1384 * console.h (CONSOLE_NAME):
1386 * console.c (vars_of_console):
1387 * console.c (Fselect_console):
1389 * console-x.h (DEVICE_X_COLORMAP):
1390 * console-x.h (struct x_device):
1391 * console-x.c (x_device_to_console_connection):
1392 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
1393 * console-tty.c (tty_init_console):
1395 * console-msw.h (struct mswindows_frame):
1398 * cmds.c (internal_self_insert):
1399 * cmds.c (Fforward_line):
1400 * cmds.c (Fforward_char):
1403 * chartab.c (mark_char_table_entry):
1405 * casefiddle.c (casify_word):
1406 * callproc.c (child_setup):
1407 * callproc.c (Fcall_process_internal):
1409 * callint.c (Fcall_interactively):
1411 * bytecode.c (execute_rare_opcode):
1412 * bytecode.c (execute_optimized_program):
1415 * buffer.h (BUFFER_REALLOC):
1416 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
1417 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
1419 * buffer.h (MAP_INDIRECT_BUFFERS):
1420 * buffer.h (CHECK_LIVE_BUFFER):
1421 * buffer.c (init_initial_directory):
1422 * buffer.c (complex_vars_of_buffer):
1423 * buffer.c (vars_of_buffer):
1424 * buffer.c (finish_init_buffer):
1425 * buffer.c (Fget_file_buffer):
1426 * buffer.c (Fbuffer_list):
1427 * buffer.c (mark_buffer):
1428 * balloon_help.c (balloon_help_move_to_pointer):
1429 * balloon_help.c (show_help):
1432 * alloc.c (garbage_collect_1):
1433 * alloc.c (sweep_strings):
1434 * alloc.c (sweep_compiled_functions):
1435 * alloc.c (sweep_bit_vectors_1):
1436 * alloc.c (sweep_vectors_1):
1437 * alloc.c (sweep_lcrecords_1):
1438 * alloc.c (tick_lcrecord_stats):
1439 * alloc.c (pure_string_sizeof):
1440 * alloc.c (mark_conses_in_list):
1441 * alloc.c (mark_object):
1442 * alloc.c (report_pure_usage):
1443 * alloc.c (make_pure_float):
1444 * alloc.c (make_pure_string):
1445 * alloc.c (free_managed_lcrecord):
1446 * alloc.c (mark_string):
1447 * alloc.c (noseeum_make_marker):
1448 * alloc.c (allocate_event):
1449 * alloc.c (Fbit_vector):
1450 * alloc.c (Fvector):
1451 * alloc.c (make_float):
1452 * alloc.c (Fmake_list):
1454 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
1455 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
1456 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
1457 * alloc.c (dbg_constants):
1458 * alloc.c (gc_record_type_p):
1459 * alloc.c (free_lcrecord):
1460 * alloc.c (xmalloc):
1461 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
1463 * Makefile.in.in (mostlyclean):
1464 * Makefile.in.in (external_client_xlib_objs_nonshared):
1465 * Makefile.in.in (temacs_link_args):
1466 * Makefile.in.in (release):
1467 * Makefile.in.in (dnd_objs):
1468 * Makefile.in.in (objs):
1469 * Makefile.in.in (PROGNAME):
1470 * EmacsShell.c: cast strings to (XtPointer)
1471 * EmacsFrame.c: cast strings to (XtPointer)
1473 - rewrite basic lisp functions for speed
1474 - rewrite bytecode interpreter for speed
1475 - rewrite list looping constructs for speed and safety using
1477 - use size_t where appropriate.
1478 - new hashtable implementation
1479 - cleanup implementation of opaques
1480 - opaques can now be purecopy'ed
1481 - move some cl functionality into C for speed.
1482 - remove last remaining VMS support
1484 - improve gdb/dbx debugger support
1485 - move pure.c back into alloc.c for performance
1486 - enable report_pure_usage() if --memory-usage-stats
1487 - remove remnants of Energize support (EMACS_BTL, cadillac...)
1488 - don't use symbols with leading `_' or embedded `__'
1489 - globally cleanup duplicated semicolons `;;'
1490 - I give in on %p vs %lx - we use printf("%lx",(long) p)
1492 - globally replace O_NDELAY with O_NONBLOCK.
1493 - globally replace CDISABLE with _POSIX_VDISABLE.
1494 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
1495 - define (and maybe use!) STDERR_FILENO and friends.
1496 - add support for macros defined in C
1497 - `when', `unless', `not' and `defalias' now defined in C,
1498 so that they are universally available.
1499 - rename defvar_mumble to defvar_magic
1500 - rename RETURN__ to RETURN_SANS_WARNINGS
1501 - use consistent style of initial caps in error messages
1502 - implement last, butlast, nbutlast, copy-list in C.
1503 - provide typedefs for all struct Lisp_foo types
1504 - Lisp_Objects must be initialized to Qnil rather than 0.
1505 - make sure XEmacs runs (slowly) with always_gc == 1;
1506 - fast and safe LOOP_* macros
1507 - change calls to XSETOBJ to XSETFOO
1508 - replace calls to XSETINT by make_int()
1509 - plug up memory leaks
1510 - use style markobj (foo), not silly ((markobj) (foo))
1511 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
1513 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
1515 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
1517 1998-11-28 SL Baur <steve@altair.xemacs.org>
1519 * XEmacs 21.2-beta4 is released.
1521 1998-11-27 SL Baur <steve@altair.xemacs.org>
1523 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
1524 property in control-1 charset.
1525 From Julian Bradfield <jcb@daimi.au.dk>
1527 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
1529 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
1531 Add stub for :label.
1533 * gui.c (gui_item_add_keyval_pair): ditto.
1535 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
1536 :key-sequence keyword.
1538 Support :active for submenus like the Windows code and FSF Emacs.
1540 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
1542 * dired.c (make_directory_hash_table): make_string() is OK because
1543 readdir() Mule-encapsulates.
1545 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
1547 * fns.c (Fbase64_encode_string): Fix docstring.
1548 (Fbase64_decode_string): Ditto.
1550 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
1552 * editfns.c (Ftranslate_region): Use
1553 convert_bufbyte_string_into_emchar_string().
1555 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1557 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
1559 (Ftranslate_region): Turn table into an array of Emchars for
1562 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1564 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
1566 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
1568 * chartab.c (Freset_char_table): Don't blindly fill chartables of
1569 type `char' with nils.
1571 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
1572 for tables of type `char'.
1574 1998-11-26 Didier Verna <verna@inf.enst.fr>
1576 * input-method-xlib.c (Initialize_Locale): don't call
1577 XtSetLanguageProc. We've done the whole work here.
1578 * input-method-xfs.c (Initialize_Locale): ditto.
1579 * input-method-motif.c (Initialize_Locale): ditto.
1581 1998-11-26 Didier Verna <verna@inf.enst.fr>
1583 * process-unix.c (unix_create_process): handle properly
1584 Vfile_name_coding_system for converting the program and directory
1587 1998-11-27 SL Baur <steve@altair.xemacs.org>
1589 * m/arm.h: New file.
1590 From James LewisMoss <dres@ioa.com>
1592 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
1595 Fix the realpath() problem of UnixWare2.1.3.
1596 Patches for NEC's sysv4.2 machine.
1598 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1600 * dired.c (Fdirectory_files): Remove redundant code.
1602 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1604 * fns.c (free_malloced_ptr): New function.
1605 (XMALLOC_OR_ALLOCA): New macro.
1606 (XMALLOC_UNBIND): Ditto.
1607 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
1608 to be freed in case of non-local exit.
1609 (Fbase64_encode_string): Ditto.
1610 (Fbase64_decode_region): Ditto.
1611 (Fbase64_decode_string): Ditto.
1612 (STORE_BYTE): New macro.
1613 (base64_decode_1): Use it.
1615 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1617 * fns.c (base64_value_to_char): Base64 stuff.
1619 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
1621 * editfns.c (Fbuffer_substring): New function.
1623 * lisp.h: Declare make_string_from_buffer_no_extents().
1625 * insdel.c (make_string_from_buffer_1): New function.
1626 (make_string_from_buffer_no_extents): Ditto.
1628 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1630 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
1631 sound work on AIX with OSS installed. Linux should still work.
1633 1998-11-03 Andy Piper <andyp@parallax.co.uk>
1635 * config.h.in: name change for cygwin/version.h
1637 * configure.in: check for cygwin/version.h now.
1639 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
1640 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
1641 move cygwin32/version.h to cygwin/version.h
1643 1998-11-03 Olivier Galibert <galibert@pobox.com>
1645 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
1648 1998-10-22 Andy Piper <andyp@parallax.co.uk>
1650 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
1651 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
1652 enable BROKEN_SIGIO under b20 to make QUIT work.
1654 1998-10-22 Andy Piper <andyp@parallax.co.uk>
1656 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
1657 to fit within the constraints of the screen size. I.e. make the
1658 frame small enough to fit and move it if some of it will be
1661 1998-10-19 Greg Klanderman <greg@alphatech.com>
1663 * dired.c: conditionalize inclusion of user-name-completion
1664 primitives on non-Windows NT. The needed functions don't exist on NT.
1666 1998-11-24 SL Baur <steve@altair.xemacs.org>
1668 * gifrlib.h: Clean up types for 64 bit compile.
1669 * dgif_lib.c (DGifInitRead): Ditto.
1670 (MakeSavedImage): Ditto.
1671 * emacs.c (decode_path): Ditto.
1672 From Steve Carney <carney@pa.dec.com>
1674 1998-10-16 William M. Perry <wmperry@aventail.com>
1676 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
1677 (cehckboxes instead of checkboxes).
1679 1998-10-15 SL Baur <steve@altair.xemacs.org>
1681 * XEmacs 21.2-beta3 is released.
1683 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
1685 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
1686 gnuclient. Otherwise, we run xemacs as we always did. This gets
1687 rid of the annoying DOS window when running gnuclient.
1689 1998-10-13 Andy Piper <andyp@parallax.co.uk>
1691 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
1692 HAVE_MS_WINDOWS typo.
1694 1998-10-13 SL Baur <steve@altair.xemacs.org>
1696 * process-unix.c (unix_send_process): Set closed flag on writable
1697 pipe after SIGPIPE is received and before we call deactivate_process.
1699 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1701 * window.c (Fset_window_start): respect narrowing when
1702 checking wheter start is at the beginning of a line.
1703 (Fset_window_buffer): Ditto
1704 Fixes repeatable crash in VM.
1706 1998-10-09 SL Baur <steve@altair.xemacs.org>
1708 * window.c (specifier_vars_of_window): Set default vertical
1709 divider width to 1 on ttys.
1711 1998-10-08 Martin Buchholz <martin@xemacs.org>
1716 Add <stddef.h> to get ptrdiff_t declaration
1718 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
1720 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
1721 is used for Motif or Lucid scrollbars under X.
1723 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
1725 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
1728 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
1730 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
1732 1998-10-05 Andy Piper <andyp@parallax.co.uk>
1734 * s/cygwin32.h: more cygwin b20 reorganisation.
1736 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1738 * window.c (Fset_window_start): Document me.
1739 (Fset_window_buffer): Document me.
1740 Fixes some sort of repeatable crash.
1742 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
1744 * nas.c: Added necessary support functions to be able to handle
1745 WAVE files in memory, just like the support for SND files in
1748 1998-09-30 SL Baur <steve@altair.xemacs.org>
1750 * callproc.c (child_setup): Fix spelling typo.
1752 1998-09-29 SL Baur <steve@altair.xemacs.org>
1754 * XEmacs 21.2-beta2 is released.
1756 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
1758 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
1759 to prevent memory corruption in the case of jumping out of a series of
1760 nested match patterns. This is a rather brute force approach, though.
1762 1998-09-02 Andy Piper <andyp@parallax.co.uk>
1764 * config.h.in: ditto.
1766 * s/cygwin32.h: rearrange declarations to cope with cygwin
1767 b20. Include cygwin32/version.h if it exists.
1769 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
1771 * device-msw.c (mswindows_init_device): Call new
1772 mswindows_enumerate_fonts() function in objects-msw.c instead
1773 of font_enum_callback_1() to enumerate fonts.
1775 font_enum_callback_1() and _2() moved to objects-msw.c.
1777 * faces.c (complex_vars_of_faces): Make the mswindows default
1778 face font fully specified and provide some fallbacks.
1780 * objects-msw.c: font_enum_callback_1() and _2() moved here
1781 from objects-msw.c. Obtain the enumerated font's character
1782 sets by table lookup instead of using the locale-specific
1783 string provided by Windows.
1785 New public non-method mswindows_enumerate_fonts() that fills
1786 in the supplied mswindows device's font list.
1788 mswindows_initialize_font_instance: Use the supplied name
1789 variable instead of f->name when signalling errors. Match font
1790 weights and character sets using lookup tables which handle
1791 spaces instead of by frobbing.
1793 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
1795 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
1796 on the size of code fragments passed to run_in_other_process.
1798 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
1799 the amount of memory to allocate in the other process.
1801 Removed sigkill_code_end(), sigint_code_end() and
1802 sig_enable_code_end() since they are now redundant.
1804 send_signal() and enable_child_signals(): Don't try to work
1805 out the end of the code fragments passed to
1806 run_in_other_process()
1808 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1810 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
1813 * src/unexelf.c: Partially synched with FSF's 20.3.
1815 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
1817 * insdel.c (signal_after_change): Map across indirect buffers
1818 here, and not in the upper-level functions.
1819 (signal_first_change): Don't check for Armageddon.
1820 (signal_before_change): Map across indirect buffers here.
1821 (prepare_to_modify_buffer): ...and here.
1823 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
1825 * insdel.c (signal_after_change): Add return value.
1826 (buffer_insert_string_1): Use it.
1827 (buffer_delete_range): Ditto.
1828 (buffer_replace_char): Ditto.
1829 (cancel_multiple_change): Map the indirect buffers.
1831 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
1833 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
1834 (uninit_buffer_text): Ditto.
1836 * buffer.c (Fmake_indirect_buffer): Implement stricter
1839 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
1841 * insdel.c (change_function_restore): Reverse order of
1842 function-call and assignment.
1843 (first_change_hook_restore): Ditto.
1845 * extents.c (mark_extent_auxiliary): Mark them.
1846 (Fset_extent_property): Set them.
1847 (Fextent_property): Get them.
1848 (Fextent_properties): Ditto.
1849 (vars_of_extents): Set their default.
1851 * extents.h (struct extent_auxiliary): Add before_change_functions
1852 and after_change_functions.
1854 * insdel.c (signal_before_change): Use it.
1855 (signal_after_change): Ditto.
1857 * extents.c (report_extent_modification): New function.
1859 * insdel.c (signal_before_change): Don't check for Armageddon.
1860 (signal_after_change): Ditto.
1862 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
1864 * redisplay.c (redisplay_window): make sure a new starting point
1865 is chosen if it somehow got moved from the beginning of the line
1866 -- this can happen because Fwiden was called recently.
1868 * window.c (Fset_window_start): set start_at_line_beg correctly
1869 (Fset_window_buffer): Ditto
1871 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
1873 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
1874 (uninit_buffer_text): Ditto.
1876 * buffer.c (Fmake_indirect_buffer): Implement stricter
1879 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
1881 * emacs.c (main_1): Removed references to *vars_of_filelock.
1883 * lisp.h: Added Fsystem_name.
1885 * filelock.c: Replaced by version from FSF 20.2. Now implements
1886 locking by using symlinks which is NFS safe. However keep the
1887 GCPRO's in lock_file and the calls to callx_in_buffer like our old
1888 version (and of course use ansi C, acessor macros, etc).
1890 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
1892 * process-unix.c (unix_create_process): Reset SIGHUP handler to
1893 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
1894 in init_signals_very_early. However these should not be passed
1895 on to children attached to the new pty.
1897 1998-08-28 Andy Piper <andyp@parallax.co.uk>
1899 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
1901 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
1903 * fileio.c (file-name-directory, file_name_as_directory):
1904 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
1906 1998-09-02 Andy Piper <andyp@parallax.co.uk>
1908 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
1910 * ralloc.c: uncomment __morecore.
1912 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
1914 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
1915 WriteFile() to fix a winsock 1.x bug on Win95.
1917 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
1919 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
1921 (x_event_to_emacs_event): Ditto.
1922 (emacs_Xt_handle_focus_event): Ditto.
1923 (emacs_Xt_handle_magic_event): Ditto.
1925 * console-x.h (struct x_device): New flag being_deleted.
1926 (DEVICE_X_BEING_DELETED): New macro.
1928 * device-x.c (x_IO_error_handler): Throw to top-level instead of
1929 returning. Before doing that, set the being_deleted flag on the
1932 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
1934 * device-x.c (x-seppuku-on-epipe): Removed.
1936 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
1938 * frame-x.c (x_delete_frame): Flush the X output buffer after
1939 calling XtDestroyWidget to ensure that the windows are really
1942 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
1944 * menubar-x.c (my_run_hook): New unused function.
1945 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
1946 since we ignore the results of the contained functions anyway.
1948 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
1950 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
1951 interlaced GIF files that are smaller than 4 lines high...
1953 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
1955 * buffer.c (map_over_sharing_buffers): Deleted.
1957 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
1959 * buffer.c (Fkill_buffer): Keep indirect_children updated while
1962 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
1964 * insdel.c (buffer_insert_string_1): Advance the point bytind in
1966 (buffer_delete_range): Ditto.
1968 * marker.c (init_buffer_markers): Set point-marker to the value of
1969 point in an indirect buffer.
1971 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
1973 * undo.c (undo_prelude): Test last-undo-buffer against base
1976 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
1978 * buffer.h (BUFFER_BASE_BUFFER): New macro.
1980 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
1982 * insdel.c (init_buffer_text): Initialize it here.
1984 * line-number.c: Address line_number_cache through buffer->text.
1986 * buffer.c (mark_buffer): Mark line number cache.
1988 * bufslots.h (line_number_cache): Move to struct buffer_text.
1990 * insdel.c (buffer_insert_string_1): Propagate signals and changes
1991 across the children buffers.
1992 (buffer_delete_range): Ditto.
1993 (buffer_replace_char): Ditto.
1997 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
1999 * buffer.c (Fmake_indirect_buffer): Uncomment.
2001 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
2003 * macros.c (Fend_kbd_macro): Remove trailing period from error
2005 (Fexecute_kbd_macro): Ditto.
2007 1998-08-21 Greg Klanderman <greg@alphatech.com>
2009 * dired.c (Fuser_name_completion): remove optional 2nd argument.
2010 (Fuser_name_completion_1): new function to return uniqueness
2011 indication in addition to the user name completion.
2012 (user_name_completion): change type of `uniq' argument.
2014 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2016 * lread.c (vars_of_lread): Removed `source-directory' variable.
2018 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
2020 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
2023 1998-08-19 SL Baur <steve@altair.xemacs.org>
2025 * dired.c (vars_of_dired): Fix misapplied patch.
2027 1998-08-16 Martin Buchholz <martin@xemacs.org>
2029 * fns.c (Fremrassq, remrassq_no_quit):
2030 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
2032 1998-07-17 Didier Verna <verna@inf.enst.fr>
2034 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
2035 style as foreground GC for faces that have the `dim' property.
2036 (x_output_string): when the `dim' face property is set,
2037 ensure the gray pixmap has been created, and get a proper
2038 foreground GC to draw the text.
2040 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
2042 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
2043 Manually track the state of the left and right Ctrl and Alt
2046 1998-08-07 Matt Stupple <matts@tibco.com>
2048 * ntproc.c: don't wait on char_consumed at thread entry.
2049 Additionally, to get the 'process' marked as finished, ensure
2050 that the CHILD_ACTIVE macro returns false, so before exiting
2051 close char_avail and set it to NULL, and close other handles
2052 to reduce handle leak problems.
2054 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
2056 * menubar-msw.c (displayable_menu_item): take account of menu
2057 depth when deciding whether to try to display accelerators.
2059 1998-08-04 Andy Piper <andyp@parallax.co.uk>
2061 * event-msw.c: use MsgWaitForMultipleObjects if there are no
2064 * glyphs-msw.c: fix a couple of potential handle leaks.
2066 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
2068 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
2069 *decoding ONLY* back into the core.
2070 * glyphs-eimage.c: Change referenced header file for GIF
2071 reading to point to the incore version.
2073 1998-07-20 Martin Buchholz <martin@xemacs.org>
2075 * casefiddle.c (casify_object):
2076 Change algorithm from O(N**2) to O(N).
2080 1998-07-22 Greg Klanderman <greg@alphatech.com>
2082 * dired.c (file_name_completion_unwind): don't leak the cons.
2084 1998-07-20 Greg Klanderman <greg@alphatech.com>
2086 * dired.c (Fuser_name_completion): new function.
2087 (Fuser_name_all_completions): new function.
2088 (user_name_completion): new function.
2089 (syms_of_dired): 2 new DEFSUBRs.
2090 (vars_of_dired): initialize user name cache vars.
2092 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
2094 * glyphs-eimage.c (png_instantiate): Add proper handling for background
2095 colors taken from the default face. Also correct a thinko in
2096 transparency (not alpha) handling.
2098 1998-07-23 Martin Buchholz <martin@xemacs.org>
2100 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
2101 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
2102 * lread.c (Fload_internal): Be very careful with printfs of
2104 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
2107 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
2109 * callint.c (Fcall_interactively): GCPRO prompt string before
2110 passing it to Fread_key_sequence
2112 1998-07-27 SL Baur <steve@altair.xemacs.org>
2114 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
2115 Vvertical_divider_map.
2117 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
2118 Qnil or 0, none were initialized prior to this change.
2120 Rename misnamed `V' prefixed integer variables:
2121 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
2122 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
2123 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
2124 Vcanna_ichiran_revLen.
2126 Rename misnamed `V' prefixed integer variables and initialize
2127 properly in the vars_of routine.
2128 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
2129 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
2130 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
2131 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
2132 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
2133 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
2134 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
2135 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
2136 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
2137 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
2138 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
2139 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
2140 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
2141 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
2142 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
2143 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
2144 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
2145 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
2146 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
2147 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
2148 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
2149 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
2150 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
2151 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
2152 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
2153 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
2154 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
2155 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
2156 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
2157 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
2158 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
2159 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
2160 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
2161 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
2162 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
2163 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
2164 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
2165 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
2166 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
2167 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
2168 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
2169 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
2170 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
2171 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
2172 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
2173 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
2175 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
2177 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
2178 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
2179 keys thus no longer considering all keysyms on a key.
2181 1998-07-19 SL Baur <steve@altair.xemacs.org>
2183 * XEmacs 21.2-beta1 is released.
2185 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2187 * eldap.c (Fldap_search_internal): When converting the list of
2188 attributes to search Copy the final 0 from Lisp strings to C
2190 Check base, not Vldap_default_base as a a string
2192 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
2194 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
2196 * unexnt.c: Unconditionally define bss_start and bss_size, and
2197 ensure that they don't go in the .bss section.
2199 1998-07-17 Olivier Galibert <galibert@pobox.com>
2201 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
2202 byte order is dependant of the local byte order).
2203 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
2205 1998-07-18 SL Baur <steve@altair.xemacs.org>
2207 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
2208 Qmswindows_resource.
2209 From Jonathan Harris <jhar@tardis.ed.ac.uk>
2211 1998-07-12 SL Baur <steve@altair.xemacs.org>
2213 * general.c (syms_of_general): Add defsymbol for Qresource.
2215 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
2216 Qmswindows_resource.
2217 (TopLevel): Rename 'resource image format to 'mswindows_resource.
2218 (mswindows_resource_validate): Rename.
2219 (mswindows_resource_normalize): Rename.
2220 (mswindows_resource_possible_dest_types): Rename.
2221 (mswindows_resource_instantiate): Rename.
2222 (image_instantiator_format_create_glyphs_mswindows): Replace
2223 `resource' with `mswindows.resource'.
2225 * XEmacs 21.0-pre5 is released.
2227 1998-07-10 SL Baur <steve@altair.xemacs.org>
2229 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
2230 server type in environment.
2231 Use alloca-ed strings instead of tiny fixed size ones.
2233 1998-07-09 SL Baur <steve@altair.xemacs.org>
2235 * XEmacs 21.0-pre4 is released.
2237 1998-07-01 James N. Potts <jnpotts@plutonium.net>
2239 * fileio.c: (expand_file_name): under win32: Don't treat names
2240 as UNC names if a drive letter has been specified. If a drive
2241 has been specified, strip out extra directory-seperators that
2242 reportedly cause problems under Win95.
2244 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
2246 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
2247 MSVC >= 5.0. Put emacs init and zero-init data in a special
2248 section of the executable when this is defined.
2250 * unexnt.c, ntheap.h:
2251 Removed unused find_section() and get_section_size().
2254 Fix up the executable's checksum after dumping otherwise the
2256 When DUMP_SEPARATE_SECTION is defined, don't need to dump
2257 zero-init data separately from init data. Dump emacs data
2258 into a special section of the executable.
2259 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
2260 my_ebss instead of up to the end of bss.
2262 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
2264 * filelock.c: Removed Vconfigure_lock_directory - already
2267 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
2268 defined in frame.c and general.c respectively.
2270 * glyphs-msw.c: Removed Qresource - already defined in
2273 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2275 * eldap.c (Fldap_search_internal): Docstring fixes
2277 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
2279 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
2280 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
2281 EMACSPACKAGEPATH and INFOPATH variables.
2282 Removed unused get_emacs_configuration function.
2284 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
2285 it is now defined at build-time by the makefile.
2287 1998-07-01 James N. Potts <jnpotts@plutonium.net>
2289 * fileio.c: (expand_file_name): under win32: Don't treat names as
2290 UNC names if a drive letter has been specified. If a drive has
2291 been specified, strip out extra directory-seperators that
2292 reportedly cause problems under Win95.
2294 1998-07-05 Andy Piper <andyp@parallax.co.uk>
2296 * faces.c (complex_vars_of_faces): for the gui-element face don't
2297 fallback to the default face, instead provide reasonable default
2298 fallbacks that were previously hardcoded elsewhere.
2300 1998-07-06 Olivier Galibert <galibert@pobox.com>
2302 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
2303 when the X server endianness is different than the client's one.
2305 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
2307 * eval.c (run_hook_with_args_in_buffer): Check
2308 default (non-buffer-local) value of hook for
2309 nil before treating it as a function. Don't initialize
2310 the `globals' variable twice.
2312 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
2314 * fileio.c: Don't do directory seperator canonicalisation in
2315 substitute-in-file-name because we don't know that the
2316 filename refers to a local file.
2318 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
2320 * process-nt.c (nt_create_process): Try appending the standard
2321 executable file extensions to the filename if none supplied.
2323 1998-06-29 SL Baur <steve@altair.xemacs.org>
2325 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
2327 From Keisuke Mori <ksk@ntts.com>
2329 1998-06-24 Andy Piper <andyp@parallax.co.uk>
2331 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
2332 images if we have masks. This handles the xbm case (have masks)
2333 and avoids overuse of resources in the xpm case (generally no masks).
2334 Don't output small toolbars.
2336 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
2338 * eval.c (run_hook_with_args_in_buffer): Don't treat
2339 the default value of a buffer local hook as a list of
2340 hooks unless it is both a cons and the car of that cons
2343 1998-06-29 SL Baur <steve@altair.xemacs.org>
2345 * extents.c: Email address for Ben Wing is ben@xemacs.org.
2346 * process-unix.c: Ditto.
2347 * mule-coding.h: Ditto.
2348 * mule-coding.c: Ditto.
2349 * mule-charset.c: Ditto.
2350 * mule-charset.h: Ditto.
2351 * file-coding.c: Ditto.
2352 * file-coding.h: Ditto.
2354 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
2356 * event-msw.c: Guard against recursion when freeing
2357 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
2359 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
2360 Call ShowWindow twice in init_frame_3 to get round runemacs
2363 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
2365 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
2367 * winslots.h: Rename.
2369 * window.c (specifier_vars_of_window): Renamed
2370 vertical-divider-draggable-p to vertical-divider-always-visible-p,
2371 as suggested by Ben Wing.
2372 (specifier_vars_of_window): Fix docstrings.
2374 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2376 * unexaix.c: Line number information works correctly again.
2378 1998-06-22 Olivier Galibert <galibert@pobox.com>
2380 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
2382 1998-06-21 Martin Buchholz <martin@xemacs.org>
2384 * editfns.c (get_home_directory): ANSIfy.
2385 XEmacs is compilable under C *and* C++.
2386 It's XEmacs, not Xemacs!
2388 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
2390 * console-msw.h: added a list of fonts to device data.
2392 * device-msw.c: enumerate list of available fonts in
2393 mswindows_init_device. Free list in mswindows_delete_device.
2395 * objects-msw.c: Added helper function match_font used by
2396 mswindows_initialize_font_instance and mswindows_list_fonts.
2397 Allow a charset to be specified in a font string, even if
2398 previous fields havn't been specified.
2400 1998-06-23 Greg Klanderman <greg@alphatech.com>
2402 * indent.c (column_at_point): column cache bugfix.
2403 Set last_known_column_point to the buffer position for
2404 which the column was requested, not buffer's point.
2406 * redisplay.c (decode_mode_spec): for current-column, show
2407 window's point's column, not buffer's point's column.
2409 1998-06-23 Andy Piper <andyp@parallax.co.uk>
2411 * menubar-msw.c (mswindows_handle_wm_command): use
2412 enqueue_misc_user event rather than
2413 mswindows_enqueue_msic_user_event to fix customize problems. Add some
2416 * console-msw.h: declare mswindows_enqueue_magic_event.
2418 * event-msw.c (mswindows_enqueue_magic_event): make global.
2420 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
2422 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
2423 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
2424 (add_position_to_cache): Use EMACS_INT instead of int.
2426 1998-06-21 Olivier Galibert <galibert@pobox.com>
2428 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
2429 suitable for an int used as a boolean (btw, C sucks.).
2431 1998-06-18 Andy Piper <andyp@parallax.co.uk>
2433 * object-msw.c: remove warnings.
2435 * device-msw.c: #define wrongly named cygwin structure elements.
2437 * s/cygwin32.h: define DEMI_BOLD
2439 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
2441 * redisplay-msw.c: new function mswindows_apply_face_effects.
2442 This is called by output_string and output_cursor to display
2443 underline and strikeout on faces.
2445 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
2447 * console-msw.h: added a list of fonts to device data.
2449 * device-msw.c: enumerate list of available fonts in
2450 mswindows_init_device. Free list in mswindows_delete_device.
2452 * objects-msw.c: Added helper function match_font used by
2453 mswindows_initialize_font_instance and mswindows_list_fonts.
2454 Allow a charset to be specified in a font string, even if
2455 previous fields havn't been specified.
2457 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
2460 Removed compilation warnings from mswindows_string_to_color.
2461 mswindows_list_fonts returns a more general bogus font.
2462 New lisp-visible function mswindows-color-list.
2464 1998-06-19 David Bush <david.bush@adn.alcatel.com>
2466 * editfns.c (Fuser_login_name): Modify to user new function
2468 (user_login_name): C only function to avoid Lisp object overhead
2469 Returns "unknown" instead of nil in Cygwin environment
2471 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
2472 equivalent for current user in Cygwin environment. Use new
2473 function user_login_name to get username.
2475 * lisp.h: Declare user_login_name
2477 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2479 * unexaix.c (make_hdr): Fixed bias computations so debugging info
2481 Some other insignificant nitpicks.
2483 1998-06-18 Andy Piper <andyp@parallax.co.uk>
2485 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
2486 creating the image list and make sure he bk color is transparent.
2488 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
2490 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
2491 completed_timeouts. The timer could have expired.
2493 1998-06-17 Andy Piper <andyp@parallax.co.uk>
2495 * console-msw.h: move XEMACS_RECT_WH inside frame
2496 parameters. define macors to access it.
2498 * frame-msw.c (mswindows_init_frame_1): use new target_rect
2499 parameter to intialise desired sizing. (mswindows_init_frame_2):
2500 enable and size the frame to something sensible when we get
2501 here. (mswindows_set_frame_properites): use new
2502 mswindows_size_frame_internal function and size frame if frame
2503 parameters not just if init is finished - WM_SIZE happens too
2504 early for some specs. (mswindows_size_frame_internal): new
2505 function abstracted from mswindows_set_frame_properties.
2506 (Vmswindows_use_system_frame_size_defaults):
2507 new variable controls whether to allow the system to pick frame
2508 size defaults, defaults to nil.
2510 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
2511 than duplicated code.
2513 1998-06-15 Colin Rafferty <colin@xemacs.org>
2515 * Makefile.in.in: Made EXTW_LINK expand properly.
2517 1998-06-12 Martin Buchholz <martin@xemacs.org>
2519 * redisplay.c (vars_of_redisplay): default value of
2520 column-number-start-at-one should be NIL!
2522 1998-06-11 Martin Buchholz <martin@xemacs.org>
2525 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
2527 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
2529 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
2530 build_string to avoid crashes under Mule.
2532 1998-06-13 Andy Piper <andyp@parallax.co.uk>
2534 * ntplay.c (play_sound_data_1): don't delete the sound data until
2535 the next sound is played and the previous one finished.
2537 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
2539 * fileio.c (directory-sep-char): Escape backslashes.
2541 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
2543 * event-stream.c: Fix docstring reference.
2545 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
2547 * alloc.c (make_float): Remove useless initialization of `next'
2549 (make_pure_float): Ditto.
2551 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
2553 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
2555 * fileio.c (Fmake_directory_internal): Remove conditionals
2556 on WINDOWSNT when calling mkdir.
2558 * ntproc.c: Deleted the following unused functions:
2559 register_child, reap_subprocess, sys_wait.
2561 * nt.c (sys_rename): Ifzeroed this implementation.
2562 Deleted the following unused functions:
2563 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
2564 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
2565 sys_read, sys_write.
2566 Merger sys_fopen and sys_open with sysdep.c implementation.
2568 * sysdep.c: Removed MS-DOS code.
2569 (sys_rename): Deal with Microsoft rename weirdness.
2570 (sys_open): Implemented for Windows.
2574 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
2576 * buffer.c (complex_vars_of_buffer): Removed %t description from
2579 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
2581 * scrollbar-msw.c: initialize the cbSize element of the
2582 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
2583 to ignore the value of cbSize, but Win95 (and I presume Win98)
2584 appear to want it set to sizeof(SCROLLINFO).
2586 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
2588 * event-stream.c: Defined Qcancel_mode_internal.
2589 (syms_of_event_stream): defsymbol'ed it.
2591 * events.h: Externed it.
2593 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
2595 1998-06-04 Oliver Graf <ograf@fga.de>
2597 * frame-x.c (x_cde_destroy_callback): free the data
2598 (cde-start-drag-internal) corrected root position, 21.1 needs this
2599 hardcoded in Button events
2600 (offix-start-drag-internal) corrected root position
2602 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
2604 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
2607 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
2609 * dialog-msw.c (button_width): Removed `inline' from the function
2612 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
2614 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
2615 Note that adding this flag to subsequent frames causes problems.
2617 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
2619 * glyphs-eimage.c (png_instantiate) move 'struct
2620 png_memory_storage tbr' out of nested block to avoid dangling
2623 1998-06-02 Andy Piper <andyp@parallax.co.uk>
2626 * faces.c: rename 3d-object -> gui-element. add toolbar face which
2627 inherits from gui-element.
2629 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
2630 with existing code, generate masks correctly.
2632 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
2634 * glyphs-eimage.c: Changed included header for gifs to use
2635 Gifreader instead of giflib.
2637 * glyphs-x.c: removed the image-related functions that were
2638 moved into glyphs-eimage.
2640 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
2642 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
2643 if built without X Windows support.
2645 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
2647 * fns.c (Fconcat): Synch docstring with new reality.
2649 1998-06-03 SL Baur <steve@altair.xemacs.org>
2651 * frame.c: Remove reference to msdos.h (which is going away).
2652 Suggested by Hrvoje Niksic and Kirill Katsnelson.
2654 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
2656 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
2660 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
2662 * events.h: Fixed commentary about misc-user scrollbar events.
2664 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
2665 object as an event channel, instead of window object.
2666 (x_update_horizontal_scrollbar_callback): Ditto.
2668 1998-05-29 Andy Piper <andyp@parallax.co.uk>
2670 * ntplay.c (play_sound_data_1) new function. convert alloca data
2671 to malloc if necessary.
2672 (play_sound_file): if the file is not in our path then convert to
2675 1998-06-01 SL Baur <steve@altair.xemacs.org>
2677 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
2678 * msdos.c (Frecent_doskeys): Ditto.
2680 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
2681 Suggested by Reggie Perry <perry@zso.dec.com>
2683 * buffer.h: Eliminate size in declaration.
2685 1998-06-01 Olivier Galibert <galibert@pobox.com>
2687 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
2689 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
2691 * gui.c (gui_item_init): Changed the default value for config member
2692 from Qunbound to Qnil.
2694 1998-06-01 Greg Klanderman <greg@alphatech.com>
2696 * indent.c (vmotion_pixels): Don't #define abs().
2698 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
2700 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
2703 1998-05-30 Andy Piper <andyp@parallax.co.uk>
2705 * glyphs.h: add xbm declarations.
2707 * console.h: add xbm_instantiate_method device method.
2709 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
2710 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
2711 (xbm_possible_dest_types): moved here from glyphs-x.c. use
2712 locate_pixmap_file device method and read_bitmap_data_from_file
2713 instead of XmuReadBitmapDataFromFile.
2714 (xbm_instatntiate): make a device method.
2716 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
2717 new function that just calls XmuReadBitmapDataFromFile.
2718 (x_xbm_instatntiate): device method from xbm_instantiate.
2720 * glyphs-msw.c (read_bitmap_data) (NextInt)
2721 (read_bitmap_data_from_file): new functions copied from Xmu
2723 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
2724 inline data to an mswindows bitmap.
2725 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
2726 (mswindows_xbm_instantiate): mswindows-ized versions of the X
2729 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
2731 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
2732 `modeline-visible-p'.
2733 Declared specifier lisp variables at the beginning oh the file
2736 * procimpl.h (struct process_methods): Changed semantics of
2737 create_process method so it accepts lisp strings instead of
2740 * process.c (Fstart_process_internal): Moved building of
2741 unix style argv from here to process-unix.c, ...
2743 * process-unix.c (unix_create_process): ... right here.
2745 * process-nt.c (nt_create_process): Changed this function to
2746 support new semantics, so avoided a GC problem.
2748 * events.c (Fmake_event): Document misc-user events properties.
2749 (Fmake_event): Do not allow arbitrary objects for channel property
2750 of misc-user events.
2751 (Fmake_event): Change misc-user event validation: it is function
2752 which is required, not button.
2754 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
2756 (mswindows_enqueue_misc_user_event): Added function.
2757 (mswindows_bump_queue): Removed function.
2758 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
2759 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
2760 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
2761 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
2762 really nothing, which is my personal favorite thing.
2764 * console-msw.h: Removed prototype for mswindows_bump_queue().
2765 Added prototype for mswindows_enqueue_misc_user_event().
2767 * menubar-msw.c (mswindows_handle_wm_command): Use
2768 mswindows_enqueue_misc_user_event().
2770 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
2772 * dialog-msw.c (dialog_proc): Ditto.
2774 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
2775 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
2776 user events channel.
2778 1998-05-29 Greg Klanderman <greg@alphatech.com>
2780 * window.c (Fwindow_displayed_text_pixel_height): was relying on
2781 incorrect semantics of vmotion_pixels which has been fixed. don't
2782 use it anymore as it can't easily be used.
2784 * indent.c (vmotion_pixels): fix off by one bug moving up. also
2785 the motion was reported incorrectly if you tried to go past end of
2788 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
2790 * toolbar.h: Removed misleading commentary, as Martin suggested.
2792 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
2794 * lisp.h: Extern Qactivate_menubar_hook.
2796 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
2799 1998-05-29 Andy Piper <andyp@parallax.co.uk>
2801 * glyphs-msw.c: use BPLINE macro.
2803 * select-msw.c (mswindows-selection-exists-p)
2804 (mswindows-delete-selection): doc string fixes.
2806 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
2807 unpressable. warning elimination.
2809 1998-05-28 Martin Buchholz <martin@xemacs.org>
2811 * alloc.c (dbg_constants):
2814 Remove toolbar_data debugging code, since that lrecord has
2817 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
2819 * alloc.c: zap cached value of (user-home-directory), so that
2822 * buffer.c: From init_buffer(), separated out code that
2823 determined the initial directory for the *scratch* buffer, and
2824 put them into a function called "init_initial_directory()".
2825 The initial directory is now available as a global "char *"
2826 called initial_directory.
2828 * buffer.h: Added extern entries for initial_directory[] and
2829 init_initial_directory().
2831 * editfns.c: added new elisp function "user-home-directory",
2832 which basically returns getenv("HOME"), but attempts to use
2833 other values if $HOME isn't set.This may have to be tweaked in
2834 the future as, under Unix, "/" is used if $HOME isn't set (this
2835 probably should be set to the current directory). To support
2836 this, a new C function, "get_home_directory()", now exists,
2837 which returns the "home directory", as a "char *" string.
2839 * emacs.c: Rearrange NT initialization order so that
2840 environment/registry variables will be properly entered into
2841 Vprocess_enviroment.
2843 * fileio.c: replaced egetenv("HOME") with calls to the new
2844 get_home_directory().
2846 * lisp.h: Added function prototypes for uncache_home_directory()
2847 and get_home_directory(), along with lisp prototypes for
2848 Fuser_home_directory() and friends.
2850 * nt.c: replaced getenv("HOME") with calls to the new
2851 get_home_directory().
2853 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
2854 warnings about getcwd(), etc. not having prototypes.
2856 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
2858 * process-nt.c (send_signal): Emulate SIGHUP.
2859 (validate_signal_number): Ditto.
2861 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
2862 remove MOD_SHIFT from ASCII characters.
2863 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
2866 1998-05-24 Oliver Graf <ograf@fga.de>
2868 * frame-x.c (cde-start-drag-internal): added filename and multi-
2870 (x_cde_convert_callback) dito
2872 1998-05-26 Oliver Graf <ograf@fga.de>
2874 * frame-x.c: include event-mod.h also with CDE
2875 (x_cde_convert_callback) made the thing working
2876 (cde-start-drag-internal) also debugging
2878 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
2885 - add __OpenBSD__ where __NetBSD__ was found.
2886 - TODO: replace platform-specific conditional compilation by
2887 feature tests in configure.in.
2889 1998-05-15 Greg Klanderman <greg@alphatech.com>
2891 * window.c (Fwindow_displayed_text_pixel_height): New function.
2892 (syms_of_window): DEFSUBR it.
2894 * indent.c (Fvertical_motion_pixels): New function - request
2896 (vmotion_pixels): helper.
2897 (syms_of_indent): DEFSUBR.
2898 * lisp.h: declaration for vmotion_pixels().
2900 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
2901 to request returning motion in pixels.
2902 (Fvertical_motion_pixels): Remove, functionality merged into
2904 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
2905 (Fmove_to_window_line): ditto.
2906 * lisp.h: Change declaration for Fvertical_motion.
2908 * window.c: rename window-text-pixel-{height,width,edges} to
2909 window-text-area-pixel-*.
2911 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
2913 * tooltalk.c (vars_of_tooltalk) added staticpro for
2914 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
2916 1998-05-27 Andy Piper <andyp@parallax.co.uk>
2918 * faces.c: create a new 3d_object_face, make modeline and
2919 vertical_divider faces fallback to this rather than the default.
2921 1998-05-21 Andy Piper <andyp@parallax.co.uk>
2923 * s/cygwin32.h: define charsets for cygwin.
2925 1998-05-25 Andy Piper <andyp@parallax.co.uk>
2927 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
2928 and coordinates. resize bitmaps if we have already settled on a
2931 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
2933 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
2935 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
2937 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
2941 * gui-x.c (popup_selection_callback): Ditto.
2943 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
2945 * gui.c (get_callback): Renamed to get_gui_callback.
2947 1998-05-17 Martin Buchholz <martin@xemacs.org>
2949 * glyphs.h: order rearrangement.
2951 * device-tty.c (tty_asynch_device_change): Warning suppression.
2952 * device-x.c (x_device_system_metrics): Warning suppression.
2953 Make Doc strings consistent with coding standards.
2955 1998-05-24 Martin Buchholz <martin@xemacs.org>
2957 * general.c: multiple definition of `Qicon'. general.c seems
2958 like a good home for Qicon.
2960 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
2962 * This patch is to fix compilation warnings under Windows.
2964 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
2965 Added prototypes for FSF inherited functions, with which XEmacs is
2966 sprinkled thoroughly.
2967 Removed some #if 0 code. Bracketed some more definitions, probably
2968 related to Visual C versions prior to 4 (we do not support them).
2970 * sysfloat.h (logb): Finally, get logb() prototyped.
2972 * sysfile.h: Added Windows specific includes.
2973 Removed old Windows specific code bracketed with #if 0.
2975 * sysdep.h: Added prototype for xrealpath().
2977 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
2979 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
2980 vars_of_dired_mswindows and init_ntproc (Grrr).
2982 * realpath.c: Added Windows specific include files.
2983 (xrealpath): Conditionalized declaration of some auto variables on
2984 S_IFLNK, to avoid warnings.
2986 * ntproc.c: Disabled some compiler warnings. This file is going to
2987 die, so I have not cleaned it up much.
2988 (set_process_dir): Const parameter.
2989 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
2990 (Fwin32_long_file_name): Ditto.
2991 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
2994 * nt.h: Added prototypes for set_process_dir and convert_time.
2996 * nt.c: More include files.
2997 (getpwnam): Consted char* argument.
2998 (get_emacs_configuration): Const return value.
2999 (opendir): Const argument.
3000 (stat): Casted converstion long->short.
3001 (stat): Removed ad hoc and questionable support for non-MSC compile.
3002 (sys_pipe): Removed unused auto variable.
3003 (_sys_read_ahead): Removed calls to DebPrint.
3004 (sys_read): Ditto, in 2 places.
3005 (term_ntproc): Added unused int parameter to signal handler, to
3006 avoid a warning when compiling a call to signal().
3007 (msw_sigset): Properly return old signandler or NULL instead of void.
3009 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
3011 * gmalloc.c (morecore): Ditto.
3012 (_free_internal): Ditto.
3014 * lread.c (parse_integer): Ditto.
3016 * dired-msw.c: Added several include files.
3018 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
3019 of Compilers to Shut Up.
3021 * callproc.c: Added #includes to suppress warnings under Windows.
3022 (init_callproc): Removed #if0'ed code and unused variables.
3024 1998-05-25 Andy Piper <andyp@parallax.co.uk>
3026 * device-msw.c (mswindows_device_system_metrics): do planes in a
3027 way consistent with X.
3029 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
3030 use SetPixel, use DIBits functions.
3031 (xpm_to_eimage): frob colors more closely like xpm deos.
3033 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
3034 to be closer to X version.
3036 * event-msw.c: use tooltip string directly.
3038 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
3040 * objects-msw.c: frob rgb colors that only Kyle uses.
3042 * dialog-msw.c (button_width): INLINE -> inline.
3044 1998-05-23 SL Baur <steve@altair.xemacs.org>
3046 * getloadavg.c (getloadavg): Fix typo.
3048 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
3050 * objects-msw.c (mswindows_initialize_font_instance): Added support
3051 for font character sets.
3052 Replaced 'XXX' with '####' in comments throughout the file.
3054 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
3056 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
3057 console_type_create_dialog_mswindows(), to initialize Windows dialog
3060 * symsinit.h: Prototyped the above functions.
3062 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
3063 checks to dialog.c...
3065 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
3066 device must support dialog boxes, and the descriptor must supply at
3069 * dialog-msw.c: New file, dialogs for Windows.
3071 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3073 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
3074 (Fldap_search_internal): Removed unused variable `err'
3076 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
3079 1998-05-17 Martin Buchholz <martin@xemacs.org>
3081 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
3082 defined. Therefore there is no need to handle the case when
3083 HAVE_LDAP is undefined. Similarily, there is no reason to have
3084 any code wrapped within `#ifdef emacs', since this code is only
3085 useful within an emacs. This simplifies the code significantly.
3087 * inline.c: Include eldap.h only if HAVE_LDAP.
3088 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
3091 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
3093 * unexnt.c (copy_executable_and_dump_data_section): Suppress
3094 printing dump stats when building without DEBUG_XEMACS.
3095 (dump_bss_and_heap): Ditto.
3097 1998-05-21 Andy Piper <andyp@parallax.co.uk>
3099 * gnuclient.c: don't suppress window system if there is no display
3100 and we are running under mswindows. send 'mswindows device type if
3101 we are in this situation.
3103 1998-05-20 Andy Piper <andyp@parallax.co.uk>
3106 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
3108 * glyphs-msw.c: change cursor imgae type name to resource. Fix
3111 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
3113 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
3114 {top,bottom}-{left,right} values in addition to
3115 {top,bottom}_{left,right}.
3117 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
3119 * fileio.c (Fmake_temp_name): Remove unreached code.
3121 * process-nt.c (validate_signal_number): Use
3122 signal_simple_error().
3124 1998-05-19 Martin Buchholz <martin@xemacs.org>
3127 * sound.c (vars_of_sound):
3128 * sysdep.c (reset_sigio_on_device):
3129 * window.c (window_bottom_gutter_height):
3130 unexhp9k800.c:258: warning: implicit declaration of function
3131 `calculate_checksum'
3132 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
3133 sysdep.c:1012: warning: unused variable `owner'
3134 window.c:993: warning: `window_right_toolbar_width' defined but not used
3136 1998-05-19 Andy Piper <andyp@parallax.co.uk>
3138 * glyphs-msw.c (mswindows_create_resized_mask)
3139 (mswindows_create_resized_bitmap): new funnctions split out from
3140 mswindows_resize_dibitmap_instance.
3142 * glyphs-msw.h: declare new resize functions.
3144 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
3145 functions so that the original bitmaps are preserved.
3147 * sheap.c: fixup static heap exhausted error to avoid FAQs.
3149 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
3150 color if we are trying to output 0 depth bg pixmap.
3152 * scrollbar-msw.c: warning elimination.
3154 1998-05-18 Martin Buchholz <martin@xemacs.org>
3156 * frame-x.c (x_update_frame_external_traits): Start preprocessor
3157 directives in column 1.
3159 * search.c (skip_chars): Avoid using xzero with arrays, since some
3160 compilers get confused by the construct &array.
3162 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
3165 * objects-msw.c: Changed the charset value for a new font from
3166 "don't care" to "ansi".
3168 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
3170 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
3172 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
3173 modifier on control chars.
3174 Use IsCharAlpha() instead of isaplha().
3176 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3178 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
3180 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
3182 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
3183 charset when creating font.
3184 (mswindows_initialize_color_instance): Do not create brush along
3186 (mswindows_finalize_color_instance): Do not delete it then.
3188 * objects-msw.h (struct mswindows_color_instance_data): Removed
3189 brush slot, and corresponding accessor macro.
3191 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
3193 * toolbar.c: Removed toolbar_data lrecord implementation.
3194 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
3195 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
3196 (compute_frame_toolbar_buttons): Ditto.
3197 (CHECK_TOOLBAR): Ditto.
3198 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
3199 (update_frame_toolbars): Do not check for changed buffer
3200 here. Toolbar information is provided by cached specs in
3201 windows. The check for buffer is eliminated becuase toolbars are
3202 marked changed in set_frame_selected_window() in frame.c
3203 Added check for changed toolbars geometry.
3204 (compute_frame_toolbars_data): Removed unused second parameter;
3205 Adjusted callers of this static function throughout the file.
3206 (init_frame_toolbars): Initialize current_toolbar_size.
3207 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
3208 what is its current expansion, for clarity.
3209 (init_frame_toolbars): Ditto.
3210 (init_device_toolbars): Ditto.
3211 (init_global_toolbars): Ditto.
3213 * toolbar.h: Removed definition of toolbar_data lrecord.
3214 Added accessor macros FRAME_TOOLBAR_BUTTONS and
3215 FRAME_CURRENT_TOOLBAR_SIZE.
3216 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
3218 * toolbar-x.c (x_output_toolbar): The same change as in
3220 (x_output_toolbar): Ditto.
3221 (x_redraw_exposed_toolbar): Ditto.
3223 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
3224 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
3225 (mswindows_output_toolbar): Ditto.
3226 (mswindows_output_toolbar): Ditto.
3228 * frame.c (mark_frame): Removed marking of arrays, according to
3229 frameslots.h change.
3230 (nuke_all_frame_slots): Ditto.
3231 (set_frame_selected_window): Mark toolbars changed when
3232 last_nonminibuf_window changes.
3234 * frame.h (struct frame): Moved some slots to frameslots.h.
3235 Added current_toolbar_size array.
3236 Changed references from toolbar_data to toolbar_buttons in macros
3237 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
3238 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
3239 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
3241 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
3242 Moved arrays of lisp objects here from frame.h: toolbar_size,
3243 toolbar_visible_p, toolbar_border_width.
3244 Removed toolbar_data slot and added toolbar_buttons.
3246 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
3248 * symsinit.h: Externed syms_of_process_nt()
3250 * emacs.c (main_1): Call syms_of_process_nt()
3252 * process-nt.c: Quote process arguments by a call to Lisp function
3253 `nt-quote-process-args'.
3254 (syms_of_process_nt): New function.
3255 (nt_send_process): Flush data stream after each write, to avoid
3256 leaving buffered data.
3257 (nt_send_process): When blocked on process output, wait for
3258 process to slurp more for progressively increasing time intervals.
3260 1998-05-17 Martin Buchholz <martin@xemacs.org>
3262 * window.c (have_undivided_common_edge): Make file-local function
3264 (map_windows): Return 0 if all map functions successful.
3267 * winslots.h: Use unlikely names for local variables in macros to
3268 avoid shadowing warnings.
3270 1998-05-17 Andy Piper <andyp@parallax.co.uk>
3272 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
3273 so that we re-output if the toolbar size has changed.
3275 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3277 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
3279 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
3281 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
3284 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
3286 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
3287 get bitmap manifest constants defined.
3289 * console-msw.h: Include system files in angle brackets, not in
3292 * window.c (specifier_vars_of_window): Fixed a typo in
3293 `vertical-divider-line-width' docstirng.
3295 1998-05-16 Olivier Galibert <galibert@pobox.com>
3297 * line-number.c (delete_invalidate_line_number_cache): Use an
3299 (buffer_line_number): Remove dangerous, plain wrong when using
3300 64bits emacs ints, cast.
3302 * insdel.c (buffer_delete_range): Use an EMACS_INT.
3304 * cmds.c (Fforward_line): Use EMACS_INTs.
3306 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
3307 (scan_buffer): Ditto.
3308 (bi_find_next_newline_no_quit): Remove useless cast.
3309 (find_next_newline_no_quit): Ditto.
3310 (find_next_newline): Ditto.
3311 (find_before_next_newline): Use an EMACS_INT.
3313 * lisp.h: Change scan_buffer to pass EMACS_INTs.
3315 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
3317 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
3319 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
3321 * gui-x.c (popup_selection_callback): Use it.
3323 * gui.h (get_callback): Declare it.
3325 * gui.c (get_callback): New function.
3327 1998-05-15 SL Baur <steve@altair.xemacs.org>
3329 * window.c (have_undivided_common_edge): Guard scrollbar specific
3331 (window_needs_vertical_divider_1): Ditto.
3333 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
3335 * emacs.c (decode_path): Eliminate compiler warning.
3336 (Fdecode_path): Renamed to Fsplit_path.
3337 (Fsplit_string_by_char): New function.
3339 1998-05-14 Damon Lipparelli <lipp@primus.com>
3341 * winslots.h: close comment
3343 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
3345 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
3347 * bufslots.h: Removed buffer_file_type slot.
3349 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
3351 (complex_vars_of_buffer): Removed buffer-file-type variable and
3352 its default reference.
3354 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
3356 * faces.c (complex_vars_of_faces): Defined
3357 Vvertical_divider_face.
3358 (vars_of_faces): Staticpro it.
3360 * faces.h: Externed Vvertical_divider_face.
3362 * redisplay-x.c (x_output_vertical_divider): Use
3363 Vvertical_divider_face to draw the divider instead of modeline
3366 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
3367 divider face using Vvertical_divider_face background.
3368 Fix drawing spacing gaps around the divider.
3370 1998-05-14 Didier Verna <verna@inf.enst.fr>
3372 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
3373 values for the vertical divider line width and spacing. Use the
3374 cached values from the window structure instead.
3375 (x_divider_width): ditto.
3377 * window.c (specifier_vars_of_window): new specifiers:
3378 vertical-divier -line-width and -spacing.
3379 (vertical_divider_global_width_changed): formerly known as
3380 vertical_divider_shadow_thickness_changed.
3382 * winslots.h: new slots: vertical_specifier _line_width and
3383 _spacing. Plus corrected a comment typo.
3385 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
3387 * window.h: Declared window_divider_width().
3389 * console-stream.c (stream_divider_width): Removed method.
3390 (console_type_create_stream): And declaration for it.
3392 * redisplay.c (pixel_to_glyph_translation): Use
3393 window_divider_width() instead of divider_width redisplay method.
3394 (pixel_to_glyph_translation): Fix top divider edge calculation
3395 when scrollbar is on top.
3397 * window.c (window_divider_width): New function, an outphaser for
3398 divider_width redisplay method.
3399 (window_right_gutter_width): Use it.
3400 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
3401 specifiers, set fallback values differently on TTYs, and document
3402 the behavior of these on TTYs in the docstrings.
3404 * scrollbar.c (update_scrollbar_instance): Use
3405 window_divider_width() instead of divider_width redisplay method.
3407 * console.h (struct console_methods): Removed divider_width_method.
3409 * redisplay-tty.c (tty_divider_width): Removed device method.
3410 (console_type_create_redisplay_tty): Removed definition for it.
3411 (tty_output_vertical_divider): Respect the value returned by
3412 window_divider_width thus divider line width specification.
3414 * redisplay-msw.c (mswindows_divider_width): Removed device method.
3415 (console_type_create_redisplay_mswindows): Removed definition for it.
3416 (mswinodws_output_vertical_divider): Respect the value returned by
3417 window_divider_width thus divider line width specification.
3419 1998-05-15 Andy Piper <andyp@parallax.co.uk>
3421 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
3423 1998-05-15 Andy Piper <andyp@parallax.co.uk>
3425 * glyphs-msw.c: resource loading implementation.
3426 (cursor_normalize): new function.
3427 (cursor_validate): ditto.
3428 (cursor_instantiate): ditto.
3429 (cursor_name_to_resource): ditto.
3430 (cursor_possible_dest_types): ditto.
3431 (check_valid_symbol): ditto.
3432 (check_valid_string_or_int): ditto.
3434 1998-05-14 Martin Buchholz <martin@xemacs.org>
3436 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
3439 * process-unix.c (process_signal_char): Use VSUSP instead of
3440 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
3442 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
3444 * specifier.c (specifier_instance): Change locale precedence of
3445 instantiation so window locale has higher priority than buffer
3447 (Fspecifier_instance): Reflect this in docstring.
3448 (Fadd_spec_list_to_specifier): Ditto.
3449 (Fadd_spec_to_specifier): Ditto.
3450 (Fremove_specifier): Ditto.
3452 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
3454 ** Dialog separation into a device method from Andy Piper
3456 * emacs.c (main_1): Call console_type_create_dialog_x().
3458 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
3459 into this device method.
3460 (console_type_create_dialog_x): New function.
3462 * dialog.c (Fpopup_dialog_box): New function.
3463 (syms_of_dialog): Defsubr it.
3465 * console.h (struct console_methods): Declared
3466 popup_dialog_box_method().
3468 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
3470 1998-05-14 Oliver Graf <ograf@fga.de>
3472 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
3473 * frame-x.c (x_cde_transfer_callback): checked for merge errors
3475 1998-05-13 Oliver Graf <ograf@fga.de>
3477 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
3479 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
3481 * console.h (device_metrics): Removed dbcs, input-method-editor
3482 and right-to-left metrics.
3484 * device.c (Fdevice_system_metric): Ditto.
3485 (Fdevice_system_metrics): Ditto.
3486 (syms_of_device): Ditto.
3487 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
3490 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
3492 * line-number.h (mark_line_number_cache): Remove unused
3495 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
3496 (get_nearest_line_number): Simplify.
3497 (add_position_to_cache): Make the old marker point nowhere.
3499 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
3501 ** Renamed window-divider-map => vertical-divider-map
3502 and event-over-divider-p => event-over-vertical-divider-p,
3503 in the following files/functions:
3505 * events.c (Fevent_over_divider_p):
3506 * keymap.c (get_relevant_keymaps):
3509 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
3511 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
3513 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
3515 * window.c (vertical_divider_changed_in_window): Renamed so.
3516 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
3517 (window_needs_vertical_divider_1): Decide whether we need it based
3518 on the value of the above specifier. If separators are unwanted,
3519 put them only if there's no scrollbar between this window and its
3521 (have_undivided_common_edge): New function, helper for the above.
3522 (window_needs_vertical_divider): Return either a cached value,
3523 or clauclate and cache one.
3524 (invalidate_vertical_divider_cache_in_window): Implemented.
3525 (map_windows): Changed return type to int, return the value from
3528 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
3529 (struct window): Added need_vertical_divider_p and
3530 need_vertical_divider_valid_p.
3532 * winslots.h: Added vertical_divider_draggable_p slot.
3534 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
3535 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
3537 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
3539 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
3540 invalidate_vertical_divider_cache_in_frame().
3543 1998-05-14 Andy Piper <andyp@parallax.co.uk>
3545 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
3547 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
3548 masks correctly and don't select 0.
3550 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
3552 * winslots.h: New file, declaration of some struct window and
3553 struct saved_window members.
3555 * window.h (struct window): Include it, with required preprocessor
3558 * window.c (mark_window): Ditto.
3559 (allocate_window): Ditto.
3560 (struct saved_window): Ditto.
3561 (mark_window_config): Ditto.
3562 (saved_window_equal): Ditto.
3563 (Fset_window_configuration): Ditto.
3565 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
3567 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
3569 1998-05-12 Didier Verna <verna@inf.enst.fr>
3571 * redisplay-x.c (x_output_vertical_divider): draw shadows around
3572 the divider line. The shadow thickness is currently
3573 hard-wired. This will probably be turned into a specifier soon.
3575 1998-05-12 Didier Verna <verna@inf.enst.fr>
3577 * console.h (struct console_methods): the divider_width console
3578 method now requires a struct window * argument.
3580 * redisplay-x.c (x_divider_width): ditto. Plus remove
3581 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
3582 (x_output_vertical_divider): give a depressed look when the shadow
3583 thickness is negative.
3585 * console-stream.c (stream_divider_width): pass a struct window *
3588 * redisplay-tty.c (tty_divider_width): ditto.
3590 * window.c (window_right_gutter_width): totdi.
3592 * redisplay.c (generate_modeline): ittod.
3594 * scrollbar.c (update_scrollbar_instance): ttido.
3596 * redisplay-msw.c (mswindows_divider_width): ottid.
3597 WARNING: this enables to compile, but the feature is not functional.
3599 * window.h (struct window): new field
3600 vertical_divider_shadow_thickness.
3602 * window.c (specifier_vars_of_window): new specifier
3603 vertical-divider-shadow-thickness.
3604 (vertical_divider_shadow_thickness_changed): new function to
3605 inform redisplay that the window has changed.
3606 (mark_window): handle new field vertical_divider_shadow_thickness
3608 (allocate_window): ditto.
3609 (saved_window_equal): toddi.
3610 (Fset_window_configuration): totid.
3611 (save_window_save): ttdio.
3612 (struct saved_window): new field vertical_divider_shadow_thickness.
3614 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
3616 * device-msw.c (mswindows_device_system_metrics): Support a deluge
3619 1998-05-12 Oliver Graf <ograf@fga.de>
3621 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
3622 * event-Xt.c (x_event_to_emacs_event): C++ compability
3624 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
3626 * emacs.c (Fdecode_path): Default SEPCHAR to value of
3629 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
3631 * emacs.c (vars_of_emacs): Do it here; change the meaning of
3634 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
3636 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
3638 * emacs.c (decode_path_1): New function.
3639 (decode_path): Use it.
3640 (Fdecode_path): Renamed from Fdecode_path_internal; use
3643 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
3645 * macros.c (Fzap_last_kbd_macro_event): New function.
3646 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
3648 1998-05-10 Andy Piper <andyp@parallax.co.uk>
3650 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
3651 multiple bitmaps are output vertically as well as horizontally.
3652 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
3653 crossing lines this is handled by
3654 mswindows_output_dibitmap_region.
3656 1998-05-12 Martin Buchholz <martin@xemacs.org>
3658 * inline.c: Include eldap.h
3660 * menubar-x.c (x_update_frame_menubar_internal):
3661 Remove: unused variable `container'
3663 1998-05-11 Martin Buchholz <martin@xemacs.org>
3665 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
3666 Unfortunately, the resulting temacs still cannot dump.
3668 * symbols.c (symbol_is_constant):
3669 (verify_ok_for_buffer_local):
3670 -Wswitch Warning suppression - add default case to switches.
3672 * redisplay.c (decode_mode_spec): Remove unused variables,
3673 Replace Fcoding_system_property (codesys, Qmnemonic) with
3674 XCODING_SYSTEM_MNEMONIC (codesys);
3675 Fcoding_system_property is for users.
3681 Change empty docstrings into no doc strings at all.
3682 Fix bogus FSF-format docstrings.
3685 Standardize docstrings.
3688 Explain problems with matherr.
3690 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
3693 if BROKEN_SIGIO, then SIGIO wants to be undefined.
3694 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
3695 Fix the weird resultant interaction (causes windows problems)
3699 Take new EMACSBOOTSTRAPLOADPATH into account.
3700 Update documentation strings
3703 - Adjust for luser's CDPATH being set to something weird.
3704 - Take into account bash 2.02's tendency to print the cwd when
3705 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
3706 - fix the run-temacs target to use $(DUMPENV)
3707 - fix the run-puremacs target to use $(DUMPENV)
3708 - fix the `depend' target to properly $(RM) the right files
3709 - Generate a better TAGS file for XEmacs' lisp code using
3710 hand-crafted regexps.
3711 - Use standard coding conventions for modules/Makefile.in
3713 1998-05-12 Didier Verna <verna@inf.enst.fr>
3715 * redisplay.c: removed the scrolling modeline code that didn't
3716 make it for 21.0. To be continued ...
3718 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3720 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
3721 and empty string inputs.
3723 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
3725 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
3727 1998-05-10 Oliver Graf <ograf@fga.de>
3729 * event-stream.c (enqueue_misc_user_event_pos): created
3730 * lisp.h (enqueue_misc_user_event_pos): prototype added
3731 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
3732 * emacs.c: call vars_of_dragdrop
3733 * dragdrop.c (vars_of_dragdrop): provide dragdrop
3735 1998-05-11 Oliver Graf <ograf@fga.de>
3737 * frame-x.c (x_cde_transfer_callback): return at correct pos
3738 * event-Xt.c (x_event_to_emacs_event): changed format of drop
3739 object for MIME (see comment in dragdrop.c)
3740 * dragdrop.c: API change documented in comment
3741 removed provide of dragdrop [is provided by dragdrop.el]
3743 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
3745 * window.c (window_needs_vertical_divider): Enable vertical
3746 dividers for every non-rightmost window.
3747 (window_left_gutter_width): Left gutter consists of mythical
3748 toolbar and a virtual scrollbar.
3749 (window_right_gutter_width): The right one may have a divider
3752 * scrollbar.c (update_scrollbar_instance): Position vertical
3753 scrollbar left to divider if the latter present.
3755 * redisplay.h: Declared OVER_DIVIER constant.
3757 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
3760 * redisplay-x.c (x_output_vertical_divider): Output divider along
3761 the right side of the window, down to window bottom. Swapped
3762 foreground and background colors so it is visible by default.
3764 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
3765 stick the divider to the right window side.
3767 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
3769 (mswindows_divider_width): Ask system for user preferred value.
3770 (mswindows_output_vertical_divider): Always output the divider on
3771 the right side of a window, down to bottom.
3773 * keymap.c (get_relevant_keymaps): Route mouse button events which
3774 happened over a window divider through window-divider-map.
3775 (Fkey_binding): Documented that in the docstring.
3776 Defined the variable Vwindow_divider_map.
3778 * events.c (Fevent_over_divider_p): Added this function.
3780 * events.h: EXFUNed it.
3782 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
3784 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
3785 toolbar geometry is suspected to change.
3787 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
3791 Condition dnd and dde code on HAVE_DRAGNDROP.
3793 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
3795 * events.c (format_event_object): Print space as SPC etc.
3797 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
3799 * print.c (print_internal): In the default case, abort() if
3800 ERROR_CHECK_TYPECHECK.
3802 * fileio.c (Fmake_temp_name): Doc fix.
3804 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
3806 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
3808 * undo.c (Fprimitive_undo): Fixed typo.
3810 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
3812 * fns.c (concat): Signal error on integer argument.
3814 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
3816 * console.h (device_metrics): Prefixed each constatnt with DM_
3818 * device.c: (Fdevice_system_metric): Renamed so from plural form
3819 (metrics); Changed parameters order and added DEFAULT parameter;
3820 Unabbreviated some metric constants; Fixed and untabified doc string.
3821 (Fdevice_system_metrics): Added. Returns a plist of all provided
3824 * device-msw.c (mswindows_device_system_metrics): Renamed
3825 device_metrics enum constants.
3826 Return Qunbound instead of Qnil.
3828 * device-tty.c (tty_device_system_metrics): Ditto.
3830 * device-x.c (x_device_system_metrics): Ditto.
3832 1998-05-10 Andy Piper <andyp@parallax.co.uk>
3834 * redisplay-msw.c: implement background pixmaps (really!). Make
3835 sure bg color is transparent if we have bg pmaps.
3836 * (mswindows_output_string) (mswindows_clear_region): output bg
3838 * (mswindows_output_dibitmap_region): new function.
3839 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
3840 the bg color rather than transparently.
3842 * toolbar-msw.c: use masks if they exist.
3844 * glyphs-msw.c: set up masks correctly.
3846 * event-msw.c: typedef SOCKET if cygwin and not msg select().
3848 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
3850 * regex.c (re_match_2_internal): Check for quit.
3852 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
3854 * frame.c (Ffocus_frame): New function.