October 2009 Commit Log

Number of Commits:
72
Number of Active Developers:
1
rousseau 2009-10-28 18:44 Rev.: 4527

remove the type PCSCLITE_MUTEX_T and use an explicit pointer type
(PCSCLITE_MUTEX *) instead

This should avoid bugs like the one corrected in revision 4525

12 lines of code changed in 4 files:

rousseau 2009-10-28 17:00 Rev.: 4525

correctly use the lock API for ClientsWaitingForEvent_lock

8 lines of code changed in 1 file:

rousseau 2009-10-28 16:39 Rev.: 4524

call exit() in SVCServiceRunLoop() instead of RFCleanupReaders() and
remove the RFCleanupReaders() parameter

4 lines of code changed in 3 files:

rousseau 2009-10-28 16:35 Rev.: 4523

use return() instead of exit() if DYN_GetAddress() fails

12 lines of code changed in 1 file:

rousseau 2009-10-28 16:06 Rev.: 4522

explicitly use (void)fct() to ignore the returned value

14 lines of code changed in 1 file:

rousseau 2009-10-27 17:09 Rev.: 4520

EHStatusHandlerThread(): call EHSignalEventToClients() _after_ logging
"Card inserted into ..."

2 lines of code changed in 1 file:

rousseau 2009-10-27 17:06 Rev.: 4519

ContextThread(): add the client ID to the command log message

2 lines of code changed in 1 file:

rousseau 2009-10-27 17:05 Rev.: 4518

SCardGetStatusChange(): use SCARD_*_CONTEXT constants instead of
numerical values

3 lines of code changed in 1 file:

rousseau 2009-10-27 17:04 Rev.: 4517

move SCARD_*_CONTEXT from winscard.c to eventhandler.h

7 lines of code changed in 2 files:

rousseau 2009-10-27 16:08 Rev.: 4516

remove useless SCARD_NO_LOCK define

0 lines of code changed in 1 file:

rousseau 2009-10-27 15:40 Rev.: 4515

update comment

1 lines of code changed in 1 file:

rousseau 2009-10-27 10:41 Rev.: 4514

SHMMessageReceive() now returns -2 in case of timeout and -1 in case of
other error

This is used to correctly handle timeouts in SCardGetStatusChange()

35 lines of code changed in 3 files:

rousseau 2009-10-27 10:28 Rev.: 4513

ContextThread(): when a client dies call
EHTryToUnregisterClientForEvent() to unregister it if needed

1 lines of code changed in 1 file:

rousseau 2009-10-27 10:27 Rev.: 4512

add EHTryToUnregisterClientForEvent()

19 lines of code changed in 2 files:

rousseau 2009-10-18 11:44 Rev.: 4497

SHMMessageSend(): document the use of MSG_NOSIGNAL to ignore SIGPIPE
signal

9 lines of code changed in 1 file:

rousseau 2009-10-13 09:33 Rev.: 4491

do not use PCSC_CLIENT_SRC variable anymore since SCF support has been
removed

1 lines of code changed in 1 file:

rousseau 2009-10-13 09:31 Rev.: 4490

libpcsclite does not need to have dyn_hpux.c, dyn_macosx.c or
dyn_unix.c.
These files define DYN_LoadLibrary/DYN_CloseLibrary/DYN_GetAddress

0 lines of code changed in 1 file:

rousseau 2009-10-13 09:22 Rev.: 4489

remove Xcode files. Apple has its own version of pcsc-lite for Mac OS X

0 lines of code changed in 3 files:

rousseau 2009-10-13 09:17 Rev.: 4488

Doxygen(): better documentation for SCardCheckDaemonAvailability()

4 lines of code changed in 1 file:

rousseau 2009-10-13 09:15 Rev.: 4487

revert changeset 4485. SCardCheckDaemonAvailability() is also used to
invalidate the PC/SC handles after a fork or a pcscd restart

74 lines of code changed in 1 file:

rousseau 2009-10-13 08:47 Rev.: 4486

remove SCF support (PC/SC over Smart Card Framework).
I never used this feature and SCF is now dead and replaced by JSR 268
(javax.smartcardio)

1 lines of code changed in 3 files:

rousseau 2009-10-12 16:37 Rev.: 4485

SCardReleaseContext(), SCardConnect(), SCardReconnect(),
SCardDisconnect(), SCardBeginTransaction(), SCardEndTransaction(),
SCardCancelTransaction(), SCardStatus(), SCardGetStatusChange(),
SCardControl(), SCardGetSetAttrib(), SCardTransmit(),
SCardListReaders(), SCardFreeMemory()SCardListReaderGroups(),
SCardIsValidContext(): do not SCardCheckDaemonAvailability() since we
will try to talk to the server later. Any communication problem will be
reported by SHMMessageSendWithHeader()

