1. 17 Jun, 2013 1 commit
  2. 15 Jun, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el: Don't activate packages older than builtin. · 66bd25ab
      Stefan Monnier authored
      (package-obsolete-list): Rename from package-obsolete-alist, and make
      it into a simple list of package-desc.
      (package-strip-version): Remove.
      (package-built-in-p): Use package--builtin-versions.
      (package-mark-obsolete): Simplify.
      (package-process-define-package): Mark it obsolete if older than the
      builtin version.
      (package-handle-response): Use line-end-position.
      (package-read-archive-contents, package--download-one-archive):
      Simplify.
      (package--add-to-archive-contents): Skip if older than the builtin or
      installed version.
      (package-menu-describe-package): Fix last change.
      (package-list-unversioned): New var.
      (package-menu--generate): Use it.
      
      * lisp/Makefile.in (autoloads): Set autoload-builtin-package-versions.
      
      * lisp/startup.el (package--builtin-versions): New var.
      (package-subdirectory-regexp): Remove.
      (package--description-file): Hard code its value instead.
      
      * lisp/emacs-lisp/autoload.el: Manage package--builtin-versions.
      (autoload--insert-text, autoload--insert-cookie-text): New functions.
      (autoload-builtin-package-versions): New variable.
      (autoload-generate-file-autoloads): Use them.
      Remove the list of autoloaded functions/macros from the
      (autoload...) comments.
      66bd25ab
  3. 14 Jun, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more. · 1b8dff23
      Stefan Monnier authored
      (package-desc): Add `dir' field.
      (package-desc-full-name): New function.
      (package-load-descriptor): Combine the two arguments.  Don't use `load'.
      (package-maybe-load-descriptor): Remove.
      (package-load-all-descriptors): Just call package-load-descriptor.
      (package--disabled-p): New function.
      (package-desc-vers, package-desc-doc): Remove aliases.
      (package--dir): Remove function.
      (package-activate): Check if a package is disabled.
      (package-process-define-package): New function, extracted from
      define-package.
      (define-package): Turn into a place holder.
      (package-unpack-single, package-tar-file-info):
      Use package--description-file.
      (package-compute-transaction): Use package--disabled-p.
      (package-download-transaction): Don't call
      package-maybe-load-descriptor since they're all loaded anyway.
      (package-install): Change argument to be a pkg-desc.
      (package-delete): Use a single pkg-desc argument.
      (describe-package-1): Use package-desc-dir instead of package--dir.
      Use package-desc property instead of package-symbol.
      (package-install-button-action): Adjust accordingly.
      (package--push): Rewrite.
      (package-menu--print-info): Adjust accordingly.  Change the ID format
      to be a pkg-desc.
      (package-menu-describe-package, package-menu-get-status)
      (package-menu--find-upgrades, package-menu-mark-upgrades)
      (package-menu-execute, package-menu--name-predicate):
      Adjust accordingly.
      * lisp/startup.el (package--description-file): New function.
      (command-line): Use it.
      * lisp/emacs-lisp/package-x.el (package-upload-buffer-internal):
      Use package-desc-version.
      1b8dff23
  4. 12 Jun, 2013 1 commit
    • Stefan Monnier's avatar
      First part of Daniel Hackney's patch to package.el. · f56be016
      Stefan Monnier authored
      * lisp/emacs-lisp/package.el: Use defstruct.
      (package-desc): New, main struct.
      (package--bi-desc, package--ac-desc): New structs, used to describe the
      format in external files.
      (package-desc-vers): Replace with package-desc-version accessor.
      (package-desc-doc): Replace with package-desc-summary accessor.
      (package-activate-1): Remove `package' arg since the pkg-vec now
      includes the name.
      (define-package): Use package-desc-from-define.
      (package-unpack-single): Change file-name arg to be a symbol.
      (package--add-to-archive-contents): Use package-desc-create and new
      accessor functions to package--ac-desc.
      (package-buffer-info, package-tar-file-info): Return a package-desc.
      (package-install-from-buffer): Remove `type' argument.  Change pkg-info
      arg to be a package-desc.
      (package-install-file): Adjust accordingly.  Use \' to match EOS.
      (package--from-builtin): New function.
      (describe-package-1, package-menu--generate): Use it.
      (package--make-autoloads-and-compile): Change name arg to be a symbol.
      (package-generate-autoloads): Idem and return the name of the file.
      * lisp/emacs-lisp/package-x.el (package-upload-buffer-internal):
      Change pkg-info arg to be a package-desc.
      Use package-make-ac-desc.
      (package-upload-file): Use \' to match EOS.
      * lisp/finder.el (finder-compile-keywords): Use package-make-builtin.
      f56be016
  5. 14 May, 2013 1 commit
  6. 11 May, 2013 1 commit
    • Glenn Morris's avatar
      Fix some declarations · f20def1f
      Glenn Morris authored
      * lisp/faces.el (internal-face-x-get-resource):
      * lisp/frame.el (ns-display-monitor-attributes-list):
      * lisp/calc/calc-aent.el (math-to-radians-2):
      * lisp/cedet/ede/locate.el (cedet-cscope-version-check)
      (cedet-cscope-support-for-directory):
      * lisp/cedet/semantic/grammar.el (semantic-grammar-wy--install-parser):
      * lisp/emacs-lisp/package.el (tar-header-name, tar-header-link-type):
      Fix declarations.
      f20def1f
  7. 27 Apr, 2013 1 commit
  8. 05 Apr, 2013 1 commit
  9. 04 Apr, 2013 2 commits
  10. 13 Feb, 2013 3 commits
  11. 06 Feb, 2013 1 commit
  12. 01 Jan, 2013 1 commit
  13. 29 Dec, 2012 2 commits
  14. 28 Oct, 2012 1 commit
  15. 25 Oct, 2012 1 commit
  16. 24 Sep, 2012 1 commit
  17. 13 Jun, 2012 1 commit
    • Chong Yidong's avatar
      In the Package Menu, indicate packages that are newly-available. · 60057926
      Chong Yidong authored
      * lisp/emacs-lisp/package.el (list-packages): Compute a list of
      packages that are newly-available since the last list-packages
      invocation.
      (package-menu--new-package-list): New var.
      (package-menu--generate, package-menu--print-info)
      (package-menu--status-predicate, package-menu-mark-install):
      Handle new status label "new".
      60057926
  18. 06 May, 2012 1 commit
  19. 05 May, 2012 1 commit
  20. 19 Apr, 2012 1 commit
    • Juanma Barranquero's avatar
      lisp/*: Add declarations, remove unused bindings, mark unused args. · 4d6769e1
      Juanma Barranquero authored
      * lisp/avoid.el (mouse-avoidance-mode): Mark unused arg.
        (mouse-avoidance-nudge-mouse): Remove unused binding.
      
      * lisp/imenu.el (imenu-default-goto-function): Mark unused args.
        (imenu-progress-message): Remove obsolete macro; all callers changed.
      
      * lisp/mouse.el (mouse-menu-major-mode-map):
      * lisp/emacs-lisp/authors.el (authors-scan-change-log)
        (authors-add-to-author-list):
      * lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance):
      * lisp/emacs-lisp/smie.el (smie-auto-fill):
      * lisp/mail/sendmail.el (mail-bury):
      * lisp/mail/unrmail.el (unrmail):
      * lisp/net/tls.el (open-tls-stream):
      * lisp/textmodes/picture.el (picture-mouse-set-point):
        Remove unused bindings.
      
      * lisp/subr.el (keymap-canonicalize): Remove unused binding.
        (read-passwd): Mark unused arg.
      
      * lisp/tutorial.el (tutorial--display-changes): Remove unused binding.
        (tutorial--save-tutorial-to): Remove unused variable.
      
      * lisp/emacs-lisp/package.el (define-package, package-menu-mark-delete)
        (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
        (package-generate-autoloads, package-menu--generate)
        (package-menu--find-upgrades): Remove unused bindings.
      
      * lisp/emulation/cua-rect.el (cua-restrict-regexp-rectangle)
        (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
        (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
        (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
        (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
        (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
        (cua--rectangle-aux-replace, cua--left-fill-rectangle)
        (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
        (cua-delete-char-rectangle): Mark unused args.
        (cua-align-rectangle): Remove unused binding.
      
      * lisp/mail/rmail.el (compilation--message->loc)
        (epa--find-coding-system-for-mime-charset): Declare.
      
      * lisp/net/dbus.el (dbus-register-service): Declare.
        (dbus-name-owner-changed-handler): Remove unused binding.
      
      * lisp/nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
        (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
        (nxml-scan-backward-within): Mark unused arg.
        (nxml-dynamic-markup-word): Remove unused binding.
      4d6769e1
  21. 12 Mar, 2012 1 commit
  22. 04 Mar, 2012 1 commit
  23. 27 Feb, 2012 1 commit
  24. 10 Feb, 2012 1 commit
  25. 28 Jan, 2012 2 commits
  26. 05 Jan, 2012 1 commit
  27. 06 Dec, 2011 1 commit
  28. 20 Nov, 2011 1 commit
  29. 29 Oct, 2011 1 commit
  30. 27 Sep, 2011 1 commit
  31. 18 Sep, 2011 1 commit
    • Juri Linkov's avatar
      Capitalize non-function content words in menu item strings. · 7cc6e154
      Juri Linkov authored
      * lisp/buff-menu.el (Buffer-menu-mode-map):
      * lisp/dired.el (dired-mode-map):
      * lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
      (lisp-interaction-mode-map):
      * lisp/emacs-lisp/package.el (package-menu-mode-map):
      * lisp/epa.el (epa-key-list-mode-map):
      * lisp/menu-bar.el (menu-bar-showhide-tool-bar-menu)
      (menu-bar-options-menu):
      * lisp/outline.el (outline-mode-menu-bar-map):
      * lisp/vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
      * lisp/vc/vc-dir.el (vc-dir-menu-map):
      * lisp/vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
      Capitalize non-function content words in menu item strings.
      
      * lisp/dired.el (dired-mode-map): Add menu item for
      `image-dired-dired-toggle-marked-thumbs'.
      7cc6e154
  32. 15 Sep, 2011 2 commits
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      Add an "mark upgradable packages" command to Package Menu mode. · 25322144
      Chong Yidong authored
      * lisp/emacs-lisp/package.el (package-alist): Fix risky-local-variable
      declaration.
      (package--add-to-archive-contents): If there is a duplicate entry
      with an older version, remove it.
      (package-menu-mark-delete, package-menu-mark-install)
      (package-menu-mark-unmark): Make unused args optional.
      (package-menu-mark-obsolete-for-deletion): Use
      package-menu-get-status instead of a regexp search.
      (package-menu-get-status): Use tabulated-list-entry.
      (package-menu-mark-upgrades): New command.
      (package-menu-mode-map): Bind it to U.
      (package-menu-execute): Do installation before deletion.
      (package-menu-refresh, package-menu-execute): Use derived-mode-p
      instead of checking major-mode.
      (package-menu--find-upgrades): New function.
      25322144
  33. 28 Aug, 2011 1 commit
  34. 26 Aug, 2011 1 commit