| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
rest of Tcl source code. No ABI change. API change *should* be harmless.
FossilOrigin-Name: 5574bdd262b2672cde48771787370c12854cecf4
|
|\
| |
| |
| |
| | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/indexObj.test: there are extensions that rely on the prior
* doc/GetIndex.3: behavior that the empty string cannot succeed
as a unique prefix matcher, so I'm restoring Donal Fellow's solution.
Added mention of this detail to the documentation. [Bug 1464039]
FossilOrigin-Name: aac13e1a469e70a6d61c82fc810918c31c129d9d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
strings to be matched by the Tcl_GetIndexFromObj machinery, in
the same manner as any other key. [Bug 1464039]
FossilOrigin-Name: 50a49e4b26f2195f5f11e6e255bc63295b79aab6
|
| | |
| | |
| | | |
FossilOrigin-Name: 352ca7cab352f1e6695c8a0f1f4f925b62fcb39b
|
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/indexObj.test: when TCL_EXACT matching is requested.
FossilOrigin-Name: 2a70498b7fc652f40a00726779ace576796e3608
|
| | |
| | |
| | | |
FossilOrigin-Name: ce19ff118e32151ba644bcaaa7aee64c6a20a4eb
|
| | |
| | |
| | | |
FossilOrigin-Name: 38357311b7cdfca8de48d7e05269e3851746b31b
|
| | |
| | |
| | |
| | |
| | |
| | | |
further optimization, making use of indexType.
FossilOrigin-Name: 416a8249cd027578bb7ec52fbf1639e8a22d333d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* use do { ... } while (0) in macros
* avoid shadowing one local variable with another
* use clearer 'foo.bar++;' instead of '++foo.bar;' where result not
required (i.e., semantically equivalent)
* follow Engineering Manual rules on spacing and declarations
FossilOrigin-Name: 4d8a4f639d28df5b5dfabd407be8efbb44454601
|
| | |
| | |
| | | |
FossilOrigin-Name: 7f54d07f0ac029b0e77b739d665115cc875abe6c
|
| | |
| | |
| | |
| | |
| | | |
messages for [::tcl::prefix match].
FossilOrigin-Name: 6f9f9e629d0652c2ed0196b0680786d38d6cc1be
|
| | |
| | |
| | | |
FossilOrigin-Name: c81eddebbb969209a42ab4c210dd62f3080909d4
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
immediately after a function name, so the
format of function definitions in tcl*Decls.h
matches all other tcl*.h header files.
- Change Tcl_ArgvFuncProc, Tcl_ArgvGenFuncProc
and GetFrameInfoValueProc to be function
definitions, not pointers, for consistency
with all other Tcl function definitions.
FossilOrigin-Name: 92924901357b4846fa668b6f5122abf37979693a
|
| | |
| | |
| | | |
FossilOrigin-Name: 8780faf488c79569934af0cd318800d73489137d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: that they set the typePtr field to
* generic/tclIO.c: NULL so that the Tcl_Obj is not left
* generic/tclIndexObj.c: in an inconsistent state.
* generic/tclInt.h: [Bug 2857044]
* generic/tclListObj.c:
* generic/tclNamesp.c:
* generic/tclOOCall.c:
* generic/tclObj.c:
* generic/tclPathObj.c:
* generic/tclProc.c:
* generic/tclRegexp.c:
* generic/tclStringObj.c:
FossilOrigin-Name: c712d7d7bb31719fdaa59e4625f78e004c15dd4e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
flag inside the Tcl_WrongNumArgs function,
so the caller no longer has to do the reset.
FossilOrigin-Name: e1dc3287730505e30fe86e18a24d47767c6674ee
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- some internal const decorations
- spacing
FossilOrigin-Name: 160bcb11525977fb1ee14ae1e09ba9cb60b29920
|
| | |
| | |
| | | |
FossilOrigin-Name: a12728cbb91807a88ca7e1a6e8d4678ca5eee07b
|
| | |
| | |
| | | |
FossilOrigin-Name: d173571652f8f7fc2aaa464c86321db37c6f923d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
examples how it should have been done.
purpose: contribute in the TIP #340 discussion.
FossilOrigin-Name: 8956424338db83843798b810325dcbd246489b5e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdMZ.c: with -Wwrite-strings
* generic/tclIndexObj.c:
* generic/tclProc.c:
* generic/tclStubLib.c:
* generic/tclUtil.c:
FossilOrigin-Name: 675e88f6494cc9ecd7a2b3c7560a836f3c38dc5b
|
| | |
| | |
| | | |
FossilOrigin-Name: 9c2baab05601b328894c76d379df68a3ad84f9fa
|
| | |
| | |
| | | |
FossilOrigin-Name: a484fe5df582171c066a646cdbf27ad39d8e9518
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tcl.decls: of Tcl_GetIndexFromObj.
* generic/tclIndexObj.c
* ChangeLog
* generic/tclDecls.h: regenerated
This change complies with TIP #27.
FossilOrigin-Name: 4d465df046adaf0e332707c5d24be53f07c51398
|
| | |
| | |
| | | |
FossilOrigin-Name: 754b252ed32f89a5e46e0523a0c7a61b3f534b9b
|
| | |
| | |
| | | |
FossilOrigin-Name: 098e39bd8b25ea383341215cb83a921efdf0f13f
|
| | |
| | |
| | | |
FossilOrigin-Name: b99e7f3d7afd8b3691d541885adc6a6c40e2365b
|
|/ /
| |
| | |
FossilOrigin-Name: 020acd659d37270854b515d6f176b25ea57292c6
|
| |
| |
| | |
FossilOrigin-Name: d1f7550cd9bf1343d8505fb99fc5141b58bb88bf
|
| |
| |
| | |
FossilOrigin-Name: a350e972df8217ab33dc859e857a33e38bc6a3bc
|
| |
| |
| |
| |
| | |
objTypes.
FossilOrigin-Name: 11e8f3151249a669790af1ab8897b1451aa5b47b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclExecute.c: TclStackAlloc and TclStackFree to make them
easier for callers to use (or more precisely, harder to misuse).
TclStackFree now takes a (void *) argument which is the pointer
intended to be freed. TclStackFree will panic if that's not actually
the memory the call will free. TSA/TSF also now tolerate receiving
(interp == NULL), in which case they simply fall back to be calls to
Tcl_Alloc/Tcl_Free.
* generic/tclIntDecls.h: make genstubs
* generic/tclBasic.c: Updated callers
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCompCmds.c:
* generic/tclCompExpr.c:
* generic/tclCompile.c:
* generic/tclFCmd.c:
* generic/tclFileName.c:
* generic/tclIOCmd.c:
* generic/tclIndexObj.c:
* generic/tclInterp.c:
* generic/tclNamesp.c:
* generic/tclProc.c:
* generic/tclTrace.c:
* unix/tclUnixPipe.c:
FossilOrigin-Name: 4ea644b0decea73815d69d6a1d3767ed27191491
|
| |
| |
| | |
FossilOrigin-Name: a5edb8803febc503f435dd1dfcf19cd8b6258c5e
|
| |
| |
| |
| |
| |
| | |
ensemble and interp-alias rewrites.
FossilOrigin-Name: 5acd0e47b4a741393e833e1ed4d1a54661e1dfc2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclExecute.c: calls with TclStackAlloc calls to use memory
* generic/tclFCmd.c: on Tcl's evaluation stack.
* generic/tclFileName.c:
* generic/tclIOCmd.c:
* generic/tclIndexObj.c:
* generic/tclInterp.c:
* generic/tclNamesp.c:
* generic/tclTrace.c:
* unix/tclUnixPipe.c:
FossilOrigin-Name: fbe8c8af9f9e911a208ffc73968ed27691b54367
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tests/indexObj.test: there are extensions that rely on the prior
* doc/GetIndex.3: behavior that the empty string cannot succeed
as a unique prefix matcher, so I'm restoring Donal Fellow's solution.
Added mention of this detail to the documentation. [Bug 1464039]
FossilOrigin-Name: 0652206ff0a0d41de8ff5d68ef6917c6ab05e42e
|
| |
| |
| |
| |
| |
| |
| | |
strings to be matched by the Tcl_GetIndexFromObj machinery, in
the same manner as any other key. [Bug 1464039]
FossilOrigin-Name: d86bf5b78aa65c9872581801e88e38a284b56cc6
|
| |
| |
| |
| |
| |
| | |
Tcl_GetIndexFromObj. Also added tests.
FossilOrigin-Name: 2ec45a041bc48f5d03b9fdb9960de7fd8d36d290
|
| |
| |
| |
| |
| |
| |
| | |
* tests/indexObj.test: when TCL_EXACT matching is requested.
* tests/ioCmd.test:
FossilOrigin-Name: 9d1bf7f856fa96e8dba44ff457f92883691f5faa
|
| |
| |
| |
| |
| | |
easier reading.
FossilOrigin-Name: a3b0b6f1d981da1fe106445a90860a30e0c63d29
|
| |
| |
| | |
FossilOrigin-Name: dbbcf9b7f65fede6fac3a78be73729921cb4e913
|
| |
| |
| | |
FossilOrigin-Name: ac613e6b948e9387516ecc1f16a35824c93ab347
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclIndexObj.c: "enembleCmd", "localVarName", and
* generic/tclNamesp.c: "levelReference" to file static scope.
* generic/tclProc.c:
* generic/tclVar.c:
FossilOrigin-Name: 9c1c8c316670f1e278bfb74c180b063246f8f2cb
|
| |
| |
| |
| |
| |
| | |
messages (used in [read] implementation)
FossilOrigin-Name: b3487bb8b81d80e8d373e29358e8173c871162bd
|
| |
| |
| | |
FossilOrigin-Name: 457eb30a98b4a6771b61e22b660af4cca7286d38
|
| |
| |
| |
| |
| |
| |
| |
| | |
relevant to users. [Patch 1056864]
Also patches to core to take advantage of this
Also other general cleaning up of Tcl_WrongNumArgs usage
FossilOrigin-Name: 7162a54053e53f6f469b5d978fca906c9880d363
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclBinary.c:
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclCompExpr.c:
* generic/tclDictObj.c:
* generic/tclEncoding.c:
* generic/tclExecute.c:
* generic/tclFCmd.c:
* generic/tclHistory.c:
* generic/tclIndexObj.c:
* generic/tclInterp.c:
It is a poor practice to directly set or append to the value
of the objResult of an interp, because that value might be
shared, and in that circumstance a Tcl_Panic() will be the
result. Searched for example of this practice and replaced
with safer alternatives, often using the Tcl_AppendResult()
routine that dkf just rehabilitated.
FossilOrigin-Name: ee7c709e65fd0e2df636a6d1467bc907a2104da0
|