2005-03-02  Ludovic Rousseau  <rousseau@acer>

	* reconf: autoreconf script

	* ChangeLog: release 1.2.9-beta7

	* configure.in:
	if /usr/local/lib/pkgconfig/libpcsclite.pc exists (default pcsc-lite
	configuration) we exit telling the user to use
	PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure

2005-02-22  Ludovic Rousseau  <rousseau@acer>

	* src/tokenfactory.c, src/musclecard.c:
	use dynamic debug level: LogX() instead of DebugLogX()

	* configure.in: use PCSCLITE instead of PCSC

	* configure.in:
	test the pcsc-lite version directly by PKG_CHECK_MODULES
	add a test on winscard.h header and on pcsclite library

2005-02-21  Ludovic Rousseau  <rousseau@acer>

	* configure.in, README:
	the first version is 1.2.9-beta7 to be in sync with pcsc-lite

2004-10-06  Ludovic Rousseau  <rousseau@acer>

	* acinclude.m4: add ACX_PTHREAD macro

	* src/Makefile.am, utils/Makefile.am, utils/bundleTool/Makefile.am, AUTHORS, COPYING, ChangeLog, INSTALL, Makefile.am, NEWS, README, bootstrap, configure.in, doc/Makefile.am:
	new build infrastructure. Patch from Toni Andjelkovic

	* src/libmusclecard.pc.in:
	do not force the libpcsclite version to use since the two packages are
	now independents

	* src/strlcat.c, src/strlcpy.3, src/strlcpy.c, src/strlcpycat.h:
	files imported from pcsc-lite, which imported them from
	ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/

	* src/musclecard.c, src/tokenfactory.c:
	use < > instead of " " for the include files provided by pcsc-lite (and
	already installed in the system)

	* src/tokenfactory.c: use MSC_ARCH instead of PCSC_ARCH

	* utils/.cvsignore, utils/bundleTool/.cvsignore, src/.cvsignore, doc/.cvsignore, .cvsignore:
	list of files to ignore

	* utils/bundleTool/bundleTool.c, src/musclecard.c, src/muscletest.c:
	patch from Toni Andjelkovic for the pcsc-lite/libmusclecard separation

2004-09-29  Ludovic Rousseau  <rousseau@acer>

	* src/tokenfactory.c:
	TPSearchBundlesForAtr(): revert the previous patch.

	Thanks to Toni Andjelkovic for his patch patch :-)

	* src/tokenfactory.c:
	TPSearchBundlesForAtr(): initialise tokenInfo so that it contains safe
	default values when no pcsc/services/ directory is found.

	Thanks to Toni Andjelkovic for the patch

2004-09-17  corcoran-guest  <corcoran-guest@acer>

	* src/musclecard.c: rewrite of mscreadallocateobject

	* src/musclecard.c: initialized more vars in ListTokens

	* src/musclecard.c: added init for tokenType

2004-09-14  Ludovic Rousseau  <rousseau@acer>

	* src/tokenfactory.c: use strlcpy() instead of strcpy()

	* src/muscletest.c: use strlcpy() insted of strcpy()

2004-09-07  Ludovic Rousseau  <rousseau@acer>

	* src/musclecard.c:
	convert MSC_INCORRECT_P1/P2 to the corresponding text error message
	(instead of "Unknown SW").

	Thanks to Bruce Barnett for the patch.

2004-08-06  Ludovic Rousseau  <rousseau@acer>

	* src/musclecard.c, src/muscletest.c, src/tokenfactory.c, src/tokenfactory.h, src/PCSC/mscdefines.h, src/PCSC/musclecard.h:
	remove PCSC/ from the header files path since the path is given by
	pkg-config --cflags libpcsclite or the correct -I directive

2004-08-02  Ludovic Rousseau  <rousseau@acer>

	* src/musclecard.c:
	use THREAD_ATTR_DEFAULT argument in SYS_ThreadCreate()

2004-07-29  Ludovic Rousseau  <rousseau@acer>

	* src/tokenfactory.c, src/musclecard.c:
	replace #ifdef MSC_DEBUG by #ifndef NO_MSC_DEBUG

2004-07-08  Ludovic Rousseau  <rousseau@acer>

	* src/tokenfactory.c:
	TPSearchBundlesForAtr(): use "%s/%s" insead of "%s%s" when generating
	the MuscleCard bundle name on MacOSX

2004-07-03  Ludovic Rousseau  <rousseau@acer>

	* src/libmusclecard.pc.in:
	use "Requires: libpcsclite = @VERSION@" instead of just "-lpcsclite"
	Thanks to Ville Skyttä for the patch

	* src/libmusclecard.pc.in: includedir is now @includedir@/PCSC

