platform/upstream/libzypp.git
18 years ago- Added direct accessors to the dependeny CapSets in Resolvable.
Michael Andres [Tue, 10 Jan 2006 09:54:53 +0000 (09:54 +0000)]
- Added direct accessors to the dependeny CapSets in Resolvable.
  (i.e. Resolvable::provides(), Resolvable::requires(), etc.)

- Removed Resolvable::deps and Resolvable::setDeps.
  (a Resolvable::deprecatedSetDeps is kept untill solver/temorary is cleaned)

- Resolvable factories makeResolvable(And|From)Impl now take a reference to
  struct NVRAD (name,edition,arch,deps). The prefered way of creating resolvables
  now is filling a NVRAD, then constructing the object. NOTE: Manipulation of
  dependenciues after construction will be eliminated fron the Resolvables public
  interface.

18 years agoMoved DiskUsage class out of PackageImplIf
Jiri Srain [Tue, 10 Jan 2006 09:32:46 +0000 (09:32 +0000)]
Moved DiskUsage class out of PackageImplIf

18 years ago- Added helper struct NVR (name,edition(version,relase))
Michael Andres [Mon, 9 Jan 2006 22:41:18 +0000 (22:41 +0000)]
- Added helper struct NVR (name,edition(version,relase))
  and NVRAD(name,edition,arch,dependencies).
- Resolvable construction now supports NVRAD. Manipulation of
  Dependencies after construction via the Resolvables public
  interface is deprecated. To be fixed in RpmDb and YUMParser.

18 years agolibredcarpet testcases need edition, even if its zero
Klaus Kaempf [Mon, 9 Jan 2006 20:44:28 +0000 (20:44 +0000)]
libredcarpet testcases need edition, even if its zero

18 years agosupport ximian-style '(any)' as relation op
Klaus Kaempf [Mon, 9 Jan 2006 20:33:18 +0000 (20:33 +0000)]
support ximian-style '(any)' as relation op

18 years agodisable build of static libs
Klaus Kaempf [Mon, 9 Jan 2006 19:36:45 +0000 (19:36 +0000)]
disable build of static libs

18 years ago- More documentation.
Marius Tomaschewski [Mon, 9 Jan 2006 17:58:59 +0000 (17:58 +0000)]
- More documentation.

18 years agostart using xml backend
Duncan Mac-Vicar P [Mon, 9 Jan 2006 17:31:43 +0000 (17:31 +0000)]
start using xml backend

18 years agodont pass NULL to a std::string parameter
Klaus Kaempf [Mon, 9 Jan 2006 16:59:33 +0000 (16:59 +0000)]
dont pass NULL to a std::string parameter

18 years agotaking matches of the capabilities
Stefan Schubert [Mon, 9 Jan 2006 16:16:48 +0000 (16:16 +0000)]
taking matches of the capabilities

18 years agoAddded str::split: Split \a line_r into words.
Michael Andres [Mon, 9 Jan 2006 14:57:52 +0000 (14:57 +0000)]
Addded str::split: Split \a line_r into words.

18 years agoAdapted StoreWorld
Michael Andres [Mon, 9 Jan 2006 11:30:44 +0000 (11:30 +0000)]
Adapted StoreWorld

18 years agotype fixed
Michael Andres [Mon, 9 Jan 2006 11:23:36 +0000 (11:23 +0000)]
type fixed

18 years agoCapability::index added
Michael Andres [Mon, 9 Jan 2006 11:21:18 +0000 (11:21 +0000)]
Capability::index added

18 years agoBasic tagfile parser
Michael Andres [Mon, 9 Jan 2006 09:59:13 +0000 (09:59 +0000)]
Basic tagfile parser

18 years ago- Added devel.ma/testdrafts
Michael Andres [Mon, 9 Jan 2006 00:54:29 +0000 (00:54 +0000)]
- Added devel.ma/testdrafts
- Added class zypp::CapMatch. Tri state value returned from
  Capability::matches.
- Added class zypp::Edition::Range. Defines ranges based on Rel
  and Edition. Provides method overlaps, to test whether two
  Edition::Ranges overlap (have at least one Edition in common).
