~ubuntu-branches/ubuntu/jaunty/pcsc-lite/jaunty-security

« back to all changes in this revision

Viewing changes to ChangeLog.cvs

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Rousseau
  • Date: 2004-06-13 21:45:56 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040613214556-zio7hrzkz9wwtffx
Tags: 1.2.9-beta2-2
* debian/rules: add -lpthread to LDFLAGS so that pthread_* symbols are
  included in the library (problem only seen on mips and mipsel).
  Closes: #253629
* debian/control: make libpcsclite-dev and libpcsclite1 at Priority:
  optional so that other packages at Priority: optional can use them.
  Closes: #249374

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2004-05-11  Ludovic Rousseau  <rousseau@acer>
 
2
 
 
3
        * ChangeLog: release 1.2.9-beta2
 
4
 
 
5
        * configure.in, src/pcsclite.h.in: beta2 version
 
6
 
 
7
        * src/Makefile.am:
 
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.
 
11
 
 
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.
 
15
 
 
16
        * doc/Makefile.am:
 
17
        generate local icons for the latex2html generated pages
 
18
 
 
19
        * DRIVERS: add a / at the end of URLs and directory names
 
20
 
 
21
        * src/pcscdaemon.c: print pcsc-lite version number during startup
 
22
 
 
23
2004-05-10  Ludovic Rousseau  <rousseau@acer>
 
24
 
 
25
        * src/Makefile.am: install pcsclite.h instead of pcsclite.h.in
 
26
 
 
27
        * doc/pcsc-lite.tex: add the chapter "Multithreading and contexts"
 
28
 
 
29
        * doc/.cvsignore: ignore ifdhandler-3 temporary files
 
30
 
 
31
        * doc/pcscd.8.in: some rewrite
 
32
 
 
33
        * doc/formaticc.1: caracters -> characters
 
34
 
 
35
        * doc/bundleTool.8.in, src/utils/bundleTool.c:
 
36
        approprate -> appropriate
 
37
 
 
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
 
40
 
 
41
        * doc/Makefile.am: add ifdhandler-3.tex ifdhandler-3.pdf
 
42
 
 
43
        * doc/ifdhandler-3.tex: IFD Handler API in LaTeX format
 
44
 
 
45
        * src/winscard.c:
 
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.
 
49
 
 
50
2004-05-07  Ludovic Rousseau  <rousseau@acer>
 
51
 
 
52
        * configure.in:
 
53
        the comment for --enable-extendedapdu was wrong. The maximum APDU size
 
54
        is 32KB and not 128KB. Thanks to Damien Sauveron.
 
55
 
 
56
2004-05-06  Ludovic Rousseau  <rousseau@acer>
 
57
 
 
58
        * ChangeLog: release 1.2.9-beta1
 
59
 
 
60
        * configure.in, src/pcsclite.h.in: version 1.2.9-beta1
 
61
 
 
62
        * src/ifdwrapper.c:
 
63
        in IFDControl_v2 and IFDControl test the ifd handler version and
 
64
        possibly return before the critical section (mutex)
 
65
 
 
66
        * src/ifdwrapper.c:
 
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
 
69
        is dead locked.
 
70
 
 
71
        * src/hotplug_generic.c, src/hotplug_macosx.c:
 
72
        add an empty HPStopHotPluggables() function
 
73
 
 
74
        * src/muscletest.c:
 
75
        use the local pcsclite.h instead of the (old) one already installed
 
76
 
 
77
        This was problematic for MacOSX since winscard.h wanted to include
 
78
        <PCSC/pcsclite.h> which is the old and incompatible one.
 
79
 
 
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)
 
83
 
 
84
        * src/winscard_msg.c: minor reindentations
 
85
 
 
86
        * src/winscard_svc.c:
 
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!
 
89
 
 
90
2004-05-03  Ludovic Rousseau  <rousseau@acer>
 
91
 
 
92
        * src/readerfactory.c:
 
93
        - rename dwFeeds and dwMutex to pdwFeeds and pdwMutex since they are
 
94
          pointers
 
95
        - add a check to avoid removing an aleady removed driver (closes bug
 
96
          [ #300684 ] pcscd segfaults on 'if (*sContext->dwMutex == 1)')
 
97
 
 
98
        * src/readerfactory.h:
 
99
        rename dwFeeds and dwMutex to pdwFeeds and pdwMutex since they are
 
100
        pointers
 
101
 
 
102
2004-04-27  Ludovic Rousseau  <rousseau@acer>
 
103
 
 
104
        * doc/pcsc-lite.tex:
 
105
        patch from Damien Sauveron to rectify the source code examples.
 
106
 
 
107
2004-04-21  Ludovic Rousseau  <rousseau@acer>
 
108
 
 
109
        * doc/Makefile.am:
 
110
        do not stop if pcsc-lite does not exist and is removed
 
111
 
 
112
        * doc/Makefile.am: distribute pcsc-lite.tex
 
113
 
 
114
        * doc/pcsc-lite.tex: - SCardControl new API
 
115
        - add SCardGetAttrib()/SCardSetAttrib()
 
116
 
 
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
 
119
 
 
120
        * src/debuglog.h: add __FUNCTION__ in the debug messages
 
121
 
 
122
2004-04-19  Damien Sauveron  <sauveron-guest@acer>
 
123
 
 
124
        * src/pcscdaemon.c: Typo in email address.
 
125
 
 
126
2004-04-19  Ludovic Rousseau  <rousseau@acer>
 
127
 
 
128
        * src/pcscdaemon.c: update copyright date
 
129
 
 
130
        * src/pcsclite.h.in: add SCARD_ATTR_* tags for SCardGetAttrib()
 
131
 
 
132
        * src/ifdwrapper.c:
 
133
        RxBuffer argument of IFDControl is LPVOID and not LPCVOID
 
134
 
 
135
        * src/ifdhandler.h:
 
136
        FDHControl() argument lpInBuffer and lpOutBuffer are LPCVOID and LPVOID
 
137
        and not PUCHAR
 
138
 
 
139
        * src/testpcsc.c: add test for SCardSetAttrib()
 
140
 
 
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()
 
143
 
 
144
        * src/testpcsc.c:
 
145
        do not ask for reader number if only one reader is present
 
146
 
 
147
        * src/testpcsc.c: remove useless REPEAT_TEST conditional code
 
148
 
 
149
        * src/testpcsc.c: test SCardGetAttrib()
 
150
 
 
151
        * src/ifdwrapper.h:
 
152
        lpOutBuffer argument is LPVOID not LPCVOID in IFDControl
 
153
 
 
154
2004-04-16  Ludovic Rousseau  <rousseau@acer>
 
155
 
 
156
        * src/testpcsc.c:
 
157
        do not SCardReleaseContext() in case of error in SCardControl test
 
158
 
 
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
 
161
 
 
162
        * src/testpcsc.c: add a test for SCardControl()
 
163
 
 
164
        * src/ifdhandler.h:
 
165
        rename IFDHControl() to IFDHControl_v2() and add a new IFDHControl()
 
166
        with the new API
 
167
 
 
168
2004-04-15  Ludovic Rousseau  <rousseau@acer>
 
169
 
 
170
        * src/ifdwrapper.c: remove implicit/useless { }
 
171
 
 
172
        * src/README_INTERNALS.txt: document the SCardControl migration
 
173
 
 
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
 
176
        to use
 
177
 
 
178
        * src/Makefile.am:
 
179
        change library version to 1:0:0 since the interface changed
 
180
 
 
181
        * doc/.cvsignore: ignore LaTeX temporary files
 
182
 
 
183
        * doc/pcsc-lite.bib: bibliography in BibTeX format
 
184
 
 
185
        * doc/Makefile.am: - generate .pdf from .tex
 
186
        - distribute the generated pcsc-lite.pdf
 
187
 
 
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
 
190
 
 
191
2004-04-14  Ludovic Rousseau  <rousseau@acer>
 
192
 
 
193
        * src/pcscdaemon.c:
 
194
        document in the help text that '--foreground' imply '--debug stderr'
 
195
 
 
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.
 
200
 
 
201
        * src/debuglog.c: add a default case in pcsc_stringify_error()
 
202
 
 
203
2004-04-13  Ludovic Rousseau  <rousseau@acer>
 
204
 
 
205
        * src/testpcsc.c: test SCardListReaderGroups()
 
206
 
 
207
2004-04-06  Ludovic Rousseau  <rousseau@acer>
 
208
 
 
209
        * src/winscard.c:
 
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
 
213
 
 
214
2004-04-05  Ludovic Rousseau  <rousseau@acer>
 
215
 
 
216
        * doc/example/pcsc_demo.c:
 
217
        initialize readers to NULL to avoid a "`readers' might be used
 
218
        uninitialized" compilation warning
 
219
 
 
220
2004-04-02  Ludovic Rousseau  <rousseau@acer>
 
221
 
 
222
        * configure.in, doc/Makefile.am: add support for doc/reader.conf.5
 
223
 
 
224
        * doc/reader.conf.5.in: new manpage
 
225
 
 
226
        * doc/bundleTool.8.in: typos
 
227
 
 
228
        * doc/example/pcsc_demo.c: add two missing free()
 
229
 
 
230
2004-04-01  Ludovic Rousseau  <rousseau@acer>
 
231
 
 
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.
 
238
 
 
239
        * doc/example/pcsc_demo.c:
 
240
        remove a useless occurence of PCSCLITE_MAX_READERS_CONTEXTS
 
241
 
 
242
2004-03-31  Ludovic Rousseau  <rousseau@acer>
 
243
 
 
244
        * src/readerfactory.c:
 
245
        use sizeof(lpcStripReader) instead of MAX_READERNAME
 
246
 
 
247
        * src/muscletest.c: also print tokenType field as a number and string
 
248
 
 
249
        * src/musclecard.c:
 
250
        Initialize currentToken->tokenType in MSCListTokens(). Closes "[ #300607 ]
 
251
        MSCListTokens should set tokenType to know state before OR operation"
 
252
 
 
253
        * src/musclecard.c: replace some 0 bu NULL for pointers
 
254
 
 
255
        * src/muscletest.c: - replace 0 by NULL
 
256
        - remove some { } for one line blocks
 
257
 
 
258
        * doc/example/pcsc_demo.c:
 
259
        recode the readers enumeration to avoid the use of PCSCLITE_MAX_READERS_CONTEXTS
 
260
 
 
261
        * src/mscdefines.h:
 
262
        use SCARDCONTEXT and SCARDHANDLE instead of MSCLong32
 
263
 
 
264
        * src/winscard.h:
 
265
        use SCARDCONTEXT, DWORD, LPSCARDHANDLE, etc. instead of long, unsigned
 
266
        long, long *, etc. to be more Windows PC/SC compliant
 
267
 
 
268
        * src/winscard_clnt.c: remove two "by najam" comments
 
269
 
 
270
        * src/pcsclite.h.in:
 
271
        use MAX_ATR_SIZE instead of 33 in the declaration of SCARD_READERSTATE_A
 
272
 
 
273
        * src/pcsclite.h.in:
 
274
        proposed patch: define PCSCLITE_MAX_READERS with a deprecated attribute
 
275
 
 
276
2004-03-30  Ludovic Rousseau  <rousseau@acer>
 
277
 
 
278
        * src/pcscdaemon.c:
 
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.
 
281
 
 
282
        * src/configfile.l:
 
283
        print a warning if the LIBPATH contains ".bundle". USB drivers SHOULD NOT be declared in reader.conf
 
284
 
 
285
        * src/configfile.l: add strerror(errno) in the error message.
 
286
 
 
287
        * src/configfile.l: use NULL instead of 0
 
288
 
 
289
        * src/configfile.l: code reindentation
 
290
 
 
291
        * etc/.cvsignore: remove etc/ from filename
 
292
 
 
293
        * .cvsignore: remove PCSC/ from filenames
 
294
 
 
295
        * .cvsignore: files to ignore by CVS
 
296
 
 
297
2004-03-28  Ludovic Rousseau  <rousseau@acer>
 
298
 
 
299
        * src/readerfactory.c: simplify a bit an hex->decimal conversion
 
300
 
 
301
        * src/readerfactory.c:
 
302
        left shift one bloc of code that was in a isolated { }
 
303
 
 
304
        * src/readerfactory.c: remove { } for one instruction if () blocs
 
305
 
 
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)"
 
310
 
 
311
2004-03-24  Ludovic Rousseau  <rousseau@acer>
 
312
 
 
313
        * src/tokenfactory.c:
 
314
        correct atrString[] buffer size. The ATR is in ASCII so it must be MAX_ATR_SIZE*2 +1
 
315
 
 
316
2004-03-23  Ludovic Rousseau  <rousseau@acer>
 
317
 
 
318
        * src/hotplug_libusb.c: add void argument in HPStopHotPluggables()
 
319
 
 
320
        * src/readerfactory.c:
 
321
        initialize vHandle field to NULL in RFAllocateReaderSpace() (caused a
 
322
        crash under MacOS X)
 
323
 
 
324
        * src/pcscdaemon.c:
 
325
        add the errno text message if specified reader.conf file is not found
 
326
 
 
327
        * src/pcscdaemon.c:
 
328
        use PCSCLITE_READER_CONFIG instead of reader.conf in debug message
 
329
 
 
330
2004-03-20  Ludovic Rousseau  <rousseau@acer>
 
331
 
 
332
        * src/hotplug_linux.c: add support for HPStopHotPluggables()
 
333
 
 
334
2004-03-19  Ludovic Rousseau  <rousseau@acer>
 
335
 
 
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
 
338
 
 
339
        * src/winscard.c:
 
340
        really reset the card when asked to in SCardReconnect()
 
341
 
 
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).
 
