kdenonbeta/kdedebian/kapture/libcapture

2004-07-22 Thread Peter Rockai
CVS commit by mornfall: Run problem resolver on load if there are broken packages... (doesn't seem to work right now tho). M +5 -1 pkgmanager.cpp 1.45 --- kdenonbeta/kdedebian/kapture/libcapture/pkgmanager.cpp #1.44:1.45 @@ -179,4 +179,8 @@ bool PkgManager::load

kdenonbeta/kdedebian/kapture/libcapture

2004-07-21 Thread Peter Rockai
CVS commit by mornfall: Start generic OpProgress support in libcapture. Aopprogress.cpp 1.1 [no copyright] Aopprogress.h 1.1 [LGPL (v2+)] M +1 -1 Makefile.am 1.19 M +4 -3 pkgmanager.cpp 1.43 --- kdenonbeta/kdedebian/kapture/libcapture

kdenonbeta/kdedebian/kapture/libcapture

2004-07-19 Thread Peter Rockai
1.27 --- kdenonbeta/kdedebian/kapture/libcapture/pkgmanager.cpp #1.41:1.42 @@ -72,8 +72,8 @@ PkgManager::PkgManager () m_notify = 1; m_changes = 0; +m_sysInitialized = 0; new capture::PkgSystem (); // _config -> Set ("Apt::System", "captureDPk

kdenonbeta/kdedebian/kapture/libcapture

2004-07-19 Thread Peter Rockai
CVS commit by mornfall: Fix summaryview, newly installed packages included upgrades. Eww. M +1 -1 pkgcache.cpp 1.30 M +1 -0 pkgcache.h 1.25 --- kdenonbeta/kdedebian/kapture/libcapture/pkgcache.cpp #1.29:1.30 @@ -702,5 +702,5 @@ PkgCache::Stats PkgCache::getStats (void

kdenonbeta/kdedebian/kapture/libcapture

2004-07-15 Thread Kévin Ottens
CVS commit by ervin: Fixes almost all warnings in libcapture. M +1 -1 ZlibParserInput.cc 1.2 M +1 -1 dpkgpm.cpp 1.8 M +3 -3 grouper.cpp 1.31 M +1 -0 param.cpp 1.4 M +1 -1 param.h 1.8 M +7 -7 pkgcache.cpp 1.28 M +1 -1 pkgmanager.cpp

kdenonbeta/kdedebian/kapture/libcapture

2004-07-14 Thread Peter Rockai
CVS commit by mornfall: Reduce time complexity of agent processing pass significantly. Achieved by changing the deque that served as an agent queue to std::list (no idea why it was deque before... no random access operations were done, unlike many middle-removals) and adding a random-access cache

kdenonbeta/kdedebian/kapture/libcapture

2004-07-13 Thread Peter Rockai
CVS commit by mornfall: Activate the WithPkgs interface. Seems to work ok. More checking should be added (it's not too robust as it is). Also needs some testing. M +1 -1 dpkgpm.cpp 1.6 --- kdenonbeta/kdedebian/kapture/libcapture/dpkgpm.cpp #1.5:1.6 @@ -42,5 +42,5 @@ bool DPkgP

kdenonbeta/kdedebian/kapture/libcapture

2004-07-02 Thread Peter Rockai
9 -12filters.h 1.16 --- kdenonbeta/kdedebian/kapture/libcapture/filters.cpp #1.19:1.20 @@ -67,4 +67,10 @@ void FilterGrouper::addNode (TreeNode *n } /* }}} */ +Param::Map FilterGrouper::parseArgs (string s) +{ +Param::

kdenonbeta/kdedebian/kapture/libcapture

2004-07-01 Thread Peter Rockai
CVS commit by mornfall: Userfriendly filter names in dynamic filter system. Yay! Still need to add flags like "IsHidden" or "IsSystem", so things like ExistFilter go away ;). M +3 -3 depgroupers.h 1.13 M +9 -7 filters.h 1.13 M +2 -1 grouper.cpp 1.29 M +7 -7 gro

kdenonbeta/kdedebian/kapture/libcapture

2004-06-29 Thread Peter Rockai
CVS commit by mornfall: Add flags (hints) to groupers. Necessary for dynamic filter system. M +1 -0 filters.h 1.12 M +3 -0 grouper.h 1.22 M +4 -0 groupermanager.h 1.2 --- kdenonbeta/kdedebian/kapture/libcapture/filters.h #1.11:1.12 @@ -42,4 +42,5 @@ namespace

kdenonbeta/kdedebian/kapture/libcapture

2004-06-26 Thread Peter Rockai
CVS commit by mornfall: Fix rebuild/refresh confusion (led to a crash after the rebuild/refresh optimization in Tree). M +1 -1 pkgmanager.cpp 1.30 M +1 -1 pkgmanager.h 1.22 --- kdenonbeta/kdedebian/kapture/libcapture/pkgmanager.cpp #1.29:1.30 @@ -262,5 +262,5 @@ void

kdenonbeta/kdedebian/kapture/libcapture

2004-06-26 Thread Peter Rockai
CVS commit by mornfall: Fix a potential bug, move debug around (forgot to do so in previous commit). M +3 -2 tree.cpp 1.22 --- kdenonbeta/kdedebian/kapture/libcapture/tree.cpp #1.21:1.22 @@ -88,4 +88,7 @@ void Tree::grpInstDeref () void Tree::rebuild (void) { +std::cerr

kdenonbeta/kdedebian/kapture/libcapture

2004-06-16 Thread Peter Rockai
CVS commit by mornfall: Fix the update w/o debtags crash. Hopefully. M +4 -0 pkgtags.cpp 1.6 --- kdenonbeta/kdedebian/kapture/libcapture/pkgtags.cpp #1.5:1.6 @@ -268,4 +268,8 @@ int capture::pkgTagsUpdate (pkgAcquireSt // Updates the package tag database (requires root

kdenonbeta/kdedebian/kapture/libcapture

2004-06-15 Thread Peter Rockai
CVS commit by mornfall: Fix Depends node creation (busted in process of DepCElem(S)Ptr debugging). M +1 -1 depgroupers.cpp 1.18 --- kdenonbeta/kdedebian/kapture/libcapture/depgroupers.cpp #1.17:1.18 @@ -78,5 +78,5 @@ void Pkg2DepGrouper::addNode (TreeNode * d

kdenonbeta/kdedebian/kapture/libcapture

2004-06-15 Thread Peter Rockai
CVS commit by mornfall: fix include_HEADERS, so that make runs... M +1 -1 Makefile.am 1.16 --- kdenonbeta/kdedebian/kapture/libcapture/Makefile.am #1.15:1.16 @@ -7,5 +7,5 @@ # these are the headers for your project -include_HEADERS = DebDBParser.h depgroupers.h filters.h

kdenonbeta/kdedebian/kapture/libcapture

2004-06-15 Thread Peter Rockai
CVS commit by mornfall: ... fix the CElemSPtr to not fuck up refcounting ... ... or at least not to free up referenced memory ... ... needs some fixes; and cleanup redundant code ... M +5 -2 celem.h 1.5 M +1 -2 depgroupers.cpp 1.17 M +3 -1 filters.cpp 1.18 M +8 -6

kdenonbeta/kdedebian/kapture/libcapture

2004-06-08 Thread Peter Rockai
CVS commit by mornfall: Making Groupers create TreeNodes (instead of NodeProducer), phase 1: pass Tree pointer to addNode, so that groupers can stash nodes. Needed now, as Groupers will soon become sole mass-producers of TreeNodes. Fixing Tree::addStashed to cope with this (instead of looping inf

kdenonbeta/kdedebian/kapture/libcapture

2004-05-23 Thread Peter Rockai
CVS commit by mornfall: Fix few debtags-related crashes (startup without debtags, empty debtags filter). M +7 -3 filters.cpp 1.4 M +7 -10 pkgmanager.cpp 1.14 --- kdenonbeta/kdedebian/kapture/libcapture/filters.cpp #1.3:1.4 @@ -131,4 +131,5 @@ MAKE_GROUPER_FACTORY

kdenonbeta/kdedebian/kapture/libcapture

2004-05-16 Thread Peter Rockai
AMAS system employed by pkgcache.cpp, this can take quite a bit of time (~ 70 seconds on my system). I'll try to reduce this, but i guess i'll have to implement progress bar for it anyway. Will see... M +20 -3 pkgcache.cpp 1.15 --- kdenonbeta/kdedebian/kapture/libcapture/pk

kdenonbeta/kdedebian/kapture/libcapture [POSSIBLY UNSAFE]

2004-05-16 Thread Peter Rockai
CVS commit by mornfall: More debtags work. Compiles, still not tested. Borrowed some files from debtags source by Enrico Zini. This needs large refactoring, unfortunately. Expect more work in this department... ADebDBParser.cc 1.1 [LGPL] ADebDBParser.h 1.1 [GPL (

kdenonbeta/kdedebian/kapture/libcapture

2004-03-28 Thread Peter Rockai
that, package installation seems to work. Woohoo! =) M +7 -1 pkgcache.cpp 1.13 M +9 -0 pkgmanager.cpp 1.11 --- kdenonbeta/kdedebian/kapture/libcapture/pkgcache.cpp #1.12:1.13 @@ -629,9 +629,15 @@ void PkgCache::applyAWanted (void) } for (PkgIterator mP = PkgBegin (); ! mP

kdenonbeta/kdedebian/kapture/libcapture

2004-03-27 Thread Peter Rockai
CVS commit by mornfall: Another set of improvements for pkgcache.cpp. The AMAS can now handle most situations gracefully. There are still corner cases (which are solved, but in insanely long time), but they are reasonably uncommon now (and mostly related to broken input -- ie b0rked packages that

kdenonbeta/kdedebian/kapture/libcapture

2004-03-25 Thread Peter Rockai
CVS commit by mornfall: - remove loads of obsolete code - make it a bit more readable (ie clean up a bit - add madison-lite to pkgcache-test as it should manifest the libdigest-md5-perl problem (which it does not, i guess it's because of the delay optimization; i'm however not sure whether th

kdenonbeta/kdedebian/kapture/libcapture

2004-01-23 Thread Peter Rockai
CVS commit by mornfall: Whoops, add the forgotten files... Adepgroupers.cpp 1.1 [LGPL (v2+)] Adepgroupers.h 1.1 [LGPL (v2+)]

kdenonbeta/kdedebian/kapture/libcapture

2004-01-23 Thread Peter Rockai
CVS commit by mornfall: Split the big grouper.{h,cpp} files into better-digestable pieces. It compiles, but segfaults for me right now (i guess this is an older bug, since i have a dist-upgrade running in background), i'll investigate later. Afilters.cpp 1.1 [LGPL (v2+)] A