Commit Graph

477 Commits

Author SHA1 Message Date
Ralf Corsépius abeea80a38 Use #include <x.h> syntax to include public headers. 2007-11-23 06:46:19 +01:00
Panu Matilainen 77d3ce0549 Kill off deprecated and unused rpmGetMachine() entirely 2007-11-08 12:26:46 +02:00
Panu Matilainen de7a247133 Remove rpmSetMachine() from API 2007-11-08 12:22:14 +02:00
Panu Matilainen f7604b1a0e Remove rpmGetVar, rpmSetVar from API 2007-11-08 10:24:58 +02:00
Ralf Corsépius bebeb89735 Eliminate [u|]int_[8|16|32]. Use c99 stdint.h types instead. 2007-10-26 13:24:14 +02:00
Panu Matilainen 01d5c13a42 Make rpmerr.h private, include directly where needed. 2007-10-09 15:33:49 +03:00
Ralf Corsépius d6ffa9891f 'Adjust extern C {} blocks.' 2007-10-08 10:05:06 +02:00
Panu Matilainen 7c1a960aae Remove the deprecated rpmlead definitions from public headers 2007-09-26 11:29:53 +03:00
Panu Matilainen 9456c927a4 Hide rpmtag index details from the api
- move rpmTagGet*() out of line from rpmlib.h to tagnames.c
- move headerTagIndices_s from header.h into tagnames.c
2007-09-21 16:11:48 +03:00
Panu Matilainen 2c2538d726 Rename Spec -> rpmSpec for namespacing 2007-09-21 15:23:02 +03:00
Panu Matilainen 0a16dadffc Oops, remove, not ifdef out.. 2007-09-21 15:19:47 +03:00
Panu Matilainen 7e5099e52f Rename alKey & alNum to rpmal* for namespacing
Also move it out of rpmlib.h, nothing needs it there...
2007-09-21 15:17:08 +03:00
Panu Matilainen 1517b852b4 Unexport FSM(I) typedefs, only usable within rpm 2007-09-21 13:02:55 +03:00
Panu Matilainen bb5d450d22 Unexport rpmpms typedef, nothing outside rpm can use it anyway 2007-09-21 12:47:45 +03:00
Panu Matilainen 8174588398 Rip out unused anaconda-related hacks 2007-09-20 17:37:39 +03:00
Panu Matilainen c0149602a6 Rename public fileAction* type to rpmFileAction for namespacing 2007-09-20 16:19:25 +03:00
Panu Matilainen 83f0947586 Rename MacroContext and -Entry to rpmMacro* for namespacing 2007-09-20 15:52:03 +03:00
Panu Matilainen 154a7f7603 Move _free() into system.h for now
- get rid of dozen _free() definitions
- get _free() out of public headers
2007-09-20 15:37:48 +03:00
Panu Matilainen e53ceb6706 Rename fileTypes(_e) to rpmFileTypes for namespacing 2007-09-20 15:27:07 +03:00
Panu Matilainen a6e75c7595 Rename freeFilesystems() to rpmFreeFilesystems() for namespacing 2007-09-20 15:22:59 +03:00
Panu Matilainen 3b8da4ed11 Rename tagName/Value/Type() to rpmTagGet*()
- namespacing
- avoid collisions with tagtype definitions
2007-09-20 15:09:52 +03:00
Panu Matilainen 55b7c431c4 Move rpmInstall/EraseInterfaceFlags to rpmcli.h 2007-09-20 14:33:35 +03:00
Panu Matilainen f65d670f02 Remove the "dressed" rpmHeaderGetEntry() from API
- only used by the python bindings, move it there...
2007-09-20 13:23:58 +03:00
Panu Matilainen d76bef815f Remove long since dead rpmrc provides code 2007-09-19 17:32:29 +03:00
Ralf Corsépius ebef4f211c Remove splint tags. 2007-09-11 19:07:39 +02:00
Ralf Corsépius a079d14651 #include <popt.h> instead of "popt.h". 2007-09-04 14:30:01 +02:00
Panu Matilainen 408d3df3f1 Rip out selinux file contexts from headers.
The SELinux file contexts can and do change, and local policies might be
in place, the contexts on the build system at build time have zero relevance
to anything and are just header bloat.
Remove --filecontexts alias while at it, not useful for anything anyway.
2007-09-03 10:20:10 +03:00
Panu Matilainen 0f879a48bd Use binary search for looking up tag values + types.
Mostly derived from rpm5.org work of Jeff Johnsson, additionally
- fix thinko in bsearch result stabilization logic
- fix querytags in verbose mode to actually show the types as intended
2007-07-16 16:14:51 +03:00
Panu Matilainen 505cad15bf Full sync of RPMTAG_* definitions with rpm5.org.
As promised on rpm-maint:
https://lists.dulug.duke.edu/pipermail/rpm-maint/2007-June/000357.html
Now that new tags don't cost anything in terms of python binding etc
maintenance we can at least keep tags compatible so querying cross-rpm
works (mostly - there are differences like md5 vs filedigests)
2007-07-16 13:39:48 +03:00
Panu Matilainen 8360b1147c Update tagtype definitions wrt rpm5.org 2007-07-13 14:18:00 +03:00
Panu Matilainen 2404685050 Kill of RPMTAG_RHNPLATFORM: don't add to header, mark deprecated. 2007-07-12 16:10:46 +03:00
Panu Matilainen 85e427b2ef int vs ptr sizes differ on some platforms, make alNum intptr_t to fix 2007-07-12 13:23:33 +03:00
Panu Matilainen 049674696d Remove const type-qualifiers from function return types everywhere.
They're meaningless in C and cause tonne of build warnings.
2007-07-10 12:15:43 +03:00
Panu Matilainen 866771356c Rename headerCheckPayload() -> headerCheckPayloadFormat()
to remove any potential confusion as to what it really does.
2007-06-19 16:12:04 +03:00
Panu Matilainen c3ce7e90a5 Check for supported payload format on package install. (rhbz#140052)
Add a new API function to check for supported payload format from header, have
rpmtsAddInstallElement() check and fail if not. Check for tsadd failure
on src.rpm install as well.
2007-05-24 10:56:53 +03:00
jbj a237ec26e0 - added CVSId: tag and SVNId: alias (#162807).
CVS patchset: 7871
CVS date: 2005/07/12 10:57:09
2005-07-12 10:57:09 +00:00
jbj 4c63745fe8 Add tagType().
CVS patchset: 7818
CVS date: 2005/03/17 17:12:26
2005-03-17 17:12:26 +00:00
jbj 8faa61c020 Doxygen fiddles.
CVS patchset: 7495
CVS date: 2004/10/20 10:19:34
2004-10-20 10:19:34 +00:00
jbj 343b3223e8 Merge iterator types into pseudo tags.
Load argv and ftpopts through iterator modifier, not creator.

CVS patchset: 7486
CVS date: 2004/10/19 15:54:38
2004-10-19 15:54:38 +00:00
jbj e93a77c9b7 Add generalized iterator to rpmlib.
CVS patchset: 7482
CVS date: 2004/10/18 01:08:56
2004-10-18 01:08:56 +00:00
jbj 24bb3c7ce2 Flush changes from rpm-4_3 branch.
CVS patchset: 7440
CVS date: 2004/10/09 19:40:09
2004-10-09 19:40:09 +00:00
jbj 502f88e0e6 - prevent RPMSENSE_PREREQ from being set or tested.
CVS patchset: 7425
CVS date: 2004/09/30 21:45:27
2004-09-30 21:45:27 +00:00
jbj 10336f101c - add Disttag: syntax to spec file parser and header content.
- define Suggests:/Enhances: and Priority: tag values.

CVS patchset: 7424
CVS date: 2004/09/30 20:18:40
2004-09-30 20:18:40 +00:00
jbj a1af0d0f46 Correct typos.
CVS patchset: 7340
CVS date: 2004/06/15 21:00:14
2004-06-15 21:00:14 +00:00
jbj 940d50af52 - add type to tag array.
CVS patchset: 7337
CVS date: 2004/06/15 18:08:05
2004-06-15 18:08:05 +00:00
jbj 4b3532d341 - add 'requires' and 'conflicts' tag aliases.
CVS patchset: 7300
CVS date: 2004/06/10 13:26:50
2004-06-10 13:26:50 +00:00
jbj 0d73d4699b revert buildtime tie breaking, not the right thing to do.
splint fiddles.

CVS patchset: 7216
CVS date: 2004/04/01 12:56:54
2004-04-01 12:56:54 +00:00
niemeyer 73260d956c - Implemented support for internal Lua scripts.
- Implemented %pretrans and %posttrans script slots.
Changed files:
	Makefile.am configure.ac build/pack.c build/parseScript.c
	build/parseSpec.c build/rpmbuild.h build/rpmspec.h
	lib/Makefile.am lib/psm.c lib/rpmlib.h lib/rpmlibprov.c
	lib/rpmts.c lib/rpmts.h lib/transaction.c
Added files:
	lib/rpmlua.c lib/rpmlua.h lua/*

CVS patchset: 7175
CVS date: 2004/03/16 21:58:25
2004-03-16 21:58:25 +00:00
pauln 3341692cc2 Added todo for types for tagtbl
CVS patchset: 7148
CVS date: 2004/03/05 18:00:55
2004-03-05 18:00:55 +00:00
jbj c305927d5d Add %policy marker to suck *.te content into metadata.
CVS patchset: 7062
CVS date: 2004/01/03 21:43:10
2004-01-03 21:43:10 +00:00