summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-12-13Use rpm_tag_t everywhere for rpm (header) tag typePanu Matilainen55-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-13Use rpm_count_t everywhere for header data countPanu Matilainen15-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-13Use rpm_count_t everywhere for header data countPanu Matilainen29-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-12Install the new fancy perldep extractorPanu Matilainen1-1/+1
2007-12-11Register the new SCRIPT_ERROR callback value to pythonPanu Matilainen1-0/+1
2007-12-11Silly thinko/typo causing source rpms to provide their nvr..Panu Matilainen1-1/+1
2007-12-11test == is a bashism.Ralf Corsépius1-1/+1
2007-12-11OS X Leopard fixes from Giulio EulissePanu Matilainen3-4/+2
2007-12-10Add python method for for retrieving (without setting) ts vsflagsPanu Matilainen1-0/+11
2007-12-08Drop non-existing librpmmisc from rpm.pcPanu Matilainen1-1/+1
2007-12-08Switch to <rpm/foo.h> style for public headersPanu Matilainen166-474/+474
- adjust include paths accordingly
2007-12-07Add RPMCALLBACK_SCRIPT_ERROR callback typePanu Matilainen3-2/+15
- TS callback has a better chance at doing something semi-intelligent on scriptlet failure than rpmlog callback - Hijack "amount" for script tag that failed, "total" for exit code which might be pretty much anything: waitpid child, actual exit status or lua error... not probably very useful in the callback but... - Notify before logging so users can catch the actual error message on next rpmlog callback.. or something
2007-12-07Scriptlet (name) handling tweaksPanu Matilainen1-9/+33
- look up scriptlet names just once inside runScript() - map trigger types to their real names too
2007-12-07Add getter methods for rpmlogRec items (message + level)Panu Matilainen2-0/+27
2007-12-07Rename RPMLOG_CONT to RPMLOG_DEFAULT to make purpose clearer (hopefully ;)Panu Matilainen2-5/+6
2007-12-07Logging enhancementsPanu Matilainen2-35/+83
- add parameters to rpmlogCallback: current log record pointer + optional user data - callback return flags to enable/disable default logging behavior and to perform exit() after cleaning up - add method for retrieving prefix string for a given message priority - move default logging behavior out of rpmlog() proper
2007-12-07Make rpmLogRec opaquePanu Matilainen2-4/+6
2007-12-07Fix misleading indentationPanu Matilainen1-8/+9
2007-12-07Don't do tilde expansion if HOME not setPanu Matilainen1-1/+7
- If you dont have a home, glob() will go out of its way to give you one, even a wrong one. This isn't good when daemons etc have purposefully unset HOME...
2007-12-07More rpmerr.h removal falloutPanu Matilainen2-33/+33
- use rpmRC types where appropriate
2007-12-07Yet more rpmbuild fixups from rpmerr.h removal (partly from rpm5.org)Panu Matilainen14-221/+223
- additionally use rpmRC return types instead of numbers where appropriate
2007-12-07rpm5.org: fixup spec parsing from rpmerr.h removalPanu Matilainen2-40/+51
- renumber rpmParseState enums to leave room for error codes
2007-12-07rpm5.org: fixup various places in rpmbuild from rpmerr.h eliminationPanu Matilainen6-66/+69
2007-12-07rpm5.org: use pid_t, not int in build doScriptPanu Matilainen1-3/+3
2007-12-05Fix query return codes (rhbz#244236)Panu Matilainen3-6/+35
- count + skip over errors in rpmgiNext() instead of stopping iteration - add rpmgiNumErrors() for retrieving errors, use it in query
2007-12-05Only platform.in is to be included in dist, dont use wildcardPanu Matilainen1-1/+1
2007-12-05Rename apidocs to hackingdocs, only build on requestPanu Matilainen2-8/+8
2007-12-05base64.h missing from librpmio sourcesPanu Matilainen1-1/+1
2007-12-05Update potfiles wrt recent changes, regenerate translationsPanu Matilainen24-16473/+16353
2007-12-04Match filestage strings with the fact that we dont use "rpc" anymorePanu Matilainen1-7/+7
2007-12-04Eliminate debug junk from the APIPanu Matilainen26-215/+121
- add some helper macros to accomplish the same, easy to enable / disable as needed
2007-12-03Document rpmtsScoreGetEntry() parameter to please doxygenPanu Matilainen1-0/+1
2007-12-03Remove double documentation from header methods to make doxygen shut upPanu Matilainen1-224/+0
2007-12-03Fix couple of doxygen file paths, remove obsolete commentPanu Matilainen3-10/+3
2007-12-03Rename _rpmdbMatchIterator -> rpmdbMatchIterator_sPanu Matilainen2-2/+2
- consistency with other similar constructs
2007-12-03Split RPMTAG_* and related functions out of rpmlib.h to rpmtag.hPanu Matilainen5-300/+311
2007-12-03Split rpmte internals to separate headerPanu Matilainen9-99/+95
- avoid unnecessary include-order issues - stop define-games for internals access
2007-12-03Duh, remember to add rpmfi_internal.h to sources..Panu Matilainen1-1/+1
2007-12-02Move rpmprobFilterFlag enums to rpmps where they logically belongPanu Matilainen2-16/+16
2007-12-02Move rpmsenseFlag enums to rpmds where they logically belongPanu Matilainen8-69/+75
2007-12-02Move rpmtransFlags enums to rpmts.h where it logically belongsPanu Matilainen3-55/+56
2007-12-02Move file action enums to rpmfi where they logically belongPanu Matilainen4-21/+23
2007-12-02Move RPMFILE_* file attributes to rpmfi.hPanu Matilainen3-22/+23
2007-12-03Split rpmfi internals to separate headerPanu Matilainen8-137/+136
2007-12-02Move file state defs to rpmfi where they logically belongPanu Matilainen2-12/+12
2007-12-02Move file type enums to rpmfi where it logically belongsPanu Matilainen2-17/+17
2007-12-03Drop RPC from apidocs..Panu Matilainen2-4/+0
2007-12-03Use regular POSIX functions instead of "RPC" clonesPanu Matilainen21-572/+62
- we only care about local files
2007-12-01More rpmlead exorcizingPanu Matilainen3-32/+14
- remove unnecessary type parameter to writeRPM(), header knows what it is - remove unnecessary lead argument to readRPM(), it's unused anyway - drop lead from cpioSourceArchive struct
2007-12-01Erm, stuff headerIsSource() implementation to hdrNVR with other cruftPanu Matilainen2-4/+7
- avoid dragging rpmlib for RPMTAG_* into header.h