Blame ChangeLog.prelib

Packit Service 366393
 # This is ChangeLog for changes before enca became a library.
Packit Service 366393
 # The new ChangeLog starts after that.
Packit Service 366393
 # Unfortunately, there's no ChangeLog for the transition.
Packit Service 366393
Packit Service 366393
 # Note: EVERYTHING as changed file means global change, i.e. `every file where
Packit Service 366393
 # this change was applicable was changed'.
Packit Service 366393
Packit Service 366393
2002-06-23 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/texts.c, src/common.h, src/options.c: define e_isatty() as portable
Packit Service 366393
      isatty in common.h, print help instead of wainting for input when stdin
Packit Service 366393
      is a tty
Packit Service 366393
Packit Service 366393
v0.9.4
Packit Service 366393
2002-03-04 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/printresult.c: fixed print_detailed_report() not to truncate charset
Packit Service 366393
      names in the table
Packit Service 366393
    * src/convert.c: put a no-op file_seek() after file_write() to make
Packit Service 366393
      subsequent file_read() work correctly (an ISO C ,feature`, not Enca's)
Packit Service 366393
Packit Service 366393
2002-03-03 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/convert.c: fixed convert_builtin() to convert whole files, not just
Packit Service 366393
      first 64kB
Packit Service 366393
Packit Service 366393
2001-08-16 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/options.c: removed strange `:' from start of short_options
Packit Service 366393
Packit Service 366393
2001-08-01 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/common.h: defined e_free(x) to set x to NULL after freeing it
Packit Service 366393
    * src/EVERYTHING: formal changes
Packit Service 366393
Packit Service 366393
v0.9.3
Packit Service 366393
2001-07-16 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * configure.in, m4/librecode.m4, m4/iconv.m4, src/Makefile.am,
Packit Service 366393
      src/epress.c: conversion libraries are put into CONVERTER_LIBS, so
Packit Service 366393
      epress doesn't link with them (they are included in enca_LDADD), LIBS
Packit Service 366393
      is not modified by librecode and iconv tests
Packit Service 366393
    * iconvcap.c: added program_name definition for the case it would link
Packit Service 366393
      with librecode (shouldn't happen)
Packit Service 366393
    * configure.in: added AC_AIX
Packit Service 366393
    * Makefile.am: added forgotten m4/crash-me to EXTRA_DIST
Packit Service 366393
    * src/encnames.c: --list=encodings prints only `known' encodings
Packit Service 366393
    * Makefile.am: added topline.sh (needed by update target) to dist
Packit Service 366393
    * updated docs
Packit Service 366393
Packit Service 366393
2001-07-15 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/lang.c: fixed giving random results due to usage of unitialized
Packit Service 366393
      memory in get_charsets()
Packit Service 366393
    * src/printresult.c: fixed using double instead of int for ambiguous and
Packit Service 366393
      multibyte flags in T_EncDetails structure
Packit Service 366393
    * src/guess.c, src/printresult.c, src/printresult.h: added
Packit Service 366393
      GUESS_QP_RESOLVED flag to be able to print logically consistent -d output
Packit Service 366393
      in case of quoted printables
Packit Service 366393
    * src/fileio.c, configure.in: include sys/stat.h unconditionally, we
Packit Service 366393
      cannot compile w/o it anyway, warning added to configure
Packit Service 366393
    * src/common.h: include both string[s].h and memory.h. instead of just one
Packit Service 366393
      of them
Packit Service 366393
    * src/common.h: define PACKAGE, VERSION, DEFAULT_EXTERNAL_CONVERTER and
Packit Service 366393
      DEFAULT_CONVERTER_LIST when don't have config.h to compile w/o it
Packit Service 366393
    * src/options.c: fixed too many \n's in feature list
Packit Service 366393
    * configure.in, src/texts.c: added isatty() and ttyname() test, defined
Packit Service 366393
      stdout_isatty(), pager is run only when we are able to positively say
Packit Service 366393
      stdout is a tty
Packit Service 366393
Packit Service 366393
2001-07-14 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/options.c, src/common.h, src/texts.c: made USE_PAGER a feature +pager
Packit Service 366393
    * m4/recode-bugs.m4: added TeX/..ISO-8859-2 recode crash test
Packit Service 366393
    * m4/iconv.m4, src/convert_iconv.c: added ICONV_ARG2_CONST test
Packit Service 366393
    * m4/typevar.m4, src/common.h, configure.in: removed the no longer needed
Packit Service 366393
      long long int test, mere long int is used for mathint
Packit Service 366393
    * configure.in: prepend "-Wall -pedantic" before CFLAGS when compiles is
Packit Service 366393
      GCC
Packit Service 366393
    * Makefile.am: add a new debian changelog entry when version or release
Packit Service 366393
      changes, otherwise update time of the current entry
Packit Service 366393
Packit Service 366393
2001-07-13 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/fileio.c, src/convert_recode.c: removed the no-buffering tricks
Packit Service 366393
      making it slightly faster on modern GNU/Linux, but much slower everywhere
Packit Service 366393
      else
Packit Service 366393
    * src/EVERYTHING: put back the #ifdef HAVE_CONFIG_H stuff
Packit Service 366393
    * src/texts.c: fixed typo expand_char() -> fputc() in poor man's compress
Packit Service 366393
    * src/common.c: added const to stpcpy() *p declaration to keep qualifiers
Packit Service 366393
    * m4/pager.m4, Makefile.am, configure.in, src/texts.c: test whether less
Packit Service 366393
      accepts -F, possibility to disable pager at all
Packit Service 366393
Packit Service 366393
v0.9.2
Packit Service 366393
2001-07-13 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/guess.c: fixed reporting `7bit ASCII characters' after a successfull
Packit Service 366393
      detection of a 7bit encoding (TeX, UTF-7)
Packit Service 366393
    * src/convert_recode.c: fixed typo HAVE_RECODEEXT_H -> HAVE_RECODEXT_H
Packit Service 366393
Packit Service 366393
2001-07-12 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/filters.c: fixed hdata->eid's comparsion before their initialization
Packit Service 366393
      in lang_hook_2cs() (so the hook was never run)
Packit Service 366393
    * src/convert_recode.c: more correct handling of the situation when we
Packit Service 366393
      realise we cannot seek in temporary file during recode failure recovery
Packit Service 366393
    * debian/Makefile.am, m4/Makefile.am, Makefile.am, configure.in: removed
Packit Service 366393
      the first two, debian/ generated by toplevel Makefile, m4/ is just
Packit Service 366393
      distributed
Packit Service 366393
    * Makefile.am, src/Makefile.am: replaced $< with literal file names, some
Packit Service 366393
      `make's don't always substitute first dependence name
Packit Service 366393
    * src/epress.c: added program_name definition to placate librecode
Packit Service 366393
    * src/common.h: stdlib.h and unistd.h are included unconditionally (we
Packit Service 366393
      depend on them anyway)
Packit Service 366393
    * src/texts.c: replaced the `is pager less?' test with a better one
Packit Service 366393
    * configure.in, acconfig.h, m4/EVERYTHING: put descriptions directly to
Packit Service 366393
      AC_DEFINE[_UNQUOTED]'s, almost get rid of acconfig.h
Packit Service 366393
    * src/EVERYTHING: don't trust make passing `-DHAVE_CONFIG_H -I..' to
Packit Service 366393
      compiler, #include "../config.h" unconditionally (we depend on it anyway)
Packit Service 366393
Packit Service 366393
2001-07-10 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * debian/, Makefile.am: created debian/ and modified the Makefile.am to
Packit Service 366393
      include it
Packit Service 366393
Packit Service 366393
2001-07-09 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * configure.in, enca.spec.in: added MAINTAINER variable which can be used
Packit Service 366393
      in rpm spec and debian/ files
Packit Service 366393
    * src/texts.c: fixed wrong prototype putchar() -> expand_char() when
Packit Service 366393
      no compressor is available
Packit Service 366393
    * src/texts.c, acconfig.h, configure.in: compressed texts are displayed
Packit Service 366393
      through a pager (if available)
Packit Service 366393
    * autogen.sh, README.devel: added and make a note about it
Packit Service 366393
Packit Service 366393
v0.9.1
Packit Service 366393
2001-06-25 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/guess.c: fixed possible overflow in UCS-4 test (slightly changing
Packit Service 366393
      what gets recognized as UCS-4)
Packit Service 366393
    * src/guess.c: implemented unusual byteorders (3412 and 2143) tests using
Packit Service 366393
      a single little-endian ucs-4 test what_if_it_was_ucs4() and shuffling
Packit Service 366393
      bytes around shuffle_byte_order(), the same for UCS-4 EOL type tests
Packit Service 366393
    * src/common.h: defined PVAR(f, v) [for debugging]
Packit Service 366393
    * updated docs
Packit Service 366393
    * packaged
Packit Service 366393
Packit Service 366393
2001-06-24 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/encnames.h, src/encnames.c, src/guess.c: renamed SURF_PER_12[34] to
Packit Service 366393
      more logical SURF_PER_[43]21
Packit Service 366393
Packit Service 366393
2001-06-02 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/efilter.c, src/Makefile.am, src/texts.c, src/common.h: created
Packit Service 366393
      efilter.c (filter making text files to compress better) and adding
Packit Service 366393
      reverse filter to texts.c
Packit Service 366393
    * m4/tolower.m4, configure.in, acconfig.h, src/common.h: define our own
Packit Service 366393
      implementation of tolower and similar unconditionally
Packit Service 366393
    * improved various docs
Packit Service 366393
    * BUGS, Makefile.am: generated from manual page section of the same name
Packit Service 366393
    * src/efilter.c, src/Makefile.am, src/texts.c, src/common.h: efilter was
Packit Service 366393
      funny experiment but not much useful, removed again
Packit Service 366393
Packit Service 366393
2001-06-01 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/getopt.c, src/getopt1.c, src/getopt_long.c, src/Makefile.am: removed
Packit Service 366393
      the first two and made getopt_long.c non-generated, removed some unneeded
Packit Service 366393
      stuff
Packit Service 366393
    * src/common.c: put broken-{m,c,re}alloc fixes into conditionals (but no
Packit Service 366393
      autoconf tests---I don't believe such a broken systems really do exist)
Packit Service 366393
Packit Service 366393
2001-05-28 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/options.c: fixed prepend_env() segfault, improved diagnostics
Packit Service 366393
    * revised temporary files usage, removed `/tmp bug' from docs
Packit Service 366393
    * convert.c, convert_iconv.c, convert_recode.c: renamed tmpfile variable
Packit Service 366393
      (synonymous to ISO function name) to tempfile, better not to tempt fate
Packit Service 366393
    * script/b-map, script/b-cstocs, script/b-recode: added umask 077
Packit Service 366393
Packit Service 366393
2001-05-27 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/encnames.c, src/encnames.h, man/enca.1: checks that all characters
Packit Service 366393
      in charset/surface names are from some set of allowed characters
Packit Service 366393
    * src/common.c: added hack for systems that fail on malloc(0) and similar
Packit Service 366393
Packit Service 366393
2001-05-20 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/epress.c: forgotten [ISO C99] int16_t changed to int
Packit Service 366393
    * src/filters.c, src/filters.h: added universal decide-between-2-cs hook
Packit Service 366393
    * src/lang_cs.c, src/lang_sk.c: modified to use the universal hook,
Packit Service 366393
      some formal changes
Packit Service 366393
    * src/lang_ru.c: added maccyr/cp1251 hook (via the universal)
Packit Service 366393
    * src/common.h, src/enca.c: sensible exit code (0, 1 or 2) returned
Packit Service 366393
    * src/convert.c: convert() returns ERR_* error codes instead of just 0, 1
Packit Service 366393
    * src/common.c, src/convert.c, src/convert_iconv.c, src/encnames.c,
Packit Service 366393
      src/fileio.c, src/lang.c, src/locale_detect.c, src/options.c,
Packit Service 366393
      src/texts.c: returned 2 on troubles
Packit Service 366393
    * updated docs
Packit Service 366393
Packit Service 366393
2001-05-18 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/license.c, src/license.h, src/texts.c, src/texts.h: renamed the
Packit Service 366393
      former to the latter
Packit Service 366393
    * src/epress.c, src/texts.c: implemented bzip2 and gz interface
Packit Service 366393
    * m4/compress.m4, configure.in: added tests for libbz2 and libz, the best
Packit Service 366393
      one found is used
Packit Service 366393
    * configure.in, src/Makefile.am, src/options.c: COPYING.c and HELP.c are
Packit Service 366393
      generated by epress and just linked with enca
Packit Service 366393
    * src/Makefile.am: put getopt_long.c into BUILT_SOURCES
Packit Service 366393
    * src/lang_ru.c, src/unicodemap.c, src/encnames.c: added maccyr charset
Packit Service 366393
    * Makefile.am: added hook to delete BUILT_SOURCES before making dist
Packit Service 366393
Packit Service 366393
2001-05-17 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/fileio.c: temporary files are created with umask 077
Packit Service 366393
Packit Service 366393
2001-05-06 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/epress.c, src/COPYING.h, src/Makefile.am: created license compressor
Packit Service 366393
    * src/license.c, src/options.c: license decompression and printing
Packit Service 366393
Packit Service 366393
2001-05-01 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * m4/librecode.m4, m4/recode-bugs.m4, m4/long-text.l2: put test for bugs to
Packit Service 366393
      recode-bugs.m4 (four bugs are checked, any will launch the warning)
Packit Service 366393
Packit Service 366393
2001-04-12 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * m4/librecode.m4, configure.in: added a test for broken recode (no
Packit Service 366393
      workaround [known], just prints a big warning message)
Packit Service 366393
Packit Service 366393
v0.9.0
Packit Service 366393
2001-03-26 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * just packaged
Packit Service 366393
Packit Service 366393
2001-03-25 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/convert.c: fixed reading only first file block in copy_and_convert()
Packit Service 366393
    * configure.in, src/EVERYTHING: memory.h test added, string/strings/memory
Packit Service 366393
      header file inclusion put into common.h
Packit Service 366393
    * src/fileio.c: fixed file_setvbuf() and file_open() (not enough magic)
Packit Service 366393
    * src/convert_recode.c: fixed not opening original file
Packit Service 366393
    * configure.in, src/convert_recode.c: added recodext.h test, is used when
Packit Service 366393
      available for setting diacritics_only and ascii_graphics flags
Packit Service 366393
    * src/convert_iconv.c: fixed not opening original file
Packit Service 366393
    * src/convert_iconv.c: fixed writing no output in iconv_one_step()
Packit Service 366393
    * src/convert.c: fixed intermixed child and parent process in
Packit Service 366393
      convert_external()
Packit Service 366393
    * src/fileio.c: added file_getline() requiring much less system calls
Packit Service 366393
      than GNU libc's fgets()
Packit Service 366393
    * src/locale_detect.c: fixed segfault when language detection failed
Packit Service 366393
    * m4/tools.m4, configure.in, acconfig.h, src/options.c: consolidated
Packit Service 366393
      autoconf macros regarding external converters
Packit Service 366393
    * man/enca.1: minor corrections
Packit Service 366393
Packit Service 366393
2001-03-24 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/encnames.c: added quoted printable surface
Packit Service 366393
    * src/guess.c: integrated quoted printable into the guessing process
Packit Service 366393
    * src/encnames.c, src/options.c: added print_public_surfaces() wrapper to
Packit Service 366393
      allow printing --human-readable list of surfaces
Packit Service 366393
    * src/lang_cs.c, src/lang_ru.c, src/lang_sk.c: replaced slovak and russian
Packit Service 366393
      statistical data with some new (hope better), some hardcoded array sizes
Packit Service 366393
      now computed from sizeof()
Packit Service 366393
    * iconvcap.c: cosmetical changes
Packit Service 366393
Packit Service 366393
2001-03-20 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/fileio.c, src/fileio.h, src/common.c, src/common.h: T_Buffer type
Packit Service 366393
      moved from fileio to common
Packit Service 366393
    * src/lang.c, src/lang.h, src/lang_cs.c, src/lang_ru.c, src/lang_sk.c:
Packit Service 366393
      use the new T_Buffer type
Packit Service 366393
    * configure.in: removed now-unused tests
Packit Service 366393
    * src/EVERYTHING: removed redundant header inclusion, ensured satisfying
Packit Service 366393
      header dependencies, try to use strings.h when string.h is not avaialble
Packit Service 366393
    * src/guess.c: fixed not initializing memory buffer
Packit Service 366393
    * src/options.c: exchagned -E and -C option letters (incompatibility!)
Packit Service 366393
    * src/guess.c: implemented quoted printable recognition (unused now)
Packit Service 366393
Packit Service 366393
2001-03-19 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/fileio.c, src/fileio.h: some more magic employed, only initiated
Packit Service 366393
      can use them now
Packit Service 366393
    * src/convert.c, src/convert_iconv.c, src/convert_recode.c, src/lang.c:
Packit Service 366393
      changed to use the new file i/o interface
Packit Service 366393
    * src/convert_iconv.c: fixed a memory leak
Packit Service 366393
Packit Service 366393
2001-03-18 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/fileio.c, src/fileio.h: finished implementation
Packit Service 366393
    * src/common.c, src/common.h: removed stuff belonging to fileio
Packit Service 366393
    * src/locale_detect.c, src/guess.c, src.guess.h, src/lang.h, src/enca.c,
Packit Service 366393
      src/convert.h: changed to use the new file i/o interface
Packit Service 366393
    * src/guess.c: UCS tests check remainder of file length instead of buffer
Packit Service 366393
      position (which is still used as a fallback in case of stdin)
Packit Service 366393
Packit Service 366393
2001-03-17 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * configure.in, script/b-cstocs, script/b-cstocs.in, script/b-map,
Packit Service 366393
      script/b-map.in, script/b-recode, script/b-recode.in, script/Makefile.am:
Packit Service 366393
      (I'm stupid) reverted the last change
Packit Service 366393
    * src/fileio.c, src/fileio.h: created (unique file i/o interface, at last)
Packit Service 366393
Packit Service 366393
2001-03-12 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * m4/tools.m4: AC_MSG_WARN is used to print warnings
Packit Service 366393
    * m4/iconv.m4: iconvenc.h is always created (the dark side is that iconv
Packit Service 366393
      usability is no longer cached)
Packit Service 366393
    * m4/tools.m4, configure.in, script/b-cstocs, script/b-cstocs.in,
Packit Service 366393
      script/b-map, script/b-map.in, script/b-recode, script/b-recode.in,
Packit Service 366393
      script/Makefile.am: external converters are located including path and
Packit Service 366393
      it's then used for configure-time substitution in the scripts
Packit Service 366393
Packit Service 366393
v0.9.0pre5
Packit Service 366393
2001-03-12 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/common.h, src/common.c, src/encnames.h, src/guess.c, src/options.c,
Packit Service 366393
      src/printresult.c, src/convert.c: eliminated rest of Settings, replaced
Packit Service 366393
      by module methods, except read_limit which is still global
Packit Service 366393
    * enca.spec.in: various improvements (see the spec file changelog)
Packit Service 366393
Packit Service 366393
2001-03-11 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/EVERYTHING: Settings.ProgName and Settings.Verbose made globals:
Packit Service 366393
      program_name and verbosity_level
Packit Service 366393
    * src/common.h, src/options.c, src/convert.c: Settings.ExtConverter made
Packit Service 366393
      convert.c module global extern_converter, set by set_external_converter()
Packit Service 366393
    * src/common.h, src/options.c, src/printresult.c: Settings.PreFName made
Packit Service 366393
      printresult.c module global extern_converter, set by
Packit Service 366393
      print_set_prefix_filename()
Packit Service 366393
Packit Service 366393
2001-03-10 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * enca.spec.in: use global cache file
Packit Service 366393
Packit Service 366393
2001-03-09 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * Makefile.am: (generated!) enca.spec included to distribution (rpm -tb)
Packit Service 366393
Packit Service 366393
2001-03-02 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * man/enca.1: spell-checked
Packit Service 366393
    * src/options.c: corrected available lists in --list= help
Packit Service 366393
Packit Service 366393
2001-02-28 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/lang.c: language is printed in lang_init() when verbose
Packit Service 366393
    * src/guess.c: all Latin, Cyrillic and Greek letters have equal weight in
Packit Service 366393
      UCS-2 and UCS-4 tests
Packit Service 366393
    * src/guess.c: fixed bad default endianess and initial makes-sense-check in
Packit Service 366393
      UCS-4 test
Packit Service 366393
    * src/printresult.c: UCS-* rating is printed, too
Packit Service 366393
Packit Service 366393
v0.9.0pre4
Packit Service 366393
2001-02-26 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * just packaged
Packit Service 366393
Packit Service 366393
2001-02-25 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/options.c, src/encnames.c, src/printresult.c: conversion from output
Packit Service 366393
      type to what-name is done in encnames.c, introduced new output types
Packit Service 366393
      and what-names ALIASES and NONE, --name=aliases prints list of aliases,
Packit Service 366393
      removed --list=aliases, --list=encodings is sensitive to value of --name=
Packit Service 366393
      instead, --list=names lists all valid --name= values, default output type
Packit Service 366393
      is now NONE (initialized after option processing when needed)
Packit Service 366393
    * updated rest of docs
Packit Service 366393
    * configure.in, m4/libm.m4: fixed `make install' fail due to dependance on
Packit Service 366393
      libtool: get rid of libtool dependance, created our own math library
Packit Service 366393
      test
Packit Service 366393
Packit Service 366393
2001-02-24 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * configure.in, acinclude.m4, m4/: removed acinclude.m4, created m4 dir and
Packit Service 366393
      put the definitions there
Packit Service 366393
Packit Service 366393
v0.9.0pre3
Packit Service 366393
2001-02-23 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/options.c: added --list=lists listing
Packit Service 366393
    * NEWS: updated
Packit Service 366393
    * man/enca.1: partly updated
Packit Service 366393
Packit Service 366393
2001-02-22 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * configure.in: added feature and failure lists
Packit Service 366393
    * acinclude.m4: cleanup, defined some *_ok variables for feature list,
Packit Service 366393
      fixed some `! test ... = ...' to `test ... != ...'
Packit Service 366393
    * srcipt/b-cstocs, srcipt/b-map, srcipt/b-recode: `#!/bin/bash' changed
Packit Service 366393
      to `#! /bin/sh' (even if I'm not sure whether the scripts are 100%
Packit Service 366393
      sh-compatible)
Packit Service 366393
    * iconvcap.c: initial ASCII test changed back to ISO-8859-1 since the
Packit Service 366393
      former is not supported on some systems (SunOS, IRIX, ...) having
Packit Service 366393
      otherwise-usable iconv
Packit Service 366393
    * src/getopt_long.c: generated from getopt.c and getopt1.c, but distributed
Packit Service 366393
      (mainly because automake is unable to understand something we have in
Packit Service 366393
      LIBOBJS can be generated...)
Packit Service 366393
Packit Service 366393
v0.9.0pre2
Packit Service 366393
2001-02-22 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * configure.in, src/Makefile.am: merged src/getopt.c and src/getopt1.c to
Packit Service 366393
      src/getopt_long.c to allow simple AC_REPLACE_FUNC() be used for
Packit Service 366393
      getopt_long optional build
Packit Service 366393
    * acinclude.m4: simplified iconv test and added check for libiconv
Packit Service 366393
Packit Service 366393
2001-02-21 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * Makefile.am: corrected iconvconf.h to iconvenc.h
Packit Service 366393
    * src/options.c: fixed undefined and misused ENCA_ENV_VAR when we don't
Packit Service 366393
      have wordexp() to parse it
Packit Service 366393
    * acinclude.m4: iconvenc.h is always created since I'm not able to explain
Packit Service 366393
      automake we don't need it when we don't have iconv
Packit Service 366393
Packit Service 366393
v0.9.0pre1
Packit Service 366393
2001-02-20 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/convert.c: trivial conversions from ASCII are carried out in built-in
Packit Service 366393
      converter
Packit Service 366393
    * src/EVERYTHING: cleaned terminology encoding vs. charset; encoding means
Packit Service 366393
      (charset,surface) pair
Packit Service 366393
    * src/options.c: converter names are case sensitive again
Packit Service 366393
    * config.h is included only when HAVE_CONFIG_H
Packit Service 366393
    * iconvenc.nul.h, acinclude.c, src/encnames.c: iconvenc.nul.h merged into
Packit Service 366393
      encnames.c (neede only there when !HAVE_ICONV)
Packit Service 366393
    * configure.in, src/getopt.c, src/getopt.h, src/getopt1.c, src/options.c:
Packit Service 366393
      added GNU getopt so long options can be used everywhere (needs testing)
Packit Service 366393
    * src/options.c: -m as complement to -M resets affected options to defaults
Packit Service 366393
Packit Service 366393
2001-02-19 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/common.h, src/options.c, src/printresult.c: added iconv name output
Packit Service 366393
      type, `-i' (only when HAVE_ICONV)
Packit Service 366393
    * src/options.c: `-n' changed to `-e'
Packit Service 366393
    * src/options.c: output types (except `-x') can be specified as -n NAME
Packit Service 366393
    * iconvcap.c: updated for the new encodings and changed ICONV_ prefix to
Packit Service 366393
      ICONV_NAME_, also changed the suffixes to pure alphanumeric, ISO-8859-1
Packit Service 366393
      test changed to ASCII
Packit Service 366393
    * src/convert_iconv.c: updated to the new encoding/surface model
Packit Service 366393
    * src/guess.c: try to detect swapped UCS-2 from the first byte pair, too
Packit Service 366393
    * src/options.c: pointer woodoo to comply ISO C in print_some_list(): one
Packit Service 366393
      more level of indirection in abbreviation table data
Packit Service 366393
    * src/options.c, src/encnames.c: iconv name output type defined always, but
Packit Service 366393
      when iconv names are not available error message is printed instead
Packit Service 366393
    * iconvconf.h, iconvenc.h: the former renamed to the latter
Packit Service 366393
    * iconvenc.h.nul: created. contains all iconv names defined to NULL
Packit Service 366393
    * acinclude.m4, src/encnames.c, src/convert_iconv.c: iconvenc.h is either
Packit Service 366393
      successfully generated by iconvcap or copied from iconvenc.h.nul so it
Packit Service 366393
      always exists and is always #included
Packit Service 366393
    * configure.in, src/options.c: getopt.h test (defines getopt_long(), etc.)
Packit Service 366393
    * src/common.c: expand_abbreviation() returns pointer to whole abbreviation
Packit Service 366393
      structure so it's possible to fetch the expanded name, too; all callers
Packit Service 366393
      changed
Packit Service 366393
    * script/bcstocs, script/brecode, script/b-cstocs, script/b-recode: the
Packit Service 366393
      first two renamed to the second two
Packit Service 366393
    * script/b-map: created. perl `map' wrapper
Packit Service 366393
Packit Service 366393
2001-02-18 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/common.c: e_tmpfd() now returns empty string a file name when fails
Packit Service 366393
    * src/options.c: max read limit increased to 16MB
Packit Service 366393
    * src/options.c: default converter list changed, now is
Packit Service 366393
      "built-in,librecode" for +librecode-interface, [+-]iconv-interface
Packit Service 366393
      "built-in,iconv" for -librecode-interface, +iconv-interface
Packit Service 366393
      "built-in" for -librecode-interface, -iconv-interface
Packit Service 366393
    * src/convert_recode.c: cleaned-up to use the new encoding/surface model
Packit Service 366393
    * src/convert.c, src/convert_common.h, src/convert_recode.c: request
Packit Service 366393
      formatting (either for printing or for recode requests) function
Packit Service 366393
      format_request_string()
Packit Service 366393
    * src/convert_recode.c: temporary copy of original file is not deleted
Packit Service 366393
      when rescue of damaged original fails (what a paranoia!)
Packit Service 366393
    * src/common.c: e_fopen() and e_fclose(), fopen() and fclose() wrappers,
Packit Service 366393
      unsed in various places
Packit Service 366393
    * src/EVERYTHING: perror(NULL) changed to perror("") since some C libraries
Packit Service 366393
      don't understand the former to print empty prefix string
Packit Service 366393
    * src/encnames.c, src/options.c: added `surfaces' to --list option
Packit Service 366393
    * src/convert.c: valid converter names are printed one per line
Packit Service 366393
    * src/encnames.c: added iconv name to T_EncInfo, all defined to NULL when
Packit Service 366393
      iconv interface is not build
Packit Service 366393
    * src/common.c: implemented abbreviation searching expand_abbreviation()
Packit Service 366393
    * src/options.c: print_some_list() uses the new abbreviation engine
Packit Service 366393
    * src/convert.c: add_converter() uses the new abbreviation engine (needed
Packit Service 366393
      some data types shake-up)
Packit Service 366393
    * src/lang.c: got rid of `initialization discards qualifier...' warnings
Packit Service 366393
      by shaking up with the consts (no functionality changed)
Packit Service 366393
Packit Service 366393
2001-02-17 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/common.h: surface type formalized to surfint (instead of uint16)
Packit Service 366393
    * src/encnames.c: implemented surface <-> name conversion
Packit Service 366393
    * src/encnames.c, src/guess.c: changed UCS surfaces to recode style
Packit Service 366393
    * src/options.c, src/enca.c: updated parse_x_arg(), removed
Packit Service 366393
      dull-converter-like beahviour
Packit Service 366393
    * src/locale_detect.c: get rid of str[c]spn() (they are ISO C, but autoscan
Packit Service 366393
      tries to convince me I should check for them), flag-table approach is
Packit Service 366393
      more efficient anyway
Packit Service 366393
    * src/common.c: commented out strstrcount() (not needed)
Packit Service 366393
    * src/encnames.c, src/encnames.h: empty surface SURF_REMOVE (to get only
Packit Service 366393
      "/" as surface name) (dirty)
Packit Service 366393
Packit Service 366393
2001-02-14 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/options.c: option letter space polluted by various listing options
Packit Service 366393
      cleaned by introducing --list=WORD (incompatible with previous -l usage)
Packit Service 366393
    * src/encnames.c: print_encoding_aliases() prints list of accepted encoding
Packit Service 366393
      aliases (`recode -l' style)
Packit Service 366393
    * src/encnames.c: encodings sorted alphabetically (by canonical name)
Packit Service 366393
    * src/lang.c, src/lang_cs.c, src/lang_sk.c, src/lang_ru.c: ability to
Packit Service 366393
      print what regular encodings belong to this particular language
Packit Service 366393
Packit Service 366393
2001-02-12 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/lang.c: fixed not initializing language filter report for language
Packit Service 366393
      `none'
Packit Service 366393
    * src/encnames.h, src/encnames.c: introduced ENCF_MULTI flag marking
Packit Service 366393
      multibyte encodings
Packit Service 366393
    * src/printresults: heavily improved details (but still misses surfaces)
Packit Service 366393
    * src/options.c: file name is printed with details except when user
Packit Service 366393
      specifically asks not to print it
Packit Service 366393
    * src/options.c: help texts updated
Packit Service 366393
    * src/encnames.c, src/printresults.c: cstocs names of encodings not known
Packit Service 366393
      to it changed to ???, but still printed the same in details
Packit Service 366393
    * src/defaults.h: removed. all definitions moved to appropriate C files
Packit Service 366393
      (or common.h)
Packit Service 366393
    * src/encnames.c, src/options.c, src/prinresult.c: removed option `-g'
Packit Service 366393
    * src/encnames.c: presqueezed aliases replaced by normal, we now squeeze
Packit Service 366393
      names when needed (with hashing it's OK), also changes canonical names
Packit Service 366393
    * config.h.top, configure.in: removed the former and add -D_GNU_SOURCE
Packit Service 366393
      directly to CFLAGS
Packit Service 366393
    * configure.in: removed warnings
Packit Service 366393
    * configure.in: integer type sizes tested only when system doesn't provide
Packit Service 366393
      stdint.h (and int's default changed to ISO C minimum)
Packit Service 366393
    * configure.in, acinclude.h: moved my tests to the latter (newly created)
Packit Service 366393
      to make the former more readable
Packit Service 366393
    * guess.c: TEX_* and UTF_* defines moved to appropriate functions (as const)
Packit Service 366393
    * guess.c: fixed missing print_flags_or() for language hooks (from ????)
Packit Service 366393
Packit Service 366393
2001-02-11 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/encnames.c: hashing is used to find encoding names
Packit Service 366393
    * src/options.c: fixed not recognizing output encoding (from 2000-02-02)
Packit Service 366393
    * src/unicodemap.c: `-l' prints each group on separate line
Packit Service 366393
Packit Service 366393
2001-02-10 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/guess.c: handle correctly case when a language has only one encoding
Packit Service 366393
    * src/guess.c: multibyte tests use count table for fast rejecting
Packit Service 366393
    * src/guess.c: surface detection, eol_surface()
Packit Service 366393
Packit Service 366393
2001-02-08 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/lang_ru.c, src/encnames.c, src/unicodemap.c: added IBM 866 charset
Packit Service 366393
    * src/filters.h: made ibm866 filter alias to keybcs2 filter (they're
Packit Service 366393
      identical)
Packit Service 366393
    * src/guess.c: saved stdin is not restored and `up' is not recomputed when
Packit Service 366393
      nothing was filtered out
Packit Service 366393
Packit Service 366393
2001-02-06 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/detect_lang.c, src/locale_detect.c: renamed the former to the latter
Packit Service 366393
    * src/filters.c, src/filters.h, src/lang_cs.c: first two created (language
Packit Service 366393
      filter repository) and all box-drawing filters moved there
Packit Service 366393
    * src/filters.c: added bow-draing filters for more encodings
Packit Service 366393
    * src/common.h, src/options.c, src/printresult.c: implemented -n output
Packit Service 366393
      type (prints `canonical' encoding name used internally in enca)
Packit Service 366393
    * src/lang_sk.c, src/lang_sk.h, src/lang_ru.c, src/lang_ru.h, src/lang.c,
Packit Service 366393
      src/encnames.c, src/unicodemap.c: added Slovak and Russian languages and
Packit Service 366393
      appropriate encodings
Packit Service 366393
    * src/unicodemap.c: introduced the idea of compatible encodings; LATIN2
Packit Service 366393
      and CYRILLIC groups defined
Packit Service 366393
    * all headers: revised header file dependencies
Packit Service 366393
    * src/lang.c, src/locale_detect.c: implemented the notion of no
Packit Service 366393
      language---when user sets language to `none' no regular encodings are
Packit Service 366393
      processed (so when you say `-UL none' only pure ascii gets recognized)
Packit Service 366393
    * src/options.c: fixed broken `-P' (an old bug)
Packit Service 366393
Packit Service 366393
2001-02-05 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/lang.c, src/lang.h, src/lang_cs.c, src/lang_cs.h: created the first
Packit Service 366393
      two and moved all regular encoding routines to them
Packit Service 366393
    * src/options.c: implemented language settings (added Language to Settings)
Packit Service 366393
Packit Service 366393
2001-02-04 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/unicodemap.c: is_subset_consistent() now uses translation table for
Packit Service 366393
      checking
Packit Service 366393
    * src/guess.c: incorporated multibyte encodings into the guessing process
Packit Service 366393
    * src/guess.c: implemented an absolute likehood test of the applied to the
Packit Service 366393
      relative winner
Packit Service 366393
Packit Service 366393
2001-02-03 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/common.c, src/common.h: introduced type flagint for tables of flags
Packit Service 366393
      (defined as short int), all callers changed
Packit Service 366393
    * src/options.c: fixed accepting invalid option values, ReadLimit must be
Packit Service 366393
      a multiple of 4 (to make UCS tests more reliable)
Packit Service 366393
    * src/guess.c, src/printresult.c: added number of 8bit's (up) to details
Packit Service 366393
    * src/guess.c: finished is_valid_utf8(), is_valid_utf7(), looks_like_tex(),
Packit Service 366393
      looks_like_ucs2() and looks_like_ucs4() tests (except surfaces)
Packit Service 366393
Packit Service 366393
2001-02-02 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/unicodemap.c: added many missing characters to maps
Packit Service 366393
    * src/unicodemap.c: shortened maps by starting them from first character
Packit Service 366393
      that doesn't map to itself
Packit Service 366393
    * src/options.c: finally removed old dull-conversion syntax
Packit Service 366393
    * src/options.c, configure.in: long `GNU style' options---when
Packit Service 366393
      getopt_long() function is available, configure test added
Packit Service 366393
    * src/options.c, configure.in: program_invocation_short_name is used when
Packit Service 366393
      offered by system, otherwise strip_path() is used to make it
Packit Service 366393
    * src/options.c, configure.in: value of environment variable ENCAOPT is
Packit Service 366393
      prepended before command line options---when wordexp() function is
Packit Service 366393
      available, configure test added
Packit Service 366393
Packit Service 366393
2001-02-01 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/EVERYTHING: encoding are no longer identified by name, but integer
Packit Service 366393
      eid is used; T_Encoding contains---beside eid---surface, but it's not
Packit Service 366393
      used for anything yet
Packit Service 366393
    * implemented name squeezing and alias recognition---almost any sensible
Packit Service 366393
      (and a whole bunch of stupid) encoding identifier is recognized
Packit Service 366393
    * introduced new, less stupid, `canonical' names---passed to external
Packit Service 366393
      converter and looked-up faster than the others
Packit Service 366393
    * src/guess.c, src/enca.c, src/printresult.c: result is passed as
Packit Service 366393
      T_Encoding type
Packit Service 366393
    * src/guess.c, src/printresults.c, src/lang_cs.c: print implemented as
Packit Service 366393
      `object', guess details are fed by different functions when needed
Packit Service 366393
      (no globals and circular dependencies anymore)
Packit Service 366393
    * src/printresults.c: mapping from output type to encoding name is used
Packit Service 366393
      instead of ugly switch ()
Packit Service 366393
    * src/unicodemap.c: character 0xa4 from koi8cs2 converted to tilde (0x7f)
Packit Service 366393
    * src/options.c: refuse to serve as a dull converter when input encoding
Packit Service 366393
      is not known to us
Packit Service 366393
    * src/common.c, configure.in: implemented stpcpy() when not provided by
Packit Service 366393
      system (configure test added)
Packit Service 366393
    * src/guess.c, src/enca.c: 7bit ascii is no longer discriminated and no
Packit Service 366393
      longer causes enca return nonzero error code
Packit Service 366393
Packit Service 366393
2001-01-30 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/langdata_cs.c, src/langhook_cs.c, src/lang_cs.c: the first two merged
Packit Service 366393
      to the third containing [almost?] all language specific stuff
Packit Service 366393
Packit Service 366393
2001-01-29 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/encnames.c: created. (language independent encoding name handling)
Packit Service 366393
Packit Service 366393
2001-01-28 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/common.h, configure.in: tests for stdint.h and integer type sizes
Packit Service 366393
      used to define uint16 and uint32
Packit Service 366393
    * src/unicodemap.c: changed map storage type to uint16 thus saving several
Packit Service 366393
      kilobytes, removed need for an empty last table
Packit Service 366393
    * src/guess.c: added looks_like_ucs2(), looks_like_ucs4() and partially
Packit Service 366393
      looks_like_utf7()
Packit Service 366393
Packit Service 366393
2001-01-27 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/guess:c reimplemented look_like_TeX() in a more efficient way
Packit Service 366393
    * src/EVERYTHING: static file globals used only in one function moved into
Packit Service 366393
      the appropriate function
Packit Service 366393
    * man/enca.1: made more human readable, different macros are used
Packit Service 366393
Packit Service 366393
2001-01-26 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/detect_lang.c, src/detect_lang.h: detect_lang() accepts string
Packit Service 366393
      parameter now
Packit Service 366393
    * src/guess.c: implemented utf-8 parse test is_valid_utf8() and
Packit Service 366393
      (La)TeX-encoded accents test look_like_TeX()
Packit Service 366393
Packit Service 366393
2001-01-25 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * src/detect_lang.c, src/detect_lang.h, src/Makefile.am, src/defaults.h:
Packit Service 366393
      guessing user's preferred language from locale (not used yet)
Packit Service 366393
    * configure.in, acconfig.h: implemented check for locale.alias
Packit Service 366393
Packit Service 366393
v0.7.7
Packit Service 366393
2001-01-01 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * e_read4() now consistently sets number of bytes in buffer to zero even
Packit Service 366393
      when reading of zero bytes is requested (seems to break nothing, but...)
Packit Service 366393
    * documentation synchronized
Packit Service 366393
Packit Service 366393
2000-12-31 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * `none' is accepted as converter name and causes clearing the converter
Packit Service 366393
      list
Packit Service 366393
    * finished iconv interface
Packit Service 366393
    * changed some messages, hope no one parses them
Packit Service 366393
    * ssize_t availability checked by configure
Packit Service 366393
Packit Service 366393
2000-11-29 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * long long int availability is now explicitely checked by configure
Packit Service 366393
    * unsigned char -> byte
Packit Service 366393
    * implemented e_write4() and e_read4() that allow to specify buffer address
Packit Service 366393
      and size (e_read_with_limit replaced by e_read4())
Packit Service 366393
    * fixed files closed twice in copy_and_convert()
Packit Service 366393
    * fixed bad return value tests for e_read() and e_write() in
Packit Service 366393
      copy_and_convert()
Packit Service 366393
    * implemented iconv_one_step() and enc_trans() for iconv, so it is almost
Packit Service 366393
      usable on iconv-transitive (GNU) systems now
Packit Service 366393
Packit Service 366393
2000-11-28 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * iconv transitivity is now explicitely checked by iconvcap instead of
Packit Service 366393
      checking for gconv
Packit Service 366393
Packit Service 366393
2000-11-26 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * misspelled `Europian' corrected to `European' in macce long name
Packit Service 366393
Packit Service 366393
2000-11-21 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * fixed some nonsubstantial stuff, redundant #includes, docs and comments
Packit Service 366393
      forgotten in too hastily released v0.7.6
Packit Service 366393
    * convert_iconv.c separated from convert.c
Packit Service 366393
Packit Service 366393
v0.7.6
Packit Service 366393
2000-11-20 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * unicode mapping data made NULL terminated instead of fixed-length
Packit Service 366393
    * discovered bug in gcc :-(
Packit Service 366393
    * all upper-half-of-ascii structures promoted to 256 characters (too many
Packit Service 366393
      changes to record here)
Packit Service 366393
    * support for cork encoding ceased
Packit Service 366393
    * help text updated and divided to sections (thus fixing warning about
Packit Service 366393
      too long, ISO C violating, string)
Packit Service 366393
    * get_in_enc_list() and get_converters() changed to print_* printing the
Packit Service 366393
      lists, called directly from process_opt()
Packit Service 366393
    * convert_recode.c separated from convert.c to make the amount of #if's
Packit Service 366393
      bearable
Packit Service 366393
    * encoding list made NULL terminated instead of fixed-length
Packit Service 366393
    * reversed order of generating recoding table so, character with lowest
Packit Service 366393
      8bit code is always outputed for synonyms (instead of highest)
Packit Service 366393
    * implemented converter flags CONV_EXTERN, we do not try to recover after
Packit Service 366393
      external converter failure, since it's impossible by definition
Packit Service 366393
    * xlat table cache bubble sorting on use
Packit Service 366393
    * man page and other documentation synchronized
Packit Service 366393
Packit Service 366393
2000-11-19 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * a simple test suite introduced in test/ (not distributed)
Packit Service 366393
    * fixed stupid || -> && bug in e_close() causing failure in pipes
Packit Service 366393
    * copy_and_convert() now processes what is saved in io_buffer always when
Packit Service 366393
      called on stdin (not only when recoding is done too), this fixes bug in
Packit Service 366393
      conversion to the same encoding in pipe
Packit Service 366393
    * fixed comparing return value of e_tmpfd() with zero (instead of -1)
Packit Service 366393
      causing not calling external converter in redirection
Packit Service 366393
    * stdin is always copied to stdout when we are not able to perform
Packit Service 366393
      conversion, irregardles of reason
Packit Service 366393
    * some error messages improved
Packit Service 366393
Packit Service 366393
2000-11-18 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * it's up to every converter to translate cstocs encoding names to its
Packit Service 366393
      native names---implemented recode's enc_trans(), others use cstocs
Packit Service 366393
    * rearranged converters to work in any order as expected, implemented ERR_*
Packit Service 366393
      (internal) error codes in convert.c
Packit Service 366393
    * implemented -c printing list of all valid converter names
Packit Service 366393
      (get_converters())
Packit Service 366393
    * implemented e_tolower that cannot fail (and appropriate autoconf test)
Packit Service 366393
    * split process_opt() to make less monster from it
Packit Service 366393
    * error messages begin with enca file name without path (strip_path())
Packit Service 366393
    * some preliminary iconv support, the converter doesn't actually exist yet
Packit Service 366393
    * errorneous values of most commandline parametres no longer cause enca to
Packit Service 366393
      abort
Packit Service 366393
    * request cache bubble sorting on use
Packit Service 366393
Packit Service 366393
2000-11-16 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * fixed destroying outer and request after every use
Packit Service 366393
    * implemented librecode request chache optimization
Packit Service 366393
    * implemented e_unlink()
Packit Service 366393
    * any converter combination/order can be specified on command line with
Packit Service 366393
      -E option (meaning changed!)
Packit Service 366393
    * external converter failure made non-fatal
Packit Service 366393
Packit Service 366393
2000-11-14 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * bcstocs and brecode return exit status and message is printed when it
Packit Service 366393
      fails
Packit Service 366393
Packit Service 366393
2000-11-05 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * made iconv configure test, all configure results are cached
Packit Service 366393
Packit Service 366393
2000-10-31 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * config.h is always included first (even before system headers)
Packit Service 366393
Packit Service 366393
2000-10-30 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * fixed freeing not allocated request in convert_recode()
Packit Service 366393
    * implemented some more verbosity in converter
Packit Service 366393
    * strstr() alternative moved to common.c
Packit Service 366393
    * implemented strstrcount() conting occurences of needle
Packit Service 366393
    * '/' is added after both in_enc and out_enc when creating recode request
Packit Service 366393
      string, partially helps with touchy librecode, but sometimes it fails
Packit Service 366393
      anyway
Packit Service 366393
    * monstrous convert_recode() split to several functions, nevertheless
Packit Service 366393
      remains monstrous
Packit Service 366393
Packit Service 366393
2000-10-25 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * more autoconf madness
Packit Service 366393
Packit Service 366393
v0.7.5
Packit Service 366393
2000-10-25 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * strstr() defined in options.c when not provided by system library
Packit Service 366393
Packit Service 366393
2000-10-22 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * copying policy changed to GNU/GPL version 2, explicitely, instead of
Packit Service 366393
      version 2 or any later version
Packit Service 366393
    * librecode autoabort feature finally disabled
Packit Service 366393
    * fixed request cache initialization bug
Packit Service 366393
    * fixed O_RDONLY zero/nonzero portability problem
Packit Service 366393
    * convert_recode() restores file from temporary copy when librecode
Packit Service 366393
      converter fails
Packit Service 366393
    * encoding names are not duplicated but assigned in get_encodings()
Packit Service 366393
    * heavy use of const modifier (too many changes to record here)
Packit Service 366393
    * solved cyclic dependancy between langdata and langhook headers by making
Packit Service 366393
      hookdata plain pointer (i.e. void*) and moving T_HookData definition
Packit Service 366393
      to .c file
Packit Service 366393
Packit Service 366393
2000-10-18 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * removed ffname_[rw]() filename wrapper in cases we cannot get stdin/stdout
Packit Service 366393
      (like e_lseek())
Packit Service 366393
    * stdin/stdout is internally passed as NULL (instead of empty string) so
Packit Service 366393
      one can no longer call enca '' '' to make it wait for several stdin's
Packit Service 366393
    * return values of recode_new_outer() and recode_new_request() are checked
Packit Service 366393
    * implemented librecode request caching, outer is now global and new
Packit Service 366393
      request_cache too, neverhteless caching strategy is poor
Packit Service 366393
    * implemented e_strdup() (strdup()) is not ISO/POSIX) and heavily used
Packit Service 366393
      instead of strlen/malloc/strcpy sequences
Packit Service 366393
Packit Service 366393
2000-10-15 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * fixed closing stderr in e_close() (though calling it with filedescriptor 2
Packit Service 366393
      would be bug anyway)
Packit Service 366393
    * cleaned types of variables library functions are called with
Packit Service 366393
      (unsigned long int -> size_t, etc.)
Packit Service 366393
    * unsigned long long int is used when available for weight/occurence
Packit Service 366393
      computations, mathint type introduced
Packit Service 366393
    * cleaned names possibly conflicting with POSIX reserved names and libc
Packit Service 366393
      header reserved names
Packit Service 366393
    * recode_scan_request() return value is now checked for success
Packit Service 366393
    * fails back to external converter when librecode cannot convert due to
Packit Service 366393
      errorneous request (as one would understand from man page)
Packit Service 366393
    * prints error message when conversion is impossible
Packit Service 366393
    * merged all file-copying code in convert.c to copy_and_convert(),
Packit Service 366393
      convert_internal_stdin() optimized out of existence
Packit Service 366393
    * return codes in convert.c changed, -1 is now returned as error code only
Packit Service 366393
      by low level i/o from common.c
Packit Service 366393
    * get/generate_xtable() are no longer able to generate identity (not needed)
Packit Service 366393
Packit Service 366393
2000-10-14 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * cleaned some T_GResult.boxout residua
Packit Service 366393
    * addresses of language filter/hook reports printing functions passed in
Packit Service 366393
      T_GResult
Packit Service 366393
    * some #include <...> corrected to "..." for local files
Packit Service 366393
    * corrected filter reports in SMS mode
Packit Service 366393
Packit Service 366393
2000-10-13 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * binary filter is more drastic, requires BIN_MIN_TEXT_CHAR letters
Packit Service 366393
      (instead of non-binary characters) to switch back to text mode
Packit Service 366393
Packit Service 366393
v0.7.4
Packit Service 366393
2000-10-11 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * fixed behaviour in SMS mode (mismatched if([!]Settings.SMSMode); might
Packit Service 366393
      even cause coredumps?)
Packit Service 366393
    * implemented box-drawing character filter filter_boxdraw_out() and put it
Packit Service 366393
      into langdata_cz.c, again with interface lang_filter(); not run in SMS
Packit Service 366393
      mode (printresults.c updated accordingly)
Packit Service 366393
Packit Service 366393
v0.7.3
Packit Service 366393
2000-10-08/09 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * fixed reading only 4096 bytes from pipe (by a crude way, even if trying to
Packit Service 366393
      lower number of system calls as much as possible) from 0.7.1
Packit Service 366393
    * regenerated data (hope last time) and realized pair/... based guessing
Packit Service 366393
      is nonsense
Packit Service 366393
    * implemented filter that filters out blocks of probably binary data (stdin
Packit Service 366393
      is saved when conversion is required), filter_binary_out() number of
Packit Service 366393
      filtered characters is printed by -d
Packit Service 366393
    * stdin is copied to stdout when its encoding is unknown (much more logical,
Packit Service 366393
      but can break existing scripts)
Packit Service 366393
Packit Service 366393
v0.7.2
Packit Service 366393
2000-10-05 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * corrected F_EMPTY message (F_EMPTY now really means file is empty)
Packit Service 366393
    * second best is marked in -d output by `-' (added p_esec to T_GResult)
Packit Service 366393
Packit Service 366393
2000-10-04 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * *_cs filenames corrected to *_cz (Czechoslovakian -> Czech)
Packit Service 366393
    * lang_hook() divided to interface lang_hook() and lang_hook_stz() doing
Packit Service 366393
      the real work (preparation for more langhooks)
Packit Service 366393
    * information about active language hooks saved in active_hooks (for
Packit Service 366393
      printing)
Packit Service 366393
    * perhaps solved language hook info printing dependency (when -d): new
Packit Service 366393
      function print_lang_hook_data() is defined directly in langhook_cz and
Packit Service 366393
      called in print_results
Packit Service 366393
Packit Service 366393
2000-10-02/03 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * recoding chains made possible by starting -x parameter with `..'
Packit Service 366393
    * BSD [s]random() changed to ISO [s]rand()
Packit Service 366393
    * fixed all remaining warnings except 1.4 kB long string containing help
Packit Service 366393
      text (compile tried with -Werror -Wall -pedantic -ansi
Packit Service 366393
      -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
Packit Service 366393
      -Wnested-externs)
Packit Service 366393
Packit Service 366393
v0.7.1
Packit Service 366393
2000-10-01 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * moved to low level i/o: e_fopen() changed to e_open(), etc., e_write(),
Packit Service 366393
      etc. introduced, convert_die() abadoned
Packit Service 366393
    * return codes slightly changed to distinguish between guessing failure
Packit Service 366393
      and i/o failure
Packit Service 366393
    * get_xtable() and generate_xtable() changed to be able to generate identity
Packit Service 366393
      (that is then used in convert_internal_stdin())
Packit Service 366393
    * not all i/o failures cause aborting
Packit Service 366393
    * documentation improvements and corrections, as usual
Packit Service 366393
Packit Service 366393
2000-09-30 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * temporary file creation is tried 3x and existing temporary files are not
Packit Service 366393
      overwirtten
Packit Service 366393
Packit Service 366393
v0.7.0
Packit Service 366393
2000-09-25/26 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * removed option `disable external converter' (-e), empty -C parameter
Packit Service 366393
      can be used instead
Packit Service 366393
    * e_tmpf() divided to e_tmpf() creating the file and e_tmpfname() generating
Packit Service 366393
      temporary file name
Packit Service 366393
    * fixed memory leak (not freeing tmpfname) in convert_recode() and
Packit Service 366393
      convert_external()
Packit Service 366393
    * man page updated
Packit Service 366393
Packit Service 366393
2000-09-24/25 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * fixed io_pos == 0 bug when enca converts stdin as dull converter
Packit Service 366393
    * unicode.* renamed to unicodemap.*
Packit Service 366393
    * -x encoding separator changed to .. to be compatible with recode and
Packit Service 366393
      comply RFC 1345 (allowing comma in encoding names)
Packit Service 366393
    * multiple .. allowed in -x argument to make possible specify recode chains
Packit Service 366393
      (but only recode understand them)
Packit Service 366393
    * ffname() divided to ffname_r() and ffname_w(), one returns stdin name one
Packit Service 366393
      stdout name
Packit Service 366393
    * implemented convert_recode() converting via recode library
Packit Service 366393
    * conditionaly added program_name and other stuff requred by librecode
Packit Service 366393
    * == changed to = in bcstocs and brecode to make them work in older bash
Packit Service 366393
    * conversion to the same encoding no longer causes warnings
Packit Service 366393
    * conversion to the same encoding works correctly even for stdin
Packit Service 366393
    * ascii no longer considered unknown encoding
Packit Service 366393
    * introduced verbose option (-V), converter now prints what is doing on
Packit Service 366393
      -V not on -p
Packit Service 366393
    * librecode interface _disabled_ by default in configure.in
Packit Service 366393
Packit Service 366393
2000-09-23/24 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * two underscores removed from begin (and end) of #defines to comply ISO C
Packit Service 366393
    * guess read buffer and convert read/write buffer merged (the same applies
Packit Service 366393
      to BUFFER_SIZE and Settings.ReadLimit) and this io_buffer made persistent
Packit Service 366393
      (created by new functions enca_init(), destroyed by enca_done()) so
Packit Service 366393
      information from stdin does not get lost
Packit Service 366393
    * user specified read limit is rounded up to nearest multiple of 16
Packit Service 366393
    * convert_internal() splitted to convert_internal_file() and
Packit Service 366393
      convert_internal_stdin(), that converts stdin to stdout
Packit Service 366393
    * introduced e_tmpf() creating temporary files since none of glibc functions
Packit Service 366393
      does The Right Thing (execept maybe non-POSIX tempnam())
Packit Service 366393
    * convert_external() creates temporary file and put stdin there if stdin is
Packit Service 366393
      to be converted and passes `-' as fourth parameter to converter
Packit Service 366393
      instructing it to send output to stdout
Packit Service 366393
    * bcstocs and brecode rewritten to recognize the fourth parameter and put
Packit Service 366393
      under GNU GPL
Packit Service 366393
    * a new output type OT_ALIAS (option -g) introduced that lists all known
Packit Service 366393
      aliases and -f does approximately the same as in 0.6 serie again
Packit Service 366393
    * resloved strange dependencies between langdata and langhook
Packit Service 366393
    * fixed e_tmpf() passing-by-value bug
Packit Service 366393
    * encoding names specified as -x parameters are converted to lowercase
Packit Service 366393
    * fixed terrible typo || -> && in bcstocs and brecode
Packit Service 366393
Packit Service 366393
2000-09-22/23 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * introduced recode wrapper script, brecode
Packit Service 366393
    * introduced is_subset_consistent() checking if characters have the same
Packit Service 366393
      meaning in two encodings (unfortunately makes guess.c dependent on
Packit Service 366393
      unicode.h)
Packit Service 366393
    * implemented -M (by function sms_hook())
Packit Service 366393
    * activation and usefulness of sms_hook() reported by -d
Packit Service 366393
    * added Cork encoding to unicode.c to make -M useful (but conversion from/to
Packit Service 366393
      Cork is still quite bad, and should be done by cstocs/librecode only)
Packit Service 366393
    * implemented e_malloc(), e_calloc() and e_realloc() aborting on failure,
Packit Service 366393
      declared free() in common.h, defined NEW() allocator [this one is really
Packit Service 366393
      braindead]
Packit Service 366393
Packit Service 366393
2000-09-21/22 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * fixed not-initalizing-encoding-table coredump
Packit Service 366393
    * added new output type OT_RFC1345 (option -r), some OT's renamed
Packit Service 366393
    * added -r and -M options (-M accepted, but not implemented yet)
Packit Service 366393
    * prefixing with filename is now on by default when run on more than one
Packit Service 366393
      file
Packit Service 366393
    * added RFC 1345 names and in consequence renamed name* memebers of
Packit Service 366393
      S_EncRaw and S_EncStat to keep namespace consistent
Packit Service 366393
    * much more (in fact all known) aliases listed in full names -- maybe too
Packit Service 366393
      many
Packit Service 366393
    * in detailed output is now file name printed on the top and cstocs and RFC
Packit Service 366393
      1345 names are printed separately in (bottom) result part
Packit Service 366393
    * hook name is not fixed, but part of langdata_cs.c (still not very clean,
Packit Service 366393
      though)
Packit Service 366393
Packit Service 366393
2000-09-17/18 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * moved to autoconf/automake (not respected by the C sources yet)
Packit Service 366393
    * reorganized to deep package
Packit Service 366393
    * fixed `cd . && pwd` bug in automake :-(
Packit Service 366393
    * old config.h renamed to defaults.h
Packit Service 366393
    * rawdata.c and rawuni.c merged with encdata.c and encuni.c mainly to avoid
Packit Service 366393
      problems with automake
Packit Service 366393
    * bcstocs now prints error message when it fails, to make things clear
Packit Service 366393
    * encopt* renamed to options*, encuni* to unicode* and encdata* to
Packit Service 366393
      langdata*
Packit Service 366393
    * enca.c split to convert.c, guess.c, printresult.c and langhook.c,
Packit Service 366393
      header files introduced, some functions renamed and their parameters
Packit Service 366393
      changed (too many changes to list here)
Packit Service 366393
      (greetings to Halef)
Packit Service 366393
    * process_file() now only controls what actions should be taken and no
Packit Service 366393
      longer does anything itself
Packit Service 366393
    * print_results() no longer calls converter, this is done in process_file()
Packit Service 366393
    * results of guessing passed encapsulated in struct S_GResult
Packit Service 366393
    * language specific files (lang*) got _cs extension
Packit Service 366393
    * HELP_TEXT and VERSION_TEXT defined as strings instead of macros
Packit Service 366393
    * common stuff moved to common.c/common.h
Packit Service 366393
      [enca now compiles but doesn't work yet]
Packit Service 366393
Packit Service 366393
v0.6.2
Packit Service 366393
2000-08-17 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * help texts (-h and -v) improved, thanx to Halef
Packit Service 366393
    * some other minor changes in docs
Packit Service 366393
Packit Service 366393
v0.6.1
Packit Service 366393
2000-08-15 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * tarball repacked with files encuni.c, rawuni.c, rawuni.h missing in
Packit Service 366393
      0.6.0 tarball
Packit Service 366393
    * bcstocs magic line changed to #!/bin/bash
Packit Service 366393
    * TODO updated to reflect current work on 0.7
Packit Service 366393
Packit Service 366393
v0.6.0
Packit Service 366393
2000-07-20 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * formal changes in rawdata.c
Packit Service 366393
    * internal converter implemented (rawuni.c, encuni.c, enca.c)
Packit Service 366393
    * -x can now take form -x in_enc,out_enc
Packit Service 366393
    * introduced options -e and -E
Packit Service 366393
    * introduced option -l
Packit Service 366393
    * READLIMIT_MAX changed back to 1MB
Packit Service 366393
    * man page improved(?)
Packit Service 366393
Packit Service 366393
v0.5.0
Packit Service 366393
2000-07-17 Yeti<yeti@physics.muni.cz>
Packit Service 366393
    * waits for converter to return (much slower conversion, but doesn't
Packit Service 366393
      produce `cannot fork()'s)
Packit Service 366393
    * -p makes -x print what is doing
Packit Service 366393
    * fixed `Unrecognized encoding' when winner is 1250 (from 0.4.3)
Packit Service 366393
    * _exit() in converter caller corrected to exit() since we don't use
Packit Service 366393
      vfork()
Packit Service 366393
    * use EXIT_SUCCESS and EXIT_FAILURE instead of 0 and 1
Packit Service 366393
    * aborts when it cannot close open file (since it means something very
Packit Service 366393
      bad is happening)
Packit Service 366393
    * added forgotten z-with-check to il2/1250 hack
Packit Service 366393
    * il2/1250 hack put to separate function
Packit Service 366393
    * (minimalistic) config.h introduced
Packit Service 366393
    * READLIMIT_MAX put to config.h and changed to 4MB
Packit Service 366393
    * recomputed statistical data (probably not the last time)
Packit Service 366393
    * also other defaults put to config.h
Packit Service 366393
    * corrected -d table alignment
Packit Service 366393
    * fixed not initializing significancy table
Packit Service 366393
    * added -f to cp and rm in Makefile
Packit Service 366393
    * some other code clean-ups
Packit Service 366393
Packit Service 366393
v0.4.3
Packit Service 366393
2000-07-14 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * corrected short encoding name t1 -> cork
Packit Service 366393
    * corrected some dividing by zero resulting inf/nan rating
Packit Service 366393
    * il2/1250 hack made more logical
Packit Service 366393
    * -d prints encodings alphabetically sorted
Packit Service 366393
    * significancy table is computed only once
Packit Service 366393
Packit Service 366393
v0.4.2
Packit Service 366393
2000-07-13 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * removed options -m/-M since it's nonsense to maintain something marked
Packit Service 366393
      `do not use' in man page
Packit Service 366393
    * -p now shows stdin as <STDIN>, instead of empty string
Packit Service 366393
    * ascii and ??? made `encodings'
Packit Service 366393
    * bcstocs doesn't depend on mktemp
Packit Service 366393
    * some other code clean-ups
Packit Service 366393
Packit Service 366393
v0.4.1
Packit Service 366393
2000-07-12 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * silly default of 60 significant characters changed to 10
Packit Service 366393
    * minor bugfixes and corrections
Packit Service 366393
Packit Service 366393
v0.4.0
Packit Service 366393
2000-07-10 Yeti <yeti@physics.muni.cz>
Packit Service 366393
    * rewritten from scratch in ISO C