aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 68a9b6e8a0f948d95024af33f93653fe90a86c59 (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
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
2003-07-27  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/callback.c (mpiosh_cmd_cd): checking argument.
		NULL is replaced with "."

2003-07-24  Markus Germeier  <mager@tzi.de>
        * detect new SmartMedia chips and report them
	* added version to mpio_smartmedia_t
	* libmpio/src/smartmedia.c (mpio_id2version): 
	  added function
	* spare area read of new chips should work now
	* bumped version to 0.7.0RC2

2003-07-17  Markus Germeier  <mager@tzi.de>
	* libmpio/src/smartmedia.c (mpio_id2mem): 
	  added non-standard SmartMedia chip ID, as reported by Andreas

2003-07-15  Markus Germeier  <mager@tzi.de>
	* libmpio/src/directory.c (mpio_dentry_get_real): 
	  follow up fix for the broken internal FAT fix
	  added FTYPE_BROKEN
	* libmpio/src/directory.c (mpio_directory_make): 
	  another follow up fix for the broken internal FAT fix
	
2003-07-14  Markus Germeier  <mager@tzi.de>
	* libmpio/src/directory.c (mpio_dentry_get_startcluster): 
	  fixed a bug Yury stumbled across

2003-07-07  Markus Germeier  <mager@tzi.de>
	* libmpio/src/directory.c (mpio_dentry_filename_write): 
	  fixed one of my "famous" 8.3 filename handling "fixes" :-(

2003-07-01  Markus Germeier  <mager@tzi.de>
	* mpiosh/callback.c(mpiosh_ftyp2ascii): added function
	* mpiosh/callback.c(mpiosh_cmd_dir): 
	* libmpio/src/directory.c (mpio_dentry_get_real): 
	  return/display file type/tag for files from internal memory
	  (as requested by Markus)

2003-06-27  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/callback.c (mpiosh_cmd_backup): using the resolved backup
	directory name as argument for mpio_file_get_as
	(mpiosh_cmd_restore): same as above s/get/put/

	* mpiosh/config.c (mpiosh_config_check_backup_dir): changed return
	type to char *. returning the resolved backip directory name

2003-06-27  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/global.c: add CONFIG_BACKUP defining a user backup
	directory.
	(commands): add backup and restore command

	* libmpio/src/mpio.c (mpio_file_get_real): fix a bug. Unlink the
	external file (not the internal) before writing it (is it really
	necessary?).

	* mpiosh/callback.c (mpiosh_cmd_config): deactivated.
	(mpiosh_cmd_backup): new function, which creates a backup of all
	existing config files.
	(mpiosh_cmd_restore): new function, which restores a backup.

	* mpiosh/config.c (mpiosh_config_check_backup_dir): new function
	to check for the backup directory ~/.mpio/backup/. Optionally it
	can be created.

2003-06-26  Markus Germeier  <mager@tzi.de>
	* libmpio/src/mpio.c (mpio_file_exists): 
	  added helper function
	* mpiosh/callback.c (mpiosh_cmd_font_upload): 
	* libmpio/defs.h (MPIO_FONT_FON): added support for 
	  font file	
	* mpiosh/callback.c (mpiosh_cmd_format): 
	  restore font file if it existed before a format
	
2003-06-18  Markus Germeier  <mager@tzi.de>
	* libmpio/Makefile.am (AM_LDFLAGS): 
	  added variable to support API versioninging of libmpio
	* missing: updated script

2003-06-14  Markus Germeier  <mager@tzi.de>
	* libmpio/src/directory.c (mpio_dentry_filename_write): 
	  added/fixed vfat 8.3 checksum to make "real" vfat 
	  drivers happy
	* configure.in: increased version to 0.7.0RC1 for upcoming 
	  release

2003-06-12  Markus Germeier  <mager@tzi.de>
	* libmpio/src/id3.c (mpio_id3_do): fixed debug output
	* libmpio/src/ecc.c: fixed debug output
	* libmpio/src/directory.c (mpio_dentry_get_startcluster): 
	  fixed ugly bug which broke reading/deleting of files on
	  external memory (D'oh!)

2003-06-06  Markus Germeier  <mager@tzi.de>
	* libmpio/src/io.c (model2externalmem): added model
	  FD100 for external memory support.
	  reported by Thorsten to work this way

2003-05-19  Markus Germeier  <mager@tzi.de>
	* libmpio/src/mpio.c (mpio_file_put_real): 
	  fixed strncat bug found by Sergey. Thanks!

2003-04-30  Markus Germeier  <mager@tzi.de>
	* libmpio/src/ecc.c: cleaned up ECC code

2003-04-29  Markus Germeier  <mager@tzi.de>
	* libmpio/src/ecc.c (mpio_ecc_256_check): 
	  fix level for debug messages

2003-04-27 Markus Germeier  <mager@tzi.de>
	* libmpio: fixed some C code "things" found with
	  "paranoia" CFLAGS settings
	* libmpio: changed license from GPL to LGPL

2003-04-21  Markus Germeier  <mager@tzi.de>

	* libmpio/id3.c (mpio_id3_copy_tag): 
	  remove trailing spaces as suggested by Thomas
	* kernel/Makefile.am: 
	  removed unnecessary -I$(INCLUDE) as spotted by Yury
	
2003-04-20  Markus Germeier  <mager@tzi.de>

	* libmpio/directory.c (mpio_dentry_filename_write): 
	  split this function from mpio_dentry_put to make a rename easier
	* libmpio/mpio.c (mpio_file_rename): 
	  libmpio/directory.c (mpio_dentry_rename): 
	  new functions

2003-04-19  Markus Germeier  <mager@tzi.de>

	* libmpio/id3.h: 
	  libmpio/id3.c: added files to support ID3 rewriting
	* libmpio/mpio.c (mpio_file_put_real): 
	  add support for ID3 rewriting
	* mplib/src/mplib_s.c:
	  small changes for MPIO use
	* mpiosh/callback.c (mpiosh_cmd_id3, mpiosh_cmd_id3_format): 
	  added function for commands "id3" and "id3_format"
	* mpiosh/config.c (mpiosh_config_read): 
	  add new config file options:
	  id3_rewriting [on|off]
	  id3_format <format>

2003-04-18  Markus Germeier  <mager@tzi.de>
	* integration of mplib 1.0.1 in source tree
	* update build environment to use mplib if not
	  disabled manually
	
2003-04-18  Markus Germeier  <mager@tzi.de>

	* mpiosh/callback.c (mpiosh_cmd_health):
	  libmpio/mpio.c (mpio_health): new functions to report
	  health status of SmartMedia cards.

2003-04-12  Markus Germeier  <mager@tzi.de>
	* small error messages changes

2003-04-11  Markus Germeier  <mager@tzi.de>

	* libmpio/directory.c (mpio_directory_make): 
	  libmpio/mpio.c (mpio_file_put_real): 
	  fix timestamp generation as suggested by Sebastian. Thanks!
	  (mpio_directory_is_empty,mpio_dentry_is_dir): 
	  added functions
	  (mpio_dentry_put): another 8.3 generation fix,
	  special treatment for "MPIO RECORD" dir.
	* mpiosh/callback.c (mpiosh_cmd_format): 
	  mkdir "MPIO RECORD" dir if it existed before the format
	
2003-04-07  Markus Germeier  <mager@tzi.de>
	*  Mega-Update all over the place
	   initial support for directories
	   [BEWARE: this might have broken some things!!!]
	
2003-04-06  Markus Germeier  <mager@tzi.de>

	* libmpio/directory.c (mpio_dentry_put): Another 8.3 filename fix
	  This time: try to get the extension right for filenames with
	  more than one '.'

2003-03-26  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_file_put_real): 
	  libmpio/fat.c (mpio_fatentry_new, mpio_fatentry_read): 
	  Small fixes which try to support changes in internal FAT
	  structure (Not Tested!)

2003-03-22  Markus Germeier  <mager@tzi.de>

	* kernel/mpio.c (probe_mpio, write_mpio, read_mpio): 
	  automagically find USB bulk endpoints and use them

2003-03-15  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_init_internal): detect up to four
	  internal memory chips
	* libmpio/fat.c (mpio_fatentry_hw2entry, mpio_fatentry_entry2hw): 
	  libmpio/io.c (mpio_io_block_delete_phys, mpio_io_spare_read): 
	  changes to support four internal chips
	
2003-03-14  Andreas Buesching <crunchy@tzi.de>

	* mpio.spec.in: 
	  add mpio.h and defs.h to the rpm.
	  creating a devel rpm would be oversized
	  
2003-03-14  Markus Germeier  <mager@tzi.de>

	* libmpio/directory.c (mpio_dentry_put): 
	  fixed missing first char issue

2003-03-13  Markus Germeier  <mager@tzi.de>

	* trying to fix iconv UNICODE conversions on BIG_ENDIAN
	  machines (not sure about that one!)

2003-03-11  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_init): added code the recognize new MPIO
	  models (FD100/FL100/FY100), no idea how to handle them, yet!

