Stefan Schubert [Thu, 22 Dec 2005 14:19:30 +0000 (14:19 +0000)]
changed namespace for Arch
Stefan Schubert [Thu, 22 Dec 2005 13:59:50 +0000 (13:59 +0000)]
replace Relation with Rel of libzypp
Stefan Schubert [Wed, 21 Dec 2005 16:33:03 +0000 (16:33 +0000)]
Edition replaced by Edition of libzypp
Stefan Schubert [Wed, 21 Dec 2005 16:32:53 +0000 (16:32 +0000)]
Edition replaced by Edition of libzypp
Stefan Schubert [Wed, 21 Dec 2005 09:07:44 +0000 (09:07 +0000)]
removed all new Arch and taking references instead of pointers
Jiri Srain [Tue, 20 Dec 2005 12:59:33 +0000 (12:59 +0000)]
backup commit of RPM backend
Stefan Schubert [Tue, 20 Dec 2005 09:20:12 +0000 (09:20 +0000)]
taking zypp:Arch in the solver
Michael Andres [Mon, 19 Dec 2005 13:49:34 +0000 (13:49 +0000)]
Added Locale
Jiri Srain [Mon, 19 Dec 2005 10:31:33 +0000 (10:31 +0000)]
report changes from Curl backend
Michael Andres [Mon, 19 Dec 2005 09:54:14 +0000 (09:54 +0000)]
done
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.
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.).
Stefan Schubert [Fri, 16 Dec 2005 16:09:32 +0000 (16:09 +0000)]
creating ResObject in ResItem; rplaced kind
Stefan Schubert [Fri, 16 Dec 2005 10:51:57 +0000 (10:51 +0000)]
proxyinfo added
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.
Stefan Schubert [Thu, 15 Dec 2005 14:03:13 +0000 (14:03 +0000)]
added namespace solver::detail
Jiri Srain [Thu, 15 Dec 2005 11:58:47 +0000 (11:58 +0000)]
updated the ProxyInfo constructor
Stefan Schubert [Thu, 15 Dec 2005 10:36:06 +0000 (10:36 +0000)]
namespace moved to zypp
Jiri Srain [Thu, 15 Dec 2005 09:37:57 +0000 (09:37 +0000)]
more updates of proxy handling
Stefan Schubert [Thu, 15 Dec 2005 09:19:51 +0000 (09:19 +0000)]
moved debug output back to resolvable
Jiri Srain [Thu, 15 Dec 2005 08:49:45 +0000 (08:49 +0000)]
separated implementation classes
Michael Andres [Thu, 15 Dec 2005 00:14:09 +0000 (00:14 +0000)]
add gettext defines in config.h
Michael Andres [Thu, 15 Dec 2005 00:07:44 +0000 (00:07 +0000)]
- added gettext interface
- added class LanguageCode and CountryCode
Jiri Srain [Wed, 14 Dec 2005 17:47:30 +0000 (17:47 +0000)]
added error and proxy handling for Curl backend
Marius Tomaschewski [Wed, 14 Dec 2005 15:15:01 +0000 (15:15 +0000)]
- Throw exception if safe contains psep or vsep.
Marius Tomaschewski [Wed, 14 Dec 2005 15:14:12 +0000 (15:14 +0000)]
- Documented it
Jiri Srain [Wed, 14 Dec 2005 12:19:51 +0000 (12:19 +0000)]
enhanced exception handling, getting rid of old error codes
Stefan Schubert [Wed, 14 Dec 2005 09:49:01 +0000 (09:49 +0000)]
renamed resovlable to resItem
Stefan Schubert [Wed, 14 Dec 2005 09:47:36 +0000 (09:47 +0000)]
renamed resovlable to resItem
Michael Andres [Tue, 13 Dec 2005 23:19:22 +0000 (23:19 +0000)]
adapt to changes in lib
Michael Andres [Tue, 13 Dec 2005 23:18:40 +0000 (23:18 +0000)]
installed class Date to handle time_t values.
Michael Andres [Tue, 13 Dec 2005 22:30:57 +0000 (22:30 +0000)]
installed class ByteCount to maintain sizes measured in Byte.
Michael Andres [Tue, 13 Dec 2005 18:29:26 +0000 (18:29 +0000)]
- added ByteCount and Unit
- fixed solver/testsuite
Michael Andres [Tue, 13 Dec 2005 18:18:43 +0000 (18:18 +0000)]
Under SVN controll by accident
Jiri Srain [Tue, 13 Dec 2005 16:20:01 +0000 (16:20 +0000)]
added media-specific backends, some of them still need some updates...
Jiri Srain [Tue, 13 Dec 2005 14:53:01 +0000 (14:53 +0000)]
removed .deps dir
Jiri Srain [Tue, 13 Dec 2005 14:16:36 +0000 (14:16 +0000)]
Added representation for temporary path and callback skeleton
Stefan Schubert [Tue, 13 Dec 2005 14:06:48 +0000 (14:06 +0000)]
not needed
Stefan Schubert [Tue, 13 Dec 2005 13:27:40 +0000 (13:27 +0000)]
solver with NO connection to libypp
Stefan Schubert [Tue, 13 Dec 2005 13:24:46 +0000 (13:24 +0000)]
solver with NO connection to libypp
Michael Andres [Tue, 13 Dec 2005 12:13:07 +0000 (12:13 +0000)]
adapt to changed ZYPP_THROW macros
Efthimios Toulas [Mon, 12 Dec 2005 18:56:41 +0000 (18:56 +0000)]
Made some minor improvements.
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