summaryrefslogtreecommitdiffstats
path: root/ChangeLog
blob: 6406a7f6b8eb21e9b9c05322b22c69748000572a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
2003-01-06 15:34  tvignaud

	* ldetect.spec: add pixel changes

2003-01-06 15:32  tvignaud

	* ldetect.spec: 0.4.8-1mdk

2003-01-06 15:24  tvignaud

	* pciusb.c: special case for buggy 0x0 usb entry so that we
	eventually got a class, thus normalizing lspcidrake & harddrake
	output

2002-11-05 16:12  prigaux

	* pci.c, usb.c: no error message when -p is not used and there is
	neither pci nor usb bus

2002-11-05 15:27  tvignaud

	* usb.c: fix access check

2002-10-15 16:40  tvignaud

	* ldetect.spec: 0.4.7-1mdk

2002-10-07 11:32  tvignaud

	* pciusb.c: enforce gc coding rules

2002-10-07 11:21  tvignaud

	* pciusb.c: - remove gc hack that tried to fix my bug  (which i
	fixed in last commit)
	
	- simplify subids match; explay why we can only test for nb==4

2002-10-07 09:47  tvignaud

	* pciusb.c: fix "skipping already handled device" (aka kill stupid
	remaining test)

2002-10-04 17:30  gc

	* pciusb.c: try to detect correctly the module when subv/subd
	differ with non-subv/subd

2002-09-12 12:20  tvignaud

	* AUTHORS: fix gc

2002-09-05 13:25  prigaux

	* ldetect.spec, pciusb.c: fix ugly case for snd-usb-audio which
	should have made titi think that something was broken. Really
	fixing the right way (this fixes automatic detection of unknown usb
	controllers)

2002-08-29 14:18  prigaux

	* ldetect.spec: fix getting the Product name in usb (occurs when
	there is no entry in usbtable)

2002-08-29 14:17  prigaux

	* usb.c: fix getting the Product name

2002-08-29 14:17  tvignaud

	* pci.c: fix PCI_CLASS_PROG offset

2002-08-26 04:50  tvignaud

	* ChangeLog, ldetect.spec: 0.4.6-4mdk

2002-08-26 00:47  tvignaud

	* pci.c: - kill last fseek - change if(cdt) cascade into if(!cdt)
	continue - move loop invariant out of loop

2002-08-22 12:31  tvignaud

	* ChangeLog, ldetect.spec: 0.4.6-3mdk

2002-08-22 12:27  tvignaud

	* pci.c: try to not freeze on buggy motherboard by preventing:
	- seeking in /proc/bus/pci/<bus>/<device>.<function>
	- not reading the whole /proc/bus/pci/<bus>/<device>.<function>

	we now read 48 linear bytes the same way lspci read 64 linear
	bytes.

2002-08-17 16:18  tvignaud

	* ldetect.spec: - rpmlint fixes (url, doc) - simplification

2002-08-17 16:12  tvignaud

	* Makefile: split rpm target in srpm and rpm

2002-08-17 16:08  tvignaud

	* ChangeLog, ldetect.spec: 4.6mdk

2002-08-17 16:06  tvignaud

	* Makefile: default RPM to ~/rpm

2002-08-16 18:07  tvignaud

	* ChangeLog: [no log message]

2002-08-16 18:03  tvignaud

	* Makefile, pci.c, usb.c: - usb.c: allocate mem as pci.c does
	- usb.c: kill dead code
	- usb.c: give url to get info on /proc/bus/usb/devices format
	- usb.c: the /proc/bus/usb/devices really is a state machine;
	  use switch to make it clearer
	- {usb,pci}.c: r.nb is zeroed in all path, let's do it only time

2002-08-15 23:23  tvignaud

	* usb.c, pciusb.c: usb audio devices can use new alsa modules
	snd-usb-audio

2002-08-08 17:25  tvignaud

	* ChangeLog, ldetect.spec: 0.4.5-1mdk: don't depend of the table
	order

