Markus Schorn
7f90464021
Define minimum execution environment with 1.4 and allow usage of assert.
2006-07-03 08:13:55 +00:00
Markus Schorn
2a8a06ab31
Initial version of the Include Browser
2006-06-30 09:42:39 +00:00
Markus Schorn
b49574295b
Fixes warnings
2006-06-30 09:28:50 +00:00
Markus Schorn
12e256794c
Removes unused WorkingSetFilterActions, they are provided by the platform nowadays.
2006-06-30 09:26:14 +00:00
Markus Schorn
de97370998
Fixes typo in method name setHeightHint
2006-06-30 09:22:59 +00:00
Markus Schorn
608e02480f
Define coding style
2006-06-30 09:19:36 +00:00
Markus Schorn
aa41e8f4eb
Adds support for Show in Navigator from the CView.
2006-06-30 09:18:51 +00:00
Doug Schaefer
a87683fe12
Backing out patch for Bug 148114
2006-06-23 20:11:35 +00:00
Doug Schaefer
a48b5f55b1
Updated copyright dates to reflect latest in CVS.
2006-06-23 17:52:45 +00:00
Doug Schaefer
17464c08f4
Update Copyright dates and fix those that had no copyrights.
2006-06-23 17:27:03 +00:00
Anton Leherbauer
9e1827d28b
Fix for bug 148114 - Move-refactor should be disabled within C/C++ Project view
2006-06-22 14:27:35 +00:00
Anton Leherbauer
7fc9ce0335
Fix for bug 141484 - Data loss when dnd elements in C/C++ Project browser
2006-06-21 14:48:17 +00:00
Oleg Krasilnikov
cd052ee5de
[Bug 148003] [New Class Wizard] Browse for Folder can cause infinite loop
...
Problem reason: loop inside of NewClassWizardUtil.getSourceFolder().
After "path.removeLastSegments(1)" deletes the last segment, path
would contain "\", because (separators & HAS_LEADING) != 0)
So, "path.isEmpty()" treats it as root path and returns false.
That's why loop became infinite.
Fix:
- while (!path.isEmpty()) {
+ while (path.segmentCount() > 0) {
2006-06-21 11:50:10 +00:00
Chris Recoskie
4836857ef3
update copyrights
2006-06-14 12:16:17 +00:00
Doug Schaefer
2aedbfe181
Bug 1444462 - Convert the * and ? in search patterns to regular expression syntax. Also improved the error handling a bit for bad regex's. Also fixed up the extension ID so that the C/C++ search page opens when requested.
2006-06-09 15:41:01 +00:00
Oleg Krasilnikov
c21d7a81ec
[Bug 144232] Search results do not appear if not running in background
2006-06-09 08:42:11 +00:00
Doug Schaefer
2372381692
Bug 145415 - Made sure we deleted all the info associated with the macro, not just the macro. Also found latent bugs like BTree records not allocating enough memory for themselves (hidden by the block size), and goofy behavior when the PDOM was cleared which I'm sure lead to the truncated chunks not getting reused in certain situations.
2006-06-09 00:59:42 +00:00
Doug Schaefer
76a9aa7233
Bug 145419 - Added more info to the Count Nodes menu item.
2006-06-07 17:54:05 +00:00
Oleg Krasilnikov
86d252bd88
Bug 141973: Bad cursor position after auto-completion
...
The line in DOMCompletionContributor.handleVariable() :
proposal.setCursorPosition(repString.length() - 1);
seems to be copied from previous method handleFunction().
It's reasonable for function (put cursor INSIDE brackets
after function name), but useless for variable (it has
no trailing brackets, so cursor will stop 1 symbol left
from the end on variable name).
So mentioned line is removed: default cursor position
(set inside of CCompletionProposal constructor) is OK.
Oleg Krasilnikov <oleg.krasilnikov@intel.com>
2006-06-05 13:42:58 +00:00
Doug Schaefer
d1a515c046
Fix for 145105 - Turn off the use of the PDOM for Open Declaration for now.
2006-06-03 14:50:05 +00:00
Doug Schaefer
ddb0bf1898
Fix NPE found while investigating 145105.
2006-06-03 14:40:14 +00:00
Doug Schaefer
f658aea9b2
Bug 143175 - fix visibility of a couple of fields in BinaryParserBlock.
2006-06-02 20:31:29 +00:00
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