2004-06-10  Ludovic Rousseau  <rousseau@acer>

	* src/PCSC/mscdefines.h, src/PCSC/musclecard.h: simplify:
	  #if defined(__APPLE__)
	  #include <PCSC/wintypes.h>
	  #else
	  #include <wintypes.h>
	  #endif
	since we now use PCSC/ for all Unix platforms

	* src/musclecard.c, src/muscletest.c, src/tokenfactory.c, src/tokenfactory.h, utils/bundleTool/bundleTool.c:
	use the new PCSC/ location for header files

2004-05-25  Ludovic Rousseau  <rousseau@acer>

	* src/muscletest.c:
	recompile using -pedantic and correct lots of cast "problems"

2004-05-10  Ludovic Rousseau  <rousseau@acer>

	* utils/bundleTool/bundleTool.8.in, utils/bundleTool/bundleTool.c:
	approprate -> appropriate

	* src/PCSC/musclecard.h, src/muscletest.c, utils/bundleTool/bundleTool.8.in:
	smartcard -> smart card, musclecard -> MuscleCard

2004-05-06  Ludovic Rousseau  <rousseau@acer>

	* src/muscletest.c:
	use the local pcsclite.h instead of the (old) one already installed

	This was problematic for MacOSX since winscard.h wanted to include
	<PCSC/pcsclite.h> which is the old and incompatible one.

2004-04-21  Ludovic Rousseau  <rousseau@acer>

	* src/tokenfactory.c: remove the function names from the debug messages

2004-04-02  Ludovic Rousseau  <rousseau@acer>

	* utils/bundleTool/bundleTool.8.in: typos

2004-03-31  Ludovic Rousseau  <rousseau@acer>

	* src/muscletest.c: also print tokenType field as a number and string

	* src/musclecard.c:
	Initialize currentToken->tokenType in MSCListTokens(). Closes "[ #300607 ]
	MSCListTokens should set tokenType to know state before OR operation"

	* src/musclecard.c: replace some 0 bu NULL for pointers

	* src/muscletest.c: - replace 0 by NULL
	- remove some { } for one line blocks

	* src/PCSC/mscdefines.h:
	use SCARDCONTEXT and SCARDHANDLE instead of MSCLong32

2004-03-24  Ludovic Rousseau  <rousseau@acer>

	* src/tokenfactory.c:
	correct atrString[] buffer size. The ATR is in ASCII so it must be MAX_ATR_SIZE*2 +1

2003-11-09  aet-guest  <aet-guest@acer>

	* utils/bundleTool/bundleTool.c:
	- Allow regular pcsclite.h to be used under win32 platform

2003-11-05  Ludovic Rousseau  <rousseau@acer>

	* src/libmusclecard.pc.in:
	add muscledropdir (in libmusclecard) and usbdropdir (in libpcsclite) so
	we can use `pkg-config libpcsclite --variable=usbdropdir` to find the
	directory to use. Should be used by drivers and plugins installation.
	Thanks to Ville Skyttä for the patch.

2003-11-02  Ludovic Rousseau  <rousseau@acer>

	* utils/bundleTool/bundleTool.c:
	port under Win32 (patch from Peter Williams) and some code cleanup

2003-10-21  aet-guest  <aet-guest@acer>

	* src/tokenfactory.c: - Move all common hotplug defines into hotplug.h
	- Remove extra LTPBundleFindValueWithKey declarations

2003-10-18  aet-guest  <aet-guest@acer>

	* src/PCSC/mscdefines.h, src/PCSC/musclecard.h, src/musclecard.c, src/muscletest.c, src/tokenfactory.c, src/tokenfactory.h, utils/bundleTool/bundleTool.c:
	- Unify the copyright/description header part for most of the files

2003-10-15  Ludovic Rousseau  <rousseau@acer>

	* src/tokenfactory.c: correct a typo

2003-09-30  Ludovic Rousseau  <rousseau@acer>

	* src/tokenfactory.c:
	having a trailing / in MSC_SVC_DROPDIR (--enable-muscledropdir) is no more mandatory

	* src/tokenfactory.c:
	print the directory name with the error message if opendir failed

2003-09-27  Ludovic Rousseau  <rousseau@acer>

	* src/libmusclecard.pc.in:
	add a new pkg-config file for application using libmusclecard. Closes
	"[ #300102 ] Should the pkgconfig file of 1.2.0-rc2 have -lmusclecard?"

