Nils Adermann
cf1af58514
Use bitwise operators directly in rules instead of get/set Bitfield
2015-07-14 14:24:18 +02:00
Nils Adermann
ccaba0d2f7
Make static translation tables in version constraint private and use ===
2015-07-14 14:12:19 +02:00
Jordi Boggiano
c36d2a2e50
Merge pull request #4214 from legoktm/parse-links
...
Move VersionParser::parseLinks() to ArrayLoader::parseLinks()
2015-07-13 14:28:10 +01:00
Jordi Boggiano
42bfe9c56a
Merge pull request #4219 from localheinz/feature/strict-mode
...
Enhancement: Also validate if lock file is up to date
2015-07-12 16:39:36 +01:00
Jordi Boggiano
acc11f63c5
Merge pull request #4234 from naderman/rule-hash-int-size
...
Reduce rule hash size
2015-07-12 16:25:14 +01:00
Jordi Boggiano
efb9f13248
Merge pull request #4229 from naderman/memory-version-array-merge
...
VersionParser: remove a few hundred/thousand array_merge calls
2015-07-12 16:14:16 +01:00
Andreas Möller
5828f6202d
Enhancement: Also validate lock file
2015-07-10 18:07:40 -04:00
Nils Adermann
de65199f31
Merge pull request #4117 from stof/patch-1
...
Optimize the regex detecting timestamps
2015-07-09 21:17:24 +02:00
Nils Adermann
956035e641
Remove the unnecessary return statements from setters
2015-07-09 19:40:03 +02:00
Nils Adermann
f535542fca
Use constants with names for bitfield offsets
2015-07-09 18:59:16 +02:00
Nils Adermann
329ab5cf41
Rename blob rule property to bitfield
2015-07-09 18:48:50 +02:00
Nils Adermann
961ea868ac
Use an integer bitfield for rule properties instead of a string binary blob
2015-07-09 18:26:31 +02:00
Nils Adermann
6e81f63635
Reduce memory footprint of rules by storing data in blob
...
Not declaring the job property saves significant amounts of memory as
most rules leave it as null
2015-07-09 17:23:45 +02:00
Nils Adermann
39e6f51bef
Clarify --no-check-publish in docs
2015-07-09 13:04:41 +02:00
Nils Adermann
984c0afddf
Merge pull request #4230 from localheinz/fix/validate
...
Fix: Update docs for validate command
2015-07-09 13:03:35 +02:00
Nils Adermann
93fd8a928a
Merge pull request #4235 from localheinz/fix/colon
...
Fix: Streamline options in documentation
2015-07-09 13:01:07 +02:00
Nils Adermann
b7eb27180d
Merge pull request #4236 from ikr/patch-1
...
Fix a typo: interally -> internally
2015-07-09 13:00:15 +02:00
Nils Adermann
3fd4672382
VersionParser: Append elements directly instead of array_merge
2015-07-09 12:57:34 +02:00
Ivan Krechetov
a9b98dc5b0
Fix a typo: interally -> internally
2015-07-09 08:54:24 +02:00
Andreas Möller
cb1470775c
Enhancement: Also validate if composer.lock is up to date
2015-07-08 21:48:12 -04:00
Andreas Möller
8b7f2c4984
Fix: Render option mono-spaced
2015-07-08 21:45:46 -04:00
Andreas Möller
db1d58f3d3
Fix: Append colon to option name (for consistency)
2015-07-08 21:43:08 -04:00
Nils Adermann
b869fa9662
Correct rule hash test
2015-07-08 19:36:13 +02:00
Nils Adermann
c7e1f49e78
Rule hashes are only used in the rule set, so no need to store them
2015-07-08 19:11:59 +02:00
Nils Adermann
15d572da4c
Use 4 byte integer from raw md5 instead of 5 hex representation chars
...
The hash is necessary as comparisons are significantly too slow
otherwise. The old hash function used substr on the hexadecimal
representation of the md5 hash, rather than the raw binary output. This
wastes a significant amount of memory, as each byte can only be used to
store up to 4 bit of information. The new hash has 32bit instead of
20bit and uses only a 4 byte integer instead of a 5 byte string.
2015-07-08 19:11:58 +02:00
Nils Adermann
5d7036e740
Merge pull request #4233 from naderman/output-ruleset-size
...
Output the number of rules used in the solver for profiling purposes
2015-07-08 19:10:35 +02:00
Nils Adermann
5b1b96b61e
Output the number of rules used in the solver for profiling purposes
2015-07-08 17:57:23 +02:00
Nils Adermann
2ddd53ece3
Merge pull request #4231 from localheinz/fix/sort-packages
...
Fix: Update docs for require command
2015-07-08 16:49:58 +02:00
Andreas Möller
22ecd0b740
Fix: Update docs for require command
2015-07-08 10:40:05 -04:00
Nils Adermann
e88df7429f
Remove a few hundred/thousand array_merge calls
2015-07-08 13:36:19 +02:00
Nils Adermann
8dd110e0a9
Remove unnecessary version comparison cache variable and store operators as int
2015-07-08 13:13:47 +02:00
Nils Adermann
dbdd4978a7
Merge pull request #4221 from naderman/output-pool-size
...
Output the size of the pool after dependency resolution for users (verbose)
2015-07-07 16:15:59 +02:00
Nils Adermann
07e1d227c9
Output the size of the pool after dependency resolution for users
2015-07-07 15:40:26 +02:00
Nils Adermann
22737e31a7
Merge pull request #4213 from legoktm/stabilities
...
Don't use BasePackage::$stabilities in VersionParser
2015-07-07 13:45:55 +02:00
Jordi Boggiano
d79427f1a7
Fix tests
2015-07-04 12:22:58 +01:00
Jordi Boggiano
a8d71be0ef
Add event name in verbose mode, refs #4123
2015-07-04 12:15:04 +01:00
Jordi Boggiano
852e4f4e26
Merge remote-tracking branch 'alcohol/output-script-command-in-verbose-mode'
2015-07-04 12:11:18 +01:00
Jordi Boggiano
0964c02acb
Use only one level of verbosity
2015-07-04 12:02:57 +01:00
Jordi Boggiano
5ba41514a9
Merge remote-tracking branch 'alcohol/add-suggests-command'
2015-07-04 11:58:58 +01:00
Jordi Boggiano
e817dba90c
Rendering fix, refs #4172
2015-07-04 11:56:17 +01:00
Jordi Boggiano
812167b2a0
Formatting tweaks, refs #4172
2015-07-04 11:54:56 +01:00
Jordi Boggiano
edf121ce11
Minor tweaks, refs #4172
2015-07-04 11:51:55 +01:00
Jordi Boggiano
720a25abb9
Merge remote-tracking branch 'alcohol/split-schema-documentation'
2015-07-04 11:45:49 +01:00
Kunal Mehta
14d1f0f3f6
Move VersionParser::parseLinks() to ArrayLoader::parseLinks()
...
Working towards #3545 .
parseLinks is a wrapper around VersionParser::parseConstraints() that
creates Link objects, and better belongs in ArrayLoader.
2015-07-03 19:35:54 -07:00
Kunal Mehta
0ad9e98a59
Don't use BasePackage::$stabilities in VersionParser
...
Working towards #3545 .
This adds VersionParser::$stabilities, which is an array of the
supported stability levels. This adds a little bit of duplication,
however we were already hardcoding the various stabilities in regular
expressions and functions like parseStability().
2015-07-03 17:54:30 -07:00
Jordi Boggiano
2438105e11
Merge pull request #4086 from legoktm/format-version
...
Move VersionParser::formatVersion() to BasePackage::getFullPrettyVersion()
2015-07-04 00:55:50 +01:00
Jordi Boggiano
e2b2f450dc
Merge pull request #4144 from staabm/patch-2
...
Dropped unnecessary break statements
2015-07-03 21:49:05 +01:00
Jordi Boggiano
9b3e8b963e
Merge pull request #4143 from staabm/patch-1
...
Dropped obsolete condition
2015-07-03 21:48:39 +01:00
Jordi Boggiano
01a9c3a0ce
Merge pull request #4208 from alcohol/update-spdx-updater
...
Updated SPDX related files in light of 2.0 release of SPDX specification
2015-07-03 11:54:16 +01:00
Rob Bast
4019f7bb44
Revert "apply a regex solution instead of tokenizer"
...
This reverts commit 33a7305e22c8d4e2ce38586855fd3d4b7b2af3dd.
2015-07-03 12:22:16 +02:00