/[pcsclite]/trunk/PCSC
ViewVC logotype

Log of /trunk/PCSC

View Directory Listing Directory Listing


Sticky Revision:

Revision 2267 - Directory Listing
Modified Tue Dec 5 14:01:28 2006 UTC (6 years, 5 months ago) by rousseau
SCardStatus(): move an initialization outside of a for() loop (improve
speed)

Revision 2266 - Directory Listing
Modified Tue Dec 5 13:56:02 2006 UTC (6 years, 5 months ago) by rousseau
SCardGetIndicesFromHandle(): check that hCard is non null (used as
marker for unused entry)

Revision 2265 - Directory Listing
Modified Sun Dec 3 13:17:42 2006 UTC (6 years, 5 months ago) by rousseau
pcFunction argument of DYN_GetAddress is "const char *" instead of "char *"

Revision 2264 - Directory Listing
Modified Sun Dec 3 13:15:03 2006 UTC (6 years, 5 months ago) by rousseau
use "const char *" instead of "char *" when needed

Revision 2263 - Directory Listing
Modified Sun Dec 3 13:10:15 2006 UTC (6 years, 5 months ago) by rousseau
warning: no previous prototype for 'log_init'

Revision 2262 - Directory Listing
Modified Sat Dec 2 17:28:55 2006 UTC (6 years, 5 months ago) by rousseau
#include "strlcpycat.h"

Revision 2261 - Directory Listing
Modified Sat Dec 2 17:27:10 2006 UTC (6 years, 5 months ago) by rousseau
#include "powermgt_generic.h"

Revision 2259 - Directory Listing
Modified Sat Dec 2 17:17:35 2006 UTC (6 years, 5 months ago) by rousseau
#include "strlcpycat.h"

Revision 2250 - Directory Listing
Modified Thu Nov 30 22:26:35 2006 UTC (6 years, 5 months ago) by rousseau
add support of "extended" SCardControl()

Revision 2249 - Directory Listing
Modified Thu Nov 30 20:54:22 2006 UTC (6 years, 5 months ago) by rousseau
SCardEstablishContextTH(): return the error code if the connection to
the server fails (wrong protocol version for example)

Revision 2248 - Directory Listing
Modified Thu Nov 30 20:53:18 2006 UTC (6 years, 5 months ago) by rousseau
ContextThread(): check that the client protocol version is not newer
than the protocol version of the server or returns SCARD_E_NO_SERVICE
otherwise.

Revision 2247 - Directory Listing
Modified Thu Nov 30 20:48:08 2006 UTC (6 years, 5 months ago) by rousseau
use "char *" variables instead of "void *" when arithmetic is done
(typically ptr+offset).

Avoids: warning: pointer of type 'void *' used in arithmetic

Revision 2246 - Directory Listing
Modified Thu Nov 30 20:39:09 2006 UTC (6 years, 5 months ago) by rousseau
warning: C++ style comments are not allowed in ISO C90

Revision 2245 - Directory Listing
Modified Thu Nov 30 20:37:18 2006 UTC (6 years, 5 months ago) by rousseau
warning: C++ style comments are not allowed in ISO C90

Revision 2244 - Directory Listing
Modified Thu Nov 30 16:26:25 2006 UTC (6 years, 5 months ago) by rousseau
SCardControl(): do not limit cbSendLength to MAX_BUFFER_SIZE bytes since
we now transparently support up to MAX_BUFFER_SIZE_EXTENDED bytes.

Thanks to Martin Führlinger for the bug report

Revision 2243 - Directory Listing
Modified Wed Nov 29 10:43:27 2006 UTC (6 years, 5 months ago) by rousseau
do not define GetDaemonPid if USE_RUN_PID is NOT defined

Revision 2242 - Directory Listing
Modified Wed Nov 29 10:42:51 2006 UTC (6 years, 5 months ago) by rousseau
SendHotplugSignal() does nothing if USE_RUN_PID is NOT defined

Revision 2241 - Directory Listing
Modified Wed Nov 29 10:37:43 2006 UTC (6 years, 5 months ago) by rousseau
HPRescanUsbBus(): replace .driver by .fullName also for *BSD systems

Revision 2236 - Directory Listing
Modified Thu Nov 23 09:38:26 2006 UTC (6 years, 6 months ago) by rousseau
Allow connection from a 32-bits and 64-bits client to the same pcscd
server. This is part of the Apple patches and improvements.
see Alioth bug #303790

Revision 2233 - Directory Listing
Modified Tue Nov 21 22:32:52 2006 UTC (6 years, 6 months ago) by rousseau
Doxygen ATRDecodeAtr()

Revision 2232 - Directory Listing
Modified Tue Nov 21 14:59:44 2006 UTC (6 years, 6 months ago) by rousseau
remove the driver field from struct readerTracker
use the fullName field to check if the reader entry is valid or not

Revision 2231 - Directory Listing
Modified Tue Nov 21 14:56:32 2006 UTC (6 years, 6 months ago) by rousseau
signal_reload(): log the End reload serial configuration

Revision 2230 - Directory Listing
Modified Tue Nov 21 14:55:07 2006 UTC (6 years, 6 months ago) by rousseau
HPRescanUsbBus(): setenv USB_DEVFS_PATH to /proc/bus/usb

libusb default is /dev/bus/usb but the devices are not yet visible there
when a hotplug is requeste

Revision 2229 - Directory Listing
Modified Tue Nov 21 13:57:20 2006 UTC (6 years, 6 months ago) by rousseau
add Doxygen cross-references to #define values

Revision 2228 - Directory Listing
Modified Tue Nov 21 10:44:04 2006 UTC (6 years, 6 months ago) by rousseau
reorder SCARD_E_* codes in increasing order

Revision 2227 - Directory Listing
Modified Tue Nov 21 10:18:17 2006 UTC (6 years, 6 months ago) by rousseau
add Doxygen documentation for SCARD_E_* error codes (text reused from
MSDN)

Revision 2226 - Directory Listing
Modified Tue Nov 21 10:03:16 2006 UTC (6 years, 6 months ago) by rousseau
add SCARD_E_NO_READERS_AVAILABLE

Revision 2209 - Directory Listing
Modified Wed Nov 15 14:46:19 2006 UTC (6 years, 6 months ago) by rousseau
version 1.3.3

Revision 2204 - Directory Listing
Modified Wed Nov 15 14:27:40 2006 UTC (6 years, 6 months ago) by rousseau
if a driver command returns IFD_NO_SUCH_DEVICE we call
SendHotplugSignal() to rescan the USB/serial/etc. readers and purge the
removed readers from the reader list

Revision 2203 - Directory Listing
Modified Wed Nov 15 14:13:26 2006 UTC (6 years, 6 months ago) by rousseau
add SendHotplugSignal() prototype

Revision 2202 - Directory Listing
Modified Wed Nov 15 14:13:10 2006 UTC (6 years, 6 months ago) by rousseau
reorganise code to create GetDaemonPid() and SendHotplugSignal()
functions

Revision 2201 - Directory Listing
Modified Wed Nov 15 14:12:14 2006 UTC (6 years, 6 months ago) by rousseau
add IFD_NO_SUCH_DEVICE return value

Revision 2200 - Directory Listing
Modified Wed Nov 15 10:27:58 2006 UTC (6 years, 6 months ago) by rousseau
use fgets() instead of scanf() to also consume the carriage return

Revision 2199 - Directory Listing
Modified Wed Nov 15 10:23:54 2006 UTC (6 years, 6 months ago) by rousseau
use tabulations for alignment instead of spaces

Revision 2198 - Directory Listing
Modified Wed Nov 15 10:07:25 2006 UTC (6 years, 6 months ago) by rousseau
test for SCARD_ATTR_MAXINPUT (only supported by my CCID driver for now)

Revision 2196 - Directory Listing
Modified Fri Nov 10 20:13:41 2006 UTC (6 years, 6 months ago) by rousseau
do not include src/utils/ since the tools installifd and formaticc are
now completly outdated and should not be used anymore.

Revision 2194 - Directory Listing
Modified Tue Oct 31 07:54:25 2006 UTC (6 years, 6 months ago) by rousseau
remove SCardUnload() since it is not in the PC/SC API

Revision 2193 - Directory Listing
Modified Sun Oct 29 19:27:52 2006 UTC (6 years, 6 months ago) by rousseau
check for rescan ongoing in pcscdaemon.c:signal_reload() instead of
hotplug_libusb.c:HPReCheckSerialReaders() since the code is not specific
to libusb

Revision 2192 - Directory Listing
Modified Mon Oct 23 14:57:51 2006 UTC (6 years, 7 months ago) by rousseau
move code of HPEstablishUSBNotifications() into a new function
HPRescanUsbBus()

HPRescanUsbBus() is called:
- periodically from HPEstablishUSBNotifications() if USB_POLLING is defined
- by HPReCheckSerialReaders() when a SIGUSR1 signal is received so we can use
udev hotplug events to rescan the USB bus instead of polling

Revision 2191 - Directory Listing
Modified Mon Oct 23 14:52:26 2006 UTC (6 years, 7 months ago) by rousseau
removed unused external reference to ReCheckSerialReaders

Revision 2190 - Directory Listing
Modified Mon Oct 23 14:42:24 2006 UTC (6 years, 7 months ago) by rousseau
SHMProcessEventsServer(): returns -2 in case of syscall interrupted
(EINTR) and -1 for other errors.

SVCServiceRunLoop(): do not log an error message in case of -2 since it
happens when SIGUSR1 (reload) or SIGINT (Ctrl-C) is received. We just
try again

Revision 2189 - Directory Listing
Modified Mon Oct 23 14:36:36 2006 UTC (6 years, 7 months ago) by rousseau
main(): fail if hotplug is requested but no pcscd is running

Revision 2188 - Directory Listing
Modified Thu Oct 19 11:29:29 2006 UTC (6 years, 7 months ago) by rousseau
do not use visibility("default") for gcc versions <= 3.3

Thanks to Hemanth Kumar for the bug report and Karsten Ohme for the
patch

Revision 2187 - Directory Listing
Modified Thu Oct 19 11:27:53 2006 UTC (6 years, 7 months ago) by rousseau
main(): do not use USE_RUN_PID in a Log message if it is not defined

Revision 2185 - Directory Listing
Modified Wed Oct 11 09:33:50 2006 UTC (6 years, 7 months ago) by rousseau
SCardConnect(): add some debug output in the "waiting for release of
lock"

Revision 2184 - Directory Listing
Modified Wed Oct 11 09:32:36 2006 UTC (6 years, 7 months ago) by rousseau
SCardDisconnect(): wait for the lock to be released only if it held by
someone else (and not just by ourself).

Revision 2183 - Directory Listing
Modified Wed Oct 11 09:29:31 2006 UTC (6 years, 7 months ago) by rousseau
MSGRemoveContext(): do not reset the card if it is locked by by someone
else but simulate a card removal instead

Revision 2182 - Directory Listing
Modified Wed Oct 11 09:28:01 2006 UTC (6 years, 7 months ago) by rousseau
RFUnlockSharing(): small rewrite

Revision 2181 - Directory Listing
Modified Thu Oct 5 14:53:48 2006 UTC (6 years, 7 months ago) by rousseau
add update-reader.conf.8 manpage.

Thanks to Florian Schmaus for the bug report

Revision 2180 - Directory Listing
Modified Wed Sep 27 13:50:56 2006 UTC (6 years, 7 months ago) by rousseau
MSGRemoveContext(): Unlock the sharing so we do not get blocked in
SCardDisconnect() waiting forever

Revision 2179 - Directory Listing
Modified Wed Sep 27 13:36:39 2006 UTC (6 years, 7 months ago) by rousseau
SCardConnect()/SCardDisconnect(): use a loop of 0.1 second instead of
0.1 millisecond to wait until the sharing is over

Revision 2178 - Directory Listing
Modified Tue Sep 26 14:13:21 2006 UTC (6 years, 7 months ago) by rousseau
SCardConnect() & SCardDisconnect(): wait until any transaction finishes
before going on.
This avoids the possibility to reset a card in the middle of a transaction

Thanks to Martin Paljak for the bug report

Revision 2177 - Directory Listing
Modified Tue Sep 26 13:43:48 2006 UTC (6 years, 7 months ago) by rousseau
factor the return value test code and add some color

Revision 2169 - Directory Listing
Modified Wed Sep 20 14:01:34 2006 UTC (6 years, 8 months ago) by rousseau
test SCARD_ATTR_VENDOR_NAME tag for SCardGetAttrib

Revision 2167 - Directory Listing
Modified Wed Sep 20 13:41:25 2006 UTC (6 years, 8 months ago) by rousseau
add a test for SCardGetAttrib(... SCARD_ATTR_VENDOR_IFD_VERSION...)

Revision 2164 - Directory Listing
Modified Wed Sep 20 07:14:52 2006 UTC (6 years, 8 months ago) by rousseau
pcsc_stringify_error(): correct a off-by-one buffer overflow. Closes
#303836 "pcsc-lite-1.3.2: array subscript out of range"

Thanks to David Binderman for the bug report and patch.

Revision 2160 - Directory Listing
Modified Wed Sep 13 09:06:59 2006 UTC (6 years, 8 months ago) by rousseau
change dwContextIndex type from DWORD to LONG since we compare it to -1

Thanks to -Wextra for the potential bug report

Revision 2159 - Directory Listing
Modified Wed Sep 13 09:05:11 2006 UTC (6 years, 8 months ago) by rousseau
correct some variable types to avoid compiler warning: comparison
between signed and unsigned

Revision 2158 - Directory Listing
Modified Wed Sep 13 08:48:21 2006 UTC (6 years, 8 months ago) by rousseau
reformat

Revision 2157 - Directory Listing
Modified Wed Sep 13 08:26:59 2006 UTC (6 years, 8 months ago) by rousseau
add -H --hotplug argument to ask the daemon to rescan the avaiable
readers

Revision 2151 - Directory Listing
Modified Wed Sep 6 20:02:47 2006 UTC (6 years, 8 months ago) by rousseau
remove trailing spaces at end of lines

Revision 2149 - Directory Listing
Modified Tue Sep 5 16:41:05 2006 UTC (6 years, 8 months ago) by rousseau
SVCServiceRunLoop(): SHMProcessEventsServer() will not timeout anymore
so remove the managenemt code (which did nothing)

Revision 2148 - Directory Listing
Modified Tue Sep 5 16:39:58 2006 UTC (6 years, 8 months ago) by rousseau
SHMProcessEventsServer(): do not use a 1 second timeout in select() to
catch Ctrl-C since SIGINT will cause select() to return with EINTR

See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205182 for the
bug report

Revision 2147 - Directory Listing
Modified Tue Sep 5 12:01:43 2006 UTC (6 years, 8 months ago) by rousseau
add "do not use an active polling in hotplug_libusb.c"

Revision 2146 - Directory Listing
Modified Thu Aug 31 19:51:52 2006 UTC (6 years, 8 months ago) by rousseau
struct transmit_struct_extended: use BYTE data[1]; instead of BYTE
data[0]; since Sun Studio 11 does not like 0-sized arrays.

Thanks to Iain MacDonnell for the bug report

Revision 2145 - Directory Listing
Modified Thu Aug 31 19:17:32 2006 UTC (6 years, 8 months ago) by rousseau
struct ReaderContext: use int32_t instead of DWORD for dwContexts since
we also use negative values (SCARD_EXCLUSIVE_CONTEXT defined as -1)

Thanks to -Wextra for the bug report

Revision 2144 - Directory Listing
Modified Thu Aug 31 19:08:47 2006 UTC (6 years, 8 months ago) by rousseau
SCardStatus(): do not check for negative value of
rContext->readerState->cardAtrLength since it is a DWORD (unsigned)

Thanks to -Wextra for the bug report

Revision 2143 - Directory Listing
Modified Thu Aug 31 18:59:10 2006 UTC (6 years, 8 months ago) by rousseau
SHMClientSetupSession(): store the returned value of socket() in an int
instead of a DWORD (unsigned) so we can check for negative values

Thanks to -Wextra for the bug report

Revision 2142 - Directory Listing
Modified Thu Aug 31 18:55:51 2006 UTC (6 years, 8 months ago) by rousseau
SCardGetStatusChange(): do not test for (cReaders < 0) since cReaders is
a DWORD and a DWORD is unsigned.

Thanks to -Wextra for the bug report

Revision 2141 - Directory Listing
Modified Tue Aug 15 15:36:13 2006 UTC (6 years, 9 months ago) by rousseau
add manage power suspend/resume

Revision 2139 - Directory Listing
Modified Sun Aug 13 16:24:30 2006 UTC (6 years, 9 months ago) by rousseau
remove unused functions.
SYS_Mknod() could not be compiled using tcc

Revision 2138 - Directory Listing
Modified Fri Aug 11 18:26:39 2006 UTC (6 years, 9 months ago) by rousseau
release 1.3.2

Revision 2137 - Directory Listing
Modified Fri Aug 11 18:10:55 2006 UTC (6 years, 9 months ago) by rousseau
do not fail to remove api when the directory is not there

Revision 2129 - Directory Listing
Modified Wed Aug 9 07:16:11 2006 UTC (6 years, 9 months ago) by rousseau
Revert patch in revision 2127. The problematic to try a second driver
start if the first one fails has to be in the driver itself, not in
pcscd.

Revision 2128 - Directory Listing
Modified Tue Aug 8 15:05:57 2006 UTC (6 years, 9 months ago) by rousseau
CreateContextThread(): log an error message in case of failuer since the
pcscd daemon will die shortly after that

Revision 2127 - Directory Listing
Modified Tue Aug 8 14:51:43 2006 UTC (6 years, 9 months ago) by rousseau
HPAddHotPluggable(): if a reader fails to start we try to start it a
second time

Revision 2126 - Directory Listing
Modified Mon Aug 7 21:11:47 2006 UTC (6 years, 9 months ago) by rousseau
in SCardStatus subsection, the argument is pdwProtocol and not
dwPreferredProtocols

Revision 2125 - Directory Listing
Modified Mon Aug 7 14:32:55 2006 UTC (6 years, 9 months ago) by rousseau
Transform C comments into Doxygen comments

Revision 2124 - Directory Listing
Modified Mon Aug 7 14:18:52 2006 UTC (6 years, 9 months ago) by rousseau
Transform C comments into Doxygen comments

Revision 2115 - Directory Listing
Modified Mon Jul 31 13:36:16 2006 UTC (6 years, 9 months ago) by rousseau
#include "config.h" and define strlcpy/strlcat only if they are not
already provided by the OS (test HAVE_STRLCPY)

Revision 2114 - Directory Listing
Modified Mon Jul 31 13:28:50 2006 UTC (6 years, 9 months ago) by rousseau
do not cast malloc() return value

Revision 2113 - Directory Listing
Modified Mon Jul 31 09:51:57 2006 UTC (6 years, 9 months ago) by rousseau
document that the 4 bytes field value in PCSC_TLV_STRUCTURE is always in
big endian as documented in PCSC v2 part 10 ch 2.2 page 2. You can use
ntohl() to convert the value.

Thanks to Ulrich Vogl for the bug report

Revision 2102 - Directory Listing
Modified Mon Jul 10 09:37:40 2006 UTC (6 years, 10 months ago) by rousseau
SCardCheckDaemonAvailability(): test the presence of
PCSCLITE_PUBSHM_FILE (/var/run/pcscd.pub) instead of PCSCLITE_IPC_DIR
(/var/run) to detect the presence of pcscd

Thanks to Geoff Elgey for the bug report

Revision 2080 - Directory Listing
Modified Thu Jun 15 08:53:14 2006 UTC (6 years, 11 months ago) by rousseau
revert the last change. It was a manipulation error.

Revision 2079 - Directory Listing
Modified Thu Jun 15 08:48:47 2006 UTC (6 years, 11 months ago) by rousseau
This file is dual licenced:
- BSD-like, see the COPYING file
- GNU Lesser General Licence 2.1 or (at your option) any later version.

Revision 2077 - Directory Listing
Modified Wed Jun 7 12:59:07 2006 UTC (6 years, 11 months ago) by rousseau
SCardUnload(): use SYS_PublicMemoryUnmap() to free the memory mapped
segment.

Thanks to Stefan Schuermans for the bug report and patch

Revision 2076 - Directory Listing
Modified Wed Jun 7 12:58:14 2006 UTC (6 years, 11 months ago) by rousseau
implement SYS_PublicMemoryUnmap()

Thanks to Stefan Schuermans for the patch

Revision 2075 - Directory Listing
Modified Wed Jun 7 12:56:03 2006 UTC (6 years, 11 months ago) by rousseau
SYS_PublicMemoryMap(): check the value returned by mmap() to detect a
memory exhaustion

Revision 2074 - Directory Listing
Modified Tue Jun 6 09:42:01 2006 UTC (6 years, 11 months ago) by rousseau
document the parameters changes for SHMMessageSend() and
SHMMessageReceive() for Doxygen

Revision 2073 - Directory Listing
Modified Tue Jun 6 09:34:09 2006 UTC (6 years, 11 months ago) by rousseau
do not cast malloc() return value.

Revision 2072 - Directory Listing
Modified Tue Jun 6 09:31:07 2006 UTC (6 years, 11 months ago) by rousseau
replace LPTSTR and LPCTSTR by LPSTR and LPCSTR

Revision 2071 - Directory Listing
Modified Tue Jun 6 09:20:19 2006 UTC (6 years, 11 months ago) by rousseau
use LPCSTR and LPSTR instead of LPCTSTR and LPTSTR.

LPCTSTR is either LPCSTR or LPCWSTR depending on the value of UNICODE
under Windows. So this type name should not be used directly.

See http://archives.neohapsis.com/archives/dev/muscle/2006-q2/0149.html

Revision 2068 - Directory Listing
Modified Fri May 26 14:32:15 2006 UTC (6 years, 11 months ago) by rousseau
define MAX_BUFFER_SIZE_EXTENDED to contain up to 64KB of data instead of
just 32KB

Revision 2067 - Directory Listing
Modified Fri May 26 13:41:15 2006 UTC (6 years, 11 months ago) by rousseau
MSGFunctionDemarshall(): remove two debug messages

Revision 2066 - Directory Listing
Modified Thu May 25 21:56:01 2006 UTC (6 years, 11 months ago) by rousseau
remove "allow the use of extended APDU without breaking libpcsclite ABI"
since it is implemented now

Revision 2065 - Directory Listing
Modified Thu May 25 21:55:38 2006 UTC (6 years, 11 months ago) by rousseau
do not document --enable-extendedapdu any more

Revision 2064 - Directory Listing
Modified Thu May 25 21:53:03 2006 UTC (6 years, 11 months ago) by rousseau
remove --enable-extendedapdu since it is useless now

Revision 2063 - Directory Listing
Modified Thu May 25 21:52:34 2006 UTC (6 years, 11 months ago) by rousseau
add support of extended APDU as a new command so we do not need to
compile pcsc-lite with or without extended APDU

Revision 2062 - Directory Listing
Modified Thu May 25 21:50:34 2006 UTC (6 years, 11 months ago) by rousseau
SCardTransmit(): do not check if cbSendLength or dwRxLength are >
MAX_BUFFER_SIZE since this is done by the client already

Revision 2061 - Directory Listing
Modified Thu May 25 21:42:21 2006 UTC (6 years, 11 months ago) by rousseau
use new SHMMessageReceive/SHMMessageSend API

Revision 2060 - Directory Listing
Modified Thu May 25 21:35:58 2006 UTC (6 years, 11 months ago) by rousseau
SHMMessageSend() and SHMMessageReceive() use "void *buffer, size_t
buffer_size" instead of psharedSegmentMsg msgStruct with a fixed size

Revision 2059 - Directory Listing
Modified Thu May 25 21:31:23 2006 UTC (6 years, 11 months ago) by rousseau
add SCARD_TRANSMIT_EXTENDED in pcsc_msg_commands and
transmit_struct_extended structure

Revision 2058 - Directory Listing
Modified Thu May 25 21:30:31 2006 UTC (6 years, 11 months ago) by rousseau
PROTOCOL_VERSION_MINOR changed from 0 to 1

Revision 2057 - Directory Listing
Modified Thu May 25 21:28:42 2006 UTC (6 years, 11 months ago) by rousseau
#define MAX_BUFFER_SIZE_EXTENDED and remove the @extended_apdu@
management

Revision 2056 - Directory Listing
Modified Thu May 25 20:53:55 2006 UTC (6 years, 11 months ago) by rousseau
MSGFunctionDemarshall(): log an error if pcscd receives an unknown
command

Revision 2054 - Directory Listing
Modified Thu May 25 12:42:56 2006 UTC (6 years, 11 months ago) by rousseau
log_init(): remove a "pouet" printf() debug message

Revision 2053 - Directory Listing
Modified Wed May 24 07:51:13 2006 UTC (7 years ago) by rousseau
move the .h file in the *_SOURCES targets so that "make ctags" include them

Revision 2052 - Directory Listing
Modified Tue May 23 13:05:05 2006 UTC (7 years ago) by rousseau
correct typos

Revision 2051 - Directory Listing
Modified Tue May 23 13:01:30 2006 UTC (7 years ago) by rousseau
update the list of source filesfor pcscd and libpcsclite.la

Revision 2050 - Directory Listing
Modified Sat May 20 14:26:13 2006 UTC (7 years ago) by rousseau
log_xxd(): replace strlen(c) by 3 since the string length is constant
(gain a few CPU cycles)

Revision 2049 - Directory Listing
Modified Sat May 20 14:25:07 2006 UTC (7 years ago) by rousseau
log_xxd(): if the buffer is too small then end it with "..."

Revision 2042 - Directory Listing
Modified Fri May 12 13:51:21 2006 UTC (7 years ago) by rousseau
improve the @brief comment to differentiate between debug for pcsclite
and debug for pcscd

Revision 2040 - Directory Listing
Modified Tue May 9 19:27:01 2006 UTC (7 years ago) by rousseau
RFInitializeReader(): display the name of the driver used in addition to
the name of the reader

Revision 2030 - Directory Listing
Modified Tue May 2 07:57:51 2006 UTC (7 years ago) by rousseau
update to the latest version available from OpenBSD (2005/08/06)

Revision 2029 - Directory Listing
Modified Tue May 2 07:00:10 2006 UTC (7 years ago) by rousseau
EHInitializeEventStructures(): check against MAP_FAILED instead of 0 for
the returned value of SYS_MemoryMap().

Thanks to Davide Rizzo for the bug report and patch

Revision 2028 - Directory Listing
Modified Tue May 2 06:58:07 2006 UTC (7 years ago) by rousseau
#include <sys/mman.h> so that MAP_FAILED is defined (value returned by
SYS_MemoryMap() in case of error)

Revision 2027 - Directory Listing
Modified Tue May 2 06:56:03 2006 UTC (7 years ago) by rousseau
SYS_MemoryMap(): document in Doxygen that the function returns
MAP_FAILED in case of error

Revision 2025 - Directory Listing
Modified Sat Apr 22 18:56:53 2006 UTC (7 years, 1 month ago) by rousseau
release 1.3.1

Revision 2024 - Directory Listing
Modified Sat Apr 22 18:52:09 2006 UTC (7 years, 1 month ago) by rousseau
RFLoadReader(): change the way DYN_GetAddress() is used to have a
simpler code and avoid a warning: dereferencing type-punned pointer will
break strict-aliasing rules

Revision 2018 - Directory Listing
Modified Thu Apr 20 18:56:49 2006 UTC (7 years, 1 month ago) by rousseau
do not use EXTERNAL to export the symbols (revert the previous patch)

Revision 2015 - Directory Listing
Modified Wed Apr 19 08:39:36 2006 UTC (7 years, 1 month ago) by rousseau
Add a comment regarding the use of LDFLAGS="-lpthread"

Revision 2010 - Directory Listing
Modified Tue Apr 18 14:00:59 2006 UTC (7 years, 1 month ago) by rousseau
do not export LTPBundleFindValueWithKey() to the drivers anymore

Revision 2009 - Directory Listing
Modified Tue Apr 18 13:59:11 2006 UTC (7 years, 1 month ago) by rousseau
tag the functions of the API as EXTERNAL. This can be used to export
only those symbols from the driver library.

Revision 2008 - Directory Listing
Modified Tue Apr 18 13:57:30 2006 UTC (7 years, 1 month ago) by rousseau
EXTERNAL is a synonym for PCSC_API but more anonymous

Revision 1998 - Directory Listing
Modified Tue Apr 11 09:06:50 2006 UTC (7 years, 1 month ago) by rousseau
CreateContextThread(): do not use a pointer to the argument but the
argument itself to avoid using the same value for two consecutive
threads

Thanks to Fabien Merlet for the bug report.
See http://archives.neohapsis.com/archives/dev/muscle/2006-q2/0038.html

Revision 1991 - Directory Listing
Modified Fri Mar 31 14:30:56 2006 UTC (7 years, 1 month ago) by rousseau
use \texttt{} instead of \file{} (it works with latex2html but not with
pdflatex)

Revision 1990 - Directory Listing
Modified Fri Mar 31 14:23:52 2006 UTC (7 years, 1 month ago) by rousseau
use __misc_h__ instead of __local_h__ since the file name is misc.h

Revision 1989 - Directory Listing
Modified Fri Mar 31 14:19:18 2006 UTC (7 years, 1 month ago) by rousseau
log_msg: document that you should use the macros defined in <debuglog.h>

Revision 1988 - Directory Listing
Modified Thu Mar 30 09:14:24 2006 UTC (7 years, 1 month ago) by rousseau
log_msg and log_xxd are only available for pcscd drivers. These
functions are no more provided by libpcsclite

Revision 1980 - Directory Listing
Modified Mon Mar 27 13:34:36 2006 UTC (7 years, 1 month ago) by rousseau
use use_libusb="${use_libusb-yes}" so that use_libusb is defined to yes
only if it was not previously defined

libusb is not used by default on Mac OS X and use_libusb=no is already
used in that case a few lines above in the script

Revision 1979 - Directory Listing
Modified Mon Mar 27 13:29:39 2006 UTC (7 years, 1 month ago) by rousseau
compile only on Apple and if libusb is not used

Revision 1978 - Directory Listing
Modified Mon Mar 27 13:25:16 2006 UTC (7 years, 1 month ago) by rousseau
add $(LIBUSB_CFLAGS) to pcscd_CFLAGS

Revision 1975 - Directory Listing
Modified Mon Mar 27 06:58:18 2006 UTC (7 years, 1 month ago) by rousseau
SCardConnect(): the paramater name is dwShareMode instead of dwScope

Revision 1970 - Directory Listing
Modified Thu Mar 23 12:56:54 2006 UTC (7 years, 2 months ago) by rousseau
HPAddHotPluggable(): add the USB serial number only if ADD_SERIAL_NUMBER
is defined (default).
just #undef the macro if you do not like the serial number addition.

Revision 1964 - Directory Listing
Modified Tue Mar 21 16:01:57 2006 UTC (7 years, 2 months ago) by rousseau
add -DLIBPCSCLITE to libpcsclite_la_CFLAGS (used in debug.c)

Revision 1963 - Directory Listing
Modified Tue Mar 21 16:00:21 2006 UTC (7 years, 2 months ago) by rousseau
add debug.c to libpcsclite_la_SOURCES

Revision 1962 - Directory Listing
Modified Tue Mar 21 15:59:28 2006 UTC (7 years, 2 months ago) by rousseau
provice log_msg() and log_xxd() implementation for the client side

Revision 1961 - Directory Listing
Modified Tue Mar 21 15:58:41 2006 UTC (7 years, 2 months ago) by rousseau
use log_msg() instead of fprintf() for Logx() macro used in libpcsclite
so we can manage priority and color

Revision 1960 - Directory Listing
Modified Tue Mar 21 15:57:38 2006 UTC (7 years, 2 months ago) by rousseau
use debug.h instead of debuglog.h

Revision 1959 - Directory Listing
Modified Tue Mar 21 14:02:03 2006 UTC (7 years, 2 months ago) by rousseau
do not use libpcsclite-core anymore since the same source code generates
two different object files (depending on the presence of -DPCSCD)

