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.