===========================================================================
MARK: released openhbci-0.9.7 (2003/02/06)
===========================================================================

2003/02/06: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- incremented version numbers prior to next release


2003-02-04  Christian Stimming  <stimming@tuhh.de>

	* openhbci.spec.in: Updated RPM spec file, by Chris Lyttle
	<chris@wilddev.net>.

2003/02/01: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in socket.cpp


===========================================================================
MARK: released openhbci-0.9.6 (2003/01/31)
===========================================================================

2003-01-31  Fabian Kaiser  <fabian@openhbci.de>

	* configure.in, openhbci.spec.in: Added the new limit.h to the
	list of Doxygen-files/RPM-spec

	* src/openhbci/loader.cpp: Fixes a bug the account limits (this
	has never worked since the account-limits were always overwritten
	by the job-limits.

	* src/openhbci/outboxstojobs.{cpp,h},
	src/openhbci/outboxaccjobs.{cpp,h}: Added static methods to query
	the job-limit.

	* src/openhbci/core/adminsegs.cpp: Fixes the
	SEGCryptesHead::toString, here the customer-id was used instead of
	the user-id in "DE keyname" when using ddv.

	* src/openhbci/core/{Makefile.am, account.h, accountimpl.{cpp,h},
	updjob.{cpp,h}, limit.{cpp,h}: Added a new class "Limit" for
	better handling of account-/job-limits. Marked the old
	limit-methods in account "deprecated" and added the new
	limit-query-method.


2003/01/31: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- adjusted version numbers prior to release 0.7.6


2003-01-30  Christian Stimming  <stimming@tuhh.de>

	* src/cmoney/createuser.c: The #include <openhbci.h> breaks the
	build on yet other systems. I don't need it anyway, so I removed
	it.

2003-01-30  Fabian Kaiser  <fabian@openhbci.de>

	* src/cmoney/createuser.c: The "#include <openhbci/openhbci.h>"
	  broke the build on systems that don't have the includes already
	  installed (changed to "#include <openhbci.h>")

	* src/openhbci/core/standingorder.{cpp,h}: Removed the deprecated
	  methods that have moved to OutboxJobXXXStandingOrder.

	* openhbci.spec.in: Added mediumrsacard.h and openhbci.m4 to the 
	  rpm-spec.

	* src/cmoney/Makefile.am: cmoney is not installed anymore

	* src/openhbci/api.{cpp,h}, loader.cpp,
	  src/openhbci/core/adminjobs.cpp, user.{cpp,h},
	  userparams.{cpp,h}: Handling for the UPD-parameter
	  "UPD-Verwendung" which gives information about the bank tells us
	  which jobs are supported or not. As this information was not
	  processed in openHBCI until now, you might reset the
	  UPD-version of your users to "0". This way, the UPD are sent to you
	  during the next dialog initialisation. Not resetting the UPD is
	  no problem but you won't be able to get this "support"-information.
		
2003-01-29  Christian Stimming <stimming@tuhh.de>

	* src/openhbci/outboxstojobs.h: Add C wrappers for OutboxJobs with
	StandingOrders.

	* src/openhbci/core/standingorder.h: Add C wrappers for
	StandingOrder.

	* src/openhbci/outboxaccjobs.cpp,
	src/openhbci/core/accountimpl.cpp,
	src/openhbci/core/accountsegs.cpp: Fix compiler warnings: line
	accountsegs.cpp:661: "jp" might be used uninitialized.

	* src/openhbci/core/medium.h,.cpp, mediumrdhbase.h,.,cpp: Add more
	C wrappers.

	* src/openhbci/core/mediumddv.h,.cpp: Add C wrapper typedef for
	MediumDDV which wasn't there before. Add C wrappers.

	* src/openhbci/openhbci.h.in: Include mediumddv.h in the headers
	available from C.

	* src/openhbci/api.h,.cpp: Add more C wrappers.

	* src/cmoney/createuser.c, src/cmoney/*.c: Fix some compiler
	warnings. Test whether mediumddv.h is correct for C.

2003-01-29  Fabian Kaiser  <fabian@openhbci.de>

	* src/openhbci/core/accountimpl.{cpp,h} ,
	  src/openhbci/outboxstojobs.{cpp,h}, outboxaccjobs.{cpp,h}: The
	  jobs that deal with "Geschaeftsvorfaelle" now can give
	  information about support for specified accounts.	

2003-01-28  Christian Stimming <stimming@tuhh.de>

	* src/openhbci/core/bank.h, bank.cpp: Add C wrappers for
	HBCI::instituteMessage.

	* src/tools/rdhconverter/main.cpp: Add using namespace std to
	satisfy gcc3.

2003/01/27: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added specialized error codes suitable for chipcard support. 
  This allows for better feedback when using chipcards as media.


2003-01-27  Christian Stimming <stimming@tuhh.de>

	* src/openhbci/core/mediumkeyfile.cpp: Clean up usage of error
	codes.


2003/01/26: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in MediumKeyfile::createMedium: Did not ask for a pin when none 
  was given
- fixed a bug in src/openhbci/Makefile.am: Target "install-exec-local" did 
  not honour $(DESTDIR)


2003-01-26  Fabian Kaiser  <fabian@openhbci.de>

	* src/openhbci/outboxstojobs.cpp: Now the standing order jobs can
	return the the HBCI::StandingOrder they are handling (see
	Transaction &OutboxJobTransfer::transaction()) 

	* src/openhbci/core/accountsegs.cpp: In
	SEGStandingOrder::toString, the execution date is now set only if
	it is valid. An invalid date should be set if the bank does not allow
	terminable deletions of standing orders.

	* src/openhbci/outboxstojobs.h: Added information about the
	"invalid-date" to the documentation of
	OutboxJobDeleteStandingOrder.

	* src/openhbci/core/job.cpp: Fixed a stupid bug I introduced when
	I added unescaping of segment responses (Aufsetzpunkt was broken).
	
2003-01-25  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/{posix,windows}/socket.{h,cpp}: Applied the
	new error codes.

	* src/openhbci/api.h, api.cpp, src/openhbci/core/Makefile.am:
	Removed connection.h from the includes list, since the forward
	declaration is enough in api.h -- only in api.cpp you need the
	actual header. Also, removed connection.h from being installed at
	all.

	* src/openhbci/core/connection.{h,cpp}: Changed Connection::open()
	to return an Error instead of a bool, to have more detailed error
	messages. Note: Fortunately this doesn't change the API, since
	with the above change in api.h the header connection.h is no
	longer visible for an application anyway -- unless an application
	was using the (internal) class Connection! If that is the case,
	please revert this change for now, and I'll come up later with a
	better solution. (sorry, I can't send/receive emails this
	weekend.)

	* src/openhbci/core/error.h: Add error codes for 'connection
	refused'. 

2003-01-24  Fabian Kaiser  <fabian@openhbci.de>

	* src/openhbci/outboxaccjobs.cpp: fixes the bug that a wrong
	bpd-parameter was used to query the allowed transaction codes in
	OutboxJobTransfer

	* src/openhbci/outboxaccjobs.{cpp,h}, outboxstojobs.{cpp,h}:
	the return type of
	OutboxJob{Transfer|NewStandingOrder}::transactionCodes() is now
	list<int> because of setTransactionCode(int)

2003-01-24  Fabian Kaiser  <fabian@openhbci.de>

	* src/openhbci/outboxaccjobs.{cpp,h}: added class methods to
	query the number of allowed dscription lines ...

	* src/openhbci/outboxstojobs.{cpp,h}: copied the class
	methods from HBCI::StandingOrder to query the allowed parameters 
	for a new standing order.

	* src/openhbci/core/standingorder.h: marked the methods mentioned 
	above as deprecated
	

2003-01-23  Fabian Kaiser  <fabian@openhbci.de>

	* src/openhbci/core/job.cpp, messagequeue.cpp: Unescaping for the
	segment response (jobs and general response).
	

2003/01/10: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- socket.cpp/socket.h: fixed a design flaw which prevented some clients to 
  connect to the server
- added "addAuthorizedCustomer()" to class Account. It is already defined in
  AccountImpl, but not accessable from outside OpenHBCI.
  The reason why I need this is that some banks to not provide an account
  list. So in this case we have to create an account manually. But when doing
  so we always create an account to which no one has access, since the list
  of authorized users is empty. So we need to be able to add an entry from
  inside an application.


2003/01/09: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- possibly fixed the umlauts problem in SWIFTParser


2003/01/06: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- openhbci-config is now installed with $(DESTDIR) prefixed.


===========================================================================
MARK: released openhbci-0.9.5 (2003/01/05)
===========================================================================


2003/01/05: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- updated version info prior to next release
- excluded test subdir from normal make


2003-01-04  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/interactorcb.{h,cpp}: Added callback code for
	the new notification functions.

2002-12-30  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/mediumrsacard.h: Fix the compatibility
	#ifdefs (this time hopefully in the correct way).

2002/12/30: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- corrected a minor bug in the media code:
  if you previously aborted an operation, then most following operations
  which call Interactor::keepAlive() failed, because the "abort" flag
  was never reset.
- MediumDDVCard and MediumRDHCard now overload the method CTCard::doCallBack
  and call "Interactor::keepAlive", so that a long term chipcard action can
  now be aborted by the user (as shown in the latest CVS version of KOpenHBCI)


2002-12-28  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/error.cpp, mediumrsacard.h,
	src/openhbci/api.cpp: More compatibility work.

	* configure.in: Add libchipcard version check -- still only 0.6.0
	is required, but this can be changed to a higher version number
	any time now.

2002/12/27: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added two methods to HBCI::Interactor which are called when performing
  secure pin verification using the keypad of a card reader. Now you are
  informed about the need for entering the pin.
- added the configure switch "--enable-rsacard" which does exactly that.
  Well, for now the code for RSA cards is not part of OpenHBCI, since it
  has to undergo some more tests.
- fixed some compile errors for FreeBSD 4.6.2.
- removed test "AC_TYPE_SOCKLEN_T" and all occurrences of "socklen_t" in
  the socket code, since at least FreeBSD fails this test and does not
  allow compiling important parts of OpenHBCI.


2002/12/26: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added support for RSACards (temporary disabled)
  You will need the latest CVS version of LibChipCard for this to work 
  (0.7beta1 does not suffice, but 0.7beta2 does)
- adapted DDV code to latest CVS version of LibChipCard
- moved some Medium code that existed in all Medium classes to the base class
- added a parameter to MediumRDHBase::createUserKeys() to allow later
  activation of created keys (as discussed in openhbci-devel)
- added methods activateKeys(), tempSignKey() and tempCryptKey() which will
  be usefull for a key change job
- fixed a bug in debugcode of messagequeue.cpp which has been reported to 
  cause segfaults when the debug file could not be opened


2002-12-26  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/api.h: Add some function documentation.

2002-12-14  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/bank.h: Add findJob() method with C wrappers.

	* src/openhbci/core/bpdjob.h: Add C wrappers.


2002/12/10: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added support for LibChipCard v0.7
- posix/socket.cpp: "PATH_MAX" is now defined if it not already was

2002-12-10  Christian Stimming <stimming@tuhh.de>

	* src/openhbci/tree.h, src/openhbci/core/messagequeue.cpp,
	deskey.cpp: More gcc3.2 fixes.

	* src/openhbci/core/error.h, deskey.cpp: Inserted Using namespace
	std; to work around problems with older libchipcard. 

2002-12-09  Fabian Kaiser  <fabian@openhbci.de>

	* src/openhbci/core/listwrappers.h: Inserted a "using namespace
	std" in the __cplusplus-part to satisfy gcc 3.2

2002-12-08  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/Makefile.am: Increment library interface number
	(since functions were added) but also set age=1 since nothing was
	removed or changed. (in accordance with libtool manpages)

2002-12-07  Christian Stimming  <stimming@tuhh.de>

	* configure.in: Incremented version number due to upcoming release
	and because of latest API additions.

	* src/openhbci/core/bank.{h,cpp}: Added C wrappers for
	hbci-version management.

	* src/openhbci/core/listwrappers.{h,cpp}: Added separate file for
	C wrappers for list<int>.

2002/12/02: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in HBCIString, which caused it to take an umlaut for a blank
  (or even worse: for an EOL).


2002/11/04: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added MediumRDHBase::resetSEQ to reset the sequence counter.
  You may need this after multiple unsuccessful tries to send your keys to
  the server


2002-10-28  Christian Stimming <stimming@tuhh.de>

	* src/openhbci/api.cpp, src/openhbci/core/medium.cpp: Catch even
	more exceptions in the C wrappers to avoid uncaught exceptions
	propagating into the application.

2002-10-27  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/error.h: Fix header for C wrappers.
	Add more specific error codes.

	* src/openhbci/api.cpp: For single errors during executeQueue,
	return those specific errors instead of a general one.

2002/10/27: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a severe bug in MediumKeyfile
- added a new constructor to Error, which allows returning an error by
  referring to another one ;-) Please see the documentation, it's quite
  exhaustive ;-)
- added another constructor to Error, which converts a LibChipCard error into
  a HBCI::Error.
- MediumKeyfile:
  - now the only place where the pin is asked for is mountMedium()
  - that is the only place where we check whether the file to mount
    already exists. If it does not the user is asked to mount it (in
    case it is a mountable medium like a floppy disc)
- Medium in common: mountMedium() now returns a HBCI::Error to give a more
  precise feedback
  

2002-10-26  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/mediumkeyfile.cpp: Comment out the automatic
	PIN-question in *writeFile* since this is much more likely to
	accidentally overwrite files compared to the usefulness. Needs
	more discussion though.

	* src/openhbci/core/date.cpp: Fix stuuupid typo in C wrapper of
	HBCI_Date_new, which prevented gnucash from using it.


2002/10/22: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- The name of the institute key is now properly escaped


2002-10-20  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/mediumkeyfile.cpp: Use the newly defined error
	codes.

	* src/openhbci/core/error.h: Add definitions for specific error
	codes, to mark some *very* specific errors.

2002-10-19  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/loader.cpp: Only create a customer if a loaded user
	has zero customers.

===========================================================================
MARK: released openhbci-0.9.2 (2002/10/19)
===========================================================================


2002/10/19: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- changed version numbers etc for next release.
- fixed all Makefile.am to be used with newer autotools.


2002-10-19  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/adminsegs.cpp: According to Martin's proposal,
	use the User-ID in HKSAK instead of customerID. Fixes problems
	with Deutsche Bank.

2002-10-18  Christian Stimming  <stimming@tuhh.de>

	* acinclude.m4, configure.in, ltmain.sh,
	src/openhbci/core/posix/datetime.h,
	src/openhbci/core/posix/socket.cpp: Patch for Mac OS by "Peter
	O'Gorman" <peter@pogma.com>.


2002/10/17: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- MessageQueue:
  - fixed a typo
  - probably fixed the cause for crash in Debugmode
  - added debug message showing the encrypted message, in case we need to
    review the key
- Connection: verbosity now depends on the Debuglevel, not on 
  "#ifdef DEBUGMODE"


2002/10/16: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- OpenHBCI will abort the a bankQueue if the connection is broken
- now hopefully using correct IDs for HKVSK etc.
- added cryptKeyOwner() to MediumRDHBase and inheriting classes


2002-10-16    Christian Stimming <stimming@tuhh.de>

	* src/cmoney/interactor.c (msgInputPin): Replace gets by fgets.

===========================================================================
MARK: released openhbci-0.9.1 (2002/10/16)
===========================================================================


2002/10/16: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- changed version numbers etc for next release.


2002-10-15  Fabian Kaiser <fabian@openhbci.de>

	* src/openhbci/core/hbcistring.cpp,swiftparser.cpp: Fixed some 
	include-directives for gcc3.2.
	Note: "unary_function"s like "toupper(), isdigit()..." need to include
	"<cctype>". Use of "cerr, cout, endl"... requires "<iostream>".
	The new headerfiles don't contain some includes anymore so they have
	to be included by hand.
	
	
2002/10/10: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- now only a single library is installed, no further need for the core
  library.


2002/09/24: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HNHSK should take the user id instead of the customer id. Fixed.
- added verbosity to MediumDDV


2002-10-07  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/progressmonitor.h,
	src/openhbci/core/windows/datetime.h: Add using namespace std.

2002-10-03  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbcistringlist.h: Added list_string_concat C
	functions to convert lists of strings into one long string. (Gee,
	I should've come up with that idea way earlier.) Fix headers in
	hbcistring.h.

	* src/openhbci/core/hbcistring.{h,cpp}: Fix locale-problems of
	string2double function by using the Value()-constructor. Commented
	out several obsolete and unused functions.

	* src/openhbci/core/accountjobs.cpp: Add stderr-dumping of
	transaction list, if debugLevel()>2.

	* src/openhbci/core/swiftparser.cpp (transactionReport): Add some
	consts. Add dump() method.

	* src/openhbci/core/date.cpp: Fix serious bugs in conversion
	HBCI::Date->struct tm, as necessary for the C wrappers.

2002-10-01  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/value.cpp: Eventually fixed the floating value
	conversion headache by temporarily modifying the locale. Ouch.

2002-09-26 Christian Stimming <stimming@tuhh.de>

	* src/openhbci/core/date.{h,cpp}: Add conversion routines to
	time_t type and more comparison functions, and C wrappers for it.

	* src/openhbci/core/value.{h,cpp}: Rewrote the string/Value/string
	conversion routines to correct the latest bugs here. Added
	Value::currencyPrecision() that returns the ISO-4217 decimal
	precision for given currencies.

	* src/test/test-value.cpp: Add test program for HBCI::Value
	implementation.

===========================================================================
MARK: released openhbci-0.9beta3 (2002/09/24)
===========================================================================

2002/09/24: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a severe bug which corrupted negative values
  Checking out the new version is strongly advised !

2002-09-23  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/transaction.{h,cpp}: Make more C return types
	const.

	* src/openhbci/core/medium.h: Fix includes for C wrappers.

2002-09-19  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/mediumrdhbase.h,
	src/openhbci/core/mediumkeyfile.h,
	src/tools/rdhconverter/mediumrdh.cpp: Removed _path data member in
	base class since this already exists and belongs to the derived
	class.

	* src/openhbci/core/value.h: Add C wrappers for constructor
	(oops).

2002-09-18  Christian Stimming  <stimming@tuhh.de>

	* openhbci.m4: Add proper macro to be used by autoconf in
	applications.

	* src/openhbci/core/mediumkeyfile.cpp: Condition debugging output
	on debugLevel.

2002-09-17  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/customer.{h,cpp}: Made more C wrappers use a
	const object.

===========================================================================
MARK: released openhbci-0.9beta2 (2002/09/12)
===========================================================================


2002-09-07  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/outboxjobs.h: Add C wrappers.

2002-09-01  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/mediumrdhbase.{h,cpp}: Add C wrappers.

2002/08/31: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- bpdCom did not initialize "language", so sometimes we got random values
  here provocing a syntax error in messages.
- removed debug stuff from MediumKeyfile

2002/08/28: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- removed old MediumRDH from openhbci library (it is now part of the
  new rdh conversion tool).
- added new tool "rdhconverter" which converts an old keyfile to the new
  version. 
  Please note that this branch of OpenHBCI does not allow using old keyfiles !
  Therefore you will have to convert them using this new tool.
  Try "rdhconverter --help" for a detailed description.

2002/08/22: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- Medium: added hbci()
- Interactor:
   - changed msgInsertCardOrAbort to msgInsertMediumOrAbort
   - changed msgInsertCorrectCardOrAbort to msgInsertCorrectMediumOrAbort
   Both now take an argument which describes which type of medium is to be
   inserted (either card or file)
- API:
   - mediumFactory now takes MediumType as second argument, not the 
     security mode
- MediumRDH: Now inherits MediumRDHBase
- removed all "dynamic_cast"s to MediumRDH, we now cast to MediumRDHBase,
  which is the new base class for all RDH media.

2002-08-26  Fabian Kaiser  <fabian@openhbci.de>

	* src/openhbci/core/mediumrdh.cpp: Fixed the bug that was
	responsible for breaking the institute-keys on a rdh-medium.
	The whole trouble came from the fact that pointers are a bitch;-)
	
2002-08-25  Fabian Kaiser  <fabian@openhbci.de>

	* src/openhbci/core/rsakey.cpp,h: Moved the "#include
	<openssl/rsa.h>" from header to implementation-file. This way
	there is only one point left (libchipcard/chipcard.h) where the
	OpenSSL-includes are required to be present for an application to
	compile. 

2002-08-22  Fabian Kaiser  <fabian@openhbci.de>

	* src/openhbci/api.cpp: API::bankFactory(...) - the bank-language
	is now set the HBCI_LANGUAGE_GERMAN as default. Otherwise the new
	HBCI::Bank is broken due to some nice random valuse for
	Bank::language().

2002-08-22  Fabian Kaiser  <fabian@openhbci.de>

	* src/openhbci/core/value.cpp,h: Fixed the fix.
	Now a HBCI::Error is thrown if the value-string in
	HBCI::Value(string) is malformed.

2002-08-22  Fabian Kaiser  <fabian@openhbci.de>

	* src/openhbci/core/value.cpp: Bugfix, if the decimal-delimiter is
	set to "," instead of "." for your system, all values (balance,
	limits, turnover-values...) were set to XXX.00 instead of
	XXX.YY. Very interesting that nobody ever noticed it before...

2002-08-21  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/account.h, accountsegs.cpp, bank.h,
	bankparams.h, customer.h, error.h, hbcistringlist.h, rsakey.cpp,
	standingorder.cpp, standingorder.h, user.h: Patch by Benoit
	Grgoire <bock@step.polymtl.ca>: The changes needed to get it to
	compile on Mandrake cooker.

	* src/openhbci/core/interactor.cpp: Make Interactor::keepAlive
	only output messages if debugLevel>0.

2002-08-20  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/mediumrdh.cpp: (readFile) fix list clearing;
	still needs testing, though.

2002-08-19  Fabian Kaiser  <fabian@openhbci.de>

	* src/openhbci/core/job.h: Fixed a compiler-warning due to
	some missing /* */ after an #endif

	* src/openhbci/core/bank.h, bankimpl.h: Moved version(),
	setVersion(int) from BankImpl to Bank::bpdVersion(),
	Bank::setBPDVersion(int). Needed to reset the BPD-Version after
	a change of the bank's HBCI-Version.

2002-08-19  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/job.h: Added C wrapper for
	errorcodeIsLibraryBug.

2002/08/19: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- fixed a bug in jobQueue which caused it to only remove ONE job when
  performing removeByResult() or removeByState().
- introduced debugLevel() and setDebugLevel() to HBCI which is used when
  printing debug output
- debug output of some of the most important methods in HBCI::API
  is now diverted to the ProgressMonitor.

2002-08-16  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/outboxjob.h, outbox*job*.h: Added resultCodes() in
	all OutboxJobs to enable detailed error analysis. Also, added C
	wrappers for that and for list<int>.

	* src/openhbci/core/messagequeue.h: Improved docs. Commented out
	the deprecrated-printf in getResult().

	* src/openhbci/core/job.h: Added errorcodeIsLibraryBug to check
	for precisely that.

	* src/openhbci/core/mediumrdh.{h,cpp}: Added getInstKeyNumber,
	getInstKeyVersion for iniletter.

2002-08-15  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/api.cpp: Fix callings of the ProgressMonitor.

	* src/openhbci/outbox.{h,cpp}: Added Outbox::allDialogJobs(),
	needed by API to correctly calculate the number of jobs per
	transaction.

	* src/openhbci/outboxjob.h: Added friend class customerQueue since
	this one needs an internal OutboxJob function. Improved docs.

2002-08-14  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/interactor.h: Added some C wrappers.

2002/08/14: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- moved remaining files to LGPL


2002/08/13: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- MediumDDV: 
  - adjusted to recent changes in libchipcard
  - removed unused constructor parameter "slot"


2002-08-13  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/mediumrdh.h, mediumddv.h: Made much more
	methods private, as discussed on openhbci-general. Added
	MediumRDH::hasInstSignKey() to query exactly that. 

	NOTE: MediumRDH::instPubSignKey turned private, so if your
	application used this to query whether there is a sign key, then
	now you need to switch to the new hasInstSignKey() method.

	* src/openhbci/core/medium{,rdh,ddv}.h: Improved
	documentation. Made mediumName() return a const string& (since
	this was trivially achievable).

2002/08/13: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- adjusted MediumDDV to recent changes in libChipCard. Of course it also
  continues to compile with older versions.
- AccountImpl: Added removeAuthorizedCustomer()
- BankImpl: removeUser now removes all if its customers from all the banks
  accounts.


2002-08-13  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/outboxjob.h: Add C wrappers for status queries.

	* src/openhbci/api.h: Added C wrapper for API::interactor(). 

	* src/openhbci/core/interactor.h: Added C wrapper for logging
	function.

2002-08-12  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/api.cpp (createNewMedium): Added one single PIN
	query instead of having several of them.

	* src/openhbci/core/mediumrdh.h: Made the minimum PIN size a
	static class constant.

	* src/openhbci/*: Improved API documentation all over the place.
	
	* src/openhbci/core/bank.h: Add HBCI_Bank_hbci C function.

	* src/openhbci/core/medium.h: Added the pin argument to C wrappers
	for mount/unmount medium.

	* src/openhbci/progressmonitorcb.h,
	src/openhbci/core/interactorcb.h: Changed class so that it also
	stores a user_data pointer and passes it on to the callback
	functions. Also, all callback functions have to be passed in the
	constructor (however, all of them may be NULL).

2002-08-10  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbci.h: added Hbci::hasLibchipcard to answer
	this question at runtime.

	* src/openhbci/api.h, src/openhbci/core/bank.h, user.h, medium.h:
	Catch exceptions that might be thrown by the C++ method, and
	return the HBCI_Error pointers instead of nothing in the C
	wrappers.

	* src/openhbci/core/medium.{h,cpp}: Add some more C wrappers for
	HBCI_Medium.

	* src/openhbci/core/mediumrdh.{h,cpp}: Add even more C wrappers
	for HBCI_MediumRDH, esp. to get data for the ini-letter.

2002-08-09  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/api.{h,cpp}: Added totalAccounts() and totalUsers()
	and their C wrappers to make counting those easier.

	* src/openhbci/core/account.h, bank.h, customer.h,
	hbcistringlist.h, standingorder.h, transaction.h, user.h: Added
	list_*_foreach C function that makes it much easier to traverse
	the lists of those Classes.

2002-08-02  Christian Stimming  <stimming@tuhh.de>

	* src/aqmoney: removed aqmoney again so that it will reside within
	its own project from now on again.
	
	* src/openhbci/core/Makefile.am: Removed some headers from
	iheader_DATA so that they are not installed, since they are used
	internally only.

2002/08/02: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- AqMoney now includes "openhbci.h" instead of "openhbci/openhbci.h"
- minor fixes/changes in configure script

2002-08-01  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/*: THE GREAT FILE RENAMING! All hbci*.h files have
	been renamed to *.h, so that the initial hbci prefix is gone not
	only in the class name but also in the file name. The only
	exception is hbcistring.h which kept the hbciprefix, since
	otherwise we would collide with libc's <string.h> all too easily.
	
	* src/openhbci/*: Improved docs (especially non-documented method
	arguments, since newer doxygen versions complain about those
	quite annoyingly).
	
	* src/openhbci/hbciapi.{h,cpp}: Added HBCI_API_bankList().
	Commented out some C wrappers again (for convenience object
	retrieval) since those are avaliable in the HBCI::Bank.

	* src/openhbci/core/hbcibank.{h,cpp}: Added list_HBCI_Bank type.

2002-07-30  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbcirsakey.{h,cpp}: Removed istream/ostream
	related methods as announced on openhbci-general on 2002-07-25.

	* src/openhbci/core/hbci.{h,cpp}: Made Hbci::libraryVersion
	static, since this property is not object-specific.
	
2002-07-29  Christian Stimming  <stimming@tuhh.de>

	* src/cmoney/*: Made cmoney compilable again.
	
	* src/openhbci/*.{h,cpp}: Renamed all C wrappers so that they are
	in accordance with the HBCI_MyClass_MyMethod convention.

2002-07-28  Fabian  Kaiser <fabian@openhbci.de>

	* src/*{cpp,h}: All classes moved to namespace "HBCI".

	The classes named "HBCIxxx" have been renamed to "xxx", classes
	that had no such prefix have also moved to namespace "HBCI".

	For the c-wrappers there are still typedefs named "HBCIxxx".

	The old class HBCI has been renamed to Hbci because C++ doesn't
	like classes with the same name as the namespace;-)

2002/07/26: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- OutboxJobGetAccounts now sets the result. Since the job itself does
  nothing this result will always be "ok".
- reverted change of HBCI_LANGUAGE since that breaks compilation of AqMoney
  and other apps. That made setting the language more difficult.
- changed language in HBCIBank to int (from string). Now the value of the
  bank is used in initialisation of dialogs.
- removed HBCI::_dialogLanguage, since it is not used anymore.


2002-07-26  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbci.h, src/openhbci/hbciapi.h: Changed
	HBCI_LANGUAGE from anonymus to named enum.

	* src/openhbci/openhbci.h.in: Removed inclusion of openhbci-core.h
	so that openhbci-core.h can go away soon.

2002/07/26: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIBank/Impl: added removeAccount().
- HBCIConnection: added error checks


2002/07/25: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- aqmoney and cmoney are now included in normal make again.
  I removed that while changing include statements in OpenHBCI.
- "openhbci" folder (where all header files are linked to upon configure
  invocation) is now removed and recreated prior to linking the headers.
  

2002-07-25  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbcirsakey.{h,cpp} (loadDataFromString):
	Replaced the LAST non-trivial macro (woo-hoo) by a function after
	review by Fabian.

2002-07-25  Fabian  Kaiser <fabian@openhbci.de>

	* src/openhbci/core/bankparams.cpp: If a job with the specified
	segment version (between versionMin and versionMax) could not be
	found, we simply return the one with the highes version number (if
	none at all could be found, we still return NULL;-)


2002/07/25: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- OutboxJob: description is public again (why did Christian change that
  to protected anyway ?). This method is needed by some applications,
  at least by mines.
- HBCIMediumDDV now checks whether the CardReader has a keypad. If so this
  will be used to make the user enter the pin. Now entering the pin is quite
  sure when used with an appropriate terminal and a chip card.


2002/07/24: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- header files are now installed to ${includedir}/openhbci. Changed all
  header files to reflect this situation
  

2002-07-24  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbcijob.{h,cpp}h, *jobs.{h,cpp}: Added many
	consts all over the place.

	* src/openhbci/core/hbciseg.{h,cpp}, *segs.{h,cpp}: Changed
	argument of parse() from string& to const string&. hbciseg.h: Made
	parse_ktv static instead of normal member.

	* src/openhbci/core/hbcierror.h: Added named enum types for the
	(previously anonymus) ErrorLevel and ErrorAdvice. Relax -- no
	further name changes were done :-)

	* src/openhbci/core/hbcirsakey.cpp (toString): Replaced the
	non-trivial macro by its expansion. (Replacement of the macro in
	loadDataFromString is intended but will be reviewed first.)

	* src/openhbci/core/hbcistring.h: Made Constructor of HBCIString
	private -- after all, we only have static methods here.

	* src/openhbci/core/hbcimedium{rdh,ddv,}.{h,cpp}, 
	* src/openhbci/core/hbcicryptkey.h, hbcirsakey.{h,cpp},
	* src/openhbci/core/hbcistandingorder.{j,cpp}: Added much more
	const's.

	* src/openhbci/outboxjob.h, outbox*job*.{h,cpp}: Added much more
	consts in the method declarations. Declared HBCIAPI and Outbox as
	friend classes and changed all methods that are only needed by
	those to be protected methods. Made more data member private,
	removed _user data member since this was almost never used and can
	always be found through the customer.

2002-07-22  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/progressmonitorcb.{h,cpp}, hbciapi.{h,cpp}: Added
	callback based C wrapper class for ProgressMonitor and implemented
	C wrappers for HBCIAPI::setMonitor.

	* src/openhbci/progressmonitor.h (JobProgressType), outboxjob.h,
	outbox*job*.h: Added enum type entries for all OutboxJob's derived
	classes. In OutboxJob, added a type() member that returns the
	appropriate type as defined in progressmonitor.h .

	* src/openhbci/outboxjob.{h,cpp}, hbciapi, outboxjob: Named
	OutboxJob_Status and _Result instead of having them as plain
	integer values.

	* src/openhbci/outboxjob.{h,cpp}, outbox*job*.*: Removed
	HBCI_JOB_TYPE_* member in OutboxJob since this was used *nowhere*
	(and also out of date).

	* src/openhbci/progressmonitor.{h,cpp}, src/openhbci/hbciapi.cpp:
	Added enum constants that specify the type of action invoked.

	* src/openhbci/outboxjobs, outboxjob, outboxaccjobs,
	outboxjobkeys, outboxstojobs: Separated all the OutboxJobs into
	different files to make this more readable.

2002-07-20  Christian Stimming  <stimming@tuhh.de>

	* src/cmoney/*: cmoney is now up and running again. :-)

	* src/openhbci/core/hbciaccount, hbcicustomer, hbcistandingorder,
	hbcitransaction, hbciuser, hbcistringlist: Completed C wrappers
	for lists of the mentioned data types.

	* src/openhbci/hbciapi.cpp: Fix C wrappers for factories since
	HBCIPointers have to explicitly be made autoDelete(false) before
	returning their pointers.

	* src/openhbci/core/hbciinteractorcb.cpp (msgInputPin): Overwrite
	buffer for PIN when no longer in use.

	* src/openhbci/core/hbcidate.h,
	src/openhbci/core/hbciinteractorcb.h, src/openhbci/hbciapi,
	outboxjobs, src/openhbci/core/hbcibank, hbciuser: Improved and
	added C wrappers.

	* src/openhbci/core/*.h: Cleaned up includes.

	* src/openhbci/core/accountjobs.h, src/openhbci/core/hbciuser.cpp:
	Add more consts.

2002/07/19: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- moved "posix" and "windows" one level deeper (they are now subfolders
  to "core"), for two reasons:
  - "core" is a better place OS dependant classses
  - at last one core class is going to need them (HBCIConnection)
- added classes Socket, SocketSet and InetAddress. Currently there are only
  posix versions, WIN32 will follow.
- HBCIConnection: now uses the new Socket class. The advantage of this class
  over the BIO interface of OpenSSL is Socket makes use of timeout values.
  This allows for more fluid GUI programs, since keepAlive() is now called
  more frequently, thus allowing the GUI to update more often.


2002-07-19  Christian Stimming  <stimming@tuhh.de>

	* src/cmoney/*, src/openhbci/cmdlineoptions.cpp,
	src/openhbci/core/hbcierror.cpp,
	src/openhbci/core/hbcistringlist.cpp,
	src/openhbci/core/hbcitransaction.cpp,
	src/openhbci/core/hbci.{h,cpp}, src/openhbci/hbciapi.{h,cpp}: More
	C wrapper work.

	* src/openhbci/core/hbcipointer.h: Clarified doc.

2002-07-18  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/hbciapi.{h,cpp}, core/hbci.h,
	core/hbciinteractorcb.{h,cpp}: More C wrapper work and improved
	documentation.

2002-07-17  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbciinteractorcb.{h,cpp}, Makefile.am:
	Introduced derived class that stores function callbacks, intended
	to be useful for C wrappers.

	* src/openhbci/core/hbciinteractor.h, hbcipointer.h: More
	preparations for C wrappers.

	* src/openhbci/core/hbciauth.h, hbciinteractor.h: More
	documentation.

2002/07/17: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIMediumDDV is less restrictive in getContext(). It now supports
  cards without valid data in the institute specific data area.


2002/07/16: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- removed prefix "c_" from all classes/files
- changed HBCIInteractor according to out latest discussion in 
  openhbci-general:
  - replaced general methods by special ones, thus removing general
    user interaction from OpenHBCI.
  - the base class does no interaction, this is now up to the application,
    because otherwise we would still have the need for message creation
    inside of openhbci.
- changed HBCIAuth to reflect the changes in HBCIInteractor
- added AQMInteractor to AqMoney which now inherits HBCIInteractor.
- HBCIAuth: added check for minimum length of the retrieved pin


2002-07-16  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/outboxjobs.cpp: Implemented checking of
	HBCI::isRetrievalOnly() in ::commit() methods.

	* src/openhbci/hbciloader.h: Cleaned up includes. Changed
	loadAccount() to only use HBCIBank so that HBCIBankImpl stays
	invisible for the user app.

	* src/openhbci/hbciloader.{h,cpp}, outboxjobs.cpp,
	c_simpleconfig.{h,cpp}: Cleaned up includes.

2002/07/15: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- c_config.{cpp,h}: added c_Config::clear() to allow fast and easy clearing
  the configuration (thus leaving it empty).
- Outbox::setNextId() did nothing. Fixed.
- HBCIAPI, Outbox: added removeQueuedJob(HBCIPointer<OutboxJob> job)


2002-07-13  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/hbciapi.h, src/openhbci/core/hbci.h: Added
	retrieval-only flag to HBCI.

	* src/openhbci/core/accountjobs.cpp: Added some queries of
	hbci()->isReadOnly in StandingOrder-Jobs where appropriate.

	* src/openhbci/hbciapi.h: Made postProcessInitJob and
	processInstituteMessages private. Made some factories
	static. Improved docs.	

	* src/openhbci/hbciapi.{h,cpp}, outbox.{h,cpp},
	outboxjobs.{h,cpp}: Clean up includes.

	* src/openhbci/core/hbciaccount.h, accountsegs.cpp,
	src/openhbci/hbciloader.cpp: Removed HBCIAccount::instituteCode
	and countryCode.

	* src/openhbci/hbciapi.cpp: Removed one superfluous const_cast.


2002/07/13: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- OutboxJobs: description() is now more, well, descriptive ;-)
- Outbox: fixed bugs concerning calculation of job count
- HBCIInteractor::keepAlive() didnot use the value of "_aborted". Fixed.


2002/07/12: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- moved HBCI::keepAlive() to HBCIInteractor
- removed argument HBCI from HBCIInteractor
- added HBCIInteractor::abort() and aborted() to make it more usable.
- implemented HBCIInteractor::abort() 


2002-07-12  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbcibalance.{h,cpp}: Completed C wrappers.

	* src/openhbci/core/hbcidate.{h,cpp}: Added HBCIDate::to_tm() for
	conversion to struct tm. Added C wrappers.

	* src/openhbci/core/hbciaccount.{h,cpp}: Completed C wrappers.

	* src/openhbci/core/hbciaccount.h,
	src/openhbci/core/hbciaccountimpl.{h,cpp}: Added const where
	possible, cleanded up includes.

	* src/openhbci/core/hbciaccount.h, src/openhbci/hbciapi.cpp:
	Remove HBCIAccount::addAuthorizedCustomer since we decided the
	application shouldn't use this. Reordered necessary casts in
	HBCIAPI::postProcessInitJobs so that this works.


2002/07/12: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIPointer: renamed HBCIPointerBase::ptr() to voidptr() to avoid
  compiler warnings.


2002/07/11: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIMediumRDH: 
  - added "b" to fopen(), this flag is ignored by Linux but
    desperately needed by WIN32 !!
  - reading the medium is now performed in a loop, since fread() does not
    guarantee to read all data (you can call this a bug fix ;-)
- windows/c_directory: homeDirectory() now returns a directory retrieved
  by calling "GetWindowsDirectory()", since the book "Windows Programmierung
  fuer Experten" says this is the only directory that is guaranteed to be 
  private to every user.
- added hbciabstracttrans to Makefile.am, otherwise other programs cannot
  compile
- added dllimport.h to Makefile.am (same reason)


2002-07-11  Fabian Kaiser  <openhbci@derzach.de>

	* src/aqmoney/delstandingorder.cpp: it is now checked, if the bank
	supports terminable deleting of standing orders. if not, the date
	is removed from the delete-job

2002-07-11  Fabian Kaiser  <openhbci@derzach.de>

	* src/openhbci/outboxjobs.{h, cpp}: support for deleting standing
	orders.
	In OutboxJobGetStandingOrders::commit(), the current
	account-information is now set for all new orders (for the
	hbciloader, see below).

	* src/openhbci/core/accountjobs.{h,cpp}, accountsegs.{h,cpp}:
	support for deleting standing orders.
	
	* src/openhbci/hbciloader.cpp: the standing orders are now stored
	together with the "id" and the "institute" (i know, this
	information is doubled in case of the aqmoney2.conf. advantage of
	this is that you can simply copy the whole order into the
	transaction file and then call the delete-job (where you need "id"
	and "institute"). 
	FIXME: Think of a better solution

	* src/openhbci/core/hbcistandingorder.{h,cpp}: added some methods
	to retrieve valid parameters for the delete-job
	
	* src/aqmoney/main.cpp, delstandingorder.{h,cpp}: support for
	deleting standing orders.
		
2002-07-11  Fabian Kaiser  <openhbci@derzach.de>

	* doc/exampleStandingOrder.tfile: Added an example of how a
	standing-order transaction-file might look like

2002-07-11  Fabian Kaiser  <openhbci@derzach.de>

	* src/openhbci/outboxjobs.{h,cpp},
	  src/openhbci/core/accountjobs.{h,cpp}, 
	  src/openhbci/core/accountsegs.{h,cpp}: Added and implemented the
	  "Aufsetzpunkt" for JOBGetTurnover/OutboxJobGetTransactions

2002/07/10: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIAPI: reenabled factories for HBCIUser/Customer
- HBCILoader: restored factory usage
- aqmoney/main.cpp: 
  - removed some unused command line options
  - added command line options 
    - "customer"
    - "role"
    If at least "customer" is given, then aqmoney will create a HBCICsutomer,
    too, upon creation of a HBCIUser.
- restored usage of HBCIPointer for access to HBCIUser wherever I found
  them removed
- added AqMoney module "createcustomer" whicl allows adding a HBCICustomer
  to an existing user. This is needed in case you forgot to mention the
  customer upon creation of the user (using command "createuser").
- changed configure.in to use openssl-DLLs under WIN32
- prepared OpenHBCI to create DLLs
- ported OS dependant files to WIN32 (for mingw32)
- added DLLIMPORT to enable DLLs
- removed HBCIAccount::userID(), since it isn't used anymore.
- added dllimport.h which defines the macro DLLIMPORT
- OutboxJobs: Account jobs now take a HBCICustomer as argument
- Outbox: Moved nextId from OutboxJob to this class, since an ID is only
  usefull for jobs that are enqueued. There are reasons to create a job
  without the intention of enqueuing it (such as getting some job parameters).
  This way those jobs won't eat up all our job ids.
- AqMoney modules can now take an argument which chooses the HBCICustomer
  which is to sign the jobs. If omitted, then the first authorized customer
  is taken (as before).
- HBCIAccountImpl now stored a list of HBCIPointer<HBCICustomer> instead of
  a string list (which contained the customer ids only).
- OutboxJob now sets the jobid upon job enqueueing
- all OutboxJobs now add their signers to the HBCIMessageQueue
- configuration file is now much smaller, since we now use much shorter
  names for banks/users/customers/accounts. Since the name of those groups
  doesn't matter at all (it is never parsed) I decided to use simple numbers.
  As you can see the readability is rather improved.

  
2002/07/08: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- hbciaccountimpl.{h,cpp}: changed bad usage of HBCIPointer to a 
  better one ;-)
- hbcipointer.h: added some "const" keywords to make all work again
- src/aqmoney/dump.cpp: corrected view of standing orders
- HBCIAccountImpl: addTransaction() itself now checks for double entries.
  A transaction will be sorted into the transaction list according to its
  date.
- OutboxJobGetTransactions: Now internally stores JobGetTurnOver instead
  of the base class. Here you can see how HBCIPointer::cast() simplifies
  working with HBCIPointers.
  

2002/07/07: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- hbcipointer.h: renamed HBCIPointer::setDelete() to setAutoDelete().
- HBCIPointer::setAutoDelete() now throws an exception if called without
  pointing to an object.


2002-07-07  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/outboxjobs.cpp (OutboxJobKeys),
	src/openhbci/core/adminjobs.h: Fix _initjob type problem that came
	up after I changed the argument of postProcessInitJob.

2002-07-06  Fabian Kaiser<openhbci@derzach.de>

	* src/openhbci/core/accountsegs.cpp: "othername" and "description"
	are now correctly escaped in the HBCI-message for standing orders.

2002-07-06  Fabian Kaiser<openhbci@derzach.de>

	* src/openhbci/core/hbciabstracttrans.h: Removed the method
	"transactionText" and "transactionKey". They had nothing to do
	with the basic transaction but only with HBCITransaction.
	
	* src/openhbci/core/hbcistandingorder.{h,cpp}: Now extends
	HBCIAbstractTrans. Many methods renamed. The methods that give
	information about correct values for order-fields are now
	static. This way we get rid of some problems with the
	HBCILoader. Btw, otherName and description are now also list<string>.

	* src/openhbci/core/accountsegs.{h,cpp}: Some changes to get the
	new HBCIStandingOrder running. Fieldnames changed to the names
	used in HBCIAbstractTrans.

	* src/openhbci/core/accountjobs.cpp: Some changes to get the new
	HBCIStandingOrder running.

	* src/openhbci/hbciloader.cpp: Modifications for loading and
	saving of HBCIStandingOrder. Now the account and bank code are
	set in the transaction file to be compatible with the handling of
	HBCITransaction.

	* src/aqmoney/dump.cpp: Modifications to get the new
	HBCIStandingOrder running (description and othername have changed)

	* src/aqmoney/newstandingorder.cpp: Now the account and bank code
	from where you want to start the transaction are set in the
	transaction file to be compatible with the handling of
	HBCITransaction.
	
2002/07/07: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- internally changed HBCIPointer, now it is theoretically possible to cast
  a HBCIPointer<Type X> to a HBCIPointer<Type Y> 
- added class HBCIPointerCast<T,U>. It's only method is "cast", it allows
  type-safe dynamic casting of a HBCIPointer<Type X> to a HBCIPointer<Type Y>.
  Please see the API doc of this new class in "hbcipointer.h".
- added method HBCIPointer::cast(), this allows easy and type safe casting of 
  a HBCIPointer<X> to a HBCIPointer<Y>.

2002-07-06  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbcistandingorder.cpp: Use the stored pointer
	to HBCIBankImpl. However, we still need the dynamic_cast to
	HBCIAccountImpl :-(

	* src/openhbci/core/hbciaccountimpl.{h,cpp}: Store an HBCI Pointer
	to the HBCIBankImpl instead of one to HBCIBank. Works transparent
	to existing code, fortunately.

	* src/openhbci/hbciapi.{h,cpp}: Changed arguments of
	postProcessInitJob so that some dynamic_casts can go away.

	* src/openhbci/core/hbcicustomer.h and places where used: As a
	trial, switched to storing a const reference to HBCIUser instead
	of HBCIPointer. IMHO, this works out quite well at this place,
	since this class is still a really simple one. But if people think
	having C++ reference is not a good idea then we could still revert
	this change.

	* src/openhbci/core/hbcimedium{rdh,ddv}.{h,cpp}: Added mountMedium
	with string arguments since it is sometimes used without HBCIUser
	object at hand.

	* src/openhbci/core/hbcicustomer.h and places where used:
	Commented out convenience method medium() -- the medium is now
	always accessed through HBCIUser.

	* src/openhbci/core/hbcicustomer.{h,cpp} and places where used:
	Renamed id -> custId, role -> custName.

	* src/openhbci/hbciapi.{h,cpp}: Removed factory methods for
	application-visible classes.

	* src/openhbci/core/hbcibankimpl.{h,cpp}: Cleared up constructors.

	* src/openhbci/core/hbciuser.{h,cpp}: Add more documentation; Add
	userName data member and C wrappers.

	* src/openhbci/c_config.{h,cpp}, c_tree.h, c_simpleconfig.{h,cpp}:
	Make more methods const.

	* src/openhbci/outboxjobs.cpp, hbciapi.cpp;
	src/openhbci/core/accountjobs.cpp, adminjobs.cpp,
	hbciaccountimpl.cpp, hbcibankimpl.cpp, hbcimessagequeue.cpp:
	Change C-style casts to explicit dynamic_casts<> to make them more
	visible. (Hopefully in the end we come to a design that can live
	without them totally :)

2002/07/06: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- renamed all methods named *Customer() to *User()
- HBCILoader now loads and saves HBCICustomers AND HBCIUsers
- added HBCIBank(Impl)::findCustomer()
- added HBCIAPI::findCustomer()
- now all classes use the new HBCICustomer class instead of the class
  HBCIUser, which was formerly known as "HBCICustomer".


2002/07/05: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- renamed HBCICustomer to HBCIUser, makes place for a class HBCICustomer
  with a different meaning (as discussed in openhbci-general)

2002-07-05  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/outbox.cpp: Simplified calls to list<>::erase()
	(one iterator is enough there).

	* src/openhbci/c_tree.h: Remove one const and a method which were
	wrong but due to not being instantiated didn't cause compiler
	errors so far.

	* src/openhbci/c_config, c_cmdlinoptions: Implemented methods
	using the const_iterator.

	* src/openhbci/c_tree.h: Added const_iterator and a whole lot of
	const's.

	* src/openhbci/core/hbciabstracttrans.{h,cpp}: Added abstract base
	class for general HBCI business transactions (Geschaeftsvorfaelle)
	which is implemented by HBCITransaction and later also by
	HBCIStandingOrder.

2002-07-02  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/outboxjobs.{h,cpp}, hbciloader.{h,cpp}: Clean up
	includes. Add casts to HBCIAccountImpl where necessary.

	* src/openhbci/core/hbciaccount.h: Commented out many setter
	methods which an application shouldn't use anyway.

2002/06/30  Fabian Kaiser<openhbci@derzach.de>

	* src/openhbci/core/accountsegs.{h, cpp}: toString-method in
	SEGStandingOrder filled with code. Also prepared for the use in a
	later ModifyStandingOrder-job.

	* src/openhbci/core/accountjobs.{h, cpp}: New job
	"JOBNewStandingOrder" added.

	* src/openhbci/outboxjobs.{h, cpp}: New job
	"OutboxJobNewStandingOrder" added. 

	* src/aqmoney/newstandingorder.{h, cpp}, main.cpp: The new job for
	creating a new standing order is now supported.

2002-06-30  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbciseg.{h,cpp}, accountjobs.cpp,
	accountsegs.cpp: Replaced macro by function call.

	* src/openhbci/core/*.h,*.cpp: Clean up include files.

	* src/openhbci/core/hbcicustomer.h, hbcibank.h: More
	documentation.

	* src/openhbci/core/hbcipointer.h: Removed the const T* from ptr()
	again, since that was semantically wrong.

2002-06-29  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbcibank.h: Added C wrappers.

	* src/openhbci/core/*.h, *.cpp: Added much more const's all over
	the place to make the API const-correct. See
	e.g. http://www.adtmag.com/joop/crarticle.asp?ID=1550 about why
	this is a good thing.

2002/06/25: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added readStandingOrderFile()/writeStandingOrderFile()
- removed tutorials for the following reasons:
  - they did not compile after merging the two projects
  - no one volunteered in adapting them
  - they do not fit into our API concept since they only use the core
    (low level) API which is rather deprecated
- the manuals (in fact currently there only is one) are now installed


2002/06/21: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- removed a FIXME from HBCIBank's API doc, added a half-sentence there


2002-06-21  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbciseg.{h,cpp}, accountsegs.cpp,
	adminsegs.cpp: Replace PARSE_KTV macro by member
	function. Fortunately the calling of the macro/function doesn't
	need to change at all but getting rid of non-trivial macros leaves
	us much safer.

	* src/openhbci/hbciloader.cpp: Fixed addInstituteMessage call.

	* src/openhbci/core/adminsegs.cpp: Added dynamic_cast so that
	HBCIBankImpl::version() can be used.

	* src/openhbci/core/hbcibank.h: Commented out addInstituteMessage
	(can IMHO only be called from inside the implementation), added
	setLanguage again. Cleaned up comments. (also hbcibankimpl.h)

2002/06/20: Fabian Kaiser<openhbci@derzach.de>
------------------------------------------------
- HBCIMessageQueue: Reintroduced the skipping of the signature-validation
	if no public bank keys are available.
- HBCISeg: Added a macro to parse ktv-elements (accountId, accountSuffix,
	bankId and countryCode)
- SEGUserParameter: The new macro to parse ktv-elements is now used
- SEGStandingOrder: The new macro to parse ktv-elements is now used
- getstandingorders.cpp: Now the orders are retrieved via the account
  instead of via the job


2002/06/20: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIMessageQueue: bankMessages are no longer deleted upon reset()
- HBCIBank: reintroduced institute messages	
- HBCIAPI: institute messages are now copied to the appropriate bank
- HBCIStandingOrder:
  - changed names concerning account ids and bank codes
    to accountId and bankCode
  - removed HBCIPointer usage for small value like classes (like HBCIValue,
    HBCIDate)
  - constructor now takes an acount instead of a user, since the parameters
    depend on the account rather than on a customer. This has no effect to
    the code, but it seems to be more logical.
- OutboxJobGetStandingOrders: commit() now stores the standing orders within
  the account.
- HBCILoader: 
  - fixed a bug causing loadCustomer() not to set the cardNumber
  - fixed a bug concerning loading of transactions
  - institute messages are now loaded and saved
  - standing orders are now loaded and saved
- AqMoney module getStandingOrder now works (it previously segfaulted)
- added comparison operators to HBCIValue
- AqMoney module is now able to dump standing orders (use --sto)
- AqMoney module is now able to dump institute messages (use --msg)
- HBCILoader is now flag controlled. You can specify what to load and what to
  save. This currently only concerns loading/saving of
  - transactions
  - institute messages (I still don't agree with Christian on this matter,
    but here it is anyway)


2002-06-18  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/accountjobs.cpp,
	src/openhbci/core/accountjobs.cpp, src/openhbci/hbciloader.cpp:
	Added some type-safe run-time downcasts (dynamic_cast) where the
	code wants to access HBCIBankImpl features but only has the
	HBCIBank reference at hand.

	* src/openhbci/core/hbcibank.h: Added Documentation. Commented out
	several methods which should not be used by an application, and
	thus should not exist in the abstract base class.

	* src/openhbci/core/hbcivalue.cpp, hbcierror.cpp, hbciaccount.cpp,
	hbcitransaction.cpp: Replaced hbci_strdup by c_str() in those
	places where the getter function returns a const string& anyway,
	i.e., the string won't change.

	* src/openhbci/core/bankparams.h, accountparams.h,
	hbciaccount.h, hbciaccountimpl.h, hbcibank.h, hbcibankimpl.h,
	hbcicustomer.h, hbcierror.h, hbcitransaction.h: Added a whole lot
	of "const ... &" to return types of functions to avoid string
	copying where it's not necessary.

	* src/openhbci/core/hbcistring.cpp: Replaced new char[] by malloc,
	since those char* pointers will be free'd instead of delete'd by C
	applications.

	* src/openhbci/core/hbcistringlist.{h,cpp}, Makefile.am: Defined a
	C wrapper for list<string> plus an appropriate iterator.

2002-06-16  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbcitransaction.{h,cpp}: Finished C wrappers;
	removed hbci_strdup again and replaced it with const char* and
	c_str(), respectively.

2002/06/15: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIAPI: added removeBank()
- HBCIBank: added removeCustomer()
- OutboxJobTransfer and OutboxJobDebitNote now check for readonly mode
- HBCIBankImpl: addAccount and addCustomer now do some important checks
  to keep internal lists clean (checking for double entries etc)
- HBCIAPI: addBank now does some important checks to keep internal lists 
  clean (checking for double entries etc).
- added AqMoney module "accadd" to add accounts manually, if the bank does
  not send a list.
- added manpage for AqMoney


2002/06/13: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCILoader: added readTransactionFile(), writeTransactionFile()
- changed all names of references to bank code to bankCode in API
- changed all names of references to account numbers to accountId in API
- fixed a bug in SEGSingleTransfer
- fixed a bug in JOBSingleTransfer
- fixed a bug in HBCIValue
- added AqMoney module sync
- added AqMoney module transfer
- added AqMoney module export
- made OutboxJob::nextId persistent
- added OutboxJobDebitNote
- AqMoney module now uses "--todate" and "--fromdate"


2002-06-13  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/hbcitransaction.{h,cpp}: Added C
	wrappers. Made most member function returning const references.

	* src/openhbci/hbciloader.cpp: Added bank/customerreference.

	* src/openhbci/core/swiftparser.cpp: fixed bug (I hope).

2002/06/12: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIBank is now an abstract base class.
- updJob has moved into its own files


2002-06-12  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/swiftparser.cpp: Added parsing of
	customerReference, bankReference.

	* src/openhbci/core/hbcitransaction.h: Added exhaustive
	explanations. Added customerReference, bankReference.

	* src/openhbci/core/hbciaccount.{h,cpp}, hbcicustomer.{h,cpp}: Use
	new hbci_strdup function and return char* instead of const char*.

2002/06/12: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- added HBCIBalance, HBCIAccountBalance
- added HBCIAccountImpl, thus virtualizing HBCIAccount
- added HBCIAPI::getCustomers(), which returns a list of all customers
  matching given criteria
- AqMoney module acclist now works again
- changed name of jobQueue to Outbox
- changed names of all queueJobsXX to OutboxJobXX
- AqMoney module turnover works again
- fixed some bugs in OutboxJobGetTransactions, works now
- fixed a bug in configure script, now "--with-debuglevel" is really used ;-)
- AqMoney module sendkey works
- AqMoney module iniletter enabled
- improved API documentation of HBCIAPI
- really renamed jobQueue to Outbox
- added OutboxJobSynchronize
- added OutboxJobGetSystemId
- removed "k_" prefix from all constants
- HBCIAPI: added factory methods, now HBCILoader only uses those to create
  customers, banks and accounts.



2002/06/11: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- changed queueJob API to support queueJobs which do opening and closing
  of dialogs themselves. This makes it possible to simply create jobs for
  getting and sending keys.
- added new queueJobs: sendKeys, getKeys
- removed key management methods from HBCIAPI, since they are normal
  queueJobs now.
- removed HBCIMessageBox files


2002/06/10: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- started working on AqMoney. It is fantastic, how small now the modules
  become. Module getBalance works now, we are now able to read balances ;-)
- added HBCIAPI::getAccounts(), which creates a list of all system wide
  known accounts which match given criteria
- added HBCIAPI::createNewMedium(), this medium creates a medium.
- AqMoney module "createUser" works, it is now able to use old keyfiles. This
  is needed to change existing configurations to the new kind.
- AqMoney module "acclist" works.
- found and eliminated a place where a job changed something outside:
  JOBDialogInit, it stored the servers public keys in the jobs owner's medium.
- added HBCIAPI::getServerKeys() and HBCIAPI::sendUserKeys()
- AqMoney module createUser() can now fetch all data needed from an already
  existing medium. This is tried if one of no userId/bankId/server is
  given. You can specify the context of the medium to select via the argument
  "--context=xx" (default: first context).
- added HBCIAPI::findMedium(), now sharing media is proposed !! That means
  if multiple users are stored in the same medium (thats the case for the
  test cards of PPI) then all these HBCICustomers should use the same
  HBCIMedium !


2002/06/08-10: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
I was quite busy with OpenHBCI this weekend, there are so many changes besides
those listed below, so this list is only a short overview:
- rewrote major parts of the wrapper API.
- changed (and thereby simplified) major parts of the core API
- added HBCIBank
- use "const &" wherever I found it possible
- HBCI segments and jobs now under no circumstances change data outside their
  own context. They simply gather information and leave it up to you
  to incorate it into your system (the more abstract classes of the jobQueue
  CAN do that for you, but they don't have to)
- moved interactive code from class HBCI to the class HBCIInteractor
- changed HBCIMessageBox to HBCIMessageQueue to avoid confusion
- removed HBCIInterface, added HBCIAPI instead
- added jobQueue, a smarter handling of the outbound queue
- changed HBCIChipCard to HBCIMediumDDV for consistency in name space
- nearly all classes encapsulate their members, you need to use a method to
  access them
- moved transactionData to HBCITransaction
- started moving parsing code to segment/job class files (adminsegs.*,
  accountsegs.* etc)
- moved most interesting classes into their own files, makes it easier to
  include them. Their is still a significance in the include order
- moved institute messages to the new class HBCIBank
- fixed some bugs in HBCIPointer
- changed usage of simple pointers to that of HBCIPointer
- moved account list from class HBCI to HBCIBank, each HBCIBank holds a list
  of its accounts and its customers
- added class HBCILoader which loads and saves data to/from c_SimpleConfigs
- removed unneeded classes (they were left over from AqMoney and some even
  older projects of mines)

2002-06-09  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/c_cmdlineoptions.{h,cpp},
	src/openhbci/core/hbcivalue.{h,cpp}, hbciaccount.{h,cpp},
	hbcicustomer.{h,cpp}, hbcierror.{h,cpp}, hbcivalue.{h,cpp}: Use
	new hbci_strdup function and return char* instead of const char*.

	* src/openhbci/core/hbcitransaction.h: Rearranged the comments a
	bit. (This class needs more work.)

2002/06/08: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- changed some methods of HBCIString to const, thus removing silent changes
  to input parameters.
- exluded tutorials from normal build (takes annoying long to compile them
  all)


2002/06/07: Martin Preuss<martin@libchipcard.de>
------------------------------------------------
- HBCIChipCard.cpp: removed struct s_institute_id from libChipCard, replaced
  it with class HBCICard::instituteData. Had to change this class here to 
  reflect that change. You'll need the latest CVS version of libChipCard for
  this to work.
- HBCIBank.{h,cpp}: a pure virtual destructor cause linkage problems (could
  not link executables), so I changed the destructor to only be virtual and
  wrote the method. That reenabled linking.
- removed AQMError from all source, since HBCIError is now identical to
  that class.
- HBCIPointer.h: added methods setObjectDescription() and objectDescription(),
  they handle the description of the object pointed to (please note that 
  setDescription() only changes the description of the pointer itself)
- HBCIInterface.{cpp,h}:now the outbox is private to HBCIInterface, you must 
  call enqueueJob() to add an OutboxJob.
- HBCIInterface.cpp: saveEnvironment now stores the relative path of the 
  medium rather than the absoulte path. This way you can simply copy the whole
  ".aqmoney" directory to any place you like. There is only one part to 
  change: "dir" in the "[general]" section of the configuration file.
- src/aqmoney/createuser.cpp: fixed a bug that caused the command "createuser"
  to fail when creating a DDV mode customer.
  

2002-06-07  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/core/adminsegs.h: Derive the instituteParams from
	the HBCIBank abstract base class, i.e. instituteParams implements the
	interface definition for a HBCIBank.

	* src/openhbci/core/hbcistring.{h,cpp}: Add strdup functions.

	* src/openhbci/core/hbcibank.{h,cpp} Change class definition to be
	an abstract base class. Add C wrappers.

2002-06-06  Christian Stimming  <stimming@tuhh.de>

	* src/cmoney/*.h: adapt includes to new package.

	* src/openhbci/core/hbcibank.{h,cpp}: Add class definition,
	although currently it currently isn't used anywhere.

	* configure.in: Fix problem if libchipcard is not there.

2002-06-05  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/hbciinterfacec.{h,cpp}, src/cmoney/createuser.c:
	Fixed HBCIInterfaceC_createUser().

2002-06-02 Martin Preuss <openhbci@aquamaniac.de>
	* src/openhbci/Makefile.am: Added "-lstdc++" as needed library
          to remove the need for specifying this library in C programs
        * configure.in: added option "--enable-full-doc" which enabled full
          APIDOC mode. Without this option "make srcdoc" will exclude internal
          core API classes.
        * Doxyfile.in: now supports two modes (normal API doc and full APIDOC)
	* .cvsignore: added "apidoc" folder
          
2002-05-30  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/hbcidate.h: Clarify comments on how dates will be
	interpreted.

2002-05-29  Christian Stimming  <stimming@tuhh.de>

	* */Makefile.in: Removed all automatically generated files. CVS
	goes into developer-only mode, i.e. you better need
	autoheader/autoconf et al. to compile CVS.
	
	* src/openhbci/hbcidate.{h,cpp}: Add constructor that takes struct
	tm* argument. Add C wrappers. FIXME: the semantics of the Year
	argument in HBCIDate are still not totally clear.

2002-05-27  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/hbcivalue.{h,cpp},
	src/openhbci/hbcicustomer.{h,cpp}: Added C wrappers.

	* src/openhbci/openhbci.h.in: Added a lot of #ifdef's so that this
	file can be included from C as well.

	* src/openhbci/hbcierror.h: Remove bogus member function that was
	added 3 days ago -- it isn't needed anyway.

2002-05-24  Christian Stimming  <stimming@tuhh.de>

	* src/openhbci/hbciaccount.{h,cpp},
	src/openhbci/hbcierror.{h,cpp}: Added C wrappers.

2002/05/21 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixed a bug in HBCIValue. This is not really a bug, but HBCIValue was
  to strict in handling values when parsing from string.


2002-05-09  Christian Stimming  <stimming@tuhh.de>

	* .cvsignore, debian/DEBIAN/.cvsignore, src/.cvsignore,
	src/openhbci/.cvsignore, src/test/.cvsignore,
	src/tutorial/.cvsignore: Added cvsignore entries for ALL
	automatically generated files to avoid annoying conflicts etc.


2002/04/26 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- removed HKIDN from first init dialog. The HBCI specs do not mention 
  this segment in this dialog, and it is suspected of causing aborts with
  some institutes. Well, we'll see ;-)
  

2002/04/20 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- changed HBCIJob/JOBDialogInit. 
  JOBDialogInit now overloads the method jobSuccess() to catch errors like
  "Server does not use sign keys" and change them into warnings. This way
  we should be able to work with those strange servers (Hypo-Vereinsbank).
  This led to a change in error checking:
  Well, until now the method 
                    "HBCIMessageBox::getResult()"
  has been used to determine if there was any error with any job. 
  This would disable working with servers that don't use sign keys, so I 
  advise you to use the new  method 
                    "HBCIMessageBox::hasErrors()"
  instead. This method calls the new method
                    "HBCIJob::hasErrors()" 
  on each job in the queue. For this reason I strongly recommend AGAINST 
  using "getResult()" any longer.
- worked on HBCIMedium and its children. Now we give the mounting customer
  when mounting a medium. This allows the media to tell the user WHICH
  medium is to be mounted.
- removed some obsolete methods from HBCIMedium and its children


2002/04/19 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- lightened up SWIFTParser, now it should work with most institutes.
  That was necessary, since some institutes do not comply with SWIFT specs.


2002/04/18 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- HBCIMediumRDH: now we can return the hash/exponent of the institutes
  public crypt key, too.


2002/04/01 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- reorganized SimpleTransfer-Segments
- added SEG/JOBDebitNote ("Lastschrift"), which is now to be debugged
- added Makefile targets to create DEB and RPM packages


2002/03/18 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added operator==() to HBCIValue and to transactionData to allow
  simple comparison.
- fixed a bug in SWIFT parser that caused openHBCI to not add transactions
  that have no "otherInstCode". Now all transactions that have valid tags
  are added to the transaction report.


2002/03/15 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- changes in HBCIConnection
  The read and write methods now call HBCI::keepAlive() to give the 
  application the opportunity to update it's GUI and to let the user abort a
  transaction.
  Therefore HBCIConnection needs to know about the application's main HBCI
  object. Sorry for the break in the API, but when writing AqMoney I 
  experienced that this is necessary.
  But these changes are easy to adapt to, since there is in any case a HBCI
  object flying around ...
  

2002/03/14 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- openHBCI now compiles and runs under Windows (using mingw32).
  

2002/03/11 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- libchipcard has now new constructors due to MAJOR internal changes.
  These changes only affect the constructor for "HBCIChipCard" of openHBCI.
  This version here now uses the new constructors if version "0.3" or above
  of libchipcard is found. Otherwise nothing is changed. In fact the internal
  changes do not affect openhbci.
  The major advantage of the new libchipcard version is, that you SHOULD now
  use it even if you have NO card reader. This way your program (and of course
  openhbci) is prepared to be used with any card terminal libchipcard supports
  currently or in the future. Kewl, eh ? ;-)
  

2002/02/03 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added comparison operators to HBCIDate
- moved README.AQUAMANIAC to doc/DESIGN


2002/01/29 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixed some minor bugs in SWIFTparser
- modified SWIFTparser to be more tolerant in parsing fields, since my
  credit institute sometimes sends CR/LF after the "?" mark. That prevented
  some fields from appearing in transaction reports


2002/01/28 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- introduced "systemName" and "systemVersion" to HBCI class. The values
  for these variables default to "openhbci" and "0.3", but they can be
  overwritten by programs to correctly identify themselves to the credit 
  institute.
  

2002/01/27 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixeds a severe bug in HBCIString::nextDE/DEG/SEG which took me an hour
  to figure out why I could not get the crypt key from my server.
  That is because the server of my real account sends a name containing
  a "?:" mark, thus needing to be escaped. Since openHBCI did not escape
  DE/DEG/DEG's it took that position as a stop mark.
  Puh, that's fixed now ;-) Another error in those methods was that if
  there would be multiple "\\" marks these methods would try to escape ALL
  of them instead of just escaping the first one (which is expected
  behavior due to the specs).
- README.AQUAMANIAC now includes a tutorial text that might help newbies
  to see through the structure of openHBCI.
  

2002/01/26 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- changed Doxyfile to allow inclusion of other project's apidoc, namely that
  of libchipcard. If you have libchipcard then its apidoc is available from 
  within the apidoc of openHBCI.
  To specify where to store the apidoc you should specify the path when
  invoking "configure" by giving the following option:
                   "--with-docpath=DIR".
  The apidoc will then be created in the given path+"/openhbci".
  In addition a tag file for doxygen is created to make the apidoc of openhbci
  available to other projects.
  So now you are able to combine the apidoc of your OWN projects with the 
  apidoc of openHBCI.
- removed redundant "+" at end of segment "HNSHK"
- fixed a newly introduced bug in HBCIMediumRDH that caused openHBCI to
  endlessly ask for the pin
  

2002/01/24 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added a new class ("HBCIAuth") which is now used to get secrets like
  the pin of your security medium. This is thougth of as a base class, it
  currently just asks the user about the secret (pin), so there is no change
  in handling of pins. But you may inherit this class to introduce other
  means of getting a pin (like retrieving it automatically from a configuration
  file, or getting it via any other authentification mechanism you prefer).
  This step was necessary to make it possible to write command line utilities
  which work without user interaction.
  There is one central object of this classes sitting in a HBCI object,
  called "authentificator". When creating a new instance of HBCI it 
  automatically installs a HBCIAuth base object 
  But you can simply overwrite that object with one of your derived
  classes, thus making the whole library using the mechanism chosen.
- adapted HBCIChipCard and HBCIMediumRDH to this new situation
- removed some old "libchipcard-0.1" stuff, now you MUST upgrade to version
  0.2 of libchipcard (http://libchipcard.sf.net)
- adapted HBCIChipCard to recent changes in libchipcard-0.2
- heavily improved HBCIError. Since I use a similar class in my other projects
  I just transfered their behavior to HBCIError. Now this class not only
  serves as an object to exception throwing, now you can use it instead of
  normal BOOLean return codes. This new usage is introduced by "HBCIAuth".
  Its method "getSecret()" returns a HBCIError object specifying IF there is
  an error and when WHAT error it is. Simply call "isOk()" on such an object to
  know the difference.
  Since the new constructor allows more precise stating of the error occurred
  the old constructor is deprecated and should therefore not be used any 
  longer. However, it is still supported, as long as there are classes which
  have not been adapted to the new constructor (well, which at this time are
  ALL other classes ;-).


2002/01/23 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixed a bug in HBCIPointer that allowed the usage counter to be negative.


2002/01/20 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added a "read" member to institute messages to flag if the message has been
  read by someone.
  This again is not used by openhbci (currently it is set to "false" upon 
  creation), but is of use for programs.
  

2002/01/09 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- prepared HBCIChipCard to use the new version 0.2 of libchipcard.
  If you have the new version (0.2 or newer) then it will be used,
  otherwise the old version will be used.
 

2002/01/05 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- minor changes in HBCIChipCard:
  - removed deprecated constructor (that one which included a pointer to a 
    CTTerminal, since this stuff is now handled by libchipcard itself)
  - introduced CardNumber into this class.
    The reason was to improve the checking of an inserted card and to save
    your card from the danger of getting unusable due to the internal pin-fail
    counter. 
    The scenario which shows the major problem that has now been
    fixed is this:
    - creating a HBCIChipCard object: the CID stored by this class is empty
    - HBCIMessageBox wants to sign a message, so it does this:
      - mount chip card: 
        Since this is the first time the card reads the "Card Identification 
	Data (CID)" off the card and stores it internally
      - ask the user about the pin
      - try to verify the pin with the card
    If you have inserted a false card, then the given pin does NOT match,
    since HBCIChipCard had nothing to check the CID against (THAT has been read
    upon mount)
    This decrements the card's internal fail-counter and if it reaches zero
    you can throw the card into a litter box, since it renders useless.
    
    The fix is now to give the CardNumber (a quite unique number stored in the
    Card Identification Data) to the constructor of HBCIChipCard. This informs
    this class about the CID so that it now has data to compare the card's CID
    against.
    As you can see in the sources the constructors for both types of media are
    now the same, thus again simplifying openHBCI.
    
    
2002/01/04 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixed a bug in HBCIChipCard:
  selectContext now unmounts the chip card before throwing an exception
- added "managed" member to HBCIAccount. This one is not used by openhbci
  itself, but can be used by programs to flag if this account is managed.
  We need this, because whenever the UPD changes, ALL accounts are reported
  by the server. So if we would simply delete the account then at the next
  change it is back again.
  

2002/01/03 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added "server" to HBCIMedium::getContext() and all inheriting classes.
  Because this is stored with the other context data it makes no sense to
  exclude the server address from this method
- fixed a bug that caused HBCICustomer not to find an account if no subid
  is given (which is mostly the case).


2001/12/30 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- I found that signing by multiple users which use the same medium does not
  work, because HBCIMessageBox never selects a context on the medium.
  So I had to change HBCICustomer, which is the owner of a medium:
  - now HBCICustomer stores the countryCode, instituteCode and userId to
    make HBCIMessageBox able to select an apropriate context after mounting
    a medium. Therefore I had to change the constructor of this class.
- HBCIMessageBox now only unmounts a medium if it needs to mount another
  one or if it gets destroyed. Otherwise it keeps the current medium 
  mounted.
  This makes multiple signing possible as invented, and removes the need
  for a program to mount a medium before sending jobs just to increment 
  the mount counter (as the tutorials did). 
  In fact you should NOT do that from now on, because that would again 
  disable multi-signatures.
- introduced usage of HBCIPointer to HBCIMessageBox for reference to the
  currently mounted medium.
- introduced usage of HBCIPointer to HBCICustomer for reference to its 
  medium. This is the only interesting purpose for HBCIPointer in this 
  class, since it allows:
  - using ONE HBCIMedium for multiple users:
    If the user gets destroyed then the medium only gets destroyed if it is
    not in use by other users or other messageboxes.
  - avoiding memory leaks, because every medium is deleted when the last 
    user is destroyed.
    So you don't have to care about the medium after creating it and 
    assigning it to a HBCICustomer.

As you can see the tutorials are getting smaller and smaller, since now some
internal things are handled by openhbci itself.


2001/12/29 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- removed contrib directory, it would become to big, and I think now it
  should go into an extra directory in the CVS tree outside openhbci.
- changed HBCIChipCard to now use automatic open mode of libchipcard (changed
  constructor)
  This way programming gets much easier !
- modified the tutorials to use this new mode, as you can see they are now
  shorter and have less "#ifdef HAS_LIBCHIPCARD" statements.
  

2001/12/27 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixed HBCIPointer, now it is ready for use. Look into my contrib dir to
  see how you can effectively use that class (dlgcreatemedium.cpp)
- added a transaction dialog to qcreatemedium in my contrib directory,
  I am planning to use that in other programs, too.
  It is located in the QTHBCI class to be used by other modules.
  QT is quite interesting ;-)


2001/12/26 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- moved instituteMessages from HBCIMessageBox to HBCI.
  This way institute messages received are directly stored into HBCI.
- added HBCIAccount class. It is simply a container for the accountParams AND
  the balance, transactionData etc. This makes external programs extremely
  easier (believe me, I am currently writing one). Currently openhbci
  itself does NOT use those extra variables, but programs might. And maybe
  later the corresponding JOBs store the data received directly in this
  place.
- HBCICustomer now stores new class HBCIAccount instead of simply the
  accountParams
- some tutorials needed a correction on this new situation.
  If you are writing a program then you might have to change statements in
  your program that look like
     list<accountParams> xxx
  to
     list<HBCIAccount> xxx
- added some convenient methods to HBCIPointer
  I guess I will start using it in the next days.
- added a contrib directory where users may contribute to openhbci without
  changing the library itself.
  This directory contains a little program written for QT that lets you
  create a RDH medium. There are other programs in my queue ...
  Why QT ? Because I don't know much about GTK, and QT is easy to deal with.
  I intend to make the dialogs in my directory very modular, so
  that they may be used in programs to be written.
- added a parameter to HBCI::msgInput to allow confirming of passwords.


2001/12/23 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- changed references to the libchipcard homepage in tutorials and READMEs
  since libchipcard has a real homepage now.
  

2001/12/22 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- changed the name of some constants related to chip cards.
  That step was necessary to support other CTAPI drivers than 
  libtowitoko, too.
  Now openhbci does not use the content of <ctapi.h> at all, it simply
  uses constants defined in libchipcard
- if you were using libchipcard before then you need the latest version
  (at least 0.1.1beta1 or newer from CVS)
- otherwise you are not affected by this change


2001/12/13 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added new template class "HBCIPointer". This is a smart pointer template
  with usage counter. It automagically deletes the date it points to if the
  usage counter reaches zero (or less ;-))
  Maybe we can now transfer the rest of the pointer usage in openhbci to this
  new class.
