June 2004 Commit Log

Number of Commits:
63
Number of Active Developers:
2
rousseau 2004-06-30 08:57 Rev.: 983

release 1.2.9-beta3

53 lines of code changed in 1 file:

rousseau 2004-06-29 20:09 Rev.: 982

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.

1 lines of code changed in 1 file:

rousseau 2004-06-29 14:12 Rev.: 981

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)

2 lines of code changed in 1 file:

rousseau 2004-06-29 10:31 Rev.: 980

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)

10 lines of code changed in 1 file:

rousseau 2004-06-29 10:00 Rev.: 979

in SCardConnect() and SCardReconnect(), returns
SCARD_W_UNRESPONSIVE_CARD if PHSetProtocol() fails with
SET_PROTOCOL_PPS_FAILED

8 lines of code changed in 1 file:

rousseau 2004-06-29 09:49 Rev.: 978

define the constant SET_PROTOCOL_WRONG_ARGUMENT and
SET_PROTOCOL_PPS_FAILED

5 lines of code changed in 1 file:

rousseau 2004-06-29 09:48 Rev.: 977

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.

14 lines of code changed in 1 file:

rousseau 2004-06-25 15:57 Rev.: 976

do not #undef ATR_DEBUG since it may be defined in config.h with
./configure --enable-debugatr

2 lines of code changed in 1 file:

rousseau 2004-06-23 17:03 Rev.: 974

add definition of SCARD_PROTOCOL_T15

1 lines of code changed in 1 file:

rousseau 2004-06-23 17:00 Rev.: 973

- 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

29 lines of code changed in 1 file:

rousseau 2004-06-22 16:38 Rev.: 968

remove the hack introduced in version 1.28. It is no more needed since
the changes in version 1.32 of winscard.c

0 lines of code changed in 1 file:

rousseau 2004-06-22 16:33 Rev.: 967

PHSetProtocol(): only try to use protocols that are available

3 lines of code changed in 1 file:

rousseau 2004-06-21 09:40 Rev.: 963

local variables reorganisations:
- remove unused variables
- remove useless initialisations
- move declaration in the inner block the variable is used

104 lines of code changed in 7 files:

rousseau 2004-06-18 16:48 Rev.: 962

rewrite the parts managing the protocol in SCardConnect() and
SCardReconnect() to use the new PHSetProtocol() prototype and simplify
the code

38 lines of code changed in 1 file:

rousseau 2004-06-18 16:46 Rev.: 961

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

42 lines of code changed in 2 files:

rousseau 2004-06-18 16:37 Rev.: 960

the protocol number in the "Send Protocol:" debug message was wrong

2 lines of code changed in 1 file:

rousseau 2004-06-18 10:44 Rev.: 959

update the code to use the new READER_CONTEXT structure with the
struct pubReaderStatesList *readerState field

252 lines of code changed in 4 files:

rousseau 2004-06-18 10:43 Rev.: 958

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.

7 lines of code changed in 1 file:

rousseau 2004-06-18 10:32 Rev.: 957

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.

22 lines of code changed in 2 files:

rousseau 2004-06-18 10:26 Rev.: 956

add a chapter "Memory structures"

50 lines of code changed in 1 file:

rousseau 2004-06-17 15:43 Rev.: 955

put back the structure name

1 lines of code changed in 1 file:

rousseau 2004-06-17 10:41 Rev.: 954

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

5 lines of code changed in 3 files:

rousseau 2004-06-17 10:14 Rev.: 953

psFunctions.pvf* fields are function pointers so NULL is more appropriate
than 0

55 lines of code changed in 2 files:

rousseau 2004-06-17 10:04 Rev.: 952

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

1 lines of code changed in 1 file:

rousseau 2004-06-17 09:59 Rev.: 951

move declaration of dwContextB in the block it is used

2 lines of code changed in 1 file:

rousseau 2004-06-17 09:50 Rev.: 950

move the lpcStripReader[] declaration in the block it is used.

4 lines of code changed in 1 file:

rousseau 2004-06-17 09:44 Rev.: 949

rename the structure READER_STATES in READER_STATE (singular) since the
structure stores only the state of ONE reader

12 lines of code changed in 4 files:

rousseau 2004-06-17 08:44 Rev.: 948

correct foobar(); prototypes in foobar(void);

37 lines of code changed in 16 files:

rousseau 2004-06-17 08:31 Rev.: 947

complete the prototypes of RFSuspendAllReaders() and RFAwakeAllReaders()

4 lines of code changed in 2 files:

rousseau 2004-06-17 08:29 Rev.: 946

psCapabilites and psProtOptions fields are not used in struct
ReaderContext so "#if 0" them

7 lines of code changed in 1 file:

rousseau 2004-06-16 16:03 Rev.: 945

PHSetProtocol() correctly return the selected protocol

9 lines of code changed in 1 file:

rousseau 2004-06-16 14:44 Rev.: 944

print the Send Protocol in T=? format instead of internal representation
value.

7 lines of code changed in 1 file:

rousseau 2004-06-15 22:49 Rev.: 943