2003-09-08  aet-guest  <aet-guest@acer>

	* utils/bundleTool/bundleTool.c:
	Build fix for MacOS X, don't bother including
	from <PCSC/..>, use standard header locations.

	* src/musclecard.c:
	Fix compiler warning when compiling with --disable-threadsafe

	* src/tokenfactory.c:
	AIX build fix, convert // comments into /* */ blocks.

2003-09-07  Ludovic Rousseau  <rousseau@acer>

	* src/musclecard.c, src/tokenfactory.c:
	remove useless \n in debug message strings

2003-09-07  aet-guest  <aet-guest@acer>

	* src/PCSC/mscdefines.h, src/PCSC/musclecard.h, src/musclecard.c, src/muscletest.c, src/tokenfactory.c, utils/bundleTool/bundleTool.c:
	- Cleanups for #include logic and ordering,
	  it's better to include config.h first.

	* src/tokenfactory.c:
	- Remove MSC/PCSC_TARGET_XYZ defines and the massive
	  use of unflexible automake conditionals. The main
	  reason why pcsc-lite requires "too much" work when
	  porting to another OS. Introduced define PCSC_ARCH,
	  which uses 'uname' as an input. Except Darwin->MacOS.
	- Removed --enable-usb
	- Preliminary rewrite of src/Makefile.am, doesn't work
	  yet.
	- Use gcc specific compiler options only if
	  gcc detected.

2003-09-04  Ludovic Rousseau  <rousseau@acer>

	* src/muscletest.c: add #include <string.h>

2003-08-28  Ludovic Rousseau  <rousseau@acer>

	* src/muscletest.c:
	use CAPITAL hex, use default PIN "Muscle00" when none is given, allow to
	use more than one readers instead of using only the first one.

	* src/musclecard.c: print SW (status word) in hex instead of decimal

2003-08-25  Ludovic Rousseau  <rousseau@acer>

	* src/musclecard.c: reindentation

	* src/musclecard.c:
	free(evlist->tokenArray), avoid a memory leak (Toni Andjelkovic)

2003-08-20  Ludovic Rousseau  <rousseau@acer>

	* src/musclecard.c:
	initialise pConnection->shareMode as early as possible (close #300064,
	thanks to Wan-Teh Chang)

2003-08-15  Ludovic Rousseau  <rousseau@acer>

	* src/PCSC/musclecard.h, src/musclecard.c:
	add void argument to the MSCCallbackCancelEvent() prototype definition
	(thanks to Toni Andjelkovic)

2003-06-04  corcoran-guest  <corcoran-guest@acer>

	* src/PCSC/musclecard.h, src/musclecard.c, src/tokenfactory.c:
	Commiting these files

2003-05-30  Ludovic Rousseau  <rousseau@acer>

	* src/musclecard.c: small cleanup

2003-05-25  Ludovic Rousseau  <rousseau@acer>

	* utils/bundleTool/bundleTool.8.in:
	correct typos and include configured path appear in the docs (thanks to
	Ville Skyttä)

2002-12-07  Ludovic Rousseau  <rousseau@acer>

	* src/musclecard.c, src/tokenfactory.c:
	use DebugLogB() for logs with 2 parameters and not DebugLogC()

2002-12-02  David Corcoran  <corcoran@acer>

	* src/musclecard.c, utils/bundleTool/bundleTool.c:
	Included changes from Citrix
	 - Support for AIX in configure.in and Makefile.am
	 - added ifdef for SNPRINTF and VSNPRINTF

2002-10-02  David Corcoran  <corcoran@acer>

	* src/tokenfactory.c: added default dropdir

2002-09-06  Ludovic Rousseau  <rousseau@acer>

	* utils/bundleTool/bundleTool.c, src/tokenfactory.c:
	add support for --enable-muscledropdir

2002-08-15  Ludovic Rousseau  <rousseau@acer>

	* utils/bundleTool/bundleTool.c: print usage in cas of wrong arguments

	* utils/bundleTool/bundleTool.8.in: update and rename bundleTool.1

2002-08-13  Ludovic Rousseau  <rousseau@acer>

	* src/musclecard.c: add a return NULL;

2002-07-30  Ludovic Rousseau  <rousseau@acer>

	* src/musclecard.c:
	add #ifdef USE_THREAD_SAFETY otherwise it wont compile with
	--disable-threadsafe

2002-06-27  David Corcoran  <corcoran@acer>

	* src/musclecard.c, src/tokenfactory.c: Win32

2002-06-18  David Corcoran  <corcoran@acer>

	* src/PCSC/musclecard.h: MSCPUChar8 -> MSCUChar8

