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

18 years agonamespace moved to zypp
Stefan Schubert [Thu, 15 Dec 2005 10:36:06 +0000 (10:36 +0000)]
namespace moved to zypp

18 years agomore updates of proxy handling
Jiri Srain [Thu, 15 Dec 2005 09:37:57 +0000 (09:37 +0000)]
more updates of proxy handling

18 years agomoved debug output back to resolvable
Stefan Schubert [Thu, 15 Dec 2005 09:19:51 +0000 (09:19 +0000)]
moved debug output back to resolvable

18 years agoseparated implementation classes
Jiri Srain [Thu, 15 Dec 2005 08:49:45 +0000 (08:49 +0000)]
separated implementation classes

18 years agoadd gettext defines in config.h
Michael Andres [Thu, 15 Dec 2005 00:14:09 +0000 (00:14 +0000)]
add gettext defines in config.h

18 years ago- added gettext interface
Michael Andres [Thu, 15 Dec 2005 00:07:44 +0000 (00:07 +0000)]
- added gettext interface
- added class LanguageCode and CountryCode

18 years agoadded error and proxy handling for Curl backend
Jiri Srain [Wed, 14 Dec 2005 17:47:30 +0000 (17:47 +0000)]
added error and proxy handling for Curl backend

18 years ago- Throw exception if safe contains psep or vsep.
Marius Tomaschewski [Wed, 14 Dec 2005 15:15:01 +0000 (15:15 +0000)]
- Throw exception if safe contains psep or vsep.

18 years ago- Documented it
Marius Tomaschewski [Wed, 14 Dec 2005 15:14:12 +0000 (15:14 +0000)]
- Documented it

18 years agoenhanced exception handling, getting rid of old error codes
Jiri Srain [Wed, 14 Dec 2005 12:19:51 +0000 (12:19 +0000)]
enhanced exception handling, getting rid of old error codes

18 years agorenamed resovlable to resItem
Stefan Schubert [Wed, 14 Dec 2005 09:49:01 +0000 (09:49 +0000)]
renamed resovlable to resItem

18 years agorenamed resovlable to resItem
Stefan Schubert [Wed, 14 Dec 2005 09:47:36 +0000 (09:47 +0000)]
renamed resovlable to resItem

18 years agoadapt to changes in lib
Michael Andres [Tue, 13 Dec 2005 23:19:22 +0000 (23:19 +0000)]
adapt to changes in lib

18 years agoinstalled class Date to handle time_t values.
Michael Andres [Tue, 13 Dec 2005 23:18:40 +0000 (23:18 +0000)]
installed class Date to handle time_t values.

18 years agoinstalled class ByteCount to maintain sizes measured in Byte.
Michael Andres [Tue, 13 Dec 2005 22:30:57 +0000 (22:30 +0000)]
installed class ByteCount to maintain sizes measured in Byte.

18 years ago- added ByteCount and Unit
Michael Andres [Tue, 13 Dec 2005 18:29:26 +0000 (18:29 +0000)]
- added ByteCount and Unit
- fixed solver/testsuite

18 years agoUnder SVN controll by accident
Michael Andres [Tue, 13 Dec 2005 18:18:43 +0000 (18:18 +0000)]
Under SVN controll by accident

18 years agoadded media-specific backends, some of them still need some updates...
Jiri Srain [Tue, 13 Dec 2005 16:20:01 +0000 (16:20 +0000)]
added media-specific backends, some of them still need some updates...

18 years agoremoved .deps dir
Jiri Srain [Tue, 13 Dec 2005 14:53:01 +0000 (14:53 +0000)]
removed .deps dir

18 years agoAdded representation for temporary path and callback skeleton
Jiri Srain [Tue, 13 Dec 2005 14:16:36 +0000 (14:16 +0000)]
Added representation for temporary path and callback skeleton

18 years agonot needed
Stefan Schubert [Tue, 13 Dec 2005 14:06:48 +0000 (14:06 +0000)]
not needed

18 years agosolver with NO connection to libypp
Stefan Schubert [Tue, 13 Dec 2005 13:27:40 +0000 (13:27 +0000)]
solver with NO connection to libypp

18 years agosolver with NO connection to libypp
Stefan Schubert [Tue, 13 Dec 2005 13:24:46 +0000 (13:24 +0000)]
solver with NO connection to libypp

