Doug Schaefer
b4c0cba081
Bug 147999 - Make the identifier table in the BaseScanner new per scanner instance. Sharing between scanner instances has caused infinite loops when threads collide.
2006-08-31 15:05:12 +00:00
Anton Leherbauer
9e23abbfb2
Make inactive code test independent from line delimiters
2006-08-31 14:20:08 +00:00
Markus Schorn
6b2a7a5842
Call Hierarchy: support for hierarchies across project boundaries.
2006-08-31 13:29:56 +00:00
Chris Recoskie
1eceeb0258
partial fix for 113063 from Janees and Vivian
2006-08-31 12:42:23 +00:00
Oleg Krasilnikov
778c379f88
From: Davasam, Sunil K
...
Sent: Monday, August 28, 2006 9:57 PM
To: Treggiari, Leo; Sennikovsky, Mikhail
Cc: Monteleone, Robert; Davasam, Sunil K
Subject: Issue with CDT dwarf reader..
Hi,
I found an issue with CDT dwarf reader. The method read_unsigned_leb128() contains a bug. Due to this bug, if the control reaches to this method, it goes in infinite loop and Eclipse hangs. This bug is exposed during the Intel Compiler integration testing into Eclipse/CDT. If the user tries to expand the debug binary (built by Intel Compiler) in C/C++ Projects view, Eclipse hangs. Even though I found this problem during the Intel Compiler integration testing, I think that the problem will appear when ever the control reaches this method.
According to DWARF standard, algorithm to decode an unsigned LEB128 number:
result = 0;
shift = 0;
size = number of bits in signed integer;
while(true)
{
byte = next byte in input;
result |= (low order 7 bits of byte << shift);
shift += 7;
/* sign bit of byte is second high order bit (0x40) */
if (high order bit of byte == 0)
break;
}
if ((shift <size) && (sign bit of byte is set))
/* sign extend */
result |= - (1 << shift);
--
But in the implementation, it is reading the same bits again and again. Here I attached a patch that fixes the problem. Please check in the patch to CDT. I hope you have permission to check in to cdt core package.
The method is defined in the following location.
Method: read_unsigned_leb128
Line : 213
File : utils/org/eclipse/cdt/utils/debug/dwarf/DwarfReader.java
Package: org.eclipse.cdt.core
Thanks & Regards,
Sunil
2006-08-31 10:25:42 +00:00
Markus Schorn
937e249087
Add testsuite for package 'viewsupport' to automated ui-tests.
2006-08-31 08:46:27 +00:00
Anton Leherbauer
25b75b4163
Add C refactoring action group to common navigator
2006-08-30 10:34:40 +00:00
Anton Leherbauer
013b90d91e
Fix inactive code highlighting race condition and NPE
2006-08-30 10:07:51 +00:00
Anton Leherbauer
d017af2e85
Add unit test for inactive code highlighting
2006-08-30 08:52:24 +00:00
Markus Schorn
3acc9f3c5d
Fixed warnings, once again.
2006-08-30 07:46:10 +00:00
Chris Recoskie
a1530d4ea2
copyright fix
2006-08-29 15:24:44 +00:00
Chris Recoskie
f3faea4f89
further patches to 148790 by Vivian and Janees
2006-08-29 13:28:33 +00:00
Anton Leherbauer
98a81457f6
Fix function and method highlighting
2006-08-29 12:04:11 +00:00
Ken Ryall
75c4506a6e
More for bug 106540: When the use toggles the toolbar item to enable the feature, immediately select and reveal the item corresponding to the active editor.
2006-08-28 19:02:59 +00:00
Ken Ryall
12fd9d96f7
Fix bug 130331.
2006-08-28 18:41:42 +00:00
Chris Recoskie
0df02becc9
patch for 155392 by Janees Elamkulam
2006-08-28 17:16:58 +00:00
Markus Schorn
6f04ca7b10
Call Hierarchy: Handling of multiple function definitions
2006-08-28 15:28:46 +00:00
Anton Leherbauer
a6a899abc5
Fix NPE in LineBackgroundPainter when closing an editor
2006-08-28 13:55:00 +00:00
Anton Leherbauer
487bac0828
Semantic Highlighting (140335)
2006-08-28 12:46:34 +00:00
Markus Schorn
3a46db2f34
Include Browser: Drop support for external files.
2006-08-28 11:43:18 +00:00
Markus Schorn
2156961db1
Fixes warnings.
2006-08-28 09:27:32 +00:00
Chris Recoskie
163a235063
fix copyrights
2006-08-25 19:46:29 +00:00
Chris Recoskie
aca069a1db
fix for 155236 by Vivian Kong
2006-08-25 17:25:09 +00:00
Chris Recoskie
5524cec83b
fix for 148790 by Vivian Kong
2006-08-25 15:10:24 +00:00
Markus Schorn
f5f18b8cb2
Call Hierarchy: added action 'Focus on'
2006-08-25 13:51:53 +00:00
Markus Schorn
110e1adca5
Improvements for the Call Hierarchy
2006-08-25 12:48:56 +00:00
Doug Schaefer
cec3d1b1ef
Propogate PDOM changes to support search down the PDOM hierarchy.
2006-08-25 01:46:32 +00:00
Markus Schorn
af1d76d4e3
Improvements for the Call Hierarchy
2006-08-24 14:15:36 +00:00
Markus Schorn
838fd14a80
Fixes file resolution in ref-by query.
2006-08-24 11:08:39 +00:00
Markus Schorn
697921c9b4
ICElements except ITranslationUnit, ICFolder, ... do not adapt to IResource any more.
2006-08-23 14:50:51 +00:00
Markus Schorn
140137bb62
CallHierarchy: support for inverse queries
2006-08-23 12:29:59 +00:00
Markus Schorn
5c2049ef4f
Call Hierarchy: added context menu
2006-08-22 09:33:33 +00:00
Markus Schorn
95b8581183
Call Hierarchy: Actions to open the call hierarchy, navigation of nodes.
2006-08-21 15:22:50 +00:00
David Daoust
1d508cd878
Fix for 154350
2006-08-18 17:44:10 +00:00
Thomas Fletcher
bcb893cbff
Make the warning vs error discrimination pick up on warning like keywords
...
PR 85264
2006-08-17 21:19:04 +00:00
Thomas Fletcher
efd20f87db
Avoid probing special or empty files.
...
149428
2006-08-17 21:02:05 +00:00
Anton Leherbauer
b4286a0d6e
Fixed common navigator clipboard shortcuts and DnD of files
2006-08-17 11:24:38 +00:00
Mikhail Khodjaiants
0198b4400b
Bug 136896: View variables in binary format.
...
Applied modified patch from Mark Mitchell (CodeSourcery).
2006-08-16 08:45:36 +00:00
Doug Schaefer
b458382d75
Initial C++.Net MBS support.
2006-08-12 05:09:58 +00:00
Thomas Fletcher
b2b00e4be1
Fix to ensure that Addr2Line will not throw unexpected number
...
formatting exceptions.
PR 152853
2006-08-04 16:12:59 +00:00
Doug Schaefer
4ec475f113
Applied patch from 145271 - a quick performance improvement.
2006-08-02 14:51:08 +00:00
Doug Schaefer
b4c738d66a
Added support for nested classes. Changed the way member owners are done.
2006-08-02 14:36:41 +00:00
Markus Schorn
7dc248df17
Initial version of call-hierarchy, not yet fully working.
2006-08-02 14:24:42 +00:00
Markus Schorn
732d9a063f
Fixes wrong assertion.
2006-08-02 09:10:28 +00:00
Doug Schaefer
ccaf9b361a
Fix up PDOM to index ACE+TAO exception free.
2006-07-31 15:50:02 +00:00
Chris Recoskie
bc2b146373
fix for 152145
2006-07-28 15:00:42 +00:00
Chris Recoskie
c994a0e5aa
updating javadoc
2006-07-27 11:53:36 +00:00
Chris Recoskie
4ad6f2ff22
updating javadoc
2006-07-27 11:52:44 +00:00
Chris Recoskie
1fa5b46efe
fix for 124971 by Janees Elamkulam <janees.ek@in.ibm.com>
2006-07-27 11:48:26 +00:00
Anton Leherbauer
92753b5ecf
Add CPartitionerTest
2006-07-26 09:47:04 +00:00