2003-03-08  Markus Germeier  <mager@tzi.de>

	* mpio.spec.in, etc/Makefile.am: fixed packaging problems
	* libmpio/mpio.c (mpio_init): re-added memset, this time at the
	  correct location
	* mpiosh/callback.c (mpiosh_cmd_mem): removes warning messages
	  (this should hopefully work now ;-)
	  (mpiosh_cmd_dump): fixed core dump in "dump" command

2003-02-21    <crunchy@tzi.de>

	* libmpio/directory.h, libmpio/directory.c, libmpio/mpio.h,
	libmpio/mpio.c: add patch from Sebastian Kloska
	<kloska@scienion.de>. containing possibility to chage name of
	destination when copying files, moving files and reordering files
	in directory

2002-12-06    <crunchy@tzi.de>

	* kernel/mpio.c: 2.4.20 does not contain the typedef purb_t
	anymore. Replaced it with 'struct urb *'

2002-11-18  Andreas Buesching  <crunchy@tzi.de>

	* configure.in: add a check for readline header files

2002-11-14  Andreas Buesching  <crunchy@tzi.de>

	* tools/mpiologo.c: renamed logotool.c to mpiologo.c

	* mpio.spec.in (): another way to add the kernel module to
	the file list; add mpiologo to file list
	

