 # This ChangeLog starts after enca became a library.
 # See ChangeLog.prelib for changes before that.
 # Unfortunately, there's no ChangeLog for the transition.

 # Note: EVERYTHING as changed file means global change, i.e. every file where
 # this change was applicable was changed.

v0.10.7
2003-01-28  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/filebuf.c (file_size, file_temporary): open files first, stat them
      later, create temporary files with O_CREAT|O_EXCL
    * src/filebuf.c: added a few asserts
    * configure.in: added fcntl.h test

2003-01-28  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/convert.c (format_request_string): fixed surface mask to mean what
      was (probably) intended
    * src/convert_recode (convert_recode): changed surface mask to only filter
      ENCA_SURFACE_EOL_LF unknown to recode and natural surfaces

2003-01-24  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/convert.c (convert_builtin, copy_and_convert): applied David
      Vorisek's speed improvements (thx)

2003-01-24  David Necas (Yeti) <yeti@physics.muni.cz>
    * script/b-cstocs: also added tex and utf8 here

2003-01-24  David Necas (Yeti) <yeti@physics.muni.cz>
    * tools/encodings.dat: added tex and utf8 cstocs names, recent versions of
      cstocs know UTF-8
    * tools/make_hash.c (print_fine_data): fixed exchanged cstocs and iconv
      names

2002-12-24  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/HELP.in: indented options with one space (so it works with help2man)

2002-10-30  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/options.c (interpret_opt), src/covnert.c (xtable):
      Fixed assert()'s containing useful code.

v0.10.6
2002-10-22  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/options.c (interpret_opt), src/locale_detect.c:
      Removed #if HAVE_NL_LANGINFO from options.c altogether (codeset is always
      defined), fixed a few #if's in locale_detect.c.

2002-10-22  David Necas (Yeti) <yeti@physics.muni.cz>
    * test/test-ENCAOPT.sh, test/test-convert-filter.sh,
      test/test-long-texts.sh, test/test-guess-stdin.sh,
      test/test-default-cs.sh:
      Added tests.

2002-10-22  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/options.c (interpret_opt):
      Fixed -P also setting -M.

2002-10-22  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/convert_recode.c (print_recode_warning):
      Moved it into the #if HAVE_LIBRECODE block.

2002-10-22  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/enca.c (print_results):
      Fixed printing NULL as stdin's filename with -d.

2002-10-22  David Necas (Yeti) <yeti@physics.muni.cz>
    * lib/guess.c (ambiguous_hook):
      Fixed totally bogus charset id handling, fixed comparing winner and
      second best many times while not comparing winner with others.
    * lib/unicodemap.c (enca_charsets_subset_identical):
      Fixed totally bogus charset unicode map table start handling.

2002-10-21  David Necas (Yeti) <yeti@physics.muni.cz>
    * man/enca.1:
      updated

2002-10-21  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/options.c (process_opt):
      enconv uses recode's DEFAULT_CHARSET, if set.

2002-10-21  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/options.c (prepend_env), man/enca.1:
      Added a very simple built-in parser for ENCAOPT, so it's works
      everywhere.

2002-10-15  David Necas (Yeti) <yeti@physics.muni.cz>
    * m4/pager.m4, src/texts.c:
      less is run with -F only if it accepts -X too, otherwise it's too
      offending

2002-10-14  David Necas (Yeti) <yeti@physics.muni.cz>
    * test/Makefile.am:
      Added the missing test samples.

v0.10.5
2002-10-13  David Necas (Yeti) <yeti@physics.muni.cz>
    * test/test.expected, test/test-guess-short.expected,
      test/test-guess-short.sh:
      Renamed test.expected to test-guess-short.expected.

2002-10-13  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/enca.c (double_utf8_chk, process_file):
      Made it use the new Doubly-UTF-8 checks.

2002-10-13  David Necas (Yeti) <yeti@physics.muni.cz>
    * lib/utf8_double.c, lib/internal.h, lib/enca.c (enca_analyser_alloc,
      enca_analyser_free), lib/enca.h:
    * devel-docs/libenca-sections.txt:
      Added lib/utf8_double.c containing checks for Double-UTF-8 encoding,
      with quite a strange API.

2002-10-13  David Necas (Yeti) <yeti@physics.muni.cz>
    * lib/guess.c (make_guess), lib/internal.h,
      lib/multibyte.c (looks_like_utf8):
      Added looks_like_utf8() and support for non-pure UTF-8.

2002-10-12  David Necas (Yeti) <yeti@physics.muni.cz>
    * data/mystrings.c (main):
      Fixed not printing the character causing switch to text mode, thus
      distorting the output.

2002-10-12  David Necas (Yeti) <yeti@physics.muni.cz>
    * FAQ, Makefile.am:
      Added FAQ.

2002-10-12  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/convert_recode.c (convert_recode, print_recode_warning):
    * m4/librecode.m4:
      Use librecode at task level, instead of request level, allowing to
      distinguish between conversion and I/O errors, added warnings for the
      former, recodext.h is required now to build the librecode interface

