1. 19 Mar, 2019 1 commit
  2. 01 Jan, 2019 1 commit
  3. 12 Aug, 2018 1 commit
    • Yuri D'Elia's avatar
      Do not consider external packages to be removable (Bug#27822) · d2ad4ba4
      Yuri D'Elia authored
      Packages which are not directly user-installed shouldn't be autoremoved,
      since they can be setup through a different path (via
      `package-directory-list') where we have no authority over.
      * lisp/emacs-lisp/package.el (package--user-installed-p): New
      function.
      (package--removable-packages): Use it.
      d2ad4ba4
  4. 26 Jun, 2018 1 commit
    • Noam Postavsky's avatar
      Detect a non-list package archive content properly (Bug#22311) · 6f6d5256
      Noam Postavsky authored
      * lisp/emacs-lisp/package.el (package--download-one-archive): Use
      `read' instead of `read-from-string'; the latter always returns a
      cons, so the `listp' check on its return value doesn't make sense.  It
      was changed from `read' to `read-from-string' in 2015-04-01 "*
      emacs-lisp/package.el: Implement asynchronous refreshing", but that
      change was not needed because `read' works fine on strings as well as
      buffers.
      6f6d5256
  5. 16 Feb, 2018 1 commit
  6. 01 Jan, 2018 1 commit
  7. 24 Nov, 2017 1 commit
  8. 24 Oct, 2017 1 commit
  9. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  10. 12 Sep, 2017 1 commit
    • Mark Oteiza's avatar
      Update uses of if-let and when-let · 370d0e7a
      Mark Oteiza authored
      * lisp/dom.el (dom-previous-sibling):
      * lisp/emacs-lisp/package.el (package--with-work-buffer):
      (package--sort-deps-in-alist, package--sort-by-dependence):
      (package-install-from-archive, package-install):
      (package-menu-execute, package-menu--populate-new-package-list):
      * lisp/filenotify.el (file-notify--rm-descriptor):
      (file-notify--event-watched-file, file-notify--event-file-name):
      (file-notify--event-file1-name, file-notify-rm-watch):
      (file-notify-valid-p):
      * lisp/gnus/message.el (message-toggle-image-thumbnails):
      * lisp/gnus/nnimap.el (nnimap-request-move-article):
      * lisp/ibuf-ext.el (ibuffer-repair-saved-filters):
      * lisp/mpc.el (mpc-format):
      * lisp/net/eww.el (eww-tag-meta, eww-process-text-input):
      (eww-save-history):
      * lisp/net/shr.el (shr-tag-base, shr-tag-object, shr-make-table-1):
      * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
      * lisp/svg.el (svg-remove):
      * lisp/textmodes/css-mode.el (css--named-color):
      (css--colon-inside-funcall):
      * lisp/textmodes/sgml-mode.el (html-current-buffer-classes):
      (html-current-buffer-ids): Use if-let* and when-let* instead.
      370d0e7a
  11. 25 Aug, 2017 1 commit
  12. 19 Aug, 2017 1 commit
  13. 19 Jun, 2017 1 commit
  14. 05 Jun, 2017 1 commit
  15. 21 May, 2017 1 commit
  16. 19 May, 2017 1 commit
  17. 09 May, 2017 1 commit
    • Glenn Morris's avatar
      Don't duplicate autoload code in package.el · d6d5020c
      Glenn Morris authored
      * lisp/emacs-lisp/autoload.el (autoload-rubric): Add a package option.
      * lisp/emacs-lisp/package.el (autoload-rubric): Declare.
      (package-autoload-ensure-default-file): Use autoload-rubric.
      d6d5020c
  18. 04 May, 2017 1 commit
  19. 11 Apr, 2017 1 commit
    • Jens Lechtenboerger's avatar
      Introduce customizable variable 'package-gnupghome-dir' · 695eacc2
      Jens Lechtenboerger authored
      * lisp/emacs-lisp/package.el (package-import-keyring)
      (package--check-signature-content, package-check-signature):
      Use new variable package-gnupghome-dir to control which GnuPG
      homedir to use.
      * doc/emacs/package.texi: Mention package-gnupghome-dir.
      * etc/NEWS: Mention package-gnupghome-dir.
      695eacc2
  20. 05 Apr, 2017 1 commit
  21. 04 Apr, 2017 2 commits
  22. 26 Feb, 2017 1 commit
    • Noam Postavsky's avatar
      Don't call package--ensure-init-file if initialized during startup · 6b6cc56e
      Noam Postavsky authored
      * lisp/emacs-lisp/package.el (package-initialize): Check
      `after-init-time' rather than `load-file-name' to decide if
      `package--ensure-init-file' should be called.  Depending on
      `load-file-name' will fail if the user calls `pacakge-initialize' in
      file which is loaded from the init file (Bug#24643, Bug#25819).
      6b6cc56e
  23. 01 Jan, 2017 1 commit
  24. 14 Nov, 2016 1 commit
    • Ken Brown's avatar
      Use the new 'file-name-case-insensitive-p' function · cbed4283
      Ken Brown authored
      * lisp/international/mule.el (auto-coding-alist-lookup):
      * lisp/files.el (file-truename):
      (abbreviate-file-name, set-auto-mode, file-relative-name):
      * package.el (package-untar-buffer): Use
      'file-name-case-insensitive-p' instead of 'system-type' to test
      case-insensitivity.
      cbed4283
  25. 21 Aug, 2016 1 commit
  26. 13 Jul, 2016 1 commit
  27. 26 May, 2016 1 commit
  28. 23 May, 2016 1 commit
    • Paul Eggert's avatar
      Do not trash symlinks to init file · 18a9bc11
      Paul Eggert authored
      If the user’s init file is a symbolic link, do not break the link
      when initializing the package system.  Problem reported by Jackson
      Hamilton (Bug#23050).
      * lisp/emacs-lisp/package.el (package--ensure-init-file):
      Bind find-file-visit-truename when visiting the init file, and
      save and restore the buffer name the way cus-edit does in a
      similar situation (Bug#454).
      18a9bc11
  29. 20 May, 2016 1 commit
  30. 18 May, 2016 2 commits
  31. 14 May, 2016 1 commit
    • Paul Eggert's avatar
      Properly reject malformed or empty package sigs · 6de0715f
      Paul Eggert authored
      Problem report and fix by Lizzie Dixon (Bug#23513).
      * lisp/emacs-lisp/package.el (package--check-signature-content):
      Report an error if no good signatures OR if a fatal error.  Not AND.
      Copyright-paperwork-exempt: yes
      6de0715f
  32. 11 May, 2016 1 commit
  33. 01 May, 2016 1 commit
  34. 30 Apr, 2016 1 commit
  35. 07 Apr, 2016 1 commit
  36. 04 Apr, 2016 1 commit
  37. 01 Mar, 2016 1 commit
  38. 23 Feb, 2016 1 commit