Directory src/

Directory Created:
2002-03-30 20:13
Total Files:
56
Deleted Files:
18
Lines of Code:
20469

[root]/src
        directory in repo PCSC (6 files, 1514 lines)
        directory in repo utils (7 files, 445 lines)

Lines of Code

src/ Lines of Code

Developers

AuthorChangesLines of CodeLines per Change
Totals2468 (100.0%)96406 (100.0%)39.0
corcoran126 (5.1%)48914 (50.7%)388.2
rousseau2109 (85.5%)44259 (45.9%)20.9
sauveron-guest90 (3.6%)1839 (1.9%)20.4
aet-guest128 (5.2%)1010 (1.0%)7.8
corcoran-guest9 (0.4%)292 (0.3%)32.4
cprados2 (0.1%)88 (0.1%)44.0
giraud2 (0.1%)2 (0.0%)1.0
phuang1 (0.0%)1 (0.0%)1.0
mikeg1 (0.0%)1 (0.0%)1.0

Most Recent Commits

rousseau 2010-10-01 18:34 Rev.: 5275

main(): do not limit rights if run as root

1 lines of code changed in 1 file:

  • src: pcscdaemon.c (+1 -1)
rousseau 2010-09-19 20:13 Rev.: 5262

Do not change the access rights of pcscd in the install rule but in
another one.
This is needed when building the package in a system without the pcscd
group.

1 lines of code changed in 1 file:

  • src: Makefile.am (+1 -1)
rousseau 2010-09-04 16:59 Rev.: 5245

Install pcscd as sgid pcscd instead of suid root

2 lines of code changed in 1 file:

  • src: Makefile.am (+2 -1)
rousseau 2010-09-04 14:19 Rev.: 5241

HPReadBundleValues(): do not fail if the key "CFBundleName" is not found
in a driver Info.plist. This key should only be defined for the CCID
class driver.

7 lines of code changed in 1 file:

  • src: hotplug_libhal.c (+7 -3)
rousseau 2010-09-03 13:58 Rev.: 5231

Doxygen: remove documentation about the (now removed) timeOut parameter of
MessageSend() and MessageSendWithHeader()

0 lines of code changed in 1 file:

  • src: winscard_msg.c (-2)
rousseau 2010-09-02 17:25 Rev.: 5227

Doxygen: clarify the use of one different SCARDCONTEXT per thread and the
expection for SCardCancel()

4 lines of code changed in 1 file:

  • src: winscard_clnt.c (+4 -3)
rousseau 2010-09-02 15:57 Rev.: 5226

Remove protocol_major, protocol_minor fields from struct _psContext
since they are not used.

0 lines of code changed in 1 file:

  • src: winscard_svc.c (-5)
rousseau 2010-09-02 15:56 Rev.: 5225

update PROTOCOL_VERSION_MINOR since struct pubReaderStatesList changed
(readerID removed)

1 lines of code changed in 1 file:

  • src: winscard_msg.h (+1 -1)
rousseau 2010-09-02 15:54 Rev.: 5224

ContextThread(): check that the procotol major.minor is the same for the
daemon and lib. If not just fail. We are not backward compatible.

9 lines of code changed in 1 file:

  • src: winscard_svc.c (+9 -13)
rousseau 2010-09-02 14:10 Rev.: 5219

Complete change in revision 5212

SCardGetStatusChange() and SCardListReaders() were broken.

2 lines of code changed in 1 file:

  • src: winscard_clnt.c (+2 -2)
rousseau 2010-09-02 13:47 Rev.: 5218

Rename lpcLibrary in library and lpcDevice in device

24 lines of code changed in 3 files:

  • src: ifdwrapper.c (+2 -2), readerfactory.c (+18 -17), readerfactory.h (+4 -4)
rousseau 2010-09-02 12:53 Rev.: 5217

Wait until all connected readers have a chance to power up a possibly
inserted card.

This is needed when auto start is used and a card is already present in
a USB reader. The reader presence is correctly reported to libpcsclite
but the power up has not yet happen. So the ATR is not yet available.

44 lines of code changed in 5 files:

  • src: eventhandler.c (+1 -1), eventhandler.h (+5), pcscdaemon.c (+2), readerfactory.c (+35 -1), readerfactory.h (+1)
