Index: TODO =================================================================== diff -u -r19ef72a5f87241def42fa2a2ec15e28a8717b59b -rc4495e631e7b9ecd9defb279d903233dd44abdd0 --- TODO (.../TODO) (revision 19ef72a5f87241def42fa2a2ec15e28a8717b59b) +++ TODO (.../TODO) (revision c4495e631e7b9ecd9defb279d903233dd44abdd0) @@ -2371,18 +2371,39 @@ - configure: added flag --with-profile to enable profiling support - cleanup and documentation of nsf-specific interp state - nsf::configure: added an option "profile on|off" (per default off) +- profiling: return object data with method information +- the following is obsolete since valgrind 3.6 +=========== reminder for valgrind testing +svn co svn://svn.valgrind.org/valgrind/tags/VALGRIND_3_5_0 valgrind + +curl http://bugsfiles.kde.org/attachment.cgi?id=36999 > 10.6.patch +mv 10.6.patch ./valgrind + +cd valgrind +patch -p0 < 10.6.patch + +./autogen.sh +./configure ./configure --build=amd64-darwin +make + +sudo make install +==================== + + + TODO: - serializer: check, why catch is needed for object-level alias (search for ns_cache_flush) +- check cases of -flag=$value outside the context of nsf::procs - document value added replacements of Tcl functions - object parameter type forward: - regression test - reduce verbosity - - get rid of eager tcd creation + - get rid of eager tcd creation (optimization, can go to guture releases) - slotmachinerie 2 - naming "incremental", "reconfigure" @@ -2425,15 +2446,13 @@ - are the oneline hook definitions like Class protected class-object method __unknown {name} {} needed? -- would be nice to remove noinit as a method and leave it as a objectparameter - ListDefinedMethods noMixins and inContext not defined yet. - nsf::proc * check, if there are parameter types that should not be applicable for nsf::proc * scripted-method like implementation (like ProcMethodDispatch, not urgent) * toplevel (object less) introspection - * memleak testing - "info method definition" for :attributes? @@ -2548,22 +2567,8 @@ -=========== reminder for valgrind testing -svn co svn://svn.valgrind.org/valgrind/tags/VALGRIND_3_5_0 valgrind -curl http://bugsfiles.kde.org/attachment.cgi?id=36999 > 10.6.patch -mv 10.6.patch ./valgrind -cd valgrind -patch -p0 < 10.6.patch - -./autogen.sh -./configure ./configure --build=amd64-darwin -make - -sudo make install -==================== - For future releases: * consider alternate method name/place for subcmds (and/or slots) on classes Index: generic/nsfProfile.c =================================================================== diff -u -rd21a9a6e16df623537a75d3bdbf9823f711ab96e -rc4495e631e7b9ecd9defb279d903233dd44abdd0 --- generic/nsfProfile.c (.../nsfProfile.c) (revision d21a9a6e16df623537a75d3bdbf9823f711ab96e) +++ generic/nsfProfile.c (.../nsfProfile.c) (revision c4495e631e7b9ecd9defb279d903233dd44abdd0) @@ -94,9 +94,10 @@ Tcl_DStringInit(&objectKey); Tcl_DStringAppend(&objectKey, ObjectName(obj), -1); - Tcl_DStringAppend(&objectKey, " (", 1); + Tcl_DStringAppend(&objectKey, " ", 1); Tcl_DStringAppend(&objectKey, ClassName(obj->cl), -1); - Tcl_DStringAppend(&objectKey, " )", 1); + Tcl_DStringAppend(&objectKey, " ", 1); + Tcl_DStringAppend(&objectKey, cscPtr->methodName, -1); Tcl_DStringInit(&methodKey); Tcl_DStringAppend(&methodKey, cl ? ObjStr(cl->object.cmdName) : ObjStr(obj->cmdName), -1);