0 lines of code changed in 1 file:

rousseau 2009-10-12 16:29 Rev.: 4484

SCardDisconnect(): factorize exit code

5 lines of code changed in 1 file:

rousseau 2009-10-12 16:28 Rev.: 4483

SCardReconnect(): factorize exit code

2 lines of code changed in 1 file:

rousseau 2009-10-12 16:27 Rev.: 4482

SCardConnect(): factorize exit code

8 lines of code changed in 1 file:

rousseau 2009-10-12 16:21 Rev.: 4481

SCardReleaseContext(): release context even if communication with the
server fails

7 lines of code changed in 1 file:

rousseau 2009-10-12 16:11 Rev.: 4480

SHMMessageSend(): use send(..., MSG_NOSIGNAL) instead of write(...) to
avoid receiving a SIGPIPE signal if pcscd has exited. We just get EPIPE
as return value

1 lines of code changed in 1 file:

rousseau 2009-10-12 15:35 Rev.: 4479

SCardReconnect(), SCardBeginTransaction(), SCardEndTransaction(),
SCardCancelTransaction(), SCardControl(), SCardGetSetAttrib()
and SCardTransmit(): do not "synchronize reader states with daemon"
since reader availability checks are done on the server side.

1 lines of code changed in 1 file:

rousseau 2009-10-09 21:22 Rev.: 4476

Doxygen improvement

4 lines of code changed in 1 file:

rousseau 2009-10-09 15:40 Rev.: 4474

Doxygen: define an IFDHandler group

11 lines of code changed in 1 file:

rousseau 2009-10-09 15:35 Rev.: 4473

Add Doxygen documentation of the IFD Handler API

632 lines of code changed in 1 file:

rousseau 2009-10-09 14:50 Rev.: 4472

remove IFD_Handler 1.0 functions prototypes

0 lines of code changed in 1 file:

rousseau 2009-10-09 10:50 Rev.: 4471

Doxygen: use @param[in,out] for in and out parameters

9 lines of code changed in 1 file:

rousseau 2009-10-08 15:16 Rev.: 4468

cleanly exits in case of unknown protocol

1 lines of code changed in 1 file:

rousseau 2009-10-08 15:15 Rev.: 4467

use SCARD_AUTOALLOCATE for SCardListReaders()

9 lines of code changed in 1 file:

rousseau 2009-10-08 14:46 Rev.: 4466

remove svn:executable property on source files

0 lines of code changed in 2 files:

rousseau 2009-10-08 14:41 Rev.: 4465

Define SYS_Fork() only if used (if HAVE_DAEMON is not set)

3 lines of code changed in 2 files:

rousseau 2009-10-08 14:38 Rev.: 4464

Remove useless SYS_GetPageSize(), SYS_MemoryMap(),
SYS_PublicMemoryMap(), SYS_PublicMemoryUnmap() and SYS_MMapSynchronize()

0 lines of code changed in 2 files:

rousseau 2009-10-08 14:36 Rev.: 4463

Remove useless SYS_ReadFile()

0 lines of code changed in 2 files:

rousseau 2009-10-08 14:35 Rev.: 4462

Remove useless SYS_SeekFile()

0 lines of code changed in 2 files:

rousseau 2009-10-08 14:34 Rev.: 4461

Remove SYS_ChangePermissions() prototype (the function is NOT defined
anywhere)

0 lines of code changed in 1 file:

rousseau 2009-10-08 14:33 Rev.: 4460

Remove useless SYS_GetUID() & SYS_GetGID()

0 lines of code changed in 2 files:

rousseau 2009-10-08 14:31 Rev.: 4459

Remove useless SYS_GetPID()

0 lines of code changed in 2 files:

rousseau 2009-10-08 14:30 Rev.: 4458

SYS_Initialize() does nothing. Remove it.

0 lines of code changed in 3 files:

rousseau 2009-10-08 14:29 Rev.: 4457

Comment out RFSuspendAllReaders() and RFAwakeAllReaders().
We do not yet support suspend/resume on Linux

2 lines of code changed in 1 file:

rousseau 2009-10-08 14:21 Rev.: 4456

remove useless RFListReaders()

0 lines of code changed in 2 files:

rousseau 2009-10-08 14:20 Rev.: 4455

remove useless RFUnblockContext()

0 lines of code changed in 2 files:

rousseau 2009-10-08 14:18 Rev.: 4454

remove useless RFUnblockReader()

0 lines of code changed in 3 files:

rousseau 2009-10-08 14:16 Rev.: 4453

do not use contextBlockStatus tpo block/unblock a context. We now use
SCardCancel() on the server side to unblock SCardGetStatusChange()

