1. 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.
      b5dc75ae
  2. 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-digest-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-passphrase-callback)
      (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-pubkey-algorithm)
      (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-pubkey-algorithm)
      (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
      cl-defstruct.
      (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
      cl-defstruct.
      (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
      epg-context-set-home-directory.
      e77628bd
  3. 01 Oct, 2014 1 commit
  4. 27 Sep, 2014 1 commit
  5. 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
      package-generate-description-file.
      
      Fixes: debbugs:18332
      559b827d
  6. 26 Jun, 2014 2 commits
  7. 25 Jun, 2014 1 commit
  8. 05 Jun, 2014 2 commits
  9. 03 Jun, 2014 1 commit
  10. 30 May, 2014 2 commits
  11. 28 May, 2014 1 commit
  12. 25 May, 2014 2 commits
  13. 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
      hooks. 
      (describe-package-1): Same.  Insert newline at the end of the
      buffer if appropriate.
      
      Fixes: debbugs:17155
      b0df8b95
  14. 06 May, 2014 1 commit
  15. 28 Mar, 2014 1 commit
  16. 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
  17. 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
  18. 23 Mar, 2014 1 commit
  19. 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
  20. 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
  21. 19 Mar, 2014 1 commit
  22. 14 Mar, 2014 1 commit
  23. 13 Mar, 2014 1 commit
  24. 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
  25. 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
  26. 16 Jan, 2014 2 commits
  27. 15 Jan, 2014 1 commit
  28. 08 Jan, 2014 4 commits
  29. 07 Jan, 2014 1 commit
  30. 01 Jan, 2014 1 commit
  31. 14 Dec, 2013 1 commit
    • 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