Revision 1958 - Directory Listing
Modified Tue Mar 21 14:00:35 2006 UTC (7 years, 2 months ago) by rousseau
do not use MUSCLECARD_DEBUG environment variable anymore to activate the
logs

Revision 1957 - Directory Listing
Modified Tue Mar 21 13:59:18 2006 UTC (7 years, 2 months ago) by rousseau
#include "debug.h" instead of "debuglog.h" to use fprintf() or syslog()
depending if the file is used for pcscd (if PCSCD is defined) or for
libpcsclite

Revision 1956 - Directory Listing
Modified Tue Mar 21 13:56:38 2006 UTC (7 years, 2 months ago) by rousseau
define Logx() functions for use in libpcsclite (just a fprintf(stderr,
...))

Revision 1955 - Directory Listing
Modified Tue Mar 21 13:55:00 2006 UTC (7 years, 2 months ago) by rousseau
do not declare pcsc_stringify_error() here since it is already declared
in PCSC/pcsclite.h

Revision 1954 - Directory Listing
Modified Tue Mar 21 13:54:12 2006 UTC (7 years, 2 months ago) by rousseau
do not use pcsc_stringify_error() since I don't want this code in the
daemon just for _one_ function

Revision 1953 - Directory Listing
Modified Tue Mar 21 13:46:28 2006 UTC (7 years, 2 months ago) by rousseau
move pcsc_stringify_error() in its own file

Revision 1952 - Directory Listing
Modified Tue Mar 21 10:08:23 2006 UTC (7 years, 2 months ago) by rousseau
remove duplicate Log3() definition

Revision 1948 - Directory Listing
Modified Mon Mar 20 09:52:09 2006 UTC (7 years, 2 months ago) by rousseau
document log_msg and log_xxd

Revision 1947 - Directory Listing
Modified Mon Mar 20 09:35:04 2006 UTC (7 years, 2 months ago) by rousseau
document VERIFY_PIN and MODIFY_PIN commands using PCSCv2 part 10
instead of the "proprietary" mechanism now unsupported

Revision 1946 - Directory Listing
Modified Mon Mar 20 09:17:49 2006 UTC (7 years, 2 months ago) by rousseau
upgrade sample code for IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE

Revision 1937 - Directory Listing
Modified Fri Mar 17 15:02:59 2006 UTC (7 years, 2 months ago) by rousseau
add IFD_NOT_SUPPORTED in the possible return values for
IFDHSetProtocolParameters()

Revision 1936 - Directory Listing
Modified Fri Mar 17 14:58:39 2006 UTC (7 years, 2 months ago) by rousseau
document the possible values for Protocol argument in
IFDHSetProtocolParameters()

Closes bug [ #303238 ] IFDHSetProtocolParameters is called with
Protocol=1 even though debug log says T=0

Revision 1935 - Directory Listing
Modified Thu Mar 16 08:17:58 2006 UTC (7 years, 2 months ago) by rousseau
do not use #define INTERNAL __hidden on Solaris since the linker can't
use symbol declared __hidden in the file it is declared.

See http://archives.neohapsis.com/archives/dev/muscle/2006-q1/0144.html
Thanks to Iain MacDonnell for the bug report

Revision 1933 - Directory Listing
Modified Wed Mar 15 08:01:32 2006 UTC (7 years, 2 months ago) by rousseau
document --disable-libusb instead of --enable-libusb since libusb is
used by default.

Thanks to Shawn Willden for the bug report

Revision 1931 - Directory Listing
Modified Wed Mar 8 17:33:09 2006 UTC (7 years, 2 months ago) by rousseau
Add support of Solaris

Revision 1929 - Directory Listing
Modified Tue Mar 7 07:50:27 2006 UTC (7 years, 2 months ago) by rousseau
remove documentation on --enable-muscledropdir=DIR since this option
moved to libmusclecard now

Thanks to Ville Skyttä for the patch

Revision 1928 - Directory Listing
Modified Tue Mar 7 07:49:16 2006 UTC (7 years, 2 months ago) by rousseau
remove a useless AC_SUBST(muscledropdir)

Revision 1906 - Directory Listing
Modified Fri Mar 3 13:58:26 2006 UTC (7 years, 2 months ago) by rousseau
release 1.3.0

Revision 1902 - Directory Listing
Modified Tue Feb 28 19:18:34 2006 UTC (7 years, 2 months ago) by rousseau
the correct path is /usr/local/lib instead of /usr/local/pcsc/lib

Revision 1894 - Directory Listing
Modified Tue Feb 28 10:23:12 2006 UTC (7 years, 2 months ago) by rousseau
ChangeLog.svn rule: search and replace corcoran-guest before corcoran

Revision 1893 - Directory Listing
Modified Tue Feb 28 10:21:12 2006 UTC (7 years, 2 months ago) by rousseau
remove libmusclecard directory

Revision 1892 - Directory Listing
Modified Tue Feb 28 10:20:55 2006 UTC (7 years, 2 months ago) by rousseau
remove libmusclecard code

Revision 1885 - Directory Listing
Modified Tue Feb 28 08:09:12 2006 UTC (7 years, 2 months ago) by rousseau
move PCSC/libmusclecard in its own package

Revision 1884 - Directory Listing
Modified Mon Feb 27 13:47:19 2006 UTC (7 years, 2 months ago) by rousseau
add a call to SCardTransmit()

Revision 1882 - Directory Listing
Modified Fri Feb 24 17:05:51 2006 UTC (7 years, 2 months ago) by rousseau
automatically call SCardUnload() when the libpcsclite library is unloaded

Thanks to Najam Siddiqui. See
http://archives.neohapsis.com/archives/dev/muscle/2006-q1/0177.html

Revision 1881 - Directory Listing
Modified Fri Feb 24 10:28:06 2006 UTC (7 years, 2 months ago) by rousseau
SCardTransmit(): use 0x%08lX instead of %ld since the return codes are
defined in hex in PCSC/pcsclite.h

Revision 1880 - Directory Listing
Modified Thu Feb 23 07:26:41 2006 UTC (7 years, 2 months ago) by rousseau
correctly detect the use of --enable-libusb (--enable-libusb has the
same effect as --disable-libusb)

Thanks to Iain MacDonnell for the bug report

Revision 1879 - Directory Listing
Modified Wed Feb 22 09:25:57 2006 UTC (7 years, 3 months ago) by rousseau
SCardReleaseContext(): do not check that the thread releasing the
context is the one that established it. This check is not performed on
Windows and creates portability problems

See http://archives.neohapsis.com/archives/dev/muscle/2006-q1/0134.html

Revision 1878 - Directory Listing
Modified Wed Feb 22 09:03:27 2006 UTC (7 years, 3 months ago) by rousseau
We can't use a # inside a #define so it is not possible to use 
#define CONSTRUCTOR_DECLARATION(x) #pragma init (x)

The #pragma is used directly where needed

Revision 1877 - Directory Listing
Modified Wed Feb 22 08:16:46 2006 UTC (7 years, 3 months ago) by rousseau
update the available ./configure options

Thanks to Shawn Willden for the bug report

Revision 1871 - Directory Listing
Modified Tue Feb 21 22:50:04 2006 UTC (7 years, 3 months ago) by rousseau
correct the Perl regexp in ChangeLog.svn rule

Revision 1868 - Directory Listing
Modified Tue Feb 21 09:05:45 2006 UTC (7 years, 3 months ago) by rousseau
add subversion revision in ChangeLog.svn

Revision 1852 - Directory Listing
Modified Fri Feb 3 13:46:16 2006 UTC (7 years, 3 months ago) by rousseau
remove $(LIBUSB_LIBS) from libpcsclite_la_LIBADD

Revision 1851 - Directory Listing
Modified Fri Feb 3 13:12:48 2006 UTC (7 years, 3 months ago) by rousseau
release 1.2.9-beta10

Revision 1850 - Directory Listing
Modified Fri Feb 3 13:01:56 2006 UTC (7 years, 3 months ago) by rousseau
use ChangeLog.svn instead of ChangeLog.cvs

Revision 1849 - Directory Listing
Modified Tue Jan 31 13:29:28 2006 UTC (7 years, 3 months ago) by rousseau
if the USB reader defines a serial number then include it in the reader
name (between parenthesis)

Thanks to Achraf Karray for the patch

Revision 1848 - Directory Listing
Modified Mon Jan 30 15:44:47 2006 UTC (7 years, 3 months ago) by rousseau
use libmusclecard.la instead of
$(top_builddir)/libmusclecard/src/libmusclecard.la so that "make -j2"
works. Closes bug "[ #302971 ] 'make -j2' fails"

Revision 1847 - Directory Listing
Modified Mon Jan 30 15:44:01 2006 UTC (7 years, 3 months ago) by rousseau
add $(LIBUSB_CFLAGS) and $(LIBUSB_LIBS) where needed

Revision 1844 - Directory Listing
Modified Mon Jan 30 14:11:52 2006 UTC (7 years, 3 months ago) by rousseau
use xyes instead of xtrue in x$use_libusb test

Revision 1843 - Directory Listing
Modified Mon Jan 30 14:06:18 2006 UTC (7 years, 3 months ago) by rousseau
reuse libusb detection code from my CCID driver

Revision 1838 - Directory Listing
Modified Wed Jan 25 12:03:17 2006 UTC (7 years, 3 months ago) by rousseau
MSCEstablishConnection(): avoids a segfault

Thanks to Shawn Willden for the patch
http://archives.neohapsis.com/archives/dev/muscle/2006-q1/0057.html

Revision 1837 - Directory Listing
Modified Wed Jan 25 11:00:42 2006 UTC (7 years, 3 months ago) by rousseau
use $(SYMBOL_VISIBILITY) instead of -fvisibility=hidden

Revision 1836 - Directory Listing
Modified Wed Jan 25 11:00:26 2006 UTC (7 years, 3 months ago) by rousseau
check if the compiler supports -fvisibility=hidden and define
SYMBOL_VISIBILITY accordingly

Only GCC 4.0 support it AFAIK

Revision 1835 - Directory Listing
Modified Wed Jan 25 10:42:23 2006 UTC (7 years, 3 months ago) by rousseau
#define PCSC_API as no-op if not already defined (needed when included
by a driver)

Revision 1830 - Directory Listing
Modified Tue Jan 24 14:52:16 2006 UTC (7 years, 3 months ago) by rousseau
Compile with -fvisibility=hidden to hide all symbols by default.
The export of symbol must now be explicit. That only works for the ELF
format.

Revision 1829 - Directory Listing
Modified Tue Jan 24 14:51:05 2006 UTC (7 years, 3 months ago) by rousseau
#include "misc.h to get the definition of PCSC_API

Revision 1828 - Directory Listing
Modified Tue Jan 24 14:50:31 2006 UTC (7 years, 3 months ago) by rousseau
export variables g_rgSCardT0Pci, g_rgSCardT1Pci and g_rgSCardRawPci

Revision 1827 - Directory Listing
Modified Tue Jan 24 14:49:52 2006 UTC (7 years, 3 months ago) by rousseau
#include "misc.h to get the definition of PCSC_API

Revision 1826 - Directory Listing
Modified Tue Jan 24 14:45:15 2006 UTC (7 years, 3 months ago) by rousseau
declare log_msg(), log_xxd(), DebugLogSetLevel() and
pcsc_stringify_error() as exported symbols since they are used by
libmusclecard or some applications

Revision 1825 - Directory Listing
Modified Tue Jan 24 14:44:22 2006 UTC (7 years, 3 months ago) by rousseau
declare the symbols as exported using PCSC_API macro

Revision 1824 - Directory Listing
Modified Tue Jan 24 14:43:20 2006 UTC (7 years, 3 months ago) by rousseau
declare LTPBundleFindValueWithKey as an exported symbol (used by the
pcscd drivers)

Revision 1823 - Directory Listing
Modified Tue Jan 24 12:44:45 2006 UTC (7 years, 3 months ago) by rousseau
define PCSC_API as a way to export a symbol

Revision 1822 - Directory Listing
Modified Tue Jan 24 12:43:17 2006 UTC (7 years, 3 months ago) by rousseau
use __GNUC__ instead of __GCC__

see
http://gcc.gnu.org/onlinedocs/gcc-3.3.5/cpp/Common-Predefined-Macros.html

Revision 1821 - Directory Listing
Modified Tue Jan 24 10:38:09 2006 UTC (7 years, 3 months ago) by rousseau
reformat comment

Revision 1817 - Directory Listing
Modified Wed Jan 18 21:31:29 2006 UTC (7 years, 4 months ago) by rousseau
add speed profiling code

Revision 1816 - Directory Listing
Modified Wed Jan 18 21:30:18 2006 UTC (7 years, 4 months ago) by rousseau
SCardTransmit(): code simplification

Revision 1813 - Directory Listing
Modified Wed Jan 18 13:19:04 2006 UTC (7 years, 4 months ago) by rousseau
explicitely add $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) to
libpcsclite_la_LIBADD and pcscd_LDADD

Revision 1812 - Directory Listing
Modified Wed Jan 18 13:15:02 2006 UTC (7 years, 4 months ago) by rousseau
use $(FOO) instead of @FOO@ to not replace the values but the variables

Revision 1811 - Directory Listing
Modified Wed Jan 18 13:13:51 2006 UTC (7 years, 4 months ago) by rousseau
do not globaly add $PTHREAD_* to LIBS and CFLAGS

Revision 1786 - Directory Listing
Modified Tue Jan 3 17:11:29 2006 UTC (7 years, 4 months ago) by rousseau
Add missing ReCheckSerialReaders and HPReCheckSerialReaders() so
pcsc-lite can compile on FreeBSD and others

Revision 1783 - Directory Listing
Modified Thu Dec 15 13:53:16 2005 UTC (7 years, 5 months ago) by rousseau
allow to have pcscd and libpcsclite on two different machines.

Revision 1781 - Directory Listing
Modified Mon Dec 12 13:22:54 2005 UTC (7 years, 5 months ago) by rousseau
use $prefix/pcsc/services instead of $prefix/services when --prefix= is
used but --enable-muscledropdir= is not.
Same code as for --enable-usbdropdir=

Revision 1777 - Directory Listing
Modified Thu Dec 1 17:17:46 2005 UTC (7 years, 5 months ago) by rousseau
remove a duplicated comment line

Revision 1772 - Directory Listing
Modified Tue Nov 29 13:42:03 2005 UTC (7 years, 5 months ago) by rousseau
typo corrected

Revision 1757 - Directory Listing
Modified Sun Nov 27 16:40:04 2005 UTC (7 years, 5 months ago) by rousseau
release 1.2.9-beta9

Revision 1756 - Directory Listing
Modified Fri Nov 25 16:10:53 2005 UTC (7 years, 5 months ago) by rousseau
libmusclecard needs tokenparser.l but I do not want to provide it
through libpcsclite so libmusclecard uses it directly

Revision 1753 - Directory Listing
Modified Thu Nov 24 16:18:06 2005 UTC (7 years, 5 months ago) by rousseau
version 1.2.9-beta9

Revision 1748 - Directory Listing
Modified Thu Nov 24 16:00:29 2005 UTC (7 years, 5 months ago) by rousseau
Apple gcc does not support #pragma pack(push, 1) but only #pragma
pack(1)
powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer,
Inc. build 4061)

Revision 1744 - Directory Listing
Modified Thu Nov 24 15:42:19 2005 UTC (7 years, 5 months ago) by rousseau
SCardConnect(): do not print an error ""Active Protocol: unknown 0" when
we are connecting in direct mode. The card is not supposed to be used at
this time.

Revision 1741 - Directory Listing
Modified Thu Nov 24 15:09:00 2005 UTC (7 years, 5 months ago) by rousseau
use uint8_t instead of int8_t since the fields are defined as BYTE,
USHORT and ULONG in PC/SC v2 part 10 specification

This avoids a "warning: overflow in implicit constant conversion" when
using values bigger than 127

Revision 1736 - Directory Listing
Modified Thu Nov 24 13:45:01 2005 UTC (7 years, 5 months ago) by rousseau
tokenparser.l is used by pcscd only and not by libpcsclite

Revision 1732 - Directory Listing
Modified Thu Nov 24 09:14:14 2005 UTC (7 years, 5 months ago) by rousseau
we need to provide LTPBundleFindValueWithKey for all plateforms. This
function is NOT provided by Mac OS X. The bug I wanted to correct
yesterday is in the CCID driver instead.
patch reverted.

Revision 1731 - Directory Listing
Modified Thu Nov 24 08:52:18 2005 UTC (7 years, 5 months ago) by rousseau
do not use smaller fonts for functions names so it looks nice with
Safari

Revision 1728 - Directory Listing
Modified Mon Nov 21 16:00:10 2005 UTC (7 years, 6 months ago) by rousseau
replace dnl by # for comments

Revision 1727 - Directory Listing
Modified Mon Nov 21 15:58:59 2005 UTC (7 years, 6 months ago) by rousseau
we need tokenparser.l (LTPBundleFindValueWithKey) only on non Mac OS X
plateforms. So we avoid linking with tokenparser.o and a possible
"multiple definitions of symbol _LTPBundleFindValueWithKey" ldd error

Revision 1726 - Directory Listing
Modified Mon Nov 21 15:25:23 2005 UTC (7 years, 6 months ago) by rousseau
HPSearchHotPluggables(): fill a "usb:%04x/%04x" string as deviceName[]
so it is possible to differentiate two non-identical readers

Revision 1725 - Directory Listing
Modified Mon Nov 21 13:18:11 2005 UTC (7 years, 6 months ago) by rousseau
PMRegisterForPowerEvents(): use (PCSCLITE_THREAD_FUNCTION( )) instead of
(LPVOID) to cast the function pointer passed to SYS_ThreadCreate()

Revision 1724 - Directory Listing
Modified Mon Nov 21 13:17:00 2005 UTC (7 years, 6 months ago) by rousseau
PMRegisterForPowerEvents(): use THREAD_ATTR_DEFAULT instead of NULL in
SYS_ThreadCreate()

Revision 1723 - Directory Listing
Modified Mon Nov 21 13:13:30 2005 UTC (7 years, 6 months ago) by rousseau
PMPowerRegistrationThread(): use 0 instead of NULL since
IORegisterForSystemPower() returns a number and not a pointer

Revision 1722 - Directory Listing
Modified Mon Nov 21 13:05:20 2005 UTC (7 years, 6 months ago) by rousseau
use NULL instead of 0 for pointers

Revision 1721 - Directory Listing
Modified Mon Nov 21 12:52:49 2005 UTC (7 years, 6 months ago) by rousseau
RFAddReader(): initialize the pdwMutex field of a new reader.
The bug resulted in a crash on pcscd exit on Mac OS X

Revision 1720 - Directory Listing
Modified Mon Nov 21 10:32:31 2005 UTC (7 years, 6 months ago) by rousseau
DebugLogSetLogType(): add support for "xterm-color" used by Mac OS X
Terminal

Revision 1719 - Directory Listing
Modified Wed Nov 16 10:36:47 2005 UTC (7 years, 6 months ago) by rousseau
remove "PCSC/" from filenames in the generated ChangeLog.cvs

Revision 1718 - Directory Listing
Modified Wed Nov 16 10:36:03 2005 UTC (7 years, 6 months ago) by rousseau
do not use `pkg-config libpcsclite --variable=libdir` since we _are_
installing libpcsclite.
This code was ok when libmusclecard was separate from libpcsclite.

Revision 1698 - Directory Listing
Modified Sat Oct 29 20:40:52 2005 UTC (7 years, 6 months ago) by rousseau
use a customized CSS file for Doxygen

Revision 1697 - Directory Listing
Modified Sat Oct 29 17:36:04 2005 UTC (7 years, 6 months ago) by rousseau
add a rule to generate Doxygen documentation

Revision 1696 - Directory Listing
Modified Sat Oct 29 16:38:02 2005 UTC (7 years, 6 months ago) by rousseau
add doc/doxygen.conf.in and generation of doxygen.conf

Revision 1695 - Directory Listing
Modified Sat Oct 29 16:27:33 2005 UTC (7 years, 6 months ago) by rousseau
correct some Doxygen warnings

Revision 1694 - Directory Listing
Modified Sat Oct 29 15:49:32 2005 UTC (7 years, 6 months ago) by rousseau
todo list

Revision 1693 - Directory Listing
Modified Fri Oct 21 08:01:38 2005 UTC (7 years, 7 months ago) by rousseau
SYS_Daemon(): manually detatch from terminal on Solaris in case
daemon(3) does not exist

Revision 1690 - Directory Listing
Modified Tue Oct 18 12:38:49 2005 UTC (7 years, 7 months ago) by rousseau
do not try to find yywrap() since we use %option noyywrap now

pcsc-lite can now be compiled without (f)lex installed.

Revision 1689 - Directory Listing
Modified Tue Oct 18 12:37:01 2005 UTC (7 years, 7 months ago) by rousseau
do not link pcscd with @LIBFL@

Revision 1688 - Directory Listing
Modified Tue Oct 18 12:36:11 2005 UTC (7 years, 7 months ago) by rousseau
use %option noyywrap so we do not use yywrap() and do have to link with
flex lib
See http://www.gnu.org/software/flex/manual/html_node/flex_17.html

Thanks to Toni Andjelkovic for the patch

Revision 1687 - Directory Listing
Modified Tue Oct 18 06:21:54 2005 UTC (7 years, 7 months ago) by rousseau
PCSC_SCF_Initialize(): use PCSC_Initialized instead of
PCSC_SCF_Initialized (typo)

thanks to Najam Siddiqui for the patch

Revision 1684 - Directory Listing
Modified Wed Oct 12 13:09:02 2005 UTC (7 years, 7 months ago) by rousseau
EventCallback() & PCSC_SCF_Initialize(): Fix issue where
SCardGetStatusChange() returns incorrect status when it is called right
after SCardEstablishContext() the first time after the libpcsclite.so is
loaded in memory, the fix is to make PCSC_Initialize() wait till OCF has
been initialized and the internal states are consistent.

Thanks to Najam Siddiqui for the patch

Revision 1683 - Directory Listing
Modified Wed Oct 12 13:06:24 2005 UTC (7 years, 7 months ago) by rousseau
add function isActiveContextPresent() missing from my previous commit

Revision 1682 - Directory Listing
Modified Wed Oct 12 12:47:06 2005 UTC (7 years, 7 months ago) by rousseau
SCardUnload(): add cleanup code

Thanks to Najam Siddiqui for the patch

Revision 1681 - Directory Listing
Modified Wed Oct 12 12:34:11 2005 UTC (7 years, 7 months ago) by rousseau
SCardGetStatusChange(): Context index was being used instead of Reader
index, it worked only when there was just one context.

Thanks to Najam Siddiqui for the bug report

Revision 1680 - Directory Listing
Modified Wed Sep 28 08:06:09 2005 UTC (7 years, 7 months ago) by rousseau
EHStatusHandlerThread(): Solaris 10 IFDhandler expect to have
CardAtrLength set to a sensible value. So add an initialisation before
calling IFDPowerICC()

Thanks to Douglas E. Engert for the patch

Revision 1679 - Directory Listing
Modified Wed Sep 28 08:02:23 2005 UTC (7 years, 7 months ago) by rousseau
PHSetProtocol(): Solaris 10 IFDhandler returns
IFD_PROTOCOL_NOT_SUPPORTED if the protocol is not supported

Thanks to Douglas E. Engert for the patch

Revision 1678 - Directory Listing
Modified Wed Sep 28 07:49:37 2005 UTC (7 years, 7 months ago) by rousseau
EHStatusHandlerThread(): log the error code in case of "Error powering
up card."

Thanks to Douglas E. Engert for the patch

Revision 1673 - Directory Listing
Modified Mon Sep 26 12:28:30 2005 UTC (7 years, 7 months ago) by rousseau
SCardGetStatusChange(): exists if the list of readers changed (one
reader added) so that the application can update its list of readers

Thanks to Najam Siddiqui for a preliminary patch.

Revision 1664 - Directory Listing
Modified Mon Sep 19 10:28:39 2005 UTC (7 years, 8 months ago) by rousseau
use CONSTRUCTOR_DECLARATION() and DESTRUCTOR_DECLARATION() to support
SUN C compiler

Revision 1663 - Directory Listing
Modified Mon Sep 19 10:28:07 2005 UTC (7 years, 8 months ago) by rousseau
add support of SUN C compiler (using __SUNPRO_C)

Thanks to Heiko Nardmann for the info

Revision 1662 - Directory Listing
Modified Mon Sep 19 08:07:48 2005 UTC (7 years, 8 months ago) by rousseau
add rxvt-unicode to the terminals with color support

Revision 1661 - Directory Listing
Modified Mon Sep 19 08:07:20 2005 UTC (7 years, 8 months ago) by rousseau
use #pragma pack instead of GCC specific __attribute__

Thanks to Heiko Nardmann for the bug report

Revision 1660 - Directory Listing
Modified Mon Sep 19 08:06:06 2005 UTC (7 years, 8 months ago) by rousseau
use CONSTRUCTOR & DESTRUCTOR macros instead of GCC specific __attribute__ ...

Revision 1659 - Directory Listing
Modified Mon Sep 19 08:05:33 2005 UTC (7 years, 8 months ago) by rousseau
define CONSTRUCTOR and DESTRUCTOR

Revision 1658 - Directory Listing
Modified Mon Sep 19 08:05:12 2005 UTC (7 years, 8 months ago) by rousseau
use __attribute__ ... only for GCC

Revision 1656 - Directory Listing
Modified Thu Sep 15 12:25:15 2005 UTC (7 years, 8 months ago) by rousseau
define HOST_TO_CCID_16() and HOST_TO_CCID_32 instead of just
HOST_TO_CCID()

Revision 1655 - Directory Listing
Modified Thu Sep 15 12:09:18 2005 UTC (7 years, 8 months ago) by rousseau
muscle-api-1.3.0.pdf is already present in libmusclecard/doc/

Revision 1654 - Directory Listing
Modified Thu Sep 15 12:08:42 2005 UTC (7 years, 8 months ago) by rousseau
this document is already present in libmusclecard/doc/

Revision 1653 - Directory Listing
Modified Thu Sep 15 12:03:08 2005 UTC (7 years, 8 months ago) by rousseau
install PCSC/reader.h and PCSC/pcsclite.h but do not distribute them

Revision 1652 - Directory Listing
Modified Thu Sep 15 11:44:36 2005 UTC (7 years, 8 months ago) by rousseau
add --stdout argument to svn2cl.sh so we don't have to patch the
svn2cl.sh anymore. The feature is now included in svn2cl v0.3

Revision 1651 - Directory Listing
Modified Thu Sep 15 11:35:34 2005 UTC (7 years, 8 months ago) by rousseau
move some header files from src/PCSC to src and do not distribute them
in /usr/include/PCSC

Revision 1650 - Directory Listing
Modified Wed Sep 14 14:43:21 2005 UTC (7 years, 8 months ago) by rousseau
add -I$(top_builddir)/src/PCSC to find the generated files (pcsclite.h)

Revision 1649 - Directory Listing
Modified Wed Sep 14 14:42:11 2005 UTC (7 years, 8 months ago) by rousseau
do not include PCSC/pcsclite.h in the tar.gz since it is generated from
PCSC/pcsclite.h.in

Revision 1648 - Directory Listing
Modified Wed Sep 14 14:28:27 2005 UTC (7 years, 8 months ago) by rousseau
include muscle-api-1.3.0.pdf

Revision 1647 - Directory Listing
Modified Wed Sep 14 14:23:55 2005 UTC (7 years, 8 months ago) by rousseau
copy from rel-1_2_9-beta7

Revision 1646 - Directory Listing
Modified Thu Sep 8 13:58:35 2005 UTC (7 years, 8 months ago) by rousseau
do not fail if svn2cl fails (command not installed for example)

Revision 1645 - Directory Listing
Modified Thu Sep 8 13:58:11 2005 UTC (7 years, 8 months ago) by rousseau
do not fail if $(PDFLATEX) fails (command not installed for example)

Revision 1644 - Directory Listing
Modified Wed Sep 7 19:05:49 2005 UTC (7 years, 8 months ago) by rousseau
svn2cl --group-by-day

Revision 1642 - Directory Listing
Modified Tue Sep 6 19:51:36 2005 UTC (7 years, 8 months ago) by rousseau
release 1.2.9-beta8

Revision 1637 - Directory Listing
Modified Thu Sep 1 13:54:11 2005 UTC (7 years, 8 months ago) by rousseau
use [...].mMutex = NULL; instead of [...].mMutex = 0; since it is a
pointer

Revision 1636 - Directory Listing
Modified Thu Sep 1 13:23:11 2005 UTC (7 years, 8 months ago) by rousseau
SCardCancel(): do not synchronise using .mMutex since it may be hold by
another thread blocked for a very long time in SCardGetStatusChange()

Thanks to Roland van Rijswijk for a preliminary patch

Revision 1629 - Directory Listing
Modified Thu Sep 1 08:25:50 2005 UTC (7 years, 8 months ago) by rousseau
RFAddReader(): correct max length tests for reader, library and device
I was too pessimistic

Revision 1628 - Directory Listing
Modified Wed Aug 31 14:58:19 2005 UTC (7 years, 8 months ago) by rousseau
RFAddReader(): do not silently truncate the reader, library or device
name if they are too long

Thanks to Ribamar Santarosa de Sousa for the bug report

Revision 1627 - Directory Listing
Modified Wed Aug 31 14:48:53 2005 UTC (7 years, 8 months ago) by rousseau
RFAddReader(): return in error if lpcDevice == NULL

Revision 1624 - Directory Listing
Modified Tue Aug 23 15:06:08 2005 UTC (7 years, 9 months ago) by rousseau
use svn2cl instead of rcs2log

Revision 1623 - Directory Listing
Modified Tue Aug 23 15:01:42 2005 UTC (7 years, 9 months ago) by rousseau
SCardEstablishContextTH() and SCardReleaseContext(): initialize rv field
of scEstablishStruct/scReleaseStruct structures to avoid a valgrind
warning

Revision 1621 - Directory Listing
Modified Wed Aug 17 13:29:58 2005 UTC (7 years, 9 months ago) by rousseau
Pack the complete structures instead of just the 16-bits fields
This syntax is more readable

Revision 1620 - Directory Listing
Modified Wed Aug 17 06:45:00 2005 UTC (7 years, 9 months ago) by rousseau
use __attribute__ ((__packed__)) for 16-bits fields since they are not
aligned on word boundaries

Revision 1619 - Directory Listing
Modified Tue Aug 16 06:50:18 2005 UTC (7 years, 9 months ago) by rousseau
removed since we use SVN and not CVS anymore

Thanks to Martin Paljak for the idea

Revision 1615 - Directory Listing
Modified Mon Aug 15 09:59:03 2005 UTC (7 years, 9 months ago) by rousseau
update

Revision 1607 - Directory Listing
Modified Mon Aug 8 10:34:26 2005 UTC (7 years, 9 months ago) by rousseau
remove AM_CONDITIONAL(PCSC_USE_LIBUSB...) since it is not used anymore

Revision 1606 - Directory Listing
Modified Mon Aug 8 10:29:11 2005 UTC (7 years, 9 months ago) by rousseau
disable libusb on Darwin (MacOS X) since native usb layer is preferred

Revision 1605 - Directory Listing
Modified Mon Aug 8 10:23:14 2005 UTC (7 years, 9 months ago) by rousseau
use libtool's "-export-dynamic" instead of gcc's "-rdynamic"

see http://www.gnu.org/software/libtool/manual.html#Link-mode

Revision 1603 - Directory Listing
Modified Thu Aug 4 13:28:34 2005 UTC (7 years, 9 months ago) by rousseau
include definitions of:
- HOST_TO_CCID() macro
- PIN_VERIFY_STRUCTURE structure
- PIN_MODIFY_STRUCTURE structure