0 lines of code changed in 3 files:

rousseau 2009-10-08 14:09 Rev.: 4452

The .tex documentation is no more maintained.
The reference WinSCard API documentation is from Doxygen now.

3 lines of code changed in 3 files:

rousseau 2009-10-08 11:19 Rev.: 4451

add documentation

3 lines of code changed in 1 file:

rousseau 2009-10-08 10:26 Rev.: 4447

IFDControl(): return SCARD_E_INSUFFICIENT_BUFFER if the driver returns
IFD_ERROR_INSUFFICIENT_BUFFER

3 lines of code changed in 1 file:

rousseau 2009-10-08 10:05 Rev.: 4445

SCardGetAttrib(): return SCARD_E_INSUFFICIENT_BUFFER if the driver
returns IFD_ERROR_INSUFFICIENT_BUFFER

Thanks to Emmanuel Deloget for the bug report
http://archives.neohapsis.com/archives/dev/muscle/2009-q4/0003.html

16 lines of code changed in 1 file:

rousseau 2009-10-08 10:03 Rev.: 4444

add IFD_ERROR_INSUFFICIENT_BUFFER

1 lines of code changed in 1 file:

rousseau 2009-10-08 09:53 Rev.: 4443

SCardReconnect(): log the selected protocol (as done in SCardConnect())

13 lines of code changed in 1 file:

rousseau 2009-10-08 09:37 Rev.: 4442

SCardReconnect(): return SCARD_E_SHARING_VIOLATION instead of blocking
if the reader cannot be shared.

This change was made in revision 2475 but I don't remember why.

Thanks to Paul Klissner for the bug report
http://archives.neohapsis.com/archives/dev/muscle/2009-q3/0106.html

21 lines of code changed in 1 file:

rousseau 2009-10-06 13:58 Rev.: 4438

remove typedefs and explicitly use struct for structures

10 lines of code changed in 2 files:

rousseau 2009-10-06 11:40 Rev.: 4437

update to the new client/server ABI

5 lines of code changed in 1 file:

rousseau 2009-10-06 11:40 Rev.: 4436

remove now useless StatSynchronize() and StatSynchronizeContext()

0 lines of code changed in 2 files:

rousseau 2009-10-06 11:39 Rev.: 4435

remove now useless SCardUnload()

0 lines of code changed in 1 file:

rousseau 2009-10-06 11:37 Rev.: 4434

redesign the client/server communication:
- no more shared memory used (allow pcscd and libpcsclite1.so to be on
different computer and talk over a network)
- no more difference between short and extended APDU
- no more use of a /var/run/pcscd/pcscd.events/ directory. events are
sent through the socket
- simpler command format between client and server

The side effect is that you are not able to mix an old pcscd with a new
libpcsclite1.so or the reverse. SCardEstablishContext() will fail unless
you update both sides of the communication.

948 lines of code changed in 10 files:

rousseau 2009-10-06 11:13 Rev.: 4433

reformat comment

2 lines of code changed in 1 file:

rousseau 2009-10-06 11:08 Rev.: 4432

add MSGSignalClient()

22 lines of code changed in 2 files:

rousseau 2009-10-06 11:08 Rev.: 4431

add struct wait_reader_state_change

9 lines of code changed in 1 file:

rousseau 2009-10-06 11:08 Rev.: 4430

add PCSCLITE_WRITE_TIMEOUT and PCSCLITE_READ_TIMEOUT

2 lines of code changed in 1 file:

rousseau 2009-10-06 10:52 Rev.: 4429

reformat comments

31 lines of code changed in 1 file:

rousseau 2009-10-06 10:39 Rev.: 4428

add EHRegisterClientForEvent(), EHUnregisterClientForEvent() and
EHSignalEventToClients()

64 lines of code changed in 2 files:

rousseau 2009-10-06 10:31 Rev.: 4427

add simclist.{c,h} to pcscd dependencies

3 lines of code changed in 1 file:

rousseau 2009-10-06 10:29 Rev.: 4426

Library to manage lists
Fetched from http://mij.oltrelinux.com/devel/simclist/

2361 lines of code changed in 2 files:

rousseau 2009-10-05 14:07 Rev.: 4425

display return values even if no error returned

3 lines of code changed in 1 file:

rousseau 2009-10-03 10:43 Rev.: 4419

Doxygen document SCardConnect() difference with Windows for
SCARD_SHARE_DIRECT

6 lines of code changed in 1 file:

rousseau 2009-10-02 15:58 Rev.: 4418

add Doxygen section: Known differences with Microsoft Windows WinSCard
implementation

27 lines of code changed in 1 file:

September 2009 »

Generated by StatSVN 0.7.0