Commit Graph

1255 Commits

Author SHA1 Message Date
Dimitri Fontaine
29009e2b0d Fix parens style in installer. 2011-10-06 09:39:12 +02:00
Dimitri Fontaine
9530bb7a09 Merge pull request #425 from pd/package-method-fix
el-get-package-method should use the package def not the argument passed
2011-10-06 00:33:06 -07:00
Dimitri Fontaine
fd3c11236f Merge pull request #424 from DarwinAwardWinner/installer-fix
Installer fix
2011-10-06 00:32:24 -07:00
Dimitri Fontaine
bda6232c0e Merge pull request #423 from DarwinAwardWinner/build-fix
Don't call shell-quote-argument in el-get-build
2011-10-06 00:28:04 -07:00
Kyle Hargraves
12b15b358b el-get-package-method should use the package def not the argument passed in 2011-10-05 20:01:58 -05:00
Ryan C. Thompson
08fc130581 Delete blank line at EOF 2011-10-05 14:59:11 -07:00
Ryan C. Thompson
321699e462 Load el-get before let-binding el-get variables
Before, the newly-installed el-get package was loaded while
`el-get-default-process-sync` and `el-get-post-install` were
let-bound, which caused their corresponding `defvar` statements to be
ignored, which resulted in a non-functional el-get unless one manually
re-loaded el-get or restarted emacs.
2011-10-05 14:59:02 -07:00
Ryan C. Thompson
72ebbf1b22 Use "or" instead of "if" to choose between alternatives 2011-10-05 14:55:39 -07:00
Ryan C. Thompson
11ef806adc Don't call shell-quote-argument in el-get-build
Also, use slightly more robust type checking on the command.
2011-10-05 14:40:14 -07:00
Dimitri Fontaine
6abbd8a600 Merge pull request #422 from diasjorge/symlink-elpa
Elpa installation error symlinking package
2011-10-04 09:19:16 -07:00
Jorge Dias
e35f6b39bb Formatting symlink command 2011-10-04 15:41:16 +02:00
Dimitri Fontaine
5b17953aa0 Add the headers and licence to methods/el-get-builtin.el 2011-10-04 13:39:09 +02:00
Dimitri Fontaine
5bda0cd8ec Have `el-get-init' consider the 'builtin method rather than duplicating code. 2011-10-04 11:53:35 +02:00
Dimitri Fontaine
f2abf94f06 Merge pull request #419 from pd/builtin-method
'builtin' method
2011-10-04 02:46:27 -07:00
Dimitri Fontaine
8c859782f6 Merge pull request #417 from DarwinAwardWinner/master
Minor fixes to package recipe
2011-10-04 01:15:06 -07:00
Kyle Hargraves
295d6b8f4a Fix ELPA symlink creation type mismatch 2011-10-03 16:13:33 -05:00
Kyle Hargraves
a54ad73fee Add el-get-builtin method, so builtin packages can be "installed" simply 2011-10-03 16:13:07 -05:00
Dimitri Fontaine
3d2f4c5e63 Fix el-get-install-or-init-info, per #418. 2011-10-03 22:06:40 +02:00
Ryan C. Thompson
115b726e39 Add required trailing slash to Marmalade package archive URL 2011-10-03 01:56:14 -07:00
Ryan C. Thompson
ad7fd94f3f Fix stale reference to "package24" 2011-10-02 23:46:11 -07:00
Ryan C. Thompson
f3c57a9396 Use the URL for the last Emacs-23-compatible package.el 2011-10-02 23:45:18 -07:00
Dimitri Fontaine
2ee54e384f Merge pull request #416 from little-arhat/recipe-update-tuareg-mode
point tuareg-mode to location with fresh version
2011-10-02 12:07:11 -07:00
Roman Sokolov
183309df16 point tuareg-mode to location with fresh version 2011-10-02 22:21:54 +04:00
Dimitri Fontaine
d6dc416c74 Fix comments about builtin package inits. 2011-10-02 19:50:17 +02:00
Dimitri Fontaine
9eb20c5d6b Still process recipe's and user's init code for builtin recipes, per #406. 2011-10-02 19:48:21 +02:00
Dimitri Fontaine
5c7f038590 Implement :builtin recipe property and use it for package.rcp, per #406. 2011-10-01 22:31:07 +02:00
Dimitri Fontaine
6648d7854c Remove dictionary-el from the examples, as it's not ready for Emacs24. Per #414. 2011-10-01 21:58:12 +02:00
Dimitri Fontaine
bbb87940d0 Merge pull request #413 from pd/github-website
el-get-describe: guess a project's github URL if no website was defined i
2011-10-01 12:44:41 -07:00
Dimitri Fontaine
02c0f939e0 Merge pull request #412 from pd/descbinds-anything-name-fix
fix the package name in the descbinds-anything recipe
2011-10-01 12:43:10 -07:00
Dimitri Fontaine
7a869f9f3c Merge pull request #411 from haplo/master
Recipe for pony-mode (fixed)
2011-10-01 12:42:51 -07:00
Kyle Hargraves
57ff1cc90e el-get-describe: guess a project's github URL if no website was defined in the recipe 2011-09-30 17:28:26 -05:00
Kyle Hargraves
f161f0b70d fix the package name in the descbinds-anything recipe 2011-09-30 17:27:17 -05:00
Fidel Ramos
c969325671 Recipe for pony-mode. 2011-09-30 23:37:55 +02:00
Dimitri Fontaine
e8edbf7f40 el-get-version 4.0.2 only includes package.el from Emacs24, as the package recipe. 2011-09-30 20:57:06 +02:00
Dimitri Fontaine
7c84e5f61d Fix arguments not properly quoted when building install-info command line, per #408. 2011-09-30 20:54:06 +02:00
Dimitri Fontaine
6eb1318545 use url-retrieve-synchronously in init file, per #407 2011-09-30 20:53:56 +02:00
Dimitri Fontaine
1a01892019 The support for the old package.el is now deprecated, only support package from Emacs24. 2011-09-30 20:48:14 +02:00
Justin Weiss
9f52e36f04 Fixed after => post-init in the yaml-mode recipe
This should probably be a post-init and not an after, so user-defined :after hooks don't override it.
2011-09-29 13:55:12 -07:00
Julien Danjou
1df8d6eb47 fix typo 2011-09-28 21:52:13 +02:00
Dimitri Fontaine
5f5b4132f7 Blind fix bug in el-get-load-package-user-init-file call when el-get-is-lazy. See #405. 2011-09-28 21:16:59 +02:00
Julien Danjou
f8795f7585 Use elpa for rainbow-mode 2011-09-28 20:03:03 +02:00
Julien Danjou
3877b71563 Add google-contacts recipe 2011-09-28 19:58:34 +02:00
Julien Danjou
d20547b816 Add oauth2 recipe 2011-09-28 19:54:38 +02:00
Dimitri Fontaine
5e97788675 Merge pull request #404 from sirech/css-mode
A recipe for css-mode
2011-09-25 07:58:57 -07:00
Dimitri Fontaine
afbf931456 Have php-mode.rcp eagerly load the feature to fix #400 2011-09-23 23:35:19 +02:00
Dimitri Fontaine
8876d9ede2 Merge branch 'refactoring'
This refactoring is about cleaning up the code and separating it into
smaller files (think modules).  We begin to change the internal API to
always receive PACKAGE as a symbol, and the main change is how we deal with
the dependencies.

Rather than allow parallel async operations to happen, we solve the
dependencies upfront by doing a topological sort of the :depends we
recursively read in the recipe files.  That allows us to then install only
one package at a time and to avoid initializing the same package twice in
case of multiple reverse depends in the selection.

That in turns allows to simplify the autoload and the main install code a
lot and goes a long way to fix the bug from issue #400 where a package is
said installed but its autoload are not yet available.

The el-get-methods are also splitted each into their own file and the new
function `el-get-register-method' allows to easily add some more privately
if necessary, and should ease contributing new ones too.

This refactoring merge also brings in some test cases.

The main reason why we can merge such a big refactoring now is that the
master's branch targets el-get contributors or elisp hackers that will
handle the breakage.  The el-get-install.el installer file is targeting the
branch "3.stable" where things still work.  This all new setting of the code
is intended for release 4.1, not before.

Conflicts:
	el-get.el
2011-09-23 23:05:02 +02:00
Dimitri Fontaine
c4ff249c0d Add a test for issue #400.
That's not the same as actually fixing it, but I'm at a loss about how
exactly to do that.
2011-09-23 14:08:31 +02:00
Dimitri Fontaine
976ca293a6 Status file fixes, now that we deal with a package symbol.
There's a difference between 'package and :package even if both are symbolp.
2011-09-23 14:07:50 +02:00
Dimitri Fontaine
f760b1a63a Autoloads fixes. 2011-09-23 14:06:29 +02:00
Dimitri Fontaine
6b6f06567f Fix problems with autoloads.
Note that the new dependencies code ensures that we have only one package
currently installing at any time, so that we don't need timer and defered
autoloads updating anymore.  That simplifies the code a lot, and I think it
fixes issue #400, will check that next.
2011-09-23 11:41:24 +02:00