| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
FossilOrigin-Name: 0b4ce29050f3a92481c073d03bae5e44ec4bf790
|
|
|
|
|
|
|
|
|
|
|
|
| |
data types in an effort to silence a MSVC warning reported by
Ashok P. Nadkarni. Unable to test, since both forms work on
my machine in VC2005, 2008. 2010, in both release and debug
builds.
* tests/tclTest.c (TestdstringCmd): Restored MSVC buildability
broken by [5574bdd262], which changed the effective return type
of 'ckalloc' from 'char*' to 'void*'.
FossilOrigin-Name: 2404226f31cf06ee5a8f0ade441c3f698b2c29ec
|
|
|
|
|
| |
rest of Tcl source code. No ABI change. API change *should* be harmless.
FossilOrigin-Name: 5574bdd262b2672cde48771787370c12854cecf4
|
|
|
| |
FossilOrigin-Name: 31c07eaf3ffbed129cd2e4c471b32fbe5139c768
|
|
|
| |
FossilOrigin-Name: dbebe038215e1a26e0d55b7c08d0d20ce820b6af
|
|\
| |
| |
| |
| | |
cause more harm than good. Purged them (except in zlib files).
FossilOrigin-Name: c64f310d38b977e7ae26a48bcf8bb8c50e453af7
|
| |\
| | |
| | |
| | |
| | | |
more harm than good. Purged them.
FossilOrigin-Name: 79367df0f0e01a96f037f893e889e7cb9b807847
|
| | |
| | |
| | |
| | |
| | | |
more harm than good. Purged them.
FossilOrigin-Name: 90b4acd7bdab65433169a232124967885c18d972
|
| | |
| | |
| | | |
FossilOrigin-Name: a7270a4413b7a7ba80882c09e9496682533e8200
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclTest.c: TclCheckInterpTraces that led to infinite loop
* tests/basic.test: when multiple Tcl_CreateTrace traces were set and
one of them did not fire due to level restrictions. [Bug 1743931].
FossilOrigin-Name: a32f24e76c41ce5cac687595ad2450339b8cc8f8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclBasic.c: Define TCL_TIP268 to activate the new
* generic/tclDecls.h: features.
* generic/tclInt.h:
* generic/tclPkg.c:
* generic/tclStubInit.c:
* generic/tclTest.c:
* library/init.tcl
* library/package.tcl:
* tests/pkg.test:
* tests/platform.test:
* tests/safe.test:
* doc/PkgRequire.3:
FossilOrigin-Name: 78a272c42aaf7c6c9472f55bef7a82605b1cc2c6
|
| | |
| | |
| | | |
FossilOrigin-Name: 8d880bc7eb889c08da3fa059f52c904be5dabdf4
|
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclTest.c: false due to limited range of data type".
FossilOrigin-Name: d3f02d4f628fee2d6a881ed9446f0342c8f73386
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclBinary.c:
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclExecute.c:
* generic/tclLink.c:
* generic/tclMain.c:
* generic/tclProc.c:
* generic/tclScan.c:
* generic/tclTest.c:
* generic/tclVar.c:
* mac/tclMacInit.c:
* unix/tclUnixInit.c:
* win/tclWinInit.c: Insure that the core never calls TclPtrSetVar,
Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref
new value. It is not possible to handle error returns correctly in
that case [Bug 1334947], one has the choice of leaking the object
in some cases, or else risk crashing in some others.
FossilOrigin-Name: 8761ab798f625b66cadb3eaf8fafdedce6553a02
|
| | |
| | |
| | | |
FossilOrigin-Name: 6e5e508723daff31b783eec0c6692f85b91cb95d
|
| | |
| | |
| | | |
FossilOrigin-Name: c2bd8d6b0e3a442c7f3670aa86bbe00d544bede3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclTest.c (TestcmdtraceCmd): implementation introduced a
* tests/basic.test (basic-39.10): bug by testing the CallFrame
level instead of the iPtr->numLevels level when deciding what traces
created by Tcl_Create(Obj)Trace to call. Added test to expose the
error, and made fix. [Request 462580]
FossilOrigin-Name: af732ef905064138b979d8b449ff93b52626e8db
|
| | |
| | |
| | | |
FossilOrigin-Name: a5c4c97273776d5339eb893bcf180b1dff1da518
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclTest.c: to Pavel Goran and Vince Darley.
* tests/reg.test: [Bugs 230589, 504785, 505048, 703709, 840258]
FossilOrigin-Name: c65f2053072527de36f5761d73ff0aa01cb2e395
|
| | |
| | |
| | | |
FossilOrigin-Name: 3cf3288b1bfd0bc37a0a27b7494f8213380d2ca1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
functions. See below for context.
(Tcl_FSMatchInDirectory): Modified to call on the new functions
(above) to handle the mountpoints in the glob'bed directory
correctly. Part of the patch by Vincent Darly to solve the
[Bug 800106] for the 8.4.x series.
* generic/tcl.h (TCL_GLOB_TYPE_MOUNT): New definition. Part of the
patch by Vincent Darly to solve [Bug 800106] for the 8.4.x series.
FossilOrigin-Name: a16319b2a6704b8177bb4d150a2990c6a44d161d
|
| | |
| | |
| | |
| | |
| | |
| | | |
because of a negative 'length' parameter. [Bug 769812]
FossilOrigin-Name: 257a93c349af03b8547b9f19208bc34c7e5ceebd
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclObj.c is defined on all platforms, even those where
* generic/tclPort.h TCL_WIDE_INT_IS_LONG is defined. Also made
the Tcl_Value struct have a wideValue field on all platforms. This is
a ***POTENTIAL INCOMPATIBILITY*** for TCL_WIDE_INT_IS_LONG platforms
because that struct changes size. This is the same TIP 72
incompatibility that was seen on other platforms at the 8.4.0 release,
when this change should have happened as well. [Bug 713562]
* generic/tclInt.h: New internal macros TclGetWide() and
TclGetLongFromWide() to deal with both forms of the "wideInt"
Tcl_ObjType, so that conditional TCL_WIDE_INT_IS_LONG code
is confined to the header file.
* generic/tclCmdAH.c: Replaced most coding that was conditional
* generic/tclCmdIL.c: on TCL_WIDE_INT_IS_LONG with code that
* generic/tclExecute.c: works across platforms, sometimes using
* generic/tclTest.c: the new macros above to do it.
* generic/tclUtil.c:
* generic/tclVar.c:
FossilOrigin-Name: 4657eb7ea0eed71ec0569f92079583a33c22ba62
|
| | |
| | |
| | |
| | |
| | |
| | | |
discovered thanks to [Bug 3159920]
FossilOrigin-Name: 6dd03122dc74cf6362ce00d9d5bb5e404775033f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclInt.h: the Tcl Head, with help from Jeff Hobbs.
* generic/tclStrToD.c:
* generic/tclTest.c:
* generic/tclTomMath.decls:
* generic/tclUtil.c:
* tests/util.test:
* unix/Makefile.in:
* win/Makefile.in:
* win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits
that (a) fixes a severe performance problem with floating point
shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits
to generate the digit strings for 'e' and 'f' format, so that it
can be used for tcl_precision != 0 (and possibly later for [format]),
(c) fixes [Bug 3120139] by making TclPrintDouble inherently
locale-independent, (d) adds test cases to util.test for
correct rounding in difficult cases of TclDoubleDigits where fixed-
precision results are requested. (e) adds test cases to util.test for
the controversial aspects of [Bug 3105247]. As a side effect, two
more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c)
are brought into the build, since the new code uses them.
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
* generic/tclTomMathDecls.h: Regenerated.
FossilOrigin-Name: 769801ace1040dc40a1bcbc3f02ea15b8258c8fb
|
| | |
| | |
| | | |
FossilOrigin-Name: 06225631a6d758af5a9e44de1f0a00340d571065
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
backported from HEAD. Still
configure script not modified,
so CYGWIN build is still
disabled. Reason: although the
build succeeds with those changes,
many tests still fail.
FossilOrigin-Name: ad7cfb6ee36931026975da528ab9dbb097c78aa8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Formatting (all backported from HEAD)
Fix gcc 4.4 warning: ignoring return value of ‘write’,
FossilOrigin-Name: 998a6284726b89d779e45a9dffe5a03d610fc2b3
|
| | |
| | |
| | | |
FossilOrigin-Name: 29ecdb9e47dde11c7dfdb6c6ac4ba99d9f3cffb9
|
| | |
| | |
| | | |
FossilOrigin-Name: f1b36a4349192107f7a25f464f0ee847b881c902
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
TclInvalidateStringRep macro.
[Bug 2057479]
FossilOrigin-Name: 9034e25f9fab903e22eec47d531344d63cd99611
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclUtil.c (Tcl_ConcatObj):
* tests/util.test (util-4.7):
fix [Bug 1447328]; the original "fix" turned Tcl_ConcatObj() into
a hairy monster. This was exposed by [Bug 2055782]. Additionally,
Tcl_ConcatObj could corrupt its input under certain conditions!
*** NASTY BUG FIXED ***
FossilOrigin-Name: 01147b1a842c1c650cc89d0b30bf03bc2423b614
|
| | |
| | |
| | |
| | |
| | |
| | | |
discovered thanks to [Bug 3159920]
FossilOrigin-Name: 964a1a5a57cc4c71eb25da444d9f804bac32e8d4
|
| | |
| | |
| | |
| | |
| | |
| | | |
fix gcc(-4.5.2) warning: 'static' is not at beginning of declaration
FossilOrigin-Name: 10b83db14ed5883178f726096ac9c95ecf489e73
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclInt.decls:
* generic/tclInt.h:
* generic/tclStrToD.c:
* generic/tclTest.c:
* generic/tclTomMath.decls:
* generic/tclUtil.c:
* tests/util.test:
* unix/Makefile.in:
* win/Makefile.in:
* win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits
that (a) fixes a severe performance problem with floating point
shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits
to generate the digit strings for 'e' and 'f' format, so that it
can be used for tcl_precision != 0 (and possibly later for [format]),
(c) fixes [Bug 3120139] by making TclPrintDouble inherently
locale-independent, (d) adds test cases to util.test for
correct rounding in difficult cases of TclDoubleDigits where fixed-
precision results are requested. (e) adds test cases to util.test for
the controversial aspects of [Bug 3105247]. As a side effect, two
more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c)
are brought into the build, since the new code uses them.
FossilOrigin-Name: 5986a2c42150954ab16a9a9ca388db3c6fd2f99f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdIL.c: update): a saner NRE.
* generic/tclCompExpr.c:
* generic/tclCompile.c: This makes TclNRExecuteByteCode
* generic/tclCompile.h: (ex TEBC) to be a normal NRE
* generic/tclExecute.c: citizen: it loses its special status.
* generic/tclInt.decls: The logic flow within the BC engine is
* generic/tclInt.h: simplified considerably.
* generic/tclIntDecls.h:
* generic/tclObj.c:
* generic/tclProc.c:
* generic/tclTest.c:
FossilOrigin-Name: 56c0f34285323c689b17fa61b812db8da24cdf56
|
| | |
| | |
| | |
| | |
| | | |
3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry
FossilOrigin-Name: 0ca694ea6522833fe5c429c99b8a6b4c0e554589
|
| | |
| | |
| | | |
FossilOrigin-Name: ddfa77fa40d107fff8b4478d78df4772d0701640
|
| | |
| | |
| | | |
FossilOrigin-Name: 586991963c3ab03f7756442fa5bd3f944e4bdfe4
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
pointers.
Fix double declaration of TclNativeDupInternalRep
FossilOrigin-Name: bb4a12448bcecb18222b82374565ecea83c07bc1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Applied missing part of [Patch 2961556]
Change all tclWinProcs signatures to use
TCHAR* in stead of WCHAR*. This is meant
as preparation to make [Enh 2965056]
possible at all.
FossilOrigin-Name: 0ccb7b21a9b847a905c64007fa9a710194b59c65
|
| | |
| | |
| | |
| | |
| | |
| | | |
test that tommath stubs are present in stub library
FossilOrigin-Name: 04bac2f3470807c3d89873e7a83fd9649d13a739
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
speed-up of ouster-hash function.
Eliminate various unnecessary (ClientData)
type casts.
FossilOrigin-Name: b28fef8499c8d600688681143264f48ed28a8ead
|
| | |
| | |
| | | |
FossilOrigin-Name: c81eddebbb969209a42ab4c210dd62f3080909d4
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
are in the global stub table.
Use @EXEEXT@ in stead of @EXT_SUFFIX@
Use -DBUILD_tcl in Makefile for CYGWIN
Use EXTERN to control CYGWIN exported symbols
Remove some unnecessary type casts.
FossilOrigin-Name: ede6fe7b2094c4f981ad7e13174d2afb9064e904
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Eliminate the need for an extra Stubs Pointer
for adressing a static stub table: Just change
the exported table from static to MODULE_SCOPE.
FossilOrigin-Name: b809fb2cbc1d415f61219d9c1b019d552efde765
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
declared with attribute warn_unused_result
CONSTify functions TclpGetUserHome and
TclSetPreInitScript (TIP #27)
FossilOrigin-Name: e52afe7fa4a7ade909410cfb737f1f7bbe6c201a
|
| | |
| | |
| | | |
FossilOrigin-Name: d1d07b5a23328aa59d6ee68ae1464f750ab99316
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
sure that Xxxxx_Init is always exported even when Tcl is built
static (otherwise we cannot create a DLL).
tclThreadTest.c: Make all functions static, except TclThread_Init.
fCmd.test Enable fCmd-30.1 when registry is available.
tcl.m4 Fix ${SHLIB_LD_LIBS} definition, fix conflicts
configure.in between static libraries and import library on windows.
configure (regenerated)
Makefile.in Simplifications related to tcl.m4 changes.
FossilOrigin-Name: 0f53c33f6377e38993f5f9cd89f7065e94f002ee
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix safe-10.1 and safe-10.4 test cases,
making the wrong assumption that Tcltest
should be a static package.
FossilOrigin-Name: a1f10986608de4cd38028374e1936207c6142206
|