346
 
 
347
        * src/winscard_clnt.c:
 
348
        remove duplicated SYS_MutexUnLock() in SCardStatus()
 
349
 
 
350
2004-03-18  Ludovic Rousseau  <rousseau@acer>
 
351
 
 
352
        * src/pcscdaemon.c:
 
353
        call HPStopHotPluggables() before stopping the drivers to avoid a new
 
354
        reader detection/start by hotplug when we want to stop everything
 
355
 
 
356
        * src/hotplug.h, src/hotplug_libusb.c:
 
357
        add HPStopHotPluggables() to exit the hotplug thread
 
358
 
 
359
        * src/pcscdaemon.c: set AraKiri to TRUE instead of 1
 
360
 
 
361
        * doc/example/pcsc_demo.c: - add SCardReconnect() sample code
 
362
        - allow to select the reader number instead of selecting always the first
 
363
          one
 
364
 
 
365
2004-03-11  Ludovic Rousseau  <rousseau@acer>
 
366
 
 
367
        * src/pcsclite.h.in: version 1.2.1
 
368
 
 
369
2004-03-02  Ludovic Rousseau  <rousseau@acer>
 
370
 
 
371
        * configure.in: version 1.2.1
 
372
 
 
373
2004-02-23  Ludovic Rousseau  <rousseau@acer>
 
374
 
 
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()
 
379
 
 
380
2004-02-11  Ludovic Rousseau  <rousseau@acer>
 
381
 
 
382
        * ChangeLog: merge 1.2.0 final branch
 
383
 
 
384
2004-02-04  Ludovic Rousseau  <rousseau@acer>
 
385
 
 
386
        * src/hotplug_linux.c:
 
387
        DIR in --enable-usbdropdir=DIR may not finish by / in (deprecated) hotplug_linux.c
 
388
 
 
389
2004-01-24  Ludovic Rousseau  <rousseau@acer>
 
390
 
 
391
        * etc/reader.conf.in:
 
392
        use "DEVICENAME /dev/ttySx_not_configured" to make it (more) clear it
 
393
        should be configured.
 
394
 
 
395
        * etc/reader.conf.in:
 
396
        reader.conf may also be needed for PCMCIA readers and not olny serial.
 
397
 
 
398
2004-01-23  Ludovic Rousseau  <rousseau@acer>
 
399
 
 
400
        * etc/reader.conf.in:
 
401
        add a note: "This file has to be configured for serial readers only."
 
402
 
 
403
        * src/winscard_clnt.c:
 
404
        check that psContextMap[dwContextIndex].psChannelMap[dwChannelIndex].readerName is non NULL before accessing it in strcmp()
 
405
 
 
406
2004-01-22  Antti Tapaninen  <aet-guest@acer>
 
407
 
 
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.
 
411
 
 
412
2004-01-21  David Corcoran  <corcoran-guest@acer>
 
413
 
 
414
        * src/debuglog.c:
 
415
        Changed unsigned char * to char * and did some typecasting
 
416
        to get rid of warnings when building in 64bit mode ...
 
417
 
 
418
2004-01-21  Damien Sauveron  <sauveron-guest@acer>
 
419
 
 
420
        * src/thread_unix.c: Remove an useless include
 
421
 
 
422
2004-01-20  Ludovic Rousseau  <rousseau@acer>
 
423
 
 
424
        * src/hotplug_linux.c, src/hotplug_macosx.c:
 
425
        correct comment about empty deviceName argument
 
426
 
 
427
2004-01-19  Damien Sauveron  <sauveron-guest@acer>
 
428
 
 
429
        * src/ifdwrapper.c:
 
430
        Use the device name to create channel only if defined.
 
431
 
 
432
        * src/hotplug_macosx.c, src/hotplug_linux.c:
 
433
        Add an empty parameter for deviceName to allow the compilation.
 
434
 
 
435
        * src/winscard_msg.c: Remove the useless include of sys/mman.h
 
436
 
 
437
2004-01-18  Damien Sauveron  <sauveron-guest@acer>
 
438
 
 
439
        * src/debuglog.c: Remove unused function.
 
440
 
 
441
2004-01-16  Damien Sauveron  <sauveron-guest@acer>
 
442
 
 
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.
 
445
 
 
446
        * src/pcscdaemon.c: Add my name, my email and the copyright.
 
447
 
 
448
        * src/winscard_clnt.c:
 
449
        Remove the useless PID information field. Also remove the WrapSHMWrite argument related to PID information.
 
450
 
 
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.
 
453
 
 
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.
 
456
 
 
457
        * src/readerfactory.c:
 
458
        Correct the indentation of some lines and add debug information.
 
459
 
 
460
        * src/winscard_svc.c: Cleanup the code.
 
461
 
 
462
        * src/powermgt_macosx.c: Modify the output of the debug message.
 
463
 
 
464
2004-01-15  David Corcoran  <corcoran-guest@acer>
 
465
 
 
466
        * src/utils/sample.in:
 
467
        Changed Co to C(ZERO) instead.  The Oh caused big problems with
 
468
        formaticc
 
469
 
 
470
        * src/testpcsc.c:
 
471
        Needed to define dwAtrLen so it would not just pick up garbage
 
472
        for SCardStatus.
 
473
 
 
474
        * src/winscard_clnt.c:
 
475
        In SCardStatus some of the memcopy's and strcpy's were occurring
 
476
        before bounds checking.
 
477
 
 
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 ...
 
481
 
 
482
2004-01-14  Ludovic Rousseau  <rousseau@acer>
 
483
 
 
484
        * AUTHORS: reformat and add Damien Sauveron and Antti Tapaninen
 
485
 
 
486
2004-01-14  Damien Sauveron  <sauveron-guest@acer>
 
487
 
 
488
        * src/ifdwrapper.c: Add the support of IFDHandler interface v3
 
489
 
 
490
        * src/ifdwrapper.h: Modify the prototype of IFDOpenIFD.
 
491
 
 
492
        * src/readerfactory.c: Add the support of IFDHandler interface v3
 
493
 
 
494
        * src/readerfactory.h:
 
495
        Add the function's pointer for the new function introduced in IFDHandler interface v3
 
496
 
 
497
        * src/pcsclite.h.in: Define the length maximum of a device name.
 
498
 
 
499
        * src/hotplug_libusb.c:
 
500
        Get the device name of the USB device and give it to RFAddReader.
 
501
 
 
502
        * src/configfile.l: Give the device name to RFAddReader
 
503
 
 
504
        * src/readerfactory.h:
 
505
        Add a new parameter to the prototype of RFAddReader according to the changes in readerfactory.c
 
506
 
 
507
        * src/readerfactory.c:
 
508
        Add a new parameter to RFAddReader to get the device name
 
509
 
 
510
        * src/readerfactory.h: Add the device name
 
511
 
 
512
        * src/ifdhandler.h:
 
513
        Add the prototype of the new function introduced in the IFDHandler interface v3
 
514
 
 
515
        * src/configfile.l: Remove a line commited by error. Sorry.
 
516
 
 
517
        * src/configfile.l:
 
518
        Check that DEVICENAME and LIBPATH files exist and if an error occurs during the parsing the reader is not added.
 
519
 
 
520
2004-01-13  Ludovic Rousseau  <rousseau@acer>
 
521
 
 
522
        * src/hotplug_macosx.c: small code reorganisation for an easier reading
 
523
 
 
524
        * src/configfile.l: use macro DebugLogB() instead of debug_msg()
 
525
 
 
526
2004-01-13  Damien Sauveron  <sauveron-guest@acer>
 
527
 
 
528
        * src/readerfactory.c, src/ifdwrapper.c:
 
529
        Modify tests in order to be homogeneous with those for next IFDHandlers versions
 
530
 
 
531
2004-01-13  Ludovic Rousseau  <rousseau@acer>
 
532
 
 
533
        * Makefile.am: simplify the perl expression in ChangeLog.cvs rule
 
534
 
 
535
        * make-dirs/README: reformat to 72 columns
 
536
 
 
537
2004-01-12  David Corcoran  <corcoran-guest@acer>
 
538
 
 
539
        * make-dirs/Makefile.solaris, make-dirs/README, make-dirs/config.h:
 
540
        Added README for Makefile directory and sample config.h
 
541
 
 
542
        * make-dirs/Makefile.solaris: C
 
543
        Adding make-dirs plus Makefiles for certain configurations when people don't want to
 
544
        try and fix autoconf
 
545
 
 
546
        VS: ----------------------------------------------------------------------
 
547
 
 
548
2004-01-12  Ludovic Rousseau  <rousseau@acer>
 
