1. 18 Jan, 2015 2 commits
  2. 17 Jan, 2015 6 commits
  3. 16 Jan, 2015 1 commit
    • Jorgen Schaefer's avatar
      Package archives now have priorities. · b689b906
      Jorgen Schaefer authored
      * lisp/package.el: Provide repository priorities.
      (package-archive-priorities): New variable.
      (package--add-to-alist): New function.
      (package--add-to-archive-contents): Use it.
      (package-menu--find-upgrades): Use it as well. Small clean up to
      make the use of the package name here explicit.
      (package-archive-priority): New function.
      (package-desc-priority-version): New function.
      Fixes: debbugs:19296
  4. 01 Jan, 2015 1 commit
  5. 18 Dec, 2014 4 commits
    • Sam Steingold's avatar
      Fix the `with-demoted-errors' calls · f87eff57
      Sam Steingold authored
      * lisp/emacs-lisp/package.el (package-activate-1): Fix the
      `with-demoted-errors' calls: the first argument must be a string literal.
    • Sam Steingold's avatar
      Avoid a compilation warning · 0f765f45
      Sam Steingold authored
      * lisp/emacs-lisp/package.el: Avoid a compilation warning by declaring
      the `find-library-name' function.
    • Dmitry Gutov's avatar
      Fixes: debbugs:19390 · 36c43e95
      Dmitry Gutov authored
      * lisp/emacs-lisp/package.el (package-activate): Do not re-activate or
      reload the dependencies.
    • Dmitry Gutov's avatar
      Don't reload packages at startup · 18d4bdf1
      Dmitry Gutov authored
      Fixes: debbugs:19390
      * lisp/emacs-lisp/package.el (package-activate-1): Add RELOAD argument
      and a docstring.
      (package-activate): Call itself on dependencies on PACKAGE with
      the same FORCE argument.  Pass FORCE as RELOAD into
      `package-activate-1' .
  6. 17 Dec, 2014 2 commits
  7. 14 Dec, 2014 1 commit
  8. 13 Dec, 2014 2 commits
  9. 06 Nov, 2014 2 commits
  10. 24 Oct, 2014 1 commit
    • Vincent Belaïche's avatar
      * ses.el (macroexp): add require for this package, so that function · b5dc75ae
      Vincent Belaïche authored
      `ses--cell gets macroexp-quote.
      (ses--cell): makes formula a macroexp-quote of value when formula
      is nil. The rationale of this changr is to allow in the future
      shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
      instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
      reference list REFLIST would be re-computed after load --- thus
      trading off load time against file size.
      * emacs-lisp/package.el (package--alist-to-plist-args): use
      macroexp-quote instead of a lambda expression which has the same
      content as macroexp-quote.
      (macroexp): add require for this package, so that function
      `package--alist-to-plist-args' gets macroexp-quote.
      * emacs-lisp/macroexp.el (macroexp-quote): new defun.
  11. 23 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/epg.el: Use cl-defstruct. · e77628bd
      Stefan Monnier authored
      (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
      (epg-data-string): Define via cl-defstruct.
      (epg--gv-nreverse): New macro.
      (epg-context--make): New constructor (provided vi cl-defstruct).
      (epg-make-context): Rewrite using it.
      (epg-context-protocol, epg-context-program)
      (epg-context-home-directory, epg-context-armor, epg-context-textmode)
      (epg-context-include-certs, epg-context-cipher-algorithm)
      (epg-context-digest-algorithm, epg-context-compress-algorithm)
      (epg-context-passphrase-callback, epg-context-progress-callback)
      (epg-context-signers, epg-context-sig-notations, epg-context-process)
      (epg-context-output-file, epg-context-result, epg-context-operation)
      (epg-context-pinentry-mode): Define using cl-defstruct.
      (epg-context-set-protocol, epg-context-set-program)
      (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
      (epg-context-set-sig-notations, epg-context-set-process)
      (epg-context-set-output-file, epg-context-set-result)
      (epg-context-set-operation, epg-context-set-pinentry-mode)
      (epg-context-set-compress-algorithm): Remove.  Use setf instead.
      (epg-context-set-armor, epg-context-set-textmode)
      (epg-context-set-signers): Redefine using setf
      and declare as obsolete.
      (epg-context-set-progress-callback): Use setf.
      (epg-signature-notations): Rename from epg-sig-notations.
      (epg-make-signature, epg-signature-status, epg-signature-key-id)
      (epg-signature-validity, epg-signature-fingerprint)
      (epg-signature-creation-time, epg-signature-expiration-time)
      (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
      (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
      (epg-signature-set-status, epg-signature-set-key-id)
      (epg-signature-set-validity, epg-signature-set-fingerprint)
      (epg-signature-set-creation-time, epg-signature-set-expiration-time)
      (epg-signature-set-digest-algorithm, epg-signature-set-class)
      (epg-signature-set-version, epg-signature-set-notations): Remove.
      Use setf instead.
      (epg-make-new-signature, epg-new-signature-type)
      (epg-new-signature-digest-algorithm, epg-new-signature-class)
      (epg-new-signature-creation-time, epg-new-signature-fingerprint):
      Define using cl-defstruct.
      (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
      (epg-key-user-id-list): Define using cl-defstruct.
      (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
      Use setf instead.
      (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
      (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
      (epg-sub-key-id, epg-sub-key-creation-time)
      (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
      (epg-sub-key-set-fingerprint): Remove.  Use setf instead.
      (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
      (epg-user-id-signature-list): Define using cl-defstruct.
      (epg-user-id-set-signature-list): Remove.  Use setf instead.
      (epg-make-key-signature, epg-key-signature-validity)
      (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
      (epg-key-signature-creation-time, epg-key-signature-expiration-time)
      (epg-key-signature-user-id, epg-key-signature-class)
      (epg-key-signature-exportable-p): Define using cl-defstruct.
      (epg-make-sig-notation, epg-sig-notation-name)
      (epg-sig-notation-value, epg-sig-notation-human-readable)
      (epg-sig-notation-critical): Define using cl-defstruct.
      (epg-sig-notation-set-value): Remove.  Use setf instead.
      (epg-make-import-status, epg-import-status-fingerprint)
      (epg-import-status-reason, epg-import-status-new)
      (epg-import-status-user-id, epg-import-status-signature)
      (epg-import-status-sub-key, epg-import-status-secret): Define using
      (epg-make-import-result, epg-import-result-considered)
      (epg-import-result-no-user-id, epg-import-result-imported)
      (epg-import-result-imported-rsa, epg-import-result-unchanged)
      (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
      (epg-import-result-new-signatures, epg-import-result-new-revocations)
      (epg-import-result-secret-read, epg-import-result-secret-imported)
      (epg-import-result-secret-unchanged, epg-import-result-not-imported)
      (epg-import-result-imports): Define using cl-defstruct.
      * lisp/emacs-lisp/package.el: Require EPG during macroexpansion.
      (package--check-signature, package-import-keyring): Use setf instead of
  12. 01 Oct, 2014 1 commit
  13. 27 Sep, 2014 1 commit
  14. 02 Sep, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el (package-generate-description-file): · 559b827d
      Stefan Monnier authored
      Properly quote the arguments.  Change second arg.
      (package--alist-to-plist-args): Rename from package--alist-to-plist and
      quote the elements.
      (package--make-autoloads-and-stuff): Fix the test for pre-existence of
      the *-pkg.el file.  Adjust to new calling convention of
      Fixes: debbugs:18332
  15. 26 Jun, 2014 2 commits
  16. 25 Jun, 2014 1 commit
  17. 05 Jun, 2014 2 commits
  18. 03 Jun, 2014 1 commit
  19. 30 May, 2014 2 commits
  20. 28 May, 2014 1 commit
  21. 25 May, 2014 2 commits
  22. 21 May, 2014 1 commit
    • Dmitry Gutov's avatar
      Replace uses of `save-buffer' with `write-region' · b0df8b95
      Dmitry Gutov authored
      * lisp/emacs-lisp/package.el (package--download-one-archive): Use
      `write-region' instead of `save-buffer' to avoid running various
      (describe-package-1): Same.  Insert newline at the end of the
      buffer if appropriate.
      Fixes: debbugs:17155
  23. 06 May, 2014 1 commit
  24. 28 Mar, 2014 1 commit