platform/upstream/libzypp.git
18 years agoMoved the smart pointer types and related cast functions (PtrTypes.h)
Michael Andres [Mon, 5 Dec 2005 22:13:18 +0000 (22:13 +0000)]
Moved the smart pointer types and related cast functions (PtrTypes.h)
from namespace zypp::base directly into namespace zypp. The same for
class KindOf<>.

18 years agoAdded CapFactory statistics for debug
Michael Andres [Mon, 5 Dec 2005 21:42:16 +0000 (21:42 +0000)]
Added CapFactory statistics for debug

18 years agoAdded provides/requires/conflicts iterations, which are not finished yet.
Efthimios Toulas [Mon, 5 Dec 2005 16:35:59 +0000 (16:35 +0000)]
Added provides/requires/conflicts iterations, which are not finished yet.

18 years agoFixed CapabilityImpl order relation used by CapFactory.
Michael Andres [Mon, 5 Dec 2005 16:30:21 +0000 (16:30 +0000)]
Fixed CapabilityImpl order relation used by CapFactory.

18 years agoAdded comment
Jiri Srain [Fri, 2 Dec 2005 14:43:17 +0000 (14:43 +0000)]
Added comment

18 years agomoved unwanted stuff out of a header file
Jiri Srain [Fri, 2 Dec 2005 14:36:43 +0000 (14:36 +0000)]
moved unwanted stuff out of a header file

18 years agoput changelog information to packages
Jiri Srain [Fri, 2 Dec 2005 08:44:33 +0000 (08:44 +0000)]
put changelog information to packages

18 years agoAdded functinoality to create whole YUM source as one function
Jiri Srain [Thu, 1 Dec 2005 16:51:39 +0000 (16:51 +0000)]
Added functinoality to create whole YUM source as one function

18 years agoStarted implementing command-line options
Efthimios Toulas [Thu, 1 Dec 2005 16:14:00 +0000 (16:14 +0000)]
Started implementing command-line options

18 years ago- Fixes on Capability creation.
Michael Andres [Thu, 1 Dec 2005 15:13:08 +0000 (15:13 +0000)]
- Fixes on Capability creation.
- New Example.createCapabilities.cc
  Dumb packages file parser, parsing all Capability
  definitions, builds Capabilities and collects
  parse errors for later evaluation.

18 years agofixed syntax
Jiri Srain [Thu, 1 Dec 2005 14:24:07 +0000 (14:24 +0000)]
fixed syntax

18 years agoadded testcase for parsing whole YUM repository
Jiri Srain [Thu, 1 Dec 2005 14:19:04 +0000 (14:19 +0000)]
added testcase for parsing whole YUM repository

18 years agoadded testcase for patches parser
Jiri Srain [Thu, 1 Dec 2005 13:27:46 +0000 (13:27 +0000)]
added testcase for patches parser
more complete repomd.xml

18 years agoadded parser for patches.xml file (all available patches)
Jiri Srain [Thu, 1 Dec 2005 13:27:12 +0000 (13:27 +0000)]
added parser for patches.xml file (all available patches)

18 years agoUpdated CapFactory parser, added Split dependencies.
Michael Andres [Wed, 30 Nov 2005 22:32:51 +0000 (22:32 +0000)]
Updated CapFactory parser, added Split dependencies.

18 years agoupdated CapFactory parser
Michael Andres [Wed, 30 Nov 2005 17:54:19 +0000 (17:54 +0000)]
updated CapFactory parser

18 years agoadded group (selection) objects
Jiri Srain [Wed, 30 Nov 2005 13:27:52 +0000 (13:27 +0000)]
added group (selection) objects

18 years agoprepare structure for solver code
Michael Andres [Wed, 30 Nov 2005 13:04:01 +0000 (13:04 +0000)]
prepare structure for solver code

18 years agoPrepare structure for solver code.
Michael Andres [Wed, 30 Nov 2005 13:03:20 +0000 (13:03 +0000)]
Prepare structure for solver code.

18 years agoadded exception handling
Jiri Srain [Wed, 30 Nov 2005 10:41:17 +0000 (10:41 +0000)]
added exception handling

18 years agofix typo
Klaus Kaempf [Wed, 30 Nov 2005 08:53:47 +0000 (08:53 +0000)]
fix typo

18 years ago- ResolvableTraits: Renamed the 'const ResolvableTraits::KindType _kind'
Michael Andres [Wed, 30 Nov 2005 08:39:10 +0000 (08:39 +0000)]
- ResolvableTraits: Renamed the 'const ResolvableTraits::KindType _kind'
  to 'kind'. Pubic available constant values should not start with an
  '_'.

