| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* tests/var.test: fixing ObjMakeUpvar's lookup algorithm for the
created local variable, bugs #631741 and #696893.
|
|
|
|
| |
now adding here too.
|
|
|
|
|
| |
Mistachkin insists that he has a configuration that fails to launch
tcltest without it, and it appears harmless otherwise.
|
|
|
|
|
| |
attempted to load the release version of the DLL into a debug
build. [Bug 708218] Thanks to Joe Mistachkin for the patch.
|
|
|
|
|
|
|
|
|
| |
such that giving only a topic name really returns all services
with that topic. [Bug 219155]
Prevent hangup caused by dde server applications failing to process
messages [Bug 707822]
* tests/winDde.test: Corrected labels and added a test for search
by topic name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclStubInit.c (tclOriginalNotifier):
* mac/tclMacNotify.c (Tcl_SetTimer,Tcl_WaitForEvent):
* unix/tclUnixNotfy.c (Tcl_SetTimer,Tcl_WaitForEvent,
Tcl_CreateFileHandler,Tcl_DeleteFileHandler):
* win/tclWinNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): Some linkers
apparently use a different representation for a pointer to a function
within the same compilation unit and a pointer to a function in a
different compilation unit. This causes checks like those in the
original notifier procedures to fall into infinite loops. The fix
is to store pointers to the original notifier procedures in a struct
defined in the same compilation unit as the stubs tables, and compare
against those values. [Bug 707174]
|
|
|
|
| |
is no longer used.
|
| |
|
|
|
|
|
| |
* tests/compile.test: bad command count on TCL_OUT_LINE_COMPILE
[Bug 705406] (Don Porter).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/history.tcl: [string map] where possible. Thanks
* library/ldAout.tcl: to David Welton. [Bugs 667456,667558]
* library/safe.tcl: Bumped to http 2.4.3, opt 0.4.5, and
* library/http/http.tcl: tcltest 2.2.3.
* library/http/pkgIndex.tcl:
* library/opt/optparse.tcl:
* library/opt/pkgIndex.tcl:
* library/tcltest/tcltest.tcl:
* library/tcltest/pkgIndex.tcl:
* tools/genStubs.tcl:
* tools/tcltk-man2html.tcl:
* unix/mkLinks.tcl:
|
|
|
|
|
| |
* doc/ParseCmd.3 (Tcl_EvalTokensStandard): return type errors
in documentation. [Bug 683994]
|
|
|
|
|
|
|
| |
* generic/tclCompile.c (INST_RETURN): [Bug 633204] that uses a new
* generic/tclCompile.h (INST_RETURN): bytecode INST_RETURN to
* generic/tclExecute.c (INST_RETURN): properly bytecode the
[return] command to something that returns TCL_RETURN.
|
| |
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: Don't run the AC_CYGWIN
macro since it uses AC_CANONICAL_HOST under
autoconf 2.5X. Just check to see if __CYGWIN__
is defined by the compiler and set the
ac_cv_cygwin variable based on that.
[Bug 705912]
|
|
|
|
|
| |
abort if [testlocale] is missing, as when running the test in
tclsh rather than tcltest. [Bug #705677]
|
|
|
|
|
|
| |
from inside distribution directories named with 8.x.x version
numbers. tcltk-man2html now uses the latest tcl8.x.x resp. tk8.x.x
directories found inside its --srcdir argument.
|
|
|
|
| |
tests all had the same id.
|
|
|
|
| |
unicode in the obvious order, really.) [Bug #703807]
|
|
|
|
|
|
| |
that indicates we've got a wide int when we're formatting in an
integer style. Stops some libc's from going mad. [Bug #702622]
Also tidied whitespace.
|
|
|
|
| |
fix that was made in tk instead of tcl sources.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for a detailed explanation of why this is good.
This will no doubt break the build on some
platforms, let the flaming begin.
* tools/configure: Regen with autoconf 2.57.
* tools/configure.in: Require autoconf 2.57.
* unix/configure: Regen with autoconf 2.57.
* unix/configure.in: Require autoconf 2.57.
Apply AC_LIBOBJ changes from patch 529884.
* unix/tcl.m4: Ditto.
* win/configure: Regen with autoconf 2.57.
* win/configure.in: Require autoconf 2.57.
Don't subst LIBOBJS since this happens by
default, this avoids an autoconf error.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdMZ.c (Tcl_SubstObj):
* generic/tclCompCmds.c (TclCompileSwitchCmd):
* generic/tclCompExpr.c (CompileSubExpr):
* generic/tclCompile.c (TclSetByteCodeFromAny,TclCompileScript,
TclCompileTokens,TclCompileCmdWord):
* generic/tclCompile.h (TclCompileScript):
* generic/tclExecute.c (TclCompEvalObj):
* generic/tclInt.h (Interp,TCL_BRACKET_TERM,TclSubstTokens):
* generic/tclParse.c (ParseTokens,Tcl_SubstObj,TclSubstTokens):
* tests/subst.test (2.4, 8.7, 8.8, 11.4, 11.5):
Substantial refactoring of Tcl_SubstObj to make use of the same
parsing and substitution procedures as normal script evaluation.
Tcl_SubstObj() moved to tclParse.c. New routine TclSubstTokens()
created in tclParse.c which implements all substantial functioning
of Tcl_EvalTokensStandard(). TclCompileScript() loses its
"nested" argument, the Tcl_Interp struct loses its termOffset
field and the TCL_BRACKET_TERM flag in the evalFlags field, all
of which were only used (indirectly) by Tcl_SubstObj(). Tests
subst-8.7,8.8,11.4,11.5 modified to accomodate the only behavior
change: reporting of parse errors now takes precedence over
[return] and [continue] exceptions. All other behavior should
|
|
|
|
|
| |
* win/tclWinPipe.c: from tcl.h -- they are not part of Tcl's
public interface. Put them in win/tclWinPipe.c where they are used.
|
| |
|
|
|
|
|
| |
parsing beyond objc for [interp create --]. Thanks to
Marco Maggi. [Bug 702383]
|
|
|
|
| |
panicking on Win9x.
|
|
|
|
| |
some platforms.
|
|
|
|
| |
Helmut Giese. [Bug 700011]
|
|
|
|
|
|
|
| |
* tests/ioCmd.test: Define a fcopy constraint and add
it to the constraint list of any test that depends
on the fcopy command. This is only useful to
Jacl which does not support fcopy.
|
|
|
|
|
|
| |
instead of *.out so that when they are removed later,
we don't accidently toast any files named *.out that
the user has created in the build directory.
|
|
|
|
| |
and atime on 64-bit platforms. [Bug #698146]
|
|
|
|
| |
out of a couple of tests.
|
|
|
|
|
|
| |
it to the constraint list of any test that depends
on the fileevent command. This is only useful to
Jacl which does not support fileevent.
|
|
|
|
|
|
| |
it to the constraint list of any test that creates
a pipe using the open command. This is only useful to
Jacl which does not support pipes.
|
|
|
|
|
| |
* tests/utf.test (utf-25.*): properly compare Unicode strings of
different case in a case insensitive manner. [Bug 699042]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If there is data buffered in the statePtr->curOutPtr
member then set the BUFFER_READY flag in Tcl_Seek.
This is needed so that the next call to FlushChannel
will write any buffered bytes before doing the seek.
The existing code would set the BUFFER_READY flag
inside the Tcl_OutputBuffered function. This was a
programming error made when Tcl_OutputBuffered
was originally created in CVS revision 1.35. The
setting of the BUFFER_READY flag should not have
been included in the Tcl_OutputBuffered function.
* generic/tclTest.c (TestChannelCmd): Use the
Tcl_InputBuffered and Tcl_OutputBuffered
util methods to query the amount of buffered
input and output.
|
|
|
|
|
|
|
|
|
|
| |
nextAdded member of the ChannelBuffer to the
nextRemoved member to determine if any output
has been buffered. The previous check against
the value 0 seems to have just been a coding
error. See other methods like Tcl_OutputBuffered
for examples where nextAdded is compared to
nextRemoved to find the number of bytes buffered.
|
|
|
|
|
|
|
|
|
|
| |
the eol pointer has not gone past the end
of the string when in auto translation
mode and the INPUT_SAW_CR flag is set.
The previous code worked because the
end of string value \0 was being compared
to \n, this patch just skips that pointless
check.
|
|
|
|
|
|
|
|
|
| |
Tcl_GetsObj, ReadBytes): Rework calls to
TranslateOutputEOL to make it clear that
a boolean value is being returned.
Add some comments in an effort to make
the code more clear. This patch makes
no functional changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Invoke the Tcl_SetChannelBufferSize method
as a result of changing the -buffersize
option to fconfigure. The previous
implementation used some inlined code that
reset the buffer size to the default size
instead of ignoring the request as
implemented in Tcl_SetChannelBufferSize.
* tests/io.test: Update test case so that
it actually checks the implementation of
Tcl_SetChannelBufferSize.
|
| |
|
| |
|
|
|
|
|
| |
case. There's room for improvement in the future, of course. [Patch #644819]
Also adds another macro to help with jump offset fixups.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: Tcl to 8.5a0.
* library.init.tcl:
* mac/README:
* macosx/Tcl.pbproj/project.pbxproc:
* tests/basic.test:
* tools/configure.in:
* tools/tcl.hpj.in:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/README:
* win/README.binary:
* win/configure.in:
* win/makefile.bc:
* win/makefile.vc:
* win/tcl.m4:
* tools/configure: autoconf
* unix/configure:
* win/configure:
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclIOUtil.c (TclNewFSPathObj): on TCL_PLATFORM_MAC,
skip potential directory separator at the beginning of addStrRep.
* mac/tclMacChan.c (OpenFileChannel, CommonWatch): followup
fixes to cut and splice implementation for file channels.
* mac/tclMacFile.c (TclpUtime): pass native path to utime().
* mac/tclMacFile.c (TclpObjLink): correctly implemented creation
of alias files via new static proc CreateAliasFile().
* mac/tclMacPort.h: define S_ISLNK macro to fix stat'ing of links.
* mac/tclMacUtil.c (FSpLocationFromPathAlias): fix to enable
stat'ing of broken links.
|
| |
|
|
|
|
| |
d to g in rules.vc.
|
|
|
|
| |
d to g in rules.vc.
|