| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
But ... don't use this function when the result is only compared to NULL: that's just overkill.
|
|\ |
|
| |\
| | |
| | | |
Provide compatibility macro's, compensating for the internal stub table change, so Itcl 3.4 builds again. Thanks to Don Porter for bringing this to my attention!
|
| | |
| | |
| | |
| | | |
is a Tcl internal type, extensions shouldn't be able to convert their own Tcl_Obj to this. This shouldn't have been exposed to begin with. Tcl itself never calls it this way.
|
|\ \ \
| |/ / |
|
| |\ \ |
|
| | |\ \
| | | |/
| | |/| |
|
| | |/
| |/| |
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | | |
tclLink.c, since its size is equal to either 'int' or 'Tcl_WideInt'. This enhances interoperabilty between win64 extensions loaded in cygwin64 using Tcl_LinkVar(), whill still being 100% compatible.
init.tcl: unnecessary spacing.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/
| | |
| | | |
GetInvalidIntFromObj() when Tcl_GetIntFromObj() fails.
|
| | |
| | |
| | |
| | | |
GetInvalidIntFromObj() when Tcl_GetIntFromObj() fails.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/
| | | |
Minor code clean-up. No functional changes.
|
| | |
| | |
| | |
| | | |
Don't use TCL_NO_DEPRECATED for disabling tests-cases: Those were not deprecated in 8.6 yet.
Minor code clean-up. No functional changes.
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | | |
this). No functional changes.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/
| | |
| | | |
Tcl_LinkVar toleranto to the empty string as well
|
| | |\
| | | |
| | | |
| | | | |
Tcl_LinkVar toleranto to the empty string as well
|
| | | |
| | | |
| | | |
| | | | |
Tcl_LinkVar toleranto to the empty string as well
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | |/ / |
|
| | |\ \
| | | |/ |
|
| | | |
| | | |
| | | |
| | | | |
Test-case for that as well.
|
| | | |
| | | |
| | | |
| | | | |
start of a valid real number.
|
| | | |
| | | |
| | | |
| | | | |
don't allow booleans in integer context.
|
| | | |\
| | | | |
| | | | | |
Proposed fix for [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e], which doesn't need modifications to Double/Integer valid string representations.
|
| | | | |\
| | | | | |
| | | | | |
| | | | | | |
the "." for doubles and floats.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e]: Tcl_LinkVar is not tolerant to minus, plus, dot.
This handled minus and plus only, not other possible errors. Will need a TIP, because the boolean type is extended to consider '-', '+' and 'o' (necessary for being able to type 'on' or 'off') as valid booleans
Dot, and integer prefixes (such as 0x) not handled yet, should be handled completely different.
|
|\ \ \ \ \ \
| |/ / / / / |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | | |
TclNewLongObj is just as good.
|
| |\ \ \ \
| | |/ / /
| | | | /
| | |_|/
| |/| | |
don't set an error in the interp during LinkTraceProc(): The error is supposed to be reported as return value of this function, not the interp.
|
| | |\ \
| | | |/
| | | |
| | | | |
don't set an error in the interp during LinkTraceProc(): The error is supposed to be reported as return value of this function, not the interp.
|
| | | |
| | | |
| | | |
| | | | |
don't set an error in the interp during LinkTraceProc(): The error is supposed to be reported as return value of this function, not the interp.
|
|\ \ \ \
| |/ / / |
|
| |/ /
| | |
| | |
| | | |
in many places where possible.
|
|/ / |
|
| |
| |
| |
| | |
Tcl_VarTraceInfo2 conversions.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| | |
rest of Tcl source code. No ABI change. API change *should* be harmless.
|
|\ \
| |/
| | |
cause more harm than good. Purged them (except in zlib files).
|
| |\
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | | |
unlinked. [Bug 1740631] (maros)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdMZ.c (Trace*Proc): Update Tcl_VarTraceProcs so
* generic/tclLink.c (LinkTraceProc): that they call
* generic/tclUtil.c (TclPrecTraceProc): Tcl_InterpDeleted() for
themselves, and do not rely on (frequently buggy) setting of the
TCL_INTERP_DESTROYED flag by the trace core.
* generic/tclVar.c: Update callers of CallVarTraces to not
pass in the TCL_INTERP_DESTROYED flag. Also apply filters so that
public routines only pass documented flag values down to lower level
routines.
* generic/tclVar.c (CallVarTraces): The setting of the
TCL_INTERP_DESTROYED flag is now done entirely within the
CallVarTraces routine, the only place it can be done right.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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.
|