- Added 'CapMatch Capability::matches( const Capability & rhs ) const'
  and adjusted capability implementations accordingly. (except splits)
- Added CapTraits (capability implementation) to define CapabilityImpl
  kinds and Ptr types.
- Added traits for RW/RWCOW_pointer, defining the wrapped smart pointer
  type and how to detect whether it is shared (refount != 1).

18 years agodefine PHI
Klaus Kaempf [Sun, 8 Jan 2006 20:32:22 +0000 (20:32 +0000)]
define PHI

18 years agoindentation, debug
Klaus Kaempf [Sun, 8 Jan 2006 20:32:01 +0000 (20:32 +0000)]
indentation, debug

18 years agoindentation
Klaus Kaempf [Sun, 8 Jan 2006 20:29:57 +0000 (20:29 +0000)]
indentation

18 years agodebug
Klaus Kaempf [Sun, 8 Jan 2006 20:29:09 +0000 (20:29 +0000)]
debug

18 years ago'std::string'ify most interfaces
Klaus Kaempf [Sun, 8 Jan 2006 12:49:15 +0000 (12:49 +0000)]
'std::string'ify most interfaces

18 years agoadd solver/temporary
Klaus Kaempf [Sat, 7 Jan 2006 17:43:23 +0000 (17:43 +0000)]
add solver/temporary

18 years ago***BIG CLEAN UP***
Klaus Kaempf [Sat, 7 Jan 2006 17:36:48 +0000 (17:36 +0000)]
***BIG CLEAN UP***

'purify' solver/detail by moving all non-solver code to 'temporary'

Files in 'temporary' implement functionality which should be replaced
 by other parts of ZYPP.

solver/detail now contains real solver code

18 years agoremove generated files
Klaus Kaempf [Sat, 7 Jan 2006 17:29:41 +0000 (17:29 +0000)]
remove generated files

18 years agoignore *.diff, *.mistake
Klaus Kaempf [Sat, 7 Jan 2006 17:27:52 +0000 (17:27 +0000)]
ignore *.diff, *.mistake

18 years agoremove generated files
Klaus Kaempf [Sat, 7 Jan 2006 17:26:38 +0000 (17:26 +0000)]
remove generated files

18 years agoget rid of Packman and Section
Klaus Kaempf [Sat, 7 Jan 2006 16:10:06 +0000 (16:10 +0000)]
get rid of Packman and Section

18 years agoremove unneeded Packman
Klaus Kaempf [Sat, 7 Jan 2006 15:56:04 +0000 (15:56 +0000)]
remove unneeded Packman

18 years agomove the setInstalled call for 'system' channels loaded from xml
Klaus Kaempf [Sat, 7 Jan 2006 15:52:31 +0000 (15:52 +0000)]
move the setInstalled call for 'system' channels loaded from xml
 from testsuite to XmlParser

18 years agoremove Ustring.h
Klaus Kaempf [Sat, 7 Jan 2006 15:51:21 +0000 (15:51 +0000)]
remove Ustring.h

18 years agoignore generated files
Klaus Kaempf [Fri, 6 Jan 2006 20:41:49 +0000 (20:41 +0000)]
ignore generated files

18 years agomove diskUsage() up
Klaus Kaempf [Fri, 6 Jan 2006 20:40:07 +0000 (20:40 +0000)]
move diskUsage() up

18 years agosane indentation
Klaus Kaempf [Fri, 6 Jan 2006 20:00:46 +0000 (20:00 +0000)]
sane indentation

18 years agocompiles again
Klaus Kaempf [Fri, 6 Jan 2006 20:00:17 +0000 (20:00 +0000)]
compiles again

18 years agoFooPtr -> Foo_Ptr, constFooPtr -> Foo_constPtr
Klaus Kaempf [Fri, 6 Jan 2006 18:49:13 +0000 (18:49 +0000)]
FooPtr -> Foo_Ptr, constFooPtr -> Foo_constPtr

18 years agosane indentation
Klaus Kaempf [Fri, 6 Jan 2006 18:46:33 +0000 (18:46 +0000)]
sane indentation

18 years agomove out non-solver testcases
Klaus Kaempf [Fri, 6 Jan 2006 18:45:01 +0000 (18:45 +0000)]
move out non-solver testcases

