1086 Commits (b4dd86c2477d0611cf203a88a24afb9abdd56ecc)
 

Author SHA1 Message Date
Jordi Boggiano 32157a3904 Fix local git repo handling in GitDriver 13 years ago
Nils Adermann 9b8e62396c Merge pull request #324 from edorian/installNonExistingPackage
Create an 'impossible rule' when installing non existent packages
13 years ago
Jordi Boggiano 57ac535dc8 Merge pull request #326 from naderman/master
Add getVersionConstraint test case to avoid version normalization issues
13 years ago
Nils Adermann 3b06a22e69 Add getVersionConstraint test case to avoid version normalization issues 13 years ago
Nils Adermann af408eee9a Fix line endings of Composer TestCase 13 years ago
Jordi Boggiano 1f311de982 Merge pull request #325 from naderman/fix-watches-infinite-loop
When changing watched literals of a rule, update the parent's next pointer
13 years ago
Nils Adermann 2a92b904d2 Correct placing of braces 13 years ago
Volker Dusch f304a0f129 Clean up the incomplete marker like suggested in https://github.com/composer/composer/pull/324#r465391 13 years ago
Nils Adermann 1ee5d99405 When changing watched literals of a rule, update the parent's next pointer
The previous rule was not previously updated to point to the next rule when
removing a middle rule from the watch tree for a literal. This resulted in
jumping from one literal's watch tree to another's, which could then jump
back to the original and cause infinite loop in a case like #265.

Fixes #265
13 years ago
Volker Dusch e20a79ac61 Fix TODO tags to confirm with the projects standard 13 years ago
Nils Adermann 8484199677 Display undecided literals as undecided with a ?, when printing the decision map 13 years ago
Nils Adermann 0b8fb68e93 Add a debug print method for the entire watch tree to the solver 13 years ago
Igor Wiedler 57c13df37e [docs] chapter about the cli 13 years ago
Jordi Boggiano fd0bf14eb2 Support both require and requires as depends link-type arg 13 years ago
Volker Dusch eafe13d5a5 Create an impossible rule when trying to install something that doesn't exist.
The rule isn't acted upon yet (hence the incomplete test) but it is there as a reminder that this case needs to be handled.
13 years ago
Igor Wiedler 7a66eb3367 [docs] add a note about the lock file to the libs chapter 13 years ago
Jordi Boggiano c97a33577b Merge pull request #321 from naderman/error-reporting
Basic error reporting for solver problems
13 years ago
Nils Adermann e6143d1584 Add todos to explain why try/catch is inside the test 13 years ago
Nils Adermann 52d876e11e Add SolverProblemsException and test basic solver failures 13 years ago
Nils Adermann 8fd4e56029 Deciding to install a package and wanting to install it, is not a conflict 13 years ago
Igor Wiedler 868fc255b1 [docs] add section about publishing to vcs and on packagist 13 years ago
Jordi Boggiano f54b04aac8 Restore realpath behavior 13 years ago
Igor Wiedler f4984e9a1e [docs] first parts of the libraries chapter 13 years ago
Nils Adermann fea16b39a1 Merge pull request #318 from edorian/remove-allowUninstall
Remove the allowUninstall policy option and clean up the only usage
13 years ago
Volker Dusch 3fb75faa75 Now that no more update rules are created the code that handles them can be removed too.
Also adapted the tests that used TYPE_UPDATE exemplarily to use TYPE_FEATURE.
13 years ago
Igor Wiedler 33f49462bd [docs] adjust wildcard version constraint explanation 13 years ago
Volker Dusch ec61297122 Remove the allowUninstall policy option and clean up the only usage 13 years ago
Igor Wiedler b56ae1a484 [docs] add section about packagist 13 years ago
Igor Wiedler e825ceaea0 [docs] basic usage chapter 13 years ago
digitalkaoz 0b6bfe6f63 Merge branch 'master' of https://github.com/composer/composer 13 years ago
Nils Adermann cbc021c05d featureRule no longer exists, only update rule 13 years ago
Nils Adermann 54a8dc1d9c Merge pull request #317 from edorian/remove-allowDowngrade
Removed the option to disallowed downgrades
13 years ago
Volker Dusch 5fdca19880 Removed the option to disallowed downgrades and simplifed some places where it was used 13 years ago
Nils Adermann 1dd15e5662 Merge pull request #316 from edorian/solver-update-tests
Some added update tests
13 years ago
Jordi Boggiano e2199b2b03 Fixed automatic date parsing of versions 13 years ago
Jordi Boggiano 230e145053 Fix downloader tests on windows and mock Filesystem properly 13 years ago
Volker Dusch a8b2db64d5 Expaned the update tests to make sure a) Only requested updates execute and b) Installed repos with no actions get pruned from the jobqueue 13 years ago
Nils Adermann e7441edcf1 Merge pull request #315 from edorian/cleanup-update-all
Cleanup unreachable code
13 years ago
Jordi Boggiano a28fa790be Fix regex 13 years ago
Volker Dusch cc80e5a3b1 Cleanup unreachable code 13 years ago
Igor Wiedler 61d24acaa2 [docs] introduction chapter 13 years ago
Nils Adermann 8aa0127de8 Remove test of undefined behaviour for unknown types in rulesets 13 years ago
Nils Adermann 7609f27052 Merge branch 'add-tests' of https://github.com/l3l0/composer into new-master
* 'add-tests' of https://github.com/l3l0/composer:
  Made fixes after review.
  Made changes which fied warnings and errors in tests.
  Fixed tests after update and merge of changes from upstream/master
  Fixed code. Changes improved code testability
  Added and extended some unit tests
13 years ago
Jordi Boggiano 5e3bf86851 Remove .swp file 13 years ago
Jordi Boggiano 0ee505a246 Merge pull request #314 from edorian/solver-visibility
Clean up Solver public api
13 years ago
Volker Dusch fb69ef64c5 Fix Solver function visibility to reflect what acutally should be the public interface 13 years ago
Jordi Boggiano 43ce9ab14f Merge pull request #313 from naderman/fix-assert
Add a test for the off by one error in solver conflict resolution
13 years ago
Nils Adermann 460822fb96 Fix indentation of doc comment 13 years ago
Nils Adermann 3b54316e91 Add a test for the off by one error in solver conflict resolution 13 years ago
Nils Adermann 3167cccb6f Merge pull request #311 from Seldaek/allow_local_fs
Allow local file system git repos & do not restrict to valid http* urls
13 years ago