1
2004-05-11 Ludovic Rousseau <rousseau@acer>
3
* ChangeLog: release 1.2.9-beta2
5
* configure.in, src/pcsclite.h.in: beta2 version
8
change libmusclecard current version to 1 so that old libmusclecard0 and
9
new libmusclecard1 can cohabitate on the same system and will not break
10
existing programs during upgrades.
12
This is because libmusclecard is provided in the same distrib/package as
13
libpcsclite. If we want two libpcsclite to cohabitate we must also
14
ensure that the two libmusclecard can also cohabitate.
17
generate local icons for the latex2html generated pages
19
* DRIVERS: add a / at the end of URLs and directory names
21
* src/pcscdaemon.c: print pcsc-lite version number during startup
23
2004-05-10 Ludovic Rousseau <rousseau@acer>
25
* src/Makefile.am: install pcsclite.h instead of pcsclite.h.in
27
* doc/pcsc-lite.tex: add the chapter "Multithreading and contexts"
29
* doc/.cvsignore: ignore ifdhandler-3 temporary files
31
* doc/pcscd.8.in: some rewrite
33
* doc/formaticc.1: caracters -> characters
35
* doc/bundleTool.8.in, src/utils/bundleTool.c:
36
approprate -> appropriate
38
* ChangeLog, HELP, NEWS, README, configure.in, doc/bundleTool.8.in, doc/formaticc.1, doc/pcsc-lite.tex, doc/pcscd.8.in, etc/SmartcardServices, etc/StartupParameters.plist, src/debuglog.c, src/musclecard.h, src/muscletest.c, src/utils/formaticc.c:
39
smartcard -> smart card, musclecard -> MuscleCard
41
* doc/Makefile.am: add ifdhandler-3.tex ifdhandler-3.pdf
43
* doc/ifdhandler-3.tex: IFD Handler API in LaTeX format
46
in SCardReconnect(), SCardDisconnect() and SCardEndTransaction()
47
SCARD_UNPOWER_CARD is "Power down the card and reset it (Cold Reset)" so
48
we really power down _and_ then power up the card.
50
2004-05-07 Ludovic Rousseau <rousseau@acer>
53
the comment for --enable-extendedapdu was wrong. The maximum APDU size
54
is 32KB and not 128KB. Thanks to Damien Sauveron.
56
2004-05-06 Ludovic Rousseau <rousseau@acer>
58
* ChangeLog: release 1.2.9-beta1
60
* configure.in, src/pcsclite.h.in: version 1.2.9-beta1
63
in IFDControl_v2 and IFDControl test the ifd handler version and
64
possibly return before the critical section (mutex)
67
in IFDControl_v2() and IFDControl(), do not return between SYS_MutexLock
68
and SYS_MutexUnLock but set rv to the correct value. Otherwise the daemon
71
* src/hotplug_generic.c, src/hotplug_macosx.c:
72
add an empty HPStopHotPluggables() function
75
use the local pcsclite.h instead of the (old) one already installed
77
This was problematic for MacOSX since winscard.h wanted to include
78
<PCSC/pcsclite.h> which is the old and incompatible one.
80
* configure.in, src/Makefile.am, src/pcsclite.h.in:
81
add support of --enable-extendedapdu argument to allow the use of big
82
APDUs (up to 128 KBytes)
84
* src/winscard_msg.c: minor reindentations
87
in SCardSetAttrib() the cbAttrLen is a DWORD and not a LPDWORD so use
88
gsStr->cbAttrLen instead of &gsStr->cbAttrLen. Bad cut-n-paste here!
90
2004-05-03 Ludovic Rousseau <rousseau@acer>
92
* src/readerfactory.c:
93
- rename dwFeeds and dwMutex to pdwFeeds and pdwMutex since they are
95
- add a check to avoid removing an aleady removed driver (closes bug
96
[ #300684 ] pcscd segfaults on 'if (*sContext->dwMutex == 1)')
98
* src/readerfactory.h:
99
rename dwFeeds and dwMutex to pdwFeeds and pdwMutex since they are
102
2004-04-27 Ludovic Rousseau <rousseau@acer>
105
patch from Damien Sauveron to rectify the source code examples.
107
2004-04-21 Ludovic Rousseau <rousseau@acer>
110
do not stop if pcsc-lite does not exist and is removed
112
* doc/Makefile.am: distribute pcsc-lite.tex
114
* doc/pcsc-lite.tex: - SCardControl new API
115
- add SCardGetAttrib()/SCardSetAttrib()
117
* src/dyn_hpux.c, src/dyn_macosx.c, src/dyn_unix.c, src/eventhandler.c, src/pcscdaemon.c, src/powermgt_macosx.c, src/prothandler.c, src/readerfactory.c, src/sys_unix.c, src/tokenfactory.c, src/winscard.c, src/winscard_clnt.c, src/winscard_msg.c, src/winscard_svc.c:
118
remove the function names from the debug messages
120
* src/debuglog.h: add __FUNCTION__ in the debug messages
122
2004-04-19 Damien Sauveron <sauveron-guest@acer>
124
* src/pcscdaemon.c: Typo in email address.
126
2004-04-19 Ludovic Rousseau <rousseau@acer>
128
* src/pcscdaemon.c: update copyright date
130
* src/pcsclite.h.in: add SCARD_ATTR_* tags for SCardGetAttrib()
133
RxBuffer argument of IFDControl is LPVOID and not LPCVOID
136
FDHControl() argument lpInBuffer and lpOutBuffer are LPCVOID and LPVOID
139
* src/testpcsc.c: add test for SCardSetAttrib()
141
* src/winscard.c, src/winscard.h, src/winscard_clnt.c, src/winscard_msg.h, src/winscard_svc.c:
142
add support for SCardGetAttrib() and SCardSetAttrib()
145
do not ask for reader number if only one reader is present
147
* src/testpcsc.c: remove useless REPEAT_TEST conditional code
149
* src/testpcsc.c: test SCardGetAttrib()
152
lpOutBuffer argument is LPVOID not LPCVOID in IFDControl
154
2004-04-16 Ludovic Rousseau <rousseau@acer>
157
do not SCardReleaseContext() in case of error in SCardControl test
159
* src/ifdwrapper.c, src/ifdwrapper.h, src/winscard.c, src/winscard.h, src/winscard_clnt.c, src/winscard_msg.h, src/winscard_svc.c:
160
add support of the new IFDHControl() API
162
* src/testpcsc.c: add a test for SCardControl()
165
rename IFDHControl() to IFDHControl_v2() and add a new IFDHControl()
168
2004-04-15 Ludovic Rousseau <rousseau@acer>
170
* src/ifdwrapper.c: remove implicit/useless { }
172
* src/README_INTERNALS.txt: document the SCardControl migration
174
* src/winscard_clnt.c, src/winscard_msg.h, src/winscard_svc.c:
175
pcscd and libpcsclite now exchange a protocol version to know what API
179
change library version to 1:0:0 since the interface changed
181
* doc/.cvsignore: ignore LaTeX temporary files
183
* doc/pcsc-lite.bib: bibliography in BibTeX format
185
* doc/Makefile.am: - generate .pdf from .tex
186
- distribute the generated pcsc-lite.pdf
188
* doc/pcsc-lite-0.8.7.pdf, doc/pcsc-lite.tex:
189
the pcsc-lite pdf documentation is now generated from a LaTeX document
191
2004-04-14 Ludovic Rousseau <rousseau@acer>
194
document in the help text that '--foreground' imply '--debug stderr'
196
* src/winscard_msg.h:
197
add a dummy field (to replace request_id) in sharedSegmentMsg to have
198
the same structure size as in previous pcsc-lite versions so that a new
199
pcscd can talk to an old libpcsclite and vice-versa.
201
* src/debuglog.c: add a default case in pcsc_stringify_error()
203
2004-04-13 Ludovic Rousseau <rousseau@acer>
205
* src/testpcsc.c: test SCardListReaderGroups()
207
2004-04-06 Ludovic Rousseau <rousseau@acer>
210
remove the code to map SCARD_UNPOWER_CARD on IFD_RESET.
211
SCARD_UNPOWER_CARD is power down and power up (cold reset) => IFD_POWER_DOWN
212
SCARD_RESET_CARD is just power up (warm reset) => IFD_RESET
214
2004-04-05 Ludovic Rousseau <rousseau@acer>
216
* doc/example/pcsc_demo.c:
217
initialize readers to NULL to avoid a "`readers' might be used
218
uninitialized" compilation warning
220
2004-04-02 Ludovic Rousseau <rousseau@acer>
222
* configure.in, doc/Makefile.am: add support for doc/reader.conf.5
224
* doc/reader.conf.5.in: new manpage
226
* doc/bundleTool.8.in: typos
228
* doc/example/pcsc_demo.c: add two missing free()
230
2004-04-01 Ludovic Rousseau <rousseau@acer>
232
* src/hotplug_libusb.c:
233
do not try to restart a USB driver if the first execution fails (because
234
of a bug in the driver or whatever) since the next execution of the
235
driver will, with a great probability, also fail. The user has to
236
unplug/replug the reader to restart the driver. This prevents to fill
237
the system logs with an error message every 1 second.
239
* doc/example/pcsc_demo.c:
240
remove a useless occurence of PCSCLITE_MAX_READERS_CONTEXTS
242
2004-03-31 Ludovic Rousseau <rousseau@acer>
244
* src/readerfactory.c:
245
use sizeof(lpcStripReader) instead of MAX_READERNAME
247
* src/muscletest.c: also print tokenType field as a number and string
250
Initialize currentToken->tokenType in MSCListTokens(). Closes "[ #300607 ]
251
MSCListTokens should set tokenType to know state before OR operation"
253
* src/musclecard.c: replace some 0 bu NULL for pointers
255
* src/muscletest.c: - replace 0 by NULL
256
- remove some { } for one line blocks
258
* doc/example/pcsc_demo.c:
259
recode the readers enumeration to avoid the use of PCSCLITE_MAX_READERS_CONTEXTS
262
use SCARDCONTEXT and SCARDHANDLE instead of MSCLong32
265
use SCARDCONTEXT, DWORD, LPSCARDHANDLE, etc. instead of long, unsigned
266
long, long *, etc. to be more Windows PC/SC compliant
268
* src/winscard_clnt.c: remove two "by najam" comments
271
use MAX_ATR_SIZE instead of 33 in the declaration of SCARD_READERSTATE_A
274
proposed patch: define PCSCLITE_MAX_READERS with a deprecated attribute
276
2004-03-30 Ludovic Rousseau <rousseau@acer>
279
remove the warning if no /etc/reader.conf is found. It is normal to not
280
have an /etc/reader.conf for USB readers only.
283
print a warning if the LIBPATH contains ".bundle". USB drivers SHOULD NOT be declared in reader.conf
285
* src/configfile.l: add strerror(errno) in the error message.
287
* src/configfile.l: use NULL instead of 0
289
* src/configfile.l: code reindentation
291
* etc/.cvsignore: remove etc/ from filename
293
* .cvsignore: remove PCSC/ from filenames
295
* .cvsignore: files to ignore by CVS
297
2004-03-28 Ludovic Rousseau <rousseau@acer>
299
* src/readerfactory.c: simplify a bit an hex->decimal conversion
301
* src/readerfactory.c:
302
left shift one bloc of code that was in a isolated { }
304
* src/readerfactory.c: remove { } for one instruction if () blocs
306
* src/readerfactory.c:
307
use a direct "DWORD dwNumReadersContexts" instead of an indirect "DWORD
308
*dwNumReadersContexts". This will remove bugs like the one at line 90:
309
"if (dwNumReadersContexts != 0)" is not "if (*dwNumReadersContexts != 0)"
311
2004-03-24 Ludovic Rousseau <rousseau@acer>
313
* src/tokenfactory.c:
314
correct atrString[] buffer size. The ATR is in ASCII so it must be MAX_ATR_SIZE*2 +1
316
2004-03-23 Ludovic Rousseau <rousseau@acer>
318
* src/hotplug_libusb.c: add void argument in HPStopHotPluggables()
320
* src/readerfactory.c:
321
initialize vHandle field to NULL in RFAllocateReaderSpace() (caused a
325
add the errno text message if specified reader.conf file is not found
328
use PCSCLITE_READER_CONFIG instead of reader.conf in debug message
330
2004-03-20 Ludovic Rousseau <rousseau@acer>
332
* src/hotplug_linux.c: add support for HPStopHotPluggables()
334
2004-03-19 Ludovic Rousseau <rousseau@acer>
336
* aclocal/.cvsignore, doc/.cvsignore, doc/example/.cvsignore, etc/.cvsignore, src/.cvsignore, src/utils/.cvsignore, win32/.cvsignore:
337
new files to ignore files not in CVS
340
really reset the card when asked to in SCardReconnect()
342
* src/winscard_clnt.c:
343
This is hack to allow a change of ATR at Reconnect without physically
344
changing the card. This should not happen in real life so should not be
345
problematic and so is active by default (ATR_CHANGE_AT_RECONNECT).
347
* src/winscard_clnt.c:
348
remove duplicated SYS_MutexUnLock() in SCardStatus()
350
2004-03-18 Ludovic Rousseau <rousseau@acer>
353
call HPStopHotPluggables() before stopping the drivers to avoid a new
354
reader detection/start by hotplug when we want to stop everything
356
* src/hotplug.h, src/hotplug_libusb.c:
357
add HPStopHotPluggables() to exit the hotplug thread
359
* src/pcscdaemon.c: set AraKiri to TRUE instead of 1
361
* doc/example/pcsc_demo.c: - add SCardReconnect() sample code
362
- allow to select the reader number instead of selecting always the first
365
2004-03-11 Ludovic Rousseau <rousseau@acer>
367
* src/pcsclite.h.in: version 1.2.1
369
2004-03-02 Ludovic Rousseau <rousseau@acer>
371
* configure.in: version 1.2.1
373
2004-02-23 Ludovic Rousseau <rousseau@acer>
375
* src/hotplug_libusb.c:
376
use deviceName defined as usb:idVendor/idProduct:libusb:busname:filename
377
in HPAddHotPluggable(). This should avoid wrong USB enumeration when
378
used in IFDHCreateChannelByName()
380
2004-02-11 Ludovic Rousseau <rousseau@acer>
382
* ChangeLog: merge 1.2.0 final branch
384
2004-02-04 Ludovic Rousseau <rousseau@acer>
386
* src/hotplug_linux.c:
387
DIR in --enable-usbdropdir=DIR may not finish by / in (deprecated) hotplug_linux.c
389
2004-01-24 Ludovic Rousseau <rousseau@acer>
391
* etc/reader.conf.in:
392
use "DEVICENAME /dev/ttySx_not_configured" to make it (more) clear it
393
should be configured.
395
* etc/reader.conf.in:
396
reader.conf may also be needed for PCMCIA readers and not olny serial.
398
2004-01-23 Ludovic Rousseau <rousseau@acer>
400
* etc/reader.conf.in:
401
add a note: "This file has to be configured for serial readers only."
403
* src/winscard_clnt.c:
404
check that psContextMap[dwContextIndex].psChannelMap[dwChannelIndex].readerName is non NULL before accessing it in strcmp()
406
2004-01-22 Antti Tapaninen <aet-guest@acer>
408
* src/winscard_clnt.c, src/winscard_svc.c:
409
- Simplify the psContext/psContextMap declarations to fix
410
build conflicts against some operating systems headers.
412
2004-01-21 David Corcoran <corcoran-guest@acer>
415
Changed unsigned char * to char * and did some typecasting
416
to get rid of warnings when building in 64bit mode ...
418
2004-01-21 Damien Sauveron <sauveron-guest@acer>
420
* src/thread_unix.c: Remove an useless include
422
2004-01-20 Ludovic Rousseau <rousseau@acer>
424
* src/hotplug_linux.c, src/hotplug_macosx.c:
425
correct comment about empty deviceName argument
427
2004-01-19 Damien Sauveron <sauveron-guest@acer>
430
Use the device name to create channel only if defined.
432
* src/hotplug_macosx.c, src/hotplug_linux.c:
433
Add an empty parameter for deviceName to allow the compilation.
435
* src/winscard_msg.c: Remove the useless include of sys/mman.h
437
2004-01-18 Damien Sauveron <sauveron-guest@acer>
439
* src/debuglog.c: Remove unused function.
441
2004-01-16 Damien Sauveron <sauveron-guest@acer>
443
* src/configfile.l, src/thread_unix.c, src/thread_generic.h, src/ifdwrapper.h, src/ifdwrapper.c, src/ifdhandler.h, src/hotplug_libusb.c, src/winscard_msg.h, src/winscard_svc.h, src/winscard_svc.c, src/winscard_msg.c, src/winscard_clnt.c, src/readerfactory.c:
444
Update the copyright.
446
* src/pcscdaemon.c: Add my name, my email and the copyright.
448
* src/winscard_clnt.c:
449
Remove the useless PID information field. Also remove the WrapSHMWrite argument related to PID information.
451
* src/winscard_msg.c:
452
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.
454
* src/winscard_msg.h:
455
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.
457
* src/readerfactory.c:
458
Correct the indentation of some lines and add debug information.
460
* src/winscard_svc.c: Cleanup the code.
462
* src/powermgt_macosx.c: Modify the output of the debug message.
464
2004-01-15 David Corcoran <corcoran-guest@acer>
466
* src/utils/sample.in:
467
Changed Co to C(ZERO) instead. The Oh caused big problems with
471
Needed to define dwAtrLen so it would not just pick up garbage
474
* src/winscard_clnt.c:
475
In SCardStatus some of the memcopy's and strcpy's were occurring
476
before bounds checking.
478
* src/winscard_clnt.c:
479
Changed error return from SYS_OpenFile of PCSCLITE_PUBSHM_FILE from UNKNOWN to
480
SCARD_E_NO_SERVICE. Sorry for no diffs, I'll put them in next time ...
482
2004-01-14 Ludovic Rousseau <rousseau@acer>
484
* AUTHORS: reformat and add Damien Sauveron and Antti Tapaninen
486
2004-01-14 Damien Sauveron <sauveron-guest@acer>
488
* src/ifdwrapper.c: Add the support of IFDHandler interface v3
490
* src/ifdwrapper.h: Modify the prototype of IFDOpenIFD.
492
* src/readerfactory.c: Add the support of IFDHandler interface v3
494
* src/readerfactory.h:
495
Add the function's pointer for the new function introduced in IFDHandler interface v3
497
* src/pcsclite.h.in: Define the length maximum of a device name.
499
* src/hotplug_libusb.c:
500
Get the device name of the USB device and give it to RFAddReader.
502
* src/configfile.l: Give the device name to RFAddReader
504
* src/readerfactory.h:
505
Add a new parameter to the prototype of RFAddReader according to the changes in readerfactory.c
507
* src/readerfactory.c:
508
Add a new parameter to RFAddReader to get the device name
510
* src/readerfactory.h: Add the device name
513
Add the prototype of the new function introduced in the IFDHandler interface v3
515
* src/configfile.l: Remove a line commited by error. Sorry.
518
Check that DEVICENAME and LIBPATH files exist and if an error occurs during the parsing the reader is not added.
520
2004-01-13 Ludovic Rousseau <rousseau@acer>
522
* src/hotplug_macosx.c: small code reorganisation for an easier reading
524
* src/configfile.l: use macro DebugLogB() instead of debug_msg()
526
2004-01-13 Damien Sauveron <sauveron-guest@acer>
528
* src/readerfactory.c, src/ifdwrapper.c:
529
Modify tests in order to be homogeneous with those for next IFDHandlers versions
531
2004-01-13 Ludovic Rousseau <rousseau@acer>
533
* Makefile.am: simplify the perl expression in ChangeLog.cvs rule
535
* make-dirs/README: reformat to 72 columns
537
2004-01-12 David Corcoran <corcoran-guest@acer>
539
* make-dirs/Makefile.solaris, make-dirs/README, make-dirs/config.h:
540
Added README for Makefile directory and sample config.h
542
* make-dirs/Makefile.solaris: C
543
Adding make-dirs plus Makefiles for certain configurations when people don't want to
546
VS: ----------------------------------------------------------------------
548
2004-01-12 Ludovic Rousseau <rousseau@acer>
550
* src/hotplug_libusb.c:
551
correct the file header. It was a cut-n-paste from hotplug_linux.c
553
2004-01-08 Ludovic Rousseau <rousseau@acer>
555
* src/hotplug_macosx.c:
556
buffer overflow: the driver list was not terminated and caused crashes.
558
* src/pcscdaemon.c: correct my email address
560
2003-12-16 Ludovic Rousseau <rousseau@acer>
562
* src/winscard_svc.c: code reordering to make it a bit more clear
564
2003-12-16 Damien Sauveron <sauveron-guest@acer>
566
* src/winscard_msg.h:
567
Remove the old functions and add the new functions
569
* src/winscard_msg.c:
570
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
572
* src/winscard_svc.h:
573
Remove the old functions and add the new functions
575
* src/winscard_svc.c: Design to handle all the requests in the context
578
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
580
* src/winscard_clnt.c:
581
Add mutex for each context and remove the global mutex except for some operations
583
* src/thread_unix.c, src/thread_generic.h:
584
Add functions for identify and compare threads
586
2003-12-11 David Corcoran <corcoran-guest@acer>
588
* src/winscard_scf.c: Index: winscard_scf.c
590
2003-12-08 Ludovic Rousseau <rousseau@acer>
592
* etc/pcscd.startup: use /etc/sysconfig/pscsd and correct some typos
594
2003-11-20 Ludovic Rousseau <rousseau@acer>
596
* aclocal/acx_pthread.m4:
597
new upstream version to avoid checking for pthread.h which does not
600
2003-11-18 Ludovic Rousseau <rousseau@acer>
603
revert test of return value from FreeLibrary. Thanks to Peter Williams
605
http://archives.neohapsis.com/archives/dev/muscle/2003-q4/0136.html
607
2003-11-09 Antti Tapaninen <aet-guest@acer>
609
* pbx/config.h, pcsc.pbproj/project.pbxproj:
610
- Upgrade MacOS X project build files for XCode
612
* doc/example/pcsc_demo.c: - Build fix
614
* src/pcsclite.h.in: - Cleanups
616
* src/pcsclite.h.in, src/utils/bundleTool.c:
617
- Allow regular pcsclite.h to be used under win32 platform
619
2003-11-05 Ludovic Rousseau <rousseau@acer>
621
* src/libmusclecard.pc.in, src/libpcsclite.pc.in:
622
add muscledropdir (in libmusclecard) and usbdropdir (in libpcsclite) so
623
we can use `pkg-config libpcsclite --variable=usbdropdir` to find the
624
directory to use. Should be used by drivers and plugins installation.
625
Thanks to Ville Skytt� for the patch.
627
2003-11-02 Ludovic Rousseau <rousseau@acer>
629
* src/utils/bundleTool.c:
630
port under Win32 (patch from Peter Williams) and some code cleanup
632
2003-10-30 Ludovic Rousseau <rousseau@acer>
635
changed back PCSCLITE_MAX_READERS_CONTEXTS from 256 to 16. 16 readers is
636
clearly enough for most users. The correct solution is to use a list
640
remove definition of PCSCLITE_MAX_COMSIZE (Maximum arg size) now useless
642
* src/pcscdaemon.c: - send debug to syslog by default
643
- send debug to stderr if --foreground|-f is used (no need to add
644
--debug stderr anymore)
645
- use strcmp() instead of strncmp() in --debug parsing since one
646
argument has a fixed size anyway
647
- define and use TRUE/FALSE constants
649
* src/debuglog.c, src/debuglog.h:
650
remove log to a file service since it was not used.
652
2003-10-29 Damien Sauveron <sauveron-guest@acer>
654
* src/pcscdaemon.c: Add the option [-a] to the usage of pcscd
657
Solve a problem of recognizition by serviceconf (patch from Tommaso Cucinotta)
659
2003-10-27 Ludovic Rousseau <rousseau@acer>
661
* ChangeLog, configure.in, src/pcsclite.h.in: release 1.2.0 final
663
2003-10-23 Damien Sauveron <sauveron-guest@acer>
665
* src/winscard_svc.c:
666
Sorry I have done an error in the name that I want! Now it is the good name for this structure
668
* src/winscard_svc.c:
669
Change the name of a structure to better explain its usage
671
2003-10-22 Damien Sauveron <sauveron-guest@acer>
673
* src/winscard_msg.c: Add a debug message when a client disappears
676
Move a debug message in an other file to have the good client number when it disappears
678
2003-10-21 Antti Tapaninen <aet-guest@acer>
680
* cvsroot/pcsclite/PCSC/src/winscard_scf.c, src/pcsclite.h.in:
681
- Potential security fixes to SCF client
683
* src/hotplug_libusb.c, src/hotplug_linux.c, src/hotplug_macosx.c:
684
- More merging between the hotplug implementations
685
- Get rid of some internal limitation defines, there
686
seems to be more than enough of these things in
689
* src/hotplug.h, src/hotplug_libusb.c, src/hotplug_linux.c, src/hotplug_macosx.c, src/parser.h, src/tokenfactory.c:
690
- Move all common hotplug defines into hotplug.h
691
- Remove extra LTPBundleFindValueWithKey declarations
693
* src/pcscdaemon.c, src/readerfactory.c: - errno.h cleanups
695
* win32/PCSC.dsp: - Forgot to commit
697
* win32/Makefile.am, win32/win32_pcsclite.h:
698
- Remove win32_pcsclite.h, it's out of sync anyway and the one
699
who wishes to use pcsc-lite under win32 platform in any
700
situation should probably patch src/pcsclite.h and renew
703
2003-10-20 Damien Sauveron <sauveron-guest@acer>
705
* src/pcsclite.h.in: Increase the max readers contexts value
707
* src/readerfactory.c: Support of 255 readers max
709
* src/winscard_svc.c:
710
Correct a bug introduce by me. Sorry. It will be good in the future to improve this part
712
* src/hotplug_linux.c: Correct with the goods concepts constants
714
* src/readerfactory.c: Change variables names
716
* src/hotplug_libusb.c: Correct with the goods concepts constants
718
* src/winscard_clnt.c:
719
Correct with the goods concepts constants, correct some comments and variable name
721
* src/winscard_svc.c, src/eventhandler.c, src/pcscdaemon.c, src/readerfactory.h, src/readerfactory.c:
722
Correct with the goods concepts constants
724
* doc/example/pcsc_demo.c: Correct with the good concept
726
* src/pcsclite.h.in: Introduce the limitations about the concepts
728
* src/README_INTERNALS.txt: A clean up.
730
* src/README_INTERNALS.txt: Add a description of PC/SC Lite Concepts.
732
2003-10-18 Ludovic Rousseau <rousseau@acer>
734
* doc/example/pcsc_demo.c:
735
put back the GNU GPL license since it is not protected by the BSD
736
license used by the other files.
738
2003-10-18 Antti Tapaninen <aet-guest@acer>
740
* src/configfile.l, src/tokenparser.l, cvsroot/pcsclite/PCSC/src/winscard_scf.c, doc/example/pcsc_demo.c, src/atrhandler.c, src/atrhandler.h, src/configfile.h, src/debuglog.c, src/debuglog.h, src/dyn_generic.h, src/dyn_hpux.c, src/dyn_macosx.c, src/dyn_unix.c, src/dyn_win32.c, src/eventhandler.c, src/eventhandler.h, src/hotplug.h, src/hotplug_generic.c, src/hotplug_libusb.c, src/hotplug_linux.c, src/hotplug_macosx.c, src/ifdhandler.h, src/ifdwrapper.c, src/ifdwrapper.h, src/mscdefines.h, src/musclecard.c, src/musclecard.h, src/muscletest.c, src/parser.h, src/pcscdaemon.c, src/pcsclite.h.in, src/powermgt_generic.c, src/powermgt_generic.h, src/prothandler.c, src/prothandler.h, src/readerfactory.c, src/readerfactory.h, src/sys_generic.h, src/sys_unix.c, src/testpcsc.c, src/thread_generic.h, src/thread_unix.c, src/thread_win32.c, src/tokenfactory.c, src/tokenfactory.h, src/utils/bundleTool.c, src/utils/formaticc.c, src/utils/installifd.c, src/winscard.c, src/winscard.h, src/winscard_clnt.c, src/winscard_msg.c, src/winscard_msg.h, src/winscard_svc.c, src/winscard_svc.h, src/wintypes.h, win32/win32_pcsclite.h:
741
- Unify the copyright/description header part for most of the files
743
* src/hotplug_libusb.c, src/hotplug_linux.c:
744
- Remove USB bundle platform (Linux) hardcoding and replace
747
2003-10-15 Ludovic Rousseau <rousseau@acer>
749
* ChangeLog: the release number was wrong :-)
751
* ChangeLog: release 1.2.0-rc3
754
Antti Tapaninen and Damien Sauveron have now their names in ChangeLog.cvs
756
* src/tokenfactory.c: correct a typo
758
* src/winscard_msg.c:
759
perform a round-robbin among clients to avoid starvation under heavy
760
load. Patch from Bettina Martelli.
762
2003-10-15 Damien Sauveron <sauveron-guest@acer>
764
* src/winscard_clnt.c:
765
Verify the availabilty of the daemon before to try a connection.
767
2003-10-13 Damien Sauveron <sauveron-guest@acer>
769
* src/winscard_svc.c: Add a verification before to release a context.
771
2003-10-04 Damien Sauveron <sauveron-guest@acer>
773
* doc/pcscd.8.in: correct the typo
775
2003-09-30 Ludovic Rousseau <rousseau@acer>
777
* src/winscard_clnt.c:
778
SCardEstablishContextTH: print the shared file name if open fails
780
* src/winscard_clnt.c:
781
send debug to stdout only if the environment variable MUSCLECARD_DEBUG
784
* src/tokenfactory.c:
785
having a trailing / in MSC_SVC_DROPDIR (--enable-muscledropdir) is no more mandatory
787
* src/tokenfactory.c:
788
print the directory name with the error message if opendir failed
790
2003-09-29 Damien Sauveron <sauveron-guest@acer>
792
* src/readerfactory.c: Clean up 2 memory leaks
794
* src/readerfactory.c:
795
Clean up the mutex when a reader is removed if needed. This is a memory leak
797
* src/readerfactory.h:
798
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
800
* src/readerfactory.c:
801
Correct a bug introduced by me and add a copyright.
803
2003-09-27 Ludovic Rousseau <rousseau@acer>
805
* src/Makefile.am, src/libmusclecard.pc.in, configure.in:
806
add a new pkg-config file for application using libmusclecard. Closes
807
"[ #300102 ] Should the pkgconfig file of 1.2.0-rc2 have -lmusclecard?"
809
2003-09-24 Damien Sauveron <sauveron-guest@acer>
811
* src/winscard_msg.c:
812
Some clean up on the debug message and indentation.
814
* src/winscard_svc.c: Move some code to a better position.
816
2003-09-23 Damien Sauveron <sauveron-guest@acer>
818
* src/winscard_msg.c: Some cleanups.
820
2003-09-23 Ludovic Rousseau <rousseau@acer>
823
--enable-libusb was not working correctly is the lib is not installed in
826
2003-09-23 Damien Sauveron <sauveron-guest@acer>
828
* cvsroot/pcsclite/PCSC/src/winscard_scf.c:
829
Solve the problem of never exiting the loop when a smartcard is already inserted in the reader, thus blocking the application.
831
2003-09-22 Ludovic Rousseau <rousseau@acer>
833
* src/readerfactory.c:
834
initialize valueLength just before the call to IFDGetCapabilities().
836
* src/readerfactory.c:
837
initialize dwGetSize to the size of the value buffer before calling
838
IFDGetCapabilities().
841
use a local output buffer instead of a global one to be thread safe
843
2003-09-19 Ludovic Rousseau <rousseau@acer>
846
use AC_HELP_STRING() for a pretty look of `configure --help'
848
2003-09-18 Damien Sauveron <sauveron-guest@acer>
850
* src/readerfactory.c:
851
Add the support of simultaneous access on different slots of a reader if the handling is thread safe.
854
Add the tag TAG_IFD_SLOT_THREAD_SAFE for testing if the handling of the slots is thread safe.
856
2003-09-17 Damien Sauveron <sauveron-guest@acer>
858
* src/readerfactory.c:
859
Add a full clean up when there is no space for adding all the slots of a multi-slots reader.
861
* src/readerfactory.c: Clean up in the RFRemoveReader.
863
2003-09-16 Antti Tapaninen <aet-guest@acer>
865
* src/Makefile.am: Put back -rdynamic to pcscd linking because of some
866
IFD drivers. IMHO this is wrong, but what can you do.
868
* configure.in: Put back AC_PROG_CPP, it has nothing to do with C++.
870
2003-09-16 Ludovic Rousseau <rousseau@acer>
872
* configure.in: remove useless AC_PROG_CPP (no C++ code in pcsc-lite)
874
* configure.in, src/pcsclite.h.in:
875
-rc3 version (configure.in and src/pcsclite.h _shall_ be in sync)
877
* configure.in, src/hotplug_libusb.c, src/pcsclite.h.in:
878
remove / at the end of usbdropdir, muscledropdir and ipcdir to be more
881
2003-09-15 Damien Sauveron <sauveron-guest@acer>
883
* src/readerfactory.c:
884
Add the support of simultaneous access on the thread safe IFD.
887
Add the tag TAG_IFD_THREAD_SAFE for testing if the IFD is thread safe.
889
2003-09-15 Antti Tapaninen <aet-guest@acer>
891
* README: Updates to requirements and tested platforms
893
2003-09-11 Damien Sauveron <sauveron-guest@acer>
895
* src/ifdwrapper.c: Better explanation of a comment.
897
* src/readerfactory.c:
898
Cleanup a condition unused and undo some of my previous changes.
900
2003-09-11 Antti Tapaninen <aet-guest@acer>
902
* aclocal/Makefile.am, aclocal/acx_pthread.m4, win32/Makefile.am:
903
Add new files needed by the new bootstrap
905
* build/acinclude.m4, build/acx_pthread.m4, build/install-sh, build/ltconfig, build/missing, build/mkinstalldirs, build/ylwrap:
906
Remove build/ directory
908
* Makefile.am, bootstrap, configure.in, reconf:
909
- Simplify the bootstrapping mechanism
912
* config.h.in: Remove config.h.in, doesn't belong to the repository
914
* win32/PCSC.dsp, win32/config.h, win32/win32_config.h:
915
Rename win32_config.h to config.h
917
2003-09-10 Damien Sauveron <sauveron-guest@acer>
919
* src/readerfactory.c:
920
Cleanup about variables already initialized and indent of some comments
922
* src/debuglog.h: Add a comment about the usage of DebugLogC
924
2003-09-08 Antti Tapaninen <aet-guest@acer>
926
* src/hotplug_macosx.c:
927
Warning fix for PCSCLITE_HP_DROPDIR being already defined
930
HP-UX build fix, add sanity checks to not to use dlfcn
931
if there's native dynamic loading interface available,
932
like HP-UX and MacOS X does.
934
The other option would be just to merge all dynamic
935
loading routines into one file, a lot simpler solution.
937
* config.h.in: Bootstrap update
939
* configure.in: Finish SCF build support, add sanity checks
941
* src/Makefile.am: Add winscard_scf.c to EXTRA_DIST
943
* cvsroot/pcsclite/PCSC/src/winscard_scf.c:
944
Build fixes, add dummy SCardUnload()
946
* config.h.in: Bootstrap update
948
* configure.in, src/Makefile.am:
949
- Make hotpluging / power management to compile again
950
- Add MacOS X build fixes
952
* src/hotplug_generic.c, src/hotplug_libusb.c, src/hotplug_linux.c, src/hotplug_macosx.c, src/powermgt_generic.c:
953
Add necessary ifdef's
955
* src/powermgt_macosx.c: Include hotplug.h to avoid warning message
957
* doc/example/pcsc_demo.c, src/utils/bundleTool.c, src/utils/formaticc.c, src/utils/installifd.c:
958
Build fix for MacOS X, don't bother including
959
from <PCSC/..>, use standard header locations.
961
* src/winscard_msg.c: Back out socklen_t change that I made
963
* src/pcscdaemon.c: Very minor cleanups
965
* src/thread_win32.c: Add missing config.h
968
- Remove --with-common-dir and overly complex libsocket, libresolv
969
etc. probes that I added. Probe only for socket() in libsocket.
970
- Reorder --disable-threadsafe code, needed to get over some
971
libtool issues for various platforms.
973
* src/Makefile.am: Fix --disable-threadsafe issues
975
* README: Don't mention -lposix4 for Solaris, AFAIK it's not needed
979
Fix compiler warning when compiling with --disable-threadsafe
981
* cvsroot/pcsclite/PCSC/src/winscard_scf.c, src/debuglog.c, src/dyn_win32.c, src/hotplug_libusb.c, src/hotplug_linux.c, src/ifdwrapper.c, src/pcscdaemon.c, src/testpcsc.c, src/tokenfactory.c, src/utils/formaticc.c, src/winscard.c, src/winscard_clnt.c, src/winscard_msg.c:
982
AIX build fix, convert // comments into /* */ blocks.
984
2003-09-07 Ludovic Rousseau <rousseau@acer>
986
* src/musclecard.c, src/tokenfactory.c:
987
remove useless \n in debug message strings
989
2003-09-07 Antti Tapaninen <aet-guest@acer>
991
* Makefile.am, configure.in, src/Makefile.am, src/debuglog.c, src/dyn_hpux.c, src/dyn_macosx.c, src/dyn_unix.c, src/dyn_win32.c, src/powermgt_generic.c, src/powermgt_macosx.c, src/sys_unix.c, src/winscard_msg.c:
992
Build fixes. The first version that actually compiles for
993
Linux, Solaris, Tru64 and AIX after src/Makefile.am and
994
configure.in modifications.
997
- No hotplug/power management support
998
- Untested for *BSD, MacOS X and HP-UX,
999
there's other things to do before even
1002
* cvsroot/pcsclite/PCSC/src/winscard_scf.c, src/atrhandler.c, src/atrhandler.h, src/debuglog.c, src/dyn_hpux.c, src/dyn_macosx.c, src/dyn_unix.c, src/dyn_win32.c, src/eventhandler.c, src/hotplug_generic.c, src/hotplug_libusb.c, src/hotplug_linux.c, src/hotplug_macosx.c, src/mscdefines.h, src/musclecard.c, src/musclecard.h, src/muscletest.c, src/pcsclite.h.in, src/powermgt_macosx.c, src/prothandler.c, src/readerfactory.c, src/sys_unix.c, src/testpcsc.c, src/thread_generic.h, src/thread_unix.c, src/tokenfactory.c, src/tokenparser.l, src/utils/bundleTool.c, src/utils/formaticc.c, src/utils/installifd.c, src/winscard.c, src/winscard.h, src/winscard_clnt.c, src/winscard_msg.c, src/winscard_svc.c, src/wintypes.h:
1003
- Cleanups for #include logic and ordering,
1004
it's better to include config.h first.
1006
* config.h.in, configure.in: Checkpoint commit + bootstrap update
1008
* src/Makefile.am, src/utils/Makefile.am, Makefile.am, doc/Makefile.am, doc/example/Makefile.am, etc/Makefile.am:
1009
- Polish and unify Makefiles a bit
1010
- More work towards working src/Makefile.am
1012
* pbx/config.h, src/Makefile.am, src/hotplug_libusb.c, src/pcscdaemon.c, src/tokenfactory.c, src/winscard_msg.c, win32/win32_config.h, config.h.in, configure.in, etc/Makefile.am:
1013
- Remove MSC/PCSC_TARGET_XYZ defines and the massive
1014
use of unflexible automake conditionals. The main
1015
reason why pcsc-lite requires "too much" work when
1016
porting to another OS. Introduced define PCSC_ARCH,
1017
which uses 'uname' as an input. Except Darwin->MacOS.
1018
- Removed --enable-usb
1019
- Preliminary rewrite of src/Makefile.am, doesn't work
1021
- Use gcc specific compiler options only if
1024
* build/acx_pthread.m4: Merged some changes from OpenSC
1026
* src/Makefile.am, src/dyn_bsd.c, src/dyn_unix.c, src/dyn_win32.c, src/pcscdaemon.c, src/sys_generic.h, src/sys_hpux.c, src/sys_solaris.c, src/sys_unix.c, src/thread_generic.h, src/thread_macosx.c, src/thread_unix.c, src/thread_win32.c:
1027
- Removed most of the duplicated code, replaced
1028
with the usage of config.h's defines for
1030
- Merged dyn_{bsd,unix}.c, left as dyn_unix.c
1031
- Merged thread_{macosx,unix}.c, left as thread_unix.c
1032
- Merged sys_{hpux,solaris,unix}.c, left as sys_unix.c
1033
- Removed MSC_ thread API from generic / win32,
1036
Starting from now, the source tree might be broken for a
1037
few hours or even days. Sorry about that.
1039
2003-09-05 Ludovic Rousseau <rousseau@acer>
1042
add #include <unistd.h> to avoid an "implicit declaration of function `getpid'"
1044
2003-09-04 Ludovic Rousseau <rousseau@acer>
1046
* ChangeLog, configure.in, src/pcsclite.h.in: release 1.2.0-rc2
1048
* src/Makefile.am: add thread_win32.c in the distribution
1050
* configure.in, src/Makefile.am:
1051
remove a _stupid_ bug that linked libpcsclite with libusb. Also generate
1052
libmusclecard and remove musclecard code from libpcsclite.
1054
* src/configfile.c, src/tokenparser.c:
1055
removed since they have nothing to do in CVS. They are generated from .l files
1057
* src/muscletest.c: add #include <string.h>
1059
* src/winscard.h: add prototype for SCardUnload()
1061
2003-09-03 Ludovic Rousseau <rousseau@acer>
1063
* doc/example/pcsc_demo.c:
1064
add a call to SCardUnload(). This is not mandatory, just cleaner.
1066
* src/winscard_clnt.c:
1067
add SCardUnload() function to free allocated resources. It is mandatory
1068
only if you use dlopen/dlclose to often load/unload the library. Otherwise
1069
you will exhaust the ressources available and get a crash. Thanks to
1070
Guy Moreillon for the patch.
1072
2003-09-02 Ludovic Rousseau <rousseau@acer>
1075
remove reference to USE_SYSLOG since it is replaced by --debug command
1078
2003-08-31 Ludovic Rousseau <rousseau@acer>
1081
remove documentation about --enable-syslog since it is not used anymore
1084
* NEWS: refer to ChangeLog instead of containing the version number
1086
2003-08-29 David Corcoran <corcoran-guest@acer>
1088
* COPYING: Removed advertising clause
1090
2003-08-28 Ludovic Rousseau <rousseau@acer>
1093
use CAPITAL hex, use default PIN "Muscle00" when none is given, allow to
1094
use more than one readers instead of using only the first one.
1096
* src/musclecard.c: print SW (status word) in hex instead of decimal
1099
add rules to build muscletest. testpcsc is no more executed by make distcheck
1102
do not distribute pcscd.8 bundleTool.8 since they are generated from the
1103
.in versions by ./configure
1106
to not set use_libusb=false in case the argument is "" | "yes" | "YES"
1109
move ChangeLog.cvs to DISTCLEANFILES to avoid an error with 'make distcheck'
1111
2003-08-26 Ludovic Rousseau <rousseau@acer>
1113
* ChangeLog: release 1.2.0-rc1
1115
* configure.in: move addition of -lusb since it is selected by default.
1117
* src/hotplug_libusb.c: disable USB debug by default
1119
* README: add a note about deprecation of --enable-usb
1122
--enable-usb is deprecated and off by default. Use --enable-libusb instead.
1124
* doc/Makefile.am: add example subdirectory
1126
* src/hotplug_libusb.c:
1127
complete redesign to support up to PCSCLITE_MAX_READERS readers whatever
1128
the driver they use (correct bug [ #300067 ] More than 4 Hotplug Readers in
1129
the same time on Linux)
1131
* src/pcsclite.h.in:
1132
define PCSCLITE_MAX_READERS as the maximum number of readers
1134
2003-08-25 Ludovic Rousseau <rousseau@acer>
1137
correct bug #300063: PCSCd reports card is present when there is no card in the reader.
1139
* src/musclecard.c: reindentation
1142
free(evlist->tokenArray), avoid a memory leak (Toni Andjelkovic)
1144
2003-08-22 Ludovic Rousseau <rousseau@acer>
1146
* doc/example/Makefile.am, doc/example/pcsc_demo.c:
1147
demo of a C program using the pcsc-lite API
1149
2003-08-21 Ludovic Rousseau <rousseau@acer>
1151
* src/hotplug_libusb.c, src/hotplug_linux.c: typo in comments
1153
2003-08-20 Ludovic Rousseau <rousseau@acer>
1155
* src/winscard_svc.c:
1156
Sometimes unknown APDUs were being transmitted when 'SCardStatus'
1157
function was invoked (close #300061)
1160
return SCARD_E_INVALID_PARAMETER for APDU of less than 4 bytes (close #300062)
1163
initialise pConnection->shareMode as early as possible (close #300064,
1164
thanks to Wan-Teh Chang)
1166
* src/wintypes.h: correct and remove unused types (close bug #300071)
1168
* src/hotplug_macosx.c:
1169
Add support of reader aliases using <array></array>
1171
* src/hotplug_libusb.c: add empty HPRegisterForHotplugEvents() function
1173
2003-08-19 Ludovic Rousseau <rousseau@acer>
1175
* src/hotplug.h, src/hotplug_generic.c, src/hotplug_linux.c, src/hotplug_macosx.c, src/pcscdaemon.c, src/powermgt_macosx.c:
1176
Add support of PCMCIA for MacOS X and major redesign of the hotplug
1177
support (thanks to Stephen M. Webb for the patch)
1179
* src/eventhandler.c: use <errno.h> instead of <sys/errno.h>
1181
2003-08-18 Ludovic Rousseau <rousseau@acer>
1183
* src/hotplug_libusb.c:
1184
use #ifdef DEBUG_USB_HOTPLUG for USB debug messages
1186
* src/pcscdaemon.c: remove unneeded \n in debug messages
1189
do not look for PCSC/pcsclite.h but pcsclite.h even on MacOS X
1192
add #include <sys/types.h> for FreeBSD (thanks Toni Andjelkovic)
1194
2003-08-15 Ludovic Rousseau <rousseau@acer>
1196
* src/musclecard.c, src/musclecard.h:
1197
add void argument to the MSCCallbackCancelEvent() prototype definition
1198
(thanks to Toni Andjelkovic)
1201
use *linux* instead of linux-gnu (patch from Toni Andjelkovic)
1203
* src/hotplug_libusb.c:
1204
conditionnaly print hotplug debug messages. look for DEBUG_USB_HOTPLUG at the
1205
begining of the file.
1207
* src/hotplug_linux.c:
1208
use FILENAME_MAX instead of manually defined values. Use snprintf()
1209
instead of sprintf() to fill filenames.
1211
2003-08-14 Ludovic Rousseau <rousseau@acer>
1213
* Makefile.am: add s/David Corcoran /David Corcoran /;
1215
* config.h.in: new generated version
1217
* bootstrap: do not remove build/aclocal.m4 anymore
1219
* src/Makefile.am: add parser.h in pcscd_SOURCES
1221
* src/utils/installifd.c:
1222
cast sizeof() with (int) to avoid a warning under MacOS X
1225
add "Copyright (C) 2001-2003 by Ludovic Rousseau" for the version (-v) output.
1227
2003-08-11 Ludovic Rousseau <rousseau@acer>
1229
* src/tokenparser.c: regenerated but should not be in CVS
1231
* src/tokenparser.l: change filename in comment
1233
* src/parser.h: add LTPBundleFindValueWithKey() function prototype
1236
use a size of 200 bytes instead of 256 otherwise it will break every
1237
drivers using the pcscd tokenparser (buffer overflow in the driver).
1239
2003-08-10 Ludovic Rousseau <rousseau@acer>
1241
* README, configure.in, src/Makefile.am, src/hotplug_libusb.c:
1242
add support of libusb
1244
* src/parser.h, src/tokenparser.l:
1245
define maximum buffer lengths and avoid possible buffer overflows
1247
2003-08-08 Ludovic Rousseau <rousseau@acer>
1249
* doc/formaticc.1: pcscd is in section 8 not 1
1251
2003-07-04 Ludovic Rousseau <rousseau@acer>
1254
Installation of the pkgconfig file did not honor libdir. Thanks to Ville
1255
Skytt� for the patch (alioth patch #300045)
1257
2003-06-05 David Corcoran <corcoran-guest@acer>
1259
* src/thread_generic.h, src/thread_win32.c:
1260
fixed MSC_Mutex functions to point to the SYS_Mutex functions
1262
2003-06-04 David Corcoran <corcoran-guest@acer>
1264
* src/debuglog.c, src/debuglog.h, src/musclecard.c, src/musclecard.h, src/pcsclite.h.in, src/thread_generic.h, src/thread_win32.c, src/tokenfactory.c, src/tokenparser.c, win32/PCSC.cpp:
1265
Commiting these files
1267
2003-05-30 Ludovic Rousseau <rousseau@acer>
1269
* ChangeLog: release 1.1.2beta5
1272
remove $ac_aux_dir/aclocal.m4 after use to limit the size of the .tar.gz
1275
remove winscard_msg.c from pcscd_SOURCES since it is already included
1276
in libpcsclite_core_la_SOURCES used by pcscd_LDADD
1278
* build/install-sh, build/missing, build/mkinstalldirs:
1279
new version from automake 1.7.5
1281
* doc/Makefile.in: removed since generated from doc/Makefile.am
1284
the CVS files are now on alioth.debian.org so change the path to remove
1285
to generate the ChangeLog.cvs file
1287
* src/winscard_clnt.c:
1288
SCardStatusTH(): simplify code and return correct results when buffers
1289
are too short or NULL is used
1291
* src/winscard.c: SCardStatus(): do not return before filling buffers
1293
* src/musclecard.c: small cleanup
1296
removed from CVS since generated from doc/Makefile.am
1298
* src/configfile.c, src/tokenparser.c:
1299
regenerated but they should not be in CVS
1301
* src/tokenparser.l: define ret as int
1303
* src/Makefile.am: correct arguments order of ylwrap script
1305
* src/utils/installifd.c:
1306
replace gets() by fgets() to avoid buffer overflow.
1307
Use sizeof() instead of constants.
1308
do not use strdup() since it is useless.
1309
print error messages when needed.
1311
2003-05-28 Ludovic Rousseau <rousseau@acer>
1313
* src/libpcsclite.pc.in:
1314
used to generated a pkg-config ".pc" file (thanks to Andreas Jellinghaus
1315
for the idea and the patch)
1317
* Makefile.in, build/aclocal.m4, build/config.guess, build/config.sub, build/ltmain.sh, configure, etc/Makefile.in, src/Makefile.in, src/utils/Makefile.in:
1318
removed from CVS since they are (re)generated by ./bootstrap
1320
* configure.in, src/Makefile.am, src/utils/installifd.c:
1321
use directory names as use by ./configure
1323
2003-05-27 Ludovic Rousseau <rousseau@acer>
1325
* src/driverparser.c, src/driverparser.l:
1326
no more usefull since tokenparser.* does a better job
1328
* src/tokenparser.l: do not duplicate fclose/return lines
1330
2003-05-25 Ludovic Rousseau <rousseau@acer>
1332
* etc/reader.conf.in:
1333
include configured path appear in the docs (thanks to Ville Skytt�)
1335
* doc/bundleTool.8.in, doc/pcscd.8.in:
1336
correct typos and include configured path appear in the docs (thanks to
1339
2003-05-05 Ludovic Rousseau <rousseau@acer>
1341
* ChangeLog: release 1.1.2beta4
1343
* src/configfile.c: regenerated from src/configfile.c
1345
* src/utils/Makefile.in, Makefile.in, configure, doc/Makefile.in, etc/Makefile.in, src/Makefile.in:
1348
* src/tokenparser.c: regeneration from src/tokenparser.l
1350
* src/tokenparser.l:
1351
code reindentation, use DebugLogB()/DebugLogC with correct number of
1355
avoid possible buffer overflow in pcsc_stringify_error()
1358
add -pthread for xBSD, use AM_CFLAGS instead of CFLAGS, driverparser.c
1361
* bootstrap: use automake 1.7.3
1363
* README: also tested on Debian 3.0 and OpenBSD 3.2
1365
2003-04-07 Ludovic Rousseau <rousseau@acer>
1367
* src/tokenparser.l:
1368
reindent, use DebugLogB instead of DebugLogC, add indice number in debug
1371
* src/hotplug_linux.c: support driver aliases in Info.plist
1373
* src/hotplug_linux.c: use LTPBundleFindValueWithKey(.., 0) instead of
1374
LCFBundleFindValueWithKey()
1376
* src/hotplug_linux.c: reindent
1378
* src/hotplug_linux.c: code simplification
1380
* src/hotplug_linux.c: add directory name to error message
1382
2003-01-09 Ludovic Rousseau <rousseau@acer>
1385
the log output mode (syslog, stdout, stderr) can't be combined. stderr
1386
had precedence (in the code) over stdout that was _never_ used.
1388
2002-12-08 Ludovic Rousseau <rousseau@acer>
1390
* src/pcsclite.h.in:
1391
use pcscd.* instead of pcsc.* to be unoform with pcscd.pid
1393
2002-12-07 Ludovic Rousseau <rousseau@acer>
1395
* doc/Makefile.am: remove pcscd.startup since it is now in etc/
1397
* ChangeLog: release 1.1.2beta3
1399
* Makefile.in, config.h.in, configure, doc/Makefile.in, etc/Makefile.in:
1402
* src/utils/Makefile.in, src/Makefile.in: regenarated
1405
create PCSCLITE_IPC_DIR if it does not exist. For example when it is set
1406
to /tmp/pcsc/ (default now is /var/run/)
1408
* src/pcsclite.h.in: use pcsc.comm instead of pcsc.omm
1410
* doc/pcscd.startup: removed. The startup script is in etc/
1412
* src/eventhandler.c: small source code reformating
1414
* src/musclecard.c, src/tokenfactory.c, src/tokenparser.c:
1415
use DebugLogB() for logs with 2 parameters and not DebugLogC()
1418
DebugLogC() uses 3 parameters not 2 (use DebugLogB() for that)
1420
* src/eventhandler.c:
1421
add filename and error message to error logs for /var/run/pcsc.pub
1423
* src/pcscdaemon.c, src/pcsclite.h.in:
1424
add support of --enable-ipcdir=DIR
1427
reorganise conditionals to to have a src/Makefile.in file 142 (yes 142) times
1428
smaller (33 KB instead of 4.7 MB)
1430
* etc/Makefile.am: also distribute etc/pcscd.startup
1432
* configure.in: update to autoconf 2.56 (lot of changes).
1433
add --enable-ipcdir=DIR option. Default is now /var/run/ instead of /tmp/pcsc/
1435
* bootstrap: update for autoconf 2.57 and automake 1.6.3
1437
* Makefile.am: add win32/ files and some rework
1439
2002-12-06 Ludovic Rousseau <rousseau@acer>
1441
* src/winscard.c: accept pioRecvPci == NULL in SCardTransmit()
1443
* src/winscard_clnt.c: source code reformating
1445
* src/winscard_clnt.c: correct an overflow in SCardGetStatusChange()
1446
replace "if (cReaders > PCSCLITE_MAX_CONTEXTS)" by
1447
"if (cReaders >= PCSCLITE_MAX_CONTEXTS)". Thanks to Michael Nidd
1449
* src/winscard_clnt.c: init g_rgSCard??Pci variable at compile time
1451
2002-12-04 Ludovic Rousseau <rousseau@acer>
1453
* ChangeLog: add Dmitry Djachenko pacthes
1455
2002-12-02 David Corcoran <corcoran@acer>
1457
* src/debuglog.c, src/musclecard.c, src/pcscdaemon.c, src/utils/bundleTool.c, Makefile.in, build/aclocal.m4, config.h.in, configure, configure.in, doc/Makefile.in, src/Makefile.am, src/Makefile.in:
1458
Included changes from Citrix
1459
- Support for AIX in configure.in and Makefile.am
1460
- added ifdef for SNPRINTF and VSNPRINTF
1462
2002-11-29 Ludovic Rousseau <rousseau@acer>
1464
* src/winscard.c: code reformatting
1466
* src/winscard.c: initialise g_rgSCard??Pci globals at compile time
1468
* src/winscard.c: SCardStatus(): set more return values
1471
Check reader name and ATR size are correct (no buffer oveflow)
1473
* src/winscard.c: check pioRecvPci is non NULL before assignment
1475
* src/winscard.c: SCardReconnect() returns more interesting error codes
1477
2002-10-30 Ludovic Rousseau <rousseau@acer>
1479
* src/prothandler.c, src/prothandler.h:
1480
PHSetProtocol() returns a DWORD and not a UCHAR since
1481
rContext->dwProtocol is a DWORD. Thanks to Oleg Makarenko.
1483
* src/atrhandler.c, src/eventhandler.c, src/prothandler.c, src/winscard.c:
1484
include some missing .h files. Thanks to Oleg Makarenko
1486
2002-10-16 David Corcoran <corcoran@acer>
1488
* etc/SmartcardServices, pbx/config.h: some changes for the Mac
1490
2002-10-15 David Corcoran <corcoran@acer>
1492
* src/utils/Makefile.in, ChangeLog, Makefile.in, build/aclocal.m4, config.h.in, configure, configure.in, doc/Makefile.in, etc/Makefile.in, src/Makefile.am, src/Makefile.in:
1493
Some changes to make SCF easier to use
1495
2002-10-12 Ludovic Rousseau <rousseau@acer>
1498
use autoconf instead of autoreconf to not reuse an old config
1500
* src/utils/Makefile.in, Makefile.in, build/aclocal.m4, configure, doc/Makefile.in, etc/Makefile.in, src/Makefile.in:
1501
new version of autoregenerating files
1503
* ChangeLog: release 1.1.2beta2
1505
2002-10-08 Ludovic Rousseau <rousseau@acer>
1508
do not link with -lpthread under bsd as it breaks under OpenBSD and
1512
use "test x${usbdropdir} = xfalse" instead of "test x${usbdropdir} ==
1513
xfalse" since it generates an error under FreeBSD (test: xfalse:
1514
unexpected operator). For a strange reason the bug was not detected
1517
2002-10-06 Ludovic Rousseau <rousseau@acer>
1520
use -rdynamic instead of -Wl,--export-dynamic since some systems
1521
(OpenBSD) did not support it
1523
* src/pcscdaemon.c: add --apdu documentation in --help message
1524
support -a argument even when HAVE_GETOPT_LONG not supported
1526
* src/utils/formaticc.c:
1527
add a (char *) cast to avoid a compilation warning
1529
2002-10-06 Jean-Luc Giraud <giraud@acer>
1531
* etc/SmartcardServices:
1532
Added support for start/stop/restart invocation parameters
1535
Added #define for support of /var/run/pid. pid file is /var/run/pcscd.pid
1537
2002-10-06 Ludovic Rousseau <rousseau@acer>
1539
* src/utils/Makefile.in, src/Makefile.in, etc/Makefile.in, doc/Makefile.in, build/aclocal.m4, Makefile.in, config.h.in, configure, stamp-h.in:
1540
new version of autoregenerating files
1543
add -DPACKAGE and -DVERSION to compilation flags. They are no more
1544
included in config.h
1546
* configure.in: change version from 1.1.2beta1 to 1.1.2
1548
* bootstrap: remove config.h.in to be sure to regenerate it
1550
2002-10-05 Ludovic Rousseau <rousseau@acer>
1552
* src/pcsclite.h.in: change VERSION number from 1.1.2beta1 to 1.1.2
1555
print an error message if the --debug argument is not known
1557
2002-10-04 David Corcoran <corcoran@acer>
1559
* cvsroot/pcsclite/PCSC/src/winscard_scf.c: quick fix
1561
* cvsroot/pcsclite/PCSC/src/winscard_scf.c: added scf compatibility
1563
* src/wintypes.h: added helge's fix to WORD
1565
* src/powermgt_macosx.c: fix for osx deadlock on sleep
1567
2002-10-03 David Corcoran <corcoran@acer>
1569
* src/hotplug_linux.c: some changes to support multiplle usb readers
1571
2002-10-03 Ludovic Rousseau <rousseau@acer>
1573
* src/hotplug_linux.c:
1574
close PCSCLITE_HP_DROPDIR (/usr/local/pcsc/drivers/) after use
1576
2002-10-03 David Corcoran <corcoran@acer>
1578
* src/winscard.c: added fix by amira
1580
2002-10-02 David Corcoran <corcoran@acer>
1582
* src/tokenfactory.c: added default dropdir
1584
* src/winscard.c, src/Makefile.in:
1585
added athena patch for SCARD_PROTOCOL_ANY in SCardConnect
1587
* src/eventhandler.c, src/readerfactory.c:
1588
Fixed multi-reader + sleep problem
1590
* Makefile.in, build/aclocal.m4, config.h.in, configure, doc/Makefile.in, src/Makefile.in:
1591
Re-importing autoconf stuff
1593
2002-10-02 Jean-Luc Giraud <giraud@acer>
1595
* pbx/config.h, src/readerfactory.c:
1596
Modified version number from 1.1.0 to 1.1.1
1598
2002-09-07 Ludovic Rousseau <rousseau@acer>
1601
Log to stderr by default. Print an error message if --debug argument is
1604
2002-09-06 Ludovic Rousseau <rousseau@acer>
1606
* configure.in, src/pcsclite.h.in: release 1.1.2beta1
1609
forgot to add support of --enable-muscledropdir in bundleTool.c
1611
* src/utils/bundleTool.c, src/tokenfactory.c:
1612
add support for --enable-muscledropdir
1614
* build/aclocal.m4, build/config.guess, build/config.sub, build/install-sh, build/ltmain.sh, build/missing, build/mkinstalldirs, build/ylwrap:
1617
* reconf: do not restart ./configure
1619
* configure.in: add support for --enable-muscledropdir
1621
* bootstrap: test if a Makfile exists before make distclean
1624
The licence file is COPYING and not LICENSE (thanks to Juha Tuomala)
1626
2002-08-18 Ludovic Rousseau <rousseau@acer>
1628
* doc/Makefile.am, doc/Makefile.in, doc/formaticc.1:
1629
add formaticc.1 from Debian
1631
2002-08-16 Ludovic Rousseau <rousseau@acer>
1633
* src/pcscdaemon.c: typo (add a space)
1635
2002-08-15 Ludovic Rousseau <rousseau@acer>
1637
* src/utils/formaticc.c: lots of debug and buffer overflow removal
1639
* src/utils/bundleTool.c: print usage in cas of wrong arguments
1641
* doc/Makefile.am, doc/Makefile.in, doc/bundleTool.1, doc/bundleTool.8.in:
1642
update and rename bundleTool.1
1644
2002-08-13 Ludovic Rousseau <rousseau@acer>
1646
* configure.in, src/pcsclite.h.in:
1647
switch from version 1.1.1 to 1.1.2 for cvs snapshots
1649
* src/Makefile.am, src/Makefile.in:
1650
add -Wl,--export-dynamic link option
1652
* src/musclecard.c: add a return NULL;
1654
* src/ifdwrapper.c: add support for --apdu
1656
* src/debuglog.c, src/debuglog.h:
1657
add support for --apdu and other same log messages
1660
add support for --apdu, test if the pcscd is still running before
1661
complaining that /tmp/pcsc is present
1663
* src/readerfactory.c: properly initialise rv
1665
* src/eventhandler.c: typo
1667
* doc/pcscd.8.in: add the -a|--apdu option + some cleaning
1669
* reconf: make distclean before autoreconf
1671
* reconf: *** empty log message ***
1673
* configure.in, src/hotplug_linux.c:
1674
set the PCSCLITE_HP_DROPDIR as a ./configure option
1676
2002-07-30 Ludovic Rousseau <rousseau@acer>
1679
add #ifdef USE_THREAD_SAFETY otherwise it wont compile with
1680
--disable-threadsafe
1682
2002-07-01 David Corcoran <corcoran@acer>
1684
* doc/pcscd.startup: readding
1686
* doc/pcscd.startup, etc/pcscd.startup: moved location
1688
2002-06-27 David Corcoran <corcoran@acer>
1690
* src/musclecard.c, src/tokenfactory.c, win32/PCSC.dsp: Win32
1692
2002-06-19 David Corcoran <corcoran@acer>
1694
* src/readerfactory.c: removed printf
1696
2002-06-18 David Corcoran <corcoran@acer>
1698
* src/musclecard.h: MSCPUChar8 -> MSCUChar8
1700
2002-06-11 David Corcoran <corcoran@acer>
1702
* src/musclecard.h: Added more Initialization parameters ...
1704
2002-06-05 David Corcoran <corcoran@acer>
1706
* src/musclecard.c: hello
1708
* src/musclecard.c: ;lkj
1710
* src/musclecard.c: bad if then
1712
* src/musclecard.c: some changes
1714
* src/musclecard.c, src/thread_generic.h, src/thread_macosx.c, src/thread_unix.c:
1715
Added generic thread support to musclecard.c and added pthread_join
1717
* src/musclecard.c: Added join to cancelcallback
1719
* COPYING, ChangeLog, NEWS, README:
1720
Fixed problem with MSC_SHARE_DIRECT connections
1721
Added changes to docs
1724
* src/pcsclite.h.in, Makefile.in, build/aclocal.m4, configure, configure.in, doc/Makefile.in, src/Makefile.in:
1727
* src/winscard_clnt.c: removed unused variable i
1729
* src/readerfactory.c:
1730
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.
1732
2002-06-03 David Corcoran <corcoran@acer>
1734
* src/readerfactory.h:
1735
replaced magic number with constant 16->PCSCLITE_MAX_CONTEXTS
1737
2002-05-31 David Corcoran <corcoran@acer>
1739
* src/winscard_clnt.c:
1740
Removed bug: line 1986 SCardCleanupClient would release the socket too early
1742
2002-05-28 David Corcoran <corcoran@acer>
1744
* doc/muscle-api-1.3.0.pdf: Added muscle-docs
1746
* AUTHORS, ChangeLog, Makefile.in, NEWS, README, SECURITY, build/aclocal.m4, configure, configure.in, doc/Makefile.am, doc/Makefile.in, doc/pcscd.startup, etc/SmartcardServices, etc/StartupParameters.plist, src/Makefile.am, src/Makefile.in:
1747
Finalizing for the release
1749
* src/utils/formaticc.c: Added wintypes.h
1751
* Makefile.in, build/aclocal.m4, build/ltmain.sh, doc/Makefile.in, src/Makefile.am, src/Makefile.in:
1754
2002-05-28 phuang <phuang@acer>
1756
* src/dyn_hpux.c: hpux need <errno.h> to compile correctly
1758
2002-05-21 Ludovic Rousseau <rousseau@acer>
1761
patch the generated ChangeLog.cvs to have correct file and author names
1763
2002-05-10 Ludovic Rousseau <rousseau@acer>
1766
added the .h files in the distibution but they will not be installed by
1768
So now 'make test' and 'make testcheck' should work again.
1769
Sorry Dave for my mistake in v1.3 you corrected in v1.4. I hope it is OK
1772
* doc/Makefile.am: add pcscd.startup in the distribution
1774
2002-05-07 David Corcoran <corcoran@acer>
1776
* src/utils/Makefile.in, Makefile.in, build/aclocal.m4, configure, configure.in, doc/Makefile.in, etc/Makefile.in, src/Makefile.in:
1777
Updated version to 1.1.0
1779
* etc/Makefile.in, doc/Makefile.in, Makefile.in, config.h.in, configure, configure.in:
1780
Fixing so that --disable-threadsafe works !!!
1782
* src/utils/Makefile.in, src/Makefile.am, src/Makefile.in:
1783
Adding Makefile.am with -lpthread for PCSCD_INCLUDE_LIBS
1785
* src/dyn_win32.c: Added Win32 dynamic lib loading
1787
2002-05-06 David Corcoran <corcoran@acer>
1790
Added real time card reset/removed checking. Fixed bug which begin/end transaction would not return this.
1792
* win32/PCSC.dsp, win32/PCSC.h, win32/StdAfx.cpp, win32/StdAfx.h, win32/pthread.h, win32/sched.h, win32/win32_config.h, win32/win32_pcsclite.h, src/debuglog.c, src/mscdefines.h, src/musclecard.c, src/musclecard.h, src/thread_unix.c, src/tokenfactory.c, src/tokenparser.c, win32/PCSC.cpp:
1793
Added support for Win32 based platforms for Muscle Framework.
1795
* pcsc.pbproj/project.pbxproj:
1796
Checking in new project file for project builder
1798
2002-05-06 Chris Osgood <oznet@acer>
1800
* src/dyn_win32.c: New file.
1802
* src/dyn_win32.c: Win32 updates
1804
* win32/PCSC.cpp, win32/PCSC.dsp, win32/PCSC.h, win32/StdAfx.cpp, win32/StdAfx.h, win32/pthread.h, win32/sched.h, win32/win32_config.h, win32/win32_pcsclite.h:
1807
* src/debuglog.c, src/mscdefines.h, src/musclecard.c, src/musclecard.h, src/thread_unix.c, src/tokenfactory.c, src/tokenparser.c, win32/PCSC.cpp, win32/PCSC.dsp, win32/PCSC.h, win32/StdAfx.cpp, win32/StdAfx.h, win32/pthread.h, win32/sched.h, win32/win32_config.h, win32/win32_pcsclite.h:
1810
2002-04-27 David Corcoran <corcoran@acer>
1812
* pcsc.pbproj/project.pbxproj, src/hotplug_macosx.c:
1813
Added versioning to pbxproj file, updated config.h. Fixed Plugin->PlugIn.h in hotplug
1815
2002-04-26 David Corcoran <corcoran@acer>
1817
* doc/pcscd.8.in: Updated the man page
1819
2002-04-25 David Corcoran <corcoran@acer>
1821
* pcsc.pbproj/project.pbxproj:
1822
Added bundle header information for buildit
1824
* pbx/config.h, src/pcscdaemon.c, src/pcsclite.h.in:
1825
Added new version numbering
1827
* src/eventhandler.c, src/readerfactory.c:
1828
removed printf debugging for release
1830
* src/hotplug_macosx.c, src/powermgt_macosx.c:
1831
Changes to the power management behavior
1833
2002-04-24 David Corcoran <corcoran@acer>
1835
* pbx/PCSC.pbproj/project.pbxproj: Removal
1837
* pcsc.pbproj/project.pbxproj, src/eventhandler.c, src/hotplug_macosx.c, src/powermgt_macosx.c, src/readerfactory.c, src/readerfactory.h, src/winscard.c:
1838
moved project builderstuff and removed some files
1840
* pbx/PCSC.pbproj/project.pbxproj, src/musclecard.c, src/musclecard.h, src/muscletest.c, src/powermgt_macosx.c:
1843
2002-04-23 David Corcoran <corcoran@acer>
1845
* pbx/PCSC.pbproj/project.pbxproj, src/eventhandler.c, src/hotplug_macosx.c, src/pcscdaemon.c, src/powermgt_generic.h, src/powermgt_macosx.c, src/readerfactory.c, src/readerfactory.h:
1846
No changes, just time/date issues
1848
2002-04-22 David Corcoran <corcoran@acer>
1850
* pbx/PCSC.pbproj/project.pbxproj, pbx/config.h, src/mscdefines.h, src/pcsclite.h.in, src/sys_generic.h, src/sys_hpux.c, src/sys_solaris.c, src/sys_unix.c, src/winscard.h, src/winscard_msg.c, src/winscard_svc.c:
1851
config.h -> added cvs to version
1852
project.pbx -> modified project builder attributes
1853
pcsclite.h -> __APPLE__
1854
mscdefines.h -> __APPLE__
1855
sys_generic.h, sys_hpux.c sys_solaris.c sys_unix.c
1856
int SYS_Exit to void SYS_Exit
1857
winscard_msg.c removed message in CommonSegment
1859
2002-04-21 Carlos Prados <cprados@acer>
1861
* configure.in, src/pcscdaemon.c:
1862
Added autoconf check for getopt.h header
1864
2002-04-16 David Corcoran <corcoran@acer>
1866
* src/pcscdaemon.c: Added #ifdef around #include <getopt.h>
1868
2002-04-14 Carlos Prados <cprados@acer>
1870
* configure.in: Added getopt_long() check.
1873
Added getopt and getopt_long support for command line parsing.
1875
2002-04-12 David Corcoran <corcoran@acer>
1877
* src/musclecard.c: Added wait for thread return for the callback
1879
* src/musclecard.c, src/musclecard.h:
1880
Added BLOCKSTATUS defines and checks in the Callbacks so that the
1881
race condition would go away.
1883
* src/musclecard.h: Removed MSCCertInfo
1885
2002-04-11 David Corcoran <corcoran@acer>
1887
* src/mscdefines.h: removed cert function pointers
1889
* src/tokenfactory.c: removed certificate function pointers
1891
* src/musclecard.c, src/musclecard.h:
1892
Removed all certificate handling functions
1894
2002-04-10 David Corcoran <corcoran@acer>
1896
* src/pcscdaemon.c: Added extern int errno - wouldn't build on Solaris
1898
* src/winscard_clnt.c:
1899
Removed atexit() put cleanup code in SCardReleaseContext
1901
* src/musclecard.c: some modifications for tabs.
1904
Removed SetCapabilities -> put into 1.0 version for performance reasons
1906
* src/musclecard.c, src/musclecard.h:
1907
Removed extra Read/Write functions
1909
2002-04-09 David Corcoran <corcoran@acer>
1911
* src/musclecard.c, src/musclecard.h:
1912
Added keyPartner to MSCImportKey. Added keyMapping to MSCKeyInfo structure
1914
2002-04-08 David Corcoran <corcoran@acer>
1916
* src/pcscdaemon.c, src/pcsclite.h.in, src/readerfactory.c, src/readerfactory.h, src/winscard_clnt.c, src/winscard_svc.c, Makefile.in, build/aclocal.m4, configure, src/Makefile.am, src/Makefile.in:
1917
Fixed a security vulnerability in winscard_svc.c. Removed /tmp/pcsc/.pcsctmp
1918
and replaced it with a stat /tmp/pcsc on the client side. Modified Makefile.am
1919
to only install needed include files to /usr/local/include
1921
2002-04-08 Michael Gile <mikeg@acer>
1923
* src/readerfactory.c:
1924
initialized return value to -1 in RFSetReaderName
1926
2002-04-07 Ludovic Rousseau <rousseau@acer>
1928
* src/pcscdaemon.c, src/pcsclite.h.in, src/readerfactory.c:
1929
Allow pcscd to do bulk transfers for devices with high speed:
1931
Enhanced messaging has been added to accomodate newer devices which
1932
have more advanced capabilites, such as dedicated secure co-processors
1933
which can stream and encrypt data over USB. In order to used enhanced
1934
messaging you must define PCSCLITE_ENHANCED_MESSAGING in the
1935
framework(library), the daemon, and your application
1937
Thanks to Michael Gile <mgile@mac.com> for the patch
1939
2002-04-06 Ludovic Rousseau <rousseau@acer>
1941
* AUTHORS: Added my name as suggested by David
1944
using -d1 (debug to stderr) or -d2 (debug to stdout) also activate the
1945
-fg option (foreground). Otherwise pcscd is started as a daemon
1946
(default) and stdout and stderr file descriptors are closed and then
1947
debug is useless since sent to /dev/null
1949
* src/pcsclite.h.in, configure.in: renamed 1.0.2.beta5 to 1.0.2.cvs
1951
* Makefile.am: make the ChangeLog.cvs rule .PHONY
1953
* src/pcscdaemon.c, src/sys_generic.h, src/sys_hpux.c, src/sys_solaris.c, src/sys_unix.c, src/winscard_clnt.c, src/winscard_msg.c:
1954
use SYS_CloseFile() instead of close()
1955
use SYS_OpenFile() instead of open()
1956
use SYS_Chdir() instead of chdir()
1957
use SYS_Daemon() instead of daemon()
1958
test return values and print a debug message when necessary
1960
patch provided by Toni Andjelkovic <toni@soth.at>
1962
* Makefile.am: add a rule to create ChangeLog.cvs
1965
add error code management for SHMProcessEvents returned value
1967
2002-04-05 Ludovic Rousseau <rousseau@acer>
1969
* configure.in: correct text alignment
1971
* doc/Makefile.in, etc/Makefile.in, src/utils/Makefile.in:
1972
removed since generated automatically by automake
1975
USE_SYSLOG is no more used. code rewrote with debug_msg()
1977
* src/debuglog.c: debug_xxd(): also use the debug_msg_type way
1980
removed since generated automatically from configure.in by autoheader
1982
2002-04-04 Ludovic Rousseau <rousseau@acer>
1984
* Makefile.in, src/Makefile.in:
1985
removed since automatically generated from Makefile.am
1987
* src/pcscdaemon.c, src/winscard_msg.c:
1988
src/winscard_msg.c: SHMProcessEvents() timeout on the select and go back
1989
into src/pcscdaemon.c: SVCServiceRunLoop()
1990
This is used to catch the Ctrl-C signal (in SVCServiceRunLoop) at some
1991
time when nothing else happens
1994
removed dlerror() from if tests since it is not the best way to test for
1998
DYN_GetAddress() now correctly handles errors by not using dlerror() to
1999
know if an error occured since the error may have occured in a previous
2001
Also removed dlerror() from if tests everywhere else
2004
add many .h files in include_HEADERS so that 'make dist' include all the
2006
add muscletest.c in EXTRA_libpcsclite_core_la_SOURCES
2008
2002-04-04 David Corcoran <corcoran@acer>
2011
Some event changes, begin/end transaction. Added IdentifyToken
2013
2002-04-04 Ludovic Rousseau <rousseau@acer>
2015
* src/utils/bundleTool.c:
2016
removed unused variable char tempString[1024];
2017
add a return 0 for main()
2019
* src/atrhandler.c, src/atrhandler.h, src/configfile.c, src/configfile.h, src/debuglog.c, src/debuglog.h, src/driverparser.c, src/dyn_bsd.c, src/dyn_generic.h, src/dyn_hpux.c, src/dyn_macosx.c, src/dyn_unix.c, src/eventhandler.c, src/eventhandler.h, src/hotplug.h, src/hotplug_generic.c, src/hotplug_linux.c, src/hotplug_macosx.c, src/ifdhandler.h, src/ifdwrapper.c, src/ifdwrapper.h, src/mscdefines.h, src/musclecard.c, src/musclecard.h, src/muscletest.c, src/pcscdaemon.c, src/pcsclite.h.in, src/powermgt_macosx.c, src/prothandler.c, src/prothandler.h, src/readerfactory.c, src/readerfactory.h, src/sys_generic.h, src/sys_hpux.c, src/sys_solaris.c, src/sys_unix.c, src/testpcsc.c, src/thread_generic.h, src/thread_macosx.c, src/thread_unix.c, src/tokenfactory.c, src/tokenfactory.h, src/tokenparser.c, src/utils/bundleTool.c, src/utils/formaticc.c, src/utils/installifd.c, src/winscard.c, src/winscard.h, src/winscard_clnt.c, src/winscard_msg.c, src/winscard_msg.h, src/winscard_svc.c, src/winscard_svc.h, src/wintypes.h:
2020
complete and automatic reindentation of *.c and *.h files
2024
2002-04-01 Jean-Luc Giraud <giraud@acer>
2026
* src/musclecard.h: musclecard:
2027
- replaced PCSC_TARGET_OSX with __APPLE__ in #ifndef for mscdefines.h inclusion
2029
- no meaningful modifications
2031
2002-03-31 Jean-Luc Giraud <giraud@acer>
2033
* pbx/PCSC.pbproj/project.pbxproj, src/readerfactory.c:
2034
Fix 1 issue in readerfactory.c
2035
- valueLength=sizeof(tagValue) in RFSetReaderName to allow IFDHandlers to know
2036
how much space is available
2038
Modified PB project to allow build in proper order and have testpcsc used
2039
the new PCSC framework available in the build folder.
2041
2002-03-31 David Corcoran <corcoran@acer>
2043
* src/configfile.c: Added this
2045
* src/configfile.l: Big Ass Error badError = 1 instead of ==
2047
2002-03-30 David Corcoran <corcoran@acer>
2049
* src/pcscdaemon.c: removed crap PCSC_DEBUG
2051
* src/readerfactory.c, src/wintypes.h:
2052
Fixed multi-reader bug, also fixed wintypes bug
2054
* build/aclocal.m4, config.h.in, configure, configure.in, doc/Makefile.am, doc/Makefile.in, doc/bundleTool.1, doc/pcscd.8.in, src/pcscdaemon.c, src/utils/Makefile.am, src/utils/Makefile.in:
2057
* src/configfile.l, src/pcscdaemon.c, src/Makefile.am, src/configfile.c:
2058
Added some command line arguments.
2060
* src/debuglog.c, src/debuglog.h, src/pcscdaemon.c, src/pcsclite.h.in, src/tokenparser.c:
2061
Added command line debug options
2063
* src/utils/Makefile.am, src/utils/Makefile.in, src/utils/README, src/utils/bundleTool.c, src/utils/formaticc.c, src/utils/installifd.c, src/utils/sample.ibm, src/utils/sample.in, src/utils/sample.out:
2066
* src/utils/Makefile.am, src/utils/Makefile.in, src/utils/README, src/utils/bundleTool.c, src/utils/formaticc.c, src/utils/installifd.c, src/utils/sample.ibm, src/utils/sample.in, src/utils/sample.out:
2069
* src/winscard_msg.h, src/winscard_svc.c, src/winscard_svc.h, src/wintypes.h:
2072
* src/winscard_msg.h, src/winscard_svc.c, src/winscard_svc.h, src/wintypes.h:
2075
* src/winscard_clnt.c, src/winscard_msg.c: New file.
2077
* src/winscard_clnt.c, src/winscard_msg.c: PCSC
2079
* src/winscard.c, src/winscard.h: New file.
2081
* src/winscard.c, src/winscard.h: PCSC
2083
* src/tokenparser.l: New file.
2085
* src/tokenparser.l: PCSC
2087
* src/tokenparser.c: New file.
2089
* src/tokenparser.c: PCSC
2091
* src/tokenfactory.c, src/tokenfactory.h: New file.
2093
* src/tokenfactory.c, src/tokenfactory.h: PCSC
2095
* src/sys_hpux.c, src/sys_solaris.c, src/sys_unix.c, src/testpcsc.c, src/thread_generic.h, src/thread_macosx.c, src/thread_unix.c:
2098
* src/sys_hpux.c, src/sys_solaris.c, src/sys_unix.c, src/testpcsc.c, src/thread_generic.h, src/thread_macosx.c, src/thread_unix.c:
2101
* src/README_INTERNALS.txt, src/readerfactory.c, src/readerfactory.h, src/sys_generic.h:
2104
* src/README_INTERNALS.txt, src/readerfactory.c, src/readerfactory.h, src/sys_generic.h:
2107
* src/pcscdaemon.c, src/pcsclite.h.in, src/powermgt_macosx.c, src/prothandler.c, src/prothandler.h:
2110
* src/pcscdaemon.c, src/pcsclite.h.in, src/powermgt_macosx.c, src/prothandler.c, src/prothandler.h:
2113
* src/musclecard.h, src/muscletest.c: New file.
2115
* src/musclecard.h, src/muscletest.c: PCSC
2117
* src/musclecard.c: New file.
2119
* src/musclecard.c: PCSC
2121
* src/Makefile.in, src/mscdefines.h: New file.
2123
* src/Makefile.in, src/mscdefines.h: PCSC
2125
* src/Makefile.am, src/ifdwrapper.c, src/ifdwrapper.h: New file.
2127
* src/Makefile.am, src/ifdwrapper.c, src/ifdwrapper.h: PCSC
2129
* src/hotplug_macosx.c, src/ifdhandler.h: New file.
2131
* src/hotplug_macosx.c, src/ifdhandler.h: PCSC
2133
* src/eventhandler.c, src/eventhandler.h, src/hotplug.h, src/hotplug_generic.c, src/hotplug_linux.c:
2136
* src/eventhandler.c, src/eventhandler.h, src/hotplug.h, src/hotplug_generic.c, src/hotplug_linux.c:
2139
* src/driverparser.c, src/driverparser.l, src/dyn_bsd.c, src/dyn_generic.h, src/dyn_hpux.c, src/dyn_macosx.c, src/dyn_unix.c:
2142
* src/driverparser.c, src/driverparser.l, src/dyn_bsd.c, src/dyn_generic.h, src/dyn_hpux.c, src/dyn_macosx.c, src/dyn_unix.c:
2145
* src/configfile.c, src/configfile.h, src/configfile.l, src/debuglog.c, src/debuglog.h:
2148
* src/configfile.c, src/configfile.h, src/configfile.l, src/debuglog.c, src/debuglog.h:
2151
* pbx/PCSC.pbproj/project.pbxproj, src/atrhandler.c, src/atrhandler.h:
2154
* pbx/PCSC.pbproj/project.pbxproj, src/atrhandler.c, src/atrhandler.h:
2157
* doc/README.DAEMON, doc/pcscd.8.in, doc/pcscd.startup, etc/Makefile.am, etc/Makefile.in, etc/SmartcardServices, etc/StartupParameters.plist, etc/reader.conf.in, pbx/config.h:
2160
* doc/README.DAEMON, doc/pcscd.8.in, doc/pcscd.startup, etc/Makefile.am, etc/Makefile.in, etc/SmartcardServices, etc/StartupParameters.plist, etc/reader.conf.in, pbx/config.h:
2163
* doc/pcsc-lite-0.8.7.pdf: New file.
2165
* doc/pcsc-lite-0.8.7.pdf: PCSC
2167
* doc/Makefile.in: New file.
2169
* doc/Makefile.in: PCSC
2171
* build/ltmain.sh, build/missing, build/mkinstalldirs, build/ylwrap, doc/Makefile.am, doc/bundleTool.1:
2174
* build/ltmain.sh, build/missing, build/mkinstalldirs, build/ylwrap, doc/Makefile.am, doc/bundleTool.1:
2177
* build/ltconfig: New file.
2179
* build/ltconfig: PCSC
2181
* build/config.sub, build/install-sh: New file.
2183
* build/config.sub, build/install-sh: PCSC
2185
* build/config.guess: New file.
2187
* build/config.guess: PCSC
2189
* build/acx_pthread.m4: New file.
2191
* build/acx_pthread.m4: PCSC
2193
* build/aclocal.m4: New file.
2195
* build/aclocal.m4: PCSC
2197
* Makefile.in, NEWS, README, SECURITY, build/acinclude.m4, reconf, stamp-h.in:
2200
* Makefile.in, NEWS, README, SECURITY, build/acinclude.m4, reconf, stamp-h.in:
2203
* INSTALL, Makefile.am: New file.
2205
* INSTALL, Makefile.am: PCSC
2207
* COPYING, DRIVERS, HELP, configure, configure.in: New file.
2209
* COPYING, DRIVERS, HELP, configure, configure.in: PCSC
2211
* AUTHORS, ChangeLog, bootstrap, config.h.in: New file.
2213
* AUTHORS, ChangeLog, bootstrap, config.h.in: PCSC