275 Commits (ef41f136f842b6b47f3c9b83418f436dc36b0af0)

Author SHA1 Message Date
Jordi Boggiano f18839c350 Fix var override, fixes #1061 12 years ago
Pascal Borreli 83fd3967f0 Fixed PHPDoc 12 years ago
Pascal Borreli 5eead93250 Fixed typos 12 years ago
Jordi Boggiano 125ff3e4f5 Fix root aliasing with new providers repo format 12 years ago
Jordi Boggiano eceda0ffc7 Fix regression introduced in beb9a5bd72 12 years ago
Jordi Boggiano 5978197b5d Reset package IDs before they can be used in the pool in case there are already some in the cache 12 years ago
Jordi Boggiano 6a03e4f9ac Code optimizations: Avoiding counting repeatedly 12 years ago
Jordi Boggiano beb9a5bd72 Code optimizations: avoid loops in match() 12 years ago
Jordi Boggiano 21a0ae9cad Cache whatProvide calls 12 years ago
Jordi Boggiano a3f9accd37 Fix various dumb issues 12 years ago
Jordi Boggiano 9369f48dcd Fix package id 12 years ago
Jordi Boggiano 18492a1f84 Remove Pool::getMaxId and the solver's reliance on it 12 years ago
Jordi Boggiano c0e5736ae7 Add support for one-file-per-provider composer repositories 12 years ago
Jordi Boggiano a8171f5be0 Display prettier messages for second-degree required exts to avoid confusion 12 years ago
Jordi Boggiano ded485dd60 Fix root aliasing and allow aliasing using the branch-alias as source 12 years ago
Tim Heil 6c1820d006 Add troubleshooting URL to error message 12 years ago
Jordi Boggiano 6f77df296a Speed up Pool::match for common case 12 years ago
Jordi Boggiano 9965f02951 Clean up link creation 12 years ago
Jordi Boggiano 8a275336a1 CS cleanups 12 years ago
Jordi Boggiano e46d26cb9b Add loadAliasPackage to the StreamableRepositoryInterface and clear up responsibilities between Pool and Repositories 12 years ago
Jordi Boggiano 9a1fd450b0 Remove code duplication 12 years ago
Jordi Boggiano 62ead24b61 Rename variable for clarity 12 years ago
Jordi Boggiano 25142c5351 Clarify variable variable usage 12 years ago
Jordi Boggiano 2d4076e9b2 Add support for aliases in streamed repos 12 years ago
Jordi Boggiano c8a685be6b Reduce memory usage by only loading packages that are actually needed, fixes #456 12 years ago
Nils Adermann 27d8904abe resetToOffset method was moved to the Decisions class a while ago 12 years ago
Jordi Boggiano ef637c8f1a CS fixes 12 years ago
Nils Adermann 84dd1fc1bf Merge pull request #898 from Seldaek/providefix
Fix hijacking possibility via provide bug
12 years ago
Adrien Brault 4263fe9255 Fix Solver CS 12 years ago
Jordi Boggiano 2f7130200a Prevent seeing dev versions as equal when they are not, fixes #848 12 years ago
Jordi Boggiano 2d19cf2a00 Fix hijacking possibility via provide bug 12 years ago
Jordi Boggiano 6573fd3f77 Add hint in solver exceptions as to what may be wrong 12 years ago
Jordi Boggiano f4409d9168 Fix problem output formatting, fixes #871 12 years ago
Jordi Boggiano e6f7150196 Change default minimum-stability to "stable", fixes #744 12 years ago
Nils Adermann f0345f0592 Aliases cannot be updated, they must be uninstalled, fixes #803 12 years ago
Jordi Boggiano 07a266793d Fix invalid function call 12 years ago
Jordi Boggiano 698c642a9f Deduplicate packages with a similar name/version in the error output 12 years ago
Nils Adermann cc7632489d Make problem report messages more readable
Added pretty strings to constraints
12 years ago
Nils Adermann dc2a9bfe62 Ignore null rules in rule generator
Fixes #806
12 years ago
Nils Adermann 5bea5974f7 Improve error messages for solver problems 12 years ago
Nils Adermann 12abff8b4c Simplify branch handling code 12 years ago
Nils Adermann 76f8642feb Remove duplicate function from decisions 12 years ago
Nils Adermann 5b1a48663e DecisionQueueFree is no longer needed 12 years ago
Nils Adermann 2fbc04b950 Make decisions countable and use foreach to iterate them in solver 12 years ago
Nils Adermann 1211d8f7d4 Correctly generate conflict and alias rules for installed packages 12 years ago
Nils Adermann d592c0a55e Remove only branches on right levels in revert 12 years ago
Nils Adermann ac762ba6e9 Correctly resolve branches if necessary 12 years ago
Nils Adermann 67fde90666 Correctly sort operations within transactions using DFS
Fixes #655
12 years ago
Nils Adermann 26e051cb76 Decisions are now encapsulated in a separate object 12 years ago
Jordi Boggiano d21032ace5 CS fixes 12 years ago
Jordi Boggiano c440b4594a More PSR-2 goodness 12 years ago
Jordi Boggiano 713309b38c Show exact version being installed in create-project, fixes #724 12 years ago
Nils Adermann 16a51daac8 Fix typo in comment 12 years ago
Jordi Boggiano 1bd4ccbd54 php-cs-fixer magic 12 years ago
Jordi Boggiano 4ea9b33a6c Merge remote-tracking branch 'naderman/solver-refactor' 12 years ago
Nils Adermann 21c7e219e2 Change "else if" to "elseif" 12 years ago
Nils Adermann 99200af51b Correctly indent break statements 12 years ago
Nils Adermann f193d61dfe Remove unecessary brackets 12 years ago
Nils Adermann 7f9c5ffeef Add documentation to RuleWatchChain and RuleWatchNode 12 years ago
Nils Adermann 76d3950992 Document the RuleWatchGraph 12 years ago
Martin Shwalbe 9d80a4e220 Wrong variable used for foreach. Fixes issue 674. 12 years ago
Nils Adermann 265533d390 Rename watches array to watchChains to make clearer what they are 12 years ago
Nils Adermann e817a2e2d7 Move public members above protected members in rule watch node 12 years ago
Nils Adermann c869566868 Make ruleHash a protected member of rules 12 years ago
Nils Adermann fa7bd35413 Make debug solver methods protected 12 years ago
Nils Adermann 2dfea8a5e0 Only consider undecided literals for selectAndInstall
Fixes #707
12 years ago
Nils Adermann dd527a4049 Remove weak rules
Since we no longer have suggest/recommend rules and no longer use any update
or feature rules so packages are removed by default, we do not need weak rules
anymore.
12 years ago
Nils Adermann 025581b365 Rename walkLiteral method to more explicitly say what it does 12 years ago
Nils Adermann a395bc04d7 Get rid of continue 2; and use array_filter instead of manual looping 12 years ago
Nils Adermann 451bab1c2c Get rid of Literal object / literal id mix, use literals only to save memory 12 years ago
Nils Adermann 9ffe0d13f5 Remove useless if 12 years ago
Nils Adermann cdf3b4e012 Use SplDoublyLinkedList instead of custom linked list 12 years ago
Nils Adermann 731a451dfe Move handling of watch graph to separate classes 12 years ago
Nils Adermann 71ee5c8f4c We don't have a systemsolvable at the lowest level 12 years ago
Nils Adermann 286593cf99 Move solver debugging code into solver subclass 12 years ago
Nils Adermann 46e4ae0e6a Move rule generation from solver into separate rule set generator 12 years ago
Nils Adermann 83c499cf29 Remove unecessary use statement in Transaction class 12 years ago
Nils Adermann 70e306f055 Process all jobs in one method and remove lock jobs which are not used 12 years ago
Nils Adermann 3fcd042fd4 Skip adding (ignored) duplicate rules which were already added 12 years ago
Nils Adermann 1d60ae1bfc We no longer support recommended packages, remove left over code 12 years ago
Nils Adermann 92ecf5a603 Remove unused variables 12 years ago
Nils Adermann bd66c27ff6 We mark packages as uninstallable by removing them from the repo
As it is faster to remove packages from the repos and keep them out of the
package pool to begin with, we don't need an installable() method on the
policy.
12 years ago
Nils Adermann 8fc09afbae Move transaction generation to a separate class 12 years ago
Jordi Boggiano 5026f8a115 Fix AliasOperations output 12 years ago
Jordi Boggiano 453b9a616b Add test for Pool handling and refactor a couple things 12 years ago
Jordi Boggiano ef28f3b067 Basic handling of stability flags 12 years ago
Jordi Boggiano 66068fedcb Add minimum-stability flag on root package to filter packages by stability 12 years ago
Nils Adermann 11c59baf59 Remove useless property in exception class 12 years ago
Nils Adermann 37d271271d Turn assertions into solver bug exceptions with more info 12 years ago
Jordi Boggiano fafd09a7ba Improve output of operations to show details about dev versions 12 years ago
Nils Adermann 863bb59b73 Fix authorship info 12 years ago
Nils Adermann 0c1944a9d0 Let the solver handle aliases instead of the installer 12 years ago
Nils Adermann 15f43571b9 Rules of type feature are no longer needed 12 years ago
Nils Adermann 69b55f12ae Call feature rules update rules, as there is no difference in composer 12 years ago
Nils Adermann 0bd6fa1f37 An array of installed packages is no longer needed in the solver 12 years ago
Nils Adermann cf5d14e2e1 Move all solver members to top of the file 12 years ago
Nils Adermann c51fedef8c Policy rules cannot conflict with jobs anymore
As we no longer need special feature rules for updating installed packages
we don't have policy rules which might conflict with job rules anymore.
Everything is driven by jobs now.
12 years ago
Nils Adermann 5feff954a4 Remove commented out debug output 12 years ago
Nils Adermann c37e126e14 Installed packages are now always removed unless otherwise requested
This means that an update request must always be accompanied by an install
request, otherwise the package might be removed rather than updated.
12 years ago
Nils Adermann f4ae88a5d6 Create lookup table for installed packages in only one place 12 years ago