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

3492 commits

Author SHA1 Message Date
Mikhail Khodjaiants
fd9750f26f Merging changes from 1.2.1 branch. 2004-02-10 23:00:21 +00:00
John Camelon
9a439466fc Workaround for Bug 51502 - Parser spins on particular file (Scalability) 2004-02-10 20:51:23 +00:00
John Camelon
901cb862ed Patch for Vladimir Hirsl
Fix for PR# 51373: NPE when trying to instantiate a CBuildConsole with non null id
2004-02-10 20:42:04 +00:00
Mikhail Khodjaiants
7fb590779b Fix for bug 51519: Enable 'Format' action if multiple variables are selected. 2004-02-10 20:15:00 +00:00
John Camelon
a69ae2ccf2 Patch for Bogdan Gheorghe
This patch adds a layer of separation between the indexer and the parser by running the parser in its own thread. This allows the indexer to finish all jobs regardless of the individual parser outcomes. Also fixed a potential EOF bug while reading stored indexes.
2004-02-10 18:17:42 +00:00
Hoda Amer
da13b999cd Content Assist Preference: Reduced search options to two choices. 2004-02-10 16:06:10 +00:00
John Camelon
3676f03756 Fixed Bug 51302 - Content Assist: No completion list available following namespace declaration. 2004-02-10 16:06:06 +00:00
Alain Magloire
78769c3537 Fix Pr 50794 .
Rename CViewSorter to CElementSorter and refactor
in org.eclipse.cdt.ui.CElementSorter
2004-02-10 15:44:52 +00:00
John Camelon
f596606ff7 org.eclipse.cdt.core
Refactored Parser.java to allow inline small functions and tightened the signatures for statement().  
	Refactored Scanner.java to allow for data to be encapsulated to allow for IScannerExtension to act upon it. 
	Partially fixed Bug 47628 - signed char is parsed as char (affects the outline view) 


org.eclipse.cdt.core.tests
	Added testBug47682() to QuickParseASTTests.java.
2004-02-10 15:33:52 +00:00
John Camelon
728eeb85f8 Patch for Andrew Niefer.
Core:
- fix class cast exception in the symbol table while traversing the 
inheritance of a class.
- filter the results of the prefix lookup for content assist so that those 
symbol without attached AST nodes aren removed so that the iterator does 
not later return a null.

Tests:
- added CompletionParseTests.testBug51260
2004-02-09 16:32:43 +00:00
Hoda Amer
2937f68a8c Patch for Bogdan : Search for function with no parameters VS ignore parameters. 2004-02-09 15:46:40 +00:00
John Camelon
90c0309950 org.eclipse.cdt.core
Added support for inline method x-references.  
	Fixed Bug 44340 - Inline functions fail to resolve references 
	Fixed Bug 51243 - Content Assist in an empty document causes a NPE 


org.eclipse.cdt.core.tests
	Moved testErrorHandling_1() from failed tests to CompleteParseASTTest.  
	Moved testBug44340() from failed tests to CompleteParseASTTest.
2004-02-09 04:19:11 +00:00
Hoda Amer
2e52e1bcc2 Small fixes for UI + 1 fix for CModelBuilder 2004-02-06 17:29:40 +00:00
Alain Magloire
524975ed0f new Icon from chris. 2004-02-06 14:34:30 +00:00
Alain Magloire
6cd03b77ff Patch from Chris to catch Cancel exception 2004-02-05 20:39:07 +00:00
Alain Magloire
65f227f889 2004-02-05 Alain Magloire
PR 51221
	Reformat Patch from Bogdan base on Thomas Fletcher original patch
	In a nutshell, it moves the search operation into a runnable which
	can be passed to a progress dialog.
2004-02-05 19:56:27 +00:00
Alain Magloire
8df8840f36 2004-02-05 Alain Magloire
PR 51221
	Reformat Patch from Bogdan base on Thomas Fletcher original patch
	In a nutshell, it moves the search operation into a runnable which
	can be passed to a progress dialog.

	* src/org/eclipse/cdt/internal/ui/editor/OpenDeclarationsAction.java
2004-02-05 19:53:54 +00:00
Hoda Amer
206694da40 Content Assist Preference fix 2004-02-05 18:16:08 +00:00
Alain Magloire
dfbc2241b6 Fix for PR 50810
PE/Coff guard agains bad values of String Table.

Model: cache the IBinaryArchive class in Archive.
2004-02-05 17:33:15 +00:00
Alain Magloire
9e531f825a Patch from Chris Wiebe
to deal with includes outside the workspace.
2004-02-05 16:21:45 +00:00
John Camelon
1f042fb9a2 org.eclipse.cdt.core
Added preliminary (crude) SelectionParser IParser implementation for SELECTION_PARSE clients.  

org.eclipse.cdt.core.tests
	Added preliminary SelectionParseTests to test SELECTION_PARSE clients. 
	Added SelectionParseTests to ParserTestSuite.
2004-02-05 04:01:24 +00:00
John Camelon
395c81dceb org.eclipse.cdt.core
Added preliminary (crude) SelectionParser IParser implementation for SELECTION_PARSE clients.  

org.eclipse.cdt.core.tests
	Added preliminary SelectionParseTests to test SELECTION_PARSE clients. 
	Added SelectionParseTests to ParserTestSuite.