2002-10-11  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/Makefile.am, tools/Makefile.am:
      Changed libenca linking from -lenca to ../lib/libenca.la (thx to
      Alexander Kovalenko)
      Added @LDFLAGS@ to LDFLAGS

2002-10-11  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/locale_detect.c:
      Fixed codeset not being defined without nl_langinfo (thx to Alexander
      Kovalenko)

2002-10-10  David Necas (Yeti) <yeti@physics.muni.cz>
    * lib/unicodemap.c:
      Added Unicode map for Cork

v0.10.4
2002-10-10  David Necas (Yeti) <yeti@physics.muni.cz>
    * man/enca.1, lib/Makefile.am:
    * test/cs-s.cork, test/pl-s.cork, test/sk-s.cork,
    * test/test-guess-short.sh, test/Makefile.am:
      Updated man page, library revision, added tests -- for Cork

2002-10-10  David Necas (Yeti) <yeti@physics.muni.cz>
    * tools/make_hash.c, tools/encodings.dat:
      Allowed to use empty charset flags list instead of 0

2002-10-10  David Necas (Yeti) <yeti@physics.muni.cz>
    * data/czech/doit.sh, data/slovak/doit.sh, data/polish/doit.sh:
    * tools/encodings.dat, iconvcap.c, tools/iconvenc.null:
      Added support for Cork (Czech, Slovak, Polish)

2002-10-09  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/filebuf.c (file_read, file_write, file_new, file_seek, file_open):
    * src/common.h:
    * configure.in:
      Removed the pos field form _File struct, removed locking, reverted
      reading and writing to 0.9.x style

2002-10-04  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/enca.c (process_file):
      Empty files are assumed to be in target encoding for conversion.
    * test/test-empty.sh:
      Check whether empty files are OK for conversion but bad for detection.

2002-09-30  David Necas (Yeti) <yeti@physics.muni.cz>
    * test/Makefile.am:
      Changed linker flags to allow RPMs to be correctly built

2002-09-25  David Necas (Yeti) <yeti@physics.muni.cz>
    * lib/Makefile.am, lib/encnames.c, lib/lang_cs.c, lib/lang_be.c,
      lib/lang_sk.c, lib/lang_ru.c, lib/lang_pl.c, lib/lang_uk.c:
      Removed -I../tools -I../data from search paths, changed
      #include "czech/czech.h"
      to
      #include "data/czech/czech.h"
      etc.

v0.10.3
2002-09-22  David Necas (Yeti) <yeti@physics.muni.cz>
    * man/enca.1:
      Fixed a few valid HTML generation problems

2002-09-21  David Necas (Yeti) <yeti@physics.muni.cz>
    * m4/librecode.m4, m4/libiconv.m4, configure.in:
      Changed CFLAGS to CPPFLAGS where appropriate (fixes header presence
      tests).

2002-09-21  David Necas (Yeti) <yeti@physics.muni.cz>
    * configure.in:
      fixed adding wrong flags to CFLAGS and LDFLAGS in PREFIX/{lib/include}
      adding hack

2002-09-21  David Necas (Yeti) <yeti@physics.muni.cz>
    * script/b-umap, script/Makefile.am:
      added a new wrapper for perl umap
    * configure.in:
      added umap support
    * script/b-map:
      workaround about map returning 0 on failure and 1 on success

2002-09-21  David Necas (Yeti) <yeti@physics.muni.cz>
    * script/b-cstocs, script/b-recode, script/b-map:
      removed the `function' keyword (traditional sh doesn't use it)

v0.10.2
2002-09-15  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/locale_detect.c (set_raw_locale, detect_lang):
      fixed wrong locale logic after inheriting

2002-09-15  David Necas (Yeti) <yeti@physics.muni.cz>
    * Makefile.am:
      removed now useless echo >iconvenc.h

2002-09-15  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/filebuf.c (file_open):
      added fsetlocking() to BYCALLER

2002-09-15  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/Makefile.am, Makefile.am:
      added linking enca -> enconv, the same for manual pages
    * man/enca.1:
      updated
    * configure.in:
      fixed setting default external convertor when not available

2002-09-15  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/locale_detect.c (detect_lang, set_raw_locale,
      static_iso639_alias_convert, get_lang_codeset):
    * src/options.c (process_opt):
    * src/common.h:
    * src/HELP.in:
      Implemented auto target charset feature.
      Added static language name decryption table.
      Added <language>_<dialect> to <language> conversion (cs_SK, ru_UA).

2002-09-14  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/texts.c, src/convert_iconv.c, src/convert_extern.c:
      Replaced perror("") with strerror()s, removed errno= assigments.

v.0.10.1
2002-08-29  David Necas (Yeti) <yeti@physics.muni.cz>
    * m4/iconv.m4, m4/librecode.m4, m4/libiconv.m4:
      renamed iconv.m4 to libiconv.m4, changed --eanble to --with
    * configure.in:
      added $PREFIX to lib search path
    * tools/Makefile.am:
      fixed the iconv names substitution rule so that even dull sed accepts it
    * src/filebuf.c (file_read, file_write, file_seek, file_open):
      read/write whole block at once
    * src/convert.c (convert_builtin):
      catches all identity conversions

2002-08-28  David Necas (Yeti) <yeti@physics.muni.cz>
    * m4/recode-bugs.m4, m4/iconv.m4, configure.in:
      small fixes
    * src/filebuf.c, man/enca.1:
      <STDIN>, <STDOUT> cnaged to STDIN, STDOUT
    * src/convert.c (convert_builtin):
      made identity ascii..ascii work again
    * src/options.c (process_opt, interpret_opt):
      print help only when run w/o any arguments (not just w/o filenames)
      accept `-' as stdin
    * src/enca.c (main):
      fixed crash on unknown language

