1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

4712 commits

Author SHA1 Message Date
Markus Schorn
301ee51670 Make CView show changes to working copies, bug 147694 2006-09-14 09:10:05 +00:00
Anton Leherbauer
4c1bc7c05a Fix exceptions with problem bindings during semantic highlighting 2006-09-13 13:55:09 +00:00
Markus Schorn
ee979cebbc Call Hierarchy: Fix view description; remove 'Open Call Hierarchy' action from toolbar; limit drag'n'drop to functions and variables. 2006-09-13 11:00:02 +00:00
Norbert Plött
be7b7d3fd0 fixing bug #157112 - character encoding problem with IProposalFilter.java
(Changed my name's spelling to be UTF-8 compliant)
2006-09-13 06:55:12 +00:00
Anton Leherbauer
db3183d89f Fix NoSuchElementException if no comment 2006-09-12 12:57:44 +00:00
Anton Leherbauer
fc309c3e02 Fix bug 93097 - double click selection of blocks 2006-09-12 10:23:37 +00:00
Anton Leherbauer
cfabc6acdd Fix 115999 and 156983 - handle preference changes to hovers and tab policy 2006-09-12 08:13:17 +00:00
Anton Leherbauer
d643f4f018 Avoid overlapping folding positions for #if/#elif/#else 2006-09-12 07:06:04 +00:00
Markus Schorn
97a90e4499 Types of variables in Outline View, bug 77138. 2006-09-12 06:50:49 +00:00
Chris Recoskie
5e01468c76 fix for 156565 by Vivian Kong 2006-09-11 18:39:14 +00:00
Markus Schorn
d72e22ac05 Marked failing tests as such and reopend bugzillas. 2006-09-11 13:55:54 +00:00
Markus Schorn
04f43e66f3 Automated creation of failing tests 2006-09-11 13:47:19 +00:00
Markus Schorn
72d7147e77 Call Hierarchy: support for initializers of global variables 2006-09-11 13:46:32 +00:00
Anton Leherbauer
d104bdce04 Fix folding test 2006-09-11 12:04:07 +00:00
Anton Leherbauer
c499f967c6 Disable console output 2006-09-11 11:03:58 +00:00
Anton Leherbauer
0705e1d1ae Add folding test 2006-09-11 11:03:11 +00:00
Anton Leherbauer
76c6346936 Fix for 156749 - Syntax highlighter preferences initialized incorrectly 2006-09-11 06:52:48 +00:00
Doug Schaefer
302b3a69aa Change the default indexer to be the Fast indexer. 2006-09-08 18:58:04 +00:00
Doug Schaefer
909ada32f1 Bug 156436 - added handling for cygpaths that may come back. 2006-09-08 18:52:25 +00:00
Anton Leherbauer
a9f3514fa0 84019, 103196 - Folding support for comments and preprocessor branches (work in progress) 2006-09-08 14:11:06 +00:00
Anton Leherbauer
cc76031036 Fix 152904 - Restrict editor drop adapter to CEditor only 2006-09-08 12:14:07 +00:00
Markus Schorn
5315ee73bb Added bugzillas to failing tests. 2006-09-08 10:58:42 +00:00
Markus Schorn
d055a072ae Let refactoring action group update action bars. 2006-09-08 08:54:45 +00:00
Anton Leherbauer
8aa62a205d Fix Common Navigator drop to project 2006-09-08 08:14:43 +00:00
Anton Leherbauer
490f5ddb11 Fix 156493 - CElementAdapterFactory should not adapt ICElements to IProject 2006-09-08 08:10:49 +00:00
John Camelon
a0577d650d Patch for Andrew Niefer : Bug 151440 - Content Assist makes Eclipse freeze 2006-09-07 18:15:24 +00:00
Markus Schorn
a2c5e8987c Additional test cases for Call Hierarchy 2006-09-07 14:50:58 +00:00
Doug Schaefer
6d190ea7c2 Bug 156436 - fixed error pattern to use full path if it can't find a resource name uniquely. 2006-09-07 14:50:24 +00:00
Markus Schorn
bd34d595fe Additional test cases for Call Hierarchy 2006-09-07 09:42:39 +00:00
Markus Schorn
1203c80cde Ignore type references in Call Hierarchy 2006-09-07 08:46:57 +00:00
Markus Schorn
c09be87a9b Added javadoc 2006-09-07 08:46:13 +00:00
Markus Schorn
f687cd8f7a Add missing locks when accessing PDOM. 2006-09-06 13:48:22 +00:00
Markus Schorn
683950da14 Disable indexer for refactoring tests 2006-09-06 13:47:43 +00:00
Markus Schorn
38aed694f5 Improvement for failing tests, added rename refactoring tests to automated suite. 2006-09-06 09:38:53 +00:00
Markus Schorn
de527bb7cd Additional test cases for Call Hierarchy 2006-09-06 07:56:18 +00:00
Doug Schaefer
b4c6a27239 Added allIncludedBy test from cdt_3_1. 2006-09-05 20:23:28 +00:00
Markus Schorn
001c458e92 Test cases for Call Hierarchy 2006-09-05 12:51:14 +00:00
Andrew Niefer
5c49412ff9 bug 156137 - Expression Evaluator does not handle % 2006-09-05 02:03:35 +00:00
Markus Schorn
354a0a70da Fix for bridge between IASTName and ICElement 2006-09-04 15:07:16 +00:00
Markus Schorn
caaf796b01 Increase time limits for AsyncViewerTest 2006-09-04 12:55:18 +00:00
Markus Schorn
c09268625c Call Hierarchy: When invoked from editor, allow for partial selections. 2006-09-04 09:15:46 +00:00
Doug Schaefer
eac22a6a7b Bug 72741 - add cancel handling for the pattern search and the findBindings routine in the PDOM. 2006-09-01 20:53:06 +00:00
Markus Schorn
4924166f87 Call Hierarchy: Open from CEditor 2006-09-01 12:16:04 +00:00
Markus Schorn
cb03e2f7d2 Reanabled part of the cdt-ui tests 2006-08-31 15:16:21 +00:00
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