2004-08-08 Ludovic Rousseau * README: release 0.9.3 * common/GCCmds.c, common/GCCmds.h: use const attribute when needed * GemPC430/libusb_wrap.h: *USB functions return status_t and not gcore_t 2004-07-24 Ludovic Rousseau * README: release 0.9.2 * check: minium pcsc-lite version is now 1.2.9-beta5 * check: update the URL where new pcsc-lite archives can be fetched * common/ifdhandler.c: change IFDHControl() API to conform to pcsc-lite 1.2.9-beta5 2004-07-03 Ludovic Rousseau * GemPC410/Config.h, GemPC410/GCGBPTransport.c, GemPC410/GemPC410Utils.c, GemPC410/gbpserial.h, GemPC410/main.c, GemPC410/resetGemPC410.c, GemPC430/Config.h, GemPC430/GCUSBTransport.c, GemPC430/GemPC430Utils.c, common/GCCmds.c, common/GCTransport.h, common/GCUtils.c, common/GCUtils.h, common/GemCore.h, common/ifdhandler.c: use C comments /* */ instead of C++ // * MANIFEST: remove common/{ifdhandler.h,pcscdefines.h,winscard.h,wintypes.h} add common/gempc_ifdhandler.h * GemPC410/GemPC410Utils.c, GemPC430/libusb_wrap.c, GemPC410/GemPC410Utils.h, GemPC410/gbpserial.c, GemPC410/gbpserial.h, GemPC430/GemPC430Utils.c, GemPC430/GemPC430Utils.h, GemPC430/libusb_wrap.h: LPSTR -> LPTSTR * GemPC410/GCGBPTransport.c, GemPC410/GemPC410Utils.c, GemPC410/gbpserial.c, GemPC410/main.c, GemPC430/GCUSBTransport.c, GemPC430/GemPC430Utils.c, GemPC430/libusb_wrap.c: use #include "gempc_ifdhandler.h" * GemPC410/Makefile, GemPC430/Makefile: add `pkg-config libpcsclite --cflags` to INCS * common/GCCmds.c, common/GCUtils.c, common/GemCore.h, common/gempc_ifdhandler.h, common/ifdhandler.c: define PCSCLITE_MAX_READERS * common/gempc_ifdhandler.h: GemPC specific declarations * common/ifdhandler.h, common/pcscdefines.h, common/winscard.h, common/wintypes.h: removed since we now used the one provided by pcsc-lite * check: check for pcsclite.h instead of PCSC/pcsclite.h but use CHECK_CFLAGS=`pkg-config libpcsclite --cflags` * check: check for PCSC/pcsclite.h instead of pcsclite.h 2004-03-24 Ludovic Rousseau * GemPC410/Makefile: define default DESTDIR as /usr/local instead of /usr/local/pcsc/drivers/serial. Thanks to Daniel Black for the patch. 2004-02-27 Ludovic Rousseau * README: release 0.9.1 * common/GCCmds.c, common/GCUtils.c: use new GCGemCoreError() format * common/GCCmds.h: add char *file, int line, char *function arguments to GCGemCoreError() * common/GCdebug.h: add DEBUG_CRITICAL4 * GemPC430/libusb_wrap.c: use pcsc-lite new IFDHCreateChannelByName() scheme: usb:vendor/product * GemPC410/Config.h, GemPC430/Config.h, common/GCCmds.c: use AUTOMATIC_PPS instead of NO_AUTO_PPS and do not define by default for safety instead of speed 2004-02-25 Ludovic Rousseau * GemPC430/TODO.txt: move some old items from todo to done * GemPC410/Config.h, GemPC430/Config.h: Add definition of NO_AUTO_PPS (commented) * common/GCCmds.c: do not perform automatic PPS negiciation by the reader firmware if NO_AUTO_PPS is defined (some cards need this) 2004-02-21 Ludovic Rousseau * common/GCCmds.c, common/GemCore.h: add "Card powered down" 0x15 GemCore error 2004-02-07 Ludovic Rousseau * common/GCCmds.c: Do not print the '"Error" returned by the card' message to avoid confusion * common/GCCmds.c: add message for GCORE_INVALID_PROC_BYTE (0xE4) 2004-02-02 Ludovic Rousseau * common/pcscdefines.h: remove white spaces before #define to avoid gcc-Version 3.3.2 20031022 warnings. Thanks to Toni Andjelkovic for the patch 2004-01-22 Ludovic Rousseau * README: release 0.9.0 * GemPC410/TODO.txt: support of 3V-5V and "more than one reader" are now present * README: latest pcsc-lite are available from alioth now 2004-01-20 Ludovic Rousseau * MANIFEST: remove GemPC410/devfs/ files * GemPC410/devfs/README, GemPC410/devfs/libgempc410.conf.d, GemPC410/devfs/libgempc410.devfsd.conf, GemPC410/devfs/libgempc410.devices.d: no devfs problems with /dev/pcsc/ is no more used. * README.410: /dev/pcsc/ is deprecated and DEVICENAME should be used instead of CHANNELID with recent pcsc-lite versions (> 1.2.0) * GemPC410/Makefile: default installation directory is now /usr/local/pcsc/drivers/serial instead of /usr/local/lib * GemPC430/libusb_wrap.c: remove debug printf * MANIFEST: rename GemPC410/TODO in GemPC410/TODO.txt to be consistant with GemPC430/TODO.txt * GemPC430/libusb_wrap.c: add missing #endif * GemPC410/gbpserial.c, GemPC430/libusb_wrap.c, GemPC430/usbserial_mosx.c, common/GCCmds.c, common/GCUtils.c, common/GCdebug.h, common/ifdhandler.c: remove function name from DEBUG_* calls * GemPC430/Config.h, GemPC430/GemPC430Utils.c, GemPC430/GemPC430Utils.h, GemPC430/libusb_wrap.c, GemPC430/libusb_wrap.h, common/ifdhandler.c, common/ifdhandler.h, GemPC410/Config.h, GemPC410/GemPC410Utils.c, GemPC410/GemPC410Utils.h, GemPC410/gbpserial.c, GemPC410/gbpserial.h, GemPC410/main.c: add support of IFDHCreateChannelByName() * common/GCdebug.h: add __FUNCTION__ in DEBUG_* messages 2004-01-19 Ludovic Rousseau * GemPC430/libusb_wrap.c: use asymetric timeout for USB read and write. The reader/card may be busy when we read (long timeout) but should be OK when we write (short timeout) 2003-12-15 Ludovic Rousseau * GemPC410/gbpserial.c: use C instead of C++ comments * GemPC430/libusb_wrap.c: reset the reader in case of timeout on write (reader freeze?). Thanks to Patrick Valsecchi for the patch. 2003-10-27 Ludovic Rousseau * GemPC430/usbserial_mosx.c: typo: changed PCSCLITE_MAX_RERADERS to PCSCLITE_MAX_READERS. Thanks to Jakob Schlyter for the patch. 2003-10-22 Ludovic Rousseau * README: release 0.8.2 * GemPC410/Makefile: create $(DESTDIR) only if does not exist yet * common/GCUtils.c, common/ifdhandler.c: Remove support for multi slot. The code was never used and is now broken under revent pcsc-lite versions. * common/GCCmds.c, common/GemCore.h: add support for CARD_T1_ABORT, READER_T1_ABORT, RESYNC, PTS and INVALID_PROC_BYTE GemCore errors * GemPC410/Makefile: use $(DESTDIR) instead of $(DESTDIR)/lib/ * check: Explain how to tell check to look elsewhere than just /usr/ and /usr/local/ 2003-09-07 Ludovic Rousseau * common/GCCmds.c, common/GemCore.h: add 0x10 and 0xF7 GemCore error codes 2003-09-05 Ludovic Rousseau * README: release 0.8.1 * GemPC410/gbpserial.c: set serial timeout to 1 minute 2003-09-02 Ludovic Rousseau * MANIFEST: removed common/pcsclite.h * GemPC410/gbpserial.c, GemPC430/libusb_wrap.c, GemPC430/usbserial_mosx.c, common/GCUtils.c, common/ifdhandler.c, common/pcscdefines.h: use PCSCLITE_MAX_READERS instead of PCSCLITE_MAX_CHANNELS (as introduced in pcsc-lite-1.2.0-rc1) * common/pcsclite.h: useless file. defines are in pcscdefines.h * MANIFEST: move Info.plist from GemPC430/ifd-GemPC430.bundle/Contents/ to GemPC430/ * GemPC430/libusb_wrap.c: use a->b notation instead of a[0].b * common/GCCmds.c, common/GemCore.h: add support of GemCore "Parity error during exchange" * GemPC410/Makefile, GemPC430/Makefile, check: check uses paths defined in Makefile * GemPC410/devfs/libgempc410.devfsd.conf: use $devpath instead of $devname otherwise we have /dev/pcsc/1 -> tts/0 2003-08-20 Ludovic Rousseau * GemPC430/Info.plist: use new style 2003-08-18 Ludovic Rousseau * GemPC430/usbserial_mosx.c: remove \n in debug messages since they are not needed 2003-08-14 Ludovic Rousseau * GemPC410/Makefile, GemPC430/Makefile, common/Makefile: do not exit with failure if makedepend(1) does not exist 2003-08-08 Ludovic Rousseau * common/GCCmds.c: Error and not Errror * common/GCCmds.c: Add " " around Error message when the SW is not 9000. 2003-08-07 Ludovic Rousseau * README.410: add a note about DEVICENAME in /etc/reader.conf * MacOSXbuild/ifd-GemPC430/English.lproj/InfoPlist.strings, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/symbols0.pbxsymbols, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.indexed-headers, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/subclasses.pbxbtree: These files were not commited in CVS * GemPC430/Makefile: do not remove ifd-GemPC430.bundle/Contents/Linux anymore since this directory is no more created * GemPC430/Makefile: do not use a intermediary ifd-GemPC430.bundle directory, copy all needed file to $DESTDIR directly * GemPC410/Makefile, GemPC430/Makefile, common/Makefile: update (again) the build of files in common/ * common/ifdhandler.c: FDHGetCapabilities() add support of tag TAG_IFD_SLOTS_NUMBER 2003-06-04 Ludovic Rousseau * GemPC430/Makefile: remove ifd-GemPC430.bundle/Contents/Linux in distclean 2003-05-03 Ludovic Rousseau * Makefile: clean/distclean common _after_ GemPC410 and GemPC430 * common/Makefile, GemPC410/Makefile, GemPC430/Makefile: remove *_stamp in distclean and not clean rules 2003-04-12 Ludovic Rousseau * README: release 0.8.0 * README.410: small typos * README.430: small typo * Makefile: remove config.log in distclean * GemPC430/Makefile, GemPC430/Info.plist: library name is versionned (libGemPC430.so.0.8.0) * GemPC410/Makefile, GemPC430/Makefile: remove rule to build version for an old pcsc-lite * GemPC410/Makefile, GemPC430/Makefile: optimize common rule (use common_stamp to avoid unnecessary recompilation) * GemPC410/Makefile, GemPC430/Makefile, common/Makefile: avoid running dep and check rules each time (use stamp files) 2003-04-06 Ludovic Rousseau * GemPC410/main.c: do all the tests (removed goto) * common/ifdhandler.h: add prototype for IFDSetEmv() * GemPC430/Makefile: remove installation of multiple drivers since alias is supported * GemPC430/Info.plist: add alias names 2003-03-30 Ludovic Rousseau * common/GCCmds.c, common/GemCore.h, common/ifdhandler.c: add support for EMV mode * common/GCUtils.c: use function GCGemCoreError() in gemcore_status_processing() * common/GCCmds.c, common/GCCmds.h: add function GCGemCoreError() * common/GCCmds.c: Add support of GemCore 2000 Power Up used by GemPC413 * common/GemCore.h: add 3 new error codes * GemPC410/main.c: use debug_xxd() and DEBUG_INFO() 2003-03-21 Ludovic Rousseau * GemPC410/Config.h, GemPC430/Config.h, common/GCdebug.c: remove debug using syslog (pcscd logs where needed to be) 2003-03-19 Ludovic Rousseau * common/pcsclite.h: sync with version from pcsc-lite 1.1.2beta3 2003-03-14 Ludovic Rousseau * GemPC430/libusb_wrap.c: change USB timeout from 10 to 60 seconds 2003-03-13 Ludovic Rousseau * check: do not use /usr/local/include by default since cpp will warning on some systems 2002-11-26 Ludovic Rousseau * GemPC410/Makefile, GemPC430/Makefile: do not force use of -O2 -g if CFLAGS is already defined 2002-11-20 Ludovic Rousseau * README: release 0.7.4 * MANIFEST: add check file * Makefile: remove removing of config.log in clean rule since it is unneeded here * GemPC410/Makefile, GemPC430/Makefile: remove config.log in clean rule * GemPC410/gbpserial.c: on arm, powerpc and s390 "char" is unsigned by default. So use an explicit "signed char". Thank to Gerhard Tonn for looking at Debian autobuilder logs. * README.430: add comment on how to compile the USB driver (install libusb, etc.) * GemPC430/Makefile, GemPC410/Makefile, Makefile: add support of the ./check script * check: script used to test the correct version of pcsc-lite and libusb 2002-10-18 Ludovic Rousseau * README: release 0.7.3 * GemPC430/libusb_wrap.c: support hotplug _after_ pcscd is started. 2002-10-15 Ludovic Rousseau * README: release 0.7.2 * GemPC410/gbpserial.c: rename variable fd_set to fdset to avoid a name clash with structure fd_set * README: release 0.7.1 * GemPC410/gbpserial.c: add #include * GemPC410/main.c: add #include * GemPC410/Makefile, GemPC430/Makefile, common/Makefile: remove CC=gcc definition 2002-10-12 Ludovic Rousseau * README: add comment about makedepend(1) * README: add comment about devfs * README: release 0.7.0 * MacOSXbuild/ifd-GemPC430/ifd-GemPC430.pbproj/giraud.pbxuser, MacOSXbuild/ifd-GemPC430/ifd-GemPC430.pbproj/project.pbxproj: new version * GemPC430/usbserial_mosx.c: - better stability and multiple reader support - the productId is now read from the Info.plist. This allow to support readers like the 432 and 435 without recompiling the library 2002-10-10 Ludovic Rousseau * GemPC430/usblinux.c, GemPC430/usblinux.h, GemPC430/usbserial_linux.c: Removed. Replaced by libusb_wrap.c and libusb_wrap.h * GemPC430/README.Linux: Removed. See README.430 instead * GemPC430/libusb_wrap.c: test dev->config != NULL before accessing the structure * GemPC410/Makefile, GemPC430/Makefile, MANIFEST, common/Makefile: do not remove but empty .dependencies files in clean and distclean rules. We need the makedepend(1) command to regenerate these files and this command comes with XFree which is not installed on console only systems. * GemPC410/gbpserial.c: use select() instead of termios.c_cc[VTIME] = 100 to timeout since it did not worked under FreeBSD * README.410: FreeBSD (4.7-RC2) and OpenBSD (3.1) do not use the same name for the serial port devices 2002-10-08 Ludovic Rousseau * GemPC430/Makefile: add /usr/local/include and /usr/local/lib paths needed when libusb is installed in /usr/local/ * common/Makefile, GemPC410/Makefile, GemPC430/Makefile: do not remove .dependencies files since makedepend(1) is not installed by default. 2002-10-06 Ludovic Rousseau * GemPC410/Makefile: avoid GNU options in cp(1) and install(1). Some Unix systems are not GNU. * GemPC430/libusb_wrap.c: lots of debug * GemPC430/Makefile: link the driver against libusb * GemPC410/main.c: shutdown the driver before exiting even if no card is present 2002-10-03 Ludovic Rousseau * common/ifdhandler.c: - add lun in log info - completely remove unused and buggy mutex use (the driver shall be reentrant) * GemPC410/gbpserial.c: - add channel information in open device structure to detect a double usage - log Lun in low level input/output logs - use one buffer per reader (instead of a global one) to be reentrant - optimise the open port in case Host and IFD both at 38400 bauds already (normal case for a pcscd restart on Linux) 2002-09-27 Ludovic Rousseau * GemPC430/Makefile, GemPC430/libusb_wrap.c, GemPC430/libusb_wrap.h: port to libusb library 2002-09-26 Ludovic Rousseau * common/ifdhandler.c: start support of multi reader: add mutex to avoid race problems * GemPC430/Makefile, GemPC430/usbserial_linux.c: start support for more than one reader with the same library * GemPC410/Makefile, GemPC410/gbpserial.c: add support for more than one reader with the same library * README.430: add a section on USB support under Linux 2002-09-22 Ludovic Rousseau * GemPC410/TODO.txt: do not reset the card if the command timeout: DONE, a workaround is given * GemPC410/devfs/README, GemPC410/devfs/libgempc410.conf.d, GemPC410/devfs/libgempc410.devfsd.conf, GemPC410/devfs/libgempc410.devices.d, README.410: add devfsd configuration files in devfs/ and support in README.410 2002-09-18 Ludovic Rousseau * README.430: add a note about /proc/bus/usb/ directory under Linux * GemPC410/TODO.txt: The GCR400 and GCR410 will NOT be supported. So removed from the TODO list. * common/GCCmds.c, common/GemCore.h: add "Incorrect number of arguments" GemCore error message * GemPC410/GCGBPTransport.c, GemPC410/gbpserial.c, GemPC410/gbpserial.h: retry the last command if GBP returns a wrong first byte (NAD) 2002-09-08 Ludovic Rousseau * GemPC410/gbpserial.c: use the simpler GCCmdSetMode command instead of GCCmdCardStatus * GemPC410/gbpserial.c: use a SetSerialSpeed macro to factorise code. Add debug messages even when the OpenGBP() returns OK to know what init branch was taken. * GemPC410/GCGBPTransport.c: sequence 0 -> sequence n°0 * GemPC410/resetGemPC410.c: PCB of reset command was wrong 2002-09-07 Ludovic Rousseau * GemPC410/GCGBPTransport.c, GemPC410/gbpserial.c, GemPC410/gbpserial.h: add support for GemCore Repeat requests * common/GCdebug.h: file Config.h not included -> file Config.h NOT included * GemPC410/Config.h: comment DEBUG_LEVEL_PERIODIC and DEBUG_LEVEL_COMM * create_distrib.sh: add test to avoid releasing a version with too much DEBUG on 2002-08-16 Ludovic Rousseau * GemPC430/Makefile: change libGemPC430 to libGemPC430.so * common/GCdebug.c: moved from GemPC410 * common/GCdebug.c: removed * README: release 0.6.5 * GemPC410/Makefile, GemPC430/Makefile: correct clean rule to take care of _old_pcscd versions * GemPC430/Makefile: add old_pcscd and libGemPC430_old_pcscd rules * GemPC410/Makefile: add old_pcscd and libGemPC410_old_pcscd.so rules * GemPC410/Makefile, GemPC430/Makefile, common/Makefile: GCdebug.c is now in common/ again * Makefile: rewrote install rule * GemPC410/gbpserial.c: hacked again the initialisation. It did not work since: the GCCmdConfigureSIOLine will OFTEN fails since the GemCore response is sent using the NEW speed but GCMakeCommand do not know how to handle this. * GemPC410/main.c: removed Log history * GemPC410/TODO.txt: "create /dev/pcsc/[1-4]" and "support hot unplug/replug" mark done "do not reset the card if the command timeout" added * GemPC410/Config.h, GemPC430/Config.h: renamed GemPC410 to GemPC41x and GemPC430 to GemPC43x add DEBUG_SYSLOG #define (undefined by default) 2002-08-13 Ludovic Rousseau * GemPC410/Makefile, GemPC430/Makefile: remove GCdebug.o in clean rule * GemPC430/Makefile, GemPC410/Makefile: install in /usr/local by default * common/ifdhandler.c: do not debug APDU. This is done by pcscd now * common/GCdebug.h, common/Makefile: now use the debug facilities from pcscd * common/GCCmds.c: repagination of comments 2002-08-12 Ludovic Rousseau * GemPC410/resetGemPC410.c: add a reset GemCore call * GemPC410/gbpserial.c: add state name in the OpenGBP() error messages * GemPC410/Makefile: do not link the driver with GCdebug.o since we now use the debug functions of pcscd * GemPC430/Makefile, GemPC430/usbserial_linux.c: support for 432 and 435 readers * GemPC410/Config.h, GemPC430/Config.h: remove DEBUG_LEVEL_APDU and DEBUG_STDERR since we now use pcscd debug functions 2002-08-02 Ludovic Rousseau * GemPC430/usbserial_linux.c: add support for more than one reader add support for GemPC 435 2002-07-31 Ludovic Rousseau * GemPC410/Makefile, GemPC430/Makefile: add an "all" dependency in the "install" target (thanks Joe Phillips) * GemPC410/Makefile: create destination directory in install rule * Makefile: add make install target 2002-05-23 Ludovic Rousseau * README: release 0.6.4 2002-05-21 Ludovic Rousseau * GemPC410/main.c: exit if powerup fails * common/GCCmds.c: perform a powerup without PPS managment is the powerup with PPS managment failed * GemPC410/resetGemPC410.c: minimum size for a GBP bloc is 4 bytes and not 5 * GemPC410/main.c: add an error message 2002-05-19 Ludovic Rousseau * GemPC430/Makefile, common/Makefile: add -f to rm .dependencies * GemPC410/gbpserial.c, GemPC410/resetGemPC410.c: change sys_errlist[errno] to strerror(errno) to be (more) ready for the Hurd * GemPC410/Makefile: add -f to rm .dependencies * GemPC430/usbserial_linux.c: print comm debug messages only if DEBUG_LEVEL_COMM is defined * GemPC430/Makefile, common/Makefile: correctly remove .dependencies file 2002-05-09 Ludovic Rousseau * README: release 0.6.3 * common/ifdhandler.c: Case1 APDU now uses a (null length) ISO IN instead of ISO OUT * common/GCUtils.c: case nlength==0 in ISO_INPUT is used for Case1 APDUs * README.410: Add info on /dev/pcsc/ for OpenBSD and FreeBSD 2002-04-02 Ludovic Rousseau * GemPC410/main.c: clear SendPci and RecvPci structures before use add IFD_PROTOCOL_NOT_SUPPORTED error case * GemPC410/gbpserial.c: changed cfsetospeed() and cfsetispeed() to one cfsetspeed() * GemPC410/Makefile: libGemPC410.so rule: remove target before creation (needed to avoid loops under OpenBSD) 2002-04-01 Ludovic Rousseau * README: release 0.6.2 * MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.indexed-precomps, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/decls.pbxbtree, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/files.pbxbtree, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/imports.pbxbtree, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/pbxindex.header, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/refs.pbxbtree, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/strings.pbxstrings/control, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/strings.pbxstrings/strings: new version of build files * MANIFEST: add file MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.indexed-headers * GemPC430/usbserial_mosx.c: Fixes for multi-reader support * common/GCCmds.c: GCCmdPowerUp() power up with auto PPS management * common/ifdhandler.c, common/ifdhandler.h: add case TAG_IFD_SIMULTANEOUS_ACCESS in IFDHGetCapabilities() * GemPC410/gbpserial.c: complete reimplementation of serial port configuration correct treatment when IFD send a 0x04 instead of a 0x24 (NAD_IFD2HOST) * create_distrib.sh: make distclean defore archiving * GemPC410/Makefile, GemPC430/Makefile, Makefile, common/Makefile: add distclean rule in all Makefiles * MacOSXbuild/ifd-GemPC430/ifd-GemPC430.pbproj/giraud.pbxuser, MacOSXbuild/ifd-GemPC430/ifd-GemPC430.pbproj/project.pbxproj: new files in CVS 2002-03-27 Ludovic Rousseau * GemPC410/Makefile, common/Makefile: correct make dep rule * common/GCCmds.c: GCCmdSetMode() returns OK when GemCore answers GCORE_UNKNOWN_CMD since the command is disabled when ROS mode is disabled (native only). * GemPC410/gbpserial.c: remove debug printf() changed %02X to 0x%02X 2002-03-10 Ludovic Rousseau * README: release 0.6.1 * GemPC410/gbpserial.c: changed again the serial port opening 2002-03-07 Ludovic Rousseau * README: release 0.6.0 * GemPC410/.dependencies: removed * GemPC410/Makefile: clean rule: remove Makefile.bak .dependencies * common/Makefile: clean rule: remove tags file * common/ifdhandler.c: forgot a closing } * common/ifdhandler.c: Debug in IFDHSetCapabilities and IFDHICCPresence is now PERIODIC IFDHTransmitToICC: now manage case 1 APDU (only CLA, INS, P1, P2) as an outgoing APDU (CLA, INS, P1, P2, 0) * common/GCdebug.h: add DEBUG_PERIODIC definitions * common/GCCmds.c: Debug in GCCmdCardStatus is now PERIODIC * GemPC410/gbpserial.c: rewrote the serial port BAUDS setting during open() * GemPC410/Config.h, GemPC430/Config.h: document log levels add new log level: DEBUG_LEVEL_PERIODIC 2002-03-05 Ludovic Rousseau * common/GCUtils.c: replaced 2 by the equivalent constant ISO_SIZE_SW 2002-03-03 Ludovic Rousseau * README: release 0.5.10 * GemPC410/main.c: add hexa values of max length add a new test (commented by default) * GemPC410/Makefile: add -f in 'ln -s' to avoid error if the link already exist * common/GCUtils.c: Correct a bug when more than 252 output bytes are expected and less than that are available (which is the case when the card sends an error) * common/GCCmds.c: add command options for IFD_CMD_ICC_POWER_UP disable PPS management (needed by some kinds of Cyberflex Access cards) * GemPC410/Makefile: modify install: rule to include release version number in filename, create symlinks, remove execution right on the .so lib * GemPC410/main.c: changed default serial port 2002-02-16 Ludovic Rousseau * README.410: Add a script to create the /dev/pcsc/? links * GemPC410/.dependencies, GemPC410/Makefile: change the way compilation dependencies are generated and stored 2001-12-09 Ludovic Rousseau * GemPC410/GemPC410Utils.c, GemPC430/GemPC430Utils.c, common/GCCmds.c: guarantee that the os_string is \0 terminated 2001-12-06 Ludovic Rousseau * GemPC410/resetGemPC410.c, GemPC410/gbpserial.c: use cfgetospeed()/cfsetospeed() instead of accessing directly the termios structure 2001-12-04 Ludovic Rousseau * create_distrib.sh: support direcory names containing numbers and not just digits (add a \+ to the sed pattern matching) 2001-12-02 Ludovic Rousseau * common/ifdhandler.c: also log APDU results * GemPC410/gbpserial.c: changed DEBUG_COMM to DEBUG_LEVEL_COMM 2001-12-01 Ludovic Rousseau * GemPC430/Config.h: revert to just "#define foo" instead of "#define foo 1" * GemPC410/GemPC410Utils.c, GemPC430/GemPC430Utils.c: avoid a non NULL terminated string on the GemCore version string 2001-11-30 Ludovic Rousseau * README: release 0.5.9 * MANIFEST: add ProjectBuilder folder for MacOS X * MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/categories.pbxbtree, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/decls.pbxbtree, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/files.pbxbtree, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/imports.pbxbtree, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/pbxindex.header, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/protocols.pbxbtree, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/refs.pbxbtree, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/strings.pbxstrings/control, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.pbxindex/strings.pbxstrings/strings, MacOSXbuild/ifd-GemPC430/build/intermediates/ifd-GemPC430.indexed-precomps: added ProjectBuilder folder for MacOS X * common/GCUtils.c: change an IFD_SUCCESS to STATUS_SUCCESS * GemPC430/usbserial_mosx.c: add #include "GemCore.h" 2001-11-27 Ludovic Rousseau * README: release 0.5.8 * create_distrib.sh: do not exclude create_distrib.sh remove temporary directory at exit (including by Ctrl-C) * MANIFEST: include create_distrib.sh * create_distrib.sh: correct first line to be #!/bin/bash instead of #/bin/sh * MANIFEST, README: removed GemPC430/main.c since the file does not exist anymore * GemPC410/GCGBPTransport.h: unsued and then deleted * create_distrib.sh: add -p to mkdir to also create parent directory if it does not exist * MANIFEST: removed deleted files * README: release 0.5.7 * GemPC430/ifd-GemPC430.pbproj/giraud.pbxuser, GemPC430/ifd-GemPC430.pbproj/project.pbxproj, GemPC430/English.lproj/InfoPlist.strings: Useless file (not distributed in the archive) * common/GCUtils.c: change return test from IFD_SUCCESS to STATUS_SUCCESS * GemPC410/Makefile: removed automatically generated depends lines * GemPC430/usblinux.c: closedir() only if the device is found and usable (write access) the code crashed with two USB readers * GemPC410/Makefile, GemPC410/main.c: Implement ISO 7816 Case 2, 3 and 4 with full length tests * GemPC410/main.c: add a pcsc_error() function instead of code duplication add ReaderTest (Java test applet) APDU for ISO 7816 Case 1 * GemPC410/resetGemPC410.c: print more error messages * GemPC410/gbpserial.c: "OpenGBP" instead of "OpenUSB" print error message in case of tcgetattr() fails * common/GCUtils.c: add support for IFD_ICC_NOT_PRESENT GemCore error status 2001-11-24 Ludovic Rousseau * GemPC410/gbpserial.c: prepare to support multi serial reader * GemPC430/usbserial_mosx.c: remove \n in log messages and change %08x to 0x%08X * GemPC430/usbserial_mosx.c: use TRUE & FALSE instead of 1 & 0 * GemPC430/usbserial_linux.c: use USB_TIMEOUT #define instead of 10000 * GemPC430/usbserial_linux.c: prepare support for multi USB readers * common/GCdebug.h: add DEBUG_COMM3() * GemPC410/gbpserial.c: do not limit to 4 readers anymore (accept channel >= 4) 2001-11-23 Ludovic Rousseau * common/GCCmds.c: add #include 2001-11-22 Ludovic Rousseau * GemPC410/gbpserial.c: removed $Log$ * GemPC410/GCGBPTransport.c, GemPC410/gbpserial.c, GemPC410/gbpserial.h: differentiate return values of gbpserial.c regarding GBP errors. * GemPC410/gbpserial.c: use explain_gbp() to log a descriptive GBP level error message * MANIFEST: add README.410 * common/Makefile: use OBJS= to avoid repetitions * README, README.410: README.410 is specific to libGemPC410.so * GemPC410/GemPC410Utils.c: log "OS string" at CRITICAL level to always have it the logs * GemPC410/Makefile: do not compile directly files in common/ but use 'make -C ../common' (avoid '../common/[...]' in log messages) * GemPC430/Makefile: do not compile directly files in common/ but use "make -C ../common" (avoid "../common/[...]" in log messages) * GemPC430/GemPC430Utils.c: log "OS string" at CRITICAL level to always have it the logs * GemPC430/TODO.txt: done: - re-organise sources of ifdhandler.c - modify ifdhandler.c from GemPC430 to GemPC - use a more elegant mechanism for log_function * common/ifdhandler.c: Source file reindentation * common/ifdhandler.c: Add APDU logging * GemPC430/GemPC430Utils.c: Get and print the GemCore version * GemPC410/GemPC410Utils.c: reindent * GemPC430/usblinux.c: Print USB device info in 0x%04X format instead of %d * GemPC430/usblinux.c: Open /proc/bus/usb/00x/00y in read only mode to find the good device. When identified the device is re-opened read/write. * GemPC430/usblinux.c: use DEBUG_CRITICAL3 to be more informative * common/GCdebug.h: added support for DEBUG_CRITICAL3() 2001-11-15 Ludovic Rousseau * README: release 0.5.6 * common/pcscdefines.h: define type status_t * common/ifdhandler.c: add argument &length to GCCmdCardStatus * common/GemCore.h: define type gcore_t * common/GCUtils.h: change return values type from RESPONSECODE to ifd_t * common/GCUtils.c: reindentation change return value types from RESPONSECODE to ifd_t correct return value of functions called * common/GCTransport.h: change return values type from RESPONSECODE to status_t * common/GCCmds.h: change return values type from RESPONSECODE to ifd_t * common/GCCmds.c: migration of GCCmdConfigureSIOLine() to GCMakeCommand() * common/GCCmds.c: change return values type from RESPONSECODE to ifd_t complete migration from GCSendCommand() to GCMakeCommand() * GemPC410/resetGemPC410.c: small typo * GemPC410/main.c: add IFDHTransmitToICC test print return values (SW) * GemPC410/gbpserial.c: removed GCCmdGetOSVersion() and GCCmdSetMode() (moved to GemPC410Utils.c) add explain_gbp() (only used for GBP debug) * GemPC410/TODO.txt: add "create /dev/pcsc/[1-4] at module installation" * GemPC410/Makefile: add -D_REENTRANT compilation flag add strip --strip-unneeded on the library * GemPC410/GemPC410Utils.c: add GCCmdGetOSVersion() call. result not yet checked. * GemPC410/GCGBPTransport.c: change return value type from to status_t * GemPC430/main.c: removed and use ../GemPC410/main.c instead * GemPC430/usbserial_linux.c, GemPC430/usbserial_mosx.c: change return value types from to status_t * GemPC430/usbserial_linux.c, GemPC430/usbserial.h: change return value types from RESPONSECODE to gcore_t * GemPC430/usblinux.c: print the error message instead of the filename when open fail * GemPC430/Makefile: use main.c from ../GemPC410/ to avoid code duplication * GemPC430/GemPC430Utils.h, GemPC430/GemPC430Utils.c: OpenGemPC430() CloseGemPC430(): change return value type from RESPONSECODE to ifd_t * GemPC430/GCUSBTransport.c: change return value type from RESPONSECODE to status_t 2001-11-08 Ludovic Rousseau * common/GCCmds.c, common/GemCore.h: Added GemCore error code "Card Absent" 2001-11-07 Ludovic Rousseau * common/GCCmds.c, common/GCCmds.h, common/GCUtils.h: removed "All rights reserved" which is a nonsense for an Free Software * common/GCUtils.c: iLunCheck(): add a test (LunToReaderIndex(Lun) < 0) * README: release 0.5.5 * GemPC410/GemPC410Utils.c, GemPC410/GemPC410Utils.h: new files * GemPC430/usbserial_linux.c: define USBMAX_READERS as (PCSCLITE_MAX_CHANNELS) instead of 4 * GemPC430/usbserial_mosx.c: use DEBUG_XXD instead of a for (i=0;...) loop in WriteUSB() also * GemPC410/Makefile: added the install rule * MANIFEST: added common/{pcsclite.h, winscard.h, wintypes.h} * GemPC430/Makefile: remove ifd-GemPC430.bundle/Contents/Linux/libGemPC430.so in rule clean * GemPC430/Info.plist: new file * GemPC430/Makefile: renamed ifd-GemPC430 to libGemPC430.so 2001-11-06 Ludovic Rousseau * common/pcsclite.h, common/winscard.h, common/wintypes.h: new files nedded to compile the drivers without installing pcscd before. This solves a chicken and egg problem under Debian * GemPC430/GemPC430Utils.c, GemPC430/Makefile: removed the "," in DEBUG_CRITICAL("OpenUSB failed", ); * GemPC410/Makefile: add GemPC410Utils.o to the list of objects * GemPC410/Config.h: change OpenGBP, CloseGBP to OpenGemPC410, CloseGemPC410 * common/ifdhandler.c: changed ../GemPC410/gbpserial.h to ../GemPC410/GemPC410Utils.h * MANIFEST: added GemPC410/GemPC410Utils.c and GemPC410/GemPC410Utils.h * GemPC430/GemPC430Utils.c: changed CloseREADER_NAME to CloseUSB * GemPC430/GemPC430Utils.c: removed a silly #include "GemPC430Utils.c" * GemPC430/GemPC430Utils.c, GemPC430/GemPC430Utils.h: removed "All rights reserved." which is in contradiction with COPYING * GemPC430/usbserial.h: go back to xxxUSB from xxxGemPC430. This is not the good layer to patch. * GemPC430/GemPC430Utils.c: change OpenREADER_NAME to OpenUSB * GemPC430/Config.h: Changed back to ReadUSB and WriteUSB from a wrong patch to ReadGemPC430 and WriteGemPC430 * README: changed to * common/ifdhandler.c: renamed ../GemPC430/usbserial.h to ../GemPC430/GemPC430Utils.h * common/GCdebug.c: changed LOG_DEBUG to LOG_INFO in syslog() * common/GCUtils.c: add #include "GCTransport.h" * GemPC430/usbserial_mosx.c: use DEBUG_XXD instead of a for (i=0;...) loop * GemPC430/usbserial_mosx.c: Change log_fucntion() to DEBUG_xyz() * GemPC430/usbserial.h: add #ifndef _USBSERIAL_H_ test * GemPC430/GemPC430Utils.h: Added argument channel to OpenGemPC430() * GemPC430/usbserial.h: renamed xxUSB into xxGemPC430 * GemPC430/GemPC430Utils.c: Added argument channel to OpenGemPC430() * GemPC430/Config.h: renamed xxUSB into xxGemPC430 * common/GCCmds.c: removed GCCmdRestart() which is not used anywhere 2001-10-29 Ludovic Rousseau * GemPC430/GemPC430Utils.c: change .c into .h * GemPC430/Makefile, GemPC410/Makefile: define GEMPC in the 'make dep' rule 2001-10-28 Ludovic Rousseau * MANIFEST: renamed COPYING to COPYING.BSD or COPYING.GPL * GemPC430/Makefile: rm -r for ifd-GemPC430.bundle * common/GCUtils.c: Added a comment for iLunCheck() return value * common/GCUtils.c: Changed inegality check in iLunCheck() * README: added history and licences parts * common/GCCmds.c, common/GCCmds.h, common/GCTransport.h, common/GCUtils.c, common/GCUtils.h, common/GCdebug.c, common/GCdebug.h, common/GemCore.h, common/ifdhandler.c, common/ifdhandler.h, common/pcscdefines.h: added reference to the double licence BSD/GPL except for ifdhandler.c and ifdhandler.h which are written by David Corcoran and are under BSD only. * common/COPYING, common/COPYING.BSD, common/COPYING.GPL: renamed COPYING to COPYING.BSD and added COPYING.GPL * GemPC430/GemPC430Utils.c, GemPC430/GemPC430Utils.h, GemPC430/usblinux.c, GemPC430/usblinux.h, GemPC430/usbserial.h, GemPC430/usbserial_linux.c, GemPC430/usbserial_mosx.c: Added licence reference * GemPC410/CmdGemCore.c, GemPC410/CmdGemCore.h: removed CmdGemCore.h CmdGemCore.c (they are in common/ now) * GemPC410/COPYING, GemPC410/COPYING.GPL, GemPC410/GCGBPTransport.h, GemPC410/TODO.txt, GemPC410/resetGemPC410.c: Add GPL text in source files 2001-10-25 Ludovic Rousseau * MANIFEST, GemPC430/Makefile, GemPC430/main.c, GemPC430/GemPC430Utils.c, GemPC430/GemPC430Utils.h, GemPC430/Config.h, GemPC430/Config.h_do_not_use_anymore, GemPC430/GCUSBTransport.h, common/COPYING, common/GCCmds.c, common/GCCmds.h, common/GCTransport.h, common/GCUtils.c, common/GCUtils.h, common/GCdebug.c, common/GCdebug.h, common/debug.c, common/debug.h, GemPC410/Config.h, GemPC410/GCGBPTransport.c, GemPC410/Makefile, GemPC410/gbpserial.c, GemPC410/gbpserial.h, GemPC410/main.c, common/GemCore.h, common/Makefile, common/ifdhandler.c, Makefile, create_distrib.sh, GemPC430/GCUSBTransport.c, GemPC430/README.Linux, GemPC430/usblinux.c, GemPC430/usbserial.h, GemPC430/usbserial_linux.c: *** empty log message *** 2001-10-22 Ludovic Rousseau * GemPC410/COPYING, GemPC410/CmdGemCore.c, GemPC410/CmdGemCore.h, GemPC410/GCGBPTransport.c, GemPC410/GCGBPTransport.h, GemPC410/Makefile, GemPC410/gbpserial.c, GemPC410/gbpserial.h, GemPC410/main.c, GemPC410/resetGemPC410.c, GemPC430/COPYING, GemPC430/Config.h_do_not_use_anymore, GemPC430/English.lproj/InfoPlist.strings, GemPC430/GCUSBTransport.c, GemPC430/GCUSBTransport.h, GemPC430/Makefile, GemPC430/README.Linux, GemPC430/TODO.txt, GemPC430/ifd-GemPC430.pbproj/giraud.pbxuser, GemPC430/ifd-GemPC430.pbproj/project.pbxproj, GemPC430/usblinux.c, GemPC430/usblinux.h, GemPC430/usbserial.h, GemPC430/usbserial_linux.c, GemPC430/usbserial_mosx.c, Makefile, README, common/GemCore.h, common/Makefile, common/debug.c, common/debug.h, common/ifdhandler.c, common/ifdhandler.h, common/pcscdefines.h: Imported sources * GemPC410/COPYING, GemPC410/CmdGemCore.c, GemPC410/CmdGemCore.h, GemPC410/GCGBPTransport.c, GemPC410/GCGBPTransport.h, GemPC410/Makefile, GemPC410/gbpserial.c, GemPC410/gbpserial.h, GemPC410/main.c, GemPC410/resetGemPC410.c, GemPC430/COPYING, GemPC430/Config.h_do_not_use_anymore, GemPC430/English.lproj/InfoPlist.strings, GemPC430/GCUSBTransport.c, GemPC430/GCUSBTransport.h, GemPC430/Makefile, GemPC430/README.Linux, GemPC430/TODO.txt, GemPC430/ifd-GemPC430.pbproj/giraud.pbxuser, GemPC430/ifd-GemPC430.pbproj/project.pbxproj, GemPC430/usblinux.c, GemPC430/usblinux.h, GemPC430/usbserial.h, GemPC430/usbserial_linux.c, GemPC430/usbserial_mosx.c, Makefile, README, common/GemCore.h, common/Makefile, common/debug.c, common/debug.h, common/ifdhandler.c, common/ifdhandler.h, common/pcscdefines.h: New file.