| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
CVS snapshots from the 8.4a3 release. This does not necessarily
mean there will be an 8.4a4 release. [Bug 448938].
FossilOrigin-Name: 599ec8bcb761e577362f699bf9588106e0e9861c
|
|
|
|
|
|
|
|
|
| |
guide.
* generic/tclFCmd.c (FileCopyRename): fixed mem leak in
introduction of vfs code where a new Tcl_Obj wasn't freed.
FossilOrigin-Name: 7a8f69b47b0cb8165099a51f5427df749accb44c
|
|
|
|
|
|
|
| |
reordered the retrieval of arguments to avoid shimmering bug when
the pattern and string referenced the same object.
FossilOrigin-Name: 3e61e33896af87918a4e2a2235c9558f3e0d98d7
|
|
|
|
|
|
|
| |
* generic/tclIOCmd.c (Tcl_GetsObjCmd): Applied patch from SF item
[442665] to fix the bug reported by it.
FossilOrigin-Name: 29ddd6bb07b25751a04915704d33eacab3b027b5
|
|
|
|
|
|
|
| |
package arguments it receives, not stopping when a package is
not found. [Bug 415273]
FossilOrigin-Name: bae87bd0068ae118d52a5412f8e5d9dd1839de79
|
|
|
|
|
|
| |
uninitialized value.
FossilOrigin-Name: 92e08470094e3348272042bda4a07d97e7d28d42
|
|
|
|
|
|
|
|
|
|
| |
* win/tclWinPort.h:
Revert <tchar.h> related changes made to improve
Cygwin support on 2001-07-18. This change ended
up breaking the VC++ build because of conflicts
between Windows APIs and internal Tk APIs.
FossilOrigin-Name: 5e4792ac7a8977d948af62bea600a3649bd8429e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following files were impacted.
* doc/Access.3:
* doc/FileSystem.3:
* doc/OpenFileChnl.3:
* doc/file.n:
* doc/glob.n:
* generic/tcl.decls:
* generic/tcl.h:
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclDate.c:
* generic/tclDecls.h:
* generic/tclEncoding.c:
* generic/tclFCmd.c:
* generic/tclFileName.c:
* generic/tclGetDate.y:
* generic/tclIO.c:
* generic/tclIOCmd.c:
* generic/tclIOUtil.c:
* generic/tclInt.decls:
* generic/tclInt.h:
* generic/tclIntDecls.h:
* generic/tclLoad.c:
* generic/tclStubInit.c:
* generic/tclTest.c:
* generic/tclUtil.c:
* library/init.tcl:
* mac/tclMacFCmd.c:
* mac/tclMacFile.c:
* mac/tclMacInit.c:
* mac/tclMacPort.h:
* mac/tclMacResource.c:
* mac/tclMacTime.c:
* tests/cmdAH.test:
* tests/event.test:
* tests/fCmd.test:
* tests/fileName.test:
* tests/io.test:
* tests/ioCmd.test:
* tests/proc-old.test:
* tests/registry.test:
* tests/unixFCmd.test:
* tests/winDde.test:
* tests/winFCmd.test:
* unix/mkLinks:
* unix/tclUnixFCmd.c:
* unix/tclUnixFile.c:
* unix/tclUnixInit.c:
* unix/tclUnixPipe.c:
* win/tclWinFCmd.c:
* win/tclWinFile.c:
* win/tclWinInit.c:
* win/tclWinPipe.c
FossilOrigin-Name: 9461aca54800a289624dfe39d333e41e20168ac3
|
|
|
|
|
|
|
|
|
|
|
|
| |
windows.h instead of tchar.h since Cygwin does not
support the tchar.h header. Include CHECK_UNICODE_CALLS
logic from tclWinPort.h.
* win/tclWinPort.h: Remove CHECK_UNICODE_CALLS logic.
Remove include of windows.h since this now done it
tclPlatDecls.h.
* win/tclWinReg.c: Remove duplicate include of windows.h.
FossilOrigin-Name: 750a94af1da9e3de8c5a743d05420417ebcc8e71
|
|
|
|
|
|
|
|
|
| |
* generic/tclIO.c: Aftermath to [SF #427196]. Squash empty buffers
if they are smaller than the requested buffersize, to prevent
reusage of old buffers and to honor changes in the requested
buffersize made by the user.
FossilOrigin-Name: f732d07f7943bce22d508ef1151dfe1a67478fb7
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclIO.c (GetInput): Fixed [SF #427196]. Memory was
overwritten because a buffer was used after a change of the
requested buffersize together with that requested buffersize and
not its actual size, which was smaller. Note that the continous
reuse of the smaller buffer negatively impacts performance. The
system never allocates a buffer with the newly requested bigger
buffersize.
FossilOrigin-Name: c3fafed4c209104cc9d4f50e66c13b941e7005dc
|
|
|
|
|
|
|
|
|
| |
__CYGWIN__ or __MINGW32__ is defined.
* generic/tclAlloc.c: Define caddr_t when
compiling with VC++ or mingw. This type is
already defined when compiling with Cygwin.
FossilOrigin-Name: 61cfc6bb3b50f61dadc5d363f057b6b6e502dd9c
|
|
|
|
|
|
| |
#defined in generic/tclScan.c. (porter) [Bug 441230]
FossilOrigin-Name: c09c476a2f7c80a2fc1fa210fdd37dadd1c60356
|
|
|
|
|
|
|
| |
handling and improved documentation for the subst command (in my
capacity as maintainer of the Commands M-Z functional area.)
FossilOrigin-Name: ea6ab47ee7480478f9483420f0c5ea3053d28cf4
|
|
|
|
|
|
|
| |
* generic/tclVar.c (Tcl_VariableObjCmd): added patch to check for
number of args. [Patch #426038]
FossilOrigin-Name: 1e4a59710d9858c6a81fe86dc6fd80e6e392b180
|
|
|
|
|
|
|
|
| |
flag to INST_LAPPEND(_ARRAY)_STK case to trigger read traces for
newly created arrays. Removed unnecessary #ifdef for
TCL_COMPILE_DEBUG in INST_LOAD_SCALAR1 case.
FossilOrigin-Name: 6a80a5463bd1b0b08690906f366949fe9a31c028
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TCL_TRACE_READS flags to cause creation of part1 in TclLookupVar
to make sure newly created array will get read traces triggered
appropriately. This is called by Tcl_ObjGetVar2, Tcl_GetVar, and
Tcl_GetVar2.
(TclSetIndexedScalar, TclSetElementOfIndexedArray): added read
trace triggering for lappend case.
(Tcl_LappendObjCmd): pass TCL_TRACE_READS to Tcl_ObjGetVar2 to
trigger possible read traces for new arrays.
FossilOrigin-Name: cdb24ed9699632f1c38b5d2e8445dbe8f5910caf
|
|
|
|
|
|
|
| |
* generic/tclUtil.c (Tcl_ConcatObj): Corrected walking backwards
over utf-8 chars. [Bug #227512]
FossilOrigin-Name: 8ee4571bc620e35190a9217409e007663b749a6a
|
|
|
| |
FossilOrigin-Name: 29a438a54a906ac6e599e3655857d69507527bf5
|
|
|
|
|
|
|
|
|
| |
* generic/tclObj.c:
* unix/Makefile.in: added a -DPURIFY mode that makes Tcl_Obj's
allocated and free singularly (instead of in alloc in blocks and
never free) to allow checkers like Purify to operate better.
FossilOrigin-Name: c8e42a8b01536abb5c2baf86413bcfb58732becd
|
|
|
|
|
|
|
| |
* generic/tclUtf.c (Tcl_UtfBackslash): Corrected backslash
handling of multibyte utf-8 chars. [Bug #217987]
FossilOrigin-Name: 7eba85bf31a83498778ba7f6ea29b16595eda024
|
|
|
|
|
|
| |
info procs that created objects without using them.
FossilOrigin-Name: 55fb744f1f134d320bae32513e010884c78a8876
|
|
|
|
|
|
| |
string command failed to parse the subcommand.
FossilOrigin-Name: 2c3687f91b2945c75ffc3d915e4b1431d52091cc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h:
* generic/tclPanic.c (Tcl_PanicVA):
* mac/tclMacAppInit.c (main):
* mac/tclMacPanic.c (TclpPanic):
* unix/tclUnixPort.h:
* win/tclWinPort.h: Replaced TclMacSetPanic with TclpPanic
for setting a platform-specific panic handler. TclpPanic
is NULL on Unix and Windows. Fixes broken wish on Mac due
to earlier patches. [Patch 415648]
* generic/tclIntPlatDecls.h:
* generic/tclStubInit.c: `make gentubs` after above changes.
FossilOrigin-Name: 0a5ecd45a142251ebb54658ab941b696e8cdf3d3
|
|
|
| |
FossilOrigin-Name: f2e4ec3026f4c29c17aa6c425cd9b2fa36a85cc0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.decls:
* generic/tclPanic.c: Added CONST to Tcl_*Panic* public interfaces.
[Patch 415648, TIP 27]
* generic/tclInt.decls:
* mac/tclMacAppInit.c (main):
* mac/tclMacBOAAppInit.c (main):
* mac/tclMacPanic.c: Modified special Mac implementations of
Tcl_*Panic* to be exact copies of the generic implementations.
Added TclMacSetPanic. The generic implementations should be
used directly, rather than copies, but that requires further
changes by someone familiar with the Mac build systems.
[Patch 415648]
* generic/tclDecls.h:
* generic/tclIntPlatDecls.h:
*`generic/tclStubInit.c: `make gentubs` after above changes.
* doc/Panic.3:
* unix/mkLinks: New file documenting Tcl_*Panic* public interfaces,
followed by `make mklinks`. [Patch 415648, Bug 219170, Bug 414936]
FossilOrigin-Name: 75dd12c4bf756936e2fe52221817ad6afe6b263a
|
|
|
|
|
|
| |
extra strlen call. [Bug #428572]
FossilOrigin-Name: d439e36fe86e91e3e08a9ec1154c5255cdc79abd
|
|
|
| |
FossilOrigin-Name: 22392a728ee7e898ac4d39fe6dc3e91f06d86c5b
|
|
|
| |
FossilOrigin-Name: 7ffaef4d549de93de979dd568f2be81570da4eaf
|
|
|
| |
FossilOrigin-Name: 111a5c5b891beb8653c62228525356546e26f99d
|
|
|
|
|
|
|
|
|
| |
Unicode v3.1.0 compliance.
* generic/tclUniData.c: regenerated from Unicode v3.1.0 data file
(new as of 2001-05-16). This brings Tcl to current unicode
compliance.
FossilOrigin-Name: 07fa5ce75a13302eb638d661f4d3445fe643dbf0
|
|
|
| |
FossilOrigin-Name: 730cd270f40868e988650a5519390091adc56626
|
|
|
|
|
|
|
|
| |
objSizePlusPadding to use sizeof(Tcl_Obj) (max)
Corrected use of tclObjsAlloced/Freed/Shared in TCL_MEM_DEBUG
compile.
FossilOrigin-Name: f800a4ff5ab5d4ec3349af33174a8e29cf51c048
|
|
|
| |
FossilOrigin-Name: e6bca92e885259b4c7e5c2a7bfbf8ce8857dcf42
|
|
|
|
|
|
| |
Tcl_GetUnicodeFromObj.
FossilOrigin-Name: 13a1b0b7fc5745f67b6800f3f7299ddc9050c902
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
performance benchmarks for [fcopy] too.
* doc/fcopy.n: Updated to reflect the extended behaviour of 'fcopy'.
* tests/io.test: Added tests 'io-52.9', 'io-52.10' and 'io-52.11'
to test the handling of encodings by 'fcopy' / 'TclCopychannel'
[Bug #209210].
* generic/tclIO.c: Split of both 'Tcl_ReadChars' and
'Tcl_WriteChars' into a public error checking and an internal
working part. The public functions now use the new internal
ones. The new functions are 'DoReadChars' and 'DoWriteChars'.
Extended 'CopyData' to use the new functions 'DoXChars' when
required by the encodings on the input and output channels
[Bug #209210].
FossilOrigin-Name: cff0564319e6d5906699199ba548d377c95e6909
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
command initialization.
* generic/tclCompCmds.c: added new compile commands for append,
lappend, lindex and llength. Refactored set and incr compile
commands to use new TclPushVarName function for handling the
varname component during compilation (also used by append and
lappend). Changed string compile command to compile toplevel code
as well (when possible).
* generic/tclCompile.c: added new instruction enums
* generic/tclCompile.h: added debug info for new instructions
* generic/tclExecute.c (TclExecuteByteCode): moved elemPtr to
toplevel var (oft-used). Added definitions for new bytecode
instructions INST_LIST_INDEX, INST_LIST_LENGTH, INST_APPEND_SCALAR1,
INST_APPEND_SCALAR4, INST_APPEND_ARRAY1, INST_APPEND_ARRAY4,
INST_APPEND_ARRAY_STK, INST_APPEND_STK, INST_LAPPEND_SCALAR1,
INST_LAPPEND_SCALAR4, INST_LAPPEND_ARRAY1, INST_LAPPEND_ARRAY4,
INST_LAPPEND_ARRAY_STK, INST_LAPPEND_STK.
Refactored repititious code for reuse with INST_LOAD_STK (same as
INST_LOAD_SCALAR_STK), INST_STORE_STK (same as
INST_STORE_SCALAR_STK).
Updated INST_STR_CMP with style of fix of 2001-04-06 Fellows
[Bug #219201] as that fix only affected the runtime eval'ed
"string" (string compare is normally byte-compiled now). We
may want to back these out for speed in the future, noting the
problems with \x00 comparisons in the docs.
* generic/tclInt.h: declarations for new compile commands.
* generic/tclVar.c: change TclGetIndexedScalar,
TclGetElementOfIndexedArray, TclSetElementOfIndexedArray and
TclSetIndexedScalar to use flags. The Set functions now support
TCL_APPEND_ELEMENT and TCL_LIST_ELEMENT as well.
* generic/tclInt.decls:
* generic/tclIntDecls.h: minor signature changes for above.
FossilOrigin-Name: a63c0633e9ec7825ed92abf8aaa6fbe116d0f690
|
|
|
| |
FossilOrigin-Name: f77d8a82518c971cfd9719c575c55b5406be616d
|
|
|
|
|
|
|
|
|
| |
* generic/tclDecls.h:
* generic/tclStubInit.c:
* generic/tclStringObj.c (Tcl_GetUnicodeFromObj): new function to
parallel Tcl_GetStringFromObj (fix of an API oversight).
FossilOrigin-Name: fe1162706a0fd97cfb21c9e2db70be2c41bc50f2
|
|
|
| |
FossilOrigin-Name: 4134b9c3d44e5548024dc14df7ce6da55f64a05c
|
|
|
| |
FossilOrigin-Name: 55d8fa19bf99b4f41e86e5aabcf7965cb61b8792
|
|
|
| |
FossilOrigin-Name: d8f5293bb01a92e4d23206a6906260aeefca4ed9
|
|
|
| |
FossilOrigin-Name: 679d116ef39e6e5c418da92ecf28583df16d4c80
|
|
|
| |
FossilOrigin-Name: 1b1c7f5a8667bd0b6ef566c53b71f400e87dd7f3
|
|
|
| |
FossilOrigin-Name: 0d69de502723e66c209241d6c3dc073458ac946c
|
|
|
|
|
|
| |
using TclGetNamespaceForQualName from the (Solaris8) SUNWspro cc.
FossilOrigin-Name: 4df1ba8b19d6eab1ec4f7d43b15ffbfc7b309fbe
|
|
|
|
|
|
|
|
|
|
|
| |
time adding CONST to the API's exported from tclBasic.c.
[Patch #415179]
***POTENTIAL INCOMPATIBILITY*** from 8.4a2, in which Vince
Darley's changes to command tracing were added. A const has been
added to the type signature of one of the parameters to
Tcl_CommandTraceProc.
FossilOrigin-Name: 2d62b07770c481a983f09145ea7e5a43f63c1d16
|
|
|
|
|
|
| |
[Bug #217777]
FossilOrigin-Name: 738883f61ad960098bf74145124ac2b135bf7553
|
|
|
|
|
|
| |
[Bug #406709, Patch #414470]
FossilOrigin-Name: 37a039f67315fb84f09ca672b738e91067fd0648
|
|
|
| |
FossilOrigin-Name: be05dac289c878a93efbe98a94e422df3cf27f48
|