1 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3 * XEmacs 21.2.12 is released
5 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
7 * device-x.c: Support to find best visual without flashing.
9 1999-03-02 Paul Keusemann <pkeusem@visi.com>
11 * database.c (berkdb_map): Add flags argument to cursor call (must
12 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
14 1999-03-03 Martin Buchholz <martin@xemacs.org>
18 General cleanup. Get free-hook.c working again.
19 Remove unused functions:
20 make_strings_hash_table, copy_hash, expand_hash_table.
24 Always use new ANSI-style function prototypes.
26 * unexalpha.c (unexec): Never use implicit int.
28 * sgiplay.c (close_sound_file):
35 (write_mulaw_8_chunk):
37 (write_linear_32_chunk):
38 (initialize_audio_port):
42 (adjust_audio_volume):
43 (get_current_volumes):
45 Always use new ANSI-style function prototypes.
46 Use unistd.h for missing prototypes.
48 * unexelfsgi.c (round_up):
50 (unexec): Always use new ANSI-style function prototypes
52 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
54 * console.h (struct console_methods): Always use full ANSI prototypes
56 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
58 1999-03-02 Andy Piper <andy@xemacs.org>
60 * event-stream.c (init_event_stream): make sure native mswindows
61 gets an appropriate event loop.
63 1999-02-22 Andy Piper <andy@xemacs.org>
65 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
66 than SW_SHOWNORMAL to prevent resizing of maximised frames.
67 (mswindows_raise_frame): remove comment.
69 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
71 * XEmacs 21.2.11 is released
73 1999-02-25 SL Baur <steve@xemacs.org>
75 * mule-charset.c (Qleading_byte): New variable to implement
76 charset-leading-byte function.
77 (Fcharset_property): Use it.
78 (syms_of_mule_charset): Initialize it.
79 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
81 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
83 * glyphs-x.c (cononvert_EImage_to_XImage): correct
84 bytes per pixel counting.
86 1999-02-15 Andy Piper <andy@xemacs.org>
88 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
91 1999-02-16 Martin Buchholz <martin@xemacs.org>
93 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
94 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
96 1999-02-10 Martin Buchholz <martin@xemacs.org>
98 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
99 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
101 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
103 * XEmacs 21.2.10 is released
105 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
107 * process-nt.c (nt_send_process):
108 Fix for process-send-region/process-send-string breaking when size
109 of the input > 128 chars: change maximum chunk size for process
110 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
113 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
115 * XEmacs 21.2.9 is released
117 1999-01-30 Martin Buchholz <martin@xemacs.org>
119 * bytecode.c (funcall_compiled_function): Call
120 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
122 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
123 #ifdef 0 out unused macro.
125 1999-01-27 Martin Buchholz <martin@xemacs.org>
127 * gui.c (gui_parse_item_keywords_internal): Make static.
129 1999-01-21 Andy Piper <andy@xemacs.org>
131 * glyphs-msw.c: add xface support.
132 (mswindows_xface_instantiate): new function copied from glyphs-x.c
133 (image_instantiator_format_create_glyphs_mswindows): do device
134 specific initialisation for xfaces.
135 (xbm_create_bitmap_from_data): line data must be padded to a word
138 * glyphs-x.c (xface_validate): moved to glyphs.c
139 (xface_normalize): ditto.
140 (xface_possible_dest_types): ditto.
141 (image_instantiator_format_create_glyphs_x): do device specific
142 initialisation for xfaces.
144 * glyphs.h: declare xface symbol.
146 * glyphs.c: move generic xface support here.
147 (xface_validate): moved from glyphs-x.c
148 (xface_normalize): ditto.
149 (xface_possible_dest_types): ditto.
150 (image_instantiator_format_create): xface declarations moved from
153 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
155 * event-stream.c (vars_of_event_stream): Fixing documentation.
157 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
159 * glyphs-eimage.c (gif_instantiate): Correct handling of
160 interlaced gifs to avoid writing past the end of the eimage
163 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
165 * search.c (Freplace_match): Handle single backslash at end of
168 1999-01-12 William M. Perry <wmperry@aventail.com>
170 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
171 avoid connection errors.
173 1999-01-12 Andy Piper <andy@xemacs.org>
175 * redisplay-output.c (redisplay_update_line): backout change that
176 shouldn't have gone ine.
178 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
180 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
183 1999-01-11 Andy Piper <andy@xemacs.org>
185 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
186 (DISPLAY_LINE_YPOS): new macro.
188 * redisplay-msw.c (mswindows_output_string): use it.
189 (mswindows_output_pixmap): ditto.
190 (mswindows_output_display_block): ditto.
192 * redisplay-output.c (redisplay_output_display_block): new
193 function. just call the devmeth, maybe insert some generic code
195 (compare_display_blocks): use it.
196 (output_display_line): ditto.
197 (redisplay_unmap_subwindows_maybe): new function. potentially
198 unmap subwindows in the given area.
200 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
203 1999-01-10 J. Kean Johnston <jkj@sco.com>
205 * Makefile.in.in: Set value of moduledir
206 - Changed DUMPENV to include $(MODULEPATH)
207 - Added install rule to install header files for use by ellcc.
209 * config.h.in: Added INHIBIT_SITE_MODULES
210 - Added HAVE__DLERROR
212 - Added DLSYM_NEEDS_UNDERSCORE
216 * emodules.c: New file containing dynamic loading code.
218 * emodules.h: New file.
220 * emacs.c: Added variables Vmodule_directory,
221 Vsite_module_directory, Vconfigure_module_directory and
222 Vconfigure_site_module_directory.
223 - (main_1): Added new variable inhibit_site_modules and command
224 line options `-no-site-modules' and `--no-site-modules'.
225 - (main_1): Call syms_of_module() instead of syms_of_dll().
226 - (main_1): Call vars_of_module().
227 - (vars_of_emacs): Introduce inhibit-site-modules,
228 module-directory, configure-module-directory,
229 site-module-directory, and configure-site-module-directory to the
232 * lisp.h: Declare load_module and list_modules, as well as
233 Vmodule_directory, Vsite_module_directory,
234 Vconfigure_module_directory and Vconfigure_site_module_directory.
236 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
237 - Added correct support for site-lisp directory.
239 * symbols.c (defsubr): Modified to allow modules to add new subrs
241 - (defsubr_macro): Same.
242 - (defvar_magick): Only use purespace when not initialized, so
243 that loaded modules can still add symbols.
245 * symsinit.h: Add definitions for syms_of_module(),
246 vars_of_module(). Removed syms_of_dll().
248 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
249 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
250 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
252 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
253 explicitly pass -belf for native cc.
255 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
256 hard-coding the library name.
258 1999-01-01 <martin@xemacs.org>
260 * device-x.c (Fx_set_font_path):
261 Add proper cast to permit compilation under C++.
263 * buffer.c (directory_is_current_directory):
264 Add proper casts to permit compilation under C++.
266 1998-12-30 Damon Lipparelli <lipp@primus.com>
268 * event-msw.c (mswindows_wnd_proc):
269 Fixed failure when building with MSVC 5.
271 1998-12-29 Martin Buchholz <martin@xemacs.org>
273 * file-coding.c (decode_coding_iso2022):
274 - Prevent crash when decoding ISO7/Lock detected files
275 - the usual martin fiddling
277 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
281 Fixed failures when building with MSVC.
282 * unexnt.c (dump_bss_and_heap):
283 Removed compiler warning by removing bss_data variable.
285 1998-12-18 Jim Radford <radford@robby.caltech.edu>
287 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
288 so that packages that distribute their own fonts can access them.
290 1998-12-28 Andy Piper <andy@xemacs.org>
292 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
293 that have an image provided.
295 * glyphs.h: add Q_image decl.
297 * glyphs-widget.c new functionality allowing images in
299 (check_valid_glyph_or_image): new function to validate
300 glyphs passed in through :image.
301 (widget_normalize): new function. convert :image parameters into
302 real glyphs if not already so.
303 (widget_instantiate_1): mess with size parameters to be similar to
305 (syms_of_glyphs_widget): new keyword :image.
306 (image_instantiator_format_create_glyphs_widget): normalize
307 buttons and allow :image.
309 1998-12-27 Andy Piper <andy@xemacs.org>
311 * frame-msw.c (mswindows_init_frame_1): warning elimination.
313 * glyphs-widget.c (check_valid_anything): no-op function.
314 (check_valid_callback): check callbacks in gui_items.
315 (check_valid_symbol): as it sounds.
316 (check_valid_string_or_vector): ditto.
317 (widget_validate): modified for descriptors that are vectors or
318 sequences of keyword/val pairs.
319 (widget_instantiate_1): ditto.
320 (image_instantiator_format_create_glyphs_widget): allow gui_item
321 keywords in the instantiator.
323 * gui.c (gui_parse_item_keywords_internal): renamed from
324 gui_parse_item_keywords but taking error behaviour.
325 (gui_parse_item_keywords): use it.
326 (gui_parse_item_keywords_no_errors): ditto.
327 (gui_item_add_keyval_pair): add Error_behavior flag and only
328 signal invalid keywords if required.
330 * gui.h: new gui signatures.
332 * menubar.c (menu_parse_submenu_keywords): use new
333 gui_item_add_keyval_pair signature.
335 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
337 1998-12-28 Martin Buchholz <martin@xemacs.org>
339 * XEmacs 21.2.8 is released.
341 1998-12-28 Martin Buchholz <martin@xemacs.org>
343 * editfns.c (get_home_directory):
344 (user-home-directory): Simplify.
347 * callproc.c (child_setup):
348 - Environment variables were being passed to inferior processes
349 using internal encoding.
350 - Convert to external encoding.
351 - Rename local var `tem' to better name `tail'.
352 - Use Flength instead of `manual' calculation.
354 * buffer.c (kill-buffer):
356 (set-buffer-major-mode):
358 - Fix up parameter names to correspond to docstrings.
359 - Don't use `bufname' when a buffer will do as well.
360 - Remove one unneeded GCPRO.
362 * buffer.h (initial_directory):
363 * buffer.c (init_initial_directory):
364 - use correct conversions between internal and external format.
365 (directory_is_current_directory): new function
366 (init_buffer): convert initial_directory to internal format.
367 - solve crashes when current working directory is non-ASCII.
372 - remove stupid casts, since XEmacs requires an ANSI C system.
373 (lrecord_type_index): replace abort() with more readable assert().
375 (reset_lcrecord_stats): remove.
377 - replace call to reset_lcrecord_stats() with call to xzero().
379 1998-12-27 Martin Buchholz <martin@xemacs.org>
381 * process-unix.c (unix_create_process):
382 - Fix crash invoking program with non-ASCII name.
383 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
384 - Remove unused variable `env'.
385 - Rename `temp' to better name `save_errno'.
386 - Reorganize code for clarity. But still too chicken to nuke the
389 1998-12-24 Martin Buchholz <martin@xemacs.org>
391 * XEmacs 21.2.7 is released.
393 1998-12-23 Martin Buchholz <martin@xemacs.org>
395 * glyphs.c (decode_device_ii_format):
397 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
399 * glyphs-x.c (x_subwindow_instantiate):
400 - A image instance mask was being assigned to a image instance type!
401 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
403 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
405 * glyphs-x.h: Make indentation consistent.
407 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
409 * glyphs-widget.c (check_valid_glyph): Warning suppression.
411 - #ifdef it out, since it's not actually used yet (FIX THIS!)
415 Move declarations of decode_device_ii_format and
416 decode_image_instantiator_format into glyphs.h where they belong.
418 1998-12-22 Martin Buchholz <martin@xemacs.org>
420 * frame-x.c (x_delete_frame): Revert part of my changes at the
421 suggestion of Gunnar Evermann - unfortunately no one really
422 understands this code.
424 * callproc.c (init_callproc): code cleanup.
426 * free-hook.c (malloc):
431 (block_input_malloc):
432 (block_input_realloc):
433 * device-x.c (x_delete_device):
434 * emacs.c (voodoo_free_hook):
435 * events.c (print_event):
439 Use proper prototypes.
440 Make C_E_T macros a little faster.
441 Pedantic fiddly little changes. You really don't care.
443 1998-12-22 Andy Piper <andy@xemacs.org>
445 * redisplay-output.c (redisplay_clear_region): make sure that
446 fg/bg colors get set even when we are in the border area.
448 1998-12-13 Martin Buchholz <martin@xemacs.org>
450 * console-msw.c: Function definitions follow coding standards
451 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
453 1998-12-11 Martin Buchholz <martin@xemacs.org>
455 * events.h (struct timeout_data):
456 * event-tty.c (tty_timeout_to_emacs_event):
457 * event-msw.c (mswindows_wm_timer_callback):
458 * event-Xt.c (Xt_timeout_to_emacs_event):
459 * event-msw.c (mswindows_cancel_dispatch_event):
460 Make sure Lisp_Objects inside events are initialized to Qnil, not
461 Qnull_pointer, which is now illegal.
463 1998-12-10 Martin Buchholz <martin@xemacs.org>
465 * lisp.h: Fix up prototypes to match alloc.c
467 1998-12-08 Martin Buchholz <martin@xemacs.org>
469 * windowsnt.h: Remove `support' for using index and rindex
471 * filelock.c (current_lock_owner):
472 - Change uses of index -> strchr, rindex -> strrchr
474 1998-12-07 Martin Buchholz <martin@xemacs.org>
476 * sysdep.c (set_descriptor_non_blocking):
477 Since O_NONBLOCK is now always #defined, make use of fcntl
478 conditional on F_SETFL being defined.
480 * console-msw.c (DHEADgER):
489 - max_align_t should not be visible to the user of the
491 - use Bufbyte instead of char
492 - parens around (FOOP (obj)) are always redundant.
493 If they were necessary, we should fix the macro instead.
494 - Always use string_data(foo) instead of foo->data.
497 1998-12-06 Martin Buchholz <martin@xemacs.org>
499 * frame-msw.c (mswindows_init_frame_1):
500 - use make_lisp_hash_table, not Fmake_hash_table
504 * alloc.c (make_vector): remove travesty
508 (make_bit_vector_internal):
510 (make_bit_vector_from_byte_vector):
512 - make vector_equal a little faster.
513 - Don't use variable name `new'.
514 - Use size_t instead of EMACS_INT.
515 - usual Martin-style pointless bit-twiddling.
521 Make mapcar faster. In particular, make
522 (mapc #'identity long-string)
523 MUCH faster under Mule.
524 * tests/automated/lisp-tests.el: Test 'em!
526 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
529 1998-12-01 Martin Buchholz <martin@xemacs.org>
531 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
532 Qnil, not NULL, to initialize `null' Lisp_Objects.
534 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
536 * specifier.c (display_table_validate): Update.
538 * redisplay.c (create_text_block): Use them.
540 * glyphs.c (display_table_entry): New function.
541 (get_display_tables): Ditto.
543 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
545 * eldap.c (toplevel): Mention that eldap.c compiles with
547 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
548 (Fldap_search_internal): Ditto
550 1998-12-11 Martin Buchholz <martin@xemacs.org>
552 * event-msw.c (mswindows_cancel_dispatch_event):
553 Gratuitous code prettification
556 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
558 * fns.c (Fnconc): Fix use of wrong_type_argument().
560 * floatfns.c (Ffloat): Fix docstring.
561 (Ffloat): Fix use of wrong_type_argument().
563 (extract_float): Ditto.
568 1998-12-06 Martin Buchholz <martin@xemacs.org>
570 * frame-msw.c (mswindows_init_frame_1):
571 - use make_lisp_hash_table, not Fmake_hash_table
575 * alloc.c (make_vector): remove travesty
579 (make_bit_vector_internal):
581 (make_bit_vector_from_byte_vector):
583 - make vector_equal a little faster.
584 - Don't use variable name `new'.
585 - Use size_t instead of EMACS_INT.
586 - usual Martin-style pointless bit-twiddling.
592 Make mapcar faster. In particular, make
593 (mapc #'identity long-string)
594 MUCH faster under Mule.
595 * tests/automated/lisp-tests.el: Test 'em!
597 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
600 1998-12-02 Didier Verna <verna@inf.enst.fr>
602 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
603 accelerator field to nil for labels.
605 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
607 * menubar-msw.c (displayable_menu_item):
608 Escape occurrences of '&' and support occurrences of the
609 '%_' accelerator indicator in menus.
611 1998-11-26 Didier Verna <verna@inf.enst.fr>
613 * dired.c (Fdirectory_files): use make_string instead of
614 make_ext_string on the filename. The conversion external->internal
615 format is already done in sys_readdir.
617 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
619 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
621 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
624 (Belatedly) added Kirill to list of file's authors.
625 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
626 quit checking. WM_PAINT messages cause redisplay, but
627 windows' states are not necessarily stable when this function
630 1998-12-17 Andy Piper <andy@xemacs.org>
632 * strftime.c (zone_name): CONSTify.
634 1998-12-15 Andy Piper <andy@xemacs.org>
636 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
637 (mswindows_widget_property): return Qunbound when no property available.
638 (mswindows_button_property): ditto.
639 (mswindows_combo_property): ditto.
640 (mswindows_widget_set_property): ditto.
642 * glyphs-widget.c (check_valid_item_list): use properties.
644 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
646 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
647 (Fimage_instance_property): ditto.
648 * glyphs-widget.c (widget_property): ditto.
649 (widget_set_property): ditto.
651 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
652 as setting the class cursor so that GC actually changes the
655 * config.h: don't undef MAIL_USE_POP.
657 1998-12-13 Andy Piper <andy@xemacs.org>
660 (image_instantiator_format_create_glyphs_mswindows): line ->
662 (mswindows_label_instantiate): ditto. Play with window flags.
663 (image_instantiator_format_create_glyphs_mswindows): ditto.
664 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
666 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
667 cope with lines and labels.
668 (static_instantiate): use widget_instantiate_1.
670 (image_instantiator_format_create_glyphs_widget): ditto.
672 1998-12-10 Andy Piper <andy@xemacs.org>
674 * Makefile.in.in (objs): add gui.o
676 1998-12-10 Andy Piper <andy@xemacs.org>
678 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
681 1998-12-09 Andy Piper <andy@xemacs.org>
683 * glyphs.c (finalize_image_instance): mark glyphs changed when an
684 image instance is removed so that the subwindow cache gets reset
685 and thus destroyed images get GC'd.
687 1998-12-08 Andy Piper <andy@xemacs.org>
689 * gui-msw.c (mswindows_handle_gui_wm_command): call
690 MARK_SUBWINDOWS_CHANGED.
692 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
693 subwindows really get deleted.
695 * redisplay.c: new variable subwindows_changed[_set].
696 (redisplay_window): use it.
697 (redisplay_frame): ditto.
698 (redisplay_device): ditto.
699 (redisplay_without_hooks): ditto.
701 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
702 subwindows redisplay as per glyphs equivalent.
703 * redisplay.h: ditto.
704 (MARK_SUBWINDOWS_CHANGED): ditto.
705 (RESET_CHANGED_SET_FLAGS): ditto.
706 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
708 1998-12-07 Andy Piper <andy@xemacs.org>
710 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
713 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
715 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
716 messages and paint widget glyphs as appropriate with their face fg
719 1998-12-06 Andy Piper <andy@xemacs.org>
721 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
722 here rather than in glyphs-widget - do this because we only want
723 to provide what is really available.
725 * glyphs.c (Fimage_instance_property): new function to get the
726 properties of image instances. wires through to console specific
727 methods and then to widget specific methods.
728 (Fset_image_instance_property): ditto but for setting widget properties.
729 (check_valid_face): make extern so that it can be used elsewhere.
731 * glyphs-widget.c (widget_property): new function. gets the
732 properties of widgets in general and wires the function through to
733 widget specific ones.
734 (widget_set_property): ditto but for setting widget properties.
736 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
737 add items to the list. Play with window styles a bit to get the
739 (mswindows_widget_property): break out specific widget properties.
740 (mswindows_button_property): new function. gets the checked state
742 (mswindows_combo_property): new function. gets the current
743 selection in the combo box.
744 (mswindows_widget_set_property): new function. sets specific
745 properties of specific widgets.
747 * glyphs-widget.c (check_valid_item_list): new function. check
748 that items for a combo-box are just a list of strings.
749 (combo_validate): new function. check there is an item list.
750 (widget_instantiate_1): new function. renamed from
751 widget_instantiate so that we can do slightly different things for
753 (widget_instantiate): call widget_instantiate_1.
754 (combo_instantiate): new function to instantiate combo boxes,
755 defaults height to the pixel height of the number of items in the
757 (syms_of_glyphs_widget): move widget keywords here.
758 (image_instantiator_format_create_glyphs_widget): use new combo
761 1998-12-04 Andy Piper <andy@xemacs.org>
763 * event-msw.c (mswindows_wnd_proc): mule-ize.
765 * glyphs.c (pixmap_to_lisp_data): mule-ize.
767 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
768 (resource_name_to_resource): ditto.
769 (mswindows_resource_instantiate): ditto.
770 (mswindows_widget_instantiate): ditto.
771 (mswindows_widget_set_property): ditto.
773 * redisplay-output.c (redisplay_output_subwindow): don't show
774 subwindows if they are obscured at the edge of the frame, emacs
775 gets into some sort of redisplay loop otherwise.
777 * gui.h: prototype gui_item_selected_p.
779 * gui.c (gui_item_selected_p): new function to determine the
780 selected state of a gui_item.
782 * frame.h (struct frame): add subwindows_changed flag.
784 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
786 * glyphs.c (update_subwindow): new function to update a
788 (update_frame_subwindows): new function to update all the
789 subwindows on a frame.
791 * console.h (struct console_methods): add update_subwindow.
793 * glyphs-msw.c (mswindows_widget_property): return selected state
794 for selected property.
795 (mswindows_update_subwindow): new function. updates widget glyphs
796 in redisplay as per menubars or toolbars e.g. selected state.
797 (console_type_create_glyphs_mswindows): add update_subwindow.
799 1998-12-03 Andy Piper <andy@xemacs.org>
801 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
802 tty coding system things are such.
804 * glyphs-widget.c (widget_face_font_info): new function for
805 pulling out height and width metrics for a widget's face.
806 (widget_text_to_pixel_conversion): calculate pixel sizes of text
809 * event-msw.c (mswindows_drain_windows_queue): translate messages
810 that are destined for subwindows. This makes edit fields interact
811 with the keyboard correctly.
812 nuke warnings by #ifndef'ing out stuff not required by msg select().
814 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
815 macro defining the iiforma without the symbol required by widget.
816 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
818 * general.c (syms_of_general): add Qwidget, Qselected.
820 * faces.c (complex_vars_of_faces): add widget face inheriting from
823 1998-11-09 Andy Piper <andy@xemacs.org>
825 * window.h (struct window): add a cache of subwindows on a
828 * window.c (mark_window): mark the subwindow_instance_cache.
829 (allocate_window): initialise the subwindow instance_cache.
831 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
832 instead of the devmeth.
833 (x_clear_toolbar): ditto.
835 * redisplay-x.c (x_output_display_block): call
836 redisplay_output_subwindow for subwindows and widgets.
838 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
839 types to do nothing for.
841 * lisp.h: declare new widget/subwindow symbols.
843 * glyphs.c (image_instantiate): cache subwindows on a per-window
845 (subwindow_possible_dest_types): new function for subwindow dest
847 (subwindow_instantiate): generic instantiation of a
848 subwindow. specialised by device multi-methods.
849 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
851 (Fimage_instance_subwindow_id): ditto.
852 (Fresize_subwindow): ditto.
853 (Fforce_subwindow_map): ditto.
855 * glyphs-x.c (x_print_image_instance): remove subwindow
856 stuff. Handled genrically in glyphs.c.
857 (x_image_instance_equal): ditto.
858 (x_image_instance_hash): ditto.
859 (x_finalize_image_instance): delete subwindows when required.
860 (mark_subwindow) (print_subwindow) (finalize_subwindow)
861 (subwindow_hash) (Fmake_subwindow): deleted because of new,
862 glyph-based, subwindow implementation.
863 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
865 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
867 (x_unmap_subwindow): new function to unmap X subwindows.
868 (x_map_subwindow): new function to map X subwindows.
869 (x_subwindow_instantiate): new function to instantiate X
871 (x_resize_subwindow): new function to resize X subwindows.
872 (console_type_create_glyphs_x): add subwindow functions.
873 (image_instantiator_format_create_glyphs_x): add device
874 multi-methods for xpm, xbm and subwindow.
876 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
877 (subwindow-width): ditto.
878 (subwindow-height): ditto.
880 * glyphs-msw.c (mswindows_widget_instantiate): new function for
881 generally instantiating ms subwindows. Used by
882 mswindows_*_instantiate.
883 (mswindows_edit_instantiate): instantiate an edit field on a
886 1998-11-04 Andy Piper <andy@xemacs.org>
888 * symsinit.h: declare new functions.
890 * redisplay.h: declare new functions.
892 * redisplay-x.c (x_output_display_block): call
893 redisplay_clear_region rather than x_clear_region.
894 (x_output_string): ditto.
895 (x_output_pixmap): ditto.
896 (x_clear_to_window_end): ditto.
897 (x_output_eol_cursor): ditto.
898 (x_clear_region): only do X specific things. other duties handled
899 in redisplay_clear_region.
901 * redisplay-tty.c (tty_clear_region): do tty specific things - some
902 duties moved to redisplay_clear_region.
904 * redisplay-output.c (clear_left_border): use
905 redisplay_clear_region instead of device method.
906 (clear_right_border): ditto.
907 (output_display_line): ditto.
908 (redisplay_output_subwindow): ditto.
909 (redisplay_clear_top_of_window): ditto.
910 (redisplay_clear_region): perform duties previously handled by
911 device methods. call the appropriate device method at the
912 end. unmap subwindows if necessary.
914 * redisplay-msw.c (mswindows_output_string): use
915 redisplay_clear_region instead of mswindows_clear_region.
916 (mswindows_clear_to_window_end): ditto.
917 (mswindows_output_display_block): output subwindows when required.
918 (mswindows_clear_region): only do mswindows specific things,
919 everything else is now handled in redisplay_clear_region.
921 * gui.h: add item id hash defines and declare function prototypes.
923 * gui.c (mark_gui_item): new function for marking gui_items.
924 (gui_item_hash): generic hash function for generating command ids
927 * gui-msw.c: new file.
928 (mswindows_handle_gui_wm_command): new function to handle widget
931 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
933 (IIFORMAT_HAS_SHARED_METHOD): ditto.
934 (DEFINE_DEVICE_IIFORMAT): ditto.
935 (INITIALIZE_DEVICE_IIFORMAT): ditto.
936 (struct Lisp_Image_Instance): add widget and subwindow data plus
937 appropriate access functions.
939 * glyphs.c (decode_device_ii_format): new function for decoding
940 image instantiator functions based on a device type as well as an
942 (decode_image_instantiator_format): just call
943 decode_device_ii_format with nil device.
944 (add_entry_to_device_ii_format_list): new function for per device
946 (add_entry_to_image_instantiator_format_list): just call
947 add_entry_to_device_ii_format_list with nil device.
948 (check_valid_vector): new function.
949 (instantiate_image_instantiator): instantiate using per-format
950 method and then per-format-per-device method (device
951 multi-methods). signal an error if neither is possible.
952 (mark_image_instance): cope with subwindows and widgets.
953 (print_image_instance): ditto.
954 (image_instance_equal): ditto.
955 (image_instance_hash): ditto.
956 (allocate_glyph): ditto.
957 (glyph_width): ditto.
958 (glyph_height_internal): ditto.
959 (xpm_instantiate): removed because of device multi-methods.
960 (mark_subwindow_cachels): new cachel functions for caching
961 instantiated subwindows on a per-frame basis. mostly copied from
962 glyph cachel functions.
963 (update_subwindow_cachel_data): ditto.
964 (add_subwindow_cachel): ditto.
965 (get_subwindow_cachel_index): ditto.
966 (reset_subwindow_cachels): ditto.
967 (mark_subwindow_cachels_as_not_updated): ditto.
968 (unmap_subwindow): generic unmapping of subwindows based on cachel
970 (map_subwindow): ditto.
971 (initialize_subwindow_image_instance): generic initialisation of
973 (syms_of_glyphs): add widget keywords.
975 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
978 1998-11-04 Andy Piper <andy@xemacs.org>
980 * glyphs-widget.c: new file for instantiating widget type glyphs.
981 (widget_possible_dest_types): new general dest type function for
983 (widget_validate): ditto.
984 (initialize_widget_image_instance): ditto
985 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
986 before handing on control to device multi-methods.
987 (syms_of_glyphs_widget): new function.
988 (image_instantiator_format_create_glyphs_widget): new function,
989 added placeholders for button, edit, combo, scrollbar
990 (vars_of_glyphs_widget): new function.
992 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
993 storing window ids of widgets.
995 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
996 deletion of widget and subwindow glyphs.
997 (mswindows_unmap_subwindow): new device function for unmapping
998 subwindows on a msw frame.
999 (mswindows_map_subwindow): ditto.
1000 (mswindows_register_image_instance): register instantiated widgets
1001 with the widget hastable.
1002 (mswindows_button_instantiate): instantiate a button type widget
1004 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
1006 (image_instantiator_format_create_glyphs_mswindows): add device
1007 multi-methods for xbm, xpm, subwindow, edit and button.
1009 * frame.h (struct frame): add subwindow_cachels dynarr for caching
1010 information about subwindows visible on the current frame. used by
1011 redisplay_clear_region to unmap subwindows as required.
1013 * frame.c (mark_frame): mark subwindow_cachels.
1014 (allocate_frame_core): instantiate subwindow_cachels.
1016 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
1019 * event-msw.c (mswindows_wnd_proc): add call to
1020 mswindows_handle_gui_wm_command to handle widget callbacks.
1022 * emacs.c (main_1): add calls to glyphs-widget initialisation
1025 * console.h (struct console_methods): add
1026 unmap/map_subwindow_method for use be redisplay_clear_region to
1027 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
1028 with by image instantiator multi-methods. Add
1029 resize_subwindow_method.
1031 * console-stream.c (stream_clear_region): change signature to
1032 match new generic clear region function.
1034 * Makefile.in.in: add glyphs-widget.o to list of objects.
1036 * console-msw.h (struct mswindows_frame): add widget hashtable for
1037 wiring command ids to callbacks.
1039 1998-12-16 Andy Piper <andy@xemacs.org>
1041 * XEmacs 21.2.6 is released
1043 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
1045 * md5.c (Fmd5): Correctly initiate string input stream.
1047 * Makefile.in.in (tests): Add md5-tests.el.
1049 1998-12-06 Martin Buchholz <martin@xemacs.org>
1052 * alloc.c (make_vector): remove travesty
1056 (make_bit_vector_internal):
1058 (make_bit_vector_from_byte_vector):
1060 - make vector_equal a little faster.
1061 - Don't use variable name `new'.
1062 - Use size_t instead of EMACS_INT.
1063 - usual Martin-style pointless bit-twiddling.
1069 Make mapcar faster. In particular, make
1070 (mapc #'identity long-string)
1071 MUCH faster under Mule.
1072 * tests/automated/lisp-tests.el: Test 'em!
1074 1998-12-06 Martin Buchholz <martin@xemacs.org>
1076 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1079 1998-12-13 Martin Buchholz <martin@xemacs.org>
1081 * console-msw.c: Function definitions follow coding standards
1082 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1084 1998-12-11 Martin Buchholz <martin@xemacs.org>
1086 * events.h (struct timeout_data):
1087 * event-tty.c (tty_timeout_to_emacs_event):
1088 * event-msw.c (mswindows_wm_timer_callback):
1089 * event-Xt.c (Xt_timeout_to_emacs_event):
1090 * event-msw.c (mswindows_cancel_dispatch_event):
1091 Make sure Lisp_Objects inside events are initialized to Qnil, not
1092 Qnull_pointer, which is now illegal.
1094 1998-12-10 Martin Buchholz <martin@xemacs.org>
1096 * lisp.h: Fix up prototypes to match alloc.c
1098 1998-12-09 Andy Piper <andy@xemacs.org>
1100 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
1101 XSETINT for assigning lisp objects.
1103 1998-12-07 Martin Buchholz <martin@xemacs.org>
1106 * console-msw.c (DHEADER):
1115 - max_align_t should not be visible to the user of the
1117 - use Bufbyte instead of char
1118 - parens around (FOOP (obj)) are always redundant.
1119 If they were necessary, we should fix the macro instead.
1120 - Always use string_data(foo) instead of foo->data.
1122 1998-12-07 Martin Buchholz <martin@xemacs.org>
1124 * sysdep.c (set_descriptor_non_blocking):
1125 Since O_NONBLOCK is now always #defined, make use of fcntl
1126 conditional on F_SETFL being defined.
1128 1998-12-09 Andy Piper <andy@xemacs.org>
1130 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
1131 that got removed in the merge
1133 1998-11-30 Greg Klanderman <greg@alphatech.com>
1135 * dired.c (vars_of_dired): bugfix for previous conditionalization
1136 of user-name-completion on non- Windows NT.
1138 1998-12-08 Martin Buchholz <martin@xemacs.org>
1140 * windowsnt.h: Remove `support' for using index and rindex
1142 * filelock.c (current_lock_owner):
1143 - Change uses of index -> strchr, rindex -> strrchr
1145 1998-12-06 Martin Buchholz <martin@xemacs.org>
1147 * frame-msw.c (mswindows_init_frame_1):
1148 - use make_lisp_hash_table, not Fmake_hash_table
1151 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1153 * XEmacs 21.2.5 is released
1155 1998-11-30 Martin Buchholz <martin@xemacs.org>
1157 * xselect.c (receive_incremental_selection):
1158 * xselect.c (x_get_window_property):
1159 * xmu.c (XmuReadBitmapDataFromFile):
1160 * xmu.c (XmuCursorNameToIndex):
1161 * xgccache.c (describe_gc_cache):
1162 * xgccache.c (gc_cache_lookup):
1163 * xgccache.c (free_gc_cache):
1164 * xgccache.c (make_gc_cache):
1166 * window.c (map_windows_1):
1167 * window.c (Fother_window_for_scrolling):
1168 * window.c (window_scroll):
1169 * window.c (change_window_height):
1170 * window.c (Fsplit_window):
1171 * window.c (window_left_gutter_width):
1172 * window.c (window_modeline_height):
1173 * window.c (invalidate_vertical_divider_cache_in_window):
1174 * window.c (window_needs_vertical_divider_1):
1175 * window.c (update_mirror_internal):
1176 * window.c (SET_LAST_FACECHANGE):
1177 * widget.c (Fwidget_plist_member):
1178 * unexec.c (copy_text_and_data):
1179 * unexcw.c (copy_executable_and_dump_data_section):
1181 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
1182 * tooltalk.c (struct Lisp_Tooltalk_Message):
1183 * toolbar.h (struct toolbar_button):
1184 * toolbar.c (default_toolbar_visible_p_changed_in_window):
1185 * toolbar.c (recompute_overlaying_specifier):
1186 * toolbar.c (toolbar_validate):
1187 * toolbar.c (toolbar_button_at_pixpos):
1188 * toolbar.c (get_toolbar_coords):
1189 * toolbar.c (update_frame_toolbars):
1191 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
1192 * toolbar-msw.c (mswindows_find_toolbar_pos):
1193 * toolbar-msw.c (mswindows_output_toolbar):
1194 * toolbar-msw.c (mswindows_clear_toolbar):
1203 * sysdep.c (sys_fopen):
1204 * sysdep.c (sys_open):
1205 * sysdep.c (tty_init_sys_modes_on_device):
1206 * sysdep.c (get_eof_char):
1207 * sysdep.c (child_setup_tty):
1208 * sysdep.c (set_descriptor_non_blocking):
1210 * syntax.c (scan_words):
1213 * symeval.h (struct symbol_value_varalias):
1214 * symeval.h (struct symbol_value_forward):
1215 * symbols.c (syms_of_symbols):
1216 * symbols.c (init_symbols_once_early):
1217 * symbols.c (Fbuilt_in_variable_type):
1218 * symbols.c (Fsymbol_value_in_buffer):
1219 * symbols.c (default_value):
1221 * symbols.c (find_symbol_value_quickly):
1222 * symbols.c (store_symval_forwarding):
1223 * symbols.c (set_default_console_slot_variable):
1224 * symbols.c (set_default_buffer_slot_variable):
1225 * symbols.c (verify_ok_for_buffer_local):
1226 * symbols.c (symbol_is_constant):
1227 * symbols.c (oblookup):
1228 * symbols.c (Funintern):
1229 * symbols.c (Fintern):
1230 * symbols.c (check_obarray):
1232 * specifier.h (struct specifier_methods):
1234 * specifier.c (specifier_instance):
1235 * specifier.c (specifier_instance_from_inst_list):
1236 * specifier.c (decode_locale_type):
1237 * specifier.c (specifier_equal):
1238 * specifier.c (finalize_specifier):
1239 * specifier.c (prune_specifiers):
1240 * specifier.c (kill_specifier_buffer_locals):
1241 * sound.c (init_native_sound):
1244 * search.c (Fmatch_data):
1245 * search.c (match_limit):
1246 * search.c (Freplace_match):
1247 * search.c (skip_chars):
1248 * search.c (scan_buffer):
1250 * scrollbar.c (specifier_vars_of_scrollbar):
1251 * scrollbar.c (Fscrollbar_set_hscroll):
1252 * scrollbar.c (vertical_scrollbar_changed_in_window):
1253 * scrollbar.c (release_window_mirror_scrollbars):
1254 * scrollbar.c (free_scrollbar_instance):
1257 * s/msdos.h (O_BINARY):
1259 * s/freebsd.h (LIBS_TERMCAP):
1260 * regex.c (re_match_2_internal):
1261 * regex.c (compile_extended_range):
1262 * regex.c (POP_FAILURE_POINT):
1263 * regex.c (PUSH_FAILURE_POINT):
1264 * redisplay.h (RESET_CHANGED_SET_FLAGS):
1266 * redisplay.h (struct display_line):
1267 * redisplay.h (struct rune):
1268 * redisplay.c (vars_of_redisplay):
1269 * redisplay.c (redisplay_variable_changed):
1270 * redisplay.c (UPDATE_CACHE_RETURN):
1271 * redisplay.c (validate_line_start_cache):
1272 * redisplay.c (mark_redisplay_structs):
1273 * redisplay.c (mark_glyph_block_dynarr):
1274 * redisplay.c (window_line_number):
1275 * redisplay.c (redisplay_frame):
1276 * redisplay.c (redisplay_window):
1277 * redisplay.c (generate_modeline):
1278 * redisplay.c (create_right_glyph_block):
1279 * redisplay.c (create_left_glyph_block):
1280 * redisplay.c (create_text_block):
1282 * redisplay-x.c (x_output_hline):
1283 * redisplay-x.c (x_output_vertical_divider):
1284 * redisplay-tty.c (tty_output_display_block):
1285 * redisplay-output.c (output_display_line):
1286 * redisplay-output.c:
1287 * redisplay-msw.c (mswindows_output_vertical_divider):
1288 * redisplay-msw.c (mswindows_ring_bell):
1289 * redisplay-msw.c (mswindows_output_cursor):
1293 * puresize.h (RAW_PURESIZE):
1294 * profile.c (syms_of_profile):
1295 * profile.c (Fstart_profiling):
1296 * profile.c (sigprof_handler):
1299 * process.c (vars_of_process):
1300 * process.c (read_process_output):
1301 * process.c (get_process):
1303 * process-unix.c (unix_open_multicast_group):
1304 * process-unix.c (unix_get_tty_name):
1305 * process-unix.c (unix_send_process):
1306 * process-unix.c (unix_reap_exited_processes):
1307 * process-unix.c (unix_create_process):
1308 * process-unix.c (unix_init_process_io_handles):
1309 * process-unix.c (allocate_pty):
1311 * process-nt.c (nt_open_network_stream):
1312 * process-nt.c (nt_update_status_if_terminated):
1313 * process-nt.c (nt_finalize_process_data):
1315 * print.c (debug_short_backtrace):
1316 * print.c (debug_backtrace):
1317 * print.c (print_symbol):
1318 * print.c (print_internal):
1319 * print.c (print_cons):
1320 * print.c (Fwrite_char):
1321 * print.c (print_prepare):
1322 * print.c (canonicalize_printcharfun):
1323 * print.c (output_string):
1326 * opaque.c (allocate_managed_opaque):
1328 * offix.c (DndSetData):
1329 * objects.c (face_boolean_create):
1330 * objects.c (font_instantiate):
1331 * objects.c (font_create):
1332 * objects.c (color_create):
1333 * objects.c (finalize_font_instance):
1334 * objects.c (finalize_color_instance):
1336 * objects-x.c (x_font_instance_truename):
1338 * objects-x.c (x_initialize_font_instance):
1339 * objects-x.c (allocate_nearest_color):
1340 * objects-tty.c (tty_initialize_font_instance):
1341 * objects-tty.c (tty_initialize_color_instance):
1342 * objects-msw.c (mswindows_initialize_color_instance):
1343 * ntproc.c (syms_of_ntproc):
1344 * ntproc.c (Fwin32_set_process_priority):
1345 * ntproc.c (sys_spawnve):
1347 * ntheap.c (get_data_end):
1351 * nt.c (generate_inode_val):
1352 * nt.c (sys_rename):
1354 * mule-wnnfns.c (Fwnn_hinsi_number):
1355 * mule-wnnfns.c (Fwnn_yuragi):
1356 * mule-wnnfns.c (Fwnn_common_learn):
1357 * mule-wnnfns.c (Fwnn_suffix_learn):
1358 * mule-wnnfns.c (Fwnn_prefix_learn):
1359 * mule-wnnfns.c (Fwnn_okuri_learn):
1360 * mule-wnnfns.c (Fwnn_complex_conv):
1361 * mule-wnnfns.c (Fwnn_last_is_first):
1362 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
1363 * mule-wnnfns.c (Fwnn_notrans_dict_add):
1364 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
1365 * mule-wnnfns.c (Fwnn_fisys_dict_add):
1366 * mule-wnnfns.c (Fwnn_hinsi_list):
1367 * mule-wnnfns.c (Fwnn_fuzokugo_set):
1368 * mule-wnnfns.c (Fwnn_dict_search):
1369 * mule-wnnfns.c (Fwnn_word_toroku):
1370 * mule-wnnfns.c (Fwnn_hindo_update):
1371 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
1372 * mule-wnnfns.c (Fwnn_kakutei):
1373 * mule-wnnfns.c (Fwnn_begin_henkan):
1374 * mule-wnnfns.c (Fwnn_dict_comment):
1375 * mule-wnnfns.c (Fwnn_dict_add):
1376 * mule-wnnfns.c (Fwnn_open):
1377 * mule-mcpath.c (mc_getcwd):
1378 * mule-coding.c (vars_of_mule_coding):
1379 * mule-coding.c (convert_to_external_format):
1380 * mule-coding.c (encoding_marker):
1381 * mule-coding.c (decoding_marker):
1382 * mule-coding.c (Fcopy_coding_system):
1383 * mule-coding.c (Fmake_coding_system):
1384 * mule-coding.c (Fcoding_system_list):
1385 * mule-coding.c (Ffind_coding_system):
1386 * mule-coding.c (symbol_to_eol_type):
1388 * mule-charset.c (complex_vars_of_mule_charset):
1389 * mule-charset.c (vars_of_mule_charset):
1390 * mule-charset.c (Fset_charset_ccl_program):
1391 * mule-charset.c (struct charset_list_closure):
1392 * mule-charset.c (Ffind_charset):
1393 * mule-charset.c (make_charset):
1394 * mule-charset.c (non_ascii_valid_char_p):
1396 * mule-ccl.c (ccl_driver):
1397 * mule-canna.c (c2mu):
1398 * mule-canna.c (Fcanna_henkan_begin):
1399 * mule-canna.c (Fcanna_parse):
1400 * mule-canna.c (Fcanna_store_yomi):
1401 * mule-canna.c (Fcanna_touroku_string):
1402 * mule-canna.c (Fcanna_initialize):
1404 * menubar.c (menu_parse_submenu_keywords):
1405 * menubar-x.c (make_dummy_xbutton_event):
1406 * menubar-x.c (set_frame_menubar):
1407 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
1410 * menubar-msw.c (mswindows_popup_menu):
1411 * menubar-msw.c (mswindows_update_frame_menubars):
1412 * menubar-msw.c (mswindows_handle_wm_command):
1413 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
1414 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
1415 * menubar-msw.c (update_frame_menubar_maybe):
1416 * menubar-msw.c (populate_or_checksum_helper):
1417 * menubar-msw.c (empty_menu):
1420 * marker.c (set_marker_internal):
1421 * marker.c (print_marker):
1424 * lstream.c (lisp_buffer_rewinder):
1425 * lstream.c (mark_lstream):
1427 * lrecord.h (struct lrecord_header):
1428 * lread.c (readevalloop):
1429 * lread.c (locate_file):
1430 * lread.c (locate_file_in_directory):
1431 * lread.c (Flocate_file):
1432 * lread.c (load_force_doc_string_unwind):
1433 * lread.c (ebolify_bytecode_constants):
1438 * linuxplay.c (linux_play_data_or_file):
1439 * linuxplay.c (audio_init):
1442 * keymap.c (describe_map):
1443 * keymap.c (describe_map_mapper):
1444 * keymap.c (Fdescribe_bindings_internal):
1445 * keymap.c (Fsingle_key_description):
1446 * keymap.c (map_keymap_sorted):
1447 * keymap.c (get_relevant_keymaps):
1448 * keymap.c (Flookup_key):
1449 * keymap.c (raw_lookup_key_mapper):
1450 * keymap.c (Fdefine_key):
1451 * keymap.c (Fevent_matches_key_specifier_p):
1452 * keymap.c (key_desc_list_to_event):
1453 * keymap.c (define_key_parser):
1454 * keymap.c (define_key_check_and_coerce_keysym):
1455 * keymap.c (keymap_submaps):
1456 * keymap.c (keymap_store_internal):
1457 * keymap.c (keymap_delete_inverse_internal):
1458 * keymap.c (keymap_store_inverse_internal):
1459 * keymap.c (print_keymap):
1460 * keymap.c (Lisp_Keymap):
1463 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
1464 * insdel.c (make_gap):
1465 * input-method-xlib.c (get_XIM_input):
1466 * input-method-xlib.c (XIM_init_frame):
1471 * gui-x.c (button_item_to_widget_value):
1472 * gui-x.c (popup_selection_callback):
1473 * glyphs.h (struct image_instantiator_methods):
1474 * glyphs.c (mark_glyph_cachels):
1475 * glyphs.c (Fglyph_type):
1476 * glyphs.c (image_instantiate):
1477 * glyphs.c (image_create):
1478 * glyphs.c (make_image_instance_1):
1479 * glyphs.c (finalize_image_instance):
1481 * glyphs-x.c (finalize_subwindow):
1482 * glyphs-x.c (xface_validate):
1483 * glyphs-x.c (x_locate_pixmap_file):
1484 * glyphs-x.c (convert_EImage_to_XImage):
1486 * glyphs-msw.c (mswindows_resource_instantiate):
1487 * glyphs-msw.c (xpm_to_eimage):
1488 * glyphs-msw.c (convert_EImage_to_DIBitmap):
1489 * glyphs-eimage.c (tiff_instantiate):
1490 * glyphs-eimage.c (png_instantiate):
1491 * glyphs-eimage.c (struct png_error_struct):
1492 * glyphs-eimage.c (gif_memory_storage):
1495 * getloadavg.c (getloadavg):
1498 * free-hook.c (log_gcpro):
1499 * free-hook.c (check_malloc):
1500 * free-hook.c (check_free):
1501 * free-hook.c (ROUND_UP_TO_PAGE):
1503 * frame.h (struct frame):
1505 * frame.c (change_frame_size_1):
1506 * frame.c (allocate_frame_core):
1508 * frame-x.c (x_focus_on_frame):
1509 * frame-x.c (x_init_frame_2):
1510 * frame-x.c (x_popup_frame):
1511 * frame-x.c (xemacs_XtPopup):
1513 * frame-x.c (Foffix_start_drag_internal):
1514 * frame-x.c (x_cde_destroy_callback):
1515 * frame-x.c (x_wm_hack_wm_protocols):
1516 * frame-tty.c (tty_frame_visible_p):
1517 * frame-msw.c (mswindows_make_frame_invisible):
1518 * frame-msw.c (mswindows_after_init_frame):
1519 * frame-msw.c (mswindows_init_frame_1):
1520 * fns.c (syms_of_fns):
1521 * fns.c (Fbase64_decode_string):
1523 * fns.c (Ffillarray):
1524 * fns.c (Fobject_plist):
1526 * fns.c (Fcanonicalize_lax_plist):
1527 * fns.c (Fcanonicalize_plist):
1528 * fns.c (Fplist_remprop):
1529 * fns.c (Fplist_get):
1530 * fns.c (advance_plist_pointers):
1531 * fns.c (internal_plist_put):
1532 * fns.c (Fnreverse):
1535 * fns.c (Fsubstring):
1536 * fns.c (Fbvconcat):
1538 * fns.c (length_with_bytecode_hack):
1539 * fns.c (print_bit_vector):
1541 * floatfns.c (Ffloor):
1543 * floatfns.c (in_float_error):
1544 * fileio.c (Ffile_modes):
1545 * fileio.c (Fexpand_file_name):
1546 * fileio.c (Fmake_temp_name):
1547 * fileio.c (Ffile_name_nondirectory):
1548 * fileio.c (Ffile_name_directory):
1550 * file-coding.c (vars_of_mule_coding):
1551 * file-coding.c (convert_to_external_format):
1552 * file-coding.c (encoding_marker):
1553 * file-coding.c (decoding_marker):
1554 * file-coding.c (Fcopy_coding_system):
1555 * file-coding.c (Fmake_coding_system):
1556 * file-coding.c (struct coding_system_list_closure):
1557 * file-coding.c (Ffind_coding_system):
1558 * file-coding.c (symbol_to_eol_type):
1560 * faces.h (struct face_cachel):
1561 * faces.c (vars_of_faces):
1562 * faces.c (face_property_was_changed):
1563 * faces.c (mark_face_cachels):
1564 * faces.c (temporary_faces_list):
1565 * faces.c (struct face_list_closure):
1567 * extents.h (struct extent):
1568 * extents.c (vars_of_extents):
1569 * extents.c (struct copy_string_extents_1_arg):
1570 * extents.c (add_string_extents_mapper):
1571 * extents.c (Fextent_property):
1572 * extents.c (Fset_extent_property):
1573 * extents.c (symbol_to_glyph_layout):
1574 * extents.c (properties_equal):
1575 * extents.c (print_extent):
1576 * extents.c (print_extent_1):
1577 * extents.c (extent_in_region_p):
1578 * extents.c (gap_array_make_gap):
1580 * events.h (struct Lisp_Event):
1582 * events.c (Fevent_properties):
1583 * events.c (format_event_object):
1584 * events.c (Fmake_event):
1585 * events.c (event_equal):
1586 * events.c (print_event):
1587 * events.c (mark_event):
1588 * event-stream.c ((read-char)
1589 * event-stream.c (vars_of_event_stream):
1590 * event-stream.c (syms_of_event_stream):
1591 * event-stream.c (Fset_recent_keys_ring_size):
1592 * event-stream.c (Fsit_for):
1593 * event-stream.c (Fnext_event):
1594 * event-stream.c (execute_help_form):
1595 * event-stream.c (maybe_kbd_translate):
1597 * event-msw.c (vars_of_event_mswindows):
1598 * event-msw.c (mswindows_wnd_proc):
1599 * event-msw.c (mswindows_need_event):
1600 * event-msw.c (mswindows_drain_windows_queue):
1601 * event-msw.c (mswindows_pump_outstanding_events):
1603 * event-msw.c (slurp_thread):
1604 * event-msw.c (struct ntpipe_slurp_stream):
1605 * event-msw.c (HANDLE_TO_USID):
1606 * event-Xt.c (emacs_Xt_handle_magic_event):
1607 * event-Xt.c (x_event_to_emacs_event):
1608 * event-Xt.c (x_reset_modifier_mapping):
1609 * event-Xt.c (x_reset_key_mapping):
1611 * eval.c (syms_of_eval):
1612 * eval.c (warn_when_safe):
1613 * eval.c (warn_when_safe_lispobj):
1614 * eval.c (Fbacktrace_frame):
1615 * eval.c (Fbacktrace):
1616 * eval.c (top_level_set):
1617 * eval.c (unbind_to_hairy):
1618 * eval.c (specbind_magic):
1619 * eval.c (specbind_unwind_wasnt_local):
1620 * eval.c (call2_trapping_errors):
1621 * eval.c (call1_trapping_errors):
1622 * eval.c (catch_them_squirmers_call2):
1623 * eval.c (call0_trapping_errors):
1624 * eval.c (run_hook_trapping_errors):
1625 * eval.c (catch_them_squirmers_eval_in_buffer):
1626 * eval.c (call4_in_buffer):
1627 * eval.c (call3_in_buffer):
1628 * eval.c (call2_in_buffer):
1629 * eval.c (call1_in_buffer):
1630 * eval.c (call0_in_buffer):
1631 * eval.c (run_hook):
1632 * eval.c (run_hook_with_args_in_buffer):
1635 * eval.c (do_autoload):
1636 * eval.c (un_autoload):
1637 * eval.c (Fautoload):
1638 * eval.c (Finteractive_p):
1639 * eval.c (Fcommand_execute):
1640 * eval.c (signal_quit):
1641 * eval.c (call_with_suspended_errors):
1642 * eval.c (signal_error):
1643 * eval.c (return_from_signal):
1644 * eval.c (Fcall_with_condition_handler):
1645 * eval.c (run_condition_case_handlers):
1646 * eval.c (condition_case_1):
1647 * eval.c (Funwind_protect):
1648 * eval.c (unwind_to_catch):
1649 * eval.c (internal_catch):
1650 * eval.c (Fmacroexpand_internal):
1651 * eval.c (Fuser_variable_p):
1652 * eval.c (Fdefconst):
1654 * eval.c (Ffunction):
1655 * eval.c (signal_call_debugger):
1656 * eval.c (call_debugger):
1659 * emacs.c (sort_args):
1663 * editfns.c (Fencode_time):
1664 * editfns.c (Fdecode_time):
1665 * editfns.c (Fuser_full_name):
1667 * editfns.c (save_excursion_restore):
1670 * doprnt.c (emacs_doprnt_1):
1671 * doc.c (verify_doc_mapper):
1672 * doc.c (Fsnarf_documentation):
1673 * doc.c (Fdocumentation):
1675 * dired.c (user_name_completion):
1676 * dired.c (Fdirectory_files):
1679 * dgif_lib.c (FreeSavedImages):
1680 * dgif_lib.c (DGifGetImageDesc):
1682 * device.h (struct device):
1683 * device.c (Fselect_device):
1684 * device.c (allocate_device):
1686 * device-x.c (Fx_keysym_on_keyboard_p):
1687 * device-x.c (Fx_valid_keysym_name_p):
1688 * device-x.c (x_IO_error_handler):
1689 * device-x.c (x_delete_device):
1690 * device-x.c (x_finish_init_device):
1691 * device-x.c (x_init_device):
1693 * device-msw.c (mswindows_init_device):
1695 * database.c (vars_of_database):
1696 * database.c (Fput_database):
1697 * database.c (Fopen_database):
1698 * database.c (berkdb_remove):
1699 * database.c (berkdb_put):
1700 * database.c (Fdatabasep):
1701 * database.c (print_database):
1703 * data.c (vars_of_data):
1704 * data.c (syms_of_data):
1705 * data.c (init_errors_once_early):
1706 * data.c (prune_weak_lists):
1707 * data.c (finish_marking_weak_lists):
1708 * data.c (print_weak_list):
1710 * data.c (Fstring_to_number):
1711 * data.c (Fnumber_to_string):
1712 * data.c (Findirect_function):
1715 * data.c (Fsubr_interactive):
1717 * data.c (Fkeywordp):
1720 * console.h (CONSOLE_NAME):
1722 * console.c (vars_of_console):
1723 * console.c (Fselect_console):
1725 * console-x.h (DEVICE_X_COLORMAP):
1726 * console-x.h (struct x_device):
1727 * console-x.c (x_device_to_console_connection):
1728 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
1729 * console-tty.c (tty_init_console):
1731 * console-msw.h (struct mswindows_frame):
1734 * cmds.c (internal_self_insert):
1735 * cmds.c (Fforward_line):
1736 * cmds.c (Fforward_char):
1739 * chartab.c (mark_char_table_entry):
1741 * casefiddle.c (casify_word):
1742 * callproc.c (child_setup):
1743 * callproc.c (Fcall_process_internal):
1745 * callint.c (Fcall_interactively):
1747 * bytecode.c (execute_rare_opcode):
1748 * bytecode.c (execute_optimized_program):
1751 * buffer.h (BUFFER_REALLOC):
1752 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
1753 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
1755 * buffer.h (MAP_INDIRECT_BUFFERS):
1756 * buffer.h (CHECK_LIVE_BUFFER):
1757 * buffer.c (init_initial_directory):
1758 * buffer.c (complex_vars_of_buffer):
1759 * buffer.c (vars_of_buffer):
1760 * buffer.c (finish_init_buffer):
1761 * buffer.c (Fget_file_buffer):
1762 * buffer.c (Fbuffer_list):
1763 * buffer.c (mark_buffer):
1764 * balloon_help.c (balloon_help_move_to_pointer):
1765 * balloon_help.c (show_help):
1768 * alloc.c (garbage_collect_1):
1769 * alloc.c (sweep_strings):
1770 * alloc.c (sweep_compiled_functions):
1771 * alloc.c (sweep_bit_vectors_1):
1772 * alloc.c (sweep_vectors_1):
1773 * alloc.c (sweep_lcrecords_1):
1774 * alloc.c (tick_lcrecord_stats):
1775 * alloc.c (pure_string_sizeof):
1776 * alloc.c (mark_conses_in_list):
1777 * alloc.c (mark_object):
1778 * alloc.c (report_pure_usage):
1779 * alloc.c (make_pure_float):
1780 * alloc.c (make_pure_string):
1781 * alloc.c (free_managed_lcrecord):
1782 * alloc.c (mark_string):
1783 * alloc.c (noseeum_make_marker):
1784 * alloc.c (allocate_event):
1785 * alloc.c (Fbit_vector):
1786 * alloc.c (Fvector):
1787 * alloc.c (make_float):
1788 * alloc.c (Fmake_list):
1790 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
1791 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
1792 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
1793 * alloc.c (dbg_constants):
1794 * alloc.c (gc_record_type_p):
1795 * alloc.c (free_lcrecord):
1796 * alloc.c (xmalloc):
1797 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
1799 * Makefile.in.in (mostlyclean):
1800 * Makefile.in.in (external_client_xlib_objs_nonshared):
1801 * Makefile.in.in (temacs_link_args):
1802 * Makefile.in.in (release):
1803 * Makefile.in.in (dnd_objs):
1804 * Makefile.in.in (objs):
1805 * Makefile.in.in (PROGNAME):
1806 * EmacsShell.c: cast strings to (XtPointer)
1807 * EmacsFrame.c: cast strings to (XtPointer)
1809 - rewrite basic lisp functions for speed
1810 - rewrite bytecode interpreter for speed
1811 - rewrite list looping constructs for speed and safety using
1813 - use size_t where appropriate.
1814 - new hashtable implementation
1815 - cleanup implementation of opaques
1816 - opaques can now be purecopy'ed
1817 - move some cl functionality into C for speed.
1818 - remove last remaining VMS support
1820 - improve gdb/dbx debugger support
1821 - move pure.c back into alloc.c for performance
1822 - enable report_pure_usage() if --memory-usage-stats
1823 - remove remnants of Energize support (EMACS_BTL, cadillac...)
1824 - don't use symbols with leading `_' or embedded `__'
1825 - globally cleanup duplicated semicolons `;;'
1826 - I give in on %p vs %lx - we use printf("%lx",(long) p)
1828 - globally replace O_NDELAY with O_NONBLOCK.
1829 - globally replace CDISABLE with _POSIX_VDISABLE.
1830 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
1831 - define (and maybe use!) STDERR_FILENO and friends.
1832 - add support for macros defined in C
1833 - `when', `unless', `not' and `defalias' now defined in C,
1834 so that they are universally available.
1835 - rename defvar_mumble to defvar_magic
1836 - rename RETURN__ to RETURN_SANS_WARNINGS
1837 - use consistent style of initial caps in error messages
1838 - implement last, butlast, nbutlast, copy-list in C.
1839 - provide typedefs for all struct Lisp_foo types
1840 - Lisp_Objects must be initialized to Qnil rather than 0.
1841 - make sure XEmacs runs (slowly) with always_gc == 1;
1842 - fast and safe LOOP_* macros
1843 - change calls to XSETOBJ to XSETFOO
1844 - replace calls to XSETINT by make_int()
1845 - plug up memory leaks
1846 - use style markobj (foo), not silly ((markobj) (foo))
1847 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
1849 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
1851 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
1853 1998-11-28 SL Baur <steve@altair.xemacs.org>
1855 * XEmacs 21.2-beta4 is released.
1857 1998-11-27 SL Baur <steve@altair.xemacs.org>
1859 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
1860 property in control-1 charset.
1861 From Julian Bradfield <jcb@daimi.au.dk>
1863 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
1865 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
1867 Add stub for :label.
1869 * gui.c (gui_item_add_keyval_pair): ditto.
1871 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
1872 :key-sequence keyword.
1874 Support :active for submenus like the Windows code and FSF Emacs.
1876 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
1878 * dired.c (make_directory_hash_table): make_string() is OK because
1879 readdir() Mule-encapsulates.
1881 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
1883 * fns.c (Fbase64_encode_string): Fix docstring.
1884 (Fbase64_decode_string): Ditto.
1886 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
1888 * editfns.c (Ftranslate_region): Use
1889 convert_bufbyte_string_into_emchar_string().
1891 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1893 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
1895 (Ftranslate_region): Turn table into an array of Emchars for
1898 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1900 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
1902 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
1904 * chartab.c (Freset_char_table): Don't blindly fill chartables of
1905 type `char' with nils.
1907 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
1908 for tables of type `char'.
1910 1998-11-26 Didier Verna <verna@inf.enst.fr>
1912 * input-method-xlib.c (Initialize_Locale): don't call
1913 XtSetLanguageProc. We've done the whole work here.
1914 * input-method-xfs.c (Initialize_Locale): ditto.
1915 * input-method-motif.c (Initialize_Locale): ditto.
1917 1998-11-26 Didier Verna <verna@inf.enst.fr>
1919 * process-unix.c (unix_create_process): handle properly
1920 Vfile_name_coding_system for converting the program and directory
1923 1998-11-27 SL Baur <steve@altair.xemacs.org>
1925 * m/arm.h: New file.
1926 From James LewisMoss <dres@ioa.com>
1928 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
1931 Fix the realpath() problem of UnixWare2.1.3.
1932 Patches for NEC's sysv4.2 machine.
1934 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1936 * dired.c (Fdirectory_files): Remove redundant code.
1938 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1940 * fns.c (free_malloced_ptr): New function.
1941 (XMALLOC_OR_ALLOCA): New macro.
1942 (XMALLOC_UNBIND): Ditto.
1943 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
1944 to be freed in case of non-local exit.
1945 (Fbase64_encode_string): Ditto.
1946 (Fbase64_decode_region): Ditto.
1947 (Fbase64_decode_string): Ditto.
1948 (STORE_BYTE): New macro.
1949 (base64_decode_1): Use it.
1951 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1953 * fns.c (base64_value_to_char): Base64 stuff.
1955 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
1957 * editfns.c (Fbuffer_substring): New function.
1959 * lisp.h: Declare make_string_from_buffer_no_extents().
1961 * insdel.c (make_string_from_buffer_1): New function.
1962 (make_string_from_buffer_no_extents): Ditto.
1964 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1966 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
1967 sound work on AIX with OSS installed. Linux should still work.
1969 1998-11-03 Andy Piper <andyp@parallax.co.uk>
1971 * config.h.in: name change for cygwin/version.h
1973 * configure.in: check for cygwin/version.h now.
1975 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
1976 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
1977 move cygwin32/version.h to cygwin/version.h
1979 1998-11-03 Olivier Galibert <galibert@pobox.com>
1981 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
1984 1998-10-22 Andy Piper <andyp@parallax.co.uk>
1986 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
1987 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
1988 enable BROKEN_SIGIO under b20 to make QUIT work.
1990 1998-10-22 Andy Piper <andyp@parallax.co.uk>
1992 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
1993 to fit within the constraints of the screen size. I.e. make the
1994 frame small enough to fit and move it if some of it will be
1997 1998-10-19 Greg Klanderman <greg@alphatech.com>
1999 * dired.c: conditionalize inclusion of user-name-completion
2000 primitives on non-Windows NT. The needed functions don't exist on NT.
2002 1998-11-24 SL Baur <steve@altair.xemacs.org>
2004 * gifrlib.h: Clean up types for 64 bit compile.
2005 * dgif_lib.c (DGifInitRead): Ditto.
2006 (MakeSavedImage): Ditto.
2007 * emacs.c (decode_path): Ditto.
2008 From Steve Carney <carney@pa.dec.com>
2010 1998-10-16 William M. Perry <wmperry@aventail.com>
2012 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
2013 (cehckboxes instead of checkboxes).
2015 1998-10-15 SL Baur <steve@altair.xemacs.org>
2017 * XEmacs 21.2-beta3 is released.
2019 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
2021 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
2022 gnuclient. Otherwise, we run xemacs as we always did. This gets
2023 rid of the annoying DOS window when running gnuclient.
2025 1998-10-13 Andy Piper <andyp@parallax.co.uk>
2027 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
2028 HAVE_MS_WINDOWS typo.
2030 1998-10-13 SL Baur <steve@altair.xemacs.org>
2032 * process-unix.c (unix_send_process): Set closed flag on writable
2033 pipe after SIGPIPE is received and before we call deactivate_process.
2035 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
2037 * window.c (Fset_window_start): respect narrowing when
2038 checking wheter start is at the beginning of a line.
2039 (Fset_window_buffer): Ditto
2040 Fixes repeatable crash in VM.
2042 1998-10-09 SL Baur <steve@altair.xemacs.org>
2044 * window.c (specifier_vars_of_window): Set default vertical
2045 divider width to 1 on ttys.
2047 1998-10-08 Martin Buchholz <martin@xemacs.org>
2052 Add <stddef.h> to get ptrdiff_t declaration
2054 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
2056 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
2057 is used for Motif or Lucid scrollbars under X.
2059 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
2061 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
2064 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
2066 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
2068 1998-10-05 Andy Piper <andyp@parallax.co.uk>
2070 * s/cygwin32.h: more cygwin b20 reorganisation.
2072 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
2074 * window.c (Fset_window_start): Document me.
2075 (Fset_window_buffer): Document me.
2076 Fixes some sort of repeatable crash.
2078 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
2080 * nas.c: Added necessary support functions to be able to handle
2081 WAVE files in memory, just like the support for SND files in
2084 1998-09-30 SL Baur <steve@altair.xemacs.org>
2086 * callproc.c (child_setup): Fix spelling typo.
2088 1998-09-29 SL Baur <steve@altair.xemacs.org>
2090 * XEmacs 21.2-beta2 is released.
2092 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
2094 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
2095 to prevent memory corruption in the case of jumping out of a series of
2096 nested match patterns. This is a rather brute force approach, though.
2098 1998-09-02 Andy Piper <andyp@parallax.co.uk>
2100 * config.h.in: ditto.
2102 * s/cygwin32.h: rearrange declarations to cope with cygwin
2103 b20. Include cygwin32/version.h if it exists.
2105 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
2107 * device-msw.c (mswindows_init_device): Call new
2108 mswindows_enumerate_fonts() function in objects-msw.c instead
2109 of font_enum_callback_1() to enumerate fonts.
2111 font_enum_callback_1() and _2() moved to objects-msw.c.
2113 * faces.c (complex_vars_of_faces): Make the mswindows default
2114 face font fully specified and provide some fallbacks.
2116 * objects-msw.c: font_enum_callback_1() and _2() moved here
2117 from objects-msw.c. Obtain the enumerated font's character
2118 sets by table lookup instead of using the locale-specific
2119 string provided by Windows.
2121 New public non-method mswindows_enumerate_fonts() that fills
2122 in the supplied mswindows device's font list.
2124 mswindows_initialize_font_instance: Use the supplied name
2125 variable instead of f->name when signalling errors. Match font
2126 weights and character sets using lookup tables which handle
2127 spaces instead of by frobbing.
2129 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
2131 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
2132 on the size of code fragments passed to run_in_other_process.
2134 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
2135 the amount of memory to allocate in the other process.
2137 Removed sigkill_code_end(), sigint_code_end() and
2138 sig_enable_code_end() since they are now redundant.
2140 send_signal() and enable_child_signals(): Don't try to work
2141 out the end of the code fragments passed to
2142 run_in_other_process()
2144 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2146 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
2149 * src/unexelf.c: Partially synched with FSF's 20.3.
2151 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
2153 * insdel.c (signal_after_change): Map across indirect buffers
2154 here, and not in the upper-level functions.
2155 (signal_first_change): Don't check for Armageddon.
2156 (signal_before_change): Map across indirect buffers here.
2157 (prepare_to_modify_buffer): ...and here.
2159 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
2161 * insdel.c (signal_after_change): Add return value.
2162 (buffer_insert_string_1): Use it.
2163 (buffer_delete_range): Ditto.
2164 (buffer_replace_char): Ditto.
2165 (cancel_multiple_change): Map the indirect buffers.
2167 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
2169 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
2170 (uninit_buffer_text): Ditto.
2172 * buffer.c (Fmake_indirect_buffer): Implement stricter
2175 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
2177 * insdel.c (change_function_restore): Reverse order of
2178 function-call and assignment.
2179 (first_change_hook_restore): Ditto.
2181 * extents.c (mark_extent_auxiliary): Mark them.
2182 (Fset_extent_property): Set them.
2183 (Fextent_property): Get them.
2184 (Fextent_properties): Ditto.
2185 (vars_of_extents): Set their default.
2187 * extents.h (struct extent_auxiliary): Add before_change_functions
2188 and after_change_functions.
2190 * insdel.c (signal_before_change): Use it.
2191 (signal_after_change): Ditto.
2193 * extents.c (report_extent_modification): New function.
2195 * insdel.c (signal_before_change): Don't check for Armageddon.
2196 (signal_after_change): Ditto.
2198 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
2200 * redisplay.c (redisplay_window): make sure a new starting point
2201 is chosen if it somehow got moved from the beginning of the line
2202 -- this can happen because Fwiden was called recently.
2204 * window.c (Fset_window_start): set start_at_line_beg correctly
2205 (Fset_window_buffer): Ditto
2207 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
2209 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
2210 (uninit_buffer_text): Ditto.
2212 * buffer.c (Fmake_indirect_buffer): Implement stricter
2215 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
2217 * emacs.c (main_1): Removed references to *vars_of_filelock.
2219 * lisp.h: Added Fsystem_name.
2221 * filelock.c: Replaced by version from FSF 20.2. Now implements
2222 locking by using symlinks which is NFS safe. However keep the
2223 GCPRO's in lock_file and the calls to callx_in_buffer like our old
2224 version (and of course use ansi C, acessor macros, etc).
2226 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
2228 * process-unix.c (unix_create_process): Reset SIGHUP handler to
2229 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
2230 in init_signals_very_early. However these should not be passed
2231 on to children attached to the new pty.
2233 1998-08-28 Andy Piper <andyp@parallax.co.uk>
2235 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
2237 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
2239 * fileio.c (file-name-directory, file_name_as_directory):
2240 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
2242 1998-09-02 Andy Piper <andyp@parallax.co.uk>
2244 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
2246 * ralloc.c: uncomment __morecore.
2248 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
2250 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
2251 WriteFile() to fix a winsock 1.x bug on Win95.
2253 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
2255 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
2257 (x_event_to_emacs_event): Ditto.
2258 (emacs_Xt_handle_focus_event): Ditto.
2259 (emacs_Xt_handle_magic_event): Ditto.
2261 * console-x.h (struct x_device): New flag being_deleted.
2262 (DEVICE_X_BEING_DELETED): New macro.
2264 * device-x.c (x_IO_error_handler): Throw to top-level instead of
2265 returning. Before doing that, set the being_deleted flag on the
2268 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
2270 * device-x.c (x-seppuku-on-epipe): Removed.
2272 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
2274 * frame-x.c (x_delete_frame): Flush the X output buffer after
2275 calling XtDestroyWidget to ensure that the windows are really
2278 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
2280 * menubar-x.c (my_run_hook): New unused function.
2281 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
2282 since we ignore the results of the contained functions anyway.
2284 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
2286 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
2287 interlaced GIF files that are smaller than 4 lines high...
2289 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
2291 * buffer.c (map_over_sharing_buffers): Deleted.
2293 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
2295 * buffer.c (Fkill_buffer): Keep indirect_children updated while
2298 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
2300 * insdel.c (buffer_insert_string_1): Advance the point bytind in
2302 (buffer_delete_range): Ditto.
2304 * marker.c (init_buffer_markers): Set point-marker to the value of
2305 point in an indirect buffer.
2307 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
2309 * undo.c (undo_prelude): Test last-undo-buffer against base
2312 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
2314 * buffer.h (BUFFER_BASE_BUFFER): New macro.
2316 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
2318 * insdel.c (init_buffer_text): Initialize it here.
2320 * line-number.c: Address line_number_cache through buffer->text.
2322 * buffer.c (mark_buffer): Mark line number cache.
2324 * bufslots.h (line_number_cache): Move to struct buffer_text.
2326 * insdel.c (buffer_insert_string_1): Propagate signals and changes
2327 across the children buffers.
2328 (buffer_delete_range): Ditto.
2329 (buffer_replace_char): Ditto.
2333 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
2335 * buffer.c (Fmake_indirect_buffer): Uncomment.
2337 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
2339 * macros.c (Fend_kbd_macro): Remove trailing period from error
2341 (Fexecute_kbd_macro): Ditto.
2343 1998-08-21 Greg Klanderman <greg@alphatech.com>
2345 * dired.c (Fuser_name_completion): remove optional 2nd argument.
2346 (Fuser_name_completion_1): new function to return uniqueness
2347 indication in addition to the user name completion.
2348 (user_name_completion): change type of `uniq' argument.
2350 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2352 * lread.c (vars_of_lread): Removed `source-directory' variable.
2354 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
2356 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
2359 1998-08-19 SL Baur <steve@altair.xemacs.org>
2361 * dired.c (vars_of_dired): Fix misapplied patch.
2363 1998-08-16 Martin Buchholz <martin@xemacs.org>
2365 * fns.c (Fremrassq, remrassq_no_quit):
2366 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
2368 1998-07-17 Didier Verna <verna@inf.enst.fr>
2370 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
2371 style as foreground GC for faces that have the `dim' property.
2372 (x_output_string): when the `dim' face property is set,
2373 ensure the gray pixmap has been created, and get a proper
2374 foreground GC to draw the text.
2376 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
2378 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
2379 Manually track the state of the left and right Ctrl and Alt
2382 1998-08-07 Matt Stupple <matts@tibco.com>
2384 * ntproc.c: don't wait on char_consumed at thread entry.
2385 Additionally, to get the 'process' marked as finished, ensure
2386 that the CHILD_ACTIVE macro returns false, so before exiting
2387 close char_avail and set it to NULL, and close other handles
2388 to reduce handle leak problems.
2390 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
2392 * menubar-msw.c (displayable_menu_item): take account of menu
2393 depth when deciding whether to try to display accelerators.
2395 1998-08-04 Andy Piper <andyp@parallax.co.uk>
2397 * event-msw.c: use MsgWaitForMultipleObjects if there are no
2400 * glyphs-msw.c: fix a couple of potential handle leaks.
2402 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
2404 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
2405 *decoding ONLY* back into the core.
2406 * glyphs-eimage.c: Change referenced header file for GIF
2407 reading to point to the incore version.
2409 1998-07-20 Martin Buchholz <martin@xemacs.org>
2411 * casefiddle.c (casify_object):
2412 Change algorithm from O(N**2) to O(N).
2416 1998-07-22 Greg Klanderman <greg@alphatech.com>
2418 * dired.c (file_name_completion_unwind): don't leak the cons.
2420 1998-07-20 Greg Klanderman <greg@alphatech.com>
2422 * dired.c (Fuser_name_completion): new function.
2423 (Fuser_name_all_completions): new function.
2424 (user_name_completion): new function.
2425 (syms_of_dired): 2 new DEFSUBRs.
2426 (vars_of_dired): initialize user name cache vars.
2428 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
2430 * glyphs-eimage.c (png_instantiate): Add proper handling for background
2431 colors taken from the default face. Also correct a thinko in
2432 transparency (not alpha) handling.
2434 1998-07-23 Martin Buchholz <martin@xemacs.org>
2436 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
2437 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
2438 * lread.c (Fload_internal): Be very careful with printfs of
2440 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
2443 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
2445 * callint.c (Fcall_interactively): GCPRO prompt string before
2446 passing it to Fread_key_sequence
2448 1998-07-27 SL Baur <steve@altair.xemacs.org>
2450 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
2451 Vvertical_divider_map.
2453 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
2454 Qnil or 0, none were initialized prior to this change.
2456 Rename misnamed `V' prefixed integer variables:
2457 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
2458 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
2459 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
2460 Vcanna_ichiran_revLen.
2462 Rename misnamed `V' prefixed integer variables and initialize
2463 properly in the vars_of routine.
2464 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
2465 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
2466 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
2467 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
2468 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
2469 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
2470 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
2471 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
2472 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
2473 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
2474 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
2475 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
2476 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
2477 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
2478 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
2479 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
2480 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
2481 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
2482 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
2483 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
2484 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
2485 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
2486 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
2487 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
2488 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
2489 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
2490 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
2491 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
2492 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
2493 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
2494 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
2495 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
2496 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
2497 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
2498 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
2499 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
2500 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
2501 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
2502 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
2503 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
2504 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
2505 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
2506 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
2507 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
2508 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
2509 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
2511 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
2513 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
2514 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
2515 keys thus no longer considering all keysyms on a key.
2517 1998-07-19 SL Baur <steve@altair.xemacs.org>
2519 * XEmacs 21.2-beta1 is released.
2521 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2523 * eldap.c (Fldap_search_internal): When converting the list of
2524 attributes to search Copy the final 0 from Lisp strings to C
2526 Check base, not Vldap_default_base as a a string
2528 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
2530 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
2532 * unexnt.c: Unconditionally define bss_start and bss_size, and
2533 ensure that they don't go in the .bss section.
2535 1998-07-17 Olivier Galibert <galibert@pobox.com>
2537 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
2538 byte order is dependant of the local byte order).
2539 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
2541 1998-07-18 SL Baur <steve@altair.xemacs.org>
2543 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
2544 Qmswindows_resource.
2545 From Jonathan Harris <jhar@tardis.ed.ac.uk>
2547 1998-07-12 SL Baur <steve@altair.xemacs.org>
2549 * general.c (syms_of_general): Add defsymbol for Qresource.
2551 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
2552 Qmswindows_resource.
2553 (TopLevel): Rename 'resource image format to 'mswindows_resource.
2554 (mswindows_resource_validate): Rename.
2555 (mswindows_resource_normalize): Rename.
2556 (mswindows_resource_possible_dest_types): Rename.
2557 (mswindows_resource_instantiate): Rename.
2558 (image_instantiator_format_create_glyphs_mswindows): Replace
2559 `resource' with `mswindows.resource'.
2561 * XEmacs 21.0-pre5 is released.
2563 1998-07-10 SL Baur <steve@altair.xemacs.org>
2565 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
2566 server type in environment.
2567 Use alloca-ed strings instead of tiny fixed size ones.
2569 1998-07-09 SL Baur <steve@altair.xemacs.org>
2571 * XEmacs 21.0-pre4 is released.
2573 1998-07-01 James N. Potts <jnpotts@plutonium.net>
2575 * fileio.c: (expand_file_name): under win32: Don't treat names
2576 as UNC names if a drive letter has been specified. If a drive
2577 has been specified, strip out extra directory-seperators that
2578 reportedly cause problems under Win95.
2580 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
2582 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
2583 MSVC >= 5.0. Put emacs init and zero-init data in a special
2584 section of the executable when this is defined.
2586 * unexnt.c, ntheap.h:
2587 Removed unused find_section() and get_section_size().
2590 Fix up the executable's checksum after dumping otherwise the
2592 When DUMP_SEPARATE_SECTION is defined, don't need to dump
2593 zero-init data separately from init data. Dump emacs data
2594 into a special section of the executable.
2595 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
2596 my_ebss instead of up to the end of bss.
2598 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
2600 * filelock.c: Removed Vconfigure_lock_directory - already
2603 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
2604 defined in frame.c and general.c respectively.
2606 * glyphs-msw.c: Removed Qresource - already defined in
2609 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2611 * eldap.c (Fldap_search_internal): Docstring fixes
2613 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
2615 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
2616 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
2617 EMACSPACKAGEPATH and INFOPATH variables.
2618 Removed unused get_emacs_configuration function.
2620 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
2621 it is now defined at build-time by the makefile.
2623 1998-07-01 James N. Potts <jnpotts@plutonium.net>
2625 * fileio.c: (expand_file_name): under win32: Don't treat names as
2626 UNC names if a drive letter has been specified. If a drive has
2627 been specified, strip out extra directory-seperators that
2628 reportedly cause problems under Win95.
2630 1998-07-05 Andy Piper <andyp@parallax.co.uk>
2632 * faces.c (complex_vars_of_faces): for the gui-element face don't
2633 fallback to the default face, instead provide reasonable default
2634 fallbacks that were previously hardcoded elsewhere.
2636 1998-07-06 Olivier Galibert <galibert@pobox.com>
2638 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
2639 when the X server endianness is different than the client's one.
2641 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
2643 * eval.c (run_hook_with_args_in_buffer): Check
2644 default (non-buffer-local) value of hook for
2645 nil before treating it as a function. Don't initialize
2646 the `globals' variable twice.
2648 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
2650 * fileio.c: Don't do directory seperator canonicalisation in
2651 substitute-in-file-name because we don't know that the
2652 filename refers to a local file.
2654 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
2656 * process-nt.c (nt_create_process): Try appending the standard
2657 executable file extensions to the filename if none supplied.
2659 1998-06-29 SL Baur <steve@altair.xemacs.org>
2661 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
2663 From Keisuke Mori <ksk@ntts.com>
2665 1998-06-24 Andy Piper <andyp@parallax.co.uk>
2667 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
2668 images if we have masks. This handles the xbm case (have masks)
2669 and avoids overuse of resources in the xpm case (generally no masks).
2670 Don't output small toolbars.
2672 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
2674 * eval.c (run_hook_with_args_in_buffer): Don't treat
2675 the default value of a buffer local hook as a list of
2676 hooks unless it is both a cons and the car of that cons
2679 1998-06-29 SL Baur <steve@altair.xemacs.org>
2681 * extents.c: Email address for Ben Wing is ben@xemacs.org.
2682 * process-unix.c: Ditto.
2683 * mule-coding.h: Ditto.
2684 * mule-coding.c: Ditto.
2685 * mule-charset.c: Ditto.
2686 * mule-charset.h: Ditto.
2687 * file-coding.c: Ditto.
2688 * file-coding.h: Ditto.
2690 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
2692 * event-msw.c: Guard against recursion when freeing
2693 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
2695 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
2696 Call ShowWindow twice in init_frame_3 to get round runemacs
2699 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
2701 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
2703 * winslots.h: Rename.
2705 * window.c (specifier_vars_of_window): Renamed
2706 vertical-divider-draggable-p to vertical-divider-always-visible-p,
2707 as suggested by Ben Wing.
2708 (specifier_vars_of_window): Fix docstrings.
2710 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2712 * unexaix.c: Line number information works correctly again.
2714 1998-06-22 Olivier Galibert <galibert@pobox.com>
2716 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
2718 1998-06-21 Martin Buchholz <martin@xemacs.org>
2720 * editfns.c (get_home_directory): ANSIfy.
2721 XEmacs is compilable under C *and* C++.
2722 It's XEmacs, not Xemacs!
2724 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
2726 * console-msw.h: added a list of fonts to device data.
2728 * device-msw.c: enumerate list of available fonts in
2729 mswindows_init_device. Free list in mswindows_delete_device.
2731 * objects-msw.c: Added helper function match_font used by
2732 mswindows_initialize_font_instance and mswindows_list_fonts.
2733 Allow a charset to be specified in a font string, even if
2734 previous fields havn't been specified.
2736 1998-06-23 Greg Klanderman <greg@alphatech.com>
2738 * indent.c (column_at_point): column cache bugfix.
2739 Set last_known_column_point to the buffer position for
2740 which the column was requested, not buffer's point.
2742 * redisplay.c (decode_mode_spec): for current-column, show
2743 window's point's column, not buffer's point's column.
2745 1998-06-23 Andy Piper <andyp@parallax.co.uk>
2747 * menubar-msw.c (mswindows_handle_wm_command): use
2748 enqueue_misc_user event rather than
2749 mswindows_enqueue_msic_user_event to fix customize problems. Add some
2752 * console-msw.h: declare mswindows_enqueue_magic_event.
2754 * event-msw.c (mswindows_enqueue_magic_event): make global.
2756 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
2758 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
2759 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
2760 (add_position_to_cache): Use EMACS_INT instead of int.
2762 1998-06-21 Olivier Galibert <galibert@pobox.com>
2764 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
2765 suitable for an int used as a boolean (btw, C sucks.).
2767 1998-06-18 Andy Piper <andyp@parallax.co.uk>
2769 * object-msw.c: remove warnings.
2771 * device-msw.c: #define wrongly named cygwin structure elements.
2773 * s/cygwin32.h: define DEMI_BOLD
2775 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
2777 * redisplay-msw.c: new function mswindows_apply_face_effects.
2778 This is called by output_string and output_cursor to display
2779 underline and strikeout on faces.
2781 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
2783 * console-msw.h: added a list of fonts to device data.
2785 * device-msw.c: enumerate list of available fonts in
2786 mswindows_init_device. Free list in mswindows_delete_device.
2788 * objects-msw.c: Added helper function match_font used by
2789 mswindows_initialize_font_instance and mswindows_list_fonts.
2790 Allow a charset to be specified in a font string, even if
2791 previous fields havn't been specified.
2793 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
2796 Removed compilation warnings from mswindows_string_to_color.
2797 mswindows_list_fonts returns a more general bogus font.
2798 New lisp-visible function mswindows-color-list.
2800 1998-06-19 David Bush <david.bush@adn.alcatel.com>
2802 * editfns.c (Fuser_login_name): Modify to user new function
2804 (user_login_name): C only function to avoid Lisp object overhead
2805 Returns "unknown" instead of nil in Cygwin environment
2807 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
2808 equivalent for current user in Cygwin environment. Use new
2809 function user_login_name to get username.
2811 * lisp.h: Declare user_login_name
2813 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2815 * unexaix.c (make_hdr): Fixed bias computations so debugging info
2817 Some other insignificant nitpicks.
2819 1998-06-18 Andy Piper <andyp@parallax.co.uk>
2821 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
2822 creating the image list and make sure he bk color is transparent.
2824 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
2826 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
2827 completed_timeouts. The timer could have expired.
2829 1998-06-17 Andy Piper <andyp@parallax.co.uk>
2831 * console-msw.h: move XEMACS_RECT_WH inside frame
2832 parameters. define macors to access it.
2834 * frame-msw.c (mswindows_init_frame_1): use new target_rect
2835 parameter to intialise desired sizing. (mswindows_init_frame_2):
2836 enable and size the frame to something sensible when we get
2837 here. (mswindows_set_frame_properites): use new
2838 mswindows_size_frame_internal function and size frame if frame
2839 parameters not just if init is finished - WM_SIZE happens too
2840 early for some specs. (mswindows_size_frame_internal): new
2841 function abstracted from mswindows_set_frame_properties.
2842 (Vmswindows_use_system_frame_size_defaults):
2843 new variable controls whether to allow the system to pick frame
2844 size defaults, defaults to nil.
2846 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
2847 than duplicated code.
2849 1998-06-15 Colin Rafferty <colin@xemacs.org>
2851 * Makefile.in.in: Made EXTW_LINK expand properly.
2853 1998-06-12 Martin Buchholz <martin@xemacs.org>
2855 * redisplay.c (vars_of_redisplay): default value of
2856 column-number-start-at-one should be NIL!
2858 1998-06-11 Martin Buchholz <martin@xemacs.org>
2861 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
2863 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
2865 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
2866 build_string to avoid crashes under Mule.
2868 1998-06-13 Andy Piper <andyp@parallax.co.uk>
2870 * ntplay.c (play_sound_data_1): don't delete the sound data until
2871 the next sound is played and the previous one finished.
2873 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
2875 * fileio.c (directory-sep-char): Escape backslashes.
2877 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
2879 * event-stream.c: Fix docstring reference.
2881 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
2883 * alloc.c (make_float): Remove useless initialization of `next'
2885 (make_pure_float): Ditto.
2887 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
2889 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
2891 * fileio.c (Fmake_directory_internal): Remove conditionals
2892 on WINDOWSNT when calling mkdir.
2894 * ntproc.c: Deleted the following unused functions:
2895 register_child, reap_subprocess, sys_wait.
2897 * nt.c (sys_rename): Ifzeroed this implementation.
2898 Deleted the following unused functions:
2899 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
2900 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
2901 sys_read, sys_write.
2902 Merger sys_fopen and sys_open with sysdep.c implementation.
2904 * sysdep.c: Removed MS-DOS code.
2905 (sys_rename): Deal with Microsoft rename weirdness.
2906 (sys_open): Implemented for Windows.
2910 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
2912 * buffer.c (complex_vars_of_buffer): Removed %t description from
2915 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
2917 * scrollbar-msw.c: initialize the cbSize element of the
2918 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
2919 to ignore the value of cbSize, but Win95 (and I presume Win98)
2920 appear to want it set to sizeof(SCROLLINFO).
2922 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
2924 * event-stream.c: Defined Qcancel_mode_internal.
2925 (syms_of_event_stream): defsymbol'ed it.
2927 * events.h: Externed it.
2929 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
2931 1998-06-04 Oliver Graf <ograf@fga.de>
2933 * frame-x.c (x_cde_destroy_callback): free the data
2934 (cde-start-drag-internal) corrected root position, 21.1 needs this
2935 hardcoded in Button events
2936 (offix-start-drag-internal) corrected root position
2938 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
2940 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
2943 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
2945 * dialog-msw.c (button_width): Removed `inline' from the function
2948 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
2950 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
2951 Note that adding this flag to subsequent frames causes problems.
2953 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
2955 * glyphs-eimage.c (png_instantiate) move 'struct
2956 png_memory_storage tbr' out of nested block to avoid dangling
2959 1998-06-02 Andy Piper <andyp@parallax.co.uk>
2962 * faces.c: rename 3d-object -> gui-element. add toolbar face which
2963 inherits from gui-element.
2965 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
2966 with existing code, generate masks correctly.
2968 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
2970 * glyphs-eimage.c: Changed included header for gifs to use
2971 Gifreader instead of giflib.
2973 * glyphs-x.c: removed the image-related functions that were
2974 moved into glyphs-eimage.
2976 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
2978 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
2979 if built without X Windows support.
2981 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
2983 * fns.c (Fconcat): Synch docstring with new reality.
2985 1998-06-03 SL Baur <steve@altair.xemacs.org>
2987 * frame.c: Remove reference to msdos.h (which is going away).
2988 Suggested by Hrvoje Niksic and Kirill Katsnelson.
2990 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
2992 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
2996 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
2998 * events.h: Fixed commentary about misc-user scrollbar events.
3000 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
3001 object as an event channel, instead of window object.
3002 (x_update_horizontal_scrollbar_callback): Ditto.
3004 1998-05-29 Andy Piper <andyp@parallax.co.uk>
3006 * ntplay.c (play_sound_data_1) new function. convert alloca data
3007 to malloc if necessary.
3008 (play_sound_file): if the file is not in our path then convert to
3011 1998-06-01 SL Baur <steve@altair.xemacs.org>
3013 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
3014 * msdos.c (Frecent_doskeys): Ditto.
3016 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
3017 Suggested by Reggie Perry <perry@zso.dec.com>
3019 * buffer.h: Eliminate size in declaration.
3021 1998-06-01 Olivier Galibert <galibert@pobox.com>
3023 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
3025 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
3027 * gui.c (gui_item_init): Changed the default value for config member
3028 from Qunbound to Qnil.
3030 1998-06-01 Greg Klanderman <greg@alphatech.com>
3032 * indent.c (vmotion_pixels): Don't #define abs().
3034 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3036 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
3039 1998-05-30 Andy Piper <andyp@parallax.co.uk>
3041 * glyphs.h: add xbm declarations.
3043 * console.h: add xbm_instantiate_method device method.
3045 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
3046 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
3047 (xbm_possible_dest_types): moved here from glyphs-x.c. use
3048 locate_pixmap_file device method and read_bitmap_data_from_file
3049 instead of XmuReadBitmapDataFromFile.
3050 (xbm_instatntiate): make a device method.
3052 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
3053 new function that just calls XmuReadBitmapDataFromFile.
3054 (x_xbm_instatntiate): device method from xbm_instantiate.
3056 * glyphs-msw.c (read_bitmap_data) (NextInt)
3057 (read_bitmap_data_from_file): new functions copied from Xmu
3059 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
3060 inline data to an mswindows bitmap.
3061 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
3062 (mswindows_xbm_instantiate): mswindows-ized versions of the X
3065 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3067 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
3068 `modeline-visible-p'.
3069 Declared specifier lisp variables at the beginning oh the file
3072 * procimpl.h (struct process_methods): Changed semantics of
3073 create_process method so it accepts lisp strings instead of
3076 * process.c (Fstart_process_internal): Moved building of
3077 unix style argv from here to process-unix.c, ...
3079 * process-unix.c (unix_create_process): ... right here.
3081 * process-nt.c (nt_create_process): Changed this function to
3082 support new semantics, so avoided a GC problem.
3084 * events.c (Fmake_event): Document misc-user events properties.
3085 (Fmake_event): Do not allow arbitrary objects for channel property
3086 of misc-user events.
3087 (Fmake_event): Change misc-user event validation: it is function
3088 which is required, not button.
3090 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
3092 (mswindows_enqueue_misc_user_event): Added function.
3093 (mswindows_bump_queue): Removed function.
3094 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
3095 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
3096 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
3097 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
3098 really nothing, which is my personal favorite thing.
3100 * console-msw.h: Removed prototype for mswindows_bump_queue().
3101 Added prototype for mswindows_enqueue_misc_user_event().
3103 * menubar-msw.c (mswindows_handle_wm_command): Use
3104 mswindows_enqueue_misc_user_event().
3106 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
3108 * dialog-msw.c (dialog_proc): Ditto.
3110 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
3111 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
3112 user events channel.
3114 1998-05-29 Greg Klanderman <greg@alphatech.com>
3116 * window.c (Fwindow_displayed_text_pixel_height): was relying on
3117 incorrect semantics of vmotion_pixels which has been fixed. don't
3118 use it anymore as it can't easily be used.
3120 * indent.c (vmotion_pixels): fix off by one bug moving up. also
3121 the motion was reported incorrectly if you tried to go past end of
3124 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3126 * toolbar.h: Removed misleading commentary, as Martin suggested.
3128 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3130 * lisp.h: Extern Qactivate_menubar_hook.
3132 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
3135 1998-05-29 Andy Piper <andyp@parallax.co.uk>
3137 * glyphs-msw.c: use BPLINE macro.
3139 * select-msw.c (mswindows-selection-exists-p)
3140 (mswindows-delete-selection): doc string fixes.
3142 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
3143 unpressable. warning elimination.
3145 1998-05-28 Martin Buchholz <martin@xemacs.org>
3147 * alloc.c (dbg_constants):
3150 Remove toolbar_data debugging code, since that lrecord has
3153 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
3155 * alloc.c: zap cached value of (user-home-directory), so that
3158 * buffer.c: From init_buffer(), separated out code that
3159 determined the initial directory for the *scratch* buffer, and
3160 put them into a function called "init_initial_directory()".
3161 The initial directory is now available as a global "char *"
3162 called initial_directory.
3164 * buffer.h: Added extern entries for initial_directory[] and
3165 init_initial_directory().
3167 * editfns.c: added new elisp function "user-home-directory",
3168 which basically returns getenv("HOME"), but attempts to use
3169 other values if $HOME isn't set.This may have to be tweaked in
3170 the future as, under Unix, "/" is used if $HOME isn't set (this
3171 probably should be set to the current directory). To support
3172 this, a new C function, "get_home_directory()", now exists,
3173 which returns the "home directory", as a "char *" string.
3175 * emacs.c: Rearrange NT initialization order so that
3176 environment/registry variables will be properly entered into
3177 Vprocess_enviroment.
3179 * fileio.c: replaced egetenv("HOME") with calls to the new
3180 get_home_directory().
3182 * lisp.h: Added function prototypes for uncache_home_directory()
3183 and get_home_directory(), along with lisp prototypes for
3184 Fuser_home_directory() and friends.
3186 * nt.c: replaced getenv("HOME") with calls to the new
3187 get_home_directory().
3189 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
3190 warnings about getcwd(), etc. not having prototypes.
3192 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
3194 * process-nt.c (send_signal): Emulate SIGHUP.
3195 (validate_signal_number): Ditto.
3197 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
3198 remove MOD_SHIFT from ASCII characters.
3199 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
3202 1998-05-24 Oliver Graf <ograf@fga.de>
3204 * frame-x.c (cde-start-drag-internal): added filename and multi-
3206 (x_cde_convert_callback) dito
3208 1998-05-26 Oliver Graf <ograf@fga.de>
3210 * frame-x.c: include event-mod.h also with CDE
3211 (x_cde_convert_callback) made the thing working
3212 (cde-start-drag-internal) also debugging
3214 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
3221 - add __OpenBSD__ where __NetBSD__ was found.
3222 - TODO: replace platform-specific conditional compilation by
3223 feature tests in configure.in.
3225 1998-05-15 Greg Klanderman <greg@alphatech.com>
3227 * window.c (Fwindow_displayed_text_pixel_height): New function.
3228 (syms_of_window): DEFSUBR it.
3230 * indent.c (Fvertical_motion_pixels): New function - request
3232 (vmotion_pixels): helper.
3233 (syms_of_indent): DEFSUBR.
3234 * lisp.h: declaration for vmotion_pixels().
3236 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
3237 to request returning motion in pixels.
3238 (Fvertical_motion_pixels): Remove, functionality merged into
3240 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
3241 (Fmove_to_window_line): ditto.
3242 * lisp.h: Change declaration for Fvertical_motion.
3244 * window.c: rename window-text-pixel-{height,width,edges} to
3245 window-text-area-pixel-*.
3247 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3249 * tooltalk.c (vars_of_tooltalk) added staticpro for
3250 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
3252 1998-05-27 Andy Piper <andyp@parallax.co.uk>
3254 * faces.c: create a new 3d_object_face, make modeline and
3255 vertical_divider faces fallback to this rather than the default.
3257 1998-05-21 Andy Piper <andyp@parallax.co.uk>
3259 * s/cygwin32.h: define charsets for cygwin.
3261 1998-05-25 Andy Piper <andyp@parallax.co.uk>
3263 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
3264 and coordinates. resize bitmaps if we have already settled on a
3267 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
3269 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
3271 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
3273 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
3277 * gui-x.c (popup_selection_callback): Ditto.
3279 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
3281 * gui.c (get_callback): Renamed to get_gui_callback.
3283 1998-05-17 Martin Buchholz <martin@xemacs.org>
3285 * glyphs.h: order rearrangement.
3287 * device-tty.c (tty_asynch_device_change): Warning suppression.
3288 * device-x.c (x_device_system_metrics): Warning suppression.
3289 Make Doc strings consistent with coding standards.
3291 1998-05-24 Martin Buchholz <martin@xemacs.org>
3293 * general.c: multiple definition of `Qicon'. general.c seems
3294 like a good home for Qicon.
3296 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
3298 * This patch is to fix compilation warnings under Windows.
3300 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
3301 Added prototypes for FSF inherited functions, with which XEmacs is
3302 sprinkled thoroughly.
3303 Removed some #if 0 code. Bracketed some more definitions, probably
3304 related to Visual C versions prior to 4 (we do not support them).
3306 * sysfloat.h (logb): Finally, get logb() prototyped.
3308 * sysfile.h: Added Windows specific includes.
3309 Removed old Windows specific code bracketed with #if 0.
3311 * sysdep.h: Added prototype for xrealpath().
3313 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
3315 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
3316 vars_of_dired_mswindows and init_ntproc (Grrr).
3318 * realpath.c: Added Windows specific include files.
3319 (xrealpath): Conditionalized declaration of some auto variables on
3320 S_IFLNK, to avoid warnings.
3322 * ntproc.c: Disabled some compiler warnings. This file is going to
3323 die, so I have not cleaned it up much.
3324 (set_process_dir): Const parameter.
3325 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
3326 (Fwin32_long_file_name): Ditto.
3327 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
3330 * nt.h: Added prototypes for set_process_dir and convert_time.
3332 * nt.c: More include files.
3333 (getpwnam): Consted char* argument.
3334 (get_emacs_configuration): Const return value.
3335 (opendir): Const argument.
3336 (stat): Casted converstion long->short.
3337 (stat): Removed ad hoc and questionable support for non-MSC compile.
3338 (sys_pipe): Removed unused auto variable.
3339 (_sys_read_ahead): Removed calls to DebPrint.
3340 (sys_read): Ditto, in 2 places.
3341 (term_ntproc): Added unused int parameter to signal handler, to
3342 avoid a warning when compiling a call to signal().
3343 (msw_sigset): Properly return old signandler or NULL instead of void.
3345 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
3347 * gmalloc.c (morecore): Ditto.
3348 (_free_internal): Ditto.
3350 * lread.c (parse_integer): Ditto.
3352 * dired-msw.c: Added several include files.
3354 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
3355 of Compilers to Shut Up.
3357 * callproc.c: Added #includes to suppress warnings under Windows.
3358 (init_callproc): Removed #if0'ed code and unused variables.
3360 1998-05-25 Andy Piper <andyp@parallax.co.uk>
3362 * device-msw.c (mswindows_device_system_metrics): do planes in a
3363 way consistent with X.
3365 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
3366 use SetPixel, use DIBits functions.
3367 (xpm_to_eimage): frob colors more closely like xpm deos.
3369 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
3370 to be closer to X version.
3372 * event-msw.c: use tooltip string directly.
3374 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
3376 * objects-msw.c: frob rgb colors that only Kyle uses.
3378 * dialog-msw.c (button_width): INLINE -> inline.
3380 1998-05-23 SL Baur <steve@altair.xemacs.org>
3382 * getloadavg.c (getloadavg): Fix typo.
3384 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
3386 * objects-msw.c (mswindows_initialize_font_instance): Added support
3387 for font character sets.
3388 Replaced 'XXX' with '####' in comments throughout the file.
3390 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
3392 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
3393 console_type_create_dialog_mswindows(), to initialize Windows dialog
3396 * symsinit.h: Prototyped the above functions.
3398 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
3399 checks to dialog.c...
3401 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
3402 device must support dialog boxes, and the descriptor must supply at
3405 * dialog-msw.c: New file, dialogs for Windows.
3407 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3409 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
3410 (Fldap_search_internal): Removed unused variable `err'
3412 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
3415 1998-05-17 Martin Buchholz <martin@xemacs.org>
3417 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
3418 defined. Therefore there is no need to handle the case when
3419 HAVE_LDAP is undefined. Similarily, there is no reason to have
3420 any code wrapped within `#ifdef emacs', since this code is only
3421 useful within an emacs. This simplifies the code significantly.
3423 * inline.c: Include eldap.h only if HAVE_LDAP.
3424 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
3427 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
3429 * unexnt.c (copy_executable_and_dump_data_section): Suppress
3430 printing dump stats when building without DEBUG_XEMACS.
3431 (dump_bss_and_heap): Ditto.
3433 1998-05-21 Andy Piper <andyp@parallax.co.uk>
3435 * gnuclient.c: don't suppress window system if there is no display
3436 and we are running under mswindows. send 'mswindows device type if
3437 we are in this situation.
3439 1998-05-20 Andy Piper <andyp@parallax.co.uk>
3442 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
3444 * glyphs-msw.c: change cursor imgae type name to resource. Fix
3447 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
3449 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
3450 {top,bottom}-{left,right} values in addition to
3451 {top,bottom}_{left,right}.
3453 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
3455 * fileio.c (Fmake_temp_name): Remove unreached code.
3457 * process-nt.c (validate_signal_number): Use
3458 signal_simple_error().
3460 1998-05-19 Martin Buchholz <martin@xemacs.org>
3463 * sound.c (vars_of_sound):
3464 * sysdep.c (reset_sigio_on_device):
3465 * window.c (window_bottom_gutter_height):
3466 unexhp9k800.c:258: warning: implicit declaration of function
3467 `calculate_checksum'
3468 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
3469 sysdep.c:1012: warning: unused variable `owner'
3470 window.c:993: warning: `window_right_toolbar_width' defined but not used
3472 1998-05-19 Andy Piper <andyp@parallax.co.uk>
3474 * glyphs-msw.c (mswindows_create_resized_mask)
3475 (mswindows_create_resized_bitmap): new funnctions split out from
3476 mswindows_resize_dibitmap_instance.
3478 * glyphs-msw.h: declare new resize functions.
3480 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
3481 functions so that the original bitmaps are preserved.
3483 * sheap.c: fixup static heap exhausted error to avoid FAQs.
3485 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
3486 color if we are trying to output 0 depth bg pixmap.
3488 * scrollbar-msw.c: warning elimination.
3490 1998-05-18 Martin Buchholz <martin@xemacs.org>
3492 * frame-x.c (x_update_frame_external_traits): Start preprocessor
3493 directives in column 1.
3495 * search.c (skip_chars): Avoid using xzero with arrays, since some
3496 compilers get confused by the construct &array.
3498 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
3501 * objects-msw.c: Changed the charset value for a new font from
3502 "don't care" to "ansi".
3504 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
3506 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
3508 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
3509 modifier on control chars.
3510 Use IsCharAlpha() instead of isaplha().
3512 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3514 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
3516 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
3518 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
3519 charset when creating font.
3520 (mswindows_initialize_color_instance): Do not create brush along
3522 (mswindows_finalize_color_instance): Do not delete it then.
3524 * objects-msw.h (struct mswindows_color_instance_data): Removed
3525 brush slot, and corresponding accessor macro.
3527 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
3529 * toolbar.c: Removed toolbar_data lrecord implementation.
3530 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
3531 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
3532 (compute_frame_toolbar_buttons): Ditto.
3533 (CHECK_TOOLBAR): Ditto.
3534 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
3535 (update_frame_toolbars): Do not check for changed buffer
3536 here. Toolbar information is provided by cached specs in
3537 windows. The check for buffer is eliminated becuase toolbars are
3538 marked changed in set_frame_selected_window() in frame.c
3539 Added check for changed toolbars geometry.
3540 (compute_frame_toolbars_data): Removed unused second parameter;
3541 Adjusted callers of this static function throughout the file.
3542 (init_frame_toolbars): Initialize current_toolbar_size.
3543 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
3544 what is its current expansion, for clarity.
3545 (init_frame_toolbars): Ditto.
3546 (init_device_toolbars): Ditto.
3547 (init_global_toolbars): Ditto.
3549 * toolbar.h: Removed definition of toolbar_data lrecord.
3550 Added accessor macros FRAME_TOOLBAR_BUTTONS and
3551 FRAME_CURRENT_TOOLBAR_SIZE.
3552 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
3554 * toolbar-x.c (x_output_toolbar): The same change as in
3556 (x_output_toolbar): Ditto.
3557 (x_redraw_exposed_toolbar): Ditto.
3559 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
3560 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
3561 (mswindows_output_toolbar): Ditto.
3562 (mswindows_output_toolbar): Ditto.
3564 * frame.c (mark_frame): Removed marking of arrays, according to
3565 frameslots.h change.
3566 (nuke_all_frame_slots): Ditto.
3567 (set_frame_selected_window): Mark toolbars changed when
3568 last_nonminibuf_window changes.
3570 * frame.h (struct frame): Moved some slots to frameslots.h.
3571 Added current_toolbar_size array.
3572 Changed references from toolbar_data to toolbar_buttons in macros
3573 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
3574 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
3575 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
3577 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
3578 Moved arrays of lisp objects here from frame.h: toolbar_size,
3579 toolbar_visible_p, toolbar_border_width.
3580 Removed toolbar_data slot and added toolbar_buttons.
3582 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
3584 * symsinit.h: Externed syms_of_process_nt()
3586 * emacs.c (main_1): Call syms_of_process_nt()
3588 * process-nt.c: Quote process arguments by a call to Lisp function
3589 `nt-quote-process-args'.
3590 (syms_of_process_nt): New function.
3591 (nt_send_process): Flush data stream after each write, to avoid
3592 leaving buffered data.
3593 (nt_send_process): When blocked on process output, wait for
3594 process to slurp more for progressively increasing time intervals.
3596 1998-05-17 Martin Buchholz <martin@xemacs.org>
3598 * window.c (have_undivided_common_edge): Make file-local function
3600 (map_windows): Return 0 if all map functions successful.
3603 * winslots.h: Use unlikely names for local variables in macros to
3604 avoid shadowing warnings.
3606 1998-05-17 Andy Piper <andyp@parallax.co.uk>
3608 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
3609 so that we re-output if the toolbar size has changed.
3611 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3613 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
3615 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
3617 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
3620 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
3622 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
3623 get bitmap manifest constants defined.
3625 * console-msw.h: Include system files in angle brackets, not in
3628 * window.c (specifier_vars_of_window): Fixed a typo in
3629 `vertical-divider-line-width' docstirng.
3631 1998-05-16 Olivier Galibert <galibert@pobox.com>
3633 * line-number.c (delete_invalidate_line_number_cache): Use an
3635 (buffer_line_number): Remove dangerous, plain wrong when using
3636 64bits emacs ints, cast.
3638 * insdel.c (buffer_delete_range): Use an EMACS_INT.
3640 * cmds.c (Fforward_line): Use EMACS_INTs.
3642 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
3643 (scan_buffer): Ditto.
3644 (bi_find_next_newline_no_quit): Remove useless cast.
3645 (find_next_newline_no_quit): Ditto.
3646 (find_next_newline): Ditto.
3647 (find_before_next_newline): Use an EMACS_INT.
3649 * lisp.h: Change scan_buffer to pass EMACS_INTs.
3651 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
3653 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
3655 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
3657 * gui-x.c (popup_selection_callback): Use it.
3659 * gui.h (get_callback): Declare it.
3661 * gui.c (get_callback): New function.
3663 1998-05-15 SL Baur <steve@altair.xemacs.org>
3665 * window.c (have_undivided_common_edge): Guard scrollbar specific
3667 (window_needs_vertical_divider_1): Ditto.
3669 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
3671 * emacs.c (decode_path): Eliminate compiler warning.
3672 (Fdecode_path): Renamed to Fsplit_path.
3673 (Fsplit_string_by_char): New function.
3675 1998-05-14 Damon Lipparelli <lipp@primus.com>
3677 * winslots.h: close comment
3679 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
3681 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
3683 * bufslots.h: Removed buffer_file_type slot.
3685 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
3687 (complex_vars_of_buffer): Removed buffer-file-type variable and
3688 its default reference.
3690 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
3692 * faces.c (complex_vars_of_faces): Defined
3693 Vvertical_divider_face.
3694 (vars_of_faces): Staticpro it.
3696 * faces.h: Externed Vvertical_divider_face.
3698 * redisplay-x.c (x_output_vertical_divider): Use
3699 Vvertical_divider_face to draw the divider instead of modeline
3702 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
3703 divider face using Vvertical_divider_face background.
3704 Fix drawing spacing gaps around the divider.
3706 1998-05-14 Didier Verna <verna@inf.enst.fr>
3708 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
3709 values for the vertical divider line width and spacing. Use the
3710 cached values from the window structure instead.
3711 (x_divider_width): ditto.
3713 * window.c (specifier_vars_of_window): new specifiers:
3714 vertical-divier -line-width and -spacing.
3715 (vertical_divider_global_width_changed): formerly known as
3716 vertical_divider_shadow_thickness_changed.
3718 * winslots.h: new slots: vertical_specifier _line_width and
3719 _spacing. Plus corrected a comment typo.
3721 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
3723 * window.h: Declared window_divider_width().
3725 * console-stream.c (stream_divider_width): Removed method.
3726 (console_type_create_stream): And declaration for it.
3728 * redisplay.c (pixel_to_glyph_translation): Use
3729 window_divider_width() instead of divider_width redisplay method.
3730 (pixel_to_glyph_translation): Fix top divider edge calculation
3731 when scrollbar is on top.
3733 * window.c (window_divider_width): New function, an outphaser for
3734 divider_width redisplay method.
3735 (window_right_gutter_width): Use it.
3736 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
3737 specifiers, set fallback values differently on TTYs, and document
3738 the behavior of these on TTYs in the docstrings.
3740 * scrollbar.c (update_scrollbar_instance): Use
3741 window_divider_width() instead of divider_width redisplay method.
3743 * console.h (struct console_methods): Removed divider_width_method.
3745 * redisplay-tty.c (tty_divider_width): Removed device method.
3746 (console_type_create_redisplay_tty): Removed definition for it.
3747 (tty_output_vertical_divider): Respect the value returned by
3748 window_divider_width thus divider line width specification.
3750 * redisplay-msw.c (mswindows_divider_width): Removed device method.
3751 (console_type_create_redisplay_mswindows): Removed definition for it.
3752 (mswinodws_output_vertical_divider): Respect the value returned by
3753 window_divider_width thus divider line width specification.
3755 1998-05-15 Andy Piper <andyp@parallax.co.uk>
3757 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
3759 1998-05-15 Andy Piper <andyp@parallax.co.uk>
3761 * glyphs-msw.c: resource loading implementation.
3762 (cursor_normalize): new function.
3763 (cursor_validate): ditto.
3764 (cursor_instantiate): ditto.
3765 (cursor_name_to_resource): ditto.
3766 (cursor_possible_dest_types): ditto.
3767 (check_valid_symbol): ditto.
3768 (check_valid_string_or_int): ditto.
3770 1998-05-14 Martin Buchholz <martin@xemacs.org>
3772 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
3775 * process-unix.c (process_signal_char): Use VSUSP instead of
3776 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
3778 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
3780 * specifier.c (specifier_instance): Change locale precedence of
3781 instantiation so window locale has higher priority than buffer
3783 (Fspecifier_instance): Reflect this in docstring.
3784 (Fadd_spec_list_to_specifier): Ditto.
3785 (Fadd_spec_to_specifier): Ditto.
3786 (Fremove_specifier): Ditto.
3788 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
3790 ** Dialog separation into a device method from Andy Piper
3792 * emacs.c (main_1): Call console_type_create_dialog_x().
3794 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
3795 into this device method.
3796 (console_type_create_dialog_x): New function.
3798 * dialog.c (Fpopup_dialog_box): New function.
3799 (syms_of_dialog): Defsubr it.
3801 * console.h (struct console_methods): Declared
3802 popup_dialog_box_method().
3804 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
3806 1998-05-14 Oliver Graf <ograf@fga.de>
3808 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
3809 * frame-x.c (x_cde_transfer_callback): checked for merge errors
3811 1998-05-13 Oliver Graf <ograf@fga.de>
3813 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
3815 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
3817 * console.h (device_metrics): Removed dbcs, input-method-editor
3818 and right-to-left metrics.
3820 * device.c (Fdevice_system_metric): Ditto.
3821 (Fdevice_system_metrics): Ditto.
3822 (syms_of_device): Ditto.
3823 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
3826 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
3828 * line-number.h (mark_line_number_cache): Remove unused
3831 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
3832 (get_nearest_line_number): Simplify.
3833 (add_position_to_cache): Make the old marker point nowhere.
3835 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
3837 ** Renamed window-divider-map => vertical-divider-map
3838 and event-over-divider-p => event-over-vertical-divider-p,
3839 in the following files/functions:
3841 * events.c (Fevent_over_divider_p):
3842 * keymap.c (get_relevant_keymaps):
3845 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
3847 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
3849 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
3851 * window.c (vertical_divider_changed_in_window): Renamed so.
3852 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
3853 (window_needs_vertical_divider_1): Decide whether we need it based
3854 on the value of the above specifier. If separators are unwanted,
3855 put them only if there's no scrollbar between this window and its
3857 (have_undivided_common_edge): New function, helper for the above.
3858 (window_needs_vertical_divider): Return either a cached value,
3859 or clauclate and cache one.
3860 (invalidate_vertical_divider_cache_in_window): Implemented.
3861 (map_windows): Changed return type to int, return the value from
3864 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
3865 (struct window): Added need_vertical_divider_p and
3866 need_vertical_divider_valid_p.
3868 * winslots.h: Added vertical_divider_draggable_p slot.
3870 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
3871 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
3873 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
3875 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
3876 invalidate_vertical_divider_cache_in_frame().
3879 1998-05-14 Andy Piper <andyp@parallax.co.uk>
3881 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
3883 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
3884 masks correctly and don't select 0.
3886 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
3888 * winslots.h: New file, declaration of some struct window and
3889 struct saved_window members.
3891 * window.h (struct window): Include it, with required preprocessor
3894 * window.c (mark_window): Ditto.
3895 (allocate_window): Ditto.
3896 (struct saved_window): Ditto.
3897 (mark_window_config): Ditto.
3898 (saved_window_equal): Ditto.
3899 (Fset_window_configuration): Ditto.
3901 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
3903 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
3905 1998-05-12 Didier Verna <verna@inf.enst.fr>
3907 * redisplay-x.c (x_output_vertical_divider): draw shadows around
3908 the divider line. The shadow thickness is currently
3909 hard-wired. This will probably be turned into a specifier soon.
3911 1998-05-12 Didier Verna <verna@inf.enst.fr>
3913 * console.h (struct console_methods): the divider_width console
3914 method now requires a struct window * argument.
3916 * redisplay-x.c (x_divider_width): ditto. Plus remove
3917 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
3918 (x_output_vertical_divider): give a depressed look when the shadow
3919 thickness is negative.
3921 * console-stream.c (stream_divider_width): pass a struct window *
3924 * redisplay-tty.c (tty_divider_width): ditto.
3926 * window.c (window_right_gutter_width): totdi.
3928 * redisplay.c (generate_modeline): ittod.
3930 * scrollbar.c (update_scrollbar_instance): ttido.
3932 * redisplay-msw.c (mswindows_divider_width): ottid.
3933 WARNING: this enables to compile, but the feature is not functional.
3935 * window.h (struct window): new field
3936 vertical_divider_shadow_thickness.
3938 * window.c (specifier_vars_of_window): new specifier
3939 vertical-divider-shadow-thickness.
3940 (vertical_divider_shadow_thickness_changed): new function to
3941 inform redisplay that the window has changed.
3942 (mark_window): handle new field vertical_divider_shadow_thickness
3944 (allocate_window): ditto.
3945 (saved_window_equal): toddi.
3946 (Fset_window_configuration): totid.
3947 (save_window_save): ttdio.
3948 (struct saved_window): new field vertical_divider_shadow_thickness.
3950 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
3952 * device-msw.c (mswindows_device_system_metrics): Support a deluge
3955 1998-05-12 Oliver Graf <ograf@fga.de>
3957 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
3958 * event-Xt.c (x_event_to_emacs_event): C++ compability
3960 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
3962 * emacs.c (Fdecode_path): Default SEPCHAR to value of
3965 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
3967 * emacs.c (vars_of_emacs): Do it here; change the meaning of
3970 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
3972 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
3974 * emacs.c (decode_path_1): New function.
3975 (decode_path): Use it.
3976 (Fdecode_path): Renamed from Fdecode_path_internal; use
3979 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
3981 * macros.c (Fzap_last_kbd_macro_event): New function.
3982 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
3984 1998-05-10 Andy Piper <andyp@parallax.co.uk>
3986 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
3987 multiple bitmaps are output vertically as well as horizontally.
3988 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
3989 crossing lines this is handled by
3990 mswindows_output_dibitmap_region.
3992 1998-05-12 Martin Buchholz <martin@xemacs.org>
3994 * inline.c: Include eldap.h
3996 * menubar-x.c (x_update_frame_menubar_internal):
3997 Remove: unused variable `container'
3999 1998-05-11 Martin Buchholz <martin@xemacs.org>
4001 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
4002 Unfortunately, the resulting temacs still cannot dump.
4004 * symbols.c (symbol_is_constant):
4005 (verify_ok_for_buffer_local):
4006 -Wswitch Warning suppression - add default case to switches.
4008 * redisplay.c (decode_mode_spec): Remove unused variables,
4009 Replace Fcoding_system_property (codesys, Qmnemonic) with
4010 XCODING_SYSTEM_MNEMONIC (codesys);
4011 Fcoding_system_property is for users.
4017 Change empty docstrings into no doc strings at all.
4018 Fix bogus FSF-format docstrings.
4021 Standardize docstrings.
4024 Explain problems with matherr.
4026 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
4029 if BROKEN_SIGIO, then SIGIO wants to be undefined.
4030 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
4031 Fix the weird resultant interaction (causes windows problems)
4035 Take new EMACSBOOTSTRAPLOADPATH into account.
4036 Update documentation strings
4039 - Adjust for luser's CDPATH being set to something weird.
4040 - Take into account bash 2.02's tendency to print the cwd when
4041 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
4042 - fix the run-temacs target to use $(DUMPENV)
4043 - fix the run-puremacs target to use $(DUMPENV)
4044 - fix the `depend' target to properly $(RM) the right files
4045 - Generate a better TAGS file for XEmacs' lisp code using
4046 hand-crafted regexps.
4047 - Use standard coding conventions for modules/Makefile.in
4049 1998-05-12 Didier Verna <verna@inf.enst.fr>
4051 * redisplay.c: removed the scrolling modeline code that didn't
4052 make it for 21.0. To be continued ...
4054 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4056 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
4057 and empty string inputs.
4059 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
4061 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
4063 1998-05-10 Oliver Graf <ograf@fga.de>
4065 * event-stream.c (enqueue_misc_user_event_pos): created
4066 * lisp.h (enqueue_misc_user_event_pos): prototype added
4067 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
4068 * emacs.c: call vars_of_dragdrop
4069 * dragdrop.c (vars_of_dragdrop): provide dragdrop
4071 1998-05-11 Oliver Graf <ograf@fga.de>
4073 * frame-x.c (x_cde_transfer_callback): return at correct pos
4074 * event-Xt.c (x_event_to_emacs_event): changed format of drop
4075 object for MIME (see comment in dragdrop.c)
4076 * dragdrop.c: API change documented in comment
4077 removed provide of dragdrop [is provided by dragdrop.el]
4079 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
4081 * window.c (window_needs_vertical_divider): Enable vertical
4082 dividers for every non-rightmost window.
4083 (window_left_gutter_width): Left gutter consists of mythical
4084 toolbar and a virtual scrollbar.
4085 (window_right_gutter_width): The right one may have a divider
4088 * scrollbar.c (update_scrollbar_instance): Position vertical
4089 scrollbar left to divider if the latter present.
4091 * redisplay.h: Declared OVER_DIVIER constant.
4093 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
4096 * redisplay-x.c (x_output_vertical_divider): Output divider along
4097 the right side of the window, down to window bottom. Swapped
4098 foreground and background colors so it is visible by default.
4100 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
4101 stick the divider to the right window side.
4103 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
4105 (mswindows_divider_width): Ask system for user preferred value.
4106 (mswindows_output_vertical_divider): Always output the divider on
4107 the right side of a window, down to bottom.
4109 * keymap.c (get_relevant_keymaps): Route mouse button events which
4110 happened over a window divider through window-divider-map.
4111 (Fkey_binding): Documented that in the docstring.
4112 Defined the variable Vwindow_divider_map.
4114 * events.c (Fevent_over_divider_p): Added this function.
4116 * events.h: EXFUNed it.
4118 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
4120 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
4121 toolbar geometry is suspected to change.
4123 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
4127 Condition dnd and dde code on HAVE_DRAGNDROP.
4129 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
4131 * events.c (format_event_object): Print space as SPC etc.
4133 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
4135 * print.c (print_internal): In the default case, abort() if
4136 ERROR_CHECK_TYPECHECK.
4138 * fileio.c (Fmake_temp_name): Doc fix.
4140 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
4142 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
4144 * undo.c (Fprimitive_undo): Fixed typo.
4146 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
4148 * fns.c (concat): Signal error on integer argument.
4150 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
4152 * console.h (device_metrics): Prefixed each constatnt with DM_
4154 * device.c: (Fdevice_system_metric): Renamed so from plural form
4155 (metrics); Changed parameters order and added DEFAULT parameter;
4156 Unabbreviated some metric constants; Fixed and untabified doc string.
4157 (Fdevice_system_metrics): Added. Returns a plist of all provided
4160 * device-msw.c (mswindows_device_system_metrics): Renamed
4161 device_metrics enum constants.
4162 Return Qunbound instead of Qnil.
4164 * device-tty.c (tty_device_system_metrics): Ditto.
4166 * device-x.c (x_device_system_metrics): Ditto.
4168 1998-05-10 Andy Piper <andyp@parallax.co.uk>
4170 * redisplay-msw.c: implement background pixmaps (really!). Make
4171 sure bg color is transparent if we have bg pmaps.
4172 * (mswindows_output_string) (mswindows_clear_region): output bg
4174 * (mswindows_output_dibitmap_region): new function.
4175 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
4176 the bg color rather than transparently.
4178 * toolbar-msw.c: use masks if they exist.
4180 * glyphs-msw.c: set up masks correctly.
4182 * event-msw.c: typedef SOCKET if cygwin and not msg select().
4184 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
4186 * regex.c (re_match_2_internal): Check for quit.
4188 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
4190 * frame.c (Ffocus_frame): New function.