1 2014-09-09 Erwin Waterlander <waterlan@xs4all.nl>
4 2014-09-08 Erwin Waterlander <waterlan@xs4all.nl>
5 * common.c: Option -V prints home page.
7 2014-09-03 Erwin Waterlander <waterlan@xs4all.nl>
8 * dos2unix.c, unix2dos.c: Return an error number in stdio mode when the
9 input is binary. In stdio mode an input stream with a binary symbol
10 produces broken output. In file mode the binary file is skipped.
11 * test/misc.t: Added tests for above.
12 * dos2unix.c, unix2dos.c, common.c: Bug fix. System error number was not
13 always returned. When disk is full and output can't be written,
14 or when resolving a symlink fails.
16 2014-09-01 Erwin Waterlander <waterlan@xs4all.nl>
17 * common.c: Bug fix. Option -u disabled -m for ASCII or UTF-8 input
18 files without BOM. Bug was introduced on 2014-08-05.
19 * dos2unix.c, unix2dos.c, common.c: Bug fix. An Unicode input file
20 disabled 7bit and iso mode also for next input files. Bug was
21 introduced in version 6.0.1 on 2012-03-23.
22 * common.c: Cleanup. Don't write BOM when conversion will be cancelled.
23 * test/misc.t: Added tests for the two bug fixes.
25 2014-08-28 Erwin Waterlander <waterlan@xs4all.nl>
26 * dos2unix.c, unix2dos.c, common.c: Code cleanup. Moved more code
28 * common.c: Bug fix mac2unix help text, options -b and -r. Bug was
30 * *.po: Included updated pt_BR translations.
32 2014-08-26 Erwin Waterlander <waterlan@xs4all.nl>
33 * dos2unix.c, unix2dos.c, common.c: stdio mode does not automatically
34 set quiet mode. stdio mode prints errors and returns error code.
35 * dos2unix.c, unix2dos.c: stdio mode does not automatically force
36 conversion of binaries.
38 2014-08-25 Erwin Waterlander <waterlan@xs4all.nl>
39 * test/symlink.t: New tests for options -F, -R, -S
40 * *.po: Included updated nl,nb ,vi translations.
42 2014-08-22 Erwin Waterlander <waterlan@xs4all.nl>
43 * *.po: Included updated nl,pl,ru translations.
45 2014-08-18 Erwin Waterlander <waterlan@xs4all.nl>
46 * unix2dos.c: Fix: Unix2dos did not count UTF-16 line break conversions.
47 * INSTALL.txt: Update for running self-tests.
48 * *.po: Included updated fr,de,uk translations.
49 * test: Added more tests.
51 2014-08-17 Erwin Waterlander <waterlan@xs4all.nl>
52 * test: Use TAP (Test Anything Protocol) to run tests.
53 Requires perl module perl-Test-Simple.
55 2014-08-11 Erwin Waterlander <waterlan@xs4all.nl>
56 * test: Added automated tests.
58 2014-08-10 Erwin Waterlander <waterlan@xs4all.nl>
59 * dos2unix.c: Bug fix: dos2unix -l created DOS line breaks
60 from Mac line breaks. This bug was introduced in version 3.2,
62 * INSTALL.txt: Update for DJGPP. Use gcc <= 4.5.3.
64 2014-08-08 Erwin Waterlander <waterlan@xs4all.nl>
65 * man/man1/dos2unix.pod: Update manual wrt Unicode.
66 * common.c: Update help message for option -m.
68 2014-08-06 Erwin Waterlander <waterlan@xs4all.nl>
69 * New option -v, --verbose: Print extra information about
70 number of converted line breaks and BOMs.
72 2014-08-05 Erwin Waterlander <waterlan@xs4all.nl>
73 * New option -u, --keep_utf16: Keep UTF-16 encoding of the
74 input file. This prevents transformation to UTF-8.
76 2014-08-03 Erwin Waterlander <waterlan@xs4all.nl>
79 2014-08-03 Enrique Lazcorreta Puigmartí <enrique.lazcorreta@gmail.com>
80 * po/es.po : Updated Spanish translation of messages.
81 * man/es/man1/dos2unix.po : Updated Spanish translation of manual.
83 2014-07-12 Various authors
84 * po/*.po, man/*/man1/*.po: Update translations.
85 See README.txt for details.
87 2014-07-12 Yuri Kozlov <yuray@komyakino.ru>
88 * po/ru.po: Update Russian translation of messages.
90 2014-07-09 Erwin Waterlander <waterlan@xs4all.nl>
91 * dos2unix.c, unix2dos.c: Option -r also disables option
94 2014-07-07 Erwin Waterlander <waterlan@xs4all.nl>
95 * dos2unix.c, unix2dos.c, common.c: New options -b (keep BOM)
98 2014-07-06 Erwin Waterlander <waterlan@xs4all.nl>
99 * dos2unix.c: Bug fix mac2unix conversion of UTF-16 files.
100 Mac to Unix conversion produced corrupted output.
101 Thanks to report of Alan S. Jones.
102 This bug was introduced in version 6.0.
104 2014-05-24 Åka Sikrom <a4@hush.com>
105 * po/nb.po: New Norwegian Bokmaal translation.
107 2014-05-17 Mario Blättermann <mario.blaettermann@gmail.com>
108 * po/de.po: Update German messages.
110 2014-05-12 Erwin Waterlander <waterlan@xs4all.nl>
111 * INSTALL.txt: Updated for building 64-bit applications
112 with Microsoft Visual C++ Express.
114 2014-05-12 Frédéric Marchal <fmarchal@perso.be>
115 * man/fr/man1/dos2unix.po: Fixed minor translation error.
117 2014-04-23 Erwin Waterlander <waterlan@xs4all.nl>
118 * man/man1/Makefile: Removed dependency on GNU sed.
119 Thanks to Daniel Macks.
120 * BUGS.txt: Update URL to bug tracker.
122 2014-04-17 Erwin Waterlander <waterlan@xs4all.nl>
125 2014-04-09 Erwin Waterlander <waterlan@xs4all.nl>
126 * common.c: Fix symbolic_link(), don't print error when file
127 does not exist (problem was introduced on 2014-03-21).
129 2014-04-08 Erwin Waterlander <waterlan@xs4all.nl>
130 * Makefile: Fix for GNU make < 3.82. For rules with multiple
131 patterns, put rule with shortest stem first.
133 2014-04-04 Erwin Waterlander <waterlan@xs4all.nl>
134 * vc.mak, wcc.mif: Only generate English manuals. Target clean
135 does not delete the manuals, new target maintainer-clean does.
137 2014-03-23 Jakub Bogusz <qboosh@pld-linux.org>
138 * man/pl/dos2unix.po: New Polish translation of the manual.
140 2014-03-23 Benno Schulenberg <benno@vertaalt.nl>
141 * man/nl/dos2unix.po: Update Dutch manual.
143 2014-03-22 Balázs Úr <urbalazs@gmail.com>
144 * po/hu.po: New Hungarian translation of UI messages.
146 2014-03-21 Erwin Waterlander <waterlan@xs4all.nl>
147 * common.c: Windows version of function symbolic_link().
148 Now Windows version also skips symbolic links by default.
149 * man/man1/dos2unix.pod: Update wrt Windows symbolic links,
150 and some minor updates.
151 * Makefile: Fix some dependencies for man page creation.
153 2014-03-18 Rafael Ferreira <rafael.f.f1@gmail.com>
154 * man/pt_BR/man1/dos2unix.po: New Brazilian Portuguese
155 translation of the manual.
157 2014-03-18 Frédéric Marchal <fmarchal@perso.be>
158 * man/fr/man1/dos2unix.po: New French translation of the manual.
160 2014-03-16 Yuri Chornoivan <yurchor@ukr.net>
161 * man/uk/man1/dos2unix.po: New Ukrainian translation of the manual.
163 2014-03-16 Erwin Waterlander <waterlan@xs4all.nl>
164 * Makefile: New target 'getpoman' to get .po files for the manuals
165 from the Translation Project.
167 2014-03-15 Mario Blättermann <mario.blaettermann@gmail.com>
168 * man/de/man1/dos2unix.po: New German translation of the
171 2014-03-14 Erwin Waterlander <waterlan@xs4all.nl>
172 * man/man1/Makefile: Generate pod files from gettext
173 po files with po4a, for easier translation. Thanks to
175 See also http://po4a.alioth.debian.org/
176 * man/nl/man1/dos2unix.po, man/es/man/dos2unix.po:
177 New po files, created from original pod.
178 Thanks to Mario Blätterman.
179 * man/nl/man1/dos2unix.pod, man/es/man/dos2unix.pod:
180 Deleted. These are generated now.
181 * Makefile: Update for manual generation from .po files.
182 * Makefile, man/man1/Makefile: All man pages are now in
184 * Makefile: Esperanto x notation no longer supported.
185 Conversion from UTF-8 is troublesome and gettext will
186 automatically translate to caret (^) notation when UTF-8
187 is not supported by the system.
188 * po/eo-x.po: Deleted.
190 2014-03-14 mail6543210 <mail6543210@yahoo.com.tw>
191 * po/zh_TW.po: New Chinese (traditional) translation.
193 2014-03-06 Thomas Pryds <thomas@pryds.eu>
194 * po/da.po: New Danish translation.
196 2014-03-06 Мирослав Николић <miroslavnikolic@rocketmail.com>
197 * po/sr.po: New Serbian translation.
199 2014-02-24 Frédéric Marchal <fmarchal@perso.be>
200 * po/fr.po: New French translation.
202 2014-02-05 Erwin Waterlander <waterlan@xs4all.nl>
203 * README.txt: List all the new translators.
204 * Makefile: New target 'getpo' to get .po file from the
205 Translation Project. New target po/eo-x.po to generate
208 2014-02-05 Enrico Nicoletto <liverig@gmail.com>
209 * po/pt_BR.po: New Brazilian Portuguese translation
211 2014-02-05 Jakub Bogusz <qboosh@pld-linux.org>
212 * po/pl.po: New Polish translation
214 2014-02-05 Yuri Chornoivan <yurchor@ukr.net>
215 * po/uk.po: New Ukrainian translation
217 2014-02-05 Trần Ngọc Quân <vnwildman@gmail.com>
218 * po/vi.po: New Vietnamese translation
220 2014-02-05 Benno Schulenberg <benno@vertaalt.nl>
221 * po/nl.po: Updated Dutch translation
222 * po/eo.po: Updated Esperanto translation
224 2014-02-02 Erwin Waterlander <waterlan@xs4all.nl>
225 * *.c: Print help and version info to stdout iso stderr.
226 Thanks to Benno Schulenberg.
228 2014-01-31 Erwin Waterlander <waterlan@xs4all.nl>
229 * *.c,po/*.po: cleanup messages. Thanks to Benno Schulenberg.
231 2014-01-29 Erwin Waterlander <waterlan@xs4all.nl>
232 * common.c, po/*.po: Split large help text in smaller pieces.
233 This is easier for the translators. Thanks to Benno Schulenberg.
235 2014-01-18 Erwin Waterlander <waterlan@xs4all.nl>
236 * Makefile, *.mak: Removed MAN_NONLATIN variable.
237 * INSTALL.txt: Update section INTERNATIONAL MAN PAGES.
239 2014-01-10 Erwin Waterlander <waterlan@xs4all.nl>
240 * mingw32.mak, mingw64.mak: Update for easier use in MSYS2. Added
241 extra include path to find libintl.h.
243 2014-01-04 Erwin Waterlander <waterlan@xs4all.nl>
244 * Makefile: Also include English manuals in source the package.
245 Adding man files to the source package, which have been generated with
246 a high version of perl/pod2man, is a favour to users, because newer
247 perl/pod2man versions produce better output (also for old systems).
248 Tip from pod2man maintainer Russ Allbery.
249 When you want to generate man pages yourself just run first 'make
252 2014-01-03 Erwin Waterlander <waterlan@xs4all.nl>
253 * man/nl/man1/dos2unix.pod, man/es/man1/dos2unix.pod: Add =encoding
254 latin1 command. Perl 5.18 requires =encoding for all non-ASCII pod
256 See also https://rt.cpan.org/Public/Bug/Display.html?id=91805
257 Minimal perl version is now 5.10.1.
258 * Makefile: Target clean keeps generated non-English manual files to
259 avoid problems with old perl version. Target maintainer-clean will
260 erase the generated non-English manual files.
261 * INSTALL.txt: Update for new required perl version.
263 2013-12-30 Erwin Waterlander <waterlan@xs4all.nl>
265 * man/nonlatin/man1/ru/dos2unix.pod: Removed. Russian
266 translation of manual moved to later release.
268 2013-11-26 Erwin Waterlander <waterlan@xs4all.nl>
269 * Makefile, common.c: When MinGW-w64 is used for 32 bit, option
270 -V prints (MinGW-w64) for used compiler name.
272 2013-11-24 Erwin Waterlander <waterlan@xs4all.nl>
273 * mingw32.mak: New makefile for MinGW-w64 targeting win32.
274 MinGW-w64 supports Large File Support (LFS) with
275 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 while mingw.org
276 doesn't. Dos2unix failed when concurrent dos2unix processes
277 processed huge files on Windows network share drives.
278 Using MinGW-w64 with LFS support fixed the problem.
279 Thanks to report by F.J. Brandelik.
282 2013-10-07 Erwin Waterlander <waterlan@xs4all.nl>
283 * Makefile: Set MAN_NONLATIN back to 1. Include non-Latin
284 manuals in source package to prevent compilation troubles.
285 Target 'clean' keeps non-Latin manuals. Use 'maintainer-clean'
288 2013-10-05 Erwin Waterlander <waterlan@xs4all.nl>
289 * Makefile: By default don't build non-Latin1 manuals. There are
290 still too many old perl/pod2man versions around (perl < 5.10.1).
291 Add MAN_NONLATIN=1 to enable non-Latin1 manuals.
293 2013-10-01 Erwin Waterlander <waterlan@xs4all.nl>
294 * man/man1/Makefile: Support non-Latin1 man pages.
295 * Makefile: Support non-Latin1 man pages.
296 * man/nonlatin/man1/ru/dos2unix.pod: Placeholder for Russian manual.
298 2013-09-13 Андрей Углик (Andrei Uhlik) <uglika@gmail.com>
299 * po/ru.po: New Russian translation of the messages.
301 2013-08-05 Erwin Waterlander <waterlan@xs4all.nl>
302 * po/de.po: Update German translations. Thanks to Lars Wendler.
304 2013-06-14 Erwin Waterlander <waterlan@xs4all.nl>
305 * dos2unix.c/unix2dos.c: New options -ul and -ub to convert
306 UTF-16 files without BOM.
308 2013-06-11 Erwin Waterlander <waterlan@xs4all.nl>
309 * dos2unix.c/unix2dos.c: Print value of binary symbol
312 2013-03-12 Erwin Waterlander <waterlan@xs4all.nl>
313 * Makefile: Set CC to gcc for MSYS target. Otherwise
314 /mingw/bin/cc is used.
316 2013-01-27 Erwin Waterlander <waterlan@xs4all.nl>
318 - CC and CPP can be overridden by environment.
319 - CFLAGS optimization flags can be overridden by environment.
320 - Separate LIBS from LDFLAGS.
321 Thanks to Justin Lecher <jlec@gentoo.org>
323 2013-01-25 Erwin Waterlander <waterlan@xs4all.nl>
326 2013-01-18 Erwin Waterlander <waterlan@xs4all.nl>
327 * dos2unix.c/unix2dos.c: Print system error when writing to
328 temporary output file fails.
330 2013-01-16 Erwin Waterlander <waterlan@xs4all.nl>
331 * dos2unix.c/unix2dos.c: Print system error when closing of
332 temporary output file fails. E.g. "No space left on device".
334 2012-12-25 Erwin Waterlander <waterlan@xs4all.nl>
335 * querycp.c/h: Added public domain phrase for Debian
338 2012-12-12 Erwin Waterlander <waterlan@xs4all.nl>
339 * test: New directory with some test files.
341 2012-09-20 Erwin Waterlander <waterlan@xs4all.nl>
342 * man/man1/Makefile: Removed dependency on 'sed' program.
344 2012-09-19 Erwin Waterlander <waterlan@xs4all.nl>
345 * vc.mak: Visual C++ version supports wildcard expansion.
346 Added targets 'install', 'uninstall', 'doc', 'dist',
347 'txt', 'html', and 'mostlyclean'.
348 * INSTALL.txt: Update for Visual C++.
350 2012-09-16 Erwin Waterlander <waterlan@xs4all.nl>
351 * *.c/*.h: Dos2unix compiles with Microsoft Visual C++.
352 * vc.mak: New makefile for Microsoft Visual C++.
353 * INSTALL.txt: Update for Visual C++.
355 2012-09-15 Erwin Waterlander <waterlan@xs4all.nl>
356 * Makefile: Better check for DJGPP. DJGPP 2.04 uname returns "FreeDOS"
357 on Freedos, 2.03 uname returns always "MS-DOS". Thanks to Rugxulo.
358 * man/man1/dos2unix.pod: Fixed a typo. Thanks to Jari Aalto.
360 2012-09-06 Erwin Waterlander <waterlan@xs4all.nl>
363 2012-08-29 Erwin Waterlander <waterlan@xs4all.nl>
364 * wcc*: Fix target 'dist' in Watcom makefiles.
365 * djgpp.mak: Use 8.3 filename for dos32 binary package.
367 2012-08-26 Erwin Waterlander <waterlan@xs4all.nl>
368 * os2.mak: Renamed to emx.mak.
369 * wccos2.mak: New Watcom C makefile for OS/2 target.
370 * wcc.mif: Watcom C makefile with generic parts. This new
371 makefile containts new targets 'install', 'uninstall',
372 'doc', 'dist', and 'mostlyclean'.
373 * djgpp.mak: Default prefix is now c:\dos32
374 * dos16_gnu.mak: Removed. Installation of dos16 version is
375 now done with Watcom makefiles.
377 2012-08-13 Erwin Waterlander <waterlan@xs4all.nl>
378 * po/de.po: Update German translations. Thanks to Philipp.
379 * po/es.po: Update Spanish translations. Thanks to Julio.
381 2012-08-12 Erwin Waterlander <waterlan@xs4all.nl>
382 * Makefile: Don't use pod2text option --utf8. There are too many
383 old pod2text versions around that don't support this option.
384 * Makefile: Install PDF and PostScript files of all languages when
385 they have been created.
386 * po/eo*.po: Update Esperanto translations. Thanks to Rugxulo.
387 * dos2unix/unix2dos: Don't use __MSDOS__ macro for Windows.
389 2012-08-10 Erwin Waterlander <waterlan@xs4all.nl>
390 * Makefile: Change variable OS to D2U_OS. OS is used by Windows.
391 * Makefile: By default install only English text and html manuals.
392 This saves a dependency on iconv. Non-English text and html manuals
393 will be installed when they have been explicitly generated with
394 targets 'txt' and 'html'.
396 2012-08-09 Erwin Waterlander <waterlan@xs4all.nl>
397 * dos2unix/unix2dos: Use only C99 compliant predefined macros.
399 2012-08-07 Erwin Waterlander <waterlan@xs4all.nl>
400 * dos2unix/unix2dos: Print line number when a binary symbol is found.
401 Thanks to Somsak Pattanaprateep.
402 * Makefile: By default install text and html manuals of all languages.
404 2012-08-06 Erwin Waterlander <waterlan@xs4all.nl>
405 * dos2unix/unix2dos: Fix. Locale encoding was not detected when NLS
407 * common.c: Update comments. Surrogate halves in UTF-8 are invalid.
409 2012-07-25 Erwin Waterlander <waterlan@xs4all.nl>
412 2012-07-20 Erwin Waterlander <waterlan@xs4all.nl>
413 * Makefile: Target 'html' makes also Dutch and Spanish HTML manuals.
415 2012-07-18 Erwin Waterlander <waterlan@xs4all.nl>
416 * manual: Update for options -n and -o. Describe the new permissions of
417 the output file in new-file and old-file mode.
418 * README.txt: Added references for the findutils package for Windows
419 and DOS to enable recursive conversions on those platforms.
421 2012-05-20 Erwin Waterlander <waterlan@xs4all.nl>
422 * common.h: Fix compiler warnings "implicit declaration of function
423 'strcasecmp'". Thanks to Michael Schindler
424 <k-m_schindler@sourceforge.net>.
426 2012-05-11 Julio A. Freyre-Gonzalez <jfreyreg@gmail.com>
427 * Update Spanish messages and manual.
429 2012-05-06 Erwin Waterlander <waterlan@xs4all.nl>
431 * man/*/man1/*.pod: Removed =encoding. It is not supported
432 by perl 5.8.8, which is shipped with MinGW and DJGPP.
434 2012-04-20 Erwin Waterlander <waterlan@xs4all.nl>
435 * man/*/man1/*.pod: Set encoding explicitly to Latin-1.
436 * Makefile: Target 'doc' makes all man pages.
438 2012-04-12 Erwin Waterlander <waterlan@xs4all.nl>
439 * po/de.po: Update German translations. Thanks to Philipp Thomas.
441 2012-04-09 Erwin Waterlander <waterlan@xs4all.nl>
442 * INSTALL.txt: List the prerequisites.
443 * Makefile: Friendlier for DJGPP/MinGW/MSYS.
445 2012-04-04 Erwin Waterlander <waterlan@xs4all.nl>
446 * po/eo.po: Update Esperanto translations. Thanks to Rugxulo.
448 2012-03-30 Erwin Waterlander <waterlan@xs4all.nl>
449 * Skip UTF-16 file when conversion to UTF-8 goes wrong.
450 * Update English and Dutch manual.
452 2012-03-28 Erwin Waterlander <waterlan@xs4all.nl>
453 * common.c: Support UTF-16 surrogate pairs.
454 * dos2unix.c, unix2dos.c: Check wchar_t size.
456 2012-03-26 Erwin Waterlander <waterlan@xs4all.nl>
457 * *.c: Use fgetc/fputc instead of getc/putc.
459 2012-03-25 Erwin Waterlander <waterlan@xs4all.nl>
460 * po, man: Update Dutch translations.
462 2012-03-24 Erwin Waterlander <waterlan@xs4all.nl>
463 * On Unix, convert UTF-16 files only when the locale encoding
464 is UTF-8 to prevent accidental loss of text.
466 2012-03-23 Erwin Waterlander <waterlan@xs4all.nl>
467 * Turn off ISO and 7-bit mode if an Unicode text file is detected,
468 to prevent corruption of UTF-8 files.
469 * Update English manual.
470 * Fix compilation for WatcomC, DJGPP, MSYS, OS/2.
471 * Makefile: Support CFLAGS_USER, LDFLAGS_USER, and DEFS_USER for
472 Debian Linux. Thanks to Jari Aalto.
474 2012-03-21 Erwin Waterlander <waterlan@xs4all.nl>
475 * Support conversion of Unicode UTF-16 from stdin.
476 * Update English manual.
478 2012-03-20 Erwin Waterlander <waterlan@xs4all.nl>
479 * Support conversion of Unicode UTF-16 encoded files.
481 2012-03-16 Erwin Waterlander <waterlan@xs4all.nl>
482 * common.c: Make it compile on Cygwin 1.5.
484 2012-03-10 Erwin Waterlander <waterlan@xs4all.nl>
486 * Makefile: Binary packages with native language support
489 2012-03-08 Erwin Waterlander <waterlan@xs4all.nl>
490 * common.c: Option -V prints target OS on DOS/Windows/OS2.
492 2012-03-07 Erwin Waterlander <waterlan@xs4all.nl>
493 * dos2unix.c, unix2dos.c, mingw64.mak: Enabled wildcard
494 expansion for Win64 (MinGW-w64). Thanks to Steve Hay.
495 * wccdos16.mak: Enabled wildcard expansion.
496 * wccdos32.mak: Enabled wildcard expansion.
497 * wccwin32.mak: Enabled wildcard expansion.
498 * bcc.mak: Enabled wildcard expansion.
500 2012-03-02 Erwin Waterlander <waterlan@xs4all.nl>
501 * Makefile: New target 'mostlyclean' that preserves the manual
502 files. Target 'clean' removes all built files, it restores the
503 Unix source package to its original state.
504 * Makefile: New variable HTMLEXT to override the default 'htm'
505 extension for the manual in HTML format.
507 2012-02-01 Erwin Waterlander <waterlan@xs4all.nl>
508 * Makefile, version.mk: Fix a compile error when debug
509 is enabled. Thanks to Maurizio Camisaschi and Lars Wendler.
510 See https://bugs.gentoo.org/400769
511 * Makefile: Enable debugging info for gdb when DEBUG=1
512 * man page: Small update in section RETURN VALUE.
514 2012-01-27 Erwin Waterlander <waterlan@xs4all.nl>
517 2012-01-02 Erwin Waterlander <waterlan@xs4all.nl>
518 * os2.mak: Enable support for wild cards (-Zargs-wild).
519 Thanks to Steven H. Levine and Elbert Pol.
521 2011-12-20 Erwin Waterlander <waterlan@xs4all.nl>
522 * querycp.c: Extra comment from Rugxulo.
523 * querycp.c: Undid change of 2011-11-12. MSYS version
524 behaves as Cygwin version.
526 2011-12-15 Erwin Waterlander <waterlan@xs4all.nl>
527 * wccdos32.mak: New makefile for Open Watcom for DOS32.
529 2011-12-06 Erwin Waterlander <waterlan@xs4all.nl>
530 * Makefile: Undo previous change for Darwin. Not restoring group and
531 owner may be destructive or a security risk.
532 * Makefile, common.[ch]: Dos2unix builds on MSYS now.
534 2011-12-02 Erwin Waterlander <waterlan@xs4all.nl>
535 * Makefile: For MacOS the option -DNO_CHOWN has been be added to the compile time flags.
536 This is necessary because Darwin will create files with the
537 file-owner-group set to the file-owner-group of the directory - EVEN if
538 the caller is not a member of the group! Chowning *from* the group is ok,
539 chowning *to* the group is not - and this will make unix2dos fail when it
540 tries to restore the permissions.
541 Thanks to Wolf Geldmacher.
542 See bug report 3444337, https://sourceforge.net/tracker/?func=detail&atid=1234808&aid=3444337&group_id=292083
544 2011-11-16 Erwin Waterlander <waterlan@xs4all.nl>
545 * README.txt, man/man1/dos2unix.pod: Freshmeat changed name to Freecode.
547 2011-11-12 Erwin Waterlander <waterlan@xs4all.nl>
548 * querycp.c: Fix for MSYS.
550 2011-10-20 Erwin Waterlander <waterlan@xs4all.nl>
551 * querycp.c: Support OS/2, and Watcom C for Win32.
552 * wccwin32.mak: New makefile for Open Watcom for Win32.
554 2011-08-22 Erwin Waterlander <waterlan@xs4all.nl>
555 * Makefile: Added RPM_OPT_FLAGS to LDFLAGS. Required for
556 cross-platform RPM package building.
558 2011-08-20 Erwin Waterlander <waterlan@xs4all.nl>
559 * Home page URL: change to http://waterlan.home.xs4all.nl/dos2unix.html
561 2011-08-09 Erwin Waterlander <waterlan@xs4all.nl>
564 2011-08-08 Julio A. Freyre-Gonzalez <jfreyreg@gmail.com>
565 * Spanish translation of messages and manual.
567 2011-06-26 Erwin Waterlander <waterlan@xs4all.nl>
568 * bugfix: dos2unix changes ownership and permissions on file.
569 When an other user (e.g. root) than the owner has write permission
570 on the input file, dos2unix changes owner, group and umask in old
571 file mode to the other user's owner, group and umask who runs
572 dos2unix. Fixed only for Unix. Thanks to Christopher Williams.
573 See http://sourceforge.net/tracker/?func=detail&aid=3327171&group_id=292083&atid=1234808
574 * Keep permissions also on Windows. Use chmod() i.s.o. fchmod().
576 2011-06-16 Erwin Waterlander <waterlan@xs4all.nl>
577 * Identical functions from dos2unix.c and unix2dos.c
578 are moved to common.c.
580 2011-06-15 Erwin Waterlander <waterlan@xs4all.nl>
581 * Dos2unix and Unix2dos share the same language files.
583 2011-05-04 Erwin Waterlander <waterlan@xs4all.nl>
584 * dos2unix.c: Removed redundant ConvertDosToUnixOldFile().
585 * unix2dos.c: Removed redundant ConvertUnixToDosOldFile().
587 2011-04-26 Erwin Waterlander <waterlan@xs4all.nl>
590 2011-04-23 Erwin Waterlander <waterlan@xs4all.nl>
591 * Don't report an error when unlink() fails because a file
594 2011-04-13 Erwin Waterlander <waterlan@xs4all.nl>
595 * Print system error when input file can't be openened.
596 For instance "Permission denied"
598 * Update translations.
600 2011-04-04 Erwin Waterlander <waterlan@xs4all.nl>
601 * Always print and return an error when wrong command-line
602 options are used. Also in quiet mode.
603 * New option '--': Treat all following options as file names.
605 2011-04-03 Erwin Waterlander <waterlan@xs4all.nl>
606 * Improved error reporting. Return system error when an error occurs.
607 * Don't quit after first error (like rm, ls, grep, tar).
608 * In quiet mode the return value is always zero.
610 2011-03-27 Erwin Waterlander <waterlan@xs4all.nl>
611 * dos2unix.c/unix2dos.c: Check if symbolic links point to
613 * dos2unix.c/unix2dos.c: Added short options -F, -R, -S.
614 * po: update translations.
616 2011-03-24 Erwin Waterlander <waterlan@xs4all.nl>
617 * dos2unix.c/unix2dos.c: Changed options --follow, --no-follow,
618 to --follow-symlink, --replace-symlink, --skip-symlink.
619 * dos2unix.c/unix2dos.c: Options --force and --safe are only to
620 covert binary files or skip them.
621 * dos2unix.c/unix2dos.c: Non-regular files that are not symbolic
622 links are never converted.
624 2011-03-23 Charles Wilson <cygwin@cwilson.fastmail.fm>
625 * dos2unix.c/unix2dos.c: New options --follow and --no-follow.
626 In follow mode dos2unix writes to the symlink target, instead
627 of replacing the symbolic link with an output file.
629 2011-03-22 Charles Wilson <cygwin@cwilson.fastmail.fm>
630 * querycp.c: Behave on Cygwin same as on Linux. Default
631 code page in ISO mode is CP437.
633 2011-03-21 Charles Wilson <cygwin@cwilson.fastmail.fm>
634 * dos2unix.c/unix2dos.c:
635 - Cygwin may define WIN32 (via include files).
636 - bugfix: Cygwin: set mode to binary in stdio mode conversion.
637 Needed in case non-Cygwin program launches dos2unix.
638 - bugfix: set failure mode if rename fails in quiet mode.
639 - New option: -s, --safe. Opposite of -f, --force.
640 * Makefile: Cleanup for Cygwin.
642 2011-03-19 Erwin Waterlander <waterlan@xs4all.nl>
643 * Makefile: Install links instead of binary/manpage copies on Cygwin.
645 2011-03-05 Erwin Waterlander <waterlan@xs4all.nl>
646 * man/man1/dos2unix.pod: Replace GPL with FreeBSD license.
647 * man/nl/man1/dos2unix.pod: Replace GPL with FreeBSD license.
649 2011-03-04 Erwin Waterlander <waterlan@xs4all.nl>
652 2011-03-03 Erwin Waterlander <waterlan@xs4all.nl>
653 * Don't print used code page in quiet mode.
655 2011-03-02 Erwin Waterlander <waterlan@xs4all.nl>
656 * Esperanto x-notation format is optional. Default is Unicode.
657 There is no installation of an 'eo-x' locale any more.
658 Add EO_XNOTATION=1 to make command-line to select x-notation.
659 It will change the format of the normal 'eo' locale from Unicode
662 2011-02-28 Erwin Waterlander <waterlan@xs4all.nl>
663 * Makefile: Make LFS optional with variable LFS (default on).
664 * dos2unix.c/unix2dos.c: Print file name with stat() system error.
666 2011-02-26 Erwin Waterlander <waterlan@xs4all.nl>
667 * dos2unix.c/unix2dos.c: Report system error when stat() fails.
668 * Makefile: Enable 64 bit file system interface (_FILE_OFFSET_BITS=64).
669 This enables opening files larger than 2GB on 32 bit systems, provided
670 the system has Large File Support (LFS). See also section 1.3.4
671 "Feature Test Macros" of The GNU C Library manual.
672 http://www.gnu.org/s/libc/manual/html_node/Feature-Test-Macros.html
674 2011-02-22 Erwin Waterlander <waterlan@xs4all.nl>
675 * In debug mode file mode is printed (compile with DEBUG=1).
677 2011-02-19 Erwin Waterlander <waterlan@xs4all.nl>
678 * Makefile: Generation of PostScript and PDF is optional.
679 This removes dependency on Groff and GhostScript (thanks to Philipp Thomas).
681 2011-02-04 Erwin Waterlander <waterlan@xs4all.nl>
682 * Makefile: Replace GPL (accidently patched in) with FreeBSD license.
683 * man/man1/Makefile: Fix perl command for for DOS alike file systems
684 (Can't do inplace edit without backup.). (thanks to Elbert Pol)
686 2011-01-31 Erwin Waterlander <waterlan@xs4all.nl>
689 2011-01-19 Erwin Waterlander <waterlan@xs4all.nl>
692 2011-01-13 Rugxulo <rugxulo@gmail.com>
693 * querycp.c: Active code page detection. DOS 16 bit, OpenWatcom.
695 2011-01-12 Erwin Waterlander <waterlan@xs4all.nl>
696 * querycp.c: Detect active code page for ISO mode on Windows.
698 2011-01-12 Rugxulo <rugxulo@gmail.com>
699 * querycp.c: Detect active code page for ISO mode. DOS 32 bit, DJGPP.
701 2011-01-11 Erwin Waterlander <waterlan@xs4all.nl>
702 * New ISO conversion modes DOS CP860 (Portuguese)
703 and CP863 (French Canadian).
705 2011-01-10 Erwin Waterlander <waterlan@xs4all.nl>
706 * New ISO conversion mode DOS CP865 (Nordic).
708 2011-01-07 Erwin Waterlander <waterlan@xs4all.nl>
709 * ISO mode CP437: fix conversion of non-breaking space (NBSP)
710 * New ISO conversion modes: DOS CP850 (Western European) and Windows
711 CP1252 (Western European).
712 * SunOS compatible command-line options -ascii, -iso, -7, -437, -850.
714 2011-01-04 Erwin Waterlander <waterlan@xs4all.nl>
715 * 7bit and iso mode can be used in Mac mode.
717 2010-11-22 Jari Aalto <jari.aalto@cante.net>
718 * Small updates man page and Makefile.
720 2010-11-21 Ben Pfaff <blp@cs.stanford.edu>
721 * Don't indicate text files with ASCII Form Feed control
722 characters (^L) as binary.
723 Form feed characters are fairly common in GNU software text files,
724 because the GNU coding standards advice to use form feeds to
725 divide text into pages.
727 2010-11-15 Erwin Waterlander <waterlan@xs4all.nl>
728 * Put full copyright text in *.h source files (FSF's recommendation).
729 Thanks to Jari Aalto <jari.aalto@cante.net>.
730 * Don't include generated documentation files in Unix source package.
731 * Create a source package in DOS text format.
733 2010-08-18 Erwin Waterlander <waterlan@xs4all.nl>
736 2010-07-23 Erwin Waterlander <waterlan@xs4all.nl>
737 * Added Dutch translation of the manual.
739 2010-07-19 Erwin Waterlander <waterlan@xs4all.nl>
740 * MinGW-w64 Makefile added for Windows 64 bit port.
742 2010-06-20 Erwin Waterlander <waterlan@xs4all.nl>
743 * Don't ship po/*.mo files in source package.
744 * Win32 binary package uses patched MinGW's libintl, with builtin
745 relocation support. See http://www.xs4all.nl/~waterlan/libintl.html
747 2010-04-22 Erwin Waterlander <waterlan@xs4all.nl>
748 * Support compilation in DOSBox (8.3 file names where needed).
750 2010-04-14 Erwin Waterlander <waterlan@xs4all.nl>
751 * Fixed compilation on Darwin OS. Thanks to Marc Gianzero.
753 2010-04-03 Erwin Waterlander <waterlan@xs4all.nl>
756 2010-03-22 Erwin Waterlander <waterlan@xs4all.nl>
757 * Man page generation from Perl POD file.
758 Thanks to Jari Aalto <jari.aalto@cante.net>
759 * Merge dos2unix and unix2dos man pages.
761 2010-03-17 Erwin Waterlander <waterlan@xs4all.nl>
762 * Add localization information to manual.
764 2010-03-16 Rugxulo <rugxulo@gmail.com>
765 * Added Esperanto translation.
767 2010-03-13 Erwin Waterlander <waterlan@xs4all.nl>
768 * DJGPP, dos32bit: Create 'stubs' for mac2unix and unix2mac.
769 See also http://www.delorie.com/djgpp/v2faq/faq22_5.html
770 Thanks to Rugxulo <rugxulo@gmail.com>
772 2010-03-11 Erwin Waterlander <waterlan@xs4all.nl>
773 * Allow to set options in stdio mode.
774 * dos2unix: bugfix MAC mode: Don't change DOS line endings.
775 * Display help if a wrong option was used.
777 2010-03-04 Erwin Waterlander <waterlan@xs4all.nl>
778 * Port to 16 bit DOS, using OpenWatcom.
780 2010-03-03 Erwin Waterlander <waterlan@xs4all.nl>
781 * Port to 16 bit DOS, using Borland C.
783 2010-02-16 Erwin Waterlander <waterlan@xs4all.nl>
786 2010-02-15 Erwin Waterlander <waterlan@xs4all.nl>
787 * unix2dos: Fix problem of reading Mac files.
788 * unix2dos: Added command 'unix2mac'.
789 * unix2dos: Can use DOS2UNIX_LOCALEDIR i.s.o. UNIX2DOS_LOCALEDIR.
790 * dos2unix: 'mac2unix' command can have a prefix.
791 * Makefile: mac2unix and unix2mac are installed as soft links.
793 2010-02-13 Erwin Waterlander <waterlan@xs4all.nl>
794 * Bundled dos2unix and unix2dos in one package.
795 * dos2unix/unix2dos : Cleanup messages and manual.
796 * dos2unix: Option -l --newline also works in MAC mode.
797 * unix2dos: Added option -l, --newline.
798 * unix2dos: Added MAC mode. Convert Unix line endings
801 2010-02-10 Erwin Waterlander <waterlan@xs4all.nl>
802 * unix2dos: Makefile :
803 - Use GNU standard directory variables everywhere.
804 - New target 'dist-tbz' creates bzip2 compressed archive.
806 2010-02-10 Philipp Thomas <psmt@opensuse.org>
807 * unix2dos: po/de.po : Added German translation.
808 * unix2dos: Makefile :
809 - Added $(RPM_OPT_FLAGS) to CFLAGS.
810 - Use DESTDIR only in install and uninstall targets (not in variables,
811 this is more common practice).
813 2010-02-03 Erwin Waterlander <waterlan@xs4all.nl>
814 * dos2unix: Makefile :
815 - Use GNU standard directory variables everywhere.
817 2010-02-03 Philipp Thomas <psmt@opensuse.org>
818 * dos2unix: po/de.po : Added German translation.
819 * dos2unix: Makefile :
820 - Use GNU standard directory variable 'datadir' i.s.o. 'sharedir'.
821 - Added $(RPM_OPT_FLAGS) to CFLAGS.
822 - New target 'dist-tbz' creates bzip2 compressed archive.
823 - Use DESTDIR only in install and uninstall targets (not in variables,
824 this is more common practice).
826 2010-02-02 Erwin Waterlander <waterlan@xs4all.nl>
827 * dos2unix/unix2dos: Update Dutch translation.
829 2010-01-24 Erwin Waterlander <waterlan@xs4all.nl>
830 * dos2unix/unix2dos: version 4.1.2
832 2010-01-22 Tim Waugh <twaugh@redhat.com>
833 * dos2unix/unix2dos: Preserve file mode in 'new file mode'.
834 * dos2unix/unix2dos: Makefile: Allow CFLAGS to be set externally.
836 2010-01-21 Erwin Waterlander <waterlan@xs4all.nl>
837 * dos2unix/unix2dos: version 4.1.1
838 * dos2unix/unix2dos: Fix compilation on FreeBSD.
839 * dos2unix/unix2dos: Changed home page URL to http://www.xs4all.nl/~waterlan/dos2unix.html
841 2009-12-28 Erwin Waterlander <waterlan@xs4all.nl>
842 * dos2unix/unix2dos: version 4.1
843 * dos2unix/unix2dos: Automatically skip binary files.
844 * dos2unix/unix2dos: Automatically skip non-regular files.
845 * dos2unix/unix2dos: New option: -f --force: Force conversion of all files.
846 * dos2unix/unix2dos: Option -h: Print options in alphabetical order.
847 * dos2unix/unix2dos: Update manual.
848 * dos2unix/unix2dos: ISO mode:
849 - Non-convertable characters are converted to a dot.
850 Old conversion risked conversion to unwanted ISO C1
851 control characters from ISO 6429.
852 - Fixed wrong conversion of Interpunct.
853 - Don't convert ASCII control characters
854 DC4 (Pilcrow, 0x14) and NAK (Section-sign, 0x15).
856 2009-12-21 Erwin Waterlander <waterlan@xs4all.nl>
857 * dos2unix/unix2dos: version 4.0.1
858 * dos2unix/unix2dos: man page improvements: Thanks to Jari Aalto <jari.aalto@cante.net>.
859 - Replace hyphens with minus signs (look like dashes) where needed.
860 - Options in alphabetical order.
861 * dos2unix/unix2dos: man page: Update ISO mode information.
862 * dos2unix/unix2dos: Option -V prints localedir used.
863 * dos2unix: Localedir can be overruled with environment variable
865 * unix2dos: Localedir can be overruled with environment variable
867 * dos2unix/unix2dos: Fixed two wrong conversions in ISO mode:
869 - Closing guillemet (angle quotation mark, >>).
870 * dos2unix/unix2dos: Port to OS/2 Warp: Thanks to Elbert Pol <elbertdotpol@gmail.com>.
871 * dos2unix/unix2dos: Makefiles: Added target 'strip'.
873 2009-12-15 Erwin Waterlander <waterlan@xs4all.nl>
874 * dos2unix/unix2dos: version 4.0
875 * dos2unix/unix2dos: Added internationalisation using gettext.
876 * dos2unix/unix2dos: Added Dutch translation.
877 * dos2unix/unix2dos: Ported to Win32 using Mingw32 <http://www.mingw.org/>
878 * dos2unix/unix2dos: Ported to DOS using DJGPP <http://www.delorie.com/djgpp/>
879 * dos2unix/unix2dos: Fixed problem in DOS/Windows stdio mode.
880 * dos2unix/unix2dos: New option -L/--license that prints software license.
881 * dos2unix/unix2dos: Code cleanup
882 * dos2unix/unix2dos: Update manual
884 2009-12-04 Erwin Waterlander <waterlan@xs4all.nl>
885 * dos2unix: version 3.2
886 * unix2dos: version 2.3
887 * dos2unix/unix2dos: version.mk: New file.
888 * dos2unix/unix2dos: README: New file.
889 * dos2unix/unix2dos: ChangeLog : New file.
890 * dos2unix: INSTALL: Updated.
891 * dos2unix/unix2dos: Makefile: Makefile according GNU standards.
892 * unix2dos: INSTALL: New file.
893 * dos2unix: Applied all patches from RedHat:
894 - use mkstemp i.s.o. mktemp: Nov 17 2000 Tim Powers <timp@redhat.com>
895 - segfault: Jan 17 2002 Bernhard Rosenkraenzer <bero@redhat.com>
896 - safeconv: Oct 20 2004 Miloslav Trmac <mitr@redhat.com>
897 - manpage-update: Oct 6 2004 Mike A. Harris <mharris@redhat.com>
898 - preserve-file-modes: Feb 6 2007 Tim Waugh <twaugh@redhat.com>
899 - tmppath: Apr 13 2005 Tim Waugh <twaugh@redhat.com>
900 - c-missing-arg: Jan 18 2008 Tim Waugh <twaugh@redhat.com>
901 - Remove trailing white space.
902 * unix2dos: Applied all patches from RedHat:
903 - use mkstemp i.s.o. mktemp: Nov 17 2000 Tim Powers <timp@redhat.com>
904 - segfault: Jan 17 2002 Bernhard Rosenkraenzer <bero@redhat.com>
905 - manpage-update: Oct 6 2004 Mike A. Harris <mharris@redhat.com>
906 - preserve-file-modes: Oct 11 2004 Tim Waugh <twaugh@redhat.com>
907 - tmppath: Apr 13 2005 Tim Waugh <twaugh@redhat.com>
908 - Remove trailing white space.
910 1998-11-19 Christian Wurll <wurll@ira.uka.de>
911 * dos2unix: version 3.1
912 * dos2unix: Added extra newline if ^M occurs
914 1998-02-04 Bernd Johannes Wuebben <wuebben@kde.org>
915 * dos2unix: version 3.0
916 * dos2unix: Added Mac text file translation, i.e. \r to \n conversion
918 1995-03-30 Benjamin Lin <blin@socs.uts.edu.au>
919 * dos2unix/unix2dos: version 2.2
920 * dos2unix: Fixed a bug in 2.1 where in new file mode, if outfile already exists
921 * dos2unix: conversion can not be completed properly.
922 * unix2dos: Conversion from SunOS charset implemented.
924 1995-03-29 Benjamin Lin <blin@socs.uts.edu.au>
925 * dos2unix: version 2.1
926 * dos2unix: Conversion to SunOS charset implemented.
928 1995-03-19 Benjamin Lin <blin@socs.uts.edu.au>
929 * dos2unix/unix2dos: version 2.0
930 * dos2unix/unix2dos: Rewritten from scratch.
932 1995-03-16 Benjamin Lin <blin@socs.uts.edu.au>
933 * dos2unix: version 1.2
934 * unix2dos: version 1.3
935 * dos2unix/unix2dos: Modified to more conform to UNIX style.
937 1995-03-09 Benjamin Lin <blin@socs.uts.edu.au>
938 * unix2dos: version 1.2
939 * unix2dos: Fixed minor typo error
941 1994-12-20 Benjamin Lin <blin@socs.uts.edu.au>
942 * dos2unix/unix2dos: version 1.1
943 * dos2unix/unix2dos: Cleaned up for Borland C/C++ 4.02
945 1989-10-04 John Birchfield <jb@koko.csustan.edu>
946 * dos2unix/unix2dos: version 1.0