- added "tutorial11" to show how this new class works. It's quite intuitive.


2001/12/11 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- fixed a "bug" that caused swiftparser to return an incorrect currency for
  transactionData. Well, this is not really a bug, but it occurred that the
  test server from PPI in Kiel, Germany transformed accounts from DEM to EUR
  without updating the BPDs. I think this will never happen with real servers.
  Anyway, if it does, we are prepared now ;-)
  

2001/12/10 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- changed "balance" in accountsegs: 
    removed "currency", because the member "value" is
    able to hold the currency, so this would be double
  

2001/12/06 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- merged Mathias Kettners and my changes to avoid pointer usage, I guess
  we are now in sync again.
- removed more compiler warnings


2001/12/02 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added example directory to show how to link your own project against
  openhbci. That directory serves as a skeleton. To compile it change
  into it and do "./configure" and "make". To use it you must install
  openhbci FIRST !


2001/12/01 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- libchipcard changed name of ECCard class to HBCICard, so I had to change
  "openhbci.h" and "hbcichipcard.*" to reflect this change
  

2001/11/29 Martin Preuss<openhbci@aquamaniac.de>
------------------------------------------------------------------------
- added institute code/country code to institute message
- started using ChangeLog file for daily work ;-)


Version 0.3
------------------------------------------------------------------------
The original version was too much based on RDH, so it was difficult to 
implement DDV (I tried). There were too many pieces to change.
And there where also some changes pending (like moving SEGs to account based
ones).