2004-02-05 03:57:56 +00:00
Alain Magloire
8512e1b76f Fix for 51143 2004-02-03 23:15:30 +00:00
Alain Magloire
c6f2a35f9c Patch from Chris Songer to make multiple
selection works when setting formats.
2004-02-03 20:27:30 +00:00
Alain Magloire
2fbfc15fe4 Fix for PR 51121 2004-02-03 18:03:23 +00:00
Alain Magloire
cfb48d06f2 PR 51115
Cache the result of the include query.
From Thomas Fletcher
2004-02-03 16:51:06 +00:00
Alain Magloire
877147feef put the PR # 2004-02-03 16:04:41 +00:00
Alain Magloire
c5c3b2e7e9 Patches from Thomas Fletcher to deal with some
short comings of the indexer when dealing with
Very large scale projects.
2004-02-03 16:03:03 +00:00
Alain Magloire
74c8d54a44 use extendedTextEditor 2004-02-02 20:53:23 +00:00
Alain Magloire
9f38e59620 Reenable the Make Editor for the head. 2004-02-02 20:04:46 +00:00
Alain Magloire
3a48d4c7c6 Give more flexibility in changing the behaviour
of the CElementLabelProvider.
2004-02-02 17:06:59 +00:00
Thomas Fletcher
c017fa06af Updates to improve usabilty with projects which contain
multiple binaries and to improve extensibility of quick
launcher.
2004-02-02 15:22:26 +00:00
Alain Magloire
e2482f2bc6 Do not pass an empty string. 2004-02-02 14:18:09 +00:00
John Camelon
0dc064bbd6 org.eclipse.cdt.core
Added CompletionKind.UNREACHABLE_CODE to IASTCompletionNode.  
	Updated Scanner to handle unreachable code scenarios in content assist.  
	Added Directives class to centralize preprocessor directive strings.  
	Added keyword completion for preprocessor lines that start with #.
2004-02-01 18:38:06 +00:00
John Camelon
695df66284 org.eclipse.cdt.core
Partial fix for Bug 47752 - Outline does not recognize functions with full body try/catch blocks 

org.eclipse.cdt.core.tests
	Added QuickParseASTTest::testBug47752.
2004-01-30 23:36:05 +00:00
John Camelon
de5b46412d Updated Scanner to allow for more robust completion in #if directives. 2004-01-30 22:41:56 +00:00
Alain Magloire
df79974b26 Let the MIExecInterrupt through 2004-01-30 19:46:55 +00:00
Mikhail Khodjaiants
fb22e46d9a Fix for bug 50967: Linux/SWT blows when double click on the register view. 2004-01-30 19:44:32 +00:00
John Camelon
fbda3f7d9a org.eclipse.cdt.core
Fixed Bug 50487 - Wrong completion kind and prefix after "#ifdef" 

org.eclipse.cdt.ui.tests
	Updated CompletionFailedTest_MacroRef_NoPrefix_Bug50487, renamed it to CompletionTest_MacroRef_NoPrefix and moved to passed test package.
	Updated CompletionFailedTest_MacroRef_Prefix_Bug50487, renamed it to Y and moved to passed test package.
2004-01-30 18:28:07 +00:00
Mikhail Khodjaiants
9d0e717ea4 Fix for bug 50981: In the 'getValue' method of CVariable 'getType' should be only called once. 2004-01-30 17:44:32 +00:00
Alain Magloire
2e8a72022a Allow the client to overload the interrupt 2004-01-30 17:15:50 +00:00
Hoda Amer
672ff00623 Content Assist Work: More JUnit tests 2004-01-29 21:17:47 +00:00
Hoda Amer
7bccc3314d Content Assist Work: More JUnit tests 2004-01-29 18:02:12 +00:00
Alain Magloire
42c82af132 Split the ChangeLog, it is getting way to big
when doing comparison.
2004-01-29 17:40:39 +00:00
Alain Magloire
80e693ac65 PR 50789
First work to add support for "Show in CView"
Based on work provided by Thomas Fletcher.
2004-01-29 17:29:44 +00:00
Alain Magloire
9678b65711 PR 50789
First work to add support for "Show in CView"
Based on work provided by Thomas Fletcher.
2004-01-29 17:22:26 +00:00
Alain Magloire
11f6760c10 PR 50789
First work to add support for "Show in CView"
Based on work provided by Thomas Fletcher.
2004-01-29 17:14:23 +00:00
John Camelon
d46025b64f org.eclipse.cdt.core
Fixed  50642 - Wrong completion kind when declaring an argument type
	Updated using declarations for more accurate keywords and closure.

org.eclipse.cdt.ui.tests
	Updated CompletionTest_ArgumentType_Prefix_Bug50642, renamed it to CompletionTest_ArgumentType_Prefix and moved to passed test package.
	Updated CompletionTest_ArgumentType_Prefix2_Bug50642, renamed it to CompletionTest_ArgumentType_Prefix2 and moved to passed test package.
	Updated CompletionTest_ArgumentType_NoPrefix_Bug50642, renamed it to CompletionTest_ArgumentType_NoPrefix and moved to passed test package.
	Updated CompletionTest_ArgumentType_NoPrefix2_Bug50642, renamed it to CompletionTest_ArgumentType_NoPrefix2 and moved to passed test package.
2004-01-29 16:59:54 +00:00
Alain Magloire
752890b1aa *** empty log message *** 2004-01-29 16:51:19 +00:00
Alain Magloire
662e440276 CDT Debug prefers things to be in ascending number 2004-01-29 16:49:28 +00:00