1. 23 Apr, 2010 2 commits
  2. 22 Apr, 2010 11 commits
  3. 21 Apr, 2010 8 commits
  4. 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
      HAVE_XFT.
      (something_changedCB): store_font_changed_event is now
      store_config_changed_event
      (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
      dynamic-setting.
      
      * 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):
      New.
      
      * Makefile.in (SOME_MACHINE_LISP): font-setting.el renamed to
      dynamic-setting.el.
      
      * 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.
      f904c0f9
  5. 21 Apr, 2010 17 commits
    • Jan Djärv's avatar
      Declarations before code (Bug#5993). · c632dfda
      Jan Djärv authored
      * data.c (make_blv): Declarations before code (Bug#5993).
      
      * xlwmenu.c (expose_cb):
      * lwlib-Xaw.c (fill_xft_data): Declarations before code (Bug#5993).
      c632dfda
    • Leo Liu's avatar
      Added C-o keybinding to toggle use of virtual buffers · c5cbeb12
      Leo Liu authored
      * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
      toggles the use of virtual buffers.
      (ido-buffer-internal): Guard `ido-use-virtual-buffers' global
      value.  
      (ido-toggle-virtual-buffers): New function.
      c5cbeb12
    • Dan Nicolaescu's avatar
      Remove NOMULTIPLEJOBS. · b6c73ee2
      Dan Nicolaescu authored
      b6c73ee2
    • Glenn Morris's avatar
      0dce7acd
    • Glenn Morris's avatar
      Remove some more cpp in favor of autoconf. · 10efe302
      Glenn Morris authored
      * configure.in (LIBSELINUX_LIBS): Always substitute in Makefiles.
      (GTK_OBJ, DBUS_OBJ, LIBXSM, XMENU_OBJ, XOBJ): New output variables.
      
      * src/Makefile.in (DBUS_OBJ, GTK_OBJ, XMENU_OBJ, XOBJ):
      Define using autoconf, not cpp.
      (LIBXSM): New variable, set by autoconf.
      (LIBXT): Use $LIBXSM.
      10efe302
    • Dan Nicolaescu's avatar
      Remove NOMULTIPLEJOBS, unused. · 3ec759e7
      Dan Nicolaescu authored
      * s/template.h (NOMULTIPLEJOBS):
      * s/msdos.h (NOMULTIPLEJOBS): Remove, unused.
      3ec759e7
    • Dan Nicolaescu's avatar
      Simplify LD_SWITCH_SYSTEM_TEMACS usage. · 4285ac5a
      Dan Nicolaescu authored
      * s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS):
      * s/gnu-linux.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure
      detects -znocombreloc and passes it to the linker
      * s/hpux10-20.h (LD_SWITCH_SYSTEM_TEMACS): Remove, empty.
      4285ac5a
    • Juanma Barranquero's avatar
      tetris.el: Use `define-derived-mode'; fix window selection; doc fixes. · fcc93746
      Juanma Barranquero authored
      * play/tetris.el (tetris, tetris-update-speed-function)
        (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
        (tetris-move-left, tetris-move-right, tetris-rotate-prev)
        (tetris-rotate-next, tetris-end-game, tetris-start-game)
        (tetris-pause-game): Fix typos in docstrings.
        (tetris-mode-map, tetris-null-map): Move initialization into declaration.
        (tetris-mode): Define with `define-derived-mode';
        set show-trailing-whitespace to nil.
        (tetris): Prefer window already displaying the "*Tetris*" buffer.
      fcc93746
    • Glenn Morris's avatar
      Regenerate configure. · 3dad0889
      Glenn Morris authored
      3dad0889
    • Glenn Morris's avatar
      Remove LIBSELINUX_LIBS need for cpp in Makefiles. · 2807228d
      Glenn Morris authored
      * configure.in (LIBSELINUX_LIBS): Always substitute in Makefiles.
      * src/Makefile.in (LIBSELINUX_LIBS): Remove containing #ifdef.
      2807228d
    • Glenn Morris's avatar
      Regenerate configure, src/config.in. · 022c122a
      Glenn Morris authored
      022c122a
    • Glenn Morris's avatar
      Doc updates for SELinux support. · b7d65a5f
      Glenn Morris authored
      * ack.texi, emacs.texi (Acknowledgments): Add SELinux support.
      
      * etc/NEWS: Mention SELinux support.
      b7d65a5f
    • Karel Klíc's avatar
      Add SELinux support. · 574c05e2
      Karel Klíc authored
      * configure.in: New option: --with(out)-selinux, on by default.
      Set HAVE_LIBSELINUX if we find libselinux, and substitute
      LIBSELINUX_LIBS in Makefiles.
      
      * src/Makefile.in (LIBSELINUX_LIBS): New.
      (LIBES): Add $LIBSELINUX_LIBS.
      * src/eval.c, lisp.h (call7): New function.
      * src/fileio.c [HAVE_LIBSELINUX]: Include selinux headers.
      (Ffile_selinux_context, Fset_file_selinux_context):
      New functions.
      (Fcopy_file): New parameter preserve-selinux-context.
      (Frename_file): Preserve selinux context when renaming by copy-file.
      
      * lisp/files.el (backup-buffer): Handle SELinux context, and return it
      if a backup was made by renaming.
      (backup-buffer-copy): Set SELinux context to the target file.
      (basic-save-buffer): Set SELinux context of the newly written file.
      (basic-save-buffer-1): Now it also returns any SELinux context.
      (basic-save-buffer-2): Set SELinux context of the newly created file,
      and return it.
      * lisp/net/tramp.el (tramp-file-name-for-operation):
      Add file-selinux-context.
      574c05e2
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      Make the log-edit comments use RFC822 format throughout. · e97a42c1
      Stefan Monnier authored
      * vc.el (vc-checkin, vc-modify-change-comment):
      Adjust to new vc-start/finish-logentry.
      (vc-find-conflicted-file): New command.
      (vc-transfer-file): Adjust to new vc-checkin.
      (vc-next-action): Improve scoping.
      
      * vc-hg.el (vc-hg-log-edit-mode): Remove.
      (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
      
      * vc-git.el (vc-git-log-edit-mode): Remove.
      (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
      (vc-git-commits-coding-system): Rename from git-commits-coding-system.
      
      * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
      (vc-start-logentry): Remove argument `extra'.
      (vc-finish-logentry): Remove extra args.
      
      * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
      (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
      (vc-bzr-conflicted-files): New function.
      
      * log-edit.el (log-edit-extra-flags)
      (log-edit-before-checkin-process): Remove.
      (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
      (log-edit-headers-alist): New var.
      (log-edit-header-contents-regexp): New const.
      (log-edit-match-to-eoh): New function.
      (log-edit-font-lock-keywords): Use them.
      (log-edit): Insert a "Summary:" header as default.
      (log-edit-mode): Mark font-lock rules as case-insensitive.
      (log-edit-done): Cleanup headers.
      (log-view-process-buffer): Remove.
      (log-edit-extract-headers): New function to replace it.
      e97a42c1
    • Juanma Barranquero's avatar
      Fix typos and spacing. · 50426a04
      Juanma Barranquero authored
      50426a04
    • Juanma Barranquero's avatar
      Don't depend on cm.c or termcap.c on Windows, use stubs. · 91eac4bb
      Juanma Barranquero authored
      * makefile.w32-in (OBJ1): Remove cm.$(O) and termcap.$(O).
        ($(BLD)/cm.$(O), $(BLD)/termcap.$(O)): Remove.
      * w32console.c (current_tty, cost): New vars; lifted from cm.c.
        (evalcost, cmputc, cmcheckmagic, cmcostinit, cmgoto, Wcm_clear)
        (sys_tputs, sys_tgetstr): New stubs.
      * s/ms-w32.h (chcheckmagic, cmcostinit, cmgoto, cmputc, Wcm_clear)
        (tputs, tgetstr): New; define to sys_*.
      91eac4bb
  6. 20 Apr, 2010 1 commit