- Edition: Added 'static const Edition Edition::noedition;'. Constant
  representing 'no Edition' or 'empty Edition', as you like it. That's
  the Edition value the default ctor creates, or which would be prased
  from an empty string.

18 years agoAdjusted Exception handling macros; added ZYPP_CAUGHT and
Michael Andres [Tue, 29 Nov 2005 16:41:57 +0000 (16:41 +0000)]
Adjusted Exception handling macros; added ZYPP_CAUGHT and
ZYPP_RETHROW.

18 years agodo not call copy-constructors when not necessary
Jiri Srain [Tue, 29 Nov 2005 11:52:38 +0000 (11:52 +0000)]
do not call copy-constructors when not necessary

18 years agouse Arch_noarch instead of "noarch"
Jiri Srain [Tue, 29 Nov 2005 11:45:45 +0000 (11:45 +0000)]
use Arch_noarch instead of "noarch"

18 years agosymtax fixed
Jiri Srain [Tue, 29 Nov 2005 11:38:50 +0000 (11:38 +0000)]
symtax fixed

18 years agoadded parsing more package attributes
Jiri Srain [Tue, 29 Nov 2005 11:36:23 +0000 (11:36 +0000)]
added parsing more package attributes

18 years ago- YUMScriptImpl.cc Removed superfluous include of ResObjectFactory.h.
Michael Andres [Tue, 29 Nov 2005 09:49:36 +0000 (09:49 +0000)]
- YUMScriptImpl.cc Removed superfluous include of ResObjectFactory.h.
  Not just because it is available, but because it's not intended to
  be included directly. It's available via ResObjectImplIf.h, because
  the ResObjectFactory templates won't work, if there are not enough
  includes to instanciate the implementation class. If it can be
  instanciated, ResObjectImplIf.h is somehow included, and the
  Factory is available.

- Added Capability default ctor creating a dummy Capability.

18 years agoConverts some XML elements from Helix to Yum format. Would do it nicer
Efthimios Toulas [Mon, 28 Nov 2005 18:10:22 +0000 (18:10 +0000)]
Converts some XML elements from Helix to Yum format. Would do it nicer
in a more oo way.

18 years agoRel: Changed default ctor and parser to use Rel:ANY as default and
Michael Andres [Mon, 28 Nov 2005 15:57:49 +0000 (15:57 +0000)]
Rel: Changed default ctor and parser to use Rel:ANY as default and
for empty string.

18 years agoadded YUM product handling
Jiri Srain [Mon, 28 Nov 2005 15:13:37 +0000 (15:13 +0000)]
added YUM product handling

18 years agomoved test.xml to helix.xml
Efthimios Toulas [Mon, 28 Nov 2005 14:12:16 +0000 (14:12 +0000)]
moved test.xml to helix.xml

18 years ago-lboost_regex
Michael Andres [Mon, 28 Nov 2005 13:43:40 +0000 (13:43 +0000)]
-lboost_regex

18 years agoadded testcase for product data parser
Jiri Srain [Mon, 28 Nov 2005 11:25:07 +0000 (11:25 +0000)]
added testcase for product data parser

18 years agoadded parser for product data
Jiri Srain [Mon, 28 Nov 2005 11:24:27 +0000 (11:24 +0000)]
added parser for product data

18 years agoAdded Exceptions (Exception.h)
Michael Andres [Mon, 28 Nov 2005 09:28:33 +0000 (09:28 +0000)]
Added Exceptions (Exception.h)
Provide regular expressions in namespace (zypp::)str (String.h)
Added Edition constructor taking epoch as string (doing conversion
into number), and one parsing complete edition spec. from string
"[epoch:]version[-release]".

18 years agobackup - creating package resolvable
Jiri Srain [Fri, 25 Nov 2005 14:33:32 +0000 (14:33 +0000)]
backup - creating package resolvable

18 years agocheck against global constant
Klaus Kaempf [Fri, 25 Nov 2005 12:06:46 +0000 (12:06 +0000)]
check against global constant
check for exception on illegal value

18 years agointroduce "shouldPass" and "shouldFail"
Klaus Kaempf [Fri, 25 Nov 2005 12:02:05 +0000 (12:02 +0000)]
introduce "shouldPass" and "shouldFail"

18 years agofix html close tags
Klaus Kaempf [Fri, 25 Nov 2005 11:00:56 +0000 (11:00 +0000)]
fix html close tags