improve my previous patch: correctly print an unknown Active Protocol if
it happens

6 lines of code changed in 1 file:

rousseau 2004-06-15 22:34 Rev.: 942

add ChangeLog.cvs

1 lines of code changed in 1 file:

rousseau 2004-06-15 22:33 Rev.: 941

print the "real" active protocol in the format T=? instead of the
internal representation of that value (T=0 is coded as 1)

2 lines of code changed in 1 file:

rousseau 2004-06-11 10:06 Rev.: 939

1.2.9-beta3

1 lines of code changed in 1 file:

rousseau 2004-06-11 10:05 Rev.: 938

ChangeLog.cvs is not a .PHONY target but a real file

0 lines of code changed in 1 file:

rousseau 2004-06-11 09:40 Rev.: 937

- add documentation for LTPBundleFindValueWithKey, debug_msg and debug_xxd
- ifdhandler.h moved in PCSC/ifdhandler.h

121 lines of code changed in 1 file:

rousseau 2004-06-10 22:18 Rev.: 936

version 1.9 to add support of GNU Pth (http://www.gnu.org/software/pth/)

11 lines of code changed in 1 file:

rousseau 2004-06-10 20:11 Rev.: 935

pcsclite.h moved from src/ to src/PCSC/

1 lines of code changed in 2 files:

rousseau 2004-06-10 20:09 Rev.: 934

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

0 lines of code changed in 4 files:

rousseau 2004-06-10 20:05 Rev.: 933

include PCSC/pcsclite.h instead of pcsclite.h

1 lines of code changed in 1 file:

rousseau 2004-06-10 20:04 Rev.: 932

src/pcsclite.h moved in src/PCSC/pcsclite.h

2 lines of code changed in 2 files:

rousseau 2004-06-10 16:57 Rev.: 931

use the new PCSC/ location for header files

83 lines of code changed in 34 files:

rousseau 2004-06-10 16:56 Rev.: 930

install the exported header files in ../include/PCSC/ to avoid name
polution in ../include/
also install parser.h

5 lines of code changed in 1 file:

rousseau 2004-06-10 15:19 Rev.: 929

use /* */ instead of // for comments

10 lines of code changed in 1 file:

rousseau 2004-06-10 15:18 Rev.: 928

rework RFSetReaderName() to simply the code and always start with the
lowest number available (like in previous pcsc-lite version)

80 lines of code changed in 1 file:

rousseau 2004-06-09 11:57 Rev.: 926

use a dynamic array for available USB drivers:
- avoid a buffer overflow (argh!)
- allow to use more than 16 drivers/supported readers

34 lines of code changed in 1 file:

rousseau 2004-06-09 09:29 Rev.: 925

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!

3 lines of code changed in 1 file:

rousseau 2004-06-09 09:27 Rev.: 924

improve debug messages and comments

17 lines of code changed in 1 file:

rousseau 2004-06-09 09:13 Rev.: 923

remove useless ' ' at the end of some lines

125 lines of code changed in 1 file:

rousseau 2004-06-09 08:58 Rev.: 922

- add support of specific mode by the presence of TA2 (protocol not
negociable)
- improve debug messages

54 lines of code changed in 1 file:

rousseau 2004-06-09 08:19 Rev.: 921

code reindentation and remove useless blank and { } lines

37 lines of code changed in 1 file:

rousseau 2004-06-09 08:12 Rev.: 920

make debug messages work when ATR_DEBUG is set

9 lines of code changed in 1 file:

rousseau 2004-06-08 09:04 Rev.: 919

add #include <pcsclite.h>

2 lines of code changed in 1 file:

rousseau 2004-06-07 15:52 Rev.: 918

remove two unused #define

0 lines of code changed in 1 file:

rousseau 2004-06-07 15:40 Rev.: 917

a lexer library (lex or flex) is mandatory to parse /etc/reader.conf so
exit ./configure if none is found

5 lines of code changed in 1 file:

rousseau 2004-06-07 15:39 Rev.: 916

the libpcsclite library does not compile and work without a thread library
even with --disable-threadsafe

5 lines of code changed in 2 files:

sauveron-guest 2004-06-05 18:04 Rev.: 915

Change the names of the types LPCSTR to LPCTSTR and LPSTR to LPTSTR to be compliant with the Microsoft SCard API

2 lines of code changed in 1 file:

sauveron-guest 2004-06-05 17:58 Rev.: 914

Add the include needed <errno.h>

1 lines of code changed in 1 file:

sauveron-guest 2004-06-05 17:52 Rev.: 913

Add a note about 2 unused functions in the SCF part.

6 lines of code changed in 1 file:

sauveron-guest 2004-06-05 17:43 Rev.: 912

Change the names of the types LPCSTR to LPCTSTR and LPSTR to LPTSTR to be compliant with the Microsoft SCard API

74 lines of code changed in 12 files:

sauveron-guest 2004-06-05 17:33 Rev.: 911

Add the two inline in the declarations to avoid warning

2 lines of code changed in 1 file:

May 2004 »

Generated by StatSVN 0.7.0