18 years agofix typo
Klaus Kaempf [Fri, 6 Jan 2006 17:15:01 +0000 (17:15 +0000)]
fix typo

18 years agofill in the disk usage data
Jiri Srain [Fri, 6 Jan 2006 15:30:30 +0000 (15:30 +0000)]
fill in the disk usage data

18 years agoadded disk usage data to PackageImplIf interface, provide this info from
Jiri Srain [Fri, 6 Jan 2006 15:28:58 +0000 (15:28 +0000)]
added disk usage data to PackageImplIf interface, provide this info from
the RPM database

18 years agoMake packages rpovide relevant files
Jiri Srain [Fri, 6 Jan 2006 08:59:38 +0000 (08:59 +0000)]
Make packages rpovide relevant files

18 years agousing correct ifndef in the header files
Stefan Schubert [Thu, 5 Jan 2006 15:07:34 +0000 (15:07 +0000)]
using correct ifndef in the header files

18 years agoLink ZYPP with RPM target implementation
Jiri Srain [Thu, 5 Jan 2006 11:58:40 +0000 (11:58 +0000)]
Link ZYPP with RPM target implementation

18 years agoAdded RPMv3 conversion
Jiri Srain [Thu, 5 Jan 2006 11:42:30 +0000 (11:42 +0000)]
Added RPMv3 conversion

18 years agocorrected include pathes
Stefan Schubert [Thu, 5 Jan 2006 11:38:15 +0000 (11:38 +0000)]
corrected include pathes

18 years agoooops.... thanks Klaus
Duncan Mac-Vicar P [Thu, 5 Jan 2006 09:44:24 +0000 (09:44 +0000)]
ooops.... thanks Klaus

18 years agoset function removed
Stefan Schubert [Thu, 5 Jan 2006 07:58:14 +0000 (07:58 +0000)]
set function removed

18 years agoFixed initialization of static vars.
Michael Andres [Wed, 4 Jan 2006 21:06:18 +0000 (21:06 +0000)]
Fixed initialization of static vars.

18 years agobackup commit
Jiri Srain [Wed, 4 Jan 2006 18:06:31 +0000 (18:06 +0000)]
backup commit

18 years agobackup my stuff here
Duncan Mac-Vicar P [Wed, 4 Jan 2006 17:01:02 +0000 (17:01 +0000)]
backup my stuff here

18 years agocleanup include pathes
Stefan Schubert [Wed, 4 Jan 2006 16:21:55 +0000 (16:21 +0000)]
cleanup include pathes

18 years agofixed to link
Michael Andres [Wed, 4 Jan 2006 16:16:18 +0000 (16:16 +0000)]
fixed to link

18 years agoadd testcase for Edition
Klaus Kaempf [Wed, 4 Jan 2006 16:14:57 +0000 (16:14 +0000)]
add testcase for Edition

18 years agothis is svn, not cvs
Klaus Kaempf [Wed, 4 Jan 2006 16:13:13 +0000 (16:13 +0000)]
this is svn, not cvs

18 years agousing libzypp logging
Stefan Schubert [Wed, 4 Jan 2006 14:25:48 +0000 (14:25 +0000)]
using libzypp logging

18 years agoResItem.h: typedef CResItemSet, set of ResItem_constPtr
Klaus Kaempf [Wed, 4 Jan 2006 12:37:16 +0000 (12:37 +0000)]
ResItem.h: typedef CResItemSet, set of ResItem_constPtr
ResolverContext.cc: use CResItemSet instead of CResItemList to implement intended semantics

18 years agosane indentation
Klaus Kaempf [Wed, 4 Jan 2006 12:35:12 +0000 (12:35 +0000)]
sane indentation

18 years agoremoved static variable, which prevents applications linking to libzypp
Jiri Srain [Wed, 4 Jan 2006 12:29:22 +0000 (12:29 +0000)]
removed static variable, which prevents applications linking to libzypp
from segfault

18 years agogetenv for logging removed
Stefan Schubert [Wed, 4 Jan 2006 12:28:50 +0000 (12:28 +0000)]
getenv for logging removed

