[root]/src
PCSC (6 files, 1514 lines)
utils (7 files, 445 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 2468 (100.0%) | 96406 (100.0%) | 39.0 |
corcoran | 126 (5.1%) | 48914 (50.7%) | 388.2 |
rousseau | 2109 (85.5%) | 44259 (45.9%) | 20.9 |
sauveron-guest | 90 (3.6%) | 1839 (1.9%) | 20.4 |
aet-guest | 128 (5.2%) | 1010 (1.0%) | 7.8 |
corcoran-guest | 9 (0.4%) | 292 (0.3%) | 32.4 |
cprados | 2 (0.1%) | 88 (0.1%) | 44.0 |
giraud | 2 (0.1%) | 2 (0.0%) | 1.0 |
phuang | 1 (0.0%) | 1 (0.0%) | 1.0 |
mikeg | 1 (0.0%) | 1 (0.0%) | 1.0 |
main(): do not limit rights if run as root
1 lines of code changed in 1 file:
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:
Install pcscd as sgid pcscd instead of suid root
2 lines of code changed in 1 file:
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:
Doxygen: remove documentation about the (now removed) timeOut parameter of
MessageSend() and MessageSendWithHeader()
0 lines of code changed in 1 file:
Doxygen: clarify the use of one different SCARDCONTEXT per thread and the
expection for SCardCancel()
4 lines of code changed in 1 file:
Remove protocol_major, protocol_minor fields from struct _psContext
since they are not used.
0 lines of code changed in 1 file:
update PROTOCOL_VERSION_MINOR since struct pubReaderStatesList changed
(readerID removed)
1 lines of code changed in 1 file:
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:
Complete change in revision 5212
SCardGetStatusChange() and SCardListReaders() were broken.
2 lines of code changed in 1 file:
Rename lpcLibrary in library and lpcDevice in device
24 lines of code changed in 3 files:
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:
Rename lpcReaderName in readerName and use (char *) instead of LPSTR
39 lines of code changed in 4 files:
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:
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:
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:
Get rid of the readerID field in struct pubReaderStatesList
16 lines of code changed in 5 files:
Remove unused RFSuspendAllReaders() and RFAwakeAllReaders()
0 lines of code changed in 2 files:
Reformat
4 lines of code changed in 1 file:
InitializeSocket(): do not set the execution bit on the socket file. It
is useless.
1 lines of code changed in 1 file:
svn propset svn:keywords 'Author Date Id Revision'
4 lines of code changed in 4 files:
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:
HPAddDevice(): wait 1 millisecond instead of 1 second until the device
is visible to libusb/etc.
1 lines of code changed in 1 file:
Doxygen: SCardCheckDaemonAvailability() do not invalidate handles after
a fork() any more
3 lines of code changed in 1 file:
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:
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:
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:
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:
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:
parse the Info.plist file only once and generate a list of key/values
147 lines of code changed in 2 files:
HPSearchHotPluggables(): create the synchronisation pipe only if the
HPEstablishUSBNotifications thread is created.
Avoids to leak resources.
9 lines of code changed in 1 file:
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:
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:
main(): Log a message if HPRegisterForHotplugEvents() fails
3 lines of code changed in 1 file:
Do not hardcode the libusb-1.0 include header path (remove the
libusb-1.0/ part)
1 lines of code changed in 1 file:
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:
Do not allow APDU logging when restricted
5 lines of code changed in 1 file:
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:
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:
ContextThread(): fix goto label when it _is_ an overflow
2 lines of code changed in 1 file:
(1396 more)