summaryrefslogtreecommitdiffstats
path: root/expac.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-13replaces and conflicts are alpm_dep_tDave Reisner1-2/+2
2012-08-26putchar -> fputc(..., stdout)Dave Reisner1-14/+14
2012-06-05properly extract name from alpm_backup_tDave Reisner1-1/+7
2012-05-10fix %S and %P formattersDave Reisner1-2/+3
2012-04-24cleanup/improve usage and documentationDave Reisner1-1/+2
2012-03-08fix provides handlerDave Reisner1-1/+1
alpm_pkg_get_provides() returns a list of alpm_depend_t structs, not straight up strings. reuse a helper function to extract the name member of this struct just like we do with %D
2011-12-11add missing stdint header for i686Dave Reisner1-1/+1
2011-12-11add -H, --humansize parameter for formatting package sizesDave Reisner1-5/+60
2011-12-11remove KiB conversion for sizesDave Reisner1-2/+2
2011-10-28ignore -S and -Q options for -p.Dave Reisner1-21/+19
This is a little odd, but since -p has no meaning for -S, this is (for now) safe.
2011-10-28fix longopt for -QDave Reisner1-1/+1
manpage documents it as --query, not --local.
2011-10-20free_inner results when --file is usedDave Reisner1-0/+3
2011-10-20add -p option to alpm_pkg_load argumentsDave Reisner1-8/+34
2011-10-13remove usage of alpm_list_getdataDave Reisner1-7/+7
2011-10-13add missing headerDave Reisner1-0/+1
2011-08-22allow alignment for %! tokenDave Reisner1-2/+3
2011-08-17add %h formatter for sha256sumDave Reisner1-1/+4
2011-08-17add %g formatter for base64 signatureDave Reisner1-1/+4
2011-08-17filelist stuff for alpm7Dave Reisner1-3/+15
2011-08-07fix up alpm API calls for alpm7Dave Reisner1-50/+32
2011-08-07use proper suffixes for package sizesDave Reisner1-3/+7
2011-07-30allow null terminators in format stringDave Reisner1-0/+3
2011-07-23add static qualifier to trim_optdepDave Reisner1-1/+1
2011-07-23add %o for optdepends without descriptionsDave Reisner1-0/+14
2011-07-23don't report not found on found packagesDave Reisner1-1/+3
Use a flag var to declare found/notfound instead of looking at the pkg reference itself, which will be inevitably overwritten on each repo iteration.
2011-07-17fix verbose error on each repo when package isn't foundDave Reisner1-13/+8
2011-07-17add %! as an auto-increment record counterDave Reisner1-0/+4
2011-07-17return 1 if nothing is printed by print_pkgDave Reisner1-1/+1
2011-05-29return first of each key, not for all keysDave Reisner1-1/+1
2011-05-29add -1 option for limited -S operationsDave Reisner1-2/+11
2011-04-05fix usageDave Reisner1-2/+2
2011-04-05add support for searching by groupDave Reisner1-2/+17
2011-03-23don't depend on format pointer reaching a NULLDave Reisner1-2/+4
2011-03-23remove preproc logic for pacman 3.4.3/3.5.0Dave Reisner1-6/+0
2011-03-21add missing parameter in function protoDave Reisner1-1/+1
2011-03-21declare resolve_pkg as staticDave Reisner1-1/+1
2011-03-21return(val) => return valDave Reisner1-25/+25
2011-03-21don't parse RootDir directiveDave Reisner1-3/+1
2011-03-16mimic pacman behavior of dumping the entire DB with no targetsDave Reisner1-10/+8
2011-02-26alpm_db_get_pkgcache_list has gone awayDave Reisner1-6/+2
2011-02-06use alpm_db_get_pkgcache_list if availableDave Reisner1-2/+6
2011-01-29avoid use of alpm_db_register_local() for recent libalpmDave Reisner1-0/+4
2011-01-02copyright 2011Dave Reisner1-1/+1
2010-12-14Revert "fix memory leak in print_pkg"Dave Reisner1-24/+11
This reverts commit 236ef35e1ce9eccfa47d37718b763decb7077136. Causes memory corruption in some cases. We'd rather leak a little than risk a segmentation fault. As expac is guaranteed to be a short lived process, we'll opt for letting the kernel cleanup after us instead of adding what appears to be a lot of extra logic.
2010-12-12print ? for unknown tokensDave Reisner1-0/+4
2010-12-11%k is sync onlyDave Reisner1-2/+2
2010-12-10fix memory leak in print_pkgDave Reisner1-11/+24
lists are allocated when they're requested, and not resident in memory when alpm is initialized. grab a pointer to them so they can be freed after each loop.
2010-12-10allow real printf formatters for simple stringsDave Reisner1-45/+23
It's kind of silly to verify this kind of formatting, so I'm just letting it explode (which happens not too horribly) when the user inevitably does something stupid.
2010-12-08if no targets are provided on a search, dump the entire DB(s)Dave Reisner1-2/+10
2010-12-01declare globals on separate lines for uniformityDave Reisner1-2/+3