2002-11-13  Markus Germeier  <mager@tzi.de>

	* mpiosh/callback.c (mpiosh_cmd_format): backup and restore
	  config files  (probably not complete yet!)
	* libmpio/defs.h (MPIO_CHARSET): 
	* libmpio/directory.c (mpio_dentry_put, mpio_dentry_get_real): 
	  use ISO-8859-15 instead of ASCII as default charset encoding
	  (much nicer now!)
	* libmpio/directory.c (mpio_charset_get, mpio_charset_set): 
	  added functions to allow changing of charset 
	* mpiosh/config.c: read charset from config file
	* libmpio/fat.c (mpio_fatentry_read): 
	  fixed problem with CONFIG.DAT that only the first block
	  was read. (what was I thinking there??)

2002-11-04  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/callback.c (mpiosh_cmd_quit): writing configuration
	including history und freeing config reader

	* mpiosh/global.c: modified filename for history
		"~/.mpio/history"

	* mpiosh/config.c (mpiosh_config_new): reading history file
	(mpiosh_config_write): saving current history

2002-11-02  Yuji Touya  <salmoon@users.sourceforge.net>

	* tools/logotool.c: add a tool to extract/change logo animation
         data in config.dat file, and sample animation data.

2002-11-01  Yuji Touya  <salmoon@users.sourceforge.net>

	* kernel/mpio.c: Add usbdevfs filesystem support 

2002-10-29  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/mpiosh.c (mpiosh_init): uses the new configuration file
	support to initialise the shell

	* etc/mpio/mpioshrc: add a sample configuration file will be
	install as a global configuration file in
	@sysconfdir@/mpio/mpioshrc

	* mpiosh/cfgio.c, mpiosh/cfgio.c, mpiosh/config.c,
	mpiosh/config.h: added these new files to support global and user
	configuration files.
			 