18 years agoAdded Edition::Less to allow std::container on Edition using
Michael Andres [Fri, 25 Nov 2005 09:40:47 +0000 (09:40 +0000)]
Added Edition::Less to allow std::container on Edition using
Edition::operator< as well as lexicogrophical order.

Namespace for string related tools and helper functions was
renamed from (zypp::)base::string to (zypp::)str. 'string'
is obviously not a good choice for a namespace, and the
additional base:: is superfluous and inconvenient.

18 years agoupdated paths to some headers
Jiri Srain [Fri, 25 Nov 2005 07:58:41 +0000 (07:58 +0000)]
updated paths to some headers

18 years agoadded missing files
Jiri Srain [Fri, 25 Nov 2005 07:05:09 +0000 (07:05 +0000)]
added missing files

18 years agoSecond part contains simple code for creating a document
Efthimios Toulas [Thu, 24 Nov 2005 18:13:59 +0000 (18:13 +0000)]
Second part contains simple code for creating a document

18 years agoPatch, Script and Messahe have always zero size...
Jiri Srain [Thu, 24 Nov 2005 16:59:19 +0000 (16:59 +0000)]
Patch, Script and Messahe have always zero size...

18 years agoInitial commit
Efthimios Toulas [Thu, 24 Nov 2005 16:40:50 +0000 (16:40 +0000)]
Initial commit

18 years agobackup of YUM*Impl skeletons
Jiri Srain [Thu, 24 Nov 2005 16:39:31 +0000 (16:39 +0000)]
backup of YUM*Impl skeletons

18 years agoAdded working directory for etoulas
Efthimios Toulas [Thu, 24 Nov 2005 16:31:56 +0000 (16:31 +0000)]
Added working directory for etoulas

18 years agoPackageImplIf: added basic attributes to the interface.
Michael Andres [Thu, 24 Nov 2005 14:20:59 +0000 (14:20 +0000)]
PackageImplIf: added basic attributes to the interface.

18 years agoResObjectImplIf: Interface methods for common Resolvable attributes.
Michael Andres [Thu, 24 Nov 2005 12:57:33 +0000 (12:57 +0000)]
ResObjectImplIf: Interface methods for common Resolvable attributes.

18 years agoclass KindOf<>: lowercase identification string and caseinsensitive
Michael Andres [Thu, 24 Nov 2005 11:36:59 +0000 (11:36 +0000)]
class KindOf<>: lowercase identification string and caseinsensitive
comparison with string.

18 years agoTemporarily add classes to review and incorporate.
Michael Andres [Wed, 23 Nov 2005 23:54:55 +0000 (23:54 +0000)]
Temporarily add classes to review and incorporate.
It's easier to switch between home and office if they
are in SVN.

18 years agoRenamed Ptr types
Michael Andres [Wed, 23 Nov 2005 21:09:48 +0000 (21:09 +0000)]
Renamed Ptr types
        FooPtr / constFooPtr    (deprecated old)
to
        Foo_Ptr / Foo_constPtr  (new)

To be more consistent with Ptr types declared within a class as
        Foo::Ptr / Foo::constPtr

