platform/upstream/rpm.git
17 years agoRemove bunch of unnecessary misc.h includes, document others
Panu Matilainen [Wed, 7 Nov 2007 08:17:10 +0000 (10:17 +0200)]
Remove bunch of unnecessary misc.h includes, document others

17 years agoRemove .splintrc's in the tree
Panu Matilainen [Wed, 7 Nov 2007 07:01:38 +0000 (09:01 +0200)]
Remove .splintrc's in the tree

17 years agoMerge
Peter Jones [Fri, 2 Nov 2007 13:25:33 +0000 (09:25 -0400)]
Merge

17 years ago- Fix segfault in %{lua:...}'s rpm_print
Peter Jones [Fri, 2 Nov 2007 13:23:05 +0000 (09:23 -0400)]
- Fix segfault in %{lua:...}'s rpm_print
- Don't automatically print a newline in rpm_print

17 years agoEliminate rpmfcToken struct internals from the API
Panu Matilainen [Fri, 2 Nov 2007 10:11:33 +0000 (12:11 +0200)]
Eliminate rpmfcToken struct internals from the API

17 years agoEliminate macro struct internals from the API
Panu Matilainen [Fri, 2 Nov 2007 08:40:45 +0000 (10:40 +0200)]
Eliminate macro struct internals from the API

17 years agoMeh, actually add the base64 files..
Panu Matilainen [Fri, 2 Nov 2007 08:24:42 +0000 (10:24 +0200)]
Meh, actually add the base64 files..

17 years agoRemove tinv
Panu Matilainen [Fri, 2 Nov 2007 08:18:23 +0000 (10:18 +0200)]
Remove tinv

17 years agoDocument NSS requirement, revise obsolete comment in macros.in
Panu Matilainen [Fri, 2 Nov 2007 08:16:16 +0000 (10:16 +0200)]
Document NSS requirement, revise obsolete comment in macros.in

17 years agoResurrect tax from NSS switchover
Panu Matilainen [Fri, 2 Nov 2007 08:11:54 +0000 (10:11 +0200)]
Resurrect tax from NSS switchover

17 years agoUse NSS instead of beecrypt for encryption (Tomas Mraz)
Panu Matilainen [Fri, 2 Nov 2007 08:02:40 +0000 (10:02 +0200)]
Use NSS instead of beecrypt for encryption (Tomas Mraz)

17 years agoInclude "legacy.h" not <rpmdb/legacy.h>
Panu Matilainen [Thu, 1 Nov 2007 10:26:05 +0000 (12:26 +0200)]
Include "legacy.h" not <rpmdb/legacy.h>

17 years agoRemove two unnecessary legacy.h includes
Panu Matilainen [Thu, 1 Nov 2007 10:25:41 +0000 (12:25 +0200)]
Remove two unnecessary legacy.h includes

17 years agoDocument RPMFI_INTERNAL uses
Panu Matilainen [Wed, 31 Oct 2007 10:48:43 +0000 (12:48 +0200)]
Document RPMFI_INTERNAL uses

17 years agoDocument _RPMTE_INTERNAL needs
Panu Matilainen [Wed, 31 Oct 2007 10:39:23 +0000 (12:39 +0200)]
Document _RPMTE_INTERNAL needs

17 years agoSplit out rpmts_internal.h from rpmts.h
Panu Matilainen [Wed, 31 Oct 2007 10:08:01 +0000 (12:08 +0200)]
Split out rpmts_internal.h from rpmts.h

17 years agoDisable python available package mechanism for now at least.
Panu Matilainen [Wed, 31 Oct 2007 09:57:04 +0000 (11:57 +0200)]
Disable python available package mechanism for now at least.
- need saner available mechanism to resurrect, OTOH nothing appears to
  use it anymore
- last remaining RPMTS_INTERNAL offender...

17 years agoAdd rpmtsPrintSuggests() method for now, use instead of ts internals mucking
Panu Matilainen [Wed, 31 Oct 2007 08:37:18 +0000 (10:37 +0200)]
Add rpmtsPrintSuggests() method for now, use instead of ts internals mucking
- temporary measure to get rid of silly RPMTS_INTERNAL uses, the whole
  solve/suggestion thingie needs love or ripping...
- clean up the suggestions in rpmtsClean() instead of while printing