2002-10-27  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.{c,h}: split mpio_file_{get,put} into several
	  functions, to allow reading and writing files from/to memory
	  (needed for handling of config files)
	* mpiosh/callback.c (mpiosh_cmd_channel): added function/command
	  channel to handle the radio channel of the *-Plus models
	* libmpio/directory.c (mpio_dentry_put): 
	  another fix for the 8.3 handling needed for the config file
	  (one day this will be bug free ...)
	* mpiosh/callback.c (mpiosh_cmd_config): implement the function
	* libmpio/directory.c (mpio_dentry_find_name_8_3): 
	  another fix for the 8.3 handling needed for the config file
	  (GRR, one day ...)
	* libmpio/mpio.c (mpio_get_model): added function
	* mpiosh/callback.c (mpiosh_cmd_switch): implement the function
	* libmpio/mpio.c (mpio_file_switch): added function
	* mpiosh/callback.c (mpiosh_cmd_mget): added error message
	* libmpio/mpio.c (mpio_file_put_real): 
	  updates to support reading files into memory	
	
2002-10-26  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_close): fixed segv
	* libmpio/*.h:
	  make libmpio header files C++ compliant

2002-10-23  Markus Germeier  <mager@tzi.de>

	* libmpio/io.c (mpio_io_spare_read): fixed init progress counter
	  for models with two internal chips

2002-10-18  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/global.c (commands): add config command with no
	functionality at the moment
	(commands): removed completion for mpio files on the put command

2002-10-14  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/global.c (commands): reactivated switch command without
	any functionality at the moment

2002-10-18  Markus Germeier  <mager@tzi.de>

	* libmpio/directory.c (mpio_dentry_get_real): 
	  another fix for the 8.3 handling needed for the config file

2002-10-13  Markus Germeier  <mager@tzi.de>

	* mpiosh/callback.c (mpiosh_cmd_dump): fixed compile and
	  logic error due to now "missing" mpiosh_cmd_get

2002-10-13  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/callback.c: removed the callback functions of get, put
	and del. This work is done by mget, mput and mdel now.

	* mpiosh/readline.c (mpiosh_readline_comp_mpio_file): fixed a
	crash which ocurrs when there is no connection to the player
	opened. Also stop readline from using default filename completion
	in the case of not returning any results.

2002-10-13  Markus Germeier  <mager@tzi.de>

	* all operations on external memory should work now!
	* libmpio/ecc.c (mpio_ecc_256_check): 
	  1 Bit errors are now automagically corrected
	
2002-10-13  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_init): fixed segv when external memory
	  was selected
	* formatting of external memory is now completly supported 
	  (untested ATM)

2002-10-12  Andreas Buesching  <crunchy@tzi.de>

	* configure.in: changed version to 0.6.0 for the next release;
	add check for a usable path to the kernel header files

	* mpiosh/global.c (commands): removed commands 'put', 'get', 'del'
	and 'exit' and add these to the alias lists of 'mput', 'mget',
	'mdel' and 'quit'. Also add some more aliases to some other
	commands

	* mpiosh/readline.c (mpiosh_readline_comp_cmd): add aliases to
	completion list

	* mpiosh/global.c (commands): use command completion for 'help'
	arguments

	* mpiosh/global.h: add alias list to command struct

	* mpiosh/global.c: new file containing global symbols as the
	command list

	* mpiosh/callback.c: fix compiler warnings

	* libmpio/mpio.c (mpio_memory_format): fixed compiler warning

	* mpiosh/readline.c: new file containing all stuff around the
	readline library
	(mpiosh_readline_comp_mpio_file): doing completion on files of the
	current mpio memory card
	(mpiosh_readline_init): inserted bug fix for the completion
	quoting from Mathieu

2002-10-05  Markus Germeier  <mager@tzi.de>
	* big changes to IO layer and updates to formating/writing
	  for external memory
	* BEWARE: writing to external mem still does not work
	  and I might have damaged the internal support!
	
2002-10-05  Markus Germeier  <mager@tzi.de>

	* libmpio/cis.c: generate new CIS block for formatting

2002-09-30  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_init): fixed identification of
	  newer firmwares (e.g. DMG+)  "MPIOxy" vs. "MPIO-xy"
	  thanks to mathieu for reporting this one.

2002-09-28  Markus Germeier  <mager@tzi.de>

	* kernel/Makefile.am (distclean): added target distclean

2002-09-28  Markus Germeier  <mager@tzi.de>
	* a lot of changes!
	* reading from external memory should work now correctly
	* BEWARE: all write operations are still broken on external mem!

2002-09-24  Markus Germeier  <mager@tzi.de>
	* libmpio/directory.c (mpio_dentry_put): fixed 8.3 handling
	  to allow correct writing of CONFIG.DAT
	  (mpio_dentry_find_name_8_3): fixed handling of given filename
	* libmpio/mpio.c (mpio_file_del, mpio_file_get): 
	  system files (like sysdum?.du?) can now be read and deleted
	  (mpio_file_put): use mpio_filetype_t to tag files which are
	  written to the internal memory (it is now possible to write
	  config files back to the player)

2002-09-24  Markus Germeier  <mager@tzi.de>
	* a lot of little changes and updates
	* mpiosh/callback.c (mpiosh_cmd_dump_mem): 
	  renamed function from debug_memory to dump_memory
	  (mpiosh_callback_init): display progress of internal and
	  external memory
	* libmpio/mpio.c (mpio_check_filename): added function
	  to check for string zero termination (more to check??)
	  (mpio_memory_dump): dump all relevant memory areas
	  (mpio_init): read spare area for external memory
	* libmpio/defs.h: added mpio_callback_t, mpio_callback_init_t
	  and mpio_filename_t

2002-09-22  Andreas Buesching  <crunchy@tzi.de>

	* configure.in (SPEC_PATH): needed for the spec file to find the
	kernel module

2002-09-22  Markus Germeier  <mager@tzi.de>
	* mpiosh/callback.c (mpiosh_cmd_mdel): 
	  fixed logical error in abort handling which corrupted
	  FAT and directory
	  (mpiosh_cmd_mget): call the correct callback function
	  (mpiosh_callback_put): introduced mpiosh_cancel_ack
	  to fix annoying displays in case of an abort
	  (mpiosh_cmd_mput): don't break mput if an FILE_EXITS
	  is encountered

2002-09-21  Andreas Buesching  <crunchy@tzi.de>

	* mpio.spec.in (CFLAGS): add 'depmod -a' call to post install
	instructions

	* kernel/Makefile.am: add target clean and fixed the install
	target to not strip the kernel module

2002-09-21  Yuji Touya  <salmoon@users.sourceforge.net>

	* README: Add a few lines about Hot plug for 2.4.x

2002-09-20  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_init): 
	  added code to identify DMG+ (assumed, but should be correct)

	* mpiosh/callback.c (mpiosh_cmd_format, mpiosh_cmd_mem): 
	  added warning messages for the upcoming release.
	  (mpiosh_cmd_get, mpiosh_cmd_put): added missing printf

2002-09-20  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/mpiosh.c (mpiosh_command_regex_fix): bug fix for .*
        do not quote the '.' if next character is a '*'

	* libmpio/mpio.c (mpio_strerror): fixed stupid bug no
	23.423.543.453.453 (time to go to bed)

2002-09-19  Andreas Buesching  <crunchy@tzi.de>

	* libmpio/mpio.c (mpio_strerror): fixed a strange bug with the
	argument name. Never call an argument errno?!?

2002-09-19  Markus Germeier  <mager@tzi.de>

	* mpiosh/callback.c (mpiosh_cmd_dump, mpiosh_cmd_mget) 
	(mpiosh_cmd_mdel, mpiosh_cmd_mput): fixed handling of an abort
	* libmpio/mpio.c (MPIO_ERR_RETURN): fixed buggy define


2002-09-19  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/mpiosh.c (mpiosh_command_regex_fix): hopefully fixed a
	bug (Sorry Markus)

	* mpiosh/callback.c (mpiosh_cmd_mput): using new error handling
	functions

	* libmpio/mpio.c (mpio_errno, mpio_strerror, mpio_perror): 
	  add functions for error handling
	  (mpio_file_get, mpio_file_put, mpio_file_del): using error
	  handling functions


2002-09-19  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_init_internal): 
	  added code to check if the internal memory is available
	  (don't ask! :-)
	  (mpio_sync): check if selected memory is available
	* mpiosh/callback.c (mpiosh_cmd_mem): 
	  fixed external mem check
	  

2002-09-18  Markus Germeier  <mager@tzi.de>

	* mpiosh/callback.c (mpiosh_cmd_mem): 
	  external memory is only selectable if it is available
	* libmpio/mpio.c (mpio_init): added progress callback
	  for init
	* mpiosh/callback.c (mpiosh_callback_init): 
	  added function
	* libmpio/io.c (cluster2block, cluster2blockaddress): 
	  removed wrong block mapping
	  (current mapping should work with complete error 
	   free SM cards _only_)
	  

2002-09-18  Andreas Buesching  <crunchy@tzi.de>

	* libmpio/mpio.c (mpio_file_get, mpio_file_put, mpio_file_del):
	using new error codes

	* libmpio/defs.h (MPIO_ERR_*): added definitions for possible
	errors codes

	* libmpio/mpio.c (mpio_model_name): moved model array from def.h;
	removed some compiler warnings (unused variables, missing return
	codes)

	* mpiosh/mpiosh.c (mpiosh_command_regex_fix): extented conditions
	to not replace sequences like ".*" by "\\..*"

2002-09-16  Andreas Buesching  <crunchy@tzi.de>

	* kernel/Makefile.am (install-strip): defined to avoid stripping
	of the kernel module

2002-09-16  Yuji Touya  <salmoon@users.sourceforge.net>

	* kernel/mpio.c: changed include file to resolve symbols
	* kernel/mpio.c (read_mpio): changed maxretry value
	* libmpio/io.c (model2externalmem): fixed function
	* libmpio/defs.h: added command, filetype and comments
	* README: modified "getting started"
	
2002-09-15  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/callback.c (mpiosh_cmd_ldir): checking more return values
	to avoid segmentation faults.

	* mpiosh/mpiosh.c: removed all references to the not implemented
	switch command (just for the next release)

	* configure.in (MODULE_PATH): checking for the right module
	directory and use it to install the mpio module

	* kernel/Makefile.am (install): the kernel module is now installed
	into the determinated module directory of the current kernel
	version.

	* mpio.spec.in: created rpm spec file for creating binary and
	source rpm packages

2002-09-15  Markus Germeier  <mager@tzi.de>

	* mpiosh/callback.c (mpiosh_cmd_debug_mem): added function 
	  call "debug_memory" in mpiosh
	* libmpio/io.c (model2externalmem): added function
	(mpio_io_set_cmdpacket): use model2externalmem
	* libmpio/mpio.c (mpio_init): added code to identify different
	  models	
	  (mpio_memory_debug): added function for debugging purposes

2002-09-15  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/mpiosh.c: add a debug message, displaying the executed
	command in script mode
	(mpiosh_command_regex_fix): better mapping for shell regular
	expressions (hopefully)

2002-09-15  Markus Germeier  <mager@tzi.de>

	* libmpio/directory.c: add debug informations,
	(mpio_dentry_get): fixed a off-by-one error

	* libmpio/mpio.h: add mpio_mem_t to dentry functions
	  to enable further debugging

2002-09-14  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/mpiosh.c: does not hang anymore after reading commands
	from a pipe

	* mpiosh/callback.c (mpiosh_callback_mget, mpiosh_callback_mput) 
	(mpiosh_callback_mdel): calling new function mpiosh_command_regex_fix

	* mpiosh/mpiosh.c: fixed output of none interactive mode
	(mpiosh_signal_handler, mpiosh_readline_cancel) 
	(mpiosh_noredisplay): functions added to get a expected handling
	of C-c (SIGINT)
	(mpiosh_command_regex_fix): add function. tries to map regular
	expressions to shell expressions. mapping '*' -> ".*" and '.' -> "\."

2002-09-13  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_file_put): fixed abort handling

2002-09-13  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/callback.c (mpiosh_callback_mget, mpiosh_callback_mput) 
	(mpiosh_callback_mdel): handling of user interrupt

	* mpiosh/mpiosh.c: handling for stdin being a tty

	* mpiosh/callback.c (mpiosh_callback_get, mpiosh_callback_put) 
	(mpiosh_callback_del): using mpiosh_cancel to abort operation

	* mpiosh/mpiosh.c: changed handling of SIGINT. The global variable
	mpiosh_cancel indicates the interrupt.

	* mpiosh/callback.c (mpiosh_cmd_help): add support for
	arguments. just prints help about specified commands.

	* mpiosh/mpiosh.c: add new command lpwd

2002-09-13  Markus Germeier  <mager@tzi.de>

	* mpiosh/callback.c (mpiosh_cmd_put, mpiosh_cmd_del) 
	(mpiosh_cmd_mdel, mpiosh_cmd_mput): use mpio_sync

	* libmpio/mpio.c (mpio_file_get, mpio_file_put) 
	(mpio_memory_format, mpio_file_del): add code to handle abort 
	"signal" from user interface
	(mpio_sync): added function

2002-09-12  Andreas Buesching  <crunchy@tzi.de>

	* mpiosh/mpiosh.c (mpiosh_command_split): 
	function added to support command sequences separated by ';'
	changed mpiosh_cmd_t structure, containing help string and
	argument information

	* mpiosh/callback.h, mpiosh/callback.c ():
	new files containing callback functions of shell commands
	(MPIOSH_CHECK_CONNECTION_OPEN, MPIOSH_CHECK_CONNECTION_CLOSED) 
	(MPIOSH_CHECK_ARG): macros for checking status of connection to
	player

2002-09-11  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_file_put,mpio_file_get): 
	  set timestamps on files correct
	* libmpio/directory.c (mpio_dentry_put): 
	  write correct 8.3 filenames into directory
	  (mpio_dentry_put): 
	  fixed handling of time stamps with a "little" help
	  from the current mtools distribution
	  (date_dos2unix): added function, copied from the linux
	  kernel
	  (mpio_dentry_get_time): added function, uses (date_dos2unix)

2002-09-11  Markus Germeier  <mager@tzi.de>

	* mpio_tool/mpiosh.c (mpiosh_cmd_mdel): added command mdel

2002-09-11  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_file_put): 
	  finished support for writing to internal memory
	  + changes to fat.c and io.c

2002-09-11  Markus Germeier  <mager@tzi.de>

	* libmpio/io.c (cluster2blockaddress): added function
	(mpio_io_block_write, mpio_io_sector_write): 
	  fixed block address in spare area
	(mpio_io_block_read): 
	  check block address and give debug output if address differs

2002-09-11  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_file_put): (+ various files)
	  updated writing support to support mpio_fatentry_t
	
2002-09-10  Markus Germeier  <mager@tzi.de>

	* libmpio/io.c (mpio_io_block_write): 
	  write FAT entry for internal mem
	* libmpio/fat.c (mpio_fat_internal_find_fileindex): added function

2002-09-10  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_memory_format): 
	  formatting works for internal and external memory now
	  BEWARE: No config files are written, you might ruin your
	  player!!!
	* libmpio/mpio.c   (mpio_file_del): 
	  deleting works for internal and external memory now (BEWARE !!!)
	* support for deleting/formatting added to various parts of
	  fat.c and io.c

2002-09-10  Markus Germeier  <mager@tzi.de>

	* libmpio/fat.c (mpio_fatentry_set_free) 
	(mpio_fatentry_set_defect): added functions
	* libmpio/io.c (mpio_io_block_delete): 
	  return negative status value in case of error
	* libmpio/mpio.c (mpio_memory_format): 
	  mark block/cluster defect in FAT if an error occurs during format
	* libmpio/mpio.c (mpio_file_del): 
	  changed function to support new mpio_fatentry_t

2002-09-09  Markus Germeier  <mager@tzi.de>

	* libmpio/io.c (fatentry2hw): added function
	(mpio_io_block_read, mpio_io_block_delete): 
	  use fatentry2hw

2002-09-09  Markus Germeier  <mager@tzi.de>

	* libmpio/mpio.c (mpio_memory_format): 
	  updated code to format external SmartMedia cards
	* libmpio/fat.c (mpio_fatentry_plus_plus, mpio_bootblocks_read): 
	  fixed max_cluster issues
	
2002-09-09  Markus Germeier  <mager@tzi.de>

	* libmpio/io.c (cluster2block): 
	  fixed cluster to block mapping for 32MB SmartMedia cards
	* libmpio/io.c (mpio_io_block_read, mpio_io_sector_read): 
	  added debug output in case of ECC error
	* libmpio/mpio.c (mpio_memory_free): 
	  fixed segmentation violation if no SM card is inserted
	* libmpio/mpio.c (mpio_get_info): 
	  *really* fixed the problem if no SM card is inserted
	
2002-09-09  Markus Germeier  <mager@tzi.de>

	* mpio_tool/mpiosh.c: 
	  (mpiosh_cmd_mput):
	  (mpiosh_cmd_mget):
		  make info texts consistent with get and put
	* libmpio/mpio.c (mpio_init_internal): 
	  fixed max_clusters for internal memory with more
	  then one chip
	* libmpio/fat.c (mpio_fatentry_hw2entry): added function
	* libmpio/fat.c (mpio_fatentry_entry2hw): added function
	* libmpio/fat.c: 
	  fixed support for MPIOs with more than one internal chip
	  (hopefully, someone please test this)

2002-09-08  Markus Germeier  <mager@tzi.de>

	* mpio_tool/mpiosh.c: 
	  (mpiosh_cmd_mput): fixed regex handling
	  (mpiosh_cmd_mget): fixed regex handling
	* regex for mput/mget does now work but uses "hard"
	  regular expressions instead of shell-like regex, e.g.:
	    "^0.*\.mp3$" ("hard" regular expression) 
	    "0*.mp3"     (shell-like)

2002-09-04  Andreas Buesching  <crunchy@tzi.de>

	* mpio_tool/mpiosh.c (mpiosh_cmd_mput): 
	added command mput. The arguments can be extended regular
	expressions. UNTESTED!
	(mpiosh_cmd_ldir): removed compiler warnings
	(mpiosh_cmd_mget): added command mget. The arguments can be
	extended regular expressions. UNTESTED!
	(mpiosh_cmd_help): updated help text

2002-09-03  Markus Germeier  <mager@tzi.de>

	* first part of "design" fixes
	* libmpio: 
	  - introduced mpio_fatentry_t
	  - reading support changed to mpio_fatentry_t
	  - writing and deleting deactivated
	    (this simply can't work right now)

2002-09-03  Yuji Touya  <salmoon@users.sourceforge.net>

	* add mkmpiodev script to create device file
	* README: add explanation to get started

2002-09-03  Markus Germeier  <mager@tzi.de>

	* libmpio/*: various "little" code cleanups

2002-09-01  Andreas Buesching  <crunchy@tzi.de>

	* mpio_tool/mpiosh.c: add commands lcd and ldir
	(mpiosh_cmd_dump): fixed a stupid bug
	(mpiosh_cmd_ldir): implemented the command ldir
	(mpiosh_cmd_lcd): implemented the command lcd

2002-08-22  Andreas Buesching  <crunchy@tzi.de>
	* README: fixed soome types and add a warning
	* AUTHORS: add salmoon to the list

2002-08-05  Andreas Buesching  <crunchy@tzi.de>

	* autogen.sh: add script to build configure script