549
 
 
550
        * src/hotplug_libusb.c:
 
551
        correct the file header. It was a cut-n-paste from hotplug_linux.c
 
552
 
 
553
2004-01-08  Ludovic Rousseau  <rousseau@acer>
 
554
 
 
555
        * src/hotplug_macosx.c:
 
556
        buffer overflow: the driver list was not terminated and caused crashes.
 
557
 
 
558
        * src/pcscdaemon.c: correct my email address
 
559
 
 
560
2003-12-16  Ludovic Rousseau  <rousseau@acer>
 
561
 
 
562
        * src/winscard_svc.c: code reordering to make it a bit more clear
 
563
 
 
564
2003-12-16  Damien Sauveron  <sauveron-guest@acer>
 
565
 
 
566
        * src/winscard_msg.h:
 
567
        Remove the old functions and add the new functions
 
568
 
 
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
 
571
 
 
572
        * src/winscard_svc.h:
 
573
        Remove the old functions and add the new functions
 
574
 
 
575
        * src/winscard_svc.c: Design to handle all the requests in the context
 
576
 
 
577
        * src/pcscdaemon.c:
 
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
 
579
 
 
580
        * src/winscard_clnt.c:
 
581
        Add mutex for each context and remove the global mutex except for some operations
 
582
 
 
583
        * src/thread_unix.c, src/thread_generic.h:
 
584
        Add functions for identify and compare threads
 
585
 
 
586
2003-12-11  David Corcoran  <corcoran-guest@acer>
 
587
 
 
588
        * src/winscard_scf.c: Index: winscard_scf.c
 
589
 
 
590
2003-12-08  Ludovic Rousseau  <rousseau@acer>
 
591
 
 
592
        * etc/pcscd.startup: use /etc/sysconfig/pscsd and correct some typos
 
593
 
 
594
2003-11-20  Ludovic Rousseau  <rousseau@acer>
 
595
 
 
596
        * aclocal/acx_pthread.m4:
 
597
        new upstream version to avoid checking for pthread.h which does not
 
598
        exist on *BSD
 
599
 
 
600
2003-11-18  Ludovic Rousseau  <rousseau@acer>
 
601
 
 
602
        * src/dyn_win32.c:
 
603
        revert test of return value from FreeLibrary. Thanks to Peter Williams
 
604
        for the patch.
 
605
        http://archives.neohapsis.com/archives/dev/muscle/2003-q4/0136.html
 
606
 
 
607
2003-11-09  Antti Tapaninen  <aet-guest@acer>
 
608
 
 
609
        * pbx/config.h, pcsc.pbproj/project.pbxproj:
 
610
        - Upgrade MacOS X project build files for XCode
 
611
 
 
612
        * doc/example/pcsc_demo.c: - Build fix
 
613
 
 
614
        * src/pcsclite.h.in: - Cleanups
 
615
 
 
616
        * src/pcsclite.h.in, src/utils/bundleTool.c:
 
617
        - Allow regular pcsclite.h to be used under win32 platform
 
618
 
 
619
2003-11-05  Ludovic Rousseau  <rousseau@acer>
 
620
 
 
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.
 
626
 
 
627
2003-11-02  Ludovic Rousseau  <rousseau@acer>
 
628
 
 
629
        * src/utils/bundleTool.c:
 
630
        port under Win32 (patch from Peter Williams) and some code cleanup
 
631
 
 
632
2003-10-30  Ludovic Rousseau  <rousseau@acer>
 
633
 
 
634
        * src/pcsclite.h.in:
 
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
 
637
        instead of an array.
 
638
 
 
639
        * src/pcsclite.h.in:
 
640
        remove definition of PCSCLITE_MAX_COMSIZE (Maximum arg size) now useless
 
641
 
 
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
 
648
 
 
649
        * src/debuglog.c, src/debuglog.h:
 
650
        remove log to a file service since it was not used.
 
651
 
 
652
2003-10-29  Damien Sauveron  <sauveron-guest@acer>
 
653
 
 
654
        * src/pcscdaemon.c: Add the option [-a] to the usage of pcscd
 
655
 
 
656
        * etc/pcscd.startup:
 
657
        Solve a problem of recognizition by serviceconf (patch from Tommaso Cucinotta)
 
658
 
 
659
2003-10-27  Ludovic Rousseau  <rousseau@acer>
 
660
 
 
661
        * ChangeLog, configure.in, src/pcsclite.h.in: release 1.2.0 final
 
662
 
 
663
2003-10-23  Damien Sauveron  <sauveron-guest@acer>
 
664
 
 
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
 
667
 
 
668
        * src/winscard_svc.c:
 
669
        Change the name of a structure to better explain its usage
 
670
 
 
671
2003-10-22  Damien Sauveron  <sauveron-guest@acer>
 
672
 
 
673
        * src/winscard_msg.c: Add a debug message when a client disappears
 
674
 
 
675
        * src/pcscdaemon.c:
 
676
        Move a debug message in an other file to have the good client number when it disappears
 
677
 
 
678
2003-10-21  Antti Tapaninen  <aet-guest@acer>
 
679
 
 
680
        * cvsroot/pcsclite/PCSC/src/winscard_scf.c, src/pcsclite.h.in:
 
681
        - Potential security fixes to SCF client
 
682
 
 
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
 
687
          pcsclite.h already
 
688
 
 
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
 
692
 
 
693
        * src/pcscdaemon.c, src/readerfactory.c: - errno.h cleanups
 
694
 
 
695
        * win32/PCSC.dsp: - Forgot to commit
 
696
 
 
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
 
701
          win32/config.h.
 
702
 
 
703
2003-10-20  Damien Sauveron  <sauveron-guest@acer>
 
704
 
 
705
        * src/pcsclite.h.in: Increase the max readers contexts value
 
706
 
 
707
        * src/readerfactory.c: Support of 255 readers max
 
708
 
 
709
        * src/winscard_svc.c:
 
710
        Correct a bug introduce by me. Sorry. It will be good in the future to improve this part
 
711
 
 
712
        * src/hotplug_linux.c: Correct with the goods concepts constants
 
713
 
 
714
        * src/readerfactory.c: Change variables names
 
715
 
 
716
        * src/hotplug_libusb.c: Correct with the goods concepts constants
 
717
 
 
718
        * src/winscard_clnt.c:
 
719
        Correct with the goods concepts constants, correct some comments and variable name
 
720
 
 
721
        * src/winscard_svc.c, src/eventhandler.c, src/pcscdaemon.c, src/readerfactory.h, src/readerfactory.c:
 
722
        Correct with the goods concepts constants
 
723
 
 
724
        * doc/example/pcsc_demo.c: Correct with the good concept
 
725
 
 
726
        * src/pcsclite.h.in: Introduce the limitations about the concepts
 
727
 
 
728
        * src/README_INTERNALS.txt: A clean up.
 
729
 
 
730
        * src/README_INTERNALS.txt: Add a description of PC/SC Lite Concepts.
 
731
 
 
732
2003-10-18  Ludovic Rousseau  <rousseau@acer>
 
733
 
 
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.
 
737
 
 
738
2003-10-18  Antti Tapaninen  <aet-guest@acer>
 
739
 
 
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
 
742
 
 
743
        * src/hotplug_libusb.c, src/hotplug_linux.c:
 
744
        - Remove USB bundle platform (Linux) hardcoding and replace
 
745
          it with PCSC_ARCH.
 
746
 
 
747
2003-10-15  Ludovic Rousseau  <rousseau@acer>
 
748
 
 
749
        * ChangeLog: the release number was wrong :-)
 
750
 
 
751
        * ChangeLog: release 1.2.0-rc3
 
752
 
 
753
        * Makefile.am:
 
754
        Antti Tapaninen and Damien Sauveron have now their names in ChangeLog.cvs
 
755
 
 
756
        * src/tokenfactory.c: correct a typo
 
757
 
 
758
        * src/winscard_msg.c:
 
759
        perform a round-robbin among clients to avoid starvation under heavy
 
760
        load. Patch from Bettina Martelli.
 
761
 
 
762
2003-10-15  Damien Sauveron  <sauveron-guest@acer>
 
763
 
 
764
        * src/winscard_clnt.c:
 
765
        Verify the availabilty of the daemon before to try a connection.
 
766
 
 
767
2003-10-13  Damien Sauveron  <sauveron-guest@acer>
 
768
 
 
769
        * src/winscard_svc.c: Add a verification before to release a context.
 
770
 
 
771
2003-10-04  Damien Sauveron  <sauveron-guest@acer>
 
772
 
 
773
        * doc/pcscd.8.in: correct the typo
 
774
 
 
775
2003-09-30  Ludovic Rousseau  <rousseau@acer>
 
776
 
 
777
        * src/winscard_clnt.c:
 
778
        SCardEstablishContextTH: print the shared file name if open fails
 
779
 
 
780
        * src/winscard_clnt.c:
 
781
        send debug to stdout only if the environment variable MUSCLECARD_DEBUG
 
782
        is defined
 
783
 
 
784
        * src/tokenfactory.c:
 
785
        having a trailing / in MSC_SVC_DROPDIR (--enable-muscledropdir) is no more mandatory
 
786
 
 
787
        * src/tokenfactory.c:
 
788
        print the directory name with the error message if opendir failed
 
789
 
 
790
2003-09-29  Damien Sauveron  <sauveron-guest@acer>
 
791
 
 
792
        * src/readerfactory.c: Clean up 2 memory leaks
 
793
 
 
794
        * src/readerfactory.c:
 
795
        Clean up the mutex when a reader is removed if needed. This is a memory leak
 
796
 
 
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
 
799
 
 
800
        * src/readerfactory.c:
 
801
        Correct a bug introduced by me and add a copyright.
 
802
 
 
803
2003-09-27  Ludovic Rousseau  <rousseau@acer>
 
804
 
 
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?"
 
808
 
 
809
2003-09-24  Damien Sauveron  <sauveron-guest@acer>
 
810
 
 
811
        * src/winscard_msg.c:
 
812
        Some clean up on the debug message and indentation.
 
813
 
 
814
        * src/winscard_svc.c: Move some code to a better position.
 
815
 
 
816
2003-09-23  Damien Sauveron  <sauveron-guest@acer>
 
817
 
 
818
        * src/winscard_msg.c: Some cleanups.
 
819
 
 
820
2003-09-23  Ludovic Rousseau  <rousseau@acer>
 
821
 
 
822
        * configure.in:
 
823
        --enable-libusb was not working correctly is the lib is not installed in
 
824
        /usr or /usr/local
 
825
 
 
826
2003-09-23  Damien Sauveron  <sauveron-guest@acer>
 
827
 
 
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.
 
830
 
 
831
2003-09-22  Ludovic Rousseau  <rousseau@acer>
 
832
 
 
833
        * src/readerfactory.c:
 
834
        initialize valueLength just before the call to IFDGetCapabilities().
 
835
 
 
836
        * src/readerfactory.c:
 
837
        initialize dwGetSize to the size of the value buffer before calling
 
838
        IFDGetCapabilities().
 
839
 
 
840
        * src/debuglog.c:
 
841
        use a local output buffer instead of a global one to be thread safe
 
