sl@0
|
1 |
2000-12-14 Don Porter <dgp@users.sourceforge.net>
|
sl@0
|
2 |
|
sl@0
|
3 |
* generic/tclExecute.c:
|
sl@0
|
4 |
* tests/expr-old.test: Re-wrote Tcl's [expr rand()] and
|
sl@0
|
5 |
[expr srand($seed)] implementations, fixing a range error
|
sl@0
|
6 |
on some 64-bit platforms. Added tests that detect the bug.
|
sl@0
|
7 |
The rewrite changes the seed -> sequence map on 64-bit
|
sl@0
|
8 |
platforms, only for seed >= 2^31, a slight incompatibility.
|
sl@0
|
9 |
[Bug 121072, Patch 102781]
|
sl@0
|
10 |
|
sl@0
|
11 |
2000-12-10 Don Porter <dgp@users.sourceforge.net>
|
sl@0
|
12 |
|
sl@0
|
13 |
* library/init.tcl:
|
sl@0
|
14 |
* library/msgcat/msgcat.tcl:
|
sl@0
|
15 |
* library/msgcat/pkgIndex.tcl:
|
sl@0
|
16 |
* library/opt/optparse.tcl:
|
sl@0
|
17 |
* library/opt/pkgIndex.tcl: Where [uplevel] is used in a proc
|
sl@0
|
18 |
to evaluate a Tcl built-in command in the caller's context,
|
sl@0
|
19 |
the built-in commands are now fully namespace-qualified. This
|
sl@0
|
20 |
prevents problems when the caller context is in a namespace where
|
sl@0
|
21 |
the built-in command name has been used by a command in the
|
sl@0
|
22 |
namespace. (For example, [::ns::set] might be called instead
|
sl@0
|
23 |
of the intended [::set]). [Bug #119422, Patch #102545]
|
sl@0
|
24 |
|
sl@0
|
25 |
2000-12-09 jeff hobbs <jhobbs@interwoven.com>
|
sl@0
|
26 |
|
sl@0
|
27 |
* win/tclWinTime.c (CalibrationThread): added lint return value to
|
sl@0
|
28 |
prevent compiler warning. [Bug #125005]
|
sl@0
|
29 |
|
sl@0
|
30 |
* docs/scan.n:
|
sl@0
|
31 |
* tests/scan.test:
|
sl@0
|
32 |
* generic/tclScan.c (Tcl_ScanObjCmd): changed %o and %x to use
|
sl@0
|
33 |
strtoul instead of strtol to correctly preserve scan<>format
|
sl@0
|
34 |
conversion of large integers. [Patch #102663, Bug #124600]
|
sl@0
|
35 |
|
sl@0
|
36 |
* generic/tclExecute.c (TclExecuteByteCode): Commited patch fixing
|
sl@0
|
37 |
handling of {!<boolean>} in expressions. [Patch #102702]
|
sl@0
|
38 |
|
sl@0
|
39 |
2000-12-08 jeff hobbs <jhobbs@interwoven.com>
|
sl@0
|
40 |
|
sl@0
|
41 |
* library/init.tcl: Added support for PATHEXT variable in
|
sl@0
|
42 |
auto_execok, recognizing the proper set of executable extensions
|
sl@0
|
43 |
on Windows. [Patch #102719]
|
sl@0
|
44 |
|
sl@0
|
45 |
2000-12-08 Andreas Kupries <a.kupries@westend.com>
|
sl@0
|
46 |
|
sl@0
|
47 |
* generic/tclEncoding.c (LoadTableEncoding): Changed dangerous
|
sl@0
|
48 |
code to something less critical. This fixes bug 119417, part A
|
sl@0
|
49 |
without affecting the speed when loading encodings.
|
sl@0
|
50 |
|
sl@0
|
51 |
2000-12-08 Donal K. Fellows <fellowsd@cs.man.ac.uk>
|
sl@0
|
52 |
|
sl@0
|
53 |
* doc/open.n: Added xref to fconfigure and advice on the opening
|
sl@0
|
54 |
of binary files. Should help prevent a recurrence of bugs like
|
sl@0
|
55 |
#124558
|
sl@0
|
56 |
|
sl@0
|
57 |
2000-12-07 jeff hobbs <jhobbs@interwoven.com>
|
sl@0
|
58 |
|
sl@0
|
59 |
* generic/tcl.h: added note about need to updated
|
sl@0
|
60 |
library/dde/pkgIndex.tcl with minor version increment.
|
sl@0
|
61 |
|
sl@0
|
62 |
* library/dde/pkgIndex.tcl: updated to use 84 version to reflect
|
sl@0
|
63 |
the makefile. Should probably be updated to use its real version
|
sl@0
|
64 |
at some point. [Patch #102560, Bug #119421]
|
sl@0
|
65 |
|
sl@0
|
66 |
2000-12-06 eric melski <ericm@ajubasolutions.com>
|
sl@0
|
67 |
|
sl@0
|
68 |
* generic/tcl.h (attemptckalloc): Fixed typo for #define of
|
sl@0
|
69 |
attemptckalloc (was defined to Tcl_AttempDbCkalloc, should have
|
sl@0
|
70 |
been Tcl_AttemptDbCkalloc). [Bug: 124384]
|
sl@0
|
71 |
|
sl@0
|
72 |
* generic/tclCkalloc.c: Added
|
sl@0
|
73 |
TCL_MEM_DEBUG versions of Tcl_AttemptDbCkrealloc and
|
sl@0
|
74 |
Tcl_AttemptDbCkalloc. [Bug: 124384].
|
sl@0
|
75 |
|
sl@0
|
76 |
2000-11-24 Donal K. Fellows <fellowsd@cs.man.ac.uk>
|
sl@0
|
77 |
|
sl@0
|
78 |
* generic/tclExecute.c (TclExecuteByteCode): Logical negation "!"
|
sl@0
|
79 |
can now handle string booleans, provided those values are placed
|
sl@0
|
80 |
in variables.
|
sl@0
|
81 |
|
sl@0
|
82 |
* tests/expr.test (expr-13.17): Check that [expr {!$var}] can
|
sl@0
|
83 |
negate the string-versions of booleans "yes", "false", etc.
|
sl@0
|
84 |
|
sl@0
|
85 |
* library/tcltest/tcltest.tcl (getMatchingFiles,
|
sl@0
|
86 |
getMatchingDirectories):
|
sl@0
|
87 |
* tools/man2html.tcl (doDir):
|
sl@0
|
88 |
* tools/man2help.tcl (doDir):
|
sl@0
|
89 |
* library/package.tcl (tclPkgUnknown,tclMacPkgSearch):
|
sl@0
|
90 |
* library/safe.tcl (AddSubDirs): [glob] uses -directory instead of
|
sl@0
|
91 |
unsafe [file join] to fix Bug #123313
|
sl@0
|
92 |
|
sl@0
|
93 |
* generic/tclIndexObj.c:
|
sl@0
|
94 |
* generic/tclTestObj.c (TestindexobjCmd): Changed internal
|
sl@0
|
95 |
representation of index objects to fix Bug #119082; fix
|
sl@0
|
96 |
shouldn't be visible to outside world...
|
sl@0
|
97 |
|
sl@0
|
98 |
* generic/tclTest.c (TestGetIndexFromObjStructObjCmd):
|
sl@0
|
99 |
* tests/indexObj.test: (indexObj-6.*) Added to test for presence
|
sl@0
|
100 |
of Bug #119082.
|
sl@0
|
101 |
|
sl@0
|
102 |
2000-11-23 Donal K. Fellows <fellowsd@cs.man.ac.uk>
|
sl@0
|
103 |
|
sl@0
|
104 |
* generic/tclCmdIL.c (Tcl_LsortObjCmd): Fixed memory leak from Bug
|
sl@0
|
105 |
#119398
|
sl@0
|
106 |
|
sl@0
|
107 |
* library/init.tcl (unknown): Added specific level parameters to
|
sl@0
|
108 |
all uplevel invokations to boost performance; didn't dare touch
|
sl@0
|
109 |
the "namespace inscope" stuff though, since it looks sensitive
|
sl@0
|
110 |
to me! Should fix Bug #123217, though testing is tricky...
|
sl@0
|
111 |
|
sl@0
|
112 |
2000-11-21 Andreas Kupries <a.kupries@westend.com>
|
sl@0
|
113 |
|
sl@0
|
114 |
* All of the changes below are described in TIP #7 ~ Specification
|
sl@0
|
115 |
and result from the application of the patch contained
|
sl@0
|
116 |
therein. Creator of the patch is Kevin Kenny
|
sl@0
|
117 |
<kennykb@crd.ge.com>. The patch used here is actually a bit
|
sl@0
|
118 |
different. Two MS specific constant values (format FOOui64) were
|
sl@0
|
119 |
replaced with a more portable formatting of the values and an
|
sl@0
|
120 |
additional cast to LONGLONG. My cross-compiling gcc was unable to
|
sl@0
|
121 |
process the original form. The SF Id of the patch is 102459.
|
sl@0
|
122 |
|
sl@0
|
123 |
* tclWinTime.c: Add to the static data a set of variables that
|
sl@0
|
124 |
manage the phase-locked techniques, including a
|
sl@0
|
125 |
''CRITICAL_SECTION'' to guard them so that multi-threaded code
|
sl@0
|
126 |
is stable.
|
sl@0
|
127 |
|
sl@0
|
128 |
* tclWinTime.c: Modify ''TclpGetSeconds'' to call ''TclpGetTime''
|
sl@0
|
129 |
and return the 'seconds' portion of the result. This change is
|
sl@0
|
130 |
necessary to make sure that the two times are consistent near
|
sl@0
|
131 |
the rollover from one second to another.
|
sl@0
|
132 |
|
sl@0
|
133 |
* tclWinTime.c: Modify ''TclpGetClicks'' to use TclpGetTime to
|
sl@0
|
134 |
determine the click count as a number of microseconds.
|
sl@0
|
135 |
|
sl@0
|
136 |
* tclWinTime.c: Modify ''TclpGetTime'' to return the time as
|
sl@0
|
137 |
M*Q+B, where Q is the result of ''QueryPerformanceCounter'', and
|
sl@0
|
138 |
M and B are variables maintained by the phase-locked loop to
|
sl@0
|
139 |
keep the result as close as possible to the system clock. The
|
sl@0
|
140 |
''TclpGetTime'' call will also launch the phase-lock management
|
sl@0
|
141 |
in a separate thread the first time that it is invoked. If the
|
sl@0
|
142 |
performance counter is unavailable, or if its frequency is not
|
sl@0
|
143 |
one of the two common 8254-compatible rates, then
|
sl@0
|
144 |
''TclpGetTime'' will return the result of ''ftime'' as it does
|
sl@0
|
145 |
in Tcl 8.3.2.
|
sl@0
|
146 |
|
sl@0
|
147 |
* tclWinTime.c: Add the clock calibration procedure. The
|
sl@0
|
148 |
calibration is somewhat complex; to save space, the reader is
|
sl@0
|
149 |
referred to the reference implementation for the details of how
|
sl@0
|
150 |
the time base and frequency are maintained.
|
sl@0
|
151 |
|
sl@0
|
152 |
* tclWinNotify.c: Modify ''Tcl_Sleep'' to test that the process
|
sl@0
|
153 |
has, in fact, slept for the requisite time by calling
|
sl@0
|
154 |
''TclpGetTime'' and comparing with the desired time. Otherwise,
|
sl@0
|
155 |
roundoff errors may cause the process to awaken early.
|
sl@0
|
156 |
|
sl@0
|
157 |
* tclWinTest.c: Add a ''testwinclock'' command. This command
|
sl@0
|
158 |
returns a four element list comprising the seconds and
|
sl@0
|
159 |
microseconds portions of the system clock and the seconds and
|
sl@0
|
160 |
microseconds portions of the Tcl clock.
|
sl@0
|
161 |
|
sl@0
|
162 |
* winTime.test: Add to the test suite a test that makes sure that
|
sl@0
|
163 |
the Tcl clock stays within 1.1 ms of the system clock over the
|
sl@0
|
164 |
duration of the test.
|
sl@0
|
165 |
|
sl@0
|
166 |
2000-11-21 Donal K. Fellows <fellowsd@cs.man.ac.uk>
|
sl@0
|
167 |
|
sl@0
|
168 |
* doc/global.n:
|
sl@0
|
169 |
* doc/upvar.n:
|
sl@0
|
170 |
* doc/variable.n: Improved documentation to mention that variables
|
sl@0
|
171 |
so created are listed in [info locals] and added a few more
|
sl@0
|
172 |
cross-links between these commands. Fixes bug #119387
|
sl@0
|
173 |
|
sl@0
|
174 |
2000-11-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
|
sl@0
|
175 |
|
sl@0
|
176 |
* tests/safe.test: (safe-4.3):
|
sl@0
|
177 |
* generic/tclVar.c (TclLookupVar): Changed again. Now passes all
|
sl@0
|
178 |
the tests, though one needed modifying since it required the
|
sl@0
|
179 |
wrong answer. (Why on earth do we have inline modification of
|
sl@0
|
180 |
argument strings? This sort of thing is horrendous to debug and
|
sl@0
|
181 |
doesn't work well in a multithreaded environment!) Fixes bug
|
sl@0
|
182 |
119192.
|
sl@0
|
183 |
|
sl@0
|
184 |
* tests/var.test: (var-1.19) If my attempts to fix the problem
|
sl@0
|
185 |
aren't right yet, my attempts to describe it look pretty good to
|
sl@0
|
186 |
me...
|
sl@0
|
187 |
|
sl@0
|
188 |
2000-11-16 Andreas Kupries <a.kupries@westend.com>
|
sl@0
|
189 |
|
sl@0
|
190 |
* win/tclWinPort.h (line 69): Changed reference to winsock2.h into
|
sl@0
|
191 |
winsock.h. This was a leftover from a foray into using winsock
|
sl@0
|
192 |
version 2 (History lesson from Scott Redman and Jeff
|
sl@0
|
193 |
Hobbs). This code was no problem when compiling Tcl itself, but
|
sl@0
|
194 |
could trip extensions. Fixes bug 122568.
|
sl@0
|
195 |
|
sl@0
|
196 |
2000-11-15 jeff hobbs <jeff.hobbs@acm.org>
|
sl@0
|
197 |
|
sl@0
|
198 |
* unix/Makefile.in: removed bp.c references (hasn't existed in a
|
sl@0
|
199 |
long time). Corrected 'make dist' to make dist with unversioned
|
sl@0
|
200 |
library directories (same as out of cvs), so make install works
|
sl@0
|
201 |
correctly with either source tree.
|
sl@0
|
202 |
|
sl@0
|
203 |
2000-11-15 jeff hobbs <jeff.hobbs@acm.org>
|
sl@0
|
204 |
|
sl@0
|
205 |
* generic/tclVar.c (TclLookupVar): reverted fix below as it broke
|
sl@0
|
206 |
all other array unset error reporting. Bug-119192 is still
|
sl@0
|
207 |
open.
|
sl@0
|
208 |
|
sl@0
|
209 |
2000-11-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
|
sl@0
|
210 |
|
sl@0
|
211 |
* generic/tclVar.c (TclLookupVar): Changed references to part2 to
|
sl@0
|
212 |
use elName instead in various error message generating spots, so
|
sl@0
|
213 |
as to fix Bug-119192.
|
sl@0
|
214 |
|
sl@0
|
215 |
2000-11-03 David Gravereaux <davygrvy@ajubasolutions.com>
|
sl@0
|
216 |
|
sl@0
|
217 |
* win/.cvsignore: Removed 'configure' from the glob list now
|
sl@0
|
218 |
that it's included.
|
sl@0
|
219 |
|
sl@0
|
220 |
2000-11-03 Jeff Hobbs <hobbs@ajubasolutions.com>
|
sl@0
|
221 |
|
sl@0
|
222 |
8.4a2 RELEASE
|
sl@0
|
223 |
|
sl@0
|
224 |
* unix/Makefile.in (install-libraries, dist):
|
sl@0
|
225 |
* win/makefile.vc (install-libraries):
|
sl@0
|
226 |
* win/Makefile.in (install-libraries): updated to install
|
sl@0
|
227 |
unversioned library directories into versioned directories.
|
sl@0
|
228 |
|
sl@0
|
229 |
* tools/tcl.wse.in: updated for unversioning of library dirs
|
sl@0
|
230 |
|
sl@0
|
231 |
* unix/mkLinks: updated mkLinks with latest doc updates
|
sl@0
|
232 |
|
sl@0
|
233 |
* doc/Tcl_Main.3: added docs for Tcl_SetMainLoop
|
sl@0
|
234 |
|
sl@0
|
235 |
* generic/tclStubInit.c:
|
sl@0
|
236 |
* generic/tclDecls.h:
|
sl@0
|
237 |
* generic/tcl.decls: added Tcl_SetMainLoop proc that allows people
|
sl@0
|
238 |
to set a main loop that will run for tclsh.
|
sl@0
|
239 |
* generic/tcl.h: added Tcl_MainLoopProc typedef
|
sl@0
|
240 |
* generic/tclMain.c (Tcl_SetMainLoop, StdinProc, Prompt): new
|
sl@0
|
241 |
StdinProc and Prompt static procs and Tcl_SetMainLoop stubs proc.
|
sl@0
|
242 |
The first two handle a fileevent based prompt (taken from
|
sl@0
|
243 |
tkMain.c). Tcl_SetMainLoop enables the interactive setting of a
|
sl@0
|
244 |
main loop procedure. This enables Tk to be a loadable package.
|
sl@0
|
245 |
|
sl@0
|
246 |
2000-11-02 David Gravereaux <davygrvy@ajubasolutions.com>
|
sl@0
|
247 |
|
sl@0
|
248 |
* generic/tclEvent.c: tclLibraryPath Tcl_Obj didn't have a way
|
sl@0
|
249 |
to share its data among threads. This caused Tcl_Init() to
|
sl@0
|
250 |
always fail in threads. Added a way to pass the data around
|
sl@0
|
251 |
with a global char*. [BUG: 5301]
|
sl@0
|
252 |
|
sl@0
|
253 |
2000-11-02 Jeff Hobbs <hobbs@ajubasolutions.com>
|
sl@0
|
254 |
|
sl@0
|
255 |
* unix/configure:
|
sl@0
|
256 |
* unix/dltest/configure:
|
sl@0
|
257 |
* win/configure:
|
sl@0
|
258 |
* tools/configure: checked in configure scripts so people doing
|
sl@0
|
259 |
CVS checkouts aren't required to have autoconf. Changes to
|
sl@0
|
260 |
configure.in in the future will require the corresponding
|
sl@0
|
261 |
configure script to also be re-autoconf'ed and checked in.
|
sl@0
|
262 |
|
sl@0
|
263 |
* win/makefile.vc:
|
sl@0
|
264 |
* win/tcl.m4: makefile fixes for Win64 support
|
sl@0
|
265 |
|
sl@0
|
266 |
* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): minor cast
|
sl@0
|
267 |
changes.
|
sl@0
|
268 |
|
sl@0
|
269 |
2000-11-01 Jeff Hobbs <hobbs@ajubasolutions.com>
|
sl@0
|
270 |
|
sl@0
|
271 |
* unix/tcl.m4: removed use of -lbsd and -ldl for AIX-5.
|
sl@0
|
272 |
|
sl@0
|
273 |
* tests/subst.test: added tests for non-zero return code handling
|
sl@0
|
274 |
by subst.
|
sl@0
|
275 |
* generic/tclParse.c (Tcl_EvalEx): corrected handling of non-zero,
|
sl@0
|
276 |
non-error return code cases for subst. [BUG: 119829]
|
sl@0
|
277 |
|
sl@0
|
278 |
* generic/tclVar.c (TclVarTraceExists): Corrected excessive mem
|
sl@0
|
279 |
use when info exists was called on a non-existent array element.
|
sl@0
|
280 |
[BUG: 119213, 119336]
|
sl@0
|
281 |
|
sl@0
|
282 |
2000-10-30 David Gravereaux <davygrvy@ajubasolutions.com>
|
sl@0
|
283 |
|
sl@0
|
284 |
* win/configure.in:
|
sl@0
|
285 |
* win/Makefile.in:
|
sl@0
|
286 |
* win/makefile.vc:
|
sl@0
|
287 |
* win/tcl.rc:
|
sl@0
|
288 |
* win/tclsh.rc: Added logic to derive filenames better in the resource
|
sl@0
|
289 |
scripts based on compile options.
|
sl@0
|
290 |
|
sl@0
|
291 |
2000-10-30 Jeff Hobbs <hobbs@ajubasolutions.com>
|
sl@0
|
292 |
|
sl@0
|
293 |
* unix/tclUnixInit.c: added default encoding map from
|
sl@0
|
294 |
"ja_JP.eucJP" to "euc-jp". (takahashi)
|
sl@0
|
295 |
|
sl@0
|
296 |
* tests/clock.test: corrected clock-2.* test numbering
|
sl@0
|
297 |
|
sl@0
|
298 |
* unix/configure.in (SC_TCL_LINK_LIBS): removed code that was
|
sl@0
|
299 |
commented out (it had been moved to tcl.m4's SC_TCL_LINK_LIBS
|
sl@0
|
300 |
already).
|
sl@0
|
301 |
|
sl@0
|
302 |
* unix/tcl.m4: consolidated gettimeofday check for AIX.
|
sl@0
|
303 |
|
sl@0
|
304 |
2000-10-27 Jeff Hobbs <hobbs@ajubasolutions.com>
|
sl@0
|
305 |
|
sl@0
|
306 |
* unix/configure.in:
|
sl@0
|
307 |
* unix/tcl.m4: added support for AIX-5.
|
sl@0
|
308 |
|
sl@0
|
309 |
* generic/tclIO.c (Tcl_NotifyChannel): removed #ifdef around code
|
sl@0
|
310 |
for old channel structures, placed preserve/release around statePtr
|
sl@0
|
311 |
* generic/tclIO.c (CloseChannel): the statePtr for a channel was
|
sl@0
|
312 |
not being freed when the last channel in a stack was freed,
|
sl@0
|
313 |
causing a mem leak.
|
sl@0
|
314 |
|
sl@0
|
315 |
* unix/tclUnixChan.c: updated channel types to strict
|
sl@0
|
316 |
TCL_CHANNEL_VERSION_2 style to avoid compiler warnings. They work
|
sl@0
|
317 |
either way, but this avoids compiler warnings (that worries people).
|
sl@0
|
318 |
|
sl@0
|
319 |
2000-10-27 Jennifer Hom <jenn@ajubasolutions.com>
|
sl@0
|
320 |
|
sl@0
|
321 |
* library/tcltest1.0/tcltest.tcl: Removed a cd into the test
|
sl@0
|
322 |
directory in runAllTests that screwed up the temporary directory
|
sl@0
|
323 |
setting, effectively preventing users from running tests on
|
sl@0
|
324 |
multiple platforms at the same time.
|
sl@0
|
325 |
|
sl@0
|
326 |
2000-10-26 David Gravereaux <davygrvy@ajubasolutions.com>
|
sl@0
|
327 |
|
sl@0
|
328 |
* win/tclWinFile.c (TclpMatchFilesTypes): NULL was being set to
|
sl@0
|
329 |
"attr" which was a DWORD. Changed NULL to zero because a 'void *'
|
sl@0
|
330 |
can't be set to a DWORD to avoid the compiler warning.
|
sl@0
|
331 |
|
sl@0
|
332 |
2000-10-24 Jennifer Hom <jenn@ajubasolutions.com>
|
sl@0
|
333 |
|
sl@0
|
334 |
* tests/all.tcl: Removed support for tcltest 1.0.
|
sl@0
|
335 |
|
sl@0
|
336 |
* tests/tcltest.test:
|
sl@0
|
337 |
* library/tcltest1.0/tcltest.tcl:
|
sl@0
|
338 |
* library/tcltest1.0/pkgIndex.tcl:
|
sl@0
|
339 |
* docs/tcltest.n: Moved tcltest2 code so that it's the standard
|
sl@0
|
340 |
version of tcltest. Removed all tcltest2 files
|
sl@0
|
341 |
(tests/tcltest2.test, library/tcltest1.0/tcltest2.tcl,
|
sl@0
|
342 |
docs/tcltest2.n).
|
sl@0
|
343 |
|
sl@0
|
344 |
2000-10-20 Jeff Hobbs <hobbs@ajubasolutions.com>
|
sl@0
|
345 |
|
sl@0
|
346 |
* win/tclWinFile.c (TclpMatchFilesTypes): made the stat call only
|
sl@0
|
347 |
occur when necessary (for 'glob' command). Significantly speeds
|
sl@0
|
348 |
up glob command from 8.3. [BUG: 6216]
|
sl@0
|
349 |
|
sl@0
|
350 |
2000-10-19 Jennifer Hom <jenn@ajubasolutions.com>
|
sl@0
|
351 |
|
sl@0
|
352 |
* library/tcltest1.0/tcltest2.tcl:
|
sl@0
|
353 |
* tests/tcltest2
|
sl@0
|
354 |
* doc/tcltest2.n: Code and documentation cleanup. Modified
|
sl@0
|
355 |
-verbose to take list of keywords as well as string of letters.
|
sl@0
|
356 |
Removed Tcl version information from tcltest. Removed
|
sl@0
|
357 |
tcltest::grep from tcltest package. Added optional 3rd directory
|
sl@0
|
358 |
argument to makeFile/makeDirectory and removeFile/removeDirectory.
|
sl@0
|
359 |
|
sl@0
|
360 |
* tests/basic.test: Changed references to tcltest::tclVersion to
|
sl@0
|
361 |
hardcoded numbers.
|
sl@0
|
362 |
* generic/tcl.h: Changed reference to tcltest2.tcl and tcltest.tcl
|
sl@0
|
363 |
in comments to tests/basic.test.
|
sl@0
|
364 |
|
sl@0
|
365 |
2000-10-06 David Gravereaux <davygrvy@ajubasolutions.com>
|
sl@0
|
366 |
|
sl@0
|
367 |
* win/tclWinChan.c: moved Win2K bug case test with GetStdHandle()
|
sl@0
|
368 |
from TclpGetDefaultStdChannel into Tcl_MakeFileChannel to enable
|
sl@0
|
369 |
a more general method in detecting invalid OS handles rather than
|
sl@0
|
370 |
just a specific known case. [BUG: 5971]
|
sl@0
|
371 |
|
sl@0
|
372 |
2000-10-06 Jeff Hobbs <hobbs@ajubasolutions.com>
|
sl@0
|
373 |
|
sl@0
|
374 |
* tests/cmdAH.test: extra tests for 'file channels' that include
|
sl@0
|
375 |
multiple interpreter tests and channel sharing
|
sl@0
|
376 |
* generic/tclIO.c (Tcl_GetChannelNamesEx): corrected function (and
|
sl@0
|
377 |
consequently 'file channels') to return channels that are actually
|
sl@0
|
378 |
registered for this specific interp, rather than this thread.
|
sl@0
|
379 |
|
sl@0
|
380 |
* doc/CrtChannel.3: fixed spelling mistakes
|
sl@0
|
381 |
|
sl@0
|
382 |
2000-09-29 Jennifer Hom <jenn@ajubasolutions.com>
|
sl@0
|
383 |
|
sl@0
|
384 |
* library/tcltest1.0/tcltest2.tcl:
|
sl@0
|
385 |
* tests/tcltest2.test:
|
sl@0
|
386 |
* doc/tcltest2.n: Modified the new form of the test command to
|
sl@0
|
387 |
accept both attribute-value pairs and command line options.
|
sl@0
|
388 |
Updated the tests and the documentation for this new format.
|
sl@0
|
389 |
Also changed the option names for the test command.
|
sl@0
|
390 |
|
sl@0
|
391 |
2000-09-29 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
392 |
|
sl@0
|
393 |
* win/tclWinSerial.c (SerialGetOptionProc): corrected reporting of
|
sl@0
|
394 |
space parity on Windows (Eason) [Bug 6057].
|
sl@0
|
395 |
|
sl@0
|
396 |
* win/Makefile.in: commented use of TESTFLAGS
|
sl@0
|
397 |
* unix/Makefile.in: added TESTFLAGS to test target to
|
sl@0
|
398 |
conform with Windows makefile and TEA style.
|
sl@0
|
399 |
|
sl@0
|
400 |
* tests/stack.test: prevented possible crash on systems with low
|
sl@0
|
401 |
default stacksize (Tru64, AIX) in infinite recursion test. A
|
sl@0
|
402 |
solution to check remaining stack space in the core is best, but
|
sl@0
|
403 |
hard to do in a cross-platform manner.
|
sl@0
|
404 |
|
sl@0
|
405 |
* generic/tclIOGT.c (FLUSH_DELAY): renamed DELAY define to
|
sl@0
|
406 |
FLUSH_DELAY to avoid defn conflict using Tru64's cc.
|
sl@0
|
407 |
|
sl@0
|
408 |
2000-09-28 Jeff Hobbs <hobbs@ajubasolutions.com>
|
sl@0
|
409 |
|
sl@0
|
410 |
* tools/tcl.wse.in: added tclPlatDecls.h and tkPlatDecls.h to the
|
sl@0
|
411 |
Windows .exe install.
|
sl@0
|
412 |
|
sl@0
|
413 |
* tests/fCmd.test (fCmd-6.20): corrected test to remove
|
sl@0
|
414 |
c:/tcl8975@ after creating it.
|
sl@0
|
415 |
|
sl@0
|
416 |
* tests/fileName.test: cleaned up the testing of glob patterns for
|
sl@0
|
417 |
c:/globTest (Windows) to directly create/remove directory.
|
sl@0
|
418 |
|
sl@0
|
419 |
2000-09-27 Jeff Hobbs <hobbs@ajubasolutions.com>
|
sl@0
|
420 |
|
sl@0
|
421 |
* generic/tcl.decls:
|
sl@0
|
422 |
* generic/tclIO.c: updated Tcl_IsChannelShared,
|
sl@0
|
423 |
Tcl_IsChannelRegistered, Tcl_CutChannel, Tcl_SpliceChannel,
|
sl@0
|
424 |
Tcl_IsChannelExisting, and Tcl_ClearChannelHandlers to conform to
|
sl@0
|
425 |
the new stacked channel implementation. Their stub slots were
|
sl@0
|
426 |
also moved to give preference to the new 8.3.2 stub functions.
|
sl@0
|
427 |
This will cause an incompatability with 8.4a1 only.
|
sl@0
|
428 |
(StopCopy): fixed a bug introduced by a partial fix in 8.3.2 that
|
sl@0
|
429 |
didn't set nonBlocking correctly when resetting the flags for the
|
sl@0
|
430 |
write side. [Bug: 6261]
|
sl@0
|
431 |
|
sl@0
|
432 |
* doc/ChnlStack.3:
|
sl@0
|
433 |
* doc/CrtChannel.3:
|
sl@0
|
434 |
* generic/tcl.decls:
|
sl@0
|
435 |
* generic/tcl.h:
|
sl@0
|
436 |
* generic/tclDecls.h:
|
sl@0
|
437 |
* generic/tclIO.c:
|
sl@0
|
438 |
* generic/tclIO.h:
|
sl@0
|
439 |
* generic/tclIOGT.c:
|
sl@0
|
440 |
* generic/tclInt.decls:
|
sl@0
|
441 |
* generic/tclIntDecls.h:
|
sl@0
|
442 |
* generic/tclStubInit.c:
|
sl@0
|
443 |
* generic/tclTest.c:
|
sl@0
|
444 |
* tests/iogt.test:
|
sl@0
|
445 |
* unix/Makefile.in:
|
sl@0
|
446 |
* win/Makefile.in:
|
sl@0
|
447 |
* win/makefile.vc:
|
sl@0
|
448 |
* win/tclConfig.sh.in:
|
sl@0
|
449 |
* win/tclWinChan.c:
|
sl@0
|
450 |
* win/tclWinConsole.c:
|
sl@0
|
451 |
* win/tclWinPipe.c:
|
sl@0
|
452 |
* win/tclWinSerial.c:
|
sl@0
|
453 |
* win/tclWinSock.c: Up-port of changes made in 8.3.2 to 8.4a2 code
|
sl@0
|
454 |
base. Most of these changes relate to the rewrite of the stacked
|
sl@0
|
455 |
channel implementation, with a few config related fixes.
|
sl@0
|
456 |
|
sl@0
|
457 |
Following is an asynchronous include of the applicable ChangeLog
|
sl@0
|
458 |
entries from 8.3.2.
|
sl@0
|
459 |
|
sl@0
|
460 |
********************************************************
|
sl@0
|
461 |
** START OF ASYNCHRONOUS UP-PORT LOG (8.3.2 -> 8.4a2) **
|
sl@0
|
462 |
********************************************************
|
sl@0
|
463 |
|
sl@0
|
464 |
2000-08-07 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
465 |
|
sl@0
|
466 |
* doc/ChnlStack.3:
|
sl@0
|
467 |
* doc/CrtChannel.3: updated the docs to be aware of the
|
sl@0
|
468 |
TCL_CHANNEL_VERSION_2 style of Tcl channels.
|
sl@0
|
469 |
|
sl@0
|
470 |
* generic/tclIO.c (Tcl_CreateChannel): added assertion to verify
|
sl@0
|
471 |
that the new channel versioning will be binary compatible with
|
sl@0
|
472 |
older channel drivers.
|
sl@0
|
473 |
|
sl@0
|
474 |
2000-08-05 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
475 |
|
sl@0
|
476 |
* generic/tclIOGT.c (TclChannelTransform): fixed segfault that
|
sl@0
|
477 |
would occur when transforming a channel with a proc that did not
|
sl@0
|
478 |
yet exist. (Kupries)
|
sl@0
|
479 |
|
sl@0
|
480 |
* generic/tclTest.c (TestChannelCmd): added some lint init'ing of
|
sl@0
|
481 |
statePtr and chan vars.
|
sl@0
|
482 |
|
sl@0
|
483 |
2000-07-26 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
484 |
|
sl@0
|
485 |
* merged core-8-3-1-io-rewrite back into core-8-3-1-branch.
|
sl@0
|
486 |
The core-8-3-1-io-rewrite branch should now be considered defunct.
|
sl@0
|
487 |
|
sl@0
|
488 |
* generic/tclStubInit.c:
|
sl@0
|
489 |
* generic/tclDecls.h:
|
sl@0
|
490 |
* generic/tcl.decls:
|
sl@0
|
491 |
* generic/tcl.h:
|
sl@0
|
492 |
* generic/tclIO.c: moved the Tcl_Channel* macros from tcl.h to
|
sl@0
|
493 |
tclIO.c and made them proper stubbed functions. These are:
|
sl@0
|
494 |
Tcl_ChannelName, Tcl_ChannelVersion, Tcl_ChannelBlockModeProc,
|
sl@0
|
495 |
Tcl_ChannelCloseProc, Tcl_ChannelClose2Proc, Tcl_ChannelInputProc,
|
sl@0
|
496 |
Tcl_ChannelOutputProc, Tcl_ChannelSeekProc, Tcl_ChannelSetOptionProc,
|
sl@0
|
497 |
Tcl_ChannelGetOptionProc, Tcl_ChannelWatchProc,
|
sl@0
|
498 |
Tcl_ChannelGetHandleProc, Tcl_ChannelFlushProc,
|
sl@0
|
499 |
and Tcl_ChannelHandlerProc. These should be used to access the
|
sl@0
|
500 |
Tcl_ChannelType structure instead of direct pointer dereferencing.
|
sl@0
|
501 |
|
sl@0
|
502 |
* tests/iogt.test: added RCS string, marked tests 2.* to be
|
sl@0
|
503 |
unixOnly due to underlying system differences.
|
sl@0
|
504 |
|
sl@0
|
505 |
2000-07-25 Andreas Kupries <a.kupries@westend.com>
|
sl@0
|
506 |
|
sl@0
|
507 |
* tests/iogt.test: (line 866f) New tests iogt-6.[01], highlighting
|
sl@0
|
508 |
buffering trouble when stacking and unstacking transformations.
|
sl@0
|
509 |
iogt-6.0 is solved, see the changes below. iogt-6.1 remains, for
|
sl@0
|
510 |
now, due to the perceived complexity of solutions.
|
sl@0
|
511 |
|
sl@0
|
512 |
* generic/tclIO.h: (line 139f) struct Channel, added a buffer
|
sl@0
|
513 |
queue, to hold data pushed back when stacking a transformation.
|
sl@0
|
514 |
|
sl@0
|
515 |
* generic/tclIO.c:
|
sl@0
|
516 |
(line 91f, line 7434f) New internal function 'CopyBuffer'.
|
sl@0
|
517 |
Derived from 'CopyAndTranslateBuffer', with translation
|
sl@0
|
518 |
removed.
|
sl@0
|
519 |
(line 1025f, line 1212f): Initialization of new queue.
|
sl@0
|
520 |
(line 1164f, Tcl_StackChannel): Pushback of input queue.
|
sl@0
|
521 |
(line 1293f, Tcl_UnstackChannel): Discard input and pushback.
|
sl@0
|
522 |
(line 3748f, Tcl_ReadRaw): Modified to use data in the push back
|
sl@0
|
523 |
area before going to the driver. Uses 'CopyBuffer', s.a.
|
sl@0
|
524 |
(line 4702f, GetInput): Modified to use data in the push back
|
sl@0
|
525 |
area before going to the driver.
|
sl@0
|
526 |
(line 4867f, Tcl_Seek): Modified to take pushback of the topmost
|
sl@0
|
527 |
channel in a stack into account.
|
sl@0
|
528 |
(line 5620f, Tcl_InputBuffered): See above. Added
|
sl@0
|
529 |
'Tcl_ChannelBuffered'. Analogue to 'Tcl_InputBuffered' but for
|
sl@0
|
530 |
the buffer area in the channel.
|
sl@0
|
531 |
|
sl@0
|
532 |
* generic/tcl.decls: New public API 'Tcl_ChannelBuffered'. S.a.
|
sl@0
|
533 |
|
sl@0
|
534 |
2000-07-17 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
535 |
|
sl@0
|
536 |
* unix/Makefile.in:
|
sl@0
|
537 |
* win/Makefile.in:
|
sl@0
|
538 |
* win/makefile.vc: added tclIOGT.c to objects list to compile.
|
sl@0
|
539 |
|
sl@0
|
540 |
* generic/tclStubInit.c:
|
sl@0
|
541 |
* generic/tclIntDecls.h:
|
sl@0
|
542 |
* generic/tclInt.decls: commented out internal decls for
|
sl@0
|
543 |
TclTestChannelCmd and TclTestChannelEventCmd as they were moved to
|
sl@0
|
544 |
tclTest.c. Added new decls for TclChannelEventScriptInvoker and
|
sl@0
|
545 |
TclChannelTransform.
|
sl@0
|
546 |
|
sl@0
|
547 |
* generic/tclIO.c (CloseChannel): stopped masking out of the
|
sl@0
|
548 |
TCL_READABLE|TCL_WRITABLE bits from the state flags in
|
sl@0
|
549 |
CloseChannel, instead adding extra intelligence to
|
sl@0
|
550 |
CheckChannelErrors with a new CHANNEL_RAW_MODE bit for special
|
sl@0
|
551 |
behavior when called from Raw channel APIs.
|
sl@0
|
552 |
|
sl@0
|
553 |
2000-07-13 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
554 |
|
sl@0
|
555 |
* generic/tclIO.c (StackSetBlockMode): moved set of chanPtr
|
sl@0
|
556 |
outside of blockModeProc check to avoid infinite loop when
|
sl@0
|
557 |
blockModeProc was NULL (Kupries). updated TransformSeekProc to
|
sl@0
|
558 |
not call Tcl_Seek directly (Kupries).
|
sl@0
|
559 |
|
sl@0
|
560 |
* win/tclWinChan.c: updated fileChannelType to v2 channel struct
|
sl@0
|
561 |
* win/tclWinConsole.c: updated consoleChannelType to v2 channel struct
|
sl@0
|
562 |
* win/tclWinPipe.c: updated pipeChannelType to v2 channel struct
|
sl@0
|
563 |
* win/tclWinSerial.c: updated serialChannelType to v2 channel struct
|
sl@0
|
564 |
* win/tclWinSock.c: updated tcpChannelType to v2 channel struct
|
sl@0
|
565 |
|
sl@0
|
566 |
2000-07-11 Brent Welch <welch@ajubasolutions.com>
|
sl@0
|
567 |
|
sl@0
|
568 |
* win/tclConfig.sh.in (TCL_LIBS): Cleaned up unix-specific
|
sl@0
|
569 |
autoconf variables.
|
sl@0
|
570 |
|
sl@0
|
571 |
2000-07-11 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
572 |
|
sl@0
|
573 |
* tests/iogt.test: made tests [345].0 not run by default as they
|
sl@0
|
574 |
were failing in the new design, but I'm not convinced that the
|
sl@0
|
575 |
returned result isn't correct.
|
sl@0
|
576 |
|
sl@0
|
577 |
* generic/tclDecls.h:
|
sl@0
|
578 |
* generic/tclStubInit.c:
|
sl@0
|
579 |
* generic/tcl.decls: added Tcl_GetTopChannel C API that returns
|
sl@0
|
580 |
the current top channel of a channel stack. Tcl_GetChannel was
|
sl@0
|
581 |
changed earlier to return the bottommost channel of a stack
|
sl@0
|
582 |
because that is the one that is guaranteed to stay around the
|
sl@0
|
583 |
longest, and this was needed to compensate for certain
|
sl@0
|
584 |
operations that want to look at the state of the main channel.
|
sl@0
|
585 |
Most channel APIs already compensate for grabbing the top, so it
|
sl@0
|
586 |
shouldn't be needed often.
|
sl@0
|
587 |
|
sl@0
|
588 |
* generic/tclIO.c (Tcl_StackChannel, Tcl_UnstackChannel): Added
|
sl@0
|
589 |
flushing of buffers (Kupries), removed use of DownChannel macro,
|
sl@0
|
590 |
added Tcl_GetTopChannel public API to get to the top channel of
|
sl@0
|
591 |
the channel stack (necessary for TLS). Rewrote Tcl_NotifyChannel
|
sl@0
|
592 |
for new channel design (Kupries). Did some code cleanup in the
|
sl@0
|
593 |
transform code. tclIO.c must still be broken into bits (separate
|
sl@0
|
594 |
out test code and giot code, create tclIO.h).
|
sl@0
|
595 |
|
sl@0
|
596 |
2000-07-10 Andreas Kupries <a.kupries@westend.com>
|
sl@0
|
597 |
|
sl@0
|
598 |
* tests/iogt.test: Reverted some earlier changes as a fix by Jeff
|
sl@0
|
599 |
revived the original and correct behaviour. IOW, the tests showed
|
sl@0
|
600 |
a genuine error and I didn't see it :(.
|
sl@0
|
601 |
|
sl@0
|
602 |
* generic/tclIO.c (Tcl_Read|Write_Raw): Changed to directly use
|
sl@0
|
603 |
the drivers and not DoRead|DoWrite. The latter use the buffering
|
sl@0
|
604 |
system, encoding and eol-translation and this wreaks havoc with
|
sl@0
|
605 |
the data going through the transformations. Both procedures use
|
sl@0
|
606 |
CheckForchannelErrors and let it believe that there is no
|
sl@0
|
607 |
background copy in progress or else stacked channels could not
|
sl@0
|
608 |
be used for that.
|
sl@0
|
609 |
|
sl@0
|
610 |
* generic/tclIO.c (TclCopyChannel, CopyData): Moved access to the
|
sl@0
|
611 |
topmost channel from the first to the second procedure to make
|
sl@0
|
612 |
the decision about that at the last possible time (Callbacks can
|
sl@0
|
613 |
change the stacking).
|
sl@0
|
614 |
|
sl@0
|
615 |
test suite: failures of iogt-[345].0
|
sl@0
|
616 |
|
sl@0
|
617 |
2000-07-06 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
618 |
|
sl@0
|
619 |
* tests/iogt.test: new tests for stacked channel stuff based off
|
sl@0
|
620 |
new 'testchannel transform|unstack' code (Kupries IOGT extension).
|
sl@0
|
621 |
* generic/tcl.decls:
|
sl@0
|
622 |
* generic/tcl.h:
|
sl@0
|
623 |
* generic/tclDecls.h:
|
sl@0
|
624 |
* generic/tclStubsInit.c:
|
sl@0
|
625 |
* generic/tclIO.c: complete rewrite of Tcl Channel code for
|
sl@0
|
626 |
stacked channels. Channels are now designed to work in a more
|
sl@0
|
627 |
stacked fashion with a shared ChannelState data structure.
|
sl@0
|
628 |
|
sl@0
|
629 |
2000-06-02 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
630 |
|
sl@0
|
631 |
* generic/tclIO.c (CloseChannel): removed the &ing out of
|
sl@0
|
632 |
(TCL_READABLE|TCL_WRITABLE) from the flags, as CloseChannel does
|
sl@0
|
633 |
this on the next pass through for the top channel, and it appeared
|
sl@0
|
634 |
to be causing hangs by not allowing the final flush.
|
sl@0
|
635 |
|
sl@0
|
636 |
2000-06-01 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
637 |
|
sl@0
|
638 |
* generic/tclIO.c (CloseChannel): Rewrote CloseChannel code to
|
sl@0
|
639 |
unstack a channel during the close process. Fixed a refcount bug
|
sl@0
|
640 |
in Tcl_UnstackChannel. [Bug: 5623]
|
sl@0
|
641 |
(CloseChannel): further extended CloseChannel in the stacked case
|
sl@0
|
642 |
to effect certain operations on the next channel that would have
|
sl@0
|
643 |
been done in Tcl_Close. Also added CHANNEL_CLOSED and removed
|
sl@0
|
644 |
(TCL_READABLE|TCL_WRITABLE) bits from chanPtr->flags. Changed
|
sl@0
|
645 |
final reset of the WatchProc to check the chanDownPtr's (next)
|
sl@0
|
646 |
interestMask.
|
sl@0
|
647 |
|
sl@0
|
648 |
******************************************************
|
sl@0
|
649 |
** END OF ASYNCHRONOUS UP-PORT LOG (8.3.2 -> 8.4a2) **
|
sl@0
|
650 |
******************************************************
|
sl@0
|
651 |
|
sl@0
|
652 |
2000-09-20 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
653 |
|
sl@0
|
654 |
* tests/socket.test: removed doTestsWithRemoteServer constraint
|
sl@0
|
655 |
from socket-12.*. It requires 'exec', not a remote server.
|
sl@0
|
656 |
Cleaned up some coding errors.
|
sl@0
|
657 |
|
sl@0
|
658 |
2000-09-20 Jennifer Hom <jenn@ajubasolutions.com>
|
sl@0
|
659 |
|
sl@0
|
660 |
* library/tcltest1.0/pkgIndex.tcl: Updated to load tcltest 2.0.
|
sl@0
|
661 |
* library/tcltest1.0/tcltest2.tcl: New version of tcltest.
|
sl@0
|
662 |
Cleanup of command line parsing: allows users to specify command
|
sl@0
|
663 |
line arguments through an environment variable named
|
sl@0
|
664 |
TCLTEST_OPTIONS [RFE: 3748], does not respond to incorrect
|
sl@0
|
665 |
arguments, and forces usage of entire flag name when using command
|
sl@0
|
666 |
line arguments. Defines accessor procs for all tcltest
|
sl@0
|
667 |
variables. Allows users to use 'return' in test scripts. Allow
|
sl@0
|
668 |
users to specify whether test files should be sourced or run in a
|
sl@0
|
669 |
separate process. 'all.tcl' code moved to tcltest package.
|
sl@0
|
670 |
'test' proc modified to use attribute-value pairs. Allow users to
|
sl@0
|
671 |
specify what return codes, output, and errors can be compared and
|
sl@0
|
672 |
whether these values should be compared using regexp, glob, or
|
sl@0
|
673 |
exact matching. makeDirectory & removeDirectory now operate with
|
sl@0
|
674 |
respect to temporaryDirectory [Bug: 6001]. Test results from
|
sl@0
|
675 |
tests run in slave interpreters are now included in test totals
|
sl@0
|
676 |
[Bug: 1493]. Test files that return error values are now reported.
|
sl@0
|
677 |
|
sl@0
|
678 |
* tests/all.tcl: Added code to check for the tcltest version
|
sl@0
|
679 |
loaded; modified to figure out which tests to run based on the
|
sl@0
|
680 |
tcltest version loaded.
|
sl@0
|
681 |
* tests/tcltest.test: Modified to explicitly load version 1.0 of
|
sl@0
|
682 |
tcltest.
|
sl@0
|
683 |
* tests/tcltest2.test: New test suite for tcltest; includes all of
|
sl@0
|
684 |
the old tests plus new ones reflecting changes made for version
|
sl@0
|
685 |
2.0.
|
sl@0
|
686 |
* tests/cmdAH.test: Added singleTestInterp constraint to
|
sl@0
|
687 |
cmdAH-31.2; this test does not run if tests aren't sourced into a
|
sl@0
|
688 |
single interpreter.
|
sl@0
|
689 |
* tests/socket.test: Fixed two tests that were referencing
|
sl@0
|
690 |
variables outside of scope.
|
sl@0
|
691 |
|
sl@0
|
692 |
* tools/tcl.wse.in: Added code to install tcltest2.tcl.
|
sl@0
|
693 |
|
sl@0
|
694 |
* doc/tcltest2.n: New documentation for tcltest version 2.0.
|
sl@0
|
695 |
Removes documentation for tcltest namespace variables. Adds
|
sl@0
|
696 |
documentation for new tcltest procs.
|
sl@0
|
697 |
|
sl@0
|
698 |
* unix/mkLinks: Added code to link to tcltest2.n.
|
sl@0
|
699 |
|
sl@0
|
700 |
* generic/tcl.h: Added comment to modify tcltest2.tcl as well as
|
sl@0
|
701 |
tcltest.tcl for version changes.
|
sl@0
|
702 |
|
sl@0
|
703 |
2000-09-19 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
704 |
|
sl@0
|
705 |
* generic/tclCmdMZ.c (Tcl_RegexpObjCmd): When using -all, all
|
sl@0
|
706 |
attempts after the first to match the regexp against the string
|
sl@0
|
707 |
should include the TCL_REG_NOTBOL flag, to avoid erroneously
|
sl@0
|
708 |
matching ^ in the middle of the string. Added code to set this
|
sl@0
|
709 |
flag after the first pass through the matching loop. [Bug: 6284].
|
sl@0
|
710 |
|
sl@0
|
711 |
2000-09-19 David Gravereaux <davygrvy@ajubasolutions.com>
|
sl@0
|
712 |
|
sl@0
|
713 |
* doc/Eval.3: Added a note about the script argument to Tcl_Eval()
|
sl@0
|
714 |
should be in UTF-8 or risk implied conversion errors when possible
|
sl@0
|
715 |
combinations of upper ascii can be valid UTF-8 special codes.
|
sl@0
|
716 |
|
sl@0
|
717 |
2000-09-17 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
718 |
|
sl@0
|
719 |
* tests/cmdIL.test: Added a test for fix for [Bug: 6212].
|
sl@0
|
720 |
|
sl@0
|
721 |
* generic/tclCmdIL.c (Tcl_LsortObjCmd): Applied patch from [Bug:
|
sl@0
|
722 |
6212], which corrected an error in the handling of the -index option.
|
sl@0
|
723 |
|
sl@0
|
724 |
2000-09-14 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
725 |
|
sl@0
|
726 |
* doc/Alloc.3: Added entries for Tcl_AttemptAlloc, Tcl_AttempRealloc.
|
sl@0
|
727 |
|
sl@0
|
728 |
* doc/StringObj.3: Added entry for Tcl_AttemptSetObjLength.
|
sl@0
|
729 |
|
sl@0
|
730 |
* generic/tclDecls.h:
|
sl@0
|
731 |
* generic/tclStubInit.c: Regen'ed stubs files from new tcl.decls.
|
sl@0
|
732 |
|
sl@0
|
733 |
* generic/tcl.decls: Added stubs for the Tcl_Attempt* memory
|
sl@0
|
734 |
allocators and for Tcl_AttemptSetObjLength.
|
sl@0
|
735 |
|
sl@0
|
736 |
* generic/tcl.h: Added #define's for attemptckalloc,
|
sl@0
|
737 |
attemptckrealloc, which map to the Tcl_Attempt* memory allocators.
|
sl@0
|
738 |
|
sl@0
|
739 |
* generic/tclCkalloc.c: Added non-panic'ing versions of Tcl_Alloc,
|
sl@0
|
740 |
Tcl_Realloc, etc.; these are called Tcl_AttemptAlloc,
|
sl@0
|
741 |
Tcl_AttemptRealloc, etc. These are used by
|
sl@0
|
742 |
Tcl_AttemptSetObjLength and the string obj append functions.
|
sl@0
|
743 |
|
sl@0
|
744 |
* generic/tclStringObj.c: Modified string growth algorithm to use
|
sl@0
|
745 |
doubling algorithm as long as possible, and only fall back when
|
sl@0
|
746 |
that fails. Added Tcl_AttemptSetObjLength, and modified
|
sl@0
|
747 |
AppendUnicodeToUnicodeRep, AppendUtfToUtfRep, and
|
sl@0
|
748 |
Tcl_AppendStringsToObjVA to support this.
|
sl@0
|
749 |
|
sl@0
|
750 |
2000-09-07 David Gravereaux <davygrvy@ajubasolutions.com>
|
sl@0
|
751 |
|
sl@0
|
752 |
* win/.cvsignore: changed the glob patterns a bit to exclude VC++
|
sl@0
|
753 |
project conversion backups.
|
sl@0
|
754 |
|
sl@0
|
755 |
* win/tclWinPipe.c: Stage-1 bug fix for TR#2460 "exec leaks memory".
|
sl@0
|
756 |
Added more logic around the close-down of the pipe reader thread so
|
sl@0
|
757 |
as to avoid, at all cost, a TerminateThread. Most cases with exec
|
sl@0
|
758 |
are fixed, but I don't consider 2460 done yet. Closing down the
|
sl@0
|
759 |
read side of a pipe before the child process, doesn't really fit
|
sl@0
|
760 |
the windows model. [BUG: 2460]
|
sl@0
|
761 |
|
sl@0
|
762 |
2000-09-07 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
763 |
|
sl@0
|
764 |
* doc/trace.n: minor doc cleanup
|
sl@0
|
765 |
|
sl@0
|
766 |
2000-09-06 André Pönitz <poenitz@htwm.de>
|
sl@0
|
767 |
|
sl@0
|
768 |
* doc/*.n: added or changed "SEE ALSO:" section
|
sl@0
|
769 |
|
sl@0
|
770 |
2000-09-06 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
771 |
|
sl@0
|
772 |
* win/tclWinLoad.c (TclpLoadFile): added special message for
|
sl@0
|
773 |
ERROR_PROC_NOT_FOUND exception in loading a dll.
|
sl@0
|
774 |
* win/tclWinError.c: changed ERROR_PROC_NOT_FOUND to map from
|
sl@0
|
775 |
ESRCH (POSIX: no such process) to EINVAL because there is no good
|
sl@0
|
776 |
mapping for "procedure not found".
|
sl@0
|
777 |
|
sl@0
|
778 |
* README:
|
sl@0
|
779 |
* generic/tcl.h:
|
sl@0
|
780 |
* library/tcltest1.0/tcltest.tcl:
|
sl@0
|
781 |
* tools/tcl.wse.in:
|
sl@0
|
782 |
* tools/tcltk-man2html.tcl:
|
sl@0
|
783 |
* unix/configure.in:
|
sl@0
|
784 |
* unix/tcl.spec:
|
sl@0
|
785 |
* win/README.binary:
|
sl@0
|
786 |
* win/configure.in: updated patchlevel to 8.4a2
|
sl@0
|
787 |
|
sl@0
|
788 |
* unix/tclUnixPipe.c (TclpCreateProcess): Removed WNOHANG from
|
sl@0
|
789 |
Tcl_WaitPid call in error case of process creation on Unix, as it
|
sl@0
|
790 |
would lead to defunct processes. [Bug: 6148]
|
sl@0
|
791 |
|
sl@0
|
792 |
* tests/string.test: extended string repeat tests
|
sl@0
|
793 |
* generic/tclCmdMZ.c (Tcl_StringObjCmd): changed STR_REPEAT to
|
sl@0
|
794 |
preallocate the full space of the final string, avoided repeated
|
sl@0
|
795 |
appends.
|
sl@0
|
796 |
|
sl@0
|
797 |
* doc/source.n:
|
sl@0
|
798 |
* doc/Eval.3: added extra note about how to safe use ^Z in code,
|
sl@0
|
799 |
as it is now a cross-platform (was just Windows) EOF char.
|
sl@0
|
800 |
|
sl@0
|
801 |
2000-09-05 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
802 |
|
sl@0
|
803 |
* generic/tclHash.c: fixed pedantic warning of incorrectly placed
|
sl@0
|
804 |
#endif
|
sl@0
|
805 |
|
sl@0
|
806 |
* generic/tclExecute.c (TclExecuteByteCode): INST_STR_INDEX fixed
|
sl@0
|
807 |
pedantic cast warning.
|
sl@0
|
808 |
Corrected support for building with -DTCL_COMPILE_STATS.
|
sl@0
|
809 |
Added efficiency check of object equality.
|
sl@0
|
810 |
|
sl@0
|
811 |
2000-08-29 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
812 |
|
sl@0
|
813 |
* generic/tclStringObj.c: Applied patch from Gerhard Hintermayer
|
sl@0
|
814 |
to provide a more conservative string growth algorithm for strings
|
sl@0
|
815 |
larger than one megabyte; this allows more efficient use of memory
|
sl@0
|
816 |
for very large strings.
|
sl@0
|
817 |
|
sl@0
|
818 |
2000-08-25 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
819 |
|
sl@0
|
820 |
* tests/trace.test: Extended array tracing tests.
|
sl@0
|
821 |
|
sl@0
|
822 |
* doc/trace.n: Clarified information about when array traces will
|
sl@0
|
823 |
be fired.
|
sl@0
|
824 |
|
sl@0
|
825 |
* generic/tclVar.c (Tcl_ArrayObjCmd): Corrected call to CallTraces
|
sl@0
|
826 |
(for TCL_TRACE_ARRAY) to only be called when the variable is
|
sl@0
|
827 |
either an array or is undefined, to ensure that array traces do
|
sl@0
|
828 |
not fire for scalar variables.
|
sl@0
|
829 |
|
sl@0
|
830 |
2000-08-24 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
831 |
|
sl@0
|
832 |
* doc/man.macros: Tweaked tab settings for .SO (Standard Options)
|
sl@0
|
833 |
sections, based on suggestion from Peter Spjuth.
|
sl@0
|
834 |
|
sl@0
|
835 |
2000-08-24 Mo DeJong <mdejong@redhat.com>
|
sl@0
|
836 |
|
sl@0
|
837 |
* unix/README: Update to account for removal of --enable-gcc.
|
sl@0
|
838 |
* unix/configure.in:
|
sl@0
|
839 |
* unix/tcl.m4 (SC_ENABLE_GCC): Remove --enable-gcc option.
|
sl@0
|
840 |
* win/README: Add note about building with Cygwin.
|
sl@0
|
841 |
* win/configure.in:
|
sl@0
|
842 |
* win/tcl.m4 (SC_ENABLE_GCC): Remove --enable-gcc option.
|
sl@0
|
843 |
Remove quick hack that provided cross compile support for
|
sl@0
|
844 |
windows builds.
|
sl@0
|
845 |
|
sl@0
|
846 |
2000-08-24 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
847 |
|
sl@0
|
848 |
Overall change: Added support for command rename/delete traces
|
sl@0
|
849 |
and new trace syntax, from patch from Vince Darley. Added support
|
sl@0
|
850 |
for array traces for variables. [RFE: 5048, 5967].
|
sl@0
|
851 |
|
sl@0
|
852 |
* doc/trace.n: Updated documentation for new syntax; flagged old
|
sl@0
|
853 |
syntax as deprecated; added documentation for command
|
sl@0
|
854 |
rename/delete traces and variable array traces.
|
sl@0
|
855 |
|
sl@0
|
856 |
* tests/trace.test: Updated tests for new trace syntax; new tests
|
sl@0
|
857 |
for command rename/delete traces; new tests for array traces.
|
sl@0
|
858 |
|
sl@0
|
859 |
* generic/tclVar.c: Support for new trace syntax; support for
|
sl@0
|
860 |
TCL_TRACE_ARRAY.
|
sl@0
|
861 |
|
sl@0
|
862 |
* generic/tclStubInit.c:
|
sl@0
|
863 |
* generic/tclDecls.h:
|
sl@0
|
864 |
* generic/tcl.decls: Stub functions for command rename/delete traces.
|
sl@0
|
865 |
|
sl@0
|
866 |
* generic/tcl.h:
|
sl@0
|
867 |
* generic/tclInt.h:
|
sl@0
|
868 |
* generic/tclBasic.c: Support for command traces.
|
sl@0
|
869 |
|
sl@0
|
870 |
* generic/tclCmdMZ.c (TclTraceVariableObjCmd): Patched to support
|
sl@0
|
871 |
new [trace] syntax:
|
sl@0
|
872 |
trace {add|remove|list} {variable|command} name ops command
|
sl@0
|
873 |
Added support for command traces (rename, delete operations).
|
sl@0
|
874 |
Added support for TCL_TRACE_ARRAY at Tcl level (array operation
|
sl@0
|
875 |
for variable traces).
|
sl@0
|
876 |
|
sl@0
|
877 |
2000-08-20 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
878 |
|
sl@0
|
879 |
* generic/tclVar.c: Added check for non-arrays for [array statistics]
|
sl@0
|
880 |
command (patch from Mark Patton).
|
sl@0
|
881 |
|
sl@0
|
882 |
2000-08-19 David Gravereaux <davygrvy@ajubasolutions.com>
|
sl@0
|
883 |
|
sl@0
|
884 |
* generic/tclPlatDecls.h: without a previous '#include <windows.h>',
|
sl@0
|
885 |
tclPlatDecls.h can't be parsed due to a missing definition of TCHAR.
|
sl@0
|
886 |
Added a check to include it when not defined.
|
sl@0
|
887 |
|
sl@0
|
888 |
***POSSIBLE OBSCURE BUG*** could be caused when the compile flags
|
sl@0
|
889 |
for the core happen to be different than a project who uses these
|
sl@0
|
890 |
publics regarding -D_MBCS and -D_UNICODE. This added check might
|
sl@0
|
891 |
have to be revisited later with a better understanding of the
|
sl@0
|
892 |
reprocusions. I think TCHAR should be replaced with it's expansion.
|
sl@0
|
893 |
|
sl@0
|
894 |
2000-08-18 David Gravereaux <davygrvy@ajubasolutions.com>
|
sl@0
|
895 |
|
sl@0
|
896 |
* win/.cvsignore (added): provides a cleaner build environment with
|
sl@0
|
897 |
graphical CVS clients.
|
sl@0
|
898 |
|
sl@0
|
899 |
2000-08-15 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
900 |
|
sl@0
|
901 |
* library/tcltest1.0/tcltest.tcl: Set debug level in
|
sl@0
|
902 |
tcltest::restoreState to 2, for consistancy with the debug level
|
sl@0
|
903 |
in tcltest::saveState [Bug: 4505].
|
sl@0
|
904 |
|
sl@0
|
905 |
2000-08-14 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
906 |
|
sl@0
|
907 |
* win/makefile.vc:
|
sl@0
|
908 |
* win/Makefile.in:
|
sl@0
|
909 |
* unix/Makefile.in: Added tclPlatDecls.h to the list of installed
|
sl@0
|
910 |
headers, for more complete stubs support. [Bug: 5241].
|
sl@0
|
911 |
|
sl@0
|
912 |
* generic/tcl.h: Added #include "tclPlatDecls.h" to get
|
sl@0
|
913 |
platform-specific stubs declarations (Tcl_WinTCharToUtf, etc)
|
sl@0
|
914 |
[Bug: 5241].
|
sl@0
|
915 |
|
sl@0
|
916 |
* README: Updated link for instructions on compiling Tcl from
|
sl@0
|
917 |
sources to point to correct location
|
sl@0
|
918 |
(http://dev.scriptics.com/doc/... instead of
|
sl@0
|
919 |
http://dev.scriptics.com/support/...).
|
sl@0
|
920 |
|
sl@0
|
921 |
2000-08-11 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
922 |
|
sl@0
|
923 |
* generic/tclEnv.c (TclUnsetEnv): Changed declaration of length
|
sl@0
|
924 |
variable from "unsigned int" to "int", to match usage when passed
|
sl@0
|
925 |
to TclpFindVariable [Bug: 6126].
|
sl@0
|
926 |
|
sl@0
|
927 |
2000-08-10 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
928 |
|
sl@0
|
929 |
* library/msgcat1.0/pkgIndex.tcl: Bumped version number to 1.2
|
sl@0
|
930 |
[Bug: 6100].
|
sl@0
|
931 |
|
sl@0
|
932 |
* library/msgcat1.0/msgcat.tcl: Removed erroneous [package forget]
|
sl@0
|
933 |
in msgcat namespace initializer. Bumped version number to 1.2
|
sl@0
|
934 |
[Bug: 6100].
|
sl@0
|
935 |
|
sl@0
|
936 |
2000-08-10 David Gravereaux <davygrvy@ajubasolutions.com>
|
sl@0
|
937 |
|
sl@0
|
938 |
* generic/tclObj.c: r1.15 accidentally changed a global mutex
|
sl@0
|
939 |
name tclObjMutex to ObjMutex. Put the correct name back.
|
sl@0
|
940 |
|
sl@0
|
941 |
2000-08-07 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
942 |
|
sl@0
|
943 |
* tests/indexObj.test: Added tests using the [testwrongnumargs]
|
sl@0
|
944 |
command to test Tcl_WrongNumArgs.
|
sl@0
|
945 |
|
sl@0
|
946 |
* generic/tclTest.c (TestWrongNumArgsObjCmd): Added test function
|
sl@0
|
947 |
for the Tcl_WrongNumArgs function.
|
sl@0
|
948 |
|
sl@0
|
949 |
* generic/tclIndexObj.c (Tcl_WrongNumArgs): Corrected algorithm to
|
sl@0
|
950 |
not insert a space before the message component when objc == 0
|
sl@0
|
951 |
[Bug: 6078].
|
sl@0
|
952 |
|
sl@0
|
953 |
2000-07-27 Mo DeJong <mdejong@redhat.com>
|
sl@0
|
954 |
|
sl@0
|
955 |
* win/configure.in: TCL_STUB_LIB_FLAG should not
|
sl@0
|
956 |
include ${TCL_DBGX} in win/tclConfig.sh, fix that.
|
sl@0
|
957 |
|
sl@0
|
958 |
2000-07-25 David Gravereaux <davygrvy@ajubasolutions.com>
|
sl@0
|
959 |
|
sl@0
|
960 |
* doc/Async.3:
|
sl@0
|
961 |
* generic/tclAsync.c:
|
sl@0
|
962 |
* generic/tclInt.decls:
|
sl@0
|
963 |
* generic/tclIntPlatDecls.h:
|
sl@0
|
964 |
* generic/tclStubInit.c:
|
sl@0
|
965 |
* generic/tclTest.c:
|
sl@0
|
966 |
* mac/tclMacPort.h:
|
sl@0
|
967 |
* unix/tclUnixPort.h:
|
sl@0
|
968 |
* win/tclWinInit.c: Thread-safe rewrite for tclAsync.c. Added
|
sl@0
|
969 |
notifier alerting on all platforms as it was only working on Win
|
sl@0
|
970 |
before. Removed older Win hacks that would end-up waking the
|
sl@0
|
971 |
wrong notifier in the presence of a threaded build. All tests
|
sl@0
|
972 |
pass as before. New test cases will be added soon for the new
|
sl@0
|
973 |
behavior. [BUG: 5791]
|
sl@0
|
974 |
|
sl@0
|
975 |
2000-07-25 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
976 |
|
sl@0
|
977 |
* generic/tclVar.c (CallTraces): Added check for VAR_TRACE_ACTIVE
|
sl@0
|
978 |
on the array containing the variable before executing traces on
|
sl@0
|
979 |
that array, to conform with normal variable traces and the
|
sl@0
|
980 |
documentation, which states that while executing a trace, other
|
sl@0
|
981 |
traces on that variable are disabled. [Bug: 6049].
|
sl@0
|
982 |
|
sl@0
|
983 |
* win/tclWinPipe.c (BuildCommandLine): Added Tcl_DStringFree call
|
sl@0
|
984 |
to prevent potential memory leaks [Bug: 6041].
|
sl@0
|
985 |
|
sl@0
|
986 |
2000-07-24 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
987 |
|
sl@0
|
988 |
* doc/msgcat.n: Added documentation about the selection of the
|
sl@0
|
989 |
default locale on Windows.
|
sl@0
|
990 |
|
sl@0
|
991 |
2000-07-23 Joe English <jenglish@flightlab.com>
|
sl@0
|
992 |
* doc/AddErrInfo.3:
|
sl@0
|
993 |
* doc/ChnlStack.3:
|
sl@0
|
994 |
* doc/Exit.3:
|
sl@0
|
995 |
* doc/GetIndex.3:
|
sl@0
|
996 |
* doc/Notifier.3:
|
sl@0
|
997 |
* doc/Object.3:
|
sl@0
|
998 |
* doc/RegExp.3:
|
sl@0
|
999 |
* doc/SetResult.3:
|
sl@0
|
1000 |
* doc/SplitList.3:
|
sl@0
|
1001 |
* doc/Thread.3: Added missing entries to NAME section.
|
sl@0
|
1002 |
|
sl@0
|
1003 |
* doc/AddErrInfo.3:
|
sl@0
|
1004 |
* doc/CrtObjCmd.3:
|
sl@0
|
1005 |
* doc/RecEvalObj.3: Changed Tcl_EvalObj to Tcl_EvalObjEx
|
sl@0
|
1006 |
|
sl@0
|
1007 |
2000-07-21 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
1008 |
|
sl@0
|
1009 |
* generic/tclStubInit.c:
|
sl@0
|
1010 |
* generic/tclObj.c:
|
sl@0
|
1011 |
* generic/tclInt.h:
|
sl@0
|
1012 |
* generic/tclHash.c:
|
sl@0
|
1013 |
* generic/tclDecls.h:
|
sl@0
|
1014 |
* generic/tcl.h:
|
sl@0
|
1015 |
* generic/tcl.decls:
|
sl@0
|
1016 |
* doc/Hash.3: Reapplied patch from Paul Duffin to extend hash tables
|
sl@0
|
1017 |
to allow custom key types, such as Tcl_Obj *'s, and others.
|
sl@0
|
1018 |
|
sl@0
|
1019 |
* doc/binary.n: Noted that the example in the introduction assumes a
|
sl@0
|
1020 |
32-bit system [Bug: 6035].
|
sl@0
|
1021 |
|
sl@0
|
1022 |
2000-07-21 Mo DeJong <mdejong@redhat.com>
|
sl@0
|
1023 |
|
sl@0
|
1024 |
* win/configure.in: Define ${prefix} and ${exec_prefix} like
|
sl@0
|
1025 |
unix/configure.in. Fix or add TCL_SRC_DIR, TCL_STUB_LIB_FILE,
|
sl@0
|
1026 |
TCL_STUB_LIB_FLAG, TCL_BUILD_STUB_LIB_SPEC, TCL_STUB_LIB_SPEC,
|
sl@0
|
1027 |
TCL_BUILD_STUB_LIB_PATH, TCL_STUB_LIB_PATH.
|
sl@0
|
1028 |
|
sl@0
|
1029 |
2000-07-20 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
1030 |
|
sl@0
|
1031 |
* generic/tclStubInit.c:
|
sl@0
|
1032 |
* generic/tclObj.c:
|
sl@0
|
1033 |
* generic/tclInt.h:
|
sl@0
|
1034 |
* generic/tclHash.c:
|
sl@0
|
1035 |
* generic/tclDecls.h:
|
sl@0
|
1036 |
* generic/tcl.h:
|
sl@0
|
1037 |
* generic/tcl.decls:
|
sl@0
|
1038 |
* doc/Hash.3: Reverted patch from Paul Duffin to extend hash tables
|
sl@0
|
1039 |
to allow custom key types, such as Tcl_Obj *'s, and others; it
|
sl@0
|
1040 |
seems to break Tk.
|
sl@0
|
1041 |
|
sl@0
|
1042 |
2000-07-19 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
1043 |
|
sl@0
|
1044 |
* generic/tclStubInit.c:
|
sl@0
|
1045 |
* generic/tclObj.c:
|
sl@0
|
1046 |
* generic/tclInt.h:
|
sl@0
|
1047 |
* generic/tclHash.c:
|
sl@0
|
1048 |
* generic/tclDecls.h:
|
sl@0
|
1049 |
* generic/tcl.h:
|
sl@0
|
1050 |
* generic/tcl.decls:
|
sl@0
|
1051 |
* doc/Hash.3: Applied patch from Paul Duffin to extend hash tables
|
sl@0
|
1052 |
to allow custom key types, such as Tcl_Obj *'s, and others.
|
sl@0
|
1053 |
|
sl@0
|
1054 |
* tests/pkgMkIndex.test: Added tests for pkg_compareExtension.
|
sl@0
|
1055 |
|
sl@0
|
1056 |
* library/package.tcl: Enhanced pkg_compareExtension to handle
|
sl@0
|
1057 |
Unixes which tack the version number on to the end of library
|
sl@0
|
1058 |
names (eg, foo.so.1.2); such filenames will be correctly matched.
|
sl@0
|
1059 |
(Patch from Vince Darley).
|
sl@0
|
1060 |
|
sl@0
|
1061 |
* win/makefile.vc: Applied patch from Don Porter to provide better
|
sl@0
|
1062 |
nmake support for NT/Alpha [RFE: 5938].
|
sl@0
|
1063 |
|
sl@0
|
1064 |
2000-07-18 Mo DeJong <mdejong@redhat.com>
|
sl@0
|
1065 |
|
sl@0
|
1066 |
* unix/configure.in:
|
sl@0
|
1067 |
* unix/tcl.m4:
|
sl@0
|
1068 |
* win/tcl.m4: Properly quote arguments to m4 macros. This allows
|
sl@0
|
1069 |
Tcl to work with the new version of autoconf.
|
sl@0
|
1070 |
|
sl@0
|
1071 |
2000-07-18 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
1072 |
|
sl@0
|
1073 |
* tests/opt.test: Removed references to Lfirst, Lrest functions.
|
sl@0
|
1074 |
|
sl@0
|
1075 |
* library/opt0.4/optparse.tcl: Applied patch from Chris Nelson,
|
sl@0
|
1076 |
which replaces the [Lfirst] function with an inline [lindex ... 0]
|
sl@0
|
1077 |
and [Lrest] with [lrange ... 1 end], for better performance.
|
sl@0
|
1078 |
[RFE: 6019]
|
sl@0
|
1079 |
|
sl@0
|
1080 |
|
sl@0
|
1081 |
2000-07-18 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1082 |
|
sl@0
|
1083 |
* compat/string.h: Fixed function prototypes for strpbrk and
|
sl@0
|
1084 |
strtok [Bug: 6020].
|
sl@0
|
1085 |
|
sl@0
|
1086 |
2000-07-17 David Gravereaux <davygrvy@ajubasolutions.com>
|
sl@0
|
1087 |
|
sl@0
|
1088 |
* win/tclWinChan.c: Win2K OS bug with
|
sl@0
|
1089 |
GetStdHandle(STD_OUTPUT_HANDLE) giving the wrong answer. This
|
sl@0
|
1090 |
made TclpGetDefaultStdChannel grab what it thought was a valid
|
sl@0
|
1091 |
native stdout handle. Added a new WriteFile() test to make sure
|
sl@0
|
1092 |
it's really valid. This OS bug doesn't affect the shells. Only
|
sl@0
|
1093 |
-subsystem:windows (aka WinMain) application that dynamically
|
sl@0
|
1094 |
load tclXX.dll [BUG: 5971]
|
sl@0
|
1095 |
|
sl@0
|
1096 |
2000-07-17 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1097 |
|
sl@0
|
1098 |
* library/msgcat1.0/msgcat.tcl:
|
sl@0
|
1099 |
* doc/msgcat.n:
|
sl@0
|
1100 |
* tests/msgcat.test: Applied patches from Chris Nelson, to provide
|
sl@0
|
1101 |
the mcmset function, which allows the translator to set multiple
|
sl@0
|
1102 |
string translations in a single function call, rather than
|
sl@0
|
1103 |
requiring many calls to mcset. [RFE: 6000, 5993]. In addition,
|
sl@0
|
1104 |
these patches correct mcload to use utf-8 encoding on when reading
|
sl@0
|
1105 |
message catalog files, and provides for better default behavior
|
sl@0
|
1106 |
for determining the locale on a Windows system.
|
sl@0
|
1107 |
|
sl@0
|
1108 |
2000-07-17 Mo DeJong <mdejong@redhat.com>
|
sl@0
|
1109 |
|
sl@0
|
1110 |
* unix/tcl.m4 (SC_ENABLE_GCC): Don't set CC=gcc
|
sl@0
|
1111 |
before running AC_PROG_CC if CC is already set.
|
sl@0
|
1112 |
|
sl@0
|
1113 |
2000-07-13 André Pönitz <poenitz@mathematik.tu-chemnitz.de>
|
sl@0
|
1114 |
|
sl@0
|
1115 |
* doc/lappend.n:
|
sl@0
|
1116 |
* doc/lindex.n:
|
sl@0
|
1117 |
* doc/linsert.n:
|
sl@0
|
1118 |
* doc/list.n:
|
sl@0
|
1119 |
* doc/llength.n:
|
sl@0
|
1120 |
* doc/lrange.n:
|
sl@0
|
1121 |
* doc/lreplace.n:
|
sl@0
|
1122 |
* doc/lsearch.n:
|
sl@0
|
1123 |
* doc/lsort.n: Added SEE ALSO sections.
|
sl@0
|
1124 |
|
sl@0
|
1125 |
2000-07-07 Mo DeJong <mdejong@redhat.com>
|
sl@0
|
1126 |
|
sl@0
|
1127 |
* win/configure.in: Fix definition of
|
sl@0
|
1128 |
TCL_SRC_DIR so that it matches the Unix version.
|
sl@0
|
1129 |
* win/tclConfig.sh.in: Removed duplicate variables.
|
sl@0
|
1130 |
|
sl@0
|
1131 |
2000-07-06 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1132 |
|
sl@0
|
1133 |
* tests/msgcat.test:
|
sl@0
|
1134 |
* library/msgcat1.0/msgcat.tcl: Applied patch from Christian
|
sl@0
|
1135 |
Krone, to provide extended args support for msgcat::unknown, which
|
sl@0
|
1136 |
is used for strings without a known translation in the current
|
sl@0
|
1137 |
locale [Bug: 5984].
|
sl@0
|
1138 |
|
sl@0
|
1139 |
2000-06-29 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1140 |
|
sl@0
|
1141 |
* doc/msgcat.n: Doc's for mcmax function.
|
sl@0
|
1142 |
|
sl@0
|
1143 |
* library/msgcat1.0/msgcat.tcl: Applied patches from Laurent
|
sl@0
|
1144 |
Duperval, to add mcmax function, which computes the length of the
|
sl@0
|
1145 |
longest of several translated strings. Bumped version number to 1.1.
|
sl@0
|
1146 |
|
sl@0
|
1147 |
2000-06-27 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1148 |
|
sl@0
|
1149 |
* tests/stringObj.test: Tweaked tests to avoid hardcoded
|
sl@0
|
1150 |
high-ASCII characters (which will fail in multibyte locales);
|
sl@0
|
1151 |
instead used \uXXXX syntax. [Bug: 3842].
|
sl@0
|
1152 |
|
sl@0
|
1153 |
2000-06-26 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1154 |
|
sl@0
|
1155 |
* doc/package.n: Corrected information about [package forget]
|
sl@0
|
1156 |
arguments [Bug: 5418].
|
sl@0
|
1157 |
|
sl@0
|
1158 |
2000-06-23 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1159 |
|
sl@0
|
1160 |
* doc/Hash.3: Added documentation patch for Tcl_Obj *'s as keys in
|
sl@0
|
1161 |
Tcl hash tables [RFE: 5934].
|
sl@0
|
1162 |
|
sl@0
|
1163 |
* generic/tcl.h:
|
sl@0
|
1164 |
* generic/tclHash.c: Applied patch from [RFE: 5934], which extends
|
sl@0
|
1165 |
Tcl hash tables to allow Tcl_Obj *'s as the key.
|
sl@0
|
1166 |
|
sl@0
|
1167 |
2000-06-20 Eric Melski <ericm@ajubasolutions.com>
|
sl@0
|
1168 |
|
sl@0
|
1169 |
* tests/opt.test:
|
sl@0
|
1170 |
* library/opt0.4/optparse.tcl: Applied patch from [Bug: 5922], which
|
sl@0
|
1171 |
corrected an incorrect use of [string match].
|
sl@0
|
1172 |
|
sl@0
|
1173 |
* unix/tclConfig.sh.in:
|
sl@0
|
1174 |
* win/tclConfig.sh.in: Applied patch from [Bug: 5921], which corrects a
|
sl@0
|
1175 |
typo in the comments in these files.
|
sl@0
|
1176 |
|
sl@0
|
1177 |
2000-06-19 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1178 |
|
sl@0
|
1179 |
* doc/RegExp.3: Replaced instances of "Tcl_GetRegExpInfo" with
|
sl@0
|
1180 |
"Tcl_RegExpGetInfo", the correct name of the function [Bug: 5901].
|
sl@0
|
1181 |
|
sl@0
|
1182 |
2000-06-13 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1183 |
|
sl@0
|
1184 |
* win/tcl.m4:
|
sl@0
|
1185 |
* win/configure.in:
|
sl@0
|
1186 |
* win/Makefile.in: Applied patch from [RFE: 5844], to extend
|
sl@0
|
1187 |
support for mingw compile environment on Windows.
|
sl@0
|
1188 |
|
sl@0
|
1189 |
* win/tclWinDde.c:
|
sl@0
|
1190 |
* win/tclWinInit.c:
|
sl@0
|
1191 |
* win/tclWinNotify.c:
|
sl@0
|
1192 |
* win/tclWinPipe.c:
|
sl@0
|
1193 |
* win/tclWinReg.c:
|
sl@0
|
1194 |
* win/tclWinThrd.c: Applied patch from [Bug: 5794], to fix
|
sl@0
|
1195 |
compiler warnings when using mingw on Windows.
|
sl@0
|
1196 |
|
sl@0
|
1197 |
2000-05-31 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1198 |
|
sl@0
|
1199 |
* tests/set-old.test:
|
sl@0
|
1200 |
* doc/unset.n:
|
sl@0
|
1201 |
* generic/tclVar.c (Tcl_UnsetObjCmd): added -nocomplain and --
|
sl@0
|
1202 |
options to unset, to allow for a silent unset operation.
|
sl@0
|
1203 |
|
sl@0
|
1204 |
2000-05-31 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1205 |
|
sl@0
|
1206 |
* generic/tclVar.c (Tcl_ArrayObjCmd): Added support for regexp and
|
sl@0
|
1207 |
exact matching for [array names] command. [RFE: 3684].
|
sl@0
|
1208 |
|
sl@0
|
1209 |
* doc/array.n: Added documentation for [array names
|
sl@0
|
1210 |
-exact/-regexp/-glob] [RFE: 3684].
|
sl@0
|
1211 |
|
sl@0
|
1212 |
* tests/set-old.test: Added tests for [array names
|
sl@0
|
1213 |
-exact/-regexp/-glob] [RFE: 3684].
|
sl@0
|
1214 |
|
sl@0
|
1215 |
2000-06-06 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1216 |
|
sl@0
|
1217 |
8.4a1 RELEASE
|
sl@0
|
1218 |
|
sl@0
|
1219 |
* generic/tclExecute.c (TclExecuteByteCode INST_STR_CMP): added
|
sl@0
|
1220 |
test of iResult return from memcmp, as memcmp isn't required to
|
sl@0
|
1221 |
return only -1,0,1.
|
sl@0
|
1222 |
|
sl@0
|
1223 |
2000-06-03 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1224 |
|
sl@0
|
1225 |
* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Corrected
|
sl@0
|
1226 |
caching of the index ptr to account for offsets != sizeof(char *).
|
sl@0
|
1227 |
[Bug: 5153]
|
sl@0
|
1228 |
|
sl@0
|
1229 |
2000-05-29 Sandeep Tamhankar <sandeep@scriptics.com>
|
sl@0
|
1230 |
|
sl@0
|
1231 |
* tests/http.test
|
sl@0
|
1232 |
* doc/http.n
|
sl@0
|
1233 |
* library/http2.3/http.tcl: Fixed bug 5741, where unsuccessful
|
sl@0
|
1234 |
geturl calls sometimes leaked memory and resources (sockets).
|
sl@0
|
1235 |
Also, switched around some of the logic so that http::wait never
|
sl@0
|
1236 |
throws an exception. This is because in an asynchronous geturl,
|
sl@0
|
1237 |
the command callback will probably end up doing all the error
|
sl@0
|
1238 |
handling anyway, and in an asynchronous situation, the user
|
sl@0
|
1239 |
expects to check the state when the transaction completes, as
|
sl@0
|
1240 |
opposed to being thrown an exception. For the http package, this
|
sl@0
|
1241 |
menas the user can check http::status for "error" and http::error
|
sl@0
|
1242 |
for the error message after doing the http::wait.
|
sl@0
|
1243 |
|
sl@0
|
1244 |
2000-05-27 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1245 |
|
sl@0
|
1246 |
* tests/info.test:
|
sl@0
|
1247 |
* doc/info.n:
|
sl@0
|
1248 |
* generic/tclIOUtil.c (Tcl_EvalFile):
|
sl@0
|
1249 |
* generic/tclCmdIL.c (InfoScriptCmd): added ability to set the
|
sl@0
|
1250 |
info script return value [info script ?newFileName?]. This will
|
sl@0
|
1251 |
be beneficial for virtual file system programs. [Bug: 4225]
|
sl@0
|
1252 |
|
sl@0
|
1253 |
2000-05-26 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1254 |
|
sl@0
|
1255 |
* generic/tclCmdMZ.c (Tcl_RegsubObjCmd): reworked to operate in
|
sl@0
|
1256 |
Unicode, tweaked for performance.
|
sl@0
|
1257 |
(Tcl_StringObjCmd) changed STR_FIRST/STR_LAST error message to
|
sl@0
|
1258 |
something more understandable, reworked STR_FIRST, STR_LAST,
|
sl@0
|
1259 |
STR_MAP, STR_MATCH, STR_RANGE, STR_REPLACE to operate in Unicode.
|
sl@0
|
1260 |
Removed inneffectual STR_RANGE "special" ByteArray support.
|
sl@0
|
1261 |
Optimized STR_MAP algorithm, especially optimized for one-pair case.
|
sl@0
|
1262 |
Fixed possible mem overrun in STR_INDEX bytearray case.
|
sl@0
|
1263 |
|
sl@0
|
1264 |
* generic/tclCompExpr.c: changed INST_STREQ -> INST_STR_EQ,
|
sl@0
|
1265 |
INST_STRNEQ -> INST_STR_NEQ
|
sl@0
|
1266 |
* generic/tclCompile.c: added streq, strneq, strcmp, strlen &
|
sl@0
|
1267 |
strmatch to the compiled stats instructionTable
|
sl@0
|
1268 |
* generic/tclCompile.h: added instructions INST_STR_CMP,
|
sl@0
|
1269 |
INST_STR_INDEX, INST_STR_MATCH
|
sl@0
|
1270 |
* generic/tclCompCmds.c: added byte compiler support for
|
sl@0
|
1271 |
[string compare|match|index].
|
sl@0
|
1272 |
* generic/tclExecute.c:
|
sl@0
|
1273 |
Changed INST_STR_(N)EQ to return an Int object and not bother
|
sl@0
|
1274 |
trying to reuse the top stack object.
|
sl@0
|
1275 |
Added INST_STR_CMP, INST_STR_INDEX, INST_STR_MATCH bytecode ops.
|
sl@0
|
1276 |
Extended evalstats output info with Tcl_IsShared stat info.
|
sl@0
|
1277 |
|
sl@0
|
1278 |
* generic/tclInt.h:
|
sl@0
|
1279 |
* generic/tclObj.c (Tcl_DbIsShared): added support for checking
|
sl@0
|
1280 |
result of Tcl_IsShared in evalstats (TCL_COMPILE_STATS).
|
sl@0
|
1281 |
|
sl@0
|
1282 |
* generic/tclStringObj.c (Tcl_AppendUnicodeToObj): removed dead code.
|
sl@0
|
1283 |
(AppendUnicodeToUnicodeRep) removed overallocation by extra
|
sl@0
|
1284 |
sizeof(Tcl_UniChar) multiplier.
|
sl@0
|
1285 |
|
sl@0
|
1286 |
* tests/string.test: added string map tests for the one-pair case,
|
sl@0
|
1287 |
corrected tests to reflect improved error messages in first/last.
|
sl@0
|
1288 |
Added tests against mem overrun in string index bytearray case.
|
sl@0
|
1289 |
|
sl@0
|
1290 |
2000-05-23 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1291 |
|
sl@0
|
1292 |
* generic/tclInt.h: Added function prototypes for
|
sl@0
|
1293 |
TclCompileStringCmd and TclCompileReturnCmd.
|
sl@0
|
1294 |
|
sl@0
|
1295 |
* generic/tclCompile.h: Added definition of INST_STRLEN opcode and
|
sl@0
|
1296 |
updated LAST_INST_OPCODE value.
|
sl@0
|
1297 |
|
sl@0
|
1298 |
* generic/tclBasic.c: Added information about TclCompileStringCmd
|
sl@0
|
1299 |
and TclCompileReturnCmd to BuiltInCmds table.
|
sl@0
|
1300 |
|
sl@0
|
1301 |
* generic/tclExecute.c (TclExecuteByteCode): Added support for the
|
sl@0
|
1302 |
INST_STRLEN opcode.
|
sl@0
|
1303 |
|
sl@0
|
1304 |
* generic/tclCompCmds.c
|
sl@0
|
1305 |
(TclCompileStringCmd): Basic implementation of byte-compiled
|
sl@0
|
1306 |
[string] command. Not all subcommands are implemented; those
|
sl@0
|
1307 |
that are not an out-line compiled.
|
sl@0
|
1308 |
|
sl@0
|
1309 |
(TclCompileReturnCmd): Byte-compiled implementation of [return]
|
sl@0
|
1310 |
command. Only "simple" returns are byte-compiled; in particular,
|
sl@0
|
1311 |
if the -code, -errorinfo or -errorcode flags are used, the command
|
sl@0
|
1312 |
is not byte-compiled.
|
sl@0
|
1313 |
|
sl@0
|
1314 |
2000-05-22 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1315 |
|
sl@0
|
1316 |
* doc/scan.n:
|
sl@0
|
1317 |
* doc/array.n: minor doc fixes [Bug: 5396]
|
sl@0
|
1318 |
|
sl@0
|
1319 |
* generic/tclEnv.c: cast cleanup [Bug: 5624]
|
sl@0
|
1320 |
* win/tclWinConsole.c: cast and header cleanup [Bug: 5625]
|
sl@0
|
1321 |
* win/tclWinSerial.c: cast cleanup [Bug: 5626]
|
sl@0
|
1322 |
* win/tclWinFCmd.c: cast cleanup [Bug: 5627]
|
sl@0
|
1323 |
|
sl@0
|
1324 |
2000-05-19 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1325 |
|
sl@0
|
1326 |
* generic/tclTest.c:
|
sl@0
|
1327 |
* generic/tclIO.c: moved channel test commands from tclIO.c to
|
sl@0
|
1328 |
tclTest.c.
|
sl@0
|
1329 |
* generic/tclIO.h: new file, split out from tclIO.c to allow test
|
sl@0
|
1330 |
commands to be moved to tclTest.c.
|
sl@0
|
1331 |
|
sl@0
|
1332 |
* generic/tclStubInit.c:
|
sl@0
|
1333 |
* generic/tclIntDecls.h:
|
sl@0
|
1334 |
* generic/tclInt.decls: removed TclTestChannel*Cmd from internal
|
sl@0
|
1335 |
stubs table and added TclChannelEventScriptInvoker to the internal
|
sl@0
|
1336 |
stubs table so it can be used from the test code.
|
sl@0
|
1337 |
|
sl@0
|
1338 |
2000-05-18 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1339 |
|
sl@0
|
1340 |
* tests/clock.test: Added test for "2 days 2 hours ago" style
|
sl@0
|
1341 |
specifications.
|
sl@0
|
1342 |
|
sl@0
|
1343 |
* generic/tclDate.c: Regenerated from tclGetDate.y.
|
sl@0
|
1344 |
|
sl@0
|
1345 |
* generic/tclGetDate.y: Tweaked grammar to properly handle the
|
sl@0
|
1346 |
"ago" keyword when it follows multiple relative unit specifiers,
|
sl@0
|
1347 |
as in "2 days 2 hours ago". [Bug: 5497].
|
sl@0
|
1348 |
|
sl@0
|
1349 |
2000-05-18 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1350 |
|
sl@0
|
1351 |
* win/{tcl.m4,Makefile.in,configure.in}: added support for mingw
|
sl@0
|
1352 |
compile env and cross-compiling. [Bug: 5499]
|
sl@0
|
1353 |
|
sl@0
|
1354 |
* generic/tclClock.c (FormatClock): correct code to handle locale
|
sl@0
|
1355 |
specific return values from strftime, if any. [Bug: 3345]
|
sl@0
|
1356 |
|
sl@0
|
1357 |
* unix/tclUnixInit.c (TclpSetInitialEncodings): attempt to
|
sl@0
|
1358 |
correct setlocale calls for XIM support and locale issues.
|
sl@0
|
1359 |
[BUG: 5422 3345 4236 2522 2521]
|
sl@0
|
1360 |
|
sl@0
|
1361 |
2000-05-17 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1362 |
|
sl@0
|
1363 |
* library/init.tcl (auto_import): added check to see if a valid
|
sl@0
|
1364 |
pattern was coming in, to avoid simple error cases [Bug: 3326]
|
sl@0
|
1365 |
|
sl@0
|
1366 |
* doc/regsub.n: correct regsub docs [Bug: 5346]
|
sl@0
|
1367 |
|
sl@0
|
1368 |
2000-05-15 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1369 |
|
sl@0
|
1370 |
* library/history.tcl: Corrected an off-by-one error in HistIndex,
|
sl@0
|
1371 |
which was causing [history redo] to start its search at the wrong
|
sl@0
|
1372 |
event index. [Bug: 1269].
|
sl@0
|
1373 |
|
sl@0
|
1374 |
2000-05-10 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1375 |
|
sl@0
|
1376 |
* generic/tclPosixStr.c (Tcl_SignalMsg): clarified #defines for
|
sl@0
|
1377 |
Linux on Sparc to compile correctly. [Bug: 5364]
|
sl@0
|
1378 |
|
sl@0
|
1379 |
* doc/namespace.n:
|
sl@0
|
1380 |
* tests/namespace.test:
|
sl@0
|
1381 |
* generic/tclNamesp.c (Tcl_NamespaceObjCmd): added 'namespace
|
sl@0
|
1382 |
exists' command. [Bug: 4665]
|
sl@0
|
1383 |
|
sl@0
|
1384 |
* doc/source.n:
|
sl@0
|
1385 |
* doc/Eval.3:
|
sl@0
|
1386 |
* tests/source.test:
|
sl@0
|
1387 |
* generic/tclIOUtil.c (Tcl_EvalFile): added explicit \32 (^Z)
|
sl@0
|
1388 |
eofchar (affects Tcl_EvalFile in C, "source" in Tcl). This was
|
sl@0
|
1389 |
implicit on Windows already, and is now cross-platform to allow
|
sl@0
|
1390 |
for scripted documents.
|
sl@0
|
1391 |
|
sl@0
|
1392 |
2000-05-09 Andreas Kupries <a.kupries@westend.com>
|
sl@0
|
1393 |
operating as proxy for David Gravereaux <davygrvy@pobox.com>
|
sl@0
|
1394 |
|
sl@0
|
1395 |
* win/tclWinThrd.c (TclpInitLock, TclpMasterLock): Added missing
|
sl@0
|
1396 |
initialization of joinLock.
|
sl@0
|
1397 |
|
sl@0
|
1398 |
2000-05-09 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1399 |
|
sl@0
|
1400 |
* tests/lsearch.test:
|
sl@0
|
1401 |
* doc/lsearch.n:
|
sl@0
|
1402 |
* generic/tclCmdIL.c (Tcl_LsearchObjCmd): Extended [lsearch] to
|
sl@0
|
1403 |
support sorted list searching and typed list searching. [RFE: 4098].
|
sl@0
|
1404 |
|
sl@0
|
1405 |
2000-05-08 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1406 |
|
sl@0
|
1407 |
* doc/expr.n:
|
sl@0
|
1408 |
* tests/expr.test:
|
sl@0
|
1409 |
* tests/expr-old.test: added tests for 'eq' and 'ne'
|
sl@0
|
1410 |
* generic/tclExecute.c:
|
sl@0
|
1411 |
* generic/tclCompile.h: added INST_STREQ and INST_STRNEQ opcodes
|
sl@0
|
1412 |
that do strict string comparisons.
|
sl@0
|
1413 |
* generic/tclCompExpr.c: added 'eq' and 'ne' string comparison
|
sl@0
|
1414 |
operators.
|
sl@0
|
1415 |
* generic/tclParseExpr.c (GetLexeme): added 'eq' and 'ne' expr
|
sl@0
|
1416 |
parse terms (string (in)equality check).
|
sl@0
|
1417 |
|
sl@0
|
1418 |
* generic/tclCmdIL.c (Tcl_LinsertObjCmd): made use of
|
sl@0
|
1419 |
Tcl_DuplicateObj where code was otherwise duplicated. Made
|
sl@0
|
1420 |
special case of inserting one element at the end work again (where
|
sl@0
|
1421 |
index == len).
|
sl@0
|
1422 |
(Tcl_LreplaceObjCmd): moved Tcl_DuplicateObj call lower and
|
sl@0
|
1423 |
cleaned up use of other arguments.
|
sl@0
|
1424 |
|
sl@0
|
1425 |
* generic/tclObj.c (Tcl_DuplicateObj): simplified code to call
|
sl@0
|
1426 |
TclInitStringRep, which the code was just duplicating in part.
|
sl@0
|
1427 |
|
sl@0
|
1428 |
* doc/Utf.3:
|
sl@0
|
1429 |
* generic/tclStubInit.c:
|
sl@0
|
1430 |
* generic/tcl.decls:
|
sl@0
|
1431 |
* generic/tclDecls.h:
|
sl@0
|
1432 |
* generic/tclUtf.c: Added new functions Tcl_UniCharNcasecmp and
|
sl@0
|
1433 |
Tcl_UniCharCaseMatch (unicode parallel to Tcl_StringCaseMatch)
|
sl@0
|
1434 |
* generic/tclUtil.c: rewrote Tcl_StringCaseMatch algorithm for
|
sl@0
|
1435 |
optimization and made Tcl_StringMatch just call Tcl_StringCaseMatch
|
sl@0
|
1436 |
* tests/string.test: extended string match tests
|
sl@0
|
1437 |
|
sl@0
|
1438 |
2000-05-08 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1439 |
|
sl@0
|
1440 |
* tests/set-old.test:
|
sl@0
|
1441 |
* doc/array.n:
|
sl@0
|
1442 |
* generic/tclVar.c: Added [array statistics] command [RFE: 4557]
|
sl@0
|
1443 |
|
sl@0
|
1444 |
2000-05-06 Andreas Kupries <a.kupries@westend.com>
|
sl@0
|
1445 |
operating as proxy for David Gravereaux <davygrvy@pobox.com>
|
sl@0
|
1446 |
|
sl@0
|
1447 |
* tclThreadJoin.c: Fixed several places with missing a & in
|
sl@0
|
1448 |
arguments to calls of Tcl_Mutex(Un)lock and
|
sl@0
|
1449 |
Tcl_ConditionNotify functions.
|
sl@0
|
1450 |
|
sl@0
|
1451 |
2000-05-02 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1452 |
|
sl@0
|
1453 |
* README:
|
sl@0
|
1454 |
* generic/tcl.h:
|
sl@0
|
1455 |
* library/init.tcl:
|
sl@0
|
1456 |
* library/reg1.0/pkgIndex.tcl:
|
sl@0
|
1457 |
* library/tcltest1.0/tcltest.tcl:
|
sl@0
|
1458 |
* mac/README:
|
sl@0
|
1459 |
* tools/tcl.hpj.in:
|
sl@0
|
1460 |
* tools/tcl.wse.in:
|
sl@0
|
1461 |
* unix/README:
|
sl@0
|
1462 |
* unix/configure.in:
|
sl@0
|
1463 |
* unix/tcl.spec:
|
sl@0
|
1464 |
* win/README:
|
sl@0
|
1465 |
* win/README.binary:
|
sl@0
|
1466 |
* win/configure.in:
|
sl@0
|
1467 |
* win/makefile.vc:
|
sl@0
|
1468 |
* win/tcl.m4: updated patchlevel to 8.4a1
|
sl@0
|
1469 |
|
sl@0
|
1470 |
* tests/compile.test:
|
sl@0
|
1471 |
* tests/init.test:
|
sl@0
|
1472 |
* tests/proc.test:
|
sl@0
|
1473 |
* tests/proc-old.test:
|
sl@0
|
1474 |
* tests/rename.test:
|
sl@0
|
1475 |
* generic/tclProc.c: reworked error return for procedures with
|
sl@0
|
1476 |
incorrect args to be like the C Tcl_WrongNumArgs, where a "wrong #
|
sl@0
|
1477 |
args: ..." message is printed out with the args list.
|
sl@0
|
1478 |
|
sl@0
|
1479 |
* unix/Makefile.in: add tclsh.ico and tcl.spec to dist target
|
sl@0
|
1480 |
|
sl@0
|
1481 |
2000-05-02 Andreas Kupries <a.kupries@westend.com>
|
sl@0
|
1482 |
|
sl@0
|
1483 |
* Overall changes:
|
sl@0
|
1484 |
(1) Implementation of joinable threads for all platforms.
|
sl@0
|
1485 |
(2) Additional API's for channels. Required to allow the
|
sl@0
|
1486 |
thread extension to move channels between threads.
|
sl@0
|
1487 |
|
sl@0
|
1488 |
* generic/tcl.decls (lines 1360f): Added Tcl_JoinThread,
|
sl@0
|
1489 |
Tcl_IsChannelShared, Tcl_IsChannelRegistered, Tcl_CutChannel,
|
sl@0
|
1490 |
Tcl_SpliceChannel, Tcl_IsChannelExisting and
|
sl@0
|
1491 |
Tcl_ClearChannelHandlers (slots 394 to 400).
|
sl@0
|
1492 |
|
sl@0
|
1493 |
* generic/tclIO.c: Implemented Tcl_IsChannelRegistered,
|
sl@0
|
1494 |
Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel,
|
sl@0
|
1495 |
Tcl_IsChannelExisting and Tcl_ClearChannelHandlers.
|
sl@0
|
1496 |
Tcl_CutChannel uses code from CloseChannel. Replaced this code
|
sl@0
|
1497 |
by a call to Tcl_CutChannel. Replaced several code fragments
|
sl@0
|
1498 |
adding channels to the channel list with calls to
|
sl@0
|
1499 |
Tcl_SpliceChannel. Removed now unused variables from
|
sl@0
|
1500 |
CloseChannel and Tcl_UnstackChannel. Tcl_ClearChannelHandlers
|
sl@0
|
1501 |
uses code from Tcl_Close. Replaced this code by a call to
|
sl@0
|
1502 |
Tcl_ClearChannelHandlers. Removed now unused variables from
|
sl@0
|
1503 |
Tcl_Close. Added the subcommands 'cut', 'forgetch', 'splice' and
|
sl@0
|
1504 |
'isshared' to the test code
|
sl@0
|
1505 |
(TclTestChannelCmd).
|
sl@0
|
1506 |
|
sl@0
|
1507 |
* unix/tclUnixThread.c: Implemented Tcl_JoinThread using the
|
sl@0
|
1508 |
pthread-functionality.
|
sl@0
|
1509 |
|
sl@0
|
1510 |
* win/tclWinThrd.c: Fixed several small typos in comments.
|
sl@0
|
1511 |
Implemented Tcl_JoinThread using a platform independent
|
sl@0
|
1512 |
emulation layer (see generic/tclThreadJoin.c below). Added
|
sl@0
|
1513 |
'joinLock' to serialize Tcl_CreateThread and TclpExitThread to
|
sl@0
|
1514 |
prevent a race for joinable threads.
|
sl@0
|
1515 |
|
sl@0
|
1516 |
* mac/tclMacThrd.c: Implemented Tcl_JoinThread using a platform
|
sl@0
|
1517 |
independent emulation layer (see generic/tclThreadJoin.c
|
sl@0
|
1518 |
below). Due to the cooperative nature of threading on this
|
sl@0
|
1519 |
platform the race mentioned above is not present.
|
sl@0
|
1520 |
|
sl@0
|
1521 |
* generic/tclThreadJoin.c: New file. Contains a platform
|
sl@0
|
1522 |
independent emulation layer helping in the implementation of
|
sl@0
|
1523 |
joinable threads for the win and mac platforms.
|
sl@0
|
1524 |
|
sl@0
|
1525 |
* generic/tclInt.h: Added declarations for TclJoinThread,
|
sl@0
|
1526 |
TclRememberJoinableThread and TclSignalExitThread. These
|
sl@0
|
1527 |
procedures define the API of the emulation layer for joinable
|
sl@0
|
1528 |
threads (see generic/tclThreadJoin.c above).
|
sl@0
|
1529 |
|
sl@0
|
1530 |
* win/Makefile.in:
|
sl@0
|
1531 |
* win/makefile.vc: Added generic/tclTheadJoin.o to the rules.
|
sl@0
|
1532 |
|
sl@0
|
1533 |
* mac/: I don't know to which file generic/tclTheadJoin.o has to
|
sl@0
|
1534 |
be added to so that it compiles. Sorry.
|
sl@0
|
1535 |
|
sl@0
|
1536 |
* unix/tclUnixChan.c: #ifdef'd the thread-local list of file
|
sl@0
|
1537 |
channels as it prevents us from transfering channels. To restore
|
sl@0
|
1538 |
this we may need an extended interface to drivers in the
|
sl@0
|
1539 |
future. Target: 9.0. Found while testing the new transfer of
|
sl@0
|
1540 |
channels. The information in this list for a channel was left
|
sl@0
|
1541 |
behind and then crashed the system during finalization.
|
sl@0
|
1542 |
|
sl@0
|
1543 |
* generic/tclThreadTest.c: Added -joinable flag to 'testthread
|
sl@0
|
1544 |
create'. Added subcommand 'testthread join'.
|
sl@0
|
1545 |
|
sl@0
|
1546 |
* doc/CrtChannel.3: Added documentation for Tcl_IsChannelRegistered,
|
sl@0
|
1547 |
Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel,
|
sl@0
|
1548 |
Tcl_IsChannelExisting and Tcl_ClearChannelHandlers.
|
sl@0
|
1549 |
|
sl@0
|
1550 |
* doc/Thread.3: Added documentation for Tcl_JoinThread.
|
sl@0
|
1551 |
|
sl@0
|
1552 |
* tests/thread.test: Added tests for joining of threads.
|
sl@0
|
1553 |
|
sl@0
|
1554 |
2000-04-27 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1555 |
|
sl@0
|
1556 |
* doc/library.n: Added entries for auto_qualify and auto_import
|
sl@0
|
1557 |
[Bug: 1271].
|
sl@0
|
1558 |
|
sl@0
|
1559 |
* doc/Init.3: Manual entry for Tcl_Init [Bug: 1820].
|
sl@0
|
1560 |
|
sl@0
|
1561 |
* doc/expr.n: Added documentation for each of the math library
|
sl@0
|
1562 |
functions that expr supports [Bug: 1054].
|
sl@0
|
1563 |
|
sl@0
|
1564 |
2000-04-26 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1565 |
|
sl@0
|
1566 |
* doc/memory.n: Man page for Tcl "memory" command, which is
|
sl@0
|
1567 |
created when TCL_MEM_DEBUG is defined at compile time.
|
sl@0
|
1568 |
|
sl@0
|
1569 |
* doc/TCL_MEM_DEBUG.3: Man page with overall information about
|
sl@0
|
1570 |
TCL_MEM_DEBUG usage.
|
sl@0
|
1571 |
|
sl@0
|
1572 |
* doc/DumpActiveMemory.3: Man page for Tcl_DumpActiveMemory,
|
sl@0
|
1573 |
Tcl_InitMemory, and Tcl_ValidateAllMemory [Bug: 1816, 1835].
|
sl@0
|
1574 |
|
sl@0
|
1575 |
* generic/tclCkalloc.c: Fixed some function headers.
|
sl@0
|
1576 |
|
sl@0
|
1577 |
* unix/mkLinks: Regen'd with new mkLinks.tcl.
|
sl@0
|
1578 |
|
sl@0
|
1579 |
* unix/mkLinks.tcl: Fixed indentation, made link setup more
|
sl@0
|
1580 |
intelligent (only do one existance test per man page, instead of
|
sl@0
|
1581 |
one per function).
|
sl@0
|
1582 |
|
sl@0
|
1583 |
* doc/library.n: Fixed .SH NAME macro to include each function
|
sl@0
|
1584 |
documented on the page, so that mkLinks will know about the
|
sl@0
|
1585 |
functions listed there, and so that the Windows help file index
|
sl@0
|
1586 |
will get set up correctly [Bug: 1898, 5273].
|
sl@0
|
1587 |
|
sl@0
|
1588 |
2000-04-26 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1589 |
|
sl@0
|
1590 |
8.3.1 RELEASE
|
sl@0
|
1591 |
|
sl@0
|
1592 |
* README:
|
sl@0
|
1593 |
* mac/README:
|
sl@0
|
1594 |
* tools/tcl.wse.in:
|
sl@0
|
1595 |
* unix/README:
|
sl@0
|
1596 |
* unix/tcl.spec:
|
sl@0
|
1597 |
* win/README:
|
sl@0
|
1598 |
* win/README.binary: Updating URLs to reference dev.scriptics.com
|
sl@0
|
1599 |
|
sl@0
|
1600 |
2000-04-25 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1601 |
|
sl@0
|
1602 |
* unix/Makefile.in:
|
sl@0
|
1603 |
* win/Makefile.in:
|
sl@0
|
1604 |
* win/makefile.vc: updated for http change and some cleanup
|
sl@0
|
1605 |
* library/http2.[13]: moved dir http2.1 to http2.3 to match version
|
sl@0
|
1606 |
|
sl@0
|
1607 |
* doc/Utf.3: clarified docs for Tcl_(UniChar|Utf)AtIndex
|
sl@0
|
1608 |
|
sl@0
|
1609 |
* unix/tclUnixThrd.c: removed {}s around PTHREAD_MUTEX_INITIALIZER
|
sl@0
|
1610 |
[Bug: 5254]
|
sl@0
|
1611 |
|
sl@0
|
1612 |
* unix/tclLoadDyld.c (TclpLoadFile): removed use of interp->result
|
sl@0
|
1613 |
|
sl@0
|
1614 |
2000-04-25 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1615 |
|
sl@0
|
1616 |
* unix/mkLinks:
|
sl@0
|
1617 |
* doc/AddErrInfo.3: Added information about Tcl_LogCommandInfo
|
sl@0
|
1618 |
[Bug: 1818].
|
sl@0
|
1619 |
|
sl@0
|
1620 |
2000-04-24 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1621 |
|
sl@0
|
1622 |
* unix/mkLinks:
|
sl@0
|
1623 |
* doc/OpenFileChnl.3: Added man entry for Tcl_Ungets [Bug: 1834].
|
sl@0
|
1624 |
|
sl@0
|
1625 |
* unix/mkLinks:
|
sl@0
|
1626 |
* doc/SourceRCFile.3: Man page for Tcl_SourceRCFile [Bug: 1833].
|
sl@0
|
1627 |
|
sl@0
|
1628 |
* unix/mkLinks:
|
sl@0
|
1629 |
* doc/ParseCmd.3: Added documentation for Tcl_ParseVar [Bug: 1828].
|
sl@0
|
1630 |
|
sl@0
|
1631 |
2000-04-24 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1632 |
|
sl@0
|
1633 |
* unix/tclUnixNotfy.c (Tcl_FinalizeNotifier, NotifierThreadProc):
|
sl@0
|
1634 |
added write of 'q' into triggerPipe for notifier in threaded case,
|
sl@0
|
1635 |
so that Tcl doesn't hang when children are still running [Bug: 4139]
|
sl@0
|
1636 |
|
sl@0
|
1637 |
* unix/tclUnixThrd.c (Tcl_MutexLock): minor comment fixes.
|
sl@0
|
1638 |
|
sl@0
|
1639 |
2000-04-23 Jim Ingham <jingham@cygnus.com>
|
sl@0
|
1640 |
|
sl@0
|
1641 |
These changes make some error handling marginally better for Mac
|
sl@0
|
1642 |
sockets. It is still somewhat flakey, however.
|
sl@0
|
1643 |
|
sl@0
|
1644 |
* mac/tclMacSock.c (TcpClose): Add timeouts to the close - these
|
sl@0
|
1645 |
don't seem to be honored, however.
|
sl@0
|
1646 |
Use a separate PB for the release, since an async connect socket
|
sl@0
|
1647 |
will still be using the original buffer.
|
sl@0
|
1648 |
Make sure TCPRelease returns noErr before freeing the recvBuff.
|
sl@0
|
1649 |
If the call returns an error, then the buffer is not right.
|
sl@0
|
1650 |
* mac/tclMacSock.c (CreateSocket): Add timeouts to the async
|
sl@0
|
1651 |
create. These don't seem to trigger, however. Sigh...
|
sl@0
|
1652 |
* mac/tclMacSock.c (WaitForSocketEvent): If an TCP_ASYNC_CONNECT
|
sl@0
|
1653 |
socket errors out, then return EWOULDBLOCK & error out.
|
sl@0
|
1654 |
* mac/tclMacSock.c (NotifyRoutine): Added a NotifyRoutine for
|
sl@0
|
1655 |
experimenting with MacTCP.
|
sl@0
|
1656 |
|
sl@0
|
1657 |
2000-04-22 Jim Ingham <jingham@cygnus.com>
|
sl@0
|
1658 |
|
sl@0
|
1659 |
* library/package.tcl (tclPkgUnknown): Fixed a typo in the Mac package
|
sl@0
|
1660 |
search part of tclPkgUnknown.
|
sl@0
|
1661 |
|
sl@0
|
1662 |
2000-04-21 Sandeep Tamhankar <sandeep@scriptics.com>
|
sl@0
|
1663 |
|
sl@0
|
1664 |
* library/http2.1/http.tcl: Fixed a newly introduced bug where if
|
sl@0
|
1665 |
there's a -command callback and something goes wrong, geturl threw
|
sl@0
|
1666 |
an exception, called the callback, and unset the token. I changed
|
sl@0
|
1667 |
it so that it will not call the callback when throwing an
|
sl@0
|
1668 |
exception (so the caller only finds out about a given error from
|
sl@0
|
1669 |
one place). Also, fixed http::ncode so that it actually gives you
|
sl@0
|
1670 |
back the http return code (i.e. 200, 404, etc.) instead of the
|
sl@0
|
1671 |
first digit of the version of HTTP being used (i.e. 1).
|
sl@0
|
1672 |
|
sl@0
|
1673 |
2000-04-21 Brent Welch <welch@scriptics.com>
|
sl@0
|
1674 |
|
sl@0
|
1675 |
* library/http2.1/http.tcl: More thrashing with the "server closes
|
sl@0
|
1676 |
without reading post data" scenario. Reverted to the previous
|
sl@0
|
1677 |
filevent configuratiuon, which seems to work better with small
|
sl@0
|
1678 |
amounts of post data.
|
sl@0
|
1679 |
|
sl@0
|
1680 |
2000-04-20 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1681 |
|
sl@0
|
1682 |
* generic/tclAlloc.c: wrapped caddr_t define to not be done on Unix
|
sl@0
|
1683 |
* unix/tclUnixPort.h: added Tclp*Alloc defines to allow the use of
|
sl@0
|
1684 |
USE_TCLALLOC on Unix. [Bug: 4731]
|
sl@0
|
1685 |
|
sl@0
|
1686 |
2000-04-19 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1687 |
|
sl@0
|
1688 |
* library/dde1.1/pkgIndex.tcl:
|
sl@0
|
1689 |
* library/reg1.0/pkgIndex.tcl:
|
sl@0
|
1690 |
* win/tclWinChan.c:
|
sl@0
|
1691 |
* win/tclWinThrd.c: converted CRLF to LF the */tcl.hpj.in files
|
sl@0
|
1692 |
were not converted, as it confuses hcw locally. [Bug: 5096]
|
sl@0
|
1693 |
|
sl@0
|
1694 |
* win/Makefile.in: expanded cleanup target for help files
|
sl@0
|
1695 |
|
sl@0
|
1696 |
* doc/Thread.3: minor macro cleanup
|
sl@0
|
1697 |
|
sl@0
|
1698 |
* generic/tclFileName.c (SplitUnixPath): added support for QNX
|
sl@0
|
1699 |
node ids.
|
sl@0
|
1700 |
|
sl@0
|
1701 |
2000-04-18 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1702 |
|
sl@0
|
1703 |
* README:
|
sl@0
|
1704 |
* generic/tcl.h:
|
sl@0
|
1705 |
* tools/tcl.wse.in:
|
sl@0
|
1706 |
* unix/configure.in:
|
sl@0
|
1707 |
* unix/tcl.spec:
|
sl@0
|
1708 |
* win/configure.in:
|
sl@0
|
1709 |
* win/README.binary: bumped version to 8.3.1
|
sl@0
|
1710 |
|
sl@0
|
1711 |
* win/tcl.hpj.in: updated copyright date
|
sl@0
|
1712 |
|
sl@0
|
1713 |
* generic/tclEnv.c: environment support for Mac OS/X
|
sl@0
|
1714 |
* unix/tclUnixPort.h: environment support for Mac OS/X
|
sl@0
|
1715 |
* unix/tclLoadDyld.c: new file for Mac OS/X dl functions
|
sl@0
|
1716 |
* unix/Makefile.in: added install-strip target; bindir, libdir,
|
sl@0
|
1717 |
mandir, includedir vars; tclLoadDyld.c target [Bug: 2527]
|
sl@0
|
1718 |
|
sl@0
|
1719 |
* unix/tclUnixChan.c (CreateSocket): force a socket back into
|
sl@0
|
1720 |
blocking mode (default state) after a -async connect succeeds.
|
sl@0
|
1721 |
[Bug: 4388]
|
sl@0
|
1722 |
|
sl@0
|
1723 |
* generic/tclEvent.c (TclInitSubsystems): Moved tclLibraryPath to
|
sl@0
|
1724 |
thread-local storage to prevent thread-related race condition.
|
sl@0
|
1725 |
[Bug: 5033]
|
sl@0
|
1726 |
* unix/tclAppInit.c (main): removed #ifdef TCL_TEST that sets the
|
sl@0
|
1727 |
library path as it was unnecessary and conflicts with move of
|
sl@0
|
1728 |
tclLibraryPath to thread-local storage.
|
sl@0
|
1729 |
|
sl@0
|
1730 |
2000-04-18 Scott Redman <redman@scriptics.com>
|
sl@0
|
1731 |
|
sl@0
|
1732 |
* win/Makefile.in:
|
sl@0
|
1733 |
* win/tcl.rc:
|
sl@0
|
1734 |
* win/tclsh.rc:
|
sl@0
|
1735 |
* win/tclsh.ico: Modified copyright dates in Windows resource
|
sl@0
|
1736 |
files. Added an icon for tclsh.exe.
|
sl@0
|
1737 |
|
sl@0
|
1738 |
2000-04-17 Brent Welch <welch@scriptics.com>
|
sl@0
|
1739 |
|
sl@0
|
1740 |
* generic/tcl.h, generic/tclThreadTest.c, unix/tclUnixThrd.c,
|
sl@0
|
1741 |
win/tclWinThread.c, mac/tclMacThread.c:
|
sl@0
|
1742 |
Added Tcl_CreateThreadType and TCL_RETURN_THREAD_TYPE
|
sl@0
|
1743 |
macros for declaring the NewThread callback proc.
|
sl@0
|
1744 |
|
sl@0
|
1745 |
2000-04-14 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1746 |
|
sl@0
|
1747 |
* unix/tclUnixChan.c (TtyParseMode): Only allow setting mark/space
|
sl@0
|
1748 |
parity on platforms that support it [Bug: 5089]
|
sl@0
|
1749 |
|
sl@0
|
1750 |
* generic/tclBasic.c (Tcl_GetVersion): adjusted use of major/minor
|
sl@0
|
1751 |
to not conflict with global decl on some systems [Bug: 2882]
|
sl@0
|
1752 |
|
sl@0
|
1753 |
* doc/AppInit.3:
|
sl@0
|
1754 |
* doc/Async.3:
|
sl@0
|
1755 |
* doc/BackgdErr.3:
|
sl@0
|
1756 |
* doc/CrtChannel.3:
|
sl@0
|
1757 |
* doc/CrtInterp.3:
|
sl@0
|
1758 |
* doc/CrtMathFnc.3:
|
sl@0
|
1759 |
* doc/DString.3:
|
sl@0
|
1760 |
* doc/Eval.3:
|
sl@0
|
1761 |
* doc/ExprLong.3:
|
sl@0
|
1762 |
* doc/GetInt.3:
|
sl@0
|
1763 |
* doc/GetOpnFl.3:
|
sl@0
|
1764 |
* doc/Interp.3:
|
sl@0
|
1765 |
* doc/LinkVar.3:
|
sl@0
|
1766 |
* doc/OpenFileChnl.3:
|
sl@0
|
1767 |
* doc/OpenTcp.3:
|
sl@0
|
1768 |
* doc/PkgRequire.3:
|
sl@0
|
1769 |
* doc/RecordEval.3:
|
sl@0
|
1770 |
* doc/SetResult.3:
|
sl@0
|
1771 |
* doc/SplitList.3:
|
sl@0
|
1772 |
* doc/StaticPkg.3:
|
sl@0
|
1773 |
* doc/TraceVar.3:
|
sl@0
|
1774 |
* doc/Translate.3:
|
sl@0
|
1775 |
* doc/UpVar.3:
|
sl@0
|
1776 |
* doc/load.n: removed or updated references to interp->result use.
|
sl@0
|
1777 |
|
sl@0
|
1778 |
2000-04-13 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1779 |
|
sl@0
|
1780 |
* doc/regexp.n: doc clarification [Bug: 5037]
|
sl@0
|
1781 |
* doc/update.n: typo fix [Bug: 4996]
|
sl@0
|
1782 |
|
sl@0
|
1783 |
* unix/tcl.m4 (SC_ENABLE_THREADS): enhanced the detection of
|
sl@0
|
1784 |
pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added
|
sl@0
|
1785 |
--enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]
|
sl@0
|
1786 |
|
sl@0
|
1787 |
2000-04-12 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1788 |
|
sl@0
|
1789 |
* doc/dde.n: corrected dde poke docs. [Bug: 4991]
|
sl@0
|
1790 |
|
sl@0
|
1791 |
2000-04-11 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1792 |
|
sl@0
|
1793 |
* win/tclWinPipe.c: Added "CONST" keyword to declaration of char
|
sl@0
|
1794 |
*native in TclpCreateTempFile, to supress compiler warnings.
|
sl@0
|
1795 |
|
sl@0
|
1796 |
2000-04-10 Brent Welch <welch@scriptics.com>
|
sl@0
|
1797 |
|
sl@0
|
1798 |
* generic/tcl.h: Fixed Tcl_CreateThread declaration.
|
sl@0
|
1799 |
* library/tcltest1.0/tcltest.tcl: Fixed the "mainThread"
|
sl@0
|
1800 |
initialization to work with either testthread or the thread extension
|
sl@0
|
1801 |
* unix/tclUnixThrd.c: Fixed compiler warning when compiling
|
sl@0
|
1802 |
with -DTCL_THREADS
|
sl@0
|
1803 |
|
sl@0
|
1804 |
2000-04-10 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1805 |
|
sl@0
|
1806 |
* win/tclWinPipe.c (TclpCreateTempFile): Added conversion of
|
sl@0
|
1807 |
contents string from UTF to native encoding [Bug: 4030].
|
sl@0
|
1808 |
|
sl@0
|
1809 |
* tests/regexp.test: Added tests for infinite looping in [regexp
|
sl@0
|
1810 |
-all].
|
sl@0
|
1811 |
|
sl@0
|
1812 |
* generic/tclCmdMZ.c: Fixed infinite loop bug with [regexp -all]
|
sl@0
|
1813 |
[Bug: 4981].
|
sl@0
|
1814 |
|
sl@0
|
1815 |
* tests/*.test: Changed all occurances of "namespace import
|
sl@0
|
1816 |
::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
|
sl@0
|
1817 |
|
sl@0
|
1818 |
2000-04-09 Brent Welch <welch@scriptics.com>
|
sl@0
|
1819 |
|
sl@0
|
1820 |
* lib/httpd2.1/http.tcl: Worked on the "server closes before
|
sl@0
|
1821 |
reading post data" case, which unfortunately causes different
|
sl@0
|
1822 |
error cases on Solaris, which can read the reply, and Linux
|
sl@0
|
1823 |
and Windows, which cannot read anything. This is all in the
|
sl@0
|
1824 |
loop-back case - client and server on the same host. Also
|
sl@0
|
1825 |
unified the error handling so the "ioerror" status goes away
|
sl@0
|
1826 |
and errors are reflected in a more uniform way. Updated the
|
sl@0
|
1827 |
man page to document the behavior.
|
sl@0
|
1828 |
|
sl@0
|
1829 |
2000-04-09 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1830 |
|
sl@0
|
1831 |
* tests/reg.test (matchexpected): corrected tests to use tcltest
|
sl@0
|
1832 |
constraint types to skip certain tests.
|
sl@0
|
1833 |
|
sl@0
|
1834 |
* generic/tclBasic.c (Tcl_SetCommandInfo): comment fix
|
sl@0
|
1835 |
|
sl@0
|
1836 |
* unix/tclUnixThrd.c (Tcl_CreateThread): moved TCL_THREADS ifdef
|
sl@0
|
1837 |
inside of func as it is declared for non-threads builds as well.
|
sl@0
|
1838 |
In the non-threads case, it always returns TCL_ERROR (couldn't
|
sl@0
|
1839 |
create thread).
|
sl@0
|
1840 |
|
sl@0
|
1841 |
2000-04-08 Andreas Kupries <a.kupries@westend.com>
|
sl@0
|
1842 |
|
sl@0
|
1843 |
* Overall change: Definition of a public API for the creation of
|
sl@0
|
1844 |
new threads.
|
sl@0
|
1845 |
|
sl@0
|
1846 |
* generic/tclInt.h (line 1802f): Removed the definition of
|
sl@0
|
1847 |
'TclpThreadCreate'. (line 793f) Removed the definition of
|
sl@0
|
1848 |
'Tcl_ThreadCreateProc'.
|
sl@0
|
1849 |
|
sl@0
|
1850 |
* generic/tcl.h (line 388f): Readded the definition of
|
sl@0
|
1851 |
'Tcl_ThreadCreateProc'. Added Win32 stuff send in by David
|
sl@0
|
1852 |
Graveraux <davygrvy@bigfoot.com> to that too (__stdcall,
|
sl@0
|
1853 |
...). Added macros for the default stacksize and allowed flags.
|
sl@0
|
1854 |
|
sl@0
|
1855 |
* generic/tcl.decls (line 1356f): Added definition of
|
sl@0
|
1856 |
'Tcl_CreateThread', slot 393 of the stub table. Two new
|
sl@0
|
1857 |
arguments in the public API, for stacksize and flags.
|
sl@0
|
1858 |
|
sl@0
|
1859 |
* win/tclWinThrd.c:
|
sl@0
|
1860 |
* mac/tclMacThrd.c: Renamed TclpThreadCreate to Tcl_CreateThread,
|
sl@0
|
1861 |
added handling of the stacksize. Flags are currently ignored.
|
sl@0
|
1862 |
|
sl@0
|
1863 |
* unix/tclUnixThrd.c: See above, but handles joinable
|
sl@0
|
1864 |
flag. Ignores the specified stacksize if the macro
|
sl@0
|
1865 |
HAVE_PTHREAD_ATTR_SETSTACKSIZE is not defined.
|
sl@0
|
1866 |
|
sl@0
|
1867 |
* generic/tclThreadTest.c (line 363): See below.
|
sl@0
|
1868 |
|
sl@0
|
1869 |
* unix/tclUnixNotfy.c (line 210): Adapted to the changes
|
sl@0
|
1870 |
above. Uses default stacksize and no flags now.
|
sl@0
|
1871 |
|
sl@0
|
1872 |
* unic/tcl.m4 (line 382f): Added a check for
|
sl@0
|
1873 |
'pthread_attr_setstacksize' to detect platforms not implementing
|
sl@0
|
1874 |
this feature of pthreads. If it is implemented, configure will
|
sl@0
|
1875 |
define the macro HAVE_PTHREAD_ATTR_SETSTACKSIZE (See
|
sl@0
|
1876 |
unix/tclUnixThrd.c too).
|
sl@0
|
1877 |
|
sl@0
|
1878 |
* doc/Thread.3: Added Tcl_CreateThread and its arguments to the
|
sl@0
|
1879 |
list of described functions. Removed stuff about not providing a
|
sl@0
|
1880 |
public C-API for thread-creation.
|
sl@0
|
1881 |
|
sl@0
|
1882 |
2000-04-07 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1883 |
|
sl@0
|
1884 |
* doc/binary.n: clarified docs on sign extension in binary scan
|
sl@0
|
1885 |
[Bug: 3466]
|
sl@0
|
1886 |
|
sl@0
|
1887 |
* library/tcltest1.0/tcltest.tcl (initConstraints): removed win32s
|
sl@0
|
1888 |
references (no longer supported)
|
sl@0
|
1889 |
|
sl@0
|
1890 |
* tests/fCmd.test: marked test 8.1 knownBug because it is
|
sl@0
|
1891 |
dangerous on poorly configured systems [Bug: 3881]
|
sl@0
|
1892 |
and added 8.2 to keep essence of 8.1 tested.
|
sl@0
|
1893 |
|
sl@0
|
1894 |
2000-04-05 Andreas Kupries <a.kupries@westend.com>
|
sl@0
|
1895 |
|
sl@0
|
1896 |
* generic/tclIO.c (Tcl_UnstackChannel, line 1831): Forcing
|
sl@0
|
1897 |
interest mask to the correct value after an unstack and
|
sl@0
|
1898 |
re-initialization of the notifier via the watchProc. Without this
|
sl@0
|
1899 |
the first fileevent after an unstack will come through and be
|
sl@0
|
1900 |
processed, but no more. [Bug: ??].
|
sl@0
|
1901 |
|
sl@0
|
1902 |
2000-03-04 Brent Welch <welch@scriptics.com>
|
sl@0
|
1903 |
|
sl@0
|
1904 |
* {win,unix}/Makefile.in: added dependency of tclStubInit.c on
|
sl@0
|
1905 |
tcl.decls and tclInt.decls
|
sl@0
|
1906 |
* generic/tclThread.c: Tweak so this compiles w/out TCL_THREADS
|
sl@0
|
1907 |
* generic/{tcl.decls,tclStubInit.c}: Just touched the tcl.decls and
|
sl@0
|
1908 |
regenerated the tclStubInit.c file
|
sl@0
|
1909 |
|
sl@0
|
1910 |
2000-03-29 Sandeep Tamhankar <sandeep@scriptics.com>
|
sl@0
|
1911 |
|
sl@0
|
1912 |
* library/http2.1/http.tcl: For the -querychannel option,
|
sl@0
|
1913 |
fconfigure the socket to be binary so that we don't translate
|
sl@0
|
1914 |
anything while reading the data. This is because we determine the
|
sl@0
|
1915 |
content length of the data on the channel by using seek (to the end
|
sl@0
|
1916 |
of the file) and tell on the file handle, and we need the
|
sl@0
|
1917 |
content-length to match the amount of data actually sent, and
|
sl@0
|
1918 |
translation can affect the number of bytes posted.
|
sl@0
|
1919 |
|
sl@0
|
1920 |
2000-04-03 Andreas Kupries <a.kupries@westend.com>
|
sl@0
|
1921 |
|
sl@0
|
1922 |
* Overall change: Definition of public API's for the finalization
|
sl@0
|
1923 |
of conditions and mutexes. [Bug: 4199].
|
sl@0
|
1924 |
|
sl@0
|
1925 |
* generic/tclInt.h: Removed definitions of TclFinalizeMutex and
|
sl@0
|
1926 |
TclFinalizeCondition.
|
sl@0
|
1927 |
|
sl@0
|
1928 |
* generic/tcl.decls: Added declarations of Tcl_MutexFinalize and
|
sl@0
|
1929 |
Tcl_ConditionFinalize.
|
sl@0
|
1930 |
|
sl@0
|
1931 |
* generic/tclThread.c: Renamed TclFinalizeMutex to
|
sl@0
|
1932 |
Tcl_MutexFinalize. Renamed TclFinalizeCondition to
|
sl@0
|
1933 |
Tcl_ConditionFinalize.
|
sl@0
|
1934 |
|
sl@0
|
1935 |
* generic/tclNotify.c: Changed usage of TclFinalizeMutex to
|
sl@0
|
1936 |
Tcl_MutexFinalize.
|
sl@0
|
1937 |
|
sl@0
|
1938 |
* unix/tclUnixNotfy.c:
|
sl@0
|
1939 |
* generic/tclThreadTest.c: Changed usages of TclFinalizeCondition to
|
sl@0
|
1940 |
Tcl_ConditionFinalize.
|
sl@0
|
1941 |
|
sl@0
|
1942 |
* generic/tcl.h: Added empty macros for Tcl_MutexFinalize and
|
sl@0
|
1943 |
Tcl_ConditionFinalize, to be used when the core is compiled
|
sl@0
|
1944 |
without threads.
|
sl@0
|
1945 |
|
sl@0
|
1946 |
* doc/Thread.3: Added description the new API's.
|
sl@0
|
1947 |
|
sl@0
|
1948 |
2000-04-03 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1949 |
|
sl@0
|
1950 |
* generic/tclCmdIL.c (InfoVarsCmd): checked for non-NULL procPtr
|
sl@0
|
1951 |
to prevent itcl info override crash [Bug: 4064]
|
sl@0
|
1952 |
|
sl@0
|
1953 |
* tests/foreach.test:
|
sl@0
|
1954 |
* tests/namespace.test:
|
sl@0
|
1955 |
* tests/var.test: Added lsorts to avoid random sorted return
|
sl@0
|
1956 |
problems. [Bug: 2682]
|
sl@0
|
1957 |
|
sl@0
|
1958 |
* tests/fileName.test: fixed 14.1 test fragility [Bug: 1482]
|
sl@0
|
1959 |
|
sl@0
|
1960 |
* tools/man2help2.tcl: fixed winhelp cross-linking error [Bug: 4156]
|
sl@0
|
1961 |
improved translation to winhelp [Bug: 3679]
|
sl@0
|
1962 |
|
sl@0
|
1963 |
* unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandir
|
sl@0
|
1964 |
correctly [Bug: 4085]
|
sl@0
|
1965 |
|
sl@0
|
1966 |
* unix/dltest/pkg[a-e].c: Cleaned up test packages [Bug: 2293]
|
sl@0
|
1967 |
|
sl@0
|
1968 |
2000-04-03 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1969 |
|
sl@0
|
1970 |
* unix/tclUnixFCmd.c (SetGroupAttribute):
|
sl@0
|
1971 |
* unix/tclUnixFCmd.c (SetOwnerAttribute): Added (uid_t) and (gid_t)
|
sl@0
|
1972 |
casts to avoid compiler warnings.
|
sl@0
|
1973 |
|
sl@0
|
1974 |
2000-03-31 Eric Melski <ericm@scriptics.com>
|
sl@0
|
1975 |
|
sl@0
|
1976 |
* generic/tclGet.c (Tcl_GetDouble): Added additional conditions to
|
sl@0
|
1977 |
error test (previously only errno was checked, but the return
|
sl@0
|
1978 |
value of strtod() should be checked as well). [Bug: 4118].
|
sl@0
|
1979 |
|
sl@0
|
1980 |
* tests/exec.test: Added test for proper conversion of UTF data
|
sl@0
|
1981 |
when used with "<< $dataWithUTF" on exec's.
|
sl@0
|
1982 |
|
sl@0
|
1983 |
* unix/tclUnixPipe.c (TclpCreateTempFile): Added
|
sl@0
|
1984 |
Tcl_UtfToExternalDString call, so that if there is UTF content in
|
sl@0
|
1985 |
the string it will be properly converted to the system encoding
|
sl@0
|
1986 |
before being written [Bug: 4030].
|
sl@0
|
1987 |
(TclpCreateTempFile): Added a check on the return value of tmpnam;
|
sl@0
|
1988 |
some systems (Linux, for example) will start to return NULL after
|
sl@0
|
1989 |
tmpnam has been called TMP_MAX times; not checking for this can
|
sl@0
|
1990 |
have bad results (overwriting temp files, core dumps, etc.)
|
sl@0
|
1991 |
|
sl@0
|
1992 |
2000-03-30 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
1993 |
|
sl@0
|
1994 |
* generic/tclBasic.c (Tcl_DeleteCommandFromToken): Added comments
|
sl@0
|
1995 |
noting the need to pair ckalloc with ckfree. [Bug: 4262]
|
sl@0
|
1996 |
|
sl@0
|
1997 |
* generic/tclInt.decls:
|
sl@0
|
1998 |
* generic/tclIntPlatDecls.h:
|
sl@0
|
1999 |
* generic/tclStubInit.c:
|
sl@0
|
2000 |
* win/tclWin32Dll.c: removed TclWinSynchSpawn (vestige of Win32s
|
sl@0
|
2001 |
support).
|
sl@0
|
2002 |
|
sl@0
|
2003 |
* win/tclWinReg.c: made use of TclWinGetPlatformId instead of
|
sl@0
|
2004 |
getting info again
|
sl@0
|
2005 |
|
sl@0
|
2006 |
* win/tclWinPort.h:
|
sl@0
|
2007 |
* win/Makefile.in:
|
sl@0
|
2008 |
* win/configure.in:
|
sl@0
|
2009 |
* win/tcl.m4: Added support for gcc/mingw on Windows [Bug: 4234]
|
sl@0
|
2010 |
|
sl@0
|
2011 |
2000-03-29 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
2012 |
|
sl@0
|
2013 |
* generic/tclCompile.c (TclCleanupByteCode): made ByteCode cleanup
|
sl@0
|
2014 |
more aware of TCL_BYTECODE_PRECOMPILED flagged structs (gen'd by
|
sl@0
|
2015 |
tbcload), to correctly clean them up.
|
sl@0
|
2016 |
|
sl@0
|
2017 |
* generic/tclClock.c (FormatClock): moved check for empty format
|
sl@0
|
2018 |
earlier, commented 0 result return value
|
sl@0
|
2019 |
|
sl@0
|
2020 |
2000-03-29 Sandeep Tamhankar <sandeep@scriptics.com>
|
sl@0
|
2021 |
|
sl@0
|
2022 |
* library/http2.1/http.tcl: Removed an unnecessary fileevent
|
sl@0
|
2023 |
statement from the error processing part of the Write method.
|
sl@0
|
2024 |
Also, fixed two potential memory leaks in wait and reset, in which
|
sl@0
|
2025 |
the state array wasn't being unset before throwing an exception.
|
sl@0
|
2026 |
Prior to this version, Brent checked in a fix to catch a
|
sl@0
|
2027 |
fileevent statement that was sometimes causing a stack trace when
|
sl@0
|
2028 |
geturl was called with -timeout. I believe Brent's fix is
|
sl@0
|
2029 |
necessary because TLS closes bad sockets for secure connections,
|
sl@0
|
2030 |
and the fileevent was trying to act on a socket that no longer
|
sl@0
|
2031 |
existed.
|
sl@0
|
2032 |
|
sl@0
|
2033 |
2000-03-27 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
2034 |
|
sl@0
|
2035 |
* tests/httpd: removed unnecessary 'puts stderr "Post Dispatch"'
|
sl@0
|
2036 |
|
sl@0
|
2037 |
* tests/namespace.test:
|
sl@0
|
2038 |
* generic/tclNamesp.c (Tcl_Export): added a uniq'ing test to the
|
sl@0
|
2039 |
export list so only one instance of each export pattern would
|
sl@0
|
2040 |
exist in the list.
|
sl@0
|
2041 |
|
sl@0
|
2042 |
* generic/tclExecute.c (TclExecuteByteCode): optimized case for
|
sl@0
|
2043 |
the empty string in ==/!= comparisons
|
sl@0
|
2044 |
|
sl@0
|
2045 |
2000-03-27 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2046 |
|
sl@0
|
2047 |
* unix/tclUnixChan.c: Added (off_t) type casts in lseek() call
|
sl@0
|
2048 |
[Bug: 4409].
|
sl@0
|
2049 |
|
sl@0
|
2050 |
* unix/tclLoadAout.c:
|
sl@0
|
2051 |
* unix/tclUnixPipe.c: Added (off_t) type casts in lseek() calls
|
sl@0
|
2052 |
[Bug: 4410].
|
sl@0
|
2053 |
|
sl@0
|
2054 |
2000-03-22 Sandeep Tamhankar <sandeep@scriptics.com>
|
sl@0
|
2055 |
|
sl@0
|
2056 |
* library/http2.1/http.tcl: Fixed a bug where string query data
|
sl@0
|
2057 |
that was bigger than queryblocksize would get duplicate characters
|
sl@0
|
2058 |
at block boundaries.
|
sl@0
|
2059 |
|
sl@0
|
2060 |
2000-03-22 Sandeep Tamhankar <sandeep@scriptics.com>
|
sl@0
|
2061 |
|
sl@0
|
2062 |
* library/http2.1/http.tcl: Fixed bug 4463, where we were getting
|
sl@0
|
2063 |
a stack trace if we tried to publish a project to a good host but
|
sl@0
|
2064 |
a port where there was no server listening. It turned out the
|
sl@0
|
2065 |
problem was a stray fileevent that needed to be cleared. Also,
|
sl@0
|
2066 |
fixed a bug where http::code could stack trace if called on a bad
|
sl@0
|
2067 |
token (one which didn't represent a successful geturl) by adding
|
sl@0
|
2068 |
an http element to the state array in geturl.
|
sl@0
|
2069 |
|
sl@0
|
2070 |
2000-03-21 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2071 |
|
sl@0
|
2072 |
* tests/clock.test: Modified some tests that were not robust with
|
sl@0
|
2073 |
respect to the time zone in which they were run and were thus
|
sl@0
|
2074 |
failing.
|
sl@0
|
2075 |
|
sl@0
|
2076 |
* doc/clock.n: Clarified meaning of -gmt with respect to -base
|
sl@0
|
2077 |
when used with [clock scan] (-gmt does not affect the
|
sl@0
|
2078 |
interpretation of -base).
|
sl@0
|
2079 |
|
sl@0
|
2080 |
2000-03-19 Sandeep Tamhankar <sandeep@scriptics.com>
|
sl@0
|
2081 |
|
sl@0
|
2082 |
* library/http2.1/http.tcl: geturl used to throw an exception when
|
sl@0
|
2083 |
the connection failed; I accidentally returned a token with the
|
sl@0
|
2084 |
error info, breaking backwards compatibility. I changed it back
|
sl@0
|
2085 |
to throwing an exception, but unsetting the state array first
|
sl@0
|
2086 |
(thus still eliminating the original memory leak problem).
|
sl@0
|
2087 |
|
sl@0
|
2088 |
2000-03-19 Sandeep Tamhankar <sandeep@scriptics.com>
|
sl@0
|
2089 |
|
sl@0
|
2090 |
* library/http2.1/http.tcl: Added -querychannel option and altered
|
sl@0
|
2091 |
some of Brent's modifications to allow asynchronous posts (via
|
sl@0
|
2092 |
-command). Also modified -queryprogress so that it calls the
|
sl@0
|
2093 |
query callback as <callback> <token> <total size> <current size>
|
sl@0
|
2094 |
to be consistent with -progress. Added -queryblocksize option
|
sl@0
|
2095 |
with default 8192 bytes for post blocksize. Fixed a bunch of
|
sl@0
|
2096 |
potential memory leaks for the case when geturl receives bad args
|
sl@0
|
2097 |
or can't open a socket, etc. Overall, the package really rocks
|
sl@0
|
2098 |
now.
|
sl@0
|
2099 |
|
sl@0
|
2100 |
* doc/http.n: Added -queryblocksize, -querychannel, and
|
sl@0
|
2101 |
-queryprogress. Also, changed the description of -blocksize,
|
sl@0
|
2102 |
which states that the -progress callback will be called for each
|
sl@0
|
2103 |
block, to now qualify that with an "if -progress is specified".
|
sl@0
|
2104 |
|
sl@0
|
2105 |
* tests/http.test: Added a querychannel test for synchronous and
|
sl@0
|
2106 |
asynchronous posts, altered the queryprogress test such that the
|
sl@0
|
2107 |
callback conforms to the -progress format. Also, had to use the
|
sl@0
|
2108 |
-queryblocksize option to do the post 16K at a time to match
|
sl@0
|
2109 |
Brent's expected results (and to test that -queryblocksize works).
|
sl@0
|
2110 |
|
sl@0
|
2111 |
2000-03-15 Brent Welch <welch@scriptics.com>
|
sl@0
|
2112 |
|
sl@0
|
2113 |
* library/http2.1/http.tcl: Added -queryprogress callback to
|
sl@0
|
2114 |
http::geturl and also changed it so that writing the post data
|
sl@0
|
2115 |
is event driven if the queryprogress callback or a timeout is given.
|
sl@0
|
2116 |
This allows a timeout to occur when writing lots of post data.
|
sl@0
|
2117 |
The queryprogress callback is called after each block of query
|
sl@0
|
2118 |
data is posted. It has the same signature as the -progress callback.
|
sl@0
|
2119 |
|
sl@0
|
2120 |
2000-03-06 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2121 |
|
sl@0
|
2122 |
* library/package.tcl: Applied patch from Bug: 2570; rather than
|
sl@0
|
2123 |
setting geometry of slave interp to 0x0 when Tk was loaded, it now
|
sl@0
|
2124 |
does "wm withdraw .". Both remove the main window from the
|
sl@0
|
2125 |
display, but the former caused some internal structures to get
|
sl@0
|
2126 |
initialized to zero, which caused crashes with some extensions.
|
sl@0
|
2127 |
|
sl@0
|
2128 |
2000-03-02 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
2129 |
|
sl@0
|
2130 |
* library/package.tcl (tclPkgUnknown): extended to allow
|
sl@0
|
2131 |
recognizes changes in the auto_path while sourcing in other
|
sl@0
|
2132 |
pkgIndex.tcl files
|
sl@0
|
2133 |
|
sl@0
|
2134 |
* doc/FindExec.3: fixed doc for declaration of Tcl_FindExecutable
|
sl@0
|
2135 |
[Bug: 4275]
|
sl@0
|
2136 |
|
sl@0
|
2137 |
* generic/tclFileName.c (Tcl_TranslateFileName): Applied patch
|
sl@0
|
2138 |
from Newman to significantly speedup file split/join on Windows
|
sl@0
|
2139 |
(replaces regexp with custom parser). [Bug: 2867]
|
sl@0
|
2140 |
|
sl@0
|
2141 |
* win/README.binary: change mailing lists from @consortium.org
|
sl@0
|
2142 |
to @scriptics.com [Bug: 4173]
|
sl@0
|
2143 |
|
sl@0
|
2144 |
2000-02-28 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2145 |
|
sl@0
|
2146 |
* tests/clock.test: Added test for ISO bases < 100000
|
sl@0
|
2147 |
|
sl@0
|
2148 |
* generic/tclDate.c: (generated on Solaris)
|
sl@0
|
2149 |
* generic/tclGetDate.y: Changed condition for deciding if a number
|
sl@0
|
2150 |
is an ISO 8601 base from number >= 100000 to numberOfDigits >= 6.
|
sl@0
|
2151 |
Previously it would fail to recognize 000000 as an ISO base.
|
sl@0
|
2152 |
|
sl@0
|
2153 |
2000-02-14 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2154 |
|
sl@0
|
2155 |
* unix/Makefile.in: Added rpm target to generate Tcl binary RPM.
|
sl@0
|
2156 |
|
sl@0
|
2157 |
* unix/tcl.spec: RPM specification file for a Tcl binary RPM for
|
sl@0
|
2158 |
Linux.
|
sl@0
|
2159 |
|
sl@0
|
2160 |
2000-02-10 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
2161 |
|
sl@0
|
2162 |
8.3.0 RELEASE
|
sl@0
|
2163 |
|
sl@0
|
2164 |
* changes: updated for 8.3.0 release
|
sl@0
|
2165 |
|
sl@0
|
2166 |
* doc/load.n: added notes about dll load errors on Windows
|
sl@0
|
2167 |
|
sl@0
|
2168 |
* unix/README:
|
sl@0
|
2169 |
* unix/Makefile.in (dist): removed porting.notes and porting.old
|
sl@0
|
2170 |
from distribution and CVS. The information was very outdated. Now
|
sl@0
|
2171 |
refer to http://dev.scriptics.com/services/support/platforms.html
|
sl@0
|
2172 |
|
sl@0
|
2173 |
* tests/unixInit.test: fixed japanese LANG encoding test [Bug: 3549]
|
sl@0
|
2174 |
|
sl@0
|
2175 |
* unix/configure.in:
|
sl@0
|
2176 |
* unix/tcl.m4: correct CFLAG_WARNING setting,
|
sl@0
|
2177 |
fixed gcc config for AIX,
|
sl@0
|
2178 |
added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998]
|
sl@0
|
2179 |
|
sl@0
|
2180 |
* win/tclWinLoad.c (TclpLoadFile): improved error message for load
|
sl@0
|
2181 |
failures, could perhaps be even more intelligent.
|
sl@0
|
2182 |
|
sl@0
|
2183 |
2000-02-09 Jim Ingham <jingham@cygnus.com>
|
sl@0
|
2184 |
|
sl@0
|
2185 |
* mac/tclMacSock.c: Don't panic when you get an error closing an async
|
sl@0
|
2186 |
socket. This doesn't seem to hurt anything, and we return the error so
|
sl@0
|
2187 |
the caller can do the right thing.
|
sl@0
|
2188 |
|
sl@0
|
2189 |
New Files:
|
sl@0
|
2190 |
* mac/MW_TclHeader.h:
|
sl@0
|
2191 |
* mac/MW_TclTestHeader.h:
|
sl@0
|
2192 |
* mac/MW_TclTestHeader.pch:
|
sl@0
|
2193 |
* mac/MW_TclAppleScriptHeader.h: More convenient to use .h prefix files
|
sl@0
|
2194 |
in the preference panels...
|
sl@0
|
2195 |
|
sl@0
|
2196 |
The above are curtesy of Daniel Steffen (steffen@math.mq.edu.au)
|
sl@0
|
2197 |
|
sl@0
|
2198 |
2000-02-08 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2199 |
|
sl@0
|
2200 |
* tests/clock.test: Added tests for "next monthname" constructs.
|
sl@0
|
2201 |
* generic/tclDate.c:
|
sl@0
|
2202 |
* generic/tclGetDate.y (Message): Added a grammar rule for "next
|
sl@0
|
2203 |
monthname" so that we can handle "next january" and similar
|
sl@0
|
2204 |
constructs (bug #4146).
|
sl@0
|
2205 |
|
sl@0
|
2206 |
2000-02-08 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
2207 |
|
sl@0
|
2208 |
* README:
|
sl@0
|
2209 |
* tools/tcl.wse.in:
|
sl@0
|
2210 |
* unix/configure.in:
|
sl@0
|
2211 |
* win/configure.in:
|
sl@0
|
2212 |
* win/README:
|
sl@0
|
2213 |
* win/README.binary:
|
sl@0
|
2214 |
* generic/tcl.h (TCL_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
|
sl@0
|
2215 |
|
sl@0
|
2216 |
* doc/library.n:
|
sl@0
|
2217 |
* library/auto.tcl: fixed crufty puts code and docs [Bug: 4122]
|
sl@0
|
2218 |
|
sl@0
|
2219 |
* library/tcltest1.0/tcltest.tcl: correctly protected searchDirectory
|
sl@0
|
2220 |
list to allow dirnames with spaces
|
sl@0
|
2221 |
|
sl@0
|
2222 |
* unix/tcl.m4: changed all -fpic to -fPIC
|
sl@0
|
2223 |
|
sl@0
|
2224 |
* generic/tclDecls.h:
|
sl@0
|
2225 |
* generic/tcl.decls: change Tcl_GetOpenFile to use decl of 'int
|
sl@0
|
2226 |
forWriting' instead of 'int write' to avoid shadowing [Bug: 4121]
|
sl@0
|
2227 |
|
sl@0
|
2228 |
* tests/httpold.test: changed test script to source in the httpd
|
sl@0
|
2229 |
server procs from httpd instead of having its own set.
|
sl@0
|
2230 |
|
sl@0
|
2231 |
* tests/httpd: improved query support in test httpd to handle fix
|
sl@0
|
2232 |
in http.tcl. [Bug: 4089 change 2000-02-01]
|
sl@0
|
2233 |
|
sl@0
|
2234 |
* unix/README: fixed notes about --enable-shared and add note
|
sl@0
|
2235 |
about --disable-shared.
|
sl@0
|
2236 |
|
sl@0
|
2237 |
2000-02-07 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2238 |
|
sl@0
|
2239 |
* tests/package.test:
|
sl@0
|
2240 |
* library/tclIndex:
|
sl@0
|
2241 |
* library/package.tcl: Renamed ::package namespace to ::pkg.
|
sl@0
|
2242 |
|
sl@0
|
2243 |
2000-02-03 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2244 |
|
sl@0
|
2245 |
* doc/Package.n:
|
sl@0
|
2246 |
* doc/packagens.n: Renamed Package.n -> packagens.n because Windows
|
sl@0
|
2247 |
can't deal with case-sensitive names.
|
sl@0
|
2248 |
|
sl@0
|
2249 |
2000-02-02 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
2250 |
|
sl@0
|
2251 |
* tests/regexp.test: added tests for -all and -inline switches
|
sl@0
|
2252 |
* doc/regexp.n: added docs for -all and -inline switches
|
sl@0
|
2253 |
* generic/tclCmdMZ.c (Tcl_RegexpObjCmd): added extra comments for
|
sl@0
|
2254 |
new -all and -inline switches to regexp command
|
sl@0
|
2255 |
|
sl@0
|
2256 |
2000-02-01 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2257 |
|
sl@0
|
2258 |
* library/init.tcl: Applied patch from rfe 1734 regarding
|
sl@0
|
2259 |
auto_load errors not setting error message and errorInfo properly.
|
sl@0
|
2260 |
|
sl@0
|
2261 |
2000-02-01 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
2262 |
|
sl@0
|
2263 |
* win/Makefile.in (install-*): reduced verbosity of install
|
sl@0
|
2264 |
|
sl@0
|
2265 |
* generic/tclFileName.c (Tcl_JoinPath): improved support for special
|
sl@0
|
2266 |
QNX node id prefixes in pathnames [Bug: 4053]
|
sl@0
|
2267 |
|
sl@0
|
2268 |
* library/http1.0/http.tcl:
|
sl@0
|
2269 |
* library/http2.1/http.tcl: The query data POSTed was newline
|
sl@0
|
2270 |
terminated when it shouldn't be altered [Bug: 4089]
|
sl@0
|
2271 |
|
sl@0
|
2272 |
2000-01-31 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2273 |
|
sl@0
|
2274 |
* tests/package.test:
|
sl@0
|
2275 |
* library/tclIndex:
|
sl@0
|
2276 |
* library/package.tcl: Added ::package namespace and
|
sl@0
|
2277 |
::package::create function.
|
sl@0
|
2278 |
|
sl@0
|
2279 |
* library/init.tcl: Fixed problem with auto_load and determining
|
sl@0
|
2280 |
if commands were loaded.
|
sl@0
|
2281 |
|
sl@0
|
2282 |
* library/auto.tcl: "Fixed" issues with $ in files to be auto indexed.
|
sl@0
|
2283 |
|
sl@0
|
2284 |
* doc/Package.n: New man page for package::create function.
|
sl@0
|
2285 |
|
sl@0
|
2286 |
* doc/pkgMkIndex.n: Added additional information.
|
sl@0
|
2287 |
|
sl@0
|
2288 |
* doc/library.n: Added additional qualification regarding auto_mkindex.
|
sl@0
|
2289 |
|
sl@0
|
2290 |
2000-01-28 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2291 |
|
sl@0
|
2292 |
* tests/pkg/magicchar2.tcl:
|
sl@0
|
2293 |
* tests/autoMkindex.test: Test for auto loader fix (bug #2480).
|
sl@0
|
2294 |
|
sl@0
|
2295 |
* library/init.tcl: auto_load was using [info commands $name] to
|
sl@0
|
2296 |
determine if a given command was available; if the command name
|
sl@0
|
2297 |
had * or [] it, this would fail because info commands uses
|
sl@0
|
2298 |
glob-style matching. This is fixed. (Bug #2480).
|
sl@0
|
2299 |
|
sl@0
|
2300 |
* tests/pkg/spacename.tcl:
|
sl@0
|
2301 |
* tests/pkgMkIndex.test: Tests for fix for bug #2360.
|
sl@0
|
2302 |
|
sl@0
|
2303 |
* library/package.tcl: Fixed to extract only the first element of
|
sl@0
|
2304 |
the list returned by auto_qualify (bug #2360).
|
sl@0
|
2305 |
|
sl@0
|
2306 |
* tests/pkg/magicchar.tcl:
|
sl@0
|
2307 |
* tests/autoMkindex.test: Test for fix for bug #2611.
|
sl@0
|
2308 |
|
sl@0
|
2309 |
* library/auto.tcl: Fixed the regular expression that performs $
|
sl@0
|
2310 |
escaping before sourcing a file to index. It was erroneously
|
sl@0
|
2311 |
adding \ escapes even to $'s that were already escaped,
|
sl@0
|
2312 |
effectively "un-escaping" those $'s. (bug #2611).
|
sl@0
|
2313 |
|
sl@0
|
2314 |
2000-01-27 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2315 |
|
sl@0
|
2316 |
* tests/autoMkindex.test:
|
sl@0
|
2317 |
* library/auto.tcl: Applied patch (with slight modification) from
|
sl@0
|
2318 |
bug #2701: auto_mkIndex uses platform dependent file paths.
|
sl@0
|
2319 |
Added test for fix.
|
sl@0
|
2320 |
|
sl@0
|
2321 |
2000-01-27 Jennifer Hom <jenn@scriptics.com>
|
sl@0
|
2322 |
|
sl@0
|
2323 |
* library/tcltest1.0/tcltest.tcl: Changed NormalizePath to
|
sl@0
|
2324 |
normalizePath and exported it as a public proc. This proc
|
sl@0
|
2325 |
creates an absolute path given the name of the variable containing
|
sl@0
|
2326 |
the path to modify. The path is modified in place.
|
sl@0
|
2327 |
* library/tcltest1.0/pkgIndex.tcl: Added normalizePath.
|
sl@0
|
2328 |
* tests/all.tcl: Changed code to use normalizePath.
|
sl@0
|
2329 |
|
sl@0
|
2330 |
2000-01-27 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2331 |
|
sl@0
|
2332 |
* tests/pkg/samename.tcl: test file for bug #1983
|
sl@0
|
2333 |
|
sl@0
|
2334 |
* tests/pkgMkIndex.test:
|
sl@0
|
2335 |
* doc/pkgMkIndex.n:
|
sl@0
|
2336 |
* library/package.tcl: Per rfe #4097, optimized creation of direct
|
sl@0
|
2337 |
load packages to bypass computing the list of commands added by
|
sl@0
|
2338 |
the new package. Also made direct loading the default, and added
|
sl@0
|
2339 |
a -lazy option.
|
sl@0
|
2340 |
Fixed bug #1983, dealing with pkg_mkIndex incorrectly handling
|
sl@0
|
2341 |
situations with two procs by the same name but in different
|
sl@0
|
2342 |
namespaces (ie, foo::baz and bar::baz).
|
sl@0
|
2343 |
|
sl@0
|
2344 |
2000-01-26 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2345 |
|
sl@0
|
2346 |
* generic/tclNamesp.c: Undid fix for #956, which broke backwards
|
sl@0
|
2347 |
compatibility.
|
sl@0
|
2348 |
|
sl@0
|
2349 |
* doc/variable.n:
|
sl@0
|
2350 |
* doc/trace.n:
|
sl@0
|
2351 |
* doc/namespace.n:
|
sl@0
|
2352 |
* doc/info.n: Added further information about differences between
|
sl@0
|
2353 |
"namespace which" and "info exists".
|
sl@0
|
2354 |
|
sl@0
|
2355 |
* doc/SetErrno.3: Added descriptions of ErrnoId() and ErrnoMsg()
|
sl@0
|
2356 |
functions.
|
sl@0
|
2357 |
|
sl@0
|
2358 |
2000-01-25 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
2359 |
|
sl@0
|
2360 |
* unix/tcl.m4: modified EXTRA_CFLAGS to add -DHAVE_TZSET for
|
sl@0
|
2361 |
OSF1-V* and ULTRIX-4.* when not using gcc. Also added higher min
|
sl@0
|
2362 |
stack size for OSF1-V* when building with threads. [Bug: 4063]
|
sl@0
|
2363 |
|
sl@0
|
2364 |
* generic/tclClock.c (FormatClock): inlined resultPtr, as it
|
sl@0
|
2365 |
conflicted with var creation for HAVE_TZSET #def [Bug: 4063]
|
sl@0
|
2366 |
|
sl@0
|
2367 |
* generic/tclCmdIL.c (Tcl_LsortObjCmd): fixed potential leak
|
sl@0
|
2368 |
when calling lsort -command with bad command [Bug: 4067]
|
sl@0
|
2369 |
|
sl@0
|
2370 |
* generic/tclFileName.c (Tcl_JoinPath): added support for special
|
sl@0
|
2371 |
QNX node id prefixes in pathnames [Bug: 4053]
|
sl@0
|
2372 |
|
sl@0
|
2373 |
* doc/ListObj.3: clarified Tcl_ListObjGetElements docs [Bug: 4080]
|
sl@0
|
2374 |
|
sl@0
|
2375 |
* doc/glob.n: clarified Mac path separator determination docs.
|
sl@0
|
2376 |
|
sl@0
|
2377 |
* win/makefile.vc: added some support for building helpfile on Windows
|
sl@0
|
2378 |
|
sl@0
|
2379 |
2000-01-23 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
2380 |
|
sl@0
|
2381 |
* library/init.tcl (auto_execok): added 'start' to list of
|
sl@0
|
2382 |
recognized built-in commands for COMSPEC on NT. [Bug: 2858]
|
sl@0
|
2383 |
|
sl@0
|
2384 |
* unix/tclUnixPort.h: moved include of <utime.h> lower since some
|
sl@0
|
2385 |
systems (UTS) require sys/types.h to be included first [Bug: 4031]
|
sl@0
|
2386 |
|
sl@0
|
2387 |
* unix/tclUnixChan.c (CreateSocketAddress): changed comparison
|
sl@0
|
2388 |
with -1 to 0xFFFFFFFF, to ensure 32 bit comparison even on 64 bit
|
sl@0
|
2389 |
systems. [Bug: 3878]
|
sl@0
|
2390 |
|
sl@0
|
2391 |
* generic/tclFileName.c: improved guessing of path separator
|
sl@0
|
2392 |
for the Mac. (Darley)
|
sl@0
|
2393 |
|
sl@0
|
2394 |
* generic/tclInt.h:
|
sl@0
|
2395 |
* generic/tcl.decls: moved Tcl_ProcObjCmd to stubs table [Bug: 3827]
|
sl@0
|
2396 |
and removed 'register' from stub definition of
|
sl@0
|
2397 |
Tcl_AppendUnicodeToObj [Bug: 4038]
|
sl@0
|
2398 |
|
sl@0
|
2399 |
2000-01-21 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2400 |
|
sl@0
|
2401 |
* unix/mkLinks:
|
sl@0
|
2402 |
* doc/GetHostName.3: Man page for Tcl_GetHostName (bug #1817).
|
sl@0
|
2403 |
|
sl@0
|
2404 |
* doc/lreplace.n: Corrected man page with respect to treatment of
|
sl@0
|
2405 |
empty lists, and "prettied up" the page. (bug #1705).
|
sl@0
|
2406 |
|
sl@0
|
2407 |
2000-01-20 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2408 |
|
sl@0
|
2409 |
* tests/namespace.test: Added test for undefined variables with
|
sl@0
|
2410 |
namespace which (bug #956).
|
sl@0
|
2411 |
|
sl@0
|
2412 |
* generic/tclNamesp.c: Added check for undefined variables in
|
sl@0
|
2413 |
NamespaceWhichCmd (bug #956).
|
sl@0
|
2414 |
|
sl@0
|
2415 |
* tests/var.test: Added tests for corrected variable behavior
|
sl@0
|
2416 |
(bug #981).
|
sl@0
|
2417 |
|
sl@0
|
2418 |
* doc/upvar.n: Expanded explanation of upvar behavior with respect to
|
sl@0
|
2419 |
variable traces. (bugs 3917 1433 2110).
|
sl@0
|
2420 |
|
sl@0
|
2421 |
* generic/tclVar.c: Changed behavior of variable command when name
|
sl@0
|
2422 |
refers to an element in an array (ie, "variable foo(x)") to always
|
sl@0
|
2423 |
return an error, regardless of existance of that element in the
|
sl@0
|
2424 |
array (now behavior is consistant with docs too) (bug #981).
|
sl@0
|
2425 |
|
sl@0
|
2426 |
2000-01-20 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
2427 |
|
sl@0
|
2428 |
* generic/tclCmdIL.c (InfoBodyCmd): made [info body] return a
|
sl@0
|
2429 |
string if the body has been bytecompiled.
|
sl@0
|
2430 |
* generic/tclBasic.c (Tcl_EvalObjEx): added pedantic check for
|
sl@0
|
2431 |
originating proc body of bytecompiled code, #def'd out as the
|
sl@0
|
2432 |
change for [info body] should make it unnecessary
|
sl@0
|
2433 |
|
sl@0
|
2434 |
* unix/tclUnixNotfy.c (Tcl_InitNotifier): added cast for tsdPtr
|
sl@0
|
2435 |
|
sl@0
|
2436 |
* tests/set.test: added test for complex array elem name compiling
|
sl@0
|
2437 |
* generic/tclCompCmds.c (TclCompileSetCmd): Fixed parsing of array
|
sl@0
|
2438 |
elements during compiling, and slightly optimised same [Bug: 3889]
|
sl@0
|
2439 |
|
sl@0
|
2440 |
* doc/tclvars.n: added definitions for tcl_(non)wordchars
|
sl@0
|
2441 |
|
sl@0
|
2442 |
* doc/vwait.n: added notes about requirement for vwait var being
|
sl@0
|
2443 |
globally scoped [Bug: 3329]
|
sl@0
|
2444 |
|
sl@0
|
2445 |
* library/word.tcl: changed tcl_(non)wordchars settings to use
|
sl@0
|
2446 |
new unicode regexp char class escapes instead of char sequences
|
sl@0
|
2447 |
|
sl@0
|
2448 |
2000-01-14 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2449 |
|
sl@0
|
2450 |
* tests/var.test: Added a test for the array multiple delete
|
sl@0
|
2451 |
protection in Tcl_UnsetVar2.
|
sl@0
|
2452 |
|
sl@0
|
2453 |
* generic/tclVar.c: Added protection in Tcl_UnsetVar2 against
|
sl@0
|
2454 |
attempts to multiply delete arrays when unsetting them (bug
|
sl@0
|
2455 |
#3453). This could happen if there was an unset trace on an array
|
sl@0
|
2456 |
element and the trace proc made a global or upvar link to the
|
sl@0
|
2457 |
array, and then the array was unset at the global level. See the
|
sl@0
|
2458 |
bug reference for more information.
|
sl@0
|
2459 |
|
sl@0
|
2460 |
* unix/tclUnixTime.c: New clock format format.
|
sl@0
|
2461 |
|
sl@0
|
2462 |
* compat/strftime.c: New clock format format.
|
sl@0
|
2463 |
|
sl@0
|
2464 |
* generic/tclGetDate.y: New clock scan format.
|
sl@0
|
2465 |
|
sl@0
|
2466 |
2000-01-13 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
2467 |
|
sl@0
|
2468 |
* changes: updated changes file to reflect 8.3b2 mods
|
sl@0
|
2469 |
|
sl@0
|
2470 |
* README:
|
sl@0
|
2471 |
* generic/tcl.h:
|
sl@0
|
2472 |
* tools/tcl.wse.in:
|
sl@0
|
2473 |
* unix/configure.in:
|
sl@0
|
2474 |
* unix/tcl.m4:
|
sl@0
|
2475 |
* win/README.binary:
|
sl@0
|
2476 |
* win/configure.in: updated to patchlevel 8.3b2
|
sl@0
|
2477 |
|
sl@0
|
2478 |
* generic/regexec.c: added var initialization to prevent compiler
|
sl@0
|
2479 |
warning
|
sl@0
|
2480 |
|
sl@0
|
2481 |
2000-01-13 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2482 |
|
sl@0
|
2483 |
* tests/cmdIL.test: Added tests for lsort -dictionary with
|
sl@0
|
2484 |
characters that occur between Z and a in ASCII.
|
sl@0
|
2485 |
|
sl@0
|
2486 |
* generic/tclCmdIL.c: Modified DictionaryCompare function (used by
|
sl@0
|
2487 |
lsort -dictionary) to do upper/lower case equivalency before doing
|
sl@0
|
2488 |
character comparisons, instead of after. This fixes bug #1357, in
|
sl@0
|
2489 |
which lsort -dictionary [list ` AA c CC] and lsort -dictionary
|
sl@0
|
2490 |
[list AA c ` CC] gave different (and both wrong) results.
|
sl@0
|
2491 |
|
sl@0
|
2492 |
2000-01-12 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2493 |
|
sl@0
|
2494 |
* tests/clock.test: Added tests for "next <day-of-week>" and
|
sl@0
|
2495 |
"<day-of-week>"
|
sl@0
|
2496 |
Added tests for "monday 1 week ago", etc, from RFE #3671.
|
sl@0
|
2497 |
|
sl@0
|
2498 |
* doc/tests/clock.test: Added numerous tests for clock scan.
|
sl@0
|
2499 |
|
sl@0
|
2500 |
* doc/generic/tclGetDate.y: Fixed some shift/reduce conflicts in
|
sl@0
|
2501 |
clock grammar.
|
sl@0
|
2502 |
|
sl@0
|
2503 |
* doc/doc/clock.n: Added documentation for new supported clock
|
sl@0
|
2504 |
scan formats and additional explanation of daylight savings time
|
sl@0
|
2505 |
correction algorithm.
|
sl@0
|
2506 |
|
sl@0
|
2507 |
2000-01-12 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
2508 |
|
sl@0
|
2509 |
* doc/file.n:
|
sl@0
|
2510 |
* tests/unixFCmd.test:
|
sl@0
|
2511 |
* unix/tclUnixFCmd.c: added support for symbolic permissions
|
sl@0
|
2512 |
setting in SetPermissionsAttribute (file attr $file -perm ...)
|
sl@0
|
2513 |
[Bug: 3970]
|
sl@0
|
2514 |
|
sl@0
|
2515 |
* generic/tclClock.c: fixed support for 64bit handling of clock
|
sl@0
|
2516 |
values [Bug: 1806]
|
sl@0
|
2517 |
|
sl@0
|
2518 |
* generic/tclThreadTest.c: upped a buffer size to hold double
|
sl@0
|
2519 |
|
sl@0
|
2520 |
* tests/info.test:
|
sl@0
|
2521 |
* generic/tclCmdIL.c: fixed 'info procs ::namesp::*' behavior (Dejong)
|
sl@0
|
2522 |
|
sl@0
|
2523 |
* generic/tclNamesp.c: made imported commands also import their
|
sl@0
|
2524 |
compile proc [Bug: 2100]
|
sl@0
|
2525 |
|
sl@0
|
2526 |
* tests/expr.test:
|
sl@0
|
2527 |
* unix/Makefile.in:
|
sl@0
|
2528 |
* unix/configure.in:
|
sl@0
|
2529 |
* unix/tcl.m4: recognize strtod bug on Tru64 v5.0 [Bug: 3378]
|
sl@0
|
2530 |
and added tests to prevent unnecessary chmod +x in sources while
|
sl@0
|
2531 |
installing, as well as more intelligent setsockopt/gethostbyname
|
sl@0
|
2532 |
checks [Bug: 3366, 3389]
|
sl@0
|
2533 |
|
sl@0
|
2534 |
* unix/tclUnixThrd.c: added compile time support (through use of
|
sl@0
|
2535 |
the TCL_THREAD_STACK_MIN define) for increasing the default stack
|
sl@0
|
2536 |
size for a thread. [Bug: 3797, 1966]
|
sl@0
|
2537 |
|
sl@0
|
2538 |
2000-01-11 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2539 |
|
sl@0
|
2540 |
* generic/tclGetDate.y: Added comments for the Convert function.
|
sl@0
|
2541 |
Added a fix for daylight savings time handling for relative time
|
sl@0
|
2542 |
spans of days, weeks or fortnights. (bug 3441, 3868).
|
sl@0
|
2543 |
|
sl@0
|
2544 |
* generic/tclDate.c: Fixed compiler warning issues.
|
sl@0
|
2545 |
|
sl@0
|
2546 |
2000-01-10 Jeff Hobbs <hobbs@scriptics.com>
|
sl@0
|
2547 |
|
sl@0
|
2548 |
* compat/waitpid.c: use pid_t type instead of int [Bug: 3999]
|
sl@0
|
2549 |
|
sl@0
|
2550 |
* tests/utf.test: fixed test that allowed \8 as octal value
|
sl@0
|
2551 |
* generic/tclUtf.c: changed Tcl_UtfBackslash to not allow
|
sl@0
|
2552 |
non-octal digits (8,9) in \ooo substs. [Bug: 3975]
|
sl@0
|
2553 |
|
sl@0
|
2554 |
* generic/tcl.h: noted need to change win/tcl.m4 and
|
sl@0
|
2555 |
tools/tclSplash.bmp for minor version changes
|
sl@0
|
2556 |
|
sl@0
|
2557 |
* library/http2.1/http.tcl: trim value for $state(meta) key
|
sl@0
|
2558 |
|
sl@0
|
2559 |
* unix/tclUnixFile.c: fixed signature style on functions
|
sl@0
|
2560 |
|
sl@0
|
2561 |
* unix/Makefile.in: made sure tcl.m4 would be installed with dist
|
sl@0
|
2562 |
|
sl@0
|
2563 |
* unix/tcl.m4: added ELF support for NetBSD [Bug: 3959]
|
sl@0
|
2564 |
|
sl@0
|
2565 |
2000-01-10 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2566 |
|
sl@0
|
2567 |
* generic/tclGetDate.y: Added rules for ISO 8601 formats (BUG #847):
|
sl@0
|
2568 |
CCYY-MM-DD
|
sl@0
|
2569 |
CCYYMMDD
|
sl@0
|
2570 |
YY-MM-DD
|
sl@0
|
2571 |
YYMMDD
|
sl@0
|
2572 |
CCYYMMDDTHHMMSS
|
sl@0
|
2573 |
CCYYMMDD HHMMSS
|
sl@0
|
2574 |
CCYYMMDDTHH:MM:SS
|
sl@0
|
2575 |
Fixed "clock scan <number>" to scan the number as an hour for the
|
sl@0
|
2576 |
current day, rather than a minute after 00:00 for the current day
|
sl@0
|
2577 |
(bug #2732).
|
sl@0
|
2578 |
|
sl@0
|
2579 |
2000-01-07 Eric Melski <ericm@scriptics.com>
|
sl@0
|
2580 |
|
sl@0
|
2581 |
* generic/tclClock.c: Changed switch in Tcl_ClockObjCmd to use
|
sl@0
|
2582 |
enumerated values instead of constants. (ie, COMMAND_SCAN instead
|
sl@0
|
2583 |
of 3).
|