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

9889 commits

Author SHA1 Message Date
Alain Magloire
793c52d03b Bug fix event were not generated for the nonCResources. 2003-04-09 03:06:51 +00:00
Doug Schaefer
5b29e684d8 Patch for Hoda Amer:
- Change the C Model Builder to use the DOM
- Minor changes to code model
- Fixes for bugs 35781, 26467
2003-04-08 21:30:53 +00:00
Alain Magloire
92da4f748c updated. 2003-04-08 14:54:05 +00:00
Alain Magloire
c7c35ceb84 updated. 2003-04-08 14:29:17 +00:00
Alain Magloire
0076f1bba6 Fix the drag & drop 2003-04-08 14:29:09 +00:00
Doug Schaefer
78e61be446 Patch for John Camelon:
CORE
	Brought DOM up to par wrt functionality with Code Model.  
	Added isFunctionDefinition() to SimpleDeclaration.  
	Added visiblity indicators for member declarations.  
	Added offset information that was previously unavailable.  
	Added preprocessor statements (inclusions, macros) to DOM.  
	Updated TypeSpecifier hierarchy to allow for parameter declarations to own elaborated types. 
	Added new constructor to parser to aid testing. 
	Fixed bug36065.  

TESTS
	Added testMemberDeclarations(), testPreprocessor(),
testElaboratedParms() to DOMTests.
2003-04-08 03:41:05 +00:00
Doug Schaefer
b53b2d419c Patch for Andrew Niefer:
- Rewrote the conversion sequence ranking to better handle all cases.
- Added ParserSymbolTableTest::testOverloadRanking (whose initial
failure prompted the ranking rewrite).
2003-04-07 21:43:01 +00:00
Doug Schaefer
e92be51ca5 Fixed broken .classpath where the parser source folder fell off. 2003-04-07 21:34:58 +00:00
Doug Schaefer
e7a699b56c Updates to the new build model. 2003-04-07 20:56:27 +00:00
Alain Magloire
c936206685 updated. 2003-04-07 19:06:27 +00:00
Alain Magloire
fdcadaa820 Enable registration to the ContentProvider menu
of the outliner
2003-04-07 19:06:18 +00:00
Alain Magloire
487ef8032a Sanity check for the start and length ranges. 2003-04-07 16:52:40 +00:00
Doug Schaefer
ec7c947a6f Yet Another Build Model.
- Defines most of the interfaces
- Some simple implementation behind the interfaces to at
least get information from the extension point.
2003-04-07 02:47:01 +00:00
Doug Schaefer
44aad85270 Patch for John Camelon:
CORE
	Fixed defect 36073.
	Fixed error handling for unterminated strings in Scanner.
	Fixed offset for inclusions in the outline view.  
	Significantly updated callback structure to better suite the nature of the Code Model.
	Updated all callbacks and parser to accommodate altered callbacks.  

TESTS
	Added DOMTests::testBug36073().
2003-04-06 03:06:22 +00:00
Alain Magloire
b0f43f73ce updated. 2003-04-06 00:33:54 +00:00
Alain Magloire
da81942d76 Get rid of some warnings. 2003-04-06 00:33:45 +00:00
Alain Magloire
7994b5c333 Implement the Collapse All Action in the CView 2003-04-05 19:50:43 +00:00
Alain Magloire
21bfc1a345 updated. 2003-04-05 06:33:48 +00:00
Alain Magloire
ced9493e7a Refactor the IWorkingCopyManager interface in
the public area.
2003-04-05 06:33:37 +00:00
Alain Magloire
0ced3f795d New scheme to use the WorkingCopyManager, this
will allow a the content outliner to work for
editor extending the CEditor and file not
in a c/c++ project.
2003-04-05 06:33:29 +00:00
Alain Magloire
55972f09a0 updated. 2003-04-05 02:05:00 +00:00
Alain Magloire
19278dab53 Implement TogglePresentatiion. 2003-04-05 02:04:45 +00:00
Alain Magloire
c15e5acca5 Make the preference constant visible for other plugins. 2003-04-05 02:04:25 +00:00
Alain Magloire
85420ddf38 new gifs for segment edit. 2003-04-05 02:03:42 +00:00
Alain Magloire
93917a44a7 updated. 2003-04-04 20:38:39 +00:00
Alain Magloire
2abea460ea Fix warning now that we move forward to 2.1 2003-04-04 20:38:29 +00:00
Alain Magloire
6e979f08d0 Fix the ContentAssist, the way action are register
changed in 2.1
2003-04-04 20:33:45 +00:00
Doug Schaefer
0ff98a152c Patch for John Camelon:
Core fix for Outline View
- Fixed bug35939.  Proper CElement position is set on
Simple Declarations, Class Specifications, Namespaces,
Enumerations and Enumerators, Macros and Inclusions.
- Callbacks updated to provide additional offset
information.
2003-04-04 18:45:09 +00:00
Doug Schaefer
7081cddca6 Patch for John Camelon:
CORE
	Fixed defects 36019, 36020, 36045.  
	Finished template declarations and their callbacks for the DOM (not the Code Model).  