rousseau 2010-09-02 11:53 Rev.: 5216

Rename lpcReaderName in readerName and use (char *) instead of LPSTR

39 lines of code changed in 4 files:

  • src: eventhandler.c (+5 -5), readerfactory.c (+25 -25), readerfactory.h (+5 -5), winscard_clnt.c (+4 -4)
rousseau 2010-09-02 11:33 Rev.: 5215

Get rid of the lpcReader[] field in struct ReaderContext

The reader name is already present in readerState->readerName linked
from struct ReaderContext

Gain: MAX_READERNAME*PCSCLITE_MAX_READERS_CONTEXTS = 100*16 = 1600 bytes
fo RAM on pcscd

35 lines of code changed in 4 files:

  • src: eventhandler.c (+3 -5), readerfactory.c (+20 -13), readerfactory.h (-1), winscard.c (+12 -8)
rousseau 2010-09-02 11:27 Rev.: 5214

SCardStatus(): remove a useless test

lpcReader can't be larger than MAX_BUFFER_SIZE (264) since its buffer is
only MAX_READERNAME (100) bytes long.
And I don't see why we need this test anyway.

1 lines of code changed in 1 file:

  • src: winscard.c (+1 -2)
rousseau 2010-09-02 11:19 Rev.: 5213

Complete change started in revision 5212

rContext->readerState is never NULL now. So do not even check its value.

0 lines of code changed in 2 files:

  • src: eventhandler.c (-6), winscard.c (-8)
rousseau 2010-09-02 11:05 Rev.: 5212

Get rid of the readerID field in struct pubReaderStatesList

16 lines of code changed in 5 files:

  • src: eventhandler.c (-39), eventhandler.h (-1), pcsc-wirecheck-gen.c (-1), readerfactory.c (+12 -6), winscard_clnt.c (+4 -4)
rousseau 2010-09-02 08:45 Rev.: 5211

Remove unused RFSuspendAllReaders() and RFAwakeAllReaders()

0 lines of code changed in 2 files:

  • src: readerfactory.c (-58), readerfactory.h (-2)
rousseau 2010-08-31 10:34 Rev.: 5204

Reformat

4 lines of code changed in 1 file:

  • src: eventhandler.c (+4 -8)
rousseau 2010-08-30 15:27 Rev.: 5202

InitializeSocket(): do not set the execution bit on the socket file. It
is useless.

1 lines of code changed in 1 file:

  • src: winscard_msg_srv.c (+1 -1)
rousseau 2010-08-27 14:52 Rev.: 5196

svn propset svn:keywords 'Author Date Id Revision'

4 lines of code changed in 4 files:

  • src: debug.c (+1 -1), error.c (+1 -1), utils.c (+1 -1), utils.h (+1 -1)
rousseau 2010-08-27 14:48 Rev.: 5195

GetDaemonPid(): use open(3) instead of fopen(3) to avoid an internal
malloc() call and gain some CPU cycles

5 lines of code changed in 1 file:

  • src: utils.c (+5 -5)
rousseau 2010-08-27 14:24 Rev.: 5194

HPAddDevice(): wait 1 millisecond instead of 1 second until the device
is visible to libusb/etc.

1 lines of code changed in 1 file:

  • src: hotplug_libhal.c (+1 -1)
rousseau 2010-08-25 10:32 Rev.: 5183

Doxygen: SCardCheckDaemonAvailability() do not invalidate handles after
a fork() any more

3 lines of code changed in 1 file:

  • src: winscard_clnt.c (+3 -4)
rousseau 2010-08-23 12:25 Rev.: 5179

HPReadBundleValues(): use the new Info.plist parsing API.

Parsing the CCID Info.plist (159 readers supported) was on a ARM9
machine 13193049 �s and is now 258262 �s => gain x51 or 5008%

50 lines of code changed in 1 file:

  • src: hotplug_libusb.c (+50 -47)
rousseau 2010-08-23 11:49 Rev.: 5178

RFBindFunctions(): rename rv in rvl to avoid warnings
warning: declaration of �rv� shadows a previous local

