Commit Graph

1069 Commits

Author SHA1 Message Date
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
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
Dimitri Fontaine
a2202e9212 Use our new dependencies tracking code at init time too. 2011-09-23 11:39:12 +02:00
Dimitri Fontaine
2f0170612e Have the tests depend on -L for the load-path, for portability. 2011-09-23 11:33:30 +02:00
Dimitri Fontaine
c1129b79d5 Move el-get-as-list, string and symbol to el-get-core 2011-09-23 11:32:40 +02:00
Dimitri Fontaine
6b989f2e3c Merge branch 'refactoring' of github.com:dimitri/el-get into refactoring 2011-09-23 09:33:48 +02:00
Dimitri Fontaine
0216fc44fb Quote arguments when using start-process-shell-command.
Manual "backport" of 1cbff4af37.
2011-09-22 22:06:32 +02:00
Dimitri Fontaine
7e0944a805 Fix typo in descbinds-anything recipe. 2011-09-22 22:04:12 +02:00
Julien Barnier
c4046736a4 Add pwsafe.el recipe 2011-09-22 22:03:55 +02:00
Julien Barnier
8e2e74a8a9 Add recipe for color-theme-tangotango 2011-09-22 22:03:42 +02:00
Dimitri Fontaine
dc164b903a Tell `el-get-load-package-user-init-file' about PACKAGE being as symbol. 2011-09-22 21:58:22 +02:00
Dimitri Fontaine
2dc060fd58 M-x delete-trailing-whitespace test/test.el. 2011-09-22 21:48:31 +02:00
Dimitri Fontaine
8db0c4d49b Fix the refactoring so that it actually works.
This includes teaching methods that they now work with a symbolp PACKAGE,
some more cleaning up, and some load-path adjustments now that a part of the
code is in a subdirectory (methods).

Also include some of the tests used to convince oneself that the refactoring
didn't break any and all use cases for el-get, with some rough documentation
about how to use them.
2011-09-22 21:48:11 +02:00
Hannu Koivisto
1cbff4af37 Quote arguments when using start-process-shell-command
Fixes installation failure on cases when $HOME contains spaces.

Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
2011-09-22 17:27:36 +02:00
Dimitri Fontaine
032fdf6524 Fix typo in descbinds-anything recipe. 2011-09-22 16:42:50 +02:00
Dimitri Fontaine
516a244890 Ensure package is a symbol 2011-09-22 12:12:04 +02:00
Dimitri Fontaine
7a4a744d98 Simplify `el-get-install' and dependencies management.
This refactoring branch will need some testing at some point…
2011-09-21 16:06:18 +02:00
Dimitri Fontaine
dbd44bdfc2 Clean up el-get-dependencies API. 2011-09-21 11:59:10 +02:00
Dimitri Fontaine
700d68b3e6 Merge pull request #401 from juba/master
Recipe for color-theme-tangotango
2011-09-20 14:05:52 -07:00
Dimitri Fontaine
62a246cc21 Implement topological-sort, porting the common lisp example from rosettacode.org. 2011-09-20 22:59:31 +02:00
Mario Fernandez
2f38459708 add css mode from elpa 2011-09-20 22:58:47 +02:00
Dimitri Fontaine
9efb25fc4c Rewrite `el-get-dependencies' to actually traverse the dependency graph. 2011-09-20 22:11:38 +02:00
Dimitri Fontaine
c273d96fac Get rid of el-get-demand1. 2011-09-20 17:55:14 +02:00
Dimitri Fontaine
aec9264c28 Implement el-get-register-method properly. 2011-09-20 17:38:04 +02:00
Julien Barnier
67b0d5c7e4 Add pwsafe.el recipe 2011-09-20 15:25:32 +02:00
Dimitri Fontaine
0433ca0ce9 Refactoring it all: a beginning. No time for testing yet, just showing ideas. 2011-09-20 15:15:52 +02:00
Julien Barnier
cab4436568 Add recipe for color-theme-tangotango 2011-09-20 15:12:50 +02:00
Julien Danjou
0417d19177 Merge el-get-do-install and el-get-demand1
It's used only once.

Signed-off-by: Julien Danjou <julien@danjou.info>
2011-09-20 10:54:10 +02:00
Dimitri Fontaine
c9a772db9b Adjust the comment version string to 4.0. 2011-09-19 10:55:20 +02:00
Dimitri Fontaine
20b2bb668a Review using el-get-dir in the installer. 2011-09-19 10:55:01 +02:00
Dimitri Fontaine
69637cacab Merge pull request #399 from yibe/master
el-get-install.el: Allow users to change the install directory
2011-09-19 01:52:48 -07:00
Yuki Ibe
c6dce4531a el-get-install.el: Allow users to change the install directory 2011-09-19 04:22:34 +09:00
Dimitri Fontaine
c269dff963 Update el-get-version to 4.0.0.
This is the first version number of the 4.0 branch, I will update the third
number every once in a while on the road to 4.1 (next stable version).
2011-09-17 21:20:09 +02:00
Dimitri Fontaine
b16e0b685d Merge branch 'master' of github.com:dimitri/el-get 2011-09-17 18:11:00 +02:00
Dimitri Fontaine
031f65abf0 New recipe for descbind-anything 2011-09-17 18:10:09 +02:00
Dimitri Fontaine
5515eaeccd Have the latest released version be 3.1 in the docs. 2011-09-16 14:16:50 +02:00
Dimitri Fontaine
0cc64d605f Merge pull request #397 from DamienCassou/eclim-recipe
A new recipe for Eclim which exposes Eclipse features to Emacs
2011-09-16 04:52:53 -07:00
Damien Cassou
b4b5f4b183 A new recipe for Eclim which exposes Eclipse features to Emacs 2011-09-16 13:03:52 +02:00