]> cygwin.com Git - cygwin-apps/setup.git/blob - ChangeLog
* desktop.cc: make sure we use backslashes, not slashes.
[cygwin-apps/setup.git] / ChangeLog
1 2000-07-11 DJ Delorie <dj@cygnus.com>
2
3 * desktop.cc: create /etc/profile
4 * desktop.cc: fix include syntax
5 * Makefile.in: add auto-dependencies
6 * root.cc: support system vs user
7 * desktop.cc: ditto
8 * mount.h: ditto
9 * mount.cc: ditto
10 * install.cc: ditto
11 * res.rc: ditto
12 * resource.h: ditto
13 * state.h: ditto
14 * desktop.cc: make sure we use backslashes, not slashes.
15
16 2000-07-10 DJ Delorie <dj@cygnus.com>
17
18 * Makefile.in: add desktop.o and mklink2.o
19 * dialog.h: add do_desktop
20 * install.cc: create standard directories, call do_desktop
21 * res.rc: add cygwin.ico as a file also
22 * desktop.cc: new, do shortcuts, batch files, and icons
23 * mklink2.c: new, for COM
24 * README: update to-do list
25
26 2000-07-10 DJ Delorie <dj@cygnus.com>
27
28 * ini.cc (do_ini): don't worry about timestamps if we're not
29 actually installing.
30
31 2000-07-09 DJ Delorie <dj@cygnus.com>
32
33 * Makefile.in: add -I$(srcdir) for ini.h
34
35 2000-07-06 DJ Delorie <dj@cygnus.com>
36
37 * Replace everything with a new GUI version
38 * zlib/gzio.c: add gzctell() for progress displays
39
40 2000-06-22 DJ Delorie <dj@cygnus.com>
41
42 * setup.c (tarx): re-add call to write_pkg()
43
44 2000-06-07 DJ Delorie <dj@cygnus.com>
45
46 * cygcalls.c: new, call cygwin1.dll functions directly
47 * cygcalls.h: header for same
48 * Makefile.in: add cygcalls.[ch], remove mount/cygpath/umount
49 exes, fix cinstall.rc dependencies.
50 * path.c: remove unneeded code
51 * setup.c: use cygcalls instead of xcreate_process.
52 uncompress embedded files with zlib
53 add "-d" for "download only"
54 add "-h" for help
55 postpone mount changes until very end
56 add download progress indicators
57 pack multi-column listings more
58 auto-delete temp files
59 customize banner message according to options
60 prompt user for text/binary mounts
61 add warnings about empty setup directory, root installs, etc
62
63 2000-05-24 DJ Delorie <dj@cygnus.com>
64
65 * tar.c: New file; built-in tar using zlib.
66 * tar.h: New file; header for same.
67 * ctar.c: New file; test program for same.
68 * Makefile.in: add built-in tar, remove tar.exe and gzip.exe
69 * path.c (pathcat): convert slashes and canonicalize, instead of aborting
70 * setup.c (tarx): add support for built-in tar
71 (main): accept unix-style slashes, check root dir for drive letters,
72 warn about installing in /, make sure cwd is empty for internet installs,
73 defer mounts to end of install, support built-in tar.
74
75 Fri May 19 23:44:37 2000 Christopher Faylor <cgf@cygnus.com>
76
77 Fix compiler warnings throughout.
78 * pkg.c (init_pkgs): Make static 'stuff' global_pkgstuff for use in
79 get_pkg_stuff.
80 * setup.c: Make 'root' global.
81 (istargz): Return pointer to "stem" of matched .tar.gz file.
82 (tarx): Special case cygwin-20000301 to == cygwin-1.1.0.tar.gz. Remove
83 bogus check_for_installed check.
84 (recurse_dirs): Add preliminary support for .bat file execution.
85 (create_uninstall): Eliminate unneeded parameter.
86 (do_start_menu): Ditto.
87 (mkmount): Ditto.
88 (get_pkg_stuff): Ditto. Check for currently installed cygwin by
89 scanning for the version number. Eliminate unneeded argument to
90 create_uninstall.
91 (getdownloadsource): Add 'name' to list of names rather than url.
92 (main): Eliminate unneeded argument in get_pkg_stuff. Eliminate
93 unneeded argument in mkmount and do_start_menu.
94
95 2000-05-18 DJ Delorie <dj@cygnus.com>
96
97 * setup.c (optionprompt): allow multi-column, clean up message
98 about more options, be more robust about user input.
99 (getdownloadsource): make the mirror URL a macro.
100 (main): do mounts after done prompting user.
101
102 Tue May 2 00:56:41 2000 Christopher Faylor <cgf@cygnus.com>
103
104 * setup.c (cleanup): Inverse order of deletion stands a better chance
105 of deleting cygpath.exe. Still seems to suffer from occasional races,
106 though.
107 (cleanup_on_signal): Perform convoluted dance to accomodate win95 and
108 w2k.
109 (output_file): Defend against an unlikely handle leak.
110 (main): Don't set up signal handling until we have something special to
111 do.
112
113 Mon May 1 17:56:32 2000 Christopher Faylor <cgf@cygnus.com>
114
115 * path.c (kill_cygpath): Delete function.
116 (exit_cygpath): Make more defensive so that it can be called at any
117 time.
118 (cygpath_pipe): Don't set up signal here. Do it in main().
119 * setup.c (istargz): New function.
120 (recurse_dirs): Look for *.gz pattern rather than *tar.gz since *tar.gz
121 inexplicably fails on samba mounted partitions. Use istargz to match
122 tar.gz tail.
123 (processdirlisting) Use istargz to match tar.gz tail.
124 (cleanup): Renamed from filedel.
125 (cleanup_on_signal): New function. Called on CTRL-C.
126 (main): Record handle of main thread so that it can be suspended when
127 CTRL-C occurs. Set up cleanup_on_signal signal handler.
128
129 Mon May 1 11:05:07 2000 Christopher Faylor <cgf@cygnus.com>
130
131 * setup.c (do_start_menu): Don't concatenate paths to already built
132 paths.
133
134 Sun Apr 30 22:37:34 2000 Christopher Faylor <cgf@cygnus.com>
135
136 * path.c (exit_cygpath): Wait for subprocess to exit before returning.
137 (cygpath_pipe): Don't call exit_cygpath. Let main atexit routine do
138 that.
139 * pkg.c (init_pkgs): Accept root argument. Make registry key "cygwin
140 root"-specific.
141 * setup.c (filedel): Call exit_cygpath here so that we can be assured
142 that cygpath subprocess has died. This allows us to delete cygpath.exe
143 and cygwin1.dll.
144 (optionprompt): Initialize response to -1 so that second screen of
145 mirrors will appear.
146 (get_pkg_stuff): Don't attempt to use HKCLU. Pass root to init_pkgs.
147 * setup.h: Reflect init_pkgs prototype change.
148
149 Sat Apr 29 23:53:30 2000 Christopher Faylor <cgf@cygnus.com>
150
151 * pkg.c (init_pkgs): Accept an argument to control what root registry
152 key should be used.
153 * setup.c (get_pkg_stuff): Use HKCLU registry key if default fails.
154 * setup.h: Reflect init_pkgs prototype change.
155
156 Sat Apr 29 23:27:14 2000 Christopher Faylor <cgf@cygnus.com>
157
158 * error.c (winerror): Respond to gcc warning.
159 * path.c (cygpath_pipe): Ditto.
160 * setup.c (filedel): Call sa_cleanup on deleteme.
161 (create_shortcut): Coerce argument to eliminate compiler warning.
162 (tarx): Use installed version of cygwin1.dll, overriding tar file name.
163 (refmatches): New function. Tests if ref is contained in a list of
164 packages to install.
165 (filematches): New function. Tests if filename matches one of a list
166 of packages to install.
167 (recurse_dirs): Accept list of packages to install. Generalize tar.gz
168 test to accomodate _tar.gz.
169 (prompt): Ensure that stdout is flushed prior to asking for input.
170 (findhref): Initialize variables to quiet a compiler warning.
171 (processdirlisting): Accept list of packages to install. Special case
172 cygwin tar file version number.
173 (downloaddir): Accept list of packages to install.
174 (downloadfrom): Ditto.
175 (create_uninstall): Eliminate unneeded variables. Quote arguments to
176 regtool.
177 (do_start_menu): Don't create uninstall bat file if updating or user
178 specified a list of packages.
179 (mkmount): Eliminate unneeded variables.
180 (get_pkg_stuff): New function. Checks for previous unversioned
181 installation.
182 (main): Accept -u and -f options and package names on the command line.
183 Use get_pkg_stuff to initialize package information. Umount /etc.
184 Call recurse_dirs and downloadfrom with list of package to install.
185 Ensure that all /usr/local directories are created. Output
186 installation time to setup.log.
187 * setup.h: Add some prototypes.
188 * xsystem.c (xcreate_process): Eliminate unneeded variable.
189
190 Sat Apr 29 12:43:08 2000 Christopher Faylor <cgf@cygnus.com>
191
192 * setup.c (optionprompt): Don't overlap display of already seen options
193 on next page.
194 (geturl): Print name of site which we're connecting to rather than "ftp
195 site".
196 (processdirlisting): Avoid URLs that contain a /. or ./ . Is this
197 test too simplistic?
198 (do_start_menu): Use pathcat to build path to <root>\bin to avoid
199 problems when user chooses x:\ as their root.
200 (main): For now, default to "non-update" mode. Allow -u option to
201 signify an update.
202
203 Sat Apr 29 00:26:06 2000 Christopher Faylor <cgf@cygnus.com>
204
205 * pkg.c: New file.
206 * setup.c (tarx): Skip already installed or older packages. Report
207 when a package has been updated.
208 (processdirlisting): Skip already installed or older packages.
209 (main): Detect -f option for forced installation. Initialize pkg stuff
210 if appropriate.
211 * setup.h: Add pkg definitions.
212
213 Thu Apr 27 14:21:30 2000 Christopher Faylor <cgf@cygnus.com>
214
215 * setup.c (findhref): Return NULL on empty string. Eat any trailing
216 ";something".
217 (processdirlisting): Attempt to limit recursively processing the same
218 directory.
219
220 Thu Apr 27 11:42:23 2000 Christopher Faylor <cgf@cygnus.com>
221
222 * setup.c (filedel): New function.
223 (output_file): Keep track of files extracted from setup.exe for
224 subsequent deletion.
225 (tarx): Close process handle of child tar process or suffer handle
226 leak.
227 (getdownloadsource): Close mirror file so that it can be unlinked.
228 (processdirlisting): Return total number of files extracted.
229 (main): Initialize array of files to delete. Ensure that files are
230 closed on exit. Make the directory that setup.exe is started from ==
231 the directory where temporary files are placed. Issue an error if no
232 files were found to download.
233 * xsystem.c (xcreate_process): Close the thread handle. Close the
234 process handle if we waited for it to exit.
235
236 Thu Apr 27 09:54:19 2000 Christopher Faylor <cgf@cygnus.com>
237
238 * setup.c (main): Change version number output.
239
240 Thu Apr 27 09:23:17 2000 Christopher Faylor <cgf@cygnus.com>
241
242 * setup.c (tarx): Use full path name to tar executable.
243 (main): Build full pathname to tar executable. Create /usr/local/etc
244 by default.
245
246 Wed Apr 26 22:16:57 2000 Christopher Faylor <cgf@cygnus.com>
247
248 * setup.c (findhref): Change method for scanning for href= to choose
249 the last one on the line. This is still not foolproof and probably
250 will need to be changed eventually. Don't abort if no "size" field is
251 evident.
252 (processdirlisting): Fix boolean algebra.
253
254 Wed Apr 26 01:10:39 2000 Christopher Faylor <cgf@cygnus.com>
255
256 * main.c (tarx): Add some code for future task of unmounting
257 directories encountered in tar file.
258
259 Sat Apr 22 16:37:03 2000 Christopher Faylor <cgf@cygnus.com>
260
261 * setup.c (findhref): Decode file size, when appropriate.
262 (needfile): New function. Returns 1 when file should be
263 downloaded.
264 (processdirlisting): Always download if file size does not
265 match. Prompt when download fails for some reason.
266 (getdownloadsource): Accomodate findhref argument changes.
267
268 Sat Apr 22 15:13:42 2000 Christopher Faylor <cgf@cygnus.com>
269
270 Throughout, use global session handle rather than reinitializing for
271 each connect. Don't pass session as an argument to setup.c functions.
272 * setup.c (geturl): Only issue "Connecting to.." message when using
273 http or first time for ftp since subsequent connections will be fast.
274 (processdirlisting): Allocate space for "N" when user has specified
275 "N"ever option so that it can be subsequently freed.
276 (main): Abort if we can't get the list of mirrors.
277
278 Thu Apr 20 16:41:42 2000 Christopher Faylor <cgf@cygnus.com>
279
280 * setup.c (main): Umount /bin and /lib.
281
282 Wed Apr 19 13:34:44 2000 Christopher Faylor <cgf@cygnus.com>
283
284 * setup.c (main): Create an empty /var/run/utmp.
285
286 Tue Apr 18 19:16:56 2000 Christopher Faylor <cgf@cygnus.com>
287
288 * Makefile.in: Add umount to list of files to include in setup.exe.
289 * setup.c (xumount): New function for unmounting directories.
290 (main): Unmount /usr.
291 (mkmount): Unmount "unix directory" before trying to figure out where
292 to create the directory.
293
294 Tue Apr 18 17:28:55 2000 Christopher Faylor <cgf@cygnus.com>
295
296 * setup.c (mkmount): Use xcreate_process to start mount process,
297 avoiding the shell.
298 (main): Don't do buffering on stdout or prompts won't be displayed
299 correctly if running in a cygwin shell with CYGWIN=tty.
300
301 Tue Apr 18 15:35:19 2000 Christopher Faylor <cgf@cygnus.com>
302
303 * setup.c (main): Remove the CYGWIN environment variable before
304 starting any cygwin programs.
305
306 Mon Apr 17 19:20:52 2000 Vadim Egorov <egorovv@mailandnews.com>
307
308 * setup.c (geturl): Use alternative method for finding filename part of
309 a URL.
310 (processdirlisting): Accomodate strange output from non-MS ftp proxy.
311 (downloaddir): Unlink file containing dir listing.
312 (downloadfrom): Ditto.
313
314 Mon Apr 17 00:00:49 2000 Christopher Faylor <cgf@cygnus.com>
315
316 * setup.c (main): Disallow running setup.exe from the "root".
317
318 Sun Apr 16 18:50:58 2000 Christopher Faylor <cgf@cygnus.com>
319
320 Use "warning" function, where appropriate, to output warnings.
321 * setup.c (warning): New function -- outputs warning to console and log
322 file.
323 (tarx): Fix index used to reset file protection.
324 (main): Open the log file earlier so that more stuff can be sent to it.
325
326 Sat Apr 15 20:05:33 2000 Christopher Faylor <cgf@cygnus.com>
327
328 * setup.c (processdirlisting): Make "N" option a little less aggressive.
329
330 Fri Apr 14 11:11:29 2000 Christopher Faylor <cgf@cygnus.com>
331
332 * setup.c (tarx): Wait to after tar has completed to reset protections
333 or suffer races with tar process.
334
335 Thu Apr 13 12:51:19 2000 Christopher Faylor <cgf@cygnus.com>
336
337 * Makefile.in: Eliminate duplicate -nostdinc from CFLAGS.
338 * setup.c (create_uninstall): Create the uninstall .bat file in the
339 "root" so that we can remove the /bin directory. Add bin\cygwin.bat to
340 list of files to be deleted. Fix directory detection for determining
341 when to use 'rmdir'.
342 (do_start_menu): Add /usr/local/bin to the path.
343 (main): Add slop to files.array allocation so that we don't have to
344 worry about reallocating the array when it grows too large when doing
345 some trivial "pushes". Add /tmp and /usr/local/{bin,lib} to list of
346 files.
347
348 Thu Apr 13 01:59:44 2000 Christopher Faylor <cgf@cygnus.com>
349
350 * setup.c (processdirlisting): Fix handling of "A" for "A"lways
351 download.
352
353 Thu Apr 13 01:11:45 2000 Christopher Faylor <cgf@cygnus.com>
354
355 * path.c (kill_cygpath): New cleanup function.
356 (exit_cygpath): New cleanup function.
357 (cygpath_pipe): New function. Sets up cygpath in the background for
358 translating filenames.
359 (pathcvt): Use background cygpath for file translation.
360 * setup.c (tarx): New function. Called to extract tar files, capture
361 logging output, and translate it to Windows format.
362 (recurse_dirs): Use 'tarx' function to extract files.
363 (create_uninstall): Use file list built up by tarx rather than reading
364 the log file.
365 (mkmount): Add ability to mount root.
366 (main): Track elapsed install time. Mount root.
367 * starry.h: Add index field to strarry for tracking of tarx's usage of
368 this structure.
369 * xsystem.c (xcreate_process): Return proces handle when not waiting.
370
371 Mon Apr 10 22:44:56 2000 Christopher Faylor <cgf@cygnus.com>
372
373 * path.c: New file.
374 (pathfp): New function. Preliminary work for new -f cygpath
375 functionality.
376 * Makefile.in: Add new file.
377 (pathcvt): Move to new file.
378 (dtoupath): Ditto.
379 (utodpath): Ditto.
380 (pathcat): Ditto.
381 * setup.c (processdirlisting): Always open file in text mode.
382 (create_uninstall): Ditto.
383 (getdownloadsource): Ditto.
384 (main): Ditto.
385
386 Mon Apr 10 20:33:40 2000 Christopher Faylor <cgf@cygnus.com>
387
388 * xsystem.c: New file.
389 * Makefile.in: Accomodate new file.
390 * setup.c (xsystem): Move to new file.
391 (recurse_dirs): Accept handle to output log file. Don't use ">"
392 redirection to trap tar output. Use supplied handle instead.
393 (create_uninstall): Accept FILE pointer to opened log file. Don't
394 unlink log file here.
395 (do_start_menu): Accept FILE pointer to pass to create_uninstall.
396 (main): Open log file here and pass it to various functions. Unlink
397 when done.
398
399 Mon Apr 10 17:15:52 2000 Christopher Faylor <cgf@cygnus.com>
400
401 Change occurrences of .usr.bin to .bin throughout.
402 * setup.c (geturl): Increase number of retries to 20. Let user know
403 what's going on during long connects.
404 (processdirlisting): Accept "A"lways and "N"ever as update options.
405 (create_uninstall): Load cygwin1.dll from the current directory rather
406 than \bin.
407 (main): Add some expository text.
408
409 Sun Apr 9 20:59:15 2000 Christopher Faylor <cgf@cygnus.com>
410
411 * Makefile.in: Change method for compressing cygwin1.dll to avoid
412 creating a cygwin1.dll in the current directory. Ensure the addition
413 of -nostdinc to MINGW_CFLAGS.
414
415 Sun Apr 9 02:15:47 2000 Christopher Faylor <cgf@cygnus.com>
416
417 * Makefile.in: Augment clean target.
418
419 Fri Apr 7 17:04:02 Ron Parker <rdparker@sourceware.cygnus.com>
420
421 * README: Added info about non-working mingw implementation
422 * gzip.exe.gz: Replace with a version from the same build as the other
423 tools.
424 * tar.exe.gz: Replace with a version from the same build as the other
425 tools.
426 * mount.exe.gz: Add to repository until, mingw can build setup.
427 * cygpath.exe.gz: ditto
428 * cygwin1.dll.gz: ditto
429 * setup.c: Overwrite /bin and /lib mounts. Generate working shortcut
430 for Win9x. Display only a screenfull of options at a time. Call all
431 tools with an absolute path.
432 * setup.dsp: Restore the carriage returns, MS Developer Studio needs
433 them.
434 * setup.dsw: ditto
435 * zlib.dsw: ditto
436
437 Thu Apr 6 19:15:27 2000 Christopher Faylor <cgf@cygnus.com>
438
439 * Makefile.in: Add "-nostdinc" to regular CFLAGS. Add target to grab
440 cygwin1.dll from ../cygwin subdirectory.
441 * gzip.exe.gz: Update.
442 * tar.exe.gz: Update.
443
444 Wed Apr 5 10:52:08 2000 Christopher Faylor <cgf@cygnus.com>
445
446 * Makefile.in: Use ZLIB variable as a target.
447
448 Sat Apr 1 22:49:09 2000 Christopher Faylor <cgf@cygnus.com>
449
450 * Makefile.in: Eliminate traces of cygwinisms. Don't link with
451 libmsvcrt.a. It's unneeded. Build .rc file on the fly from various
452 sources.
453 * configure.in: Locate correct objcopy.
454 * configure: Regenerate.
455
456 Sat Apr 1 20:48:09 2000 Christopher Faylor <cgf@cygnus.com>
457
458 * Makefile.in: New file.
459 * configure.in: New file.
460 * configure: New file.
461 * zlib/Makefile.am: New file.
462 * zlib/configure.in: New file.
463 * zlib/aclocal.m4: New file.
464 * zlib/acinclude.m4: New file.
465 * zlib/configure: Regenerate from configure.in.
466 * zlib/Makefile.in: Regenerate from Makefile.am
This page took 0.058935 seconds and 5 git commands to generate.