1. 21 Jul, 1999 15 commits
    • Gerd Moellmann's avatar
      Ditto. · 3427a3db
      Gerd Moellmann authored
      (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.
      3427a3db
    • Gerd Moellmann's avatar
      (x_load_resources): Set double-click time defaults · 4da4f201
      Gerd Moellmann authored
      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.
      4da4f201
    • Gerd Moellmann's avatar
      Display-related functions implemented from scratch. Add toolkit · 06a2c219
      Gerd Moellmann authored
      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.
      06a2c219
    • Gerd Moellmann's avatar
      (struct x_output): Add scroll bar pixel colors, busy_cursor, · a8cc2c53
      Gerd Moellmann authored
      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.
      a8cc2c53
    • Gerd Moellmann's avatar
      (enriched-translations): Add `display' and "x-display". · d9e28c1c
      Gerd Moellmann authored
      (enriched-handle-display-prop): New.
      (enriched-decode-display-prop): New.
      d9e28c1c
    • Gerd Moellmann's avatar
      (cl-make-hash-table): Renamed from make-hash-table. · 34c804a9
      Gerd Moellmann authored
      (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.
      34c804a9
    • Gerd Moellmann's avatar
    • Gerd Moellmann's avatar
      (defface): Extend documentation to include new · 9e5962d0
      Gerd Moellmann authored
      face attributes.
      (defface): Add new face attributes to function comment.
      9e5962d0
    • Gerd Moellmann's avatar
      (make-mode-line-mouse-sensitive): Add key · b1dcba7b
      Gerd Moellmann authored
      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.
      b1dcba7b
    • Gerd Moellmann's avatar
      Ditto. · da0b1f56
      Gerd Moellmann authored
      (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.
      da0b1f56
    • Gerd Moellmann's avatar
      (top-level): Give `display' property `format-list-atomic-p. · f3bbef87
      Gerd Moellmann authored
      (format-annotate-single-property-change): Test that property.
      If present, treat list property values like atoms.
      f3bbef87
    • Gerd Moellmann's avatar
      (after-setting-font-hooks): New; from Eric Banchrow · 81b99826
      Gerd Moellmann authored
      <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.
      81b99826
    • Gerd Moellmann's avatar
      (scroll-bar-timer): New. · cf4eb316
      Gerd Moellmann authored
      (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.
      cf4eb316
    • Gerd Moellmann's avatar
      (command-line-1): Activate tooltip mode if interactive. · e724900d
      Gerd Moellmann authored
      (command-line-1): Call make-mode-line-mouse-sensitive.
      (command-line): Register default tty colors.
      e724900d
    • Paul D. Smith's avatar
      * Add configure option to enable dmalloc library. · 55e3eb93
      Paul D. Smith authored
      * Various code cleanups.
      55e3eb93
  2. 20 Jul, 1999 15 commits
  3. 19 Jul, 1999 8 commits
  4. 18 Jul, 1999 2 commits