1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-22 07:43:56 +02:00
Commit graph

3192 commits

Author SHA1 Message Date
Alain Magloire
c02f51e17e Do not load the symbols right away ... only on demand. 2003-11-19 20:39:41 +00:00
Alain Magloire
45c18901fd Cache the values in IBinary 2003-11-19 20:39:11 +00:00
Mikhail Khodjaiants
d47a5ddca5 Applied the changes made to the corresponding classes of 'org.eclipse.debug.ui'. 2003-11-18 23:44:05 +00:00
Mikhail Khodjaiants
2a86c34d37 Fix for PR 46592: Debug View shows Functions as func(type param,...)(). 2003-11-18 23:36:37 +00:00
Mikhail Khodjaiants
f32ce48b2c Fix for PR 46845: Deferred breakpoints support. 2003-11-18 23:23:03 +00:00
Mikhail Khodjaiants
d0e8fc4b6e Fix for PR 45534: gdb/MI error in retrieving a register can lead to an empty register pane. 2003-11-18 22:41:20 +00:00
Mikhail Khodjaiants
e0486ead58 Fix for PR 46884: Add a preference page to set common source location 2003-11-18 22:25:13 +00:00
David Inglis
493af74925 Merge from HEAD to address bugs targeted for 1.2.1 2003-11-18 22:04:16 +00:00
Mikhail Khodjaiants
8e1e5f6454 Fix for bug 46843: Add 'Search subfolders' option. 2003-11-18 21:07:40 +00:00
Mikhail Khodjaiants
c9469ad6ff Fix for bug 35960: search for duplicate file names. 2003-11-18 20:33:14 +00:00
Mikhail Khodjaiants
219e0985f1 Fix for bug 43372: changed the source lookup procedures to avoid the usage of 'getCanonicalPath'. 2003-11-18 20:00:42 +00:00
Mikhail Khodjaiants
819b3ba6d1 Fix for PR 46870: NPE when hovering over expression that is not in the current context 2003-11-18 19:45:48 +00:00
Mikhail Khodjaiants
b2b090d2fd Fix for PR 46861: Use a special image for arguments in the Variables view. 2003-11-18 19:33:12 +00:00
Alain Magloire
29026f5fb0 Those are heavy changes concerning the Binary Parser.
The problem was that binaryParser scheme was
a perfomance problem affecting a lot of people
when projects were medium/big size.  The IBinaryParser
was extended to allow one more method isbinary()
so that will let the BinaryParser open() the file
only once instead of multiple time like it did before.
2003-11-18 17:16:39 +00:00
Mikhail Khodjaiants
52ecc62130 Fix for PR 46850: Unable to report problems from the methods of 'ICDIRuntimeOptions'. 2003-11-18 17:07:18 +00:00
cvs2svn
6b9e66e8a6 This commit was manufactured by cvs2svn to create branch 'cdt_1_2'.
Cherrypick from master 2003-11-18 16:20:49 UTC Alain Magloire <alain@qnx.com> 'Attempt to address performance problem in the IBinaryParser':
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/ARMember.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/BinaryArchive.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/BinaryObject.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/PEParser.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/Symbol.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/parser/ElfParser.java
    debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java
    debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/SourceUtils.java
2003-11-18 16:20:50 +00:00
David Inglis
5e41c259a0 fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=46685 2003-11-14 17:56:29 +00:00
David Inglis
4fa34d40f6 fixed #46431 2003-11-13 20:54:45 +00:00
Doug Schaefer
f69b3bad49 Patch for Sean Evoy:
- Fixes for bugzilla 44451 and 44841
2003-11-13 20:20:06 +00:00
Hoda Amer
6cea59feeb Patch for Bogdan 2003-11-11 18:28:20 +00:00
Mikhail Khodjaiants
6d9d51bfe9 Fix for PR 46358: NPE in the "setCurrentThread" method of "CDebugTarget". 2003-11-10 18:20:06 +00:00
John Camelon
b281e36768 CORE
Fixed Bug 39554 : _Pragma directive is not supported (ANSI C99) 

TESTS
	Moved testBug39554() from ASTFailedTests to QuickParseASTTests.
2003-11-07 19:49:10 +00:00
David Inglis
7684f7c2c8 Fix for 45737 & 45835 2003-11-06 19:48:07 +00:00
John Camelon
f9e17af94f CORE
Fixed Bug 44838 : exception when resolving parameter references in a constructor 
	Fixed Bug 46165 : fields referenced in constructor chains are not called back upon 
	Fixed Bug 45551 : Macro replacement in #include <file.h> directives 