2002-08-08 17:20  tvignaud

	* libldetect.h, pciusb.c:
	- struct pciusb_entrie : add already_found flag
	- pciusb::pciusb_initialize() : zero the above flag
	- pciusb::pciusb_find_modules() : use the above flag:
	  o if device subids matches the table ones, switch the
	    already_found flag
	  o skip already handled device (if already_found==1)

2002-07-31 13:42  prigaux

	* ldetect.spec: use -fPIC on every arch

2002-07-30 21:03  prigaux

	* ldetect.spec, usb.c: fill in pci_bus and pci_device for USB

2002-07-25 14:07  tvignaud

	* ldetect.spec: 0.4.4-1mdk

2002-07-25 14:05  tvignaud

	* ChangeLog: [no log message]

2002-07-25 14:04  tvignaud

	* pciusb.c: fix "(null) description" bug: don't skip entries where
	module has already be set by pci.c workaround

2002-07-24 17:22  tvignaud

	* ldetect.spec: 0.4.3-1mdk

2002-07-23 10:10  tvignaud

	* lspcidrake.c: enhanced help

2002-07-22 23:37  prigaux

	* ldetect.spec, pci.c, usb.c: - don't die when missing
	/proc/bus/pci/devices (resp. /proc/bus/usb/devices),   since on
	some boxes, this is *normal*! - free error messages obtained via
	asprintf - remove debugging message "TOTO"

2002-07-16 22:36  prigaux

	* ldetect.spec, pciusb.c: teach titi that !(a && !b) is not (!a &&
	!b) but (!a || b) (the other solution is to teach him to *test*)
	(oh, remind me to teach him not to re-indent the whole code until
	he  doesn't make stupid bugs)

2002-07-16 17:34  tvignaud

	* ChangeLog, ldetect.spec: next release is ok

2002-07-16 17:33  tvignaud

	* lspcidrake.c: explain what does -f

2002-07-16 17:30  tvignaud

	* pci.c: no need for unistd.h

2002-07-16 17:29  tvignaud

	* ChangeLog, pci.c, usb.c: - print error message if unable to open
	the arguement passed to -u,-p
	
	- print error message if usb service isn't started (commented for
	now   to follow previous behaviour)

2002-07-16 17:28  tvignaud

	* lspcidrake.c: - fix usb "url"
	
	- prevent potential segfault if no argument to -u in next test

2002-07-16 17:07  tvignaud

	* ChangeLog, ldetect.spec, libldetect-private.h, lspcidrake.c,
	pci.c: - pci.c: add the ability to read pci devices list from a
	file instead   of /proc/bus/pci/devices
	
	- spec: prepare for next release
	
	- add ChangeLog

2002-07-16 16:54  tvignaud

	* libldetect-private.h, lspcidrake.c, usb.c: - move usb devices
	proc entry path into   libldetect-private.h::proc_usb_path
	
	- add -u option so that lspcidrake can read usb devices from a file
	in   order to understand what happened to remote testers
	
	- make if (test) action clearer by rejecting action singleton in
	next   line
	
	- lspcidrake: describe all options

2002-07-16 16:51  tvignaud

	* pci.c: - change memory pattern : MAX*sizeof(entry) on stack +
	REAL_NB*sizeof() in heap	to MAX*sizeof(entry) on heap then
	downsized to real size
	
	- make if (test) action clearer by rejecting action singleton in
	next line

2002-07-16 16:39  tvignaud

	* pci.c: don't do useless stuff when full probe isn't requires: -
	allocatestuff on stack - call snprintf

2002-07-15 18:26  tvignaud

	* lspcidrake.c: compacificazion

2002-07-09 23:28  tvignaud

	* lspcidrake.c: fix for "gcc-2.95.3 don't compile" (reported by Ian
	White)

2002-07-05 11:02  tvignaud

	* Makefile: add explicit depandancies so that make rebuild files if
	needed when header're altered