TESTS
	Updated ScannerTest::testSimpleIfdef() for bug36019.  
	Updated ScannerTest::testNumerics() for bug36020.  
	Added ScannerTest::testBug36045().  
	Updated DOMTests::testTemplateDeclaration() for template grammar updates.
2003-04-04 14:05:22 +00:00
Doug Schaefer
c045393b50 Patch for Hoda Amer:
- Delta Builder Helper Functions in the CModel
- Plus some cleanups
2003-04-04 14:01:31 +00:00
Doug Schaefer
f846b8f6f4 Icon updates from Hoda. 2003-04-03 20:01:52 +00:00
Doug Schaefer
d66e2dca22 Patch for Hoda Amer adds:
- the support for namespaces in the NewModelBuilder. 
- an icon for extern variables.
- a JUnit test case for core model elements, including namespaces. The enum_obj_gif should overwrite the existing file.
2003-04-03 15:38:47 +00:00
Alain Magloire
19805635c6 Add ILibraryReference awareness 2003-04-03 04:29:59 +00:00
Alain Magloire
44f52feeff updated 2003-04-03 04:29:16 +00:00
Alain Magloire
8dbf5c40a6 Bug fix, not initializing fPathEntries 2003-04-03 04:28:54 +00:00
Alain Magloire
34f18c1a07 New class implements ILibraryReference 2003-04-03 04:28:30 +00:00
Alain Magloire
eac587f614 Add new method getLibraryReferences() 2003-04-03 04:28:03 +00:00
Doug Schaefer
46d2f50c48 Patch for John Camelon:
CORE
	Updated Scanner to convert ungodly control-characters to ' '.  
	Fixed logic error in model\SimpleDeclarationWrapper.
	Added operator support to grammar (conversion and overloading).  
	Fixed parser/util/Name.toString() to support non-qualified yet multi-part names.
2003-04-03 02:59:58 +00:00
Doug Schaefer
e31f920f10 Patch for myself for a change:
- This patch changes the default for the CModel to use
the new parser.
- Also, I change the preference to be stored in the
CCorePlugin preferences instead of the silly kludge
I had before.
2003-04-02 21:30:23 +00:00
Alain Magloire
e569d45eb6 updated. 2003-04-02 15:06:19 +00:00
Alain Magloire
751106a094 Bug fix NPE. 2003-04-02 15:06:10 +00:00
Alain Magloire
3c432412f0 Cleanup the linkToEditor() method. 2003-04-02 15:05:58 +00:00
Doug Schaefer
09948618e8 Patch for Andrew Niefer:
- Modified lookup with respect to resolving ambiguous names,
reducing the number of temporary lists/sets.
- Modified adding using declarations to properly support overloaded
functions.
- Added initial support for user defined conversion sequences when
resolving overloaded functions.
2003-04-02 13:18:54 +00:00
Doug Schaefer
6b80ff9dd3 Patch for John Camelon:
CORE
 - fixed bug35906
 - updated scanner to not puke on certain control characters

TESTS
 - added testBug35906() to DOMTests.
2003-04-02 13:13:34 +00:00
Alain Magloire
c021d8a42e New static methods taken from JDT counterpart. 2003-04-02 05:04:12 +00:00
Alain Magloire
bc176d3e56 handleDoubleClick() handle IBinary elements. 2003-04-02 05:03:47 +00:00
Alain Magloire
f386d98866 make setSelection() public 2003-04-02 05:02:14 +00:00
Alain Magloire
2c35f5f378 updated 2003-04-02 05:00:44 +00:00
Alain Magloire
2ea761f27d Typo should be getAddress(). 2003-04-02 04:57:11 +00:00
Alain Magloire
43fdcb2dc6 provide a sourcemapper per project 2003-04-02 04:55:44 +00:00