Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2007-12-16 | Lone module-private const .. remove | Panu Matilainen | 1 | -1/+1 | |
2007-12-16 | Unconstify macro contents, fully contained within macro module | Panu Matilainen | 1 | -3/+3 | |
2007-12-16 | Bogus const in temporary variables | Panu Matilainen | 2 | -3/+3 | |
2007-12-16 | More const removals | Panu Matilainen | 2 | -2/+2 | |
- both username cache and log records are fully contained within their modules... | |||||
2007-12-16 | More constfree for spec exposed stuff for now | Panu Matilainen | 1 | -2/+2 | |
- openfileinfo seems easily made opaque, revisit later | |||||
2007-12-16 | Much of spec internals is exposed, let them be const for now | Panu Matilainen | 3 | -16/+16 | |
2007-12-16 | Remove couple of bogus const uses in temp variables | Panu Matilainen | 1 | -2/+4 | |
2007-12-16 | Unconstify FileListRec and AttrRec contents | Panu Matilainen | 1 | -11/+11 | |
- not exposed outside files.c | |||||
2007-12-16 | Unconstify rpmrc internal tables | Panu Matilainen | 1 | -13/+13 | |
- not exposed outside rpmrc, "protection" buys nothing | |||||
2007-12-16 | Fix default queryformat setting when _query_all_fmt not set | Panu Matilainen | 1 | -4/+5 | |
- \n in the rpmExpand() causes the result to always be non-null... - also avoid unnecessary const free | |||||
2007-12-16 | Remove const from rpmMkTempFile file name parameter | Panu Matilainen | 7 | -7/+7 | |
- the temp name is malloced and needs to be freed by caller | |||||
2007-12-16 | Refactor rpmReSign() and associated file "management" a bit | Panu Matilainen | 1 | -46/+38 | |
- remove unused + useless "rc" parameter from manageFile() - remove tempfile handling from manageFile(), create + open a tempfile explicitly in rpmReSign() - both copyFile() and manageFile() now require file names to be passed always - split file closing into separate closeFile() function | |||||
2007-12-16 | Stupid reversed-logic thinko.. | Panu Matilainen | 1 | -1/+1 | |
2007-12-16 | Remove const from bunch of error message return types | Panu Matilainen | 8 | -27/+23 | |
- headerCheck(), rpmReadHeader() and rpmReadSignature() return malloced error messages the caller needs to free, shouldn't be const - adjust rpmdb hdrchk callbacks accordingly | |||||
2007-12-16 | IDT* structures are exposed, let them use constfree for now.. | Panu Matilainen | 1 | -1/+1 | |
2007-12-15 | And yet more bogus const removals... | Panu Matilainen | 4 | -5/+5 | |
2007-12-15 | Couple of bogus const removals from rpmgi and rpmds structs | Panu Matilainen | 2 | -2/+2 | |
- in both cases the data is already directly inaccessible from outside, no further protection necessary | |||||
2007-12-15 | Make bunch of build internal code take const parameters | Panu Matilainen | 3 | -9/+9 | |
2007-12-15 | Further bogus const removals... | Panu Matilainen | 1 | -9/+9 | |
2007-12-15 | Fix incorrect rpmCleanPath() retval comment | Panu Matilainen | 1 | -1/+1 | |
2007-12-15 | Another bunch of bogus const removals | Panu Matilainen | 6 | -9/+9 | |
2007-12-15 | Avoid mixing local malloc with const parameter pointer | Panu Matilainen | 1 | -5/+6 | |
2007-12-15 | Use _constfree() for freeing urlinfo contents | Panu Matilainen | 1 | -8/+8 | |
2007-12-15 | Expose compiler warnings from freeing data declared as const | Panu Matilainen | 1 | -3/+16 | |
- _free() is just a wrapper to free() which additionally returns NULL - add _constfree() for use in the cases where const is used to protect malloced "read-only" data in long-lived otherwise exposed structures etc | |||||
2007-12-15 | Remove bogus const from rpmProblemString() return type | Panu Matilainen | 5 | -6/+14 | |
- its malloced so it needs to be freed - fix all users to actually free | |||||
2007-12-15 | Remove bogus const from rpmGenPath() temporary targets | Panu Matilainen | 12 | -23/+24 | |
2007-12-15 | Remove bogus const from rpmGetPath() temporary targets | Panu Matilainen | 16 | -36/+36 | |
2007-12-15 | Remove bogus const from rpmGenPath and rpmGetPath return type | Panu Matilainen | 2 | -7/+4 | |
- both return malloced strings you're supposed to free | |||||
2007-12-14 | Bogus const removal continued... | Panu Matilainen | 12 | -31/+30 | |
2007-12-14 | Another bunch of bogus const removals | Panu Matilainen | 14 | -29/+29 | |
2007-12-14 | Remove bogus consts.. | Panu Matilainen | 2 | -3/+3 | |
2007-12-14 | Bunch of const char* corrections | Panu Matilainen | 15 | -29/+33 | |
- functions returning string constants as char * etc... | |||||
2007-12-14 | Bunch of silly ssize_t casts | Panu Matilainen | 2 | -7/+7 | |
- cuts down the amount of spurious warnings from inlined code... | |||||
2007-12-14 | Oops, major + minor are not dev_t... | Panu Matilainen | 1 | -1/+1 | |
2007-12-14 | Yet more type-pedantry... | Panu Matilainen | 3 | -11/+11 | |
- use rpm_tag_t for signature tag types too - size_t, not rpm_count_t in signature generation - add couple of explicit casts to rpmpgp.h to avoid spurious noise from inlined functions | |||||
2007-12-14 | More size_t type pedantry | Panu Matilainen | 10 | -13/+16 | |
2007-12-14 | Oops, rpmpsi index needs to be signed type | Panu Matilainen | 1 | -2/+2 | |
2007-12-14 | More misc size_t issues | Panu Matilainen | 5 | -7/+7 | |
2007-12-14 | Use dev_t instead of ints.. | Panu Matilainen | 1 | -6/+7 | |
2007-12-14 | Couple of more size_t uses + related format string fixes | Panu Matilainen | 2 | -9/+9 | |
2007-12-13 | Big bunch of int -> size_t corrections for various signature items | Panu Matilainen | 9 | -67/+66 | |
2007-12-13 | Use rpm_tagtype_t everywhere for rpm (header) tagtype type | Panu Matilainen | 31 | -183/+187 | |
- typedef'ed as uint32_t, doesn't matter much but negative types dont exist - easy to grep, easy to change... - define RPM_FORCEFREE_TYPE instead of -1 "magic" for forcing headerFreeData (ugh), easier to grep for and change than "-1" | |||||
2007-12-13 | Use rpm_tag_t everywhere for rpm (header) tag type | Panu Matilainen | 55 | -243/+256 | |
- typedef'ed as int32_t for now, negative values used in some places for error cases - easy to grep, easy to change... - add RPMTAG_NOT_FOUND define, used in place of -1 "magic", | |||||
2007-12-13 | Use rpm_count_t everywhere for header data count | Panu Matilainen | 15 | -30/+33 | |
- typedef'ed as uint32_t as that's the key size limit imposed by BDB, relevant for RPM_BIN_TYPE - easy to change to whatever later on as it's now consistent everywhere - explicit casts where needed to avoid new warnings from signedness | |||||
2007-12-13 | Use rpm_count_t everywhere for header data count | Panu Matilainen | 29 | -143/+159 | |
- typedef'ed as uint32_t as that's the key size limit imposed by BDB, relevant for RPM_BIN_TYPE - easy to change to whatever later on as it's now consistent everywhere | |||||
2007-12-12 | Install the new fancy perldep extractor | Panu Matilainen | 1 | -1/+1 | |
2007-12-11 | Register the new SCRIPT_ERROR callback value to python | Panu Matilainen | 1 | -0/+1 | |
2007-12-11 | Silly thinko/typo causing source rpms to provide their nvr.. | Panu Matilainen | 1 | -1/+1 | |
2007-12-11 | test == is a bashism. | Ralf Corsépius | 1 | -1/+1 | |
2007-12-11 | OS X Leopard fixes from Giulio Eulisse | Panu Matilainen | 3 | -4/+2 | |