Revision 1602 - Directory Listing
Modified Thu Aug 4 13:27:01 2005 UTC (7 years, 9 months ago) by rousseau
use inttypes.h instead of stdint.h
(stdint.h does not exist on Solaris)

Revision 1601 - Directory Listing
Modified Thu Aug 4 13:24:52 2005 UTC (7 years, 9 months ago) by rousseau
check is the plateform is big or little endian and generate the
corresponding HOST_TO_CCID() macro in PCSC/reader.h

Revision 1599 - Directory Listing
Modified Wed Aug 3 08:00:22 2005 UTC (7 years, 9 months ago) by rousseau
HPAddHotPluggable(): off by 1 buffer overflow. The last character of a
string is "sizeof(string) -1" and not "sizeof(string)".

Thanks to Amira Solomovici for the bug report. A crash occured on Fedora
Core 4.

Revision 1598 - Directory Listing
Modified Wed Aug 3 07:58:27 2005 UTC (7 years, 9 months ago) by rousseau
HPAddHotPluggable(): use sizeof() instead of BUS_DEVICE_STRSIZE to be
less error prone

Revision 1597 - Directory Listing
Modified Tue Aug 2 14:21:15 2005 UTC (7 years, 9 months ago) by rousseau
HPSearchHotPluggables(): start the HPEstablishUSBNotifications thread
only if HPReadBundleValues() returns TRUE (some USB drivers are found)

Revision 1596 - Directory Listing
Modified Tue Aug 2 14:17:54 2005 UTC (7 years, 9 months ago) by rousseau
HPReadBundleValues(): return TRUE only if some USB drivers are found

Revision 1595 - Directory Listing
Modified Tue Aug 2 14:09:29 2005 UTC (7 years, 9 months ago) by rousseau
HPEstablishUSBNotifications(): free data allocated for driverTracker[]
on exit

Revision 1582 - Directory Listing
Modified Mon Aug 1 08:24:24 2005 UTC (7 years, 9 months ago) by rousseau
SCardReconnect(): remove duplicate checking code

Revision 1580 - Directory Listing
Modified Wed Jul 27 13:20:51 2005 UTC (7 years, 9 months ago) by rousseau
HPReadBundleValues(): clean the newly allocated entries when
driverTracker[] is enlarged

Revision 1578 - Directory Listing
Modified Wed Jul 27 09:56:16 2005 UTC (7 years, 9 months ago) by rousseau
SCardCancelTransaction(): Doxygen documented deprecation

Revision 1576 - Directory Listing
Modified Wed Jul 27 09:50:19 2005 UTC (7 years, 9 months ago) by rousseau
move the Doxygen for SCardCancel() to the correct function (it was
attached to SCardCancelTransaction())

Revision 1574 - Directory Listing
Modified Wed Jul 27 09:36:25 2005 UTC (7 years, 9 months ago) by rousseau
typos in doxygen documentation

Revision 1573 - Directory Listing
Modified Wed Jul 27 09:29:00 2005 UTC (7 years, 9 months ago) by rousseau
typos in doxygen documentation

Revision 1572 - Directory Listing
Modified Wed Jul 6 07:20:23 2005 UTC (7 years, 10 months ago) by rousseau
use ISO C99 integer types in PCSC_TLV_STRUCTURE instead of __int*

Revision 1571 - Directory Listing
Modified Mon Jul 4 13:59:32 2005 UTC (7 years, 10 months ago) by rousseau
add PCSC_TLV_STRUCTURE structure

Revision 1565 - Directory Listing
Modified Mon Jun 27 08:42:33 2005 UTC (7 years, 10 months ago) by rousseau
add option -e -C so that systems without getopt_long() can use them.
remove code to parse the long options.

Solaris does not have getopt_long(). Thanks to Heiko Nardmann for the
bug report.

Revision 1564 - Directory Listing
Modified Thu Jun 16 17:30:01 2005 UTC (7 years, 11 months ago) by rousseau
DBGetReaderList(): *caller_reader_list = NULL by default

Revision 1554 - Directory Listing
Modified Wed Jun 15 11:57:31 2005 UTC (7 years, 11 months ago) by rousseau
HPRegisterForHotplugEvents(): void function so remove return 0;

Revision 1553 - Directory Listing
Modified Wed Jun 15 11:56:17 2005 UTC (7 years, 11 months ago) by rousseau
SCardTransmit(): initialise sSendPci.Protocol to T=0 by default
(avoids a compiler warning)

Revision 1552 - Directory Listing
Modified Wed Jun 15 11:55:22 2005 UTC (7 years, 11 months ago) by rousseau
 #include "configfile.h" to define DBGetReaderList()

Revision 1551 - Directory Listing
Modified Wed Jun 15 11:54:47 2005 UTC (7 years, 11 months ago) by rousseau
 #include "configfile.h" to check the function prototype

Revision 1550 - Directory Listing
Modified Wed Jun 15 11:54:21 2005 UTC (7 years, 11 months ago) by rousseau
correct function prototype according to configfile.l new version

Revision 1549 - Directory Listing
Modified Sat Jun 4 12:59:57 2005 UTC (7 years, 11 months ago) by rousseau
HPReadBundleValues(): use >= instead of > to check if too many readers
are declared in the previous patch

Revision 1548 - Directory Listing
Modified Sat Jun 4 12:10:31 2005 UTC (7 years, 11 months ago) by rousseau
HPReadBundleValues(): exit early if too many readers are declared since the
array to store them is static (PCSCLITE_MAX_READERS_CONTEXTS)

Revision 1544 - Directory Listing
Modified Thu May 26 15:09:58 2005 UTC (7 years, 11 months ago) by rousseau
1.2.9-beta8

Revision 1543 - Directory Listing
Modified Thu May 26 14:54:24 2005 UTC (7 years, 11 months ago) by rousseau
HPRegisterForHotplugEvents(): use THREAD_ATTR_DEFAULT instead of NULL
and (PCSCLITE_THREAD_FUNCTION( )) instead of (LPVOID)

Revision 1542 - Directory Listing
Modified Thu May 26 14:52:42 2005 UTC (7 years, 11 months ago) by rousseau
replace NULL by 0 in the 4th argument of
IORegistryEntryCreateCFProperty()

Revision 1541 - Directory Listing
Modified Thu May 26 14:51:52 2005 UTC (7 years, 11 months ago) by rousseau
define char ReCheckSerialReaders and HPReCheckSerialReaders()

Revision 1540 - Directory Listing
Modified Thu May 26 14:50:13 2005 UTC (7 years, 11 months ago) by rousseau
define an empty HPReCheckSerialReaders()

Revision 1539 - Directory Listing
Modified Thu May 26 14:49:50 2005 UTC (7 years, 11 months ago) by rousseau
define char ReCheckSerialReaders used by pcscdaemon.c and winscard_msg_srv.c

Revision 1538 - Directory Listing
Modified Thu May 26 14:48:00 2005 UTC (7 years, 11 months ago) by rousseau
add HPReCheckSerialReaders()

Revision 1537 - Directory Listing
Modified Thu May 26 14:01:56 2005 UTC (7 years, 11 months ago) by rousseau
do not declare SHMProcessCommonChannelRequest() since it is a static
function in winscard_msg_srv.c never used elsewhere

Revision 1536 - Directory Listing
Modified Thu May 26 13:05:25 2005 UTC (7 years, 11 months ago) by rousseau
do not log an error if select() is interrupted because of a manual
hotplug signal (SIGUSR1)

Revision 1535 - Directory Listing
Modified Thu May 26 13:03:40 2005 UTC (7 years, 11 months ago) by rousseau
call signal_reload() when a SIGUSR1 signal is received

This provides a manual serial hotplug

Revision 1534 - Directory Listing
Modified Thu May 26 13:01:48 2005 UTC (7 years, 11 months ago) by rousseau
call RFStartSerialReaders() instead of DBUpdateReaders()

Revision 1533 - Directory Listing
Modified Thu May 26 13:00:04 2005 UTC (7 years, 11 months ago) by rousseau
implement HPReCheckSerialReaders() to set ReCheckSerialReaders flag
if ReCheckSerialReaders flag is set we call RFReCheckReaderConf()

This code has nothing to do with libusb or USB but is a serial hotplug
so should be in a hotplug loop

Revision 1532 - Directory Listing
Modified Thu May 26 12:57:18 2005 UTC (7 years, 11 months ago) by rousseau
implement RFStartSerialReaders() to start (serial) readers described in the
configuration file (/etc/reader.conf)

implement RFReCheckReaderConf() to stop or start readers described in
the configuration file. This allows a serial hotplug.

Revision 1531 - Directory Listing
Modified Thu May 26 12:54:49 2005 UTC (7 years, 11 months ago) by rousseau
rename DBUpdateReaders() in DBGetReaderList()
The function now just returns a list of readers described in the
configuration file (/etc/reader.conf by default)

Revision 1530 - Directory Listing
Modified Thu May 26 12:52:07 2005 UTC (7 years, 11 months ago) by rousseau
add struct SerialReader, RFStartSerialReaders() and
RFReCheckReaderConf() declarations

Revision 1529 - Directory Listing
Modified Thu May 26 12:51:28 2005 UTC (7 years, 11 months ago) by rousseau
remove #include "configfile.h"

Revision 1528 - Directory Listing
Modified Wed May 25 14:20:18 2005 UTC (7 years, 11 months ago) by rousseau
DebugLogSetLevel(): do not print anything if the level is critical or
error in order to not "pollute" logs in normal cases.

Revision 1527 - Directory Listing
Modified Wed May 25 14:17:23 2005 UTC (7 years, 11 months ago) by rousseau
Do not log a critical or error debug message if pcscd is stopped using
Ctrl-C or SIGQUIT
Closes Debian bug 306061

Revision 1526 - Directory Listing
Modified Wed May 25 14:13:07 2005 UTC (7 years, 11 months ago) by rousseau
link pcscd with winscard_msg_srv.c

Revision 1525 - Directory Listing
Modified Wed May 25 13:44:06 2005 UTC (7 years, 11 months ago) by rousseau
move the functions only use by the server part from winscard_msg.c to
winscard_msg_srv.c

Revision 1524 - Directory Listing
Modified Wed May 25 07:21:01 2005 UTC (7 years, 11 months ago) by rousseau
check if we should use color logs in DebugLogSetLogType() and not only
the first time in log_msg()

Revision 1519 - Directory Listing
Modified Wed May 18 17:07:21 2005 UTC (8 years ago) by rousseau
 #include "reader.h" to use SCARD_CTL_CODE() macro

Revision 1518 - Directory Listing
Modified Wed May 18 17:06:35 2005 UTC (8 years ago) by rousseau
distribute PCSC/reader.h

Revision 1517 - Directory Listing
Modified Wed May 18 17:06:07 2005 UTC (8 years ago) by rousseau
reader.h now contains the #defines shared between the driver and the
application

Revision 1516 - Directory Listing
Modified Wed May 18 16:45:55 2005 UTC (8 years ago) by rousseau
 #define SCARD_CTL_CODE(code)
and some TeleTrust Class 2 reader tags

Thanks to Martin Paljak for the patch

Revision 1515 - Directory Listing
Modified Wed May 18 16:36:06 2005 UTC (8 years ago) by rousseau
SCardControl(): a 0 byte long pbSendBuffer is no more rejected since the
command is in dwControlCode

Thanks to Martin Paljak for the patch

Revision 1502 - Directory Listing
Modified Tue May 3 06:56:57 2005 UTC (8 years ago) by rousseau
add @endcode in SCardGetStatusChange() doxygen doc

Revision 1501 - Directory Listing
Modified Tue May 3 06:48:09 2005 UTC (8 years ago) by rousseau
minor corrections in doxygen doc

Revision 1500 - Directory Listing
Modified Tue May 3 06:38:46 2005 UTC (8 years ago) by rousseau
reformat doxygen pargraphs to 79 colunms

Revision 1499 - Directory Listing
Modified Tue May 3 06:36:38 2005 UTC (8 years ago) by rousseau
remove @typedef. It is useless and makes doxygen crash

Revision 1498 - Directory Listing
Modified Mon May 2 14:12:04 2005 UTC (8 years ago) by rousseau
do not build pcscd if SCF is used since the library talks directly to
ocfserv and pcscd is not used.

Thanks to Jeffrey Hutzelman for the patch.

Revision 1497 - Directory Listing
Modified Mon May 2 14:05:25 2005 UTC (8 years ago) by rousseau
add SCardGetAttrib()/SCardSetAttrib() even if they return
SCARD_E_NOT_TRANSACTED for now. testpcsc can now link when SCF is used.

Thanks to Jeffrey Hutzelman for the patch.

Revision 1466 - Directory Listing
Modified Wed Apr 27 12:41:57 2005 UTC (8 years ago) by rousseau
add libmusclecard in SUBDIRS

Revision 1465 - Directory Listing
Modified Wed Apr 27 12:41:37 2005 UTC (8 years ago) by rousseau
add --enable-muscledropdir=DIR and --enable-musclecarddebug for
libmusclecard support

Revision 1464 - Directory Listing
Modified Wed Apr 27 12:40:09 2005 UTC (8 years ago) by rousseau
update the files to ignore

Revision 1463 - Directory Listing
Modified Wed Apr 27 12:39:19 2005 UTC (8 years ago) by rousseau
use the headers from pcsclite in $(top_srcdir)/src/PCSC

Revision 1462 - Directory Listing
Modified Wed Apr 27 12:38:35 2005 UTC (8 years ago) by rousseau
use the header and sources files from pcsclite (in $(top_srcdir)/src/)

Revision 1461 - Directory Listing
Modified Wed Apr 27 12:37:34 2005 UTC (8 years ago) by rousseau
new file

Revision 1457 - Directory Listing
Modified Wed Apr 27 09:25:44 2005 UTC (8 years ago) by rousseau
only use "__attribute__ ((deprecated))" if __GNUC__ is defined.
Otherwise it does not compile with Solaris C compiler.

Thanks to Jeffrey Hutzelman for the patch

Revision 1456 - Directory Listing
Modified Wed Apr 27 09:14:41 2005 UTC (8 years ago) by rousseau
SCardControl(): use the new API (with DWORD dwControlCode added)

Thanks to Jeffrey Hutzelman for the patch

Revision 1455 - Directory Listing
Modified Wed Apr 27 09:11:50 2005 UTC (8 years ago) by rousseau
SYS_Daemon(): add the missing priority argument to Log2()

Thanks to Jeffrey Hutzelman for the patch

Revision 1432 - Directory Listing
Modified Thu Apr 21 09:35:02 2005 UTC (8 years, 1 month ago) by rousseau
release the context when the library is unloaded.

Thanks to Karsten Ohme for the patch

Revision 1431 - Directory Listing
Modified Thu Apr 21 09:28:46 2005 UTC (8 years, 1 month ago) by rousseau
also distribute misc.h, dyn_hpux.c, dyn_macosx.c, dyn_unix.c, dyn_win32.c

Revision 1430 - Directory Listing
Modified Thu Apr 21 09:26:43 2005 UTC (8 years, 1 month ago) by rousseau
do not perform a windows specific treatment for PCSC_MCARD_mutex
declaration/initialisation

Thanks to Karsten Ohme for the patch

Revision 1429 - Directory Listing
Modified Thu Apr 21 09:23:38 2005 UTC (8 years, 1 month ago) by rousseau
add a missing \ in "%s\\%s\Contents\\Win32\\%s"

Thanks to Karsten Ohme for the patch

Revision 1428 - Directory Listing
Modified Thu Apr 21 09:23:02 2005 UTC (8 years, 1 month ago) by rousseau
add some #define

Thanks to Karsten Ohme

Revision 1424 - Directory Listing
Modified Wed Apr 13 06:34:05 2005 UTC (8 years, 1 month ago) by rousseau
use "signed char" instead of "char" for LogDoColor since we use the value -1
and on some platforms (like PowerPC) char is unsigned bu default.

Revision 1423 - Directory Listing
Modified Tue Apr 12 20:46:38 2005 UTC (8 years, 1 month ago) by rousseau
add misc.h in libpcsclite_la_SOURCES

Revision 1421 - Directory Listing
Modified Tue Apr 12 12:09:21 2005 UTC (8 years, 1 month ago) by rousseau
add (some) Doxygen documentation

Thanks to Luiz Reuter Silva Torro for the patch

Revision 1420 - Directory Listing
Modified Tue Apr 12 07:42:15 2005 UTC (8 years, 1 month ago) by rousseau
DebugLogSuppress(), debug_msg() and debug_xxd are defined only for pcscd
and not for libpcsclite.so

Revision 1419 - Directory Listing
Modified Tue Apr 12 07:40:58 2005 UTC (8 years, 1 month ago) by rousseau
define some/most functions as INTERNAL (see misc.h) so the function symbols
are not visible in libpcsclite.so

This will prevent function names collision with homonym functions
defined in a library or program linked with libpcsclite.so

Revision 1418 - Directory Listing
Modified Tue Apr 12 07:34:31 2005 UTC (8 years, 1 month ago) by rousseau
remove debuglog.c from libpcsclite_core_la_SOURCES so the same source
file can be compiled with different -D arguments for
libpcsclite_la_SOURCES and pcscd_SOURCES

Revision 1417 - Directory Listing
Modified Tue Apr 12 07:31:00 2005 UTC (8 years, 1 month ago) by rousseau
 #define INTERNAL

Revision 1416 - Directory Listing
Modified Wed Apr 6 14:16:44 2005 UTC (8 years, 1 month ago) by rousseau
MSCReleaseConnection(): call SCardReleaseContext()

Thanks to Karsten Ohme for the patch

Revision 1415 - Directory Listing
Modified Tue Mar 22 11:00:59 2005 UTC (8 years, 2 months ago) by rousseau
main(): print usage and exit if a unknown parameter is passed

Revision 1414 - Directory Listing
Modified Mon Mar 21 12:46:27 2005 UTC (8 years, 2 months ago) by rousseau
remove libmusclecard documentation since it is now in a separate package

Revision 1413 - Directory Listing
Modified Mon Mar 21 12:43:32 2005 UTC (8 years, 2 months ago) by rousseau
update documentation of --debug, --info, --error, --critical and
--foreground

Revision 1412 - Directory Listing
Modified Mon Mar 21 07:38:44 2005 UTC (8 years, 2 months ago) by rousseau
DISTCLEANFILES = ifdhandler-3.pdf pcsc-lite.pdf
The two PDF files are only removed by "make distclean" so normal users
will not have to (re)build them after a "make clean"

Revision 1403 - Directory Listing
Modified Thu Mar 17 08:22:19 2005 UTC (8 years, 2 months ago) by rousseau
add colorization of the logs when sent to stderr. The color depends on
the priority level:
- critical: bright red
- error: magenta
- info: blue
- debug: black

A correct implementation should use ncurses to be portable but I don't
want to add a dependency on pcscd.

The code and idea is greatly inspired from OpenSC.

Revision 1402 - Directory Listing
Modified Thu Mar 17 07:53:53 2005 UTC (8 years, 2 months ago) by rousseau
change global variable names to use a capital first letter

Revision 1389 - Directory Listing
Modified Wed Mar 2 15:42:52 2005 UTC (8 years, 2 months ago) by rousseau
release 1.2.9-beta7

Revision 1388 - Directory Listing
Modified Wed Mar 2 15:18:25 2005 UTC (8 years, 2 months ago) by rousseau
RFAddReader(): revert the previous patch.

The wait delay is moved to SCardGetStatusChange()/winscard_clnt.c

Revision 1387 - Directory Listing
Modified Wed Mar 2 15:12:49 2005 UTC (8 years, 2 months ago) by rousseau
SCardEstablishContextTH(): if MUSCLECARD_DEBUG environment variable is
defined we use the more verbose debug level

Revision 1386 - Directory Listing
Modified Wed Mar 2 15:11:22 2005 UTC (8 years, 2 months ago) by rousseau
SCardGetStatusChange(): if the card is present but not yet powered up
we give some time to the status thread to do his job

Revision 1385 - Directory Listing
Modified Tue Mar 1 09:27:43 2005 UTC (8 years, 2 months ago) by rousseau
RFAddReader(): give some time to EHStatusHandlerThread() to
asynchronously power the card.

The problem was that the reader was initialised but the card in the
reader was not powered up immediately. So if you are fast enough to call
SCardConnect() it would fail with a wrong protocol (since the card ATR
is not yet known).

Revision 1384 - Directory Listing
Modified Tue Mar 1 09:22:52 2005 UTC (8 years, 2 months ago) by rousseau
SCardConnect(): use "Attempting Connect to %s using protocol: %d"
instead of "Attempting Connect to %s %d"

Revision 1383 - Directory Listing
Modified Tue Mar 1 09:17:03 2005 UTC (8 years, 2 months ago) by rousseau
use Logx() instead of debug_msg()

Revision 1382 - Directory Listing
Modified Tue Mar 1 09:15:47 2005 UTC (8 years, 2 months ago) by rousseau
add Log9()

Revision 1381 - Directory Listing
Modified Tue Mar 1 09:14:59 2005 UTC (8 years, 2 months ago) by rousseau
add () after the function name

Revision 1380 - Directory Listing
Modified Mon Feb 28 15:38:30 2005 UTC (8 years, 2 months ago) by rousseau
 #define Log0()

Revision 1379 - Directory Listing
Modified Mon Feb 28 15:15:22 2005 UTC (8 years, 2 months ago) by rousseau
typo: "Reader/s" -> "Reader"

Revision 1378 - Directory Listing
Modified Mon Feb 28 15:08:19 2005 UTC (8 years, 2 months ago) by rousseau
SCardControl(): rContext was used before initialisation (segmentation
fault)

Revision 1377 - Directory Listing
Modified Mon Feb 28 14:25:24 2005 UTC (8 years, 2 months ago) by rousseau
DebugLogSetLogType(): do not modify dbgtype argument since it is "const"

Revision 1376 - Directory Listing
Modified Mon Feb 28 14:23:58 2005 UTC (8 years, 2 months ago) by rousseau
use pcsc_demo_CFLAGS instead of AM_CPPFLAGS

Revision 1375 - Directory Listing
Modified Mon Feb 28 14:23:32 2005 UTC (8 years, 2 months ago) by rousseau
use "%lX" instead of "%X" for rgReaderStates[0].dwEventState field

Revision 1374 - Directory Listing
Modified Mon Feb 28 13:45:44 2005 UTC (8 years, 2 months ago) by rousseau
improve SCardGetStatusChange() documentation

Revision 1373 - Directory Listing
Modified Mon Feb 28 13:41:53 2005 UTC (8 years, 2 months ago) by rousseau
add SCardGetStatusChange() code sample

Revision 1372 - Directory Listing
Modified Mon Feb 28 12:45:03 2005 UTC (8 years, 2 months ago) by rousseau
update copyright

Revision 1371 - Directory Listing
Modified Mon Feb 28 12:44:25 2005 UTC (8 years, 2 months ago) by rousseau
simplify the debug output switch

Revision 1370 - Directory Listing
Modified Mon Feb 28 12:35:18 2005 UTC (8 years, 2 months ago) by rousseau
DebugLogSetLogType(): check the log type argument value

Revision 1369 - Directory Listing
Modified Mon Feb 28 09:46:03 2005 UTC (8 years, 2 months ago) by rousseau
DebugLogSetLevel(): display the unknown level value

Revision 1366 - Directory Listing
Modified Mon Feb 28 08:58:03 2005 UTC (8 years, 2 months ago) by rousseau
remove --enable-threadsafe since it is now useless

Revision 1365 - Directory Listing
Modified Mon Feb 28 08:49:23 2005 UTC (8 years, 2 months ago) by rousseau
code cleanup

Revision 1364 - Directory Listing
Modified Mon Feb 28 08:42:29 2005 UTC (8 years, 2 months ago) by rousseau
code reindentation

Revision 1363 - Directory Listing
Modified Mon Feb 28 08:40:50 2005 UTC (8 years, 2 months ago) by rousseau
remove #ifdef USE_THREAD_SAFETY since it _must_ be defined for the file
to compile

Revision 1362 - Directory Listing
Modified Mon Feb 28 08:38:57 2005 UTC (8 years, 2 months ago) by rousseau
remove --enable-debug since it is not used anymore (log level is no
dynamic at execution time)

Revision 1357 - Directory Listing
Modified Sun Feb 27 17:01:13 2005 UTC (8 years, 2 months ago) by aet-guest
- Upgrade Xcode project related files a bit,
  compiles yet untested otherwise.

Revision 1348 - Directory Listing
Modified Thu Feb 24 12:53:00 2005 UTC (8 years, 2 months ago) by rousseau
SCardControl(): check if the pbSendBuffer is NULL or no bytes are sent
for API v2 only. With API v3 we can use dwControlCode as the only data
to send.

Revision 1347 - Directory Listing
Modified Wed Feb 23 14:31:58 2005 UTC (8 years, 2 months ago) by rousseau
simplify the detection and use of strlcpy and strlcat

Revision 1345 - Directory Listing
Modified Wed Feb 23 13:11:37 2005 UTC (8 years, 2 months ago) by rousseau
remove DEBUGLOG_STDOUT_DEBUG case since it is never used

Revision 1344 - Directory Listing
Modified Wed Feb 23 13:10:11 2005 UTC (8 years, 2 months ago) by rousseau
use "const int" instead of "int" for priority

Revision 1340 - Directory Listing
Modified Wed Feb 23 09:49:10 2005 UTC (8 years, 2 months ago) by rousseau
update copyright date

Revision 1339 - Directory Listing
Modified Wed Feb 23 09:48:32 2005 UTC (8 years, 2 months ago) by rousseau
document Log1() instead of DebugLogA() in comments

Revision 1338 - Directory Listing
Modified Wed Feb 23 09:46:11 2005 UTC (8 years, 2 months ago) by rousseau
use "const int" instead of "int" for priority

Revision 1337 - Directory Listing
Modified Wed Feb 23 08:27:29 2005 UTC (8 years, 2 months ago) by rousseau
document log_msg() and log_xxd()

Revision 1336 - Directory Listing
Modified Tue Feb 22 16:04:12 2005 UTC (8 years, 3 months ago) by rousseau
add a complete Info.plist configuration file

Revision 1335 - Directory Listing
Modified Tue Feb 22 15:38:55 2005 UTC (8 years, 3 months ago) by rousseau
use dynamic debug level: LogX() instead of DebugLogX()

Revision 1334 - Directory Listing
Modified Tue Feb 22 14:40:26 2005 UTC (8 years, 3 months ago) by rousseau
Use dynamic level logging using LogX() instead of DebugLogX()

Revision 1333 - Directory Listing
Modified Tue Feb 22 14:38:33 2005 UTC (8 years, 3 months ago) by rousseau
Implement the dynamic level logging

The new command line options are:
  -d, --debug           display lower level debug messages
      --info            display info level debug messages (default level)
      --error           display error level debug messages
      --critical        display critical only level debug messages

Revision 1332 - Directory Listing
Modified Tue Feb 22 14:21:58 2005 UTC (8 years, 3 months ago) by rousseau
implement log with priority level.

debug_msg() is still provided for backward object code compatibility

Revision 1331 - Directory Listing
Modified Tue Feb 22 14:20:19 2005 UTC (8 years, 3 months ago) by rousseau
use Log1(priority, fmt) instead of DebugLogA(fmt) to add a priority
level so that pcscd log verbosity is dynamic

We define DebugLogA(a) as Log1(PCSC_LOG_INFO, a) for backward source
code compatibility

Revision 1315 - Directory Listing
Modified Sun Jan 16 17:38:56 2005 UTC (8 years, 4 months ago) by rousseau
move *.m4 files from aclocal/ to m4/

Revision 1308 - Directory Listing
Modified Tue Jan 11 20:54:14 2005 UTC (8 years, 4 months ago) by rousseau
add autotools version used

Revision 1307 - Directory Listing
Modified Tue Jan 11 20:45:46 2005 UTC (8 years, 4 months ago) by rousseau
use SYS_RandomInt() instead of SYS_Random() to improve performances.

Thanks to Philipp Marek for the patch

Revision 1306 - Directory Listing
Modified Tue Jan 11 20:44:54 2005 UTC (8 years, 4 months ago) by rousseau
convert SYS_Random() into SYS_RandomInt() to improve performances.

Thanks to Philipp Marek for the patch

Revision 1305 - Directory Listing
Modified Tue Jan 11 20:28:31 2005 UTC (8 years, 4 months ago) by rousseau
WrapSHMWrite(): eliminate a valgrind/memcheck-warning

Thanks to Philipp Marek for the patch

Revision 1304 - Directory Listing
Modified Tue Jan 11 20:27:54 2005 UTC (8 years, 4 months ago) by rousseau
SCardEstablishContextTH(): eliminate a valgrind/memcheck-warning

Thanks to Philipp Marek for the patch

Revision 1303 - Directory Listing
Modified Tue Jan 11 20:23:42 2005 UTC (8 years, 4 months ago) by rousseau
SYS_Random(): improve performances

Thanks to Philipp Marek for the patch

Revision 1296 - Directory Listing
Modified Thu Dec 2 19:18:43 2004 UTC (8 years, 5 months ago) by rousseau
CardGetStatusChange(): do not sleep at each reader check but only once
per cycle. Before the change the total sleep time was
cReaders * PCSCLITE_STATUS_WAIT

Thanks to Oivind H. Danielsen for the three patches

Revision 1295 - Directory Listing
Modified Thu Dec 2 19:08:47 2004 UTC (8 years, 5 months ago) by rousseau
SCardGetStatusChange(): move timeout check after other checks so we do
not exit with timeout if the timeout is less than 200 ms
(PCSCLITE_STATUS_WAIT)

Revision 1294 - Directory Listing
Modified Thu Dec 2 18:52:14 2004 UTC (8 years, 5 months ago) by rousseau
SCardGetStatusChange(): do not sleep if dwCurrentState =
SCARD_STATE_UNAWARE

Revision 1293 - Directory Listing
Modified Tue Nov 23 21:08:11 2004 UTC (8 years, 5 months ago) by rousseau
SCardStatus: document that pcbAtrLen will contain the necessary size if
it is too small

Revision 1291 - Directory Listing
Modified Wed Oct 20 20:49:15 2004 UTC (8 years, 7 months ago) by rousseau
pcsc_stringify_error(): differentiate the error messages for
SCARD_F_INTERNAL_ERROR and SCARD_F_UNKNOWN_ERROR

Revision 1274 - Directory Listing
Modified Wed Oct 6 09:13:20 2004 UTC (8 years, 7 months ago) by rousseau
new build infrastructure. Patch from Toni Andjelkovic

Revision 1273 - Directory Listing
Modified Wed Oct 6 09:02:22 2004 UTC (8 years, 7 months ago) by rousseau
do not force the libpcsclite version to use since the two packages are
now independents

Revision 1272 - Directory Listing
Modified Wed Oct 6 08:46:59 2004 UTC (8 years, 7 months ago) by rousseau
use < > instead of " " for the include files provided by pcsc-lite (and
already installed in the system)

Revision 1271 - Directory Listing
Modified Wed Oct 6 08:35:59 2004 UTC (8 years, 7 months ago) by rousseau
use MSC_ARCH instead of PCSC_ARCH

Revision 1270 - Directory Listing
Modified Wed Oct 6 08:18:17 2004 UTC (8 years, 7 months ago) by rousseau
list of files to ignore

Revision 1269 - Directory Listing
Modified Wed Oct 6 08:11:51 2004 UTC (8 years, 7 months ago) by rousseau
patch from Toni Andjelkovic for the pcsc-lite/libmusclecard separation

Revision 1268 - Directory Listing
Modified Wed Oct 6 07:10:07 2004 UTC (8 years, 7 months ago) by rousseau
1.2.9-beta7

Revision 1267 - Directory Listing
Modified Wed Oct 6 07:08:57 2004 UTC (8 years, 7 months ago) by rousseau
install reader.conf in reader.conf.d/ instead of just creating an empty
directory

Revision 1266 - Directory Listing
Modified Mon Oct 4 14:11:26 2004 UTC (8 years, 7 months ago) by rousseau
move libmusclecard from pcsc-lite to its own archive/package

