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

2209 commits

Author SHA1 Message Date
David Inglis
cad6860ec1 use monitor passed in 2004-06-01 20:26:01 +00:00
Andrew Niefer
441bdd65c8 fix up handling of defered template instances (a better fix for 64919) 2004-06-01 20:16:15 +00:00
Alain Magloire
d7be8043d6 oops typo!!!! 2004-06-01 19:37:47 +00:00
Alain Magloire
37f1e5f996 2004-06-01 Alain Magloire
A release of the CDT was distributed with
	a typ "ELF" instead of "Elf" we provide
	and extension point pointing back to "ELF"
	parser for backward comp.  But ignoring
	it in the UI.

	* src/org/eclipse/cdt/ui/dialogs/BinaryParserBlock.java
2004-06-01 19:33:10 +00:00
Andrew Niefer
d4c76e1e98 fix bug 64919 - stack overflow in symbol table 2004-06-01 18:58:28 +00:00
David Inglis
424cfd2211 [scalability] TU check for existance should just be resource test instead of parsing the file. 2004-06-01 18:32:12 +00:00
Alain Magloire
2beb6089ea Fall back on the Nature of the project
to decide of the syntax of the CEditor.

	* src/org/eclipse/cdt/internal/ui/editor/CEditor.java

	NPE in the CSourceHover.

	* src/org/eclipse/cdt/internal/ui/text/c/hover/CSourceHover.java
2004-06-01 18:29:35 +00:00
Doug Schaefer
59694ccf88 Removed the ScannerData object and moved it's fields right into the Scanner.
Made all users of getChar in the scanner call getChar(boolean) directly
to remove the extra call to getChar(void). Merged readFromStream in as well.
Finally, I have remove the trigraph code to remove the checks for every character.
A bug will be raised to reimplement this functionality elsewhere.
2004-06-01 15:16:55 +00:00
Doug Schaefer
bee373939f Removed the ScannerData object and moved it's fields right into the Scanner.
Made all users of getChar in the scanner call getChar(boolean) directly
to remove the extra call to getChar(void). Merged readFromStream in as well.
Finally, I have remove the trigraph code to remove the checks for every character.
A bug will be raised to reimplement this functionality elsewhere.
2004-06-01 15:04:28 +00:00
Andrew Niefer
9e483cb5fc clean up imports ( fixes broken build ) 2004-06-01 14:24:16 +00:00
Alain Magloire
6124157bef 2004-05-31 Alain Magloire
Putting a good chunk of code(Taken from JDT)
	to do proper hovering.
2004-06-01 05:13:07 +00:00
Bogdan Gheorghe
db3e3b19c4 Added warning message to status line when C/C++ search page is invoked and not all
projects in the workspace have indexing turned on.
2004-06-01 04:37:02 +00:00
Andrew Niefer
9c8337b751 -fix bug 64753
-also put in temporary fix for symbol table tests failing when run as
plugin tests but passing when run just as junits
2004-05-31 20:12:17 +00:00
Andrew Niefer
6d52df8fcd pool some TypeInfos. This reduces memory allocated by about 3 megs during a parse of iostream & windows.h 2004-05-31 18:29:33 +00:00
David Inglis
34f6b89386 [scaleablity] don't involve filter when testing for expandablity. 2004-05-31 16:18:00 +00:00
David Inglis
92b484a970 fixed NPE in build console when console manager was not finsihed being initialized and the console was being written to. 2004-05-31 14:13:50 +00:00
Alain Magloire
87c2b3a623 Protect agaist NPE 2004-05-28 23:14:15 +00:00
Bogdan Gheorghe
7fa8a0305e Fix for Bug 63831 - Ability to determine when the index is incomplete
Provided a way for external clients to query the index state of a project
2004-05-28 22:07:10 +00:00
Doug Schaefer
c839041374 New character array utilities that should make things much faster, one day... 2004-05-28 20:53:35 +00:00
Alain Magloire
c17d871ba5 CModelstatus class was incomplete and never returned
anything usefull as an error.
2004-05-28 20:25:11 +00:00
Bogdan Gheorghe
eebe6d4aeb Externalized index notification job string 2004-05-28 20:18:29 +00:00
Bogdan Gheorghe
87e2ecff89 Fix for Bug 60946 - [Indexer] indexer should provide notification whenever index changes
Provide a notification to the listener of index events
Fix for Bug 44926 - add extensibility to gracefully handle preprocessor exceptions
Added an IndexProblemHandler to handle parser IProblem callbacks
2004-05-28 19:44:48 +00:00
Andrew Niefer
a38caa6521 don't report problems for circular inclusions 2004-05-28 19:29:24 +00:00
Andrew Niefer
495d77744b reduce the use of iterators in the symbol table 2004-05-28 19:02:32 +00:00
Alain Magloire
a677717aa3 Reverse part of a patch from TF concerning
memory images. We need to look at this closer.
	For now it seem to break some icons.

	* src/org/eclipse/cdt/internal/ui/CPluginImages.java