2002-07-05 10:56  tvignaud

	* Makefile: compile with -Os (which results in saving 12% of text
	size)

2002-07-04 17:15  tvignaud

	* pci.c: factorize common constants in private header

2002-07-04 17:14  tvignaud

	* usb.c: typo fix

2002-07-04 17:14  tvignaud

	* usb.c: - factorize common constants in private header
	
	- factorize strlen() call

2002-07-04 17:04  tvignaud

	* libldetect-private.h, pci.c, usb.c, pci.c: factorize common
	constants in private header

2002-07-04 16:59  tvignaud

	* lspcidrake.c: we don't really need stdlib.h

2002-07-04 16:58  tvignaud

	* lspcidrake.c: move full_probe definition nearer its usage, aka in
	main()
	
	- kill print_name() and print_id() [used only once]

2002-07-04 16:53  tvignaud

	* lspcidrake.c: - merge {pci,usb}_printit into printit
	
	- kill usage()

2002-07-04 13:44  tvignaud

	* ldetect.spec: 0.4.1-1mdk

2002-07-04 13:29  tvignaud

	* usb.c: make an if clearer

2002-07-03 14:03  tvignaud

	* pciusb.c: s/zcat/gzip -cd/ back for lord pixou

2002-07-03 12:20  tvignaud

	* pciusb.c: ifree(e->text) to prevent mem leak with usb

2002-07-03 12:09  tvignaud

	* pciusb.c: - fix pipe() error path
	
	- make pciusb_find_modules() normal path clearer: rewrite tests  
	cascade into a single path were exceptions're just "go away"

2002-07-03 12:01  tvignaud

	* pciusb.c: - make gzip path in fh_open() be clearer
	
	- pciusb_find_modules() optimization / cleanups :
	
		- only calc module and description once so that if there're
		  multiples identical cards, we just gives the same result
	
		- do less copies :
			- only copy when setting e->{text,module}
	
			- it's useless to do copies on the stack, just play
	with
			  strndup() instead of strdup()
	
		- skip comments in {usb,pci}table
	
		- remove if (q) test which is uneeded since we've already
	parsed
		  the buffer with sscanf() and we've skipped comments
	
		- remove uneeded ifree (it's impossible to get valid
	pointer a
		  this point)

2002-07-03 11:14  tvignaud

	* pciusb.c: - no need to allocate fname_gz in fast path
	
	- reduce cmd size
	
	- use zcat rather than gzip

2002-07-03 11:06  tvignaud

	* libldetect-private.h, pci.c, pciusb.c, usb.c: get rid of more
	uneeded copies

2002-07-03 11:05  tvignaud

	* AUTHORS: list all contributors

2002-07-03 10:54  tvignaud

	* pci.c, usb.c: get rid of {pci,usb}_find_modules()

2002-07-03 10:53  tvignaud

	* libldetect.h, lspcidrake.c: prevent signed vs unsigned comp
	warnings

2002-07-03 10:49  tvignaud

	* lspcidrake.c, pci.c, pciusb.c, usb.c: indent-region

2002-07-03 10:42  tvignaud

	* libldetect.h, lspcidrake.c, pciusb.c: don't do uneeded copies
	(saves 2% of text size)

2002-07-03 10:41  tvignaud

	* Makefile: be more strict

2002-07-03 10:27  tvignaud

	* lspcidrake.c: simplify (source is clearer, binary isn't really
	altered)

2002-06-26 16:10  gbeauchesne

	* ldetect.spec: sanitize specfile

2002-06-10 20:39  prigaux

	* generate_pciclass.pl, generate_usbclass.pl, ldetect.spec,
	libldetect.h, lspcidrake.c, pci.c, pciusb.c, usb.c: ensure the
	header file are C++ compliant (do not use "class" for struct field
	name)

2002-05-06 20:48  prigaux

	* AUTHORS: [no log message]

