1. 09 Apr, 2011 5 commits
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Mark tiny change. · 140745c3
      Glenn Morris authored
      140745c3
    • Glenn Morris's avatar
    • Eli Zaretskii's avatar
      Replace some uses of `int' with EMACS_INT. · a53e2e89
      Eli Zaretskii authored
       src/search.c (string_match_1, fast_string_match)
       (fast_c_string_match_ignore_case, fast_string_match_ignore_case)
       (scan_buffer, find_next_newline_no_quit)
       (find_before_next_newline, search_command, Freplace_match)
       (Fmatch_data): Make some `int' variables be EMACS_INT.
       src/xdisp.c (display_count_lines): 3rd argument and return value now
       EMACS_INT.  All callers changed.
       (pint2hrstr): Last argument is now EMACS_INT.
       src/coding.c (detect_coding_utf_8, detect_coding_emacs_mule)
       (detect_coding_iso_2022, detect_coding_sjis, detect_coding_big5)
       (detect_coding_ccl, detect_coding_charset, decode_coding_utf_8)
       (decode_coding_utf_16, decode_coding_emacs_mule)
       (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5)
       (decode_coding_ccl, decode_coding_charset)
       <consumed_chars, consumed_chars_base>: Declare EMACS_INT.
       (decode_coding_iso_2022, decode_coding_emacs_mule)
       (decode_coding_sjis, decode_coding_big5, decode_coding_charset)
       <char_offset, last_offset>: Declare EMACS_INT.
       (encode_coding_utf_8, encode_coding_utf_16)
       (encode_coding_emacs_mule, encode_invocation_designation)
       (encode_designation_at_bol, encode_coding_iso_2022)
       (encode_coding_sjis, encode_coding_big5, encode_coding_ccl)
       (encode_coding_raw_text, encode_coding_charset) <produced_chars>:
       Declare EMACS_INT.
       (ASSURE_DESTINATION): Declare more_bytes EMACS_INT.
       (encode_invocation_designation): Last argument P_NCHARS is now
       EMACS_INT.
       (decode_eol): Declare pos_byte, pos, and pos_end EMACS_INT.
       (produce_chars): from_nchars and to_nchars are now EMACS_INT.
       src/coding.h (struct coding_system) <head_ascii>: Declare EMACS_INT.
       All users changed.
       src/ccl.c (Fccl_execute_on_string): Declare some variables
       EMACS_INT.
      a53e2e89
    • Eli Zaretskii's avatar
      Produce more accurate results from file-size-human-readable. · 04f33f1e
      Eli Zaretskii authored
       lisp/files.el (file-size-human-readable): Produce one digit after
       decimal, like "ls -lh" does.
       lisp/ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
       the file size representation.
      04f33f1e
  2. 08 Apr, 2011 15 commits
  3. 07 Apr, 2011 5 commits
  4. 06 Apr, 2011 15 commits
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 2237da9c
      Gnus developers authored
      registry.el, gnus-registry.el: Use `ignore-errors' instead of third argument NOERROR for `require', since XEmacs 21.4 does not support it.
      registry.el (initialize-instance): Change :after to :AFTER to be compatible with old EIEIO version in XEmacs.
      gnus-registry.el (gnus-registry-post-process-groups)
       (gnus-registry--split-fancy-with-parent-internal): Fix splitting bugs and provide better messaging.
      gnus-registry.el: Load ERT unconditionally anyway, discarding errors.
      registry.el: Load ERT unconditionally anyway, discarding errors.
      2237da9c
    • Chong Yidong's avatar
      Remove list-processes C function; misc fixes to last change. · e67a13ab
      Chong Yidong authored
      * src/process.c (Flist_processes): Removed to Lisp.
      (list_processes_1): Deleted.
      
      * lisp/emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
      issuing unused warnings.
      
      * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
      macro directly.
      e67a13ab
    • Chong Yidong's avatar
      Reimplement list-processes in Lisp. · 7d668f2c
      Chong Yidong authored
      * lisp/simple.el: Lisp reimplement of list-processes.  Based on an
      earlier reimplementation by Leo Liu, but using tabulated-list.el.
      (process-menu-mode): New major mode.
      (list-processes--refresh, list-processes):
      (process-menu-visit-buffer): New functions.
      
      * lisp/files.el (save-buffers-kill-emacs): Don't assume any return
      value of list-processes, which is undocumented anyway.
      7d668f2c
    • Chong Yidong's avatar
      Make Package Menu a child of Tabulated List mode. · e91a96fe
      Chong Yidong authored
      * emacs-lisp/package.el: Use Tabulated List mode.
      (package-menu-mode-map): Inherit from tabulated-list-mode-map.
      (package-menu-mode): Derive from tabulated-list-mode.  Set up the
      table format using Tabulated List mode variables.
      (package--push): New macro, replacing package-list-maybe-add.
      (package-menu--generate): Use package--push.  Renamed from
      package--generate-package-list.
      (package-menu-refresh, list-packages): Use it.
      (package-menu--print-info): Renamed from package-print-package.
      Return insertion data instead of inserting it directly.
      (package-menu-describe-package, package-menu-execute): Use
      tabulated-list-get-id.
      (package-menu-mark-delete, package-menu-mark-install)
      (package-menu-mark-unmark, package-menu-backup-unmark)
      (package-menu-mark-obsolete-for-deletion): Use
      tabulated-list-put-tag.
      (package--list-packages, package-menu-revert)
      (package-menu-get-package, package-menu-get-version)
      (package-menu-sort-by-column): Functions deleted.
      (package-menu-package-list, package-menu-sort-key): Vars deleted.
      (package-menu--status-predicate, package-menu--version-predicate)
      (package-menu--name-predicate)
      (package-menu--description-predicate): Handle arguments in the
      Tabulated List format.
      (package-list-packages-no-fetch): Call list-packages.
      e91a96fe
    • Chong Yidong's avatar
      a83ec3c9
    • Juanma Barranquero's avatar
      New variable `revert-buffer-in-progress-p'. · 3e214b50
      Juanma Barranquero authored
      * lisp/files.el (after-find-file-from-revert-buffer): Remove variable.
        (after-find-file): Dont' bind it.
        (revert-buffer-in-progress-p): New variable.
        (revert-buffer): Bind it.
        Pass nil for `after-find-file-from-revert-buffer'.
      
      * lisp/saveplace.el (save-place-find-file-hook): Use new variable
        `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
      
      * etc/NEWS: New variable `revert-buffer-in-progress-p'.
      3e214b50
    • Paul Eggert's avatar
      update_autogen · 67a22325
      Paul Eggert authored
      67a22325
    • Eli Zaretskii's avatar
      Adapt the MS-DOS build to changes in gnulib. · 7c106b1e
      Eli Zaretskii authored
       msdos/sedlibmk.inp: Update checklist.
       (am_libgnu_a_OBJECTS): Remove careadlinkat.$(OBJEXT).
       ($(top_builddir)/config.status): Edit away, both as target and in
       prerequisites.
       (@am__fastdepCC_FALSE@): Fix editing.
       (@GL_GENERATE_STDBOOL_H_TRUE@, @GL_GENERATE_STDBOOL_H_FALSE@)
       (@GL_GENERATE_STDDEF_H_TRUE@, @GL_GENERATE_STDDEF_H_FALSE@)
       (@GL_GENERATE_STDINT_H_TRUE@, @GL_GENERATE_STDINT_H_FALSE@): Edit
       to either nothing or "#".
       src/msdos.c (careadlinkat, careadlinkatcwd): MS-DOS replacements.
      7c106b1e
    • Eli Zaretskii's avatar
      Don't call gnulib's careadlinkat on Windows. · 973f782d
      Eli Zaretskii authored
       src/w32.c (careadlinkat, careadlinkatcwd): New always-fail stubs.
       lib/makefile.w32-in ($(BLD)/careadlinkat.$(O), GNULIBOBJS):
       Revert last change.
      973f782d
    • Eli Zaretskii's avatar
      Fix the Windows build due to introduction of ATTRIBUTE_FORMAT_PRINTF. · 0f1ba050
      Eli Zaretskii authored
       nt/config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
       (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
       on the trunk on 2011-04-06.
      0f1ba050
    • Juanma Barranquero's avatar
      lib/makefile.w32-in: Adapt to changes in 2011-04-06T05:19:39Z!eggert@cs.ucla.edu. · f1f81baa
      Juanma Barranquero authored
      * lib/makefile.w32-in (GNULIBOBJS): Add careadlinkat.$(O).
        ($(BLD)/careadlinkat.$(O)): New target.
        ($(BLD)/dtoastr.$(O), $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O))
        ($(BLD)/strftime.$(O), $(BLD)/time_r.$(O), $(BLD)/md5.$(O)):
        Update dependencies.
      f1f81baa
    • Ted Zlatanov's avatar
      gnus-registry.el: Don't use ERT if it's not available. · 42b23765
      Ted Zlatanov authored
       (gnus-registry-delete-entries): New convenience function.
       (gnus-registry-import-eld): Import from old .eld registry.
      registry.el: Don't use ERT if it's not available.
      proto-stream.el (gnutls-negotiate): Revert inadvertent commit of the version from the Claudio Bley GnuTLS patch (extra optional parametersnand host name).
      42b23765
    • Juanma Barranquero's avatar
      Update and split ChangeLogs. · 33383987
      Juanma Barranquero authored
      33383987
    • Glenn Morris's avatar
      Auto-commit of generated files. · 6c051bab
      Glenn Morris authored
      6c051bab
    • Paul Eggert's avatar