842
 
 
843
2003-09-19  Ludovic Rousseau  <rousseau@acer>
 
844
 
 
845
        * configure.in:
 
846
        use AC_HELP_STRING() for a pretty look of `configure --help'
 
847
 
 
848
2003-09-18  Damien Sauveron  <sauveron-guest@acer>
 
849
 
 
850
        * src/readerfactory.c:
 
851
        Add the support of simultaneous access on different slots of a reader if the handling is thread safe.
 
852
 
 
853
        * src/ifdhandler.h:
 
854
        Add the tag TAG_IFD_SLOT_THREAD_SAFE for testing if the handling of the slots is thread safe.
 
855
 
 
856
2003-09-17  Damien Sauveron  <sauveron-guest@acer>
 
857
 
 
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.
 
860
 
 
861
        * src/readerfactory.c: Clean up in the RFRemoveReader.
 
862
 
 
863
2003-09-16  Antti Tapaninen  <aet-guest@acer>
 
864
 
 
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.
 
867
 
 
868
        * configure.in: Put back AC_PROG_CPP, it has nothing to do with C++.
 
869
 
 
870
2003-09-16  Ludovic Rousseau  <rousseau@acer>
 
871
 
 
872
        * configure.in: remove useless AC_PROG_CPP (no C++ code in pcsc-lite)
 
873
 
 
874
        * configure.in, src/pcsclite.h.in:
 
875
        -rc3 version (configure.in and src/pcsclite.h _shall_ be in sync)
 
876
 
 
877
        * configure.in, src/hotplug_libusb.c, src/pcsclite.h.in:
 
878
        remove / at the end of usbdropdir, muscledropdir and ipcdir to be more
 
879
        homogeneous
 
880
 
 
881
2003-09-15  Damien Sauveron  <sauveron-guest@acer>
 
882
 
 
883
        * src/readerfactory.c:
 
884
        Add the support of simultaneous access on the thread safe IFD.
 
885
 
 
886
        * src/ifdhandler.h:
 
887
        Add the tag TAG_IFD_THREAD_SAFE for testing if the IFD is thread safe.
 
888
 
 
889
2003-09-15  Antti Tapaninen  <aet-guest@acer>
 
890
 
 
891
        * README: Updates to requirements and tested platforms
 
892
 
 
893
2003-09-11  Damien Sauveron  <sauveron-guest@acer>
 
894
 
 
895
        * src/ifdwrapper.c: Better explanation of a comment.
 
896
 
 
897
        * src/readerfactory.c:
 
898
        Cleanup a condition unused and undo some of my previous changes.
 
899
 
 
900
2003-09-11  Antti Tapaninen  <aet-guest@acer>
 
901
 
 
902
        * aclocal/Makefile.am, aclocal/acx_pthread.m4, win32/Makefile.am:
 
903
        Add new files needed by the new bootstrap
 
904
 
 
905
        * build/acinclude.m4, build/acx_pthread.m4, build/install-sh, build/ltconfig, build/missing, build/mkinstalldirs, build/ylwrap:
 
906
        Remove build/ directory
 
907
 
 
908
        * Makefile.am, bootstrap, configure.in, reconf:
 
909
        - Simplify the bootstrapping mechanism
 
910
        - Remove reconf
 
911
 
 
912
        * config.h.in: Remove config.h.in, doesn't belong to the repository
 
913
 
 
914
        * win32/PCSC.dsp, win32/config.h, win32/win32_config.h:
 
915
        Rename win32_config.h to config.h
 
916
 
 
917
2003-09-10  Damien Sauveron  <sauveron-guest@acer>
 
918
 
 
919
        * src/readerfactory.c:
 
920
        Cleanup about variables already initialized and indent of some comments
 
921
 
 
922
        * src/debuglog.h: Add a comment about the usage of DebugLogC
 
923
 
 
924
2003-09-08  Antti Tapaninen  <aet-guest@acer>
 
925
 
 
926
        * src/hotplug_macosx.c:
 
927
        Warning fix for PCSCLITE_HP_DROPDIR being already defined
 
928
 
 
929
        * src/dyn_unix.c:
 
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.
 
933
 
 
934
        The other option would be just to merge all dynamic
 
935
        loading routines into one file, a lot simpler solution.
 
936
 
 
937
        * config.h.in: Bootstrap update
 
938
 
 
939
        * configure.in: Finish SCF build support, add sanity checks
 
940
 
 
941
        * src/Makefile.am: Add winscard_scf.c to EXTRA_DIST
 
942
 
 
943
        * cvsroot/pcsclite/PCSC/src/winscard_scf.c:
 
944
        Build fixes, add dummy SCardUnload()
 
945
 
 
946
        * config.h.in: Bootstrap update
 
947
 
 
948
        * configure.in, src/Makefile.am:
 
949
        - Make hotpluging / power management to compile again
 
950
        - Add MacOS X build fixes
 
951
 
 
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
 
954
 
 
955
        * src/powermgt_macosx.c: Include hotplug.h to avoid warning message
 
956
 
 
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.
 
960
 
 
961
        * src/winscard_msg.c: Back out socklen_t change that I made
 
962
 
 
963
        * src/pcscdaemon.c: Very minor cleanups
 
964
 
 
965
        * src/thread_win32.c: Add missing config.h
 
966
 
 
967
        * configure.in:
 
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.
 
972
 
 
973
        * src/Makefile.am: Fix --disable-threadsafe issues
 
974
 
 
975
        * README: Don't mention -lposix4 for Solaris, AFAIK it's not needed
 
976
        anymore.
 
977
 
 
978
        * src/musclecard.c:
 
979
        Fix compiler warning when compiling with --disable-threadsafe
 
980
 
 
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.
 
983
 
 
984
2003-09-07  Ludovic Rousseau  <rousseau@acer>
 
985
 
 
986
        * src/musclecard.c, src/tokenfactory.c:
 
987
        remove useless \n in debug message strings
 
988
 
 
989
2003-09-07  Antti Tapaninen  <aet-guest@acer>
 
990
 
 
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.
 
995
 
 
996
        - Untested
 
997
        - No hotplug/power management support
 
998
        - Untested for *BSD, MacOS X and HP-UX,
 
999
          there's other things to do before even
 
1000
          trying to compile.
 
1001
 
 
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.
 
1005
 
 
1006
        * config.h.in, configure.in: Checkpoint commit + bootstrap update
 
1007
 
 
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
 
1011
 
 
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
 
1020
          yet.
 
1021
        - Use gcc specific compiler options only if
 
1022
          gcc detected.
 
1023
 
 
1024
        * build/acx_pthread.m4: Merged some changes from OpenSC
 
1025
 
 
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
 
1029
          portability issues:
 
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,
 
1034
          they're not used.
 
1035
 
 
1036
        Starting from now, the source tree might be broken for a
 
1037
        few hours or even days. Sorry about that.
 
1038
 
 
1039
2003-09-05  Ludovic Rousseau  <rousseau@acer>
 
1040
 
 
1041
        * src/debuglog.c:
 
1042
        add #include <unistd.h> to avoid an "implicit declaration of function `getpid'"
 
1043
 
 
1044
2003-09-04  Ludovic Rousseau  <rousseau@acer>
 
1045
 
 
1046
        * ChangeLog, configure.in, src/pcsclite.h.in: release 1.2.0-rc2
 
1047
 
 
1048
        * src/Makefile.am: add thread_win32.c in the distribution
 
1049
 
 
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.
 
1053
 
 
1054
        * src/configfile.c, src/tokenparser.c:
 
1055
        removed since they have nothing to do in CVS. They are generated from .l files
 
1056
 
 
1057
        * src/muscletest.c: add #include <string.h>
 
1058
 
 
1059
        * src/winscard.h: add prototype for SCardUnload()
 
1060
 
 
1061
2003-09-03  Ludovic Rousseau  <rousseau@acer>
 
1062
 
 
1063
        * doc/example/pcsc_demo.c:
 
1064
        add a call to SCardUnload(). This is not mandatory, just cleaner.
 
1065
 
 
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.
 
1071
 
 
1072
2003-09-02  Ludovic Rousseau  <rousseau@acer>
 
1073
 
 
1074
        * src/debuglog.h:
 
1075
        remove reference to USE_SYSLOG since it is replaced by --debug command
 
1076
        line argument
 
1077
 
 
1078
2003-08-31  Ludovic Rousseau  <rousseau@acer>
 
1079
 
 
1080
        * README:
 
1081
        remove documentation about --enable-syslog since it is not used anymore
 
1082
        by ./configure
 
1083
 
 
1084
        * NEWS: refer to ChangeLog instead of containing the version number
 
1085
 
 
1086
2003-08-29  David Corcoran  <corcoran-guest@acer>
 
1087
 
 
1088
        * COPYING: Removed advertising clause
 
1089
 
 
1090
2003-08-28  Ludovic Rousseau  <rousseau@acer>
 
1091
 
 
1092
        * src/muscletest.c:
 
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.
 
1095
 
 
1096
        * src/musclecard.c: print SW (status word) in hex instead of decimal
 
1097
 
 
1098
        * src/Makefile.am:
 
1099
        add rules to build muscletest. testpcsc is no more executed by make distcheck
 
1100
 
 
1101
        * doc/Makefile.am:
 
1102
        do not distribute pcscd.8 bundleTool.8 since they are generated from the
 
1103
        .in versions by ./configure
 
1104
 
 
1105
        * configure.in:
 
1106
        to not set use_libusb=false in case the argument is "" | "yes" | "YES"
 
1107
 
 
1108
        * Makefile.am:
 
1109
        move ChangeLog.cvs to DISTCLEANFILES to avoid an error with 'make distcheck'
 
1110
 
 
1111
2003-08-26  Ludovic Rousseau  <rousseau@acer>
 
1112
 
 
1113
        * ChangeLog: release 1.2.0-rc1
 
1114
 
 
1115
        * configure.in: move addition of -lusb since it is selected by default.
 
1116
 
 
1117
        * src/hotplug_libusb.c: disable USB debug by default
 
1118
 
 
1119
        * README: add a note about deprecation of --enable-usb
 
1120
 
 
1121
        * configure.in:
 
1122
        --enable-usb is deprecated and off by default. Use --enable-libusb instead.
 
1123
 
 
1124
        * doc/Makefile.am: add example subdirectory
 
1125
 
 
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)
 
1130
 
 
1131
        * src/pcsclite.h.in:
 
1132
        define PCSCLITE_MAX_READERS as the maximum number of readers
 
1133
 
 
1134
2003-08-25  Ludovic Rousseau  <rousseau@acer>
 
1135
 
 
1136
        * src/winscard.c:
 
1137
        correct bug #300063: PCSCd reports card is present when there is no card in the reader.
 
1138
 
 
1139
        * src/musclecard.c: reindentation
 
1140
 
 
1141
        * src/musclecard.c:
 
1142
        free(evlist->tokenArray), avoid a memory leak (Toni Andjelkovic)
 
1143
 
 
1144
2003-08-22  Ludovic Rousseau  <rousseau@acer>
 
1145
 
 
1146
        * doc/example/Makefile.am, doc/example/pcsc_demo.c:
 
1147
        demo of a C program using the pcsc-lite API
 