2002-08-28  David Necas (Yeti) <yeti@physics.muni.cz>
    * lib/enca.h (enca_charset_is_known), lib/Makefile.am:
      API: added this covenience macro, updated library version

    * src/convert.c (set_external_convertor, convert_extern,
      check_executability, check_executability_one), src/convert_extern.c:
      added early convertor executability text, moved all external convertor
      stuff to convert_extern.c, fixed target encoding name construction,
      make all the stuff optional
    * configure.in:
      added tests for canonicalize_file_name, realpath, uid_t, mode_t
    * src/options.c, src/convert.c:
      made external convertor a feature

2002-08-27  David Necas (Yeti) <yeti@physics.muni.cz>
    * test/test-aliases.sh, test/test-convert-64.sh, test/Makefile.am:
      added new tests
    * configure.in, src/filebuf.c (random_seed_init):
      cleaned the time mess, #include only time.h and use only time()

2002-08-27  David Necas (Yeti) <yeti@physics.muni.cz>
    * lib/unicodemap.c (MAKE_CS_LINE, enca_charset_ucs2_map):
      fixed wrong tstart handling

v0.10.0
2002-08-26  David Necas (Yeti) <yeti@physics.muni.cz>
    * debian/:
      removed.

2002-08-26  David Necas (Yeti) <yeti@physics.muni.cz>
    * THANKS:
      fixed typo
    * lib/unicodemap.c (UNICODE_MAP):
      added missing cp1125
    * m4/scanf.m4:
      define SCANF_MODIF_SIZE_T always, at least to ""
    * configure.in:
      made PACKAGE_BUGREPORT quotable C string

2002-08-24  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/filebuf.c (random_generator_seeded, EVERYTHING):
      get rid of perror(""), changed random_generator_seeded to module-global,
      formal changes
    * Makefile.am:
      removed the debian-updating targets
    * m4/iconv.m4, m4/librecode.m4:
      changed test help defaults from [yes] to [auto]
    * configure.in:
      added fread_unlocked, fwrite_unlocked, ftrylockfile, __fsetlocking,
      stdio_ext.h tests

2002-08-22  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/convert.c (format_request_string, target_enc, target_enc_str):
      fixed convert.c defining its own target_enc and target_enc_str, which
      was of course never set

2002-08-22  David Necas (Yeti) <yeti@physics.muni.cz>
    * data/belarussian:
      rebuild the data after removing a few Russian texts which crept into

2002-08-22  David Necas (Yeti) <yeti@physics.muni.cz>
    * test/test.sh, test/test-guess-short.sh, test/test-lists.sh:
      renamed the first to the second, added the third

2002-08-22  David Necas (Yeti) <yeti@physics.muni.cz>
    * man/enca.1:
      updated

2002-08-21  David Necas (Yeti) <yeti@physics.muni.cz>
    * enca.spec.in, Makefile.am:
      updated, split into enca and enca-devel

2002-08-21  David Necas (Yeti) <yeti@physics.muni.cz>
    * lib/guess.c (enca_set_threshold, enca_set_significant):
      API: Also set analyser errno beside returning nonzero on failure.

2002-08-21  David Necas (Yeti) <yeti@physics.muni.cz>
    * tools/Makefile.am:
      Changed extension of generated tables from .c to .h

2002-08-20  David Necas (Yeti) <yeti@physics.muni.cz>
    * devel-docs/Makefile.am:
      Added empty all-local: rule for disabled GTK_DOC

2002-08-20  David Necas (Yeti) <yeti@physics.muni.cz>
    * src/locale_detect.c (detect_lang, locale_alias_convert):
      Fixed forgotten e_strdup -> enca_strdup.

2002-08-20  David Necas (Yeti) <yeti@physics.muni.cz>
    * ChangeLog, ChangeLog.prelib:
      Moved pre-library changelog to Changelog.prelib, started new one.

v0.10.0-pre1
2002-08-19  David Necas (Yeti) <yeti@physics.muni.cz>
    * Released v0.10.0-pre1
