summaryrefslogtreecommitdiff
path: root/python/rpmte-py.c
AgeCommit message (Collapse)AuthorFilesLines
2009-09-24Enable subtyping on the rest of our type-objectsPanu Matilainen1-1/+1
- not very useful atm as various places return hard-wired built-in types
2009-09-24Make object allocation type agnosticPanu Matilainen1-4/+4
- pass (sub)type down to wrappers - call subtype tp_alloc() instead of PyObject_New() - preliminaries for allowing subtyping
2009-09-23Turn tagNumFromPyObject() into an object converter interfacePanu Matilainen1-5/+2
- permits direct validation and conversion from arg parsing
2009-09-23Add te.NEVRA() method, adjust docsPanu Matilainen1-1/+10
2009-09-23Remove tp_print methods from all rpm-python objectsPanu Matilainen1-16/+1
- these violate the intended use of tp_print, python docs state "A type should never implement tp_print in a way that produces different output than tp_repr or tp_str would."
2009-09-23Lose the debug junk from python bindingsPanu Matilainen1-13/+0
2009-09-22Rename python system.h for disambiguationPanu Matilainen1-1/+1
2009-09-22Lose the empty doxygen markersPanu Matilainen1-10/+0
- nothing wrong with comments but empty comment placeholders are not exactly useful
2009-09-22Put some consistency to python object creationPanu Matilainen1-2/+2
- all type object creation goes through foo_Wrap() which handle OOM and all type specific initialization
2009-09-22Make all python object creation wrappers return PyObject pointersPanu Matilainen1-4/+4
- this way the only place where casts are needed are in the wrapper itself
2009-09-22Sanitize python object -> tag number exception handlingPanu Matilainen1-4/+1
- raise exception in tagNumFromPyObject(), not in 12 different callers - check against RPMTAG_NOT_FOUND consistently instead of -1 and whatnot - unknown tags are value, not key or type errors
2009-09-22Use Py_RETURN_NONE macro for returning None everywherePanu Matilainen1-6/+3
2009-09-22Use generic python get/set attribute functions directly where appropriatePanu Matilainen1-12/+2
- no point in wrapping all this stuff in our own functions
2009-09-22Make the python object structures opaquePanu Matilainen1-0/+6
2009-09-22We dont support ancient python versions...Panu Matilainen1-2/+0
2009-03-26Make rpmal store rpmtes and kill rpmte->pkgKeyFlorian Festi1-11/+4
2008-11-27Drop the useless "tag" argument from rpmteFI()Panu Matilainen1-18/+1
- only RPMTAG_BASENAMES was ever allowed as the tag, makes no sense - API change but AFAIK nothing outside rpm itself uses it anyway
2008-06-09Use 64bit type for rpmte package size reportingPanu Matilainen1-1/+1
- RPMTAG_SIGSIZE limits to 32bit in practise currently
2008-02-05Mass convert (back) to rpmTag as it's usable everywhere nowPanu Matilainen1-2/+2
- cast away a few cases where the enum usage causes ridiculous amount of compiler warnings from unhandled switch-cases
2008-01-30Include spring-cleaningPanu Matilainen1-1/+0
- put some consistency into include ordering - everything (apart from bits missed ;) is now ordered like this 1. "system.h" 2. other system includes 3. rpm public headers 4. rpm private headers 5. "debug.h"
2008-01-30rpmlib.h mass evictionPanu Matilainen1-1/+0
- explicitly include what's really needed instead - document remaining uses
2007-12-13Use rpm_tag_t everywhere for rpm (header) tag typePanu Matilainen1-2/+2
- 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-08Switch to <rpm/foo.h> style for public headersPanu Matilainen1-1/+1
- adjust include paths accordingly
2007-12-04Eliminate debug junk from the APIPanu Matilainen1-2/+2
- add some helper macros to accomplish the same, easy to enable / disable as needed
2007-11-23Use #include <x.h> syntax to include public headers.Ralf Corsépius1-1/+1
2007-10-28Include "rpmlib.h" instead of <rpmlib.h>.Ralf Corsépius1-1/+1
2007-09-11Remove split tags.Ralf Corsépius1-62/+2
2007-06-05Python rpm.te Key() refcount fix (rhbz#182063) from JBJ.Panu Matilainen1-4/+3
2004-11-17Add kwargs everywhere - courtesy of pjones@redhat.compauln1-66/+55
CVS patchset: 7582 CVS date: 2004/11/17 17:05:39
2004-01-01- python: include Python.h before glibc features.h.jbj1-6/+0
CVS patchset: 7055 CVS date: 2004/01/01 16:34:10
2003-12-01splint fiddles, no warnings.jbj1-0/+22
CVS patchset: 6961 CVS date: 2003/12/01 19:15:38
2003-11-23Merge changes from rpm-4.2.1 development.jbj1-3/+3
CVS patchset: 6959 CVS date: 2003/11/23 19:50:52
2003-05-04Use getattro/setattro throughout.jbj1-7/+11
Convert to mpfprintlin from diddled mpprintln. CVS patchset: 6811 CVS date: 2003/05/04 17:34:53
2003-04-17Doxygen doco markup.jbj1-4/+4
CVS patchset: 6760 CVS date: 2003/04/17 17:17:27
2003-03-05Sanity.jbj1-15/+15
CVS patchset: 6652 CVS date: 2003/03/05 00:13:11
2003-01-25- permit anaconda to choose "presentation order".jbj1-0/+11
CVS patchset: 6028 CVS date: 2003/01/25 20:59:52
2002-12-31Dump multilib code, colored depndencies instead.jbj1-1/+1
CVS patchset: 5990 CVS date: 2002/12/31 02:12:02
2002-12-311st crack at colored installs.jbj1-4/+4
CVS patchset: 5989 CVS date: 2002/12/31 01:23:03
2002-12-11Add rpmfts-py.[ch] bindings for fts(3) from rpmio.jbj1-4/+10
splint fiddles. CVS patchset: 5932 CVS date: 2002/12/11 00:12:17
2002-12-10Add tp_{init,alloc,new,free} methods to rpmts.jbj1-1/+1
Use PyObject_{New,Del} consistently throughout. CVS patchset: 5931 CVS date: 2002/12/10 19:46:03
2002-12-04python: gilding lilies.jbj1-4/+58
CVS patchset: 5915 CVS date: 2002/12/04 02:01:47
2002-12-03Add new rpmte methods.jbj1-2/+40
CVS patchset: 5914 CVS date: 2002/12/03 21:00:38
2002-07-14- python: sanity check fixes on rpmts/rpmte methods.jbj1-12/+82
CVS patchset: 5554 CVS date: 2002/07/14 21:23:29
2002-07-13- install rpmal.h and rpmhash.h, implicit rpmps.hinclude, for now.jbj1-3/+0
- revert headerFree/headerLink/headerUnlink debugging. CVS patchset: 5550 CVS date: 2002/07/13 19:08:51
2002-06-03Teach doxygen about python/*-py.c files.jbj1-2/+2
Make sure that automake includes the python/test/* files. CVS patchset: 5461 CVS date: 2002/06/03 23:27:05
2002-05-28- eliminate legacy db methods, add ts.dbMatch method.jbj1-3/+1
CVS patchset: 5453 CVS date: 2002/05/28 23:06:44
2002-05-27Add bindings for rpmte and FD_t.jbj1-0/+272
CVS patchset: 5451 CVS date: 2002/05/27 21:40:08