2001-12-28 13:04  prigaux

	* ldetect.spec, pci.c: in probe_type=1, recognize usb controllers
	(is either usb-uhci or usb-ohci)

2001-11-23 00:16  gc

	* generate_usbclass.pl: - don't limitate to CLASS ID's with a
	Protocol number - fix bug that made ID's with a-f not appear (\d
	not very   good to parse  hexadecimal)

2001-10-11 17:44  prigaux

	* ldetect.spec: s/Copyright/License/

2001-09-13 15:40  prigaux

	* generate_pciclass.pl, generate_usbclass.pl, libldetect.h, usb.c,
	ldetect.spec: use the sub-category for usb probing

2001-09-11 00:11  gc

	* ldetect.spec, lspcidrake.c: add "-v" and "-f" options to
	lspcidrake for (v)erbose mode and (f)ull probe

2001-08-29 18:33  prigaux

	* ldetect.spec: fix when 2 similar devices are there

2001-07-03 22:28  prigaux

	* pciusb.c: fix pb when 2 similar cards are there

2001-04-12 17:15  prigaux

	* generate_usbclass.pl: add the line in comment

2001-04-12 17:13  prigaux

	* pciusb.c, ldetect.spec: close fdno's of the pipe which are unused
	or dup2'ed

2001-04-11 18:53  fpons

	* ldetect.spec, pciusb.c: [no log message]

2001-04-05 02:12  chmouel

	* usb.c: Don't print ugly can't open.

2001-03-29 12:38  prigaux

	* ldetect.spec: fix some memory leak and a few segfaults

2001-03-29 12:36  prigaux

	* pciusb.c: fix some memory leak a few segfaults

2001-03-24 11:48  prigaux

	* ldetect.spec, pciusb.c: nasty C, fclose on popen'ed gets a
	segfault, in /some/ cases :-(

2001-03-23 16:17  prigaux

	* ldetect.spec, pciusb.c: handle gzip'ed pcitable/usbtable

2001-03-21 19:05  prigaux

	* ldetect.spec: use subids if they are needed

2001-03-21 19:03  prigaux

	* libldetect-private.h, lspcidrake.c, pci.c, pciusb.c, usb.c: if
	subid can be useful, use them. use probe_type==-1 to ensure no
	subid is used

2001-03-15 15:11  fpons

	* ldetect.spec: [no log message]

2001-03-15 15:00  fpons

	* ldetect.spec, libldetect.h, pci.c, pciusb.c: added
	pci(bus,device,function) for DrakX.

2001-03-06 17:17  fpons

	* ldetect.spec, pci.c, usb.c: [no log message]

2001-03-06 17:05  prigaux

	* ldetect.spec: [no log message]

2001-02-13 13:25  uid553

	* common.h: ifree must be a macro, so let it be

2001-02-10 12:53  prigaux

	* pci.c: fix the fclose

2001-02-06 17:56  prigaux

	* ldetect.spec: add missing fclose's

2001-02-06 17:55  prigaux

	* pci.c, pciusb.c: add some fclose where it should

2000-12-22 15:53  gc

	* ldetect.spec, lspcidrake.c: see changelog

2000-12-16 19:22  prigaux

	* .cvsignore, Makefile, common.h, generate_usbclass.pl,
	ldetect.spec, libldetect-private.h, libldetect.h, lspcidrake.c,
	pci.c, pciusb.c, usb.c: now detect usb

2000-12-15 19:19  prigaux

	* Makefile: [no log message]

2000-12-15 16:32  prigaux

	* ldetect.spec: - add requires ldetect-lst

2000-12-15 16:30  prigaux

	* ldetect.spec: fix description tag

2000-12-15 16:25  prigaux

	* Makefile, ldetect.spec: put the version in .spec too, otherwise
	can't use rpm C-c e :)

2000-12-15 16:19  prigaux

	* Makefile, generate_pciclass.pl, ldetect.spec, libldetect.h,
	lspcidrake.c, pci.c: creation