diff options
Diffstat (limited to 'ChangeLog.txt')
-rw-r--r-- | ChangeLog.txt | 172 |
1 files changed, 172 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 730d59c..6c8d4ab 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,175 @@ +2015-08-24 Erwin Waterlander <waterlan@xs4all.nl> + * Version 7.3 + +2015-08-15 Erwin Waterlander <waterlan@xs4all.nl> + * common.c: Fix: Options -ul and -ub caused option -i to + report wrong BOM for no_bom. + * test: Added two new tests for combination of -ul/-ub with -i. + +2015-08-13 Erwin Waterlander <waterlan@xs4all.nl> + * man/man1/dos2unix.pod: Small update on option -D. + +2015-08-10 Erwin Waterlander <waterlan@xs4all.nl> + * common.c: Default method for printing Unicode can be changed with + environment variable DOS2UNIX_DISPLAY_ENC. + * man/man1/dos2unix.pod: Small update on option -D. + * test/testu16.c: Added a small test that demonstrates that redirecting + UTF-16 stdout to a file creates a corrupt UTF-16 file. + +2015-08-08 Erwin Waterlander <waterlan@xs4all.nl> + * man/man1/dos2unix.pod: Small update on option -D. Added tip for recursive + conversion in a Windows Command Prompt. + +2015-08-06 Erwin Waterlander <waterlan@xs4all.nl> + * man/man1/dos2unix.pod: Updated section "Unicode file names on Windows" + and described new option -D, --display-enc. + +2015-08-05 Erwin Waterlander <waterlan@xs4all.nl> + * common.c: New option -D, --display-encoding, to set the encoding used + for the text messages displayed in the Windows console. Possible + values are: ansi, unicode, utf8. + +2015-08-01 Erwin Waterlander <waterlan@xs4all.nl> + * common.c: Renamed d2u_printf() to d2u_fprintf(). + * common.c: Fix d2u_fprintf() to work correctly when Native Language + Support is enabled. + * common.c: New function d2u_ansi_fprintf() to redirect also non-Unicode + messages to d2u_fprintf(), to have consistent output. + * *.c: Replace all fprintf() with d2u_fprintf() or d2u_ansi_fprintf(). + * man/man1/dos2unix.pod: Added a new section "Unicode file names on Windows". + +2015-07-29 Erwin Waterlander <waterlan@xs4all.nl> + * INSTALL.txt: Updated with information about Unicode file name + support on Windows. + * po/*.po: Included several translation updates. See README.txt. + * test/test.bat: Renamed to test/testcmd.bat. + * test/testps8.ps1: PowerShell script in UTF-8 format using Unicode file names. + * test/testps16.ps1: PowerShell script in UTF-16 format using Unicode file names. + +2015-07-23 Erwin Waterlander <waterlan@xs4all.nl> + * common.c: glob_warg(): Check for malloc/realloc errors. + * dos2unix.c, unix2dos.c: Check for malloc errors. + +2015-07-20 Erwin Waterlander <waterlan@xs4all.nl> + * common.c: print_bom(). Fix split message for translators. + +2015-07-18 Erwin Waterlander <waterlan@xs4all.nl> + * common.c: d2u_printf(). Use wprintf to print UTF-8. + MinGW-w64 g++ (4.9.2) had some problems printing UTF-8. After first + UTF-8 file name was printed the rest of UTF-8 was printed blank. + This problem was in Windows Console. The problem was not there in + ConEmu. MSVC (2013) does not have this problem. Using gcc and wprintf + is OK in Windows Console and ConEmu. + * mingw*.mak: Switch back to use gcc always. + * common.c: Fix messages ending with space, for translators. + +2015-07-12 Erwin Waterlander <waterlan@xs4all.nl> + * vc.mak: Enable Unicode file names. + * common.c: Check output of WideCharToMultiByte and MultiByteToWideChar. + * common.c: Fixed a problem in glob_warg(). + * mingw*.mak: Use g++ only when UNIFILE==1. + * test/test.bat: Windows batch script that demonstrates how to use Unicode + file names in a script. + +2015-07-11 Erwin Waterlander <waterlan@xs4all.nl> + * mingw32.mak, mingw64.mak: Add extra required DLLs for binary + package with Unicode file name support. + +2015-07-10 Erwin Waterlander <waterlan@xs4all.nl> + * common.c: Finished glob_warg(). + * dos2unix.c, unix2dos.c: Use glob_warg() to expand arguments in + the Windows Command Prompt. + * mingw32.mak, mingw.mak: Unicode file name support is enabled + by setting UNIFILE=1. + +2015-07-09 Erwin Waterlander <waterlan@xs4all.nl> + * *.c: Renamed D2U_WINWIDE to D2U_UNIFILE + * mingw64.mak, Makefile: Unicode file name support is enabled + by setting UNIFILE=1. + * common.c: Initial version of glob_warg() for wild card expansion + of the wide command line arguments. Expands wide Unicode arguments, + and returns them in UTF-8. + +2015-07-08 Erwin Waterlander <waterlan@xs4all.nl> + * dos2unix.c, unix2dos.c, common.c: Unicode file name support + requires D2U_WINWIDE to be defined. There is still a problem + with globbing Unicode file names. + +2015-07-07 Erwin Waterlander <waterlan@xs4all.nl> + * common.c: Fix d2u_printf() to print Unicode properly in the + Windows Console. This required C++. + * mingw*.mak: Use g++ instead of gcc. + * vc.mk: Added library shell32.lib for wide arguments. + +2015-07-06 Erwin Waterlander <waterlan@xs4all.nl> + * dos2unix.c, unix2dos.c, common.c: Support Unicode file names + on Windows. + +2015-07-01 Erwin Waterlander <waterlan@xs4all.nl> + * Version 7.2.3 + +2015-06-27 Erwin Waterlander <waterlan@xs4all.nl> + * Makefile: Enable UTF-16 by default for MSYS, because MSYS2 supports it. + For compilation on MSYS1 you have to disable it. + * common.c: Don't print "converting file ... to ..." when there was an error. + * common.c: Fixed false warning while reading BOM from zero byte file. + Was introduced on 2015-06-24. + +2015-06-24 Erwin Waterlander <waterlan@xs4all.nl> + * common.c: Bug fix. Check for file I/O errors with every file access. + +2015-06-23 Erwin Waterlander <waterlan@xs4all.nl> + * dos2unix.c, unix2dos.c: Bug fix. Check for file I/O errors + with every file access. Thanks to report of Philip Rowlands. + http://sourceforge.net/p/dos2unix/bugs/12/ + * common.c: New functions d2u_getc_error, d2u_putc_error, and + d2u_putwc_error for printing error messages. + +2015-05-27 Erwin Waterlander <waterlan@xs4all.nl> + * common.c: Fix compilation for msys. + +2015-05-22 Erwin Waterlander <waterlan@xs4all.nl> + * Version 7.2.2 + * djgpp.mak: Fixed target strip. + +2015-05-11 Erwin Waterlander <waterlan@xs4all.nl> + * test/utf16.t: Added 2 tests with invalid surrogate pair. + * dos2unix.c, unix2dos.c: Print line number when UTF-16 conversion + error occurs. + * dos2unix.c, unix2dos.c: Don't print number of converted lines in + verbose mode when error occurs. + +2015-05-10 Erwin Waterlander <waterlan@xs4all.nl> + * common.c: Print system error when conversion from UTF-16 fails. + * common.c: Check for invalid surrogate pairs in UTF-16 input. + +2015-05-07 Erwin Waterlander <waterlan@xs4all.nl> + * test/wcstombs_test.c: New test that shows that wcstombs() is broken + on FreeBSD for CJK characters in a zh_CN.GB18030 locale. + * test/Makefile: New target 'wcstombs' that runs wcstombs_test. + * test/README.txt: New file. + * test/misc.t, test/utf16.t: new tests for unix2dos to check + conversion of binary files with null characters. + +2015-05-03 Erwin Waterlander <waterlan@xs4all.nl> + * test/Makefile: Disable GB18030 tests for FreeBSD. Tests which convert + UTF-16 with surrogate pairs to GB18030 fail. Seen on FreeBSD 10.1. + Issue in wcstombs()? + * common.h: Removed define of _XOPEN_SOURCE. When _XOPEN_SOURCE is + defined, the function lstat() is not found on FreeBSD 10.1. + * common.c: Bug fix. When conversion of an UTF-16 file with binary + symbols was forced, null characters were not written in the output. + * test: Added new test for UTF-16 file with null characters. + +2015-04-01 Erwin Waterlander <waterlan@xs4all.nl> + * Version 7.2.1 + +2015-02-15 Erwin Waterlander <waterlan@xs4all.nl> + * test/misc.t: Fix test for -f option. + * test/chk_loc.sh: New script to test if locale is supported. + * test/Makefile: Skip gb18030 test if zh_CN.gb18030 locale is not supported. + * man/man1/dos2unix.pod: Update section GB18030 and option -m. + 2015-02-11 Erwin Waterlander <waterlan@xs4all.nl> * Version 7.2 |