Revision 1264 - Directory Listing
Modified Sun Oct 3 12:58:55 2004 UTC (8 years, 7 months ago) by rousseau
add "THIS PROGRAM IS NOT DESIGNED AS A TESTING TOOL FOR END USERS!"

Revision 1255 - Directory Listing
Modified Wed Sep 29 16:55:54 2004 UTC (8 years, 7 months ago) by rousseau
TPSearchBundlesForAtr(): revert the previous patch.

Thanks to Toni Andjelkovic for his patch patch :-)

Revision 1250 - Directory Listing
Modified Wed Sep 29 06:46:10 2004 UTC (8 years, 7 months ago) by rousseau
TPSearchBundlesForAtr(): initialise tokenInfo so that it contains safe
default values when no pcsc/services/ directory is found.

Thanks to Toni Andjelkovic for the patch

Revision 1249 - Directory Listing
Modified Wed Sep 22 18:22:23 2004 UTC (8 years, 8 months ago) by rousseau
fflush(stdout) so that "Please insert a working reader   : " is
displayed

Revision 1248 - Directory Listing
Modified Tue Sep 21 18:33:54 2004 UTC (8 years, 8 months ago) by rousseau
use "%option nounput" to avoid the "warning: `yyunput' defined but not
used"

Revision 1242 - Directory Listing
Modified Fri Sep 17 19:02:56 2004 UTC (8 years, 8 months ago) by corcoran-guest
rewrite of mscreadallocateobject

Revision 1241 - Directory Listing
Modified Fri Sep 17 18:49:12 2004 UTC (8 years, 8 months ago) by corcoran-guest
initialized more vars in ListTokens

Revision 1239 - Directory Listing
Modified Tue Sep 14 22:51:17 2004 UTC (8 years, 8 months ago) by rousseau
add "Card not transacted" error messages. Thanks to Bruce Barnett for
the patch.

Revision 1238 - Directory Listing
Modified Tue Sep 14 22:47:05 2004 UTC (8 years, 8 months ago) by rousseau
LTPBundleFindValueWithKey(): sizeof(tokenValue) is not what we want
since tokenValue is a char * and not a char []

Revision 1237 - Directory Listing
Modified Tue Sep 14 08:34:06 2004 UTC (8 years, 8 months ago) by rousseau
use strlcpy and simplify the code

Revision 1236 - Directory Listing
Modified Tue Sep 14 08:13:52 2004 UTC (8 years, 8 months ago) by rousseau
remove PCSC/ from the #include path

Revision 1235 - Directory Listing
Modified Tue Sep 14 07:33:18 2004 UTC (8 years, 8 months ago) by rousseau
SCardListReaders(): simplify the code

Revision 1234 - Directory Listing
Modified Tue Sep 14 07:16:24 2004 UTC (8 years, 8 months ago) by rousseau
SCardListReaders(): simplify the multi-string creation

Revision 1233 - Directory Listing
Modified Tue Sep 14 07:10:51 2004 UTC (8 years, 8 months ago) by rousseau
comment out unsused function RFListReaders()

Revision 1232 - Directory Listing
Modified Tue Sep 14 07:09:07 2004 UTC (8 years, 8 months ago) by rousseau
use strlcpy() instead of strcpy()

Revision 1231 - Directory Listing
Modified Tue Sep 14 06:38:44 2004 UTC (8 years, 8 months ago) by rousseau
use strlcpy() insted of strcpy()

Revision 1230 - Directory Listing
Modified Sat Sep 11 18:31:39 2004 UTC (8 years, 8 months ago) by rousseau
EHDestroyEventHandler(): do not try to stop a not started thread (for a
reader that failed initialisation and never started)

Revision 1229 - Directory Listing
Modified Sat Sep 11 18:26:07 2004 UTC (8 years, 8 months ago) by rousseau
RFAddReader(): stop if EHSpawnEventHandler() returns an error. This
occurs if the initial reader check (IFDStatusICC) fails.

Revision 1224 - Directory Listing
Modified Tue Sep 7 21:36:44 2004 UTC (8 years, 8 months ago) by rousseau
convert MSC_INCORRECT_P1/P2 to the corresponding text error message
(instead of "Unknown SW").

Thanks to Bruce Barnett for the patch.

Revision 1223 - Directory Listing
Modified Tue Sep 7 08:40:44 2004 UTC (8 years, 8 months ago) by rousseau
use strlcpy/strlcat instead of strncpy/strncat

Revision 1222 - Directory Listing
Modified Tue Sep 7 08:39:28 2004 UTC (8 years, 8 months ago) by rousseau
use internal strlcpy.c and strlcat.c if these functions are not provided
by the OS

Revision 1221 - Directory Listing
Modified Tue Sep 7 08:38:20 2004 UTC (8 years, 8 months ago) by rousseau
check if strlcpy/strlcat are provided by the OS (OpenBSD and some
others)

Revision 1220 - Directory Listing
Modified Tue Sep 7 08:35:00 2004 UTC (8 years, 8 months ago) by rousseau
prototypes of strlcpy/strlcat

Revision 1219 - Directory Listing
Modified Tue Sep 7 08:34:19 2004 UTC (8 years, 8 months ago) by rousseau
imported from ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/

Revision 1218 - Directory Listing
Modified Tue Sep 7 07:04:22 2004 UTC (8 years, 8 months ago) by rousseau
update copyright: add my name

Revision 1217 - Directory Listing
Modified Tue Sep 7 07:02:45 2004 UTC (8 years, 8 months ago) by rousseau
add a test for SCardReconnect()

Revision 1216 - Directory Listing
Modified Tue Sep 7 07:02:02 2004 UTC (8 years, 8 months ago) by rousseau
EHStatusHandlerThread(): remove comment from call to
RFSetReaderEventState(rContext, SCARD_RESET);
The comment is present from the initial CVS version. I don't know why
is was ever needed.

This is needed so that SCardReconnect() works after a card movement.
Otherwise SCardReconnect() returns "Card was removed" even if the new
card is reseted.

Note: the comment was present from the initial CVS version (2002/03/30).
I don't know why is was ever needed.

Revision 1215 - Directory Listing
Modified Fri Sep 3 19:49:42 2004 UTC (8 years, 8 months ago) by rousseau
SCardConnect()/SCardReconnect(): do not set
rContext->readerState->cardProtocol if PHSetProtocol() returns an error.

This will avoid having a protocol set to -2 (SET_PROTOCOL_PPS_FAILED)

Revision 1214 - Directory Listing
Modified Fri Sep 3 19:45:40 2004 UTC (8 years, 8 months ago) by rousseau
PHSetProtocol(): add the error code returned by the driver in case of
PTS failure in the debug message

Revision 1211 - Directory Listing
Modified Wed Sep 1 18:41:08 2004 UTC (8 years, 8 months ago) by rousseau
use $prefix value instead of /usr/local/ in usbdropdir and muscledropdir

Revision 1210 - Directory Listing
Modified Wed Sep 1 08:13:06 2004 UTC (8 years, 8 months ago) by rousseau
test SCardGetAttrib() with a NULL pbAttr paraleter

Revision 1209 - Directory Listing
Modified Wed Sep 1 08:11:33 2004 UTC (8 years, 8 months ago) by rousseau
add support of SCardGetAttrib() with a NULL pbAttr parameter to only get
the needed lenth in pcbAttrLen

Revision 1207 - Directory Listing
Modified Tue Aug 24 21:48:34 2004 UTC (8 years, 8 months ago) by rousseau
ignore ifdhandler-3, ifdhandler-3.bbl and ifdhandler-3.blg

Revision 1206 - Directory Listing
Modified Tue Aug 24 21:46:57 2004 UTC (8 years, 8 months ago) by rousseau
always use @confdir_exp@ instead of #ifndef USE_READER_CONF ...

Revision 1205 - Directory Listing
Modified Tue Aug 24 21:46:14 2004 UTC (8 years, 8 months ago) by rousseau
do not define USE_READER_CONF but expand $confdir in confdir_exp

Revision 1204 - Directory Listing
Modified Tue Aug 24 21:39:24 2004 UTC (8 years, 8 months ago) by rousseau
generate etc/update-reader.conf from etc/update-reader.conf.in

Revision 1203 - Directory Listing
Modified Tue Aug 24 21:38:57 2004 UTC (8 years, 8 months ago) by rousseau
call update-reader.conf to update /etc/reader.conf before starting the daemon

Revision 1202 - Directory Listing
Modified Tue Aug 24 21:38:15 2004 UTC (8 years, 8 months ago) by rousseau
use $(mkinstalldirs) instead of $(mkdir_p)

Revision 1201 - Directory Listing
Modified Tue Aug 24 21:21:33 2004 UTC (8 years, 8 months ago) by rousseau
- distribute update-reader.conf
- create /etc/reader.conf.d/ during installation

Revision 1200 - Directory Listing
Modified Tue Aug 24 21:20:16 2004 UTC (8 years, 8 months ago) by rousseau
ignore update-reader.conf

Revision 1199 - Directory Listing
Modified Tue Aug 24 21:19:56 2004 UTC (8 years, 8 months ago) by rousseau
use update-reader.conf to regenerate /etc/reader.conf from files in
/etc/reader.conf.d/ (thanks to Ville Skytt�)

Revision 1198 - Directory Listing
Modified Tue Aug 24 18:58:57 2004 UTC (8 years, 8 months ago) by rousseau
LTPBundleFindValueWithKey(): also print the configuration filename if
the key is not found

Revision 1197 - Directory Listing
Modified Tue Aug 24 14:02:36 2004 UTC (8 years, 8 months ago) by rousseau
SCardStatus(): pdwState and pdwProtocol parameters may be NULL (mimic Windows)

Revision 1192 - Directory Listing
Modified Mon Aug 23 08:27:38 2004 UTC (8 years, 9 months ago) by rousseau
add SCARD_STATE_UNPOWERED.

This #define is not (yet) used by pcsc-lite but is defined by Windows
PC/SC and may be used by Windows applications

Revision 1191 - Directory Listing
Modified Wed Aug 18 22:13:50 2004 UTC (8 years, 9 months ago) by rousseau
define and use an internal SCARD_PROTOCOL_ANY_OLD for backward
compatibility for applications compiled with the old SCARD_PROTOCOL_ANY
definition.

Revision 1190 - Directory Listing
Modified Wed Aug 18 22:11:53 2004 UTC (8 years, 9 months ago) by rousseau
correctly define SCARD_PROTOCOL_ANY as (SCARD_PROTOCOL_T0|SCARD_PROTOCOL_T1)

Revision 1188 - Directory Listing
Modified Mon Aug 16 15:13:58 2004 UTC (8 years, 9 months ago) by rousseau
forgot to remove 4 DebugLogA("POUET"); debug statements. Thanks Damien
Sauveron for noticing :-)

Revision 1181 - Directory Listing
Modified Sun Aug 15 14:44:21 2004 UTC (8 years, 9 months ago) by rousseau
release 1.2.9-beta6 (real one)

Revision 1180 - Directory Listing
Modified Fri Aug 13 20:49:08 2004 UTC (8 years, 9 months ago) by rousseau
libpcsclite0 -> libpcsclite1

Revision 1179 - Directory Listing
Modified Fri Aug 13 20:31:46 2004 UTC (8 years, 9 months ago) by rousseau
remove unused fields in FctMap_V1 structure

Revision 1178 - Directory Listing
Modified Fri Aug 13 20:28:35 2004 UTC (8 years, 9 months ago) by rousseau
use the new psFunctions C union

Revision 1177 - Directory Listing
Modified Fri Aug 13 20:27:29 2004 UTC (8 years, 9 months ago) by rousseau
psFunctions field is now a C union with three structures for the 3 API.
- each structure has complete functions prototypes
- only the needed functions are in each structure (some bytes saved :-)

Revision 1176 - Directory Listing
Modified Fri Aug 13 14:09:39 2004 UTC (8 years, 9 months ago) by rousseau
remove #define SCARD_PROTOCOL_UNSET 0x00 since it is already defined in
PCSC/pcsclite.h.in. Thanks to Toni Andjelkovic

Revision 1175 - Directory Listing
Modified Tue Aug 10 20:27:09 2004 UTC (8 years, 9 months ago) by rousseau
replace an empty line by @HAVE_RUNPID@ to avoid having two empty lines
when --enable-runpid is not used

Revision 1174 - Directory Listing
Modified Tue Aug 10 20:21:58 2004 UTC (8 years, 9 months ago) by rousseau
do not distribute pcscd.init since it will be generated from
pcscd.init.in

Revision 1173 - Directory Listing
Modified Tue Aug 10 20:04:18 2004 UTC (8 years, 9 months ago) by rousseau
remove a call to free() of a pointer that was not malloc()ed and caused a
segmentation fault

Revision 1172 - Directory Listing
Modified Tue Aug 10 19:53:47 2004 UTC (8 years, 9 months ago) by rousseau
define DEVICENAME as /dev/null instead of GEN_SMART_RDR

Revision 1171 - Directory Listing
Modified Tue Aug 10 19:52:52 2004 UTC (8 years, 9 months ago) by rousseau
document runpid file depending on the ./configue options

Revision 1170 - Directory Listing
Modified Tue Aug 10 19:50:50 2004 UTC (8 years, 9 months ago) by rousseau
typos

Revision 1169 - Directory Listing
Modified Tue Aug 10 19:48:57 2004 UTC (8 years, 9 months ago) by rousseau
generate etc/pcscd.init with the correct paths

Revision 1168 - Directory Listing
Modified Tue Aug 10 19:48:19 2004 UTC (8 years, 9 months ago) by rousseau
distribute as-ac-expand.m4

Revision 1167 - Directory Listing
Modified Tue Aug 10 19:47:23 2004 UTC (8 years, 9 months ago) by rousseau
pcscd.startup is replaced by pcscd.init generated from pcscd.init.in

