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

1562 commits

Author SHA1 Message Date
Andrew Niefer
df3aaeae35 bug #142464. NPE in CElementAdaptorFactory 2006-05-24 20:53:33 +00:00
Doug Schaefer
7b0cf6dc03 Updated the about.html files. 2006-05-24 13:51:50 +00:00
Doug Schaefer
326fcbaa4f Fixed up search including assing support for both the List and Tree view, the remove element menu items, and search rerunning. Also made a common Label provider for all index based views. Also removed the LinkageCache which is no longer used since the PDOM now caches Linkages. 2006-05-23 19:17:48 +00:00
Doug Schaefer
1e3290c88c Added Rebuild Index Object Contribution for ICProject. 2006-05-23 03:17:52 +00:00
Doug Schaefer
489d4ca139 Really turn off the ctags indexer. Now if the ctags indexer gets asked to run, it'll simply set the indexId of the project to the null indexer. Also cleaned up some of the magic constants in CCorePlugin. 2006-05-23 02:31:37 +00:00
Doug Schaefer
8edd645f62 Sorting the projects in the IndexView to match the projects view. 2006-05-22 20:29:40 +00:00
Doug Schaefer
4aa85cde22 Fixed the IndexView to handle added and removed projects. 2006-05-22 20:23:04 +00:00
Doug Schaefer
c27a51479b Removed the ctags indexer from the UI. Added a check box to the indexer preference page to allow for all projects to be updated to the new preference. 2006-05-22 19:39:55 +00:00
Doug Schaefer
9df742ada4 Put the PDOM back to per project. Increased the Chunk size in the database to 16K so that less handles are created on Windows. 2006-05-19 20:47:26 +00:00
Doug Schaefer
6fad7334f7 Two major PDOM changes. First, the PDOM is now per workspace. Indexers remain per project. There were a lot of changes to make this work.
Second, the macros are now cached on the PDOMCodeReaderFactory which is now used for the duration of a reindex request. This vastly improves the performance of the fast indexer.
2006-05-18 22:22:20 +00:00
Doug Schaefer
0529788dfc Bug 140933 - added search to exports list for now until the real APIs can be determined. 2006-05-15 19:02:44 +00:00
Doug Schaefer
be3041c07d Added function style macros. Redid how macros are handled in the fast indexer. And a few minor bug fixes in the Actions. 2006-05-10 19:25:09 +00:00
Markus Schorn
7b0ae91357 Fixed endless loop, bug 100300. 2006-05-10 11:26:32 +00:00
Markus Schorn
a7bf4777d8 Patch from Dave Daoust, Discouraged access, bug 100186. 2006-05-10 11:06:58 +00:00
Doug Schaefer
d0da5589a7 Added parameters types to allow for content assist to show something useful in the completion proposals. Also refactored around names so that not every node needs a name and node types so that things that aren't bindings can be resolved by the Linkages. All this to properly support ITypes which aren't necessarily bindings. 2006-05-09 20:37:21 +00:00
Markus Schorn
d2b0d64e51 Patch from Anton Leherbauer, NPE, bug 131267. 2006-05-09 16:08:18 +00:00
Markus Schorn
018ce2f78c Patch from Anton Leherbauer, Background color of templates, bug 105614. 2006-05-09 16:07:38 +00:00
Markus Schorn
4f434d0f92 Patch from Anton Leherbauer, Formatter and preferences, bug 126617. 2006-05-09 16:07:11 +00:00
Markus Schorn
68c96e4c2b Changed label 'Code Assist' to 'Content Assist', bug 85064 2006-05-09 15:08:50 +00:00
Markus Schorn
159945250e Adds default preference pages for the C- and Makefile Editor; Toni's patch for bug 138212 2006-05-03 08:50:59 +00:00
Doug Schaefer
8dc786af3b Fixed Open Declaration to look at PDOM Bindings. 2006-05-01 01:58:05 +00:00
Doug Schaefer
1be823b03c Changed the way Strings are stored in the PDOM to support strings larger than the Chunk size. Added support for Macros and the use of them when skipping over header files (i.e. don't skip the macros). Upversioned the PDOM to kick off reindexing. 2006-04-28 20:34:06 +00:00
Markus Schorn
0ae9539298 Patch from Anton Leherbauer for bug 39521, highlighting of number constants. 2006-04-26 13:26:27 +00:00
Doug Schaefer
71f9b034c8 Hooked up the ctags preferences/property page. Optimized the use of Strings and extracting them out of the database. Fixed up the ctags delta handling. 2006-04-25 23:18:04 +00:00
Markus Schorn
d85160f0be Patch from Anton Leherbauer for bug 39399, 'goto home' in CEditor. 2006-04-25 13:50:43 +00:00
Markus Schorn
e6af39c712 Patch from Anton Leherbauer for 138330, NPE in AsmEditor 2006-04-25 12:00:17 +00:00
Doug Schaefer
d29e62720b PDOM - Added file inclusions to index. Started the Full Indexer. Change the visit method on BTrees to be accept, as is the standard name for such things. 2006-04-22 21:51:46 +00:00
Markus Schorn
6f2f3e37ee Fix for NPE in CContentOutlinePage.createContentProvider(), bugzilla 114054 2006-04-20 14:02:57 +00:00
Thomas Fletcher
93740b5316 Updated reconciler usage to make use of new MonoReconciler class
and removed CReconciler.
Patch contributed by Anton Leherbauer
PR 130089
2006-04-19 21:19:27 +00:00
Doug Schaefer
b9ae5fbbe8 Put the Type Cache back and reactivate the code that uses it, i.e., Open Type and the New Class Wizard. The info still returns null but I'll you should be able to compile. 2006-04-19 19:20:05 +00:00
Thomas Fletcher
de00c8a6af Changed reconciler to be non-incremental due to the latency that is
incurred as part of the editor close operation.
PR 130089
2006-04-18 18:40:47 +00:00
Doug Schaefer
9222a14bd9 Got our first entries from ctags. Fixed open declaration to deal with line numbers in the PDOM. So far, just variables and without any scoping information. 2006-04-18 02:54:38 +00:00
Doug Schaefer
9fe6b60793 That was weird. When we removed the ListenerList class with the old refactoring, we ended up resolving to an internal eclipse core runtime version of it. Not that version has moved to the public interface. 2006-04-14 22:49:31 +00:00
Markus Schorn
6051a416ba Adds text-search to the context-menu. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=126749 2006-04-14 12:15:45 +00:00
Markus Schorn
256cdaa7a7 Fixes the NPE by asking for the active editor instead of the active part. 2006-04-14 11:59:50 +00:00
David Inglis
5821dad7c1 fixed PR 133200
patch from  Emil Erlandsson
2006-04-14 01:18:56 +00:00
Doug Schaefer
be04db0edf Remove the removed source folders from the build.properties file. 2006-04-12 17:42:20 +00:00
Doug Schaefer
c394f40e48 Testing the scalability of the Commit Files dialog. No really, I've removed the old indexer, search and type cache and have fixed all the compile errors that doing so caused. A number of features are disabled to be re-enabled later. 2006-04-12 17:11:14 +00:00
Doug Schaefer
0c03c9be25 Hooked up the PDOM to content assist. Addes a getExpressionType to IASTExpression to help out the cause. 2006-04-09 20:11:21 +00:00
Doug Schaefer
3ca3b2bdcc Removed the old search page. 2006-04-09 16:52:34 +00:00
David Daoust
7d14f8eb5c PR 62772 2006-04-07 19:29:17 +00:00
Doug Schaefer
e9eb7ef7e6 The IndexView now skips linkages in the hierarchy if there is only one in a project (i.e. not a multi-language project). Also fixed a bug with paths in the GCCLanguage and warnings in GPPLanguage. 2006-04-07 19:18:26 +00:00
Doug Schaefer
4f0893f7f7 PDOM - Change the IndexView content provider to use the new IPDOMVisitor pattern. Also made the external symbols filter into a real ViewerFilter. 2006-04-07 19:03:18 +00:00
Doug Schaefer
18cbd3defb Moved IWorkingCopyProvider and PathUtil out of the browser source folder into more appropriate homes. 2006-04-05 15:29:15 +00:00
Doug Schaefer
50a37afbda Fix NPE bug 134969. Broke when I converted IProject to ICProjects everywhere. Forgot to check for null when converting back in the indexer page. 2006-04-05 13:52:02 +00:00
Doug Schaefer
9c893eb485 Patch for Anton Leherbauer bug 81555. Use a CDT specific partitioning for (almost) all C documents. 2006-04-04 18:46:38 +00:00
Doug Schaefer
3799e8d91e Turn code completion back on. The PDOM isn't quite ready yet for content assist. 2006-04-04 16:55:31 +00:00
Doug Schaefer
a9e3b1a8ea Fix up the compile error with ICSearchConstants by extracting the two inner classes to their own files. This is all deprecated anyway. 2006-04-04 15:23:04 +00:00
Doug Schaefer
23684e5f8f Flipped back to a read/write lock on the pdom. Made the indexing operations one job to reduce the number of threads on the go. Now caching the language id to language object to speed up operations. 2006-04-04 14:16:07 +00:00
Doug Schaefer
44c81e1db6 Hooked up the Fast indexer so it should work now. Also changed a few interfaces so that they use ICProject instead of IProject. We should be sticking to the CModel as much as possible so we can leverage CDTisms like source folders and path entry info. 2006-03-31 21:40:26 +00:00