1. 28 Aug, 2013 1 commit
  2. 23 Aug, 2013 1 commit
  3. 03 Aug, 2013 1 commit
  4. 22 Jul, 2013 1 commit
  5. 26 Jun, 2013 1 commit
  6. 25 Jun, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el: Include obsolete packages from archives. · 12059709
      Stefan Monnier authored
      Use lexical-binding.
      (package-archive-contents): Change format; include obsolete packages.
      (package-desc): Use `dir' to mark builtin packages.
      (package--from-builtin): Set the `dir' field to `builtin'.
      (generated-autoload-file, version-control): Declare.
      (package-compute-transaction): Change first arg and return value to be
      lists of package-descs.  Adjust to new package-archive-contents format.
      (package--add-to-archive-contents): Adjust to new
      package-archive-contents format.
      (package-download-transaction): Arg is now a list of package-descs.
      (package-install): If `pkg' is a package name, pass it as
      a requirement, so it is subject to the usual (e.g. disabled) checks.
      (describe-package): Accept package-desc as well.
      (describe-package-1): Describe a specific package-desc.  Add links to
      other package-descs for the same package name.
      (package-menu-describe-package): Pass the actual package-desc.
      (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
      works correctly.
      (package-desc-status): New function.
      (package-menu--refresh): New function, extracted
      from package-menu--generate.
      (package-menu--generate): Use it.
      (package-delete): Update package-alist.
      (package-menu-execute): Don't call package-initialize.
      
      * lisp/progmodes/idlw-toolbar.el, lisp/progmodes/idlw-shell.el,
      lisp/progmodes/idlw-help.el, lisp/progmodes/idlw-complete-structtag.el,
      lisp/progmodes/ebnf-yac.el, lisp/progmodes/ebnf-otz.el,
      lisp/progmodes/ebnf-iso.el, lisp/progmodes/ebnf-ebx.el,
      lisp/progmodes/ebnf-dtd.el, lisp/progmodes/ebnf-bnf.el,
      lisp/progmodes/ebnf-abn.el, lisp/emacs-lisp/package-x.el,
      lisp/emacs-lisp/cl-seq.el, lisp/emacs-lisp/cl-macs.el
      lisp/cedet/data-debug.el, lisp/cedet/cedet-idutils.el:
      Neuter the "Version:" header.
      12059709
  7. 22 Jun, 2013 1 commit
  8. 21 Jun, 2013 3 commits
    • Juanma Barranquero's avatar
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el (package-alist): Include obsolete packages. · a7d2d465
      Stefan Monnier authored
      (package-obsolete-list): Remove.
      (package-activate): Remove min-version argument.  Add `force' argument.
      Adjust to new package-alist format.
      (package-mark-obsolete): Remove.
      (package-unpack): Force reload of the package's autoloads.
      (package-installed-p): Check builtins if the installed package is not
      recent enough.
      (package-initialize): Don't reset package-obsolete-list.
      Don't specify which package version to activate.
      (package-process-define-package, describe-package-1)
      (package-menu--generate): Adjust to new package-alist format.
      a7d2d465
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el: Use tar-mode rather than tar executable. · fd846ab4
      Stefan Monnier authored
      Consolidate the single-file vs tarball code.
      (package-desc-suffix): New function.
      (package-desc-full-name): Don't bother inlining it.
      (package-load-descriptor): Return the new package-desc.
      (package-mark-obsolete): Remove unused arg `package'.
      (package-unpack): Make it work for single files as well.
      Make it update package-alist.
      (package--make-autoloads-and-stuff): Rename from
      package--make-autoloads-and-compile.  Don't compile any more.
      (package--compile): New function.
      (package-generate-description-file): New function, extracted from
      package-unpack-single.
      (package-unpack-single): Remove.
      (package--with-work-buffer): Add indentation and debugging info.
      (package-download-single): Remove.
      (package-install-from-archive): Rename from package-download-tar, make
      it take a pkg-desc, and make it work for single files as well.
      (package-download-transaction): Simplify.
      (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
      external tar program.
      (package-install-from-buffer): Remove `pkg-desc' argument.
      Use package-tar-file-info for tar-mode buffers.
      (package-install-file): Simplify accordingly.
      (package-archive-base): Change to take a pkg-desc.
      * lisp/tar-mode.el (tar--check-descriptor): New function, extracted from
      tar-get-descriptor.
      (tar-get-descriptor): Use it.
      (tar-get-file-descriptor): New function.
      (tar--extract): New function, extracted from tar-extract.
      (tar--extract): Use it.
      * lisp/emacs-lisp/package-x.el (package-upload-file): Decode the file, in
      case the summary uses non-ascii.  Adjust to new calling convention of
      package-tar-file-info.
      fd846ab4
  9. 18 Jun, 2013 1 commit
  10. 17 Jun, 2013 2 commits
  11. 15 Jun, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el: Don't activate packages older than builtin. · 66bd25ab
      Stefan Monnier authored
      (package-obsolete-list): Rename from package-obsolete-alist, and make
      it into a simple list of package-desc.
      (package-strip-version): Remove.
      (package-built-in-p): Use package--builtin-versions.
      (package-mark-obsolete): Simplify.
      (package-process-define-package): Mark it obsolete if older than the
      builtin version.
      (package-handle-response): Use line-end-position.
      (package-read-archive-contents, package--download-one-archive):
      Simplify.
      (package--add-to-archive-contents): Skip if older than the builtin or
      installed version.
      (package-menu-describe-package): Fix last change.
      (package-list-unversioned): New var.
      (package-menu--generate): Use it.
      
      * lisp/Makefile.in (autoloads): Set autoload-builtin-package-versions.
      
      * lisp/startup.el (package--builtin-versions): New var.
      (package-subdirectory-regexp): Remove.
      (package--description-file): Hard code its value instead.
      
      * lisp/emacs-lisp/autoload.el: Manage package--builtin-versions.
      (autoload--insert-text, autoload--insert-cookie-text): New functions.
      (autoload-builtin-package-versions): New variable.
      (autoload-generate-file-autoloads): Use them.
      Remove the list of autoloaded functions/macros from the
      (autoload...) comments.
      66bd25ab
  12. 14 Jun, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more. · 1b8dff23
      Stefan Monnier authored
      (package-desc): Add `dir' field.
      (package-desc-full-name): New function.
      (package-load-descriptor): Combine the two arguments.  Don't use `load'.
      (package-maybe-load-descriptor): Remove.
      (package-load-all-descriptors): Just call package-load-descriptor.
      (package--disabled-p): New function.
      (package-desc-vers, package-desc-doc): Remove aliases.
      (package--dir): Remove function.
      (package-activate): Check if a package is disabled.
      (package-process-define-package): New function, extracted from
      define-package.
      (define-package): Turn into a place holder.
      (package-unpack-single, package-tar-file-info):
      Use package--description-file.
      (package-compute-transaction): Use package--disabled-p.
      (package-download-transaction): Don't call
      package-maybe-load-descriptor since they're all loaded anyway.
      (package-install): Change argument to be a pkg-desc.
      (package-delete): Use a single pkg-desc argument.
      (describe-package-1): Use package-desc-dir instead of package--dir.
      Use package-desc property instead of package-symbol.
      (package-install-button-action): Adjust accordingly.
      (package--push): Rewrite.
      (package-menu--print-info): Adjust accordingly.  Change the ID format
      to be a pkg-desc.
      (package-menu-describe-package, package-menu-get-status)
      (package-menu--find-upgrades, package-menu-mark-upgrades)
      (package-menu-execute, package-menu--name-predicate):
      Adjust accordingly.
      * lisp/startup.el (package--description-file): New function.
      (command-line): Use it.
      * lisp/emacs-lisp/package-x.el (package-upload-buffer-internal):
      Use package-desc-version.
      1b8dff23
  13. 12 Jun, 2013 1 commit
    • Stefan Monnier's avatar
      First part of Daniel Hackney's patch to package.el. · f56be016
      Stefan Monnier authored
      * lisp/emacs-lisp/package.el: Use defstruct.
      (package-desc): New, main struct.
      (package--bi-desc, package--ac-desc): New structs, used to describe the
      format in external files.
      (package-desc-vers): Replace with package-desc-version accessor.
      (package-desc-doc): Replace with package-desc-summary accessor.
      (package-activate-1): Remove `package' arg since the pkg-vec now
      includes the name.
      (define-package): Use package-desc-from-define.
      (package-unpack-single): Change file-name arg to be a symbol.
      (package--add-to-archive-contents): Use package-desc-create and new
      accessor functions to package--ac-desc.
      (package-buffer-info, package-tar-file-info): Return a package-desc.
      (package-install-from-buffer): Remove `type' argument.  Change pkg-info
      arg to be a package-desc.
      (package-install-file): Adjust accordingly.  Use \' to match EOS.
      (package--from-builtin): New function.
      (describe-package-1, package-menu--generate): Use it.
      (package--make-autoloads-and-compile): Change name arg to be a symbol.
      (package-generate-autoloads): Idem and return the name of the file.
      * lisp/emacs-lisp/package-x.el (package-upload-buffer-internal):
      Change pkg-info arg to be a package-desc.
      Use package-make-ac-desc.
      (package-upload-file): Use \' to match EOS.
      * lisp/finder.el (finder-compile-keywords): Use package-make-builtin.
      f56be016
  14. 14 May, 2013 1 commit
  15. 11 May, 2013 1 commit
    • Glenn Morris's avatar
      Fix some declarations · f20def1f
      Glenn Morris authored
      * lisp/faces.el (internal-face-x-get-resource):
      * lisp/frame.el (ns-display-monitor-attributes-list):
      * lisp/calc/calc-aent.el (math-to-radians-2):
      * lisp/cedet/ede/locate.el (cedet-cscope-version-check)
      (cedet-cscope-support-for-directory):
      * lisp/cedet/semantic/grammar.el (semantic-grammar-wy--install-parser):
      * lisp/emacs-lisp/package.el (tar-header-name, tar-header-link-type):
      Fix declarations.
      f20def1f
  16. 27 Apr, 2013 1 commit
  17. 05 Apr, 2013 1 commit
  18. 04 Apr, 2013 2 commits
  19. 13 Feb, 2013 3 commits
  20. 06 Feb, 2013 1 commit
  21. 01 Jan, 2013 1 commit
  22. 29 Dec, 2012 2 commits
  23. 28 Oct, 2012 1 commit
  24. 25 Oct, 2012 1 commit
  25. 24 Sep, 2012 1 commit
  26. 13 Jun, 2012 1 commit
    • Chong Yidong's avatar
      In the Package Menu, indicate packages that are newly-available. · 60057926
      Chong Yidong authored
      * lisp/emacs-lisp/package.el (list-packages): Compute a list of
      packages that are newly-available since the last list-packages
      invocation.
      (package-menu--new-package-list): New var.
      (package-menu--generate, package-menu--print-info)
      (package-menu--status-predicate, package-menu-mark-install):
      Handle new status label "new".
      60057926
  27. 06 May, 2012 1 commit
  28. 05 May, 2012 1 commit
  29. 19 Apr, 2012 1 commit
    • Juanma Barranquero's avatar
      lisp/*: Add declarations, remove unused bindings, mark unused args. · 4d6769e1
      Juanma Barranquero authored
      * lisp/avoid.el (mouse-avoidance-mode): Mark unused arg.
        (mouse-avoidance-nudge-mouse): Remove unused binding.
      
      * lisp/imenu.el (imenu-default-goto-function): Mark unused args.
        (imenu-progress-message): Remove obsolete macro; all callers changed.
      
      * lisp/mouse.el (mouse-menu-major-mode-map):
      * lisp/emacs-lisp/authors.el (authors-scan-change-log)
        (authors-add-to-author-list):
      * lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance):
      * lisp/emacs-lisp/smie.el (smie-auto-fill):
      * lisp/mail/sendmail.el (mail-bury):
      * lisp/mail/unrmail.el (unrmail):
      * lisp/net/tls.el (open-tls-stream):
      * lisp/textmodes/picture.el (picture-mouse-set-point):
        Remove unused bindings.
      
      * lisp/subr.el (keymap-canonicalize): Remove unused binding.
        (read-passwd): Mark unused arg.
      
      * lisp/tutorial.el (tutorial--display-changes): Remove unused binding.
        (tutorial--save-tutorial-to): Remove unused variable.
      
      * lisp/emacs-lisp/package.el (define-package, package-menu-mark-delete)
        (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
        (package-generate-autoloads, package-menu--generate)
        (package-menu--find-upgrades): Remove unused bindings.
      
      * lisp/emulation/cua-rect.el (cua-restrict-regexp-rectangle)
        (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
        (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
        (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
        (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
        (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
        (cua--rectangle-aux-replace, cua--left-fill-rectangle)
        (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
        (cua-delete-char-rectangle): Mark unused args.
        (cua-align-rectangle): Remove unused binding.
      
      * lisp/mail/rmail.el (compilation--message->loc)
        (epa--find-coding-system-for-mime-charset): Declare.
      
      * lisp/net/dbus.el (dbus-register-service): Declare.
        (dbus-name-owner-changed-handler): Remove unused binding.
      
      * lisp/nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
        (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
        (nxml-scan-backward-within): Mark unused arg.
        (nxml-dynamic-markup-word): Remove unused binding.
      4d6769e1
  30. 12 Mar, 2012 1 commit
  31. 04 Mar, 2012 1 commit
  32. 27 Feb, 2012 1 commit
  33. 10 Feb, 2012 1 commit