OSDN Git Service

Fixes for newer cygwin gccs.
[pf3gnuchains/sourceware.git] / tcl / ChangeLog
1 2001-04-06  Christopher Faylor <cgf@redhat.com>
2
3         Throughout change __CYGWIN32__ to __CYGWIN__.
4         * cygwin/configure.in: When targeting cygwin, detect if C compiler
5         supports -mno-win32 flag and use it if so.
6         * cygwin/Makefile.in (EXTRA_CFLAGS): New variable.  Holds results of
7         -mno-win32 test.
8         (COMPILE): Add EXTRA_CFLAGS variable to options.
9         * generic/tclEnv.c: Only compile special Cygwin code if building under
10         Cygwin and want native windows understanding.
11         * win/tclWin32Dll.c (DllMain): #ifdef out CYGWIN impure_ptr stuff.
12         * win/Makefile.in: Add -D__USE_W32_SOCKETS to accomodate newer
13         newlib/w32api conventions.
14
15 Sat Jun 10 22:43:00 2000  Christopher Faylor <cgf@cygnus.com>
16
17         * win/tclWinFile.c (TclMatchFiles): Revert Mon Jun 5 18:48:32 2000
18         Christopher Faylor <cgf@cygnus.com>.  Fails on Windows 95.
19
20 Tue Jun  6 22:09:02 2000  Christopher Faylor <cgf@cygnus.com>
21
22         * win/Makefile.in: Set up and use autoconf variables throughout to
23         allow overriding variables from the make command line.
24
25 Tue Jun  6 12:17:46 2000  Christopher Faylor <cgf@cygnus.com>
26
27         * generic/tclFilename.c (Tcl_TranslateFileName): Reinstate Mon Jun 5
28         18:18:32 2000 Christopher Faylor <cgf@cygnus.com> minus a typo.
29
30 Tue Jun  6 17:05:20 2000  Andrew Cagney  <cagney@b1.cygnus.com>
31
32         * generic/tclFileName.c (Tcl_TranslateFileName): Revert Mon Jun 5
33         18:48:32 2000 Christopher Faylor <cgf@cygnus.com>, didn't compile.
34
35 Mon Jun  5 18:48:32 2000  Christopher Faylor <cgf@cygnus.com>
36
37         * generic/tclFileName.c (Tcl_TranslateFileName): Cygwin paths (and
38         Windows in general, actually) do not need to have '/'s translated into
39         '\'s.
40         (TclDoGlob): Ditto.
41         * win/tclWinFile.c (TclMatchFiles): Ditto.
42         * generic/tclInitScript.h: Look in "../bin/usr/share" as well as
43         "../bin/share".
44
45 Thu Apr 20 17:01:19 2000  Andrew Cagney  <cagney@b1.cygnus.com>
46
47         From Alexandre Oliva <aoliva@cygnus.com>
48         * generic/tclPosixStr.c (Tcl_SignalId, Tcl_SignalMsg): Do not
49         issue SIGPWR case if it's the same as SIGLOST.
50
51 2000-01-26  DJ Delorie  <dj@cygnus.com>
52
53         * win/tclWin32Dll.c (DllMain): Use standard _imp__reent_data,
54         not old-style __imp_reent_data
55         * generic/tclEnv.c (environ): ditto for _imp____cygwin_environ
56
57 2000-01-17  Drew Moseley  <dmoseley@cygnus.com>
58
59         * cygwin/configure.in: Fixed bug in setting of shell variable which
60         caused it to be interpreted as a subcommand rather than a variable.
61         * cygwin/configure: Regenerated.
62
63 1999-11-09  DJ Delorie  <dj@cygnus.com>
64
65         * cygwin/*: redone with automake for cygwin-specific info (from cgf)
66         to support cross-host builds
67
68 1999-10-26  DJ Delorie  <dj@cygnus.com>
69
70         * cygwin/*: new; replicate unix/* setup (other modules look
71         in unix/* for "local" builds; we don't want them to find the
72         cygwin version)
73         * unix/Makefile.in: undo
74         * configure.in: For cygwin, build win and cygwin
75         * Makefile.in: re-enable multi-dir support
76
77 Tue Oct 26 13:16:09 1999  Christopher Faylor <cgf@cygnus.com>
78
79         * win/configure.in: Add better detection of cross-compilation
80         environment.
81         * win/configure: Regenerate.
82
83 1999-10-20  DJ Delorie  <dj@cygnus.com>
84
85         * Makefile.in: temporarily disable second subdirectory
86
87 1999-10-19  DJ Delorie  <dj@cygnus.com>
88
89         * Makefile.in: support two subdirectories
90         * configure[.in]: for Cygwin, build both win and unix variants
91         * generic/tclEnv.c: include windows.h for cygwin
92         * generic/tclPort.h: If building the unix variant for cygwin,
93         pretend we're a unix machine instead of a windows machine.
94         * unix/Makefile.in: don't list -lc; it breaks on cygwin.
95         * unix/tclUnixFCmd.c: don't support fifos on cygwin
96
97 1999-08-05  DJ Delorie  <dj@cygnus.com>
98
99         * win/tclWinInit.c (TclPlatformInit): add tcl_pkgPath hack
100
101 1999-05-18  Fred Fish  <fnf@cygnus.com>
102
103         * generic/tclPosixStr.c (Tcl_ErrnoId): Avoid duplicate case when
104         ENOTSUP and EOPNOTSUPP are defined to the same thing.
105         (Tcl_ErrnoMsg): Ditto.
106
107 Fri Feb 26 17:40:55 1999  Geoffrey Noer  <noer@cygnus.com>
108
109         * win/configure.in: change "cygwin32*" to "cygwin*"
110         * win/configure: Regenerated.
111         * configure.in: Change "cygwin32*" to "cygwin*"
112         * configure: Regenerate.
113
114 1999-02-11  Syd Polk  <spolk@cygnus.com>
115
116         * unix/configure.in: Forgot to AC_SUBST TCL_LIB_FULL_PATH
117         * unix/configure: Regenerated.
118
119 1999-02-10  Syd Polk  <spolk@cygnus.com>
120
121         * unix/configure.in unix/tclConfig.sh.in: Export TCL_LIB_FULL_PATH
122         for dependencies.
123         * unix/configure: Regenerated.
124
125 1999-01-27  James Ingham  <jingham@cygnus.com>
126
127         * generic/tclInitScript.h: Added two missing \n\'s to initScript
128         *generic/tclCmdIL.c: Fixed #ifdef that was giving gcc warning.
129
130 1999-01-20  James Ingham  <jingham@cygnus.com>
131
132         * library/init.tcl (auto_mkindex_parser::mkindex): Clean out the parser
133         interpreter completely between each file, rather than
134         trying to remove imports by hand.  The latter method loses with
135         IncrTcl, since that imports the class command by hand, and if you
136         ever do "namespace import itcl::*" in your code, this will get
137         undone.
138
139 Tue Nov 24 18:27:40 1998  Jim Ingham    jingham@cygnus.com
140
141         * Import of Tcl8.0.4 from Scriptics.
142
143 Thu Sep 17 17:03:18 1998  Martin M. Hunt  <hunt@cygnus.com>
144
145         * configure: Rebuilt
146         * unix/configure: Rebuilt
147
148 Tue Aug 25 18:13:30 1998  Jim Ingham    <jingham@cygnus.com>
149
150         * init.tcl (tcl_findLibrary): Added an argument determining
151         whether to source a packages init file into the TclPro
152         debugger or not.
153
154 Thu Aug 20 14:32:59 1998  Jim Ingham    jingham@cygnus.com
155
156         * Import of Tcl 8.0.3 from Scriptics, with our modifications.
157         I also changed the Sciptics startup code so it can find our
158         libraries whether in the build tree or the install tree.
159
160 1998-07-03  Ben Elliston  <bje@cygnus.com>
161
162         Patches from Ian Roxborough <irox@cygnus.com>.
163         * generic/tclCmdIL.c (Tcl_LsearchObjCmd): Additional test when
164         compiling with Microsoft Visual C++.
165
166         * win/configure.in: Add AC_OBJEXT macro invocation.
167
168         * win/configure: Regenerate.
169
170         * win/Makefile.in: Don't assume object files end in `.o'.
171
172         * win/tclWinPort.h (PASCAL): Define when compiling with Microsoft
173         Visual C++.
174
175         * win/tclWinSock.c (PASCAL): Likewise.
176         
177 Tue Jun 30 18:56:27 1998 Jim Ingham <jingham@cygnus.com>
178
179         * generic/tclListObj.c (Tcl_SetListObj, SetListFromAny) Import a 
180         change to the list code from tcl8.1 which prevents a crash 
181         when you do Tcl_SetListObj(obj, 0, NULL) on an object which 
182         has been created with Tcl_NewObj, but never written into.
183
184 Thu Jun 18 10:25:00 1998  Syd Polk  <spolk@cygnus.com>
185         
186         * The import from Tcl 8.1a2 created all of the files that wer
187         in the Tcl 8.1a2 distribution but not in devo. Since they
188         are on their own branch, I removed them from devo.
189
190 Fri Jun 12 11:42:30 1998  Ian Lance Taylor  <ian@cygnus.com>
191
192         * win/install-sh: Remove.
193
194 Fri Jun 12 11:42:10 1998  Mumit Khan  <khan@xraylith.wisc.edu>
195
196         * configure.in (*-*-mingw32*): Support.
197         * win/Makefile.in (TCL_ALLOC_OBJ, DLL_LDLIBS, DLL_LDFLAGS): New 
198         variables.
199         (TCLOBJS): Use TCL_ALLOC_OBJ.
200         ($(TMPDIR)/tclcyg.def): Ignore errors.
201         ($(TMPDIR)/tclplugin.def): Likewise.
202         ($(TCLDLL),$(TCLPLUGINDLL,$(TCLREGDLL)): Cleanup DLL build flags 
203         and use TCL_ALLOC_OBJ, DLL_LDLIBS and DLL_LDFLAGS.
204         * win/configure.in: Call AC_CANONICAL_HOST.
205         (TCL_ALLOC_OBJ, DLL_LDLIBS, DLL_LDFLAGS): Define and substitute.
206         (TCL_PATCH_LEVEL): Bump to p2.
207         * win/tclWinPort.h (environ, hypot, exception): Define for Mingw32.
208         (EDEADLOCK): Undefine for Mingw32.
209         * win/configure: Rebuild.
210
211 Fri May 29 17:11:01 1998  Ian Lance Taylor  <ian@cygnus.com>
212
213         * win/Makefile.in (install-minimal): Don't create
214         INCLUDE_INSTALL_DIR.
215
216 Sun May 24 11:18:28 1998  Khamis Abuelkomboz  <khamis@mxbig.multix.de>
217
218         * generic/tclCmdIL.c (Tcl_LsearchObjCmd): using strnicmp for MSVC,
219         strncasecmp otherwise.
220
221 Fri May 22 16:56:53 1998  Khamis Abuelkomboz  <khamis@mxbig.multix.de>
222
223         * generic/tclCmdIL.c (NOCASE): let lsearch accept "-nocase"
224         (DICTIONARY): likewise, a synonym for "nocase".
225         So you can call lsearch with a "-nocase" or "-dictionary" flag to
226         use strcasecmp to find an item.
227
228 Thu Apr 30 18:10:15 1998  Geoffrey Noer  <noer@cygnus.com>
229
230         * win/Makefile.in: invoke gcc instead of ld when producing
231         dlls.  Pass the linker options down via args to -Wl options.
232
233 Mon Apr 20 11:40:23 MEST 1998 Khamis Abuelkomboz <khamis@cygnus.com>
234         *tcl/win tclWinPipe.c
235         (PipeWatchProc): Mask PipeThread using (LPTHREAD_START_ROUTINE) to 
236                 remind bogus messages.
237
238 Tue Apr  7 16:36:49 1998  Ian Lance Taylor  <ian@cygnus.com>
239
240         * win/tclWinFile.c: If __CYGWIN32__, call chdir rather than
241         SetCurrentDirectory, so that the cygwin32 DLL knows the current
242         directory when doing path munging.
243
244 Sat Mar 21 21:18:06 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
245         
246         Merged changes from Foundry (list follows in reverse chronological 
247         order)
248
249         - Tom Tromey  <tromey@cygnus.com>
250         * library/init.tcl (auto_execok): If ide_cygwin_path command is
251         defined, the convert PATH environment variable to Win32 path list
252         before use.
253         * win/stub16.c: Include <string.h>.
254         * win/tclWinInit.c (TclPlatformInit): Don't look in registry to
255         find default tcl_library setting.
256
257         - Ian Lance Taylor  <ian@cygnus.com>
258         * win/Makefile.in ($(TCLDLL)): Don't generate relocs for debugging
259         information.
260         ($(TCLPLUGINDLL), $(TCLREGDLL)): Likewise.
261         * generic/tclIOUtil.c (Tcl_EvalFile): Put the newly allocated
262         buffer into an object and use Tcl_EvalObj, rather than having
263         Tcl_Eval copy the buffer.
264         * generic/tclEnv.c (TclSetEnv): Don't set the env array if the
265         value is the same as the one we are trying to set.
266   
267 Sat Feb 21 08:59:00 1998  Chris Provenzano  <proven@cygnus.com>
268
269         * Makefile.in, unix/Makefile.in
270         Don't set shell to /bin/sh. Set it to @SHELL@
271
272         * configure: Regenerated with support for @SHELL@ substitution
273
274 Mon Feb  9 16:02:47 1998  Ian Lance Taylor  <ian@cygnus.com>
275
276         * win/configure.in: Call AC_PROG_RANLIB so that TCL_RANLIB gets
277         set correctly in tclConfig.sh.
278         * win/configure: Rebuild.
279
280 Tue Jan 20 19:24:22 1998  Ian Lance Taylor  <ian@cygnus.com>
281
282         * win/tclWinChan.c (TclGetDefaultStdChannel): Check for error
283         return from Tcl_MakeFileChannel.
284
285 Tue Dec 23 16:25:02 1997  Ian Lance Taylor  <ian@cygnus.com>
286
287         * win/Makefile.in ($(TCLDLL)): Don't generate relocs for debugging
288         information.
289         ($(TCLPLUGINDLL), $(TCLREGDLL)): Likewise.
290
291 Wed Nov  5 00:50:32 1997  Martin M. Hunt  <hunt@cygnus.com>
292
293         * library/word.tcl: Always use Motif-style selections.
294
295 Tue Oct 28 17:44:15 1997  Martin M. Hunt  <hunt@cygnus.com>
296
297         * win/tclWinChan.c (Tcl_OpenFileChannel): Patch "winchan.txt"
298         from net. Fixes problems with PC-NFS access.
299
300         * win/tclWinSock.c (Tcl_GetHostName): Fix problem where
301         [info hostname] crashes on NT 4.0 machines that do not have 
302         networking installed. Patch from Darrel Schneider 
303         <darrel@gemstone.com>
304
305 Tue Oct 28 16:31:46 1997  Ian Lance Taylor  <ian@cygnus.com>
306
307         * Makefile.in (install-minimal): New target.
308         * win/Makefile.in (install-minimal): New target.
309
310 Wed Oct 15 18:58:32 1997  Ian Lance Taylor  <ian@cygnus.com>
311
312         * win/tclWinPort.h: If __CYGWIN32__, define TclpAlloc, TclpFree,
313         and TclpRealloc rather than TclpSysAlloc, TclpSysFree, and
314         TclpSysRealloc.
315         * win/Makefile.in (TCLOBJS): Remove tclAlloc.o.
316
317 Thu Sep 25 02:57:00 1997  Martin M. Hunt  <hunt@cygnus.com>
318
319         * generic/tclCmdAH.c (Tcl_FormatObjCmd): This fixes an 
320         off-by-one error in the format command that can lead to memory 
321         corruption on some systems, most notable little endian systems, 
322         such as Intel. Patch "format.txt" from patches archive.
323
324         * unix/tclUnixChan.c (TcpGetOptionProc): Applied patch
325         "unixchan.txt" from patches archive.
326
327 Tue Sep 23 14:31:01 1997  Tom Tromey  <tromey@cygnus.com>
328
329         * generic/tclStringObj.c (Tcl_DbNewStringObj): Don't die if
330         bytes==NULL.  From schoenw@gaertner.de (Juergen Schoenwaelder).
331
332         * generic/tclIO.c (Tcl_SetChannelOption): Allow output translation
333         mode to be "auto".  From Dave Dykstra <dwd@bell-labs.com>.
334
335 Thu Sep  4 11:29:14 1997  Martin M. Hunt  <hunt@cygnus.com>
336
337         * generic/tclIO.c: Applied patch "io.txt" from the
338         patches archive.
339
340 Tue Sep  2 16:49:16 PDT 1997 Khamis Abuelkomboz <khamis@cygnus.com>
341         * library/menu.tcl
342         In this file I have found two bugs:
343         One in focus policy (wrong function call)
344         and the main error was by the tkMenuUnpost procedure (toplevel problem).
345         Generaly this script doesn't work correctly at all and I don't
346         know if we have the latest version of this file.
347
348 Thu Aug 28 17:20:57 1997  Ian Lance Taylor  <ian@cygnus.com>
349
350         * win/Makefile.in (install-libraries): Install http2.0 and
351         opt0.1.
352
353         * generic/tclEnv.c (TclCygwin32Putenv): Call unsetenv rather than
354         putenv to remove the variable.
355
356         * generic/tclAlloc.c: Don't define caddr_t if __CYGWIN32__.
357
358 Thu Aug 28 15:31:05 MET DST 1997 Zsolt Koppany <zkoppany@multix.de>
359         * generic/tclCompile.c generic/tclEnv.c generic/tclTestObj.c
360           unix/tclUnixFCmd.c
361
362         * Memory bug fixes.
363 Sun Aug 24 21:35:19 1997  Ian Lance Taylor  <ian@cygnus.com>
364
365         * win/Makefile.in ($(TCLDLL)): Set base address to 0x66000000.
366         ($(TCLREGDLL)): Set base address to 0x66200000.
367
368 Thu Aug 21 12:49:47 1997  Ian Lance Taylor  <ian@cygnus.com>
369
370         * win/tclWinPipe.c (Tcl_WaitPid): If __CYGWIN32__, handle a
371         cygwin32 signal exit status correctly.
372
373         * win/tclWinPipe.c (PipeThread): Only set PIPE_READAHEAD if we
374         really did read a byte.  Set PIPE_READABLE if ReadFile completes.
375         (PipeProc): Don't bother to set PIPE_READABLE either.
376         (PipeSetupProc): Handle a read from a pipe without a thread.
377         (PipeCheckProc): Likewise.
378
379 Wed Aug 20 23:17:23 1997  Ian Lance Taylor  <ian@cygnus.com>
380
381         * win/tclWinPipe.c (PIPE_READABLE, PIPE_CLOSED): Define.
382         (PIPE_HAS_THREAD, PIPE_READAHEAD): Define.
383         (PipeInfo): Add fields: flagsMutex, mutex, tryReadEvent,
384         readAhead.
385         (pipeHwnd): New static variable.
386         (PipeGetFlags, PipeSetFlag, PipeResetFlag): New static functions.
387         Use them for all access to the flags field of a pipe.
388         (PipeThread): New static function.
389         (PipeProc): New static function.
390         (PipeInit): Set up pipe window class and window.
391         (PipeExitHandler): Unregister the class and destroy the window.
392         (PipeSetupProc): Only set the block time to 0 for a readable pipe
393         if we know that it is readable.  If we want read events, tell the
394         thread to try a read.
395         (PipeCheckProc): Only post an event for a readable pipe if we know
396         that it is readable.
397         (TclpCreateCommandChannel): Create the flags mutex.
398         (PipeCloseProc): If the pipe has a thread, tell the thread the
399         pipe is closed, and let it free everything.  Otherwise, close the
400         flags mutex.
401         (PipeInputProc): Lock the pipe during the function.  Use the
402         readahead byte if it is available.  Reset PIPE_READABLE.
403         (PipeEventProc): Check PIPE_READABLE if we have a thread.
404         (PipeWatchProc): Create a thread if we want read events.
405
406 Tue Aug 19 16:34:54 MET DST 1997 Zsolt Koppany <zkoppany@multix.de>
407         * generic/tclEnv.c
408           Removed patch from EnvExitProc()
409
410 Mon Aug 18 20:15:23 1997  Ian Lance Taylor  <ian@cygnus.com>
411
412         * win/tclWinPipe.c (TclpCreateProcess): Make sure the pipe stuff
413         is initialized.
414
415         * win/tclWin32Dll.c (TclSetSystemEnv): If we set Path, clear
416         PATH.  If we set PATH, clear Path.
417
418 Fri Aug 15 19:20:44 1997  Ian Lance Taylor  <ian@cygnus.com>
419
420         * win/tclWinInit.c (initScript): Look up one more level, to allow
421         for exec-prefix being a subdirectory of prefix.
422
423 Wed Aug 13 13:22:15 1997  Ian Lance Taylor  <ian@cygnus.com>
424
425         * generic/tclPipe.c (TclCreatePipeline): Check explicitly for
426         redirecting stderr to stdout, and handle it by making the stderr
427         file a copy of the stdout file.
428
429         * generic/tclEnv.c (TclSetEnv): Call TclSetSystemEnv before
430         calling Tcl_SetVar2.
431
432 Mon Aug 11 19:39:45 1997  Ian Lance Taylor  <ian@cygnus.com>
433
434         * configure.in: Call AC_CANONICAL_HOST.  Check host, not target,
435         for cygwin32.
436         * configure: Rebuild.
437
438 Sat Aug  9 20:27:48 1997  Ian Lance Taylor  <ian@cygnus.com>
439
440         * win/tclWinSock.c (SocketEventProc): Handle an FD_CONNECT event
441         for a client channel.  On FD_CLOSE for a client channel, set
442         TCL_WRITABLE.
443         (Tcl_MakeTcpClientChannel): Select for FD_CONNECT.
444         (TcpWatchProc): Watch for FD_CLOSE on a client channel when
445         looking for writable.  Watch for FD_CONNECT on a client channel in
446         all cases.
447
448 Thu Aug  7 12:44:49 1997  Ian Lance Taylor  <ian@cygnus.com>
449
450         * win/tclWinSock.c: Add clientChannel field.
451         (SocketEventProc): Handle FD_ACCEPT on a client channel by setting
452         TCL_READABLE.
453         (NewSocketInfo): Initialize clientChannel field to 0.
454         (Tcl_MakeTcpClientChannel): Set clientChannel field to 1.  Select
455         for FD_ACCEPT.
456
457         * win/tclWinInit.c (initScript): Use share rather than lib.
458
459 Wed Aug  6 20:49:13 1997  Ian Lance Taylor  <ian@cygnus.com>
460
461         * win/Makefile.in: Update for Tcl 8.0.
462         * win/configure.in: Likewise.
463         * win/configure: Rebuild.
464         * win/tclWin32Dll.c (TclSetSystemEnv): Handle a NULL value.
465         * win/tclWinChan.c (Tcl_OpenFileChannel): Move conv_to_win32_path
466         call after Tcl_TranslateFileName call.
467         * win/tclWinFile.c: Don't include <shlobj.h> if __CYGWIN32__.
468         (TclWinStat): Don't adjust stat times if __CYGWIN32__.
469
470 Tue Aug  5 13:25:43 1997  Tom Tromey  <tromey@cygnus.com>
471
472         * win/tclWinPipe.c: Preserved local changes.
473         * win/tclWinSock.c: Preserved local changes.
474         * win/tclWinChan.c: Preserved local changes.
475
476 Mon Aug  4 16:23:53 1997  Tom Tromey  <tromey@cygnus.com>
477
478         * tests/fCmd.test: fCmd-8.1 test marked nonportable; removed local
479         changes.
480
481         * tests/defs: Preserved local changes.
482
483 Fri Aug  1 16:51:03 1997  Ian Lance Taylor  <ian@cygnus.com>
484
485         * win/tclWinChan.c (Tcl_OpenFileChannel): If __CYGWIN32__, convert
486         the path name to a win32 path name.
487
488 Wed Jul 23 20:03:07 1997  Ian Lance Taylor  <ian@cygnus.com>
489
490         * win/tclWinSock.c (TclWinWatchSocket): Only set the maximum block
491         time to zero if we have an event that matches something in the
492         desired mask.
493
494 Mon Jun 30 13:38:43 1997  Ian Lance Taylor  <ian@cygnus.com>
495
496         * win/tclWinPipe.c (TclpCreateProcess): Our DLL is named
497         cygtclpip, not tclpip.
498
499         * generic/tclEnv.c: If __CYGWIN32__, define environ as a static
500         variable.
501         (EnvInit): If __CYGWIN32__, initialize environ from
502         __imp___cygwin_environ.
503         * win/tclWinPort.h (__imp___cygwin_environ): Don't declare.
504         (environ): Don't define.
505         (TclSetSystemEnv): If __CYGWIN32__, declare as function, don't
506         define as macro.
507         * win/tclWin32Dll.c (TclSetSystemEnv): New function.
508
509 Thu Jun 26 13:56:01 1997  Ian Lance Taylor  <ian@cygnus.com>
510
511         * win/Makefile.in (WINDRES): New variable.
512         (install-binaries): Don't install DLLs here...
513         (install-libraries): ...install them here instead.
514         ($(TCLDLL)): Depend upon and link with tclres.o.
515         ($(TCLSH)): Depend upon and link with tclshres.o.
516         ($(TCLTEST)): Likewise.
517         (tclres.o, tclshres.o): New targets.
518         * win/configure.in: Define and substitute WINDRES.
519         * win/configure: Rebuild.
520
521 Mon Jun 23 10:15:10 1997  Ian Lance Taylor  <ian@cygnus.com>
522
523         * Makefile.in (install-binaries, install-libraries): New targets.
524
525 Wed Jun 18 12:12:36 1997  Ian Lance Taylor  <ian@cygnus.com>
526
527         * win/Makefile.in: Copy install, install-binaries, and
528         install-libraries rules, and associated variables from
529         unix/Makefile.in, with appropriate adjustments.
530
531 Thu Jun 12 19:12:20 1997  Ian Lance Taylor  <ian@cygnus.com>
532
533         * win/Makefile.in ($(TMPDIR)/tclcyg.def): Don't export
534         impure_ptr.
535
536 Fri Jun  6 15:52:50 1997  Ian Lance Taylor  <ian@cygnus.com>
537
538         Add support for building with cygwin32:
539         * win/Makefile.in: Rewrite completely based on makefile.vc.
540         * win/configure.in: Rewrite completely.
541         * win/configure: Rebuild.
542         * win/tclWinPort.h (__imp___cygwin_environ): Declare if
543         __CYGWIN32__.
544         (environ): Define if __CYGWIN32__.
545         * win/tclWin32Dll.c (_impure_ptr): Define if __CYGWIN32__.
546         (__imp_reent_data): Declare if __CYGWIN32__.
547         (DllMain): Initialize _impure_ptr if __CYGWIN32__.
548         * win/tclWinFCmd.c (TclpRenameFile): Don't use try and except if
549         __GNUC__.
550         (TclpCopyFile): Likewise.
551         * win/tclWinPipe.c: Don't include dos.h if __CYGWIN32__.
552         * win/tclWinSock.c (InitSockets): Don't cast to PASCAL FAR if
553         __GNUC__.
554
555 Thu Jun  5 18:17:53 1997  Ian Lance Taylor  <ian@cygnus.com>
556
557         * generic/tcl.h (USE_TCLALLOC): Don't define USE_TCLALLOC if it is
558         already defined (this modifies a CYGNUS LOCAL patch).
559
560 Fri May  9 09:36:00 1997  Tom Tromey  <tromey@cygnus.com>
561
562         * patchlevel.h: Removed.
563
564 Wed Apr  9 17:31:41 1997  Bob Manson  <manson@charmed.cygnus.com>
565
566         * generic/regexp.c (regmatch): Speed up .* matching
567         significantly. Treat a single bracketed character the same as a
568         string.
569
570 Thu Mar 20 14:27:45 1997  Geoffrey Noer  <noer@cygnus.com>
571
572         * compat/strncasecmp.c: fix args in prototype for strcasecmp
573
574 Fri Mar 14 10:36:30 1997  Tom Tromey  <tromey@cygnus.com>
575
576         * tests/fCmd.test: Commented out fcmd-8.1 test.
577
578 Fri Mar  7 10:46:04 1997  Tom Tromey  <tromey@cygnus.com>
579
580         * Updated to Tcl 7.6p2 and preserved Cygnus changes.
581
582 Wed Mar  5 12:00:44 1997  Martin  <hunt@cyber>
583
584         * Makefile.in, configure.in: Added support for building
585         the windows directory.
586         * configure: Rebuilt.
587
588 Fri Dec 13 15:47:07 1996  Tom Tromey  <tromey@cygnus.com>
589
590         * compat/strtod.c: Include ../compat/stdlib.h, not
591         compat/stdlib.h.  From Donald Koch <koch@cognex.com>.
592
593 Wed Nov 20 14:07:06 1996  Tom Tromey  <tromey@cygnus.com>
594
595         * generic/tclAlloc.c: Removed; functionality has been integrated
596         into Tcl core.
597
598 Tue Nov 19 09:30:41 1996  Tom Tromey  <tromey@cygnus.com>
599
600         * generic/tcl.h: Remove redundant decls of Tcl_Alloc and friends.
601
602 Mon Nov 18 14:59:47 1996  Tom Tromey  <tromey@cygnus.com>
603
604         * generic/tclAlloc.c (Tcl_Alloc): Renamed.
605         * generic/tcl.h: Always define USE_TCLALLOC.
606
607         * Imported Tcl 7.6 and preserved local changes.
608
609 Mon Aug  5 10:41:11 1996  Tom Tromey  <tromey@creche.cygnus.com>
610
611         * Makefile.in (configure): Don't depend on configure.in.
612         (config.status): Depend on configure.
613
614 Wed Jul 31 14:41:34 1996  Tom Tromey  <tromey@creche.cygnus.com>
615
616         * tests/socket.test: Commented out test socket-8.1; it can fail on
617         Solaris 2.4.
618
619 Tue Jul 30 14:53:59 1996  Tom Tromey  <tromey@creche.cygnus.com>
620
621         * tests/socket.test: Find remote.tcl in srcdir.
622         * tests/io.test: Find io.test in srcdir.
623         * tests/defs: Find "defs" in directory $srcdir.
624
625 Wed Jun 26 12:36:57 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
626
627         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
628         * configure: Rebuilt.
629
630 Thu Jun  6 15:04:44 1996  Gordon Irlam  <gordoni@snuffle.cygnus.com>
631
632         * doc/usenix.ps, doc/usenix.text: Removed because copyright status
633         unclear.
634
635 Mon May 20 16:11:55 1996  Tom Tromey  <tromey@creche.cygnus.com>
636
637         * tcltk-man-html.tcl: Moved to devo/inet.
638
639 Mon May  6 15:21:14 1996  Tom Tromey  <tromey@lisa.cygnus.com>
640
641         * tcltk-man-html.tcl: Search Tk section 3 man pages if possible.
642
643 Wed May  1 15:17:14 1996  Tom Tromey  <tromey@lisa.cygnus.com>
644
645         * tcltk-man-html.tcl: New file.
646
647 Thu Mar  7 10:01:05 1996  Tom Tromey  <tromey@creche.cygnus.com>
648
649         * Makefile.in (config.status): Don't depend on configure.
650
651 Wed Mar  6 10:48:56 1996  Tom Tromey  <tromey@creche.cygnus.com>
652
653         * Makefile.in (Makefile): Removed redundant rule.
654
655 Thu Feb 29 21:27:38 1996  Fred Fish  <fnf@ninemoons.com>
656
657         * Makefile.in (configure): Run autoconf in source dir,
658         not build dir.
659
660 Thu Feb 29 09:08:52 1996  Tom Tromey  <tromey@creche.cygnus.com>
661
662         * Makefile.in (Makefile): New rule.
663         (config.status): New rule.
664
665         * tests/all: Use $srcdir to find tests.
666         Source `defs' here.
667         Only print filename, not entire path.
668
669 Tue Feb 27 20:40:56 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
670
671         * unix/configure.in: Use -fpic for dltests, as gcc now support
672         shared libraries on HPUX.
673         * configure: Rebuild.
674
675 Mon Feb 12 14:55:34 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
676
677         * unix/configure.in: Set the shared lib flags so the dynamic
678         loading tests work for SunOS and Solaris when using GCC.
679
680 Wed Jan 24 09:41:00 1996  Tom Tromey  <tromey@creche.cygnus.com>
681
682         * Makefile.in: Replaced realclean with maintainer-clean.
683
684 Mon Jan 22 14:42:47 1996  Tom Tromey  <tromey@creche.cygnus.com>
685
686         * tests/all: Print message when tests finished.
687
688         * Makefile.in (check): Use absolute directory when finding
689         TCL_LIBRARY.
690
691 Fri Jan 19 10:35:16 1996  Tom Tromey  <tromey@creche.cygnus.com>
692
693         * Makefile.in (check installcheck): Moved from unix/Makefile.in.
694
695 Thu Jan 11 14:41:35 1996  Tom Tromey  <tromey@creche.cygnus.com>
696
697         * Makefile.in (test): New target.
698
699 Wed Jan 10 11:21:38 1996  Tom Tromey  <tromey@creche.cygnus.com>
700
701         * Makefile.in (mostlyclean-recursive clean-recursive
702         distclean-recursive realclean-recursive): Separated out recursive
703         rules.
704
705 Tue Jan  9 17:34:56 1996  Tom Tromey  <tromey@creche.cygnus.com>
706
707         * Makefile.in: New file.
708         * configure.in: New file.
709
710         * Updated to the tcl7.5a2 release, plus preserved our patches.
711         Entries past this point mostly likely refer to files in various
712         subdirectories.
713
714 Fri Dec  1 10:18:01 1995  Rob Savoye  <rob@chinadoll.cygnus.com>
715
716         * Makefile.in, changes, configure, patchlevel.h, tcl.h,
717         tclBasic.c, tclCkalloc.c, tclCmdAH.c, tclCmdMZ.c, tclInt.h,
718         tclMain.c, tclPort.h, tclRegexp.h, tclUnixAZ.c, tclUnixStr.c,
719         tclUnixUtil.c, tclVar.c, README, compat/fixstrtod.c,
720         tests/lsort.test, testsuite/config/default.exp,
721         testsuite/tcl.tests/tcl-test.exp: Upgrade to Tcl7.4p3 to fix a few
722         bugs.
723
724 Thu Nov 16 10:01:20 1995  Rob Savoye  <rob@chinadoll.cygnus.com>
725
726         * configure.in: Use AC_PROG_CC again since Cygnus configure now
727         does the sames thing.
728
729 Sat Oct  7 20:51:29 1995  Michael Meissner  <meissner@cygnus.com>
730
731         * tcl.h (ckrealloc): Cast pointer argument to char * to silence
732         warnings.
733
734 Sun Aug 20 00:43:51 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
735
736         * configure.in: If the system has a functional strtod(), *don't*
737         provide one.
738
739 Thu Aug 17 16:04:39 1995  Rob Savoye  <rob@darkstar.cygnus.com>
740
741         * tcl: Updated to the official tcl7.4 release, plus preserved
742           our patches.
743
744 Sun Aug  6 11:45:19 1995  Fred Fish  <fnf@cygnus.com>
745
746         * Makefile.in (distclean):  Remove config.cache & config.log
747
748 Mon Jun 12 15:46:48 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
749
750         * tclAlloc.c: New file.
751         * tcl.h (Tcl_Malloc, Tcl_Realloc, Tcl_Free): New functions.
752           (ckalloc, ckrealloc, ckfree): Defined to Tcl_Malloc, Tcl_Free
753           respectively when compiling without TCL_MEM_DEBUG.
754         * Makefile.in (GENERIC_OBJS): Added tclAlloc.o
755           (SRCS): Added tclAlloc.c.
756
757 Thu Apr  6 19:32:43 1995  Doug Evans  <dje@chestnut.cygnus.com>
758
759         * tclPort.h (gettimeofday): Comment out prototype.
760
761 Thu Mar 23 17:58:38 1995  Rob Savoye  <rob@thepub.cygnus.com>
762
763         * tcl: Upgrade to 7.4.b2. Update configure.in to autoconf 2.2,
764         merge in our LynxOS patches.
765
766 Wed Dec 21 15:12:14 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
767
768         * tclUnixUtil.c: Use __Lynx__ in the conditional which selects
769           LynxOS-specific waitpid() prototype.
770
771 Mon Dec 19 04:38:49 1994  Angela Marie Thomas  <angela@cygnus.com>
772
773         * Makefile.in (all): use ${AR_FLAGS}, not ${ARFLAGS} because the
774         "make" default for ${ARFLAGS} includes an option, f, which I can't
775         find in any man page and breaks builds.
776
777 Tue Jun  7 07:44:31 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
778
779         * compat/tmpnam.c: handle losing LynxOS mktemp.
780
781 Thu May 26 20:15:55 1994  David J. Mackenzie  (djm@poseidon.cygnus.com)
782
783         * aclocal.m4 (TCL_LYNX_POSIX): Renamed from AC_LYNX_POSIX.
784         Check __GNUC__ value to get POSIX flag right.
785         * configure.in: Use new name.
786         * configure: Regenerate.
787
788 Wed May  4 20:17:46 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
789
790         * compat/tmpnam.c: if you're going to redefine P_tmpdir,
791         undefine it first.
792
793         * compat/strerror.c: undefine various error codes which are
794         defined in terms of others, where that causes duplicated case
795         labels on r/s6000 lynxos 2.2.2.
796
797 Sat Apr 23 17:10:13 1994  Bill Cox  (bill@rtl.cygnus.com)
798
799         * compat/getcwd.c: The contents of this file was the UCB
800           float.h file.  Restored the correct contents from devo.
801
802 Fri Apr 22 11:28:35 1994  Bill Cox  (bill@cygnus.com)
803
804         * tclUnixUtil.c: Make a new prototype for waitpid if
805           we're compiling under the Lynx version of gcc.
806
807 Thu Mar 31 19:36:44 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
808
809         * install.sh: Since "set -e" is in effect, don't use a test that
810         can fail in a while condition; it confuses some shells.  Use break
811         instead.  Use "case" rather than "if [" for efficiency with some
812         shells.
813
814 Tue Jan  4 17:03:31 1994  Rob Savoye  (rob@rtl.cygnus.com)
815
816         * All files: Upgraded to Tcl7.3. This version has incompatablities
817         with the old versions before 7.0.
818
819 Tue Nov 23 13:01:22 1993  Rob Savoye  (rob@darkstar.cygnus.com)
820
821         * configure.in: Use AC_HEADER_CHECK for unistd.h.
822
823 Tue Nov  9 19:07:39 1993  Rob Savoye  (rob@cygnus.com)
824
825         * tclUnixStr.c (Tcl_ErrnoId): Added cpp tests for duplicate
826         defines that choked LynxOS.
827
828 Fri Oct  1 17:30:06 1993  Doug Evans  (dje@canuck.cygnus.com)
829
830         * Makefile.in (tclTest.o): Sun VPATH lossage.
831
832 Tue Aug 17 11:23:27 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
833
834         * Makefile.in (install): don't install *.tcl all at once
835
836 Thu Jul  8 09:24:47 1993  Doug Evans  (dje@canuck.cygnus.com)
837
838         * Makefile.in: Add stuff needed to make Sun VPATH work.
839
840 Thu May  6 12:04:52 1993  Rob Savoye  (rob at darkstar.cygnus.com)
841
842         * Makefile.in: Install the manpages too.
843
844 Tue May  4 22:01:24 1993  Rob Savoye  (rob at darkstar.cygnus.com)
845
846         * tclUnix.h: Don't set TCL_PID_T anymore. FInd the right dirent.h.
847         * configure.in: Handle no pid_t in sys/types.h. Also also check
848         for dirent.h.
849         * Makefile.in: Let INSTALL_PROGRAM and INSTALL_DATA come from
850         configure.
851
852 Fri Apr 16 07:25:07 1993  Fred Fish  (fnf@lisa.cygnus.com)
853
854         * configure (DEFS):  When defining "-Dconst=" define "-DCONST="
855         as well, for the sake of things in compat/* that use it.
856
857         * Makefile.in (opendir.c):  Add missing ../compat/..
858
859 Mon Apr  5 10:56:28 1993  Rob Savoye  (rob@cygnus.com)
860
861         * testsuite/config/unix-tcl.exp: Use tcl/tclTest for test code
862         driver. 
863         * Makefile.in, testsuite/*.in, testsuite/tcl.tests/*.in: Don't use
864         Cygnus configure anymore.
865
866 Wed Mar 24 02:09:33 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
867
868         * Makefile.in: add installcheck & dvi targets
869
870 Fri Mar 19 21:07:25 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
871
872         * tclEnv.c: disable putenv.  no one uses it.
873
874 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
875
876         * tcl/testsuite: made modifications to testcases, etc., to allow
877         them to work properly  given the reorganization of deja-gnu and the
878         relocation of the testcases from deja-gnu to a "tool" subdirectory.
879
880 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
881
882         * tcl/testsuite: Initial creation of tcl/testsuite.
883         Migrated dejagnu testcases and support files for testing nm to
884         tcl/testsuite from deja-gnu.  These files were moved "as is"
885         with no modifications.  This migration is part of a major overhaul
886         of dejagnu.  The modifications to these testcases, etc., which
887         will allow them to work with the new version of dejagnu will be
888         made in a future update.
889
890 Thu Feb 18 11:31:05 1993  Fred Fish  (fnf@cygnus.com)
891
892         * tclEnv.c (putenv):  On at least the Sun and SVR4, and possibly
893         most other systems, the argument is just "char *", not
894         "const char *".
895
896 Sat Dec 26 11:13:40 1992  Fred Fish  (fnf@cygnus.com)
897
898         * tclUnix.h (fseek):  Returns int, not long.  True for both
899         ANSI-C and traditional C unix environments.
900
901 Wed Dec 16 11:02:29 1992  Ian Lance Taylor  (ian@cygnus.com)
902
903         * configure.in: check for gettimeofday, and define TCL_GETTOD
904         accordingly.
905         * configure: regenerated.
906
907 Fri Nov 27 19:09:03 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
908
909         * Makefile.in: don't make TCL_INCLUDE a subdir of $(includedir)
910
911 Fri Nov 20 10:15:55 1992  Ian Lance Taylor  (ian@cygnus.com)
912
913         * Makefile.in (INSTALL): Default to @INSTALL@, not install -c.
914         (test): get tests from $(srcdir).
915
916 Sun Nov  8 21:56:26 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
917
918         * Makefile.in: install .tcl files from $(srcdir)/library
919
920         * New file for GNU/Cygnus distribution of TCL.
921