17 years agoKill ts->goal, instead set NOSUGGEST flag on erase
Panu Matilainen [Wed, 31 Oct 2007 08:15:05 +0000 (10:15 +0200)]
Kill ts->goal, instead set NOSUGGEST flag on erase
- it aint quite the same thing but will suffice for now...

17 years agomerge suckage.
Ralf Corsépius [Tue, 30 Oct 2007 14:52:52 +0000 (15:52 +0100)]
merge suckage.

17 years agoReplace AC_CHECK_FUNCS by AC_REPLACE_FUNCS for basename, getcwd, getwd, putenv, realp...
Ralf Corsépius [Tue, 30 Oct 2007 14:51:53 +0000 (15:51 +0100)]
Replace AC_CHECK_FUNCS by AC_REPLACE_FUNCS for basename, getcwd, getwd, putenv, realpath, setenv, stpcpy, stpncpy, strcspn, strdup, strtol, strtoul, strspn, strstr.

17 years agoAdd rpmtsCleanProblems() method for rpmgi needs
Panu Matilainen [Tue, 30 Oct 2007 14:48:38 +0000 (16:48 +0200)]
Add rpmtsCleanProblems() method for rpmgi needs

17 years agomerge.
Ralf Corsépius [Tue, 30 Oct 2007 14:25:41 +0000 (15:25 +0100)]
merge.

17 years agoRemove memcmp.c.
Ralf Corsépius [Tue, 30 Oct 2007 14:24:10 +0000 (15:24 +0100)]
Remove memcmp.c.

17 years agoErm... rpmdsFlags are int32_t type, not char*
Panu Matilainen [Tue, 30 Oct 2007 13:53:44 +0000 (15:53 +0200)]
Erm... rpmdsFlags are int32_t type, not char*

17 years agoSplit transaction score stuff to separate private header
Panu Matilainen [Tue, 30 Oct 2007 13:50:35 +0000 (15:50 +0200)]
Split transaction score stuff to separate private header

17 years agoNo callback, no repackaging info - tough...
Panu Matilainen [Tue, 30 Oct 2007 13:15:19 +0000 (15:15 +0200)]
No callback, no repackaging info - tough...

17 years agoUse rpmtsRootDir() instead of ts->rootDir + url guess-games in psm
Panu Matilainen [Tue, 30 Oct 2007 12:31:42 +0000 (14:31 +0200)]
Use rpmtsRootDir() instead of ts->rootDir + url guess-games in psm

17 years agomerge.
Ralf Corsépius [Tue, 30 Oct 2007 11:17:16 +0000 (12:17 +0100)]
merge.

17 years agoDon't build stubs.c.
Ralf Corsépius [Tue, 30 Oct 2007 11:16:21 +0000 (12:16 +0100)]
Don't build stubs.c.
Link against ../misc/libmisc.la.

17 years agoBuild libmisc.la.
Ralf Corsépius [Tue, 30 Oct 2007 11:15:34 +0000 (12:15 +0100)]
Build libmisc.la.
Use @LTLIBOBJS@.

17 years agoAdd -I$(top_builddir)/rpmdb to AM_CPPFLAGS.
Ralf Corsépius [Tue, 30 Oct 2007 11:14:23 +0000 (12:14 +0100)]
Add -I$(top_builddir)/rpmdb to AM_CPPFLAGS.

17 years agorpmds is now fully opaque, eliminate _RPMDS_INTERNAL games
Panu Matilainen [Tue, 30 Oct 2007 11:11:13 +0000 (13:11 +0200)]
rpmds is now fully opaque, eliminate _RPMDS_INTERNAL games

17 years agoWhole lotta trouble to avoid rpmds internals access in rpmfc
Panu Matilainen [Tue, 30 Oct 2007 11:07:59 +0000 (13:07 +0200)]
Whole lotta trouble to avoid rpmds internals access in rpmfc

17 years agoAvoid rpmte internals access in rpmtsNotify()
Panu Matilainen [Tue, 30 Oct 2007 10:25:15 +0000 (12:25 +0200)]
Avoid rpmte internals access in rpmtsNotify()

17 years agoUse rpmteKey() instead of te internals
Panu Matilainen [Tue, 30 Oct 2007 10:12:54 +0000 (12:12 +0200)]
Use rpmteKey() instead of te internals