2004-05-28 17:10:18 +00:00
David Inglis
7a38ea6afb fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=64458 2004-05-28 16:44:00 +00:00
David Inglis
cc06054a0a method name change 2004-05-28 16:22:24 +00:00
David Inglis
53738dc5bf update include/symbol path
- fix updating problems
- support edit
- removed single tab to use full page area
2004-05-28 16:21:52 +00:00
Andrew Niefer
5a49f2aee5 part of 51065 - move CElementLabels to internal.ui.viewsupport 2004-05-28 15:41:37 +00:00
Andrew Niefer
13d0e52cba undo accidental commit 2004-05-28 14:58:41 +00:00
Andrew Niefer
a7e23f8c15 remove warnings 2004-05-28 14:54:58 +00:00
John Camelon
cf2a2a38e8 Further footprint optimization in parser and scanner. 2004-05-28 03:25:16 +00:00
Andrew Niefer
fc34ca8ab5 reduce the size of the base LookupData from 72 to 40 bytes.
Use abstract classes instead.

This reduces the memory used by LookupData by 3 meg during a
parse of iostream and windows.h
2004-05-27 22:26:56 +00:00
Bogdan Gheorghe
742d1b1514 Fix for Bug 58716 - [Refactoring] Subdirectories confuse refactoring
Added a listener to path change events from the core model; retrigger
indexing based on the level of the change event
2004-05-27 21:17:45 +00:00
Bogdan Gheorghe
cf466da37f Fix for Bug 62015 - Indexer to not rely on file extension for translation Unit
Changed all indexer file type checking to use the CoreModel file resolution services.
2004-05-27 19:07:09 +00:00
Andrew Niefer
361017e5d4 performance changes, use ArrayList instead of LinkedList, reduce use of iterators. saves 5% 2004-05-27 19:00:09 +00:00
Alain Magloire
8f92139ae5 Patch from Thomas Fletcher
- Restore bracket matching behaviour in the editor and use parent
	class code for setting up the editor's OverviewRuler.
2004-05-27 15:31:32 +00:00
Alain Magloire
49b97b4f31 Do not generate CElementDelta for pathEntries
if none were presents previously.
2004-05-27 15:20:36 +00:00
Alain Magloire
e44330ce84 Fix from Chris Wiebe 2004-05-27 14:39:27 +00:00
Alain Magloire
979436cdf1 use the "c" icon 2004-05-27 14:37:20 +00:00
John Camelon
dc9619b241 Further reduce memory footprint by trimming down Declarator and DeclarationWrapper classes. 2004-05-27 04:41:59 +00:00
John Camelon
1f636f83b5 Footprint optimizations for ITokenDuple implementations. 2004-05-27 03:32:18 +00:00
David Inglis
f5a3edcb90 removed [ ] 2004-05-26 22:40:01 +00:00
David Inglis
948279d055 fixed up labels 2004-05-26 20:02:45 +00:00
John Camelon
f9dae150ff Removed unnecessary lists. 2004-05-26 18:56:01 +00:00
Andrew Niefer
e2aba75dbb - Move cdt.internal.core.parser.util.ASTUtil to cdt.core.parser.ast
- Modify search to use ASTUtil for building function parameter strings
- Modify selection search to use parameter info in search (bug 63966)
2004-05-26 18:24:15 +00:00
Alain Magloire
975b25ff8e The patch was screwing the gif. Reapplied 2004-05-26 15:35:53 +00:00
John Camelon
ad024f522b Patch for David Daoust .. Fix for bug 62338 2004-05-26 15:30:31 +00:00
Alain Magloire
24b52e838e CUIPlugin.startup() cleanup. The method
was trying to get the UI thread, not necessary.
2004-05-26 15:18:40 +00:00
David Inglis
7aa7748a99 fixed NPE on shutdown 2004-05-26 15:09:48 +00:00