1. 21 Oct, 2014 1 commit
  2. 20 Oct, 2014 3 commits
  3. 19 Oct, 2014 4 commits
  4. 18 Oct, 2014 8 commits
    • Paul Eggert's avatar
      * gtkutil.c: Remove no-longer-used code. · 4e946894
      Paul Eggert authored
      (xg_update_menubar): Remove unused local and unnecessary call to
      (XG_TOOL_BAR_PROXY_BUTTON, xg_tool_bar_proxy_callback)
      (xg_get_tool_bar_widgets, xg_tool_bar_proxy_help_callback)
      (TOOLBAR_TOP_WIDGET): Remove; no longer used.
    • Jan Djärv's avatar
    • Jan Djärv's avatar
      Handle deprecated Gtk+ stuff for version <= 3.10 · 3f4c6d52
      Jan Djärv authored
      * lisp/term/x-win.el (x-gtk-stock-map): Add icon names suggested as
      replacements to stock names before stock names in a list.
      Cdr may be a list, each name is tried in turn until one is found.
      * src/gtkutil.c (XG_TEXT_CANCEL, XG_TEXT_OPEN, XG_TEXT_OK): New defines
      to handle Gtk versions.
      (xg_get_file_with_chooser): Use them.
      (xg_have_tear_offs, tearoff_remove, tearoff_activate): Remove
      (create_menus): Remove teroff argument and code.
      Remove call to gtk_menu_set_title.
      (xg_update_menubar, xg_update_submenu): Remove tearoff code.  Adjust
      args to create_menus.
      (xg_tool_bar_menu_proxy, xg_tool_bar_detach_callback)
      (xg_tool_bar_attach_callback, TOOLBAR_TOP_WIDGET): Remove.
      (xg_pack_tool_bar): Replace TOOLBAR_TOP_WIDGET, remove detach code.
      (xg_make_tool_item): Remove detach code.
      (xg_update_tool_bar_sizes): Replace TOOLBAR_TOP_WIDGET.
      (find_icon_from_name): New function.
      (update_frame_tool_bar): Remove GtkStockItem code, move to
      find_icon_from_name.  Let stock be a list of icon names to try.
      Only use gtk_image_new_from_stock on Gtk+ < 3.10.
      (free_frame_tool_bar, xg_change_toolbar_position ): Replace
      (xg_initialize): Remove tearoff code.
      * src/gtkutil.h (xg_have_tear_offs): Remove declaration.
      * src/xmenu.c (set_frame_menubar): Remove GTK block that calls
      * src/xterm.h (handlebox_widget): Remove.
    • Eli Zaretskii's avatar
      A better fix for drawing hollow cursor on X on 1-pixel thin space characters. · a4c80e35
      Eli Zaretskii authored
       src/xterm.c (x_draw_bar_cursor, x_draw_hollow_cursor): Subtract 1
       pixel from the window's cursor glyph width, since X renders hollow
       blocks 1 pixel wider than the 'width' parameter.
       src/xdisp.c (get_phys_cursor_geometry): Don't subtract 1 pixel from
       glyph->pixel_width; this is now done in xterm.c.
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Ensure 8-byte stack alignment in w32select's callback. · 4b6d6e69
      Eli Zaretskii authored
       src/w32select.c (owner_callback): Mark with ALIGN_STACK attribute.
  5. 17 Oct, 2014 1 commit
  6. 16 Oct, 2014 4 commits
  7. 15 Oct, 2014 7 commits
  8. 14 Oct, 2014 4 commits
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
    • Dmitry Antipov's avatar
      Cleanup terminal handling code. · bb75cdf9
      Dmitry Antipov authored
      * dispextern.h (get_named_tty): Remove prototype but...
      * termhooks.h (get_named_terminal): ...resurrect it under
      more meaningful name.
      (get_terminal): Likewise, but with...
      (decode_live_terminal): ...this name.
      (decode_tty_terminal): Add prototype.
      * term.c (get_tty_terminal): Remove.
      (get_named_tty): Remove.
      (Ftty_display_color_p, Ftty_display_color_cells, Ftty_type)
      (Fcontrolling_tty_p, Fsuspend_tty, Fresume_tty):
      Use decode_tty_terminal.
      (Ftty_no_underline, Ftty_top_frame): Use decode_live_terminal.
      * terminal.c (get_terminal): Refactor to...
      (decode_terminal, decode_live_terminal): ...new functions.
      (decode_tty_terminal): Replacement for get_tty_terminal.
      (get_named_terminal): Likewise for get_named_tty.
      * coding.c (Fset_terminal_coding_system_internal)
      (Fterminal_coding_system, Fset_keyboard_coding_system_internal):
      * composite.c (Fcomposition_get_gstring):
      * dispnew.c (Fsend_string_to_terminal):
      * frame.c (Fmake_terminal_frame):
      * nsfns.m (check_ns_display_info):
      * w32fns.c, xfns.c (check_x_display_info):
      * xselect.c (frame_for_x_selection): Use decode_live_terminal.
      * keyboard.c (handle_interrupt_signal, handle_interrupt)
      (Fset_quit_char): Use get_named_terminal.
      (Fset_output_flow_control, Fset_input_meta_mode):
      Use decode_tty_terminal.
    • Eli Zaretskii's avatar
  9. 13 Oct, 2014 2 commits
  10. 12 Oct, 2014 6 commits