1. 13 Mar, 2014 1 commit
  2. 12 Feb, 2014 1 commit
    • Glenn Morris's avatar
      Some package doc updates · a215930c
      Glenn Morris authored
      * doc/emacs/help.texi (Package Keywords): Mention describe-package buttons.
      
      * doc/emacs/package.texi (Package Menu): Mention package-menu-filter.
      
      * lisp/emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
      (package-menu-filter): Rename from package-menu-filter-interactive.
      Doc fix.
      
      * etc/NEWS: Related edits.  Copyedit.
      a215930c
  3. 22 Jan, 2014 2 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el: Write files silently. · 29afcbab
      Stefan Monnier authored
      (package-autoload-ensure-default-file)
      (package-generate-description-file, package--write-file-no-coding)
      (package-install-from-archive, package--download-one-archive):
      Tell `write-region' to stay quiet.
      (package-menu-mode, package-menu--print-info): Omit the Archive column
      if there's only one archive.
      (package-all-keywords, package--has-keyword-p): Remove dead code.
      29afcbab
    • Glenn Morris's avatar
      Fix some function declarations · cc0f2ece
      Glenn Morris authored
      * lisp/calc/calc-embed.el (thing-at-point-looking-at):
      * lisp/emacs-lisp/map-ynp.el (x-popup-dialog):
      * lisp/obsolete/lmenu.el (x-popup-dialog):
      * lisp/emacs-lisp/package.el (url-recreate-url):
      * lisp/mail/mailclient.el (clipboard-kill-ring-save):
      * lisp/subr.el (x-popup-dialog): Update declaration.
      
      * lisp/mail/rmail.el (rmail-mime-message-p):
      * lisp/window.el (tool-bar-lines-needed): Remove unnecessary declaration.
      cc0f2ece
  4. 16 Jan, 2014 2 commits
  5. 15 Jan, 2014 1 commit
  6. 08 Jan, 2014 4 commits
  7. 07 Jan, 2014 1 commit
  8. 01 Jan, 2014 1 commit
  9. 14 Dec, 2013 2 commits
    • Ted Zlatanov's avatar
      Support filtering by keywords in package listings. · 5ae811dd
      Ted Zlatanov authored
      * emacs-lisp/package.el (package-built-in-p): Support both
      built-in and the package.el converted package descriptions.
      (package-show-package-list): Allow keywords.
      (package-keyword-button-action): Use it instead of
      `finder-list-matches'.
      (package-menu-filter-interactive): Interactive filtering (by
      keyword) function.
      (package-menu--generate): Support keywords and change keymappings
      and headers when they are given.
      (package--has-keyword-p): Helper function.
      (package-menu--refresh): Use it.
      (package--mapc): Helper function.
      (package-all-keywords): Use it.
      (package-menu-mode-map): Set up menu items and keybindings to
      provide a filtering UI.
      5ae811dd
    • Tom Willemse's avatar
      * lisp/emacs-lisp/package.el (package--prepare-dependencies): New function. · f77d7d17
      Tom Willemse authored
      (package-buffer-info): Use it.
      
      Fixes: debbugs:15108
      f77d7d17
  10. 11 Dec, 2013 1 commit
  11. 10 Dec, 2013 1 commit
  12. 09 Dec, 2013 1 commit
    • Ted Zlatanov's avatar
      Add keyword buttons to package description. · a81fc7ba
      Ted Zlatanov authored
      * emacs-lisp/package.el: Require finder.el.
      (describe-package-1): Add keyword buttons.
      (package-make-button): New convenience function.
      (package-keyword-button-action): Keyword button action using
      `finder-list-matches'
      a81fc7ba
  13. 20 Nov, 2013 1 commit
  14. 04 Nov, 2013 1 commit
  15. 02 Nov, 2013 1 commit
  16. 30 Oct, 2013 1 commit
  17. 29 Oct, 2013 1 commit
  18. 03 Oct, 2013 1 commit
    • Daiki Ueno's avatar
      Add support for package signature checking. · acbadd00
      Daiki Ueno authored
      * lisp/emacs-lisp/package.el (url-http-file-exists-p)
      (epg-make-context, epg-context-set-home-directory)
      (epg-verify-string, epg-context-result-for)
      (epg-signature-status, epg-signature-to-string)
      (epg-check-configuration, epg-configuration)
      (epg-import-keys-from-file): Declare.
      (package-check-signature): New user option.
      (package-unsigned-archives): New user option.
      (package-desc): Add `signed' field.
      (package-load-descriptor): Set `signed' field if .signed file exists.
      (package--archive-file-exists-p): New function.
      (package--check-signature): New function.
      (package-install-from-archive): Check package signature.
      (package--download-one-archive): Check archive signature.
      (package-delete): Remove .signed file.
      (package-import-keyring): New command.
      (package-refresh-contents): Import default keyring.
      (package-desc-status): Add "unsigned" status.
      (describe-package-1, package-menu--print-info)
      (package-menu-mark-delete, package-menu--find-upgrades)
      (package-menu--status-predicate): Support "unsigned" status.
      
      * test/automated/data/package/signed/archive-contents:
      * test/automated/data/package/signed/archive-contents.sig:
      * test/automated/data/package/signed/signed-good-1.0.el:
      * test/automated/data/package/signed/signed-good-1.0.el.sig:
      * test/automated/data/package/signed/signed-bad-1.0.el:
      * test/automated/data/package/signed/signed-bad-1.0.el.sig:
      * test/automated/data/package/key.pub:
      * test/automated/data/package/key.sec: New files.
      
      * test/automated/package-test.el (package-test-update-listing)
      (package-test-update-archives, package-test-describe-package):
      Adjust to package.el change.
      (package-test-signed): New test.
      acbadd00
  19. 01 Oct, 2013 2 commits
  20. 29 Sep, 2013 1 commit
    • Dmitry Gutov's avatar
      * lisp/emacs-lisp/package-x.el (package-upload-buffer-internal): Pass · 056453c6
      Dmitry Gutov authored
      `extras' slot from `package-desc' to `package-make-ac-desc'.
      
      * lisp/emacs-lisp/package.el (package-desc-from-define): Accept
      additional arguments as plist, convert it to an alist and store it
      in the `extras' slot.
      (package-generate-description-file): Convert extras alist back to
      plist and append to the `define-package' form arguments.
      (package--alist-to-plist): New function.
      (package--ac-desc): Add `extras' slot.
      (package--add-to-archive-contents): Check if the archive-contents
      vector is long enough, and if it is, pass its `extras' slot value
      to `package-desc-create'.
      (package-buffer-info): Call `lm-homepage', pass the returned value
      to `package-desc-from-define'.
      (describe-package-1): Render the homepage button.
      
      * test/automated/package-test.el (simple-single-desc-1-4): Remove, it
      was unused.
      (simple-single-desc): Expect :homepage property.
      (multi-file-desc): Same.
      (with-package-test): Do not save previous `default-directory'
      value, let-bind the var instead.
      (package-test-install-single): Expect :homepage property in the
      generated pkg file.
      (package-test-describe-package): Expect Homepage button.
      (package-test-describe-non-installed-package)
      (package-test-describe-non-installed-multi-file-package): Same.
      (package-test-describe-not-installed-package): Remove, it was a
      duplicate.
      
      * test/automated/package-x-test.el
      (package-x-test--single-archive-entry-1-3): Expect :homepage
      property.
      (package-x-test--single-archive-entry-1-4): Expect nil extras slot.
      
      * test/automated/data/package/archive-contents: Add :homepage
      properties to `simple-single' and `multi-file'.
      
      * test/automated/data/package/simple-single-1.3.el: Add URL header.
      
      Fixes: debbugs:13291
      056453c6
  21. 17 Sep, 2013 1 commit
  22. 03 Sep, 2013 1 commit
  23. 28 Aug, 2013 1 commit
  24. 23 Aug, 2013 1 commit
  25. 03 Aug, 2013 1 commit
  26. 22 Jul, 2013 1 commit
  27. 26 Jun, 2013 1 commit
  28. 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
  29. 22 Jun, 2013 1 commit
  30. 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
  31. 18 Jun, 2013 1 commit