Overview
| Comment: | Still to be TIP'ed. In this branch objTypes are not registered to Tcl any more, and still can do everything. It proves that Tcl_ConvertToType and the toAnyProc in thc Tcl_ObjType struct can be safely removed. Conversion to any specific type must be done by the "Tcl_GetXXXFromObj" type functions. One objType which didn't have such a function yet: "end-offset". This branch replaces this type by an "index" objType with its own Tcl_GetIntForIndex function (which functions the same as the currently private TclGetIntForIndex, only faster...). In addition, it affects Tcl_GetBoolean, which now follows the same same parsing rules as Tcl_GetBooleanFromObj. |
|---|---|
| Timelines: | family | ancestors | descendants | both | no-register-objtypes |
| Files: | files | file ages | folders |
| SHA1: |
271dbffaf746c8d3fcfcc4bb851dece6 |
| User & Date: | jan.nijtmans on 2013-02-11 15:53:09.993 |
| Other Links: | branch diff | manifest | tags |
Context
|
2013-02-12
| ||
| 21:40 | use longValue as internal repr in stead of wideValue. name new type "lindex" in stead of already ex... closed check-in: 36abbd5b57 user: jan.nijtmans tags: no-register-objtypes | |
|
2013-02-11
| ||
| 15:53 | Still to be TIP'ed. In this branch objTypes are not registered to Tcl any more, and still can do ev... check-in: 271dbffaf7 user: jan.nijtmans tags: no-register-objtypes | |
| 10:25 | more Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj conversions check-in: a80fb8c697 user: jan.nijtmans tags: novem | |
Changes
Modified doc/BoolObj.3
from [6fbd5f615f]
to [90f2a7b8cc].
[diff]
Modified doc/IntObj.3
from [1965c3d88a]
to [b3789f930a].
[diff]
Modified generic/tcl.decls
from [ddc3922419]
to [4c658687dd].
[diff]
Modified generic/tcl.h
from [9332863633]
to [3118a9e1ce].
[diff]
Modified generic/tclBinary.c
from [f4350fbf53]
to [efac907dba].
[diff]
Modified generic/tclCmdIL.c
from [396610cf54]
to [7718e02084].
[diff]
Modified generic/tclCmdMZ.c
from [f649505e48]
to [2cc1e927ec].
[diff]
Modified generic/tclCompCmds.c
from [9b30d7bfc4]
to [bde2cd986c].
[diff]
Modified generic/tclCompCmdsSZ.c
from [8a011fee65]
to [5da1b3a7e2].
[diff]
Modified generic/tclCompile.c
from [017e1f4442]
to [87e1b45d06].
[diff]
Modified generic/tclCompile.h
from [ef9527cbbe]
to [70c8712793].
[diff]
Modified generic/tclDecls.h
from [b7963d346b]
to [418d4cf9d9].
[diff]
Modified generic/tclDictObj.c
from [9da0b64cae]
to [56ca4db3bf].
[diff]
Modified generic/tclExecute.c
from [859cb3b718]
to [fe567efcaa].
[diff]
Modified generic/tclGet.c
from [a91b7e7666]
to [5aad47dbe6].
[diff]
Modified generic/tclIndexObj.c
from [cb4e024a89]
to [bb8362c18a].
[diff]
Modified generic/tclInt.decls
from [5068f1f553]
to [0187ea40f1].
[diff]
Modified generic/tclInt.h
from [9484bef4e0]
to [f841ada591].
[diff]
Modified generic/tclIntDecls.h
from [f5190841ac]
to [856ee1ff33].
[diff]
Modified generic/tclListObj.c
from [838bf18fe8]
to [fa886ec0b2].
[diff]
Modified generic/tclNamesp.c
from [db406d69ff]
to [43e9efd091].
[diff]
Modified generic/tclObj.c
from [fc54dcdc54]
to [8ff9d1b637].
[diff]
Modified generic/tclPathObj.c
from [b6f04a4579]
to [c353dd2f3a].
[diff]
Modified generic/tclProc.c
from [57f37eba47]
to [34bef63f1d].
[diff]
Modified generic/tclRegexp.c
from [3be71dca0a]
to [83532fd235].
[diff]
Modified generic/tclStringObj.c
from [f468eb2eb7]
to [3fbd33c954].
[diff]
Modified generic/tclStubInit.c
from [445c5bfef9]
to [53388aa417].
[diff]
Modified generic/tclTest.c
from [ec0625ad5d]
to [c2c160ad56].
[diff]
Modified generic/tclTestObj.c
from [d5935a0772]
to [eeb6e1fff9].
[diff]
Modified generic/tclUtil.c
from [0e9bb8246b]
to [4b734359f9].
[diff]
Modified generic/tclVar.c
from [4940429b5d]
to [b41b823b17].
[diff]
Modified macosx/tclMacOSXFCmd.c
from [f9803694f5]
to [556b40e3cc].
[diff]
Modified tests/obj.test
from [2efa36982b]
to [ba01fa82ce].
[diff]
Modified tests/opt.test
from [5a788e9ef0]
to [d73ebb1eff].
[diff]
Modified tests/string.test
from [23f5785f44]
to [d3b0fffebe].
[diff]
Modified tests/stringObj.test
from [7317252624]
to [6bc17e8908].
[diff]