18 years agoadapt to changed ZYPP_THROW macros
Michael Andres [Tue, 13 Dec 2005 12:13:07 +0000 (12:13 +0000)]
adapt to changed ZYPP_THROW macros

18 years agoMade some minor improvements.
Efthimios Toulas [Mon, 12 Dec 2005 18:56:41 +0000 (18:56 +0000)]
Made some minor improvements.

18 years agoAdded Package class.
Efthimios Toulas [Mon, 12 Dec 2005 18:20:51 +0000 (18:20 +0000)]
Added Package class.

18 years agoimproved media exceptions handling
Jiri Srain [Mon, 12 Dec 2005 17:20:41 +0000 (17:20 +0000)]
improved media exceptions handling

18 years agoAdded Class Package.
Efthimios Toulas [Mon, 12 Dec 2005 17:16:54 +0000 (17:16 +0000)]
Added Class Package.

18 years ago- added isValid() function.
Marius Tomaschewski [Mon, 12 Dec 2005 16:37:26 +0000 (16:37 +0000)]
- added isValid() function.

18 years ago- implemented get/setPathParam and get/setQueryParam(param,value)
Marius Tomaschewski [Mon, 12 Dec 2005 16:15:46 +0000 (16:15 +0000)]
- implemented get/setPathParam and get/setQueryParam(param,value)

18 years agodone
Michael Andres [Mon, 12 Dec 2005 15:08:15 +0000 (15:08 +0000)]
done

18 years ago- Added some comments about mailto: nfs: schema config
Marius Tomaschewski [Mon, 12 Dec 2005 15:06:49 +0000 (15:06 +0000)]
- Added some comments about mailto: nfs: schema config

18 years ago- Adapt to virtual ostream operator<< provided by ReferenceCounted.
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

18 years ago- Added toString(ViewOptions)
Marius Tomaschewski [Mon, 12 Dec 2005 15:00:35 +0000 (15:00 +0000)]
- Added toString(ViewOptions)

18 years agoReferenceCounted: Added virtual ostream operator<<.
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.

18 years agoAdded ostream<< operator for Url class
Jiri Srain [Mon, 12 Dec 2005 11:42:04 +0000 (11:42 +0000)]
Added ostream<< operator for Url class

18 years ago- Exception: virtual std::ostream & dumpOn( std::ostream & str ) const;
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.

18 years ago- Fixed indenting to match zypp style
Marius Tomaschewski [Mon, 12 Dec 2005 10:45:01 +0000 (10:45 +0000)]
- Fixed indenting to match zypp style

18 years agoAdded mount routines, including exception handling
Jiri Srain [Mon, 12 Dec 2005 09:48:02 +0000 (09:48 +0000)]
Added mount routines, including exception handling

18 years ago- Pathname,PathInfo
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

18 years ago- Initial Url checkin.
Marius Tomaschewski [Fri, 9 Dec 2005 10:39:45 +0000 (10:39 +0000)]
- Initial Url checkin.

18 years agoFixed the counter in the classes. Fixed filehandle.
Efthimios Toulas [Thu, 8 Dec 2005 17:53:00 +0000 (17:53 +0000)]
Fixed the counter in the classes. Fixed filehandle.

18 years agobackup
Michael Andres [Thu, 8 Dec 2005 16:56:21 +0000 (16:56 +0000)]
backup

18 years agoadded first skeleton of media backend
Jiri Srain [Thu, 8 Dec 2005 15:51:15 +0000 (15:51 +0000)]
added first skeleton of media backend

18 years agoadded missing files
Jiri Srain [Thu, 8 Dec 2005 15:49:49 +0000 (15:49 +0000)]
added missing files

18 years agoAdapted classes from liby2util, some of them to be later replaced by
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

18 years agoOptional filename can be given.
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.

18 years agotypo
Michael Andres [Thu, 8 Dec 2005 13:09:16 +0000 (13:09 +0000)]
typo

18 years agoAdjusted Exceptions.
Michael Andres [Thu, 8 Dec 2005 10:02:15 +0000 (10:02 +0000)]
Adjusted Exceptions.

18 years agoAdded Example.COW_debug.cc. A simple class using an implementation
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.

18 years ago- Added RWCOW_pointer (PtrTypes.h): RW_pointer supporting 'copy on write'
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.

18 years agomoved << operator into namespace
Jiri Srain [Tue, 6 Dec 2005 13:16:05 +0000 (13:16 +0000)]
moved << operator into namespace

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