release 1.3.4
[cygwin-run.git] / ChangeLog
blob5d6934472abb996f088340a62a2ea3383cb502f9
1 2015-08-22  Achim Gratz  <Stromeko@NexGo.DE>
3         * configure.ac: Bump version number.  Add strcasecmp to
4         AC_CHECK_FUNCS.
6 2015-08-13  Achim Gratz  <Stromeko@NexGo.DE>
8         * src/util.c (run2_quote_strdup): When quoting, do not simply skip
9         empty arguments but return '""'.
11 2015-08-13  Achim Gratz  <Stromeko@NexGo.DE>
13         * src/run.c (file_exists_multi): Hoist char* t out of loop and
14         initialize NULL.  Remove redundant truncation of fullname.
16 2015-08-13  Achim Gratz  <Stromeko@NexGo.DE>
18         * src/run.c (xemacs_special): Replace stricmp with strcasecmp throughout.
19         * src/util.c (run2_ends_with): Ditto.
21 2015-08-13  Achim Gratz <Stromeko@NexGo.DE>
23         * src/run.c (parse_args): Implement -wait/--wait and
24         -quote/--quote as valid long options, we prefer the double-dash
25         variant.
26         * src/run.1.in: All long options are preferedly using leading
27         double dashes.  Document the fact that single slashes work on two
28         of them for backwards compatibility.
30 2014-09-06  Achim Gratz <Stromeko@Stromeko.DE>
32         * configure.ac: Bump version number.  Correct some type, header
33         and function checks.
34         * src/run.c: Add "-quote" option.  Use run2_quote_strdup function
35         to (maybe) quote the input string.
36         * src/util.c: New function run2_quote_strdup.  If the quote
37         argument is false, then just copy the input string via
38         run2_strdup.  Otherwise, check if the input string needs quoting.
39         If yes, then surround the string with double quotes and quote all
40         embedded double quotes and backslahses with a backslash.
41         * src/util.h: New function run2_quote_strdup.
43 2014-09-06  Achim Gratz <Stromeko@Stromeko.DE>
45         * src/run.c: Revert indiscriminate argument quoting.  This also
46         quotes options and apparently some programs process options before
47         quote removal.
49 2014-06-09  Achim Gratz <Stromeko@Stromeko.DE>
51         * configure.ac: Bump version number.
52         * src/run.c: Correct some calls to error, obviously these were
53         meant to call errorMsg.
55 2013-11-30  Max Polk  <maxpolk@gmail.com>
57         * src/run.c: account for NULL argv list terminator.  Surround
58         arguments with double quotes in case of space in original arg.
60 2013-07-24  Charles Wilson  <cygwin@cwilson.fastmail.fm>
62         Release 1.3.0. Massive refactoring.
63         * NEWS: Update documentation.
64         * configure.ac: Bump version number. Enable silent rules.
65         Add new configuration options similar to run2. Use proper
66         idiom to check for Windows Resource Compiler, even when cross-
67         compiling. No longer check for underscore on entrypoint as we
68         now use the "standard" one. Move spawnv argtype checking
69         function defs to separate m4 file.
70         * src/Makefile.am: Add silent rule for $RC. No longer use
71         special entrypoint. Add new source files from refactor.
72         * src/run.c: Almost entirely rewritten to use run2_* functions
73         from env.c, run2_gpl.c, tokenizer.c, and util.c; existing functions
74         in run.c removed. Added new command line options --run-debug[=N],
75         --run-verbose, --run-notty, and --run-nogui. On __CYGWIN__,
76         realMain is main(argc,argv) and is the actual entrypoint. On other
77         platforms (MinGW), WinMain@16 is the entry point, and it simply
78         parses the GetCommandLine() into an argc/argv[] pair and delegates
79         to realMain().
80         * src/run.h: Removed many declarations. Made almost all remaining
81         declarations static. Declare realMain as main on __CYGWIN__.
82         * src/env.c: New (copied from run2 and modified slightly).
83         * src/env.h: New (copied from run2 and modified slightly).
84         * src/run2_gpl.c: New (copied from run2 and modified slightly).
85         * src/run2_gpl.h: New (copied from run2 and modified slightly).
86         * src/tokenizer.c: New (copied from run2 and modified slightly).
87         * src/tokenizer.h: New (copied from run2 and modified slightly).
88         * src/util.c: New (copied from run2 and modified slightly).
89         * src/util.h: New (copied from run2 and modified slightly).
90         * m4/check_stdcall_funcs.m4: New.
91         * m4/spawnv_signature.m4: New (moved from configure.ac)
92         * build-aux/.cvsignore: Add ar-lib.
94 2013-06-21  Charles Wilson  <cygwin@cwilson.fastmail.fm>
96         Avoid PCA issues on W7
97         * src/run.c (WinMain): Ensure that target application
98         is not automatically started as a "Program Compatibility
99         Assistant" job by default. See
100         http://cygwin.com/ml/cygwin-developers/2012-02/msg00022.html
101         (start_child): Ditto.
103 2013-05-30  Charles Wilson  <cygwin@cwilson.fastmail.fm>
105         Release 1.2.0
106         * configure.ac: Bump version. Use xz for distribution.
107         * src/run.c (WinMain): Fix typo.
109 2013-05-30  Charles Wilson  <cygwin@cwilson.fastmail.fm>
111         Support cygwin64, mingw64
112         * configure.ac: Detect cygwin64 and mingw64. Detect
113         signature of _spawnv() and spawnv(). Update to
114         recent autotools.
115         * src/Makefile.am: Use correct entrypoint for 64bit
116         platforms.
117         * src/run.c (WinMain): Silence warnings. Invoke
118         _spawnv() on mingw platforms; invoke spawnv() on
119         cygwin/cygwin64 platforms.
120         * NEWS: Update documentation.
121         * TODO: Ditto.
123 2011-01-25  Charles Wilson  <cygwin@cwilson.fastmail.fm>
125         Require cygwin-1.7
126         * configure.ac: If cygwin, require at least cygwin-1.7
127         * src/run.c: Remove support for cygwin-1.5 (e.g.
128         eliminate all references to deprecated cygwin_conv_*
129         functions.
130         * NEWS: Update documentation.
132 2011-01-25  Charles Wilson  <cygwin@cwilson.fastmail.fm>
134         New branch: 1.2.x
135         * configure.ac: Bump version (post-release)
137 2011-01-25  Charles Wilson  <cygwin@cwilson.fastmail.fm>
139         Release 1.1.13
140         * configure.ac: Bump version.
141         * TODO: Update documentation.
143 2011-01-25  Charles Wilson  <cygwin@cwilson.fastmail.fm>
145         * src/run.h: Remove ancient workarounds for cygwin
146         B19 and B20 (CYGWIN_CONV_* macros for cygwin[32]_conv_*
147         functions).
148         * src/run.c (xemacs_special): Remove ancient workarounds
149         for cygwin B19 and B20: don't use CYGWIN_CONV_* macros
150         but instead call cygwin_conv_* functions directly. If
151         replacement is available, avoid obsolete cygwin_conv_*
152         functions.
153         (process_execname): Ditto.
154         (get_exec_name_and_path): Ditto.
155         (addPathCygwin): Ditto.
156         (fileExists): Ditto.
157         * NEWS: Update documentation.
159 2011-01-25  Jonathan Kamens  <jik@kamens.us>
161         * src/run.c (process_execname): Validate symlink
162         lookup to avoid segfault.
164 2009-12-01  Corinna Vinschen  <corinna@vinschen.de>
166         * src/run.c (configure_startupinfo): Ensure stdout
167         and stderr are distinct. Open with corrent flags.
169 2009-08-18  Charles Wilson  <cygwin@cwilson.fastmail.fm>
171         Release 1.1.12
172         * configure.ac: Bump version.
173         * src/resource.rc.in: Fix typo in copyright date. Run
174         was first rewritten and released as an entity separate
175         from xemacs' runemacs in 1998, not 1988.
177 2009-08-18  Charles Wilson  <cygwin@cwilson.fastmail.fm>
179         Only create (and hide) a console if absolutely necessary.
180         * src/run.h: Test $target.exe before $target. Pass $target
181         name, as well as cmdline, to start_child.  Pass argc by
182         reference to build_cmdline.
183         * src/run.c (target_is_gui): New function.
184         (have_console): New function:
185         (build_cmdline): Modify *argc and argv in-place, to remove
186         -wait if present, before constructing cmdline.
187         (WinMain): Ripple from run.h changes. If $target is GUI, then
188         do not call start_child nor worry about the console; instead,
189         launch $target directly using: if not -wait, a lobotomized call
190         to CreateProcess; if -wait, then _spawn with the modified argv.
191         (setup_invisible_console): Do nothing if already have console.
192         (configure_startupinfo): If we have a console, and have not
193         requested pipes, then ensure that stdio of child will be the
194         non-redirected CONOUT$ and CONIN$ of that console (avoids 100%
195         CPU issue).
196         (start_child): Change bHaveInvisConsole to bHaveConsole, and
197         initialize it using explicit test via have_console(). Refactor
198         W7 workaround. Only set bForceUsingPipes if DEBUG_FORCE_PIPES.
199         * NEWS: Update.
200         * README: UPdate.
202 2009-08-16  Corinna Vinschen <corinna@vinschen.de>
204         * src/resource.rc.in: Fix filename case to accommodate case sensitive
205         filesystems.
207 2009-08-15  Charles Wilson  <cygwin@cwilson.fastmail.fm>
209         * build-aux/.cvsignore: Update.
211 2009-08-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
213         More 100% CPU fixes
214         * src/run.c (configure_startupinfo): Accept new parameter
215         bForceUsingPipes, to force setting up new handles for child
216         stdio.
217         (start_child): Set bForceUsingPipes TRUE for WinXP and above.
218         * NEWS: Update documentation.
220 2009-08-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
222         Fix performance problems wrt urxvt-X (for < Windows 7)
223         * src/run.c: Only use Windows 7 workaround ON Windows 7.
224         * README: Document limitations on Windows 7.
225         * TODO: Add Windows 7 entry.
226         * AUTHORS: Recognize Corinna Vinschen's current and
227         previous contributions to invisiconsole support.
228         * NEWS: Update documentation.
230 2009-08-10  Charles Wilson  <cygwin@cwilson.fastmail.fm>
232         Release version 1.1.11.
234 2009-08-10  Charles Wilson  <cygwin@cwilson.fastmail.fm>
235             Corinna Vinschen  <corinna@vinschen.de>
237         Windows 7: Enable proper invisiconsole operation.
238         * TODO: New file.
239         * Makefile.am: Add TODO. Fixup distribution perms; ensure
240         autoreconf works on distributed tarball.
241         * configure.ac: Detect cygwin-1.7; use a config.h. Use
242         ustar format for distributed tarball, for empty m4/ directory.
243         Check for setenv function.
244         * src/resource.rc.in: Include config.h.
245         * src/run.h: Declare new function run_setenv.
246         * src/run.c: Include config.h.
247         (start_child): On cygwin-1.7, expect cygwin's startup code to
248         automatically create an invisible console for us (works around
249         bug in Windows 7, but employed regardless of OS version). On
250         cygwin-1.5 and mingw, use a different workaround (but employ it
251         on WinXP and above, not just Windows 7). (Corinna Vinschen).
252         (run_setenv): New function.
253         (addPath): Use run_setenv (restores MinGW support).
255 2009-08-10  Charles Wilson  <cygwin@cwilson.fastmail.fm>
257         Updated build machinery and documentation.
258         * build-aux: New directory.
259         * m4: New directory.
260         * configure.ac: Update to latest autotools. Bump
261         version number.
262         * Makefile.am: Added -I m4.
263         * src/Makefile.am: Refine rules for invoking windres.
264         * src/resource.rc.in: Fix line endings.
265         * NEWS: Add actual content.
266         * README: Add actual content.
267         * .cvsignore: New.
268         * src/.cvsignore: New.
269         * build-aux/.cvsignore: New.
270         * m4/.cvsignore: New.
272 2006-05-22  Charles Wilson  <cygwin@cwilson.fastmail.fm>
274         Release 1.1.10
276         * src/run.c: Create invisible console. Reworked and
277         incorporated pipe handling code from Alexander Gottwald.
278         Changed comments to C style.
279         * configure.ac: Bump version.
281 2006-04-06  Alexander Gottwald  <ago at freedesktop dot org>
283         Release 1.1.9
285         * src/run.c: Remove quotes from search path.
286         * configure.ac: Bump version.
288 2006-03-31  Alexander Gottwald  <ago at freedesktop dot org>
290         Release 1.1.8
292         * src/run.c: Remove quotes from programname.
293         * configure.ac: Bump version.
295 2006-03-08  Alexander Gottwald  <ago at freedesktop dot org>
297         Release 1.1.7
299         * src/run.c: Copy cygwin environment variables to
300         windows environment. Disable WinMainCRTStartup wrapper.
301         * configure.ac: Bump version.
303 2005-11-09  Alexander Gottwald  <ago at freedesktop dot org>
305         Release 1.1.6
307         * src/resource.rc: Preserve the order of icons.
308         * src/run.1.in: New.
309         * configure.ac: Bump version. Generate man page.
310         * src/Makefile.am: Add man page.
312 2009-08-15  Charles Wilson
314         Release 1.1.5
316         * ChangeLog_: renamed to...
317         * ChangeLog: here.
319 2005-11-01  Alexander Gottwald  <ago at freedesktop dot org>
321         Maintaining run.exe separately. Removed all X-startup-scripts
322         files from this package.
324         * CHANGELOG: renamed to...
325         * ChangeLog_: this (as a sop to case-insensitive fs)
326         * X-boxed.ico: Moved to...
327         * src/X-boxed.ico: here.
328         * X.ico: Moved to...
329         * src/X.ico: here.
330         * file.ico: Moved to...
331         * src/file.ico: here.
332         * lisp.ico: Moved to...
333         * src/lisp.ico: here.
334         * run.ico: Moved to...
335         * src/run.ico: here.
336         * rxvt.ico: Moved to...
337         * src/rxvt.ico: here.
338         * xemacs.ico: Moved to...
339         * src/xemacs.ico: here.
340         * run.c: Moved to...
341         * src/run.c: here.
342         * run.h: Moved to...
343         * src/run.h: here.
344         * resource.rc: Moved to...
345         * src/resource.rc.in: here. Generate correct version
346         information.
348         * configure.ac: New.
349         * Makefile.am: New.
350         * src/Makefile.am: New.
351         * src/vim.ico: New.
352         * AUTHORS: New.
353         * NEWS: New.
354         * COPYING: Update.
355         * README: Delete out of date information; leave empty
356         placeholder.
358         * TODO: Removed.
359         * Makefile.cygwin: Removed.
360         * INSTALL: Removed.
362 2005-10-26  Alexander Gottwald  <ago at freedesktop dot org>
364         * run.c: Pipe stdin, stdout and stderr to child process
366 2005-04-20  Alexander Gottwald  <ago at freedesktop dot org>
368         Released as x-startup-scripts-1.0.10
370         NOTE: as run was released as a component of x-startup-scripts,
371         the standalone directory included a Makefile.am but no
372         configure.ac, and as such is unbuildable.  This repository
373         instead introduces new modifications to Makefile.cygwin
374         to allow this version to compile for historical purposes.
375         Furthermore, various icons that were not part of ago's
376         release are still present, because they were added right
377         back in run-1.1.5...
379         Finally, ALL of these changes, from this point down to
380         the release of version 1.1.4 below, are one single checkin
381         in the repository, because we no longer have access to
382         the development repository of the time.
384 2009-08-15  Charles Wilson
386         Artificial changes to allow building this old version
387         with existing (non-subproject) build infrastructure.
388         Of course, you'd need a contemporaneous gcc, because
389         modern gcc's provide a crt0.o startup object that includes
390         a conflicting symbol...so you STILL can't actually build
391         this version.
393         * Makefile.cygwin: Modify build procedure.
394         * Makefile.vc: Removed.
396 2004-10-25  Alexander Gottwald  <ago at freedesktop dot org>
398         * run.c: Fixing buffer overflow reported by Kirby
399         Kuehl <kkuehl at cisco dot com>
401 2004-10-06  Alexander Gottwald  <ago at freedesktop dot org>
403         * run.c: Added ability to expand PATH variable with
404         -p <dir> parameter
406 2004-03-11    <harold@codeweavers.com>
408         * X.ico: Update X.ico in run.exe with Jehan Bing's latest.
409         * X-boxed.ico,resource.rc: Add Benjamin Riefenstahl's boxed X
410         icon to run.exe.
412 2004-03-10    <harold@codeweavers.com>
414         * run.rc: Renamed to...
415         * resource.rc: this. Change the XEmacs icon to the XWin icon.
416         Eliminate other icons.
418 Version 1.1.4 - 19-Dec-98
419 --------------------------
420         - No code changes
421         - CYGWIN: tested under 20.1, new binary included in package
422         - CYGWIN: tested "rungnuclient" functionality under Cygwin B20.1
423         - CYGWIN: tested "rungnuclient" functionality under Cygwin B19.x
424             Thanks to Raymond Toy
425         - documentation changes
427 Version 1.1.3 -  8-Dec-98
428 --------------------------
429         - No code changes
430         - added icons
431         - NATIVE: added version info properties page
433 Version 1.1.2 -  5-Dec-98 (NOT RELEASED)
434 --------------------------
435         - BOTH: more code cleanup
436         - CYGWIN: removed some unnecessary calls to cygwin_conv functions
437           When cygwin_conv_to_posix_path() and _posix_path_list() functions
438           are called on paths/pathlists that are already in posix format
439           they return garbage in B19. So don't call them when you don't
440           have to.
441         - CYGWIN: added #defines to enable building under both B19 and
442           B20 without modifying the source code. UNTESTED under B20.
444 Version 1.1.1 - 30-Nov-98 (NOT RELEASED)
445 --------------------------
446         - cleaned up code a little bit (and you thought the code
447           was messy NOW!)
448         - fixed all known bugs
450 Version 1.1.0 - 18-Nov-98 (NOT RELEASED)
451 --------------------------
452         - added ability to search PATH for the target
453         - added ability to specify explicit path information for
454           the target, which removed requirement that run.exe and
455           the target be in the same directory
456         - added "simple" mode of operation, where run.exe is
457           renamed to runXXXXXX.exe, to run target XXXXXX
458         - SHOWSTOPPER: cygwin version gets confused if '\\' character
459           appears in the argument list
461 Version 1.0.0 - 29-Sept-98
462 --------------------------
463         initial release