2002-06-11  David Corcoran  <corcoran@acer>

	* src/PCSC/musclecard.h: Added more Initialization parameters ...

2002-06-05  David Corcoran  <corcoran@acer>

	* src/musclecard.c: hello

	* src/musclecard.c: ;lkj

	* src/musclecard.c: bad if then

	* src/musclecard.c: some changes

	* src/musclecard.c:
	Added generic thread support to musclecard.c and added pthread_join

	* src/musclecard.c: Added join to cancelcallback

2002-05-28  David Corcoran  <corcoran@acer>

	* doc/muscle-api-1.3.0.pdf: Added muscle-docs

2002-05-06  David Corcoran  <corcoran@acer>

	* src/musclecard.c:
	Added real time card reset/removed checking.  Fixed bug which begin/end transaction would not return this.

	* src/PCSC/mscdefines.h, src/PCSC/musclecard.h, src/musclecard.c, src/tokenfactory.c:
	Added support for Win32 based platforms for Muscle Framework.

2002-05-06  Chris Osgood <oznet@acer>

	* src/PCSC/mscdefines.h, src/PCSC/musclecard.h, src/musclecard.c, src/tokenfactory.c:
	Win32 updates

2002-04-24  David Corcoran  <corcoran@acer>

	* src/PCSC/musclecard.h, src/musclecard.c, src/muscletest.c: changes

2002-04-22  David Corcoran  <corcoran@acer>

	* src/PCSC/mscdefines.h: config.h -> added cvs to version
	project.pbx -> modified project builder attributes
	pcsclite.h -> __APPLE__
	mscdefines.h -> __APPLE__
	sys_generic.h, sys_hpux.c sys_solaris.c sys_unix.c
	int SYS_Exit to void SYS_Exit
	winscard_msg.c removed message in CommonSegment

2002-04-12  David Corcoran  <corcoran@acer>

	* src/musclecard.c: Added wait for thread return for the callback

	* src/PCSC/musclecard.h, src/musclecard.c:
	Added BLOCKSTATUS defines and checks in the Callbacks so that the
	race condition would go away.

	* src/PCSC/musclecard.h: Removed MSCCertInfo

2002-04-11  David Corcoran  <corcoran@acer>

	* src/PCSC/mscdefines.h: removed cert function pointers

	* src/tokenfactory.c: removed certificate function pointers

	* src/PCSC/musclecard.h, src/musclecard.c:
	Removed all certificate handling functions

2002-04-10  David Corcoran  <corcoran@acer>

	* src/musclecard.c: some modifications for tabs.

	* src/PCSC/musclecard.h, src/musclecard.c:
	Removed extra Read/Write functions

2002-04-09  David Corcoran  <corcoran@acer>

	* src/PCSC/musclecard.h, src/musclecard.c:
	Added keyPartner to MSCImportKey.  Added keyMapping to MSCKeyInfo structure

2002-04-06  Ludovic Rousseau  <rousseau@acer>

	* utils/bundleTool/bundleTool.c:
	 #include <stdlib.h> for malloc() declaration

2002-04-04  David Corcoran  <corcoran@acer>

	* src/musclecard.c:
	Some event changes, begin/end transaction.  Added IdentifyToken

2002-04-04  Ludovic Rousseau  <rousseau@acer>

	* utils/bundleTool/bundleTool.c:
	removed unused variable char tempString[1024];
	add a return 0 for main()

	* src/PCSC/mscdefines.h, src/PCSC/musclecard.h, src/musclecard.c, src/muscletest.c, src/tokenfactory.c, src/tokenfactory.h, utils/bundleTool/bundleTool.c:
	complete and automatic reindentation of *.c and *.h files

2002-04-01  giraud  <giraud@acer>

	* src/PCSC/musclecard.h: musclecard:
	- replaced PCSC_TARGET_OSX with __APPLE__ in #ifndef for mscdefines.h inclusion
	pbproj:
	- no meaningful modifications

2002-03-30  David Corcoran  <corcoran@acer>

	* utils/bundleTool/bundleTool.c: New file.

	* utils/bundleTool/bundleTool.c: PCSC

	* src/tokenfactory.c, src/tokenfactory.h: New file.

	* src/tokenfactory.c, src/tokenfactory.h: PCSC

	* src/PCSC/musclecard.h, src/muscletest.c: New file.

	* src/PCSC/musclecard.h, src/muscletest.c: PCSC

	* src/musclecard.c: New file.

	* src/musclecard.c: PCSC

	* src/PCSC/mscdefines.h: New file.

	* src/PCSC/mscdefines.h: PCSC

