1 1998-05-06 Oliver Graf <ograf@fga.de>
3 * Makefile.in.in: removed dragdrop.o from objs
4 * config.h.in: HAVE_DRAGNDROP added
5 * emacs.c: do syms_of_dragdrop only if HAVE_DRAGNDROP is defined
6 * event-Xt.c: dragdrop.h include now depends on HAVE_DRAGNDROP
7 changed calls to dnd_url_hexify_string
8 MIME data is now a list of MIME strings or lists
9 this was required by CDE, and a good idea in any case
10 * dragdrop.c (dnd_url_hexify_string): method prefix code added
11 * dragdrop.h: dnd_url_hexify_string prototype changed
12 * frame-x.c (x_cde_transfer_callback): CDE adapted the new API
14 1998-05-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16 * event-msw.c: now creates misc-user-events on dnd drops
18 1998-05-05 Oliver Graf <ograf@fga.de>
20 * events.h: changed comment for misc_user_events
21 * events.c (make-event): removed dnd_data defs
22 * frame.c: removed everything referring to drag_and_drop_functions
23 * frame-x.c (x_cde_transfer_callback): disabled (needs to be changed)
24 * lisp.h: removed Qdnd_data
25 * general.c: removed Qdnd_data
26 * symsinit.h: added syms_of_dragdrop
27 * frame.el: deleted default-drag-and-drop-functions
29 1998-05-04 Oliver Graf <ograf@fga.de>
31 * events.c: removed all dnd_drop stuff
32 * events.h: extended misc_user_data by button info
33 removed dnd_drop event
34 * emacs.c: added call to syms_of_dragdrop
37 * event-stream.c (enqueue_misc_user_event): initialization of the
38 new fields of misc_user_data
39 dnd_drop stuff removed
40 * keymap.c: drop symbols removed
41 * Makefile.in.in: added dragdrop.o to objs
43 1998-05-09 SL Baur <steve@altair.xemacs.org>
45 * EmacsFrame.c (EmacsFrameSetValues): Fix typo.
46 Suggested by: Kirill M. Katsnelson <kkm@kis.ru>
48 1998-05-09 Kirill M. Katsnelson <kkm@kis.ru>
50 * This change adds four scrollbar specifiers:
51 {horizontal,vertical}-scrollbar-visible-p and
52 scrollbar-on-{top,left}-p.
53 Spare parts supplied by Didier Verna <didier@xemacs.org>
55 * frameslots.h: Added slots for the four specifier caching.
57 * frame.h: FRAME_SCROLLBAR_{WIDTH,HEIGHT} count for scrollbar
59 Removed old resource-only controlled scrollbar_on_* ints.
61 * frame-x.c (x_layout_widgets): Removed (to x-scrollbar.el)
62 initialization of old style scrollbar placement from resources.
64 * frame-tty.c (tty_init_frame_1): Removed initialization of old
65 style scrollbar placement.
67 * frame-msw.c (mswindows_init_frame_1): Removed random
68 initialization of scrollbar sizes to 15 pixel.
70 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Use
71 scrollbar placement specifiers cached values from window, instead
72 of the old per-frame values.
73 (mswindows_output_vertical_divider): Ditto.
75 * redisplay-x.c (x_output_vertical_divider): Ditto.
77 * redisplay-output.c (redisplay_clear_bottom_of_window): Ditto.
79 * scrollbar.c (update_scrollbar_instance): Ditto.
80 (specifier_vars_of_scrollbar): Declared the four specifiers.
82 * window.h (struct window): Defined slots for caching the new
85 * window.c (mark_window): Mark them.
86 (allocate_window): Initialize them.
87 (struct saved_window): Store them in a cool place.
88 (saved_window_equal): Compare them.
89 (save_window_save): Save them.
90 (Fset_window_configuration): Fetch them back.
91 (window_needs_vertical_divider): Check for scrollbar placement
92 using window cached specs.
93 (window_top_gutter_height): Ditto.
94 (window_bottom_gutter_height): Ditto.
95 (window_left_gutter_width): Ditto.
96 (window_right_gutter_width): Ditto.
97 (window_scrollbar_width): Account for scrollbar visibility
98 specification in window.
99 (window_scrollbar_height): Ditto.
101 1998-04-18 Kirill M. Katsnelson <kkm@kis.ru>
103 * device.c (Fdevice_system_metrics): Added function.
104 Moved (device-pixel-height), (device-pixel-width),
105 (device-mm-width), (device-mm-height), (device-bitplanes),
106 (device-color-cells) to device.el, amd make them call
107 (device-system-metrics).
109 * console.h (struct console_methods): Replaced methods:
110 device_pixel_width_method(), device_pixel_height_method(),
111 device_mm_width_method(), device_mm_height_method(),
112 device_bitplanes_method(), device_color_cells_method()
113 with single device_system_metrics_method().
114 (device_metrics): Declared enumeration of supported
115 device system metrics.
117 * device-msw.c (mswindows_device_system_metrics): Implement
118 device_system_metrics_method(), remove six obsolete methods.
120 * device-tty.c (tty_device_system_metrics): Ditto.
122 * device-x.c (x_device_system_metrics): Ditto.
124 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
126 * EmacsFrame.c (update_various_frame_slots): Do not store internal
128 (EmacsFrameInitialize): Do it rather here.
129 (EmacsFrameSetValues): If EditRes has changed internal border
130 width, mark frame size as slipped.
132 1998-05-06 Kirill M. Katsnelson <kkm@kis.ru>
134 * frame.h (struct frame): Added char_{width,height} member
135 variables and access macros
136 Added size_slipped redisplay bit and mark/clear macros.
138 * redisplay.c (redisplay_frame): Adjust frame size if size slipped
140 (redisplay_device): Call redisplay_frame if size slipped bit is set.
142 * frame.c (adjust_frame_size): Redisplay beats frame back in shape
144 (frame_size_slipped): Added.
145 (internal_set_frame_size): Clear size slipped bit.
146 (change_frame_size_1): Store real charsize into frame object.
147 (vars_of_frame): Declared adjust-frame-function.
149 * frame-msw.c (mswindows_update_frame_external_traits): Same
150 change as for frame-x.c
151 (mswindows_frame_size_fixed_p): Implemented the method.
153 * frame-x.c (x_update_frame_external_traits): Do not call
154 Fset_frame_size to adjust frame, redisplay will do.
156 * faces.c (update_EmacsFrame): Mark frame as slipped when default
159 * toolbar.c (compute_frame_toolbars_data): Removed obsoleted call
160 to change_frame_size. Redisplay will fix it later.
161 Removed toolbar_*_changed_in_frame specifier
163 (specifier_vars_of_toolbar): Calls to these routed to
164 frame_size_slipped generic handler.
166 * toolbar-x.c: Removed toolbar_*_changed_in_frame device methods.
168 * scrollbar-x.c: Removed scrollbar_*_changed_in_frame device
171 * scrollbar.c: Removed scrollbar_*_changed_in_frame specifier
173 (specifier_vars_of_scrollbar): Calls to the above changed to
174 frame_size_slipped generic handler.
176 * menubar-x.c (x_update_frame_menubar_internal): Do not resize
177 frame, just mark frame size as slipped.
179 * device-x.c: Removed declaration of in_specifier_change_function.
181 * EmacsFrame.c (EmacsFrameSetValues): Do not check
182 in_specifier_change_function.
183 (EmacsFrameSetValues): Simulate a call to resize callback when no
184 actual geometry change happened.
186 * console.h (struct console_methods): Removed declarations for all
187 <specifier>_changed_in_frame methods for toolbars and scrollbars.
188 Added frame_size_fixed_p method.
190 1998-05-08 SL Baur <steve@altair.xemacs.org>
192 * redisplay.c (decode_mode_spec): Guard against garbage
193 overwriting the stack.
195 1998-05-08 Kirill M. Katsnelson <kkm@kis.ru>
197 * dired-msw.c (vars_of_dired_mswindows): Syntax fix for union
200 * menubar-msw.c (populate_menu_add_item): Ditto.
202 * ntheap.c (sbrk): Ditto.
204 * ntproc.c (create_child): Ditto.
205 (syms_of_ntproc): Ditto.
207 1998-05-07 Andy Piper <andyp@parallax.co.uk>
209 * glyphs-msw.c: updates to support total transparency.
210 (mswindows_initialize_image_instance_icon): don't resize bitmaps
212 (mswindows_initialize_image_instance_mask): new function.
213 Use these new functions as appropriate.
215 * glyphs-msw.h (mswindows_initialize_image_instance_icon):
218 * frame-msw.c: use renamed mswindows_initialize_image_instance_icon.
220 * redisplay-msw.c: MaskBlt bitmaps if we have a mask, BitBlt
223 1998-05-07 Kirill M. Katsnelson <kkm@kis.ru>
225 * unexnt.c (read_in_bss): Removed unused variables, replaced exits
227 (map_in_heap): Ditto.
229 1998-05-06 SL Baur <steve@altair.xemacs.org>
231 * frame.c (adjust_frame_size): Don't mix integers and Lisp_Objects.
233 1998-05-07 Kirill M. Katsnelson <kkm@kis.ru>
235 * print.c (write_string_to_stdio_stream): Under MS Windows, flush
236 stdio and stderr after output. Ouch.
238 1998-05-05 Andy Piper <andyp@parallax.co.uk>
240 * event-msw.c: comment out broken dnd stuff and don't use msw socket
241 support if we have cygwin select.
243 1998-05-03 Kirill M. Katsnelson <kkm@kis.ru>
245 * events.h (STREAM_* defines): Defined constants for the parameter
246 FLAGS to create_stream_pair_cb().
248 * process.c (Fopen_network_stream_internal): Use flags from events.h
249 (Fopen_multicast_group_internal): Ditto.
251 * process-unix.c (unix_create_process): Ditto.
253 * event-unixoid.c (event_stream_unixoid_create_stream_pair): Ditto.
254 Changed #ifdef process type logic to catch configuretion errors
255 when no process type is defined.
257 * event-msw.c: Implemented winsock_stream
258 (get_process_input_waitable): Differentiate network connections.
259 (emacs_mswindows_select_process): Ditto.
260 (emacs_mswindows_create_stream_pair): Ditto.
261 (emacs_mswindows_delete_stream_pair): Ditto.
263 * process-nt.c: Implemented network connections.
264 (nt_init_process): Initialize Winsock.
266 * sysdep.c (init_system_name): Ask for the right name right from
269 * ntproc.c: Removed select emulation crap and dynamic Windock
272 * nt.c: Removed a lot of terrible wrappers for socket functions.
274 * s/windowsnt.h: Removed sys_select encapsulation.
276 1998-05-05 Hrvoje Niksic <hniksic@srce.hr>
278 * search.c (Fmatch_data): Synch with FSF.
280 1998-05-04 Greg Klanderman <greg@alphatech.com>
282 * events.h: Add extern declarations for focus_follows_mouse and
283 investigate_frame_change().
284 * cmdloop.c (Fcommand_loop_1): cleanup focus-follows-mouse
285 handling - move externs to events.h.
287 1998-05-05 Andy Piper <andyp@parallax.co.uk>
289 * glyphs-msw.c: generate an AND mask when creating an icon and really
290 make it an icon if that is what is required.
292 * glyphs-msw.h (mswindows_create_icon_from_image): new cursor
295 * frame-msw.c (mswindows_set_frame_pointer): set the frame cursor when
298 1998-05-05 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
318 Removed references to ancient bcmp, bzero, and bcopy.
320 1998-05-04 Andy Piper <andyp@parallax.co.uk>
322 * gui.el: make gui-button-face colors apply in the mswindows
323 domain as well as for x.
325 * objects-msw.c (mswindows_string_to_color): grok
326 rgb:rrrr/gggg/bbbb color formats used by xpm-button.el.
328 1998-05-04 Greg Klanderman <greg@alphatech.com>
330 * window.c (Fselect_window): Add optional second argument
331 `norecord' to avoid recording a buffer change.
332 * window.h: change the EXFUN for Fselect_window.
333 * window.c (Fdelete_window): call Fselect_window with 2nd arg Qnil.
334 (Fother_window): ditto.
335 (temp_output_buffer_show): ditto.
336 (Fset_window_configuration): ditto.
337 (Fset_window_configuration): ditto.
338 * frame.c (Fselect_frame): ditto.
339 (Fset_frame_selected_window): ditto.
340 (delete_frame_internal): ditto.
341 * device.c (Fselect_device): ditto.
342 * console.c (Fselect_console): ditto.
343 * callint.c (Fcall_interactively): ditto.
345 1998-05-05 Hrvoje Niksic <hniksic@srce.hr>
347 * search.c (Fregexp_quote): Loop by characters, not by bytes.
349 1998-05-05 Jan Vroonhof <vroonhof@math.ethz.ch>
351 * redisplay.c (window_line_number): Guard against selected_device
354 * frame-x.c (x_init_frame_2): Revert to updating frame title.
356 1998-05-05 SL Baur <steve@altair.xemacs.org>
358 * emacs.c (shut_down_emacs): Update crash report information.
360 1998-05-04 Kyle Jones <kyle_jones@wonderworks.com>
362 * linuxplay.c: Initialize audio_dev to /dev/dsp at
363 compile time instead of at run-time. Don't initialize
364 mixer_fd, audio_fd and audio_vol to -1; none of them need
365 it, and XEmacs will crash on some architectures when
366 these variable are modified after being initialized.
367 Declare audio_dev, audio_vol, audio_fd, and mixer_fd as
368 static, since none of them need to be visible outside
371 1998-04-27 Hrvoje Niksic <hniksic@srce.hr>
373 * eldap.c (make_ldap): New function.
374 (finalize_ldap): Use it.
377 * eldap.c (struct Lisp_LDAP): Removed connection status symbol.
379 * eldap.h (LDAP_LIVE_P): Removed
380 (CHECK_LIVE_LDAP): Adapt to changes in struct Lisp_LDAP
382 1998-05-03 Hrvoje Niksic <hniksic@srce.hr>
384 * lread.c: (read_escape): Restore handling of \M-a; clarify
387 1998-05-04 Kyle Jones <kyle_jones@wonderworks.com>
389 * realpath.c: Rename realpath() to xrealpath().
391 * fileio.c: Call xrealpath() instead of realpath().
393 * sysdep.h: Use #define to map xrealpath() calls to
394 realpath() on systems that have realpath().
396 1998-05-04 Martin Buchholz <martin@xemacs.org>
399 * rangetab.h: Move #include's from rangetab.h into rangetab.c for
401 * inline.c: include rangetab.h to get GCC inlines
403 1998-05-03 SL Baur <steve@altair.xemacs.org>
405 * event-stream.c (event_stream_next_event): Reverse previous patch to
406 slow down poll for quit.
407 Suggested by Kyle Jones <kyle_jones@wonderworks.com>
409 * lread.c (read_escape): Turn off interpretation of "\M..."
410 Suggested by Olivier Galibert <galibert@pobox.com>
412 * lread.c (read_escape): add explanatory comment about why
413 FSF_KEYS are being turned off.
415 1998-05-02 SL Baur <steve@altair.xemacs.org>
417 * lread.c (FSF_KEYS): Remove if built with Mule.
419 1998-05-01 Kirill M. Katsnelson <kkm@kis.ru>
421 * event-msw.c (ntpipe_shove_flusher): Removed.
422 (init_shove_stream): Flusher undeclared.
424 1998-05-02 SL Baur <steve@altair.xemacs.org>
426 * rangetab.c: `default_dumped' removed.
428 1998-05-02 Hrvoje Niksic <hniksic@srce.hr>
430 * events.c (Fmake_event): Initialize key data for key-press
433 1998-05-02 Hrvoje Niksic <hniksic@srce.hr>
435 * fileio.c (close_stream_unwind): Renamed to delete_stream_unwind.
437 (Finsert_file_contents_internal): Delete STREAM after use.
438 (Fmake_temp_name): Improve randomness of generated file names.
439 (Fmake_temp_name): Don't initialize COUNT if in temacs.
441 1998-05-02 Olivier Galibert <galibert@pobox.com>
443 * buffer.h: Put the range_table lrecrod declaration where it
446 * rangetab.h: New file - ...which is here.
448 * rangetab.c: Move declarations to rangetab.h
450 1998-05-01 Hrvoje Niksic <hniksic@srce.hr>
452 * data.c (Fneq): Fix docstring.
453 (arithcompare_many): Slightly simplify.
455 1998-04-29 Andy Piper <andyp@parallax.co.uk>
457 * s/cygwin32.h: don't define BROKEN_CYGWIN anymore since we normally
458 link with unixoid event loop now.
460 1998-05-01 Kirill M. Katsnelson <kkm@kis.ru>
462 * event-stream.c (event_stream_next_event): Disable polling for
463 quit while XEmacs is blocked waiting for an event.
465 1998-05-01 Kirill M. Katsnelson <kkm@kis.ru>
467 * specifier.h: Corrected documentation on magic specifiers.
468 Documented DEPTH parameter to instantiate_method.
469 Renamed reveal->unlock_ghost_specifiers_protected().
471 * specifier.c: Removed the reveal mechanism and made ghost
472 specifiers read-only, so they are accessible as fallbacks of magic
473 specifier, but aren't modifiable unless C code enables so.
474 (specifier_equal): Compare specifier fallbacks as well.
476 * scrollbar.c (init_frame_scrollbars):
477 (init_device_scrollbars):
478 (init_global_scrollbars): Renamed
479 reveal->unlock_ghost_specifiers_protected().
481 1998-05-01 Hrvoje Niksic <hniksic@srce.hr>
483 * fileio.c (Fcar_less_than_car): Fix Flss caller.
484 (Fcdr_less_than_cdr): Ditto.
486 * lisp.h: Fix declarations.
488 * data.c: Enable many arguments versions of <, >, <=, >= and /=.
490 * bytecode.c (Fbyte_code): Use arithcompare.
492 * data.c (arithcompare): Make non-static.
494 1998-04-30 Greg Klanderman <greg@alphatech.com>
496 * frame.c (Fselect_frame): update docstring to describe
497 focus-follows-mouse behavior.
499 1998-05-01 Hrvoje Niksic <hniksic@srce.hr>
501 * print.c (Fwrite_char): Don't touch Vprint_gensym.
502 (print_error_message): Don't gcpro TAIL.
503 (Fdisplay_error): Simplify.
505 1998-04-30 Hrvoje Niksic <hniksic@srce.hr>
507 * print.c (print_internal): Use long_to_string().
509 * redisplay.c (decode_mode_spec): Remove bogus calculation of the
512 * print.c (Fprin1): Removed THE_STREAM.
515 (Fdisplay_error): Canonicalize STREAM here.
516 (print_error_message): Don't canonicalize STREAM.
517 (print_error_message): Use print_internal() instead of Fprin1 and
520 * print.c: (Fprin1_to_string): Delete internal stream explicitly.
521 (Ferror_message_string): Ditto.
522 (Fterpri): Use write_char_internal.
524 1998-04-18 Martin Buchholz <martin@xemacs.org>
526 * console-x.h: Initialize_Locale should not depend on HAVE_XIM,
529 * Makefile.in.in: be more careful generating depend.
531 * *.c (F*): Unfortunately, etags can only detect per-line
532 patterns, and so the DEFUN macro must have the lisp name and the C
533 name on the same line for a complete TAGS file. Make it so.
535 * signal.c (init_signals_very_early):
536 * process.c (Fsignal_process): Order the signals in decreasing
537 order of standardization. Provide helpful standardization
538 comments. Add missing signal names.
540 * unexhp9k800.c: Remove undefined roundup.
541 * symsinit.h: Add prototype for init_hpplay().
543 1998-04-30 Hrvoje Niksic <hniksic@srce.hr>
545 * window.c (Fcenter_to_window_line): New function.
548 1998-04-30 Hrvoje Niksic <hniksic@srce.hr>
550 * dired.c (make_directory_hash_table): Constify.
552 * scrollbar.c (Fscrollbar_page_up): Use Fcenter_to_window_line
553 instead of Frecenter.
554 (Fscrollbar_page_down): Ditto.
555 (Fscrollbar_to_top): Ditto.
556 (Fscrollbar_to_bottom): Ditto.
558 * window.c (Frecenter): Removed.
560 1998-04-29 Andy Piper <andyp@parallax.co.uk>
562 * console.h: xpm_normalize is not a console method anymore.
564 * event-msw.c: honour toolbar help string length.
566 * glyphs-msw.c: make copyright more meaningful. implement color
567 symbol support for Xpm. (extract_xpm_color_symbols) new function.
569 * glyphs.c (pixmap_to_lisp_data) (xpm_normalize): fucntions moved
572 * glyphs.h: declare pixmap_to_lisp_data.
574 * toolbar-msw.c: more meaningful copyright.
576 1998-04-30 Hrvoje Niksic <hniksic@srce.hr>
578 * macros.c (Fend_kbd_macro): New arg REMOVE-LAST.
580 * gui-x.c (popup_selection_callback): Treat anonymous interactive
581 and compiled-function interactive callbacks as commands.
583 1998-04-28 Hrvoje Niksic <hniksic@srce.hr>
585 * abbrev.c (obarray_has_blank_p): Simplify.
587 1998-04-27 Hrvoje Niksic <hniksic@srce.hr>
589 * getloadavg.c (getloadavg): Removed some code repetition.
591 1998-05-01 Kirill M. Katsnelson <kkm@kis.ru>
593 * process-nt.c: Document usage of #pragma warning.
594 (alloc_process_memory): Spell _ALPHA_ correctly.
596 1998-04-29 SL Baur <steve@altair.xemacs.org>
598 * Makefile.in.in: Change `progname' to `PROGNAME' for
601 1998-04-29 Kirill M. Katsnelson <kkm@kis.ru>
603 * frame.c (change_frame_size_1): Adjust frame row/columns taking
604 real toolbar size into account, not the theoretical one.
606 * toolbar.c (set_frame_toolbar): Removed unused parameter.
607 Return void, not unused int.
608 Logic which checks whether toolbar to be recomputed moved here
609 from macro COMPUTE_TOOLBAR_DATA (r.i.p)
610 (compute_frame_toolbars_data): Removed COMPUTE_TOOLBAR_DATA. It
611 did not work due to a bug, and also did not check whether toolbar
613 Compute new character sizes passed to change_frame_size, do not
614 use the old (pre-toolbar-change) ones.
615 (update_frame_toolbars): Honor frame_changed and clear frame bits.
616 (recompute_overlaying_specifier): New helper function, called from
617 default toolbar specifier change handlers.
618 (default_toolbar_specs_changed): Use it.
619 (default_toolbar_size_changed_in_frame): Ditto.
620 (default_toolbar_border_width_changed_in_frame): Ditto.
621 (default_toolbar_visible_p_changed_in_frame): Ditto.
622 (toolbar_geometry_changed_in_window): New handler. The old one,
623 some_windows_value_changed, did not do the trick.
624 (default_toolbar_size_changed_in_window): New handler for default
626 (default_toolbar_border_width_changed_in_window): Ditto.
627 (default_toolbar_visible_p_changed_in_window): Ditto.
628 (specifier_vars_of_toolbar): Use one of the above four handlers
629 instead of some_windows_value_changed in toolbar specifiers.
631 1998-04-29 Andy Piper <andyp@parallax.co.uk>
633 * redisplay-msw.c (mswindows_output_string)
634 (mswindows_output_string): output the background pixmap if we have
637 1998-04-28 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
639 * paths.h.in: Added PATH_PROGNAME and PATH_VERSION.
641 1998-04-28 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
643 * emacs.c (complex_vars_of_emacs): Added `emacs-program-name' and
644 `emacs-program-version'.
646 1998-04-29 Kirill M. Katsnelson <kkm@kis.ru>
648 * process-nt.c: Signal support for Windows NT.
649 New code under subheadings "Running remote threads" and "Sending
651 (nt_create_process): Create new process suspended, then enable
652 signals in it, then resume it.
653 (nt_kill_child_process): Implemented
654 (nt_kill_process_by_pid): Ditto.
655 (process_type_create_nt): Registered the two above.
657 1998-04-28 P. E. Jareth Hein <jareth@camelot-soft.com>
659 * glyphs-x.c : slight cleanup and bugfix related to memory
660 corruption and possible leaks. Also fix a visual problem
663 1998-04-28 P. E. Jareth Hein <jareth@camelot-soft.com>
665 * glyphs-x.c (x_init_image_instance_from_eimage): Make sure
666 automatic pointers are null...
668 1998-04-27 Greg Klanderman <greg@alphatech.com>
670 * cmdloop.c (Fcommand_loop_1): Call investigate_frame_change if
671 focus_follows_mouse is true.
673 * event-stream.c (next_event_internal): Only call
674 investigate_frame_change if focus_follows_mouse is false.
676 * event-stream.c (investigate_frame_change): Fix
677 focus_follows_mouse handling. It was the case that, with
678 focus_follows_mouse true, (select-frame (next-frame)) could leave
679 next-frame with input focus, but not window manager focus. Now
680 needs to be called from 2 places, conditional on the value of
683 1998-04-24 Kirill M. Katsnelson <kkm@kis.ru>
685 * frame.c (Fmake_frame): GC-protect new frame immediately upon
688 1998-04-27 Kirill M. Katsnelson <kkm@kis.ru>
690 * frame.c (delete_frame_internal): Fixed spurious minibuffer
691 frames when creating minibufferless frames (reverted to 20.3
692 source, change not in ChangeLog)
694 1998-04-26 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
696 * eldap.h: Added CONCHECK_LDAP macro
698 * eldap.c: Moved definition of most Lisp_object keywords to
700 (Fldap_close): Modified semantics to match those of
702 (Fldap_search_internal): Do not consider a
703 `LDAP_SIZELIMIT_EXCEEDED' a fatal error
705 * general.c: Added several keywords needed by eldap.c. Sorted
706 keywords alphabetically.
708 1998-04-24 Hrvoje Niksic <hniksic@srce.hr>
710 * eldap.c (finalize_ldap): New function; use it when declaring
713 1998-04-27 Kirill M. Katsnelson <kkm@kis.ru>
715 * fileio.c (Fwrite_file_contents_internal): Prefer stat() over
716 fstat() back for Windows, where closing a file changes its
719 1998-04-26 Amir J. Katz <amir@ndsoft.com>
721 * sysdep.h: Simplified definition of strerror()
723 Sun Apr 23 1998 Andy Piper <andyp@parallax.co.uk>
727 * glyphs-eimage.c: rename glyphs_read to glyphs_eimage.
732 * glyphx-msw.c: make xpm_normalize and xpm_instantiate device
733 methods and use them appropriately. Remove redundant pixmap file
736 Sun Apr 23 1998 Andy Piper <andyp@parallax.co.uk>
738 * glyphs-msw.c: use XINT for lisp ints.
740 * console-msw.c: remove redundant functions that break under union
743 * frame-msw.c: build lisp ints for functions that expect them.
745 * objects-msw.c: don't LISP_HASH COLORREF's.
747 * sheap.c: remove dependency on VALMASK.
749 1998-04-27 SL Baur <steve@altair.xemacs.org>
751 * debug.c (vars_of_debug): Remove `Fprovide("internal-debug")'.
753 1998-04-27 Jonathan Harris <jhar@tardis.ed.ac.uk>
755 * device-msw.c: Unconditionally use InitCommonControls() instead
756 of InitcommonControlsEx() - the latter is not defined in all
759 1998-04-26 SL Baur <steve@altair.xemacs.org>
761 * Makefile.in.in: Religiously use ${progname}.
763 * paths.h.in: Remove reference to user-defined site-lisp location.
764 * debug.c (vars_of_debug): Rename feature to 'internal-debug.
766 1998-04-24 Martin Buchholz <martin@xemacs.org>
770 Use ints instead of bitfields for Lisp_Charset fields. This
771 should work around bugs in the latest egcs snapshot, and make
772 XEmacs faster. Introduce dimension and chars as fields in
773 Lisp_Charset instead of computing them every time. The extra
774 space is about 1k, a reasonable price.
776 1998-04-25 SL Baur <steve@altair.xemacs.org>
778 * glyphs-x.c (xface_normalize): Add console_type parameters to
779 calls to `potential_pixmap_file_instantiator'.
781 Sat Apr 24 1998 Andy Piper <andyp@parallax.co.uk>
783 * event-msw.c: fix and enable signal pipe handling when using msg
786 1998-04-25 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
788 * process-unix.c (allocate_pty): Typo fix.
790 1998-04-25 Olivier Galibert <galibert@pobox.com>
792 * s/irix5-0.h (PTY_OPEN): Ditto
793 * s/irix4-0.h (PTY_OPEN): Restore the stb variable.
795 1998-04-25 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
797 * emacs.c (complex_vars_of_emacs): Typo fixes.
799 * emacs.c: Added configure-exec-prefix-directory.
801 * paths.h.in: Added PATH_EXEC_PREFIX.
803 1998-04-25 Olivier Galibert <galibert@pobox.com>
805 * unexelfsgi.c (unexec): Kludge for Irix 5.3 which clears the
806 .sbss section no matter what. Defensively remove the alignment fix
807 if the .sbss section type isn't modified (Irix 6.5SE). Remove some
810 1998-04-24 Martin Buchholz <martin@xemacs.org>
812 * data.c (Fnot): There has traditionally been kludgy startup lisp
813 code that called `null' even if `not' was more appropriate,
814 because `not' was defined in lisp. This is one primitive
815 sufficiently important that it should ALWAYS be defined.
817 Sat Apr 24 1998 Andy Piper <andyp@parallax.co.uk>
819 * Makefile.in.in: add glyphs-eimage.o to build.
821 * console.h: added console methods init_image_instance_from_eimage
822 and locate_pixmap_file.
824 * emacs.c: add initialisation for glyphs-eimage.c
826 * symsinit.h: declare glyphs-eimage functions.
828 * glyphs-eimage.c: New file - generalised eimage support for gif,
829 tiff, png and jpeg, mainly from glyphs-x.c.
831 * glyphs-msw.c: added init_image_instance_from_eimage. Tidied up
834 * glyphs-x.c: disable gif, tiff, png and jpeg support in this
835 file. Added init_image_instance_from_eimage. Tidied up file
839 * glyphs.c: abstract image location.
841 Fri Apr 24 19:38:19 1998 Andy Piper <andyp@parallax.co.uk>
843 * config.h.in: support our special select
847 * console-msw.h: toolbar cleanup.
857 * s/cygwin32.h: warning elimination.
859 1998-04-24 Hrvoje Niksic <hniksic@srce.hr>
861 * fns.c (Fload_average): New argument USE_FLOATS.
863 * alloc.c (Fstring): New function, synched with FSF 20.3.
865 Thu Apr 23 19:38:19 1998 Andy Piper <andyp@parallax.co.uk>
867 * unexcw.c: cope with the reversed executable sections written by
868 binutils-2.9 ld and egcs.
870 1998-04-24 Kirill M. Katsnelson <kkm@kis.ru>
872 * menubar-msw.c (populate_or_checksum_helper): Fixed to compile
875 1998-04-23 Hrvoje Niksic <hniksic@srce.hr>
877 * fns.c (Fload_average): Respect errno when reporting getloadavg()
880 * getloadavg.c (getloadavg): Cleaner Solaris implementation, based
881 on sample code by Casper Dik.
883 1998-04-23 SL Baur <steve@altair.xemacs.org>
885 * frame-x.c (x_delete_frame): remove dead code.
887 1998-04-22 SL Baur <steve@altair.xemacs.org>
889 * print.c (Falternate_debugging_output): Unconditionally define.
891 1998-04-22 Hrvoje Niksic <hniksic@srce.hr>
899 * print.c: Removed standalone hacks.
901 1998-04-23 Kirill M. Katsnelson <kkm@kis.ru>
903 * toolbar-msw.c (mswindows_clear_toolbar): Fixed wabbit buttons.
904 (mswindows_output_toolbar): Gave 3D look to toolbars. Still no
905 pretty, needs more work.
906 (mswindows_move_toolbar): Renamed so because it does not deal with
907 redrawing exposed toolbars.
908 Properly position toolbars.
909 (mswindows_redraw_exposed_toolbars): Changed calls to the above.
910 (mswindows_find_toolbar_pos): Do not assert if toolbar not
911 found: a command can come from a menu.
912 (mswindows_handle_toolbar_wm_command): Quickly return nil if
915 1998-04-22 Kirill M. Katsnelson <kkm@kis.ru>
917 * device-msw.c (tagINITCOMMONCONTROLSEX): Uniform declaration
918 between SDK and cygwin.
919 (mswindows_init_device): InitCommonControls ->
920 InitCommonControlsEx typo fix.
922 Wed Apr 22 12:59:35 1998 Andy Piper <andyp@parallax.co.uk>
924 * glyphs-msw.c (EImage2DIBitmap): count the number of bytes correctly.
926 Wed Apr 22 12:59:35 1998 Andy Piper <andyp@parallax.co.uk>
928 * config.h.in: support for HAVE_MSG_SELECT.
930 * console-msw.h: add support for four toolbars.
932 * device-msw.c: init common controls.
934 * event-msw.c: if HAVE_MSG_SELECT is defined use unixoid event
935 stream tye callbacks and select() on events rather than MWFMO.
936 Added event handling for tooltip messages. If you have this
937 special select then all process support works under cygwin.
939 * frame-msw.c: add support for four toolbars.
941 * redisplay-msw.c: update toolbars when an area is exposed.
943 * signal.c: _WIN32 -> WINDOWSNT.
945 * event-stream.c: enable unixoid initialization if we have it.
947 * event-unixoid.c: allow us to turn off the signal pipe.
949 * toolbar-msw.c: major overhaul. Enable support for all four
950 toolbars, fix display and sizing problems, enable tooltip support,
951 be more optimal about deleting toolbars.
953 * toolbar.h: reinstate 0 toolbar border width for msw.
955 * s/cygwin32.h: minor define updates.
957 1998-04-22 Hrvoje Niksic <hniksic@srce.hr>
959 * print.c (Falternate_debugging_output): Define only if
962 1998-04-21 Hrvoje Niksic <hniksic@srce.hr>
964 * fileio.c (Fmake_temp_name): Updated docstring.
966 1998-04-21 Hrvoje Niksic <hniksic@srce.hr>
968 * print.c (print_prepare): New argument FRAME_KLUDGE.
969 (print_prepare): If writing to a frame, return a resizing buffer
971 (print_finish): Flush the stream.
972 (Fprin1): Adjust calls to print_prepare() and print_finish().
975 (print_internal): Optimize printing of characters.
977 * print.c (RESET_PRINT_GENSYM): New macro.
978 (print_prepare): Use it.
979 (print_finish): Ditto.
980 (Fwrite_char): Ditto.
981 (Fprin1_to_string): Ditto.
983 1998-04-22 SL Baur <steve@altair.xemacs.org>
985 * config.h.in: add FOR_MSW variable.
986 From Itay Ben-Yaacov <pezz@www-mail.huji.ac.il>
988 1998-04-20 Kirill M. Katsnelson <kkm@kis.ru>
990 * alloc.c (report_pure_usage): Remove ifdef WINDOWSNT around
991 "Don't panic, I will restart make".
993 1998-04-19 Kirill M. Katsnelson <kkm@kis.ru>
995 * process.c (vars_of_process): Declared lisp variable
998 * procimpl.h: Externally declared it.
1000 * process-nt.c (nt_create_process): Changed to honor the above
1001 variable, and to utilize SHGetFileInfo to determine file type.
1003 1998-04-21 Martin Buchholz <martin@xemacs.org>
1005 * mule-ccl.c: Fix compiler warnings. I hate compiler warnings.
1006 The code is clearer anyways without macros that goto.
1008 1998-04-22 SL Baur <steve@altair.xemacs.org>
1010 * glyphs.h: Add prototypes for signal_image_error and
1011 signal_image_error_2.
1012 Suggested by Hrvoje Niksic <hniksic@srce.hr>
1014 1998-04-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1016 * fileio.c: Changed `directory-sep-char' to `path-separator',
1017 following a change in GNU Emacs.
1019 1998-04-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1021 * eldap.c: As suggested by Hrvoje Niksic
1022 (Fldap_search_internal): Loop and GCPRO cleanup
1023 (print_ldap): Removed text translation
1025 1998-04-19 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1027 * eldap.c: (print_ldap): Ignore escapeflag
1028 (Fldap_search_internal): Added unwind protection to appropriately
1029 free the LDAP temporary structures in case of interruption. Added
1030 a QUIT to the result fetching loop.
1032 1998-04-19 SL Baur <steve@altair.xemacs.org>
1034 * emacs.c (TopLevel): New variables: Vinfodock_major_version,
1035 Vinfodock_minor_version, Vinfodock_build_version.
1036 (vars_of_emacs): Initialize them.
1038 * config.h.in: Add InfoDock version numbers.
1040 * device-x.c (have_xemacs_resources_in_xrdb): distinguish whether
1041 we're running as InfoDock or XEmacs.
1043 1998-04-18 SL Baur <steve@altair.xemacs.org>
1045 * glyphs-x.c: Remove definition of Q_color_symbols.
1047 * glyphs.h: Declare Q_color_symbols and evaluate_xpm_color_symbols.
1049 1998-04-17 Jonathan Harris <jhar@tardis.ed.ac.uk>
1052 Added "commctrl.h" and "X11/xpm.h" includes to support toolbars
1056 Removed (!NILP (Vmswindows_bitmap_file_path)) check in
1057 locate_pixmap_file() so that lookups of absolute paths don't fail
1059 Added new mswindows_xpm_normalize();
1064 Moved generic XPM support out of glyphs-x.c into glyphs.c.
1066 signal_image_error, signal_image_error_2,
1067 check_valid_xpm_color_symbols, evaluate_xpm_color_symbols,
1068 xpm_possible_dest_types.
1069 xpm_normalize and xpm_instantiate in glyphs.c just call the
1070 appropriate x_ or mswindows_ funtion in glyphs-x.c or
1074 Don't assert on empty toolbar.
1078 Adjusted mswindows default toolbar height/widths so redisplay is
1081 1998-04-18 Hrvoje Niksic <hniksic@srce.hr>
1083 * tooltalk.c (tt_message_arg_ival_string): Ditto.
1085 * redisplay.c (window_line_number): Ditto.
1086 (decode_mode_spec): Ditto.
1088 * glyphs.c (print_image_instance): Ditto.
1090 * doprnt.c (emacs_doprnt_1): Ditto.
1092 * data.c (Fnumber_to_string): Use long_to_string().
1094 * lisp.h: Declare long_to_string().
1096 * print.c (Fprin1_to_string): Do the Vprint_gensym_alist stunt.
1098 * emacs.c (main_1): Don't create print stream.
1100 * print.c: Removed print_stream implementation.
1101 (print_prepare): Don't create a print_stream.
1102 (long_to_string): New function, from GNU Wget.
1103 (print_internal): Use it.
1104 (output_string): alloca() copies only for strings smaller than
1105 65536 bytes; else, inhibit gc.
1107 1998-04-18 Hrvoje Niksic <hniksic@srce.hr>
1109 * config.h.in: Check for DLERROR.
1111 * sysdll.c: Cosmetic changes.
1113 1998-04-18 Hrvoje Niksic <hniksic@srce.hr>
1115 * sysdll.c (dll_error): It's `dlerror', not `dl_error'.
1117 1998-04-17 Kirill M. Katsnelson <kkm@kis.ru>
1119 * specifier.c (prune_specifiers): Fix for Vall_specifiers
1122 * specifier.h: Fixed GC_* macros to utilize GC_EQ, as suggested by
1125 1998-04-17 Hrvoje Niksic <hniksic@srce.hr>
1127 * dll.c (Fdll_open): Simplify interface.
1129 * sysdll.c: Allocate BUF dynamically.
1131 * cmds.c (internal_self_insert): Removed `no-self-insert' hack.
1133 Fri Apr 17 12:59:35 1998 Andy Piper <andyp@parallax.co.uk>
1135 * event-msw.c: don't use LocalAlloc()/LocalFree(). With unix
1136 processes use a filestream for output. This makes subprocess
1137 support work under cygwin.
1139 1998-04-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1141 * fileio.c (vars_of_fileio): Resurreced directory-sep-char to be
1142 DIRECTORY_SEP instead of hardwired "/".
1144 1998-04-16 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1146 * fileio.c (file_name_as_directory): Now returns "./" (or NT
1149 1998-04-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1151 * eldap.c: Fully rewritten introducing a new opaque LDAP Lisp
1156 1998-04-17 Olivier Galibert <galibert@pobox.com>
1158 * fileio.c (vars_of_fileio): Finish directory_sep_char removal.
1160 1998-04-14 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1162 * emacs.c (main_1): Added option --debug-paths and analogous
1165 1998-04-15 Hrvoje Niksic <hniksic@srce.hr>
1167 * frame-msw.c (Vmswindows_frame_being_created): Don't staticpro.
1169 * console-msw.h, event-msw.c, frame-msw.c: Renamed
1170 mswindows_frame_being_created to Vmswindows_frame_being_created.
1172 1998-04-12 Kirill M. Katsnelson <kkm@kis.ru>
1174 * event-msw.c (emacs_mswindows_quit_p): Do not check for quit
1175 character in modal loop.
1177 * fileio.c: Removed Vdirectory_sep_char variable.
1179 * lisp.h: Removed extern decl for the above.
1181 1998-04-16 SL Baur <steve@altair.xemacs.org>
1183 * indent.c (vertical_motion_1): set_marker_restricted takes
1186 1998-04-17 Hrvoje Niksic <hniksic@srce.hr>
1188 * md5.c (Fmd5): Correctly rename argument.
1190 * print.c (Fprin1_to_string): Remove useless variable.
1192 1998-04-13 Greg Klanderman <greg@alphatech.com>
1194 * indent.c (vertical_motion_1): new helper function to share
1195 common code between Fvertical_motion and Fvertical_motion_pixels.
1196 Properly handle the WINDOW argument as the doc string indicates it
1197 should. Update docstrings to be more clear and concise.
1198 (Fvertical_motion): use vertical_motion_1.
1199 (Fvertical_motion_pixels): use vertical_motion_1.
1201 1998-04-15 Kirill M. Katsnelson <kkm@kis.ru>
1203 * specifier.h: Introduced magic specifiers. Please read comments
1206 * specifier.c: Reworked many functions to support magic
1209 * scrollbar.c (specifier_vars_of_scrollbar): Made magic specifiers
1210 Vscrollbar_width and Vscrollbar_height.
1211 (init_frame_scrollbars): Enabled critical lisp code operate on
1213 (init_device_scrollbars): Ditto.
1214 (init_global_scrollbars): Ditto.
1216 * scrollbar-msw.c (Fmswindows_init_scrollbar_metrics): Scrollbar
1217 init function, called from init-scrollbars-from-resuorce in
1219 (syms_of_scrollbar_mswindows): DEFSUBR it.
1221 * emacs.c (main_1): Called syms_of_scrollbar_mswindows()
1223 * symsinit.h: Declared syms_of_scrollbar_mswindows()
1225 Thu Apr 16 12:59:35 1998 Andy Piper <andyp@parallax.co.uk>
1228 * console-msw.h: add toolbars to frame parameters.
1230 * emacs.c: call console_type_create_mswindows_toolbar
1232 * event-msw.c: call toolbar handling code in main event loop.
1234 * glyphs-msw.c (mswindows_create_icon_from_image)
1235 (mswindows_resize_dibitmap_instance): new functions. Remove mask
1236 stuff from various others.
1239 * menubar-msw.c: warning elimination.
1241 * toolbar-msw.c: new file. Reasonable implementation of toolbars
1242 for mswindows. Some features are not complete.
1244 * toolbar.c: enable toolbar parameters for mswindows.
1246 * toolbar.h: choose slightly different toolbar defaults for
1249 1998-04-16 Hrvoje Niksic <hniksic@srce.hr>
1251 * lisp.h (CHECK_IMPURE): Use it.
1253 * data.c (pure_write_error): Accept an argument.
1255 * emacs.c (vars_of_emacs): New variable `internal-error-checking';
1258 1998-04-16 Hrvoje Niksic <hniksic@srce.hr>
1260 * fileio.c (Fmake_temp_name): Avoid random(); simplify.
1262 1998-04-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1264 * emacs.c (complex_vars_of_emacs): Changed configure-exec-path to
1265 configure-exec-directory.
1266 (decode_path): Doesn't call file-name-as-directory no more as
1267 empty components would lead to evil behavior.
1269 1998-04-16 Hrvoje Niksic <hniksic@srce.hr>
1271 * extents.c (decode_extent): Unify the error message.
1273 1998-04-17 Hrvoje Niksic <hniksic@srce.hr>
1275 * md5.c (Fmd5): Simplify; use only input and encoding streams.
1276 (Fmd5): Separate coding guesswork into md5_coding_system().
1277 (Fmd5): Don't close the stream; deleting it is enough.
1279 1998-04-16 Hrvoje Niksic <hniksic@srce.hr>
1281 * fileio.c (Finsert_file_contents_internal): Prefer fstat() over
1284 1998-04-15 Martin Buchholz <martin@xemacs.org>
1286 * fns.c (Fsubseq): Make (subseq nil 0 0) return nil, not #*.
1288 1998-04-16 SL Baur <steve@altair.xemacs.org>
1290 * device-x.c (get_device_from_display): Use "infodock" as the
1291 fallback name when running as InfoDock.
1293 1998-04-14 Greg Klanderman <greg@alphatech.com>
1295 * device-x.c (compute_x_app_name): New function needed to compute
1296 application name to use now that XtOpenDisplay is decomposed into
1297 XOpenDisplay and XtDisplayInitialize.
1298 (x_init_device): use it.
1300 1998-04-06 Greg Klanderman <greg@alphatech.com>
1302 * device-x.c (have_xemacs_resources_in_xrdb): adhere to coding
1303 standards and avoid opening display twice by breaking
1304 XtOpenDisplay into XOpenDisplay and XtDisplayInitialize.
1305 (x_init_device): Ditto.
1307 1998-04-15 Olivier Galibert <galibert@pobox.com>
1309 * s/aix3-2-5.h: Ditto.
1311 * s/aix4-1.h: Ditto.
1313 * s/aix4-2.h: Ditto.
1315 * s/bsd386.h: Ditto.
1317 * s/bsdos2-1.h: Ditto.
1323 * s/esix5r4.h: Ditto.
1327 * s/hpux9-shr.h: Ditto.
1329 * s/hpux9-x11r4.h: Ditto.
1333 * s/hpux9shxr4.h: Ditto.
1335 * s/isc3-0.h: Ditto.
1337 * s/isc4-0.h: Ditto.
1345 * s/usg5-3.h: Ditto.
1347 * s/usg5-4-2.h: Ditto.
1349 * s/usg5-4.h: Kill a bunch of now autodetected defines.
1351 1998-04-05 Greg Klanderman <greg@alphatech.com>
1353 * window.c (Fwindow_displayed_pixel_height): rename more
1354 appropriately as window-text-pixel-height.
1355 (syms_of_window): Update the DEFSUBR.
1356 (Fwindow_text_pixel_width): New function for completeness.
1357 (Fwindow_text_pixel_edges): New function.
1358 (syms_of_window): DEFSUBR 2 new functions.
1360 1998-04-13 Greg Klanderman <greg@alphatech.com>
1362 * redisplay.c (redisplay_window): When echo area is active, and we
1363 swap in the echo area buffer, restore the minibuffer's pointm and
1364 startp when we restore the minibuffer to the window. This avoids
1365 having the minibuffer point randomly change when it is active but
1366 not selected and a message is shown.
1368 1998-04-16 Hrvoje Niksic <hniksic@srce.hr>
1370 * md5.c: replaced RSA reference code with GNU textutils implementation.
1372 1998-04-14 Martin Buchholz <martin@xemacs.org>
1374 * signal.c (init_signals_very_early): Make `nohup xemacs &' work.
1375 Wrap #ifdefs around uses of SIGQUIT and SIGILL.
1377 1998-04-12 Kirill M. Katsnelson <kkm@kis.ru>
1379 * objects-msw.c (mswindows_initialize_font_instance): Fixed assert
1380 abuse; proper cleanup on GDI error.
1382 1998-04-14 Kirill M. Katsnelson <kkm@kis.ru>
1384 * console-msw.h: Declared get_nt_process_handle() and
1385 mswindows_bump_queue().
1386 Removed declarations for mswindows_enqueue_dispatch_event() and
1387 mswindows_enqueue_magic_event().
1389 * event-msw.c (emacs_mswindows_create_stream_pair): Casts on
1390 handle types and get_osfhandle() return type. From Andy Piper.
1391 (emacs_mswindows_select_process): Get Win32 process handle
1392 directly from process lrecord.
1393 (get_process_handle): Removed function.
1394 (emacs_mswindows_handle_magic_event): Removed handling of
1395 XM_BUMPQUEUE magic event.
1396 (mswindows_wnd_proc): Removed handling of WM_EXITMENULOOP message,
1397 which called a do-nothing handler in menubar-msw.c
1398 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Queue an empty event
1399 instead of magic event, via mswindows_bump_queue().
1400 (mswindows_wnd_proc, WM_CLOSE): Ditto.
1401 (mswindows_need_event): Call mswindows_bump_queue() upon process
1402 termination, in case process pipe does not get closed along.
1403 Do not close process handle.
1404 (mswindows_bump_queue): Added function.
1405 (mswindows_enqueue_dispatch_event): Made static.
1406 (ntpipe_slurp_*): Revamped the slurp thread implementation so the
1407 stream does not expect the thread to terminate when stream is closed.
1408 (ntpipe_slurp_reader): Fixed an attempt to read zero bytes from
1411 * event-stream.c (event_stream_deal_with_async_timeout):
1412 Conditionalized timer-based polling for finished processes on
1413 HAVE_UNIX_PROCESSES.
1415 * menubar-msw.c (mswindows_handle_wm_command): Queued proper bump
1417 (mswindows_handle_wm_exitmenuloop): Removed function.
1419 * menubar-msw.h: Removed unused function prototype.
1421 * process-nt.c (get_nt_process_handle): Added function.
1423 * signal.c (init_poll_for_sigchld): Conditionalized on
1424 HAVE_UNIX_PROCESSES.
1426 1998-04-13 Kirill M. Katsnelson <kkm@kis.ru>
1428 * frame-msw.c: Implemented the following methods:
1429 mswindows_get_mouse_position()
1430 mswindows_set_mouse_position()
1431 mswindows_frame_totally_visible_p()
1433 1998-04-11 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1435 * emacs.c: Renamed inhibit-package-init to inhibit-early-packages
1436 to better reflect its semantics.
1437 Renamed inhibit-update-autoloads to inhibit-package-autoloads.
1438 (complex_vars_of_emacs): Added site-directory and lisp-directory.
1439 -no-packages -> no-early-packages.
1441 * Makefile.in.in: Reflected reinstatement of paths.h.in.
1443 * paths.h.in: Reinstated.
1445 * paths.h.in.in: Removed.
1447 * config.h.in: Moved configure path and directory options from
1450 1998-04-11 Kirill M. Katsnelson <kkm@kis.ru>
1452 * event-msw.c (emacs_mswindows_quit_p): don't recurse.
1454 1998-04-10 Kirill M. Katsnelson <kkm@kis.ru>
1456 * callproc.c (init_callproc): Correctly initialize
1457 `shell-file-name' for WINDOWSNT
1459 * emacs.c (main_1): Properly called new functions (see symsinit.h
1462 * event-msw.c (struct ntpipe_slurp_stream):
1464 (make_ntpipe_input_stream):
1465 (get_ntpipe_input_stream_waitable):
1466 (get_ntpipe_input_stream_param):
1467 (ntpipe_slurp_reader):
1468 (ntpipe_slurp_closer):
1469 (init_slurp_stream): Win32 pipe input stream implementation.
1470 (struct ntpipe_shove_stream):
1472 (make_ntpipe_output_stream):
1473 (get_ntpipe_output_stream_param):
1474 (ntpipe_shove_writer):
1475 (ntpipe_shove_was_blocked_p):
1476 (ntpipe_shove_flusher):
1477 (ntpipe_shove_closer):
1478 (init_shove_stream): Win32 pipe output stream implementation.
1479 (mswindows_enqueue_process_event): Dispatch helper.
1480 (find_waitable_handle):
1481 (add_waitable_handle):
1482 (remove_waitable_handle): New three, waitable handles handling.
1483 (mswindows_need_event_in_modal_loop): Simplified.
1484 (mswindows_need_event): Simplified.
1485 (mswindows_need_event): Generate process events on process output;
1486 kick status_notify when a process ends.
1487 (mswindows_find_console): Simplified.
1488 (emacs_mswindows_event_pending_p): Adjusted parameters to
1489 mswindows_need_event().
1490 (emacs_mswindows_next_event): Ditto.
1491 (get_process_input_waitable):
1492 (get_process_handle): Process select/unselect helpers.
1493 (emacs_mswindows_select_process): Implemented.
1494 (emacs_mswindows_unselect_process): Implemented.
1495 (emacs_mswindows_quit_p): Call mswindows_drain_windows_queue()
1496 directly so do not even try do dequeue process events. Saved a
1498 (emacs_mswindows_create_stream_pair): Implemented.
1499 (emacs_mswindows_delete_stream_pair): Implemented.
1500 (vars_of_event_mswindows): Registered the above two.
1501 (lstream_type_create_mswindows_selectable): Function called from
1502 emacs.c to create two pipe lstream types.
1504 * ntproc.c (sys_select): Disgustful brain fart this file is.
1506 * process-nt.c: New file: Asynchronous subprocess implemenation
1509 * process.h: Declare Fprocess_id().
1511 * signal.c (init_signals_very_early): Conditionalize possibly
1512 nonexistent signals.
1514 * symsinit.h: Declared:
1515 lstream_type_create_mswindows_selectable ()
1516 process_type_create_nt ()
1517 vars_of_process_nt ()
1519 * s/windowsnt.h: Defined HAVE_WIN32_PROCESSES.
1520 Removed fake SIGTRAP, SIGPIPE and SIGCHLD.
1522 1998-04-10 Martin Buchholz <martin@xemacs.org>
1525 Most times through the loop will get a cons, so optimize for that.
1527 * bytecode.c (Fbyte_code): Remove '91 vintage compiler bug workaround.
1528 Add NATNUMP check for Bnth bytecode.
1529 Bnth: Optimize case of n > length (list).
1530 QUITs not necessary since even if list is circular, n will count
1532 Bnthcdr: inline the code for nthcdr (we have a bytecode for it,
1534 Bcdr, Bcar: Use tail recursion.
1536 1998-04-10 Hrvoje Niksic <hniksic@srce.hr>
1538 * redisplay.c (redisplay_window): Don't lose with negative
1541 1998-04-09 Hrvoje Niksic <hniksic@srce.hr>
1543 * fileio.c (Fmake_temp_name): Don't use `+' in generated file
1545 (Fmake_temp_name): Randomize the initial values of counters.
1547 1998-04-07 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1549 * Makefile.in.in: paths.h.in is now generated from paths.h.in.in.
1551 * emacs.c (decode_path): Removed parsing of "::" into nil component.
1553 1998-04-09 Martin Buchholz <martin@xemacs.org>
1555 * lstream.c (make_filedesc_stream_1): Fix another Martin blooper.
1557 1998-04-07 SL Baur <steve@altair.xemacs.org>
1559 * emacs.c (Fdump_emacs): Delete superfluous open comment.
1561 1998-04-06 SL Baur <steve@altair.xemacs.org>
1563 * emacs.c (Fdump_emacs): Move call to disable_free_hook back to
1564 Fdump_emacs where it belongs.
1566 1998-04-07 Kirill M. Katsnelson <kkm@kis.ru>
1568 * nt.c (sys_mkdir): Added the second unused parameter, after UNIX
1569 version. Suggested by Martin.
1571 1998-04-07 Kirill M. Katsnelson <kkm@kis.ru>
1573 * event-msw.c (mswindows_wnd_proc): Fix member access macro names.
1575 * frame-msw.c (mswindows_frame_property):
1576 (mswindows_internal_frame_property_p):
1577 (mswindows_frame_properties): Implemented for the 'left and 'top
1579 (console_type_create_frame_mswindows): Regsitered the above.
1580 (mswindows_set_title_from_bufbyte): Update title only if it has
1581 really changed. This avoids a bit of flashing.
1583 * console-msw.h (FRAME_MSWINDOWS_TITLE_CHECKSUM): To update title
1585 (MSWINDOWS_FRAME_*(f)): Were MSWINDOWS_FRAME_*(f). Eeek!
1587 1998-04-06 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1589 * unexfreebsd.c: introduce FreeBSD port's patch to avoid
1590 FreeBSD-current warns "Absurd new brk addr".
1592 1998-04-06 Colin Rafferty <colin@xemacs.org>
1594 * glyphs-x.c (struct gif_error_struct): Made the err_str point to
1595 a CONST char* instead of non-const.
1596 (tiff_memory_write): Add fake return statement to shut up warnings.
1598 1998-04-06 Hrvoje Niksic <hniksic@srce.hr>
1600 * fileio.c (Finsert_file_contents_internal): Correctly handle
1601 special files larger than 32K.
1603 1998-04-06 Hrvoje Niksic <hniksic@srce.hr>
1605 * fileio.c (Fmake_temp_name): Don't call mktemp().
1607 1998-04-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1609 * unexelf.c: include <config.h> first.
1611 1998-04-04 Martin Buchholz <martin@xemacs.org>
1613 * sysdep.c: Add #include <sys/termio.h> for AIXHFT as suggested
1618 Change "config.h" to <config.h>. Add dire warnings to code since
1619 config.h is not included first.
1621 * powerpc.h: Avoid redefinition warning on START_FILES.
1623 * window.c: Rename Vminibuf_scroll_window to Vminibuffer_scroll_window.
1624 * hpplay.c: Rename play_gain to hp_play_gain in accordance with
1627 * frame-x.c (x_lower_frame):
1628 (x_raise_frame_1): Clarify code. Save a nanosecond if frame not
1631 * fileio.c (Fmake_temp_name): Use static CONST suffix; save a
1634 1998-04-05 Amir J. Katz <amir@ndsoft.com>
1636 * sysproc.h: Added #include <sys/types.h> before <sys/socket.h>
1637 otherwise callproc.c does not compile on SunOS 4.1.4 with gcc 2.8.1
1639 * sysdep.h: strerror() does not return CONST in gcc 2.8.1
1641 1998-04-05 Hrvoje Niksic <hniksic@srce.hr>
1643 * redisplay.c (generate_fstring_runes): Grok specifiers and
1644 symbols indirecting to specifiers.
1646 1998-04-06 Olivier Galibert <galibert@pobox.com>
1648 * events.c (print_event): XINT() may return a long.
1650 * insdel.c (make_gap): Thou shan't cast EMACS_INT_MAX to int.
1651 (buffer_insert_string_1): ditto.
1653 * regex.c (print_partial_compiled_pattern): Neither EMACS_INTs nor
1654 ptrdiff_t are portably printable as an int.
1656 * redisplay.c (window_line_number): Don't assume that an EMACS_INT
1659 * alloc.c (report_pure_usage): Don't assume that a size_t is
1660 displayable as an int.
1662 1998-04-06 SL Baur <steve@altair.xemacs.org>
1664 * process-unix.c: Fix typo in #ifdef.
1665 From Hrvoje Niksic <hniksic@srce.hr>
1667 1998-04-06 Olivier Galibert <galibert@pobox.com>
1669 * unexelfsgi.c (unexec): Don't treat the sbss section as bss if it
1670 isn't one. Needed for irix 6.5.
1672 1998-04-05 Martin Buchholz <martin@xemacs.org>
1674 * sysdep.h: Two prototypes that weren't properly size_t'ed
1676 1998-04-04 Martin Buchholz <martin@xemacs.org>
1678 * ralloc.c: mallopt <==> malloc.h.
1680 1998-04-04 Martin Buchholz <martin@xemacs.org>
1682 * emacs.c: #include <paths.h>, not "paths.h"
1683 This is a standard bug. It manifests if you configure in the
1684 source tree, then configure elsewhere with --srcdir.
1685 Remove misleading PATH_EXEC comment; PATH_PACKAGEPATH is also used.
1687 1998-04-04 Olivier Galibert <galibert@pobox.com>
1689 * s/386bsd.h: Removed obsolete define.
1691 1998-04-04 Olivier Galibert <galibert@pobox.com>
1693 * s/386-ix.h: Removed useless define.
1695 * sysdep.c (insque): Removed. Not used anywhere in the code.
1697 1998-04-04 Olivier Galibert <galibert@pobox.com>
1699 * process-unix.c (unix_kill_child_process): Use TIOCSIGSEND or
1700 TIOCSIGNAL as needed.
1702 * s/usg5-4.h: Remove kludgy TIOCSIGSEND #define which breaks on
1705 1998-03-28 Hrvoje Niksic <hniksic@srce.hr>
1707 * insdel.c (emchar_string_displayed_columns): Simplify for
1710 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Issue nicer output.
1712 1998-04-01 Martin Buchholz <martin@xemacs.org>
1714 * sysdir.h (sys_mkdir):
1715 * sysfile.h (sys_read):
1720 * sysdep.c (sys_read_1):
1732 (sys_write): Change types of sys_* in accordance with published
1733 standards. Use size_t and mode_t instead of unsigned int and int.
1735 1998-04-03 Martin Buchholz <martin@xemacs.org>
1737 * config.h.in (enum_field):
1740 * redisplay.c (add_margin_runes):
1741 Prefer enums for use as bitfields in preference to unsigned int,
1742 but allow the possibility to suppress it if a compiler disallows
1743 it or emits annoying warnings. Currently only __SUNPRO_C cc -Xc
1746 * event-stream.c: Fixup DEFVAR for
1747 Vcomposed_character_default_binding; Real bug!
1748 * event-msw.c: Rename mswindows_button2* to mswindows_mouse_button*
1749 * emacs.c: Rename suppress_early_backtrace to
1750 suppress_early_error_handler_backtrace
1751 * objects-x.c: Rename handle_nonfull_spec_fonts to
1752 x_handle_non_fully_specified_fonts
1753 * lread.c: Rename puke_on_fsf_keys to
1754 fail-on-bucky-bit-character-escapes
1756 * doc.c: Rename Vdoc_file_name to Vinternal_doc_file_name
1759 * buffer.c: Rename save_length to saved_size
1760 * alloc.c: Rename pureptr to pure_bytes_used
1761 * abbrev.c: Rename last_abbrev_point to last_abbrev_location
1763 DEFVAR_* are supposed to be named following a standard convention.
1765 1998-04-03 Martin Buchholz <martin@xemacs.org>
1777 Rationalize defsymbol handling.
1778 defsymbols are supposed to have equivalent C and Lisp names, for
1779 consistency. At least one real bug (end-glyph-layout) fixed.
1780 Move multiply defsymbol'ed stuff into general.c.
1782 1998-04-03 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1784 * m/ibmrs6000.inp: Removed; obsoleted by configure.in changes.
1786 1998-04-03 Martin Buchholz <martin@xemacs.org>
1788 * console-tty.c (Fset_console_tty_input_coding_system):
1789 (Fset_console_tty_output_coding_system):
1790 Input/Output and encoding/decoding were reversed.
1792 1998-04-02 SL Baur <steve@altair.xemacs.org>
1794 * m/powerpc.h: Remove LD_SWITCH_MACHINE for Linux.
1796 1998-04-02 Greg Klanderman <greg@alphatech.com>
1798 * window.c (set_window_pixsize): Move up call to
1799 check_min_window_sizes.
1801 * indent.c (vmotion_1): renamed from vmotion() and added
1802 additional argument to optionally return the pixel motion.
1803 (vpix_motion): Helper for vmotion_1.
1804 (vmotion): Wrapper - just call vmotion_1() with the right args.
1805 (Fvertical_motion_pixels): New function.
1806 (syms_of_indent): DEFSUBR it.
1808 1998-04-02 Martin Buchholz <martin@xemacs.org>
1813 Remove last vestiges of #ifdef EPOCH code. It had no chance of
1814 working anyways. In honour of seeing Marc Andreesen in person for
1815 the first time today.
1817 1998-04-01 Martin Buchholz <martin@xemacs.org>
1821 Don't use enums as bitfields - only unsigned ints.
1822 Fixes: warning: nonportable bit-field type
1824 * eval.c (call_with_suspended_errors): More volatilizing to
1828 * ralloc.c: Remove #undef NULL; they're not even used!
1830 * process-unix.c (unix_send_process): send_process is a method, so
1831 we can't include volatile in the prototype. We make the argument
1832 non-volatile, make a volatile copy, and then use that instead.
1834 * frame-x.c (x_delete_frame): The `frame' variable is initialized
1835 but not actually used.
1837 * Makefile.in.in (xselect.o): The last line of b34-pre2's
1838 src/Makefile.in.in contains a dependency that should have been
1840 (mostlyclean): Remove the removal of depend.* - no such files
1843 * make-src-depend: include a dependency on only one of
1844 lisp-union.h or lisp-disunion.h.
1846 1998-04-01 Martin Buchholz <martin@xemacs.org>
1848 * specifier.c (specifier_instance_from_inst_list): A nanosecond
1849 saved is a nanosecond earned.
1851 1998-03-31 Greg Klanderman <greg@alphatech.com>
1853 * redisplay.c (update_line_start_cache): Fix bug involving
1854 invisible text in which the line_start_cache gets hosed.
1856 Sun Mar 29 1998 Andy Piper <andyp@parallax.co.uk>
1858 * console-msw.h: define FRAME_MSWINDOWS_CDC.
1860 * frame-msw.c: (mswindows_set_frame_icon) new function. Works but
1863 * glyphs-msw.c: GNUize the code. Fix 24bpp display and make the
1864 default. Add managment of icons.
1866 * glyphs-msw.h: add icon attributes.
1868 * redisplay-msw.c: (mswindows_output_pixmap) remove unused cursor
1871 * objects-msw.c: eliminate char subscript warning.
1873 1998-04-01 SL Baur <steve@altair.xemacs.org>
1875 * sysdll.c (dll_close): fix typo.
1876 Suggested by Marcus Thiessel <marcus_thiessel@hp.com>
1879 1998-03-28 Kyle Jones <kyle_jones@wonderworks.com>
1881 * device.c (Fset_device_class): Recompute cached
1882 specifiers everywhere if device class is changed.
1883 Set various redisplay flags so that the device's
1884 various frames are redisplayed.
1886 1998-03-31 SL Baur <steve@altair.xemacs.org>
1888 * lrecord.h (DECLARE_NONRECORD): Remove redundant paren.
1889 Suggested by Martin Buchholz <martin@xemacs.org>
1891 1998-04-01 Kirill M. Katsnelson <kkm@kis.ru>
1893 * gui.c (gui_item_display_flush_left): Fix suffix length.
1895 1998-04-01 Kirill M. Katsnelson <kkm@kis.ru>
1897 * s/windowsnt.h: Defined SIZEOF_LONG_LONG and SIZEOF_VOID_P
1899 * dired-msw.c: Included <limits.h>
1901 * config.h.in (VOID_P_BITS): Fixed so that uses SIZEOF_VOID_P
1903 1998-03-31 SL Baur <steve@altair.xemacs.org>
1905 * glyphs.c (image_instantiate_cache_result): Correct order of
1906 parameters to Fputhash.
1907 Suggested by Kirill M. Katsnelson <kkm@kis.ru>
1909 1998-03-30 Martin Buchholz <martin@xemacs.org>
1911 * redisplay.c (create_right_glyph_block): glyph_type should really
1914 1998-03-29 Martin Buchholz <martin@xemacs.org>
1916 * sysfile.h: Move all encapsulations from lisp.h/emacsfns.h into
1917 sysfile.h. Users of the functionality herein will have to
1919 Check all .o files for missing #includes.
1921 Discovered that config.h.in was missing ENCAPSULATE_CLOSEDIR, as a
1922 result of fixing the above.
1924 * gui.c (gui_item_add_keyval_pair): We should not use the idiom
1925 error ("%S", lisp_object) in C code.
1926 I converted the code to use signal_simple_error_2 instead.
1927 (signal_too_long_error): Ditto.
1929 * glyphs.c (image_instantiate_cache_result): Use XC[AD]R instead
1930 of Fc[ad]r. This is always called with valid conses, and in fact,
1933 * font-lock.c (find_context): Use context_none with context
1934 instead of ccontext_none.
1936 * fns.c (Flength): The CONSP and NILP code can be combined.
1937 Change the name of the arg to SEQUENCE from OBJ.
1938 (Fnthcdr): CHECK_NATNUM instead of CHECK_INT. Optimize out Fcdr calls.
1939 (Felt): Change argument from seq to sequence to match docstring.
1941 1998-03-28 Martin Buchholz <martin@xemacs.org>
1943 * fns.c (string_putprop):
1944 (string_getprop): Make method functions static.
1946 * window.c (find_window_by_pixel_pos): Warning suppression.
1948 * imgproc.c (splitbox): Warning suppression.
1950 * redisplay-x.c (x_output_eol_cursor): Remove redundant XSETWINDOW.
1952 * glyphs-x.c (signal_image_error):
1953 (signal_image_error_2):
1954 (convert_EImage_to_XImage): Make functions static.
1956 * editfns.c (Fbuffer_size): Rename the `F' function to
1957 Fbuffer_size in accordance with coding standards.
1959 * dll.c (Fdll_open): Fix up data conversion.
1960 Provide auxiliary function maybe_call_library_function().
1962 * device-x.c (get_x_display): make function static.
1964 * data.c (Fcar): Should generate listp, not consp error.
1965 (Fcdr): Should generate listp, not consp error.
1967 1998-03-27 Martin Buchholz <martin@xemacs.org>
1969 * console-tty.c (free_tty_console_struct):
1970 Replace con->console_data with CONSOLE_type_DATA (con)
1972 * *.[ch]: C++ compilability of xemacs, on Linux and Solaris.
1974 * casetab.c (Fcase_table_p): Optimize.
1978 Rename Fcondition_case_3 to condition_case_3 - it's not a DEFUN.
1981 Remove all *BUFFER_OR_STRING* macros - unused.
1982 (memind_to_bytind): Merge two versions of function by moving
1983 #ifdef ERROR_CHECK_BUFPOS into the function body.
1984 (*_DATA_ALLOCA*): get types correct. rewrite for clarity.
1986 * balloon_help.c (balloon_help_destroy): rearrange order of
1987 functions, and remove prototype from header file.
1989 * alloc.c (deadbeef_memory): Rewrite. Use size_t for clarity.
1990 Don't bother with the left-over bytes, since in practice we will
1991 always get called with a size multiple of 4.
1992 (Fmake_list): CHECK_NATNUM instead of CHECK_INT
1993 (vector[4567]): Currently unused; ifdef out.
1994 (make_pure_float): make function static.
1995 (garbage_collect_1): Optimize.
1997 1998-03-23 Martin Buchholz <martin@xemacs.org>
1999 * marker.c (print_marker): Fix compiler warning, real bug!
2001 * device.h (MARK_DEVICE_FRAMES_FACES_CHANGED):
2002 * frame.h (MARK_FRAME_FACES_CHANGED):
2003 (MARK_FRAME_TOOLBARS_CHANGED):
2004 (MARK_FRAME_SIZE_CHANGED):
2005 (MARK_FRAME_CHANGED):
2006 (MARK_FRAME_WINDOWS_CHANGED):
2007 (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED):
2008 Fix multiple evaluation of macro arguments.
2009 Macros are a fact of life. Callers have to use temp variables to
2010 avoid multiple evaluation of arguments.
2012 * data.c (Ftrue_list_p): New function, with obvious meaning.
2013 This is terminology from Cltl2.
2014 Also define a corresponding macro TRUE_LIST_P.
2016 * device-x.c (validify_resource_component): Optimize. Rename.
2017 Use the standard technique of using a precomputed table of valid chars.
2019 (x_get_resource_prefix):
2021 (Fx_get_resource_prefix):
2022 Avoid fixed buffer sizes. Use a char_dynarr.
2023 Run validify_resource_component on all computed components.
2025 * lisp.h: Define a char_dynarr type.
2027 1998-03-22 Martin Buchholz <martin@xemacs.org>
2029 * fns.c (Fcopy_alist): Optimize.
2031 * alloc.c (acons): New function. Now used in the C code.
2032 Definition in cl.el is commented out. Add docstring.
2033 Use acons in functions which create alists.
2034 * lisp/cl.el (acons): Add docstring. Really otta be a macro, tho.
2036 * buffer.c (Fbuffer_memory_usage):
2037 * window.c (Fwindow_memory_usage):
2038 Clean up horrible consing code using new acons function.
2039 Fix incorrect value reported for gap-overhead.
2061 (delq_no_quit_and_free_cons):
2072 Replace calls to Fcar, Fcdr, Fsetcar with XCAR and XCDR.
2074 Many of these functions wouldn't QUIT if called on cyclic lists.
2075 e.g. try (progn (setq x '(nil)) (setcdr x x) (reverse x))
2076 One benchmark of delq showed it to be 3 times faster.
2080 Cleanup of database functions.
2081 Make the get_subtype and get_type methods return Lisp_Objects,
2082 instead of C strings. No more need for both dbm_type and dbm_lisp_type.
2083 Rewrite the doc strings to be consistent with XEmacs tradition.
2084 Replace old `dbm' names with `database'.
2085 Rename struct database to struct Lisp_Database.
2086 Rename DEFUN arguments to `database', when applicable.
2113 Place DEFINE_LRECORD_* after definition of static object methods, to
2114 avoid redundant declarations.
2132 Eliminate MAC_* macros.
2133 The MAC_ macros use non-standard comiler extenstions which cause
2134 gcc to generate bad code on Sparc/Solaris. Attractive though the
2135 idea of using those compiler extensions is, they are just not
2136 robust enough to use in the real world. So we eliminate them.
2137 We put up with some sub-optimalities, like macros with multiple
2138 evaluation. Such is life with C. The MAC_ macros were pretty
2139 darn ugly anyways. We CAN use inline functions, since the advent
2140 of C++ means that compilers must support those anyways.
2142 1998-03-21 Martin Buchholz <martin@xemacs.org>
2144 * alloc.c (list*): Optimize recursion levels.
2146 * alloc.c: Add debugger support via enum dbg_constants.
2147 * gdbinit: Complete rewrite.
2148 * gdbinit.union: Remove
2149 * gdbinit.pre-4.14: Remove
2150 * dbxrc: Complete rewrite.
2151 * man/xemacs-faq.texi:
2152 Proper robust debugger support for gdb and Sun's dbx.
2153 Support all combinations of Kylish DEFINEs.
2154 Work out of the box with no user customizations.
2155 See the updated faq for details.
2157 * emacsfns.h: Remove. Move declarations to lisp.h
2158 * dynarr.h: Remove. Move declarations to lisp.h
2160 Optimize header file handling to improve compile time over a network.
2161 Introduce EXFUN macro for external declaration to correspond to DEFUN.
2162 Include header files only when necessary, i.e. not from lisp.h:
2163 - unistd.h, limits.h, fnctl.h, blocktype.h, dynarr.h, emacsfns.h
2169 Rewrite low level object frobbing.
2170 Make it safe to use XSETOBJ on uninitialized Lisp_Objects.
2171 (markbit might have been set otherwise)
2172 Move XPRNTRVAL->XPNTR computation out of lisp-*union.h, since it
2173 is union-type-independent.
2201 * redisplay-output.c:
2212 As a result of the above lisp*.h changes, we can now safely remove
2213 initializations of Lisp_Objects before calling XSETOBJ on them.
2214 This was only being done half the time, anyways.
2216 * Makefile.in.in (depend): New target. calls make-src-depend.
2217 * depend: New file. Generated by make-src-depend
2218 * make-src-depend: New file. generates up-to-date dependencies.
2219 Makefile dependencies are now automagically maintained, and
2220 CORRECT. lisp.h and friends are now included in the dependencies,
2221 since this complies with the principle of least astonishment.
2223 * symbols.c (symbol_is_constant): Optimize.
2225 1998-03-30 SL Baur <steve@altair.xemacs.org>
2227 * frame.c (vars_of_frame): Default frame name should be InfoDock
2230 1998-03-29 SL Baur <steve@altair.xemacs.org>
2232 * emacs.c (voodoo_free_hook): ELF libraries built with newer
2233 versions of GCC do horrible things in dumped binaries after exit()
2235 (Fkill_emacs): Use it.
2237 1998-03-28 SL Baur <steve@altair.xemacs.org>
2239 * s/linux.h: For simplicity, do not use standard linking because
2240 it is deadly with new GCC.
2242 Sat Mar 28 10:16:29 1998 Andy Piper <andyp@parallax.co.uk>
2244 * Makefile.in.in: fix fastdump target
2246 * console-msw.h: add memory dc to frame.
2248 * frame-msw.c: manage memory dc on frame creation/deleteion
2250 * frame.h: mess with toolbar macros so that xemacs doesn't die
2251 in redisplay with a triple build.
2253 * g;yphs-msw.c: GNUize the code. Fix 24bpp display and make the
2256 * glyphs-msw.h: remove memory dc from image attributes.
2258 * redisplay-msw.c: fix redisplay to use new frame memory dc.
2260 * sheap.c: bump initial sheap yet again to allow byyte
2263 * unexcw.c: fix section parsing for multiple idata and rdata
2266 1998-03-27 SL Baur <steve@altair.xemacs.org>
2268 * emacs.c: Enabled free-hook.c code if
2269 LOSING_GCC_DESTRUCTOR_FREE_BUG is defined.
2271 1998-03-28 Kyle Jones <kyle_jones@wonderworks.com>
2273 * Fixed display bug where changes to builtin glyphs like
2274 Vcontrol_arrow_glyph would not be propagated
2275 immediately to the display.
2277 * device.h: Added glyphs_changed field to device
2278 struct. Created MARK_DEVICE_GLYPHS_CHANGED macro.
2280 * frame.h: Added glyphs_changed field to frame
2281 struct. Created MARK_FRAME_GLYPHS_CHANGED macro.
2283 * redisplay.h: Declared glyph_changed and
2284 glyph_changed_set variables, mimicking clip_changed
2285 and clip_changed_set. New macro MARK_GLYPHS_CHANGED.
2287 * redisplay.c: Defined glyph_changed and
2288 glyph_changed_set variables, mimicking
2289 clip_changed and clip_changed_set.
2291 (redisplay_window): Reset the window's glyph cache is
2292 f->glyphs_changed is non-zero. Call regenerate_window
2293 if f->glyphs_changed is non-zero.
2295 (redisplay_frame): Clear f->glyphs_changed after
2296 successful redisplay of all windows on frame.
2298 (redisplay_device): Redisplay frame if f->glyphs_changed
2299 is non-zero. Clear d->glyphs_changed after successful
2300 redisplay of all frames on device
2302 (redisplay_without_hooks): Redisplay devices if
2303 glyphs_changed is non-zero. Redisplay an individual
2304 device if d->glyphs_changed is non-zero. Clear
2305 glyphs_changed after successful redisplay of all
2308 (redisplay_glyphs_changed): Dropped use of
2309 MARK_CLIP_CHANGED. Call MARK_FRAME_GLYPHS_CHANGED for
2310 all affected frames. For locales that are not device
2311 related, mark all frames.
2313 * redisplay-output.c (compare_display_blocks):
2314 Output the whole display block if f->glyphs_changed is
2317 1998-03-27 Kyle Jones <kyle_jones@wonderworks.com>
2319 * callproc.c (Fcall_process_internal): In the case where
2320 fd_error and fd1 are the same don't close that
2323 1998-03-27 SL Baur <steve@altair.xemacs.org>
2325 * frame-x.c (x_update_frame_external_traits): Need a Lisp_Object
2326 frame as well as a struct frame.
2328 1998-03-27 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2330 * emacs.c (main_1): Reinstated PATH searching for invocation data.
2332 1998-03-26 Kirill M. Katsnelson <kkm@kis.ru>
2334 * menubar.c (Fmenu_find_real_submenu): See the entry for gui.h.
2336 * menubar-msw.c (populate_menu_add_item): Used GCPRO_GUI_ITEM
2337 macro to aviod warnings, in 2 places.
2338 (populate_or_checksum_helper): Ditto
2339 (populate_or_checksum_helper): Added placeholder for menu right
2340 flash customization.
2342 * gui.h (GCPRO_GUI_ITEM): Code which warning-free GC protects a
2343 GUI_ITEM structure moved into this macro from menubar.c
2345 * frame-x.c (x_update_frame_external_traits): Moved part of the
2346 former update_EmacsFrame() here.
2347 (console_type_create_frame_x): Declared the above method.
2349 * frame-msw.c (mswindows_set_frame_properties): Do not try to
2350 resize the frame if called from Fmake_frame the first time
2351 (potential race condition).
2352 (mswindows_init_frame_1): Fixed support for popup frames.
2353 (mswindows_delete_frame): Fixed memory leak.
2354 (mswindows_get_frame_parent): Implemented.
2355 (mswindows_update_frame_external_traits): Moved part of the former
2356 update_EmacsFrame() here.
2357 (console_type_create_frame_mswindows): Declare get_frame_parent
2358 and update_frame_external_traits methods.
2360 * faces.c (update_EmacsFrame): Converted into a device method
2361 `update_frame_external_traits'.
2363 * event-msw.c (mswindows_wnd_proc, WM_SIZE): Rewrote to avoid
2364 relying on an assumption on when Windows calls this handler.
2365 (mswindows_find_frame): Return the frame being created if the
2366 windows does not yet have associated frame object
2367 (mswindows_find_frame): Casted long to Lisp_Object properly.
2369 * device.c (window_system_pixelated_geometry): Changed to call the
2370 device_implementation_flags device method.
2372 * device-msw.c (mswindows_device_implementation_flags):
2374 (console_type_create_device_mswindows): Declared the above.
2376 * console.h (struct console_methods): Added
2377 device_implementation_flags_method and
2378 update_frame_external_traits_method.
2379 Defined flags retuned by device_implementation_flags_method.
2381 * console-msw.h (struct mswindows_frame): Added charheight and
2383 Added macros for referring to these two, Rvalue.
2384 Moved Windows-specific macros from frame.h here.
2385 (typedef struct XEMACS_RECT_WH): Added.
2386 Declared global variables.
2388 1998-03-19 Kirill M. Katsnelson <kkm@kis.ru>
2390 * console-msw.h: Added prototypes for
2391 mswindows_protect_modal_loop() and
2392 mswindows_unmodalize_signal_maybe().
2394 * scrollbar-msw.c (mswindows_update_scrollbar_instance_status):
2395 Removed redundant call to set_frame_size method.
2397 * frame.c (Fframe_property): For a window system with pixel-based
2398 geometry, convert passed char-based metrics to pixels.
2399 (Fframe_properties): Ditto.
2400 (Fset_frame_height): Ditto.
2401 (Fset_frame_width): Ditto.
2402 (Fset_frame_size): Ditto.
2403 (frame_conversion_internal): Added a parameter, controlling
2404 whether the function uses real char metrics or 1 when geometry is
2406 Allow NULL for output int* params.
2407 (pixel_to_char_size): frame_conversion_internal() is called with
2408 indication to fake font size to 1.
2409 (char_to_pixel_size): Ditto.
2410 (round_size_to_char): Ditto.
2411 (pixel_to_real_char_size):
2412 (char_to_real_pixel_size):
2413 (round_size_to_real_char): New three counterparts of the above
2414 metioned functions, which always use real character metrics.
2415 (change_frame_size_1): Use real character metrics when computing
2418 * frame.h: Prototypes for pixel_to_real_char_size(),
2419 char_to_real_pixel_size(), round_size_to_real_char().
2421 * frame-msw.c (mswindows_init_frame_1): Rewritten to support
2422 system-default new window width and height.
2423 (mswindows_init_frame_2): Commented out, unused.
2424 (mswindows_after_init_frame): Added frame method.
2425 (mswindows_set_frame_size): Reworked to support pixel base
2427 (mswindows_set_frame_position): Cahnged to use SetWindowPos.
2428 (mswindows_lower_frame): Ditto.
2429 (mswindows_set_frame_properties): Fixed to perform correct
2430 calculation, and to support pixel geometry.
2431 (console_type_create_frame_mswindows): init_frame_2 removed,
2432 after_init_frame added.
2434 * faces.c (default_face_height_and_width_1): Added.
2435 (update_EmacsFrame): Changed method of notifying mswindwows frame,
2436 so modeline border gets redrawn.
2438 * faces.h: Prototype for default_face_height_and_width_1().
2440 * event-msw.c (mswindows_wnd_proc, WM_SIZE): Redisplay after
2441 maximize/restore window.
2442 (mswindows_wnd_proc, WM_WINDOWPOSCHANGING): Do not round size to
2443 char if window is maximized.
2444 Use real char metrics for rounding.
2445 Call DefWindowProc to process WM_GETMINMAXINFO
2446 (mswindows_set_chord_timer): Changed chord timeout from 1/2 to 1/3
2447 system double click time
2449 * device.c (domain_device_type): New function.
2450 (window_system_pixelated_geometry): New function.
2451 (Fdomain_device_type): New function, lisp interface to
2452 domain_device_type().
2453 (syms_of_device): DEFSUBRed the above.
2455 * device.h: Ptorotypes for domain_device_type() and
2456 window_system_pixelated_geometry().
2458 * menubar-msw.c (mswindows_update_frame_menubars): Call
2459 update_frame_menubar_maybe always.
2461 1998-03-27 SL Baur <steve@altair.xemacs.org>
2464 * s/hpux11-shr.h: New files.
2465 From Marcus Thiessel <marcus_thiessel@hp.com>
2467 * Makefile.in.in: temporarily comment -lmcheck support.
2468 Suggested by Marcus Thiessel <marcus_thiessel@hp.com>
2470 1998-03-26 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2472 * emacs.c (vars_of_emacs): Fixed bug: Now respects configure
2473 setting of inhibit-site-lisp.
2474 (main_1): inhibit-site-lisp is now exclusively
2475 configure-initialized.
2477 1998-03-27 Hrvoje Niksic <hniksic@srce.hr>
2479 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Don't feed
2480 error_with_frob() with LispObjects.
2482 1998-03-26 Kirill M. Katsnelson <kkm@kis.ru>
2484 * redisplay-msw.c (mswindows_output_cursor): Added parameters for
2485 character under cursor, and a flag indicating whether the cursir
2486 is over an image. Draw bar cursor always over an image glyph.
2487 Callers are changed accross the file.
2488 Honor the value of window::text_cursor_visible_p.
2489 (mswindows_output_pixmap): Cursor drawing code #if0ed.
2490 (mswindows_output_display_block): Call to output cursor after
2493 1998-03-27 P. E. Jareth Hein <jareth@camelot-soft.com>
2498 * glyphs-x.h: Added in a colormap variable in the X specific image
2499 struct to handle IMAGE_POINTER images which must be allocated in the
2500 default colormap of the screen. Also reformated the code to follow
2505 * glyphs-x.c: added image-conversion-error type
2507 * objects-x.c (allocate_nearest_color): Corrected a minor bug involving
2508 setting the values into XColor.
2510 1998-03-25 P. E. Jareth Hein <jareth@camelot-soft.com>
2512 * free-hook.c (check_realloc): Handle the degerate case of realloc with
2513 a NULL value acting the same as malloc.
2515 1998-03-24 Kyle Jones <kyle_jones@wonderworks.com>
2517 * redisplay-x.c (x_output_eol_cursor): Use x_clear_region
2518 instead of XClearArea to erase the cursor so that background
2519 pixmaps are handled properly. New fourth parameter findex
2520 added so that it can be passed to x_clear_region.
2522 1998-03-25 Kirill M. Katsnelson <kkm@kis.ru>
2524 * process.c (Fprocess_send_eof): Close output stream before
2525 deleting stream pair.
2526 (deactivate_process): Ditto, both input and output streams.
2528 * event-unixoid.c (event_stream_unixoid_delete_stream_pair): Do
2529 not close passed lstreams.
2531 1998-03-24 Kirill M. Katsnelson <kkm@kis.ru>
2533 * fileio.c (Ffile_readable_p): GC protect fix, MS Windows specific.
2535 Mon Mar 23 22:14:12 1998 Andy Piper <andyp@parallax.co.uk>
2537 * configure.in: compile in glyphs-msw.o when compiling fopr
2540 Mon Mar 23 22:14:12 1998 Andy Piper <andyp@parallax.co.uk>
2542 * msw-glyphs.el: add support for xpm and bmp. change
2543 eval-and-compile to progn.
2545 Mon Mar 23 22:14:12 1998 Andy Piper <andyp@parallax.co.uk>
2547 * Makefile.in.in: fastdump - new target for dumping bypassing
2548 bytecompilation, DOC. Add dependencies for glyphs-msw.o. Move
2549 imgproc.o to object list.
2552 * glyphs-msw.c: new files adding support for xpm and bmp and
2555 * redisply-msw.c: add support for outputing color pixmaps.
2557 * console-msw.h: add bitspixel field to mswindows frame.
2559 * device-msw.c: initialise bitspixel field in mswindows frame.
2561 * glyphs-x.c (xpm_instantiate): call mswindows_xpm_instantiate if
2562 the device type is mswindows.
2564 * emacs.c: call glyphs-msw.c init functions if compiling with
2567 * symsinit.h: add prototypes for glyphs-msw.c functions.
2569 * sheap.c: make includes src-dir compliant.
2571 * events.c: remove cygwin ^H <-> erase hack.
2573 * s/cygwin32.h: remove NOMULTIPLEJOBS defn.
2575 1998-03-24 P. E. Jareth Hein <jareth@camelot-soft.com>
2577 * glyphs-x.c (my_jpeg_output_message): Added new function to redirect
2578 any error/warning messages from the jpeg library to XEmacs. Also
2579 get rid of an unneeded temp variable in the tiff code.
2581 1998-03-14 Hrvoje Niksic <hniksic@srce.hr>
2583 * insdel.c (fixup_internal_substring): Protect asserts with #ifdef
2586 * minibuf.c (scmp_1): c1 and c2 are Emchar, not Bufbyte.
2587 (Ftry_completion): Fixed typo.
2589 * dired.c (file_name_completion): Removed `readfunc', a remnant of
2592 1998-03-13 Hrvoje Niksic <hniksic@srce.hr>
2594 * dired.c (Fdirectory_files): Simplify logic.
2596 * symbols.c (reject_constant_symbols): Allow setting a keyword's
2599 1998-03-23 Hrvoje Niksic <hniksic@srce.hr>
2601 * lread.c (readevalloop): Don't specbind Qstandard_input to
2604 1998-03-09 Hrvoje Niksic <hniksic@srce.hr>
2606 * lread.c (read_atom): Ditto.
2608 * symbols.c (reject_constant_symbols): Do the keyword stunts only
2609 if the symbol is in Vobarray.
2611 * symbols.c (reject_constant_symbols): Signal error when
2612 attempting to assign a value to a keyword, unless the value is the
2615 * symbols.c (Fintern): Initialize symbol's ->obarray to t only
2616 when OBARRAY is Vobarray.
2618 1998-03-21 Hrvoje Niksic <hniksic@srce.hr>
2620 * events.c (Fmake_event): Allow creation of misc-user-events.
2622 1998-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2624 * config.h.in, emacs.c: Changed allow-site-lisp to
2625 inhibit-site-lisp. Made -no-autoloads set inhibit-site-lisp.
2627 1998-03-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2629 * <Today>: The Big Path Searching Overhaul.
2631 * symsinit.h: Added declaration for complex_vars_of_emacs in
2634 * paths.h.in: Adjusted the comments to reality as dictated by
2637 * filelock.c (complex_vars_of_filelock): Added support for lock
2638 directories passed in from configure.
2640 * emacs.c (complex_vars_of_emacs): Added all relevant installation
2641 paths passed from configure. They all have the prefix "configure-" now.
2643 * config.h.in: Added HAVE_SITE_LISP configuration option.
2645 * callproc.c (init_callproc): Ripped out all the bogus path setup.
2647 * Makefile.in.in: Updated all calls of "temacs -l" with absolute
2648 file names because auf the more minimalistic load-path setup in
2649 lread.c. Also set EMACSBOOTSTRAPLOADPATH on calling temacs rather
2650 than EMACSLOADPATH because EMACSLOADPATH is now more persistent than
2653 * lread.c (init_lread): Ripped out bogus load-path setup.
2655 1998-03-21 Kyle Jones <kyle_jones@wonderworks.com>
2657 * frame.h: Move the check for an initialize_frame_toolbars
2658 method into FRAME_RAW_REAL_TOOLBAR_VISIBLE to avoid getting
2659 clunked by toolbar-less builds.
2661 1998-03-20 SL Baur <steve@altair.xemacs.org>
2663 * m/powerpc.h (LD_SWITCH_MACHINE): Fix path to ppc.ldscript.
2665 1998-03-16 Hrvoje Niksic <hniksic@srce.hr>
2667 * redisplay.c (window_line_number_buf): Made it larger.
2669 * opaque.c (print_opaque): Ditto.
2671 * lstream.c (print_lstream): Avoid `%p'.
2673 * keymap.c (ensure_meta_prefix_char_keymapp): Use
2676 * input-method-xlib.c (EmacsXtCvtStringToXIMStyles): Allocate buf
2679 * event-Xt.c (describe_event_window): Allocate buf dynamically.
2681 * doc.c (Fsubstitute_command_keys): Warn of sprintf().
2683 * device-x.c (x_init_device): Allocate path dynamically.
2684 (x_init_device): Allocate buf1 and buf2 dynamically.
2686 1998-03-14 Hrvoje Niksic <hniksic@srce.hr>
2688 * ExternalShell.c (GetGeometry): Use a larger buffer for
2691 1998-03-19 Kirill M. Katsnelson <kkm@kis.ru>
2693 * redisplay.c (point_would_be_visible): Fix
2694 window::line_cache_validation_override reference counter.
2695 (start_with_line_at_pixpos): Ditto.
2697 1998-03-20 Olivier Galibert <olivier.galibert@mines.u-nancy.fr>
2699 * insdel.c (bytecount_to_charcount): Use 'L' suffix on long
2700 constants probably too large for an int.
2702 1998-03-18 Hrvoje Niksic <hniksic@srce.hr>
2704 * lread.c (read_atom_0): Signal Qend_of_file if readcharfun
2706 (read_escape): Ditto.
2707 (FSF_LOSSAGE): Ditto.
2709 1998-03-20 SL Baur <steve@altair.xemacs.org>
2711 * emacs.c: path-separator (and parse-colon-path) moved from Lisp
2712 into C because we need it for early initialization.
2714 * Makefile.in.in (libmcheck): Add.
2716 * config.h.in: Add HAVE_LIBMCHECK and HAVE_MCHECK_H.
2718 * hash.c (grow_hashtable): Fix tests to compare against
2719 Qnull_pointer since this function may be called before any symbols
2720 or the Lisp engine is initialized.
2722 * emacs.c (main_1): Restore usage of free-hook.c.
2724 * free-hook.c (check_realloc): Change aborts to printfs.
2725 (check_free): Ditto.
2727 1998-03-18 SL Baur <steve@altair.xemacs.org>
2729 * emacs.c (Fkill_emacs): Use LIST_LOOP_DELETING because our
2730 control variable is being modified underneath us.
2731 - Avoid calling delete_console_internal on stream consoles.
2733 * console-tty.c (free_tty_console_struct): NULL out pointers after
2736 * console-stream.c (allocate_stream_console_struct): Fix memory
2737 leak -- if the stream_console struct is already allocated, don't
2739 (free_stream_console_struct): Don't leave dangling freed pointer
2742 * redisplay-output.c (redisplay_redraw_cursor): Fully bracket.
2744 1998-03-17 SL Baur <steve@altair.xemacs.org>
2746 * frame.c (delete_frame_internal): Correct check.
2748 * imgproc.c: Include <config.h>.
2750 1998-03-13 P. E. Jareth Hein <jareth@camelot-soft.com>
2752 * glyphs-x.c: fix for upside-down TIFFs.
2754 1998-03-14 Kirill M. Katsnelson <kkm@kis.ru>
2756 * fileio.c (Finsert_file_contents_internal): Removed all DOS_NT
2757 specific code; rely on FILE_CODING streams instead.
2758 (Fwrite_region_internal): Ditto.
2759 (decide_buffer_type): Function removed.
2760 (buf_decide_buffer_type): Function removed.
2761 (Many places): References to DOS_NT replaced with WINDOWSNT. MSDOS-
2762 specific code removed.
2764 * lread.c (Fload_internal): Removed ugly DOS style re-opening a
2765 file in text mode. '\r' is perfectly handled in readevallop().
2767 * redisplay.c (decode_mode_spec): Made %t decode to "T" unconditionally.
2769 * s/windowsnt.h (FILE_CODING): Define always.
2771 1998-03-15 Kirill M. Katsnelson <kkm@kis.ru>
2773 * s/windowsnt.h: Added prototypes for generally used functions
2776 * fileio.c (Ffile_readable_p): Conditionalized declared never used
2778 (Fexpand_file_name): Ditto.
2779 (check_executable): Ditto.
2781 * lread.c (parse_integer): Eliminated a warning resulted from
2782 applying unary minus to unsigned int.
2784 1998-03-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2786 * eldap.c: (Fldap_search_internal): Print error information from
2787 errno when connection fails
2789 1998-03-16 Hrvoje Niksic <hniksic@srce.hr>
2791 * lread.c: New macro, to avoid exposing an lstream to Lisp error
2793 (reader_nextchar): Use it.
2796 1998-03-15 Kyle Jones <kyle_jones@wonderworks.com>
2798 * cmds.c (Fforward_char): Dropped support for
2799 signal-error-on-buffer-boundary. Added details to
2802 (Fbackward_char): Dropped support for
2803 signal-error-on-buffer-boundary by way of change to
2804 Fforward_char. Added details to doc string.
2806 Definition of signal-error-on-buffer-boundary moved to
2809 * window.c (Fscroll_up): Dropped support for
2810 signal-error-on-buffer-boundary. Added details to
2813 (Fscroll_down): Dropped support for
2814 signal-error-on-buffer-boundary. Added details to doc
2817 1998-03-15 Kyle Jones <kyle_jones@wonderworks.com>
2819 * redisplay-tty.c (tty_clear_frame): Record that the
2820 real location of teh cursor has been moved to 0,0.
2821 Failure to do this makes the display code believe the
2822 cursor is in a place where it is not.
2824 1998-03-15 Kyle Jones <kyle_jones@wonderworks.com>
2826 * console.h: Added set_final_cursor_coords method to console
2829 * console-tty.h: Added final_cursor_x and final_cursor_y
2830 slots to console struct. Added CONSOLE_TTY_FINAL_CURSOR
2831 macros to access them.
2833 * redisplay.c (create_text_block): No longer
2834 turn off the cursor if computing a block when
2835 cursor_in_echo_area is 0 and the echo area is
2836 inactive. Needed so that the cursor will not be
2837 frozen in the minibuffer when cursor_in_echo_area
2840 * redisplay-output.c (redisplay_move_cursor): Don't
2841 bail if we're moving the cursor in a selected
2842 minibuffer window. Needed so that simple cursor
2843 optimization can be done in the minibuffer even when
2844 cursor_in_echo_area is non-zero.
2846 (redraw_cursor_in_window): Set final cursor coordinates
2847 as a special case for cursor_in_echo_area != 0, since
2848 the buffer switching between minibuffer and echo area
2849 buffer seems to confuse the normal cursor positiong
2850 code otherwise. Set final cursor coordinates in the
2851 general case before calling output_display_line.
2853 * redisplay-tty.c: New function tty_set_final_cursor_coords.
2855 (tty_output_end): Set logical cursor position to the final
2856 cursor position as specified in CONSOLE_TTY_CURSOR_{X,Y},
2859 (tty_redisplay_shutdown): Changed code to use
2860 tty_set_final_cursor_coords() to go to the bottom
2861 left of the screen instead of using cmgoto()
2863 (console_type_create_redisplay_tty): Declare that tty
2864 consoles have the set_final_cursor_coords method.
2866 1998-03-13 Hrvoje Niksic <hniksic@srce.hr>
2868 * emacs.c (main_1): Avoid snprintf(); allocate the buffer
2871 1998-03-13 P. E. Jareth Hein <jareth@camelot-soft.com>
2873 * glyphs-x.c (png_instantiate): Added in override support
2874 for png backgrounds.
2876 1998-03-13 P. E. Jareth Hein <jareth@camelot-soft.com>
2878 * glyphs-x.c (png_instantiate): Fixed a bug that was causing
2879 overruns when attempting to display transparent pngs
2881 1998-03-13 P. E. Jareth Hein <jareth@camelot-soft.com>
2883 * glyphs-x.c (png_instantiate): Fix brainfart in error handling code.
2885 1998-03-13 SL Baur <steve@altair.xemacs.org>
2887 * emacs.c (main_1): Guard call to snprintf.
2889 * config.h.in: Add HAVE_SNPRINTF.
2891 1998-03-13 Kirill M. Katsnelson <kkm@kis.ru>
2893 * event-stream.c (init_event_stream): Initialize mswindows event
2894 loop in stream mode if no other window systems available. Thanks
2897 1998-03-04 Kirill M. Katsnelson <kkm@kis.ru>
2899 * alloc.c (garbage_collect_1): Removed #ifndef WINDOWSNT around
2900 mark_profiling_info().
2902 1998-03-11 SL Baur <steve@altair.xemacs.org>
2904 * console-tty.c (Fset_console_tty_coding_system): Guard against
2905 terminal-coding-system being left unitialized by a locale.
2906 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2908 1998-03-11 P. E. Jareth Hein <jareth@camelot-soft.com>
2910 * config.h.in: Added in new feature check HAVE_VSNPRINT to check
2911 for safe ways to deal with vsprintf and friends.
2913 * glyphs-x.c (gif_instantiate): Changed gif support to call external
2914 library Giflib 3.1. Altered GIF/JPEG/PNG formats to use new EImage
2915 format for dealing with images to better support color handling, and
2916 facilitate the change to a device-neutral implementation. Added TIFF
2919 * Makefile.in.in: Removed all gif related files
2921 * emacs.c (main_1): Removed reference to init_gif_err
2924 * dgif_lib.c: Removed from the source distribution
2929 Mon Mar 09 13:00:55 1998 Andy Piper <andyp@parallax.co.uk>
2931 * file-coding.c: warning elimination
2933 * ntplay.c: new file. basic implementation of sound support.
2935 * redisplay-msw.c (mswindows_update_dc): cachel bug is gone so we
2936 don't need this code under cygwin.
2938 * sheap.c: need large heap slop for byte compiling with three
2941 * sound.c: eliminate warnings. enable sound under mswindows.
2943 * s/cygwin32.h: miscellaneous updates for sound support.
2945 1998-03-09 SL Baur <steve@altair.xemacs.org>
2947 * config.h.in: Add BITMAPDIR.
2949 * glyphs-x.c (locate_pixmap_file): Assume BITMAPDIR is a
2950 colon-separated path.
2952 * emacs.c (main_1): Initialize dll support with the path the
2954 (make_arg_list_1): Ditto.
2956 * sysdll.h: Add legalese.
2959 * sysdll.c: sysdll.h needs to be included with double quotes not
2961 Use RTLD_GLOBAL as an open flag if it exists.
2963 1998-03-09 Martin Buchholz <Martin Buchholz <martin@xemacs.org>>
2965 * eldap.c (Fldap_search_internal): call garbage_collect_1 instead
2966 of Fgarbage_collect. The two are identical except the latter
2967 generates some `fresh' garbage :)
2969 1998-03-09 SL Baur <steve@altair.xemacs.org>
2971 * keymap.c: Add symbols for mouse-4 and mouse-5.
2972 (define_key_check_and_coerce_keysym): Mouse-4, Mouse-5 keysym support.
2973 (syms_of_keymap): Ditto.
2975 1998-01-26 Hrvoje Niksic <hniksic@srce.hr>
2977 * marker.c (print_marker): Print marker's lheader.uid.
2978 (Fbuffer_has_markers_at): New function, synched with FSFmacs 20.2.
2979 (Fbuffer_has_markers_at): Disabled by default.
2981 1998-01-25 Hrvoje Niksic <hniksic@srce.hr>
2983 * sound.c (Fplay_sound_file): Place the result of continuable
2986 1998-03-09 SL Baur <steve@altair.xemacs.org>
2988 * emacs.c, config.h.in: New DLL support.
2989 * sysdll.h, sysdll.c: New files.
2990 * dll.c: renamed from dlopen.c, use interface defined in sysdll.c.
2991 From William Perry <wmperry@aventail.com>
2993 * eldap.h: Fix copyright.
2996 1998-03-08 SL Baur <steve@altair.xemacs.org>
2998 * Makefile.in.in: Add dependencies for process-unix.o.
3000 1998-03-08 Kyle Jones <kyle_jones@wonderworks.com>
3002 * glyphs-x.c (write_lisp_string_to_temp_file):
3003 Don't explicitly initialize conversion_out_dynarr, because
3004 doing so may cause it to be put into read-only space
3005 and modifying it later would make XEmacs crash.
3007 1998-03-07 Kyle Jones <kyle_jones@wonderworks.com>
3009 * events.h: Add do_backspace_mapping parameter to
3010 function prototype of character_to_event.
3012 * events.c: Add fifth parameter to character_to_event to
3013 control the backspace mapping. In character_to_event map most
3014 characters that match tty-erase-char to the backspace keysym,
3015 but only if do_backspace_mapping paramter is non-zero.
3017 (Fcharacter_to_event): Tell character_to_event() to DO
3021 (maybe_read_quit_event): Tell character_to_event() to DO
3024 (maybe_kbd_translate): Tell character_to_event() to DO backspace
3027 (lookup_command_event): Tell character_to_event() to DO backspace
3031 (read_event_from_tty_or_stream_desc): Tell character_to_event()
3032 to DO backspace mapping.
3035 (get_keyelt): Tell character_to_event() to NOT DO backspace
3038 (define_key_parser): Tell character_to_event() to NOT DO backspace
3041 (Fsingle_key_description): Tell character_to_event() to DO
3044 1998-03-04 Kirill M. Katsnelson <kkm@kis.ru>
3046 * alloc.c (Fpurecopy): Do not mark symbols through
3047 Vpure_uninterned_symbol_table twice: hash (OBJ, nil) instead of
3050 1998-03-07 SL Baur <steve@altair.xemacs.org>
3052 * emacs.c (shut_down_emacs): Disable forced auto-save in a crash.
3053 It causes more problems than it solves.
3055 1998-03-02 Greg Klanderman <greg@alphatech.com>
3057 * window.c (Fwindow_displayed_pixel_height) New function.
3058 (Fenlarge_window_pixels): New function.
3059 (Fshrink_window_pixels): New function.
3060 (window_displayed_pixel_height): New, helper for
3061 Fwindow_displayed_pixel_height.
3062 (change_window_height): Add `inpixels' argument.
3063 (syms_of_window): 3 new DEFSUBR's.
3065 Thu Mar 05 12:01:35 1998 Andy Piper <andyp@parallax.co.uk>
3067 * redisplay-msw.c (mswindows_output_cursor): separate getting
3068 cachel index from retrieving cachel to work around apparent bug in
3071 1998-03-06 Kyle Jones <kyle_jones@wonderworks.com>
3073 * events.c (character_to_event): The tty_erase_char test
3074 doesn't do anything because it's in the wrong place.
3075 Moved it to where it can take effect.
3077 * dired.c (Fdirectory_files): Initialize GCPRO'ed variable.
3079 * events.c (character_to_event): Never map '(control
3080 foo) to QKbackspace. Only map ASCII 8 to QKbackspace;
3081 don't map any other key.
3083 1998-03-05 Kyle Jones <kyle_jones@wonderworks.com>
3085 * src/redisplay-output.c (redisplay_move_cursor): Bail if
3086 cursor_in_echo_area is non-zero and we're fiddling
3087 with the cursor in a minibuffer window, since that is a
3088 special case that is handled elsewhere and this function
3089 need not handle it. Return 1 so the caller will assume we
3092 Wed Mar 04 08:55:12 1998 Andy Piper <andyp@parallax.co.uk>
3094 * device.c (init_global_resources): compile in based on window
3097 * console.c (select_console_1): add mswindows console type.
3099 1998-03-04 Kyle Jones <kyle_jones@wonderworks.com>
3101 * redisplay-output.c (redisplay_redraw_cursor): Redraw
3102 the cursor in the minibuffer window if cursor_in_echo_area
3105 Wed Mar 04 08:55:12 1998 Andy Piper <andyp@parallax.co.uk>
3107 * emacs.c (main_1): predicate display_use to mswindows only if x
3108 is not already selected.
3110 * event-msw.c: comment out non-code for HAVE_TOOLBAR case. don't
3111 compile debug_process_finalisation if x is compiled in.
3113 * event-stream.c (init_event_stream): don't make X and mswindows
3114 mutually exclusive. Select msw event loop if started that way,
3115 X/tty event loop otherwise.
3117 * frame.h: protect toolbar #defines from assuming ints are in
3118 toolbar_data. This happens if you have two display types compiled
3119 in and one supports toolbars and the other doesn't.
3121 * s/cygwin32.h: warning elimination.
3123 1998-03-03 SL Baur <steve@altair.xemacs.org>
3125 * editfns.c (Ftemp_directory): New function.
3126 From Glynn Clements <glynn@sensei.co.uk>
3128 * editfns.c (Ftemp_directory): Use build_ext_string.
3130 1998-03-02 Martin Buchholz <Martin Buchholz <martin@xemacs.org>>
3132 * symsinit.h: add prototype for syms_of_dlopen
3134 1998-03-02 Kyle Jones <kyle_jones@wonderworks.com>
3136 * window.c (save_window_save): save value of
3137 default_toolbar_height slot.
3139 (Fset_window_configuration): restore value of
3140 default_toolbar_height slot.
3142 Fri Feb 20 21:22:34 1998 Darryl Okahata <darrylo@sr.hp.com>
3144 * "Fast" dired-in-C enhancements for Windows 95/NT:
3148 Moved definition of `Vwin32_downcase_file_names' from ntproc.c
3149 to device-msw.c, and renamed it to
3150 `Vmswindows_downcase_file_names'. It doesn't really belong
3151 here, but I didn't want to create a new file, just for this one
3152 variable. This fixes a bug in `expand-file-name' that caused
3153 all returned filenames to be lowercased (this was supposed to be
3154 conditional upon Vmswindows_downcase_file_names, but wasn't, as
3155 it was never initialized due to obsolescence of ntproc.c). This
3156 variable is also used by the dired-in-C enhancements.
3158 Also moved and renamed `Vwin32_get_true_file_attributes' to
3159 `Vmswindows_get_true_file_attributes'. This affects stat() in
3160 nt.c, and so it really does need to be initialized.
3162 However, there's still one more variable in ntproc.c that still
3163 needs to be moved/renamed, `Vwin32_pipe_read_delay', but I
3164 didn't touch this, as this is a subprocess issue.
3166 * dired-msw.c: New file for dired-in-C enhancements for
3169 * emacs.c: Initialization calls for dired-msw.c.
3171 * nt.c (convert_time): make into public function (dired-in-C
3174 1998-02-28 Kirill M. Katsnelson <kkm@kis.ru>
3176 * sysdep.h: Prototypes for the above 2 functions
3178 * sysdep.c (get_pty_max_bytes): Moved here from process.c
3179 (get_eof_char): Ditto
3181 * symsinit.h: Prototypes for initialization functions called from
3182 emacs.c: process_type_create_mswindows, process_type_create_unix,
3183 vars_of_process_mswindows, vars_of_process_unix.
3185 * procimpl.h: New file. Includes prototypes and other stuff shared
3186 by process.c and implementation files (process-unix.c,
3187 process-msw.c in future).
3189 * process.h (PROCESS_LIVE_P): Changed to test against stream
3190 existence, to avoid dependency on fds.
3192 * process.c: Only process implementation independent code is now
3193 in this file. Moved the rest into process-unix.c
3194 (Fopen_network_stream_internal): Added 5th parameter, protocol
3195 family. Defaults to 'tcp/ip when unspecified.
3197 * process-unix.c: New file, implementation of UNIX
3198 processes. UNIX-specific code from the old process.c is here.
3200 * Lstream.c (Lstream_was_blocked_p): New function. Replaces
3201 filedesc_stream_was_blocked_p.
3202 (filedesc_was_blocked_p): Implementation of the method for
3204 (filedesc_stream_set_pty_flushing): set pty_flushing flag
3205 (filedesc_stream_fd): New function, returns fd of the stream
3207 * lstream.h (lstream_implementation): was_blocked_p is a new
3208 optional lstream method.
3209 Added prototypes for functions in lstream.c
3211 * lisp.h: (USID): Typedef for Unique Stream IDentifier. Reuqired
3212 by the new code in many places.
3214 * events.h (struct event_stream): Declaration of the two mandatory
3215 event stream methods, required by process support.
3217 * event-unixoid.c (event_stream_unixoid_create_stream_pair):
3218 Implementation of the method shared by TTY and X
3219 (event_stream_unixoid_delete_stream_pair): Ditto
3221 * event-tty.c (emacs_tty_next_event): get_process_from_usid()
3222 instead of get_process_from_fd()
3223 (emacs_tty_create_stream_pair): New events tream method
3224 (emacs_tty_delete_stream_pair): New events tream method
3226 * event-stream.c (event_stream_create_stream_pair): New event
3228 (event_stream_delete_stream_pair): Ditto
3230 * event-msw.c (debug_process_finalization): Although if0'ed,
3231 removed obsolete code
3233 * event-Xt.c (emacs_Xt_create_stream_pair): Implementation if the
3234 new event stream method
3235 (emacs_Xt_delete_stream_pair): Ditto
3237 * emacs.c (main_1): Added calls to process_type_create*() and
3240 * callproc.c: (many places): removed DOS support
3242 1998-03-02 SL Baur <steve@altair.xemacs.org>
3244 * process.c (Fprocess_status): Restore old behavior -- call
3245 Fget_process on a string argument.
3247 Mon Mar 02 11:37:36 1998 Andy Piper <andyp@parallax.co.uk>
3250 * file-coding.c: more cleanup by only including iso2022 stuff in a
3251 mule build. (setup_eol_coding_systems) move (T) -> :T etc.
3253 * event-stream.c: (Fopen_dribble_file) Qescape_quoted only exists in
3256 * md5.c: remove warning.
3258 * unexcw.c: move .idata -> .rdata for cygwin b19.
3260 * Makefile.in.in: add msw dependencies.
3262 * sheap.c: up static heap parameters.
3264 * s/cygwin32.h: add prototypes to eliminate warnings.
3266 1998-03-02 SL Baur <steve@altair.xemacs.org>
3268 * Makefile.in.in (blddir): Import blddir.
3269 Add blddir to dump-time load-path.
3271 * nas.c (play_sound_data): Add braces for clarity.
3272 (play_sound_file): Ditto.
3274 1998-03-01 SL Baur <steve@altair.xemacs.org>
3276 * alloc.c: Boost static vector size for breathing room. Double
3277 the size if we may be dynamically linking.
3279 * dlopen.c (Fdl_open): Use RTLD_GLOBAL flag on dlopen if available.
3281 * device-x.c (x_init_device): Hardcode `Emacs' as the filename
3282 containing localized menubars.
3284 * config.h.in: Add HAVE_UNIX_PROCESSES for 20.6.
3286 * alloc.c (init_alloc_once_early): Document movement of mmap
3287 enabling code to emacs.c.
3289 * Makefile.in.in: Update FILE_CODING dependencies.
3291 1998-03-01 Kyle Jones <kyle_jones@wonderworks.com>
3293 * file-coding.c (setup_eol_coding_systems): Don't try
3294 to copy the mnemonic property of the coding system
3295 unless it is a string.
3297 (allocate_coding_system): Initialize coding system
3298 struct member 'mnemonic' to Qnil. Leaving its value
3299 set to 0 causes a crash.
3301 1998-03-01 SL Baur <steve@altair.xemacs.org>
3303 * file-coding.c (DEFINE_SUB_CODESYS): Undo previous patch.
3305 1998-03-01 Kyle Jones <kyle_jones@wonderworks.com>
3307 * callint.c: Read coding system names for the 'z' and
3308 'Z' interactive specs if FILE_CODING or MULE is defined.
3309 Previously, coding system names were read only if MULE was
3312 * file-coding.h: Removed charset-based category types
3313 from enumerated coding_category_type if not building
3316 * file-coding.c (syms_of_mule_coding): Don't define
3317 symbols for charset-based coding systems unless
3320 1998-02-28 SL Baur <steve@altair.xemacs.org>
3322 * alloc.c (garbage_collect_1): Guard call to selected_frame so it
3323 cannot be called during GC.
3324 - Update current count of staticpro'ed objects.
3326 1998-02-28 Kyle Jones <kyle_jones@wonderworks.com>
3328 * menubar.c (Fmenu_find_real_submenu): Document the
3329 "use struct as array" hack. Convert struct pointer to
3330 array to avoid compiler warnings.
3332 1998-02-26 SL Baur <steve@altair.xemacs.org>
3334 * buffer.c (complex_vars_of_buffer): Fix DOC string for
3335 buffer-file-coding-system.
3337 1998-02-26 Damon Lipparelli <lipp@primus.com>
3339 * symsinit.h: syms_of_ldap() is actually syms_of_eldap().
3341 * eldap.c: removed duplicates.
3343 1998-02-26 SL Baur <steve@altair.xemacs.org>
3345 * file-coding.c (setup_eol_coding_systems): Disable SUB_CODESYS
3346 feature -- it causes stack corruption in Mule.
3348 1998-02-27 Kirill M. Katsnelson <kkm@kis.ru>
3350 * events.c (character_to_event): The code which guesses TTY
3351 backspace character is conditionalized on HAVE_TTY
3353 1998-02-26 SL Baur <steve@altair.xemacs.org>
3355 * console.c (complex_vars_of_console): Guard tty_erase_char with
3357 * conslots.h: Ditto.
3359 1998-02-25 SL Baur <steve@altair.xemacs.org>
3361 * events.c (character_to_event): Correct operations on tty_erase_char.
3362 From Martin Buchholz <martin@xemacs.org>
3364 * file-coding.c (setup_eol_coding_systems): Unix/Binary sub
3365 coding-system display should default to the empty string.
3366 - Use '(t)' for Mac/Text mode.
3368 Tue Feb 17 12:50:37 1998 Andy Piper <andyp@parallax.co.uk>
3370 * Makefile.in.in: make sure clean removes msw executables. This
3371 prevents the build stalling after puresize has been adjusted. Add
3372 file-coding.o to list of objects.
3389 * redisplay.c: remove #ifdef MULE's from stuff that relates to
3390 file-coding. include file-coding.h rather than mule-coding.h
3393 * mule-coding.c: #if 0 out functionality until file-coding is
3397 * file-coding.c: new files. copies of mule-coding.h and
3398 mule-coding.c. The mule case is unchanged. The non-mule case
3399 removes coding relating to other charsets - iso2022, big5, sjis,
3400 ccl. (setup_eol_coding_systems) add the eol type to the subsidiary
3401 coding system mnemonics so that it shows on the modeline,
3402 currently (B) for unix style (T) for mac and dos styles.
3404 * fileio.c: remove #ifdef MULE's from stuff that relates to
3405 file-coding. include file-coding.h rather than mule-coding.h where
3406 applicable. FSFMACS_SPEEDY_INSERT is gone since file coding is
3409 * sheap.c: (more_static_core) remove spurious \n's from error
3412 1998-02-25 Kyle Jones <kyle_jones@wonderworks.com>
3414 * lisp-disunion.h: Added XUINT macro.
3416 * lisp-union.h: Added XUINT macro.
3418 * data.c (Flsh): Used XUINT instead of XINT to
3419 extract the value of the first argument to avoid sign
3420 extension of the result.
3422 1998-02-25 SL Baur <steve@altair.xemacs.org>
3424 * s/decosf4-0.h: Add -D_BSD.
3425 From Tore Olsen <toreo@tihlde.hist.no>
3427 1998-02-21 Greg Klanderman <greg@alphatech.com>
3429 * device-x.c (x_init_device): allow `x-emacs-application-class' to
3430 be nil prior to connecting to the X server. When this is the
3431 case, the application class is chosen based on whether the user
3432 has any resources with application class `XEmacs' set in the
3434 (vars_of_device_x): make x-emacs-application-class nil by default
3435 and document new behavior in its doc string.
3437 1998-02-23 Aki Vehtari <Aki.Vehtari@hut.fi>
3439 * menubar.c: Doc fix: suffix can be form.
3441 * gui.c (gui_parse_item_keywords): Allow button descriptors
3443 (gui_item_display_flush_left): Suffix can be form.
3445 * gui-x.c (button_item_to_widget_value): Allow button descriptors
3447 (button_item_to_widget_value): Suffix can be form.
3449 1998-02-24 SL Baur <steve@altair.xemacs.org>
3451 * s/sol2.h: define HAVE_GETLOADAVG for late edition Solaris
3452 From Georg Nikodym <georgn@Canada.Sun.COM>
3454 1998-02-24 Didier Verna <didier@xemacs.org>
3456 * redisplay.c (generate_fstring_runes): fixed the modeline
3457 scrolling lossage (the % constructs appearing in the
3458 modeline). Now that we can have negative positions and boundaries,
3459 max_pos == -1 can't mean 'no limit' anymore. Me, stupido!
3460 (add_string_to_fstring_db_runes): Ditto.
3461 (add_glyph_to_fstring_db_runes): Ditto.
3463 1998-02-19 Jim Radford <radford@robby.caltech.edu>
3465 * sysdep.c: Don't clobber SIGIO event flags we don't care about.
3466 * device.h: removed old_sigio_flag, sigio_enabled from device
3467 Secretly (on Solaris) F_SETOWN calls I_SETSIG. We unknowingly
3468 clobbered the changes so restoring the owner would cause
3469 F_SETOWN's I_SETSIG to fail therby causing an annoying syslog
3470 message. Changed FASYNC version to match (untested).
3472 1998-02-22 SL Baur <steve@altair.xemacs.org>
3474 * emacs.c (main): Enable mmap for glibc-2.1 and Linux libc5.
3475 Enable mmap only for non-Mule for glibc-2.0.
3477 1998-02-21 SL Baur <steve@altair.xemacs.org>
3479 * config.h.in: Define _NO_MALLOC_WARNING_ if using dlmalloc from
3482 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3484 * emacs.c: declare hooks only if !DOUG_LEA_MALLOC since the
3485 declaration conflicts with glibc's own.
3487 1998-02-19 SL Baur <steve@altair.xemacs.org>
3489 * config.h.in: Remove HAVE_TERM, add USE_MINIMAL_TAGBITS and
3490 USE_INDEXED_LRECORD_IMPLEMENTATION.
3492 * process.c (Fopen_network_stream_internal): Remove TERM support.
3494 * sysproc.h: Remove TERM support.
3496 1998-02-20 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3498 * input-method-xfs.c: add setlocale(LC_CTYPE, "") right after
3499 setlocale(LC_NUMERIC, "C"). Because, without this, the LC_CTYPE
3500 got a side effect of LC_NUMERIC then set to "C".
3502 1998-02-19 SL Baur <steve@altair.xemacs.org>
3504 * emacs.c (main): Enable mmap'ing with XEmacs/Mule.
3506 * redisplay.c (add_string_to_fstring_db_runes): Fix infloop
3507 problem with long modelines and glyphs.
3509 * unexelf.c: The proper way to check for GNU libc is with __GLIBC__.
3510 Suggested by Andreas Jaeger <aj@arthur.rhein-neckar.de>
3512 1998-02-18 SL Baur <steve@altair.xemacs.org>
3514 * Makefile.in.in: Remove all references to prefix-args.
3516 1998-02-18 Kirill M. Katsnelson <kkm@kis.ru>
3518 * sysdep.c (mswindows_set_errno): New function
3519 (mswindows_set_last_errno): Ditto
3520 These convert Win32 error code to ANSI C errno.
3522 * sysdep.h: Prototypes for the above 2 functions.
3524 * menubar-msw.c (vars_of_menubar_mswindows): Fprovide
3525 ('mswindows-menubar) removed. See the entry of 1998-01-03
3527 * process.c: FSFmacs proc_buffered_char static array
3528 #if0'ed in 2 places. It is never used.
3530 1998-02-01 Kyle Jones <kyle_jones@wonderworks.com>
3532 * window.c (save_window_save): Save window-cached
3534 (saved_window_equal): Added comparisons of window-cached
3536 (Fset-window-configuration): Restore window-cached
3539 1998-02-18 Didier Verna <didier@xemacs.org>
3541 * modeline.el (mouse-drag-modeline): added the horizontal
3542 scrolling functionality for the modeline. This could still be
3543 improved, for instance when the mouse goes out of the modeline.
3545 1998-02-18 Didier Verna <didier@xemacs.org>
3548 (generate_formatted_string_db): new flag to distinguish a modeline
3549 string from a title or icon one, plus use a negative first pos to
3550 indicate the modeline hscroll amount.
3551 (add_string_to_fstring_db_runes): completely rewrote this function
3552 to handle the case of scrolled modelines.
3553 (add_glyph_to_fstring_db_runes): handle the case of scrolled
3557 (Fmodeline_hscroll): new function to return the modeline current
3558 horizontal scroll amount.
3559 (Fset_modeline_hscroll): new function to scroll the modeline
3561 Plus some updates related to this new functionality (windows
3562 configuration, notably).
3564 * window.h (struct window): added the new field modeline_hscroll.
3566 1998-02-18 SL Baur <steve@altair.xemacs.org>
3569 * unexelf.c: Synched with Emacs 20.2.
3570 From Aki Vehtari <Aki.Vehtari@hut.fi>
3572 * emacs.c (main): Don't call __sbrk().
3573 * gmalloc.c (__sbrk): Ditto.
3574 Suggested by Andreas Jaeger <aj@arthur.rhein-neckar.de>
3576 1998-02-17 SL Baur <steve@altair.xemacs.org>
3578 * console-tty.c (Fset_console_tty_coding_system): New function.
3579 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
3581 1998-02-15 SL Baur <steve@altair.xemacs.org>
3583 * ralloc.c (init_ralloc): DOUG_LEA_MALLOC support.
3584 (r_alloc_reinit): Ditto.
3585 [All non-HAVE_MMAP code]: Synched with Emacs 20.2.
3587 * emacs.c: Synch DOUG_LEA_MALLOC support from Emacs 20.2.
3589 Add LINUX_SBRK_BUG workaround, what is it?
3590 (Fdump_emacs): DOUG_LEA_MALLOC support from Emacs 20.2.
3592 * alloc.c: Synch DOUG_LEA_MALLOC support from Emacs 20.2.
3593 (init_alloc_once_early): Ditto.
3595 * config.h.in: Add DOUG_LEA_MALLOC symbol.
3597 * unexfreebsd.c (run_time_remap): Change printf format string to
3598 match parameters given.
3600 1998-02-14 SL Baur <steve@altair.xemacs.org>
3602 * s/sco5.h: Define LIB_GCC as -lgcc for gcc 2.8 and egcs.
3603 Suggested by Robert Lipe <robertl@dgii.com>
3605 1998-02-14 Martin Buchholz <martin@xemacs.org>
3607 * event-Xt.c (x_reset_key_mapping):
3609 (x-keysym-on-keyboard-p):
3610 (x-keysym-on-keyboard-sans-modifiers-p):
3611 Use x-keysym-on-keyboard-sans-modifiers-p instead of
3612 x-keysym-on-keyboard-p to detect backspace.
3613 Use symbols instead of strings (now deprecated) with x-keysym-*-p.
3614 Clean up symbols used with dead keys, checking Linux and solaris
3616 Simplify x-win-*.el using above methods.
3617 Change documentation for x-keysym-*-p functions.
3619 1998-02-13 SL Baur <steve@altair.xemacs.org>
3621 * unexelfsgi.c: Various changes.
3622 From Olivier Galibert <galibert@pobox.com>
3624 * s/freebsd.h: Avoid redefining BSD.
3625 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
3627 * extents.c (extent_fragment_update): Break up a line to avoid a
3628 Digital UNIX 3.2g C compiler bug.
3629 From Tonny Madsen <tma@nettest.dk>
3631 * process.c (create_process): Restore save_environ hackery.
3633 1998-02-10 SL Baur <steve@altair.xemacs.org>
3635 * emacsfns.h: Remove mocklisp declarations.
3637 * redisplay-msw.c (mswindows_update_dc): Enable evil kludge for
3639 From Andy Piper <andyp@parallax.co.uk>
3641 1998-02-09 SL Baur <steve@altair.xemacs.org>
3643 * menubar-msw.c (vars_of_menubar_mswindows): Fix patch failure.
3644 Suggested by: kny@tekla.fi
3646 * data.c (Fold_eq): PC-ize.
3648 * chartab.c: PC-ize.
3650 * window.c (toplevel): PC-ize.
3651 (syms_of_window): Ditto.
3653 * search.c (Freplace_match): PC-ize.
3657 * buffer.c (Fbuffer_enable_undo): PC-ize.
3658 (Fbuffer_disable_undo): ditto.
3660 * eval.c (return_from_signal): PC-ize.
3662 * casetab.c: PC-ize.
3664 * callproc.c (Fcall_process_internal): PC-ize.
3666 1998-02-02 Kirill M. Katsnelson <kkm@kis.ru>
3668 * gui.h (struct gui_item): Menu item, submenu or GUI button
3669 properties are abstracted into this new structure.
3670 Added prototypes for the following functions
3672 * gui.c (gui_item_init): New function
3673 (gui_item_add_keyval_pair): Ditto
3674 (gui_parse_item_keywords): Ditto
3675 (gui_item_active_p): Ditto
3676 (gui_item_included_p): Ditto
3677 (gui_item_display_flush_left): Ditto
3678 (gui_item_display_flush_right): Ditto. The above listen new
3679 functions manipulate on properties common to menu items and GUI
3682 * menubar.c (current_frame_menubar): Moved from menubar-msw.c
3683 (menu_parse_submenu_keywords): New function
3684 (Fmenu_find_real_submenu): Ditto, lisp accessible. The last two
3685 functions operate on menu properties stored in struct gui_item,
3686 but are specific to menus only.
3688 * menubar.h: Prototypes for the above functions.
3690 * menubar-msw.c: Modified to utilize struct gui_item instead of
3691 plists, to reduce garbage. Suggested by Ben Wing.
3692 Unreachable menus are fixed.
3694 1998-01-03 Kirill M. Katsnelson <kkm@kis.ru>
3696 * menubar-msw.c (allocate_menu_item_id): Added third parameter to
3697 hash, suffix. Menus tend to put non-localizable items into suffix
3699 (update_frame_menubar_maybe): top_level_menu is now set here.
3700 (mswindows_popup_menu): Ditto. It was incorrect to set it from
3702 (vars_of_menubar_mswindows): Fprovide ('mswindows-menubar) removed:
3703 (featurep (and 'mswindows 'menubars)) tests the same.
3704 (mswindows_update_frame_menubars): update_..._maybe () now called
3705 only if frame->menubar_changed is set. Is it right to patch
3708 1998-02-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
3711 Updated color database to X11R6. Also added support for
3712 "#RRRGGGBBB" and "#RRRRGGGGBBBB" in addition to "#RRGGBB".
3714 1998-02-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
3722 Added the frame as a parameter to the text_width device
3726 Support for proportional fonts.
3728 1998-02-07 Hrvoje Niksic <hniksic@srce.hr>
3730 * window.c (map_windows): Don't return the value of map_windows_1.
3731 (map_windows): If F is NULL, map through all the windows.
3732 (mark_windows_in_use): Use map_windows(); made it static.
3733 (mark_windows_in_use_closure): New function.
3735 1998-02-01 Hrvoje Niksic <hniksic@srce.hr>
3737 * alloc.c (Fpurecopy): Check for non-`nil'-ness instead of
3738 checking for Vobarray.
3740 * dlopen.c (Fdl_open): Indirect FUNCTION explicitly, for clarity.
3742 * elhash.c: Removed broken hashtable_hash().
3744 1998-01-28 Hrvoje Niksic <hniksic@srce.hr>
3746 * symbols.c (Fintern): Use Qt instead of the actual obarray.
3747 (init_symbols_once_early): Ditto.
3749 1998-01-27 Hrvoje Niksic <hniksic@srce.hr>
3751 * lisp.h (DO_REALLOC): Name the variable `do_realloc_newsize'
3752 instead of `newsize', to avoid name collisions.
3754 1998-01-26 Hrvoje Niksic <hniksic@srce.hr>
3756 * print.c (print_symbol): Be more wary about the contents of
3757 Vprint_gensym_alist.
3759 1998-02-06 SL Baur <steve@altair.xemacs.org>
3761 * emacs.c (Frun_emacs_from_temacs): Disable largely meaning-free
3762 purity/impurity summary. Compile with -DREPORT_PURE_USAGE to get
3765 * process.c (create_process): Unused variable elimination.
3767 * lread.c (Fload_internal): Compiler warning suppression.
3769 * alloc.c (report_pure_usage): Remove unused variable.
3771 Wed Jan 28 13:41:22 1998 Andy Piper <andyp@parallax.co.uk>
3773 * Makefile.in.in: add support for sheap-adjust.h generation for
3776 Wed Jan 28 13:41:22 1998 Andy Piper <andyp@parallax.co.uk>
3778 * Makefile.in.in: add sheap-adjust.h support, basically copied
3779 from puresize-adjust.h. predicate sheap.o on HEAP_IN_DATA. fix
3780 xemacs target slightly to not be a single shell command, this
3781 fixes an obscure bug in cygwin gmake.
3783 * alloc.c (report_pure_usage): call sheap_adjust_h if HEAP_IN_DATA
3786 * sysfile.h: add abstracted OPEN_BINARY, OPEN_TEXT etc defines. On
3787 Unix these are all 0 and have no effect. On systems defining
3788 O_BINARY these use it. WINDOWSNT is currently unaffected because
3789 there are individual #ifdefs in each source file, but with this
3790 change they could be removed.
3795 * process.c: generalize open() calls with OPEN_BINARY. Does
3798 * emacs.c: predicate inclusion of windows.h on WINDOWSNT not
3803 * signal.c: predicate SIGIO stuff also on !BROKEN_SIGIO, this is
3804 required for building on cygwin32 b19 which has SIGIO that only
3808 * event-stream.c: generalize open() calls with OPEN_BINARY. Does
3809 nothing under Unix. Use open() instead of creat() to make this
3810 possible. use CREAT_MODE from sysfile.h
3812 * config.h.in: add MULE_CODING, currently not used. add support
3818 * device-msw.c: warning elimination.
3820 * event-msw.c: add undeclared Dde calls for cygwin.
3822 * redisplay-msw.c: warning elimination under mule.
3824 * gmalloc.c: make initalize() really do that. If HEAP_IN_DATA is
3825 defined catch free() & realloc() calls with addresses in the data
3826 space. __morecore calls more_static_core for temacs, when dumped
3829 * console-msw.h: undef CONST after windows.h inclusion since this
3830 defines CONST. #ifdef out shellapi under cygwin.
3832 * device-msw.c: include sysdep.h
3834 * objects-msw.c: add dummy mswindows_font_spec_matches_charset and
3835 mswindows_find_charset_font so that we can build with mule.
3837 * mem-limits: return -1 for get_lim_data() when HEAP_IN_DATA is
3840 * sheap.c: new file. defines sheap_adjust_h and more_static_core
3841 so that data space can be used by gmalloc before dumping when
3842 HEAP_IN_DATA is defined. beef up error message about what to do if
3843 sheap space runs out.
3845 * sysdep.c: make start_of_data return something sensible for
3848 * systime.h: don't use itimer stuff on cygwin b19.
3850 * unexcw.c: new file. Full unexec() support for cygwin using the
3851 HEAP_IN_DATA setup provided by sheap.c and friends. No run-time
3852 remapping is performed. This could be generalized to support many
3853 platforms that use COFF. you need a.out.h from my website to build
3854 this. cygwin b19 will have this.
3856 * s/cygwin32.h: fixed commentary. compile in unexcw.o for dumping
3857 support. removed irrelevent things. define BROKEN_SIGIO. remove
3858 include of windows.h. add correct process support defines, process
3859 support might work when non-blocking io is implemented in cygwin.
3861 1998-02-02 P. E. Jareth Hein <jareth@camelot-soft.com>
3863 * glyphs.c: Removed ImageMagick support, re-instituted the previous
3864 support for JPEG, GIF and PNG with the new color system.
3866 1998-02-05 Olivier Galibert <galibert@pobox.com>
3868 * unexelf.c: Fix alignment problems on Linux.
3870 1998-02-01 Kyle Jones <kyle_jones@wonderworks.com>
3872 * redisplay.c (redisplay_window): After outputting
3873 the window, invalidate its the line start cache if the
3874 we're displaying the minibuffer window and the echo
3875 area is active. The cache is only valid for the echo
3876 area buffer, and that buffer isn't associated with the
3877 minibuffer window anymore.
3879 1998-01-31 SL Baur <steve@altair.xemacs.org>
3881 * alloc.c (disksave_object_finalization): Additional checking for
3882 sanity when zeroing out unused portions of string_chars_block's.
3883 (Fpurecopy): Spelling fixes in comment.
3884 (PURESIZE_SLOP): Set default slop to 0.
3886 1998-01-31 Kyle Jones <kyle_jones@wonderworks.com>
3888 * chartab.c (make_char_table): Initialize mirror
3889 tables with Spunct in all the slots. Syntax table
3890 initialization doesn't touch slots for nonexistent
3891 characters sets. If character sets corresponding to
3892 those slots are created later Qnil values in the slots
3894 (copy_char_table_entry): Return copy not original.
3896 1998-01-28 Jonathon Harris <jhar@tardis.ed.ac.uk>
3902 Deleted the first two and merged them into the last two files.
3907 Added file-based drag and drop support. The "System/Open" DDE command
3908 is also implemented as if it were a drag and drop operation.
3916 Replaced all "#ifdef HAVE_OFFIX_DND" with
3917 "#if defined(HAVE_OFFIX_DND) || defined(HAVE_MS_WINDOWS)"
3919 * device.h: Added DEVICE_MSWINDOWS_P and related macros.
3923 Eliminated warnings.
3925 * redisplay-msw.c: Changed color of "dead" box between scrollbars
3926 to windows' "button" color for compatibility with other windows apps.
3928 1998-01-20 Stephen Turnbull <turnbull@sk.tsukuba.ac.jp>
3930 * Makefile.in.in: move `rm puresize-adjust.h' from distclean
3933 1998-01-29 SL Baur <steve@altair.xemacs.org>
3935 * Makefile.in.in (dlopen.o): Add dependencies.
3937 * s/sunos4-0.h: Conditionalize use of broken-sun.h for old Gccs.
3938 Suggested by Amir J Katz <amir@ndsoft.com>
3940 1998-01-28 SL Baur <steve@altair.xemacs.org>
3942 * faces.c (init_device_faces): This function can call lisp.
3944 1998-01-28 P. E. Jareth Hein <jareth@camelot-soft.com>
3947 * mule-coding.c: (determine_real_coding_system): removed the
3948 static declaration to allow reuse.
3950 * md5.c (Fmd5): Rewrote to fully support MULE, as well as streamline
3953 * mule-ccl.c (ccl_driver): Set initial values of variables to shut up
3954 the compiler and to give better error message if a quit happens before
3955 any ccl_code is generated.
3957 1998-01-28 SL Baur <steve@altair.xemacs.org>
3959 * glyphs.c (allocate_glyph): This function can GC.
3960 Wrap GCPRO around unprotected function calls.
3961 (specifier_vars_of_glyphs): Comment change -- Can we GC here?
3963 1998-01-27 SL Baur <steve@altair.xemacs.org>
3965 * lread.c (Fload_internal): Add extra GCPRO around call to
3967 Enable purespace usage counts always.
3969 * m/powerpc.h: Isolate changes for mklinux from AIX.
3971 1998-01-27 Hrvoje Niksic <hniksic@srce.hr>
3973 * symbols.c (init_symbols_once_early): Decreased default size of
3974 Vpure_uninterned_symbol_table to 50.
3976 1998-01-27 SL Baur <steve@altair.xemacs.org>
3978 * redisplay-x.c (x_output_string): Correction for handling underlined
3979 fonts when XGetFontProperty fails.
3980 From Chris Felaco <felaco@iatcmail.ed.ray.com>
3982 1998-01-27 Kyle Jones <kyle_jones@wonderworks.com>
3984 * alloc.c (Fpurecopy): Store symbols that aren't
3985 interned in Vobarray into Vpure_uninterned_symbol_table.
3987 * symbols.c (init_symbols_once_early): Initialize
3988 Vpure_uninterned_symbol_table.
3990 * emacsfns.h: Declare Vpure_uninterned_symbol_table.
3992 1998-01-26 SL Baur <steve@altair.xemacs.org>
3994 * alloc.c (report_pure_usage): New macro PURESIZE_SLOP to allow
3995 for extra pure space.
3997 1998-01-23 SL Baur <steve@altair.xemacs.org>
3999 * sound.c (Fplay_sound_file): Use NILP for comparison of
4002 Wed Jan 21 10:49:47 1998 Andy Piper <andyp@parallax.co.uk>
4004 * unexcw.cc: new file for cygwin32 unexec() requires cygwin32
4005 b19. Predicated on HAVE_COFF_H.
4015 * redisplay-msw.c (mswindows_update_gc): eliminate warnings and
4016 extend hack for bogus bg values.
4018 * symsinit.h: add msw headers to eliminate warnings.
4020 * s/cygwin32.h: various updates for unexec() support.
4022 * lastfile.c: add my_ebss for cygwin32 unexec() support.
4024 * gmalloc.c: made __malloc_initialized non-static so that
4025 it goes into the bss where we expect it.
4027 * emacs.c: put run_time_remap() in a place where initialized is
4030 * Makefile.in.in: add support for compiling .cc files.
4032 * config.h.in: added HAVE_COFF_H support.
4034 1998-01-23 Hrvoje Niksic <hniksic@srce.hr>
4036 * print.c (print_cons): Use XCAR/XCDR.
4037 (print_string): Fix up so it Vprint_string_length works under Mule
4040 * eval.c (Feval): Increase profile call count.
4042 * keymap.c: Fixed typo.
4044 1998-01-22 Hrvoje Niksic <hniksic@srce.hr>
4046 * symbols.c (Funintern): Reset symbol's obarray property.
4048 1998-01-22 Karl M. Hegbloom <karlheg@bittersweet.inetarena.com>
4050 * alloc.c (size_vector): Declare *p as CONST to eliminate warning.
4052 1998-01-22 Hrvoje Niksic <hniksic@srce.hr>
4054 * print.c (print_symbol): Recognize Vprint_gensym being a cons;
4055 use Vprint_gensym_alist.
4057 * symbols.c (init_symbols_once_early): Ditto.
4059 * alloc.c (Fmake_symbol): Reset it.
4061 * symbols.c (Fintern): Set it.
4063 * lisp.h (struct Lisp_Symbol): New element `obarray'.
4065 * print.c (print_prepare): Reset Vprint_gensym_alist.
4066 (print_finish): Ditto.
4068 * lread.c: Recognize #n= and #n#.
4069 (readevalloop): Reset read_objects to nil.
4072 1998-01-23 SL Baur <steve@altair.xemacs.org>
4074 * toolbar.c (update_toolbar_button): Eliminate redundant NILP
4076 From Martin Buchholz <martin@xemacs.org>
4078 1998-01-21 Hrvoje Niksic <hniksic@srce.hr>
4080 * dlopen.c: New file.
4082 1998-01-19 Steven L Baur <steve@altair.xemacs.org>
4084 * eval.c (prog1): Don't GCPRO unitialized variable.
4086 From Martin Buchholz <martin@xemacs.org>
4088 1998-01-19 Hrvoje Niksic <hniksic@srce.hr>
4090 * sound.c (Fplay_sound_file): Use
4091 signal_simple_continuable_error() instead of error().
4093 1998-01-18 Hrvoje Niksic <hniksic@srce.hr>
4097 1998-01-18 SL Baur <steve@altair.xemacs.org>
4099 * glyphs-x.c (imagick_instantiate): Dynamically allocate pixar
4101 From Damon Lipparelli <lipp@primus.com>
4103 1998-01-14 Martin Buchholz <martin@xemacs.org>
4105 * eval.c (For, Fand, Fif, Fcond, Fprogn, Fprog1, Fprog2):
4106 Modernize and streamline.
4107 Replace Fcdr with XCDR, Fcar with XCAR for efficiency.
4108 Remove REGISTER declarations.
4110 1998-01-13 Martin Buchholz <martin@xemacs.org>
4114 Add proper prototypes for print_cons, print_vector, print_string.
4116 * dired.c (directory-files):
4117 * elhash.c (elisp_maphash):
4118 * elhash.h (elisp_maphash):
4120 * mule-ccl.c (setup_ccl_program):
4121 * mule-coding.c (coding_system_charset):
4122 * offix-cursors.h (cursor_bits):
4123 Warning elimination.
4125 * redisplay.c (add_blank_rune):
4126 * redisplay.c (add_glyph_rune):
4127 * redisplay.c (add_emchar_rune):
4128 Warning elimination. Avoid useless computation in non-mule case.
4131 Define HAVE_INVERSE_HYPERBOLIC using 1 configure test, not 3.
4134 Rearrange order of declarations and definitions to avoid forward
4135 * src/mem-limits.h: Add motivating comment for future cleanup.
4137 * s/linux.h: Cleanup. Remove old cruft.
4140 Always define _GNU_SOURCE when using GNU libc.
4141 Support --without-FOO as a synonym for --with-FOO=no.
4142 Always use $srcdir to locate config.guess.
4143 Make it clear that CONFIGURATION is optional.
4144 De-emphasize CONFIGURATION parameter. Random cleanup.
4145 More compatible with standard GNU install instructions.
4146 --with-menubars=athena3d ==> --with-menubars=lucid.
4148 1998-01-14 Hrvoje Niksic <hniksic@srce.hr>
4150 * fileio.c (Fexpand_file_name): Synched with FSF.
4152 1998-01-13 Hrvoje Niksic <hniksic@srce.hr>
4154 * objects-msw.c (mswindows_color_instance_rgb_components):
4155 Multiply components by 257 instead of shifting by 8.
4157 1998-01-15 Hrvoje Niksic <hniksic@srce.hr>
4159 * elhash.c (Fhashtable_type): New function.
4160 (Fhashtable_test_function): Ditto.
4162 1998-01-12 SL Baur <steve@altair.xemacs.org>
4164 * profile.c (Fclear_profiling_info): Fix typing error.
4166 * elhash.c (elisp_map_remhash): Fix typing error.
4167 (elisp_maphash): Ditto.
4169 1998-01-12 Hrvoje Niksic <hniksic@srce.hr>
4171 * mule-ccl.c (Fccl_execute_on_string): Use Dynar_free to free a
4174 1998-01-13 Hrvoje Niksic <hniksic@srce.hr>
4176 * profile.c (vars_of_profile): New variable
4177 `call-count-profile-table'.
4178 (Fclear_profiling_info): Clear call-count-profile-table.
4180 * eval.c (funcall_recording_as): Use it.
4182 * profile.c (profile_increase_call_count): New function.
4184 * lstream.c (stdio_flusher): Comment addition.
4186 * objects-msw.c (mswindows_string_to_color): Support #RRRGGGBBB,
4188 (mswindows_X_color_map): Reformatted.
4190 1998-01-12 Hrvoje Niksic <hniksic@srce.hr>
4192 * line-number.c (invalidate_line_number_cache): Comment fixup.
4194 * symbols.c (Fapropos_internal): Docstring fix.
4196 * fns.c (Fstring_equal): Docstring fix.
4198 1998-01-12 Hrvoje Niksic <hniksic@srce.hr>
4200 * profile.c (get_profiling_info_maphash): Return int.
4201 (mark_profiling_info_maphash): Ditto.
4203 * elhash.c (Finternal_hash_value): New debugging function,
4204 undefined by default.
4206 1998-01-11 Hrvoje Niksic <hniksic@srce.hr>
4208 * mule-coding.c (add_coding_system_to_list_mapper): Ditto.
4210 * mule-charset.c (add_charset_to_list_mapper): Return int.
4212 * faces.c (add_face_to_list_mapper): Return int.
4213 (mark_face_as_clean_mapper): Ditto.
4214 (update_face_inheritance_mapper): Ditto.
4216 * keymap.c (keymap_submaps_mapper_0): Return int.
4217 (keymap_submaps_mapper): Ditto.
4218 (copy_keymap_inverse_mapper): Ditto.
4219 (copy_keymap_mapper): Ditto.
4220 (map_keymap_unsorted_mapper): Ditto.
4221 (map_keymap_sorted_mapper): Ditto.
4223 * elhash.c (hashtable): Added a hash method.
4224 (hashtable_hash): New function.
4226 1998-01-09 Hrvoje Niksic <hniksic@srce.hr>
4228 * elhash.c (lisp_maphash_function): Return 0.
4229 (hashtable_equal_mapper): Bail out when an element is not `equal'.
4231 * hash.c (maphash): Bail out if map function returns non-zero.
4233 1998-01-11 SL Baur <steve@altair.xemacs.org>
4235 * eval.c (Fbacktrace): Treat first parameter to byte-code
4238 Sat Jan 10 11:36:11 1998 Andy Piper <andyp@parallax.co.uk>
4240 * config.h.in: undef HAVE_SYS_UN_H so that it gets defined by
4241 configure for gnuserv with UNIX_DOMAIN_SOCKETS.
4243 1998-01-09 SL Baur <steve@altair.xemacs.org>
4245 * buffer.c (reset_buffer_local_variables): Synch case-table
4246 resetting stuffs from Emacs 20.2.
4247 Suggested by Aki Vehtari <Aki.Vehtari@hut.fi>
4249 * src/symbols.c (Fsetq_default): Fix docstring.
4250 From Didier Verna <didier@xemacs.org>
4252 1998-01-07 Kirill M. Katsnelson <kkm@kis.ru>
4254 * msw-proc.c (mswindows_wnd_proc): Calls to redisplay() from out
4255 of WM_SIZE handler limited to the case of dragging frame borders.
4257 * redisplay-msw.c (mswindows_bevel_modeline): Added support for
4258 negative modeline height.
4259 (mswindows_output_cursor): Added bar cursor drawing
4260 (mswindows_flash): Flash frame by inverting client area.
4262 1998-01-08 Andy Piper <andyp@parallax.co.uk>
4264 * lread.c: guess load path if its not set just like the dumped
4267 * doc.c: guess doc path if its not set just like the dumped
4270 Thu Jan 08 09:42:36 1998 Andy Piper <andyp@parallax.co.uk>
4272 * emacs.c: don't load loadup.el when CANNOT_DUMP is set, this
4273 is almost never right on XEmacs.
4275 * s/cygwin32.h: add comments about how to buid. Move some
4276 variables into configure so that we don't have to set them.
4278 * config.h.in: define HAVE_WINDOW_SYSTEM if HAVE_MS_WINDOWS is
4281 1998-01-06 Kirill M. Katsnelson <kkm@kis.ru>
4283 * lread.c (Fload_internal): On Win32, this reopened the file
4284 without first closing the handle. This caused running out of
4287 * nt.c (sys_open): This one made big mess when opening a handle
4288 next after MAXDESC-1. Fixed.
4290 1998-01-06 Kirill M. Katsnelson <kkm@kis.ru>
4292 * objects-msw.c (mswindows_string_to_color): Patched not to modify
4293 const char* parameter.
4294 (hexval): Modified to accept uppercase hex digits.
4296 * ntproc.c (sys_spawnve): char* arguments made CONST, to comply
4297 with standard header declaration.
4299 * sysdep.c: Fixed ugly prototypes copied from system headers. Who
4300 says the solution is as ugly, is right.
4301 Added a couple of #include directives to avoid undefined functions.
4302 (struct save_signal): Added parameter to function pointer
4303 prototype when compiled under ANSI C.
4304 (save_signal_handlers): Ditto
4306 * s/windowsnt.h: Added prototypes for functions defined via
4307 sys_<name> which are not found or differ on Win32: pipe, sleep,
4309 Macros created from former nt.c functions: random srandom setpgrp
4310 Defined HAVE_STRCASECMP, and strcasecmp defined to _stricmp which
4311 is provided by the compiler.
4312 Removed hack which prevented winsock.h from including.
4314 * nt.c (random): Removed and made a macro in s/windowsnt.h
4317 (unrequest_sigio): #if0'ed. It is unreferenced; in XEmacs, calls
4318 to it seem to be controlled by HAVE_SIGIO.
4319 (request_sigio): Ditto
4321 * nt.h: Removed FD_* macros. Rely on definitions in winsock.h.
4322 Changed EMACSDEBUG references to DEBUG_XEMACS
4324 * event-msw.c (mswindows_cancel_dispatch_event): Returns Qnil when
4325 event not found in the queue. Used to return undefined value.
4327 1998-01-07 SL Baur <steve@altair.xemacs.org>
4329 * emacs.c (main_1): Add `-no-autoloads' to suppress loading
4330 autoloads at startup.
4332 * Makefile.in.in (xemacs): Fix call to list load-path shadows.
4334 1998-01-02 Charles G. Waldman <cgw@pgt.com>
4336 * frame.h: fix erroneous FRAME_RIGHT_BORDER_START macro.
4337 Corrects display glitch when toolbar is on the right.
4339 1998-01-02 Kirill M. Katsnelson <kkm@kis.ru>
4341 * emacs.c (make_arg_list_1): On Win32 platforms, GetModuleFileName
4342 is consulted instead of argv[0] to get full path to the xemacs
4345 1998-01-01 SL Baur <steve@altair.xemacs.org>
4347 * m/sparc.h: Cleans up some warnings about unused variables in
4348 getloadavg.c under Sparc/Linux.
4349 From Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
4351 * fileio.c (vars_of_fileio): Enable directory-sep-char always for
4354 * emacs.c (main_1): Inhibit reloading dumped lisp when using
4355 `-batch' or `-vanilla'.
4357 1997-12-31 SL Baur <steve@altair.xemacs.org>
4359 * emacs.c: New variables `inhibit-update-dumped-lisp' and
4360 `inhibit-update-autoloads'.
4361 (vars_of_emacs): Initialize them.
4363 1997-12-29 Kirill M. Katsnelson <kkm@kis.ru>
4365 * msw-proc.c (mswindows_enqueue_magic_event): Made extern. User by
4368 * event-msw.h: Prototype for mswindows_enqueue_magic_event
4370 * event-msw.c (mswindows_wm_timer_callback): Fixed counter of
4371 outstanding timer events (decremented only when KillTimer
4373 (emacs_mswindows_remove_timeout): Ditto
4375 * console-msw.h: Added frame structure field for menu checksum
4377 * menubar-msw.c: Miscellaneous patches and bug fixes.
4379 1997-12-30 SL Baur <steve@altair.xemacs.org>
4381 * emacs.c (main): Clarify calls to main_1.
4383 * data.c (Fcompiled_function_annotation): Hide DEFUN from
4386 * emacs.c (main_1): The invocation name requires recomputing when
4387 running after dumping.
4389 1997-12-29 SL Baur <steve@altair.xemacs.org>
4391 * free-hook.c (check_free): Added explicit braces to avoid
4392 dangling else clause.
4393 * sound.c (Fplay_sound_file): Ditto.
4394 * process.c (set_process_filter): Ditto.
4395 * linuxplay.c (linux_play_data_or_file): Ditto.
4396 * regex.c (regex_compile): Ditto.
4398 1997-12-28 SL Baur <steve@altair.xemacs.org>
4400 * emacs.c (main_1): Fix logic to run in place when XEmacs is a
4402 (main_1): New parameter restart.
4405 * bytecode.h: Disable COMPILED_FUNCTION_ANNOTATION_HACK.
4407 * print.c (debug_short_backtrace): Guard call to
4408 Fcompiled_function_annotation.
4410 * alloc.c (disksave_object_finalization): Don't zero out
4411 load-history if history of pure symbols is desired.
4413 * lread.c (build_load_history): If LOADHIST_DUMPED is defined, add
4414 pure symbols to load-history.
4416 * emacsfns.h: New symbols added -- LOADHIST_DUMPED, define to get
4417 a history of dumped lisp. LOADHIST_BUILTIN, define to get a
4418 history of symbols defined in C source.
4420 1997-12-23 Andy Piper <andyp@parallax.co.uk>
4422 * Conditionals to enable XEmacs to compile (not run!) under
4423 CygWin32. Files touched:
4430 * s/cygwin.h: New file.
4432 1997-12-26 Kirill M. Katsnelson <kkm@kis.ru>
4434 * menubar-msw.c, menubar-msw.h: New files. Menus support.
4436 * console-msw.h: Added frame menu hashtable variable.
4438 * gui.c: popup_up_p variable and Fpopup_up_p and
4439 separator_string_p functions are moved from gui-x.c
4441 * gui.h: New file declaring the above. It is #included into the
4447 * emacs.c: Added calls to *_of_menubar_mswindows()
4449 * event-msw.c: Generalization of modal pump interface so it may be
4450 used bu menubars also. Some functions and vars renamed, to
4451 reflect more general approach (event_pump -> modal_loop)
4453 * frame-msw.c: Initialization and marking of menu hashtable.
4455 * msw-proc.c: Added handling for menu window messages.
4457 * opaque.c: opaque objects given hash and equal methods, so they
4458 can be compared with 'equal. Menubar uses opaque pointers as
4459 hash keys in an 'equal style hashtable.
4461 * Most of the above touched files: Eliminated compiler warnings.
4463 1997-12-18 Hrvoje Niksic <hniksic@srce.hr>
4465 * elhash.c (print_hashtable): Use `%u' for fullness.
4466 (hashtable_equal): New function.
4467 (hashtable_equal_mapper): Ditto.
4469 * lread.c (vars_of_lread): Initialize Vread_buffer_stream here
4470 instead of in init_lread.
4472 1997-12-26 P. E. Jareth Hein <jareth@camelot-soft.com>
4474 * glyphs-x.c (imagick_instantiate): Add in error and
4475 warning handling for ImageMagick files
4477 1997-12-26 SL Baur <steve@altair.xemacs.org>
4479 * Makefile.in.in (distclean): Remove `xemacs.*'.
4481 1997-12-22 SL Baur <steve@altair.xemacs.org>
4483 * device.c (vars_of_device): Provide `devices' feature so W3's
4484 devices.el emulation won't bloat XEmacs.
4486 * lread.c (Fload_internal): Strip path and extension when
4487 considering a file as a candidate for running after-load functions.
4489 1997-12-20 Kirill M. Katsnelson <kkm@kis.ru>
4491 * s/windowsnt.h: SIZEOF_SHORT set to 16 bits instead of 32, to get
4494 * redisplay-msw.c: (many functions): FillRect replaced with
4495 ExtTextOut where possible, which is much faster.
4496 (mswindows_redisplay_deadbox_maybe): New function which fixes
4497 deadbox, a square bounded by scrollbar ends and window corner
4498 (usually the lower right corner).
4500 * emacs.c (assert_failed): On Win32 platforms, when assertion
4501 fails, debugger break occurs if DEBUG_XEMACS is defined.
4503 * event-msw.c (mswindows_pump_outstanding_events): Fixed so two
4504 consequtive Fsignals are not lost.
4506 * scrollbar-msw.c (mswindows_update_scrollbar_instance_values):
4507 Added SBF_DISABLENOSCROLL flag so the bar is greyed out when
4508 all lines are visible.
4509 (mswindows_update_scrollbar_instance_status): Ditto for freshly
4512 * scrollbar.c (Fscrollbar_set_hscroll): Fixed fitting scroll
4515 1997-12-18 Kirill M. Katsnelson <kkm@kis.ru>
4517 * events-msw.c: Added support for modal event dispatch pump.
4518 This mechanism is for scrollbars and menus.
4520 * events-msw.h: Public declaration for the pump function.
4522 * msw-proc.c: Pump scrollbar misc user events through the
4523 brand new pump. Pumps!
4525 * scrollbar-msw.c: Minor range fixes. Added misc events for
4526 horizontal bar, which did not fix it...
4528 Thu Dec 18 09:53:12 1997 <jsparkes@internetivity.com (Jeff Sparkes)>
4530 * objects-msw.c (mswindows_print_color_instance): Scale 8 bit RGB
4531 components up to 16 bit X sizes.
4532 (mswindows_string_to_color): numeric colors are #RRGGBB not #BBGGRR.
4534 * objects-msw.c (mswindows_color_instance_rgb_components): ditto
4536 * objects.c (Fcolor_instance_rgb_components): Document range of
4537 components as 0-65535.
4539 1997-12-18 SL Baur <steve@altair.xemacs.org>
4541 * doc.c (verify_doc_mapper): Fix return value and argument list
4544 * device-x.c: New variable -- Vx_app_defaults_directory.
4545 (x_init_device): Use locale directory searched from package-path.
4547 1997-12-18 Kyle Jones <kyle_jones@wonderworks.com>
4549 * EmacsFrame.c: Added foregroundToolBarColor and
4550 foreground resources to the resources[] definition.
4551 Moved default gray8o color value from the
4552 bcakgroundToolBarCOlor resource to th background
4553 resource since the override order is now reversed in
4554 toolbar-x.c. Don't provide a default value for the
4555 foreground resource that the toolbar code looks at.
4557 * EmacsFrame.h: Define foregroundToolBarColor string
4558 for use in the resoruces code.
4560 * EmacsFrameP.h: Added foreground_toolbar_pixel slot
4561 to EmacsFramePart struct.
4563 * toolbar-x.c: Let the toolbar specific background
4564 resource override the global background resource. Added
4565 support for a toolbar specific foreground resource,
4566 which is not currently used for anything internally.
4568 1997-12-17 Hrvoje Niksic <hniksic@srce.hr>
4570 * redisplay.c (decode_mode_spec): Comment fixup.
4572 * tooltalk.c (Freceive_tooltalk_message): Ditto.
4574 * search.c (Freplace_match): Ditto.
4576 * frame-x.c (x_frame_property): Ditto.
4578 * console.c (Fcurrent_input_mode): Ditto.
4580 * callint.c (Fcall_interactively): Ditto.
4582 * abbrev.c (Fexpand_abbrev): Ditto.
4584 * dired.c (file_name_completion): Use Qzero instead of
4587 * fileio.c (Finsert_file_contents_internal): Use
4588 report_file_error() to report reading error.
4590 * cmds.c (internal_self_insert): Don't self-insert if the expanded
4591 symbol's hook has a non-nil `no-self-insert' property; synch with
4594 * abbrev.c (Fexpand_abbrev): Return Vlast_abbrev, like in FSF
4597 1997-12-16 Hrvoje Niksic <hniksic@srce.hr>
4599 * abbrev.c (abbrev_match): User map_obarray() instead of
4600 crockishly copying it.
4601 (abbrev_match_mapper): New function.
4602 (Fexpand_abbrev): Check whether `pre-abbrev-expand-hook' has
4605 * symbols.c (map_obarray): Accept a void * argument.
4606 (mapatoms_1): Adapt.
4607 (apropos_accum): Use fast_lisp_string_match().
4608 (Fapropos_internal): Don't cons.
4609 (map_obarray): Stop mapping if FN returns non-zero.
4611 * marker.c (unchain_marker): Guard assert() with ERROR_CHECK_GC.
4612 (bi_marker_position): Guard assert() with ERROR_CHECK_BUFPOS.
4613 (set_bi_marker_position): Ditto.
4615 1997-12-15 Hrvoje Niksic <hniksic@srce.hr>
4617 * fileio.c (Finsert_file_contents_internal): Use make_int when
4618 checking for overflow.
4619 (Finsert_file_contents_internal): Use EXTERNAL_LIST_LOOP.
4620 (Ffind_file_name_handler): Ditto.
4622 * dired.c (file_name_completion): Use noseeum_cons.
4623 (file_name_completion_unwind): Free the cons.
4625 1997-12-16 <jsparkes@internetivity.com (Jeff Sparkes)>
4627 * scrollbar.c: Add HAVE_MS_WINDOWS to scrollbar-page functions.
4629 * msw-proc.c: Handle scrolling events.
4631 * frame-msw.c: Initialize scrollbar width and height. This should
4632 not be necessary, since the window shouldn't be created until
4635 * emacs.c: Call mswindows scrolbar setup when appropriate.
4637 * scrollbar-msw.c: Created for mswindows-scrollbar support.
4639 * scrollbar-msw.h: Ditto.
4641 1997-12-16 Kirill M. Katsnelson <kkm@kis.ru>
4643 * msw-proc.c: Minor bug in the middle button emulation code
4646 * msw-proc.c: Character translation procedure reworked, so C-M-char
4647 keys now work properly. Keyboard layouts that use AltGr for
4648 third register characters are detected and handled. The code
4649 has been tested on French and UK keyboard layouts.
4651 * msw-proc.c: #if 0'ed remains of threaded code are removed.
4653 * event-msw.c: Mouse motion was incorrectly counted for a user event.
4655 * event-msw.c: lisp variables beginnig with w32- are renamed to
4656 begin with mswindows-.
4658 1997-12-15 Hrvoje Niksic <hniksic@srce.hr>
4660 * fileio.c (Finsert_file_contents_internal): Use it.
4661 (Fcopy_file): Ditto.
4663 * sysdep.c (interruptible_open): New function.
4665 1997-12-16 Kyle Jones <kyle_jones@wonderworks.com>
4667 * frame-x.c (x_init_frame_2): Don't call
4668 update_frame_title. Some modeline specs depend on
4669 f->device->selected_frame being non-nil and that will
4670 not be true during initialization of the first frame on
4673 1997-12-16 SL Baur <steve@altair.xemacs.org>
4675 * fileio.c: clean up paren levels between ifdefs.
4676 From Hrvoje Niksic <hniksic@srce.hr>
4678 1997-12-15 P. E. Jareth Hein <jareth@camelot-soft.com>
4680 * glyphs-x.c (imagick_instantiate): Remove an assumption that
4681 all machines have LSB XImage support.
4683 1997-12-14 Kyle Jones <kyle_jones@wonderworks.com>
4685 * Makefile.in.in: Moved $(OFFIX_O) from x_objs to
4686 X11_objs to avoid having its initialized global
4687 variables be dumped read-only.
4689 1997-12-14 SL Baur <steve@altair.xemacs.org>
4691 * offix.c (DndSetData): Use standard INT_MAX instead of MAXINT.
4692 Replace <values.h> with <limits.h>
4694 1997-12-13 Kirill M. Katsnelson <kkm@kis.ru>
4696 * msw-proc.c: added emulation for middle mouse button by chording
4697 left and right buttons
4698 * event-msw.c: added lisp variables for resize behavior and middle
4699 button emulation thresholds
4700 * msw-proc.c: {un}map-frame-hook now are not called directly from
4701 the window procedure, rather from magic event handler.
4702 * Formulated golden rule for calling lisp from window procedure:
4703 "NOOOOOO!". May be violated under circumstances although.
4704 * frame-msw.c: corrected problem with setting frame width and height
4705 properties, introduced by 95-style look.
4707 1997-12-12 SL Baur <steve@altair.xemacs.org>
4709 * input-method-xlib.c (describe_XIC): Add casts, use unsigned long
4712 * eval.c (funcall_subr): Ifdef out as it is now unused.
4714 * emacsfns.h: Declare Fdisplay_error.
4716 * callint.c (Fquote_maybe): Don't use `==' on Lisp_Objects.
4718 1997-12-12 Michael Sperber <sperber@informatik.uni-tuebingen.de>
4720 * fileio.c: Removed stillborn set-buffer-modtime.
4722 1997-12-10 Hrvoje Niksic <hniksic@srce.hr>
4724 * elhash.c (hashtable_instantiate): If SIZE is nil, set it to
4726 (print_hashtable): Would bogusly print #(hashtable).
4727 (verify_function): Use XCAR.
4729 1997-12-12 Hrvoje Niksic <hniksic@srce.hr>
4731 * elhash.c (print_hashtable_data_mapper): Use a C structure
4734 1997-12-12 Hrvoje Niksic <hniksic@srce.hr>
4736 * callint.c (quotify_arg): Don't quotify vectors, keywords,
4737 bit-vectors and lambdas.
4738 (Fquote_maybe): New subr, from quotify_arg.
4739 (quotify_args): Use it.
4740 (Fcall_interactively): Ditto.
4742 1997-12-11 Hrvoje Niksic <hniksic@srce.hr>
4744 * window.c (Fset_window_point): Ditto for Fgoto_char.
4745 (Fset_window_configuration): Ditto.
4747 * undo.c (Fprimitive_undo): Ditto for Fset_buffer_modified_p,
4748 Fgoto_char and Fdelete_region.
4750 * print.c (temp_output_buffer_setup): Ditto.
4752 * glyphs.c (make_string_from_file): Ditto.
4754 * glyphs-x.c (pixmap_to_lisp_data): Ditto for Ferase_buffer.
4755 (pixmap_to_lisp_data): Ditto for Fbuffer_substring.
4757 * bytecode.c (Fbyte_code): Use Qnil instead of Fcurrent_buffer()
4758 when calling functions that use decode_buffer() internally -- it
4761 Change done for Fgoto_char, Fchar_after, Ffollowing_char,
4762 Fpreceding_char, Findent_to, Feolp, Feobp, Fbolp, Fbobp,
4763 Fforward_char, Fforward_word, Fskip_chars_forward,
4764 Fskip_chars_backward, Fforward_line, Fbuffer_substring,
4765 Fdelete_region, Fnarrow_to_region, Fwiden, Fend_of_line, Fupcase
4768 1997-12-11 Jonathan Harris <jhar@tardis.ed.ac.uk>, Kirill M. Katsnelson <kkm@kis.ru>
4770 * The first collegial patch in the xemacs-nt history. Well...
4771 * device-msw.c, event-msw.c, event-msw.h, frame-msw.c, msw-proc.c:
4772 xemacs is now single-threaded application. Due to this, the
4773 problem with crash during input events in GC got resolved.
4774 * xemacs frames are given "95ish" look with raised border.
4775 * stop character (ctrl+g) now works. SIGINT (ctrl+c or ctrl+break
4776 at the console) is still broken although.
4777 * frame "as lisp object" is now stored in window-associated space
4778 provided by the system. This enables obtaining frame object given
4779 window handle in constant time.
4780 * mswindows_cancel_dispatch_event() now has limited handling
4781 for key_press_event's in addition to timeout_event's.
4783 1997-12-11 SL Baur <steve@altair.xemacs.org>
4785 * intl.c (init_intl_very_early): Force LC_NUMERIC to "C".
4786 * input-method-xfs.c (Initialize_Locale): Ditto.
4787 * input-method-motif.c (Initialize_Locale): Ditto.
4788 * input-method-xlib.c (Initialize_Locale): Ditto.
4789 Suggested by Didier Verna <didier@xemacs.org> and
4790 Martin Buchholz <martin@xemacs.org>
4792 1997-12-10 Karl M. Hegbloom <karlheg@bittersweet.inetarena.com>
4794 * config.h.in: #undef MAGICK_HEADERS_ARE_UNDER_X11
4796 * glyphs-x.c: #ifdef MAGICK_HEADERS_ARE_UNDER_X11 added.
4798 1997-12-11 SL Baur <steve@altair.xemacs.org>
4800 * glyphs-x.c (_XOS_H_): Try to avoid including Xos.h on Solaris.
4801 Suggested by Samuel Tardieu <sam@inf.enst.fr>
4803 1997-12-11 David Hobley <davidh@wr.com.au>
4805 * pure.c: Removed WINDOWSNT conditional.
4807 1997-12-10 SL Baur <steve@altair.xemacs.org>
4809 * Makefile.in.in: Doc changes, update dependencies.
4811 * frame-x.c (x_init_frame_1): Remove unused variable.
4813 * fns.c (internal_equal): Guard label with ifdef.
4814 (internal_old_equal): Ditto.
4816 * symsinit.h: Declare structure_type_create_hashtable.
4818 * elhash.c (finish_marking_weak_hashtables): Move unused variable
4819 so gcc doesn't complain about it.
4821 * elhash.h: Declare new weak hashtables.
4823 * elhash.c (print_hashtable): Fix format.
4825 1997-12-10 Hrvoje Niksic <hniksic@srce.hr>
4827 * frame-tty.c (tty_raise_frame_no_select): Use LIST_LOOP.
4828 (tty_lower_frame): Ditto.
4830 * faces.c (face_validate): Don't check for doubly defined
4831 keywords; the reader does that.
4833 * emacs.c (main_1): Call structure_type_create_hashtable().
4835 * general.c (syms_of_general): Added Qtest and Qsize.
4837 * elhash.c (structure_type_create_hashtable): New function.
4838 (hashtable_type_validate): Ditto.
4839 (hashtable_test_validate): Ditto.
4840 (hashtable_size_validate): Ditto.
4841 (hashtable_data_validate): Ditto.
4842 (hashtable_instantiate): Ditto.
4844 * extents.c (extent_putprop): Made it work.
4845 (extent_remprop): Ditto.
4847 1997-12-08 Kirill M. Katsnelson <kkm@kis.ru>
4849 * device.h: device::fdin and device::fdout are now defined for
4850 systems which do not HAVE_UNIXOID_EVENT_LOOP.
4851 * device-tty.c, process.c, signal.c: call to signal_fake_event()
4852 bracketed out by #ifdef HAVE_UNIXOID_EVENT_LOOP / #endif
4854 * signal.c: For Win32 systems, longjmp in signal handler excluded
4855 * nt.c, syssignal.h, systime.h: emulation for SIGALRM and SIGPROF
4856 and setitimer for Win32 platforms. Profiling now works.
4857 * emacs.c: calls to syms_of_profile and vars_of_profile enabled
4859 * ntproc.c: handling of SIGCHLD now done by the common signal
4860 faking mechanism. (To no avail - subprocesses still broken)
4861 * s/windowsnt.h: Signal constants added
4862 * redisplay-msw.c: "Sticky" beep which blocked XEmacs until the
4863 sound finishes is now repaired
4865 1997-12-06 Jonathan Harris <jhar@tardis.ed.ac.uk>
4867 * frame-msw.c, msw-proc.c
4868 Further changes to resizing code so that changing default
4869 font, either in .emacs or later, works properly.
4872 Minor optimization: Mouse movement events aren't generated
4873 while the user is resizing the frame.
4874 Function keys are returned lower-case.
4876 1997-12-09 P. E. Jareth Hein <jareth@camelot-soft.com>
4878 * glyphs-x.c (imagick_instantiate): fix it so that it works
4879 properly for PseudoClass files. Still needs some thinking for
4880 full color... Also added support for old image instantiators
4881 in various places using the OLDCOMPAT define
4883 1997-12-08 Kyle Jones <kyle_jones@wonderworks.com>
4885 * event-stream.c (Faccelerate_menu): Check for the
4886 existence of a menubar associated with the selected frame
4887 before trying to use it. Signal an error if there is
4890 1997-12-06 P E Jareth Hein <jareth@camelot-soft.com>
4892 * device-x.c: Change -privcmap to -privatecolormap.
4893 * events.c: corret minor think-o.
4895 1997-12-04 Jonathon Harris <jhar@tardis.ed.ac.uk>
4897 * event-msw.c, faces.c, msw-proc.c:
4898 Frame resizing happens in multiples of the default character size.
4900 mswindows_set_frame_size() and
4901 mswindows_set_frame_properties() now call AdjustWindowRect to
4902 set the correct window size.
4904 1997-12-04 Jeff Sparkes <jsparkes@internetivity.com>
4906 * frame-msw.c: added frame functions for move, resize,
4907 iconify, raise, lower, visible_p, iconified_p, focus,
4908 make visible, make invisible, set title.
4910 1997-12-01 Jonathon Harris <jhar@tardis.ed.ac.uk>
4912 * event-msw.c, event-msw.h, frame-msw.c, msw-proc.c:
4913 - Implemeted simple emacs_mswindows_event_pending_p().
4914 - Fixed deleting frames.
4915 - Rewrote timeout code, eliminating "!NILP(rest)" bug.
4916 - Special processing for 'Ctrl-@' keystroke.
4917 - Support for some new keysyms.
4919 1997-12-03 Hrvoje Niksic <hniksic@srce.hr>
4921 * lstream.c (make_stdio_stream_1): Set it.
4922 (make_filedesc_stream_1): Ditto.
4923 (finalize_lstream): Use it.
4925 * lstream.h: New flag LSTREAM_FL_CLOSE_AT_DISKSAVE.
4927 1997-11-29 Jeff Miller <jmiller@smart.net>
4929 * menubar-x.c: define restore_in_menu_callback() when motif
4932 * menubar-x.c: change #ifdef LWLIB_MENUBARS_MOTIF to
4933 #if defined LWLIB_MENUBARS_LUCID || defined LWLIB_MENUBARS_MOTIF
4934 around code for incremental menu build.
4936 * event-stream.c: Changed HAVE_MENUBARS to HAVE_MENUBARS_LUCID in
4937 the #ifdef wrappers around menubar accelerator stuff.
4939 1997-12-05 SL Baur <steve@altair.xemacs.org>
4941 * keymap.h: update describe_map_tree prototype
4943 1997-12-03 Hrvoje Niksic <hniksic@srce.hr>
4945 * lstream.c (make_stdio_stream_1): Set it.
4946 (make_filedesc_stream_1): Ditto.
4947 (finalize_lstream): Use it.
4949 * lstream.h: New flag LSTREAM_FL_CLOSE_AT_DISKSAVE.
4951 1997-12-03 Hrvoje Niksic <hniksic@srce.hr>
4953 * editfns.c (save_excursion_restore): Fix comment.
4955 * fns.c (Fmapvector): GCPRO the vector.
4957 1997-12-01 Hrvoje Niksic <hniksic@srce.hr>
4959 * cmdloop.c (default_error_handler): Respect
4960 errors-deactivate-region; use display-error.
4962 * editfns.c (vars_of_editfns): New variable user-full-name.
4963 (init_editfns): Initialize it.
4964 (Fuser_full_name): Use it.
4965 (vars_of_editfns): Docfixes.
4967 * dired.c (Fdirectory_files): Use FORMAT_FILENAME instead of
4969 (make_directory_hash_table): Ditto.
4970 (file_name_completion): Bind `completion-ignore-case' to t under
4972 (file_name_completion): Signal an error if a member of
4973 `completion-ignored-extensions' is not a string.
4975 1997-11-30 Hrvoje Niksic <hniksic@srce.hr>
4977 * doc.c (Fsubstitute_command_keys): Don't use
4978 Vprin1_to_string_buffer.
4980 * keymap.c (describe_map_tree): Accept a BUFFER argument.
4981 (describe_map): Ditto.
4982 (describe_command): Ditto.
4984 1997-11-29 Hrvoje Niksic <hniksic@srce.hr>
4986 * insdel.c (signal_before_change): Don't treat
4987 Vprin1_to_string_buffer specially.
4988 (signal_after_change): Ditto.
4990 * buffer.c (Fkill_buffer): Don't treat Vprin1_to_string_buffer
4992 (complex_vars_of_buffer): Ditto.
4994 * print.c (Ferror_message_string): Use Vprin1_to_string_stream.
4996 * events.c (Fmake_event): Changed error message.
4998 * print.c (Fprin1_to_string): Use a resizing-buffer stream.
5000 1997-12-03 Hrvoje Niksic <hniksic@srce.hr>
5002 * buffer.c (Fkill_buffer): Use EXTERNAL_LIST_LOOP.
5003 (Fget_file_buffer): Use LIST_LOOP.
5005 1997-12-02 Hrvoje Niksic <hniksic@srce.hr>
5007 * editfns.c (save_excursion_save): Don't save VISIBLE-P.
5008 (save_excursion_restore): Changed accordingly.
5009 (save_excursion_restore): Free the markers and conses even if the
5011 (save_restriction_restore): Use XCAR/XCDR.
5012 (Fencode_time): Use XCAR/XCDR, when safe.
5014 * menubar.c (Fnormalize_menu_item_name): Use INC_CHARPTR; allow
5017 * minibuf.c (regexp_ignore_completion_p): Use EXTERNAL_LIST_LOOP;
5018 check type of list elements.
5020 * dired.c (file_name_completion): Set up a proper unwind form.
5021 (file_name_completion_unwind): New function.
5022 (file_name_completion): Allow errors.
5024 * line-number.c (invalidate_line_number_cache): Would lose in
5025 precence of Finsert_before_markers.
5026 (narrow_line_number_cache): Only mark LINE_NUMBER_BEGV as dirty.
5027 (buffer_line_number): Recalculate LINE_NUMBER_BEGV on demand.
5028 (buffer_line_number): Would ignore LINE_NUMBER_FAR.
5030 1997-12-01 Hrvoje Niksic <hniksic@srce.hr>
5032 * fns.c (Fmapvector): Don't stack-allocate args; allocate the
5033 vector and call mapcar1 with its data.
5035 1997-12-02 P E Jareth Hein <jareth@camelot-soft.com>
5037 * objects-x.c: Added colormap/visual support, rewrote
5038 allocate_nearest_color, and changed the x-color-instance to deal
5039 with possibly not freeing a color.
5041 * objects-x.h: Added dealloc_on_gc flag for x-color-instances.
5043 * redisplay-x.c: Added colormap/visual support.
5045 * balloon-x.c: Added colormap/visual support.
5047 * console-x.h: Added colormap/visual support by adding visual,
5048 depth and colormap slots to a device.
5050 * device-x.c: Added colormap/visual support with the command line
5051 options "-privcmap" and "-visual" and Xresources
5052 ".privateColormap" and ".EmacsVisual". Also changed the
5053 device-init so that the app-shell is always realized to properly
5054 deal with GCs (previously only realized when OFFIX was
5055 supported), and added the x-display-visual-depth lisp function to
5056 complement x-display-visual-class.
5058 * event-Xt.c: Added colormap/visual support, and stuck in a
5059 patch/hack to change the way Xt inherits visuals to match the way
5060 it inherits colormaps.
5062 * frame-x.c: Added colormap/visual support.
5064 * glyphs-x.c: Added colormap/visual support. Will probably need a
5067 1997-11-27 Kyle Jones <kyle_jones@wonderworks.com>
5069 * src/keymap.c (munging_key_map_event_binding): Don't do
5070 the meta char hack when processing key-translation-map.
5071 Return nil if the map to be processed (function-key-map
5072 or key-translation-map) is not a keymap.
5074 1997-11-27 SL Baur <steve@altair.xemacs.org>
5076 * device-msw.c: Turn on italic flag if appropriate
5077 * objects-msw.c: Set device-class to color.
5078 From Jeff Sparkes <jsparkes@internetivity.com>
5080 * glyphs-x.c: Should include <magick/magick.h> since that is what
5081 is autodetected by configure.
5083 1997-11-26 SL Baur <steve@altair.xemacs.org>
5085 * events.c (Fmake_event): correct type bug.
5086 From Colin Rafferty <craffert@ml.com>
5088 1997-11-26 Kyle Jones <kyle_jones@wonderworks.com>
5090 * lisp-disunion.h (VALMASK): Use 1UL instead of 1L to
5091 shut up Sun's niggling compiler warnings about integer
5094 * print.c (Fprin1_to_string): Don't change and
5095 restore the current buffer; no buffer change is needed
5096 to accomplish the task.
5098 1997-11-23 Jeff Miller <jmiller@smart.net>
5100 * Makefile.in.in removed energize support
5101 * buffer.c removed energize support
5102 * config.h.in removed energize support
5103 * console-x.h removed energize support
5104 * doc.c removed energize support
5105 * emacs.c removed energize support
5106 * extents.c removed energize support
5107 * extents.h removed energize support
5108 * frame-x.c removed energize support
5109 * gui-x.c removed energize support
5110 * menubar-x.c removed energize support
5111 * process.c removed energize support
5112 * puresize.h removed energize support
5113 * symsinit.h removed energize support
5114 * sysproc.h removed energize support
5115 * syssignal.h removed energize support
5116 * undo.c removed energize support
5117 * window.c removed energize support
5119 * energize.c removed
5120 * energize.h removed
5122 1997-11-23 Kyle Jones <kyle_jones@wonderworks.com>
5124 * faces.c (face_property_was_changed): Don't call
5125 update_faces_inheritance, it isn't needed.
5127 1997-11-22 Kyle Jones <kyle_jones@wonderworks.com>
5129 * redisplay-x.c (x_flash): Flash the root window
5130 area instead of the entire frame area.
5132 * frame.h: Added echo_area_garbaged field to frame
5135 * frame.c (change_frame_size_1): Set the
5136 echo_area_garbaged flag in a frame that has been
5139 * redisplay.c (redisplay_frame): Clear echo_area_garbaged
5140 flag on frame after displaying the frame.
5142 (Fredisplay_echo_area): Clear echo_area_garbaged
5143 flag on frame after displaying in echo area.
5145 * redisplay.c: Added hscroll_glyph_width_adjust field
5146 to position_redisplay_data_type struct.
5148 (add_hscroll_rune): Compute the difference in width
5149 between the hscroll glyph and a canonical space; store
5150 it in data->hscroll_glyph_width_adjust.
5152 (create_text_block): In tab field computation, adjust
5153 left margin to account for the difference between the
5154 width of the hscroll glyph and the width of a canonical
5157 1997-11-19 Kyle Jones <kyle_jones@wonderworks.com>
5159 * Emacs.ad: Change uses of Gray75 to Gray80.
5160 Don't set modeline colors here.
5162 * EmacsFrame.c: Fetch "background" resource for use by
5163 the toolbar initialization code; default this fetched
5164 value to -1 if it is unspecified, which is different
5165 from what is found in ef->core.background_pixel in that
5168 * EmacsFrame.h: Define macros for "Background" and
5169 "background" resource strings.
5171 * EmacsFrameP.h: Added background_pixel field to
5172 EmascFrmaePart struct.
5174 * toolbar-x.c (x_initialize_frame_toolbar_gcs): Added
5175 code to use the global background resource as the
5176 toolbar background color if it is sepcified. Otherwise
5177 fall back to the backgroundToolBarColor resource.
5179 1997-11-17 Marc Paquette <marcpa@cam.org>
5181 * callproc.c (Fcall_process_internal): Fix for bug in
5182 CRLF -> LF conversion.
5184 1997-11-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5186 * redisplay-msw.c: Calls GdiFlush() in _ouput_end, _clear_frame and
5187 _redraw_exposed_area
5189 * frame-msw.c: mswindows_init_frame_2
5190 Sets frame's pixel width and height
5192 1997-11-19 Kyle Jones <kyle_jones@wonderworks.com>
5194 * callproc.c (call_process_cleanup): Actaully wait
5195 for the process, rather than not doing it and saying we
5198 1997-11-20 Hrvoje Niksic <hniksic@srce.hr>
5200 * callproc.c (Fcall_process_internal): Close fd_error.
5202 1997-11-19 Didier Verna <didier@xemacs.org>
5204 * emacs.c (main_1): Added the missing argmatch call to check
5205 for the '-h' option.
5207 1997-11-18 SL Baur <steve@altair.xemacs.org>
5209 * mule-coding.h: Replace freshly broken ENCODE_SJIS and
5210 DECODE_SJIS macros with working versions from beta4.
5212 1997-11-17 Kyle Jones <kyle_jones@wonderworks.com>
5214 * frame-x.c (x_init_frame_1): Set frame visibility
5215 flag to 1 immediately so that echo area message are
5216 displayed in it promptly.
5218 * redisplay.c (Fredisplay_echo_area): If frame has
5219 changed, clear it to avoid garbled messages.
5221 * window.c (set_window_pixsize): Restore the bail out
5222 if no size change, but do it after the loop that recomputers
5223 major child corner coordinates.
5225 * keymap.c (describe_map_mapper): Recognize the
5226 buttonXup keysyms as mouse bindings.
5228 1997-11-17 Tor Arntsen <tor@spacetec.no>
5230 * Makefile.in.in (update-elc.stamp): Add temacs to dependency.
5232 1997-11-16 Kyle Jones <kyle_jones@wonderworks.com>
5234 * Added suport for toolbar borders.
5236 * EmacsFrame.c: Added X resources for new toolbar
5239 (EmacsFrameSetValues): Added Fadd_spec_to_specifier
5240 calls to move resourced toolbar border width data
5241 into the speciifers.
5243 * EmacsFrame.h: Defined X resource strings for
5244 toolbar border width resources.
5246 * EmacsFrameP.h: Added toolbar border width fields
5247 to the EmacsFramePart struct.
5249 * console.h: Added toolbar_border_width_changed_in_frame_method
5250 field to struct console.
5252 * events.c (event_x_y_pixel_internal): Factor the
5253 toolbar border into pixel offset.
5255 * frame.c: Document new toolbar border width
5256 speciifer as being usable as frame properties.
5258 (frame_conversion_internal): Factor the toolbar border
5259 widths into the geometry calculations.
5261 (change_frame_size_1): Ditto.
5263 * frame.h: Added field to struct frame for toolbar
5264 border widths. Modified geomtry macros and created
5265 others in support of the new toolbar border widths.
5267 * frameslot.h: Added a default_toolbar_border_width
5270 * redisplay-x.c (x_clear_frame): Factor the toolbar
5271 border widths into the geometry calculations.
5273 * toolbar-x.c (x_draw_blank_toolbar_button): Add
5274 support for drawing a border along with the blank
5275 button. Accept border_width and vertical args.
5277 (x_output_toolbar_button): Added support for drawing a
5278 border along with the button.
5280 (X_OUTPUT_BUTTONS_LOOP): Pass border_width and vert
5281 args to x_draw_blank_toolbar_button. Set vertical and
5282 border_width fields in toolbar button.
5284 (x_output_toolbar): Support toolbar border widths.
5286 (x_toolbar_size_changed_in_frame_1): Mark all toolbar
5287 buttons in the change toolbar as dirty so that they
5288 are refreshed if had been painted over.
5290 New function: x_toolbar_border_width_changed_in_frame.
5291 Used it as a console method.
5293 * toolbar.c: New function: mark_frame_toolbar_buttons_dirty.
5295 New function: toolbar_border_width_changed_in_frame.
5296 Used it as a specifier frame slot change method.
5298 (get_toolbar_coords): Factor the toolbar border
5299 widths into the geometry calculations.
5301 (Fset_default_toolbar_position): Update the fallback
5302 border width specifiers for the affected toolbar
5305 (specifier_vars_of_toolbar): Added specifiers for the
5306 toolbar border widths.
5308 * toolbar.h: Added vertical and border_width field
5309 to the toolbar button struct.
5311 * window.h: Added default_toolbar_border_width slot
5312 to window struct, along with four slots for the four
5313 window local toolbar border width values.
5315 1997-11-16 Kyle Jones <kyle_jones@wonderworks.com>
5317 * frame-x.c: Fixed typo in the documentation of the
5318 top-toolbar-shadow-color frame property.
5320 1997-11-16 Skip Montanaro <skip@calendar.com>
5322 * redisplay.c: suppress buffer computation in several places if
5323 MULE is not defined.
5325 1997-11-16 Hrvoje Niksic <hniksic@srce.hr>
5327 * events.c (print_event): Use `event-x-pixel' and `event-y-pixel',
5328 to be consistent with `make-event' and `event-properties'.
5329 (Fmake_event): Allow nil dnd-data.
5331 1997-11-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5334 mswindows is now a window-system according to
5335 CONSOLE_TYPESYM_WIN_P
5338 Now calls init_baud_rate & init_one_device
5341 Fixed C-key so key is returned unshifted
5344 Modeline and vertical divider appearance tweaks
5347 1997-11-14 SL Baur <steve@altair.xemacs.org>
5349 * console.c (Fsuspend_emacs): Fix docstring. Evaluating
5350 `suspend-hook' cannot stop suspension.
5352 1997-11-14 Marc Paquette <marcpa@cam.org>
5354 * callproc.c (Fcall_process_internal): Do CRLF -> LF
5355 conversion when reading process output.
5357 1997-11-14 Hrvoje Niksic <hniksic@srce.hr>
5359 * redisplay.c (init_redisplay): Handle not having DISPLAY and not
5362 1997-11-14 Hrvoje Niksic <hniksic@srce.hr>
5364 * events.c (Fmake_event): Support DND events.
5366 1997-11-10 Hrvoje Niksic <hniksic@srce.hr>
5368 * events.c (Fmake_event): Reenable the event creation code.
5369 (Fmake_event): Canonicalize the plist.
5371 1997-11-13 SL Baur <steve@altair.xemacs.org>
5373 * mule-charset.c (Fcharset_id): Typecast result to Lisp_Object.
5375 * mule-ccl.c (CCL_WRITE_STRING): Reorder parens to avoid compiler
5376 barf on Lisp_Object.
5377 (Fregister_ccl_program): Remove unused variable idx.
5379 * mule-canna.c: Fix declaration of mule_strlen().
5381 * mule-coding.h (ENCODE_SJIS): Parenthesize first two params to
5382 avoid compilation problems.
5384 1997-11-13 Olivier Galibert <olivier.galibert@mines.u-nancy.fr>
5386 * mule-charset.h: Added preliminary support for charset Ids.
5388 * mule-charset.c: Added preliminary support for charset Ids.
5390 * redisplay-msw.c (separate_textual_runs): Synched with FSF 20.2
5393 * redisplay-x.c (separate_textual_runs): Synched with FSF 20.2 ccl
5396 * mule-coding.c: Synched with FSF 20.2 ccl API.
5398 * mule-coding.h: Moved ccl part to mule-ccl.h.
5400 * mule-ccl.c: Synched with FSF 20.2.
5402 * mule-ccl.h: New file.
5404 Thu Nov 13 21:34:13 1997 Marc Paquette <marcpa@cam.org>
5406 * nt.c (REG_ROOT): Use a registry key different that the one for
5409 1997-11-12 SL Baur <steve@altair.xemacs.org>
5411 * lrecord.h: Fix typo in set_lheader_implementation.
5412 From: Robert Pluim <Robert_Pluim@BayNetworks.COM>
5414 1997-11-13 Olivier Galibert <galibert@renaissance.loria.fr>
5416 * configure.in: Remove HAVE_TIMEZONE_DECL test.
5418 1997-11-13 Olivier Galibert <galibert@renaissance.loria.fr>
5420 * s/freebsd.h: Remove HAVE_TIMEZONE_DECL forced value.
5422 * config.h.in: Remove HAVE_TIMEZONE_DECL reference.
5424 * systime.h: Remove timezone conditional declaration.
5426 1997-11-12 Kyle Jones <kyle_jones@wonderworks.com>
5428 * console.c: Use symbol_value_forward_lheader_initializer
5429 in various DEFVAR* macros. Forgot this in previous
5432 * lisp-disunion.h: Provide a no-op XUNMARK macro for
5433 the GC error checking code even if GCMARKBITS is not
5436 * lisp-union.h: Ditto.
5438 1997-11-10 Hrvoje Niksic <hniksic@srce.hr>
5440 * event-stream.c: Make echo_keystrokes a Lisp_Object.
5441 (maybe_echo_keys): Adapt to that.
5443 1997-11-11 SL Baur <steve@altair.xemacs.org>
5445 * eval.c (throw_or_bomb_out): Remove abort.
5446 Suggested by: Kyle Jones <kyle_jones@wonderworks.com>
5448 1997-11-11 Kyle Jones <kyle_jones@wonderworks.com>
5450 * Added support for referencing lrecord_implementations
5451 via an index in an lrecord_header rather than a raw
5452 pointer. Also added a mark bit and a pure bit.
5454 * alloc.c: Made lrecord_type_index() and
5455 lrecord_implementations_table[] global, previously they
5456 were static. Used new XRECORD_LHEADER_IMPLEMENTATION
5457 and LHEADER_IMPLEMENTATION macros to access
5458 lrecord_implementations found in Lisp_Objects and
5459 lrecord_headers instead of referencing ->implementation.
5461 (gc_record_type_p): For USE_INDEXED_LRECORD_IMPLEMENTATION,
5462 there's no need to check for equality to type or type + 1.
5463 lrecords are no longer marked by incrementing the
5464 implementation pointer.
5466 (init_alloc_once_early): Initialized subr and
5467 symbol_value_forward lrecord indexes early so that the
5468 staticly defined subrs and symbol_value_forward object
5469 indexes match the lrecord_implementations_table.
5471 * buffer.c: Used symbol_value_forward_lheader_initializer in
5472 various DEFVAR* macros. Used new XRECORD_LHEADER_IMPLEMENTATION
5475 * elhash.c: Used new XRECORD_LHEADER_IMPLEMENTATION
5478 * fns.c: Used new XRECORD_LHEADER_IMPLEMENTATION macro.
5480 * lisp.h: Defined subr_lheader_initializer macro, used it in
5483 * lrecord.h: For USE_INDEXED_LRECORD_IMPLEMENTATION,
5484 changed lrecord_header to contain an index into
5485 lrecord_implementations_table[], plus a mark bit and a pure
5486 bit. Added support code for this. Defined new
5487 XRECORD_LHEADER_IMPLEMENTATION and LHEADER_IMPLEMENTATION
5488 macros to be used to find the lrecord_implementation
5491 * print.c: Used new XRECORD_LHEADER_IMPLEMENTATION and
5492 LHEADER_IMPLEMENTATION macros.
5494 * symbols.c: Used symbol_value_forward_lheader_initializer in
5495 definition of guts_of_unbound_marker.
5497 * symeval.h: Defined symbol_value_forward_lheader_initializer
5498 macro. Used symbol_value_forward_lheader_initializer in various
5499 macros. Used new XRECORD_LHEADER_IMPLEMENTATION macro.
5502 1997-11-10 SL Baur <steve@altair.xemacs.org>
5504 * window.c (set_window_pixsize): Remove unused variable.
5506 * extents.c (print_extent_1): Fix type check error in sprintf.
5508 * doc.c (Fsnarf_documentation): Remove unused label weird_function.
5510 * symsinit.h: Restore declaration of vars_of_dialog_x.
5512 * database.c (Fopen_database): Fix unused variable message.
5514 * sysdep.c (sys_subshell): vfork() is a demented, obsolete hack.
5516 * offix.c (struct): Make ImageData, MaskData be unsigned char *.
5518 * event-Xt.c (x_event_to_emacs_event): Clean up typecasting.
5519 * frame-x.c (Foffix_start_drag_internal): Ditto.
5521 1997-11-09 Kyle Jones <kyle_jones@wonderworks.com>
5523 * extents.c (print_extent_1): Use %lx instead of %p
5524 to get the same output on all compilers.
5526 1997-11-09 Hrvoje Niksic <hniksic@srce.hr>
5528 * line-number.c: Use markers.
5530 * redisplay.c (window_line_number): Restored.
5532 * line-number.c (allocate_line_number_cache): Account for
5534 (buffer_line_number): New function.
5536 * line-number.c (get_nearest_line_number): New function.
5537 (window_line_number): Use it.
5538 (narrow_line_number_cache): New function.
5539 (invalidate_line_number_cache): Ditto.
5540 (insert_invalidate_line_number_cache): Ditto.
5541 (delete_invalidate_line_number_cache): Ditto.
5542 (add_line_number): Ditto.
5544 * editfns.c (widen_buffer): Update line number cache.
5545 (Fnarrow_to_region): Ditto.
5546 (save_restriction_restore): Ditto.
5548 * insdel.c (buffer_insert_string_1): Invalidate cache for
5550 (buffer_delete_range): Invalidate cache for deletion.
5552 * line-number.c: New file.
5553 (window_line_number): Moved from redisplay.c.
5555 * print.c (debug_print): Print a carriage return, too.
5557 * bufslots.h: New slot `line_number_cache'.
5559 1997-11-09 Kyle Jones <kyle_jones@wonderworks.com>
5561 * event-stream.c: New Lisp variable: last-command-event-time.
5563 1997-11-08 SL Baur <steve@altair.xemacs.org>
5565 * lread.c (init_lread): start from lisp, not lisp/prim.
5567 * Makefile.in.in: lisp/prim does exist any more.
5569 1997-11-07 Kyle Jones <kyle_jones@wonderworks.com>
5571 * abbrev.c (abbrev_lookup): Don't delete dash at the
5572 abbrev start location; abbrev-prefix-mark no longer
5575 Wed November 05 23:40:00 1997 <jhar@tardis.ed.ac.uk>
5577 * fileio.c: insert-file-contents-internal
5578 Added a bodge to do CRLF->LF conversion of text files,
5579 conditioned on DOS_NT. This is currently only one-way, so all
5580 text files written by XEmacs will be UNIXified. CRLF conversion
5581 is required to make bytecompile work.
5583 * Added file headers to:
5584 console-w32.c, console-w32.h,
5585 device-w32.c, event-w32.c, event-w32.h, frame-w32.c,
5586 objects-w32.c, objects-w32.h, redisplay-w32.c, w32-proc.c
5588 Sun November 01 12:00:00 1997 <jhar@tardis.ed.ac.uk>
5590 * redisplay-x.c: x_output_vertical_divider:
5591 If HAVE_SCROLLBARS was not defined, coordinate of the right of
5592 the divider was being used unitialised.
5594 * console.h: Added Qw32 and CONSOLE_W32* macros, conditioned on
5597 * emacs.c: Added calls to the following, conditioned on HAVE_W32GUI:
5598 syms_of_*_w32, vars_of_*_w32, console_type_create_*w32.
5600 * event-stream.c: Conditioned on HAVE_W32GUI:
5601 - vars_of_event_stream calls vars_of_event_w32.
5602 - init_event_stream calls init_event_w32_late.
5604 * events-mod.h: Removed comment about having alternative making
5605 MOD_* constants for different windowing systems.
5607 * events.c: Conditioned on HAVE_W32GUI:
5608 - event-equal: Added case for w32 magic events.
5609 - event-hash: Added case for w32 magic events.
5611 * events.h: Conditioned on HAVE_W32GUI:
5612 Added struct underlying_w32_event to magic_data.
5614 * faces.c: complex_vars_of_faces
5615 Added fallbacks for w32 faces, conditioned on HAVE_W32GUI.
5617 * frame.c: set-frame-properties
5618 Added reference to default-w32-frame-plist to docstring.
5620 * general.c: Added new Lisp_Object Qw32 and defsymbol.
5622 * redisplay-output.c: redisplay_update_line
5623 Conditioned reference to stupid_vertical_scrollbar_drag_hack on
5624 HAVE_X_WINDOWS. This will need a proper fix when w32 gets
5627 * redisplay-tty.c: init_tty_for_redisplay
5628 Conditioned blocking and unblocking of SIGTTOU on !WIN32 because
5629 these signals don't exist under win32.
5631 * redisplay.c: init_redisplay
5632 Initialise window system to w32, conditioned on HAVE_W32GUI.
5634 * symsinit.h: Added syms_of_*_w32, vars_of_*_w32 and
5635 init_event_w32_late.
5637 * sysdep.c: Conditioned various things on WIN32 in addition to
5641 console-w32.c, console-w32.h,
5642 device-w32.c, event-w32.c, event-w32.h, frame-w32.c,
5643 objects-w32.c, objects-w32.h, redisplay-w32.c, w32-proc.c
5645 1997-11-07 Hrvoje Niksic <hniksic@srce.hr>
5647 * doc.c (Fdocumentation_property): GCPRO doc.
5648 (Fsubstitute_command_keys): Disallow zero bsize.
5650 1997-11-06 Hrvoje Niksic <hniksic@srce.hr>
5652 * events.c (Fevent_modeline_position): Return nil if event is not
5653 over modeline, as the docstring says.
5655 1997-11-05 Martin Buchholz <Martin Buchholz <martin@xemacs.org>>
5657 * s/aix3-1.h: Remove ^L character wich confuses AIX make.
5659 1997-11-06 Tomasz Cholewo <tjchol01@mecca.spd.louisville.edu>
5661 * event-stream.c (Fnext_command_event): Document keystroke echoing.
5663 1997-11-06 Hrvoje Niksic <hniksic@srce.hr>
5665 * fns.c (Ffeaturep): Use call1, to prevent stack thrashing with
5669 1997-11-06 Kyle Jones <kyle_jones@wonderworks.com>
5671 * frame-x.c (x_delete_frame): Removed code that
5672 blocked the deletion of popup frames. No need for it.
5674 1997-11-05 SL Baur <steve@altair.xemacs.org>
5676 * balloon_help.h: Replace <X11/Intrinsic.h> with "xintrinsic.h"
5677 * balloon_help.c: Ditto.
5680 * mule-coding.c (coding_system_charset): Add prototype.
5682 1997-11-04 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5684 * s/freebsd.h: Add HAVE_TIMEZONE_DECL. Configure will fail at
5685 checking for the existence of `extern long timezone'.
5686 FreeBSD actualy has the `timezone', but due to its <time.h> and
5687 <sys/time.h>, it cannot be recognized by configure.
5689 1997-11-03 Hrvoje Niksic <hniksic@srce.hr>
5691 * data.c (Fsubr_interactive): New function.
5693 1997-11-03 Kyle Jones <kyle_jones@wonderworks.com>
5695 * frame.c (change_frame_size_1): Added explanatory
5698 * window.c (set_window_pixsize): Don't bail out
5699 before looping over the major children if there is no
5700 size change indicated. The top and left coordinates
5701 may need to be recomputed, e.g. in toolbar visibility
5704 1997-11-02 Kyle Jones <kyle_jones@wonderworks.com>
5706 * fileio.c (Ffile_truename): Make the errno == EACCES case
5707 behave the same as errno == ENOENT.
5709 1997-11-03 Kyle Jones <kyle_jones@wonderworks.com>
5711 * frame.c (Fframe_property, Fframe_properties): Check
5712 for minibuffer-onlyness of frame before checking whether
5713 it has a minibuffer. This makes the minibuffer property
5714 value be reported as 'only when that is appropriate. The
5715 check order was reversed which resulted in minibuffer-only
5716 frames having the minibuffer property reported as t.
5718 1997-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5730 * buffer.c: Remove VMS dependent code.
5732 1997-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5748 * process.c: Remove old VMS code.
5750 1997-11-02 SL Baur <steve@altair.xemacs.org>
5752 * glyphs-x.c: Use <magick/magick.h> instead of <magick.h>
5754 1997-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5758 * malloc.c: Remove old VMS code.
5760 1997-11-02 Hrvoje Niksic <hniksic@srce.hr>
5762 * database.c (print_database): Don't use a static buffer to store
5765 * dired.c (make_directory_hash_table): Ditto.
5767 * fileio.c (Ffile_truename): Use `make_ext_string' instead of
5770 1997-11-01 Hrvoje Niksic <hniksic@srce.hr>
5772 * database.c (CONCHECK_DATABASE): Define.
5774 * dired.c (Fdirectory_files): Use `make_ext_string' instead of
5775 `make_string', to avoid crashes under Mule.
5776 (file_name_completion): Use `make_ext_string'.
5778 * database.c (new_database): Renamed to `allocate_database', as
5779 per coding conventions.
5781 1997-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5783 * dired.c: Remove VMS dependent code.
5785 1997-11-01 Kyle Jones <kyle_jones@wonderworks.com>
5787 * buffer.h: Change XCHAR_OR_CHAR_INT to use XCHAR or
5788 XINT as appropriate instead of using XREALINT.
5790 * regex.c (re_search_2): cast translate[*d] to
5791 unsigned char when indexing fastmap to avoid sign
5792 change when value has the 0x80 bit set.
5794 1997-10-31 SL Baur <steve@altair.xemacs.org>
5796 * linuxplay.c (audio_init): Update for newer Linux kernels.
5797 From Robert Bihlmeyer <robbe@orcus.priv.at>
5799 1997-11-01 Hrvoje Niksic <hniksic@srce.hr>
5801 * fileio.c (Finsert_file_contents_internal): Fix misleading
5804 1997-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5806 * callproc.c: GC protect current_dir while infile and
5807 error_file are being initialized.
5809 1997-10-30 SL Baur <steve@altair.xemacs.org>
5811 * config.h.in: Remove HAVE_GIF, HAVE_JPEG, HAVE_PNG, HAVE_TIFF and
5812 replace with HAVE_IMAGEMAGICK.
5814 1997-10-30 Kyle Jones <kyle_jones@wonderworks.com>
5816 * process.c (Fprocess_send_string): Protect against
5817 SIGPIPE when flushing outstream.
5819 1997-10-30 SL Baur <steve@altair.xemacs.org>
5821 * input-method-xfs.c: Xlocale.h must be included after config.h.
5822 * input-method-motif.c: ditto.
5823 * input-method-xlib.c: ditto.
5825 1997-10-28 Kyle Jones <kyle_jones@wonderworks.com>
5827 * Under LRECORD_VECTOR, moved vectors from being an basic
5828 lrecord tpye to an lcrecord.
5829 Added support for 31 bits Lisp integers.
5830 Added support for maskless pointers to Lisp objects.
5834 (allocate_lisp_storage): Use XSETOBJ instead of
5835 XSETCONS to avoid tripping the ERROR_CHECK_TYPECHECK
5836 code with uninitialized data. XSETCONS used to work
5837 until it became an lrecord type.
5839 Removed sweep_vectors_1, all_vectors and other vector
5840 specific GC related objects in the LRECORD_VECTOR
5841 case, as they are unneeded now that lrecord-based
5842 vectors are lcrecords.
5844 Added `equal' methods for lrecord-based conses, vectors
5845 and strings. I was mistaken before; they are needed.
5847 (pure_cons): moved XSETCONS call to after the
5848 set_lheader_implementation call, to avoid tripping the
5849 type checking code on an uninitialized implementation
5852 (make_pure_vector): moved XSETVECTOR call to after the
5853 set_lheader_implementation call, to avoid tripping the
5854 type checking code on an uninitialized implementation
5857 (Fpurecopy): return if given a null pointer. THis can
5858 happen when initializing Qnil.
5860 (mark_object): return if passed a null pointer. I
5861 think this can happen when marking through some kind of
5862 objects that contain Lisp_Objects and null pointers.
5868 (mark_buffer): Don't mark conses in the indirect children
5869 list is said list is in fact a null pointer. The
5870 indirect children list gets reset to a null pointer
5871 when a bfufer is killed.
5873 (complex_vars_of_buffer): initialize indirect_children
5874 slow of Vbuffer_local_symbols and Vbuffer_defaults to
5879 (Fcheck_category_at): Don't use XREALINT to extract a
5880 char from a Lisp_Object, use XCHAR instead.
5882 (Fchar_in_category): Ditto.
5886 (eq_with_ebola_notice): Use XCHAR_OR_INT instead of
5887 XREALINT to extract data from a Lisp_Object that could
5888 contain a charater or an integer.
5890 (make_int): use XSETINT in the USE_MINIMAL_TAGBITS
5893 (make_char): use XSETINT in the USE_MINIMAL_TAGBITS
5896 (Flsh): XUINT is gone; use XINT instead.
5900 (elisp_hvector_malloc): Use Qnull_pointer instead of
5901 Qzero, as Qzero is no longer guaranteed to contain an
5902 all-zero bit pattern.
5904 (make_lisp_hashtable): Ditto.
5906 (Fcopy_hashtable): Ditto.
5910 Conditionalize the declaration of make_char() on
5911 whether a make_char macro exists or not.
5915 (internal_equal): Conditionalize existence of cons,
5916 string and vector comparison code on whether they are
5919 (internal_old_equal): Ditto.
5923 USE_MINIMAL_TAGBITS support.
5925 31 bit Lisp integer support.
5927 Conditionalized existence of markbit related macros on
5928 the existence of a markbit in a Lisp_Object. There are
5929 no markbits in the USE_MINIMAL_TAGBITS implementation
5932 Replaced XUINT with XPNTRVAL.
5934 Added declaration for Qnull_pointer.
5938 USE_MINIMAL_TAGBITS support.
5940 31 bit Lisp integer support.
5942 Conditionalized existence of markbit related macros on
5943 the existence of a markbit in a Lisp_Object. There are
5944 no markbits in the USE_MINIMAL_TAGBITS implementation
5947 Replaced XUINT with XPNTRVAL.
5949 Added a make_char macro, similar to the make_int
5950 macro, for use with the GCC-specific XMAKE_LISP hack.
5954 USE_MINIMAL_TAGBITS support.
5956 31 bit Lisp integer support.
5958 Added GCMARKBITS macro to specify how many markbits a
5959 Lisp_Object contains.
5961 Support for lcrecord-based vectors.
5963 Added XCHAR_OR_INT for accessing data in an object
5964 that might contain either a character or an integer.
5966 Made HACKEQ_UNSAFE use XCHAR_OR_INT instead of
5967 XREALINT during its Ebola check.
5971 Made the printing code undestand the split Lisp integer type.
5975 Added declaration for Qnull_pointer.
5977 1997-10-27 Martin Buchholz <mrb@eng.sun.com>
5980 * s/aix3-2.h: C_SWITCH_SYSTEM ==> configure.in
5981 * s/aix4-1.h: -li18n ==> configure.in
5982 * s/aix4.h: Always include strings.h
5983 * config.h.in: Add AIXV3 define, suggested by xmkmf. Remove
5985 * unexaix.c: Fix nested comments compiler warning
5987 1997-10-27 Kyle Jones <kyle_jones@wonderworks.com>
5989 * profile.c (sigprof_handler): Don't call XUNMARK on
5990 fun, it isn't needed.
5992 * faces.c (face_property_matching_instance): Check
5993 for charset == Qunbound, which it can be if the
5994 character set is unspecified.
5996 1997-10-27 SL Baur <steve@altair.xemacs.org>
5998 * mule-wnnfns.c (vars_of_mule_wnn): Provide 'wnn feature.
6000 * mule-canna.c (vars_of_mule_canna): Provide 'CANNA feature.
6002 1997-10-27 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6004 * device-x.c (x_init_device): To avoid crazy menubars due to
6005 lack of suitable font loading. Disabled locale based app-defaults
6006 loading when menubars=motif or menubars=lucid + xfs feature is not
6007 used. Currently, the menubar resource has no effect for tty use.
6009 1997-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6011 * README: Remove references to VMS.
6018 * s/vms.h: Remove files since VMS isn't supported any more.
6020 1997-10-25 Kyle Jones <kyle_jones@wonderworks.com>
6022 * toolbar.h: Reduce MINIMUM_SHADOW_THICKNESS to 1.
6024 1997-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6026 * database.c: Added support for Berkeley DB 2.x.
6028 1997-10-23 SL Baur <steve@altair.xemacs.org>
6030 * alloc.c: Disable purespace statistics unless --debug is in
6033 * console-stream.c (init_console_stream): At the price of a tiny
6034 memory leak, reinitialize FILE fields of the console.
6035 From Tonny Madsen <tma@nettest.dk>
6037 * emacs.c: New variable `inhibit_package_init'.
6038 (vars_of_emacs): Use it.
6039 (main_1): Initialize from command line.
6041 * Makefile.in.in (xemacs): Specify -vanilla when searching for
6044 * emacs.c: Remove VMS ifdefs.
6045 (standard_args): Added -no-packages, --no-packages.
6046 Added -vanilla, --vanilla.
6047 (Frun_emacs_from_temacs): Guard pure usage report with DEBUG_XEMACS
6048 (Fdump_emacs): Ditto.
6050 1997-10-22 Hrvoje Niksic <hniksic@srce.hr>
6052 * fns.c (Ffeaturep): Use `Fcar' with `or'.
6054 1997-10-22 Kyle Jones <kyle_jones@wonderworks.com>
6056 * alloc.c: drop the Lisp_Type_Record case clause
6057 that I added to the switch statement in a previous
6058 patch. The string, vector and cons cases belong in
6059 the `default' clause with the other lrecord types.
6061 1997-10-22 Kyle Jones <kyle_jones@wonderworks.com>
6063 * Added support for strings as lrecords.
6065 * lisp.h: #ifdef'd out Lisp_Type_String enum value
6066 if LRECORD_STRING is defined.
6068 * alloc.c: Added allocation and garbage collection
6069 code for lrecord-based strings.
6071 * print.c: move Lisp_String printing code to a
6072 separate function so that it could be used as a
6073 `print' method for lrecord-based strings.
6075 1997-10-20 Jan Vroonhof <vroonhof@math.ethz.ch>
6077 * extents.c: Renamed shot property to initial-redisplay-function
6078 (extent_fragment_update): Changed the bookkeeping whether an event
6079 has been spawned. The initial-redisplay-function property is no
6084 1997-10-20 Kyle Jones <kyle_jones@wonderworks.com>
6086 * Added support for conses and vectors to be lrecords.
6088 * alloc.c: Modified allocation and GC code for
6089 LRECORD_CONS and LRECORD_VECTOR support. Moved some
6090 macros to lrecord.h.
6092 * bytecode.c: Warning comment about LRECORD_CONS.
6094 * elhash.c: Let internal_hash handle vector hashing
6095 if LRECORD_VECTOR is defined, just as it does when
6096 LRECORD_VECTOR is not defined. The code could have
6097 been copied into an `hash' method function but I don't
6098 see any point to it. Added lrecord style marking code
6099 to finish_marking_weak_hashtables. Bracketed code
6100 that groks the non-lrecord method of marking vectors
6103 * fns.c: Let internal_equal and internal_old_equal
6104 handle vector comparisons when LRECORD_VECTOR is
6105 defined, just as it does when LRECORD_VECTOR is not
6106 defined. The code could have been copied into an
6107 `equal' method function but I don't see any point to
6110 * lisp.h: Added typecheck macros for LRECORD_CONS
6111 support. LRECORD_VECTOR macros were already present.
6113 * print.c: New functions print_cons and print_vector
6114 for LRECORD_CONS and LRECORD_VECTOR support.
6115 Some GC protection also added.
6117 * lrecord.h: Received some macros from alloc.c, so
6118 that they could be used in lisp.h.
6120 1997-10-20 Hrvoje Niksic <hniksic@srce.hr>
6122 * fns.c (Ffeaturep): Handle `not' correctly.
6124 * lread.c (vars_of_lread): Use defsymbol for featurep.
6126 1997-10-15 Olivier Galibert <olivier.galibert@mines.u-nancy.fr>
6128 * s/irix5-0.h: Removed -G 0 from LD_SWITCH_SYSTEM. .sbss sections
6129 are supported since unexelfsgi.c upgrade.
6131 1997-10-16 Kyle Jones <kyle_jones@wonderworks.com>
6133 * lstream.c (Lstream_close): Don't return early if the
6134 closer method reports failure. Doing so caused GC and
6135 memory corruption crashes.
6137 1997-10-14 Hrvoje Niksic <hniksic@srce.hr>
6139 * extents.c (Fset_extent_property): Allow `keymap' property to be
6142 1997-10-15 SL Baur <steve@altair.xemacs.org>
6144 * mule-coding.c (acceptable_control_char_p): Add C-_ for info.
6145 (detect_coding_iso2022): Ditto.
6146 From SENDA Shigeya <senda@ic.rdc.ricoh.co.jp>
6148 1997-10-09 MORIOKA Tomohiko <morioka@jaist.ac.jp>
6150 * mule-coding.c (make-coding-system, detect-coding-region): Modify
6151 DOC-string because of renaming `automatic-conversion' ->
6152 `undecided' to sync with Emacs 20.2.
6154 (make-coding-system, coding-system-type, detect-coding-region):
6155 Rename `Qautomatic_conversion' -> `Qundecided'.
6157 * general.c (syms_of_general): Rename `automatic-conversion' ->
6158 `undecided' to sync with Emacs 20.2.
6160 * emacsfns.h, event-Xt.c (x_to_emacs_keysym): Rename
6161 `Qautomatic_conversion' -> `Qundecided'.
6163 * buffer.c (buffer-file-coding-system): Modify DOC-string because
6164 of renaming `automatic-conversion' -> `undecided' to sync with
6167 1997-10-15 Olivier Galibert <olivier.galibert@mines.u-nancy.fr>
6169 * lisp.h (MANY): Bump SUBR_MAX_ARGS to 12 and add corresponding
6172 1997-10-13 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
6174 * console-tty.c: Include gpmevent.h
6175 * gpmevent.c (connect_to_gpm): change to void
6176 * gpmevent.h: Ditto.
6178 1997-10-13 Kyle Jones <kyle_jones@wonderworks.com>
6180 * lisp-disunion.h (XSETOBJ): cast Lisp type enum to
6181 an EMACS_UINT quantity to avoid a compiler warning about
6182 integer overflow when the most significat bit of the
6183 type tag is shifted into the sign bit position of an
6186 1997-10-12 SL Baur <steve@altair.xemacs.org>
6188 * s/freebsd.h: Add X11 guard for building without X11.
6189 From Hrvoje Niksic <hniksic@srce.hr>
6191 1997-10-12 Kyle Jones <kyle_jones@wonderworks.com>
6193 * doprnt.c (emacs_doprnt_1): if forwarded field width
6194 is negative, set minus_flag and make the field width
6195 positive. Makes (format "%*s" -10 "abc") work like
6196 (format "%-*s" 10 "abc").
6198 1997-10-12 SL Baur <steve@altair.xemacs.org>
6200 * unexsol2.c (unexec): CONST isn't defined here.
6201 From Adrian Aichner <aichner@ecf.teradyne.com>
6203 1997-10-11 SL Baur <steve@altair.xemacs.org>
6205 * realpath.c (realpath): CONST IS LOSING but removing it conflicts
6206 with system headers.
6208 * callproc.c: New variable infopath-internal.
6209 (complex_vars_of_callproc): Declare and initialized it.
6211 * paths.h.in: New variable PATH_INFOPATH.
6213 1997-10-10 Martin Buchholz <mrb@eng.sun.com>
6216 - change Xemacs --> XEmacs
6221 - Remove bogus FSF-origin \n\ sequences.
6223 1997-10-09 Kyle Jones <kyle_jones@wonderworks.com>
6225 * doprnt.c (parse_doprnt_spec): parse `*' field width
6226 and precision specs and set up spec forwarding.
6228 * doprnt.c (emacs_doprnt_1): implement `*' by
6229 forwarding flags, precision and field width data from a
6230 spec to a subsequent spec.
6232 * editfns.c: document new `*' field width and
6235 1997-10-09 SL Baur <steve@altair.xemacs.org>
6237 * database.c (Fclose_database): Rename C function.
6238 (Fdatabase_last_error): Ditto.
6239 (Fopen_database): Ditto.
6240 (Fput_database): Ditto.
6241 (Fremove_database): Ditto.
6242 (Fget_database): Ditto.
6243 (syms_of_dbm): Reflect above changes.
6244 From Martin Buchholz <mrb@Eng.Sun.COM>
6246 1997-10-08 Hrvoje Niksic <hniksic@srce.hr>
6248 * events.c (Fmake_event): Allow only frames as channel.
6250 1997-10-07 Hrvoje Niksic <hniksic@srce.hr>
6252 * extents.c (print_extent_1): Fixed typo.
6254 1997-10-07 Kyle Jones <kyle_jones@wonderworks.com>
6256 * insdel.c (buffer_replace_char): if doing delete/insert
6257 because of characters with deiffering byte lengths,move
6258 point forward with the insertion if it was moved backwrad
6259 to equal the insertion point by the earlier deletion.
6261 1997-10-06 SL Baur <steve@altair.xemacs.org>
6263 * window.c (Fset_window_dedicated_p): register -> REGISTER.
6265 * unexalpha.c (update_dynamic_symbols): register-> REGISTER.
6267 * sysdep.c: Global change: register -> REGISTER.
6269 * strcat.c (strcat): register -> REGISTER.
6271 * search.c: Global change: register -> REGISTER.
6273 * regex.c: Global change: register -> REGISTER.
6274 - Ensure REGISTER is always defined.
6276 * nt.c: Global change: register -> REGISTER.
6278 * linuxplay.c: Global change: register -> REGISTER.
6280 * input-method-xlib.c (best_style): register -> REGISTER.
6282 * gifalloc.c: Global change: register -> REGISTER.
6283 - Ensure REGISTER is always defined.
6285 * getloadavg.c (getloadavg): register -> REGISTER.
6287 * eval.c (unwind_to_catch): [Unused variable] register -> REGISTER.
6289 * cmds.c (Fpoint_at_bol): register -> REGISTER.
6291 * chartab.c (check_category_char): register -> REGISTER.
6293 * buffer.c (assoc_ignore_text_properties): [Unused function]
6294 register -> REGISTER.
6296 * alloca.c: Global change: register -> REGISTER.
6298 * xmu.h (XmuCopyISOLatin1Lowered): Global change: const -> CONST.
6300 * gif_lib.h: Global change: const -> CONST.
6302 * balloon_help.h (balloon_help_move_to_pointer): const -> CONST.
6304 * xmu.c: Global change: const -> CONST.
6306 * unexsol2.c (unexec): const -> CONST.
6308 * unexhp9k3.c (unexec_error): const -> CONST.
6310 * unexfreebsd.c (unexec_error): const -> CONST.
6312 * sunOS-fix.c (mbstowcs): const-> CONST.
6315 * strcpy.c (strcpy): const -> CONST.
6317 * strcmp.c: Global change: const -> CONST.
6319 * strcat.c (strcat): const -> CONST.
6321 * realpath.c (realpath): const -> CONST.
6323 * keymap.c (where_is_recursive_mapper): const -> CONST.
6325 * extents.c (extent_priority_sort_function): const -> CONST.
6327 * dgif_lib.c (DGifOpenFileName): const -> CONST.
6329 * balloon_help.c: Global change: const -> CONST.
6331 1997-10-03 SL Baur <steve@altair.xemacs.org>
6333 * lisp.h: Nuke register declarations.
6335 1997-10-03 Karl M. Hegbloom <karlheg@inetarena.com>
6337 * window.c (Frecenter): Correct variable names in docstring.
6339 1997-10-03 Karl M. Hegbloom <karlheg@inetarena.com>
6341 * fns.c: Add some cross references between destructive and
6342 non-destructive versions of similar functions.
6344 Fri Oct 3 12:28:08 1997 Kyle Jones <kyle_jones@wonderworks.com>
6346 * lisp-disunion.h: Move markbit to be between the
6347 type bits and the value bits. Previously it was always
6348 the sign bit of a EMACS_INT, unless modified by a
6349 #define in a machine dependent .h file.
6351 1997-10-02 Hrvoje Niksic <hniksic@srce.hr>
6353 * profile.c (Fclear_profiling_info): Made interactive.
6355 1997-10-02 SL Baur <steve@altair.xemacs.org>
6357 * glyphs-x.c (USE_TEMP_FILES_FOR_PNG_IMAGES): Move outside of
6360 1997-10-01 SL Baur <steve@altair.xemacs.org>
6362 * lisp.h (min): Fully parenthize.
6365 * Makefile.in.in (widget.o): Insert dependencies.
6366 - Insert HAVE_OFFIX_DND dependencies.
6368 * casefiddle.c (casify_object): Back out bogus undocumented patch
6371 1997-09-30 SL Baur <steve@altair.xemacs.org>
6373 * events.c (Fevent_type): Add OffiX guard.
6374 (command_event_p): Ditto.
6375 (mark_event): Ditto.
6376 (print_event): Ditto.
6378 1997-09-30 SL Baur <steve@altair.xemacs.org>
6380 * mule-canna.c (Fcanna_set_bunsetsu): Return a value.
6381 (Fcanna_parse): Remove unused variables `ks' and `ksv'.
6382 (Fcanna_henkan_begin): Remove unused variable `res'.
6383 (Fcanna_henkan_next): Remove unused variable `nbun'.
6384 (count_char): Change return type to void.
6386 * event-Xt.c (x_event_to_emacs_event): Remove unused variable
6389 * menubar.c (Fnormalize_menu_item_name): Remove unused variable
6392 * redisplay-x.c (x_flash): Reorganize test to prefer select over
6395 * xselect.c (Fx_store_cutbuffer_internal): Remove unused variable
6398 1997-09-30 Hrvoje Niksic <hniksic@srce.hr>
6400 * frame.c (Fmake_frame): Call `custom-initialize-frame'.
6402 1997-09-24 MORIOKA Tomohiko <morioka@jaist.ac.jp>
6404 * mule-coding.c: Rename `pathname-coding-system' to
6405 `file-name-coding-system' to sync with Emacs 20.2.
6407 1997-09-26 Hrvoje Niksic <hniksic@srce.hr>
6409 * window.c (saved_window_equal): Ditto.
6411 * process.c (Fget_process): Use internal_equal.
6413 * lread.c (build_load_history): Use internal_equal.
6414 (build_load_history): Use XCAR/XCDR where safe.
6416 * events.c (event_equal): Ditto.
6418 * event-stream.c (Fdispatch_event): Ditto.
6420 * elhash.c (lisp_object_eql_equal): Ditto.
6421 (lisp_object_equal_equal): Ditto.
6423 * device.c (find_device_of_type): Ditto.
6425 * console.c (find_console_of_type): Ditto.
6427 * console-tty.c (tty_init_console): Ditto.
6429 * console-stream.c (stream_init_console): Use internal_equal.
6430 (stream_canonicalize_console_connection): Ditto.
6432 * fns.c (Fmember): Use internal_equal, to avoid a necessary
6433 funcall and NILP check.
6434 (Fold_member): Ditto for internal_old_equal.
6435 (Fassoc): Use XCAR when we know we deal with a cons. Use
6436 internal_equal. Removed tem.
6437 (Fold_assoc): Ditto.
6439 (Frassoc): Use internal_equal; remove tem.
6440 (Fold_rassoc): Ditto for internal_old_equal.
6441 (Frassq): Use XCDR with what we know is a cons.
6442 (Fold_rassq): Ditto.
6443 (Fdelete): Use internal_equal.
6444 (Fold_delete): Ditto for internal_old_equal.
6445 (Fremassoc): Use internal_equal; use XCAR/XCDR with what we know
6447 (Fremrassoc): Ditto.
6449 * dired.c (Fdirectory_files): Nreverse the list only if it will be
6452 Fri Sep 26 13:55:28 1997 Kyle Jones <kyle_jones@wonderworks.com>
6454 * faces.c (update_face_cachel_data): Don't allow the
6455 background pixmap of the default face to override the
6456 background of a face if that color has been specified.
6458 1997-09-26 Hrvoje Niksic <hniksic@srce.hr>
6460 * dired.c (close_directory_fd): New function.
6461 (Fdirectory_files): Use it to set up an unwind-protection to close
6463 (Fdirectory_files): Allow QUIT in re_search.
6464 (Fdirectory_files): If the file is too big, allocate necessary
6466 (Fdirectory_files): Use simple Fcons to build the list.
6467 (close_directory_fd): Free the opaque pointer.
6469 1997-09-25 Hrvoje Niksic <hniksic@srce.hr>
6471 * extents.c (Fset_extent_properties): New function.
6473 1997-09-24 SL Baur <steve@altair.xemacs.org>
6475 * dired.c (Fdirectory_files): Remove broken VMS stuff.
6476 (file_name_completion_stat): Ditto.
6477 (file_name_completion): Ditto.
6479 (syms_of_dired): Ditto.
6481 1997-09-25 Hrvoje Niksic <hniksic@srce.hr>
6483 * widget.c (Fwidget_apply): Don't GCPRO result of Fwidget_get.
6485 1997-09-24 SL Baur <steve@altair.xemacs.org>
6487 * symsinit.h: Declare syms_of_widget.
6489 * emacsfns.h: Declare Fchar_syntax.
6491 * bytecode.c (Fbyte_code): Call Fchar_syntax for the Bchar_syntax
6494 * syntax.c (Fchar_syntax): convert nil input to \000 for
6497 * alloc.c (report_pure_usage): Increase slop to 512 bytes in betas
6498 and reduce it to 4 bytes in releases.
6500 1997-09-23 SL Baur <steve@altair.xemacs.org>
6502 * Makefile.in.in (objs): Add new C file widget.o.
6504 1997-09-22 SL Baur <steve@altair.xemacs.org>
6506 * editfns.c (vars_of_editfns): New feature 'ampersand-full-name
6507 declared if AMPERSAND_FULL_NAME configuration option is enabled.
6509 * callproc.c (vars_of_callproc): Update docstring of `data-directory'.
6511 Sun Sep 21 14:14:44 1997 Kyle Jones <kyle_jones@wonderworks.com>
6513 * lisp.h: underspecify lisp_fn_t function prototype
6514 to avoid compiler errors in inline_funcall_subr().
6516 * eval.c (Fprogn): Walk forms list with XCDR, access
6517 with XCAR. Check forms list CONSP, so that XCDR and XCAR are
6520 * eval.c (Fsetq): replace Flength call with for-loop
6521 to compute list length. Walk arg list with XCDR,
6522 access with XCAR. Check arg list with CONSP, so that
6523 XCDR and XCAR are safe.
6525 * eval.c: New macro inline_funcall_subr, an inline
6526 version of funcall_subr + primitive_funcall.
6528 * eval.c (Feval): replace Flength call with for-loop
6529 to compute list length. Use XCAR and XCDR in some
6530 places where it is safe to do so. Use
6531 inline_funcall_subr() in place of funcall_subr().
6533 * eval.c (funcall_recording_as): Use XCAR instead of
6534 Fcar where it was safe.
6536 * eval.c (Fapply): replace Flength call with for-loop
6537 to compute list length.
6539 * eval.c (apply_lambda):Use XCAR and XCDR in some
6540 places where it is safe to do so.
6542 * eval.c (funcall_lambda): Walk param list with XCDR, access
6543 with XCAR. Check param list CONSP, so that XCDR and XCAR are
6546 * symbols.c (find_symbol_value): return quickly if no
6547 symbol magic is involved, to avoid the expensive call
6548 to find_symbol_value_1.
6550 * symbols.c (store_symval_forwarding): don't call
6551 reject_constant_symbols unless there is a chance a
6552 constant symbol is involved. This break the
6553 encapsulation of the constants check, but symbol stores
6554 are used heavily and speed is most important than
6555 cleanliness in this case.
6557 1997-09-21 Joel Peterson <tarzan@aosi.com>
6559 * menubar.c (normalize-menu-item-name): New function.
6561 1997-09-21 SL Baur <steve@altair.xemacs.org>
6563 * keymap.c (get_relevant_extent_keymaps): Previous patch reversed.
6565 1997-09-20 SL Baur <steve@altair.xemacs.org>
6567 * Makefile.in.in (xemacs): Adoption of shadow.el to print
6568 load-path shadowings after successful dump.
6570 1997-09-20 Hrvoje Niksic <hniksic@srce.hr>
6572 * redisplay.c (scroll_conservatively): New variable.
6573 (redisplay_window): Use it.
6575 1997-09-16 SL Baur <steve@altair.xemacs.org>
6577 * events.c (Fmake_event): Add default case, remove unused variables.
6579 1997-08-21 Jan Vroonhof <vroonhof@math.ethz.ch>
6581 * extents.c (extent_fragment_update): Trigger one_shot_function
6583 * extents.c (set-extent-one-shot-function): New function
6585 * extents.h (struct extent_auxiliary): Added one_shot_function
6587 * extens.c: Added one_shot_function to assesor functions.
6589 1997-09-14 Hrvoje Niksic <hniksic@srce.hr>
6591 * fileio.c (Fexpand_file_name): Don't treat "//" and "~/" in the
6592 middle of path specially.
6594 1997-09-10 Hrvoje Niksic <hniksic@srce.hr>
6596 * event-stream.c (inhibit_input_event_recording): New boolean
6598 (Fnext_event): Use it.
6600 1997-09-13 Hrvoje Niksic <hniksic@srce.hr>
6602 * fns.c (Fmapc): Renamed from Fmapc_internal.
6604 1997-09-10 Hrvoje Niksic <hniksic@srce.hr>
6606 * database.c (Fmake_database): Expand FILE.
6608 * redisplay.c (window-system): Warn against using it.
6610 1997-09-08 SL Baur <steve@altair.xemacs.org>
6612 * emacs.c (PACKAGE_PATH): Reverse PACKAGE_PATH.
6613 Suggested by Colin Rafferty <craffert@ml.com>
6615 1997-09-03 SL Baur <steve@altair.xemacs.org>
6617 * print.c (print_internal): Special treatment for C-\.
6619 1997-08-13 P E Jareth Hein <jareth@camelot-soft.com>
6621 * insdel.c (buffer_delete_range): Changed the location where point
6622 was actually moved to after all other movement handling. This
6623 prevents a MULE related crash in VALID_BYTIND.
6625 1997-08-11 SL Baur <steve@altair.xemacs.org>
6627 * doc.c (Fsnarf_documentation): Semi-clarify types of weird
6630 1997-08-05 Jens-Ulrik Holger Petersen <petersen@kurims.kyoto-u.ac.jp>
6632 * eval.c (vars_of_eval): Updated docstring for `debug_on_error' to
6633 mention `debug-ignored-errors'.
6635 1997-08-01 SL Baur <steve@altair.xemacs.org>
6637 * emacsfns.h: Fix declaration.
6639 * event-stream.c (syms_of_event_stream): HAVE_MENUBARS not
6642 1997-07-31 SL Baur <steve@altair.xemacs.org>
6644 * frame-x.c (x_offix_drop_event_handler): Use stderr_out instead
6647 * mule-coding.c (parse_iso2022_esc): Add abort() trap on unhandled
6650 * mule-wnnfns.c (Fwnn_dict_search): Remove unused variable.
6651 (Fwnn_hindo_update): Ditto.
6652 (Fwnn_inspect): Ditto.
6653 (Fwnn_bunsetu_henkou): Ditto.
6655 * eval.c (call_with_suspended_errors): Fix Gcc warning:
6656 argument `retval' might be clobbered by `longjmp' or `vfork'
6658 1997-07-30 SL Baur <steve@altair.xemacs.org>
6660 * redisplay.c: `window-system' isn't going away any time soon.
6662 1997-07-29 SL Baur <steve@altair.xemacs.org>
6664 * callint.c (Fcall_interactively): Allow floating point numbers
6665 for `n' and `N' interactive specs.
6667 1997-07-27 SL Baur <steve@altair.xemacs.org>
6669 * event-stream.c (command_builder_find_leaf): Fix typo in
6672 * gui-x.c (popup_selection_callback): Fix typo in HAVE_MENUBARS.
6674 * event-stream.c (syms_of_event_stream): accelerate_menu needed
6677 * emacs.c (vars_of_emacs): Main default package directory is now
6678 ${prefix}/lib/xemacs/packages.
6680 1997-07-25 David Moore <dmoore@ucsd.edu>
6682 * alloc.c (Fmake_byte_code): GC protect newly allocated function
6683 when looking up filename.
6685 1997-07-25 SL Baur <steve@altair.xemacs.org>
6687 * Makefile.in.in: Added support for linking with dmalloc.
6689 1997-07-25 P E Jareth Hein <jareth@camelot-soft.com>
6691 * xselect.c (x_atom_to_symbol): Fixed a memory corruption bug
6692 where a possibly MULEified string was getting freed before use.
6694 1997-07-21 SL Baur <steve@altair.xemacs.org>
6696 * callproc.c: New variable Vdata_directory_list.
6697 * emacsfns.h: Declare it.
6699 * fns.c (Frequire): Undo previous change.
6701 * print.c (print_internal): Handle circular objects like Emacs
6702 handles them (and as documented in the Lispref).
6704 * database.c (Fputdatabase): Complain when `val' is not a string.
6706 * event-stream.c (command_builder_find_leaf): Guard menubar
6707 accelerator stuffs with HAVE_MENUBAR.
6708 * gui-x.c (popup_selection_callback): Ditto.
6710 1997-07-20 SL Baur <steve@altair.xemacs.org>
6712 * event-stream.c (menu_move_up): Guard menubar accelerator code
6715 * emacs.c (decode_path): New function, derived from latter portion
6717 (decode_env_path): Break out the naughty bits -- shouldn't do
6718 getenv and separator parsing in one function.
6719 New variable Vpackage_path.
6720 (vars_of_emacs): Use it.
6722 * editfns.c (Fstring_to_char): Return nil instead of `0' for empty
6725 1997-07-10 Hrvoje Niksic <hniksic@srce.hr>
6727 * fileio.c (Finsert_file_contents_internal): Handle non-regular
6730 1997-07-12 Steven L Baur <steve@altair.xemacs.org>
6732 * Makefile.in.in (LOCK_OBJ): Only include filelock.[co] when
6733 CLASH_DETECTION is defined.
6735 1997-07-11 Steven L Baur <steve@altair.xemacs.org>
6737 * emacs.c (main_1): Spelling fix.
6739 1997-07-10 Steven L Baur <steve@altair.xemacs.org>
6741 * Makefile.in.in (dump-elcs): Shouldn't use SATISFIED hack.
6742 (xemacs-no-site-file): Not supported any more.
6743 (binary): New dependency for dumping XEmacs.
6744 (xemacs): Attempt to be a little smarter about not dumping a new
6745 XEmacs if it is not needed.
6746 (temacs): Remove `xemacs' after success.
6748 1997-07-09 Hrvoje Niksic <hniksic@srce.hr>
6750 * extents.c: Allow non-symbol properties of extents.
6752 1997-07-08 Hrvoje Niksic <hniksic@srce.hr>
6754 * data.c (Fstring_to_number): Use `check_int_range'.
6755 (Fstring_to_number): Would bug out on wrong type check.
6757 1997-07-07 Steven L Baur <steve@altair.xemacs.org>
6759 * data.c (Fcompiled_function_doc_string): Implement correctly.
6760 Was forgotten cut & paste identical clone to
6761 Fcompiled_function_interactive?
6763 * Makefile.in.in (alloc.o): Remove dependency on puresize_adjust.h
6764 so alloc.c need not be recompiled when puresize changes.
6766 * alloc.c (PURIFIED): Use get_PURESIZE() instead of constant.
6767 (check_purespace): Ditto.
6768 (alloc_pure_lrecord): Ditto.
6769 (report_pure_usage): Ditto.
6770 (disksave_object_finalization): Ditto.
6771 (report_pure_usage): Modify message reported when Build is
6772 restarted due to change in PURESIZE_ADJUSTMENT.
6774 * puresize.h: Remove dependency on puresize_adjust.h.
6775 (get_PURESIZE): New function -- declare it.
6777 * pure.c: Move final PURESIZE computation and include of
6778 puresize_adjust.h into here so alloc.c need not be recompiled each
6779 time the puresize is adjusted.
6780 (get_PURESIZE): New function.
6782 1997-07-06 Steven L Baur <steve@altair.xemacs.org>
6784 * data.c (Fstring_to_number): Wrong parameter was being checked.
6786 * emacs.c (vars_of_emacs): Fprovide the system type as a feature.
6788 1997-07-03 Steven L Baur <steve@altair.xemacs.org>
6790 * data.c (Fstring_to_number): Fix typo. base isn't an integer.
6792 1997-07-01 Steven L Baur <steve@altair.xemacs.org>
6794 * data.c, emacsfns.h: This is the port of GNU Emacs capability.
6795 I am still not sure what this buys us, but I guess it doesn't hurt
6797 From Hrvoje Niksic <hniksic@srce.hr>
6799 * glyphs.c (make_string_from_file): Use
6800 insert-file-contents-literally instead of
6801 insert-file-contents-internal.
6803 1997-06-30 Steven L Baur <steve@altair.xemacs.org>
6805 * fns.c (check_losing_bytecode): Correct reported version.
6807 * Makefile.in.in (${libsrc}DOC): Break up line length for stupid
6810 1997-06-29 Steven L Baur <steve@altair.xemacs.org>
6812 * emacsfns.h: Put void in prototype.
6813 Suggested by Ben Wing.
6815 1997-07-01 MORIOKA Tomohiko <morioka@jaist.ac.jp>
6817 * glyphs.c (make_string_from_file): must protect from
6820 1997-06-28 Steven L Baur <steve@altair.xemacs.org>
6822 * config.h.in: Back out previous change to LOSING_BYTECODE. It's
6825 1997-06-27 Mike Scheidler <c23mts@eng.delcoelect.com>
6827 * s/sol2.h: Undefined _XOPEN_SOURCE for Solaris 2.4.
6829 1997-06-28 Hrvoje Niksic <hniksic@srce.hr>
6831 * abbrev.c (abbrev_match): New function.
6832 (abbrev_oblookup): New function.
6833 (obarray_has_blank_p): New function.
6834 (abbrev_count_case): New function.
6835 (Fexpand_abbrev): Use them. Allow abbreviations to contain
6836 arbitrary characters.
6838 1997-06-28 Steven L Baur <steve@altair.xemacs.org>
6840 * config.h.in: LOSING_BYTECODE will not be compiled into XEmacs.
6842 * doc.c (Fsnarf_documentation): Remove VMS dependent stuff for
6845 1997-06-28 Hrvoje Niksic <hniksic@srce.hr>
6847 * print.c (Ferror_message_string): Simplify.
6849 1997-06-27 Steven L Baur <steve@altair.xemacs.org>
6851 * symbols.c (Fdefine_function): Correct docstring.
6854 (Fsetq_default): Ditto.
6856 1997-06-27 Hrvoje Niksic <hniksic@srce.hr>
6858 * eval.c (skip_debugger): Removed comment and #ifdef-ed code.
6859 (signal_call_debugger): Call skip_debugger after wants_debugger.
6860 (signal_call_debugger): Gcpro cons sent to skip_debugger.
6862 1997-06-26 Steven L Baur <steve@altair.xemacs.org>
6864 * process.c (create_process): Default to fork instead of vfork.
6866 * callproc.c (Fcall_process_internal): Default to fork instead of
6869 * emacsfns.h: Add declarations of Ferror_message_string(),
6870 Frunning_temacs_p().
6872 * eval.c: Remove declarations of Ferror_message_string(),
6873 Frunning_temacs_p().
6875 * Makefile.in.in (${libsrc}DOC): Correct dependency for the docfile.
6876 (${mo_dir}emacs.po): Remove obsolete references to lisp source.
6878 1997-06-29 MORIOKA Tomohiko <morioka@jaist.ac.jp>
6880 * mule-charset.c: Modify charset DOC-strings to be more detailed.
6882 1997-06-25 Steven L Baur <steve@altair.xemacs.org>
6884 * alloc.c (Flist): Optimize.
6887 1997-06-23 Steven L Baur <steve@altair.xemacs.org>
6889 * lisp.h: Get uintptr_t stuffs because it is needed for including
6892 * sysdep.h: Removed uintptr_t stuffs.
6894 1997-06-22 Steven L Baur <steve@altair.xemacs.org>
6896 * fns.c (concat): Replace Fcar/Fcdr with XCAR/XCDR.
6898 (internal_equal): Ditto.
6899 (internal_old_equal): Ditto.
6901 (Freverse): Saner implementation.
6902 From Hrvoje Niksic <hniksic@srce.hr>
6904 * s/linux.h: getpgrp with glibc is now properly detected by
6906 Suggested by Andreas Jaeger <aj@arthur.rhein-neckar.de>
6908 1997-06-20 Steven L Baur <steve@altair.xemacs.org>
6910 * events.c: Remove declaration of Qempty.
6912 1997-06-20 Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr>
6914 * frame-x.c, EmacsFrame.c, menubar-x.c, redisplay-x.c, scrollbar-x.c:
6917 1997-06-19 Martin Buchholz <mrb@eng.sun.com>
6920 - Autodetect X defines using xmkmf.
6921 - Compute rpath on *bsd* systems as well.
6922 - rewrite PRINT_VAR m4 macro.
6923 - detect sizes of void* and long long for future use by unex*.c
6924 * regex.c: _GNU_SOURCE may be defined by config.h; don't redefine.
6926 1997-06-18 Martin Buchholz <mrb@eng.sun.com>
6934 * configure.in: Another rewrite.
6935 - support powerpcle (Solaris on ppc)
6936 - Now just have one s/sol2.h for all Solaris versions
6937 - Specifying colon-separated directories actually works now.
6938 - OS_RELEASE is a new define to avoid proliferation of s&m files.
6939 - extract more stuff from s&m files.
6940 - more debugging info
6941 - More changes to avoid the `echo -e' problem
6942 - Add more tests: fcntl.h AC_TYPE_*, AC_FUNC_GETPGRP
6943 - Back out -lPW test.
6944 - More paranoid xpm test
6945 - Put version information in version.sh instead of version.el
6946 - Make quoted pre-processor string tokens out of all macro values
6947 to be used only by configure.
6948 * xmu.c: DON'T use Xos.h
6949 * sysdep.c (wait_for_termination):
6954 1997-06-18 Steven L Baur <steve@altair.xemacs.org>
6956 * unexelfsgi.c: Some things that Needed To Be Done(tm) into
6958 - support for .sbss section (no more -G 0 needed, 0.00001% speed
6960 - support for Elf64 (64bits executables)
6961 From Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr>
6963 * fns.c (Fmapvector): New function converted from Lisp.
6964 From Hrvoje Niksic <hniksic@srce.hr>
6966 Wed Jun 18 16:42:10 1997 Steven L Baur <steve@altair.xemacs.org>
6968 * Makefile.in.in: Convert two missed C style comments.
6969 (LIBES): Remove LIBS_DEBUG which is no longer defined.
6970 (LIBES): lwlibs_libs was misspelled.
6972 1997-06-17 Hrvoje Niksic <hniksic@srce.hr>
6974 * eval.c (vars_of_eval): New variable Vdebug_ignored_errors.
6975 (skip_debugger): New function; use Vdebug_ignored_errors.
6976 (signal_call_debugger): Use it.
6978 1997-06-17 Steven L Baur <steve@altair.xemacs.org>
6980 * emacs.c (vars_of_emacs): Moved symbols emacs-version,
6981 emacs-major-version, and emacs-minor-version from version.el to
6984 * general.c (syms_of_general): New symbols and, not, and or.
6986 * emacsfns.h: New symbols Qand, Qnot, Qor.
6988 * Makefile.in.in: Call temacs to compute lisp libraries to
6989 include in the DOC file.
6991 1997-06-15 Steven L Baur <steve@altair.xemacs.org>
6993 * Makefile.in.in (lisp): Remove explicit mention of auto-autoloads.el.
6995 Sat Jun 14 21:55:27 1997 Kyle Jones <kyle_jones@wonderworks.com>
6997 * console.c (Fselect_console):
6998 Check DEVICE_SELECTED_FRAME of console's selected
6999 device for non-nil value before using it as a frame.
7001 1997-06-13 Steven L Baur <steve@altair.xemacs.org>
7003 * data.c (eq_with_ebola_notice): Remove horrible hack to avoid
7004 unavoidable Ebola notices in the bytecompiler.
7006 * emacsfns.h: Fextent_in_region_p: Move.
7008 * keymap.c Fextent_in_region_p: Move.
7010 Fri Jun 13 00:38:29 1997 Kyle Jones <kyle_jones@wonderworks.com>
7012 * console.c (Fsuspend_console):
7013 Disable input on ttys. Hide unhidden frames.
7015 * console.c (Fresume_console):
7016 Enable input on ttys. Raise the device selected frame.
7018 Fri Jun 13 00:25:46 1997 Kyle Jones <kyle_jones@wonderworks.com>
7020 * process.c (status_notify):
7021 Revert back to the code that does not use
7022 save_excursion_restore. Just bounds check opoint
7025 * process.c (read_process_output):
7026 Bounds check saved clip region and point values for
7027 validity before using them. Call Fwiden before calling
7028 Fnarrow_to_region to insure values will not be out of
7031 1997-06-12 Steven L Baur <steve@altair.xemacs.org>
7033 * alloc.c: Make the GC cursor appear on all frames.
7034 From Hrvoje Niksic <hniksic@srce.hr>
7036 1997-06-11 Steven L Baur <steve@altair.xemacs.org>
7038 * data.c (eq_with_ebola_notice): Add byte-optimize-logmumble and
7039 byte-compile-push-constant to list of ignored functions.
7041 1997-06-11 Hrvoje Niksic <hniksic@srce.hr>
7043 * bytecode.c (Bsave_current_buffer): Register.
7044 (Fbyte_code): Do action.
7046 * editfns.c (Fsave_current_buffer): New SUBR.
7048 1997-06-11 Steven L Baur <steve@altair.xemacs.org>
7050 * syntax.c (Fchar_syntax): Handle case of being passed nil.
7052 * data.c (eq_with_ebola_notice): Add more legitimate places in the
7053 bytecompiler that should not get Ebola notices.
7055 Tue Jun 10 00:34:40 1997 Kyle Jones <kyle_jones@wonderworks.com>
7057 * process.c (status_notify):
7058 Use record_unwind_protect and save_excursion_restore to
7059 handle the point and buffer restoration. Cleaner. Doesn't
7060 crash the editor if before/after-change-functions change
7061 things behind our back.
7063 1997-06-10 Steven L Baur <steve@altair.xemacs.org>
7065 * data.c (vars_of_data): Set Ebola warning backtrace limit to 16.
7066 (eq_with_ebola_notice): Bypass Ebola warnings for special
7067 bytecompiler functions where they are 100% spurioius.
7069 1997-06-11 MORIOKA Tomohiko <morioka@jaist.ac.jp>
7071 * Makefile.in.in: Use lisp/mule/language/misc-lang.el instead of
7072 lisp/mule/ipa-hooks.el.
7074 1997-06-10 MORIOKA Tomohiko <morioka@jaist.ac.jp>
7076 * Makefile.in.in: Use lisp/mule/language/thai.elc instead of
7077 lisp/mule/thai-hooks.elc.
7079 1997-06-09 MORIOKA Tomohiko <morioka@jaist.ac.jp>
7081 * Makefile.in.in: Use lisp/mule/language/chinese.el,
7082 lisp/mule/language/cyrillic.el, lisp/mule/language/european.el,
7083 lisp/mule/language/greek.el, lisp/mule/language/japanese.el and
7084 lisp/mule/language/korean.el instead of
7085 lisp/mule/chinese-hooks.el, lisp/mule/cyrillic-hooks.el,
7086 lisp/mule/european-hooks.el, lisp/mule/greek-hooks.el,
7087 lisp/mule/japanese-hooks.el and lisp/mule/korean-hooks.el.
7089 1997-06-09 Steven L Baur <steve@altair.xemacs.org>
7091 * keymap.c: Declare Fextent_in_region_p.
7093 * s/linux.h: Can't use ORDINARY_LINK in linux until usage of -lPW
7094 is determined more sensibly.
7096 1997-06-09 Hrvoje Niksic <hniksic@srce.hr>
7098 * keydefs.c (get_relevant_extent_keymaps): Choose correct keymap
7099 at extent boundaries.
7101 Mon Jun 9 19:35:19 1997 Kyle Jones <kyle_jones@wonderworks.com>
7103 * redisplay.c (pixel_to_glyph_translation):
7104 Fixed off by one error in computation of closest
7105 position when mouse is in the frame's right-side
7108 Sat Jun 7 22:07:41 1997 Kyle Jones <kyle_jones@wonderworks.com>
7110 * frame.c (delete_frame_internal):
7111 Calling Fselect_frame isn't sufficient to set the
7112 frame device's selected frame if the frame we're
7113 selecting is on a different device. Call
7114 set_device_selected_frame apprpriately in that case.
7115 Also don't set the frame device's selected frame to a
7116 frame that's on another device.
7118 1997-06-09 Steven L Baur <steve@altair.xemacs.org>
7120 * sysdep.c: MS Windows NT doesn't (yet) do child TTY processes.
7121 From David Hobley <davidh@wr.com.au>
7123 Sat Jun 7 22:00:54 1997 Kyle Jones <kyle_jones@wonderworks.com>
7125 * device-x.c (x_delete_device):
7126 Add an EQ check so that we don't set Vdefault_x_device
7127 back to the device we're deleting.
7129 1997-06-05 Steven L Baur <steve@altair.xemacs.org>
7131 * frame.c (Fmake_frame): Correct checking of first_frame_on_device.
7132 From Hrvoje Niksic <hniksic@srce.hr>
7134 1997-06-04 Steven L Baur <steve@altair.xemacs.org>
7136 * device.c (delete_deviceless_console): New function.
7137 (Fmake_device): Use it. Fix problem of creation of a frame on a
7138 tty where something fails during initialization.
7139 From Kyle Jones <kyle_jones@wonderworks.com>
7141 * specifier.c (Fboolean_specifier_p): Correct spelling in
7142 Docstring (synch from Infodock 3.5).
7144 * frame.c: Update docstring.
7146 1997-06-03 Hrvoje Niksic <hniksic@srce.hr>
7148 * sysdep.c (tty_init_sys_modes_on_device): Initialize it.
7150 * console.c (complex_vars_of_console): New variable
7153 * conslots.h (MARKED_SLOT): New slot.
7155 Mon Jun 2 02:49:44 1997 Kyle Jones <kyle_jones@wonderworks.com>
7157 * frame.c, frame-tty.c
7158 Treat tty frames like a cross between stacked window
7159 system frames and frames on virtual displays. All
7160 frames but the top frame are visible but hidden by
7161 default. next-frame and previous-frame now skip
7162 invisible tty frames by default. raise-frame and
7163 lower-frame now control whether a frame is hidden
7164 instead of whether it is visible. Frames are no
7165 longer automatically raised when they are selected.
7166 After a raise/lower operation selection of the new
7167 topmost frame is deferred until a selection magic
7170 Sat May 31 19:59:49 1997 Kyle Jones <kyle_jones@wonderworks.com>
7172 * frame-tty.c (tty_init_frame_3:
7173 Defer selection of the newly created frame until
7176 1997-06-02 Steven L Baur <steve@altair.xemacs.org>
7178 * search.c (REGEXP_CACHE_SIZE): Bump to 20.
7179 Suggested by Karl M. Hegbloom <karlheg@inetarena.com>
7181 1997-05-30 Steven L Baur <steve@altair.xemacs.org>
7183 * device-tty.c (tty_asynch_device_change):
7184 * gpmevent.c (connect_to_gpm): Makes it so it doesn't **ck up the
7185 mouse stuff on an XTerm, and resets the internal GPM variables for
7186 the width and height of the screen when we get a sigwinch.
7187 From William M. Perry <wmperry@aventail.com>
7189 1997-05-29 Steven L Baur <steve@altair.xemacs.org>
7191 * eval.c (Fprogn): Delete mocklisp support.
7195 (funcall_recording_as): Ditto.
7196 (funcall_lambda): Ditto.
7198 * elhash.c (verify_function): Delete mocklisp support.
7200 * doc.c (Fdocumentation): Delete mocklisp support.
7202 * data.c (wrong_type_argument): Delete mocklisp support.
7204 * config.h.in: Delete mocklisp support.
7206 * callint.c (Fcall_interactively): Delete mocklisp support.
7208 * emacs.c (main_1): Delete mocklisp initialization.
7210 * symsinit.h: Delete mocklisp.c decls.
7212 * Makefile.in.in: Delete mocklisp stuffs.
7214 Thu May 29 03:00:16 1997 Kyle Jones <kyle@crystal.wonderworks.com>
7216 * frame.c (change_frame_size_1):
7217 Drop code that returns immediately if the old frame
7218 size is equal to the new.
7219 Leave the minibuffer height the same if the frame has
7220 been initialized, and the minibuffer height is tall
7221 enough to display at least one line of text in the default
7222 font, and the old minibuffer height is a multiple of the
7223 default font height. This should cause the minibuffer
7224 height to be recomputed on font changes but not for
7225 other frame size changes, which seems reasonable.
7227 1997-05-26 Steven L Baur <steve@altair.xemacs.org>
7229 * event-stream.c (Frecent_keys): Take optional parameter to
7230 indicate how many keystrokes to return.
7231 (Frecent_keys_ring_size): New function returns the maximum number
7232 of events `recent-keys' can return.
7233 (Fset_recent_keys_ring_size): New function. Modifies the above.
7235 From Hrvoje Niksic <hniksic@srce.hr>
7237 * event-stream.c: New variable recent_keys_ring_size replacing a
7240 1997-05-23 Steven L Baur <steve@altair.xemacs.org>
7241 From Hrvoje Niksic <hniksic@srce.hr>
7243 * sysdep.c: Correction of subprocess support when compiling
7246 1997-05-21 Steven L Baur <steve@altair.xemacs.org>
7248 * editfns.c (format-time-string): Update DOCstring. Make time
7251 Wed May 21 11:58:17 1997 Kyle Jones <kyle@crystal.wonderworks.com>
7253 * insdel.c (signal_first_change):
7254 record the current buffer for the unwind instead of the
7255 buffer that's about to become the current buffer.
7257 Tue May 20 23:23:39 1997 Steven L Baur <steve@altair.xemacs.org>
7259 * frame.c: Correct spelling typo in docstring.
7261 Mon May 19 03:40:46 1997 Kyle Jones <kyle@crystal.WonderWorks.COM>
7263 * redisplay.c: (window_line_number)
7264 don't prefer buffer point value over window point
7265 value unless window, frame, device and console are
7268 * redisplay.c: (redisplay_window)
7269 don't prefer buffer point value over window point
7270 value unless window, frame, device and console are
7273 * redisplay.c: (create_text_block)
7274 don't prefer buffer point value over window point
7275 value unless window, frame, device and console are
7278 Sun May 18 13:03:50 1997 Steven L Baur <steve@altair.xemacs.org>
7280 * Makefile.in.in (distclean): remove xemacs-version.h.
7282 Sun May 11 13:38:46 1997 Kyle Jones <kyle@crystal.WonderWorks.COM>
7284 * frame.c (change_frame_size_1):
7285 return without doing anything if the frame has benn
7286 initialized and the new frame size is same as the
7289 Sat May 17 19:35:48 1997 Steven L Baur <steve@altair.xemacs.org>
7291 * device-tty.c (tty_asynch_device_change): Make
7292 `no-redraw-on-reenter' work. Patch from Hrvoje Niksic.
7294 Sat May 17 23:39:03 1997 Hrvoje Niksic <hniksic@srce.hr>
7296 * frame-tty.c: Support multiple frames.
7298 * redisplay.c (decode_mode_spec): New coding `%N'.
7300 Sun May 11 23:36:08 1997 Steven L Baur <steve@altair.xemacs.org>
7302 * buffer.c: Rename Vdelete_auto_save_files to coding standards.
7304 * frame.c: Rename Vallow_deletion_of_last_visible_frame to coding
7307 Thu May 8 19:10:03 1997 Steven L Baur <steve@altair.xemacs.org>
7309 * frame.c: Change internal type of
7310 `allow-deletion-of-last-visible-frame' to boolean.
7312 * buffer.c: Change internal type of `delete-auto-save-files' to
7315 Sat May 3 15:28:56 1997 Steven L Baur <steve@altair.xemacs.org>
7317 * redisplay.c: `column-number-start-at-one' is a user customizable
7320 * event-stream.c (vars_of_event_stream): `focus-follows-mouse' is
7321 a user customizable variable.
7323 * cmds.c (vars_of_cmds): `signal-error-on-buffer-boundary' is a
7324 user customizable variable.
7326 * lread.c (parse_integer): Fix incorrect upper bounds on loop.
7328 Thu May 1 18:59:20 1997 Steven L Baur <steve@altair.xemacs.org>
7330 * glyphs-x.c (Fmake_subwindow): Update error message.
7332 Wed Apr 30 18:07:18 1997 Steven L Baur <steve@altair.xemacs.org>
7334 * lread.c: New variable featurep.
7335 (read1): Add processing for #- and #+.
7336 (read_list_conser): Handle case where a feature test has removed a
7337 portion of the input stream.
7338 (vars_of_lread): New feature `xemacs'.
7340 * fns.c (Ffeaturep): Remove function when using #-, #+ feature
7343 * Makefile.in.in (lisp): Put features.elc in the dump list.
7345 Thu May 1 05:24:25 1997 Hrvoje Niksic <hniksic@srce.hr>
7347 * buffer.c (Fmake_indirect_buffer): Don't pretend it's there.
7349 Fri Apr 25 10:53:07 1997 Steven L Baur <steve@altair.xemacs.org>
7351 * glyphs-x.c: libpng already includes setjmp.h, so don't attempt
7352 to include it twice.
7354 Thu Apr 24 09:14:13 1997 Steven L Baur <steve@altair.xemacs.org>
7356 * balloon-x.c (vars_of_balloon_x): Don't override advertised and
7357 supported balloon-help.
7359 Tue Apr 22 11:54:02 1997 Steven L Baur <steve@altair.xemacs.org>
7361 * emacs.c (main_1): Add syms_of_balloon_x and guard with
7363 (main_1): Add vars_of_balloon_x and guard with HAVE_X_WINDOWS.
7365 * process.c (get_process): This function can be passed a BUFFER as
7368 Tue Apr 22 01:32:00 1997 Kyle Jones <kyle@crystal.WonderWorks.COM>
7370 * menubar-x.c (pre_activate_hook):
7371 set in_menu_callback around call to call to
7372 menu_item_descriptor_to_widget_value.
7374 * event-stream.c (Fnext_event):
7375 signal error if in_menu_callback non-nil to avoid
7376 reentering the menubar code and causing a crash later.
7378 * cmdloop.c (command_loop_3):
7379 signal error if in_menu_callback non-nil to avoid
7380 inflooping calling Fnext_event, which will signal an
7381 error if the situation is not caught earlier.
7383 Tue Apr 22 08:22:22 1997 Hrvoje Niksic <hniksic@srce.hr>
7385 * balloon-x.c, balloon_help.c, balloon_help.h: Modified to conform
7386 to XEmacs coding standards.
7388 Thu Apr 17 17:16:34 1997 Steven L Baur <steve@altair.xemacs.org>
7390 * balloon-x.c: New file from Douglas Keller.
7392 * balloon_help.c: New file from Douglas Keller.
7394 * balloon_help.h: New file from Douglas Keller.
7396 Sun Apr 13 09:56:54 1997 Steven L Baur <steve@altair.xemacs.org>
7398 * emacs.c (shut_down_emacs): Advertise using send-pr as the
7399 mechanism for submitting a bug report.
7401 * Makefile.in.in: Handle pathological case of mis-autodetected
7404 Sun Apr 13 11:33:34 1997 David Moore <dmoore@ucsd.edu>
7406 * regex.c (re_search_2): Prevent incorrect matching and infinite
7407 loop with \\` and MULE.
7409 Sat Apr 12 05:57:51 1997 Steven L Baur <steve@altair.xemacs.org>
7411 * Makefile.in.in (lisp): Dump cus-start.elc with XEmacs.
7413 * event-Xt.c (x_to_emacs_keysym): Allow for dead keys. (Patch
7414 from Joachim Schnitter).
7416 * Makefile.in.in: Allow native sound for BSD/I.
7418 * linuxplay.c: Rename global sndbuf to linuxplay_sndbuf.
7419 Make sndbuf, mix_fd, audio_vol, audio_fd, audio_dev non-static to
7420 avoid dump time lossage.
7421 (sndcnv8U_2mono): Rename global sndbuf to linuxplay_sndbuf.
7422 (sndcnv8S_2mono): Ditto.
7423 (sndcnv2monounsigned): Ditto.
7424 (sndcnv2unsigned): Ditto.
7425 (sndcnvULaw_2mono): Ditto.
7426 (sndcnv16_2monoLE): Ditto.
7427 (sndcnv16_2monoBE): Ditto.
7428 (sndcnv2byteLE): Ditto.
7429 (sndcnv2byteBE): Ditto.
7430 (sndcnv2monobyteLE): Ditto.
7431 (sndcnv2monobyteBE): Ditto.
7432 (linux_play_data_or_file): Ditto.
7433 (linux_play_data_or_file): Ditto.
7434 (linux_play_data_or_file): Ditto.
7436 Sat Apr 12 01:59:14 1997 Kyle Jones <kyle_jones@WonderWorks.COM>
7438 * glyphs-x.c, glyphs.c, glyphs.h: Added domain parameter to all
7439 image *_instantiate functions so that the domsin is available to
7440 specifier lookups in the various instantiator functions. Passed
7441 domain argument to extract_xpm_color_names for the
7442 Fspecifier_instance call.
7444 Fri Apr 11 20:02:40 1997 Steven L Baur <steve@altair.xemacs.org>
7446 * glyphs-x.c (extract_xpm_color_names): Add checking to handle
7447 case for when XEmacs is in initialization.
7449 * events.c (Fevent_type): Remove handling for dead_event.
7450 (Fevent_properties): Remove handling for dead_event.
7452 Thu Apr 10 20:41:53 1997 David Moore <dmoore@ucsd.edu>
7454 * ntproc.c (sys_spawnve): Clean up GC protection.
7456 * fileio.c (Ffile_executable_p): Clean up GC protection.
7458 Thu Apr 10 12:48:49 1997 Steven L Baur <steve@altair.xemacs.org>
7460 * glyphs.c: Undo duplicate declaration of display_table.
7462 * glyphs.h: Back out name change of autodetect to
7463 automatic_conversion.
7465 * glyphs.c: Back out name change of autodetect to
7466 automatic_conversion.
7468 * glyphs-x.c (image_instantiator_format_create_glyphs_x): Back out
7469 name change of autodetect to automatic_conversion.
7471 * events.c (Fevent_properties): Do something sensible for
7472 dead_event and empty_event.
7474 * general.c: Restore autodetect symbol.
7476 * emacsfns.h: Declare new symbol Qempty.
7478 * general.c: Add symbol to identify empty events.
7480 * events.c (Fevent_type): Don't abort() when presented with an
7481 empty_event or a dead_event.
7483 Mon Apr 7 18:12:26 1997 David Moore <dmoore@ucsd.edu>
7485 * xmu.c: Renamed local `initialized' variable to `hex_initialized'
7486 and don't assign to static, as some compilers crash.
7487 (initHexTable): Use it.
7488 (XmuReadBitmapData): Use it.
7490 Sun Apr 6 18:03:47 1997 David Moore <dmoore@ucsd.edu>
7492 * fileio.c (Fexpand_file_name): Clean up GC protection.
7494 * dired.c (Fdirectory_files): Clean up GC protection.
7496 * insdel.c (signal_after_change): Don't run after_change_functions
7497 on special Vprin1_to_string_buffer.
7498 (signal_before_change): Ditto for before_change_functions.
7500 Fri Apr 4 14:41:17 1997 David Moore <dmoore@ucsd.edu>
7502 * buffer.c (Fkill_buffer): Don't kill special
7503 Vprin1_to_string_buffer.
7505 Mon Apr 7 19:13:40 1997 Steven L Baur <steve@altair.xemacs.org>
7507 * Makefile.in.in (xemacs-version.h): Added to rename main_1 to
7508 something reflecting the XEmacs version in use (for lusers
7509 reporting crashes who forget to include the version number).
7511 * toolbar.c (specifier_vars_of_toolbar): Strip HAVE_NEXTSTEP.
7513 * sound.c: Strip HAVE_NEXTSTEP.
7515 * redisplay.c (init_redisplay): Strip HAVE_NEXTSTEP.
7517 * faces.c: Strip HAVE_NEXTSTEP.
7518 (update_EmacsFrame): Ditto.
7520 * events.c (event_equal): Strip HAVE_NEXTSTEP.
7521 (event_hash): Ditto.
7522 (format_event_object): Ditto.
7524 * event-stream.c (init_event_stream): Strip HAVE_NEXTSTEP.
7526 * emacs.c (main_1): Strip HAVE_NEXTSTEP.
7527 Attempt hack to change name of main_1 to something reflecting the
7528 current version for lusers who don't include version numbers with
7531 * device.c: Strip HAVE_NEXTSTEP.
7533 * console.c (Fconsole_type): Remove reference to unimplemented ns
7536 Sun Apr 6 08:08:33 1997 Steven L Baur <steve@altair.xemacs.org>
7538 * frame.h: Strip NeXTStep stuff.
7540 * device.h: Strip NeXTStep stuff.
7542 * console.h: More NeXTStep trimming.
7544 * console-x.h: Strip Epoch stuff.
7546 * symsinit.h (init_sunpro): Strip vms/Epoch stuff.
7548 * events.h (union magic_data): Strip NeXTStep stuff.
7550 * console.h: Strip NeXTStep stuff.
7552 * config.h.in: Strip unimplemented NeXTStep/Epoch stuff out.
7554 * Makefile.in.in: Remove unused NeXTStep support. It's all in the
7555 cvs attic if someone wishes to revive it.
7556 (epoch.o): Remove last vestiges of non-existent epoch support.
7558 Sat Apr 5 17:16:49 1997 Steven L Baur <steve@altair.xemacs.org>
7560 * fns.c: Correct DOC string to not equate integers and
7563 Thu Apr 3 08:01:50 1997 Steve Carney <carney@gvc.dec.com>
7565 * s/decosf4.0-static.h: New file.
7567 Tue Apr 1 12:22:32 1997 Steven L Baur <steve@altair.xemacs.org>
7569 * config.h.in: MAIL_USE_POP, KERBEROS, HESIOD -- new parameters to
7570 deal with upgraded movemail.c.
7572 Fri Mar 28 19:25:22 1997 Steven L Baur <steve@altair.xemacs.org>
7574 * inline.c: Restore this blasphemous file.
7576 * Makefile.in.in (inline.o): Restore the bletcherous
7579 Tue Mar 25 11:36:08 1997 David Moore <dmoore@ucsd.edu>
7581 * fileio.c (barf_or_query_if_file_exists): GC fixes.
7582 (Ffile_readable_p): ditto.
7583 (Ffile_writable_p): ditto.
7584 (Ffile_symlink_p): ditto.
7585 (Ffile_accessible_directory_p): ditto.
7587 * sound.c (Fplay_sound_file): Fix up gc problems with file
7590 * buffer.c (Fkill_buffer): Fix up buffer killing problems with
7593 * sysdep.c (sys_subshell): Fix up gc problems with file handlers.
7595 * callproc.c (Fcall_process_internal): Fix up gc problems with
7597 Tue Mar 25 17:16:14 1997 Steven L Baur <steve@altair.xemacs.org>
7599 * ralloc.c (MHASH): Make 64bit Alpha happier.
7601 Tue Mar 25 11:36:08 1997 David Moore <dmoore@ucsd.edu>
7603 * fileio.c (auto_save_expand_name_error): New function.
7604 (auto_save_expand_name): Ditto.
7605 (Fdo_auto_save): Protect against an error in Fexpand_file_name
7606 from kicking us inappropriately out of auto-save.
7608 Mon Mar 24 21:50:13 1997 Steven L Baur <steve@altair.xemacs.org>
7610 * s/linux.h (GETPGRP_NEEDS_ARG): Define if compiling with glibc
7611 2.1 (suggested by Andreas Jaeger).
7613 Mon Mar 24 12:40:56 1997 David Moore <dmoore@ucsd.edu>
7615 * profile.c: Fixed some comments about GC status of functions.
7617 * profile.c (inside_profiling): New variable to lock the
7619 (sigprof_handler): Check it.
7620 (Fget_profiling_info): Set it.
7621 (mark_profiling_info): Set it.
7622 (Fclear_profiling_info): Set it.
7624 * eval.c (PUSH_BACKTRACE): New macro.
7625 (POP_BACKTRACE): Ditto.
7627 * eval.c (Fcommand_execute): Use them and fix problem with
7628 backtrace_list build ordering requirements for profiling code.
7630 (funcall_recording_as): Ditto.
7632 Fri Mar 21 20:19:09 1997 Steven L Baur <steve@altair.xemacs.org>
7634 * Makefile.in.in: strip inline.o.
7636 Fri Mar 21 18:54:04 1997 David Moore <dmoore@ucsd.edu>
7638 * fileio.c (call2_check_string_or_nil): New function.
7639 (Ffile_name_directory): Use it.
7640 (Fsubstitute_in_file_name): Use it.
7642 * fileio.c (Fexpand_file_name): GC protect against file handlers.
7643 (Fdelete_file): ditto
7644 (Ffile_writable_p): ditto
7645 (Ffile_directory_p): ditto
7646 (Ffile_regular_p): ditto
7647 (Fset_file_modes): ditto
7648 (Ffile_newer_than_file_p): ditto
7649 (Fset_visited_file_modtime): ditto
7651 *fileio.c (Ffile_truename): Unnecessary GC protection.
7652 (Fdelete_directory): Fix broken caller-must-GC-protect call.
7654 * filelock.c (lock_file): New comments warning that this function
7655 may kill the current buffer.
7656 (unlock_file): ditto
7657 (Flock_buffer): ditto
7658 (Funlock_buffer): ditto
7659 (unlock_buffer): ditto
7661 * filelock.c (unlock_all_files): GC protect against unlock_file
7662 killing random buffers.
7664 * buffer.c (Fkill_buffer): GC protect against unlock_file killing
7667 * insdel.c (prepare_to_modify_buffer): GC protect against
7668 lock_file() killing the buffer.
7670 Fri Mar 21 19:11:15 1997 Steven L Baur <steve@altair.xemacs.org>
7672 * mule-coding.c (vars_of_mule_coding): Add
7673 enable-multibyte-characters for MULE compatibility.
7675 Thu Mar 20 13:25:26 1997 Steven L Baur <steve@altair.xemacs.org>
7677 * glyphs-x.c: Implement a dummy function to insert a fake EOI
7678 marker if called. Based on code from William Perry.
7680 Wed Mar 19 10:49:05 1997 Steven L Baur <steve@altair.xemacs.org>
7682 * menubar-x.c (pre_activate_callback): Attempt to avoid recursive
7683 expansion of submenus via :filter expansion.
7685 * glyphs-x.c (x_print_image_instance): Move define of
7686 HAVE_SUBWINDOWS to glyphs-x.h.
7687 (our_skip_input_data): Implement with some error checking based on
7688 patch by Dominic Froud.
7690 * glyphs-x.h (HAVE_SUBWINDOWS): Define to keep inline.c from
7693 Tue Mar 18 11:15:23 1997 Steven L Baur <steve@altair.xemacs.org>
7695 * glyphs-x.c: Strip unimplemented subwindows code.
7697 Mon Mar 17 15:40:12 1997 David Moore <dmoore@ucsd.edu>
7699 * glyphs-x.c (our_own_dgif_slurp_from_gif2x11_c): Only get the
7700 first image out of a multi-image or animated gif.
7702 Mon Mar 17 15:27:26 1997 Steven L Baur <steve@altair.xemacs.org>
7704 * Makefile.in.in (xemacs): Invert sense of test for successful
7705 completion of XEmacs dump.
7707 Sat Mar 15 14:21:39 1997 David Moore <dmoore@ucsd.edu>
7709 * fileio.c (Fdo_auto_save): Protect against file handlers which
7710 may kill the buffer being saved or otherwise modify Vbuffer_alist.
7712 Sat Mar 15 15:32:51 1997 Steven L Baur <steve@altair.xemacs.org>
7714 * Makefile.in.in (lisp): Add auto-customize.elc.
7716 Fri Mar 14 19:10:37 1997 David Moore <dmoore@ucsd.edu>
7718 * extents.c (extent_changed_for_redisplay): New parameter.
7719 (extent_changed_for_redisplay): Notify redisplay if invisible text
7721 (extent_maybe_changed_for_redisplay): New parameter.
7722 (extent_attach): Use it.
7723 (extent_detach): Use it.
7724 (Fset_extent_parent): Use it.
7725 (set_extent_invisible): Use visibility change parameter.
7726 (Fset_extent_face): Ditto.
7727 (Fset_extent_mouse_face): Ditto.
7728 (set_extent_glyph): Ditto.
7729 (do_highlight): Ditto.
7731 Thu Mar 13 10:40:37 1997 Steven L Baur <steve@altair.xemacs.org>
7733 * s/sunos4-1-4-shr.h: New file.
7735 * s/sunos4-1-4.h: New file.
7737 * s/sunos4-1.h (BROKEN_SIGIO): Define.
7739 Wed Mar 12 14:29:40 1997 Steven L Baur <steve@altair.xemacs.org>
7741 * emacs.c (fatal_error_signal): (mostly) useless check on
7742 /usr/proc/bin/pstack removed.
7744 * s/bsdos3.h: New file for BSDI 3.0.
7746 * editfns.c (Fchar_equal): Correct DOC string.
7747 (Fchar_Equal): (char=) CL Case sensitve comparison added.
7749 * data.c (Fcharacterp): Make DOC string less confrontational.
7751 Mon Mar 10 23:51:04 1997 Martin Buchholz <mrb@eng.sun.com>
7753 * input-method-motif.c (XIM_init_frame): Fix XIM crash on some
7754 versions of X11R6 XIM.
7756 Sun Mar 9 21:46:53 1997 Tomasz J. Cholewo <t.cholewo@ieee.org>
7758 * minibuf.c (regexp_ignore_completion_p): Reverse meaning of
7759 completion-regexp-list.
7761 Thu Mar 6 19:15:29 1997 Steven L Baur <steve@altair.xemacs.org>
7763 * data.c (eq_with_ebola_notice): Unobfuscate Ebola warning!!!
7766 Wed Mar 5 16:11:22 1997 Steven L Baur <steve@altair.xemacs.org>
7768 * process.c (get_internet_address): Put upper bounds on attempting
7769 to get system name (similar to nearly identical processing in
7772 Tue Mar 4 17:30:48 1997 Steven L Baur <steve@altair.xemacs.org>
7774 * puresize.h (PURESIZE): *Must* use angle brackets for
7775 puresize_adjust.h or build will lose with --srcdir.
7777 * alloc.c (report_pure_usage): Adjust error message printed when
7778 too low on PURESIZE.
7780 * Makefile.in.in: Move site-packages.
7781 Add vpath correction for puresize_adjust.h.
7783 Mon Mar 3 20:37:54 1997 Steven L Baur <steve@altair.xemacs.org>
7785 * Makefile.in.in (lisp): Remove custom-xmas.elc.
7787 Sat Mar 1 01:20:39 1997 Steven L Baur <steve@altair.xemacs.org>
7789 * doc.c (weird_doc): Don't print `duplicate' messages as they are
7790 almost always due to symbols that are both autoloaded and dumped.
7792 * data.c (syms_of_data): char-int and int-char -> char-to-int and
7795 Thu Feb 27 21:48:32 1997 Steven L Baur <steve@altair.xemacs.org>
7797 * Makefile.in.in (xemacs): Loop when dumping until SATISFIED.
7799 * lstream.c (signal_simple_internal_error): Remove the abort().
7801 * alloc.c (Fpurecopy): Make it work for byte compiled functions.
7802 (Fgarbage_collect): Disable garbage collection if we're dumping
7803 XEmacs and we've overflowed purespace.
7805 Thu Feb 27 14:14:53 1997 Darrell Kindred <dkindred@cmu.edu>
7807 * event-Xt.c (change_frame_visibility): New function.
7808 (handle_map_event): Use it.
7809 (emacs_Xt_handle_magic_event): Correction of handling of
7812 Thu Feb 27 14:12:57 1997 Steven L Baur <steve@altair.xemacs.org>
7814 * frame-x.c (x_frame_visible_p): Reverse previous change.
7816 Sun Mar 2 14:01:32 1997 David Moore <dmoore@ucsd.edu>
7818 * regex.c (re_search_2): Properly handle crossing the buffer gap
7819 when doing a backwards search under MULE.
7821 Wed Feb 26 10:24:40 1997 Steven L Baur <steve@altair.xemacs.org>
7823 * Makefile.in.in: make-docfile takes a "-i" parameter to pass
7824 site-loaded lisp files.
7826 * alloc.c (report_pure_usage): Adjust restart message.
7828 Tue Feb 25 10:58:12 1997 Steven L Baur <steve@altair.xemacs.org>
7830 * Makefile.in.in: Add PURESIZE.h to special treatment in vpath.
7832 * alloc.c (PURESIZE_h): New function.
7833 (report_pure_usage): Use it. If PURESIZE is not the right amount,
7834 use the correct value.
7836 * puresize.h: Use dynamic computation of PURESIZE.
7838 * PURESIZE.h: New file.
7840 * fns.c (Frandom): Fix docstring.
7842 Mon Feb 24 17:35:05 1997 Jonathan Edwards <edwards@intranet.com>
7844 * process.c (record_exited_processes): Fix obvious typo in
7845 checking for SIGCLD.
7847 Sun Feb 23 01:45:49 1997 Martin Buchholz <mrb@eng.sun.com>
7849 * scrollbar.c (update_scrollbar_instance): Fix for
7850 all-hail-xemacs scrollbar drag bug.
7852 * scrollbar.c (Fscrollbar_to_bottom): Now calls Frecenter(-3)
7853 as end-of-buffer does, instead of hostile Frecenter(0). Makes
7854 C-button-1 on down-arrow friendlier.
7856 Sun Feb 23 16:56:17 1997 David Hobley <david@spook-le0.cia.com.au>
7857 Initial MS Windows NT support.
7858 * unexnt.c: New file.
7860 * ntproc.c: New file.
7862 * ntheap.h: New file.
7864 * ntheap.c: New file.
7870 Sun Feb 23 15:56:58 1997 Steven L Baur <steve@altair.xemacs.org>
7872 * floatfns.c (_GNU_SOURCE): Define if compiling with glibc 2.
7874 * gmalloc.c: Guard __getpagesize definition against glibc 2.
7876 Sat Feb 22 17:12:47 1997 Steven L Baur <steve@altair.xemacs.org>
7878 * Makefile.in.in (lisp): Snarf docstrings from new file
7879 itimer-autosave.elc.
7881 Fri Feb 21 18:21:32 1997 Jan Vroonhof <vroonhof@math.ethz.ch>
7883 * event-Xt.c (emacs_Xt_handle_magic_event): Correction for frame
7886 Wed Feb 19 12:54:32 1997 Per Abrahamsen <abraham@dina.kvl.dk>
7888 * buffer.c (Fbuffer_disable_undo): Default to current buffer.
7890 Tue Feb 18 12:37:28 1997 Steven L Baur <steve@altair.xemacs.org>
7892 * Makefile.in.in (lisp): Dump new file custom-xmas.elc.
7894 Mon Feb 17 11:29:07 1997 Steven L Baur <steve@altair.xemacs.org>
7896 * print.c (Ferror_message_string): New function, ported from Emacs
7898 (print_error_message): Ditto.
7900 * extents.c (verify_extent_mapper): Experimental deletion of code
7901 to allow deletion of read-only extents.
7903 * symbols.c (hash_string): Replace algorithm with one given in
7904 Aho, Sethi & Ullman.
7906 Sun Feb 16 14:53:58 1997 Steven L Baur <steve@altair.xemacs.org>
7908 * keymap.c (lookup_keys): Wrong sense in test.
7910 * Makefile.in.in: Don't dump font.elc.
7912 Sat Feb 15 02:30:51 1997 Steven L Baur <steve@altair.xemacs.org>
7914 * cmds.c: Define new symbol signal-error-on-buffer-boundary.
7915 (Fforward_char): Use it.
7916 (Fbackward_char): Use it.
7918 * window.c (Fscroll_up): Use it.
7919 (Fscroll_down): Use it.
7921 * keymap.c (syms_of_keymap): define mouse-[123] and
7922 down-mouse-[123] pseudo-keysym aliases for Emacs compatibility.
7924 Thu Feb 13 21:28:35 1997 Steven L Baur <steve@altair.xemacs.org>
7926 * Makefile.in.in: Don't dump tm with XEmacs under any
7929 * puresize.h: Remove extra SunPro puresize for MULE+tm.
7931 Sun Feb 9 04:40:36 1997 Axel Seibert <aseibert@cybernet-ag.net>
7933 * emacs.c (main_1): Fix NeXT malloc initialization.
7935 Fri Feb 7 11:36:56 1997 Steven L Baur <steve@altair.xemacs.org>
7937 * mule-coding.c (Fdecode_coding_region): Make explicit call to
7938 `barf_if_buffer_read_only'.
7939 (Fencode_coding_region): Ditto.
7941 Thu Feb 6 22:39:39 1997 Steven L Baur <steve@altair.xemacs.org>
7943 * extents.c (syms_of_extents): Remove references to replicating
7946 * extents.h (struct extent): Remove references to replicating
7949 Thu Feb 6 01:11:43 1997 Jareth Hein <jhod@po.iijnet.or.jp>
7951 * mule-coding.c (ENCODE_SJIS): Correct typo.
7953 Thu Feb 6 01:10:22 1997 Steven L Baur <steve@altair.xemacs.org>
7955 * frame.c (delete_frame_internal): Protect against deletion of
7956 frames with living popup children.
7958 Wed Feb 5 17:13:17 1997 David Moore <dmoore@UCSD.EDU>
7960 * emacs.c (main_1): Try to avoid collisions against potentially
7961 incompatible system mallocs.
7963 Mon Feb 3 23:04:41 1997 Joel Peterson <tarzan@aosi.com>
7965 * redisplay.c: Activate face/charset redisplay caching.
7967 Mon Feb 3 22:01:09 1997 Kyle Jones <kyle_jones@wonderworks.com>
7969 * eval.c (do_debug_on_exit): Don't restore old value of
7970 debug_on_next_call improperly.
7972 Fri Jan 31 10:28:47 1997 David Byers <davby@ida.liu.se>
7974 * frame.c (frame_matches_frametype): Fix next-window when the next
7975 window is on another frame.
7977 Thu Jan 30 20:25:00 1997 Steven L Baur <steve@altair.xemacs.org>
7979 * syntax.c (scan_sexps_forward): Change test on targetdepth to
7982 Wed Jan 29 22:11:53 1997 James LewisMoss <dres@scsn.net>
7984 * gmalloc.c: Corrections for namespace collision with Linux libc
7987 Mon Jan 27 21:46:53 1997 Tomasz J. Cholewo <tjchol01@mecca.spd.louisville.edu>
7989 * fileio.c (Fwrite_region_internal): pack lockname to write-region
7992 Mon Jan 27 04:50:50 1997 David Moore <dmoore@UCSD.EDU>
7994 * gmalloc.c (malloc): Guard against incompatible system mallocs
7995 with conflicting symbols.
7997 Sun Jan 26 12:27:04 1997 Steven L Baur <steve@altair.xemacs.org>
7999 * redisplay.c (add_emchar_rune): Back out optimization change of
8000 caching last_charset.
8002 Sun Jan 26 09:10:45 1997 Hrvoje Niksic <hniksic@srce.hr>
8004 * s/decosf4-0.h: Digital Unix 4.0 has a realpath, but it's buggy.
8005 And I *do* mean buggy.
8007 Thu Jan 23 10:41:19 1997 Steven L. Baur <steve@altair.xemacs.org>
8009 * puresize.h: Increase SUNPRO usage to reflect tm & cc-mode.
8010 Decrease BASE_PURESIZE and increase MULE_PURESIZE_EXTRA.
8012 Wed Jan 22 21:09:52 1997 Steven L Baur <steve@altair.xemacs.org>
8013 * puresize.h (BASE_PURESIZE): Tighten up.
8015 * scrollbar.c (scrollbar-page-up): Add Athena3d to Lucid/Motif
8017 (scrollbar-page-down): Ditto.
8019 * scrollbar-x.c (x_create_scrollbar_instance): Add Athena3d to
8021 (x_update_vertical_scrollbar_callback): Ditto.
8022 (x_update_horizontal_scrollbar_callback): Add Athena3d to Lucid
8025 * scrollbar-x.h (struct x_scrollbar_data): Add start drag position
8028 * redisplay-output.c (redisplay_update_line): A vain attempt to
8029 get the Athena vertical thumb adjusted after drag.
8031 * EmacsFrame.c: Default to lower/right with Athena3d libraries.
8033 Wed Jan 22 18:38:52 1997 Ian Wells <I.Wells@tarragon-et.co.uk>
8035 * m/aviion.h: Remove definition of m88k.
8037 * s/dgux5-4r4.h: New file.
8039 Wed Jan 22 18:32:49 1997 Steven L Baur <steve@altair.xemacs.org>
8041 * buffer.h: Put proper typecasts on calls to alloca().
8043 Tue Jan 21 22:25:23 1997 Steven L. Baur <steve@altair.xemacs.org>
8045 * config.h.in: Add LWLIB_USES_ATHENA symbol
8047 * Makefile.in.in (TOOLKIT_LIBS): It is possible to have both
8048 Athena and Motif in the same link.
8050 Tue Jan 21 20:43:41 1997 Hrvoje Niksic <hniksic@srce.hr>
8052 * redisplay-tty.c (tty_ring_bell): Don't ring tty bell if the
8055 Tue Jan 21 20:38:58 1997 Axel Seibert <aseibert@cybernet-ag.net>
8057 * s/nextstep.h (signal_handler_t): define as int.
8059 Mon Jan 20 21:12:57 1997 Martin Buchholz <mrb@eng.sun.com>
8061 * event-Xt.c (emacs_Xt_handle_magic_event):
8062 (frame-totally-visible-p) sometimes incorrectly returned nil.
8064 Thu Jan 16 17:24:29 1997 Joel Peterson <tarzan@aosi.com>
8066 * menubar-x.c (pre_activate_callback): Correctly handle buffer
8067 local variables in :included clauses.
8068 (compute_menubar_data): Ditto.
8070 Wed Jan 15 21:44:53 1997 Joel Peterson <tarzan@aosi.com>
8072 * redisplay.c (add_emchar_rune): Enable last_charset display
8075 Wed Jan 15 19:06:27 1997 David Moore <dmoore@UCSD.EDU>
8077 * event-stream.c (Faccept_process_output): Avoid checking an
8078 uninitialized variable.
8080 Wed Jan 15 14:14:24 1997 Steven L Baur <steve@altair.xemacs.org>
8082 * regex.c: Modify values of re_max_failures and MAX_FAILURE_ITEMS
8083 to match Emacs 19.34.
8085 Mon Jan 13 00:36:01 1997 Martin Buchholz <mrb@eng.sun.com>
8087 * sysdep.c (sys_execvp): Fix when compiled with
8088 --const-is-losing=no. Old code could crash if argv contained
8089 non-ascii characters and the execvp failed and then caller
8090 examined argv (for error message, for example).
8092 Sun Jan 12 17:22:24 1997 Steven L Baur <steve@altair.xemacs.org>
8094 * Makefile.in.in: TM .elcs moved to SUNPRO_LISP only.
8096 Fri Jan 10 20:21:47 1997 Ben Wing <ben@666.com>
8098 * minibuf.c (Ftry_completion): Don't crash if not given a proper
8101 Fri Jan 10 09:49:44 1997 Ted Phelps <phelps@dstc.edu.au>
8103 * objects-x.c (x_initialize_font_instance): Hardcode 'n' for
8106 Mon Jan 6 15:16:46 1997 Carsten Leonhardt <leo@arioch.tng.oche.de>
8108 * Makefile.in.in: Linking with canna requires -lRKC.
8110 Mon Jan 6 12:22:57 1997 Frederic Poncin <fp@info.ucl.ac.be>
8112 * gmalloc.c: Don't declare __sbrk on SparcLinux.
8114 Sun Jan 5 18:04:47 1997 Soren Dayton <csdayton@cs.uchicago.edu>
8116 * Makefile.in.in: IRIX6 can use sgiplay.c too.
8118 Sat Jan 4 12:15:16 1997 Steven L Baur <steve@altair.xemacs.org>
8120 * toolbar.c (specifier_vars_of_toolbar): Clean up fallback
8121 specifiers so XEmacs can be built without tty support.
8123 * console-stream.c: Moved function bodies of
8124 semi_canonicalize_console_connection,
8125 canonicalize_console_connection,
8126 semi_canonicalize_device_connection, and
8127 canonicalize_device_connection into this file from console-tty.c.
8128 Moved variable Vstdio_str into this file.
8130 * console-tty.c: See above.
8132 Fri Jan 3 18:07:11 1997 Axel Seibert <aseibert@cybernet-ag.net>
8134 * m/next.h: Cleanup accumulated cruft.
8136 * s/nextstep.h: Remove useless #undef REL_ALLOC/HAVE_MMAP.
8138 * syssignal.h: Don't typedef SIGTYPE on NeXT.
8140 Fri Jan 3 12:06:44 1997 Michael Sperber <sperber@informatik.uni-tuebingen.de>
8142 * m/ibmrs6000.inp: Added various get.* symbols.
8144 Sun Dec 29 20:16:08 1996 Steven L Baur <steve@altair.xemacs.org>
8146 * m/next.h: Remove signal_handler_t #define.
8148 * s/nextstep.h: Remove signal_handler_t #define.
8150 Fri Dec 27 21:13:33 1996 Martin Buchholz <mrb@Eng.Sun.COM>
8152 * event-Xt.c (x_to_emacs_keysym): Corrections to SUNOS_GCC_LO_BUG.
8154 Mon Dec 23 11:37:16 1996 Martin Buchholz <mrb@Eng.Sun.COM>
8156 * fns.c (Ffillarray): Fix for (fillarray #*10 0)
8158 Mon Dec 23 10:27:14 1996 Steven L Baur <steve@altair.xemacs.org>
8160 * bitmaps.h: Change to unsigned char.
8162 * frame-x.c (x_cde_transfer_callback): Typecast fix.
8164 * keymap.c (define_key_check_and_coerce_keysym): Typecast fix.
8166 Fri Dec 20 19:21:56 1996 Steven L Baur <steve@altair.xemacs.org>
8168 * Makefile.in.in (lisp): Remove cc-mode as a dumped package.
8170 * keymap.c (define_key_check_and_coerce_keysym): Make obsolete
8171 binding of kp_.* not lose.
8173 * bitmaps.h: Add left & right arrows to show extended lines.
8175 Fri Dec 20 15:32:53 1996 David Moore <dmoore@UCSD.EDU>
8177 * event-stream.c (event_stream_wakeup_pending_p): New function.
8178 (Faccept_process_output): Fix timeout handling race conditions.
8179 (Fsleep_for): Ditto.
8182 Thu Dec 19 22:25:26 1996 Steve Carney <carney@gvc.dec.com>
8184 * cmds.c (Fbeginning_of_line): Adjust for 64 bit machines.
8186 Thu Dec 19 00:44:10 1996 Bart Robinson <lomew@cs.utah.edu>
8188 * syssignal.h: The declaration of SIGTYPE shouldn't be protected
8189 by HAVE_SIGPROCMASK.
8191 Wed Dec 18 20:40:21 1996 Martin Buchholz <mrb@eng.sun.com>
8193 * dgif_lib.c: Miscellaneous cleanup, including removing signed
8196 * mule-charset.h: Change charset names.
8198 * mule-coding.c (struct iso2022_decoder): Uniform unsigned bitfields.
8199 Change charset names.
8201 * mule-charset.c: Change charset names.
8203 * mule-canna.c: Change charset names.
8205 * EmacsShell-sub.c: Ansify and reformat.
8207 * console-tty.h (struct tty_console): Uniform unsigned bitfields.
8209 * glyphs-x.c: Ansify.
8211 * specifier.c: Use lisp_fn_t.
8213 * EmacsShell.c: Ansify.
8215 * vm-limit.c: Ansify.
8217 * emacsfns.h: Use lisp_fn_t.
8219 * lstream.c (struct filedesc_stream): Unsigned int bitfields.
8221 * xselect.c (hack_motif_clipboard_selection): Change charset name.
8222 (Fx_store_cutbuffer_internal): Change charset name.
8224 * ralloc.c: Ansify and clean up.
8226 * frame.h (struct frame): Uniform unsigned bit fields.
8228 * event-Xt.c: Documentation change.
8230 * lisp.h: Introduce lisp_fn_t.
8231 Remove SunPro C compiler warning message workaround.
8235 * doprnt.c (struct printf_spec): Use unsigned bitfields.
8237 * fileio.c: various code formatting changes.
8239 * eval.c: reorganize primitive funcalls.
8241 * config.h.in (NeedFunctionPrototypes): Force slightly better type
8242 checking in X header files.
8244 * Makefile.in.in: #undef i386, move mime-setup.elc?.
8246 * s/sunos4-0-shr.h: Documentation change.
8248 * s/sol2.h (__EXTENSIONS__): Add.
8249 Include <setjmp.h> under certain conditions.
8251 Mon Dec 16 19:13:10 1996 Steven L Baur <steve@altair.xemacs.org>
8253 * lstream.c (Lstream_pseudo_close): Return status on error.
8254 (Lstream_close): Ditto. (Fixes disk full-no error on write bug).
8256 Sat Dec 14 16:54:52 1996 Steven L Baur <steve@altair.xemacs.org>
8258 * glyphs-x.c (jpeg_instantiate): Use file I/O for JPEG loading
8259 because the in-core code is broken.
8261 Fri Dec 13 16:43:45 1996 Steven L Baur <steve@altair.xemacs.org>
8263 * device-x.c (x_init_device): Don't make nonexistent X server the
8264 default when running on a tty.
8266 * event-Xt.c (x_to_emacs_keysym): Rename kp_.* keysyms to be kp-\1.
8268 * redisplay-tty.c (keys): Rename kp_.* keynames to kp-\1.
8270 Fri Dec 13 14:48:42 1996 Michael Sperber <sperber@informatik.uni-tuebingen.de>
8272 * lread.c (Fload_internal): Change arity of call to
8275 * fileio.c (Finsert_file_contents_internal): Ditto.
8277 Thu Dec 12 16:55:34 1996 Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
8279 * cmds.c (Fpoint_at_eol, Fpoint_at_bol): New functions.
8280 (Fend_of_line, Fbeginning_of_line): Use them.
8282 Tue Dec 10 11:17:32 1996 Shane Holder <holder@mordor.rsn.hp.com>
8284 * s/hpux9shxr4.h: hpux9shr.h -> hpux9-shr.h
8286 * s/hpux10.h: hpux9shr.h -> hpux9-shr.h
8288 Sat Dec 7 18:29:34 1996 Steven L Baur <steve@altair.xemacs.org>
8290 * puresize.h (BASE_PURESIZE): Bumped up PURESIZE by 10k.
8292 Sat Dec 7 16:26:34 1996 Martin Buchholz <mrb@Eng.Sun.COM>
8294 * config.h.in: configure for POSIX getcwd if available.
8296 Sat Dec 7 15:48:39 1996 Steven L Baur <steve@altair.xemacs.org>
8298 * s/sunos4-1-shr.h: Renamed from sunos4-1shr.h.
8300 * s/sunos4-1-3-shr.h: Renamed from sunos4-1-3shr.h.
8302 * s/sunos4-1-2-shr.h: Renamed from sunos4-1-2-shr.h.
8304 * s/sunos4-0-shr.h: Renamed from sunos4-0shr.h.
8306 * s/hpux9-shr.h: Renamed from hpux9shr.h.
8308 * s/hpux8-shr.h: Renamed from hpux8shr.h.
8310 * s/hpux10-shr.h: Renamed from hpux10shr.h.
8312 Wed Dec 4 23:38:03 1996 Steven L Baur <steve@altair.xemacs.org>
8314 * redisplay.c: Allow column numbers in modeline to start from 1.