| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
Rewritten guts of machinery to produce string rep of lists. [Bug 3173086]
FossilOrigin-Name: 7720fbb825ec366737ab7e8c577ea25315c0a00e
|
| |
| |
| | |
FossilOrigin-Name: 8de9137c517f4e52139263ea5addf53d2b10e2c6
|
| |
| |
| |
| |
| |
| | |
to the callers. Needs more work on comments, and testing to check for any
performance impact in either direction. Fixes reported bug.
FossilOrigin-Name: a142b240b3d0fb1e0757f103fd6129e80d93f0b4
|
|\ \
| | |
| | | |
FossilOrigin-Name: 27fd15ce57c5a1f6d10c897e54094ad2dc269297
|
| | |
| | |
| | | |
FossilOrigin-Name: 6a588e6fc4c0e6471cb20fbca87d25c7c3728df6
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The final argument had been bracePtr, the address of a boolean var, where
the caller can be told whether or not the parsed list element was enclosed
in braces. In practice, no callers really care about that. What the callers
really want to know is whether the list element value exists as a literal
substring of the string being parsed, or whether a call to
TclCopyAndCollpase() is needed to produce the list element value. Now the
final argument is changed to do what callers actually need. This is a
better fit for the calls in tclParse.c, where now a good deal of
post-processing checking for "naked backslashes" is no longer necessary.
***POTENTIAL INCOMPATIBILITY***
For any callers calling in via the internal stubs table who really do use
the final argument explicitly to check for the enclosing brace scenario.
Simply looking for the braces where they must be is the revision available
to those callers, and it will backport cleanly.
Tests for expanded literals quoting detection.
FossilOrigin-Name: 60cf594f8284edcc7bce6e27ace97565ca19cc0f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The final argument had been bracePtr, the address of a boolean var, where
the caller can be told whether or not the parsed list element was enclosed
in braces. In practice, no callers really care about that. What the
callers really want to know is whether the list element value exists as a
literal substring of the string being parsed, or whether a call to
TclCopyAndCollpase() is needed to produce the list element value. Now
the final argument is changed to do what callers actually need. This is
a better fit for the calls in tclParse.c, where now a good deal of
post-processing checking for "naked backslashes" is no longer necessary.
***POTENTIAL INCOMPATIBILITY***
For any callers calling in via the internal stubs table who really do use
the final argument explicitly to check for the enclosing brace scenario.
Simply looking for the braces where they must be is the revision available
to those callers, and it will backport cleanly.
FossilOrigin-Name: 04d0ff20b9d7b9263bb7fd09e367b17560df5f72
|
| |/
| |
| | |
FossilOrigin-Name: 1855377cde9abe359acc2f05c1cb5f20cbf5cfcf
|
| |
| |
| | |
FossilOrigin-Name: 0b4ce29050f3a92481c073d03bae5e44ec4bf790
|
| |
| |
| |
| |
| | |
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
|
| |
| |
| | |
FossilOrigin-Name: 506c3496102a47fd7015e7f87f6ef7b599ffb025
|
| |
| |
| | |
FossilOrigin-Name: cdd77ebec46c32e1c883bcd0c28e01c97192a572
|
| |
| |
| |
| |
| |
| | |
destroyed.
FossilOrigin-Name: 1dbc152ce3779ce91599fb1afa0daca7f3630f2d
|
| |
| |
| | |
FossilOrigin-Name: 256c78f19e7a0c93939f2a7fc1bde0d652d29c51
|
| |
| |
| | |
FossilOrigin-Name: 38357311b7cdfca8de48d7e05269e3851746b31b
|
| |
| |
| |
| |
| | |
3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry
FossilOrigin-Name: 0ca694ea6522833fe5c429c99b8a6b4c0e554589
|
| |
| |
| |
| |
| |
| |
| | |
* generic/tclDictObj.c (DictGetCmd): always generates an errorCode on
a failure to look up an entry.
FossilOrigin-Name: d0a04e5db7888454cb7209a6c25a316d141dc4ec
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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: 72dc5b9bbc7d9587c76f9eb277d2ab5fed357c69
|
| |
| |
| | |
FossilOrigin-Name: 8780faf488c79569934af0cd318800d73489137d
|
| |
| |
| | |
FossilOrigin-Name: fa32677770142bc1cd3f95cdb6f24735109131f8
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| |
| |
| |
| |
| |
| |
| | |
- some internal const decorations
- spacing
FossilOrigin-Name: 4e6ad69d53135d300fec78a034d98cf280a7eaa3
|
| |
| |
| |
| |
| |
| | |
only the objProc case was handled and not the nreProc case.
FossilOrigin-Name: 2694a37e981d4028c8b140f3ee5ae21c151cef59
|
| |
| |
| |
| |
| | |
etc.)
FossilOrigin-Name: cd3c38f00ada216d7bc93560d3d70012c2918343
|
| |
| |
| | |
FossilOrigin-Name: a12728cbb91807a88ca7e1a6e8d4678ca5eee07b
|
| |
| |
| |
| |
| |
| | |
destroyed.
FossilOrigin-Name: 37ceba02a00455e65b2317ea2b3c118ec8a7c4c4
|
| |
| |
| | |
FossilOrigin-Name: 133e87a09532e10c8f1dc0e5afae5fd371ed8d23
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tcl.decls: New routines Tcl_(Get|Set)ErrorLine.
* generic/tcl.h: Dropped default access to interp->errorLine.
* generic/tclCmdAH.c: Restore it with -DUSE_INTERP_ERRORLINE.
* generic/tclCmdMZ.c: Updated callers.
* generic/tclDictObj.c:
* generic/tclIOUtil.c:
* generic/tclNamesp.c:
* generic/tclOOBasic.c:
* generic/tclOODefinedCmds.c:
* generic/tclOOMethod.c:
* generic/tclProc.c:
* generic/tclResult.c:
* generic/tclDecls.h: make genstubs
* generic/tclStubInit.c:
FossilOrigin-Name: e01657bdcf2de674c508a72af4619599bab4ef5f
|
| |
| |
| |
| |
| |
| | |
such that it conforms to the documentation.
FossilOrigin-Name: 2b7fc9b4445dd1264716d839f5b6637f5bbb766c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
const tables, so those will be
put by the C-compiler in the
TEXT segment in stead of the
DATA segment. This makes those
table sharable in shared libraries.
FossilOrigin-Name: 8fcbc25d98c79d16b8fb798cfe37aa513d5f5067
|
| |
| |
| |
| |
| |
| | |
Arrange for [dict for] to be NRE-enabled when not compiled. [Bug 2017632]
FossilOrigin-Name: 51c9ce366fc215fcbb776c15836b7ffcbc5c03ce
|
| |
| |
| |
| |
| |
| |
| |
| | |
unrefernced everywhere but in macosx/Tcl.xcodeproj/project.pbxproj: some
knowledgeable maintainer please remove tclNRE.h after making sure it
doesn't break the build on macosx
FossilOrigin-Name: 451dda69d6e65267f856ee1657e610ea408eb1c3
|
| |
| |
| | |
FossilOrigin-Name: 2e6c76f67e19d85b4c3838b3a71ff42748a652e6
|
| |
| |
| | |
FossilOrigin-Name: 1e5261316ed076ff5ff69f2a720e8eff30fcf66e
|
| |
| |
| |
| |
| |
| | |
Tcl_NRAddCallback
FossilOrigin-Name: 41bf7d9039838529fef6ebd671f8bd57844a6aff
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tcl.h: TclNR_foo to Tcl_NRfoo
* generic/tclBasic.c:
* generic/tclDecls.h:
* generic/tclDictObj.c:
* generic/tclExecute.c:
* generic/tclInterp.c:
* generic/tclNRE.h:
* generic/tclNamesp.c:
* generic/tclOO.c:
* generic/tclOOBasic.c:
* generic/tclOOCall.c:
* generic/tclOOMethod.c:
* generic/tclProc.c:
* generic/tclStubInit.c:
FossilOrigin-Name: 028024f0d323bcbb2bf25aca558315642093fb46
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
refcounting bugs that caused crashes [Bug 2017857].
* generic/tclBasic.c (TclNREvalObjEx): streamline the management
of the command frame (opt).
FossilOrigin-Name: d36c5fb6d68b885aa7e317d8d9b4541e045a5fbf
|
| |
| |
| | |
FossilOrigin-Name: 0da5dcb0e8934f297973abca1200b39225fe7e25
|
| |
| |
| | |
FossilOrigin-Name: 90f8772b53b8946c0c536e48936c38faa85cf8f8
|
| |
| |
| | |
FossilOrigin-Name: 6f1625197fa2ebc5ab099c9e2ff7a53f76711890
|
| |
| |
| |
| |
| |
| |
| |
| | |
map to silence a compiler warning.
Thanks to George Peter Staplin for the
report.
FossilOrigin-Name: fbb81c8921c9a812f27c498ff8f4f38ef1936d94
|
|/
|
| |
FossilOrigin-Name: 09791774694158691869140d936c5d492672d821
|
|
|
| |
FossilOrigin-Name: d1f7550cd9bf1343d8505fb99fc5141b58bb88bf
|
|
|
| |
FossilOrigin-Name: 375088d62c47c414b1faff719111451e22c970be
|
|
|
|
|
|
| |
to ensembles.
FossilOrigin-Name: 747f8c21cdf9820425e7c8cd2e18461629b4a6d5
|
|
|
|
|
|
|
|
|
|
|
| |
hash table used in dictionaries to additionally keep all entries in
the hash table in a linked list, which is only ever added to at the
end. This makes iteration over all entries in the dictionary in
key insertion order a trivial operation, and so cleans up a great deal
of complexity relating to dictionary representation and stability of
iteration order.
FossilOrigin-Name: 946f57278c96e241062df6247e2a6bd60541de21
|
|
|
| |
FossilOrigin-Name: d95f68a873d490090bc5d53b475fe448d0f8f6df
|