18 years agoverifyRelation -> matches
Klaus Kaempf [Wed, 4 Jan 2006 12:25:23 +0000 (12:25 +0000)]
verifyRelation -> matches
(temporary fix, waiting for Capability)

18 years agosane indentation
Klaus Kaempf [Wed, 4 Jan 2006 11:21:54 +0000 (11:21 +0000)]
sane indentation

18 years agoback to a sane indentation
Klaus Kaempf [Wed, 4 Jan 2006 10:58:47 +0000 (10:58 +0000)]
back to a sane indentation

18 years agoverify the correct dependency for conflicts
Klaus Kaempf [Wed, 4 Jan 2006 10:58:08 +0000 (10:58 +0000)]
verify the correct dependency for conflicts

18 years agoRemoved references to liby2util.
Michael Andres [Wed, 4 Jan 2006 09:17:26 +0000 (09:17 +0000)]
Removed references to liby2util.

18 years agobackup commit
Jiri Srain [Tue, 3 Jan 2006 15:33:58 +0000 (15:33 +0000)]
backup commit

18 years agoMoved *HeaderCache classes to \@review directory (they are compilable in
Jiri Srain [Tue, 3 Jan 2006 15:33:13 +0000 (15:33 +0000)]
Moved *HeaderCache classes to \@review directory (they are compilable in
the ZYPP context, but not needed at the moment - and hopefully neither in
the future :-) )

18 years agoAdded installtime to public package interface
Jiri Srain [Tue, 3 Jan 2006 15:31:57 +0000 (15:31 +0000)]
Added installtime to public package interface

18 years agoremoved arch from the Capabilities; changed logging; removed matches functions in...
Stefan Schubert [Tue, 3 Jan 2006 15:10:27 +0000 (15:10 +0000)]
removed arch from the Capabilities; changed logging; removed matches functions in the solver

18 years agogoto restored ;-)
Stefan Schubert [Tue, 3 Jan 2006 13:23:01 +0000 (13:23 +0000)]
goto restored ;-)

18 years agoresItem.resObject() added; goto removed
Stefan Schubert [Tue, 3 Jan 2006 12:49:05 +0000 (12:49 +0000)]
resItem.resObject() added; goto removed

18 years ago- added helper struct NVRA
Michael Andres [Mon, 2 Jan 2006 17:15:29 +0000 (17:15 +0000)]
- added helper struct NVRA
- removed unneeded solver::context
- removed Capability::matches(). To be replaced by an Iterator
  visiting all matches in the pool.

18 years agoRemoved Logger include from header file.
Michael Andres [Mon, 2 Jan 2006 15:04:39 +0000 (15:04 +0000)]
Removed Logger include from header file.

18 years agocompiling version
Stefan Schubert [Mon, 2 Jan 2006 13:17:11 +0000 (13:17 +0000)]
compiling version

18 years agoadded missing include
Jiri Srain [Mon, 2 Jan 2006 12:42:33 +0000 (12:42 +0000)]
added missing include

18 years agoadd some comments, clean up
Klaus Kaempf [Mon, 2 Jan 2006 12:41:33 +0000 (12:41 +0000)]
add some comments, clean up

18 years agofixed HTTPS certificate handling
Jiri Srain [Mon, 2 Jan 2006 12:00:31 +0000 (12:00 +0000)]
fixed HTTPS certificate handling

18 years agoindent-tabs-mode: t
Klaus Kaempf [Mon, 2 Jan 2006 11:12:25 +0000 (11:12 +0000)]
indent-tabs-mode: t

18 years agoindent-tabs-mode: t
Klaus Kaempf [Mon, 2 Jan 2006 11:11:59 +0000 (11:11 +0000)]
indent-tabs-mode: t

18 years agoremoved dependencies and using the new one
Stefan Schubert [Mon, 2 Jan 2006 11:02:19 +0000 (11:02 +0000)]
removed dependencies and using the new one

18 years agotagfile parser
Michael Andres [Mon, 2 Jan 2006 00:24:38 +0000 (00:24 +0000)]
tagfile parser

18 years agotaking information from resObject instead of Spec
Stefan Schubert [Tue, 27 Dec 2005 15:23:12 +0000 (15:23 +0000)]
taking information from resObject instead of Spec