Because this would occur again when another security medium gets introduced 
into HBCI (like RSA chip card) I decided to make these changes to simplify
future implementations. 

Another quite ugly thing was the need to register current HBCIUser and
HBCIInstitute whenever one of them changes. Because HBCI allows multiple
users to sign a message (and each user may use an other security mode) it would 
have been very difficult to PROPERLY implement this feature with all the 
registerUser/registerInstitute stuff.
Now you just add a signer and openhbci does the rest in a more transparent
way.

The openhbci library itself does NOT store the pin of the chip card for
security reasons. Therefore I needed some interactive methods to ask the user
to enter his pin. This is built into the new HBCIChipCard class which is based
on HBCIMedium. Therefore it is easy to transparently implement support for 
class 3 (I guess that was the number) chip card readers, which let you enter 
the pin directly into a builtin number key pad. And that allows me to later
implement the encrypted storage of keys which Fabian uses, too.

The changes are:

- added HBCIMedium
  This class now stores the keys and does all the encryption and signature
  stuff. It is now possible to switch from one security mode to another.
  There are now two special classes derived from this one:
  - HBCIMediumRDH
    This class introduces RDH security mode and it does what Fabians version
    did in several classes (creating RSA keys, loading, storing of keys,
    encryption, decryption, signing and verifying a signature). In fact
    nearly all methods are taken from various locations in Fabian's original
    version.
  - HBCIChipCard
    This class introduces DDV security mode. It does all the interaction
    between hbci and the chip card.
  When new security media arrive (like the mysterious RSA chip card)
  you only have to derive a class from HBCIMedium and it will be used
  by the library.

