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

4664 commits

Author SHA1 Message Date
Bogdan Gheorghe
2dfa4fa8a1 Fix for 60772: NPE cancelling Selection Search in Working Set 2004-06-07 14:30:19 +00:00
Alain Magloire
66026fcc9e Fix PR 64328 2004-06-07 14:24:15 +00:00
Bogdan Gheorghe
880fa77c9e Changed MouseClickListener to use Parser KeywordSets 2004-06-07 02:39:36 +00:00
Bogdan Gheorghe
dc2bb390ae Fix for Bug 60629 : [Search] Big error when Searching view layout is set to Hierarchical 2004-06-07 02:19:21 +00:00
John Camelon
a029d87d56 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=64280 2004-06-06 20:16:09 +00:00
John Camelon
69a1d5f73d Moved KeywordSetKey to public interface.
Updated ParserFactory to allow querying upon different KeywordSetKey's.
2004-06-06 17:20:54 +00:00
John Camelon
da96e2c080 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=64268 2004-06-06 05:07:12 +00:00
John Camelon
a549ff4f27 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65569 2004-06-06 04:23:22 +00:00
John Camelon
15e615de07 Fixed translationUnit exception handling to allow ParserErrors to propogate out. 2004-06-06 03:36:52 +00:00
John Camelon
cd01f65fe6 Removed warnings that Doug introduced. 2004-06-06 03:19:38 +00:00
Doug Schaefer
608ab71cce Got rid of the break we added to translationUnit which ended up bringing
untimely endings to the parse. Also added a fix for Dave to nextToken in
the scanner which resulted in the massive increase of char[]s.
2004-06-05 02:47:08 +00:00
Doug Schaefer
c390aa43bf Update speed test to show token count. 2004-06-05 02:20:22 +00:00
Alain Magloire
272ee95ac1 Do not show includes/libraries Container if they no children 2004-06-05 01:36:01 +00:00
Sean Evoy
00f6c5f146 Fix for bug 60144 -- Final fix for paths with whitepsaces. The test was not finding the index of the whitespace quite right on Linux. Addressed and fixed. 2004-06-04 22:43:53 +00:00
Sean Evoy
69a7699f8c Fix for bug 60144 -- [ManagedBuild] Include Path: Directories with spaces are creating problems 2004-06-04 22:32:47 +00:00
Alain Magloire
1e489f25e0 Fix for PR 60650
* src/org/eclipse/cdt/ui/wizards/NewClassWizardPage.java
2004-06-04 21:57:38 +00:00
Doug Schaefer
a206e32d2a Changed the interface to the Scanner to take a CodeReader object.
A CodeReader simply contains a char[] and the name of the file, if any,
that the char[] is the contents of. This leads us down the path of using
char[]s in the parser instead of Strings in an attempt to cut down on
our memory usage.
2004-06-04 21:01:48 +00:00
Sean Evoy
98800badf4 Fix for bug 60230 - Project with spaces in name produces 2 executables. Since Eclipse does not treat this as illegal and since I am using the project name as the default build goal name, this is a legit bug. The solution is to remove all spaces from the project name, so a new project called "Hello World" will produce a build goal called HelloWorld 2004-06-04 20:45:51 +00:00
Sean Evoy
5f5b6bc0d7 Fix fog bug 64952 -- Indexer being called when it doesn't need to run 2004-06-04 20:17:57 +00:00
Alain Magloire
a9c11b6167 Potential deadlock in CElement.getElementInfo()
We can no longer synch on CModelMager.  We need
	to do some fine grained lock for the LRU caching.

	* model/org/eclipse/cdt/internal/core/model/CElement.java
	* model/org/eclipse/cdt/internal/core/model/CModelManager.java
	* model/org/eclipse/cdt/internal/core/model/Openable.java