1148
 
 
1149
2003-08-21  Ludovic Rousseau  <rousseau@acer>
 
1150
 
 
1151
        * src/hotplug_libusb.c, src/hotplug_linux.c: typo in comments
 
1152
 
 
1153
2003-08-20  Ludovic Rousseau  <rousseau@acer>
 
1154
 
 
1155
        * src/winscard_svc.c:
 
1156
        Sometimes unknown APDUs were being transmitted when 'SCardStatus'
 
1157
        function was invoked (close #300061)
 
1158
 
 
1159
        * src/winscard.c:
 
1160
        return SCARD_E_INVALID_PARAMETER for APDU of less than 4 bytes (close #300062)
 
1161
 
 
1162
        * src/musclecard.c:
 
1163
        initialise pConnection->shareMode as early as possible (close #300064,
 
1164
        thanks to Wan-Teh Chang)
 
1165
 
 
1166
        * src/wintypes.h: correct and remove unused types (close bug #300071)
 
1167
 
 
1168
        * src/hotplug_macosx.c:
 
1169
        Add support of reader aliases using <array></array>
 
1170
 
 
1171
        * src/hotplug_libusb.c: add empty HPRegisterForHotplugEvents() function
 
1172
 
 
1173
2003-08-19  Ludovic Rousseau  <rousseau@acer>
 
1174
 
 
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)
 
1178
 
 
1179
        * src/eventhandler.c: use <errno.h> instead of <sys/errno.h>
 
1180
 
 
1181
2003-08-18  Ludovic Rousseau  <rousseau@acer>
 
1182
 
 
1183
        * src/hotplug_libusb.c:
 
1184
        use #ifdef DEBUG_USB_HOTPLUG for USB debug messages
 
1185
 
 
1186
        * src/pcscdaemon.c: remove unneeded \n in debug messages
 
1187
 
 
1188
        * src/winscard.h:
 
1189
        do not look for PCSC/pcsclite.h but pcsclite.h even on MacOS X
 
1190
 
 
1191
        * src/debuglog.c:
 
1192
        add #include <sys/types.h> for FreeBSD (thanks Toni Andjelkovic)
 
1193
 
 
1194
2003-08-15  Ludovic Rousseau  <rousseau@acer>
 
1195
 
 
1196
        * src/musclecard.c, src/musclecard.h:
 
1197
        add void argument to the MSCCallbackCancelEvent() prototype definition
 
1198
        (thanks to Toni Andjelkovic)
 
1199
 
 
1200
        * configure.in:
 
1201
        use *linux* instead of linux-gnu (patch from Toni Andjelkovic)
 
1202
 
 
1203
        * src/hotplug_libusb.c:
 
1204
        conditionnaly print hotplug debug messages. look for DEBUG_USB_HOTPLUG at the
 
1205
        begining of the file.
 
1206
 
 
1207
        * src/hotplug_linux.c:
 
1208
        use FILENAME_MAX instead of manually defined values. Use snprintf()
 
1209
        instead of sprintf() to fill filenames.
 
1210
 
 
1211
2003-08-14  Ludovic Rousseau  <rousseau@acer>
 
1212
 
 
1213
        * Makefile.am: add s/David Corcoran /David Corcoran /;
 
1214
 
 
1215
        * config.h.in: new generated version
 
1216
 
 
1217
        * bootstrap: do not remove build/aclocal.m4 anymore
 
1218
 
 
1219
        * src/Makefile.am: add parser.h in pcscd_SOURCES
 
1220
 
 
1221
        * src/utils/installifd.c:
 
1222
        cast sizeof() with (int) to avoid a warning under MacOS X
 
1223
 
 
1224
        * src/pcscdaemon.c:
 
1225
        add "Copyright (C) 2001-2003 by Ludovic Rousseau" for the version (-v) output.
 
1226
 
 
1227
2003-08-11  Ludovic Rousseau  <rousseau@acer>
 
1228
 
 
1229
        * src/tokenparser.c: regenerated but should not be in CVS
 
1230
 
 
1231
        * src/tokenparser.l: change filename in comment
 
1232
 
 
1233
        * src/parser.h: add LTPBundleFindValueWithKey() function prototype
 
1234
 
 
1235
        * src/parser.h:
 
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).
 
1238
 
 
1239
2003-08-10  Ludovic Rousseau  <rousseau@acer>
 
1240
 
 
1241
        * README, configure.in, src/Makefile.am, src/hotplug_libusb.c:
 
1242
        add support of libusb
 
1243
 
 
1244
        * src/parser.h, src/tokenparser.l:
 
1245
        define maximum buffer lengths and avoid possible buffer overflows
 
1246
 
 
1247
2003-08-08  Ludovic Rousseau  <rousseau@acer>
 
1248
 
 
1249
        * doc/formaticc.1: pcscd is in section 8 not 1
 
1250
 
 
1251
2003-07-04  Ludovic Rousseau  <rousseau@acer>
 
1252
 
 
1253
        * src/Makefile.am:
 
1254
        Installation of the pkgconfig file did not honor libdir. Thanks to Ville
 
1255
        Skytt� for the patch (alioth patch #300045)
 
1256
 
 
1257
2003-06-05  David Corcoran  <corcoran-guest@acer>
 
1258
 
 
1259
        * src/thread_generic.h, src/thread_win32.c:
 
1260
        fixed MSC_Mutex functions to point to the SYS_Mutex functions
 
1261
 
 
1262
2003-06-04  David Corcoran  <corcoran-guest@acer>
 
1263
 
 
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
 
1266
 
 
1267
2003-05-30  Ludovic Rousseau  <rousseau@acer>
 
1268
 
 
1269
        * ChangeLog: release 1.1.2beta5
 
1270
 
 
1271
        * bootstrap:
 
1272
        remove $ac_aux_dir/aclocal.m4 after use to limit the size of the .tar.gz
 
1273
 
 
1274
        * src/Makefile.am:
 
1275
        remove winscard_msg.c from pcscd_SOURCES since it is already included
 
1276
        in libpcsclite_core_la_SOURCES used by pcscd_LDADD
 
1277
 
 
1278
        * build/install-sh, build/missing, build/mkinstalldirs:
 
1279
        new version from automake 1.7.5
 
1280
 
 
1281
        * doc/Makefile.in: removed since generated from doc/Makefile.am
 
1282
 
 
1283
        * 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
 
1286
 
 
1287
        * src/winscard_clnt.c:
 
1288
        SCardStatusTH(): simplify code and return correct results when buffers
 
1289
        are too short or NULL is used
 
1290
 
 
1291
        * src/winscard.c: SCardStatus(): do not return before filling buffers
 
1292
 
 
1293
        * src/musclecard.c: small cleanup
 
1294
 
 
1295
        * doc/Makefile.in:
 
1296
        removed from CVS since generated from doc/Makefile.am
 
1297
 
 
1298
        * src/configfile.c, src/tokenparser.c:
 
1299
        regenerated but they should not be in CVS
 
1300
 
 
1301
        * src/tokenparser.l: define ret as int
 
1302
 
 
1303
        * src/Makefile.am: correct arguments order of ylwrap script
 
1304
 
 
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.
 
1310
 
 
1311
2003-05-28  Ludovic Rousseau  <rousseau@acer>
 
1312
 
 
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)
 
1316
 
 
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
 
1319
 
 
1320
        * configure.in, src/Makefile.am, src/utils/installifd.c:
 
1321
        use directory names as use by ./configure
 
1322
 
 
1323
2003-05-27  Ludovic Rousseau  <rousseau@acer>
 
1324
 
 
1325
        * src/driverparser.c, src/driverparser.l:
 
1326
        no more usefull since tokenparser.* does a better job
 
1327
 
 
1328
        * src/tokenparser.l: do not duplicate fclose/return lines
 
1329
 
 
1330
2003-05-25  Ludovic Rousseau  <rousseau@acer>
 
1331
 
 
1332
        * etc/reader.conf.in:
 
1333
        include configured path appear in the docs (thanks to Ville Skytt�)
 
1334
 
 
1335
        * doc/bundleTool.8.in, doc/pcscd.8.in:
 
1336
        correct typos and include configured path appear in the docs (thanks to
 
1337
        Ville Skytt�)
 
1338
 
 
1339
2003-05-05  Ludovic Rousseau  <rousseau@acer>
 
1340
 
 
1341
        * ChangeLog: release 1.1.2beta4
 
1342
 
 
1343
        * src/configfile.c: regenerated from src/configfile.c
 
1344
 
 
1345
        * src/utils/Makefile.in, Makefile.in, configure, doc/Makefile.in, etc/Makefile.in, src/Makefile.in:
 
1346
        regenerated
 
1347
 
 
1348
        * src/tokenparser.c: regeneration from src/tokenparser.l
 
1349
 
 
1350
        * src/tokenparser.l:
 
1351
        code reindentation, use DebugLogB()/DebugLogC with correct number of
 
1352
        arguments
 
1353
 
 
1354
        * src/debuglog.c:
 
1355
        avoid possible buffer overflow in pcsc_stringify_error()
 
1356
 
 
1357
        * src/Makefile.am:
 
1358
        add -pthread for xBSD, use AM_CFLAGS instead of CFLAGS, driverparser.c
 
1359
        no more exists
 
1360
 
 
1361
        * bootstrap: use automake 1.7.3
 
1362
 
 
1363
        * README: also tested on Debian 3.0 and OpenBSD 3.2
 
1364
 
 
1365
2003-04-07  Ludovic Rousseau  <rousseau@acer>
 
1366
 
 
1367
        * src/tokenparser.l:
 
1368
        reindent, use DebugLogB instead of DebugLogC, add indice number in debug
 
1369
        message
 
1370
 
 
1371
        * src/hotplug_linux.c: support driver aliases in Info.plist
 
1372
 
 
1373
        * src/hotplug_linux.c: use LTPBundleFindValueWithKey(.., 0) instead of
 
1374
        LCFBundleFindValueWithKey()
 
1375
 
 
1376
        * src/hotplug_linux.c: reindent
 
1377
 
 
1378
        * src/hotplug_linux.c: code simplification
 
1379
 
 
1380
        * src/hotplug_linux.c: add directory name to error message
 
1381
 
 
1382
2003-01-09  Ludovic Rousseau  <rousseau@acer>
 
1383
 
 
1384
        * src/debuglog.c:
 
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.
 
1387
 
 
1388
2002-12-08  Ludovic Rousseau  <rousseau@acer>
 
1389
 
 
1390
        * src/pcsclite.h.in:
 
1391
        use pcscd.* instead of pcsc.* to be unoform with pcscd.pid
 
1392
 
 
1393
2002-12-07  Ludovic Rousseau  <rousseau@acer>
 
1394
 
 
1395
        * doc/Makefile.am: remove pcscd.startup since it is now in etc/
 
1396
 
 
1397
        * ChangeLog: release 1.1.2beta3
 
1398
 
 
1399
        * Makefile.in, config.h.in, configure, doc/Makefile.in, etc/Makefile.in:
 
1400
        regenerated
 
1401
 
 
1402
        * src/utils/Makefile.in, src/Makefile.in: regenarated
 
1403
 
 
1404
        * src/pcscdaemon.c:
 
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/)
 