TESTS
	Added CompleteParseASTTest::testBug44838().  
	Added CompleteParseASTTest::testBug46165().  
	Added ScannerTestCase::testBug45551().
2003-11-06 04:58:09 +00:00
John Camelon
5c13a1c935 CORE
Removed warnings from parser source tree.  
	Removed preliminary task tags support to clean up parser interfaces and implementation.   
	Added preliminary IProblem support to 

UI
	Updated parser clients to use new IProblem strategy.  

TESTS
	Updated parser clients to use new IProblem strategy.
2003-11-05 18:15:01 +00:00
Mikhail Khodjaiants
ea700ffbc1 Fix for PR 45957: Memory view: last column does not show updates. 2003-11-03 19:17:21 +00:00
John Camelon
29f63b1333 Added initial code assist/parser interface. 2003-11-03 14:20:38 +00:00
cvs2svn
3cd4819fac This commit was manufactured by cvs2svn to create branch 'cdt_1_2'.
Cherrypick from master 2003-11-03 14:17:15 UTC John Camelon <jcamelon@ca.ibm.com> 'Added initial code assist/parser interface.':
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/ast/IASTCompletionNode.java
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/ast/IASTNode.java
    debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/sourcelookup/SourceLookupFactory.java
    debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/sourcelookup/DefaultSourceLocator.java
2003-11-03 14:17:16 +00:00
John Camelon
be09974d58 Patch for Andrew Niefer
core:
Fixed Bug 44925 : Search: Elaborated type specifier
Partially Fixed Bug 44510 : C/C++ Search gives wrong results 

ui:
Fixed Bug 44337 : Disabling of "definition" not making sense in Search 
dialog
Fixed Bug 44947 : Navigate from Outline: Enumeration type not 
pre-populated
Fixed Bug 44948 : Navigate via Open Declarations: typedef decl not found
2003-11-03 14:01:00 +00:00
David Inglis
51281a34c5 merge from HEAD to fix 45668 & 45612 2003-10-30 14:11:43 +00:00
David Inglis
8303a99e46 merge from HEAD for bugs 45734 & 45736 2003-10-30 14:04:08 +00:00
Alain Magloire
a164a003c3 updated. 2003-10-29 17:01:59 +00:00
Alain Magloire
d4daad44a8 Change the scope of some fields. 2003-10-29 17:01:50 +00:00
Alain Magloire
bbb5b11bcf Also release the BinaryContainer of the project 2003-10-29 17:01:36 +00:00
Alain Magloire
b0182c5aa6 updated 2003-10-29 16:41:09 +00:00
Alain Magloire
2408483866 updated. 2003-10-29 16:40:05 +00:00
Alain Magloire
fd938a22ef Fix to make this work for link resources. 2003-10-29 16:39:54 +00:00
Alain Magloire
25d400816f When doing ther reset of the binary parser,
recreate the project.
2003-10-29 16:39:34 +00:00
Doug Schaefer
b046eac006 Revived the 1.2 builds. 2003-10-27 21:42:05 +00:00
Doug Schaefer
c94898ad2b Patch for Bogdan: (44366 & 45324)
- Moved off all dependency calculations to the Indexer thread,
created a new UpdateDependency job
- Modified CSearchOperation to only lock the workspace
when tagging resources with markers.
2003-10-27 20:45:09 +00:00
Hoda Amer
2282ebb711 Fix for outline flickers problem 2003-10-27 13:26:10 +00:00
John Camelon
7a757e55c1 CORE
Fixed Bug 39542 : Parser fails on 'struct' parameter types 
         Fixed Bug 39549 : Designated initializers are not supported (ANSI C99) 
         Fixed Bug 39551 : Complex and imaginary numbers are not supported  (ANSI C99) 
         Fixed Bug 45476 : preprocessor macro "defined" not handled  correctly 
         Fixed Bug 45477 : macro redefines prevent further parsing 

 TESTS
         Added testBug45476() to ScannerTestCase. 
         Added testBug45477() to ScannerTestCase. 
         Moved testBug39542() from ASTFailedTests to QuickParseASTTests.
         Moved testBug39549() from ASTFailedTests to QuickParseASTTests.
         Added testCDesignatedInitializers() to CompleteParseASTTests.
         Moved testBug39551A() from ASTFailedTests to QuickParseASTTests. 
         Moved testBug39551B() from ASTFailedTests to QuickParseASTTests. 
         Added testCBool() to QuickParseASTTests. 
         Added testBug39551A(), testBug39551B() and testCBool to  CompleteParseTests.