17 years agoRemove unnecessary rpmShowProgress duplicate prototype
Panu Matilainen [Tue, 30 Oct 2007 09:54:22 +0000 (11:54 +0200)]
Remove unnecessary rpmShowProgress duplicate prototype

17 years agoRemove rpmdb/tsql.c.
Ralf Corsépius [Tue, 30 Oct 2007 03:06:24 +0000 (04:06 +0100)]
Remove rpmdb/tsql.c.

17 years agoInclude <assert.h>.
Ralf Corsépius [Tue, 30 Oct 2007 02:27:07 +0000 (03:27 +0100)]
Include <assert.h>.

17 years agoRemove URLMAGIC, URLSANE.
Ralf Corsépius [Tue, 30 Oct 2007 01:57:14 +0000 (02:57 +0100)]
Remove URLMAGIC, URLSANE.
Remove include <assert.h>.

17 years agoAdd URLMAGIC, URLSANE.
Ralf Corsépius [Tue, 30 Oct 2007 01:56:34 +0000 (02:56 +0100)]
Add URLMAGIC, URLSANE.
Remove URLDBG (unused).
Include <assert.h>.

17 years agoFix typo.
Ralf Corsépius [Mon, 29 Oct 2007 12:37:50 +0000 (13:37 +0100)]
Fix typo.

17 years agoSplit out rpmgi_internal.h from rpmgi.h
Ralf Corsépius [Mon, 29 Oct 2007 12:34:53 +0000 (13:34 +0100)]
Split out rpmgi_internal.h from rpmgi.h

17 years agoAdd SKIPSPACE, SKIPNONSPACE.
Ralf Corsépius [Mon, 29 Oct 2007 11:24:15 +0000 (12:24 +0100)]
Add SKIPSPACE, SKIPNONSPACE.

17 years agoAdd SKIPSPACE.
Ralf Corsépius [Mon, 29 Oct 2007 11:24:00 +0000 (12:24 +0100)]
Add SKIPSPACE.

17 years agoRemove SKIPSPACE, SKIPNONSPACE.
Ralf Corsépius [Mon, 29 Oct 2007 11:22:59 +0000 (12:22 +0100)]
Remove SKIPSPACE, SKIPNONSPACE.

17 years agoMacros don't need rpmio_internal
Panu Matilainen [Mon, 29 Oct 2007 10:55:43 +0000 (12:55 +0200)]
Macros don't need rpmio_internal

17 years agoDon't include <ctype.h>.
Ralf Corsépius [Mon, 29 Oct 2007 10:45:20 +0000 (11:45 +0100)]
Don't include <ctype.h>.
Include "rpmio.h".

17 years agoMove typedef into extern "C".
Ralf Corsépius [Mon, 29 Oct 2007 10:43:51 +0000 (11:43 +0100)]
Move typedef into extern "C".

17 years agoRemove unnecessary includes
Panu Matilainen [Mon, 29 Oct 2007 09:40:51 +0000 (11:40 +0200)]
Remove unnecessary includes

17 years agoRemove unused variable
Panu Matilainen [Mon, 29 Oct 2007 09:39:40 +0000 (11:39 +0200)]
Remove unused variable

17 years agoHum, files.c needs rpmio_internal afterall for rpmioSlurp
Panu Matilainen [Mon, 29 Oct 2007 09:38:52 +0000 (11:38 +0200)]
Hum, files.c needs rpmio_internal afterall for rpmioSlurp

17 years agoInclude rpmlib.h instead of lib/rpmlib.h
Panu Matilainen [Mon, 29 Oct 2007 09:32:51 +0000 (11:32 +0200)]
Include rpmlib.h instead of lib/rpmlib.h

17 years agoUse size_t for sizes.
Ralf Corsépius [Mon, 29 Oct 2007 09:21:32 +0000 (10:21 +0100)]
Use size_t for sizes.