zypp/base/PtrTypes.h:
Renamed ImplPtr (we have too much Impl's) into 'RW_pointer'.
This indicates it's smart pointerness. Updated doc for it and
added code example.

18 years agobackup
Michael Andres [Wed, 23 Nov 2005 19:23:36 +0000 (19:23 +0000)]
backup

18 years agoFixed printing of dependencies. Added zypp/NeedAType.h for drafting
Michael Andres [Wed, 23 Nov 2005 19:23:15 +0000 (19:23 +0000)]
Fixed printing of dependencies. Added zypp/NeedAType.h for drafting
types to implement.

18 years agoparse multiple versions of a package inside the patch file
Jiri Srain [Wed, 23 Nov 2005 14:41:18 +0000 (14:41 +0000)]
parse multiple versions of a package inside the patch file

18 years agoEdition: finalized comarison.
Michael Andres [Wed, 23 Nov 2005 13:38:08 +0000 (13:38 +0000)]
Edition: finalized comarison.

18 years agodependency target kind is now in stream output
Jiri Srain [Wed, 23 Nov 2005 11:32:44 +0000 (11:32 +0000)]
dependency target kind is now in stream output

18 years agoparse also kind of dependency target
Jiri Srain [Wed, 23 Nov 2005 11:31:11 +0000 (11:31 +0000)]
parse also kind of dependency target

18 years agoAdded struct zypp::Rel: Relelational operators.
Michael Andres [Wed, 23 Nov 2005 00:23:02 +0000 (00:23 +0000)]
Added struct zypp::Rel: Relelational operators.
It replaces the former enum RelOp (deleted).

18 years agotypo
Michael Andres [Tue, 22 Nov 2005 19:43:00 +0000 (19:43 +0000)]
typo

18 years agoAdded test for dot (package graphviz). If installed enable
Michael Andres [Tue, 22 Nov 2005 18:28:00 +0000 (18:28 +0000)]
Added test for dot (package graphviz). If installed enable
dot graphs in doxygen.

18 years agodisabled stuff that does not compile
Michael Andres [Tue, 22 Nov 2005 16:43:35 +0000 (16:43 +0000)]
disabled stuff that does not compile

18 years agomodified parsed data structures
Jiri Srain [Tue, 22 Nov 2005 15:47:19 +0000 (15:47 +0000)]
modified parsed data structures

18 years agoYUM source 1st draft
Jiri Srain [Tue, 22 Nov 2005 15:00:16 +0000 (15:00 +0000)]
YUM source 1st draft

18 years agoCapFactory: Added missing RelOp argument for creating a versioned cap.
Michael Andres [Tue, 22 Nov 2005 13:25:43 +0000 (13:25 +0000)]
CapFactory: Added missing RelOp argument for creating a versioned cap.

18 years agoAdded comparison operators to Edition interfacae.
Michael Andres [Tue, 22 Nov 2005 12:45:39 +0000 (12:45 +0000)]
Added comparison operators to Edition interfacae.

18 years agoProvide:
Michael Andres [Tue, 22 Nov 2005 08:22:47 +0000 (08:22 +0000)]
Provide:
Capability CapFactory::parse( Resolvable::Kind, std::string, Edition, Arch) const;

18 years agoArch: added builtin Arch variables (Arch_noarch, Arch_i386, ...)
Michael Andres [Mon, 21 Nov 2005 22:14:37 +0000 (22:14 +0000)]
Arch: added builtin Arch variables (Arch_noarch, Arch_i386, ...)
and installed dumb arch compat table.

18 years agoupdated
Michael Andres [Mon, 21 Nov 2005 14:01:57 +0000 (14:01 +0000)]
updated

18 years agoAdditionaly provide Ptr types defined by DEFINE_PTR_TYPE macro as
Michael Andres [Mon, 21 Nov 2005 13:24:56 +0000 (13:24 +0000)]
Additionaly provide Ptr types defined by DEFINE_PTR_TYPE macro as
Foo_Ptr and Foo_constPtr. These name are to be used in new code.
The old names will be convert soon, and the typedefs removed.

18 years agochanged patch parser structures
Jiri Srain [Mon, 21 Nov 2005 11:38:20 +0000 (11:38 +0000)]
changed patch parser structures

18 years agofixed missing 'template<>'
Michael Andres [Mon, 21 Nov 2005 11:00:51 +0000 (11:00 +0000)]
fixed missing 'template<>'

18 years ago- Added test
Michael Andres [Mon, 21 Nov 2005 09:55:24 +0000 (09:55 +0000)]
- Added test
  boo isKind<_Res>( Resolvable::constPtr )
- Added conversion
  _Res::Ptr asKind<_Res>( Resolvable::Ptr )
  _Res::constPtr asKind<_Res>( Resolvable::constPtr )

18 years ago- Added template class base::KindOf<Type>
Michael Andres [Mon, 21 Nov 2005 00:05:57 +0000 (00:05 +0000)]
- Added template class base::KindOf<Type>
Currently string based representation of a Kind. Used as
Resolvable::Kind (package, patch, etc.), Capability::Kind
(named, versioned, conditional etc.; toto) and other kinds.

- Removed ResKind; A Resolvables Kind is now defined by
ResTraits<Resolvable>::KindType. Resolvable provides it as
Resolvable::Kind. Implemented as base::KindOf<Resolvable>.
(simply use Resolvable::Kind where you would have used ResKind)

18 years agotodo tags added
Michael Andres [Sun, 20 Nov 2005 22:02:35 +0000 (22:02 +0000)]
todo tags added

18 years agoRestored the develplayground. Formerly named 'test' now
Michael Andres [Sun, 20 Nov 2005 13:44:45 +0000 (13:44 +0000)]
Restored the develplayground. Formerly named 'test' now
'devel'. Removed the devel stuff from 'testsuite'.

18 years agoFixed doxygen file tags and added some todos.
Michael Andres [Sun, 20 Nov 2005 13:04:22 +0000 (13:04 +0000)]
Fixed doxygen file tags and added some todos.

18 years agoremove whitespace
Klaus Kaempf [Sat, 19 Nov 2005 20:14:35 +0000 (20:14 +0000)]
remove whitespace

18 years agotest -> testsuite
Klaus Kaempf [Sat, 19 Nov 2005 20:13:06 +0000 (20:13 +0000)]
test -> testsuite

18 years agoenable 'dejagnu' testsuite
Klaus Kaempf [Sat, 19 Nov 2005 20:12:34 +0000 (20:12 +0000)]
enable 'dejagnu' testsuite

18 years agotest -> testsuite
Klaus Kaempf [Sat, 19 Nov 2005 18:38:25 +0000 (18:38 +0000)]
test -> testsuite

18 years agofix check for doxygen
Klaus Kaempf [Sat, 19 Nov 2005 18:27:54 +0000 (18:27 +0000)]
fix check for doxygen

18 years ago- test for (c++) compiler and tools
Klaus Kaempf [Sat, 19 Nov 2005 18:16:32 +0000 (18:16 +0000)]
- test for (c++) compiler and tools
- use c++ for header testing
- check if boost headers are present

18 years agoupdated to compile
Jiri Srain [Fri, 18 Nov 2005 16:13:06 +0000 (16:13 +0000)]
updated to compile

18 years agofixed some of the text casees
Jiri Srain [Fri, 18 Nov 2005 15:24:45 +0000 (15:24 +0000)]
fixed some of the text casees

18 years agofixed kind rename (message -> Message)
Jiri Srain [Fri, 18 Nov 2005 15:23:50 +0000 (15:23 +0000)]
fixed kind rename (message -> Message)

18 years agofixed doxygen headers
Jiri Srain [Fri, 18 Nov 2005 13:18:56 +0000 (13:18 +0000)]
fixed doxygen headers

18 years agofixed indentation
Jiri Srain [Fri, 18 Nov 2005 12:18:34 +0000 (12:18 +0000)]
fixed indentation

18 years agoadded skeletons for YUM messages and packages
Jiri Srain [Fri, 18 Nov 2005 10:23:30 +0000 (10:23 +0000)]
added skeletons for YUM messages and packages

19 years agoReset implementations backlink to interface in dtor.
Michael Andres [Fri, 18 Nov 2005 08:52:34 +0000 (08:52 +0000)]
Reset implementations backlink to interface in dtor.

19 years agotypo in comment fixed
Michael Andres [Thu, 17 Nov 2005 14:25:06 +0000 (14:25 +0000)]
typo in comment fixed

19 years agoProvide factory methods for easy building of Resolvables
Michael Andres [Thu, 17 Nov 2005 11:55:44 +0000 (11:55 +0000)]
Provide factory methods for easy building of Resolvables
from their implementation.

19 years agoEnabled use of ResTraits. Currently they define the
Michael Andres [Thu, 17 Nov 2005 10:01:26 +0000 (10:01 +0000)]
Enabled use of ResTraits. Currently they define the
Resolvables ResKind() value.

19 years ago- Provide method 'asString()' in StringVal based classes.
Michael Andres [Thu, 17 Nov 2005 08:30:19 +0000 (08:30 +0000)]
- Provide method 'asString()' in StringVal based classes.
- Provide 'operator== and != string' in StringVal based classes.

19 years agobackup
Michael Andres [Thu, 17 Nov 2005 00:14:28 +0000 (00:14 +0000)]
backup

19 years agoRefined Resolvables interfaces, implementatio interfaces, factory
Michael Andres [Thu, 17 Nov 2005 00:13:10 +0000 (00:13 +0000)]
Refined Resolvables interfaces, implementatio interfaces, factory
and pointer types. Compiles again, but need documentation.

19 years agopropset svn:ignore
Michael Andres [Wed, 16 Nov 2005 15:21:02 +0000 (15:21 +0000)]
propset svn:ignore

19 years agoadded source subdir in Makefile.am
Michael Andres [Wed, 16 Nov 2005 14:09:54 +0000 (14:09 +0000)]
added source subdir in Makefile.am

19 years agoadded checks for libz and libxml2
Jiri Srain [Wed, 16 Nov 2005 13:27:17 +0000 (13:27 +0000)]
added checks for libz and libxml2