1407
 
 
1408
        * src/pcsclite.h.in: use pcsc.comm instead of pcsc.omm
 
1409
 
 
1410
        * doc/pcscd.startup: removed. The startup script is in etc/
 
1411
 
 
1412
        * src/eventhandler.c: small source code reformating
 
1413
 
 
1414
        * src/musclecard.c, src/tokenfactory.c, src/tokenparser.c:
 
1415
        use DebugLogB() for logs with 2 parameters and not DebugLogC()
 
1416
 
 
1417
        * src/debuglog.h:
 
1418
        DebugLogC() uses 3 parameters not 2 (use DebugLogB() for that)
 
1419
 
 
1420
        * src/eventhandler.c:
 
1421
        add filename and error message to error logs for /var/run/pcsc.pub
 
1422
 
 
1423
        * src/pcscdaemon.c, src/pcsclite.h.in:
 
1424
        add support of --enable-ipcdir=DIR
 
1425
 
 
1426
        * src/Makefile.am:
 
1427
        reorganise conditionals to to have a src/Makefile.in file 142 (yes 142) times
 
1428
        smaller (33 KB instead of 4.7 MB)
 
1429
 
 
1430
        * etc/Makefile.am: also distribute etc/pcscd.startup
 
1431
 
 
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/
 
1434
 
 
1435
        * bootstrap: update for autoconf 2.57 and automake 1.6.3
 
1436
 
 
1437
        * Makefile.am: add win32/ files and some rework
 
1438
 
 
1439
2002-12-06  Ludovic Rousseau  <rousseau@acer>
 
1440
 
 
1441
        * src/winscard.c: accept pioRecvPci == NULL in SCardTransmit()
 
1442
 
 
1443
        * src/winscard_clnt.c: source code reformating
 
1444
 
 
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
 
1448
 
 
1449
        * src/winscard_clnt.c: init g_rgSCard??Pci variable at compile time
 
1450
 
 
1451
2002-12-04  Ludovic Rousseau  <rousseau@acer>
 
1452
 
 
1453
        * ChangeLog: add Dmitry Djachenko pacthes
 
1454
 
 
1455
2002-12-02  David Corcoran  <corcoran@acer>
 
1456
 
 
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
 
1461
 
 
1462
2002-11-29  Ludovic Rousseau  <rousseau@acer>
 
1463
 
 
1464
        * src/winscard.c: code reformatting
 
1465
 
 
1466
        * src/winscard.c: initialise g_rgSCard??Pci globals at compile time
 
1467
 
 
1468
        * src/winscard.c: SCardStatus(): set more return values
 
1469
 
 
1470
        * src/winscard.c:
 
1471
        Check reader name and ATR size are correct (no buffer oveflow)
 
1472
 
 
1473
        * src/winscard.c: check pioRecvPci is non NULL before assignment
 
1474
 
 
1475
        * src/winscard.c: SCardReconnect() returns more interesting error codes
 
1476
 
 
1477
2002-10-30  Ludovic Rousseau  <rousseau@acer>
 
1478
 
 
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.
 
1482
 
 
1483
        * src/atrhandler.c, src/eventhandler.c, src/prothandler.c, src/winscard.c:
 
1484
        include some missing .h files. Thanks to Oleg Makarenko
 
1485
 
 
1486
2002-10-16  David Corcoran  <corcoran@acer>
 
1487
 
 
1488
        * etc/SmartcardServices, pbx/config.h: some changes for the Mac
 
1489
 
 
1490
2002-10-15  David Corcoran  <corcoran@acer>
 
1491
 
 
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
 
1494
 
 
1495
2002-10-12  Ludovic Rousseau  <rousseau@acer>
 
1496
 
 
1497
        * bootstrap:
 
1498
        use autoconf instead of autoreconf to not reuse an old config
 
1499
 
 
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
 
1502
 
 
1503
        * ChangeLog: release 1.1.2beta2
 
1504
 
 
1505
2002-10-08  Ludovic Rousseau  <rousseau@acer>
 
1506
 
 
1507
        * src/Makefile.am:
 
1508
        do not link with -lpthread under bsd as it breaks under OpenBSD and
 
1509
        FreeBSD
 
1510
 
 
1511
        * configure.in:
 
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
 
1515
        earlier.
 
1516
 
 
1517
2002-10-06  Ludovic Rousseau  <rousseau@acer>
 
1518
 
 
1519
        * src/Makefile.am:
 
1520
        use -rdynamic instead of -Wl,--export-dynamic since some systems
 
1521
        (OpenBSD) did not support it
 
1522
 
 
1523
        * src/pcscdaemon.c: add --apdu documentation in --help message
 
1524
        support -a argument even when HAVE_GETOPT_LONG not supported
 
1525
 
 
1526
        * src/utils/formaticc.c:
 
1527
        add a (char *) cast to avoid a compilation warning
 
1528
 
 
1529
2002-10-06  Jean-Luc Giraud  <giraud@acer>
 
1530
 
 
1531
        * etc/SmartcardServices:
 
1532
        Added support for start/stop/restart invocation parameters
 
1533
 
 
1534
        * pbx/config.h:
 
1535
        Added #define for support of /var/run/pid. pid file is /var/run/pcscd.pid
 
1536
 
 
1537
2002-10-06  Ludovic Rousseau  <rousseau@acer>
 
1538
 
 
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
 
1541
 
 
1542
        * src/Makefile.am:
 
1543
        add -DPACKAGE and -DVERSION to compilation flags. They are no more
 
1544
        included in config.h
 
1545
 
 
1546
        * configure.in: change version from 1.1.2beta1 to 1.1.2
 
1547
 
 
1548
        * bootstrap: remove config.h.in to be sure to regenerate it
 
1549
 
 
1550
2002-10-05  Ludovic Rousseau  <rousseau@acer>
 
1551
 
 
1552
        * src/pcsclite.h.in: change VERSION number from 1.1.2beta1 to 1.1.2
 
1553
 
 
1554
        * ChangeLog:
 
1555
        print an error message if the --debug argument is not known
 
1556
 
 
1557
2002-10-04  David Corcoran  <corcoran@acer>
 
1558
 
 
1559
        * cvsroot/pcsclite/PCSC/src/winscard_scf.c: quick fix
 
1560
 
 
1561
        * cvsroot/pcsclite/PCSC/src/winscard_scf.c: added scf compatibility
 
1562
 
 
1563
        * src/wintypes.h: added helge's fix to WORD
 
1564
 
 
1565
        * src/powermgt_macosx.c: fix for osx deadlock on sleep
 
1566
 
 
1567
2002-10-03  David Corcoran  <corcoran@acer>
 
1568
 
 
1569
        * src/hotplug_linux.c: some changes to support multiplle usb readers
 
1570
 
 
1571
2002-10-03  Ludovic Rousseau  <rousseau@acer>
 
1572
 
 
1573
        * src/hotplug_linux.c:
 
1574
        close PCSCLITE_HP_DROPDIR (/usr/local/pcsc/drivers/) after use
 
1575
 
 
1576
2002-10-03  David Corcoran  <corcoran@acer>
 
1577
 
 
1578
        * src/winscard.c: added fix by amira
 
1579
 
 
1580
2002-10-02  David Corcoran  <corcoran@acer>
 
1581
 
 
1582
        * src/tokenfactory.c: added default dropdir
 
1583
 
 
1584
        * src/winscard.c, src/Makefile.in:
 
1585
        added athena patch for SCARD_PROTOCOL_ANY in SCardConnect
 
1586
 
 
1587
        * src/eventhandler.c, src/readerfactory.c:
 
1588
        Fixed multi-reader + sleep problem
 
1589
 
 
1590
        * Makefile.in, build/aclocal.m4, config.h.in, configure, doc/Makefile.in, src/Makefile.in:
 
1591
        Re-importing autoconf stuff
 
1592
 
 
1593
2002-10-02  Jean-Luc Giraud  <giraud@acer>
 
1594
 
 
1595
        * pbx/config.h, src/readerfactory.c:
 
1596
        Modified version number from 1.1.0 to 1.1.1
 
1597
 
 
1598
2002-09-07  Ludovic Rousseau  <rousseau@acer>
 
1599
 
 
1600
        * src/pcscdaemon.c:
 
1601
        Log to stderr by default. Print an error message if --debug argument is
 
1602
        not known.
 
1603
 
 
1604
2002-09-06  Ludovic Rousseau  <rousseau@acer>
 
1605
 
 
1606
        * configure.in, src/pcsclite.h.in: release 1.1.2beta1
 
1607
 
 
1608
        * ChangeLog:
 
1609
        forgot to add support of --enable-muscledropdir in bundleTool.c
 
1610
 
 
1611
        * src/utils/bundleTool.c, src/tokenfactory.c:
 
1612
        add support for --enable-muscledropdir
 
1613
 
 
1614
        * build/aclocal.m4, build/config.guess, build/config.sub, build/install-sh, build/ltmain.sh, build/missing, build/mkinstalldirs, build/ylwrap:
 
1615
        new versions
 
1616
 
 
1617
        * reconf: do not restart ./configure
 
1618
 
 
1619
        * configure.in: add support for --enable-muscledropdir
 
1620
 
 
1621
        * bootstrap: test if a Makfile exists before make distclean
 
1622
 
 
1623
        * README:
 
1624
        The licence file is COPYING and not LICENSE (thanks to Juha Tuomala)
 
1625
 
 
1626
2002-08-18  Ludovic Rousseau  <rousseau@acer>
 
1627
 
 
1628
        * doc/Makefile.am, doc/Makefile.in, doc/formaticc.1:
 
1629
        add formaticc.1 from Debian
 
1630
 
 
1631
2002-08-16  Ludovic Rousseau  <rousseau@acer>
 
1632
 
 
1633
        * src/pcscdaemon.c: typo (add a space)
 
1634
 
 
1635
2002-08-15  Ludovic Rousseau  <rousseau@acer>
 
1636
 
 
1637
        * src/utils/formaticc.c: lots of debug and buffer overflow removal
 
1638
 
 
1639
        * src/utils/bundleTool.c: print usage in cas of wrong arguments
 
1640
 
 
1641
        * doc/Makefile.am, doc/Makefile.in, doc/bundleTool.1, doc/bundleTool.8.in:
 
1642
        update and rename bundleTool.1
 
1643
 
 
1644
2002-08-13  Ludovic Rousseau  <rousseau@acer>
 
1645
 
 
1646
        * configure.in, src/pcsclite.h.in:
 
1647
        switch from version 1.1.1 to 1.1.2 for cvs snapshots
 
1648
 
 
1649
        * src/Makefile.am, src/Makefile.in:
 
1650
        add -Wl,--export-dynamic link option
 
1651
 
 
1652
        * src/musclecard.c: add a return NULL;
 
1653
 
 
1654
        * src/ifdwrapper.c: add support for --apdu
 
1655
 
 
1656
        * src/debuglog.c, src/debuglog.h:
 
1657
        add support for --apdu and other same log messages
 
1658
 
 
1659
        * src/pcscdaemon.c:
 
1660
        add support for --apdu, test if the pcscd is still running before
 
