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
c3aab566fd
Improved resolution of qualified names during indexing.
2006-05-27 04:59:19 +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
316f28e9c0
Bug 134310 - Fix the GCC error parser which was really slow on long command lines. Now if the line is longer than a magic number (1000 for now), it is skipped since it's not likely to be an error message.
...
Bug 143952 - Skipping over "instantiated from here" so that it doesn't appear as an error.
2006-05-26 18:38:15 +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
f721770c5e
Bug 142713 - For some reason the number of template parameters in this code was smaller than expected. Could be due to some unimplemented methods in the PDOM, but I'm not sure of that. At any rate, I've added a check to skip over the tempate if the number of parameters wasn't large enough.
2006-05-25 03:24:38 +00:00
Doug Schaefer
ce45b4750e
Bug 143093 - Check for null translationUnit. Not sure why it would be null, but whatever...
2006-05-25 03:05:06 +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
Doug Schaefer
993f8f9e25
Bug 140973 - Fix yet another ClassCastException...
2006-05-24 21:28:41 +00:00
Andrew Niefer
df3aaeae35
bug #142464 . NPE in CElementAdaptorFactory
2006-05-24 20:53:33 +00:00
Doug Schaefer
9174d8ce58
Bug 141819 - Fix providers for some of the plugins.
2006-05-24 18:54:05 +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
475d55c8e1
Move the Full indexer to the PDOM Indexer Task Framework.
2006-05-23 13:44:57 +00:00
Doug Schaefer
6c2fa9874f
Turns out getting rid of flush in the preferences was a bad idea. I now do it in a job delayed 2 seconds to ensure any incoming .setting dirs are processed. Probably won't work on large projects but the side affects are only a log file.
2006-05-23 04:05:33 +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
48740f50ec
Bug 141509 - Handle project import where the project gets added and then later the project preferences get loaded.
2006-05-23 02:23:57 +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
159db54d69
Fixes to let the Linux kernel index.
2006-05-19 04:31:22 +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
Markus Schorn
9aacb5a271
Corrected wording, bug 139590.
2006-05-16 11:19:26 +00:00
Markus Schorn
0ddbda96b4
Corrected key for externalized String, bug 121141.
2006-05-16 08:40:15 +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
Markus Schorn
a8d10ae99f
Patch from Vaidotas Radius, concatenated messages, bug 93842.
2006-05-15 09:30:36 +00:00
Doug Schaefer
37c5d87fec
Improve robustness of the full and fast indexers. If Throwables are detected, the current file or name is skipped. This continues until a maximums is reached in which case the index job is aborted.
2006-05-11 20:17:00 +00:00
Doug Schaefer
cb183a6622
Patch for Ling@nokia. New entry to windows registry utility.
2006-05-11 15:13:25 +00:00
Doug Schaefer
0bdb8b262e
Fix 140297 - CCEs in CPPVisitor fixed by wrapping in instanceof.
2006-05-11 15:05:29 +00:00
Doug Schaefer
006a05abdc
Bug 140973 - Fix CCE by checking instanceof first.
2006-05-11 14:42:33 +00:00
Doug Schaefer
a63dcf8935
Bug 140973 - Fix CCE by checking instanceof first.
2006-05-11 14:37:00 +00:00
Doug Schaefer
cff21a926b
Fox for 138886 - If indexerId is for an unknown indexer, default to the Null indexer instead of causing an NPE.
2006-05-11 13:30:11 +00:00
Ken Ryall
33160cd843
Fix problem with long file names.
2006-05-10 19:39:22 +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
Ken Ryall
debff1a147
Add support for getting the list of source files from a mach-o binary. Also fix a problem where the section table was getting tossed.
2006-05-09 22:39:38 +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