Skip to content
Tcl Source Code Artifact [325336d17e]
Login

Artifact [325336d17e]

Artifact 325336d17e683ad45bfd598b41d3daf6ef9b07bf:

Manifest of check-in [325336d17e] - Remove most instances of TCL_LEAVE_ERR_MSG in favor of making Tcl_Array*() functions treat nonexistent and scalar variables as empty arrays and always reporting other kinds of errors, was very confusing having the absence of TCL_LEAVE_ERR_MSG only inhibiting variable lookup errors. Clean up documentation throughout. Merge ArraySize() into Tcl_ArraySize() and make ArraySizeCmd() use Tcl_ArraySize() directly now that the error handling policy is consistent. Rename *existsPtr to *intPtr for consistency with other public functions. Change Tcl_ArraySize() to use *intPtr to report the size rather than returning it. by andy on 2016-11-28 01:20:41.
B 6d14b815791355ab4d15fa8800863d8b0ffa6cdd
C Remove\smost\sinstances\sof\sTCL_LEAVE_ERR_MSG\sin\sfavor\sof\smaking\sTcl_Array*()\sfunctions\streat\snonexistent\sand\sscalar\svariables\sas\sempty\sarrays\sand\salways\sreporting\sother\skinds\sof\serrors,\swas\svery\sconfusing\shaving\sthe\sabsence\sof\sTCL_LEAVE_ERR_MSG\sonly\sinhibiting\svariable\slookup\serrors.\s\sClean\sup\sdocumentation\sthroughout.\s\sMerge\sArraySize()\sinto\sTcl_ArraySize()\sand\smake\sArraySizeCmd()\suse\sTcl_ArraySize()\sdirectly\snow\sthat\sthe\serror\shandling\spolicy\sis\sconsistent.\s\sRename\s*existsPtr\sto\s*intPtr\sfor\sconsistency\swith\sother\spublic\sfunctions.\s\sChange\sTcl_ArraySize()\sto\suse\s*intPtr\sto\sreport\sthe\ssize\srather\sthan\sreturning\sit.
D 2016-11-28T01:20:41.188
F generic/tcl.decls 8cf751532af52f1bf9d5c94ff324f8a2eb776e58
F generic/tcl.h 78c04733a558338325051ecf198dfbd325f3a325
F generic/tclBasic.c 204b731a0a49ec3082a696eb44dac4cec745ace4
F generic/tclCmdMZ.c af634fb0c7f6ab6b05650c7b84ed4ca85d2f2211
F generic/tclCompile.c df3da40202fc4f0fb3fa2efd1cb66b2c46fb50c7
F generic/tclCompile.h af7ddf62280f9740c95a77255ad6b0097375b743
F generic/tclDecls.h 7cb39114439f05d1ed8b4610733040afe5ff6049
F generic/tclHash.c 0bd64db13f53e678825041732a043bc11a9275eb
F generic/tclIOGT.c c30945758da1825e437ab146429b1ad8405cd645
F generic/tclIOSock.c f1e946c3962a920717a2968436d5aae531fc4513
F generic/tclInt.h 3d7fa43abffc07619a471a0de2b186dbbb68a47d
F generic/tclLoad.c 717f14e0c23058ec7bf8c937ba14b89a96db5cb2
F generic/tclNamesp.c ecb9312d40ad32397f9b7b8bfee2b0887f089334
F generic/tclObj.c 72b03e72774d794550500350e18cadea12bfc48d
F generic/tclPipe.c 4079440b97e9852b6e98426e76f9eb6f1842cbf5
F generic/tclPreserve.c 9fad4a0524b10a5470598474a96e859dd396461a
F generic/tclRegexp.c 3abfde1e842410d44b798c6d375779eb6535fccd
F generic/tclStubInit.c 7de4db955f608a7ee974239b22119bfbb116684c
F generic/tclTomMath.h ca6acd774a4b66873a530ddab91156df81f001bd
F generic/tclTrace.c 553ebe2e17bea62f2bf1684a67841ebbf882b8d9
F generic/tclVar.c 867509229fad47302bee93152849062abefb74f5
F libtommath/makefile.include 7440f724a9ba0e1c9605c2828215eeba8b4413e3
F libtommath/tommath.h 7f55a3bf79ead591869d1b2e45f0a071f46d6e0b
F tests/set-old.test ae331c5ff107183c15afaafd7b55c4bea3ff9c6e
F tests/var.test a05b14daaea3fe7d2aef839fa7f78308c7564a08
P 720f8dc660614d42be9f6a069913a96755f17281
U andy
Z de7e7fd9e9c4dee0cb50c2ff89cee17f