# HG changeset patch # User fturovic # Date 1250018553 18000 # Node ID 393919dade6d76ba045bac9bb4acfe9b14fd7522 # Parent 410577fa5534fc3273379ec88e5159bacca458f2# Parent 2bdd901b072d8eb20d575dd9449ddc6c78df4f05 daily merge diff -r 410577fa5534 -r 393919dade6d connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/interfaces/AbstractConnectedService.java --- a/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/interfaces/AbstractConnectedService.java Tue Aug 11 14:21:42 2009 -0500 +++ b/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/interfaces/AbstractConnectedService.java Tue Aug 11 14:22:33 2009 -0500 @@ -26,6 +26,7 @@ import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.jface.operation.IRunnableContext; import org.eclipse.jface.operation.IRunnableWithProgress; +import org.eclipse.jface.wizard.WizardDialog; import org.eclipse.swt.widgets.Display; import java.lang.reflect.InvocationTargetException; @@ -178,7 +179,7 @@ return; final TestResult result[] = { null }; - if (runnableContext != null) { + if (runnableContext != null && (!(runnableContext instanceof WizardDialog) || ((WizardDialog) runnableContext).getShell() != null)) { Display.getDefault().syncExec(new Runnable() { public void run() { try { diff -r 410577fa5534 -r 393919dade6d core/com.nokia.carbide.cpp/plugin.properties --- a/core/com.nokia.carbide.cpp/plugin.properties Tue Aug 11 14:21:42 2009 -0500 +++ b/core/com.nokia.carbide.cpp/plugin.properties Tue Aug 11 14:22:33 2009 -0500 @@ -6,7 +6,8 @@ CHEAT_SHEETS = Cheat Sheets CHEAT_SHEETS_MENU = &Cheat Sheets... -productBlurb=Build {0} {1}\n\ +productBlurb=\nCarbide.c++ Version 2.2.0\n\ +Build {0} {1}\n\n\n\n\n\n\n\ Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.\n\ Visit http://www.forum.nokia.com/\n\ This product includes software developed by Eclipse Project.\n\ diff -r 410577fa5534 -r 393919dade6d core/com.nokia.carbide.cpp/plugin.xml --- a/core/com.nokia.carbide.cpp/plugin.xml Tue Aug 11 14:21:42 2009 -0500 +++ b/core/com.nokia.carbide.cpp/plugin.xml Tue Aug 11 14:22:33 2009 -0500 @@ -17,10 +17,7 @@ value="icons/Carbide_c_icon_16x16.png,icons/Carbide_c_icon_32x32.png,icons/Carbide_c_icon_48x48.png"/> - + value="icons/about.png"/> @@ -28,9 +25,6 @@ name="appName" value="Carbide.c++"/> - \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n # apply code formatting to C/C++ templates diff -r 410577fa5534 -r 393919dade6d debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/AttachLaunchDelegate.java --- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/AttachLaunchDelegate.java Tue Aug 11 14:21:42 2009 -0500 +++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/AttachLaunchDelegate.java Tue Aug 11 14:22:33 2009 -0500 @@ -133,7 +133,7 @@ String defaultProcessName = exeFile.getPath().removeFileExtension().lastSegment(); OSProcess attachTarget = null; String choosenProcessTarget = config.getAttribute(SettingsData.AttachToProcessDialog_Selection, ""); - if (!choosenProcessTarget.contentEquals("")) { + if (choosenProcessTarget.length() > 0) { attachTarget = chooseProcessTargetNoUI(processesOnTarget, choosenProcessTarget); } else { attachTarget = chooseProcessTarget(processesOnTarget, defaultProcessName); @@ -206,7 +206,7 @@ attachTarget = null; for (OSProcess process : processesOnTarget) { - if (process.getName().contains(choosenProcessName)) { + if (process.parseProcess().getProcessName().equals(choosenProcessName)) { attachTarget = process; break; } diff -r 410577fa5534 -r 393919dade6d project/com.nokia.carbide.cpp.project.core/src/com/nokia/carbide/cpp/internal/project/core/updater/UpdateTrigger.java --- a/project/com.nokia.carbide.cpp.project.core/src/com/nokia/carbide/cpp/internal/project/core/updater/UpdateTrigger.java Tue Aug 11 14:21:42 2009 -0500 +++ b/project/com.nokia.carbide.cpp.project.core/src/com/nokia/carbide/cpp/internal/project/core/updater/UpdateTrigger.java Tue Aug 11 14:22:33 2009 -0500 @@ -34,24 +34,6 @@ // use the version of Carbide updating to as the trigger property private static final String TRIGGER_PROPERTY = "1.2.0"; //$NON-NLS-1$ private static final String SYMBIAN_PERSPECTIVE_ID = "com.symbian.cdt.SymbianPerspective"; //$NON-NLS-1$ - private static final String PROBLEM_VIEW_ID = "org.eclipse.ui.views.ProblemView"; //$NON-NLS-1$ - - private void resetProblemView() { - // Evidently, hiding and then reshowing the ProblemView seems to fix up the columns - IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow(); - if (window != null) { - IWorkbenchPage page = window.getActivePage(); - IViewPart part = page.findView(PROBLEM_VIEW_ID); - if (part != null) { - page.hideView(part); - - try { - page.showView(PROBLEM_VIEW_ID); - } catch (PartInitException e) { - } - } - } - } @Override protected String getLocalKey() { @@ -89,7 +71,6 @@ break; } } - resetProblemView(); } }); } diff -r 410577fa5534 -r 393919dade6d templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-EXE/src/Basename.cpp --- a/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-EXE/src/Basename.cpp Tue Aug 11 14:21:42 2009 -0500 +++ b/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-EXE/src/Basename.cpp Tue Aug 11 14:22:33 2009 -0500 @@ -63,7 +63,10 @@ // Create output console TRAPD(createError, console = Console::NewL(KTextConsoleTitle, TSize(KConsFullScreen,KConsFullScreen))); if (createError) + { + delete cleanup; return createError; + } // Run application code inside TRAP harness, wait keypress when terminated TRAPD(mainError, DoStartL());