17 years agoMove typedef into extern "C" {.
Ralf Corsépius [Mon, 29 Oct 2007 09:20:41 +0000 (10:20 +0100)]
Move typedef into extern "C" {.

17 years agomerge.
Ralf Corsépius [Mon, 29 Oct 2007 08:59:10 +0000 (09:59 +0100)]
merge.

17 years agoDon't include <assert.h>.
Ralf Corsépius [Mon, 29 Oct 2007 08:58:15 +0000 (09:58 +0100)]
Don't include <assert.h>.

17 years agoDon't include <assert.h>.
Ralf Corsépius [Mon, 29 Oct 2007 08:55:53 +0000 (09:55 +0100)]
Don't include <assert.h>.

17 years agoRemove couple of useless rpmio_internal includes
Panu Matilainen [Mon, 29 Oct 2007 08:32:38 +0000 (10:32 +0200)]
Remove couple of useless rpmio_internal includes

17 years agoInclude rpmpgp.h instead of rpmio_internal.h
Panu Matilainen [Mon, 29 Oct 2007 08:32:20 +0000 (10:32 +0200)]
Include rpmpgp.h instead of rpmio_internal.h

17 years agoAvoid need for header_internal.h
Panu Matilainen [Mon, 29 Oct 2007 08:10:17 +0000 (10:10 +0200)]
Avoid need for header_internal.h
- headerCopyLoad() achieves the same thing..

17 years agoAutomated merge with ssh://pmatilai@login.linux.duke.edu//home/groups/rpm/hg/rpm/
Panu Matilainen [Mon, 29 Oct 2007 07:43:06 +0000 (09:43 +0200)]
Automated merge with ssh://pmatilai@login.linux.duke.edu//home/groups/rpm/hg/rpm/

17 years agoUse fdGetFILE() instead of rpmio internal fdGetFp() everywhere
Panu Matilainen [Mon, 29 Oct 2007 07:42:21 +0000 (09:42 +0200)]
Use fdGetFILE() instead of rpmio internal fdGetFp() everywhere

17 years agoRemove bunch of long-dead macro debug stuff
Panu Matilainen [Mon, 29 Oct 2007 07:30:45 +0000 (09:30 +0200)]
Remove bunch of long-dead macro debug stuff

17 years agoRemove local def of uint32_t, uint16_t.
Ralf Corsépius [Mon, 29 Oct 2007 07:22:15 +0000 (08:22 +0100)]
Remove local def of uint32_t, uint16_t.
Include <stdint.h>.
Use size_t for sizes.

17 years agoExport rpmio fdGetFILE()
Panu Matilainen [Mon, 29 Oct 2007 07:20:59 +0000 (09:20 +0200)]
Export rpmio fdGetFILE()

17 years agoRemove leftover comment
Panu Matilainen [Mon, 29 Oct 2007 07:11:37 +0000 (09:11 +0200)]
Remove leftover comment

17 years agoRemove AM_C_PROTOTYPES.
Ralf Corsépius [Mon, 29 Oct 2007 06:28:15 +0000 (07:28 +0100)]
Remove AM_C_PROTOTYPES.

17 years agoEliminate BSD-types.
Ralf Corsépius [Sun, 28 Oct 2007 08:53:01 +0000 (09:53 +0100)]
Eliminate BSD-types.

17 years agoEliminate u_short, USHRT_MAX.
Ralf Corsépius [Sun, 28 Oct 2007 06:30:58 +0000 (07:30 +0100)]
Eliminate u_short, USHRT_MAX.

17 years agoRemove unnecessary includes.
Ralf Corsépius [Sun, 28 Oct 2007 06:20:59 +0000 (07:20 +0100)]
Remove unnecessary includes.

17 years agoInclude "config.h" instead of <config.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:57:08 +0000 (06:57 +0100)]
Include "config.h" instead of <config.h>.

17 years agoInclude "rpmfc.h" instead of <rpmfc.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:49:57 +0000 (06:49 +0100)]
Include "rpmfc.h" instead of <rpmfc.h>.

17 years agoInclude "rpmbuild.h" instead of <rpmbuild.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:49:54 +0000 (06:49 +0100)]
Include "rpmbuild.h" instead of <rpmbuild.h>.

17 years agoInclude "rpmts.h" instead of <rpmts.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:47:46 +0000 (06:47 +0100)]
Include "rpmts.h" instead of <rpmts.h>.

17 years agoInclude "rpmte.h" instead of <rpmte.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:47:42 +0000 (06:47 +0100)]
Include "rpmte.h" instead of <rpmte.h>.

17 years agoInclude "rpmlib.h" instead of <rpmlib.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:47:31 +0000 (06:47 +0100)]
Include "rpmlib.h" instead of <rpmlib.h>.

