Jordi Boggiano
405f876fa6
Merge pull request #204 from simensen/GenerateAutoloadRevised
...
Autoload Generator handles multiple PSR-0 paths
2012-01-18 07:15:26 -08:00
Jordi Boggiano
e4dbee2648
Fix tests
2012-01-17 23:13:35 +01:00
Justin Rainbow
447230d77a
Extracting JsonFile additions for prettifying JSON
2012-01-16 16:42:36 -07:00
Christophe Coevoet
38a5f04ea0
Added a test for the new findPackagesByName method
2012-01-16 22:40:03 +01:00
Jordi Boggiano
098ba8e583
Add test
2012-01-15 14:15:53 +01:00
Beau Simensen
fd5124a632
Standards fixes per @stof (continued, my bad)
2012-01-12 21:48:35 -06:00
Beau Simensen
e8fcf281fa
Autoload Generator handles multiple PSR-0 paths
...
The Autoload Generator was not behaving exactly as expected.
This PR is an alternate version of #203 based on some of
@stof's input on that PR.
The main differences are:
* The main package is added first instead of last
* parseAutoloads returns a different structure:
array('psr-0' => array('Ns\\Foo' => array('installDir')))
* dump and createLoader updated to account for new structure
2012-01-12 21:14:30 -06:00
Jordi Boggiano
56e43e4397
Add tests
2012-01-07 17:04:40 +01:00
Jordi Boggiano
462ebdf752
Detect lock file changes and warn users on install, fixes #75
2012-01-07 17:04:38 +01:00
Jordi Boggiano
8cfbf9e198
Fix update, fixes #125
2011-12-24 14:15:10 +01:00
Jordi Boggiano
94a8e8809c
Fix travis builds
2011-12-21 16:46:23 +01:00
Jordi Boggiano
116b17dfc0
Fix test suite for OSX
2011-12-21 16:43:38 +01:00
Jordi Boggiano
812bf9a2af
Reuse main classloader
2011-12-19 15:15:27 +01:00
Jordi Boggiano
680db4d1da
Fix bug with drive names of different cases
2011-12-18 21:10:10 +01:00
Jordi Boggiano
aefd2062c1
Update tests
2011-12-15 15:14:33 +01:00
Jordi Boggiano
f6b9488bf0
Move root package handling to a dedicated loader and make ArrayLoader more strict
2011-12-13 01:05:29 +01:00
Jordi Boggiano
927be089ba
Added more tests for Filesystem util and some fixes
2011-12-04 22:40:30 +01:00
Jordi Boggiano
21d74328e3
Cosmetic fixes
2011-12-04 22:00:55 +01:00
Jordi Boggiano
4517a2e51e
Added tests and fixed some incorrect behaviors in Filesystem
2011-12-04 18:35:45 +01:00
Jordi Boggiano
abb926a60c
Add tests for autoloader
2011-12-04 18:35:43 +01:00
Jordi Boggiano
7e3f8099b1
Add proxy files for windows instead of copying, removed PEAR-style substitution
2011-12-03 20:44:00 +01:00
Jordi Boggiano
aa94918d50
Add binaries support in composer
2011-12-03 15:39:06 +01:00
Nils Adermann
a0faa4f69f
Add a test for the complex conflict resolution fixed in #118
2011-11-25 23:35:58 +01:00
Jordi Boggiano
e340022cce
Allow the use of self.version in package links
2011-11-23 16:47:23 +01:00
Jordi Boggiano
22858e81ef
Fix .* version constraints parsing to include nonstable versions
2011-11-23 16:41:27 +01:00
Jordi Boggiano
14e9d4d84b
Fix test
2011-11-21 18:19:32 +01:00
Jordi Boggiano
f5b7e968b2
Minor adjustments to merged PR
2011-11-20 22:03:11 +01:00
Jordi Boggiano
5b87a02767
Merge remote-tracking branch 'prodigitalson/master'
2011-11-20 21:43:31 +01:00
Jordi Boggiano
deb6ecd49b
Fix tests
2011-11-20 21:20:03 +01:00
Jordi Boggiano
b125926ad3
Fix tests
2011-11-20 15:46:15 +01:00
Jordi Boggiano
8e6f8ae57e
Add prettyVersion to packages, fixes #76
2011-11-20 15:06:12 +01:00
Nils Adermann
4140f08d9c
Use a map of installed package ids in the solver
...
The assumption package.repo == installed no longer holds for installed
packages because there are multiple wrapped installed repositories.
2011-11-19 00:27:35 +01:00
Ant Cunningham
e0400773f7
Adding support for configurable vendor path in composer.json.
2011-11-18 13:31:50 -05:00
Jordi Boggiano
b7f6cf69ab
Add tests and fixes some issues
2011-11-05 23:54:05 +01:00
Jordi Boggiano
9c14d10641
Adjust tests to work with composer autoloader
2011-11-04 11:12:50 +01:00
Jordi Boggiano
066a0db752
Add detection for unescaped backslashes
2011-11-01 16:02:56 +01:00
Jordi Boggiano
f5aa3e6c79
Add detection for extra commas in arrays
2011-11-01 14:13:22 +01:00
Jordi Boggiano
c129d570e8
Add more json validation rules
2011-10-31 15:01:46 +01:00
Jordi Boggiano
6b6d6b6d82
Add --dev flag to InstallCommand to do source installs, fixes #26
2011-10-30 20:59:41 +01:00
Jordi Boggiano
36a724fa51
Search only for packages from the local repository in the locker
2011-10-30 20:29:52 +01:00
Jordi Boggiano
4904e76185
Install every package in its own directory, fixes #73
2011-10-30 19:10:37 +01:00
Fabien Potencier
9c739e71c2
Add some unit tests
2011-10-30 09:10:49 +01:00
Fabien Potencier
1450ebd837
Fix bug in an exception, added unit tests
2011-10-30 09:09:46 +01:00
Jordi Boggiano
89caa9b117
Rewrite autoloader to use only PSR-0, remove splitting of PEAR path
2011-10-27 22:09:01 +02:00
Jordi Boggiano
5e52d5c1ad
Fix tests
2011-10-23 19:55:43 +02:00
Jordi Boggiano
c33fc80d23
Add supports() to the InstallerInterface
2011-10-23 19:40:24 +02:00
Jordi Boggiano
8a571c05db
Fix issues in new autoloader code
2011-10-23 19:40:22 +02:00
Nils Adermann
e16c3f0626
Remove useless test, packages providing different versions aren't alternatives
2011-10-22 17:26:42 +02:00
Nils Adermann
0801d8ed31
Enable solver test regarding replaced packages after policy fix
2011-10-22 17:23:23 +02:00
Nils Adermann
571c14adf9
Prefer original packages over replaced packages of same repository priority
2011-10-22 17:20:45 +02:00