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