- removed HBCIUser, added "accountParams" class to adminseg, because
  the segment classes are the only ones who really know about what information
  is delivered by the hbci server and what their format is, so now all
  parsing of segment data is left in adminseg/adminjobs.
  That makes the  "accountParams" class a passive one which only STORES data.

- removed HBCIInstitute, added "instituteParams" class to adminseg (see
  above), which only stores data

- added HBCICustomer
 - a customer is defined by an institute id (containing country id, institute
   code) and a user id assigned by that institute
 - this class is the main class of my openhbci version
 - now this class stores most information which was stored in HBCIUser,
   except for the keys which went into HBCIMediumRDH
 - it also stores the HBCI object to which this customer belongs and
   the security medium this customer uses
 - this class stores all account information (so called "UPD") for this 
   customer

- modified JOBs, SEGs (partially rewritten but even then based on Fabians)
  - these classes are now based on HBCICustomer only. From that class they
    get all the information they need (including a reference to the security
    medium used)
  - account based jobs (like JOBGetBalance) get the
    appropriate "accountParams" object in their constructor

- modified HBCI
 - removed all static stuff
 - added interactive methods for reading pin, writing messages etc.
   these methods have to be overloaded by YOUR application to be of any
   use. I need these methods here because HBCI allows multiple signers
   of messages. Therefore we might have the need to remove the currently
   inserted card and to replace it by that of the next signer. And that
   needs interactivity with the user (asking to replace card, asking for pin)
 - added libraryVersion() and corresponding definitions to make it easier
   to determine what the current openhbci version is capable of. The
   definitions are:
   - k_HBCI_LIBVERSION_MAJOR for the major version (currently 0)
   - k_HBCI_LIBVERSION_MINOR for the minor version (currently 3)
   - k_HBCI_LIBVERSION_PATCHLEVEL for the patchlevel (currently 0)


Martin Preuss<openhbci@aquamaniac.de>
Hamburg, Nov 26, 2001

