1
0
Fork 0
Commit Graph

570 Commits (03b9d73af5531692640a48ab0146f3fce6d5b819)

Author SHA1 Message Date
Benjamin Eberlei d26932cc7e Fallback to PHP early if proc_open not allowed. 2012-11-19 10:29:32 +01:00
Jordi Boggiano 2719fb7e20 Merge remote-tracking branch 'christeredvartsen/script-dev-aware' 2012-11-18 12:04:19 +01:00
Christer Edvartsen 4b8813269c Pass the current dev mode to the event dispatcher, which in turn passes it to the events fired. This can be fetched in scripts to check which mode we are currently in 2012-11-15 17:16:25 +01:00
Beau Simensen 752fa64704 Added addLink and removeLink to Configuration Source Interface
* Added addLink() and removeLink() to `ConfigSourceInterface`
 * Added addLink() and removeLink() implementations to `JsonConfigSource`
 * Added tests (+ a ton of fixtures) for `JsonConfigSource`
 * Added additional docblocks
 * Minor PSR-1/PSR-2 fixes here and there
2012-11-14 09:03:11 -08:00
Jordi Boggiano de3188ca7d Remove target dir for classmap autoloads of the root package, fixes #1308 2012-11-13 17:09:22 +01:00
Jordi Boggiano 24963fb4c8 Fix handling of arrays in json manipulator 2012-11-13 12:49:23 +01:00
Jordi Boggiano 75da832cd3 Fix parsing of large files that go over the PCRE limits 2012-11-12 12:33:46 +01:00
Victor Berchet 86bb1be61f [ClassMapGeneratot] Filter out non php code
Otherwise files like https://github.com/propelorm/Propel/blob/master/generator/lib/behavior/i18n/templates/queryUseI18nQuery.php
would fail ("class" keyword would not be filtered out by php_strip_whitespace())
2012-11-12 09:15:35 +01:00
Victor Berchet ab48114531 [ClassMapGenerator] Improve error message when the path does not exist
i.e. the composer.json has a typo
2012-11-12 07:33:15 +01:00
Victor Berchet ff5c428d60 [ClassMapGenerator] Refine the findClasses method
The code could not throw
2012-11-12 07:32:47 +01:00
Jordi Boggiano 5f3814bd05 Add test building phar and run functional tests with the phar, refs #1155 2012-11-11 17:09:57 +01:00
Jordi Boggiano 5a763cf010 Fix scanning of empty namespace{} blocks 2012-11-11 16:29:49 +01:00
Jordi Boggiano 62d0ea7656 Circumvent cache in functional tests 2012-11-11 15:52:37 +01:00
Jordi Boggiano 374e16beec Merge branch 'autoloadmulti' 2012-11-11 15:35:28 +01:00
Jordi Boggiano 5a9d986e67 Implement cache GC and fix keys 2012-11-10 23:17:36 +01:00
Jordi Boggiano 487e66d0a9 Allow loading of multiple composer autoloaders concurrently, fixes #1248 2012-11-10 21:54:23 +01:00
Jordi Boggiano 6d38709fe8 Fix create project test 2012-11-10 19:42:29 +01:00
Jordi Boggiano 6a9215012d Merge remote-tracking branch 'igorw/dep-manager-consistent-naming' 2012-11-08 15:05:46 +01:00
Jordi Boggiano 4f5d08e2ad Add InvalidRepositoryException 2012-11-08 15:05:00 +01:00
Igor Wiedler 4959c2bdc6 Replace references of a11n with a12n where appropriate
Authorization => Authentication.
2012-11-07 13:34:31 +01:00
Igor Wiedler e7c7e2f70d Consistently describe composer as dep mgr as opposed to package mgr
Closes #1207.
2012-11-07 13:16:47 +01:00
Jordi Boggiano bb685d9c7f Fix license validation and add feedback of values to ease reading 2012-11-05 20:04:29 +01:00
Jordi Boggiano cbd91b5952 Fix FILTER_VALIDATE_URL not supporting IDNs 2012-11-05 15:39:43 +01:00
Jordi Boggiano e05391dc44 Improve validating array loader to avoid false positives 2012-11-05 14:18:04 +01:00
Jordi Boggiano 967c771b26 Add warnings to ValidatingArrayLoader that are simply stripped by default, add reporting of warnings when loading branches 2012-11-05 12:08:02 +01:00
Jordi Boggiano 1682532b80 Update code to use new github archive URLs 2012-11-04 14:01:22 +01:00
Jordi Boggiano 0878c6deab Fix nodeload fallback URLs 2012-11-04 11:19:28 +01:00
Jordi Boggiano 4b531771bd Add validators for package links and minimum-stability 2012-11-02 15:14:09 +01:00
Jordi Boggiano 1c39ad779b Fix wording 2012-10-31 18:34:27 +01:00
Jordi Boggiano 5d78fa6ce6 Report typos in package name if no version matches 2012-10-31 18:20:54 +01:00
Chris Smith 7681b4cc85 Add test covering the new and old repository formats 2012-10-22 22:44:56 +01:00
Jordi Boggiano 083ca464b3 Merge remote-tracking branch 'johnkary/cliEvents' 2012-10-22 18:57:51 +02:00
Jordi Boggiano bebd1ce9c7 Always check for OAuth token in git config, fixes #1243 2012-10-22 17:11:34 +02:00
Jordi Boggiano 7aab7c6297 Fix StreamContextFactory tests 2012-10-21 17:57:16 +02:00
Jordi Boggiano 39e69a3b12 Refactor OAuth acquisition code to generalize it 2012-10-21 17:56:57 +02:00
Jordi Boggiano 573e4b2a7c Merge branch 'newrepo' 2012-10-21 14:18:00 +02:00
Jordi Boggiano a59a5c4581 Merge remote-tracking branch 'simensen/sem-version-support' 2012-10-19 13:55:47 +02:00
Jordi Boggiano 44c271a477 Merge remote-tracking branch 'simensen/less-than-dev' 2012-10-19 13:43:03 +02:00
Jordi Boggiano ed9fcc5074 Fix tests 2012-10-19 12:25:53 +02:00
Jordi Boggiano 0a3097c569 Merge remote-tracking branch 'bboer/feature/svn-alternative-structures'
Conflicts:
	src/Composer/Repository/Vcs/GitHubDriver.php
2012-10-19 12:19:19 +02:00
Jordi Boggiano e0ce22f7cc Fix tests 2012-10-18 18:43:31 +02:00
Jordi Boggiano e79e7dcd8d Merge remote-tracking branch 'hason/classgenerator' 2012-10-17 17:19:23 +02:00
Jordi Boggiano f752b29fc6 Always make sure we are on the right branch 2012-10-17 17:15:49 +02:00
Martin Hasoň 1ff1b8ac1f Sorted generated classmap 2012-10-17 12:00:45 +02:00
Martin Hasoň c63f0d9642 Preserved original position of package if required packages are before this 2012-10-17 10:50:53 +02:00
Jordi Boggiano 3068f29b4f Checkout branch by name when the current reference matches the branch tip, fixes #1164 2012-10-17 10:49:54 +02:00
Martin Hasoň e75abcbb41 Fixed order of packages in the classmap autoloader 2012-10-17 01:40:15 +02:00
Martin Hasoň b683aeb586 Fix expected values in tests for autoloader generator 2012-10-17 01:00:11 +02:00
Jordi Boggiano beb9a5bd72 Code optimizations: avoid loops in match() 2012-10-14 16:35:32 +02:00
Jordi Boggiano 18492a1f84 Remove Pool::getMaxId and the solver's reliance on it 2012-10-12 18:45:41 +02:00