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

2277 commits

Author SHA1 Message Date
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
David Inglis
f7264a67cd typo 2004-05-26 14:57:50 +00:00
Alain Magloire
ccfe7d8f5f 2004-05-26 Alain Magloire
Jumbo Patch from Chris Wiebe.
	Putting a starting skeleton for C Browsing.
2004-05-26 14:49:48 +00:00
David Inglis
4a12e51cb9 nolonger throws bogus exception when .cdtproject id does not match 2004-05-26 14:48:13 +00:00
David Inglis
3f5fd52006 fixed up test to prevent some deadlocking 2004-05-26 14:47:35 +00:00
Alain Magloire
c2cc81a395 updated changelog 2004-05-26 14:35:32 +00:00
Alain Magloire
4a8eacaa59 PR 61965
From Thomas Fletcher:
	2.0 mainline scalability patch to
	call dispose methods and remove listeners
2004-05-26 14:22:38 +00:00
Alain Magloire
40f9982534 Update the necessary classes to use the new
ResolverModel.
2004-05-26 02:59:50 +00:00
John Camelon
895266aebe Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=63966 2004-05-26 01:11:00 +00:00
Alain Magloire
285254ad4e Major Patch from Sam Robb
bring to a close PR 52864.
2004-05-25 23:48:56 +00:00
Andrew Niefer
ef506f545b fix bug 64010: if else if recursion looks like stack overflow 2004-05-25 22:20:43 +00:00
Alain Magloire
7c5f2b01da Ask the IScannerInfo for the IResource. 2004-05-25 20:29:00 +00:00
David Inglis
cd4670ee40 remove unused properties page 2004-05-25 19:05:55 +00:00
Alain Magloire
7fbcd15bc4 Provide better orderin of the ScannerProvider.
The other of the include
	We need to reorder the include/macros:
	includes the closest match to the resource will come first
	    /project/src/file.c  --> /usr/local/include
	    /project/src         --> /usr/include
	/usr/local/include must come first.
	For the macros the closest symbol will override
	   /projec/src/file.c --> NDEBUG=1
	   /project/src       --> NDEBUG=0
	We will use NDEBUG=1 only
2004-05-25 19:04:44 +00:00
David Inglis
972ac277a0 new Include/symbol page 2004-05-25 18:49:32 +00:00
David Inglis
116d4e034b small fix to getting resource strings... 2004-05-25 18:46:56 +00:00
Andrew Niefer
c0ba9bebfc fixing bug 62359 [Content Assist] failure on iostream in Linux
- fix problem during errorhandling
- fix operator function names
- fix NPE during template argument deduction
2004-05-25 18:42:30 +00:00
John Camelon
4e4b2fc233 Ensured BufferedReaders are used in the Scanner. 2004-05-25 18:31:25 +00:00
John Camelon
7b873687b6 Cleaned up translationUnit() backtracking. 2004-05-25 18:04:24 +00:00
Bogdan Gheorghe
5630808394 Added some checks to the indexer timeout field to make sure a sane value is entered 2004-05-25 14:10:47 +00:00
John Camelon
29fdfabb37 Fixed loop-detection code in Parser:cInitializer. 2004-05-25 01:09:58 +00:00
John Camelon
18de33d8a9 https://bugs.eclipse.org/bugs/show_bug.cgi?id=62009 2004-05-25 00:47:19 +00:00
Doug Schaefer
de0397f03e Cleaned up the build.properties files to ensure the right things end up in the binary and source builds. 2004-05-24 17:18:38 +00:00
Andrew Niefer
a4bc1beabc fix bug 63478 2004-05-21 21:08:40 +00:00
Andrew Niefer
4b1ecbf65b bug 43014, 62979: Reporting IProblems encountered during indexing. Only preprocessor problems to start 2004-05-21 20:33:16 +00:00
Andrew Niefer
701ada92df bug 62731 2004-05-21 18:16:58 +00:00
John Camelon
a355b2cf1d Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=62728 2004-05-21 17:54:41 +00:00
John Camelon
129dd89591 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=62725 2004-05-21 15:31:24 +00:00
John Camelon
d595dc0508 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=62721 2004-05-21 15:01:57 +00:00
Bogdan Gheorghe
22055aad20 bug 63320 - Search does not consider working copies
Added a check to turn off indexer timer thread, if number entered is <= 0
2004-05-21 14:34:44 +00:00
Alain Magloire
ecdcf0a446 2004-05-21 Alain Magloire
Remove TranslationUnitProblemFinder, we can not use the same
	approach as the JDT i.e. to reparse.  Parsing is way to costly
	for C/C++ because of the Preprocessor, instead we set the problem
	requestor in the translationUnit.
2004-05-21 05:43:43 +00:00
Alain Magloire
4ee5d85a60 2004-05-21 Alain Magloire
$&#*$(^#&^$(^#
	Eclipse-3.0 change the way things are done
	for the preferences we have, for the CEditor
	merge the Preference settings: the CUIPlugin store
	and the Editor store since now the settings is
	on the TextEditor(see annotation).
2004-05-21 05:43:13 +00:00
John Camelon
95d5594fd0 Fix content assist to work w/WorkingCopy again.
Further memory enhancements.
2004-05-20 21:40:56 +00:00