1. 25 Apr, 2010 3 commits
    • Dan Nicolaescu's avatar
      Remove all NO_ARG_ARRAY uses. · 39e2ad1b
      Dan Nicolaescu authored
      * fns.c (concat2, concat3, nconc2):
      * eval.c (apply1, call1, call2, call3, call4, call5, call6)
      (call7): Remove NO_ARG_ARRAY usage, assume it's always true.
      * m/xtensa.h (NO_ARG_ARRAY):
      * m/template.h (NO_ARG_ARRAY):
      * m/sparc.h (NO_ARG_ARRAY):
      * m/sh3.h (NO_ARG_ARRAY):
      * m/mips.h (NO_ARG_ARRAY):
      * m/macppc.h (NO_ARG_ARRAY):
      * m/iris4d.h (NO_ARG_ARRAY):
      * m/intel386.h (NO_ARG_ARRAY):
      * m/ibms390x.h (NO_ARG_ARRAY):
      * m/ibms390.h (NO_ARG_ARRAY):
      * m/ibmrs6000.h (NO_ARG_ARRAY):
      * m/ia64.h (NO_ARG_ARRAY):
      * m/hp800.h (NO_ARG_ARRAY):
      * m/arm.h (NO_ARG_ARRAY):
      * m/amdx86-64.h (NO_ARG_ARRAY):
      * m/alpha.h (NO_ARG_ARRAY): Remove definition.
    • Eli Zaretskii's avatar
      Move code that bidi-iterates out of display property to a separate function. · f538fcec
      Eli Zaretskii authored
       xdisp.c (iterate_out_of_display_property): New function, body from pop_it.
       (pop_it): Use it.
    • Eli Zaretskii's avatar
      Fix crash with bidi display on the last empty line (bug#6030). · adf4f59c
      Eli Zaretskii authored
       xdisp.c (display_line): Don't assume 2nd call to
       get_next_display_element cannot return zero.
  2. 24 Apr, 2010 10 commits
  3. 23 Apr, 2010 15 commits
  4. 22 Apr, 2010 1 commit
    • Jan Djärv's avatar
      Fix Bug#6001. · a0d0b563
      Jan Djärv authored
      * xsettings.c (read_and_apply_settings): Check if current_font is
        NULL before strcmp (Bug#6001).
  5. 21 Apr, 2010 3 commits
    • Dan Nicolaescu's avatar
      Clean up HP-UX files. · 56bae7c7
      Dan Nicolaescu authored
      (LDAV_SYMBOL, index, rindex): Move definitions only used in HP-UX ...
      * s/hpux10-20.h: ... to the only user, here.
    • Jan Djärv's avatar
      * xsettings.c: Move misplaced HAVE_GCONF · 31a01b90
      Jan Djärv authored
    • Eli Zaretskii's avatar
      Fix bug #5992. · 372b7a95
      Eli Zaretskii authored
       bidi.c (bidi_find_paragraph_start, bidi_at_paragraph_end): Don't
       use buffer-local values of paragraph-start and paragraph-separate.
       <paragraph_start_re, paragraph_separate_re>: Rename from
       fallback_paragraph_start_re and fallback_paragraph_separate_re.
  6. 20 Apr, 2010 1 commit
    • Jan Djärv's avatar
      Gtk tool bars can be text, icons with text or just icons. · f904c0f9
      Jan Djärv authored
      * xsettings.c: Qmonospace_font_name, Qtool_bar_style and
      current_tool_bar_style are new.
      (store_config_changed_event): Rename from store_font_changed_event.
      (XSETTINGS_TOOL_BAR_STYLE): New define.
      (SEEN_FONT, SEEN_TB_STYLE): New enum values.
      (struct xsettings): Add font and tb_style, set xft stuff inside #ifdef
      (something_changedCB): store_font_changed_event is now
      (parse_settings): Rename from parse_xft_settings.  Read
      non-xft xsettings outside #ifdef HAVE_XFT.
      (read_settings): Renamed from read_xft_settings.
      (apply_xft_settings): Take current settings as parameter.  Do not
      call read_(xft)_settings.
      (read_and_apply_settings): New function.
      (xft_settings_event): Do non-xft stuff out of HAVE_XFT.  Call
      read_and_apply_settings if there are settings to be read.
      (init_xsettings): Renamed from init_xfd_settings.
      Call read_and_apply_settings unconditionally.
      (xsettings_initialize): Call init_xsettings.
      (Ftool_bar_get_system_style): New function.
      (syms_of_xsettings): Define Qmonospace_font_name and
      Qtool_bar_style.  Initialize current_tool_bar_style to nil.
      defsubr Stool_bar_get_system_style. Fprovide on
      * xsettings.h (Ftool_bar_get_system_style): Declare.
      * xdisp.c: Vtool_bar_style, tool_bar_max_label_size,
      Qtext, Qboth, Qboth_horiz are new.
      (syms_of_xdisp): Intern Qtext, Qboth, Qboth_horiz, DEFVAR
      Vtool_bar_style, tool_bar_max_label_size.
      * lisp.h: Extern declare Qtext, Qboth, Qboth_horiz.
      * keyboard.c: QClabel is new.
      (parse_tool_bar_item): Take out QClabel from tool bar items.
      Try to construct a label if ther is no QClabel.
      (syms_of_keyboard): Intern :label as QClabel.
      * dispextern.h (tool_bar_item_idx): TOOL_BAR_ITEM_LABEL is new.
      (Vtool_bar_style, tool_bar_max_label_size, DEFAULT_TOOL_BAR_LABEL_SIZE):
      * Makefile.in (SOME_MACHINE_LISP): font-setting.el renamed to
      * gtkutil.c (xg_tool_bar_menu_proxy): Handle label in tool bar item.
      (xg_make_tool_item, xg_show_toolbar_item): New function.
      (update_frame_tool_bar): Take label from TOOL_BAR_ITEM_LABEL.
      Call xg_make_tool_item to make a tool bar item.
      Call xg_show_toolbar_item.  Use wtoolbar instead of x->toolbar_widget.
      * xterm.c (x_draw_image_relief): Take Vtool_bar_button_margin
      into account for toolbars.
      * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
      * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
      * loadup.el: Load dynamic-setting.el if feature dynamic-setting
      is present.
      * info.el (info-tool-bar-map): Add labels.
      * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
      * cus-edit.el (custom-commands): Add labels for tool bar.
      (custom-buffer-create-internal, Custom-mode): Adjust for
      labels in custom-commands.
      * dynamic-setting.el: Renamed from font-setting.el.
  7. 21 Apr, 2010 7 commits