1. 26 Mar, 2014 1 commit
    • Juanma Barranquero's avatar
      * lisp/emacs-lisp/package.el: Fix bug#16733 (again). · 196716cf
      Juanma Barranquero authored
        (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
        (url-http-target-url): Remove unused declarations.
        (package-handle-response): Remove.
        (package--with-work-buffer): Use url-insert-file-contents and simplify.
        (package--download-one-archive): Use current-buffer instead of
        dynamic binding of `buffer'.
        (describe-package-1): Do not decode readme-string.
      
      * lisp/url/url-handlers.el (url-http-parse-response): Add autoload.
        (url-insert-file-contents): Signal file-error in case of HTTP error.
      196716cf
  2. 24 Mar, 2014 1 commit
    • Dmitry Gutov's avatar
      Fix bug#16762 · 3e2377ce
      Dmitry Gutov authored
      * lisp/emacs-lisp/package.el (package--add-to-archive-contents):
      Include already installed and built-in packages in
      `package-archive-contents'.
      (package-install): Don't include already installed packages in the
      options on interactive invocation.
      3e2377ce
  3. 23 Mar, 2014 1 commit
  4. 22 Mar, 2014 1 commit
    • Dmitry Gutov's avatar
      Fix bug#16873 · 1197f2e6
      Dmitry Gutov authored
      * lisp/emacs-lisp/package.el (package-desc): Use the contents of the
      quoted form, not its cdr.
      1197f2e6
  5. 21 Mar, 2014 1 commit
    • Dmitry Gutov's avatar
      Fix bug#16826 · dcf78667
      Dmitry Gutov authored
      * lisp/emacs-lisp/package.el (package-compute-transaction):
      Use `version-list-<=' to compare the requirement version against
      the package version already to be installed.  Update the error
      message.
      dcf78667
  6. 19 Mar, 2014 1 commit
  7. 14 Mar, 2014 1 commit
  8. 13 Mar, 2014 1 commit
  9. 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
  10. 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
  11. 16 Jan, 2014 2 commits
  12. 15 Jan, 2014 1 commit
  13. 08 Jan, 2014 4 commits
  14. 07 Jan, 2014 1 commit
  15. 01 Jan, 2014 1 commit
  16. 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
  17. 11 Dec, 2013 1 commit
  18. 10 Dec, 2013 1 commit
  19. 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
  20. 20 Nov, 2013 1 commit
  21. 04 Nov, 2013 1 commit
  22. 02 Nov, 2013 1 commit
  23. 30 Oct, 2013 1 commit
  24. 29 Oct, 2013 1 commit
  25. 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
  26. 01 Oct, 2013 2 commits
  27. 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
  28. 17 Sep, 2013 1 commit
  29. 03 Sep, 2013 1 commit
  30. 28 Aug, 2013 1 commit
  31. 23 Aug, 2013 1 commit
  32. 03 Aug, 2013 1 commit
  33. 22 Jul, 2013 1 commit