Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-03-27 | Lose unused/useless Type and tagN fields from rpmfi struct | Panu Matilainen | 1 | -1/+1 | |
2008-12-22 | Perform relocations from rpmte instead of rpmfi | Panu Matilainen | 1 | -2/+1 | |
- rpmte has all the necessary bits at hand, rpmfi does not - avoids silly ping-pong through transaction set to get to the ts element - avoids recalculating number of relocations - avoids accessing rpmte struct outside rpmte.c | |||||
2008-12-11 | Add public rpmfi function for retrieving digest algorithm of the set | Panu Matilainen | 1 | -0/+7 | |
- the information is already available through rpmfiFDigest() but that requires valid iteration index to be active, whereas the digest algo is per info set, not per file | |||||
2008-12-10 | Move ->actions from rpmfi to rpmfs | Florian Festi | 1 | -14/+0 | |
and adjust all code using it also "revert" a4e345455d817ce6c56940600d652ee3ae0aa5d5 "Move file action calculations to rpmfiNew() where possible" | |||||
2008-11-27 | Eliminate silly rpmfiTypeString() | Panu Matilainen | 1 | -7/+0 | |
- Transaction elements are install/erase type, not file info sets, rename to rpmteTypeString(). It's only "useful" for fsm internal debugging messages, hide it there. | |||||
2008-11-20 | Add rpmfiFLang() method for retrieving file language(s) | Panu Matilainen | 1 | -0/+7 | |
- hardly anything needs outside install internals but it's harmless too... | |||||
2008-11-19 | Oops, file modes are needed on erase too to avoid suffixes on directories | Panu Matilainen | 1 | -1/+1 | |
2008-11-18 | Use finer grained rpmfi creation flags for in rpmteNew() | Panu Matilainen | 1 | -1/+1 | |
- also call the erase flags erase, not remove... | |||||
2008-11-18 | Add preliminary rpmfi flag groupings for base operations | Panu Matilainen | 1 | -0/+16 | |
- just a start and probably not 100% accurate.. | |||||
2008-11-18 | Add control bits for all (relevant) parts of rpmfi data | Panu Matilainen | 1 | -8/+21 | |
- permit fine grained control over what's loaded into fi for what operations, non-trivial memory savings are possible - future possibilities - these reflect closely to rpm verify control bits, all we need is RPMFI_DISK or similar operation to pull the information from disk instead of header and then verify can simply compare two rpmfi's | |||||
2008-11-18 | Nuke useless rpmfiFContext() | Panu Matilainen | 1 | -7/+0 | |
- it only ever returns NULLs because there are no security contexts in headers (and having them in headers make no sense as the context varies based on whatever selinux policy happens to be active on the target system) | |||||
2008-11-18 | Remember rpmfi creation flags | Panu Matilainen | 1 | -0/+2 | |
2008-11-14 | Add more flags to control rpmfi creation | Panu Matilainen | 1 | -0/+2 | |
- RPMFI_NOFILELANGS to avoid loading lang data (only useful on install) - RPMFI_NOFILEOWNER to avoid loading of user+group data | |||||
2008-11-11 | Add rpmfi get + set methods for file actions | Panu Matilainen | 1 | -0/+14 | |
2008-10-30 | Add couple of new rpmfi flags for file classes and file depends | Panu Matilainen | 1 | -0/+2 | |
2008-10-30 | Turn rpmfiNew() scareMem argument into bitfield of flags | Panu Matilainen | 1 | -2/+7 | |
- preserve behavior with 0/1 - more room for controlling what gets loaded into file info set, not everything is needed at all times | |||||
2008-10-29 | Add fsm and rpmfi machinery for file capabilities | Panu Matilainen | 1 | -0/+9 | |
- new rpmfiFCaps() API to retrieve the info from rpmfi set - fsm internals quite similar to selinux handling - plenty of #ifdef's, another possibility would be adding cap_foo dummies to system.h like for selinux | |||||
2008-06-12 | Make rpmfiFSize() return rpm_loff_t type, fixup callers | Panu Matilainen | 1 | -1/+1 | |
- Internally file sizes are still stored as 32bit, going to 64bit wouldn't make much sense (would only waste memory for nothing) as long as we're bound by cpio's 32bit per-file limit. Being "64bit ready" for filesizes doesn't hurt anything though... | |||||
2008-06-10 | Eliminate rpmfiBuildFNames() from the API | Panu Matilainen | 1 | -20/+0 | |
- headerGet() with extensions enabled provides a nicer interface to the data, no need to expose it | |||||
2008-06-02 | Add rpmfiFDigestHex() for converting the binary digest to hex | Panu Matilainen | 1 | -0/+11 | |
- conversion (back to) hex presentation is done manually in several places, might as well have a function to do it... | |||||
2008-06-02 | Mark rpmfiMD5() deprecated | Panu Matilainen | 1 | -1/+2 | |
2008-06-02 | On a second thought, rename rpmfiDigest() to rpmfiFDigest() for consistency | Panu Matilainen | 1 | -1/+1 | |
- it operates on current file of the set, not on the entire set so while changing API, name it similarly to other things that operate on current file | |||||
2008-06-02 | More preliminaries for non-md5 file checksums | Panu Matilainen | 1 | -0/+10 | |
- add rpmfiDigest() method (similar to one in rpm5.org) for retrieving file digest, algorithm and digest size - make rpmfiMD5() just a special case of rpmfiDigest() | |||||
2008-05-21 | Eliminate rpmfiBuildFClasses() and rpmfiBuildFDepts() from the API+ABI | Panu Matilainen | 1 | -26/+0 | |
- both are only needed by tag extensions, move them there - headerGet() with extensions enabled provides a nicer API for accessing the data anyway | |||||
2008-04-24 | Remove meaningless extern on function declarations in headers | Panu Matilainen | 1 | -9/+9 | |
2008-03-24 | Remove bogus const from rpmRelocation struct | Panu Matilainen | 1 | -2/+2 | |
2008-02-05 | Mass convert (back) to rpmTag as it's usable everywhere now | Panu Matilainen | 1 | -3/+3 | |
- cast away a few cases where the enum usage causes ridiculous amount of compiler warnings from unhandled switch-cases | |||||
2008-02-05 | Use rpm_flag_t for header generic bitfields (file flags etc) | Panu Matilainen | 1 | -2/+3 | |
- additionally use rpmfileAtts / rpmVerifyFlags consistently where appropriate | |||||
2008-02-05 | More rpm-headerdata types: rpm_dev_t and rpm_ino_t, use where spotted | Panu Matilainen | 1 | -1/+1 | |
- both hardwired to 32bit internally | |||||
2008-02-05 | Add rpm_rdev_t type for rdev entries | Panu Matilainen | 1 | -1/+1 | |
- rdev is 16bit whereas dev is 32bit, eww... | |||||
2008-02-05 | Add rpm_mode_t type, use where spotted | Panu Matilainen | 1 | -2/+2 | |
- bring the types under some sort of control, previously mixture of int16_t, uint16_t and unsigned short was used.. | |||||
2008-02-05 | Add rpm_color_t type for rpm color bits, use where spotted | Panu Matilainen | 1 | -2/+2 | |
2008-02-04 | Add rpm_time_t type for time types (in headers), use where spotted | Panu Matilainen | 1 | -1/+1 | |
- easy to spot, easy to change... - time_t size can vary, header data needs fixed size | |||||
2008-02-04 | Add rpm_off_t type for file size types, use where spotted | Panu Matilainen | 1 | -1/+1 | |
- preliminaries for bumping up the max size, use rpm-specific type as off_t size varies, header data needs fixed size | |||||
2008-01-30 | Stick relocation struct to rpmfi, typedef to rpmtypes... | Panu Matilainen | 1 | -0/+8 | |
2008-01-30 | Remove bunch of unnecessary rpmlib.h includes | Panu Matilainen | 1 | -1/+1 | |
- replace with rpmtypes.h where needed | |||||
2008-01-02 | Signedness consistency in rpmfi interface vs internal structures | Panu Matilainen | 1 | -7/+7 | |
2007-12-13 | Use rpm_tag_t everywhere for rpm (header) tag type | Panu Matilainen | 1 | -3/+3 | |
- 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 | 1 | -2/+2 | |
- 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 | 1 | -3/+3 | |
- 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-08 | Switch to <rpm/foo.h> style for public headers | Panu Matilainen | 1 | -1/+1 | |
- adjust include paths accordingly | |||||
2007-12-04 | Eliminate debug junk from the API | Panu Matilainen | 1 | -22/+0 | |
- add some helper macros to accomplish the same, easy to enable / disable as needed | |||||
2007-12-02 | Move file action enums to rpmfi where they logically belong | Panu Matilainen | 1 | -0/+21 | |
2007-12-02 | Move RPMFILE_* file attributes to rpmfi.h | Panu Matilainen | 1 | -0/+22 | |
2007-12-03 | Split rpmfi internals to separate header | Panu Matilainen | 1 | -126/+0 | |
2007-12-02 | Move file state defs to rpmfi where they logically belong | Panu Matilainen | 1 | -0/+12 | |
2007-12-02 | Move file type enums to rpmfi where it logically belongs | Panu Matilainen | 1 | -0/+17 | |
2007-11-27 | Move rpmfiBuildFNames() to rpmfi now that it's possible | Panu Matilainen | 1 | -0/+20 | |
2007-11-23 | Add doxygen grouping to rpmfi methods | Panu Matilainen | 1 | -42/+42 | |
2007-11-23 | Use #include <x.h> syntax to include public headers. | Ralf Corsépius | 1 | -1/+1 | |