Andrew Niefer
aca80b97db
bug 147080 - stack overflow errors
2006-06-23 19:03:18 +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
eb6414526f
[Bug 147999] CModelBuilder runs into infinite loop
...
Additional check to avoid looping in "nextTable[]" values
2006-06-21 11:55:46 +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
Oleg Krasilnikov
dafc8e4478
Bug 142465 :Exception when expanding binary node in CView
...
Avoid duplication source files. 1-line change.
2006-06-19 11:23:22 +00:00
Ken Ryall
b77acc0bee
Treat DWARF_DEBUG_STR as optional as not all compilers generate it.
2006-06-15 15:39:45 +00:00
Ken Ryall
7c32c381ed
Fix for 142465. Attempt to resolve relative path source file entries. Also check to make sure we can get valid ids for all files before making a TranslationUnit for them.
2006-06-15 15:39:04 +00:00
Chris Recoskie
4836857ef3
update copyrights
2006-06-14 12:16:17 +00:00
John Camelon
077fbb67ae
Fix for bug 126136 - Out of memory error on recursive macro
2006-06-12 01:08:32 +00:00
Doug Schaefer
52d99fabef
Bug 145245 - Added check in CPPASTTemplateId to detect that we're recursing and return null if we are. I also had to change CPPClassScope a little which wasn't expecting the null.
2006-06-09 17:50:30 +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
Doug Schaefer
6d81ef8ab2
Bug 146258 - Set the version on the PDOM. Might be a good idea...
2006-06-09 14:23:10 +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
57950488d9
Bug 145415 - Make sure we remove the symbols when files are indexed again.
2006-06-07 18:49:33 +00:00
Doug Schaefer
76a9aa7233
Bug 145419 - Added more info to the Count Nodes menu item.
2006-06-07 17:54:05 +00:00
Doug Schaefer
d205704a2c
Bug 144136 - Protect against a CCE.
2006-06-06 17:47:23 +00:00
Ken Ryall
cbcc62f9c4
Pass correct buffer length to parseDebugInfo() so as to avoid reading invalid Dwarf tag entry.
2006-06-06 03:28:37 +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
7ca72c49aa
Applied John C's patch to fix 143502 which addresses a hang when C++ code is parsed by the C parser.
2006-06-03 14:11:59 +00:00
Doug Schaefer
f658aea9b2
Bug 143175 - fix visibility of a couple of fields in BinaryParserBlock.
2006-06-02 20:31:29 +00:00
Andrew Niefer
49790ba344
bug - 144096. Don't omit implicit methods from index if they came off a name that wasn't a reference
2006-06-02 15:11: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
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