summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debversion.cc
Commit message (Collapse)AuthorAgeFilesLines
* Introduce and use isalpha_ascii() in debversion rather than isalpha()Julian Andres Klode2022-01-061-1/+1
| | | | | Avoid misclassifying additional alphabetical characters from certain locales as alpha and then sort them by ASCII...
* Remove obsolete RCS keywordsGuillem Jover2018-05-071-1/+0
| | | | Prompted-by: Jakub Wilk <jwilk@debian.org>
* Fix various typos reported by spellcheckersDavid Kalnischkies2018-05-051-1/+1
| | | | | Reported-By: codespell & spellintian Gbp-Dch: Ignore
* Reformat and sort all includes with clang-formatJulian Andres Klode2017-07-121-2/+2
| | | | | | | | | | | | | This makes it easier to see which headers includes what. The changes were done by running git grep -l '#\s*include' \ | grep -E '.(cc|h)$' \ | xargs sed -i -E 's/(^\s*)#(\s*)include/\1#\2 include/' To modify all include lines by adding a space, and then running ./git-clang-format.sh.
* Cleanup includes after running iwyuMichael Vogt2015-08-171-1/+0
|
* bunch of micro-optimizations for depcacheDavid Kalnischkies2015-08-101-25/+22
| | | | | | | | DepCache functions are called a lot, so if we can squeeze some drops out of them for free we should do so. Takes also the opportunity to remove some whitespace errors from these functions. Git-Dch: Ignore
* cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-0/+2
| | | | | | | | Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
* Fix typos in documentation (codespell)Michael Vogt2014-02-221-2/+2
|
* share version strings between same versions (of different architectures)David Kalnischkies2013-04-031-8/+4
| | | to save some space and allow quick comparisions later on
* * apt-pkg/deb/debversion.cc:David Kalnischkies2013-04-011-3/+12
| | | - add a string-equal shortcut for equal version comparisions
* merge with my debian-sid branchDavid Kalnischkies2011-10-301-15/+10
|\
| * convert a few for-loop char finds to proper strchr and memchrDavid Kalnischkies2011-09-211-15/+10
| |
* | remove old APT_COMPATIBILITY ifdef'sDavid Kalnischkies2011-09-191-1/+0
| |
* | do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies2011-09-191-2/+2
| |
* | reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-131-0/+1
|/
* * apt-pkg/deb/debversion.cc:David Kalnischkies2010-03-131-2/+16
| | | | | | | | | - consider absent of debian revision equivalent to 0 (Closes: #573592) This moves the existing testcase for version comparison to "my" directory, adds a few more tests (e.g. the tests used in cupt) and rewrites the testcases runner: The runner does now call dpkg --compare-versions to check what dpkg thinks about the comparison - all done in less code ;)
* * remove all the remaining #pragma implementationMichael Vogt2007-06-081-3/+0
|
* * apt-pkg/deb/debversion.cc:Michael Vogt2006-05-081-1/+22
| | | | | - applied patch from Lionel Elie Mamane to fix epoch handling (debian: #363358)
* * Patch from Koblinger Egmont <egmont@uhulinux.hu> to f...Arch Librarian2004-09-201-1/+13
| | | | | | | Author: mdz Date: 2003-09-10 23:39:49 GMT * Patch from Koblinger Egmont <egmont@uhulinux.hu> to fix version comparisons with '~' (Closes: #205960)
* - Don't fall off the end of the buffer when comparing v...Arch Librarian2004-09-201-3/+3
| | | | | | Author: mdz Date: 2003-07-18 14:13:59 GMT - Don't fall off the end of the buffer when comparing versions.
* Remove unused variablesArch Librarian2004-09-201-4/+1
| | | | | | Author: jgg Date: 2003-01-27 00:05:59 GMT Remove unused variables
* Tidy style for new dpkg version compare functionArch Librarian2004-09-201-37/+37
| | | | | | Author: jgg Date: 2002-11-23 07:54:36 GMT Tidy style for new dpkg version compare function
* New deb version compare function, that has no integer l...Arch Librarian2004-09-201-47/+21
| | | | | | | Author: doogie Date: 2002-11-22 06:59:35 GMT New deb version compare function, that has no integer limits, and supports pre-versions using ~. Code ported from dpkg.
* G++3 fixes from RandolphArch Librarian2004-09-201-1/+2
| | | | | | Author: jgg Date: 2001-05-07 05:05:13 GMT G++3 fixes from Randolph
* Join with aliencodeArch Librarian2004-09-201-0/+266
Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode