Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 some bugs feedback

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
vaughn Posted - Dec 25 2009 : 01:04:09 AM
hi all,
there are dicussion about comments display bug(UNICODE) in the forum, i tried and found two disfunctions(VC8.0):
1,comments display error when there are blank(s) between other characters.

2,i added two projects A,B within a solution, and there are functions in the two projects with the same name(comments is not the same). the comment displayed is the function of project B when the mouse stay at the function of project A.

3,rename when there are two structures have member with the same name.the member of another structure and reference are renamed at the same time when i rename the member of a structure.

PS: pics. can not uploaded, the comments added for you to test(Chinese Simplified),
e-mail me [email protected] if any ambiguity about the feedback,thanks very much.
/************************************
-?-?+?+++?++-?-?RTSS2_ExecNode
-?-?+?+?-?-?
-+-?FST+?-?-?+?+?+?-?-?+?-?-++?-?+?-+-?+?+?-+++FIFO buffer,
-?-?-+-?-?-?+?-?+?-++?+?+?-++?+?+?+?+?-+-++?-++?-?+?-?-?+?+?+?+?-?-++?+?-?+?+?+?-?+++?+?-?-?
+?+P-++?-?-?+?-?+?-++?+?-?+?+?-?-?+?+?-++?+?-?-?
-?-?+?-?+?-++?+?+?-++?+?-?+?-++?-?+?+?-?-?++-+-?+?+?-?-+FIFO buffer+?+?-?+?
-++?-?+?-?-?
Stack-?+?+?+++?+P+?+?-?+?-?-?+?-?-?-?-?-++?-?+?+?-?+?+?+?-?+?+?+?-?+++?+?-++?-?-?+?++-?-?
-+-?-++?-?-?
+?+?+?+?-?-++?-?-?+?+?-++?+?NULL-?+?+?+?-?-?-+-?-++?-?+?+?+?+?+?-?-+
+?+?FIFO buffer-?-++?+?+?-?-?-?-+-?-++?-?+?+?+?+?+?-?-+
+?+?stack+?+?-?+?-?+?+?+?-?-?-+-?-++?-?+?+?+?+?+?-?-+
+?+?NC+?++-?+?+?+?+?-?+?+?-++?+?++-?-?NULL-?-?-?-?-+-?-++?ERR2_MAIN_END-?-+
+?+?-?-?+?+?+?+?FIFO_FILTER-?-?+?+?-?-?+?-?+?-++?+?+?-?-++?-?-?+?+?+?-++?+?-?-?+?+?-+-?-++?ERR2_FILTERED_NODE-?-+
-?+?+?++-?+?-?-?-?-?-+-?-++?ERR2_OK-?-?
************************************/
4   L A T E S T    R E P L I E S    (Newest First)
support Posted - Mar 17 2011 : 11:37:46 PM
case=3548 is fixed in build 1845
feline Posted - Dec 31 2009 : 1:23:21 PM
Problem 3, VA can get confused when you have structures with a typedef name, but no structure name. Adding "dummy" or "helper" names to these structures, just for VA, should help for now:

case=3548

Problem 2, if you use alt-g on the function call does VA list both versions in the alt-g menu? Currently VA cannot tell which form of the function you are calling, so it won't be able to correctly show you only the correct tooltip. But I am wondering if it realises there are two different functions here.
vaughn Posted - Dec 29 2009 : 7:07:32 PM
hello,feline

problem 3 can get like this(in my test project the two structure defined in two different header files):
typedef struct
{
int nDuplicateHeight;
int nDuplicateWidth;
} TDupMemberTest1;
typedef struct
{
int nDuplicateHeight;
int nDuplicateWidth;
} TDupMemberTest2;

int _tmain(int argc, _TCHAR* argv[])
{
TDupMemberTest2 foo2;
TDupMemberTest1 foo1;

foo1.nDuplicateHeight = 1;
foo1.nDuplicateWidth = 2;

return 0;
}

it is ok when i define the two structures as
typedef struct struct1
{...} TDupMemberTest1;

and
typedef struct struct2
{...} TDupMemberTest1;

so it is comes with there are no structure name, though have a typedef name.


problem 2 is about VA comments display error when there are two projects within a VS2005 solution, see the tree-like orgnization first,
my_sln
|--my_prj1
|..|--file2.cpp
|.....|--samenamefunc(...)
|--my_prj2
...|--file1.cpp
......|--samenamefunc(...)

my_prj1 and my_prj2 have the same name functions--samenamefunc, parameters are not the same. i added comments for the samenamefunc in the two projects, and VA show the comments of samenamefunc within my_prj1 as the samenamefunc within my_prj2.

hope this will help for you,thanks.
feline Posted - Dec 29 2009 : 3:53:21 PM
Problem 1, unicode support in VA is something we are working on, and improving over time. We need to add this without breaking anything:

case=17006

Problem 2, if you use alt-g on the function call, does VA list both locations, or only one location? If VA is only finding one location then it is only likely to find and show one tooltip.

Problem 3, can you post some sample code that shows the problem please? I cannot reproduce the problem with the following code:

struct testDuplicateContentOne
{
	int nDuplicateHeight;
	int nDuplicateWidth;
};

struct testDuplicateContentTwo
{
	int nDuplicateHeight;
	int nDuplicateWidth;
};

static void testRenameStructMember()
{
	testDuplicateContentOne foo1;
	foo1.nDuplicateHeight = 1;

	testDuplicateContentTwo foo2;
	foo2.nDuplicateHeight = 2;
}

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000