1661
        complaining that /tmp/pcsc is present
 
1662
 
 
1663
        * src/readerfactory.c: properly initialise rv
 
1664
 
 
1665
        * src/eventhandler.c: typo
 
1666
 
 
1667
        * doc/pcscd.8.in: add the -a|--apdu option + some cleaning
 
1668
 
 
1669
        * reconf: make distclean before autoreconf
 
1670
 
 
1671
        * reconf: *** empty log message ***
 
1672
 
 
1673
        * configure.in, src/hotplug_linux.c:
 
1674
        set the PCSCLITE_HP_DROPDIR as a ./configure option
 
1675
 
 
1676
2002-07-30  Ludovic Rousseau  <rousseau@acer>
 
1677
 
 
1678
        * src/musclecard.c:
 
1679
        add #ifdef USE_THREAD_SAFETY otherwise it wont compile with
 
1680
        --disable-threadsafe
 
1681
 
 
1682
2002-07-01  David Corcoran  <corcoran@acer>
 
1683
 
 
1684
        * doc/pcscd.startup: readding
 
1685
 
 
1686
        * doc/pcscd.startup, etc/pcscd.startup: moved location
 
1687
 
 
1688
2002-06-27  David Corcoran  <corcoran@acer>
 
1689
 
 
1690
        * src/musclecard.c, src/tokenfactory.c, win32/PCSC.dsp: Win32
 
1691
 
 
1692
2002-06-19  David Corcoran  <corcoran@acer>
 
1693
 
 
1694
        * src/readerfactory.c: removed printf
 
1695
 
 
1696
2002-06-18  David Corcoran  <corcoran@acer>
 
1697
 
 
1698
        * src/musclecard.h: MSCPUChar8 -> MSCUChar8
 
1699
 
 
1700
2002-06-11  David Corcoran  <corcoran@acer>
 
1701
 
 
1702
        * src/musclecard.h: Added more Initialization parameters ...
 
1703
 
 
1704
2002-06-05  David Corcoran  <corcoran@acer>
 
1705
 
 
1706
        * src/musclecard.c: hello
 
1707
 
 
1708
        * src/musclecard.c: ;lkj
 
1709
 
 
1710
        * src/musclecard.c: bad if then
 
1711
 
 
1712
        * src/musclecard.c: some changes
 
1713
 
 
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
 
1716
 
 
1717
        * src/musclecard.c: Added join to cancelcallback
 
1718
 
 
1719
        * COPYING, ChangeLog, NEWS, README:
 
1720
        Fixed problem with MSC_SHARE_DIRECT connections
 
1721
        Added changes to docs
 
1722
        Cancel with join
 
1723
 
 
1724
        * src/pcsclite.h.in, Makefile.in, build/aclocal.m4, configure, configure.in, doc/Makefile.in, src/Makefile.in:
 
1725
        Changed versioning
 
1726
 
 
1727
        * src/winscard_clnt.c: removed unused variable i
 
1728
 
 
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.
 
1731
 
 
1732
2002-06-03  David Corcoran  <corcoran@acer>
 
1733
 
 
1734
        * src/readerfactory.h:
 
1735
        replaced magic number with constant 16->PCSCLITE_MAX_CONTEXTS
 
1736
 
 
1737
2002-05-31  David Corcoran  <corcoran@acer>
 
1738
 
 
1739
        * src/winscard_clnt.c:
 
1740
        Removed bug: line 1986 SCardCleanupClient would release the socket too early
 
1741
 
 
1742
2002-05-28  David Corcoran  <corcoran@acer>
 
1743
 
 
1744
        * doc/muscle-api-1.3.0.pdf: Added muscle-docs
 
1745
 
 
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
 
1748
 
 
1749
        * src/utils/formaticc.c: Added wintypes.h
 
1750
 
 
1751
        * Makefile.in, build/aclocal.m4, build/ltmain.sh, doc/Makefile.in, src/Makefile.am, src/Makefile.in:
 
1752
        fixes for the build
 
1753
 
 
1754
2002-05-28  phuang  <phuang@acer>
 
1755
 
 
1756
        * src/dyn_hpux.c: hpux need <errno.h> to compile correctly
 
1757
 
 
1758
2002-05-21  Ludovic Rousseau  <rousseau@acer>
 
1759
 
 
1760
        * Makefile.am:
 
1761
        patch the generated ChangeLog.cvs to have correct file and author names
 
1762
 
 
1763
2002-05-10  Ludovic Rousseau  <rousseau@acer>
 
1764
 
 
1765
        * src/Makefile.am:
 
1766
        added the .h files in the distibution but they will not be installed by
 
1767
        a 'make install'
 
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
 
1770
        this time.
 
1771
 
 
1772
        * doc/Makefile.am: add pcscd.startup in the distribution
 
1773
 
 
1774
2002-05-07  David Corcoran  <corcoran@acer>
 
1775
 
 
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
 
1778
 
 
1779
        * etc/Makefile.in, doc/Makefile.in, Makefile.in, config.h.in, configure, configure.in:
 
1780
        Fixing so that --disable-threadsafe works !!!
 
1781
 
 
1782
        * src/utils/Makefile.in, src/Makefile.am, src/Makefile.in:
 
1783
        Adding Makefile.am with -lpthread for PCSCD_INCLUDE_LIBS
 
1784
 
 
1785
        * src/dyn_win32.c: Added Win32 dynamic lib loading
 
1786
 
 
1787
2002-05-06  David Corcoran  <corcoran@acer>
 
1788
 
 
1789
        * src/musclecard.c:
 
1790
        Added real time card reset/removed checking.  Fixed bug which begin/end transaction would not return this.
 
1791
 
 
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.
 
1794
 
 
1795
        * pcsc.pbproj/project.pbxproj:
 
1796
        Checking in new project file for project builder
 
1797
 
 
1798
2002-05-06  Chris Osgood  <oznet@acer>
 
1799
 
 
1800
        * src/dyn_win32.c: New file.
 
1801
 
 
1802
        * src/dyn_win32.c: Win32 updates
 
1803
 
 
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:
 
1805
        New file.
 
1806
 
 
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:
 
1808
        Win32 updates
 
1809
 
 
1810
2002-04-27  David Corcoran  <corcoran@acer>
 
1811
 
 
1812
        * pcsc.pbproj/project.pbxproj, src/hotplug_macosx.c:
 
1813
        Added versioning to pbxproj file, updated config.h.  Fixed Plugin->PlugIn.h in hotplug
 
1814
 
 
1815
2002-04-26  David Corcoran  <corcoran@acer>
 
1816
 
 
1817
        * doc/pcscd.8.in: Updated the man page
 
1818
 
 
1819
2002-04-25  David Corcoran  <corcoran@acer>
 
1820
 
 
1821
        * pcsc.pbproj/project.pbxproj:
 
1822
        Added bundle header information for buildit
 
1823
 
 
1824
        * pbx/config.h, src/pcscdaemon.c, src/pcsclite.h.in:
 
1825
        Added new version numbering
 
1826
 
 
1827
        * src/eventhandler.c, src/readerfactory.c:
 
1828
        removed printf debugging for release
 
1829
 
 
1830
        * src/hotplug_macosx.c, src/powermgt_macosx.c:
 
1831
        Changes to the power management behavior
 
1832
 
 
1833
2002-04-24  David Corcoran  <corcoran@acer>
 
1834
 
 
1835
        * pbx/PCSC.pbproj/project.pbxproj: Removal
 
1836
 
 
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
 
1839
 
 
1840
        * pbx/PCSC.pbproj/project.pbxproj, src/musclecard.c, src/musclecard.h, src/muscletest.c, src/powermgt_macosx.c:
 
1841
        changes
 
1842
 
 
1843
2002-04-23  David Corcoran  <corcoran@acer>
 
1844
 
 
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
 
1847
 
 
1848
2002-04-22  David Corcoran  <corcoran@acer>
 
1849
 
 
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
 
1858
 
 
1859
2002-04-21  Carlos Prados  <cprados@acer>
 
1860
 
 
1861
        * configure.in, src/pcscdaemon.c:
 
1862
        Added autoconf check for getopt.h header
 
1863
 
 
1864
2002-04-16  David Corcoran  <corcoran@acer>
 
1865
 
 
1866
        * src/pcscdaemon.c: Added #ifdef around #include <getopt.h>
 
1867
 
 
1868
2002-04-14  Carlos Prados  <cprados@acer>
 
1869
 
 
1870
        * configure.in: Added getopt_long() check.
 
1871
 
 
1872
        * src/pcscdaemon.c:
 
1873
        Added getopt and getopt_long support for command line parsing.
 
1874
 
 
1875
2002-04-12  David Corcoran  <corcoran@acer>
 
1876
 
 
1877
        * src/musclecard.c: Added wait for thread return for the callback
 
1878
 
 
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.
 
1882
 
 
1883
        * src/musclecard.h: Removed MSCCertInfo
 
1884
 
 
1885
2002-04-11  David Corcoran  <corcoran@acer>
 
1886
 
 
1887
        * src/mscdefines.h: removed cert function pointers
 
1888
 
 
1889
        * src/tokenfactory.c: removed certificate function pointers
 
1890
 
 
1891
        * src/musclecard.c, src/musclecard.h:
 
1892
        Removed all certificate handling functions
 
1893
 
 
1894
2002-04-10  David Corcoran  <corcoran@acer>
 
1895
 
 
1896
        * src/pcscdaemon.c: Added extern int errno - wouldn't build on Solaris
 
1897
 
 
1898
        * src/winscard_clnt.c:
 
1899
        Removed atexit() put cleanup code in SCardReleaseContext
 
1900
 
 
1901
        * src/musclecard.c: some modifications for tabs.
 
1902
 
 
1903
        * src/ifdwrapper.c:
 
1904
        Removed SetCapabilities -> put into 1.0 version for performance reasons
 
1905
 
 
1906
        * src/musclecard.c, src/musclecard.h:
 
1907
        Removed extra Read/Write functions
 
1908
 
 
1909
2002-04-09  David Corcoran  <corcoran@acer>
 
1910
 
 
1911
        * src/musclecard.c, src/musclecard.h:
 
1912
        Added keyPartner to MSCImportKey.  Added keyMapping to MSCKeyInfo structure
 
1913
 
 
1914
2002-04-08  David Corcoran  <corcoran@acer>
 
1915
 
 
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
 
1920
 
 
1921
2002-04-08  Michael Gile  <mikeg@acer>
 
1922
 
 
1923
        * src/readerfactory.c:
 
1924
        initialized return value to -1 in RFSetReaderName
 
1925
 
 
1926
2002-04-07  Ludovic Rousseau  <rousseau@acer>
 
1927
 
 
1928
        * src/pcscdaemon.c, src/pcsclite.h.in, src/readerfactory.c:
 
1929
        Allow pcscd to do bulk transfers for devices with high speed:
 
1930
 
 
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
 
1936
 
 
1937
        Thanks to Michael Gile <mgile@mac.com> for the patch
 
1938
 
 
1939
2002-04-06  Ludovic Rousseau  <rousseau@acer>
 
1940
 
 
1941
        * AUTHORS: Added my name as suggested by David
 