Revision 1166 - Directory Listing
Modified Tue Aug 10 19:45:51 2004 UTC (8 years, 9 months ago) by rousseau
provides a AC_SUBST-like macro (AS_AC_EXPAND) but using expanded
variables. From the autostars project (http://sf.net/projects/autostars/)

Revision 1164 - Directory Listing
Modified Tue Aug 10 14:57:36 2004 UTC (8 years, 9 months ago) by rousseau
release 1.2.9-beta6

Revision 1163 - Directory Listing
Modified Tue Aug 10 14:40:34 2004 UTC (8 years, 9 months ago) by rousseau
1.2.9-beta6

Revision 1162 - Directory Listing
Modified Tue Aug 10 14:38:29 2004 UTC (8 years, 9 months ago) by rousseau
updated to reflect the RPM version from Ville Skytt� & Fritz Elfert

Revision 1161 - Directory Listing
Modified Tue Aug 10 14:04:15 2004 UTC (8 years, 9 months ago) by rousseau
add and distribute the full text of the GNU General Public License used
by pcsc_demo.c

Revision 1159 - Directory Listing
Modified Fri Aug 6 12:13:35 2004 UTC (8 years, 9 months ago) by rousseau
use AM_CPPFLAGS = -I$(top_srcdir)/src/PCSC to find the header files

Revision 1158 - Directory Listing
Modified Fri Aug 6 12:12:20 2004 UTC (8 years, 9 months ago) by rousseau
remove PCSC/ from the header files path since the path is given by
pkg-config --cflags libpcsclite or the correct -I directive

Revision 1137 - Directory Listing
Modified Tue Aug 3 19:52:02 2004 UTC (8 years, 9 months ago) by rousseau
MSGCleanupClient(): always reset all the fields. Thanks to Michael Gold for
the patch.
Closes: [ #300863 ] Clear dwClientID in MSGCleanupClient

Revision 1136 - Directory Listing
Modified Mon Aug 2 22:06:44 2004 UTC (8 years, 9 months ago) by rousseau
use THREAD_ATTR_DETACHED in SYS_ThreadCreate() to automatically
deallocate resources allocated by the thread when the thread exits
(because the thread is not joined with SYS_ThreadJoin())

Revision 1135 - Directory Listing
Modified Mon Aug 2 22:02:43 2004 UTC (8 years, 9 months ago) by rousseau
remove useless call to undocumented function SCardUnload()

Revision 1134 - Directory Listing
Modified Mon Aug 2 22:01:14 2004 UTC (8 years, 9 months ago) by rousseau
use THREAD_ATTR_DEFAULT argument in SYS_ThreadCreate()

Revision 1133 - Directory Listing
Modified Mon Aug 2 21:59:36 2004 UTC (8 years, 9 months ago) by rousseau
CreateContextThread(): use THREAD_ATTR_DETACHED in SYS_ThreadCreate() so
that the resources allocated by pcscd are deallocated when the client die.

Closes [ #300862 ] Don't create threads as joinable

Revision 1132 - Directory Listing
Modified Mon Aug 2 21:54:16 2004 UTC (8 years, 9 months ago) by rousseau
use THREAD_ATTR_DEFAULT argument in SYS_ThreadCreate()

Revision 1131 - Directory Listing
Modified Mon Aug 2 21:52:17 2004 UTC (8 years, 9 months ago) by rousseau
update SYS_ThreadCreate() API but do not modify the code

Revision 1130 - Directory Listing
Modified Mon Aug 2 21:51:38 2004 UTC (8 years, 9 months ago) by rousseau
SYS_ThreadCreate(): set the thread state: joinable or detached
default is joinable

Revision 1129 - Directory Listing
Modified Mon Aug 2 21:48:08 2004 UTC (8 years, 9 months ago) by rousseau
the second argument of SYS_ThreadCreate if no more LPVOID pthAttr but
int attributes so that attributes can be passed in a portable way.

 /* thread attributes */
 #define THREAD_ATTR_DEFAULT            0
 #define THREAD_ATTR_DETACHED           1

Revision 1128 - Directory Listing
Modified Mon Aug 2 20:57:52 2004 UTC (8 years, 9 months ago) by rousseau
use "%ld bytes" instead of "%lx" for ATR Size

Revision 1127 - Directory Listing
Modified Mon Aug 2 20:56:25 2004 UTC (8 years, 9 months ago) by rousseau
use "T=%ld" instead of "%lx" for Reader Protocol

Revision 1126 - Directory Listing
Modified Mon Aug 2 20:54:52 2004 UTC (8 years, 9 months ago) by rousseau
use "0x%.4lx" instead of "%lx" for Reader State

Revision 1125 - Directory Listing
Modified Mon Aug 2 20:43:15 2004 UTC (8 years, 9 months ago) by rousseau
add SCardTransmit() code sample

Revision 1124 - Directory Listing
Modified Mon Aug 2 20:21:10 2004 UTC (8 years, 9 months ago) by rousseau
perform a PPS (PHSetProtocol()) only if the current protocol is
SCARD_PROTOCOL_UNSET otherwise only check that the requested protocol is
available.

This will avoid generating a PPS request that would not be just after a
power up. The previous code worked only when the card was reseted at
SCardDisconnect() but not when SCARD_LEAVE_CARD was used.

Revision 1123 - Directory Listing
Modified Mon Aug 2 20:12:44 2004 UTC (8 years, 9 months ago) by rousseau
...->cardProtocol = SCARD_PROTOCOL_UNSET; after a power up so that
the next SCardConnect() with perform a PPS with the desired protocol

Revision 1122 - Directory Listing
Modified Mon Aug 2 20:08:42 2004 UTC (8 years, 9 months ago) by rousseau
...->cardProtocol = SCARD_PROTOCOL_UNSET; after a power up so that
the next SCardConnect() with perform a PPS with the desired protocol

Revision 1121 - Directory Listing
Modified Mon Aug 2 20:05:26 2004 UTC (8 years, 9 months ago) by rousseau
set ..->cardProtocol = SCARD_PROTOCOL_RAW instead of -1

Revision 1120 - Directory Listing
Modified Mon Aug 2 18:18:15 2004 UTC (8 years, 9 months ago) by rousseau
...->cardProtocol = SCARD_PROTOCOL_UNSET; after a power up so that
the next SCardConnect() with perform a PPS with the desired protocol

Revision 1119 - Directory Listing
Modified Mon Aug 2 18:13:49 2004 UTC (8 years, 9 months ago) by rousseau
use ..->cardProtocol = SCARD_PROTOCOL_UNSET instead of ..->cardProtocol = 0

Revision 1118 - Directory Listing
Modified Mon Aug 2 18:08:53 2004 UTC (8 years, 9 months ago) by rousseau
 #define SCARD_PROTOCOL_UNSET           0x0000  /* protocol not set */

Revision 1117 - Directory Listing
Modified Sun Aug 1 15:55:28 2004 UTC (8 years, 9 months ago) by rousseau
if the file referenced by DEVICENAME can't be use (because it is not a
correct filename) we now display:
You should use 'DEVICENAME /dev/null' if your driver does not use this field

Revision 1116 - Directory Listing
Modified Sun Aug 1 15:39:49 2004 UTC (8 years, 9 months ago) by rousseau
initialise dwSlot field for the new reader slot

Revision 1115 - Directory Listing
Modified Sun Aug 1 15:38:46 2004 UTC (8 years, 9 months ago) by rousseau
initialise the lpcDevice field of the new slot and not of the main reader

Revision 1114 - Directory Listing
Modified Sun Aug 1 15:35:51 2004 UTC (8 years, 9 months ago) by rousseau
typo in comment (empty spot -> empty slot)

Revision 1113 - Directory Listing
Modified Thu Jul 29 20:44:26 2004 UTC (8 years, 9 months ago) by rousseau
replace #ifdef MSC_DEBUG by #ifndef NO_MSC_DEBUG

Revision 1112 - Directory Listing
Modified Thu Jul 29 20:42:31 2004 UTC (8 years, 9 months ago) by rousseau
define NO_PCSC_DEBUG and NO_MSC_DEBUG if debug is set to NO instead of
defining PCSC_DEBUG and MSC_DEBUG when debug is selected.
The debug messages are now displayed by default.

Revision 1111 - Directory Listing
Modified Thu Jul 29 20:40:07 2004 UTC (8 years, 9 months ago) by rousseau
use NO_PCSC_DEBUG instead of PCSC_DEBUG.

The debug messages are now displayed by default
(no need to #include "config.h" in PCSC/debuglog.h)

Revision 1110 - Directory Listing
Modified Wed Jul 28 13:48:25 2004 UTC (8 years, 9 months ago) by rousseau
typo: verions -> versions

Revision 1109 - Directory Listing
Modified Wed Jul 28 13:46:54 2004 UTC (8 years, 9 months ago) by rousseau
add documentation for IFDHGetCapabilities(..., TAG_IFD_THREAD_SAFE, ...),
IFDHGetCapabilities(..., TAG_IFD_SLOT_THREAD_SAFE, ...) and
IFDHSetCapabilities(..., TAG_IFD_SLOTNUM, ...)

Revision 1108 - Directory Listing
Modified Wed Jul 28 13:44:12 2004 UTC (8 years, 9 months ago) by rousseau
the function SCardSetTimeout() is deprecated and does nothing

Revision 1100 - Directory Listing
Modified Sat Jul 24 22:48:24 2004 UTC (8 years, 9 months ago) by rousseau
add a "(don't panic)" after a "Transaction failed." if it is not a
critical failure.

Revision 1099 - Directory Listing
Modified Thu Jul 22 13:31:17 2004 UTC (8 years, 10 months ago) by rousseau
RFBindFunctions(): replace the code replication by macros definition and
use (FctMap' fields were renamed for this to be easy)

Revision 1098 - Directory Listing
Modified Thu Jul 22 13:29:16 2004 UTC (8 years, 10 months ago) by rousseau
use new FctMap' fields names

Revision 1097 - Directory Listing
Modified Thu Jul 22 13:28:47 2004 UTC (8 years, 10 months ago) by rousseau
rename some FctMap' fields so the field name is the same as in the
function name of V3.0 IFDHandler API

Revision 1081 - Directory Listing
Modified Fri Jul 16 14:04:04 2004 UTC (8 years, 10 months ago) by rousseau
release 1.2.9-beta5

Revision 1080 - Directory Listing
Modified Fri Jul 16 14:03:27 2004 UTC (8 years, 10 months ago) by rousseau
1.2.9-beta5

Revision 1041 - Directory Listing
Modified Thu Jul 8 12:34:52 2004 UTC (8 years, 10 months ago) by rousseau
TPSearchBundlesForAtr(): use "%s/%s" insead of "%s%s" when generating
the MuscleCard bundle name on MacOSX

Revision 1040 - Directory Listing
Modified Tue Jul 6 17:05:04 2004 UTC (8 years, 10 months ago) by rousseau
add type LPSTR (again) so that "old" drivers and applications can compile
but mark it deprecated.

See http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Type-Attributes.html

Revision 1039 - Directory Listing
Modified Tue Jul 6 08:48:41 2004 UTC (8 years, 10 months ago) by rousseau
'make clean' also removes the LaTeX temporary files

Revision 1038 - Directory Listing
Modified Tue Jul 6 06:56:37 2004 UTC (8 years, 10 months ago) by rousseau
IFDHGetCapabilities(): document the flags SCARD_ATTR_ATR_STRING and
IOCTL_SMARTCARD_VENDOR_VERIFY_PIN

Revision 1037 - Directory Listing
Modified Tue Jul 6 06:52:04 2004 UTC (8 years, 10 months ago) by rousseau
SCardControl() (new API) can now be used with a IFDHandler v2.0 or v3.0.
The previous code was broken and only worked with an IFDHandler v3.0
(crashed with a v2.0).

Revision 1036 - Directory Listing
Modified Tue Jul 6 06:47:32 2004 UTC (8 years, 10 months ago) by rousseau
IFDHControl(): use PUCHAR instead of LPCVOID and LPVOID so the driver
can use TxBuffer[x] without needing a cast.

Revision 1035 - Directory Listing
Modified Tue Jul 6 06:45:02 2004 UTC (8 years, 10 months ago) by rousseau
it is now possible to compile a IFDHandler v2.0 with this include file.
Just #define IFDHANDLERv2 in your source code before #include <ifdhandler.h>

By default it is setup for for most recent version of the API (V3.0)

Revision 1034 - Directory Listing
Modified Tue Jul 6 06:08:59 2004 UTC (8 years, 10 months ago) by rousseau
IFDControl_v2() is supported by IFD_HVERSION_2_0 drivers (not
IFD_HVERSION_1_0)

Revision 1033 - Directory Listing
Modified Tue Jul 6 05:58:53 2004 UTC (8 years, 10 months ago) by rousseau
add an entry from pcsc-lite documentation

Revision 1032 - Directory Listing
Modified Sun Jul 4 09:24:34 2004 UTC (8 years, 10 months ago) by sauveron-guest
IFDHControl(): correct the types of pbSendBuffer and pbRecvBuffer.

Revision 1031 - Directory Listing
Modified Sat Jul 3 20:20:14 2004 UTC (8 years, 10 months ago) by rousseau
IFDHControl(): RxLength is a DWORD not a PDWORD

Revision 1029 - Directory Listing
Modified Sat Jul 3 16:32:53 2004 UTC (8 years, 10 months ago) by rousseau
1.2.9-beta4

Revision 1028 - Directory Listing
Modified Sat Jul 3 16:25:43 2004 UTC (8 years, 10 months ago) by rousseau
release 1.2.9-beta4

Revision 1027 - Directory Listing
Modified Sat Jul 3 16:18:25 2004 UTC (8 years, 10 months ago) by rousseau
add @PTHREAD_CFLAGS@ to Cflags: and @PTHREAD_LIBS@ to Libs: so that the
compiler and linker do the "right" thing.
Thanks to Ville Skytt� for the patch.

Revision 1026 - Directory Listing
Modified Sat Jul 3 16:16:56 2004 UTC (8 years, 10 months ago) by rousseau
use "Requires: libpcsclite = @VERSION@" instead of just "-lpcsclite"
Thanks to Ville Skytt� for the patch

Revision 1025 - Directory Listing
Modified Sat Jul 3 16:07:41 2004 UTC (8 years, 10 months ago) by rousseau
add /PCSC to includedir instead of Cflags:

Revision 1024 - Directory Listing
Modified Sat Jul 3 16:07:12 2004 UTC (8 years, 10 months ago) by rousseau
includedir is now @includedir@/PCSC

Revision 983 - Directory Listing
Modified Wed Jun 30 06:57:16 2004 UTC (8 years, 10 months ago) by rousseau
release 1.2.9-beta3

Revision 982 - Directory Listing
Modified Tue Jun 29 18:09:19 2004 UTC (8 years, 10 months ago) by rousseau
the include directory is now ${includedir}/PCSC.

If your application Makefile uses
  CFLAGS=`pkg-config libpcsclite --cflags`
you have nothing to change and the migration of the include files in
/usr/include/PCSC/ will be painless.

Revision 981 - Directory Listing
Modified Tue Jun 29 12:12:00 2004 UTC (8 years, 10 months ago) by rousseau
IFDControl_v2(): if the driver version is != IFD_HVERSION_1_0 we
_return_ SCARD_E_UNSUPPORTED_FEATURE (not just set the return value)

IFDControl(): if the driver version is < IFD_HVERSION_3_0 we
_return_ SCARD_E_UNSUPPORTED_FEATURE (not just set the return value)

Revision 980 - Directory Listing
Modified Tue Jun 29 08:31:40 2004 UTC (8 years, 10 months ago) by rousseau
SCardReconnect(): if the reset fails it may be either because:
- the card is unresponsive (SCARD_W_UNRESPONSIVE_CARD)
or
- no card is present (SCARD_E_NO_SMARTCARD) and the SCardConnect() was
  successfull with SCARD_SHARE_DIRECT (no need for a card)

Revision 979 - Directory Listing
Modified Tue Jun 29 08:00:23 2004 UTC (8 years, 10 months ago) by rousseau
in SCardConnect() and SCardReconnect(), returns
SCARD_W_UNRESPONSIVE_CARD if PHSetProtocol() fails with
SET_PROTOCOL_PPS_FAILED

Revision 978 - Directory Listing
Modified Tue Jun 29 07:49:00 2004 UTC (8 years, 10 months ago) by rousseau
define the constant SET_PROTOCOL_WRONG_ARGUMENT and
SET_PROTOCOL_PPS_FAILED

Revision 977 - Directory Listing
Modified Tue Jun 29 07:48:34 2004 UTC (8 years, 10 months ago) by rousseau
PHSetProtocol(): returns SET_PROTOCOL_PPS_FAILED if IFDSetPTS() is
supported but fails:
ISO 7816-3:1997 ch. 7.2 PPS protocol page 14
- If the PPS exchange is unsuccessful, then the interface device shall
  either reset or reject the card.

Revision 976 - Directory Listing
Modified Fri Jun 25 13:57:40 2004 UTC (8 years, 10 months ago) by rousseau
do not #undef ATR_DEBUG since it may be defined in config.h with
./configure --enable-debugatr

Revision 974 - Directory Listing
Modified Wed Jun 23 15:03:42 2004 UTC (8 years, 11 months ago) by rousseau
add definition of SCARD_PROTOCOL_T15

Revision 973 - Directory Listing
Modified Wed Jun 23 15:00:52 2004 UTC (8 years, 11 months ago) by rousseau
- set SCARD_PROTOCOL_T15 in CardCapabilities.AvailableProtocols if T=15
  is defined (not yet used)
- in specific mode CardCapabilities.AvailableProtocols shall also be set
  the the specified protocol

Revision 968 - Directory Listing
Modified Tue Jun 22 14:38:14 2004 UTC (8 years, 11 months ago) by rousseau
remove the hack introduced in version 1.28. It is no more needed since
the changes in version 1.32 of winscard.c

Revision 967 - Directory Listing
Modified Tue Jun 22 14:33:28 2004 UTC (8 years, 11 months ago) by rousseau
PHSetProtocol(): only try to use protocols that are available

Revision 963 - Directory Listing
Modified Mon Jun 21 07:40:26 2004 UTC (8 years, 11 months ago) by rousseau
local variables reorganisations:
- remove unused variables
- remove useless initialisations
- move declaration in the inner block the variable is used

Revision 962 - Directory Listing
Modified Fri Jun 18 14:48:58 2004 UTC (8 years, 11 months ago) by rousseau
rewrite the parts managing the protocol in SCardConnect() and
SCardReconnect() to use the new PHSetProtocol() prototype and simplify
the code

Revision 961 - Directory Listing
Modified Fri Jun 18 14:46:31 2004 UTC (8 years, 11 months ago) by rousseau
PHSetProtocol():
- add a ucDefault argument as the default protocol to use
- completely redesign the function so that IFDSetPTS() is always called
  to tell the driver which protocol to use and to initialise its
  internal state

Revision 960 - Directory Listing
Modified Fri Jun 18 14:37:28 2004 UTC (8 years, 11 months ago) by rousseau
the protocol number in the "Send Protocol:" debug message was wrong

Revision 959 - Directory Listing
Modified Fri Jun 18 08:44:31 2004 UTC (8 years, 11 months ago) by rousseau
update the code to use the new READER_CONTEXT structure with the
struct pubReaderStatesList *readerState field

Revision 958 - Directory Listing
Modified Fri Jun 18 08:43:07 2004 UTC (8 years, 11 months ago) by rousseau
in the structure READER_CONTEXT remove:
  UCHAR ucAtr[MAX_ATR_SIZE];
  DWORD dwAtrLen;
  DWORD dwProtocol;
  DWORD dwStatus;
  DWORD dwPublicID;
and replace them by a link to the reader structure:
  struct pubReaderStatesList *readerState;

The fields (ATR, procotol, state) were duplicated in both structures
PREADER_STATE and READER_CONTEXT. It was useless and misleading.

It was uneasy to change the ATR or the card protocol after the card was
powered on. A protocol change may occur if the card supports both T=0
and T=1 and the SCardConnect() does not select the default protocol.

Revision 957 - Directory Listing
Modified Fri Jun 18 08:32:01 2004 UTC (8 years, 11 months ago) by rousseau
in IFDStatusICC() the argument pdwProtocol was set as:
  *pdwProtocol = rContext->dwProtocol;
and rContext was an input argument.

So IFDStatusICC() had _no_ action on pdwProtocol expect make a copy form
an IN parameter to an OUT parameter. This was useless and misleading.
PDWORD pdwProtocol is now removed.

Revision 956 - Directory Listing
Modified Fri Jun 18 08:26:04 2004 UTC (8 years, 11 months ago) by rousseau
add a chapter "Memory structures"

Revision 955 - Directory Listing
Modified Thu Jun 17 13:43:37 2004 UTC (8 years, 11 months ago) by rousseau
put back the structure name

Revision 954 - Directory Listing
Modified Thu Jun 17 08:41:04 2004 UTC (8 years, 11 months ago) by rousseau
do not use a dwAllocNum argument in RFAllocateReaderSpace() since the
number of contexts is _fixed_ by the declaration of sReadersContexts[].

It may be interpreted as a (false) possibility of dynamicity and will then
cause a buffer overflow if dwAllocNum > PCSCLITE_MAX_READERS_CONTEXTS

Revision 953 - Directory Listing
Modified Thu Jun 17 08:14:56 2004 UTC (8 years, 11 months ago) by rousseau
psFunctions.pvf* fields are function pointers so NULL is more appropriate
than 0

Revision 952 - Directory Listing
Modified Thu Jun 17 08:04:56 2004 UTC (8 years, 11 months ago) by rousseau
correct a bug introduced in version 1.47 that occurs if a reader is
muti-slot and no more sReadersContexts[] entries are available:
RFRemoveReader() was called with a NULL lpcReader

Revision 951 - Directory Listing
Modified Thu Jun 17 07:59:26 2004 UTC (8 years, 11 months ago) by rousseau
move declaration of dwContextB in the block it is used

Revision 950 - Directory Listing
Modified Thu Jun 17 07:50:39 2004 UTC (8 years, 11 months ago) by rousseau
move the lpcStripReader[] declaration in the block it is used.

Revision 949 - Directory Listing
Modified Thu Jun 17 07:44:03 2004 UTC (8 years, 11 months ago) by rousseau
rename the structure READER_STATES in READER_STATE (singular) since the
structure stores only the state of ONE reader

Revision 948 - Directory Listing
Modified Thu Jun 17 06:44:01 2004 UTC (8 years, 11 months ago) by rousseau
correct foobar(); prototypes in foobar(void);

Revision 947 - Directory Listing
Modified Thu Jun 17 06:31:07 2004 UTC (8 years, 11 months ago) by rousseau
complete the prototypes of RFSuspendAllReaders() and RFAwakeAllReaders()

Revision 946 - Directory Listing
Modified Thu Jun 17 06:29:07 2004 UTC (8 years, 11 months ago) by rousseau
psCapabilites and psProtOptions fields are not used in struct
ReaderContext so "#if 0" them

Revision 945 - Directory Listing
Modified Wed Jun 16 14:03:45 2004 UTC (8 years, 11 months ago) by rousseau
PHSetProtocol() correctly return the selected protocol

Revision 944 - Directory Listing
Modified Wed Jun 16 12:44:05 2004 UTC (8 years, 11 months ago) by rousseau
print the Send Protocol in T=? format instead of internal representation
value.

Revision 943 - Directory Listing
Modified Tue Jun 15 20:49:46 2004 UTC (8 years, 11 months ago) by rousseau
improve my previous patch: correctly print an unknown Active Protocol if
it happens

Revision 942 - Directory Listing
Modified Tue Jun 15 20:34:33 2004 UTC (8 years, 11 months ago) by rousseau
add ChangeLog.cvs

Revision 941 - Directory Listing
Modified Tue Jun 15 20:33:16 2004 UTC (8 years, 11 months ago) by rousseau
print the "real" active protocol in the format T=? instead of the
internal representation of that value (T=0 is coded as 1)

Revision 939 - Directory Listing
Modified Fri Jun 11 08:06:54 2004 UTC (8 years, 11 months ago) by rousseau
1.2.9-beta3

Revision 938 - Directory Listing
Modified Fri Jun 11 08:05:52 2004 UTC (8 years, 11 months ago) by rousseau
ChangeLog.cvs is not a .PHONY target but a real file

Revision 937 - Directory Listing
Modified Fri Jun 11 07:40:56 2004 UTC (8 years, 11 months ago) by rousseau
- add documentation for LTPBundleFindValueWithKey, debug_msg and debug_xxd
- ifdhandler.h moved in PCSC/ifdhandler.h

Revision 936 - Directory Listing
Modified Thu Jun 10 20:18:10 2004 UTC (8 years, 11 months ago) by rousseau
version 1.9 to add support of GNU Pth (http://www.gnu.org/software/pth/)

Revision 935 - Directory Listing
Modified Thu Jun 10 18:11:12 2004 UTC (8 years, 11 months ago) by rousseau
pcsclite.h moved from src/ to src/PCSC/

Revision 934 - Directory Listing
Modified Thu Jun 10 18:09:21 2004 UTC (8 years, 11 months ago) by rousseau
simplify:
  #if defined(__APPLE__)
  #include <PCSC/wintypes.h>
  #else
  #include <wintypes.h>
  #endif
since we now use PCSC/ for all Unix platforms

Revision 933 - Directory Listing
Modified Thu Jun 10 18:05:02 2004 UTC (8 years, 11 months ago) by rousseau
include PCSC/pcsclite.h instead of pcsclite.h

Revision 932 - Directory Listing
Modified Thu Jun 10 18:04:16 2004 UTC (8 years, 11 months ago) by rousseau
src/pcsclite.h moved in src/PCSC/pcsclite.h

Revision 931 - Directory Listing
Modified Thu Jun 10 14:57:47 2004 UTC (8 years, 11 months ago) by rousseau
use the new PCSC/ location for header files

Revision 930 - Directory Listing
Modified Thu Jun 10 14:56:32 2004 UTC (8 years, 11 months ago) by rousseau
install the exported header files in ../include/PCSC/ to avoid name
polution in ../include/
also install parser.h

Revision 929 - Directory Listing
Modified Thu Jun 10 13:19:35 2004 UTC (8 years, 11 months ago) by rousseau
use /* */ instead of // for comments

Revision 928 - Directory Listing
Modified Thu Jun 10 13:18:42 2004 UTC (8 years, 11 months ago) by rousseau
rework RFSetReaderName() to simply the code and always start with the
lowest number available (like in previous pcsc-lite version)

Revision 926 - Directory Listing
Modified Wed Jun 9 09:57:02 2004 UTC (8 years, 11 months ago) by rousseau
use a dynamic array for available USB drivers:
- avoid a buffer overflow (argh!)
- allow to use more than 16 drivers/supported readers

Revision 925 - Directory Listing
Modified Wed Jun 9 07:29:33 2004 UTC (8 years, 11 months ago) by rousseau
replace SCARD_PROTOCOL_ANY by SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1
since SCARD_PROTOCOL_ANY is _not_ defined by Microsoft PC/SC and is not
equals to SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1

SCARD_PROTOCOL_ANY is deprecated and should not be used!

Revision 924 - Directory Listing
Modified Wed Jun 9 07:27:15 2004 UTC (8 years, 11 months ago) by rousseau
improve debug messages and comments

Revision 923 - Directory Listing
Modified Wed Jun 9 07:13:55 2004 UTC (8 years, 11 months ago) by rousseau
remove useless ' ' at the end of some lines

Revision 922 - Directory Listing
Modified Wed Jun 9 06:58:44 2004 UTC (8 years, 11 months ago) by rousseau
- add support of specific mode by the presence of TA2 (protocol not
  negociable)
- improve debug messages

Revision 921 - Directory Listing
Modified Wed Jun 9 06:19:16 2004 UTC (8 years, 11 months ago) by rousseau
code reindentation and remove useless blank and { } lines

Revision 920 - Directory Listing
Modified Wed Jun 9 06:12:59 2004 UTC (8 years, 11 months ago) by rousseau
make debug messages work when ATR_DEBUG is set

Revision 919 - Directory Listing
Modified Tue Jun 8 07:04:46 2004 UTC (8 years, 11 months ago) by rousseau
add #include <pcsclite.h>

Revision 918 - Directory Listing
Modified Mon Jun 7 13:52:58 2004 UTC (8 years, 11 months ago) by rousseau
remove two unused #define

Revision 917 - Directory Listing
Modified Mon Jun 7 13:40:55 2004 UTC (8 years, 11 months ago) by rousseau
a lexer library (lex or flex) is mandatory to parse /etc/reader.conf so
exit ./configure if none is found

Revision 916 - Directory Listing
Modified Mon Jun 7 13:39:01 2004 UTC (8 years, 11 months ago) by rousseau
the libpcsclite library does not compile and work without a thread library
even with --disable-threadsafe

Revision 915 - Directory Listing
Modified Sat Jun 5 16:04:11 2004 UTC (8 years, 11 months ago) by sauveron-guest
Change the names of the types LPCSTR to LPCTSTR and LPSTR to LPTSTR to be compliant with the Microsoft SCard API

Revision 914 - Directory Listing
Modified Sat Jun 5 15:58:47 2004 UTC (8 years, 11 months ago) by sauveron-guest
Add the include needed <errno.h>

Revision 913 - Directory Listing
Modified Sat Jun 5 15:52:11 2004 UTC (8 years, 11 months ago) by sauveron-guest
Add a note about 2 unused functions in the SCF part.

Revision 912 - Directory Listing
Modified Sat Jun 5 15:43:11 2004 UTC (8 years, 11 months ago) by sauveron-guest
Change the names of the types LPCSTR to LPCTSTR and LPSTR to LPTSTR to be compliant with the Microsoft SCard API

Revision 911 - Directory Listing
Modified Sat Jun 5 15:33:53 2004 UTC (8 years, 11 months ago) by sauveron-guest
Add the two inline in the declarations to avoid warning

Revision 909 - Directory Listing
Modified Sun May 30 19:33:07 2004 UTC (8 years, 11 months ago) by rousseau
display the error message (errno) if the bundle file cannot be opened

Revision 908 - Directory Listing
Modified Wed May 26 21:16:16 2004 UTC (8 years, 11 months ago) by rousseau
declare internal only function as "static" (and two one-line functions as "inline")

Revision 907 - Directory Listing
Modified Wed May 26 20:53:38 2004 UTC (8 years, 11 months ago) by rousseau
add a ' ' argument in PCSCLITE_THREAD_FUNCTION( ) so that old gcc
(gcc-2.95) does not comply with "macro `PCSCLITE_THREAD_FUNCTION' used
without args" any more.

Revision 902 - Directory Listing
Modified Wed May 26 07:46:39 2004 UTC (8 years, 11 months ago) by rousseau
add "Some SCardControl commands" section (IFD_EXCHANGE and VERIFY_PIN)

Revision 901 - Directory Listing
Modified Wed May 26 07:45:25 2004 UTC (8 years, 11 months ago) by rousseau
add CCID spec reference

Revision 899 - Directory Listing
Modified Tue May 25 12:59:26 2004 UTC (8 years, 11 months ago) by rousseau
signedness issue detected by gcc -pedantic

Revision 898 - Directory Listing
Modified Tue May 25 12:52:09 2004 UTC (8 years, 11 months ago) by rousseau
remove useless { } and simplify the code

Revision 897 - Directory Listing
Modified Tue May 25 12:44:30 2004 UTC (8 years, 11 months ago) by rousseau
recompile using -pedantic and correct lots of cast "problems"

Revision 884 - Directory Listing
Modified Mon May 24 06:36:19 2004 UTC (9 years ago) by rousseau
- allow ':' in DEVICENAME
- use ':' to indicate a non-real device (do not test for its existence
  as a file).
  You can use this in something like "net://1.2.3.4/foobar" to indicate
  a reader on a remote machine like an X11 terminal.

Revision 883 - Directory Listing
Modified Wed May 19 09:43:19 2004 UTC (9 years ago) by rousseau
for SCardConnect()
- dwPreferredProtocols is a bit mask of acceptable protocols
- SCARD_SHARE_DIRECT can be used to talk to the reader without a card inserted

Revision 870 - Directory Listing
Modified Thu May 13 13:28:49 2004 UTC (9 years ago) by rousseau
do not install pcsc_demo since it is just a sample code for developpers
that is not supposed (the code) to do anything useful

Revision 869 - Directory Listing
Modified Thu May 13 13:26:56 2004 UTC (9 years ago) by rousseau
ignore autom4te.cache directory

Revision 868 - Directory Listing
Modified Thu May 13 13:26:17 2004 UTC (9 years ago) by rousseau
ignore pcsclite.h since it is generated from pcsclite.h.in

Revision 867 - Directory Listing
Modified Thu May 13 13:25:06 2004 UTC (9 years ago) by rousseau
Typos. thanks to Ville Skytt� for the patches

Revision 866 - Directory Listing
Modified Thu May 13 12:28:18 2004 UTC (9 years ago) by rousseau
install ifdhandler.h so drivers can use it for compilation.
Patch by Ville Skytt�

Revision 865 - Directory Listing
Modified Wed May 12 12:28:13 2004 UTC (9 years ago) by rousseau
remove reader.conf from EXTRA_DIST since it is already in sysconf_DATA

Revision 864 - Directory Listing
Modified Wed May 12 12:27:42 2004 UTC (9 years ago) by rousseau
comment the configuration lines since they are not valid and will
prevent the start of pcscd if they are not modified

Revision 859 - Directory Listing
Modified Wed May 12 07:53:39 2004 UTC (9 years ago) by rousseau
use the modern form for AC_INIT() instead of the deprecated one.

Revision 858 - Directory Listing
Modified Wed May 12 07:51:52 2004 UTC (9 years ago) by rousseau
use @VERSION@ for PCSCLITE_VERSION_NUMBER instead of a manual value.
Thanks to Damien Sauveron for the idea.

Revision 857 - Directory Listing
Modified Wed May 12 07:48:35 2004 UTC (9 years ago) by rousseau
install bundleTool and installifd in ../sbin/ instead of ../bin/

Revision 855 - Directory Listing
Modified Tue May 11 12:25:20 2004 UTC (9 years ago) by rousseau
release 1.2.9-beta2

Revision 854 - Directory Listing
Modified Tue May 11 09:49:22 2004 UTC (9 years ago) by rousseau
beta2 version

Revision 853 - Directory Listing
Modified Tue May 11 09:44:10 2004 UTC (9 years ago) by rousseau
change libmusclecard current version to 1 so that old libmusclecard0 and
new libmusclecard1 can cohabitate on the same system and will not break
existing programs during upgrades.

This is because libmusclecard is provided in the same distrib/package as
libpcsclite. If we want two libpcsclite to cohabitate we must also
ensure that the two libmusclecard can also cohabitate.

Revision 852 - Directory Listing
Modified Tue May 11 09:28:35 2004 UTC (9 years ago) by rousseau
generate local icons for the latex2html generated pages

Revision 851 - Directory Listing
Modified Tue May 11 08:11:58 2004 UTC (9 years ago) by rousseau
add a / at the end of URLs and directory names

Revision 850 - Directory Listing
Modified Tue May 11 08:08:33 2004 UTC (9 years ago) by rousseau
print pcsc-lite version number during startup

Revision 849 - Directory Listing
Modified Mon May 10 15:12:00 2004 UTC (9 years ago) by rousseau
install pcsclite.h instead of pcsclite.h.in

Revision 848 - Directory Listing
Modified Mon May 10 14:41:15 2004 UTC (9 years ago) by rousseau
add the chapter "Multithreading and contexts"

Revision 847 - Directory Listing
Modified Mon May 10 13:29:40 2004 UTC (9 years ago) by rousseau
ignore ifdhandler-3 temporary files

Revision 846 - Directory Listing
Modified Mon May 10 13:24:33 2004 UTC (9 years ago) by rousseau
some rewrite

Revision 845 - Directory Listing
Modified Mon May 10 13:16:51 2004 UTC (9 years ago) by rousseau
caracters -> characters

Revision 844 - Directory Listing
Modified Mon May 10 13:16:04 2004 UTC (9 years ago) by rousseau
approprate -> appropriate

Revision 843 - Directory Listing
Modified Mon May 10 13:14:30 2004 UTC (9 years ago) by rousseau
smartcard -> smart card, musclecard -> MuscleCard

Revision 842 - Directory Listing
Modified Mon May 10 12:50:25 2004 UTC (9 years ago) by rousseau
add ifdhandler-3.tex ifdhandler-3.pdf

Revision 841 - Directory Listing
Modified Mon May 10 12:49:45 2004 UTC (9 years ago) by rousseau
IFD Handler API in LaTeX format

Revision 839 - Directory Listing
Modified Mon May 10 07:47:49 2004 UTC (9 years ago) by rousseau
in SCardReconnect(), SCardDisconnect() and SCardEndTransaction()
SCARD_UNPOWER_CARD is "Power down the card and reset it (Cold Reset)" so
we really power down _and_ then power up the card.

Revision 838 - Directory Listing
Modified Fri May 7 18:18:17 2004 UTC (9 years ago) by rousseau
the comment for --enable-extendedapdu was wrong. The maximum APDU size
is 32KB and not 128KB. Thanks to Damien Sauveron.

Revision 834 - Directory Listing
Modified Thu May 6 09:05:59 2004 UTC (9 years ago) by rousseau
release 1.2.9-beta1

Revision 833 - Directory Listing
Modified Thu May 6 09:04:44 2004 UTC (9 years ago) by rousseau
version 1.2.9-beta1

Revision 832 - Directory Listing
Modified Thu May 6 09:03:31 2004 UTC (9 years ago) by rousseau
in IFDControl_v2 and IFDControl test the ifd handler version and
possibly return before the critical section (mutex)

Revision 831 - Directory Listing
Modified Thu May 6 08:58:12 2004 UTC (9 years ago) by rousseau
in IFDControl_v2() and IFDControl(), do not return between SYS_MutexLock
and SYS_MutexUnLock but set rv to the correct value. Otherwise the daemon
is dead locked.

Revision 830 - Directory Listing
Modified Thu May 6 08:17:46 2004 UTC (9 years ago) by rousseau
add an empty HPStopHotPluggables() function

Revision 829 - Directory Listing
Modified Thu May 6 08:12:43 2004 UTC (9 years ago) by rousseau
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.

Revision 828 - Directory Listing
Modified Thu May 6 06:38:14 2004 UTC (9 years ago) by rousseau
add support of --enable-extendedapdu argument to allow the use of big
APDUs (up to 128 KBytes)

Revision 827 - Directory Listing
Modified Thu May 6 06:36:46 2004 UTC (9 years ago) by rousseau
minor reindentations

Revision 826 - Directory Listing
Modified Thu May 6 06:36:13 2004 UTC (9 years ago) by rousseau
in SCardSetAttrib() the cbAttrLen is a DWORD and not a LPDWORD so use
gsStr->cbAttrLen instead of &gsStr->cbAttrLen. Bad cut-n-paste here!

Revision 823 - Directory Listing
Modified Mon May 3 13:54:23 2004 UTC (9 years ago) by rousseau
- rename dwFeeds and dwMutex to pdwFeeds and pdwMutex since they are
  pointers
- add a check to avoid removing an aleady removed driver (closes bug
  [ #300684 ] pcscd segfaults on 'if (*sContext->dwMutex == 1)')

Revision 822 - Directory Listing
Modified Mon May 3 13:51:38 2004 UTC (9 years ago) by rousseau
rename dwFeeds and dwMutex to pdwFeeds and pdwMutex since they are
pointers

Revision 821 - Directory Listing
Modified Tue Apr 27 13:27:03 2004 UTC (9 years ago) by rousseau
patch from Damien Sauveron to rectify the source code examples.

Revision 820 - Directory Listing
Modified Wed Apr 21 22:45:27 2004 UTC (9 years, 1 month ago) by rousseau
do not stop if pcsc-lite does not exist and is removed

Revision 819 - Directory Listing
Modified Wed Apr 21 22:42:38 2004 UTC (9 years, 1 month ago) by rousseau
distribute pcsc-lite.tex

Revision 818 - Directory Listing
Modified Wed Apr 21 22:18:46 2004 UTC (9 years, 1 month ago) by rousseau
- SCardControl new API
- add SCardGetAttrib()/SCardSetAttrib()

Revision 817 - Directory Listing
Modified Wed Apr 21 21:42:33 2004 UTC (9 years, 1 month ago) by rousseau
remove the function names from the debug messages

Revision 816 - Directory Listing
Modified Wed Apr 21 21:40:19 2004 UTC (9 years, 1 month ago) by rousseau
add __FUNCTION__ in the debug messages

Revision 815 - Directory Listing
Modified Mon Apr 19 16:49:39 2004 UTC (9 years, 1 month ago) by sauveron-guest
Typo in email address.

Revision 814 - Directory Listing
Modified Mon Apr 19 16:42:02 2004 UTC (9 years, 1 month ago) by rousseau
update copyright date

Revision 813 - Directory Listing
Modified Mon Apr 19 16:29:35 2004 UTC (9 years, 1 month ago) by rousseau
add SCARD_ATTR_* tags for SCardGetAttrib()

Revision 812 - Directory Listing
Modified Mon Apr 19 16:28:46 2004 UTC (9 years, 1 month ago) by rousseau
RxBuffer argument of IFDControl is LPVOID and not LPCVOID

Revision 811 - Directory Listing
Modified Mon Apr 19 16:27:51 2004 UTC (9 years, 1 month ago) by rousseau
FDHControl() argument lpInBuffer and lpOutBuffer are LPCVOID and LPVOID
and not PUCHAR

Revision 810 - Directory Listing
Modified Mon Apr 19 16:26:02 2004 UTC (9 years, 1 month ago) by rousseau
add test for SCardSetAttrib()

Revision 809 - Directory Listing
Modified Mon Apr 19 16:25:23 2004 UTC (9 years, 1 month ago) by rousseau
add support for SCardGetAttrib() and SCardSetAttrib()

Revision 803 - Directory Listing
Modified Mon Apr 19 15:24:25 2004 UTC (9 years, 1 month ago) by rousseau
do not ask for reader number if only one reader is present

Revision 802 - Directory Listing
Modified Mon Apr 19 15:21:06 2004 UTC (9 years, 1 month ago) by rousseau
remove useless REPEAT_TEST conditional code

Revision 801 - Directory Listing
Modified Mon Apr 19 15:18:25 2004 UTC (9 years, 1 month ago) by rousseau
test SCardGetAttrib()

Revision 800 - Directory Listing
Modified Mon Apr 19 14:59:59 2004 UTC (9 years, 1 month ago) by rousseau
lpOutBuffer argument is LPVOID not LPCVOID in IFDControl

Revision 799 - Directory Listing
Modified Fri Apr 16 16:11:15 2004 UTC (9 years, 1 month ago) by rousseau
do not SCardReleaseContext() in case of error in SCardControl test

Revision 798 - Directory Listing
Modified Fri Apr 16 15:27:21 2004 UTC (9 years, 1 month ago) by rousseau
add support of the new IFDHControl() API

Revision 797 - Directory Listing
Modified Fri Apr 16 15:24:54 2004 UTC (9 years, 1 month ago) by rousseau
add a test for SCardControl()

Revision 796 - Directory Listing
Modified Fri Apr 16 15:23:48 2004 UTC (9 years, 1 month ago) by rousseau
rename IFDHControl() to IFDHControl_v2() and add a new IFDHControl()
with the new API

Revision 793 - Directory Listing
Modified Thu Apr 15 09:53:58 2004 UTC (9 years, 1 month ago) by rousseau
remove implicit/useless { }

Revision 792 - Directory Listing
Modified Thu Apr 15 09:01:52 2004 UTC (9 years, 1 month ago) by rousseau
document the SCardControl migration

Revision 791 - Directory Listing
Modified Thu Apr 15 08:43:33 2004 UTC (9 years, 1 month ago) by rousseau
pcscd and libpcsclite now exchange a protocol version to know what API
to use

Revision 790 - Directory Listing
Modified Thu Apr 15 08:38:50 2004 UTC (9 years, 1 month ago) by rousseau
change library version to 1:0:0 since the interface changed

Revision 789 - Directory Listing
Modified Thu Apr 15 08:37:23 2004 UTC (9 years, 1 month ago) by rousseau
ignore LaTeX temporary files

Revision 788 - Directory Listing
Modified Thu Apr 15 08:36:05 2004 UTC (9 years, 1 month ago) by rousseau
bibliography in BibTeX format

Revision 787 - Directory Listing
Modified Thu Apr 15 08:29:40 2004 UTC (9 years, 1 month ago) by rousseau
- generate .pdf from .tex
- distribute the generated pcsc-lite.pdf

Revision 786 - Directory Listing
Modified Thu Apr 15 08:27:42 2004 UTC (9 years, 1 month ago) by rousseau
the pcsc-lite pdf documentation is now generated from a LaTeX document

Revision 785 - Directory Listing
Modified Wed Apr 14 20:19:52 2004 UTC (9 years, 1 month ago) by rousseau
document in the help text that '--foreground' imply '--debug stderr'

Revision 784 - Directory Listing
Modified Wed Apr 14 14:36:38 2004 UTC (9 years, 1 month ago) by rousseau
add a dummy field (to replace request_id) in sharedSegmentMsg to have
the same structure size as in previous pcsc-lite versions so that a new
pcscd can talk to an old libpcsclite and vice-versa.

Revision 783 - Directory Listing
Modified Wed Apr 14 14:34:37 2004 UTC (9 years, 1 month ago) by rousseau
add a default case in pcsc_stringify_error()

Revision 782 - Directory Listing
Modified Tue Apr 13 15:03:31 2004 UTC (9 years, 1 month ago) by rousseau
test SCardListReaderGroups()

Revision 767 - Directory Listing
Modified Tue Apr 6 06:56:22 2004 UTC (9 years, 1 month ago) by rousseau
remove the code to map SCARD_UNPOWER_CARD on IFD_RESET.
SCARD_UNPOWER_CARD is power down and power up (cold reset) => IFD_POWER_DOWN
SCARD_RESET_CARD is just power up (warm reset) => IFD_RESET

Revision 765 - Directory Listing
Modified Mon Apr 5 14:44:59 2004 UTC (9 years, 1 month ago) by rousseau
initialize readers to NULL to avoid a "`readers' might be used
uninitialized" compilation warning

Revision 761 - Directory Listing
Modified Fri Apr 2 14:43:58 2004 UTC (9 years, 1 month ago) by rousseau
add support for doc/reader.conf.5

Revision 760 - Directory Listing
Modified Fri Apr 2 14:42:58 2004 UTC (9 years, 1 month ago) by rousseau
new manpage

Revision 759 - Directory Listing
Modified Fri Apr 2 13:38:21 2004 UTC (9 years, 1 month ago) by rousseau
typos

Revision 758 - Directory Listing
Modified Fri Apr 2 06:52:16 2004 UTC (9 years, 1 month ago) by rousseau
add two missing free()

Revision 757 - Directory Listing
Modified Thu Apr 1 09:14:05 2004 UTC (9 years, 1 month ago) by rousseau
do not try to restart a USB driver if the first execution fails (because
of a bug in the driver or whatever) since the next execution of the
driver will, with a great probability, also fail. The user has to
unplug/replug the reader to restart the driver. This prevents to fill
the system logs with an error message every 1 second.

Revision 756 - Directory Listing
Modified Thu Apr 1 07:21:41 2004 UTC (9 years, 1 month ago) by rousseau
remove a useless occurence of PCSCLITE_MAX_READERS_CONTEXTS

Revision 754 - Directory Listing
Modified Wed Mar 31 14:57:50 2004 UTC (9 years, 1 month ago) by rousseau
use sizeof(lpcStripReader) instead of MAX_READERNAME

Revision 753 - Directory Listing
Modified Wed Mar 31 13:50:54 2004 UTC (9 years, 1 month ago) by rousseau
also print tokenType field as a number and string

Revision 752 - Directory Listing
Modified Wed Mar 31 13:48:31 2004 UTC (9 years, 1 month ago) by rousseau
Initialize currentToken->tokenType in MSCListTokens(). Closes "[ #300607 ]
MSCListTokens should set tokenType to know state before OR operation"

Revision 751 - Directory Listing
Modified Wed Mar 31 13:33:25 2004 UTC (9 years, 1 month ago) by rousseau
replace some 0 bu NULL for pointers

Revision 750 - Directory Listing
Modified Wed Mar 31 13:11:27 2004 UTC (9 years, 1 month ago) by rousseau
- replace 0 by NULL
- remove some { } for one line blocks

Revision 749 - Directory Listing
Modified Wed Mar 31 09:54:31 2004 UTC (9 years, 1 month ago) by rousseau
recode the readers enumeration to avoid the use of PCSCLITE_MAX_READERS_CONTEXTS

Revision 748 - Directory Listing
Modified Wed Mar 31 09:42:30 2004 UTC (9 years, 1 month ago) by rousseau
use SCARDCONTEXT and SCARDHANDLE instead of MSCLong32

Revision 747 - Directory Listing
Modified Wed Mar 31 09:42:01 2004 UTC (9 years, 1 month ago) by rousseau
use SCARDCONTEXT, DWORD, LPSCARDHANDLE, etc. instead of long, unsigned
long, long *, etc. to be more Windows PC/SC compliant

Revision 746 - Directory Listing
Modified Wed Mar 31 09:40:12 2004 UTC (9 years, 1 month ago) by rousseau
remove two "by najam" comments

Revision 745 - Directory Listing
Modified Wed Mar 31 09:38:54 2004 UTC (9 years, 1 month ago) by rousseau
use MAX_ATR_SIZE instead of 33 in the declaration of SCARD_READERSTATE_A

Revision 744 - Directory Listing
Modified Wed Mar 31 09:37:59 2004 UTC (9 years, 1 month ago) by rousseau
proposed patch: define PCSCLITE_MAX_READERS with a deprecated attribute

Revision 743 - Directory Listing
Modified Tue Mar 30 15:12:22 2004 UTC (9 years, 1 month ago) by rousseau
remove the warning if no /etc/reader.conf is found. It is normal to not
have an /etc/reader.conf for USB readers only.

Revision 742 - Directory Listing
Modified Tue Mar 30 15:08:59 2004 UTC (9 years, 1 month ago) by rousseau
print a warning if the LIBPATH contains ".bundle". USB drivers SHOULD NOT be declared in reader.conf

Revision 741 - Directory Listing
Modified Tue Mar 30 14:54:19 2004 UTC (9 years, 1 month ago) by rousseau
add strerror(errno) in the error message.

Revision 740 - Directory Listing
Modified Tue Mar 30 14:48:28 2004 UTC (9 years, 1 month ago) by rousseau
use NULL instead of 0

Revision 739 - Directory Listing
Modified Tue Mar 30 14:43:47 2004 UTC (9 years, 1 month ago) by rousseau
code reindentation

Revision 735 - Directory Listing
Modified Tue Mar 30 12:40:59 2004 UTC (9 years, 1 month ago) by rousseau
remove etc/ from filename

Revision 734 - Directory Listing
Modified Tue Mar 30 12:40:00 2004 UTC (9 years, 1 month ago) by rousseau
remove PCSC/ from filenames

Revision 733 - Directory Listing
Modified Tue Mar 30 12:38:57 2004 UTC (9 years, 1 month ago) by rousseau
files to ignore by CVS

Revision 732 - Directory Listing
Modified Sun Mar 28 21:27:47 2004 UTC (9 years, 1 month ago) by rousseau
simplify a bit an hex->decimal conversion

Revision 731 - Directory Listing
Modified Sun Mar 28 21:18:43 2004 UTC (9 years, 1 month ago) by rousseau
left shift one bloc of code that was in a isolated { }

Revision 730 - Directory Listing
Modified Sun Mar 28 21:13:55 2004 UTC (9 years, 1 month ago) by rousseau
remove { } for one instruction if () blocs

Revision 729 - Directory Listing
Modified Sun Mar 28 21:00:02 2004 UTC (9 years, 1 month ago) by rousseau
use a direct "DWORD dwNumReadersContexts" instead of an indirect "DWORD
*dwNumReadersContexts". This will remove bugs like the one at line 90:
"if (dwNumReadersContexts != 0)" is not "if (*dwNumReadersContexts != 0)"

Revision 728 - Directory Listing
Modified Wed Mar 24 14:32:07 2004 UTC (9 years, 2 months ago) by rousseau
correct atrString[] buffer size. The ATR is in ASCII so it must be MAX_ATR_SIZE*2 +1

Revision 727 - Directory Listing
Modified Tue Mar 23 17:22:27 2004 UTC (9 years, 2 months ago) by rousseau
add void argument in HPStopHotPluggables()

Revision 726 - Directory Listing
Modified Tue Mar 23 15:31:51 2004 UTC (9 years, 2 months ago) by rousseau
initialize vHandle field to NULL in RFAllocateReaderSpace() (caused a
crash under MacOS X)

Revision 725 - Directory Listing
Modified Tue Mar 23 14:51:53 2004 UTC (9 years, 2 months ago) by rousseau
add the errno text message if specified reader.conf file is not found

Revision 724 - Directory Listing
Modified Tue Mar 23 14:45:42 2004 UTC (9 years, 2 months ago) by rousseau
use PCSCLITE_READER_CONFIG instead of reader.conf in debug message

Revision 721 - Directory Listing
Modified Sat Mar 20 17:53:22 2004 UTC (9 years, 2 months ago) by rousseau
add support for HPStopHotPluggables()

Revision 720 - Directory Listing
Modified Fri Mar 19 10:36:44 2004 UTC (9 years, 2 months ago) by rousseau
new files to ignore files not in CVS

Revision 719 - Directory Listing
Modified Fri Mar 19 10:24:46 2004 UTC (9 years, 2 months ago) by rousseau
really reset the card when asked to in SCardReconnect()

Revision 718 - Directory Listing
Modified Fri Mar 19 10:15:47 2004 UTC (9 years, 2 months ago) by rousseau
This is hack to allow a change of ATR at Reconnect without physically
changing the card. This should not happen in real life so should not be
problematic and so is active by default (ATR_CHANGE_AT_RECONNECT).

Revision 717 - Directory Listing
Modified Fri Mar 19 10:08:29 2004 UTC (9 years, 2 months ago) by rousseau
remove duplicated SYS_MutexUnLock() in SCardStatus()

Revision 715 - Directory Listing
Modified Thu Mar 18 10:10:45 2004 UTC (9 years, 2 months ago) by rousseau
call HPStopHotPluggables() before stopping the drivers to avoid a new
reader detection/start by hotplug when we want to stop everything

Revision 714 - Directory Listing
Modified Thu Mar 18 10:08:50 2004 UTC (9 years, 2 months ago) by rousseau
add HPStopHotPluggables() to exit the hotplug thread

Revision 713 - Directory Listing
Modified Thu Mar 18 09:20:04 2004 UTC (9 years, 2 months ago) by rousseau
set AraKiri to TRUE instead of 1

Revision 712 - Directory Listing
Modified Thu Mar 18 07:40:47 2004 UTC (9 years, 2 months ago) by rousseau
- add SCardReconnect() sample code
- allow to select the reader number instead of selecting always the first
  one

Revision 711 - Directory Listing
Modified Thu Mar 11 10:31:42 2004 UTC (9 years, 2 months ago) by rousseau
version 1.2.1

Revision 710 - Directory Listing
Modified Tue Mar 2 14:07:27 2004 UTC (9 years, 2 months ago) by rousseau
version 1.2.1

Revision 705 - Directory Listing
Modified Mon Feb 23 09:57:29 2004 UTC (9 years, 3 months ago) by rousseau
use deviceName defined as usb:idVendor/idProduct:libusb:busname:filename
in HPAddHotPluggable(). This should avoid wrong USB enumeration when
used in IFDHCreateChannelByName()

Revision 684 - Directory Listing
Modified Wed Feb 11 08:25:31 2004 UTC (9 years, 3 months ago) by rousseau
merge 1.2.0 final branch

Revision 675 - Directory Listing
Modified Wed Feb 4 21:48:00 2004 UTC (9 years, 3 months ago) by rousseau
DIR in --enable-usbdropdir=DIR may not finish by / in (deprecated) hotplug_linux.c

Revision 646 - Directory Listing
Modified Sat Jan 24 11:23:43 2004 UTC (9 years, 3 months ago) by rousseau
use "DEVICENAME /dev/ttySx_not_configured" to make it (more) clear it
should be configured.

Revision 645 - Directory Listing
Modified Sat Jan 24 11:21:58 2004 UTC (9 years, 3 months ago) by rousseau
reader.conf may also be needed for PCMCIA readers and not olny serial.

Revision 644 - Directory Listing
Modified Fri Jan 23 22:01:23 2004 UTC (9 years, 4 months ago) by rousseau
add a note: "This file has to be configured for serial readers only."

Revision 643 - Directory Listing
Modified Fri Jan 23 10:54:21 2004 UTC (9 years, 4 months ago) by rousseau
check that psContextMap[dwContextIndex].psChannelMap[dwChannelIndex].readerName is non NULL before accessing it in strcmp()

Revision 642 - Directory Listing
Modified Thu Jan 22 14:32:07 2004 UTC (9 years, 4 months ago) by aet-guest
- Simplify the psContext/psContextMap declarations to fix
  build conflicts against some operating systems headers.

Revision 639 - Directory Listing
Modified Wed Jan 21 17:06:19 2004 UTC (9 years, 4 months ago) by corcoran-guest
Changed unsigned char * to char * and did some typecasting
to get rid of warnings when building in 64bit mode ...

Revision 638 - Directory Listing
Modified Wed Jan 21 06:46:40 2004 UTC (9 years, 4 months ago) by sauveron-guest
Remove an useless include

Revision 637 - Directory Listing
Modified Tue Jan 20 07:09:30 2004 UTC (9 years, 4 months ago) by rousseau
correct comment about empty deviceName argument

Revision 636 - Directory Listing
Modified Mon Jan 19 10:28:40 2004 UTC (9 years, 4 months ago) by sauveron-guest
Use the device name to create channel only if defined.

Revision 635 - Directory Listing
Modified Mon Jan 19 10:24:40 2004 UTC (9 years, 4 months ago) by sauveron-guest
Add an empty parameter for deviceName to allow the compilation.

Revision 634 - Directory Listing
Modified Mon Jan 19 00:50:43 2004 UTC (9 years, 4 months ago) by sauveron-guest
Remove the useless include of sys/mman.h

Revision 633 - Directory Listing
Modified Sun Jan 18 23:45:45 2004 UTC (9 years, 4 months ago) by sauveron-guest
Remove unused function.

Revision 632 - Directory Listing
Modified Fri Jan 16 11:35:48 2004 UTC (9 years, 4 months ago) by sauveron-guest
Update the copyright.

Revision 631 - Directory Listing
Modified Fri Jan 16 11:13:39 2004 UTC (9 years, 4 months ago) by sauveron-guest
Add my name, my email and the copyright.

Revision 630 - Directory Listing
Modified Fri Jan 16 08:55:13 2004 UTC (9 years, 4 months ago) by sauveron-guest
Remove the useless PID information field. Also remove the WrapSHMWrite argument related to PID information.

Revision 629 - Directory Listing
Modified Fri Jan 16 08:51:11 2004 UTC (9 years, 4 months ago) by sauveron-guest
Remove an useless information field of the messages sent by the client to the server. Also remove in the prototype of WrapSHMWrite the parameter related to the deleted field.

Revision 628 - Directory Listing
Modified Fri Jan 16 08:50:01 2004 UTC (9 years, 4 months ago) by sauveron-guest
Remove a useless information field of the messages sent by the client to the server. Also remove in the prototype of WrapSHMWrite the parameter related to the deleted field.

Revision 627 - Directory Listing
Modified Fri Jan 16 08:43:09 2004 UTC (9 years, 4 months ago) by sauveron-guest
Correct the indentation of some lines and add debug information.

Revision 626 - Directory Listing
Modified Fri Jan 16 08:09:15 2004 UTC (9 years, 4 months ago) by sauveron-guest
Cleanup the code.

Revision 625 - Directory Listing
Modified Fri Jan 16 08:08:01 2004 UTC (9 years, 4 months ago) by sauveron-guest
Modify the output of the debug message.

Revision 624 - Directory Listing
Modified Thu Jan 15 21:32:13 2004 UTC (9 years, 4 months ago) by corcoran-guest
Changed Co to C(ZERO) instead.  The Oh caused big problems with
formaticc

Revision 623 - Directory Listing
Modified Thu Jan 15 21:07:52 2004 UTC (9 years, 4 months ago) by corcoran-guest
Needed to define dwAtrLen so it would not just pick up garbage
for SCardStatus.

Revision 622 - Directory Listing
Modified Thu Jan 15 21:06:55 2004 UTC (9 years, 4 months ago) by corcoran-guest
In SCardStatus some of the memcopy's and strcpy's were occurring
before bounds checking.

Revision 621 - Directory Listing
Modified Thu Jan 15 18:31:26 2004 UTC (9 years, 4 months ago) by corcoran-guest
Changed error return from SYS_OpenFile of PCSCLITE_PUBSHM_FILE from UNKNOWN to
SCARD_E_NO_SERVICE.  Sorry for no diffs, I'll put them in next time ...

Revision 605 - Directory Listing
Modified Wed Jan 14 22:09:03 2004 UTC (9 years, 4 months ago) by rousseau
reformat and add Damien Sauveron and Antti Tapaninen

Revision 604 - Directory Listing
Modified Wed Jan 14 12:07:59 2004 UTC (9 years, 4 months ago) by sauveron-guest
Add the support of IFDHandler interface v3

Revision 603 - Directory Listing
Modified Wed Jan 14 12:07:04 2004 UTC (9 years, 4 months ago) by sauveron-guest
Modify the prototype of IFDOpenIFD.

Revision 602 - Directory Listing
Modified Wed Jan 14 12:02:45 2004 UTC (9 years, 4 months ago) by sauveron-guest
Add the function's pointer for the new function introduced in IFDHandler interface v3

Revision 601 - Directory Listing
Modified Wed Jan 14 11:58:11 2004 UTC (9 years, 4 months ago) by sauveron-guest
Define the length maximum of a device name.

Revision 600 - Directory Listing
Modified Wed Jan 14 11:56:39 2004 UTC (9 years, 4 months ago) by sauveron-guest
Get the device name of the USB device and give it to RFAddReader.

Revision 599 - Directory Listing
Modified Wed Jan 14 11:52:58 2004 UTC (9 years, 4 months ago) by sauveron-guest
Give the device name to RFAddReader

Revision 598 - Directory Listing
Modified Wed Jan 14 11:48:57 2004 UTC (9 years, 4 months ago) by sauveron-guest
Add a new parameter to the prototype of RFAddReader according to the changes in readerfactory.c

Revision 597 - Directory Listing
Modified Wed Jan 14 11:46:23 2004 UTC (9 years, 4 months ago) by sauveron-guest
Add a new parameter to RFAddReader to get the device name

Revision 596 - Directory Listing
Modified Wed Jan 14 11:15:11 2004 UTC (9 years, 4 months ago) by sauveron-guest
Add the device name

Revision 595 - Directory Listing
Modified Wed Jan 14 11:03:00 2004 UTC (9 years, 4 months ago) by sauveron-guest
Add the prototype of the new function introduced in the IFDHandler interface v3

Revision 594 - Directory Listing
Modified Wed Jan 14 01:57:12 2004 UTC (9 years, 4 months ago) by sauveron-guest
Remove a line commited by error. Sorry.

Revision 593 - Directory Listing
Modified Wed Jan 14 01:46:46 2004 UTC (9 years, 4 months ago) by sauveron-guest
Check that DEVICENAME and LIBPATH files exist and if an error occurs during the parsing the reader is not added.

Revision 592 - Directory Listing
Modified Tue Jan 13 20:17:59 2004 UTC (9 years, 4 months ago) by rousseau
small code reorganisation for an easier reading

Revision 591 - Directory Listing
Modified Tue Jan 13 20:16:43 2004 UTC (9 years, 4 months ago) by rousseau
use macro DebugLogB() instead of debug_msg()

Revision 590 - Directory Listing
Modified Tue Jan 13 17:54:03 2004 UTC (9 years, 4 months ago) by sauveron-guest
Modify tests in order to be homogeneous with those for next IFDHandlers versions

Revision 589 - Directory Listing
Modified Tue Jan 13 07:25:54 2004 UTC (9 years, 4 months ago) by rousseau
simplify the perl expression in ChangeLog.cvs rule

Revision 588 - Directory Listing
Modified Tue Jan 13 07:10:19 2004 UTC (9 years, 4 months ago) by rousseau
reformat to 72 columns

Revision 587 - Directory Listing
Modified Mon Jan 12 17:07:43 2004 UTC (9 years, 4 months ago) by corcoran-guest
Added README for Makefile directory and sample config.h

Revision 586 - Directory Listing
Modified Mon Jan 12 16:49:18 2004 UTC (9 years, 4 months ago) by corcoran-guest
C
Adding make-dirs plus Makefiles for certain configurations when people don't want to
try and fix autoconf

VS: ----------------------------------------------------------------------

Revision 585 - Directory Listing
Modified Mon Jan 12 09:49:17 2004 UTC (9 years, 4 months ago) by rousseau
correct the file header. It was a cut-n-paste from hotplug_linux.c

Revision 583 - Directory Listing
Modified Thu Jan 8 15:24:55 2004 UTC (9 years, 4 months ago) by rousseau
buffer overflow: the driver list was not terminated and caused crashes.

Revision 582 - Directory Listing
Modified Thu Jan 8 09:40:04 2004 UTC (9 years, 4 months ago) by rousseau
correct my email address

Revision 577 - Directory Listing
Modified Tue Dec 16 23:59:58 2003 UTC (9 years, 5 months ago) by rousseau
code reordering to make it a bit more clear

Revision 576 - Directory Listing
Modified Tue Dec 16 22:49:10 2003 UTC (9 years, 5 months ago) by sauveron-guest
Remove the old functions and add the new functions

Revision 575 - Directory Listing
Modified Tue Dec 16 22:47:19 2003 UTC (9 years, 5 months ago) by sauveron-guest
Set up the new functions needed by the thread handling the client connection/disconnection and needed by the thread handling the requests in a context

Revision 574 - Directory Listing
Modified Tue Dec 16 22:41:39 2003 UTC (9 years, 5 months ago) by sauveron-guest
Design to handle all the requests in the context

Revision 573 - Directory Listing
Modified Tue Dec 16 22:36:49 2003 UTC (9 years, 5 months ago) by sauveron-guest
Change the design of pcscdaemon. It gets the connection/disconnection from the client to the server (create/destroy a context), creates a new thread and then this thread will manage all the requests for this context

Revision 572 - Directory Listing
Modified Tue Dec 16 22:29:59 2003 UTC (9 years, 5 months ago) by sauveron-guest
Add mutex for each context and remove the global mutex except for some operations

Revision 571 - Directory Listing
Modified Tue Dec 16 16:58:39 2003 UTC (9 years, 5 months ago) by sauveron-guest
Add functions for identify and compare threads

Revision 567 - Directory Listing
Modified Thu Dec 11 19:56:50 2003 UTC (9 years, 5 months ago) by corcoran-guest
Index: winscard_scf.c
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/winscard_scf.c,v
retrieving revision 1.8
diff -r1.8 winscard_scf.c
52c52
<   BYTE bufferLength;
---
>   LONG bufferLength;

The byte buffer length would break any APDU over 255 bytes.

Revision 566 - Directory Listing
Modified Mon Dec 8 17:14:58 2003 UTC (9 years, 5 months ago) by rousseau
use /etc/sysconfig/pscsd and correct some typos

Revision 562 - Directory Listing
Modified Thu Nov 20 09:15:00 2003 UTC (9 years, 6 months ago) by rousseau
new upstream version to avoid checking for pthread.h which does not
exist on *BSD

Revision 561 - Directory Listing
Modified Tue Nov 18 15:57:20 2003 UTC (9 years, 6 months ago) by rousseau
revert test of return value from FreeLibrary. Thanks to Peter Williams
for the patch.
http://archives.neohapsis.com/archives/dev/muscle/2003-q4/0136.html

Revision 560 - Directory Listing
Modified Sun Nov 9 14:42:34 2003 UTC (9 years, 6 months ago) by aet-guest
- Upgrade MacOS X project build files for XCode

Revision 559 - Directory Listing
Modified Sun Nov 9 14:39:11 2003 UTC (9 years, 6 months ago) by aet-guest
- Build fix

Revision 558 - Directory Listing
Modified Sun Nov 9 13:49:11 2003 UTC (9 years, 6 months ago) by aet-guest
- Cleanups

Revision 557 - Directory Listing
Modified Sun Nov 9 13:33:49 2003 UTC (9 years, 6 months ago) by aet-guest
- Allow regular pcsclite.h to be used under win32 platform

Revision 555 - Directory Listing
Modified Wed Nov 5 21:22:42 2003 UTC (9 years, 6 months ago) by rousseau
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.

Revision 546 - Directory Listing
Modified Sun Nov 2 20:05:31 2003 UTC (9 years, 6 months ago) by rousseau
port under Win32 (patch from Peter Williams) and some code cleanup

Revision 540 - Directory Listing
Modified Thu Oct 30 17:42:21 2003 UTC (9 years, 6 months ago) by rousseau
changed back PCSCLITE_MAX_READERS_CONTEXTS from 256 to 16. 16 readers is
clearly enough for most users. The correct solution is to use a list
instead of an array.

Revision 539 - Directory Listing
Modified Thu Oct 30 17:08:19 2003 UTC (9 years, 6 months ago) by rousseau
remove definition of PCSCLITE_MAX_COMSIZE (Maximum arg size) now useless

Revision 538 - Directory Listing
Modified Thu Oct 30 17:07:13 2003 UTC (9 years, 6 months ago) by rousseau
- send debug to syslog by default
- send debug to stderr if --foreground|-f is used (no need to add
  --debug stderr anymore)
- use strcmp() instead of strncmp() in --debug parsing since one
  argument has a fixed size anyway
- define and use TRUE/FALSE constants

Revision 537 - Directory Listing
Modified Thu Oct 30 17:02:31 2003 UTC (9 years, 6 months ago) by rousseau
remove log to a file service since it was not used.

Revision 527 - Directory Listing
Modified Wed Oct 29 15:02:25 2003 UTC (9 years, 6 months ago) by sauveron-guest
Add the option [-a] to the usage of pcscd

Revision 526 - Directory Listing
Modified Wed Oct 29 13:24:25 2003 UTC (9 years, 6 months ago) by sauveron-guest
Solve a problem of recognizition by serviceconf (patch from Tommaso Cucinotta)

Revision 519 - Directory Listing
Modified Thu Oct 23 21:57:06 2003 UTC (9 years, 7 months ago) by sauveron-guest
Sorry I have done an error in the name that I want! Now it is the good name for this structure

Revision 518 - Directory Listing
Modified Thu Oct 23 21:27:47 2003 UTC (9 years, 7 months ago) by sauveron-guest
Change the name of a structure to better explain its usage

Revision 517 - Directory Listing
Modified Wed Oct 22 12:44:14 2003 UTC (9 years, 7 months ago) by sauveron-guest
Add a debug message when a client disappears

Revision 516 - Directory Listing
Modified Wed Oct 22 12:43:27 2003 UTC (9 years, 7 months ago) by sauveron-guest
Move a debug message in an other file to have the good client number when it disappears

Revision 515 - Directory Listing
Modified Tue Oct 21 21:00:20 2003 UTC (9 years, 7 months ago) by aet-guest
- Potential security fixes to SCF client

Revision 514 - Directory Listing
Modified Tue Oct 21 20:47:22 2003 UTC (9 years, 7 months ago) by aet-guest
- More merging between the hotplug implementations
- Get rid of some internal limitation defines, there
  seems to be more than enough of these things in
  pcsclite.h already

Revision 513 - Directory Listing
Modified Tue Oct 21 20:00:53 2003 UTC (9 years, 7 months ago) by aet-guest
- Move all common hotplug defines into hotplug.h
- Remove extra LTPBundleFindValueWithKey declarations

Revision 512 - Directory Listing
Modified Tue Oct 21 19:59:18 2003 UTC (9 years, 7 months ago) by aet-guest
- errno.h cleanups

Revision 511 - Directory Listing
Modified Tue Oct 21 19:28:26 2003 UTC (9 years, 7 months ago) by aet-guest
- Forgot to commit

Revision 510 - Directory Listing
Modified Tue Oct 21 19:27:03 2003 UTC (9 years, 7 months ago) by aet-guest
- Remove win32_pcsclite.h, it's out of sync anyway and the one
  who wishes to use pcsc-lite under win32 platform in any
  situation should probably patch src/pcsclite.h and renew
  win32/config.h.

Revision 509 - Directory Listing
Modified Mon Oct 20 19:59:07 2003 UTC (9 years, 7 months ago) by sauveron-guest
Increase the max readers contexts value

Revision 508 - Directory Listing
Modified Mon Oct 20 19:58:25 2003 UTC (9 years, 7 months ago) by sauveron-guest
Support of 255 readers max

Revision 507 - Directory Listing
Modified Mon Oct 20 19:56:36 2003 UTC (9 years, 7 months ago) by sauveron-guest
Correct a bug introduce by me. Sorry. It will be good in the future to improve this part

Revision 506 - Directory Listing
Modified Mon Oct 20 16:48:43 2003 UTC (9 years, 7 months ago) by sauveron-guest
Correct with the goods concepts constants

Revision 505 - Directory Listing
Modified Mon Oct 20 16:46:22 2003 UTC (9 years, 7 months ago) by sauveron-guest
Change variables names

Revision 504 - Directory Listing
Modified Mon Oct 20 16:32:04 2003 UTC (9 years, 7 months ago) by sauveron-guest
Correct with the goods concepts constants, correct some comments and variable name

Revision 503 - Directory Listing
Modified Mon Oct 20 16:15:13 2003 UTC (9 years, 7 months ago) by sauveron-guest
Correct with the goods concepts constants

Revision 502 - Directory Listing
Modified Mon Oct 20 16:08:34 2003 UTC (9 years, 7 months ago) by sauveron-guest
Correct with the goods concepts constants

Revision 501 - Directory Listing
Modified Mon Oct 20 15:53:28 2003 UTC (9 years, 7 months ago) by sauveron-guest
Correct with the good concept

Revision 500 - Directory Listing
Modified Mon Oct 20 15:51:07 2003 UTC (9 years, 7 months ago) by sauveron-guest
Introduce the limitations about the concepts

Revision 499 - Directory Listing
Modified Mon Oct 20 15:49:19 2003 UTC (9 years, 7 months ago) by sauveron-guest
A clean up.

Revision 498 - Directory Listing
Modified Mon Oct 20 15:38:45 2003 UTC (9 years, 7 months ago) by sauveron-guest
Add a description of PC/SC Lite Concepts.

Revision 497 - Directory Listing
Modified Sat Oct 18 20:00:01 2003 UTC (9 years, 7 months ago) by rousseau
put back the GNU GPL license since it is not protected by the BSD
license used by the other files.

Revision 496 - Directory Listing
Modified Sat Oct 18 18:24:00 2003 UTC (9 years, 7 months ago) by aet-guest
- Unify the copyright/description header part for most of the files

Revision 495 - Directory Listing
Modified Sat Oct 18 17:19:36 2003 UTC (9 years, 7 months ago) by aet-guest
- Unify the copyright/description header part for most of the files

Revision 494 - Directory Listing
Modified Sat Oct 18 14:29:40 2003 UTC (9 years, 7 months ago) by aet-guest
- Remove USB bundle platform (Linux) hardcoding and replace
  it with PCSC_ARCH.

Revision 491 - Directory Listing
Modified Wed Oct 15 20:32:34 2003 UTC (9 years, 7 months ago) by rousseau
the release number was wrong :-)

Revision 490 - Directory Listing
Modified Wed Oct 15 20:29:29 2003 UTC (9 years, 7 months ago) by rousseau
release 1.2.0-rc3

Revision 489 - Directory Listing
Modified Wed Oct 15 20:28:48 2003 UTC (9 years, 7 months ago) by rousseau
Antti Tapaninen and Damien Sauveron have now their names in ChangeLog.cvs

Revision 488 - Directory Listing
Modified Wed Oct 15 20:27:55 2003 UTC (9 years, 7 months ago) by rousseau
correct a typo

Revision 487 - Directory Listing
Modified Wed Oct 15 17:40:49 2003 UTC (9 years, 7 months ago) by rousseau
perform a round-robbin among clients to avoid starvation under heavy
load. Patch from Bettina Martelli.

Revision 486 - Directory Listing
Modified Wed Oct 15 08:56:11 2003 UTC (9 years, 7 months ago) by sauveron-guest
Verify the availabilty of the daemon before to try a connection.

Revision 485 - Directory Listing
Modified Mon Oct 13 20:26:03 2003 UTC (9 years, 7 months ago) by sauveron-guest
Add a verification before to release a context.

Revision 484 - Directory Listing
Modified Sat Oct 4 09:15:44 2003 UTC (9 years, 7 months ago) by sauveron-guest
correct the typo

Revision 483 - Directory Listing
Modified Tue Sep 30 21:01:35 2003 UTC (9 years, 7 months ago) by rousseau
SCardEstablishContextTH: print the shared file name if open fails

Revision 482 - Directory Listing
Modified Tue Sep 30 20:13:25 2003 UTC (9 years, 7 months ago) by rousseau
send debug to stdout only if the environment variable MUSCLECARD_DEBUG
is defined

Revision 481 - Directory Listing
Modified Tue Sep 30 20:08:53 2003 UTC (9 years, 7 months ago) by rousseau
having a trailing / in MSC_SVC_DROPDIR (--enable-muscledropdir) is no more mandatory

Revision 480 - Directory Listing
Modified Tue Sep 30 19:56:14 2003 UTC (9 years, 7 months ago) by rousseau
print the directory name with the error message if opendir failed

Revision 479 - Directory Listing
Modified Mon Sep 29 14:05:26 2003 UTC (9 years, 7 months ago) by sauveron-guest
Clean up 2 memory leaks

Revision 478 - Directory Listing
Modified Mon Sep 29 13:35:45 2003 UTC (9 years, 7 months ago) by sauveron-guest
Clean up the mutex when a reader is removed if needed. This is a memory leak

Revision 477 - Directory Listing
Modified Mon Sep 29 13:33:14 2003 UTC (9 years, 7 months ago) by sauveron-guest
Add a field needed for clean up the mutex when a reader is removed. This is needed since the support of simultaneous access to slots of a multi-slot reader or identical reader using the same ifdhandler

Revision 476 - Directory Listing
Modified Mon Sep 29 11:19:11 2003 UTC (9 years, 7 months ago) by sauveron-guest
Correct a bug introduced by me and add a copyright.

Revision 474 - Directory Listing
Modified Sat Sep 27 16:09:29 2003 UTC (9 years, 7 months ago) by rousseau
add a new pkg-config file for application using libmusclecard. Closes
"[ #300102 ] Should the pkgconfig file of 1.2.0-rc2 have -lmusclecard?"

Revision 473 - Directory Listing
Modified Wed Sep 24 14:15:59 2003 UTC (9 years, 8 months ago) by sauveron-guest
Some clean up on the debug message and indentation.

Revision 472 - Directory Listing
Modified Wed Sep 24 11:17:06 2003 UTC (9 years, 8 months ago) by sauveron-guest
Move some code to a better position.

Revision 471 - Directory Listing
Modified Tue Sep 23 23:57:50 2003 UTC (9 years, 8 months ago) by sauveron-guest
Some cleanups.

Revision 470 - Directory Listing
Modified Tue Sep 23 16:39:38 2003 UTC (9 years, 8 months ago) by rousseau
--enable-libusb was not working correctly is the lib is not installed in
/usr or /usr/local

Revision 469 - Directory Listing
Modified Tue Sep 23 12:28:18 2003 UTC (9 years, 8 months ago) by sauveron-guest
Solve the problem of never exiting the loop when a smartcard is already inserted in the reader, thus blocking the application.

Revision 458 - Directory Listing
Modified Mon Sep 22 13:15:24 2003 UTC (9 years, 8 months ago) by rousseau
initialize valueLength just before the call to IFDGetCapabilities().

Revision 457 - Directory Listing
Modified Mon Sep 22 12:59:32 2003 UTC (9 years, 8 months ago) by rousseau
initialize dwGetSize to the size of the value buffer before calling
IFDGetCapabilities().

Revision 456 - Directory Listing
Modified Mon Sep 22 12:14:25 2003 UTC (9 years, 8 months ago) by rousseau
use a local output buffer instead of a global one to be thread safe

Revision 454 - Directory Listing
Modified Fri Sep 19 12:36:23 2003 UTC (9 years, 8 months ago) by rousseau
use AC_HELP_STRING() for a pretty look of `configure --help'

Revision 452 - Directory Listing
Modified Thu Sep 18 06:11:48 2003 UTC (9 years, 8 months ago) by sauveron-guest
Add the support of simultaneous access on different slots of a reader if the handling is thread safe.

Revision 451 - Directory Listing
Modified Thu Sep 18 06:10:21 2003 UTC (9 years, 8 months ago) by sauveron-guest
Add the tag TAG_IFD_SLOT_THREAD_SAFE for testing if the handling of the slots is thread safe.

Revision 450 - Directory Listing
Modified Wed Sep 17 13:03:20 2003 UTC (9 years, 8 months ago) by sauveron-guest
Add a full clean up when there is no space for adding all the slots of a multi-slots reader.

Revision 449 - Directory Listing
Modified Wed Sep 17 12:11:27 2003 UTC (9 years, 8 months ago) by sauveron-guest
Clean up in the RFRemoveReader.

Revision 447 - Directory Listing
Modified Tue Sep 16 15:54:02 2003 UTC (9 years, 8 months ago) by aet-guest
Put back -rdynamic to pcscd linking because of some
IFD drivers. IMHO this is wrong, but what can you do.

Revision 446 - Directory Listing
Modified Tue Sep 16 15:50:55 2003 UTC (9 years, 8 months ago) by aet-guest
Put back AC_PROG_CPP, it has nothing to do with C++.

Revision 442 - Directory Listing
Modified Tue Sep 16 13:54:25 2003 UTC (9 years, 8 months ago) by rousseau
remove useless AC_PROG_CPP (no C++ code in pcsc-lite)

Revision 440 - Directory Listing
Modified Tue Sep 16 13:50:32 2003 UTC (9 years, 8 months ago) by rousseau
-rc3 version (configure.in and src/pcsclite.h _shall_ be in sync)

Revision 439 - Directory Listing
Modified Tue Sep 16 13:49:20 2003 UTC (9 years, 8 months ago) by rousseau
remove / at the end of usbdropdir, muscledropdir and ipcdir to be more
homogeneous

Revision 435 - Directory Listing
Modified Mon Sep 15 13:55:47 2003 UTC (9 years, 8 months ago) by sauveron-guest
Add the support of simultaneous access on the thread safe IFD.

Revision 434 - Directory Listing
Modified Mon Sep 15 13:52:23 2003 UTC (9 years, 8 months ago) by sauveron-guest
Add the tag TAG_IFD_THREAD_SAFE for testing if the IFD is thread safe.

Revision 433 - Directory Listing
Modified Mon Sep 15 06:17:06 2003 UTC (9 years, 8 months ago) by aet-guest
Updates to requirements and tested platforms

Revision 432 - Directory Listing
Modified Thu Sep 11 21:25:38 2003 UTC (9 years, 8 months ago) by sauveron-guest
Better explanation of a comment.

Revision 431 - Directory Listing
Modified Thu Sep 11 21:19:53 2003 UTC (9 years, 8 months ago) by sauveron-guest
Cleanup a condition unused and undo some of my previous changes.

Revision 430 - Directory Listing
Modified Thu Sep 11 10:01:49 2003 UTC (9 years, 8 months ago) by aet-guest
Add new files needed by the new bootstrap

Revision 429 - Directory Listing
Modified Thu Sep 11 10:00:31 2003 UTC (9 years, 8 months ago) by aet-guest
Remove build/ directory

Revision 428 - Directory Listing
Modified Thu Sep 11 10:00:05 2003 UTC (9 years, 8 months ago) by aet-guest
- Simplify the bootstrapping mechanism
- Remove reconf

Revision 427 - Directory Listing
Modified Thu Sep 11 09:58:05 2003 UTC (9 years, 8 months ago) by aet-guest
Remove config.h.in, doesn't belong to the repository

Revision 426 - Directory Listing
Modified Thu Sep 11 09:47:41 2003 UTC (9 years, 8 months ago) by aet-guest
Rename win32_config.h to config.h

Revision 419 - Directory Listing
Modified Wed Sep 10 09:47:14 2003 UTC (9 years, 8 months ago) by sauveron-guest
Cleanup about variables already initialized and indent of some comments

Revision 416 - Directory Listing
Modified Wed Sep 10 09:24:56 2003 UTC (9 years, 8 months ago) by sauveron-guest
Add a comment about the usage of DebugLogC

Revision 401 - Directory Listing
Modified Mon Sep 8 18:52:31 2003 UTC (9 years, 8 months ago) by aet-guest
Warning fix for PCSCLITE_HP_DROPDIR being already defined

Revision 400 - Directory Listing
Modified Mon Sep 8 12:25:49 2003 UTC (9 years, 8 months ago) by aet-guest
HP-UX build fix, add sanity checks to not to use dlfcn
if there's native dynamic loading interface available,
like HP-UX and MacOS X does.

The other option would be just to merge all dynamic
loading routines into one file, a lot simpler solution.

Revision 399 - Directory Listing
Modified Mon Sep 8 12:05:27 2003 UTC (9 years, 8 months ago) by aet-guest
Bootstrap update

Revision 398 - Directory Listing
Modified Mon Sep 8 12:05:08 2003 UTC (9 years, 8 months ago) by aet-guest
Finish SCF build support, add sanity checks

Revision 397 - Directory Listing
Modified Mon Sep 8 12:04:31 2003 UTC (9 years, 8 months ago) by aet-guest
Add winscard_scf.c to EXTRA_DIST

Revision 396 - Directory Listing
Modified Mon Sep 8 12:04:13 2003 UTC (9 years, 8 months ago) by aet-guest
Build fixes, add dummy SCardUnload()

Revision 395 - Directory Listing
Modified Mon Sep 8 11:25:20 2003 UTC (9 years, 8 months ago) by aet-guest
Bootstrap update

Revision 394 - Directory Listing
Modified Mon Sep 8 11:25:08 2003 UTC (9 years, 8 months ago) by aet-guest
- Make hotpluging / power management to compile again
- Add MacOS X build fixes

Revision 393 - Directory Listing
Modified Mon Sep 8 11:23:57 2003 UTC (9 years, 8 months ago) by aet-guest
Add necessary ifdef's

Revision 392 - Directory Listing
Modified Mon Sep 8 11:21:49 2003 UTC (9 years, 8 months ago) by aet-guest
Include hotplug.h to avoid warning message

Revision 391 - Directory Listing
Modified Mon Sep 8 11:21:14 2003 UTC (9 years, 8 months ago) by aet-guest
Build fix for MacOS X, don't bother including
from <PCSC/..>, use standard header locations.

Revision 390 - Directory Listing
Modified Mon Sep 8 11:18:55 2003 UTC (9 years, 8 months ago) by aet-guest
Back out socklen_t change that I made

Revision 389 - Directory Listing
Modified Mon Sep 8 10:36:09 2003 UTC (9 years, 8 months ago) by aet-guest
Very minor cleanups

Revision 388 - Directory Listing
Modified Mon Sep 8 10:35:59 2003 UTC (9 years, 8 months ago) by aet-guest
Add missing config.h

Revision 387 - Directory Listing
Modified Mon Sep 8 10:10:46 2003 UTC (9 years, 8 months ago) by aet-guest
- Remove --with-common-dir and overly complex libsocket, libresolv
  etc. probes that I added. Probe only for socket() in libsocket.
- Reorder --disable-threadsafe code, needed to get over some
  libtool issues for various platforms.

Revision 386 - Directory Listing
Modified Mon Sep 8 10:06:48 2003 UTC (9 years, 8 months ago) by aet-guest
Fix --disable-threadsafe issues

Revision 385 - Directory Listing
Modified Mon Sep 8 09:56:31 2003 UTC (9 years, 8 months ago) by aet-guest
Don't mention -lposix4 for Solaris, AFAIK it's not needed
anymore.

Revision 384 - Directory Listing
Modified Mon Sep 8 09:51:46 2003 UTC (9 years, 8 months ago) by aet-guest
Fix compiler warning when compiling with --disable-threadsafe

Revision 383 - Directory Listing
Modified Mon Sep 8 08:50:50 2003 UTC (9 years, 8 months ago) by aet-guest
AIX build fix, convert // comments into /* */ blocks.

Revision 382 - Directory Listing
Modified Sun Sep 7 20:36:48 2003 UTC (9 years, 8 months ago) by rousseau
remove useless \n in debug message strings

Revision 381 - Directory Listing
Modified Sun Sep 7 20:28:53 2003 UTC (9 years, 8 months ago) by aet-guest
Build fixes. The first version that actually compiles for
Linux, Solaris, Tru64 and AIX after src/Makefile.am and
configure.in modifications.

- Untested
- No hotplug/power management support
- Untested for *BSD, MacOS X and HP-UX,
  there's other things to do before even
  trying to compile.

Revision 380 - Directory Listing
Modified Sun Sep 7 18:06:58 2003 UTC (9 years, 8 months ago) by aet-guest
- Cleanups for #include logic and ordering,
  it's better to include config.h first.

Revision 379 - Directory Listing
Modified Sun Sep 7 18:05:23 2003 UTC (9 years, 8 months ago) by aet-guest
Checkpoint commit + bootstrap update

Revision 378 - Directory Listing
Modified Sun Sep 7 17:57:34 2003 UTC (9 years, 8 months ago) by aet-guest
- Polish and unify Makefiles a bit
- More work towards working src/Makefile.am

Revision 377 - Directory Listing
Modified Sun Sep 7 17:34:42 2003 UTC (9 years, 8 months ago) by aet-guest
- 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.

Revision 376 - Directory Listing
Modified Sun Sep 7 17:26:20 2003 UTC (9 years, 8 months ago) by aet-guest
Merged some changes from OpenSC

Revision 375 - Directory Listing
Modified Sun Sep 7 17:20:22 2003 UTC (9 years, 8 months ago) by aet-guest
- Removed most of the duplicated code, replaced
  with the usage of config.h's defines for
  portability issues:
  - Merged dyn_{bsd,unix}.c, left as dyn_unix.c
  - Merged thread_{macosx,unix}.c, left as thread_unix.c
  - Merged sys_{hpux,solaris,unix}.c, left as sys_unix.c
- Removed MSC_ thread API from generic / win32,
  they're not used.

Starting from now, the source tree might be broken for a
few hours or even days. Sorry about that.

Revision 374 - Directory Listing
Modified Fri Sep 5 21:06:22 2003 UTC (9 years, 8 months ago) by rousseau
add #include <unistd.h> to avoid an "implicit declaration of function `getpid'"

Revision 372 - Directory Listing
Modified Thu Sep 4 20:52:00 2003 UTC (9 years, 8 months ago) by rousseau
release 1.2.0-rc2

Revision 371 - Directory Listing
Modified Thu Sep 4 20:51:10 2003 UTC (9 years, 8 months ago) by rousseau
add thread_win32.c in the distribution

Revision 370 - Directory Listing
Modified Thu Sep 4 20:37:10 2003 UTC (9 years, 8 months ago) by rousseau
remove a _stupid_ bug that linked libpcsclite with libusb. Also generate
libmusclecard and remove musclecard code from libpcsclite.

Revision 369 - Directory Listing
Modified Thu Sep 4 20:35:14 2003 UTC (9 years, 8 months ago) by rousseau
removed since they have nothing to do in CVS. They are generated from .l files

Revision 368 - Directory Listing
Modified Thu Sep 4 20:33:19 2003 UTC (9 years, 8 months ago) by rousseau
add #include <string.h>

Revision 367 - Directory Listing
Modified Thu Sep 4 18:34:33 2003 UTC (9 years, 8 months ago) by rousseau
add prototype for SCardUnload()

Revision 358 - Directory Listing
Modified Wed Sep 3 21:13:03 2003 UTC (9 years, 8 months ago) by rousseau
add a call to SCardUnload(). This is not mandatory, just cleaner.

Revision 357 - Directory Listing
Modified Wed Sep 3 21:10:50 2003 UTC (9 years, 8 months ago) by rousseau
add SCardUnload() function to free allocated resources. It is mandatory
only if you use dlopen/dlclose to often load/unload the library. Otherwise
you will exhaust the ressources available and get a crash. Thanks to
Guy Moreillon for the patch.

Revision 356 - Directory Listing
Modified Tue Sep 2 16:07:27 2003 UTC (9 years, 8 months ago) by rousseau
remove reference to USE_SYSLOG since it is replaced by --debug command
line argument

Revision 355 - Directory Listing
Modified Sun Aug 31 21:56:45 2003 UTC (9 years, 8 months ago) by rousseau
remove documentation about --enable-syslog since it is not used anymore
by ./configure

Revision 354 - Directory Listing
Modified Sun Aug 31 21:52:03 2003 UTC (9 years, 8 months ago) by rousseau
refer to ChangeLog instead of containing the version number

Revision 353 - Directory Listing
Modified Fri Aug 29 14:00:14 2003 UTC (9 years, 8 months ago) by corcoran-guest
Removed advertising clause

Revision 349 - Directory Listing
Modified Thu Aug 28 13:34:08 2003 UTC (9 years, 8 months ago) by rousseau
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.

Revision 348 - Directory Listing
Modified Thu Aug 28 13:32:29 2003 UTC (9 years, 8 months ago) by rousseau
print SW (status word) in hex instead of decimal

Revision 347 - Directory Listing
Modified Thu Aug 28 13:31:42 2003 UTC (9 years, 8 months ago) by rousseau
add rules to build muscletest. testpcsc is no more executed by make distcheck

Revision 346 - Directory Listing
Modified Thu Aug 28 13:29:59 2003 UTC (9 years, 8 months ago) by rousseau
do not distribute pcscd.8 bundleTool.8 since they are generated from the
.in versions by ./configure

Revision 345 - Directory Listing
Modified Thu Aug 28 13:29:02 2003 UTC (9 years, 8 months ago) by rousseau
to not set use_libusb=false in case the argument is "" | "yes" | "YES"

Revision 344 - Directory Listing
Modified Thu Aug 28 13:26:40 2003 UTC (9 years, 8 months ago) by rousseau
move ChangeLog.cvs to DISTCLEANFILES to avoid an error with 'make distcheck'

Revision 337 - Directory Listing
Modified Tue Aug 26 19:33:02 2003 UTC (9 years, 8 months ago) by rousseau
release 1.2.0-rc1

Revision 336 - Directory Listing
Modified Tue Aug 26 14:29:01 2003 UTC (9 years, 8 months ago) by rousseau
move addition of -lusb since it is selected by default.

Revision 334 - Directory Listing
Modified Tue Aug 26 13:38:58 2003 UTC (9 years, 8 months ago) by rousseau
disable USB debug by default

Revision 333 - Directory Listing
Modified Tue Aug 26 13:20:41 2003 UTC (9 years, 8 months ago) by rousseau
add a note about deprecation of --enable-usb

Revision 332 - Directory Listing
Modified Tue Aug 26 13:14:28 2003 UTC (9 years, 8 months ago) by rousseau
--enable-usb is deprecated and off by default. Use --enable-libusb instead.

Revision 331 - Directory Listing
Modified Tue Aug 26 13:13:32 2003 UTC (9 years, 8 months ago) by rousseau
add example subdirectory

Revision 330 - Directory Listing
Modified Tue Aug 26 13:12:46 2003 UTC (9 years, 8 months ago) by rousseau
complete redesign to support up to PCSCLITE_MAX_READERS readers whatever
the driver they use (correct bug [ #300067 ] More than 4 Hotplug Readers in
the same time on Linux)

Revision 329 - Directory Listing
Modified Tue Aug 26 13:08:53 2003 UTC (9 years, 8 months ago) by rousseau
define PCSCLITE_MAX_READERS as the maximum number of readers

Revision 325 - Directory Listing
Modified Mon Aug 25 08:55:37 2003 UTC (9 years, 8 months ago) by rousseau
correct bug #300063: PCSCd reports card is present when there is no card in the reader.

Revision 324 - Directory Listing
Modified Mon Aug 25 08:10:48 2003 UTC (9 years, 9 months ago) by rousseau
reindentation

Revision 323 - Directory Listing
Modified Mon Aug 25 08:01:16 2003 UTC (9 years, 9 months ago) by rousseau
free(evlist->tokenArray), avoid a memory leak (Toni Andjelkovic)

Revision 320 - Directory Listing
Modified Fri Aug 22 13:36:12 2003 UTC (9 years, 9 months ago) by rousseau
demo of a C program using the pcsc-lite API

Revision 315 - Directory Listing
Modified Thu Aug 21 17:27:53 2003 UTC (9 years, 9 months ago) by rousseau
typo in comments

Revision 313 - Directory Listing
Modified Wed Aug 20 15:14:18 2003 UTC (9 years, 9 months ago) by rousseau
Sometimes unknown APDUs were being transmitted when 'SCardStatus'
function was invoked (close #300061)

Revision 312 - Directory Listing
Modified Wed Aug 20 15:09:37 2003 UTC (9 years, 9 months ago) by rousseau
return SCARD_E_INVALID_PARAMETER for APDU of less than 4 bytes (close #300062)

Revision 311 - Directory Listing
Modified Wed Aug 20 14:57:50 2003 UTC (9 years, 9 months ago) by rousseau
initialise pConnection->shareMode as early as possible (close #300064,
thanks to Wan-Teh Chang)

Revision 310 - Directory Listing
Modified Wed Aug 20 14:49:28 2003 UTC (9 years, 9 months ago) by rousseau
correct and remove unused types (close bug #300071)

Revision 298 - Directory Listing
Modified Wed Aug 20 08:12:59 2003 UTC (9 years, 9 months ago) by rousseau
Add support of reader aliases using <array></array>

Revision 297 - Directory Listing
Modified Wed Aug 20 08:12:29 2003 UTC (9 years, 9 months ago) by rousseau
add empty HPRegisterForHotplugEvents() function

Revision 296 - Directory Listing
Modified Tue Aug 19 09:27:43 2003 UTC (9 years, 9 months ago) by rousseau
Add support of PCMCIA for MacOS X and major redesign of the hotplug
support (thanks to Stephen M. Webb for the patch)

Revision 295 - Directory Listing
Modified Tue Aug 19 07:45:58 2003 UTC (9 years, 9 months ago) by rousseau
use <errno.h> instead of <sys/errno.h>

Revision 294 - Directory Listing
Modified Mon Aug 18 16:28:38 2003 UTC (9 years, 9 months ago) by rousseau
use #ifdef DEBUG_USB_HOTPLUG for USB debug messages

Revision 293 - Directory Listing
Modified Mon Aug 18 12:15:19 2003 UTC (9 years, 9 months ago) by rousseau
remove unneeded \n in debug messages

Revision 292 - Directory Listing
Modified Mon Aug 18 09:05:37 2003 UTC (9 years, 9 months ago) by rousseau
 #include <wintypes.h> even on MacOS X

Revision 291 - Directory Listing
Modified Mon Aug 18 09:03:18 2003 UTC (9 years, 9 months ago) by rousseau
do not look for PCSC/pcsclite.h but pcsclite.h even on MacOS X

Revision 290 - Directory Listing
Modified Mon Aug 18 08:04:06 2003 UTC (9 years, 9 months ago) by rousseau
add #include <sys/types.h> for FreeBSD (thanks Toni Andjelkovic)

Revision 289 - Directory Listing
Modified Fri Aug 15 20:07:53 2003 UTC (9 years, 9 months ago) by rousseau
add void argument to the MSCCallbackCancelEvent() prototype definition
(thanks to Toni Andjelkovic)

Revision 288 - Directory Listing
Modified Fri Aug 15 09:10:34 2003 UTC (9 years, 9 months ago) by rousseau
use *linux* instead of linux-gnu (patch from Toni Andjelkovic)

Revision 287 - Directory Listing
Modified Fri Aug 15 09:08:32 2003 UTC (9 years, 9 months ago) by rousseau
conditionnaly print hotplug debug messages. look for DEBUG_USB_HOTPLUG at the
begining of the file.

Revision 286 - Directory Listing
Modified Fri Aug 15 09:06:55 2003 UTC (9 years, 9 months ago) by rousseau
use FILENAME_MAX instead of manually defined values. Use snprintf()
instead of sprintf() to fill filenames.

Revision 285 - Directory Listing
Modified Thu Aug 14 16:46:01 2003 UTC (9 years, 9 months ago) by rousseau
add s/corcoran-guest /David Corcoran /;

Revision 284 - Directory Listing
Modified Thu Aug 14 16:36:00 2003 UTC (9 years, 9 months ago) by rousseau
new generated version

Revision 283 - Directory Listing
Modified Thu Aug 14 16:35:41 2003 UTC (9 years, 9 months ago) by rousseau
do not remove build/aclocal.m4 anymore

Revision 282 - Directory Listing
Modified Thu Aug 14 16:35:11 2003 UTC (9 years, 9 months ago) by rousseau
add parser.h in pcscd_SOURCES

Revision 281 - Directory Listing
Modified Thu Aug 14 14:41:38 2003 UTC (9 years, 9 months ago) by rousseau
cast sizeof() with (int) to avoid a warning under MacOS X

Revision 280 - Directory Listing
Modified Thu Aug 14 13:19:36 2003 UTC (9 years, 9 months ago) by rousseau
add "Copyright (C) 2001-2003 by Ludovic Rousseau" for the version (-v) output.

Revision 267 - Directory Listing
Modified Mon Aug 11 10:03:07 2003 UTC (9 years, 9 months ago) by rousseau
regenerated but should not be in CVS

Revision 266 - Directory Listing
Modified Mon Aug 11 09:55:58 2003 UTC (9 years, 9 months ago) by rousseau
change filename in comment

Revision 265 - Directory Listing
Modified Mon Aug 11 09:55:36 2003 UTC (9 years, 9 months ago) by rousseau
add LTPBundleFindValueWithKey() function prototype

Revision 264 - Directory Listing
Modified Mon Aug 11 08:00:37 2003 UTC (9 years, 9 months ago) by rousseau
use a size of 200 bytes instead of 256 otherwise it will break every
drivers using the pcscd tokenparser (buffer overflow in the driver).

Revision 263 - Directory Listing
Modified Sun Aug 10 21:59:09 2003 UTC (9 years, 9 months ago) by rousseau
add support of libusb

Revision 262 - Directory Listing
Modified Sun Aug 10 21:54:43 2003 UTC (9 years, 9 months ago) by rousseau
define maximum buffer lengths and avoid possible buffer overflows

Revision 261 - Directory Listing
Modified Fri Aug 8 07:03:04 2003 UTC (9 years, 9 months ago) by rousseau
pcscd is in section 8 not 1

Revision 260 - Directory Listing
Modified Fri Jul 4 17:59:52 2003 UTC (9 years, 10 months ago) by rousseau
Installation of the pkgconfig file did not honor libdir. Thanks to Ville
Skytt� for the patch (alioth patch #300045)

Revision 259 - Directory Listing
Modified Wed Jun 25 20:10:44 2003 UTC (9 years, 10 months ago) by rousseau
#include stdint.h only if HAVE_STDINT_H is defined since some platforms
do not have stdint.h (Windows, FreeBSD, etc.)

Revision 257 - Directory Listing
Modified Thu Jun 5 00:47:21 2003 UTC (9 years, 11 months ago) by corcoran-guest
fixed MSC_Mutex functions to point to the SYS_Mutex functions

Revision 256 - Directory Listing
Modified Wed Jun 4 16:52:39 2003 UTC (9 years, 11 months ago) by corcoran-guest
Commiting these files

Revision 254 - Directory Listing
Modified Fri May 30 21:45:23 2003 UTC (9 years, 11 months ago) by rousseau
release 1.1.2beta5

Revision 253 - Directory Listing
Modified Fri May 30 21:44:42 2003 UTC (9 years, 11 months ago) by rousseau
remove $ac_aux_dir/aclocal.m4 after use to limit the size of the .tar.gz

Revision 252 - Directory Listing
Modified Fri May 30 20:46:44 2003 UTC (9 years, 11 months ago) by rousseau
remove winscard_msg.c from pcscd_SOURCES since it is already included
in libpcsclite_core_la_SOURCES used by pcscd_LDADD

Revision 251 - Directory Listing
Modified Fri May 30 20:34:56 2003 UTC (9 years, 11 months ago) by rousseau
new version from automake 1.7.5

Revision 250 - Directory Listing
Modified Fri May 30 20:17:45 2003 UTC (9 years, 11 months ago) by rousseau
removed since generated from doc/Makefile.am

Revision 249 - Directory Listing
Modified Fri May 30 16:43:46 2003 UTC (9 years, 11 months ago) by rousseau
the CVS files are now on alioth.debian.org so change the path to remove
to generate the ChangeLog.cvs file

Revision 248 - Directory Listing
Modified Fri May 30 15:50:44 2003 UTC (9 years, 11 months ago) by rousseau
SCardStatusTH(): simplify code and return correct results when buffers
are too short or NULL is used

Revision 247 - Directory Listing
Modified Fri May 30 15:48:41 2003 UTC (9 years, 11 months ago) by rousseau
SCardStatus(): do not return before filling buffers

Revision 246 - Directory Listing
Modified Fri May 30 15:45:28 2003 UTC (9 years, 11 months ago) by rousseau
small cleanup

Revision 245 - Directory Listing
Modified Fri May 30 11:35:57 2003 UTC (9 years, 11 months ago) by rousseau
removed from CVS since generated from doc/Makefile.am

Revision 244 - Directory Listing
Modified Fri May 30 11:34:03 2003 UTC (9 years, 11 months ago) by rousseau
regenerated but they should not be in CVS

Revision 243 - Directory Listing
Modified Fri May 30 11:33:05 2003 UTC (9 years, 11 months ago) by rousseau
define ret as int

Revision 242 - Directory Listing
Modified Fri May 30 11:27:41 2003 UTC (9 years, 11 months ago) by rousseau
correct arguments order of ylwrap script

Revision 241 - Directory Listing
Modified Fri May 30 11:26:25 2003 UTC (9 years, 11 months ago) by rousseau
replace gets() by fgets() to avoid buffer overflow.
Use sizeof() instead of constants.
do not use strdup() since it is useless.
print error messages when needed.

Revision 240 - Directory Listing
Modified Wed May 28 07:26:17 2003 UTC (9 years, 11 months ago) by rousseau
used to generated a pkg-config ".pc" file (thanks to Andreas Jellinghaus
for the idea and the patch)

Revision 239 - Directory Listing
Modified Wed May 28 07:24:13 2003 UTC (9 years, 11 months ago) by rousseau
removed from CVS since they are (re)generated by ./bootstrap

Revision 238 - Directory Listing
Modified Wed May 28 07:21:10 2003 UTC (9 years, 11 months ago) by rousseau
use directory names as use by ./configure

Revision 237 - Directory Listing
Modified Tue May 27 20:25:42 2003 UTC (9 years, 11 months ago) by rousseau
no more useful since tokenparser.* does a better job

Revision 236 - Directory Listing
Modified Tue May 27 20:23:14 2003 UTC (9 years, 11 months ago) by rousseau
do not duplicate fclose/return lines

Revision 235 - Directory Listing
Modified Sun May 25 21:38:17 2003 UTC (10 years ago) by rousseau
include configured path appear in the docs (thanks to Ville Skytt�)

Revision 234 - Directory Listing
Modified Sun May 25 21:37:09 2003 UTC (10 years ago) by rousseau
correct typos and include configured path appear in the docs (thanks to
Ville Skytt�)

Revision 228 - Directory Listing
Modified Mon May 5 20:40:27 2003 UTC (10 years ago) by rousseau
release 1.1.2beta4

Revision 227 - Directory Listing
Modified Mon May 5 20:39:44 2003 UTC (10 years ago) by rousseau
regenerated from src/configfile.c

Revision 226 - Directory Listing
Modified Mon May 5 20:37:49 2003 UTC (10 years ago) by rousseau
regenerated

Revision 225 - Directory Listing
Modified Mon May 5 20:31:18 2003 UTC (10 years ago) by rousseau
regeneration from src/tokenparser.l

Revision 224 - Directory Listing
Modified Mon May 5 20:30:58 2003 UTC (10 years ago) by rousseau
code reindentation, use DebugLogB()/DebugLogC with correct number of
arguments

Revision 223 - Directory Listing
Modified Mon May 5 20:22:15 2003 UTC (10 years ago) by rousseau
avoid possible buffer overflow in pcsc_stringify_error()

Revision 222 - Directory Listing
Modified Mon May 5 15:54:09 2003 UTC (10 years ago) by rousseau
add -pthread for xBSD, use AM_CFLAGS instead of CFLAGS, driverparser.c
no more exists

Revision 221 - Directory Listing
Modified Mon May 5 15:52:55 2003 UTC (10 years ago) by rousseau
use automake 1.7.3

Revision 220 - Directory Listing
Modified Mon May 5 15:52:25 2003 UTC (10 years ago) by rousseau
also tested on Debian 3.0 and OpenBSD 3.2

Revision 219 - Directory Listing
Modified Mon Apr 7 20:43:26 2003 UTC (10 years, 1 month ago) by rousseau
reindent, use DebugLogB instead of DebugLogC, add indice number in debug
message

Revision 218 - Directory Listing
Modified Mon Apr 7 20:25:34 2003 UTC (10 years, 1 month ago) by rousseau
support driver aliases in Info.plist

Revision 217 - Directory Listing
Modified Mon Apr 7 19:29:39 2003 UTC (10 years, 1 month ago) by rousseau
use LTPBundleFindValueWithKey(.., 0) instead of
LCFBundleFindValueWithKey()

Revision 216 - Directory Listing
Modified Mon Apr 7 19:28:10 2003 UTC (10 years, 1 month ago) by rousseau
reindent

Revision 215 - Directory Listing
Modified Mon Apr 7 19:21:35 2003 UTC (10 years, 1 month ago) by rousseau
code simplification

Revision 214 - Directory Listing
Modified Mon Apr 7 19:09:45 2003 UTC (10 years, 1 month ago) by rousseau
add directory name to error message

Revision 213 - Directory Listing
Modified Thu Jan 9 21:02:17 2003 UTC (10 years, 4 months ago) by rousseau
the log output mode (syslog, stdout, stderr) can't be combined. stderr
had precedence (in the code) over stdout that was _never_ used.

Revision 212 - Directory Listing
Modified Sun Dec 8 23:00:03 2002 UTC (10 years, 5 months ago) by rousseau
use pcscd.* instead of pcsc.* to be unoform with pcscd.pid

Revision 211 - Directory Listing
Modified Sat Dec 7 22:38:46 2002 UTC (10 years, 5 months ago) by rousseau
remove pcscd.startup since it is now in etc/

Revision 209 - Directory Listing
Modified Sat Dec 7 22:35:42 2002 UTC (10 years, 5 months ago) by rousseau
release 1.1.2beta3

Revision 208 - Directory Listing
Modified Sat Dec 7 22:25:38 2002 UTC (10 years, 5 months ago) by rousseau
regenerated

Revision 207 - Directory Listing
Modified Sat Dec 7 22:21:23 2002 UTC (10 years, 5 months ago) by rousseau
regenarated

Revision 206 - Directory Listing
Modified Sat Dec 7 22:20:23 2002 UTC (10 years, 5 months ago) by rousseau
create PCSCLITE_IPC_DIR if it does not exist. For example when it is set
to /tmp/pcsc/ (default now is /var/run/)

Revision 205 - Directory Listing
Modified Sat Dec 7 22:19:30 2002 UTC (10 years, 5 months ago) by rousseau
use pcsc.comm instead of pcsc.omm

Revision 204 - Directory Listing
Modified Sat Dec 7 22:04:30 2002 UTC (10 years, 5 months ago) by rousseau
removed. The startup script is in etc/

Revision 203 - Directory Listing
Modified Sat Dec 7 21:35:28 2002 UTC (10 years, 5 months ago) by rousseau
small source code reformating

Revision 202 - Directory Listing
Modified Sat Dec 7 21:29:56 2002 UTC (10 years, 5 months ago) by rousseau
use DebugLogB() for logs with 2 parameters and not DebugLogC()

Revision 201 - Directory Listing
Modified Sat Dec 7 21:29:12 2002 UTC (10 years, 5 months ago) by rousseau
DebugLogC() uses 3 parameters not 2 (use DebugLogB() for that)

Revision 200 - Directory Listing
Modified Sat Dec 7 21:26:38 2002 UTC (10 years, 5 months ago) by rousseau
add filename and error message to error logs for /var/run/pcsc.pub

Revision 199 - Directory Listing
Modified Sat Dec 7 21:14:59 2002 UTC (10 years, 5 months ago) by rousseau
add support of --enable-ipcdir=DIR

Revision 198 - Directory Listing
Modified Sat Dec 7 21:13:25 2002 UTC (10 years, 5 months ago) by rousseau
reorganise conditionals to to have a src/Makefile.in file 142 (yes 142) times
smaller (33 KB instead of 4.7 MB)

Revision 197 - Directory Listing
Modified Sat Dec 7 21:11:35 2002 UTC (10 years, 5 months ago) by rousseau
also distribute etc/pcscd.startup

Revision 196 - Directory Listing
Modified Sat Dec 7 21:11:05 2002 UTC (10 years, 5 months ago) by rousseau
update to autoconf 2.56 (lot of changes).
add --enable-ipcdir=DIR option. Default is now /var/run/ instead of /tmp/pcsc/

Revision 195 - Directory Listing
Modified Sat Dec 7 21:09:29 2002 UTC (10 years, 5 months ago) by rousseau
update for autoconf 2.57 and automake 1.6.3

Revision 194 - Directory Listing
Modified Sat Dec 7 21:08:50 2002 UTC (10 years, 5 months ago) by rousseau
add win32/ files and some rework

Revision 193 - Directory Listing
Modified Fri Dec 6 20:14:39 2002 UTC (10 years, 5 months ago) by rousseau
accept pioRecvPci == NULL in SCardTransmit()

Revision 192 - Directory Listing
Modified Fri Dec 6 18:20:13 2002 UTC (10 years, 5 months ago) by rousseau
source code reformating

Revision 191 - Directory Listing
Modified Fri Dec 6 18:08:26 2002 UTC (10 years, 5 months ago) by rousseau
correct an overflow in SCardGetStatusChange()
replace "if (cReaders > PCSCLITE_MAX_CONTEXTS)" by
"if (cReaders >= PCSCLITE_MAX_CONTEXTS)". Thanks to Michael Nidd

Revision 190 - Directory Listing
Modified Fri Dec 6 18:05:53 2002 UTC (10 years, 5 months ago) by rousseau
init g_rgSCard??Pci variable at compile time

Revision 189 - Directory Listing
Modified Wed Dec 4 21:46:29 2002 UTC (10 years, 5 months ago) by rousseau
add Dmitry Djachenko pacthes

Revision 188 - Directory Listing
Modified Mon Dec 2 21:52:22 2002 UTC (10 years, 5 months ago) by corcoran
Included changes from Citrix
 - Support for AIX in configure.in and Makefile.am
 - added ifdef for SNPRINTF and VSNPRINTF

Revision 187 - Directory Listing
Modified Fri Nov 29 22:55:04 2002 UTC (10 years, 5 months ago) by rousseau
code reformatting

Revision 186 - Directory Listing
Modified Fri Nov 29 22:45:17 2002 UTC (10 years, 5 months ago) by rousseau
initialise g_rgSCard??Pci globals at compile time

Revision 185 - Directory Listing
Modified Fri Nov 29 22:42:39 2002 UTC (10 years, 5 months ago) by rousseau
SCardStatus(): set more return values

Revision 184 - Directory Listing
Modified Fri Nov 29 22:39:39 2002 UTC (10 years, 5 months ago) by rousseau
Check reader name and ATR size are correct (no buffer oveflow)

Revision 183 - Directory Listing
Modified Fri Nov 29 22:37:28 2002 UTC (10 years, 5 months ago) by rousseau
check pioRecvPci is non NULL before assignment

Revision 182 - Directory Listing
Modified Fri Nov 29 22:36:09 2002 UTC (10 years, 5 months ago) by rousseau
SCardReconnect() returns more interesting error codes

Revision 181 - Directory Listing
Modified Wed Oct 30 17:45:34 2002 UTC (10 years, 6 months ago) by rousseau
PHSetProtocol() returns a DWORD and not a UCHAR since
rContext->dwProtocol is a DWORD. Thanks to Oleg Makarenko.

Revision 180 - Directory Listing
Modified Wed Oct 30 17:42:41 2002 UTC (10 years, 6 months ago) by rousseau
include some missing .h files. Thanks to Oleg Makarenko

Revision 179 - Directory Listing
Modified Wed Oct 16 20:09:31 2002 UTC (10 years, 7 months ago) by corcoran
some changes for the Mac

Revision 178 - Directory Listing
Modified Tue Oct 15 19:48:30 2002 UTC (10 years, 7 months ago) by corcoran
Some changes to make SCF easier to use

Revision 176 - Directory Listing
Modified Sat Oct 12 21:51:12 2002 UTC (10 years, 7 months ago) by rousseau
use autoconf instead of autoreconf to not reuse an old config

Revision 175 - Directory Listing
Modified Sat Oct 12 21:37:08 2002 UTC (10 years, 7 months ago) by rousseau
new version of autoregenerating files

Revision 174 - Directory Listing
Modified Sat Oct 12 21:27:29 2002 UTC (10 years, 7 months ago) by rousseau
release 1.1.2beta2

Revision 173 - Directory Listing
Modified Tue Oct 8 22:13:27 2002 UTC (10 years, 7 months ago) by rousseau
do not link with -lpthread under bsd as it breaks under OpenBSD and
FreeBSD

Revision 172 - Directory Listing
Modified Tue Oct 8 21:56:13 2002 UTC (10 years, 7 months ago) by rousseau
use "test x${usbdropdir} = xfalse" instead of "test x${usbdropdir} ==
xfalse" since it generates an error under FreeBSD (test: xfalse:
unexpected operator). For a strange reason the bug was not detected
earlier.

Revision 171 - Directory Listing
Modified Sun Oct 6 21:43:56 2002 UTC (10 years, 7 months ago) by rousseau
use -rdynamic instead of -Wl,--export-dynamic since some systems
(OpenBSD) did not support it

Revision 170 - Directory Listing
Modified Sun Oct 6 20:59:50 2002 UTC (10 years, 7 months ago) by rousseau
add --apdu documentation in --help message
support -a argument even when HAVE_GETOPT_LONG not supported

Revision 169 - Directory Listing
Modified Sun Oct 6 18:22:25 2002 UTC (10 years, 7 months ago) by rousseau
add a (char *) cast to avoid a compilation warning

Revision 168 - Directory Listing
Modified Sun Oct 6 14:25:59 2002 UTC (10 years, 7 months ago) by giraud
Added support for start/stop/restart invocation parameters

Revision 167 - Directory Listing
Modified Sun Oct 6 14:24:39 2002 UTC (10 years, 7 months ago) by giraud
Added #define for support of /var/run/pid. pid file is /var/run/pcscd.pid

Revision 166 - Directory Listing
Modified Sun Oct 6 10:50:02 2002 UTC (10 years, 7 months ago) by rousseau
new version of autoregenerating files

Revision 165 - Directory Listing
Modified Sun Oct 6 10:48:52 2002 UTC (10 years, 7 months ago) by rousseau
add -DPACKAGE and -DVERSION to compilation flags. They are no more
included in config.h

Revision 164 - Directory Listing
Modified Sun Oct 6 10:47:45 2002 UTC (10 years, 7 months ago) by rousseau
change version from 1.1.2beta1 to 1.1.2

Revision 163 - Directory Listing
Modified Sun Oct 6 10:46:33 2002 UTC (10 years, 7 months ago) by rousseau
remove config.h.in to be sure to regenerate it

Revision 162 - Directory Listing
Modified Sat Oct 5 21:58:29 2002 UTC (10 years, 7 months ago) by rousseau
change VERSION number from 1.1.2beta1 to 1.1.2

Revision 161 - Directory Listing
Modified Sat Oct 5 20:29:35 2002 UTC (10 years, 7 months ago) by rousseau
print an error message if the --debug argument is not known

Revision 160 - Directory Listing
Modified Fri Oct 4 20:47:00 2002 UTC (10 years, 7 months ago) by corcoran
quick fix

Revision 159 - Directory Listing
Modified Fri Oct 4 20:43:43 2002 UTC (10 years, 7 months ago) by corcoran
added scf compatibility

Revision 158 - Directory Listing
Modified Fri Oct 4 20:21:53 2002 UTC (10 years, 7 months ago) by corcoran
added helge's fix to WORD

Revision 157 - Directory Listing
Modified Fri Oct 4 19:31:05 2002 UTC (10 years, 7 months ago) by corcoran
fix for osx deadlock on sleep

Revision 156 - Directory Listing
Modified Thu Oct 3 23:35:03 2002 UTC (10 years, 7 months ago) by corcoran
some changes to support multiplle usb readers

Revision 155 - Directory Listing
Modified Thu Oct 3 21:17:21 2002 UTC (10 years, 7 months ago) by rousseau
close PCSCLITE_HP_DROPDIR (/usr/local/pcsc/drivers/) after use

Revision 154 - Directory Listing
Modified Thu Oct 3 05:47:49 2002 UTC (10 years, 7 months ago) by corcoran
added fix by amira

Revision 153 - Directory Listing
Modified Wed Oct 2 22:36:41 2002 UTC (10 years, 7 months ago) by corcoran
added default dropdir

Revision 152 - Directory Listing
Modified Wed Oct 2 21:29:18 2002 UTC (10 years, 7 months ago) by corcoran
added athena patch for SCARD_PROTOCOL_ANY in SCardConnect

Revision 151 - Directory Listing
Modified Wed Oct 2 21:15:43 2002 UTC (10 years, 7 months ago) by corcoran
Fixed multi-reader + sleep problem

Revision 150 - Directory Listing
Modified Wed Oct 2 20:27:47 2002 UTC (10 years, 7 months ago) by corcoran
Re-importing autoconf stuff

Revision 149 - Directory Listing
Modified Wed Oct 2 17:52:51 2002 UTC (10 years, 7 months ago) by giraud
Modified version number from 1.1.0 to 1.1.1

Revision 147 - Directory Listing
Modified Sat Sep 7 15:50:24 2002 UTC (10 years, 8 months ago) by rousseau
Log to stderr by default. Print an error message if --debug argument is
not known.

Revision 145 - Directory Listing
Modified Fri Sep 6 21:23:41 2002 UTC (10 years, 8 months ago) by rousseau
release 1.1.2beta1

Revision 144 - Directory Listing
Modified Fri Sep 6 21:18:14 2002 UTC (10 years, 8 months ago) by rousseau
forgot to add support of --enable-muscledropdir in bundleTool.c

Revision 143 - Directory Listing
Modified Fri Sep 6 21:12:00 2002 UTC (10 years, 8 months ago) by rousseau
add support for --enable-muscledropdir

Revision 142 - Directory Listing
Modified Fri Sep 6 20:31:16 2002 UTC (10 years, 8 months ago) by rousseau
add support for --enable-muscledropdir

Revision 141 - Directory Listing
Modified Fri Sep 6 20:30:32 2002 UTC (10 years, 8 months ago) by rousseau
new versions

Revision 140 - Directory Listing
Modified Fri Sep 6 20:29:20 2002 UTC (10 years, 8 months ago) by rousseau
do not restart ./configure

Revision 139 - Directory Listing
Modified Fri Sep 6 20:28:13 2002 UTC (10 years, 8 months ago) by rousseau
test if a Makfile exists before make distclean

Revision 138 - Directory Listing
Modified Fri Sep 6 19:26:05 2002 UTC (10 years, 8 months ago) by rousseau
The licence file is COPYING and not LICENSE (thanks to Juha Tuomala)

Revision 131 - Directory Listing
Modified Sun Aug 18 20:09:25 2002 UTC (10 years, 9 months ago) by rousseau
add formaticc.1 from Debian

Revision 130 - Directory Listing
Modified Fri Aug 16 20:08:19 2002 UTC (10 years, 9 months ago) by rousseau
typo (add a space)

Revision 129 - Directory Listing
Modified Thu Aug 15 22:49:01 2002 UTC (10 years, 9 months ago) by rousseau
lots of debug and buffer overflow removal

Revision 128 - Directory Listing
Modified Thu Aug 15 15:26:29 2002 UTC (10 years, 9 months ago) by rousseau
print usage in cas of wrong arguments

Revision 127 - Directory Listing
Modified Thu Aug 15 15:11:55 2002 UTC (10 years, 9 months ago) by rousseau
update and rename bundleTool.1

Revision 126 - Directory Listing
Modified Tue Aug 13 22:19:09 2002 UTC (10 years, 9 months ago) by rousseau
switch from version 1.1.1 to 1.1.2 for cvs snapshots

Revision 125 - Directory Listing
Modified Tue Aug 13 21:15:13 2002 UTC (10 years, 9 months ago) by rousseau
add support for --apdu, test if the pcscd is still running before
complaining that /tmp/pcsc is present

Revision 124 - Directory Listing
Modified Tue Aug 13 21:15:13 2002 UTC (10 years, 9 months ago) by rousseau
add support for --apdu

Revision 123 - Directory Listing
Modified Tue Aug 13 21:15:13 2002 UTC (10 years, 9 months ago) by rousseau
typo

Revision 122 - Directory Listing
Modified Tue Aug 13 21:15:13 2002 UTC (10 years, 9 months ago) by rousseau
add a return NULL;

Revision 121 - Directory Listing
Modified Tue Aug 13 21:15:13 2002 UTC (10 years, 9 months ago) by rousseau
add support for --apdu and other same log messages

Revision 120 - Directory Listing
Modified Tue Aug 13 21:15:13 2002 UTC (10 years, 9 months ago) by rousseau
properly initialise rv

Revision 119 - Directory Listing
Modified Tue Aug 13 21:15:13 2002 UTC (10 years, 9 months ago) by rousseau
add -Wl,--export-dynamic link option

Revision 118 - Directory Listing
Modified Tue Aug 13 21:13:17 2002 UTC (10 years, 9 months ago) by rousseau
add the -a|--apdu option + some cleaning

Revision 117 - Directory Listing
Modified Tue Aug 13 21:12:00 2002 UTC (10 years, 9 months ago) by rousseau
make distclean before autoreconf

Revision 116 - Directory Listing
Modified Tue Aug 13 21:10:55 2002 UTC (10 years, 9 months ago) by rousseau
*** empty log message ***

Revision 115 - Directory Listing
Modified Tue Aug 13 21:10:28 2002 UTC (10 years, 9 months ago) by rousseau
set the PCSCLITE_HP_DROPDIR as a ./configure option

Revision 114 - Directory Listing
Modified Tue Jul 30 21:40:17 2002 UTC (10 years, 9 months ago) by rousseau
add #ifdef USE_THREAD_SAFETY otherwise it wont compile with
--disable-threadsafe

Revision 113 - Directory Listing
Modified Mon Jul 1 20:14:09 2002 UTC (10 years, 10 months ago) by corcoran
readding

Revision 112 - Directory Listing
Modified Mon Jul 1 20:08:53 2002 UTC (10 years, 10 months ago) by corcoran
moved location

Revision 111 - Directory Listing
Modified Thu Jun 27 22:21:23 2002 UTC (10 years, 10 months ago) by corcoran
Win32

Revision 107 - Directory Listing
Modified Wed Jun 19 22:05:46 2002 UTC (10 years, 11 months ago) by corcoran
removed printf

Revision 106 - Directory Listing
Modified Tue Jun 18 18:16:48 2002 UTC (10 years, 11 months ago) by corcoran
MSCPUChar8 -> MSCUChar8

Revision 105 - Directory Listing
Modified Tue Jun 11 20:07:26 2002 UTC (10 years, 11 months ago) by corcoran
Added more Initialization parameters ...

Revision 104 - Directory Listing
Modified Wed Jun 5 19:48:13 2002 UTC (10 years, 11 months ago) by corcoran
hello

Revision 103 - Directory Listing
Modified Wed Jun 5 18:47:13 2002 UTC (10 years, 11 months ago) by corcoran
;lkj

Revision 102 - Directory Listing
Modified Wed Jun 5 18:42:30 2002 UTC (10 years, 11 months ago) by corcoran
bad if then

Revision 101 - Directory Listing
Modified Wed Jun 5 18:31:04 2002 UTC (10 years, 11 months ago) by corcoran
some changes

Revision 100 - Directory Listing
Modified Wed Jun 5 18:11:32 2002 UTC (10 years, 11 months ago) by corcoran
Added generic thread support to musclecard.c and added pthread_join

Revision 99 - Directory Listing
Modified Wed Jun 5 17:57:33 2002 UTC (10 years, 11 months ago) by corcoran
Added join to cancelcallback

Revision 98 - Directory Listing
Modified Wed Jun 5 17:56:06 2002 UTC (10 years, 11 months ago) by corcoran
Fixed problem with MSC_SHARE_DIRECT connections
Added changes to docs
Cancel with join

Revision 97 - Directory Listing
Modified Wed Jun 5 16:04:16 2002 UTC (10 years, 11 months ago) by corcoran
Changed versioning

Revision 96 - Directory Listing
Modified Wed Jun 5 15:59:40 2002 UTC (10 years, 11 months ago) by corcoran
removed unused variable i

Revision 95 - Directory Listing
Modified Wed Jun 5 15:41:26 2002 UTC (10 years, 11 months ago) by corcoran
Fix for bug which wouldn't work with multi-slot readers.  Slots weren't managing the dwFeeds variable in the structure so the library was closed prematurely.

Revision 94 - Directory Listing
Modified Mon Jun 3 19:43:08 2002 UTC (10 years, 11 months ago) by corcoran
replaced magic number with constant 16->PCSCLITE_MAX_CONTEXTS

Revision 93 - Directory Listing
Modified Fri May 31 21:18:30 2002 UTC (10 years, 11 months ago) by corcoran
Removed bug: line 1986 SCardCleanupClient would release the socket too early

Revision 92 - Directory Listing
Modified Tue May 28 19:25:11 2002 UTC (10 years, 11 months ago) by corcoran
Added muscle-docs

Revision 91 - Directory Listing
Modified Tue May 28 17:36:12 2002 UTC (10 years, 11 months ago) by corcoran
Finalizing for the release

Revision 90 - Directory Listing
Modified Tue May 28 16:17:09 2002 UTC (10 years, 11 months ago) by corcoran
Added wintypes.h

Revision 89 - Directory Listing
Modified Tue May 28 16:04:10 2002 UTC (10 years, 11 months ago) by corcoran
fixes for the build

Revision 88 - Directory Listing
Modified Tue May 28 05:00:57 2002 UTC (10 years, 11 months ago) by phuang
hpux need <errno.h> to compile correctly

Revision 87 - Directory Listing
Modified Tue May 21 20:55:46 2002 UTC (11 years ago) by rousseau
patch the generated ChangeLog.cvs to have correct file and author names

Revision 86 - Directory Listing
Modified Fri May 10 19:02:36 2002 UTC (11 years ago) by rousseau
added the .h files in the distibution but they will not be installed by
a 'make install'
So now 'make test' and 'make testcheck' should work again.
Sorry Dave for my mistake in v1.3 you corrected in v1.4. I hope it is OK
this time.

Revision 85 - Directory Listing
Modified Fri May 10 18:59:46 2002 UTC (11 years ago) by rousseau
add pcscd.startup in the distribution

Revision 84 - Directory Listing
Modified Tue May 7 22:05:15 2002 UTC (11 years ago) by corcoran
Updated version to 1.1.0

Revision 83 - Directory Listing
Modified Tue May 7 02:33:44 2002 UTC (11 years ago) by corcoran
Fixing so that --disable-threadsafe works !!!

Revision 82 - Directory Listing
Modified Tue May 7 02:33:17 2002 UTC (11 years ago) by corcoran
Adding Makefile.am with -lpthread for PCSCD_INCLUDE_LIBS

Revision 81 - Directory Listing
Modified Tue May 7 02:02:55 2002 UTC (11 years ago) by corcoran
Added Win32 dynamic lib loading

Revision 80 - Directory Listing
Modified Mon May 6 23:23:13 2002 UTC (11 years ago) by corcoran
Added real time card reset/removed checking.  Fixed bug which begin/end transaction would not return this.

Revision 79 - Directory Listing
Modified Mon May 6 23:01:24 2002 UTC (11 years ago) by corcoran
Added support for Win32 based platforms for Muscle Framework.

Revision 78 - Directory Listing
Modified Mon May 6 19:55:11 2002 UTC (11 years ago) by corcoran
Checking in new project file for project builder

Revision 74 - Directory Listing
Modified Sat Apr 27 01:11:27 2002 UTC (11 years ago) by corcoran
Added versioning to pbxproj file, updated config.h.  Fixed Plugin->PlugIn.h in hotplug

Revision 73 - Directory Listing
Modified Fri Apr 26 18:47:36 2002 UTC (11 years ago) by corcoran
Updated the man page

Revision 72 - Directory Listing
Modified Thu Apr 25 18:25:38 2002 UTC (11 years ago) by corcoran
Added bundle header information for buildit

Revision 71 - Directory Listing
Modified Thu Apr 25 18:23:35 2002 UTC (11 years ago) by corcoran
Added new version numbering

Revision 70 - Directory Listing
Modified Thu Apr 25 17:56:41 2002 UTC (11 years ago) by corcoran
removed printf debugging for release

Revision 69 - Directory Listing
Modified Thu Apr 25 17:07:37 2002 UTC (11 years ago) by corcoran
Changes to the power management behavior

Revision 68 - Directory Listing
Modified Wed Apr 24 20:28:38 2002 UTC (11 years, 1 month ago) by corcoran
Removal

Revision 67 - Directory Listing
Modified Wed Apr 24 20:23:42 2002 UTC (11 years, 1 month ago) by corcoran
moved project builderstuff and removed some files

Revision 66 - Directory Listing
Modified Wed Apr 24 00:45:57 2002 UTC (11 years, 1 month ago) by corcoran
changes

Revision 65 - Directory Listing
Modified Tue Apr 23 17:49:17 2002 UTC (11 years, 1 month ago) by corcoran
No changes, just time/date issues

Revision 64 - Directory Listing
Modified Mon Apr 22 18:42:44 2002 UTC (11 years, 1 month ago) by corcoran
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

Revision 63 - Directory Listing
Modified Sun Apr 21 16:44:51 2002 UTC (11 years, 1 month ago) by cprados
Added autoconf check for getopt.h header

Revision 62 - Directory Listing
Modified Tue Apr 16 19:41:32 2002 UTC (11 years, 1 month ago) by corcoran
Added #ifdef around #include <getopt.h>

Revision 61 - Directory Listing
Modified Sun Apr 14 15:30:13 2002 UTC (11 years, 1 month ago) by cprados
Added getopt_long() check.

Revision 60 - Directory Listing
Modified Sun Apr 14 15:28:54 2002 UTC (11 years, 1 month ago) by cprados
Added getopt and getopt_long support for command line parsing.

Revision 59 - Directory Listing
Modified Fri Apr 12 22:05:37 2002 UTC (11 years, 1 month ago) by corcoran
Added wait for thread return for the callback

Revision 58 - Directory Listing
Modified Fri Apr 12 21:30:09 2002 UTC (11 years, 1 month ago) by corcoran
Added BLOCKSTATUS defines and checks in the Callbacks so that the
race condition would go away.

Revision 57 - Directory Listing
Modified Fri Apr 12 19:42:44 2002 UTC (11 years, 1 month ago) by corcoran
Removed MSCCertInfo

Revision 56 - Directory Listing
Modified Thu Apr 11 21:43:59 2002 UTC (11 years, 1 month ago) by corcoran
removed cert function pointers

Revision 55 - Directory Listing
Modified Thu Apr 11 17:24:05 2002 UTC (11 years, 1 month ago) by corcoran
removed certificate function pointers

Revision 54 - Directory Listing
Modified Thu Apr 11 17:23:40 2002 UTC (11 years, 1 month ago) by corcoran
Removed all certificate handling functions

Revision 53 - Directory Listing
Modified Wed Apr 10 23:11:26 2002 UTC (11 years, 1 month ago) by corcoran
Added extern int errno - wouldn't build on Solaris

Revision 52 - Directory Listing
Modified Wed Apr 10 22:37:30 2002 UTC (11 years, 1 month ago) by corcoran
Removed atexit() put cleanup code in SCardReleaseContext

Revision 51 - Directory Listing
Modified Wed Apr 10 22:36:52 2002 UTC (11 years, 1 month ago) by corcoran
some modifications for tabs.

Revision 50 - Directory Listing
Modified Wed Apr 10 22:36:06 2002 UTC (11 years, 1 month ago) by corcoran
Removed SetCapabilities -> put into 1.0 version for performance reasons

Revision 49 - Directory Listing
Modified Wed Apr 10 01:11:57 2002 UTC (11 years, 1 month ago) by corcoran
Removed extra Read/Write functions

Revision 48 - Directory Listing
Modified Tue Apr 9 20:56:06 2002 UTC (11 years, 1 month ago) by corcoran
Added keyPartner to MSCImportKey.  Added keyMapping to MSCKeyInfo structure

Revision 47 - Directory Listing
Modified Mon Apr 8 20:23:31 2002 UTC (11 years, 1 month ago) by corcoran
Fixed a security vulnerability in winscard_svc.c.  Removed /tmp/pcsc/.pcsctmp
and replaced it with a stat /tmp/pcsc on the client side.  Modified Makefile.am
to only install needed include files to /usr/local/include

Revision 46 - Directory Listing
Modified Mon Apr 8 17:19:36 2002 UTC (11 years, 1 month ago) by mikeg
initialized return value to -1 in RFSetReaderName

Revision 45 - Directory Listing
Modified Sun Apr 7 08:43:36 2002 UTC (11 years, 1 month ago) by rousseau
Allow pcscd to do bulk transfers for devices with high speed:

 Enhanced messaging has been added to accomodate newer devices which
have more advanced capabilites, such as dedicated secure co-processors
which can stream and encrypt data over USB.  In order to used enhanced
messaging you must define PCSCLITE_ENHANCED_MESSAGING in the
framework(library), the daemon, and your application

Thanks to Michael Gile <mgile@mac.com> for the patch

Revision 44 - Directory Listing
Modified Sat Apr 6 22:58:11 2002 UTC (11 years, 1 month ago) by rousseau
Added my name as suggested by David

Revision 43 - Directory Listing
Modified Sat Apr 6 20:48:47 2002 UTC (11 years, 1 month ago) by rousseau
using -d1 (debug to stderr) or -d2 (debug to stdout) also activate the
-fg option (foreground). Otherwise pcscd is started as a daemon
(default) and stdout and stderr file descriptors are closed and then
debug is useless since sent to /dev/null

Revision 42 - Directory Listing
Modified Sat Apr 6 20:46:26 2002 UTC (11 years, 1 month ago) by rousseau
renamed 1.0.2.beta5 to 1.0.2.cvs

Revision 41 - Directory Listing
Modified Sat Apr 6 17:12:13 2002 UTC (11 years, 1 month ago) by rousseau
make the ChangeLog.cvs rule .PHONY

Revision 40 - Directory Listing
Modified Sat Apr 6 16:53:55 2002 UTC (11 years, 1 month ago) by rousseau
use SYS_CloseFile() instead of close()
use SYS_OpenFile() instead of open()
use SYS_Chdir() instead of chdir()
use SYS_Daemon() instead of daemon()
test return values and print a debug message when necessary

patch provided by Toni Andjelkovic <toni@soth.at>

Revision 39 - Directory Listing
Modified Sat Apr 6 16:46:04 2002 UTC (11 years, 1 month ago) by rousseau
add a rule to create ChangeLog.cvs

Revision 38 - Directory Listing
Modified Sat Apr 6 16:22:58 2002 UTC (11 years, 1 month ago) by rousseau
 #include <stdlib.h> for malloc() declaration

Revision 37 - Directory Listing
Modified Sat Apr 6 15:53:37 2002 UTC (11 years, 1 month ago) by rousseau
add error code management for SHMProcessEvents returned value

Revision 36 - Directory Listing
Modified Fri Apr 5 00:20:01 2002 UTC (11 years, 1 month ago) by rousseau
correct text alignment

Revision 35 - Directory Listing
Modified Fri Apr 5 00:15:33 2002 UTC (11 years, 1 month ago) by rousseau
removed since generated automatically by automake

Revision 34 - Directory Listing
Modified Fri Apr 5 00:13:51 2002 UTC (11 years, 1 month ago) by rousseau
USE_SYSLOG is no more used. code rewrote with debug_msg()

Revision 33 - Directory Listing
Modified Fri Apr 5 00:12:57 2002 UTC (11 years, 1 month ago) by rousseau
debug_xxd(): also use the debug_msg_type way

Revision 32 - Directory Listing
Modified Fri Apr 5 00:11:27 2002 UTC (11 years, 1 month ago) by rousseau
removed since generated automatically from configure.in by autoheader

Revision 31 - Directory Listing
Modified Thu Apr 4 23:54:34 2002 UTC (11 years, 1 month ago) by rousseau
removed since automatically generated from Makefile.am

Revision 30 - Directory Listing
Modified Thu Apr 4 23:51:02 2002 UTC (11 years, 1 month ago) by rousseau
src/winscard_msg.c: SHMProcessEvents() timeout on the select and go back
into src/pcscdaemon.c: SVCServiceRunLoop()
This is used to catch the Ctrl-C signal (in SVCServiceRunLoop) at some
time when nothing else happens

Revision 29 - Directory Listing
Modified Thu Apr 4 23:47:24 2002 UTC (11 years, 1 month ago) by rousseau
removed dlerror() from if tests since it is not the best way to test for
errors

Revision 28 - Directory Listing
Modified Thu Apr 4 23:46:26 2002 UTC (11 years, 1 month ago) by rousseau
DYN_GetAddress() now correctly handles errors by not using dlerror() to
know if an error occured since the error may have occured in a previous
call
Also removed dlerror() from if tests everywhere else

Revision 27 - Directory Listing
Modified Thu Apr 4 23:43:40 2002 UTC (11 years, 1 month ago) by rousseau
add many .h files in include_HEADERS so that 'make dist' include all the
useful files
add muscletest.c in EXTRA_libpcsclite_core_la_SOURCES

Revision 26 - Directory Listing
Modified Thu Apr 4 22:45:31 2002 UTC (11 years, 1 month ago) by corcoran
Some event changes, begin/end transaction.  Added IdentifyToken

Revision 25 - Directory Listing
Modified Thu Apr 4 21:50:24 2002 UTC (11 years, 1 month ago) by rousseau
removed unused variable char tempString[1024];
add a return 0 for main()

Revision 24 - Directory Listing
Modified Thu Apr 4 19:03:36 2002 UTC (11 years, 1 month ago) by rousseau
complete and automatic reindentation of *.c and *.h files

Revision 23 - Directory Listing
Modified Thu Apr 4 18:23:23 2002 UTC (11 years, 1 month ago) by rousseau
test

Revision 22 - Directory Listing
Modified Mon Apr 1 02:57:57 2002 UTC (11 years, 1 month ago) by giraud
musclecard:
- replaced PCSC_TARGET_OSX with __APPLE__ in #ifndef for mscdefines.h inclusion
pbproj:
- no meaningful modifications

Revision 21 - Directory Listing
Modified Sun Mar 31 23:51:03 2002 UTC (11 years, 1 month ago) by giraud
Fix 1 issue in readerfactory.c
- valueLength=sizeof(tagValue) in RFSetReaderName to allow IFDHandlers to know
how much space is available

Modified PB project to allow build in proper order and have testpcsc used
the new PCSC framework available in the build folder.

Revision 20 - Directory Listing
Modified Sun Mar 31 07:05:07 2002 UTC (11 years, 1 month ago) by corcoran
Added this

Revision 19 - Directory Listing
Modified Sun Mar 31 03:42:59 2002 UTC (11 years, 1 month ago) by corcoran
Big Ass Error badError = 1 instead of ==

Revision 18 - Directory Listing
Modified Sat Mar 30 23:38:35 2002 UTC (11 years, 1 month ago) by corcoran
removed crap PCSC_DEBUG

Revision 17 - Directory Listing
Modified Sat Mar 30 23:29:28 2002 UTC (11 years, 1 month ago) by corcoran
Fixed multi-reader bug, also fixed wintypes bug

Revision 16 - Directory Listing
Modified Sat Mar 30 23:02:06 2002 UTC (11 years, 1 month ago) by corcoran
added the man pages

Revision 15 - Directory Listing
Modified Sat Mar 30 22:20:33 2002 UTC (11 years, 1 month ago) by corcoran
Added some command line arguments.

Revision 14 - Directory Listing
Modified Sat Mar 30 20:59:07 2002 UTC (11 years, 1 month ago) by corcoran
Added command line debug options

Revision 11 - Directory Listing
Added Sat Mar 30 18:13:58 2002 UTC (11 years, 1 month ago) by corcoran
Initial revision

  ViewVC Help
Powered by ViewVC 1.1.5