-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog.1
2222 lines (1719 loc) · 86.7 KB
/
ChangeLog.1
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
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2001-06-03 Motoyuki Kasahara <[email protected]>
* Version 3.0.
* configure.ac (AM_INIT_AUTOMAKE): Set version to 3.0.
* eb/error.h (EB_ERR_FAIL_OPEN_LANG, EB_ERR_FAIL_READ_LANG,
EB_ERR_FAIL_SEEK_LANG, EB_ERR_UNEXP_LANG, EB_ERR_NO_LANG,
EB_ERR_NO_MSG, EB_ERR_NO_CUR_LANG, EB_ERR_NO_SUCH_LANG,
EB_ERR_NO_SUCH_MSG): Removed.
* eb/error.c (error_messages): Ditto.
* eb/book.c (eb_initialize_language): Not to return a value.
2001-05-19 Motoyuki Kasahara <[email protected]>
* eb/book.c: Function declaration of eb_initialize_catalog() is
duplicated. Fixed.
* eb/book.c:
* eb/language.c, eb/message.c: Removed.
All functions in the files except for eb_initialize_languages()
are removed.
eb_initialize_languages() is renamed to eb_initialize_languages()
and it is now placed in eb/book.c.
* eb/defs.h (EB_MAX_LANGUAGE_NAME_LENGTH, EB_MAX_MESSAGE_LENGTH,
EB_MAX_LANGUAGES, EB_MAX_MESSAGES): Deleted.
* eb/defs.h (EB_Language_Code, EB_Message_Code, EB_Language_Struct):
Removed.
* eb/defs.h (EB_Book_Struct): Delete `language_file_name',
`language_zio', `language_count', `languages', `language_current',
and `messages' from the structure.
* eb/zipbook.c (eb_zip_book_eb): Find LANGUAGE file by itself.
* eb/unzipbook.c (eb_unzip_book_eb): Ditto.
* eb/zipinfobook.c (eb_zipinfo_book_eb): Ditto.
2001-05-11 Motoyuki Kasahara <[email protected]>
* Version 3.0beta1.
* configure.ac (AM_INIT_AUTOMAKE): Set version to 3.0beta1.
* eb/Makefile, libebutils/Makefile, ebfont/Makefile, ebinfo/Makefile,
ebrefile/Makefile, ebzip/Makefile: Delete dependencies between *.c
and *.o.
2001-05-09 Motoyuki Kasahara <[email protected]>
* m4/eb3.m4 (eb_LIB_EB3): Avoid other AC_TRY_LINK and CK_TRY_RUN
checks linking libeb.* to test program.
2001-05-08 Motoyuki Kasahara <[email protected]>
* Makefile.am (ACLOCAL_AMFLAGS): Set the variable to `-I m4', not
`-I $(srcdir)/m4'.
2001-05-02 Motoyuki Kasahara <[email protected]>
* ebzip/zipbook.c (ebzip_zip_book_epwing): Fix a bug that ebzip
doesn't compress gaiji files.
* eb/narwfont.c (eb_initialize_narrow_font): Canonicalize font file
name before fix.
* eb/filename.c (eb_canonicalize_font_file_name): New function.
* po-ebutils/Makefile.in (POTFILES): Updated.
Delete ebzip/filename.c and add ebrefile/ebrefile.c.
* ebrefile/Makefile.am: Revised. Now ebrefile is written in C.
* ebrefile/ebrefile.c: New file.
* ebrefile/ebrefile.in: Deleted.
2001-04-28 Motoyuki Kasahara <[email protected]>
* ebzip/filename.c, eb/filename.c: fix_path_name_suffix() is
renamed to eb_fix_path_name_suffix() and its definition is moved
from ebzip/filename.c to eb/filename.c.
* ebzip/filename.c: Removed.
* ebzip/Makefile.am (ebzip_SOURCES): Delete `filename.c'.
* ebfont/Makefile.am (ebfont_LDADD): Fix the order of library to
be linked.
* ebinfo/Makefile.am (ebinfo_LDADD): Ditto.
* ebzip/Makefile.am (ebzip_LDADD): Ditto.
2001-04-24 Motoyuki Kasahara <[email protected]>
* eb/setword.c (eb_fix_word): Fix word if the given word is for
keyword search or multi-search without candidates. Reported by
Kenichi Suto.
2001-04-23 Motoyuki Kasahara <[email protected]>
* configure.in: Renamed to `configure.ac'.
2001-04-13 Motoyuki Kasahara <[email protected]>
* eb/narwfont.c (eb_initialize_narrow_font): Fix a bug in reopen
a font file, reported by HASEGAWA Masafumi.
2001-04-12 Motoyuki Kasahara <[email protected]>
* eb/subbook.c (eb_initialize_indexes): Fix calcuration of end
page number of an index.
* m4/gettext.m4 (eb_GNU_GETTEXT): Ignore arguments.
* configure.in (eb_GNU_GETTEXT): Don't pass arguments to the macro.
* eb/po: Move the directory to po-eb.
* po-eb/Makefile.in (top_builddir, subdir): Updated.
* po: Move the directory to po-ebutils.
* po-ebutils/Makefile.in (subdir): Updated.
* configure.in (AC_OUTPUT): Delete `po/Makefile' and `eb/po/Makefile',
and add `po-eb/Makefile' and `po-ebutils/Makefile' instead.
* Makefile.am (SUBDIRS): Delete `po' and add `po-eb' and `po-ebutils'
instead.
* eb/Makefile.am (SUBDIRS): Deleted.
2001-04-10 Motoyuki Kasahara <[email protected]>
* Version 3.0beta0.
* ebzip/Makefile.am (noinst_HEADERS): Add `ebzip.h'.
* gttest.po: Add header.
2001-04-08 Motoyuki Kasahara <[email protected]>
* eb/defs.h (EB_Search_Struct): Add `index_id'.
* eb/subbook.c (eb_initialize_indexies): Also set index ID.
* eb/multi.c (eb_initialize_multi_search): Likewise.
* eb/setword.c (eb_fix_word): Copy `canonicalized_word' to `word'
if as-is or alphabet search. Don't modify `word' otherwise.
Don't modify `word' nor `canonicalized_word' if keyword or
candidate search.
* eb/setword.c (eb_set_multiword): Pass entry's search information
to `eb_fix_word', not to pass method's search information.
* configure.in (AC_ARG_ENABLE): Use `[[' and `]]' in a help string.
* Makefile.am (SUBDIRS): Delete `intl'.
* configure.in (AC_OUTPUT): Delete `intl/Makefile'.
* m4/gettext.m4 (AM_GNU_GETTEXT_HACKED): Renamed to `eb_GNU_GETTEXT',
and revised to support GNU gettext 0.10.36. Now, we inspect not only
libintl but also libiconv. Instead, we never use included libintl
sources.
* configure.in (AM_INIT_AUTOMAKE): Set version to `3.0beta0'.
2001-04-07 Motoyuki Kasahara <[email protected]>
* ebzip/zipbook.c (zip_book.c): Change type of the argument
`subbook_name_list'.
* ebzip/unzipbook.c (unzip_book.c): Ditto.
* ebzip/zipinfobook.c (zipinfo_book.c): Ditto.
2001-04-06 Motoyuki Kasahara <[email protected]>
* eb/internal.h.in (EB_TEXT_OPTINAL_TEXT): Defined.
* eb/defs.h.in (EB_Search_Struct): add `end_page'. Rename
`index_page' to `start_page'.
* eb/subbook.c (eb_initialize_indexes): Also initialize and set
end pages of search methods.
* eb/text.c (eb_read_text): Set text mode to EB_TEXT_OPTINAL_TEXT
if the current position points to menu or copyright text.
2001-04-05 Motoyuki Kasahara <[email protected]>
* po/Makefile.in (POTFILES): Add `ebzip/copyfile.c',
`ebzip/filename.c', `ebzip/unzipbook.c', `ebzip/unzipfile.c',
`ebzip/zipbook.c', `ebzip/zipfile.c', `ebzip/zipinfobook.c',
`ebzip/zipinfofile.c'. Delete `ebzip/ebzip1.c'.
* eb/text.h (EB_HOOK_BEGIN_BITMAP, EB_HOOK_END_BITMAP): Renamed to
EB_HOOK_BEGIN_MONO_GRAPHIC and EB_HOOK_END_MONO_GRAPHIC.
* eb/text.h (EB_HOOK_BEGIN_BMP, EB_HOOK_END_BMP): Renamed to
EB_HOOK_BEGIN_COLOR_BMP and EB_HOOK_END_COLOR_BMP.
* eb/text.h (EB_HOOK_BEGIN_JPEG, EB_HOOK_END_JPEG):
EB_HOOK_BEGIN_COLOR_JPEG and EB_HOOK_END_COLOR_JPEG.
* eb/text.h (EB_HOOK_BEGIN_IN_JPEG, EB_HOOK_END_IN_JPEG):
EB_HOOK_BEGIN_IN_COLOR_JPEG and EB_HOOK_END_IN_COLOR_JPEG.
* eb/text.h (EB_HOOK_BEGIN_GRAY_GRAPHIC, EB_HOOK_END_GRAY_GRAPHIC):
Defined.
* eb/internal.h.in (EB_BINARY_MONO_GRAPHIC, EB_BINARY_COLOR_GRAPHIC,
EB_BINARY_WAVE, EB_BINARY_MPEG, EB_BINARY_GRAY_GRAPHIC,
EB_BINARY_INVALID): Defined.
* eb/ebconfig.h (EB_Binary_Code): Defined.
* eb/defs.h (EB_SIZE_BINARY_CACHE_BUFFER): Change the value to 128.
* eb/defs.h (EB_Binary_Context_Struct): Add `code' and `width'.
* eb/binary.c (eb_set_binary_mono_graphic, eb_set_binary_gray_graphic,
eb_read_binary_mono_graphic): New functions.
2001-03-25 Motoyuki Kasahara <[email protected]>
* eb/libintl_r.c, eb/libintl_r.h: Removed.
* eb/Makefile.am (libeb_la_SOURCES): Remove `libintl_r.c'.
* eb/Makefile.am (pkginclude_HEADERS): Remove `libintl_r.h'.
* eb/error.h (EB_MAX_ERROR_MESSAGE_LENGTH): Deleted.
* eb/error.c (eb_error_message_r): Deleted.
2001-03-20 Motoyuki Kasahara <[email protected]>
* m4/gettext.m4 (AM_GNU_GETTEXT_HACKED): Quote $INCLUDED_GETTEXT
and $ENABLE_NLS.
2001-03-18 Motoyuki Kasahara <[email protected]>
* ebzip/zio.c (zio_reopen): Return -1 if `zio' context cannot be
re-used.
* eb/book.c (eb_initialize_book): `book->language_zio' was not
initialized. Fixed.
* eb/defs.h (EB_Font_Struct): Fix the length of the array `file_name'.
* eb/narwfont.c (eb_initialize_narrow_font): Fix a bug that it cannot
open a font file correctly.
* eb/zio.c (eb_reopen): Check strictly whehter the zio context is
ready to reopen.
* eb/zio.h (ZIO_REOPEN, ZIO_EBZIP1, ZIO_EPWING, ZIO_EPWING6,
ZIO_SEBXA): Renumbered.
* ebfont/ebfont.c: Don't include <fakelog.h>.
* ebinfo/ebinfo.c: Ditto.
* ebfont/ebfont.c (main): Don't call set_fakelog_name(),
set_fakelog_mode() nor set_fakelog_level().
* ebinfo/ebinfo.c (main): Ditto.
* libebutils/ebutils.c (output_try_help): Add the argument
`invoked_name'.
* libebutils/ebutils.c (output_version): Add the arguments
`program_name' and `program_version'.
* libebutils/ebutils.c (parse_subbook_name_argument): Add the
argument `invoked_name'.
* libebutils/ebutils.c: Delete definition of `program_name',
`program_version' and `invoked_name'.
* ebfont/ebfont.c: Define `program_name', `program_version' and
`invoked_name'.
* ebinfo/ebinfo.c: Ditto.
* ebfont/ebfont. (main): Don't initialize `program_name'.
* ebinfo/ebinfo.c (main): Ditto.
* ebfont/ebfont.c (subbook_list, subbook_count):
Changed to `static' variables.
* ebfont/ebfont.c (font_list, fount_count): Ditto.
* ebfont/ebfont.c (image_list, image_count): Ditto.
* ebfont/ebfont.c (parse_image_argument): The order of arguments
is changed.
* ebfont/ebfont.c (parse_font_argument): Ditto.
* libebtuils/ebutils.c (find_subbook): Fix a bug. The function
returns invalid error code if an error has occured.
* ebzip/copyfile.c: Include "eb.h", "error.h" and "internal.h".
* ebzip/copyfile.c (copy_file): Don't `stat' the input file.
* ebzip/copyfile.c (copy_files_in_directory): Don't output an error
message if input directory doesn't exists.
* ebzip/copyfile.c (copy_files_in_directory): Output an error message
if failed to open the input directory.
* ebzip/copyfile.c (copy_files_in_directory): Skip a file entry
if it is not regular file.
* ebzip/ebzip.c: Add `-s' and `--skip-content' options.
* ebzip/ebzip.c (ebzip_skip_flag_font, ebzip_skip_flag_graphic,
ebzip_skip_flag_movie, ebzip_skip_flag_sound): New variables.
* ebzip/ebzip.h (EBZIP_DEFAULT_SKIP_FONT, EBZIP_DEFAULT_SKIP_GRAPHIC,
EBZIP_DEFAULT_SKIP_MOVIE, EBZIP_DEFAULT_SKIP_SOUND): New cpp macros.
* ebzip/ebzip.c (parse_skip_content_argument): New function.
* ebzip/ebzip.h (EBZIP_SUFFIX_NONE, EBZIP_SUFFIX_EBZ,
EBZIP_SUFFIX_ORG): New cpp macros.
* ebzip/filename.c (compose_unfixed_path_name): Renamed to
fix_path_name_suffix() and revised.
* ebzip/filename.c (compose_unfixed_path_name2,
compose_unfixed_path_name3, compose_fixed_path_name,
compose_fixed_path_name2, compose_fixed_path_name3): Deleted.
* ebzip/zipbook.c (ebzip_zipbook): In order to compose a file name,
use eb_find_file_name(), eb_compose_file_name(),
eb_compose_file_name2(), eb_compose_file_name3() and
fix_path_name_suffix().
* ebzip/unzipbook.c (ebzip_unzip_book): Ditto.
* ebzip/zipinfobook.c (ebzip_zipinfo_book): Ditto.
* ebzip/zipbook.c (ebzip_zip_book): Support movie files.
* ebzip/unzipbook.c (ebzip_unzip_book): Ditto.
2001-03-12 Motoyuki Kasahara <[email protected]>
* configure.in (AC_PROG_CC, AC_AIX, AC_MINIX, AC_PROG_LIBTOOL):
Check AC_PROG_CC, (AC_AIX + AC_MINIX) and AC_PROG_LIBTOOL in that
order.
* eb/filename.c (eb_fix_file_name, eb_fix_file_name2,
eb_fix_file_name3): Removed.
* eb/filename.c (eb_find_file_name, eb_find_file_name2,
eb_find_file_name3): Added.
* eb/filename.c (eb_compose_path_name, eb_compose_path_name2,
eb_compose_path_name3): Revised.
* eb/internal.h.in (EB_FILE_NAME_START, EB_FILE_NAME_SOUND,
EB_FILE_NAME_CATALOG, EB_FILE_NAME_LANGUAGE, EB_FILE_NAME_VTOC,
EB_FILE_NAME_WELCOME, EB_FILE_NAME_CATALOGS, EB_FILE_NAME_HONMON,
EB_FILE_NAME_HONMON2, EB_FILE_NAME_HONMONG, EB_FILE_NAME_HONMONS,
EB_FILE_NAME_APPENDIX, EB_FILE_NAME_FUROKU): Deleted.
* eb/internal.h.in (EB_SUFFIX_NONE, EB_SUFFIX_EBZ, EB_SUFFIX_ORG):
Deleted.
* eb/appendix.c (eb_initialize_appendix_catalog):
Use eb_find_file_name() to find a file to open.
* eb/appsub.c (eb_set_appendix_subbook_eb): Ditto.
* eb/appsub.c (eb_set_appendix_subbook_epwing): Ditto.
* eb/binary.c (eb_set_binary_mpeg): Ditto.
* eb/book.c (eb_initialize_catalog): Ditto.
* eb/language.c (eb_initialize_languages, eb_set_language): Ditto.
* eb/message.c (eb_initialize_messages): Ditto.
* eb/narwfont.c (eb_initialize_narrow_font): Ditto.
* eb/subbook.c (eb_set_subbook_eb, eb_set_subbook_epwing): Ditto.
* eb/defs.h (EB_Font_Struct): Delete unused member `available'.
* eb/defs.h (EB_Book_Struct): Add the member `language_file_name'.
* eb/defs.h (EB_Book_Struct): Add `language_file_name' and
`language_zio'.
2001-02-26 Motoyuki Kasahara <[email protected]>
* eb/appsub.c (eb_initialize_appendix_subbook,
eb_set_appendix_subbook): fix `data' sub-dirtory name in
eb_set_appendix_subbook(), reported by HASEGAWA Masafumi.
2001-02-25 Motoyuki Kasahara <[email protected]>
* m4/eb3.m4 (AC_ARG_WITH): Fix typo.
* m4/utimbuf.m4: Rename variable prefix from `ax_cv' to `ac_cv'.
2001-02-20 Motoyuki Kasahara <[email protected]>
* check gettext() in libintl , and then in libc.
2001-02-19 Motoyuki Kasahara <[email protected]>
* ebzip/filename.c (compose_unfixed_path_name2): Enclose "%s/%s"
with F_().
2001-02-18 Motoyuki Kasahara <[email protected]>
* ebzip/filename.c (compose_out_path_name, compose_out_path_name2,
compose_out_path_name3): Rename prefix from `compose_out_' to
`compose_unfixed_'.
* ebzip/filename.c (compose_existent_path_name,
compose_existent_path_name2, compose_existent_path_name3): Rename
prefix from `compose_exisntent_' to `compose_fixed_'.
* lib/text.c (eb_read_text_internal): Fix ISO 8859-1 code point range,
reported by HASEGAWA Masafumi.
2001-02-12 Motoyuki Kasahara <[email protected]>
* ebzip/ebzip.c: Split the file into 9 files; eb/copyfile.c,
eb/ebzip.c, eb/ebzip.h, eb/unzipbook.c, eb/unzipfile.c, eb/zipbook.c,
eb/zipfile.c, eb/zipinfobook.c and eb/zipinfofile.c.
* ebzip/zipbook.c (zip_book, zip_book_eb, zip_book_epwing):
Add the prefix `ebzip_', and revised.
* ebzip/zipfile.c (zip_file): Ditto.
* ebzip/unzipbook.c (unzip_book, unzip_book_eb, unzip_book_epwing):
Ditto.
* ebzip/unzipfile.c (unzip_file): Ditto.
* ebzip/zipinfobook.c (zipinfo_book, unzip_book_eb,
unzip_book_epwing): Ditto.
* ebzip/zipinfofile.c (zipinfo_file): Ditto.
* ebzip/ebzip.h (zip_level, keep_flag, quiet_flag, test_flag,
overwirte_mode): Add the prefx `ebzip_'.
* libebutils/Makefile.am (INCLUDES): Remove `-DUSE_FAKELOG'.
* libebutils/Makefile.am (noinst_HEADERS): Remove `fakelog.h'.
* libebutils/Makefile.am (libebutils_a_SOURCES): Remove `fakelog.c'.
* libebutils/fakelog.c, libebutils/fakelog.h: Removed.
* libebutils/makedir.c: Don't use fakelog.
* libebutils/makedir.c (make_missing_directory_chaing): Removed.
2001-02-11 Motoyuki Kasahara <[email protected]>
* m4/gettext.m4 (AM_GNU_GETTEXT_HACKED): Find gettext() in libc.
* eb/search.c (eb_hit_list_keyword, eb_hit_list_multi): Comparison
Group entry with `context->word', not `context->canonicalized_word'.
Pill Book 2001 needs this fix.
* eb/configure.in (AM_INIT_AUTOMAKE): Set version to `3.0alpha5'.
2001-02-09 Motoyuki Kasahara <[email protected]>
* eb/filename.c (eb_canonicalize_path_name): Fix typo, reported
by Satomi Igi.
* eb/internal.h.in (EB_SUFFIX_ORG): Defined.
* eb/subbook.c (eb_set_subbook_epwing): Try to open `HONMON2.ORG'.
* eb/subbook.c (eb_set_subbook_epwing): Assume HONMON(.EBZ) file
has graphic and sound data regardless of EPWING version.
* ebzip/ebzip.c (zip_book, unzip_book, zipinfo_book): Support
`HONMONS', `HONMONG' and `HONMON2.ORG' files.
* ebzip/ebzip.c (zip_book): When compress HONMON2, output the result
to HONMON2.EBZ, not `HONMON.EBZ'.
* ebzip/ebzip.c (unzip_book): When uncompress HONMON2.EBZ, output the
result to `HONMON2.ORG', not `HONMON2' or `HONMON'.
2001-02-06 Motoyuki Kasahara <[email protected]>
* zlib/Makefile.am (AC_CHECK_FUNCS): Fix typo (vnsprintf -> vsnprintf).
Reported by Takashi NEMOTO.
* m4/gettext.m4: When tests, use the locale name `en_US' instead of
`en'. Reported by Takashi NEMOTO.
* libebutils/Makefile.am (INCLUDES): Use @INTLINCS@, not `-I../intl'
Reported by Takashi NEMOTO.
* intl/libgettext.h: Added again. Since `intl/bindtextdomain.c'
includes the file. Reported by Takashi NEMOTO.
2001-02-03 Motoyuki Kasahara <[email protected]>
* Version 3.0alpha4.
* po/Makefile.in, eb/po/Makefile (DISTFILES): Distribute
`Makefile.in', not `Makefile.in.in'. Add `$(CATALOGS)'.
* po/Makefile.in, eb/po/Makefile (distclean): Don't delete `Makefil.in'
itself.
* eb/text.c (eb_read_text_internal): Dispatch the BEGIN_WAVE hook.
2001-01-31 Motoyuki Kasahara <[email protected]>
* eb/defs.h (EB_Appendix_Subbook_Struct): Rename `appendix_zio' to
`zio'.
* eb/defs.h (EB_Font_Struct): Rename `font_zio' to `zio'.
* eb/graphic.c: Removed.
* eb/Makefile.am (libeb_la_SOURCES): Remove `eb/graphic.c'.
* eb/defs.h (EB_Subbook_Struct): The member `graphic' is removed.
* eb/ebinfo.c (output_information): Delete `graphic search'
information.
* eb/defs.h (EB_Subbook_Struct): The member `sound' is added.
* eb/subbook.c (eb_initialize_indexes): Recognize 0xd8 as sound data.
* eb/defs.h (EB_Binary_Context_Struct): Add the members;
`cache_buffer', `cache_length' and `cache_offset'.
* eb/binary.c (eb_set_binary_wave): Add the argument `type'.
* eb/binary.c (eb_est_binary_wave, eb_set_binary_color_graphic,
eb_set_binary_mpeg, eb_read_binary, eb_unset_binary): Update cache
data.
* eb/Makefile.am (pkginclude_HEADERS): Add `zio.h'.
2001-01-28 Motoyuki Kasahara <[email protected]>
* ebfont/ebfont.c (make_subbook_size_image_fonts): Fix typo.
* eb/uint.c: Renamed to `eb/bcd.c'.
* eb/uint.c: Delete definition of eb_uint1(), eb_uint2(), eb_uint4()
and eb_uint4_le().
* eb/zio.h: New file.
* eb/defs.h (EB_Zip_Code ,EB_Huffman_Node): Move declaration of
these types to `eb/zio.h'.
* eb/defs.h (EB_SIZE_EBZIP_HEADER, EB_SIZE_EBZIP_MARGIN,
EB_MAX_EBZIP_LEVEL, EB_HUFFMAN_NODE_INTERMEDIATE,
EB_HUFFMAN_NODE_EOF, EB_HUFFMAN_NODE_LEAF8, EB_HUFFMAN_NODE_LEAF16,
EB_HUFFMAN_NODE_LEAF32, EB_ZIO_NONE, EB_ZIO_EBZIP1, EB_ZIO_EPWING,
EB_ZIO_EPWING6, EB_ZIO_SEBXA, EB_ZIO_INVALID): Move definition of
these cpp macros to `eb/zio.h'.
* eb/zio.c: Include `eb/zio.h'.
* eb/defs.h: Include `eb/zio.h'.
* eb/zio.h (EB_Zip): Renamed to `Zio'.
* eb/zio.h (EB_Zip_Code): Renamed to `Zio_Code'.
* eb/defs.h (EB_SIZE_EBZIP_HEADER): Renamed to `ZIO_SIZE_EBZIP_HEADER'.
* eb/defs.h (EB_SIZE_EBZIP_MARGIN): Renamed to `ZIO_SIZE_EBZIP_MARGIN'.
* eb/defs.h (EB_MAX_EBZIP_LEVEL): Renamed to `ZIO_MAX_EBZIP_LEVEL'.
* eb/defs.h (EB_HUFFMAN_NODE_INTERMEDIATE): Renamed to
`ZIO_HUFFMAN_NODE_INTERMEDIATE'.
* eb/defs.h (EB_HUFFMAN_NODE_EOF): Renamed to `ZIO_HUFFMAN_NODE_EOF'.
* eb/defs.h (EB_HUFFMAN_NODE_LEAF8): Renamed to
`ZIO_HUFFMAN_NODE_LEAF8'.
* eb/defs.h (EB_HUFFMAN_NODE_LEAF16): Renamed to
`ZIO_HUFFMAN_NODE_LEAF16'.
* eb/defs.h (EB_HUFFMAN_NODE_LEAF32): Renamed to
`ZIO_HUFFMAN_NODE_LEAF32'.
* eb/defs.h (EB_ZIO_NONE): Renamed to `ZIO_NONE'.
* eb/defs.h (EB_ZIO_EBZIP1): Renamed to `ZIO_EBZIP1'.
* eb/defs.h (EB_ZIO_EPWING): Renamed to `ZIO_EPWING'.
* eb/defs.h (EB_ZIO_EPWING6): Renamed to `ZIO_EPWING6'.
* eb/defs.h (EB_ZIO_SEBXA): Renamed to `ZIO_SEBXA'.
* eb/defs.h (EB_ZIO_INVALID): Renamed to `ZIO_INVALID'.
* eb/unebzip.c, eb/unzepwng.c, eb/unzsebxa.c: Removed.
The contents of those files are moved to `eb/zio.c'.
* eb/defs.h (EB_Appendix_Subbook_Struct): Rename `appendix_zip' to
`appendix_zio'.
* eb/defs.h (EB_Appendix_Subbook_Struct): Remove `appendix_file'.
* eb/defs.h (EB_Font_Struct): Rename `font_zip' to `font_zio'.
* eb/defs.h (EB_Font_Struct): Delete `font_file'.
* eb/defs.h (EB_Subbook_Struct): Rename `text_zip' to `text_zio'.
* eb/defs.h (EB_Subbook_Struct): Delete `text_file'.
* eb/defs.h (EB_Subbook_Struct): Rename `graphic_zip' to `graphic_zio'.
* eb/defs.h (EB_Subbook_Struct): Delete `graphic_file'.
* eb/defs.h (EB_Subbook_Struct): Rename `sound_zip' to `sound_zio'.
* eb/defs.h (EB_Subbook_Struct): Delete `sound_file'.
* eb/defs.h (EB_Subbook_Struct): Add `movie_zip'.
* eb/defs.h (EB_Binary_Context_Struct): Delete `file'.
* eb/defs.h (EB_Binary_Context_Struct): Rename `zip' to `zio'.
* eb/zio.c: Don't include `ebconfig.h', `errorh.h' nor `internal.h'.
* eb/zio.c (eb_zinitialize): Renamed to `zio_initialize_library'.
* eb/zio.c (eb_zfinalize): Renamed to `zio_finalize_library'.
* eb/zio.c (eb_zopen): Renamed to `zio_open'.
* eb/zio.c (eb_zopen_none): Renamed to `zio_open_none'.
* eb/zio.c (eb_zopen_ebzip): Renamed to `zio_open_ebzip'.
* eb/zio.c (eb_zopen_epwing): Renamed to `zio_open_epwing'.
* eb/zio.c (eb_zopen_epwing6): Renamed to `zio_open_epwing6'.
* eb/zio.c (eb_zopen_sebxa): Renamed to `zio_open_sebxa'.
* eb/zio.c (eb_zclose): Renamed to `zio_close'.
* eb/zio.c (eb_zlseek): Renamed to `zio_lseek'.
* eb/zio.c (eb_zread): Renamed to `zio_read'.
* eb/zio.c (eb_zread_ebzip): Renamed to `zio_read_ebzip'.
* eb/zio.c (eb_zread_epwing): Renamed to `zio_epwing'.
* eb/zio.c (eb_make_epwing_huffman_tree): Renamed to
`zio_make_epwing_huffman_tree'.
* eb/zio.c (eb_unzip_slice_ebzip1): Renamed to
`zio_unzip_slice_ebzip1'.
* eb/zio.c (eb_unzip_slice_epwing): Renamed to
`zio_unzip_slice_epwing'.
* eb/zio.c (eb_unzip_slice_epwing6): Renamed to
`zio_unzip_slice_epwing6'.
* eb/zio.c (eb_initialize, eb_finalize, eb_reopen, eb_file):
New functions.
* eb/zio.c (eb_read_all): Renamed to `zio_read_raw'.
* eb/zio.c (Zio): Add the member `file'.
* eb/zio.c (zio_close, zio_lseek, zio_read, zio_read_ebzip,
eb_zread_epwing, eb_zread_sebxa): Delete 2nd argument `file'.
* eb/zio.c (zio_uint1, zio_uint2, zio_uint4): Defined.
Don't use eb_uint1, eb_uint2 or zio_uint4.
* eb/appendix.c (eb_finalize_appendix): Finalize `appendix_zio'
in all subbooks.
* eb/book.c (eb_finalize_book): Ditto.
* eb/appendix.c (eb_initialize_appendix_catalog): Use zio to
open a catalog file.
* eb/book.c (eb_initialize_catalog): Ditto.
* eb/book.c (eb_fix_misleaded_book): New function.
* eb/book.c (eb_initialize_catalog): Fix chachacter-code information
by calling eb_fix_misleaded_book().
* eb/appendix.c (eb_initialize_catalog): Initialize `appendix_zio' in
an EB_Appendix_Subbook Object.
* eb/book.c (eb_initialize_catalog): Initialize `text_zio',
`graphic_zio', `sound_zio and movie_zio' in an EB_Book_Subbook object.
2001-01-27 Motoyuki Kasahara <[email protected]>
* eb/error.h: Rivse error codes.
* eb/error.c (error_messages): Revised.
* eb/binary.c (eb_set_binary_mpeg): Fix a bug in initialization of
binary context.
* eb/filename.c (eb_decompose_movie_file_name): New function.
* eb/filename.c (eb_compose_movie_file_name): Don't believe file name
consists of 8 characters.
* eb/text.c (SIZE_FEW_REST): Change the value from 40 to 48.
* eb/text.c (eb_read_text_internal): BEGIN_MPEG hook was not called
correctly. Fixed.
* eb/subbook.c (eb_set_subbook_epwing): Don't suppose graphic or
sound data are in HONMON file if EPWING version is 5 or later.
2001-01-23 Motoyuki Kasahara <[email protected]>
* eb/error.h (EB_ERR_BAD_FILE_NAME, EB_ERR_BAD_DIR_NAME): Add these
error codes.
* eb/filename.c (eb_fix_directory_name, eb_fix_directory_name2,
eb_fix_file_name, eb_fix_file_name2, eb_fix_file_name3,
eb_compose_path_name, eb_compose_path_name2, eb_compose_path_name3):
eb_compose_movie_file_name): Return EB_Error_Code, not {0 or -1}.
2001-01-21 Motoyuki Kasahara <[email protected]>
* eb/error.h, eb/error.c (EB_ERR_FAIL_OPEN_BIANRY,
EB_ERR_FAIL_READ_BINARY, EB_ERR_FAIL_SEEK_BINARY, EB_ERR_UNEXP_BINARY,
EB_ERR_NO_CUR_BINARY, EB_ERR_NO_SUCH_BINARY): Add these error codes.
* eb/binary.h: New file.
* eb/Makefile.am (pkginclude_HEADERS): Add binary.h.
* eb/text.h, eb/internal.h.in: Move function declaration of
eb_uint1(), eb_uint2(), eb_uint4(), eb_bcd2(), eb_bcd4() and eb_bcd6()
from eb/text.h to eb/internal.h.in.
2001-01-20 Motoyuki Kasahara <[email protected]>
* configure.in, m4/gettext.m4 (AM_GNU_GETTEXT): renamed to
AM_GNU_GETTEXT_HACKED.
* m4/gettext.m4: Use the language `en' instead of `fr' in the test
program.
* eb/defs.h (EB_Subbook_Struct): Fix array length of `text_file_name',
`graphic_file_name' and `sound_file_name'.
* eb/internal.h.in: Declare eb_intialize_binary().
* eb/binary.c: Added.
* eb/subbook.c: Call eb_initialize_binary() to initialize a binary
context.
* eb/Makefile.am (libeb_la_SOURCES): Add `binary.c'.
2001-01-17 Motoyuki Kasahara <[email protected]>
* eb/text.c (EB_MAX_ARGV): Change the value from 4 to 6.
* eb/filename.c (eb_compose_movie_file_name): Defined.
* ebzip/ebzip.c (zip_eb_book): Renamed to zip_book_eb().
* ebzip/ebzip.c (zip_epwing_book): Renamed to zip_book_epwing().
* ebzip/ebzip.c (unzip_eb_book): Renamed to unzip_book_eb().
* ebzip/ebzip.c (unzip_epwing_book): Renamed to unzip_book_epwing().
* ebzip/ebzip.c (zipinfo_eb_book): Renamed to zipinfo_book_eb().
* ebzip/ebzip.c (zipinfo_epwing_book): Renamed to
zipinfo_book_epwing().
* eb/defs.h (EB_Subbook_Struct): Add the following members;
`graphic_file', `graphic_zip', `sound_file' and `sound_zip'.
* eb/internal.h.in (EB_FILE_NAME_HONMONG, EB_FILE_NAME_HONMONS):
Defined.
* eb/subbook.c (eb_set_subbook): Split this function into
eb_set_subbook(), eb_set_subbook_eb() and eb_set_subbook_epwing().
* eb/subook.c (eb_set_subbook_epwing): Try opening graphic and sound
files.
* eb/uint.c, eb/internal.h.in (eb_uint4_le): Defined.
* eb/defs.h (EB_Binary_Context_Struct, EB_Binary_Context): Defined.
* eb/defs.h (EB_Book_Struct): Add the member `binary_context'.
* eb/text.h: (EB_HOOK_BEGIN_BITMAP, EB_HOOK_END_BITMAP,
EB_HOOK_BEGIN_BMP, EB_HOOK_BEGIN_JPEG, EB_HOOK_END_COLOR_GRAPHIC,
EB_HOOK_BEGIN_IN_BMP, EB_HOOK_BEGIN_IN_JPEG,
EB_HOOK_END_IN_COLOR_GRAPHIC, EB_HOOK_BEGIN_WAVE, EB_HOOK_END_WAVE,
EB_HOOK_BEGIN_MPEG, EB_HOOK_END_MPEG): Defined.
* eb/defs.h (EB_NUMBER_OF_HOOKS): Updated.
* eb/zio.c (zio_reopen): become `static' function.
* eb/zio.h (ZIO_REOPEN): Added.
* eb/zio.c (zio_open): Recognize the compression mode `ZIO_REOPEN'.
* eb/zio.c (zio_mode): New function.
* eb/book.c (eb_filenalize_book): Don't call zio_finalize() for
`movie_zio'. Call zio_finalize() for `language_zio'.
2001-01-16 Motoyuki Kasahara <[email protected]>
* eb/internal.h (EB_Subbook_Struct): Remove the member
`stream_directory_name'.
* eb/subbook.c (eb_set_subbook): Don't initialize
`subbook->stream_directory_name'.
* eb/text.h (EB_HOOK_STOP_CODE, EB_HOOK_BEGIN_BITMAP,
EB_HOOK_END_BITMAP, EB_HOOK_BEGIN_BMP, EB_HOOK_BEGIN_JPEG,
EB_HOOK_END_IMAGE, EB_HOOK_BEGIN_IN_BMP, EB_HOOK_BEGIN_IN_JPEG,
EB_HOOK_END_IN_IMAGE, EB_HOOK_BEGIN_WAVE, EB_HOOK_END_WAVE,
EB_HOOK_BEGIN_MPEG, EB_HOOK_END_MPEG): Define new text hooks.
* eb/text.c (SIZE_FEW_REST): Change the value from 16 to 40.
2001-01-14 Motoyuki Kasahara <[email protected]>
* eb/defs.h (EB_Binary_Context_Struct, EB_Binary_Context,
EB_Binary_Code): Defined.
2001-01-11 Motoyuki Kasahara <[email protected]>
* m4/gettext.m4 (AM_GNU_GETTEXT): Set LC_ALL to `fr', and set LANGUAGE
to empty string.
* ebzip/ebzip.c (zip_epwing_book, unzip_epwing_book,
zipinfo_epwing_book): Fix filenames in error messages.
2001-01-03 Motoyuki Kasahara <[email protected]>
* lib/strcasecmp.c (strncasecmp): Fix a bug that the function returns
wrong result when comparison length is 0.
* libebutils/strcasecmp.c (strncasecmp): Ditto.
* eb/Makefile.am (SUBDIRS): Don't use @POSUB@.
2001-01-02 Motoyuki Kasahara <[email protected]>
* configure.in (AC_ARG_WITH): Fix a bug that configure cannot
recognize --with-included-zlib option. Reported by Kazuhiko.
2001-01-01 Motoyuki Kasahara <[email protected]>
* po/Makefile.in.in, eb/po/Makefile.in.in: Use `ENABLE_NLS', not
`USE_NLS'.
* eb/Makefile.am (SUBDIRS): Set to `po', not `@POSUB@'.
2000-12-31 Motoyuki Kasahara <[email protected]>
* intl/Makefile.am (noinst_HEADERS): Remove `libgettext.h'. Add
`libintl.h' instead.
* intl/Makefile.am (BUILT_SOURCES): Remove libintl.h.
* intl/Makefile.am (DISTCLEANFILES): Remove libintl.h.
* po/Makefile.in.in, eb/po/Makefile.in.in (ja_JP.SJIS): Remove the
target.
* gttest.po, gttest.mo: New files.
* Makefile.am (EXTRA_DIST): Add `gttest.mo' and `gttest.po'.
* Makefile.am (gttest.mo): New target.
* m4/gettext.m4: Fully revised.
* configure.in (AC_OUTPUT): Fix an output file name.
2000-12-30 Motoyuki Kasahara <[email protected]>
* libebutils/Makefile.am (EXTRA_DIST): Delete `memset.c', `strerror.c'
and `strcasecmp.c'. Automake recognizes them as distirbution files.
2000-12-29 Motoyuki Kasahara <[email protected]>
* Makefile.am (ACLOCAL_AMFLAGS): Defined.
* m4/ssizet.m4 (AX_TYPE_SSIZE_T): Renamed to `AC_TYPE_SSIZE_T'.
* m4/utimbuf.m4 (AX_HAVE_STRUCT_UTIMBUF): Renamed to
`AC_STRUCT_UTIMBUF'.
* configure.in: Use new macro names described above.
* m4/libtool.m4: New file.
(This file will be removed when a bug in libtool.m4 distributed
with Libtool is fixed.)
* m4/Makefile.am (EXTRA_DIST): Add `libtool.m4'.
2000-12-23 Motoyuki Kasahara <[email protected]>
* Use autoconf 2.49b, automake 1.4b, and libtool 1.3c (checkout
2000-12-18).
* depcomp: New file.
* configure.in: Call `AX_TYPE_SSIZE_T' instead of
`AC_CHECK_TYPE(ssize_t, int)'.
* lib/fakelog.c (fakelog): Use memcpy() instead of strcpy() to
expand `%m'.
* m4/Makefile.am, m4/eb3.m4, m4/gettext.m4, m4/lcmessage.m4,
m4/ssize_t.m4, m4/utimbuf.m4: New files.
* configure.in (AC_OUTPUT): Add `m4/Makefile.in'.
* Makefile.am (SUBDIRS): Add `m4'.
* acconfig.h, acinclude.m4: Removed.
* intl/Makefile.am, eb/Makefile.am, libebutils/Makefile.am,
ebfont/Makefile.am, ebinfo/Makefile.am, ebzip/Makefile.am,
doc/Makefile.am, doc-ja/Makefile.am:
Remove @MAKE_SET@.
2000-12-06 Motoyuki Kasahara <[email protected]>
* Version 3.0alpha3.
* ebzip/Makefile.am (INCLUDES): Delete `-I$(top_srcdir)'.
* ebzip/Makefile.am (INCLUDES): Add `-I../eb' and `-I$(top_srcdir)/eb'.
* ebzip/ebzip.c: Include `*.h' in the `../eb' directory, not `eb/*.h'.
2000-11-28 Motoyuki Kasahara <[email protected]>
* eb/subbook.c (eb_subbook_directory, eb_subbook_directory2):
All letters in a directory name are converted to lower letters
that were converted to upper letters.
* libebutils/ebutils.c (parse_subbook_name_argument): Ditto.
2000-11-23 Motoyuki Kasahara <[email protected]>
* intl/Makefile.am: Don't make a symbolc link `libintl.h'.
* eb/font.c (eb_set_font): Set font files to -1.
* eb/font.c (eb_unset_font): Check file descriptor before close
the file.
2000-11-18 Motoyuki Kasahara <[email protected]>
* configure.in (AC_OUTPUT_COMMANDS): Copy `intl/libgettext.h' to
`intl/libintl.h'.
* eb/filename.c, ebzip/filename.c, ebfont/ebfont.c: Define the macro
`F_' to resolve path notation problem between UNIX and DOS.
* ebconfig.h: New file.
* appendix.c, appsub.c, bitmap.c, book.c, copyright.c, eb.c,
endword.c, error.c, exactword.c, filename.c, font.c, graphic.c,
hook.c, jacode.c, keyword.c, language.c, lock.c, match.c, menu.c,
message.c, multi.c, narwalt.c, narwfont.c, search.c, setword.c,
stopcode.c, subbook.c, text.c, uint.c, unzebzip.c, unzepwing.c,
unzsebxa.c, widefont.c, word.c, zio.c:
Include `ebconfig.h'.
Dont' include public headers nor define public macros.
* Makefile.am (noinst_HEADERS): Add `ebconfig.h'.
* eb/search.c (eb_and_hit_lists): In its prototype declaration,
type of the 4th argument is changed from (EB_Hit [N1][]) to
(EB_Hit [][N2]).
2000-11-14 Motoyuki Kasahara <[email protected]>
* Makefile.am (CLEANFILES): Add stamp-widealt-h, stamp-widefont-h,
widealt.c and widefont.c.
* Makefile.am (BUILT_SOURCES): Add widealt.c and widefont.c.
* Makefile.am (widealt.c, stamp-widealt-h): Add the targets.
* Makefile.am (widefont.c, stamp-widefont-h): Add the targets.
* widealt.c, widefont.c: Generated from narwalt.c and narwfont.c.
2000-11-08 Motoyuki Kasahara <[email protected]>
* eb/text.c (eb_read_text_internal):
* eb/text.h (EB_HOOK_END_CANDIDATE): Split this hook into
EB_HOOK_END_CANDIDATE_GROUP and EB_HOOK_END_CANDIDATE_LEAF.
* eb/text.h (EB_HOOK_BEGIN_SOUND, EB_HOOK_END_SOUND,
EB_HOOK_BEGIN_PICTURE, EB_HOOK_END_PICTURE): Removed temporary.
* eb/defs.h (EB_NUMBER_OF_HOOKS): Updated.
* eb/defs.h (EB_Text_Context): Add the members `candidate' and
`is_candidate'.
* eb/text.c (eb_current_candidate): New function.
* eb/text.c (eb_read_internal): Manage the current candidate.
* eb/text.c (eb_seek_text, eb_read_text, eb_read_heading):
Clear the current candidate.
* eb/text.c (eb_seek_text): Complain if the given position is not
valid.
2000-11-07 Motoyuki Kasahara <[email protected]>
* eb/hook.c (euc_a1_to_ascii_table, euc_a1_to_ascii_table):
The tables start with the character 0xa0 and end with 0xff.
* eb/hook.c (EUC_TO_ASCII_TABLE_START, EUC_TO_ASCII_TABLE_END):
Defined
* eb/hook.c (eb_hook_euc_to_ascii): Use new convertion tables.
* eb/multi.c (eb_multi_entry_candidates): Return EB_ERR_NO_CANDIDATES
not EB_ERR_NO_SUCH_SEARCH if the multi entry doesn't have candidates.
* eb/error.c (EB_ERR_STOP_CODE): Defined.
* eb/error.c (EB_ERR_HOOK_WORKSPACE): Removed.
* eb/hook.c (eb_hook_stop_code): Return EB_ERR_STOP_CODE when the
stop code is found.
* eb/text.c (eb_read_text_internal): Return only when STOP_CODE hook
function returns EB_ERR_STOP_CODE.
2000-11-06 Motoyuki Kasahara <[email protected]>
* eb/text.c (eb_read_text_internal): `argv' must be `unsigned int []'.
* eb/text.c (eb_read_text_internal): Set MSB of argv[0] passed to
NARROW_JISX0208, WIDE_JISX0208, GB2312 hooks.
2000-11-04 Motoyuki Kasahara <[email protected]>
* eb/text.c: Include <stdlib.h>.
2000-11-03 Motoyuki Kasahara <[email protected]>
* eb/defs.h (EB_Text_Context_Strcut):
The member `work_buffer', `work_length' and `work_step' are removed.
The member `out', `out_rest_length', `unprocessed', `in_step',
`out_step' and `unprocessed_size' are added.
* eb/text.c (eb_read_text_internal): `text_p' and `text_rest_length'
are now recorded in `book->text_context.out' and
`book->text_context.out_rest_length'.
* eb/defs.h (EB_MAX_WORK_LENGTH): Removed.
* eb/text.c (eb_read_text_internal): Don't write `\0' on the tail
of text buffer.
* eb/text.c (eb_write_text_byte1, eb_write_text_byte2,
eb_write_text_string, eb_write_text): New functions.
* eb/text.c (eb_read_text_internal): Use eb_write_text*() functions
to write characters to a text buffer. Don't write directly.
* eb/defs.h (EB_Hook_Struct): The type of `argv' is changed from
`const int *' to `const unsigned int *'.
* eb/defs.h (EB_Hook_Struct): Add the new argument `container'
and remove `workbuf'.
* eb/hook.c (eb_hook_euc_to_ascii, eb_hook_stop_code,
eb_hook_narrow_character_text, eb_hook_wide_character_text,
eb_hook_empty): Ditto.
* eb/text.c (eb_read_text, eb_read_heading): Add the new argument
`container'.
* eb/hook.c (eb_hook_newline): New function.
* eb/hook.c (eb_initialize_hookset): Set EB_HOOK_NEWLINE of the
default hookset.
2000-10-31 Motoyuki Kasahara <[email protected]>
* ebinfo/ebinfo.c (output_information): In the font-size and
font-range paramter lines, output a newline character even
when an error occurs.
2000-10-30 Motoyuki Kasahara <[email protected]>
* eb/hook.c (eb_hook_stop_code): Return EB_ERR_HOOK_WORKSPACE
not -1 when a stop code is found.
* eb/text.c (eb_read_text, eb_read_heading, eb_read_text_internal):
give up formatting text when a hook function returns any other value
than EB_SUCCESS.
2000-10-27 Motoyuki Kasahara <[email protected]>
* ebzip/filename.c (compose_exisitent_path_name,
compose_exisitent_path_name2, compose_exisitent_path_name3):
New functions.
* ebzip/ebzip.c (zip_eb_book, zip_epwing_book, unzip_eb_book,
unzip_epwing_book, zipinfo_eb_book, zipinfo_epwing_book): Use
compose_exisitent_path_name*() functions instead of sprintf().
* eb/filename.c (eb_canonicalize_path_name): Don't expand `/./'
and `/../' in the given path name.
2000-10-26 Motoyuki Kasahara <[email protected]>
* eb/subbook.c (eb_set_subbook): Set `book->subbook_current->text_file'
to 1 when no text file exists.
2000-10-21 Motoyuki Kasahara <[email protected]>
* eb/text.c (eb_read_text_internal): Cache controll bug was still
remained. Fix the bug.
* doc-ja/ebinfo-ja.texi: Include `ebinfo-ver.texi', not `version.texi'.
2000-10-20 Motoyuki Kasahara <[email protected]>
* Version 3.0alpha2.
* doc-ja/Makefile.am (EXTRA_DIST): Remove `stamp-eb'.
* doc-ja/Makefile.am (stamp-eb): Remove the target.
* eb/text.c (eb_read_text_internal): Fix a cache controll bug.
Reported by Rei.
2000-10-17 Motoyuki Kasahara <[email protected]>
* eb/ebzip.c (zip_epwing_book): Fix a bug that it tries to compress
non-existant font files.
* eb/text.c (eb_read_text_internal): Check text-end-flag,
cache buffer, and unprocessed data in the text context, in
this order.
2000-09-30 Motoyuki Kasahara <[email protected]>
* eb/zio.c (eb_zopen_epwing): Add missing initialization code for
the variable `read_length'.
2000-09-24 Motoyuki Kasahara <[email protected]>
* eb/defs.h (EB_Language_Struct): the member `offset' is renamed to
`location'.
* eb/defs.h (EB_Zip_Struct): likewise.
* eb/appsub.c (eb_initialize_appendix_subbook): value passed to
eb_zlseek() must be off_t.
* eb/font.c (eb_initialize_font): Likewise.
* eb/language.c (eb_set_language): Likewise.
* eb/multi.c (eb_initialize_multi_search): Likewise.
* eb/narwalt.c (eb_narrow_character_text_jis): Likewise.
* eb/narwalt.c (eb_narrow_character_text_latin): Likewise.
* eb/narwfont.c (eb_initialize_narrow_font): Likewise.
* eb/narwfont.c (eb_narrow_character_bitmap_jis): Likewise.
* eb/narwfont.c (eb_narrow_character_bitmap_latin): Likewise.
* eb/search.c (eb_presearch_word): Likewise.
* eb/search.c (eb_hit_list_word): Likewise.
* eb/search.c (eb_hit_list_keyword): Likewise.
* eb/search.c (eb_hit_list_multi): Likewise.
* eb/subbook.c (eb_initialize_subbook): Likewise.