1942
 
 
1943
        * src/pcscdaemon.c:
 
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
 
1948
 
 
1949
        * src/pcsclite.h.in, configure.in: renamed 1.0.2.beta5 to 1.0.2.cvs
 
1950
 
 
1951
        * Makefile.am: make the ChangeLog.cvs rule .PHONY
 
1952
 
 
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
 
1959
 
 
1960
        patch provided by Toni Andjelkovic <toni@soth.at>
 
1961
 
 
1962
        * Makefile.am: add a rule to create ChangeLog.cvs
 
1963
 
 
1964
        * src/pcscdaemon.c:
 
1965
        add error code management for SHMProcessEvents returned value
 
1966
 
 
1967
2002-04-05  Ludovic Rousseau  <rousseau@acer>
 
1968
 
 
1969
        * configure.in: correct text alignment
 
1970
 
 
1971
        * doc/Makefile.in, etc/Makefile.in, src/utils/Makefile.in:
 
1972
        removed since generated automatically by automake
 
1973
 
 
1974
        * src/atrhandler.c:
 
1975
        USE_SYSLOG is no more used. code rewrote with debug_msg()
 
1976
 
 
1977
        * src/debuglog.c: debug_xxd(): also use the debug_msg_type way
 
1978
 
 
1979
        * config.h.in:
 
1980
        removed since generated automatically from configure.in by autoheader
 
1981
 
 
1982
2002-04-04  Ludovic Rousseau  <rousseau@acer>
 
1983
 
 
1984
        * Makefile.in, src/Makefile.in:
 
1985
        removed since automatically generated from Makefile.am
 
1986
 
 
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
 
1992
 
 
1993
        * src/dyn_unix.c:
 
1994
        removed dlerror() from if tests since it is not the best way to test for
 
1995
        errors
 
1996
 
 
1997
        * src/dyn_bsd.c:
 
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
 
2000
        call
 
2001
        Also removed dlerror() from if tests everywhere else
 
2002
 
 
2003
        * src/Makefile.am:
 
2004
        add many .h files in include_HEADERS so that 'make dist' include all the
 
2005
        usefull files
 
2006
        add muscletest.c in EXTRA_libpcsclite_core_la_SOURCES
 
2007
 
 
2008
2002-04-04  David Corcoran  <corcoran@acer>
 
2009
 
 
2010
        * src/musclecard.c:
 
2011
        Some event changes, begin/end transaction.  Added IdentifyToken
 
2012
 
 
2013
2002-04-04  Ludovic Rousseau  <rousseau@acer>
 
2014
 
 
2015
        * src/utils/bundleTool.c:
 
2016
        removed unused variable char tempString[1024];
 
2017
        add a return 0 for main()
 
2018
 
 
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
 
2021
 
 
2022
        * ChangeLog: test
 
2023
 
 
2024
2002-04-01  Jean-Luc Giraud  <giraud@acer>
 
2025
 
 
2026
        * src/musclecard.h: musclecard:
 
2027
        - replaced PCSC_TARGET_OSX with __APPLE__ in #ifndef for mscdefines.h inclusion
 
2028
        pbproj:
 
2029
        - no meaningful modifications
 
2030
 
 
2031
2002-03-31  Jean-Luc Giraud  <giraud@acer>
 
2032
 
 
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
 
2037
 
 
2038
        Modified PB project to allow build in proper order and have testpcsc used
 
2039
        the new PCSC framework available in the build folder.
 
2040
 
 
2041
2002-03-31  David Corcoran  <corcoran@acer>
 
2042
 
 
2043
        * src/configfile.c: Added this
 
2044
 
 
2045
        * src/configfile.l: Big Ass Error badError = 1 instead of ==
 
2046
 
 
2047
2002-03-30  David Corcoran  <corcoran@acer>
 
2048
 
 
2049
        * src/pcscdaemon.c: removed crap PCSC_DEBUG
 
2050
 
 
2051
        * src/readerfactory.c, src/wintypes.h:
 
2052
        Fixed multi-reader bug, also fixed wintypes bug
 
2053
 
 
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:
 
2055
        added the man pages
 
2056
 
 
2057
        * src/configfile.l, src/pcscdaemon.c, src/Makefile.am, src/configfile.c:
 
2058
        Added some command line arguments.
 
2059
 
 
2060
        * src/debuglog.c, src/debuglog.h, src/pcscdaemon.c, src/pcsclite.h.in, src/tokenparser.c:
 
2061
        Added command line debug options
 
2062
 
 
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:
 
2064
        New file.
 
2065
 
 
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:
 
2067
        PCSC
 
2068
 
 
2069
        * src/winscard_msg.h, src/winscard_svc.c, src/winscard_svc.h, src/wintypes.h:
 
2070
        New file.
 
2071
 
 
2072
        * src/winscard_msg.h, src/winscard_svc.c, src/winscard_svc.h, src/wintypes.h:
 
2073
        PCSC
 
2074
 
 
2075
        * src/winscard_clnt.c, src/winscard_msg.c: New file.
 
2076
 
 
2077
        * src/winscard_clnt.c, src/winscard_msg.c: PCSC
 
2078
 
 
2079
        * src/winscard.c, src/winscard.h: New file.
 
2080
 
 
2081
        * src/winscard.c, src/winscard.h: PCSC
 
2082
 
 
2083
        * src/tokenparser.l: New file.
 
2084
 
 
2085
        * src/tokenparser.l: PCSC
 
2086
 
 
2087
        * src/tokenparser.c: New file.
 
2088
 
 
2089
        * src/tokenparser.c: PCSC
 
2090
 
 
2091
        * src/tokenfactory.c, src/tokenfactory.h: New file.
 
2092
 
 
2093
        * src/tokenfactory.c, src/tokenfactory.h: PCSC
 
2094
 
 
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:
 
2096
        New file.
 
2097
 
 
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:
 
2099
        PCSC
 
2100
 
 
2101
        * src/README_INTERNALS.txt, src/readerfactory.c, src/readerfactory.h, src/sys_generic.h:
 
2102
        New file.
 
2103
 
 
2104
        * src/README_INTERNALS.txt, src/readerfactory.c, src/readerfactory.h, src/sys_generic.h:
 
2105
        PCSC
 
2106
 
 
2107
        * src/pcscdaemon.c, src/pcsclite.h.in, src/powermgt_macosx.c, src/prothandler.c, src/prothandler.h:
 
2108
        New file.
 
2109
 
 
2110
        * src/pcscdaemon.c, src/pcsclite.h.in, src/powermgt_macosx.c, src/prothandler.c, src/prothandler.h:
 
2111
        PCSC
 
2112
 
 
2113
        * src/musclecard.h, src/muscletest.c: New file.
 
2114
 
 
2115
        * src/musclecard.h, src/muscletest.c: PCSC
 
2116
 
 
2117
        * src/musclecard.c: New file.
 
2118
 
 
2119
        * src/musclecard.c: PCSC
 
2120
 
 
2121
        * src/Makefile.in, src/mscdefines.h: New file.
 
2122
 
 
2123
        * src/Makefile.in, src/mscdefines.h: PCSC
 
2124
 
 
2125
        * src/Makefile.am, src/ifdwrapper.c, src/ifdwrapper.h: New file.
 
2126
 
 
2127
        * src/Makefile.am, src/ifdwrapper.c, src/ifdwrapper.h: PCSC
 
2128
 
 
2129
        * src/hotplug_macosx.c, src/ifdhandler.h: New file.
 
2130
 
 
2131
        * src/hotplug_macosx.c, src/ifdhandler.h: PCSC
 
2132
 
 
2133
        * src/eventhandler.c, src/eventhandler.h, src/hotplug.h, src/hotplug_generic.c, src/hotplug_linux.c:
 
2134
        New file.
 
2135
 
 
2136
        * src/eventhandler.c, src/eventhandler.h, src/hotplug.h, src/hotplug_generic.c, src/hotplug_linux.c:
 
2137
        PCSC
 
2138
 
 
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:
 
2140
        New file.
 
2141
 
 
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:
 
2143
        PCSC
 
2144
 
 
2145
        * src/configfile.c, src/configfile.h, src/configfile.l, src/debuglog.c, src/debuglog.h:
 
2146
        New file.
 
2147
 
 
2148
        * src/configfile.c, src/configfile.h, src/configfile.l, src/debuglog.c, src/debuglog.h:
 
2149
        PCSC
 
2150
 
 
2151
        * pbx/PCSC.pbproj/project.pbxproj, src/atrhandler.c, src/atrhandler.h:
 
2152
        New file.
 
2153
 
 
2154
        * pbx/PCSC.pbproj/project.pbxproj, src/atrhandler.c, src/atrhandler.h:
 
2155
        PCSC
 
2156
 
 
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:
 
2158
        New file.
 
2159
 
 
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:
 
2161
        PCSC
 
2162
 
 
2163
        * doc/pcsc-lite-0.8.7.pdf: New file.
 
2164
 
 
2165
        * doc/pcsc-lite-0.8.7.pdf: PCSC
 
2166
 
 
2167
        * doc/Makefile.in: New file.
 
2168
 
 
2169
        * doc/Makefile.in: PCSC
 
2170
 
 
2171
        * build/ltmain.sh, build/missing, build/mkinstalldirs, build/ylwrap, doc/Makefile.am, doc/bundleTool.1:
 
2172
        New file.
 
2173
 
 
2174
        * build/ltmain.sh, build/missing, build/mkinstalldirs, build/ylwrap, doc/Makefile.am, doc/bundleTool.1:
 
2175
        PCSC
 
2176
 
 
2177
        * build/ltconfig: New file.
 
2178
 
 
2179
        * build/ltconfig: PCSC
 
2180
 
 
2181
        * build/config.sub, build/install-sh: New file.
 
2182
 
 
2183
        * build/config.sub, build/install-sh: PCSC
 
2184
 
 
2185
        * build/config.guess: New file.
 
2186
 
 
2187
        * build/config.guess: PCSC
 
2188
 
 
2189
        * build/acx_pthread.m4: New file.
 
2190
 
 
2191
        * build/acx_pthread.m4: PCSC
 
2192
 
 
2193
        * build/aclocal.m4: New file.
 
2194
 
 
2195
        * build/aclocal.m4: PCSC
 
2196
 
 
2197
        * Makefile.in, NEWS, README, SECURITY, build/acinclude.m4, reconf, stamp-h.in:
 
2198
        New file.
 
2199
 
 
2200
        * Makefile.in, NEWS, README, SECURITY, build/acinclude.m4, reconf, stamp-h.in:
 
2201
        PCSC
 
2202
 
 
2203
        * INSTALL, Makefile.am: New file.
 
2204
 
 
2205
        * INSTALL, Makefile.am: PCSC
 
2206
 
 
2207
        * COPYING, DRIVERS, HELP, configure, configure.in: New file.
 
2208
 
 
2209
        * COPYING, DRIVERS, HELP, configure, configure.in: PCSC
 
2210
 
 
2211
        * AUTHORS, ChangeLog, bootstrap, config.h.in: New file.
 
2212
 
 
2213
        * AUTHORS, ChangeLog, bootstrap, config.h.in: PCSC
 
2214