1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 01:41:01 -08:00
Commit graph

26840 commits

Author SHA1 Message Date
Gerd Moellmann
333b20bbc2 (x_real_positions): Don't subtract window borders
from positions returned.
(top-level): Added image support, busy cursor, tooltips, file
selection box.
(x_report_frame_params): Don't report `outer-window-id'
if widget not present.
(x_set_font): Don't call face-set-after-frame-default
if faces haven't been initialized.
(Fx_create_frame): Call face-set-after-frame-default after
faces have been initialized, and widget has been created.
(x_set_scroll_bar_foreground): New.
(x_set_scroll_bar_background): New.
(x_default_scroll_bar_color_parameter): New.
(Fx_create_frame): Call it.
(Fx_create_frame): Initialize scroll bar pixel color
values in x_output structure.
(Qscroll_bar_foreground, Qscroll_bar_background): New.
(syms_of_xfns): Initialize these symbols.
(x_frame_parms): Add entries for scroll bar colors.
(Fx_create_frame): Try 12pt Courier font first.
(Fx_create_frame): Add toolbar height to frame height.
(x_frame_parms): Add `toolbar-lines'.
(x_set_toolbar_lines): New.
(x_set_internal_border_width): Correct call to
widget_store_internal_border_width.
(x_destroy_bitmap): Use xfree instead of free.  Return
void.
(init_x_parm_symbols): Return void.
(x_report_frame_params): Ditto.
(x_set_border_pixel): Ditto.
(syms_of_xfns): Ditto.
(x_destroy_all_bitmaps): Use xfree instead of free.
(Fx_close_connection): Use xfree instead of free.
Only free fonts from filled font table entries.
(display_x_get_resource): Make it externally visible.
(x_set_font): First store real font name in frame
parameters, then call recompute_basic_faces.
(Fx_face_fixed_p): Removed.
(Fx_list_fonts): Moved to xfaces.c.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
3427a3db9f Ditto.
(xmenu_show) [LESSTIF_VERSION]: Add workaround for remaining
button grab under LessTif
(HAVE_BOXES): Define if USE_X_TOOLKIT.
(HAVE_BOXES): Define if using Lucid menus.
(single_submenu): Set button_type of menu to
BUTTON_TYPE_NONE.
(single_submenu): Likewise for panes and menu items.
(set_frame_menubar): Set button_type of menu bar to none.
(xmenu_show): Likewise.
(single_submenu): Set widget values selected slot.
(xmenu_show): Likewise.
(push_menu_item): Add parameters `type' and
`selected'. Store it in menu_items.
(MENU_ITEMS_ITEM_TYPE): New.
(MENU_ITEMS_ITEM_SELECTED): New.
(MENU_ITEMS_ITEM_LENGTH): Increase by two.
(popup_get_selection): Use xmalloc/xfree instead of
malloc/free.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
4da4f20133 (x_load_resources): Set double-click time defaults
for Motif list boxes from double-click-time.
(x_load_resources): Add default resoures for file
selection dialog.
(x_load_resources): Add grey background colors as
defaults for menus, scroll bars, and dialogs.
(x_load_resources): Add font defaults for menus and
dialogs.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
06a2c2193f Display-related functions implemented from scratch. Add toolkit
scroll bars, mouse-sensitive mode line, help-echo, busy-cursor.
(x_calc_absolute_position): Subtract menu bar height
for YNegative, if using X toolkit.
(XTread_socket) [USE_MOTIF] <KeyPress>: Catch events
in scroll bars.
(SET_SAVED_MENU_EVENT): Give it statement form.
(XTflash): Don't flash the toolbar window.
(XTread_socket): Workaround for LessTif popup menus
in case of ButtonPress events.
(XTread_socket): Set inhibit_busy_cursor.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
a8cc2c53ca (struct x_output): Add scroll bar pixel colors, busy_cursor,
busy_window.  Remove cursor, computed_faces etc.  Add
white_relief_pixel, black_relief_pixel, white_allocated_p,
black_allocated_p, relief_background.
(struct x_display_info): Add gray pixmap, scroll_bar_pixel,
Xatom_Scrollbar, DONE, PAGE, image cache, resx, rey, smallest_char_width,
smallest_font_height.
(scroll_bar): Add x_widget_low and x_widget_high.
(FRAME_X_IMAGE_CACHE): New.
(FRAME_SMALLEST_CHAR_WIDTH): New.
(FRAME_SMALLEST_FONT_HEIGHT): New.
(struct relief): New.
(VERTICAL_SCROLL_BAR_PIXEL_HEIGHT): Removed.
(text_cursor_kinds): New.
(FRAME_FLAGS_BITMAP_HEIGHT): New.
(FRAME_FLAGS_BITMAP_WIDTH): New.
(FRAME_X_FLAGS_AREA_COLS): New.
(FRAME_MODE_LINE_BORDER_WIDTH): Removed.
(FRAME_MODE_LINE_HEIGHT): Removed.
(CHAR_TO_PIXEL_WIDTH): Rrwritten.
(PIXEL_TO_CHAR_WIDTH): Ditto.
(WINDOW_COL_PIXEL_X etc.) Removed.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
d9e28c1ca1 (enriched-translations): Add `display' and "x-display".
(enriched-handle-display-prop): New.
(enriched-decode-display-prop): New.
1999-07-21 21:43:03 +00:00
Gerd Moellmann
34c804a914 (cl-make-hash-table): Renamed from make-hash-table.
(cl-hash-table-p): Renamed from hash-table-p.
(cl-hash-table-count): Renamed from hash-table-count.
(maphash): Alias to cl-maphash removed.
(gethash): Likewise.
(puthash): Likewise.
(remhash): Likewise.
(clrhash): Likewise.
1999-07-21 21:43:03 +00:00
Gerd Moellmann
2c5c9cb936 (easy-menu-do-add-item): Support for new seperator types. 1999-07-21 21:43:03 +00:00
Gerd Moellmann
9e5962d0e2 (defface): Extend documentation to include new
face attributes.
(defface): Add new face attributes to function comment.
1999-07-21 21:43:03 +00:00
Gerd Moellmann
b1dcba7b5e (make-mode-line-mouse-sensitive): Add key
definitions for `top-line'.
(mode-line-format): Replace `mode-name' with
`(:eval mode-line-mode-name)'.
(mode-line-mode-name): New.
(make-mode-line-mouse-sensitive): Don't change default value
of `mode-name'.
(make-mode-line-mouse-sensitive): Use down-mouse-3
instead of mouse-3 to pop up menus.
(make-mode-line-mouse-sensitive): Pop mouse buffer menu over
buffer name.
(mode-line-buffer-menu-1): Removed.
(mode-line-buffer-identification-keymap): New.
(mode-line-buffer-menu-keymap): New.
(mode-line-mode-menu-keymap): New.
(mode-line-unbury-buffer): New.
(mode-line-other-buffer): New.
(mode-line-buffer-menu-1): New.
(mode-line-mode-menu-1): New.
(make-mode-line-mouse-sensitive): New.
1999-07-21 21:43:03 +00:00
Gerd Moellmann
da0b1f5650 Ditto.
(custom-face-attributes): Add overline, strike-through, box.
(custom-face-attributes): Use `choice' everywhere so that "*"
can be entered.
(custom-face-attributes): Don't use `#''.
(custom-face-attributes): Accept color name.
(custom-facep): Always define as alias for facep.
(custom-face-attributes): Use choice widgets. Remove
:bold and :italic.
(custom-face-attributes): Add :bold and :italic
for compatibility with old code.
(custom-face-attributes): Use new face attributes.
(custom-declare-face): Don't make frame-local faces.
(global): Face relief added.
1999-07-21 21:43:03 +00:00
Gerd Moellmann
f3bbef8728 (top-level): Give display' property format-list-atomic-p.
(format-annotate-single-property-change): Test that property.
If present, treat list property values like atoms.
1999-07-21 21:43:03 +00:00
Gerd Moellmann
81b99826ff (after-setting-font-hooks): New; from Eric Banchrow
<offby1@blarg.net>.
(set-frame-font): Run the hooks.
(frame-initialize): Use tty-create-frame-with-faces.
(show-trailing-whitespace): New.
(blink-cursor-mode): Function to toggle blinking cursor
mode.  The cursor of selected_window blinks if the mode is enabled.
1999-07-21 21:43:03 +00:00
Gerd Moellmann
cf4eb316c1 (scroll-bar-timer): New.
(scroll-bar-toolkit-scroll): Start and cancel scroll-bar-timer.
(scroll-bar-toolkit-scroll): Handle `top' and `bottom'.
(scroll-bar-toolkit-scroll): New.
(global): Use different key bindings if using toolkit scroll bars.
1999-07-21 21:43:03 +00:00
Gerd Moellmann
e724900d94 (command-line-1): Activate tooltip mode if interactive.
(command-line-1): Call make-mode-line-mouse-sensitive.
(command-line): Register default tty colors.
1999-07-21 21:43:03 +00:00
Paul D. Smith
55e3eb9371 * Add configure option to enable dmalloc library.
* Various code cleanups.
1999-07-21 05:53:29 +00:00
Dave Love
35194e3f1a (widget-use-overlay-change): Uncustomize and make it unconditionally t. 1999-07-20 22:53:17 +00:00
Paul D. Smith
071b0719a0 * Fix memory leaks, fd leaks, and some long-standing bugs recognizing when
targets need to have their modtimes rechecked (-n, etc.)
1999-07-20 22:34:43 +00:00
Karl Heuer
9dc09247db (c++-font-lock-extra-types): Add "type_info". 1999-07-20 22:14:00 +00:00
Dave Love
ed8300d96d (syms_of_buffer): Make default-enable-multibyte-characters a user variable. 1999-07-20 16:42:19 +00:00
Dave Love
9675703521 (describe-variable): Fix test for customizability. 1999-07-20 16:38:23 +00:00
Dave Love
74399eac92 (append-to-buffer, prepend-to-buffer, copy-to-buffer): Check for
readonly buffer in interactive spec.
(zap-to-char, kill-line, kill-region, comment-region, kill-word)
(backward-kill-word): Add * to interactive spec.
1999-07-20 16:09:54 +00:00
Dave Love
369aeb97a9 (canonically-space-region, justify-current-line): Add * to interactive
spec.
(fill-region-as-paragraph, fill-paragraph, fill-region)
(fill-nonuniform-paragraphs, fill-individual-paragraphs): Check
readonly buffer in interactive spec.
1999-07-20 16:02:27 +00:00
Dave Love
4ea1d5dd95 (kill-paragraph, backward-kill-paragraph, kill-sentence)
(backward-kill-sentence): Add * to interactive spec.
1999-07-20 15:56:11 +00:00
Dave Love
8371c2f27d (underline-region, ununderline-region): Add * to interactive spec. 1999-07-20 15:53:45 +00:00
Karl Heuer
5d8b66ebef (c++-keywords): Add "typeid". 1999-07-20 04:39:17 +00:00
Karl Heuer
e7cfa73fc0 (comint-arguments): Handle \ followed by space or tab. 1999-07-20 04:17:05 +00:00
Karl Heuer
5f49d5e88d (shell-unquote-argument): New function.
(shell-directory-tracker): Use shell-unquote-argument.
1999-07-20 04:16:51 +00:00
Karl Heuer
9b80213097 (ansi-term-fg-faces-vector): Added support for ANSI
color codes 39 and 49, which by the way lynx uses them seem to
mean "foreground reset" and "background reset".
1999-07-20 01:46:01 +00:00
Karl Heuer
9e5453507c (dired-do-shell-command): Doc fix. 1999-07-20 01:24:47 +00:00
Karl Heuer
efaec94ebd (mouse-set-font): If user uses w32 dialog but
selects no font, treat that as zero selections, not one.
1999-07-20 00:49:54 +00:00
Dave Love
c47b5bbea9 (Info-search): Don't lose with empty regexp. 1999-07-19 22:21:44 +00:00
Dave Love
2f9e343bed Copyright update. 1999-07-19 22:17:17 +00:00
Dave Love
798330fe60 Initial revision 1999-07-19 22:03:26 +00:00
Dave Love
b98e5762e6 (mouse-major-mode-menu): Default to menu-bar-edit-menu
for modes which don't define menus.
1999-07-19 21:49:13 +00:00
Dave Love
fb8ba9078c Update for Autorevert, Follow. 1999-07-19 21:46:22 +00:00
Dave Love
fc7b9b52be Grok sparc64-*-linux-gnu*. 1999-07-19 15:30:06 +00:00
Tom Tromey
5bc0f801f1 (tcl-typeword-list): Added `variable'. 1999-07-19 00:36:55 +00:00
Tom Tromey
7a366a316f (tcl-keyword-list): Added method, body, configbody, class 1999-07-19 00:35:36 +00:00
Tom Tromey
2e4d8e503e (tcl-mode): Set font-lock-defaults, not font-lock-keywords. 1999-07-18 18:40:27 +00:00
Tom Tromey
4744889106 (tcl-proc-list): Reverted; already had `body'. 1999-07-18 05:21:33 +00:00
Tom Tromey
7d2be63757 (tcl-proc-list): Added `body'. 1999-07-18 05:19:57 +00:00
Karl Heuer
08f0f5e9cd *** empty log message *** 1999-07-17 02:23:12 +00:00
Richard M. Stallman
b6954afd99 *** empty log message *** 1999-07-17 02:15:13 +00:00
Karl Heuer
b92b7c8da4 (webjump-sample-sites): Update some URLs. 1999-07-17 00:49:00 +00:00
Richard M. Stallman
33bae69064 (lock_file): Do nothing if purifying. 1999-07-14 16:00:57 +00:00
Andreas Schwab
0846761ddf (compare-windows): Try to find the next window in
the current frame before looking at the other frames.
1999-07-14 08:16:49 +00:00
Richard M. Stallman
39d523864b (cyrillic-jcuken): Use X11 keyboard layout. 1999-07-13 19:08:57 +00:00
Richard M. Stallman
44446f59f7 ("Cyrillic-KOI8", "Cyrillic-ALT"): Use cyrillic-jcuken as default input method. 1999-07-13 19:03:04 +00:00
Karl Heuer
a7aa942a03 Comment fix. 1999-07-13 03:39:33 +00:00