1. 14 Apr, 2010 2 commits
  2. 13 Apr, 2010 2 commits
  3. 11 Apr, 2010 1 commit
    • Jan Djärv's avatar
      Use XFT in Lucid dialogs if available. · 1ecb2d3f
      Jan Djärv authored
      	* xmenu.c (apply_systemfont_to_dialog): New.
      	(create_and_show_dialog): Call apply_systemfont_to_dialog if HAVE_XFT.
      
      	* lwlib-Xaw.c (widget_xft_data): New for Xft data.
      	(fill_xft_data, openFont, get_text_width_and_height)
      	(draw_text, set_text, find_xft_data, command_press)
      	(command_reset): New functions.
      	(xaw_update_one_widget): Call set_text for dialog and buttons
      	if HAVE_XFT.  Also set internalHeight for buttons.
      	(xaw_destroy_instance): Free all Xft related data.
      	(button_actions, buttonTrans): New structures.
      	(make_dialog): Call XtAppAddActions for button_actions.
      	Find xft font to use and call fill_xft_data for widgets.
      	(xaw_create_dialog): Pass instance parameter to make_dialog.
      
      	* lwlib-int.h (_widget_instance): Add Xft data if HAVE_XFT.
      	Override translations for buttons.  If depth is 16 or more, tell
      	Xaw3d to not be nice to colormap.
      	Remove separator widget, use XtNhorizDistance on first right button
      	instead.
      
      	* xresources.texi (Lucid Resources): Mention faceName for dialogs.
      1ecb2d3f
  4. 09 Apr, 2010 1 commit
    • Dan Nicolaescu's avatar
      Add --author support to git commit. · 6aebd58c
      Dan Nicolaescu authored
      * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
      (vc-git-log-edit-mode): New minor mode.
      (log-edit-mode, log-edit-extra-flags, log-edit-mode): New
      declarations.
      6aebd58c
  5. 08 Apr, 2010 1 commit
    • Jan Djärv's avatar
      Lucid menus can now use Xft for fonts. · 99852628
      Jan Djärv authored
      * xsettings.c (current_font, SYSTEM_FONT, XSETTINGS_FONT_NAME): New.
      (parse_xft_settings): Also check for XSETTINGS_FONT_NAME and save that
      in current_font.
      (init_gconf): Read value of SYSTEM_FONT and save it in current_font.
      (Ffont_get_system_normal_font, xsettings_get_system_normal_font): New
      functions.
      (syms_of_xsettings): Initialize current_font. defsubr
      Sfont_get_system_normal_font.
      
      * xsettings.h (Ffont_get_system_normal_font,
      xsettings_get_system_normal_font): Declare.
      
      * xfns.c (extern xlwmenu_default_font): Remove.
      (Fx_create_frame): Remove setting of xlwmenu_default_font, moved
      to xlwmenu.c.
      
      * menu.c (digest_single_submenu): If USE_LUCID and HAVE_XFT, encode
      menu items in UTF-8.
      
      * xmenu.c: include xsettings.h and xlwmenu.h if USE_LUCID.
      (apply_systemfont_to_menu): New function.
      (set_frame_menubar, create_and_show_popup_menu): Call
      apply_systemfont_to_menu.
      
      * xlwmenu.c (xlwmenu_default_font): Make static.
      (xlwMenuResources): Add XtNfaceName and XtNdefaultFace.
      (string_width): Use XftTextExtentsUtf8 if HAVE_XFT.
      (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): Add versions for
      HAVE_XFT.
      (size_menu): Set max_rest_width in window_state structure.
      (display_menu_item): If HAVE_XFT and xft_draw is set, use
      XftDrawRect and XftDrawStringUtf8 to draw text.
      (make_windows_if_needed): Set max_rest_width and xft_draw
      in windows[i].
      (openXftFont): New.
      (XlwMenuInitialize): Call openXftFont if HAVE_XFT. If mw->menu.font
      is not set, load font fixed and save it in xlwmenu_default_font.
      (XlwMenuInitialize): Set max_rest_width and xft_draw in windows[0].
      (XlwMenuClassInitialize): Initialize xlwmenu_default_font.
      (XlwMenuRealize): Set xft_fg, xft_bg, xft_disabled_fg and
      windows[0].xft_draw if xft_font is set.
      (XlwMenuDestroy): Destroy all xft_draw and close xft_font.
      (facename_changed): New.
      (XlwMenuSetValues): Call facename_changed. If face name did change,
      close old fonts and destroy xft_draw:s.  Then create new ones.
      
      * xlwmenu.h (XtNfaceName, XtCFaceName, XtNdefaultFace,
      XtCDefaultFace): New.
      
      * xlwmenuP.h (_window_state): Add max_rest_width and xft_draw.
      (_XlwMenu_part): Add faceName,xft_fg, xft_bg, xft_disabled_fg and
      xft_font.
      
      * xresources.texi (Lucid Resources): Mention faceName to set Xft fonts.
      99852628
  6. 07 Apr, 2010 1 commit
    • Dan Nicolaescu's avatar
      Add new VC methods: vc-log-incoming and vc-log-outgoing. · 31527c56
      Dan Nicolaescu authored
      * vc.el (vc-print-log-setup-buttons): New function split out from
      vc-print-log-internal.
      (vc-log-internal-common): New function, a parametrized version of
      vc-print-log-internal.
      (vc-print-log-internal): Just call vc-log-internal-common with the
      right arguments.
      (vc-incoming-outgoing-internal):
      (vc-log-incoming, vc-log-outgoing): New functions.
      (vc-log-view-type): New permanent local variable.
      
      * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
      
      * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
      of the dynamic bound vc-short-log.
      (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
      
      * vc-git.el (vc-git-log-outgoing): New function.
      (vc-git-log-view-mode): Use vc-log-view-type instead
      of the dynamic bound vc-short-log.
      
      * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
      of the dynamic bound vc-short-log.  Highlight the tag.
      (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
      (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
      (vc-hg-incoming-mode): Remove.
      (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
      31527c56
  7. 05 Apr, 2010 2 commits
  8. 03 Apr, 2010 1 commit
  9. 31 Mar, 2010 2 commits
  10. 29 Mar, 2010 2 commits
    • Chong Yidong's avatar
      * subr.el: Extend progress reporters to perform "spinning". · 9326ba26
      Chong Yidong authored
      (progress-reporter-update, progress-reporter-do-update): Handle
      non-numeric value arguments.
      (progress-reporter--pulse-characters): New var.
      9326ba26
    • Eli Zaretskii's avatar
      Support MS-Windows build and reversed rows in GUI frames; add initial docs. · f4b6ba46
      Eli Zaretskii authored
       doc/emacs/mule.texi (International): Mention support of
       bidirectional editing.
       (Bidirectional Editing): New section.
       etc/HELLO: Reorder Arabic and Hebrew into logical order, and
       insert RLM before the opening paren, to make the display more
       reasonable.  Add setting for bidi-display-reordering in the local
       variables section.
       lisp/files.el: Make bidi-display-reordering safe variable for
       boolean values.
       src/xdisp (append_glyph): If the glyph row is reversed, prepend the
       glyph rather than appending it.
       src/makefile.w32-in (OBJ1): Add $(BLD)/bidi.$(O).
       ($(BLD)/bidi.$(O)): New target.
      f4b6ba46
  11. 28 Mar, 2010 1 commit
    • Chong Yidong's avatar
      Document Message mode as the default mail mode. · e73c2434
      Chong Yidong authored
      * sending.texi (Sending Mail): Document the fact that Message mode is
      now the default mail mode.
      (Mail Format, Mail Headers): Document mail-from-style changes.
      (Mail Commands): Rename from Mail mode.  Document Message mode.
      (Mail Misc): Rename from Mail mode Misc.
      (Mail Sending, Header Editing, Mail Misc): Switch to Message mode
      command names and update keybindings.
      (Header Editing): Document message-tab.  De-document
      mail-self-blind, mail-default-reply-to, and mail-archive-file-name in
      favor of mail-default-headers.  Ad index entries for user-full-name and
      user-mail-address.
      (Citing Mail): Update changes in Message mode behavior.  Document
      mail-yank-prefix.
      (Mail Signature): New node, moved from Mail Misc.
      (Mail Aliases): Mail abbrevs are the default with Message mode.
      (Mail Methods): Note that Message mode is now the default.
      
      * rmail.texi (Rmail Reply):
      * text.texi (Text Mode):
      * major.texi (Major Modes):
      * mule.texi (Output Coding): Refer to Message mode.
      
      * custom.texi (Init Examples): Add xref to Mail Header.
      
      * emacs.texi (Top):  Fix xrefs.
      e73c2434
  12. 27 Mar, 2010 1 commit
  13. 26 Mar, 2010 2 commits
  14. 25 Mar, 2010 6 commits
  15. 23 Mar, 2010 1 commit
    • Stefan Monnier's avatar
      Add a new completion style `substring'. · 00278747
      Stefan Monnier authored
      * minibuffer.el (completion-basic--pattern): New function.
      (completion-basic-try-completion, completion-basic-all-completions): Use it.
      (completion-substring--all-completions)
      (completion-substring-try-completion)
      (completion-substring-all-completions): New functions.
      (completion-styles-alist): New style `substring'.
      00278747
  16. 21 Mar, 2010 4 commits
  17. 20 Mar, 2010 2 commits
  18. 19 Mar, 2010 1 commit
    • Dan Nicolaescu's avatar
      Add special markup processing for commit logs. · 09158997
      Dan Nicolaescu authored
      * log-edit.el (log-edit-extra-flags): New variable.
      (log-edit): Add new argument MODE.  Use that mode when non-nil
      instead of the log-view-mode.
      (log-view-process-buffer): New function.
      
      * vc.el: Document that the checkin method takes optional
      arguments.  Document new backend specific method: log-view-mode.
      (vc-default-log-edit-mode): New function.
      (vc-checkin): Use a backend specific log-view-mode.
      Pass extra arguments to the checkin method.
      (vc-modify-change-comment): Pass a dummy extra argument.
      
      * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
      log-edit.
      (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
      (vc-finish-logentry): Process the log buffer before passing it
      down.  Pass log-edit-extra-flags.
      
      * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
      command.
      (log-edit-extra-flags, log-edit-before-checkin-process): New declarations.
      
      * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
      command.
      (log-edit-extra-flags, log-edit-before-checkin-process): New declarations.
      (vc-hg-log-edit-mode): New derived mode.
      
      * vc-arch.el (vc-arch-checkin):
      * vc-cvs.el (vc-cvs-checkin):
      * vc-git.el (vc-git-checkin):
      * vc-mtn.el (vc-mtn-checkin):
      * vc-rcs.el (vc-rcs-checkin):
      * vc-sccs.el (vc-sccs-checkin):
      * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
      09158997
  19. 18 Mar, 2010 1 commit
    • Glenn Morris's avatar
      Replace some cpp with autoconf. · aded53ff
      Glenn Morris authored
      * configure.in (--with-mmdf, --with-mail-unlink):
      New options, off by default.
      (--with-mailhost): New option to set default POP host.
      (LIBXPM, LIBJPEG, LIBPNG, LIBTIFF, LIBGIF, LIBGPM, LIBS_MAIL)
      (LIBHESIOD, LIBRESOLV, COM_ERRLIB, CRYPTOLIB, KRB5LIB, DESLIB, KRB4LIB):
      New variables, substituted in Makefiles.
      (try_libungif, ac_gif_lib_name): Replace with HAVE_GIF=maybe, LIBGIF.
      (LIBGIF): Use AC_SUBST rather than AC_DEFINE.
      (HAVE_LIBMAIL, HAVE_LIBLOCKFILE, HAVE_LIBCOM_ERR, HAVE_LIBCRYPTO)
      (HAVE_LIBK5CRYPTO, HAVE_LIBKRB5, HAVE_LIBDES425, HAVE_LIBDES)
      (HAVE_LIBKRB4, HAVE_LIBKRB): New AC_DEFINEs.
      
      * lib-src/Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
      (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
      (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
      
      * src/Makefile.in (XFT_LIBS, LIBXPM, LIBJPEG, LIBPNG, LIBTIFF, LIBGIF)
      (LIBGPM, LIBRESOLV): Set using autoconf rather than cpp.
      aded53ff
  20. 15 Mar, 2010 1 commit
  21. 13 Mar, 2010 1 commit
  22. 12 Mar, 2010 3 commits
    • Chong Yidong's avatar
      Document Customize and scroll-bar changes. · 52834b6b
      Chong Yidong authored
      52834b6b
    • Dan Nicolaescu's avatar
      Add .dir-locals.el support for file-less buffers. · 8117868f
      Dan Nicolaescu authored
      * files.el (hack-local-variables): Split out code to apply local
      variable settings ...
      (hack-local-variables-apply): ... here.  New function.
      (hack-dir-local-variables): Use the default directory for when the
      buffer does not have an associated file.
      (hack-dir-local-variables-non-file-buffer): New function.
      * diff-mode.el (diff-mode):
      * vc-annotate.el (vc-annotate-mode):
      * vc-dir.el (vc-dir-mode):
      * log-edit.el (log-edit-mode):
      * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
      8117868f
    • Dan Nicolaescu's avatar
      Add support for shelving snapshots and for showing shelves. · 855a2294
      Dan Nicolaescu authored
      * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
      (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
      New functions.
      (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
      (vc-bzr-extra-menu-map): Map them.
      855a2294
  23. 11 Mar, 2010 1 commit