Doug Schaefer
8df1d9249d
Bug 144236 - Fixed the NPE cause by not registering a selection provider for the IndexView's site. Now that the object contributed rebuild index works, I have removed the hardcoded one from the Index View.
2006-06-01 20:23:32 +00:00
Doug Schaefer
bc520fcaff
Bug 144095 - Added hooks to look up things in PDOMCPPNamespace when they aren't found during the regular scope lookup.
2006-05-31 17:56:43 +00:00
Doug Schaefer
933ecf7e00
Bug 135034 - Handle project deletion while indexing. Cancels all pending and the current task if they are started by the indexer associated with the project.
...
Also snuck in a change to the menu items for Searching decls and refs, i.e. removed to "All" to match the JDT.
2006-05-28 04:16:42 +00:00
Doug Schaefer
090476da2d
Bug 143488 - Hooked up the FindAction to the Selection Parse methods for getting full name text selections. Also upgraded these methods to reuse TextSelection from JFace instead of rolling our own.
2006-05-28 00:05:41 +00:00
Doug Schaefer
7626fb1115
Bug 137959 - Added struct kind to PDOMCPPClassType.
...
Also cleaned up the firing of PDOM change events so that they happen on each write lock release.
2006-05-27 16:47:14 +00:00
Doug Schaefer
6334301ac3
Fixed up the search element and search match to eliminate duplicate matches from multiple projects.
2006-05-27 04:11:50 +00:00
Doug Schaefer
0fb9f4e4f2
Fixed a typo in the PDOMSearchQuery that was dropping definitions.
2006-05-27 02:16:35 +00:00
Doug Schaefer
6c4db4a4b8
Implemented a couple of methods in PDOMCPPClassType which are now called since I fixed qualified name support. Also fixed the label for the text selection query to show which text we're searching for.
2006-05-26 17:06:24 +00:00
Doug Schaefer
622a3c2e97
Bug 141653 - Iimproved support for qualified named during binding resolution. Fixed Open Declaration to look for definitions as well as declarations (the PDOM keeps these separate where the DOM does not).
2006-05-26 15:59:59 +00:00
Doug Schaefer
0d6c0848f7
Turned off all interaction with content assist with the PDOM. There isn't enough information in the PDOM for this to work correctly yet.
2006-05-24 22:24:57 +00:00
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