Also change type from DWORD to int since DYN_GetAddress() returns an int

6 lines of code changed in 1 file:

  • src: readerfactory.c (+6 -6)
rousseau 2010-08-23 11:46 Rev.: 5177

RFLoadReader(): optimize the detection of Ifd Handler version by
checking for "IFDHCreateChannelByName", "IFDHCreateChannel" and then
"IO_Create_Channel" instead of the 3 symbols at once.

Also suppress the error message suppression. Ifd handler v2 or v1 will
display one or two errors for symbols not found.

24 lines of code changed in 1 file:

  • src: readerfactory.c (+24 -28)
rousseau 2010-08-23 10:53 Rev.: 5175

HPReadBundleValues(): duplicate the readerName and CFBundleName strings
since the originals are destroyed by bundleRelease() later

The reader names were corrupted.

2 lines of code changed in 1 file:

  • src: hotplug_libhal.c (+2 -2)
rousseau 2010-08-17 16:48 Rev.: 5157

HPReadBundleValues(): use the new Info.plist parsing API.

Parsing the CCID Info.plist (159 readers supported) was on a i386
machine 264306 �s and is now 5547 �s => gain x47 or 4600%

54 lines of code changed in 1 file:

  • src: hotplug_libhal.c (+54 -51)
rousseau 2010-08-17 16:41 Rev.: 5156

parse the Info.plist file only once and generate a list of key/values

147 lines of code changed in 2 files:

  • src: parser.h (+9 -9), tokenparser.l (+138 -86)
rousseau 2010-08-17 11:13 Rev.: 5152

HPSearchHotPluggables(): create the synchronisation pipe only if the
HPEstablishUSBNotifications thread is created.
Avoids to leak resources.

9 lines of code changed in 1 file:

  • src: hotplug_libusb.c (+9 -8)
rousseau 2010-08-17 11:10 Rev.: 5151

HPSearchHotPluggables(): wait for initial readers to setup only if
HPEstablishUSBNotifications is created. Otherwise the process is
blocked for ever.

5 lines of code changed in 1 file:

  • src: hotplug_libusb.c (+5 -3)
rousseau 2010-08-17 10:58 Rev.: 5150

HPRegisterForHotplugEvents(): having no bundle for USB readers is not an
error. USB support/hotplug is just disabled.

1 lines of code changed in 1 file:

  • src: hotplug_libhal.c (+1 -1)
rousseau 2010-08-17 10:56 Rev.: 5149

main(): Log a message if HPRegisterForHotplugEvents() fails

3 lines of code changed in 1 file:

  • src: pcscdaemon.c (+3)
rousseau 2010-08-17 08:41 Rev.: 5148

Do not hardcode the libusb-1.0 include header path (remove the
libusb-1.0/ part)

1 lines of code changed in 1 file:

  • src: hotplug_libusb.c (+1 -1)
rousseau 2010-08-16 12:03 Rev.: 5145

Do not allow restricting defaults values of --max-thread,
--max-card-handle-per-thread or --max-card-handle-per-reader when
restricted

6 lines of code changed in 1 file:

  • src: pcscdaemon.c (+6)
rousseau 2010-08-16 11:47 Rev.: 5144

Do not allow APDU logging when restricted

5 lines of code changed in 1 file:

  • src: pcscdaemon.c (+5)
rousseau 2010-08-16 11:45 Rev.: 5143

If the process is setuid or setgid it may have some restrictions

Do not allow to specify a configuration file when restricted

9 lines of code changed in 1 file:

  • src: pcscdaemon.c (+9)
rousseau 2010-08-13 15:18 Rev.: 5129

ContextThread(): goto exit if MSGCheckHandleAssociation() fails instead
of just returning no error.

Something wrong happened on the client side (like a fork) and the client
needs to call SCardEstablishContext() to create a new connection.

44 lines of code changed in 1 file:

  • src: winscard_svc.c (+44 -51)
rousseau 2010-08-13 15:06 Rev.: 5128

ContextThread(): fix goto label when it _is_ an overflow

2 lines of code changed in 1 file:

  • src: winscard_svc.c (+2 -2)

(1396 more)

Generated by StatSVN 0.7.0