1. 21 Feb, 2011 4 commits
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      Declare file-scope functions and variables static if not exported. · b23b5a5b
      Paul Eggert authored
      This is more consistent, and is nicer with gcc -Wstrict-prototypes.
      * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
      * profile.c, test-distrib.c, update-game-score.c:
      Declare non-'main' functions and variables to be static.
      * ebrowse.c: Omit redundant function prototypes.
      b23b5a5b
    • Chong Yidong's avatar
      Merge some code from hexrgb.el into color.el. · 6d713256
      Chong Yidong authored
      * lisp/color.el (color-name-to-rgb): Rename from color-rgb->normalize.
      Autoload.  Add optional arg FRAME, and pass it to color-values.
      (color-complement): Caller changed.  Doc fix.
      (color-gradient): Rewrite for better clarity and efficiency.
      (color-rgb-to-hex): Rename from color-rgb->hex.
      (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
      saturation to zero if the value is too small.
      (color-rgb-to-hsl): Rename from color-rgb->hsl.
      (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
      (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
      (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
      (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
      (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
      (color-cie-de2000): Doc fix.
      
      * lisp/facemenu.el (color-rgb-to-hsv): Deleted; use the version in
      lisp/color.el instead.
      (list-colors-sort-key, list-colors-print): Use
      color-normalized-values.
      
      * lisp/faces.el (color-values): Use cond for clarity.  Doc fix.
      
      * lisp/gnus/shr-color.el (shr-color->hexadecimal): Use renamed
      function names color-rgb-to-hex, color-name-to-rgb,
      color-srgb-to-lab, and color-lab-to-srgb.
      6d713256
    • Chong Yidong's avatar
  2. 20 Feb, 2011 12 commits
  3. 19 Feb, 2011 24 commits
    • Dmitry Bolshakov's avatar
      Prevent hideshow from parsing braces inside comments (Bug#8036). · a87af185
      Dmitry Bolshakov authored
      * progmodes/hideshow.el (hs-find-block-beginning)
      (hs-hide-level-recursive): Ignore comments when parsing braces.
      a87af185
    • Chong Yidong's avatar
      Improvements to vc-bzr conffile handling and pull/merge support. · 3ab713fd
      Chong Yidong authored
      * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
      (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
      but returning an alist.  Ignore comments in bzr conffile.
      (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
      (vc-bzr-error-regex-alist): New var.
      (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
      
      * progmodes/compile.el (compilation--flush-directory-cache):
      Handle the case where cdr of compilation--flush-directory-cache
      points to no buffer, which can occur if we previously switched to
      compilation-mode in a pregenerated buffer.
      
      * vc/vc-dispatcher.el (vc-do-async-command): Bind
      inhibit-read-only to t.
      3ab713fd
    • Glenn Morris's avatar
      dired-x no longer requires dired-aux. · cad7445b
      Glenn Morris authored
      * lisp/dired-x.el: Don't require dired-aux.
      (dired-do-create-files, dired-mark-read-regexp)
      (dired-do-create-files-regexp): Autoload from dired-aux.
      cad7445b
    • Glenn Morris's avatar
      Merge dired-x's dired-find-buffer-nocreate into dired.el. · bea584fa
      Glenn Morris authored
      * lisp/dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
      
      * lisp/dired.el (dired-find-buffer-nocreate): Merge dired-x version.
      
      * doc/misc/dired-x.texi (Technical Details):
      No longer redefines dired-find-buffer-nocreate.
      bea584fa
    • Eli Zaretskii's avatar
      Adapt and fix the MS-DOS port due to gnulib imports. · 615d868e
      Eli Zaretskii authored
       msdos/depfiles.bat: New file.
       msdos/sedlibmk.inp: New file.
       msdos/sedlibcf.inp: New file.
       msdos/sedleim.inp (RUN_EMACS): Rename from RUN-EMACS.
       (BUILT_EMACS): Rename from BUILT-EMACS.
       msdos/sed6.inp (MAKEINFO): Edit to "makeinfo".
       (ENVADD): Adjust to MAKEINFO_OPTS.
       (texinputdir): Don't edit.
       msdos/sed3v2.inp (-DVERSION): Edit out.
       (LOADLIBES): Don't edit to empty.
       msdos/sed2v2.inp: Remove workaround for the "#if ! HAVE_MKTIME ||
       BROKEN_MKTIME" stuff -- it's no longer in src/config.in.
       (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
       (HAVE__BOOL): Edit to 1.
       (VERSION, inline, restrict): Edit for DJGPP.
       (my_strftime): Edit to nstrftime.
       msdos/sed1v2.inp (NS_OBJC_OBJ): Edit to empty.
       (@true): Edit to "@rem".
       (move-if-change): Edit to "update".
       (echo): Edit to "djecho".
       (cd $(lib) && ...): Edit to "$(MAKE) -C ...".
       (LIBOBJS): Edit to empty.
       ($(libsrc)/make-docfile): Two new edits, one each for every
       invocation of make-docfile.
       (move-if-change): Fix edit.
       Remove some unused switches from $(ALL_CFLAGS), to make the GCC
       command line shorter.
       msdos/mainmake.v2 (version): Remove, no longer needed (config.in
       defines VERSION).
       (all): Add lib.
       (lib): New target and recipe.
       (lib-src): Depend on lib.
       (src): Depend on lib and lib-src.
       (clean, mostlyclean, distclean, maintainer-clean, extraclean)
       (bootstrap-clean): Recurse into lib.
       (lib, lib-src, src): Specify "all" as an explicit target.
       .bzrignore: Ignore cxxdefs.h and lib/*.in-h files.
       Add lib/deps/.
       config.bat: Configure in `lib'.
       Generate *.Po files in lib/deps.
       src/termcap.c (tputs): Don't declare baud_rate.
       src/s/msdos.h (strtold): Define to _strtold.
      615d868e
    • Eli Zaretskii's avatar
      Fix MS-DOS build in src/: delete gl-tmp. · 83627c03
      Eli Zaretskii authored
       msdos/sed1v2.inp: Delete gl-tmp after updating globals.h
      83627c03
    • Eli Zaretskii's avatar
      Finish fixing the MS-DOS build. Everything builds and works. · f601db19
      Eli Zaretskii authored
       src/termcap.c (tputs): Don't declare baud_rate.
       msdos/sedlibmk.inp (gl_LIBOBJS): Add getloadavg.o.
       msdos/sedleim.inp (RUN_EMACS): Rename from RUN-EMACS.
       (BUILT_EMACS): Rename from BUILT-EMACS.
       msdos/sed6.inp (MAKEINFO): Edit to "makeinfo".
       (ENVADD): Adjust to MAKEINFO_OPTS.
       (texinputdir): Don't edit.
       msdos/sed2v2.inp (my_strftime): Edit to nstrftime.
       msdos/sed1v2.inp (LIBOBJS): Edit to empty.
       ($(libsrc)/make-docfile): Two new edits, one each for every
       invocation of make-docfile.
       (move-if-change): Fix edit.
       Remove some unused switches from $(ALL_CFLAGS), to make the GCC
       command line shorter.
      f601db19
    • Glenn Morris's avatar
    • Chong Yidong's avatar
      Fix typo in auth.texi (Bug#8068). · 27ac6e79
      Chong Yidong authored
      27ac6e79
    • Glenn Morris's avatar
      Merge dired-x's dired-read-shell-command into dired-aux's version. · d6e96966
      Glenn Morris authored
      * lisp/dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
      
      * lisp/dired-aux.el (dired-read-shell-command): Merge dired-x's version.
      
      * doc/misc/dired-x.texi (Technical Details):
      No longer redefines dired-read-shell-command.
      d6e96966
    • Glenn Morris's avatar
      Merge dired-x's dired-clean-up-after-deletion into dired's version. · 42924231
      Glenn Morris authored
      * lisp/dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
      
      * lisp/dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
      (dired-clean-up-buffers-too): Declare.
      
      * doc/misc/dired-x.texi (Technical Details):
      No longer redefine dired-clean-up-after-deletion.
      42924231
    • Eli Zaretskii's avatar
      Fix msdos/sed3v2.inp. lib-src/ now builds. · 534e4e80
      Eli Zaretskii authored
       sed3v2.inp (-DVERSION): Edit out.
       (LOADLIBES): Don't edit to empty.
       mainmake.v2 (lib, lib-src, src): Specify "all" as an explicit target.
      534e4e80
    • Eli Zaretskii's avatar
      Fix msdos/sedlibmk.inp. lib/ builds now. · 27087453
      Eli Zaretskii authored
       sedlibmk.inp (HAVE_GETOPT_H, PRAGMA_SYSTEM_HEADER, PRAGMA_COLUMNS): Fix
       editing.
       (DEFS): Edit to -DHAVE_CONFIG_H.
       (Makefile, &&): Fix removal.
      27087453
    • Chong Yidong's avatar
    • Eli Zaretskii's avatar
      Fix generation of auto-dependency files in lib/. · 219463da
      Eli Zaretskii authored
       .bzrignore: Add lib/deps/.
       config.bat: Generate *.Po files in lib/deps.
       msdos/sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Fix editing of *-clean
       rules.
       msdos/depfiles.bat: New file.
      219463da
    • Eli Zaretskii's avatar
      Update .bzrignore for files produced by the MS-DOS build. · 152be435
      Eli Zaretskii authored
       .bzrignore: Ignore cxxdefs.h and lib/*.in-h files.
      152be435
    • Eli Zaretskii's avatar
      Commit new Sed scripts in msdos/. · 9d9ce659
      Eli Zaretskii authored
      9d9ce659
    • Eli Zaretskii's avatar
      Initial version of fix for the MS-DOS build, not yet tested. · 9d9d12cd
      Eli Zaretskii authored
       config.bat: Configure in `lib'.
       msdos/sedlibmk.inp: New file.
       msdos/sedlibcf.inp: New file.
       msdos/sed1v2.inp (NS_OBJC_OBJ): Edit to empty.
       (@true): Edit to "@rem".
       (move-if-change): Edit to "update".
       (echo): Edit to "djecho".
       (cd $(lib) && ...): Edit to "$(MAKE) -C ...".
       msdos/mainmake.v2 (version): Remove, no longer needed (config.in
       defines VERSION).
       (all): Add lib.
       (lib): New target and recipe.
       (lib-src): Depend on lib.
       (src): Depend on lib and lib-src.
       (clean, mostlyclean, distclean, maintainer-clean, extraclean)
       (bootstrap-clean): Recurse into lib.
       msdos/sed2v2.inp: Remove workaround for the "#if ! HAVE_MKTIME ||
       BROKEN_MKTIME" stuff -- it's no longer in src/config.in.
       (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
       (HAVE__BOOL): Edit to 1.
       (VERSION, inline, restrict): Edit for DJGPP.
       src/s/msdos.h (strtold): Define to _strtold.
       admin/admin.el (set-version): Add msdos/sed2v2.inp.
      9d9d12cd
    • Kenichi Handa's avatar
      merge emacs-23 · 51a12115
      Kenichi Handa authored
      51a12115
    • Paul Eggert's avatar
      * deps.mk (fns.o): Depend on ../lib/md5.h. · ff05203e
      Paul Eggert authored
      ff05203e
    • Gnus developers's avatar
      nnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK" outputs from the server. · 56e96bed
      Gnus developers authored
      gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook later so that bbdb can hook in easier.
      56e96bed
    • Eli Zaretskii's avatar
      dired.el: Update autoloads. · 2db8710e
      Eli Zaretskii authored
      2db8710e
    • Kenichi Handa's avatar
    • Paul Eggert's avatar
      Import simpler crypto/md5 module from gnulib, plus stdint module. · 5f90be1b
      Paul Eggert authored
      * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
      * src/config.in: Regenerate.
      * lib/md5.c, lib/md5.h: Regenerate with simpler version, which
      assumes C99-style <stdint.h>, supplied by the stdint module.
      * lib/stdint.in.h, m4/longlong.m4, m4/stdint.m4: New files,
      generated from gnulib.
      * src/deps.mk (fns.o): Do not depend on md5.h, fixing a typo in
      the earlier patch.
      5f90be1b