18 years agoFixed YES/NO flag for chksum.
Efthimios Toulas [Thu, 22 Dec 2005 15:50:39 +0000 (15:50 +0000)]
Fixed YES/NO flag for chksum.
Commented a lot of code, which is not needed for now.

18 years agoreplaced class Version by class Edition of libzypp
Stefan Schubert [Thu, 22 Dec 2005 15:45:06 +0000 (15:45 +0000)]
replaced class Version by class Edition of libzypp

18 years agochanged namespace for Arch
Stefan Schubert [Thu, 22 Dec 2005 14:19:30 +0000 (14:19 +0000)]
changed namespace for Arch

18 years agoreplace Relation with Rel of libzypp
Stefan Schubert [Thu, 22 Dec 2005 13:59:50 +0000 (13:59 +0000)]
replace Relation with Rel of libzypp

18 years agoEdition replaced by Edition of libzypp
Stefan Schubert [Wed, 21 Dec 2005 16:33:03 +0000 (16:33 +0000)]
Edition replaced by Edition of libzypp

18 years agoEdition replaced by Edition of libzypp
Stefan Schubert [Wed, 21 Dec 2005 16:32:53 +0000 (16:32 +0000)]
Edition replaced by Edition of libzypp

18 years agoremoved all new Arch and taking references instead of pointers
Stefan Schubert [Wed, 21 Dec 2005 09:07:44 +0000 (09:07 +0000)]
removed all new Arch and taking references instead of pointers

18 years agobackup commit of RPM backend
Jiri Srain [Tue, 20 Dec 2005 12:59:33 +0000 (12:59 +0000)]
backup commit of RPM backend

18 years agotaking zypp:Arch in the solver
Stefan Schubert [Tue, 20 Dec 2005 09:20:12 +0000 (09:20 +0000)]
taking zypp:Arch in the solver

18 years agoAdded Locale
Michael Andres [Mon, 19 Dec 2005 13:49:34 +0000 (13:49 +0000)]
Added Locale

18 years agoreport changes from Curl backend
Jiri Srain [Mon, 19 Dec 2005 10:31:33 +0000 (10:31 +0000)]
report changes from Curl backend

18 years agodone
Michael Andres [Mon, 19 Dec 2005 09:54:14 +0000 (09:54 +0000)]
done

18 years agoIOStream.h: forEachLine( std::istream & str_r, _Function & consume_r )
Michael Andres [Fri, 16 Dec 2005 23:17:07 +0000 (23:17 +0000)]
IOStream.h: forEachLine( std::istream & str_r, _Function & consume_r )
  now expects a functor returning bool (or something which can be
  evaluated as bool). Returning 'false' will immediately abort scanning
  the file.

18 years agoadded: template<class _Res>
Michael Andres [Fri, 16 Dec 2005 22:58:59 +0000 (22:58 +0000)]
added: template<class _Res>
         zypp::debug::fakeResObject( const std::string & name_r,
                                     const Edition & edition_r,
                                     const Arch & arch_r,
                                     const Dependencies & deps_r );
       Create a faked ResObject claiming to be a resolvable
       of kind _Res (Package, Patch, etc.).

18 years agocreating ResObject in ResItem; rplaced kind
Stefan Schubert [Fri, 16 Dec 2005 16:09:32 +0000 (16:09 +0000)]
creating ResObject in ResItem; rplaced kind

18 years agoproxyinfo added
Stefan Schubert [Fri, 16 Dec 2005 10:51:57 +0000 (10:51 +0000)]
proxyinfo added

18 years agoConversion from Helix to Yum works for now.
Efthimios Toulas [Thu, 15 Dec 2005 16:46:06 +0000 (16:46 +0000)]
Conversion from Helix to Yum works for now.
There still some minor tasks to do:
- implement the conversion of the != operator.
- read and write checksum, type and flag correct.

18 years agoadded namespace solver::detail
Stefan Schubert [Thu, 15 Dec 2005 14:03:13 +0000 (14:03 +0000)]
added namespace solver::detail

18 years agoupdated the ProxyInfo constructor
Jiri Srain [Thu, 15 Dec 2005 11:58:47 +0000 (11:58 +0000)]
updated the ProxyInfo constructor