1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 00:36:16 +02:00
cdt/core/org.eclipse.cdt.ui
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
..
browser update copyrights 2006-06-14 12:16:17 +00:00
icons Added per file C/C++ Includes & Symbols property page to display per file scanner info (discovered and user specified). 2005-04-22 16:04:06 +00:00
META-INF Bug 140933 - added search to exports list for now until the real APIs can be determined. 2006-05-15 19:02:44 +00:00
schema Changed label 'Code Assist' to 'Content Assist', bug 85064 2006-05-09 15:08:50 +00:00
src/org/eclipse/cdt [Bug 148003] [New Class Wizard] Browse for Folder can cause infinite loop 2006-06-21 11:50:10 +00:00
templates 2005-02-25 Alain Magloire 2005-02-26 03:12:35 +00:00
utils.ui/org/eclipse/cdt/utils/ui/controls Fix copyright 2005-07-22 03:32:01 +00:00
.classpath 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
.cvsignore Added doc to CVS Ignore 2002-09-16 20:06:10 +00:00
.options Content Assist Work : Moved logging and testing to the UI side of CDT 2004-01-15 18:06:14 +00:00
.project Got rid of the static project references in our .project files. PDE takes care of all this now through the plugin dependencies. Also fixed the wording of the PDOM enabler to make sure people know this is a work in progress. 2005-12-02 20:43:14 +00:00
about.html Updated the about.html files. 2006-05-24 13:51:50 +00:00
build.properties update copyrights 2006-06-14 12:16:17 +00:00
ChangeLog 2005-08-27 Alain Magloire 2005-08-27 22:50:52 +00:00
ChangeLog-2003 Split the ChangeLog, it is getting way to big 2004-01-29 17:40:39 +00:00
NEWS Update news file. 2005-02-26 03:34:21 +00:00
plugin.properties update copyrights 2006-06-14 12:16:17 +00:00
plugin.xml Added Rebuild Index Object Contribution for ICProject. 2006-05-23 03:17:52 +00:00