Efthimios Toulas [Mon, 12 Dec 2005 18:20:51 +0000 (18:20 +0000)]
Added Package class.
Jiri Srain [Mon, 12 Dec 2005 17:20:41 +0000 (17:20 +0000)]
improved media exceptions handling
Efthimios Toulas [Mon, 12 Dec 2005 17:16:54 +0000 (17:16 +0000)]
Added Class Package.
Marius Tomaschewski [Mon, 12 Dec 2005 16:37:26 +0000 (16:37 +0000)]
- added isValid() function.
Marius Tomaschewski [Mon, 12 Dec 2005 16:15:46 +0000 (16:15 +0000)]
- implemented get/setPathParam and get/setQueryParam(param,value)
Michael Andres [Mon, 12 Dec 2005 15:08:15 +0000 (15:08 +0000)]
done
Marius Tomaschewski [Mon, 12 Dec 2005 15:06:49 +0000 (15:06 +0000)]
- Added some comments about mailto: nfs: schema config
Michael Andres [Mon, 12 Dec 2005 15:02:14 +0000 (15:02 +0000)]
- Adapt to virtual ostream operator<< provided by ReferenceCounted.
- fixed Exception to compile
Marius Tomaschewski [Mon, 12 Dec 2005 15:00:35 +0000 (15:00 +0000)]
- Added toString(ViewOptions)
Michael Andres [Mon, 12 Dec 2005 14:44:12 +0000 (14:44 +0000)]
ReferenceCounted: Added virtual ostream operator<<.
Derived classes may overload 'virtual ReferenceCounted::dumpOn'
to do the stream output.
Jiri Srain [Mon, 12 Dec 2005 11:42:04 +0000 (11:42 +0000)]
Added ostream<< operator for Url class
Michael Andres [Mon, 12 Dec 2005 11:24:12 +0000 (11:24 +0000)]
- Exception: virtual std::ostream & dumpOn( std::ostream & str ) const;
Added to be overloaded and print a proper error message.
Marius Tomaschewski [Mon, 12 Dec 2005 10:45:01 +0000 (10:45 +0000)]
- Fixed indenting to match zypp style
Jiri Srain [Mon, 12 Dec 2005 09:48:02 +0000 (09:48 +0000)]
Added mount routines, including exception handling
Michael Andres [Sun, 11 Dec 2005 23:39:29 +0000 (23:39 +0000)]
- Pathname,PathInfo
- Classes and associated types were moved into namespace
zypp:fileststem.
- static PathInfo methods operating on files/dirs were moved
into namespace zypp:fileststem (now outside class Pathinfo).
- classes Pathname,PathInfo are still available in
namespace zypp.
- removed stringutil.{h,cc}
Usefull stuff was moved in to namespace zypp:str (String.h)
- added base/IOStream.h
std::stream related utilities in namespace zypp:iostr.
- getline: Read one line from stream.
- forEachLine: Simple lineparser: Call a functor for each line in file.
- added base/Fd.h
safe handlich of oen()/close() on filedescriptors.
- media/*
- Fixed MediaException decl.
- Fixed MediaAccess::Ptr/consPtr (should be intrusive_ptr
as class is derived from ReferenceCounted)
- Fixed all code locations which throw, to use ZYPP_THROW
Marius Tomaschewski [Fri, 9 Dec 2005 10:39:45 +0000 (10:39 +0000)]
- Initial Url checkin.
Efthimios Toulas [Thu, 8 Dec 2005 17:53:00 +0000 (17:53 +0000)]
Fixed the counter in the classes. Fixed filehandle.
Michael Andres [Thu, 8 Dec 2005 16:56:21 +0000 (16:56 +0000)]
backup
Jiri Srain [Thu, 8 Dec 2005 15:51:15 +0000 (15:51 +0000)]
added first skeleton of media backend
Jiri Srain [Thu, 8 Dec 2005 15:49:49 +0000 (15:49 +0000)]
added missing files
Jiri Srain [Thu, 8 Dec 2005 14:38:59 +0000 (14:38 +0000)]
Adapted classes from liby2util, some of them to be later replaced by
Blocxx
Efthimios Toulas [Thu, 8 Dec 2005 13:47:57 +0000 (13:47 +0000)]
Optional filename can be given.
If not given, an outputfile is create like <helixfilename>.yum.xml .
The -s option prints the Yum-XML to stdout.
Michael Andres [Thu, 8 Dec 2005 13:09:16 +0000 (13:09 +0000)]
typo
Michael Andres [Thu, 8 Dec 2005 10:02:15 +0000 (10:02 +0000)]
Adjusted Exceptions.
Michael Andres [Tue, 6 Dec 2005 22:39:55 +0000 (22:39 +0000)]
Added Example.COW_debug.cc. A simple class using an implementation
class and performing COW. Additionally using a simple tracer
(debug.h) to trace the implementation class and counting the
instances in memory.
Michael Andres [Tue, 6 Dec 2005 15:06:02 +0000 (15:06 +0000)]
- Added RWCOW_pointer (PtrTypes.h): RW_pointer supporting 'copy on write'
functionality.
- Fixed Dependencies to perform COW.
- Added Debug.h: Debuging tools which should not be used in released code.
- Added debug::TraceCAD. Debug aid to trace object creation, assign and
destruction.
Jiri Srain [Tue, 6 Dec 2005 13:16:05 +0000 (13:16 +0000)]
moved << operator into namespace
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<>.
Michael Andres [Mon, 5 Dec 2005 21:42:16 +0000 (21:42 +0000)]
Added CapFactory statistics for debug
Efthimios Toulas [Mon, 5 Dec 2005 16:35:59 +0000 (16:35 +0000)]
Added provides/requires/conflicts iterations, which are not finished yet.
Michael Andres [Mon, 5 Dec 2005 16:30:21 +0000 (16:30 +0000)]
Fixed CapabilityImpl order relation used by CapFactory.
Jiri Srain [Fri, 2 Dec 2005 14:43:17 +0000 (14:43 +0000)]
Added comment
Jiri Srain [Fri, 2 Dec 2005 14:36:43 +0000 (14:36 +0000)]
moved unwanted stuff out of a header file
Jiri Srain [Fri, 2 Dec 2005 08:44:33 +0000 (08:44 +0000)]
put changelog information to packages
Jiri Srain [Thu, 1 Dec 2005 16:51:39 +0000 (16:51 +0000)]
Added functinoality to create whole YUM source as one function
Efthimios Toulas [Thu, 1 Dec 2005 16:14:00 +0000 (16:14 +0000)]
Started implementing command-line options
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.
Jiri Srain [Thu, 1 Dec 2005 14:24:07 +0000 (14:24 +0000)]
fixed syntax
Jiri Srain [Thu, 1 Dec 2005 14:19:04 +0000 (14:19 +0000)]
added testcase for parsing whole YUM repository
Jiri Srain [Thu, 1 Dec 2005 13:27:46 +0000 (13:27 +0000)]
added testcase for patches parser
more complete repomd.xml
Jiri Srain [Thu, 1 Dec 2005 13:27:12 +0000 (13:27 +0000)]
added parser for patches.xml file (all available patches)
Michael Andres [Wed, 30 Nov 2005 22:32:51 +0000 (22:32 +0000)]
Updated CapFactory parser, added Split dependencies.
Michael Andres [Wed, 30 Nov 2005 17:54:19 +0000 (17:54 +0000)]
updated CapFactory parser
Jiri Srain [Wed, 30 Nov 2005 13:27:52 +0000 (13:27 +0000)]
added group (selection) objects
Michael Andres [Wed, 30 Nov 2005 13:04:01 +0000 (13:04 +0000)]
prepare structure for solver code
Michael Andres [Wed, 30 Nov 2005 13:03:20 +0000 (13:03 +0000)]
Prepare structure for solver code.
Jiri Srain [Wed, 30 Nov 2005 10:41:17 +0000 (10:41 +0000)]
added exception handling
Klaus Kaempf [Wed, 30 Nov 2005 08:53:47 +0000 (08:53 +0000)]
fix typo
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.
Michael Andres [Tue, 29 Nov 2005 16:41:57 +0000 (16:41 +0000)]
Adjusted Exception handling macros; added ZYPP_CAUGHT and
ZYPP_RETHROW.
Jiri Srain [Tue, 29 Nov 2005 11:52:38 +0000 (11:52 +0000)]
do not call copy-constructors when not necessary
Jiri Srain [Tue, 29 Nov 2005 11:45:45 +0000 (11:45 +0000)]
use Arch_noarch instead of "noarch"
Jiri Srain [Tue, 29 Nov 2005 11:38:50 +0000 (11:38 +0000)]
symtax fixed
Jiri Srain [Tue, 29 Nov 2005 11:36:23 +0000 (11:36 +0000)]
added parsing more package attributes
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.
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.
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.
Jiri Srain [Mon, 28 Nov 2005 15:13:37 +0000 (15:13 +0000)]
added YUM product handling
Efthimios Toulas [Mon, 28 Nov 2005 14:12:16 +0000 (14:12 +0000)]
moved test.xml to helix.xml
Michael Andres [Mon, 28 Nov 2005 13:43:40 +0000 (13:43 +0000)]
-lboost_regex
Jiri Srain [Mon, 28 Nov 2005 11:25:07 +0000 (11:25 +0000)]
added testcase for product data parser
Jiri Srain [Mon, 28 Nov 2005 11:24:27 +0000 (11:24 +0000)]
added parser for product data
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]".
Jiri Srain [Fri, 25 Nov 2005 14:33:32 +0000 (14:33 +0000)]
backup - creating package resolvable
Klaus Kaempf [Fri, 25 Nov 2005 12:06:46 +0000 (12:06 +0000)]
check against global constant
check for exception on illegal value
Klaus Kaempf [Fri, 25 Nov 2005 12:02:05 +0000 (12:02 +0000)]
introduce "shouldPass" and "shouldFail"
Klaus Kaempf [Fri, 25 Nov 2005 11:00:56 +0000 (11:00 +0000)]
fix html close tags
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.
Jiri Srain [Fri, 25 Nov 2005 07:58:41 +0000 (07:58 +0000)]
updated paths to some headers
Jiri Srain [Fri, 25 Nov 2005 07:05:09 +0000 (07:05 +0000)]
added missing files
Efthimios Toulas [Thu, 24 Nov 2005 18:13:59 +0000 (18:13 +0000)]
Second part contains simple code for creating a document
Jiri Srain [Thu, 24 Nov 2005 16:59:19 +0000 (16:59 +0000)]
Patch, Script and Messahe have always zero size...
Efthimios Toulas [Thu, 24 Nov 2005 16:40:50 +0000 (16:40 +0000)]
Initial commit
Jiri Srain [Thu, 24 Nov 2005 16:39:31 +0000 (16:39 +0000)]
backup of YUM*Impl skeletons
Efthimios Toulas [Thu, 24 Nov 2005 16:31:56 +0000 (16:31 +0000)]
Added working directory for etoulas
Michael Andres [Thu, 24 Nov 2005 14:20:59 +0000 (14:20 +0000)]
PackageImplIf: added basic attributes to the interface.
Michael Andres [Thu, 24 Nov 2005 12:57:33 +0000 (12:57 +0000)]
ResObjectImplIf: Interface methods for common Resolvable attributes.
Michael Andres [Thu, 24 Nov 2005 11:36:59 +0000 (11:36 +0000)]
class KindOf<>: lowercase identification string and caseinsensitive
comparison with string.
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.
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.
Michael Andres [Wed, 23 Nov 2005 19:23:36 +0000 (19:23 +0000)]
backup
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.
Jiri Srain [Wed, 23 Nov 2005 14:41:18 +0000 (14:41 +0000)]
parse multiple versions of a package inside the patch file
Michael Andres [Wed, 23 Nov 2005 13:38:08 +0000 (13:38 +0000)]
Edition: finalized comarison.
Jiri Srain [Wed, 23 Nov 2005 11:32:44 +0000 (11:32 +0000)]
dependency target kind is now in stream output
Jiri Srain [Wed, 23 Nov 2005 11:31:11 +0000 (11:31 +0000)]
parse also kind of dependency target
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).
Michael Andres [Tue, 22 Nov 2005 19:43:00 +0000 (19:43 +0000)]
typo
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.
Michael Andres [Tue, 22 Nov 2005 16:43:35 +0000 (16:43 +0000)]
disabled stuff that does not compile
Jiri Srain [Tue, 22 Nov 2005 15:47:19 +0000 (15:47 +0000)]
modified parsed data structures
Jiri Srain [Tue, 22 Nov 2005 15:00:16 +0000 (15:00 +0000)]
YUM source 1st draft
Michael Andres [Tue, 22 Nov 2005 13:25:43 +0000 (13:25 +0000)]
CapFactory: Added missing RelOp argument for creating a versioned cap.
Michael Andres [Tue, 22 Nov 2005 12:45:39 +0000 (12:45 +0000)]
Added comparison operators to Edition interfacae.
Michael Andres [Tue, 22 Nov 2005 08:22:47 +0000 (08:22 +0000)]
Provide:
Capability CapFactory::parse( Resolvable::Kind, std::string, Edition, Arch) const;
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.
Michael Andres [Mon, 21 Nov 2005 14:01:57 +0000 (14:01 +0000)]
updated
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.
Jiri Srain [Mon, 21 Nov 2005 11:38:20 +0000 (11:38 +0000)]
changed patch parser structures
Michael Andres [Mon, 21 Nov 2005 11:00:51 +0000 (11:00 +0000)]
fixed missing 'template<>'