2003-10-26 18:54:17 +00:00
cvs2svn
d8b28329bd This commit was manufactured by cvs2svn to create branch 'cdt_1_2'.
Cherrypick from master 2003-10-24 17:49:22 UTC John Camelon <jcamelon@ca.ibm.com> 'CORE':
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/ast/IASTDesignator.java
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/ASTDesignator.java
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/ASTInitializerClause.java
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/quick/ASTInitializerClause.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/CygPath.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/ICygwinToolsProvider.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/IToolsProvider.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/BinaryExecutable.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/BinaryFile.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/BinaryShared.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/CygwinPEParser.java
    debug/org.eclipse.cdt.debug.ui/icons/full/obj16/ext_file_obj.gif
    debug/org.eclipse.cdt.debug.ui/icons/full/obj16/prj_file_obj.gif
    debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/preferences/SourcePreferencePage.java
    debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/sourcelookup/SourceListDialogField.java
    debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/sourcelookup/SourceLookupLabelProvider.java
    releng/org.eclipse.cdt.releng/message.txt
2003-10-24 17:49:23 +00:00
John Camelon
ad9bebb9ca CORE
Fixed Bug 40007 : Parser reports success when it fails
	Fixed Bug 44305 : Scanner/preprocessor fails on conditionals using hexidecimal 
	Fixed Bug 41935 : parser provides wrong name on namespace aliases 
	Fixed Bug 39525 : Parser fails on expressions that take address of overloaded operators 
	Fixed Bug 45287 : Scanner does not accept character sequence literals 
	Fixed Bug 36550 : Error recovery with unterminated string is weak 
	Fixed Bug 41063 : Remove unused K&R C support from ANSI Parser 
	Fixed Bug 39528 : Function try-blocks are not supported by the parser (ANSI C++) 
	Fixed Bug 39538 : Parser fails on explicit instantiation of templated operators 
	Fixed Bug 39536 : Parser fails on templated constructors/conversion operators 
	Refactored Scanner to make it easier to debug.  

TESTS
	Moved testBug40007() from ASTFailedTests to QuickParseASTTests.  
	Added QuickParseASTTests::testBug40759().  
	Added QuickParseASTTests::testBug44633().  
	Added ScannerTestCase::testBug44305().  
	Added QuickParseASTTests::testBug41935(). 
	Moved testBug39525() from ASTFailedTests to QuickParseASTTests.  
	Added ScannerTestCase::testBug45287(). 
	Moved testBug39528() from ASTFailedTests to QuickParseASTTests.  
	Moved testBug39538() from ASTFailedTests to QuickParseASTTests.  
	Added QuickParseASTTests::testBug39536().  
	Moved testBug39536A() from ASTFailedTests to QuickParseASTTests.  
	Moved testBug39536B() from ASTFailedTests to QuickParseASTTests.
2003-10-21 23:22:36 +00:00
Doug Schaefer
b648b93070 Patch for Bogdan Gheorghe:
- Add in option (which is turned on by default) to limit the
scope of the code assist search to the file and it's inclusions
as opposed to the entire project.
2003-10-09 17:46:59 +00:00
Alain Magloire
20320968f2 Makefile Editor Comment out for CDT-1.2 2003-10-08 20:22:45 +00:00
Doug Schaefer
2d66790e12 Patch for Sean Evoy:
Fixes endless loop when doing cross project builds.
2003-10-07 13:29:41 +00:00
cvs2svn
dd7d9b27c4 This commit was manufactured by cvs2svn to create branch 'cdt_1_2'.
Sprout from master 2003-10-02 02:56:46 UTC Doug Schaefer <doug.schaefer@windriver.com> 'Patch for Sean Evoy:'
Cherrypick from master 2003-10-06 21:33:42 UTC Mikhail Khodjaiants <mikhailkhod@googlemail.com> 'Added transparency.':
    debug/org.eclipse.cdt.debug.ui/icons/full/ovr16/argument_ovr.gif
    debug/org.eclipse.cdt.debug.ui/icons/full/ovr16/castarray_ovr.gif
    debug/org.eclipse.cdt.debug.ui/icons/full/ovr16/casttype_ovr.gif
2003-10-06 21:33:43 +00:00
Doug Schaefer
0e11088e84 Patch for Sean Evoy:
Details in ChangeLog.
2003-10-02 02:56:46 +00:00
Doug Schaefer
cc6084024d Patch for Sean Evoy:
Use natures to help select what tools are available.
2003-10-01 23:56:36 +00:00