17 years agoInclude "rpmgi.h" instead of <rpmgi.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:47:23 +0000 (06:47 +0100)]
Include "rpmgi.h" instead of <rpmgi.h>.

17 years agoInclude "rpmfi.h" instead of <rpmfi.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:47:20 +0000 (06:47 +0100)]
Include "rpmfi.h" instead of <rpmfi.h>.

17 years agoInclude "rpmds.h" instead of <rpmds.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:47:17 +0000 (06:47 +0100)]
Include "rpmds.h" instead of <rpmds.h>.

17 years agoInclude "rpmcli.h" instead of <rpmcli.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:47:14 +0000 (06:47 +0100)]
Include "rpmcli.h" instead of <rpmcli.h>.

17 years agoInclude "rpmio_internal.h" instead of <rpmio_internal.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:43:19 +0000 (06:43 +0100)]
Include "rpmio_internal.h" instead of <rpmio_internal.h>.

17 years agoInclude "rpmio.h" instead of <rpmio.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:43:16 +0000 (06:43 +0100)]
Include "rpmio.h" instead of <rpmio.h>.

17 years agoInclude "rpmhook.h" instead of <rpmhook.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:43:13 +0000 (06:43 +0100)]
Include "rpmhook.h" instead of <rpmhook.h>.

17 years agoInclude "rpmerr.h" instead of <rpmerr.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:43:10 +0000 (06:43 +0100)]
Include "rpmerr.h" instead of <rpmerr.h>.

17 years agoInclude "fts.h" instead of <fts.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:43:07 +0000 (06:43 +0100)]
Include "fts.h" instead of <fts.h>.

17 years agoInclude "argv.h" instead of <argv.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:43:04 +0000 (06:43 +0100)]
Include "argv.h" instead of <argv.h>.

17 years agoInclude "rpmdb_internal.h" instead of <rpmdb_internal.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:42:58 +0000 (06:42 +0100)]
Include "rpmdb_internal.h" instead of <rpmdb_internal.h>.

17 years agoInclude "rpmdb.h" instead of <rpmdb.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:42:55 +0000 (06:42 +0100)]
Include "rpmdb.h" instead of <rpmdb.h>.

17 years agoInclude "header_internal.h" instead of <header_internal.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:42:46 +0000 (06:42 +0100)]
Include "header_internal.h" instead of <header_internal.h>.

17 years agoInclude "header.h" instead of <header.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:42:44 +0000 (06:42 +0100)]
Include "header.h" instead of <header.h>.

17 years agoInclude "rpmlua.h" instead of <rpmlua.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:36:11 +0000 (06:36 +0100)]
Include "rpmlua.h" instead of <rpmlua.h>.

17 years agoInclude "rpmmacro.h" instead of <rpmmacro.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:32:05 +0000 (06:32 +0100)]
Include "rpmmacro.h" instead of <rpmmacro.h>.

17 years agoInclude "rpmmessages.h" instead of <rpmmessages.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:17:49 +0000 (06:17 +0100)]
Include "rpmmessages.h" instead of <rpmmessages.h>.

17 years agoInclude "rpmpgp.h" instead of <rpmpgp.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:14:27 +0000 (06:14 +0100)]
Include "rpmpgp.h" instead of <rpmpgp.h>.

17 years agoInclude "rpmsq.h" instead of <rpmsq.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:11:57 +0000 (06:11 +0100)]
Include "rpmsq.h" instead of <rpmsq.h>.

17 years agoInclude "rpmsw.h" instead of <rpmsw.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:08:20 +0000 (06:08 +0100)]
Include "rpmsw.h" instead of <rpmsw.h>.

17 years agoInclude "rpmurl.h" instead of <rpmurl.h>.
Ralf Corsépius [Sun, 28 Oct 2007 05:05:12 +0000 (06:05 +0100)]
Include "rpmurl.h" instead of <rpmurl.h>.

17 years agoAdd @cond NODOXYGEN to hide away __RPM_USES_STDINT_H__ from docs.
Ralf Corsépius [Sun, 28 Oct 2007 04:02:00 +0000 (05:02 +0100)]
Add @cond NODOXYGEN to hide away __RPM_USES_STDINT_H__ from docs.

17 years agoAbandon addlib().
Ralf Corsépius [Sat, 27 Oct 2007 04:38:35 +0000 (06:38 +0200)]
Abandon addlib().
Stop messing around with /usr/ucblib.