Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-04-24 | Remove outdated comment, add a todo reminder | Panu Matilainen | 1 | -0/+1 | |
- callbacks for pkgs without files have been faked for some time now.. | |||||
2008-04-24 | Might as well compare against tag shortname now that we have it | Panu Matilainen | 1 | -2/+2 | |
2008-04-24 | Remove meaningless extern on function declarations in headers | Panu Matilainen | 1 | -1/+1 | |
2008-04-22 | Simplify rebuild path generation | Panu Matilainen | 1 | -6/+1 | |
2008-04-22 | More path manipulation craziness eliminated in rpmdbRemoveDatabase() | Panu Matilainen | 1 | -20/+8 | |
2008-04-22 | Eliminate wtf dbpath shuffling in rpmdbMoveDatabase() | Panu Matilainen | 1 | -38/+19 | |
- Just use rpmGetPath() to construct a clean, sanitized path from the components. - Previously it went to great lengths to ensure trailing / on dbpath, catenate the paths with %s/%s/%s and then rpmCleanPath() to get rid of the extra slashes just created. Eh. | |||||
2008-04-22 | Don't use alloca for struct stat, there's no need to. | Panu Matilainen | 1 | -7/+7 | |
2008-04-22 | Add rpmdb internal helper for cleaning up db4 environment, use it | Panu Matilainen | 1 | -17/+27 | |
2008-04-16 | Make headerNVR() just a special case of headerNEVRA() | Panu Matilainen | 1 | -11/+7 | |
2008-04-09 | Replace alloca+memset with xcalloc() in rpmdbRemove() | Panu Matilainen | 1 | -6/+12 | |
- return value is suspect: should return "ret" instead of 0 at exit depending on what happened in removal but preserving previous behavior for now... | |||||
2008-04-09 | Replace alloca+memset with xcalloc() in rpmdbAdd() | Panu Matilainen | 1 | -4/+6 | |
2008-04-09 | Replace alloca+memset with xcalloc() in rpmdbCountPackages() | Panu Matilainen | 1 | -6/+10 | |
2008-04-09 | Tonne of indentation + other formatting corrections to rpmdb.c | Panu Matilainen | 1 | -70/+85 | |
- no functional changes | |||||
2008-04-09 | Remove dead code | Panu Matilainen | 1 | -25/+0 | |
2008-04-09 | Report full nevra in rpmdb remove debug message | Panu Matilainen | 1 | -3/+4 | |
2008-04-09 | Make headerGetNEVRA() return "src" as the arch of source packages | Panu Matilainen | 1 | -2/+4 | |
2008-04-09 | Initialize pointers, lowercase local variable | Panu Matilainen | 1 | -4/+4 | |
2008-04-09 | Rewrite headerGetN*() for simplicity | Panu Matilainen | 1 | -26/+21 | |
- eliminate stpcpy() games - reuse evr formatting from headerGetEVR() instead of doing it over and over again everywhere | |||||
2008-04-09 | Add headerGetEVR() convenience function | Panu Matilainen | 2 | -0/+26 | |
- return formatted evr string + optionally pointer to name | |||||
2008-04-09 | Make headerNEVRA() actually return epoch too | Panu Matilainen | 2 | -2/+7 | |
- ...but epoch is an integer type in headers, change proto to match that | |||||
2008-04-08 | Eliminate four copy-paste versions of nibble(), stick to rpmstring.h | Panu Matilainen | 1 | -18/+2 | |
- the one in signature.c wasn't even used... | |||||
2008-04-07 | Eliminate several copy-paste hex converters, use pgpHexStr() instead | Panu Matilainen | 4 | -27/+3 | |
2008-04-06 | Eliminate the uuuuugly and unsafe static tagname buffer | Panu Matilainen | 3 | -22/+25 | |
- generate the "human friendly" strings at build time, store into the tag table structure - also avoids copying of strings and lowercasing strings at runtime | |||||
2008-04-06 | Move the tagtbl.c generator monster awk out of Makefile.am | Panu Matilainen | 2 | -14/+80 | |
- stick it into a separate script, reformat so it's possible to actually read it... | |||||
2008-04-04 | getcwd(NULL,0) has undefined behavior, use rpmGetCwd() instead | Panu Matilainen | 1 | -2/+6 | |
2008-04-04 | Remove copy-paste currentDirectory() from sqlite, use rpmGetCwd() | Panu Matilainen | 1 | -12/+1 | |
2008-04-03 | We don't support url's in db paths, rip. | Panu Matilainen | 3 | -46/+11 | |
- file:// vs / is silly and anything else wont work, so pretending url support just plain bogus | |||||
2008-04-03 | Replace silly static rpmioFileExists() in rpmdb.c with plain old access() | Panu Matilainen | 1 | -41/+5 | |
- accepting url's there is not only useless but just plain bogus | |||||
2008-04-03 | Remove ancient db1->db3 conversion cruft | Panu Matilainen | 1 | -9/+0 | |
2008-03-24 | Avoid static buffer for sql commands | Panu Matilainen | 1 | -6/+12 | |
2008-03-24 | Revert rpmhash changes from previous commit | Panu Matilainen | 1 | -2/+2 | |
- rpmhash key + data actually sometimes point to const data.. pff | |||||
2008-03-24 | Remove bogus consts from rpmdb and dbi structs | Panu Matilainen | 6 | -29/+29 | |
2008-03-18 | Bump up sonames, we're not exactly ABI compatible with 4.4 anymore.. | Panu Matilainen | 1 | -1/+1 | |
2008-03-18 | Minimal namespacing for locale-insensitive x*() string functions | Panu Matilainen | 4 | -20/+20 | |
2008-03-17 | Remove support for automatic rollback on failure | Panu Matilainen | 1 | -14/+0 | |
- doing this reliably from rpm is simply not possible as there's no way to undo script actions, might as well not pretend we can - for a feature that's not generally usable it complicates mainline code way too much | |||||
2008-03-12 | Refcount dbiTags on db open+close, automatically free | Panu Matilainen | 2 | -46/+58 | |
- avoids rpmdb_internal include in rpmqv.c and memleak in API clients - avoids having to export dbiTags(Max) at all | |||||
2008-03-07 | Log message adjustments | Panu Matilainen | 3 | -43/+43 | |
- dont waste translator time by having them translate obscure debug messages - adjust some suspect looking logging levels - mark some non-debug messages for translation where missing.. | |||||
2008-03-06 | Make headerCopyTags() tag list const, the list isn't modified.. | Panu Matilainen | 2 | -3/+5 | |
2008-03-06 | Mark rpm tag tables read-only as far as we can.. | Panu Matilainen | 3 | -4/+4 | |
2008-03-06 | Mark various header tables and definitions as read-only | Panu Matilainen | 2 | -5/+5 | |
2008-03-06 | Make the rpmdb vectors readonly | Panu Matilainen | 4 | -8/+8 | |
2008-02-25 | Eliminate rpmdb refcount debug junk from the API | Panu Matilainen | 2 | -18/+8 | |
2008-02-22 | Remove ancient commentary from header.h | Panu Matilainen | 1 | -67/+0 | |
- history is interesting but public headers aren't the place for it - "implemented soon after" from 2001 comments are hardly useful :) | |||||
2008-02-22 | Remove useless ifdeffed typedefs | Panu Matilainen | 1 | -12/+0 | |
- rpmdb & iterator are typedeffed in rpmtypes.h already.. | |||||
2008-02-14 | Improve header i18n locale matching | Panu Matilainen | 1 | -5/+7 | |
- Get best lang from rpm HEADERI18NTABLE, instead of getting first fuzzy match (eg: zh_TW matches zh_CN whereas zh_TW entry is available) Patch from Pascal Rigaux | |||||
2008-02-14 | Fix a bunch of string format mismatches found by gcc's variadic checks | Panu Matilainen | 1 | -10/+10 | |
Patch from Michal Marek | |||||
2008-02-05 | Mass convert (back) to rpmTag as it's usable everywhere now | Panu Matilainen | 9 | -68/+68 | |
- cast away a few cases where the enum usage causes ridiculous amount of compiler warnings from unhandled switch-cases | |||||
2008-02-05 | Use rpmTagType always now that it's available everywhere | Panu Matilainen | 7 | -61/+61 | |
- RPM_MASK_TYPE is not a datatype, move it out of the enum - add missing cases python header handling to shut up gcc | |||||
2008-02-05 | Couple of missed type abstractions | Panu Matilainen | 2 | -2/+2 | |
2008-02-05 | Yet another typedef for transaction ID, use where spotted | Panu Matilainen | 1 | -2/+2 | |
- most remaining [u]int16|32 uses are indexes and such, ie actual numbers |