2004-06-04 17:38:44 +00:00
David Inglis
180f029292 revert some changes... resource listener used to watch add/removal of folders inside project 2004-06-04 16:41:13 +00:00
David Inglis
2d072ae842 make adaptable so that selection listeners can adapt to project/resource (build console) 2004-06-04 16:40:25 +00:00
David Inglis
903856346a limit dialog size 2004-06-04 16:16:34 +00:00
David Inglis
df342408d4 fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=47563 2004-06-04 16:07:40 +00:00
Andrew Niefer
88bb7ba72b better cleanup after recursive template loop. 2004-06-04 15:39:39 +00:00
John Camelon
effb8b9fdb Patch for David Daoust -Optimize the scanner to not tokenize the macro parameters if the expansion is null. 2004-06-04 15:30:09 +00:00
John Camelon
157f44eef3 Submitted tests to validate fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=61972 2004-06-04 15:03:15 +00:00
John Camelon
f8ede5731b Patch for David Daoust - remove all instances of sub-Scanners in the scanner. Performance gains abound. 2004-06-04 14:27:46 +00:00
David Inglis
ea46f60dc2 fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=51269 2004-06-04 13:50:04 +00:00
David Inglis
2c822f988a fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65621 2004-06-04 12:55:29 +00:00
Alain Magloire
0041b93111 Fix for PR 64197 60906
* src/org/eclipse/cdt/ui/dialogs/BinaryParserBlock.java
2004-06-04 02:27:14 +00:00
Alain Magloire
df3c06eb4b Again the problem:
Eclipse filename association with editors is done strictly via
	the plugin.xml(and Preference Page).
	The CDT is ship with a sensible default i.e. *.c, *.h, *.cpp etc ..
	We use an hack in EditorUtility.getEditorID(...)
	To change this behaviour for the CView and the
	COutliner.

	Added support for DoubleClick to open a header
	in the outliner.

	Related PRs: 64834, 44363
2004-06-04 02:05:39 +00:00
Mikhail Khodjaiants
0503091564 Added new images for the "Auto-Refresh" and "Refresh" actions. 2004-06-04 00:35:56 +00:00
Doug Schaefer
18ef4dfec9 Update to the speed test. 2004-06-03 19:38:06 +00:00
David Inglis
2e972fcc9a fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=63937 2004-06-03 18:57:37 +00:00
Andrew Niefer
b6aed83db2 fix bug 64939 - recursive loop 2004-06-03 18:48:17 +00:00
John Camelon
c3338eda94 Updated Parser.translationUnit() to catch all Throwable rather than Exception 2004-06-03 18:23:56 +00:00
David Inglis
a718c3de62 cleanup maps in manager on project close/delete 2004-06-03 18:09:09 +00:00
David Inglis
a9691ef057 fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65565 2004-06-03 18:08:49 +00:00
John Camelon
a3995849f5 Put a public interface on accessing KeywordSets in ParserFactory.<BR>
Added preprocessor directives to KeywordSetKey.ALL.
2004-06-03 17:59:43 +00:00
Alain Magloire
9ca9d91f64 The Elf class should not depend of GNU
binutils tools like Addr2line or CPPFilt
	It is an Elf Parser and the needs of those tools
	are now part of IBinaryParser class
	* utils/org/eclipse/cdt/uitls/elf/AR.java
	* utils/org/eclipse/cdt/uitls/elf/Elf.java
	* utils/org/eclipse/cdt/uitls/elf/ElfHelperjava
	* utils/org/eclipse/cdt/uitls/elf/parser/ElfBinaryObject.java
2004-06-03 16:02:20 +00:00
David Inglis
2989ee4537 fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65564 2004-06-03 15:52:16 +00:00
David Inglis
017af57db2 fixed target building when run with proress dialog 2004-06-03 15:48:30 +00:00
David Inglis
4d51a02662 add throws CoreException on getStream.... 2004-06-03 15:16:56 +00:00
Alain Magloire
965f0a205d Patch from Sam Rob, fix for 64783
* src/org/eclipse/cdt/internal/ui/preferences/CFileTypesPreferencePage.java
	* src/org/eclipse/cdt/internal/ui/preferences/CFileTypesPropertyPage.java
2004-06-03 14:42:21 +00:00
David Inglis
ab02e6e396 use new preference initializer 2004-06-03 14:37:42 +00:00
Andrew Niefer
6ceb2d0ee8 bug 65477 2004-06-03 13:45:11 +00:00
Doug Schaefer
34bb8dd348 Added a speed test so that I can track the progress of the parser performance work. 2004-06-03 12:53:47 +00:00
Alain Magloire
d12ebf93d3 Catch IndexOutOfBound 2004-06-03 02:57:51 +00:00
John Camelon
1193d6341a Fixed bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=47752 <BR>
Fixed bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=64321
2004-06-03 00:38:37 +00:00