[yocto] [PATCH] [Upstream patch: org.eclipse.ui]Adjust project location for non-default location

2013-07-29 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../ide/dialogs/ProjectContentsLocationArea.java | 19 +++ 1 file changed, 19 insertions(+) diff --git a/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ProjectContentsLocationArea.java b

[yocto] [PATCH] Fix retrieval of System tap parameters

2013-07-05 Thread Ioana Grigoropol
- the parameters for runnin crosstap are populated before the window is actually open so they remain null - retrieve them after the window has closed run the script Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../sdk/remotetools/actions/SystemtapHandler.java | 11

[yocto] [PATCH v2] Fix Eclipse workspace deadlock when restoring

2013-06-21 Thread Ioana Grigoropol
From: Ioana Grigoropol ioana.grigoro...@gmail.com - when creating a new bitbake commander project, a bunch of information relevant for the project is set in the project information map - when closing restarting Eclipse, having a Bitbake commander project in the workspace an deadlock occurs due

[yocto] [RFC PATCH upstream org.eclipse.tm] [411343]Provide access to readers in host shell

2013-06-21 Thread Ioana Grigoropol
From: Ioana Grigoropol ioana.grigoro...@gmail.com - add a plain getter in the AbstractHostShell class: - the compilation is not broken for subclasses of this class since it always returns null - the targeted classes (local and remote) can implement the getter (local

[yocto] [RFC PATCH upstream org.eclipse.ptp] [411387] SystemRemoteFolderDialog should return a path when selecting 'My Home' or 'Root'

2013-06-21 Thread Ioana Grigoropol
- if the parent path is null for the first child: - this is actually the root of the file system - return path of this child Signed-off-by: Ioana Grigoropol ioanax.grigoro...@gmail.com --- .../ptp/remote/rse/ui/RSEUIFileManager.java| 27 +++- 1 file changed, 26

[yocto] [RFC PATCH v2 upstream org.eclipse.tm] [411343]Provide access to readers in host shell

2013-06-21 Thread Ioana Grigoropol
be accessed and the output can be read in a synchronous way - add implementation of getReader in TerminaServiceHostShell - store the underlying reader as a field of this class return it Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../services/shells

[yocto] [PATCH] Fix Eclipse workspace deadlock when restoring

2013-06-20 Thread Ioana Grigoropol
From: Ioana Grigoropol ioana.grigoro...@gmail.com - when creating a new bitbake commander project, a bunch of information relevant for the project is set in the project information map - when closing restarting Eclipse, having a Bitbake commander project in the workspace an deadlock occurs due

[yocto] [PATCH] Adapt OutputProcessor to retrieve reader from shell

2013-06-13 Thread Ioana Grigoropol
- adapt code to use IHostShell interface modifyied locally in order to retrieve the same underlying error and output stream Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org/yocto/remote/utils/OutputProcessor.java| 10 ++ 1 file changed, 2 insertions(+), 8

[yocto] [Upstream org.eclipse.tm] Add getReader method in IHostShell

2013-06-13 Thread Ioana Grigoropol
- added method in IHostShell to be implemented in TerminalHostShell - this method is already implemented in LocalHostShell upstream Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../services/dstore/shells/DStoreHostShell.java|7 +++ .../services/shells

[yocto] [RFC v3 PATCH 00/50] Refactor and merge windows-build to master

2013-06-12 Thread Ioana Grigoropol
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=igrigorx/common-remote-refactor2 Ioana Grigoropol (50): Rename RSEHelper to RemoteHelper to match usages in org.yocto.bc.ui.plugin Add ProcessStreamBuffer utility class Move ICommandResponseHandler to org.yocto.remote.utils Add

[yocto] [RFC PATCH v2 00/50] Refactor and merge windows-build to master

2013-06-11 Thread Ioana Grigoropol
in the git repository at: git://git.yoctoproject.org/poky-contrib igrigorx/common-remote-refactor http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=igrigorx/common-remote-refactor Ioana Grigoropol (50): Rename RSEHelper to RemoteHelper to match usages in org.yocto.bc.ui.plugin Add

[yocto] [PATCH] Fix bug related to system tap window resize

2013-06-11 Thread Ioana Grigoropol
- when ok is pressed, the system tap window is resized in stead of running the script - this is caused by the fact that the window is opened twice and only the second call is taken into consideration [Yocto #4598] Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../sdk

[yocto] [RFC Refactor[v2] 1/8] Move ICommandResponseHandler to org.yocto.remote.utils

2013-06-07 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../yocto/bc/bitbake/ICommandResponseHandler.java | 15 --- .../remote/utils/ICommandResponseHandler.java | 15 +++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 plugins

[yocto] [RFC Refactor[v2] 5/8] Add ConsoleHelper utility class

2013-06-07 Thread Ioana Grigoropol
- ConsoleHelper class is to be used in order to find a console by a specified name and display it in the view (using ConsoleRunnble) on the GUI thread Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/remote/utils/ConsoleHelper.java | 38

[yocto] [RFC Refactor[v2] 0/8] Split refactoring of RemoteHelper

2013-06-07 Thread Ioana Grigoropol
- this set of patches replaces patch 2/9 from first batch of patches Ioana Grigoropol (8): Move ICommandResponseHandler to org.yocto.remote.utils Add YoctoCommand utility class Add CommandResponseHandler implementation of ICommandResponseHandler Add ConsoleRunnable utility class Add

[yocto] [RFC Refactor[v2] 3/8] Add CommandResponseHandler implementation of ICommandResponseHandler

2013-06-07 Thread Ioana Grigoropol
- plain implementation of ICommandResponseHandler interface that prints all lines to the console stream Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org.yocto.remote.utils/META-INF/MANIFEST.MF|3 +- .../yocto/remote/utils/CommandResponseHandler.java | 44

[yocto] [RFC Refactor[v2] 6/8] Add OutputProcessor utility class

2013-06-07 Thread Ioana Grigoropol
- each line(output or error) is printed in the console and stored in the underlying ProcessStreamBuffer Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org.yocto.remote.utils/META-INF/MANIFEST.MF|2 + .../org/yocto/remote/utils/OutputProcessor.java| 112

[yocto] [RFC Refactor[v2] 8/8] Refactor RemoteHelper class

2013-06-07 Thread Ioana Grigoropol
for a specific file - checking if a file exists on the remote host - retriving a remote IHostFile - retrieve remote directory content - retrieve connection for given URI Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org.yocto.remote.utils/META-INF

[yocto] [RFC Refactor[v2] 2/8] Add YoctoCommand utility class

2013-06-07 Thread Ioana Grigoropol
- this class will simplify the process of running a remote command by wrapping all needed data into one object Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/remote/utils/YoctoCommand.java | 63 1 file changed, 63 insertions(+) create mode

[yocto] [RFC Refactor[v2] 4/8] Add ConsoleRunnable utility class

2013-06-07 Thread Ioana Grigoropol
- Console Runnable implements Runnable and is charge to display the specified console in the Console View Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org/yocto/remote/utils/ConsoleRunnable.java| 47 1 file changed, 47 insertions(+) create mode

[yocto] [RFC Refactor[v2] 7/8] Add CommandOutputProcessor utilty class

2013-06-07 Thread Ioana Grigoropol
- this is a simple implementation of the OutputProcessor abstract class - splitting the error and output lines is done by '\n' character Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../yocto/remote/utils/CommandOutputProcessor.java | 43 1 file

[yocto] [RFC PATCH 00/50] Refactor and merge windows-build to master

2013-06-07 Thread Ioana Grigoropol
-contrib igrigorx/common-remote-refactor http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=igrigorx/common-remote-refactor Ioana Grigoropol (50): Rename RSEHelper to RemoteHelper to match usages in org.yocto.bc.ui.plugin Add ProcessStreamBuffer utility class Move

[yocto] [RFC Refactor 0/5] Merging windows-build with master

2013-06-06 Thread Ioana Grigoropol
- last batch of patches for merging windows-build with master (from the functionality point of view, from the refactoring pov, some import, whitespaces and annotations may be in order) - this batch should apply on top of the last batch(21 patches) Ioana Grigoropol (5): Remove unused

[yocto] [RFC Refactor 1/5] Remove unused ConsoleWriter

2013-06-06 Thread Ioana Grigoropol
- remove unused inner class ConsoleWriter from InstallWizard Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../yocto/bc/ui/wizards/install/InstallWizard.java | 33 1 file changed, 33 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui

[yocto] [RFC Refactor 2/5] Add implicit constructror for OEFileSystemContributor

2013-06-06 Thread Ioana Grigoropol
- this is needed in order to skip calling the default calling of the super constructor Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../bc/ui/filesystem/OEFileSystemContributor.java |3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/org.yocto.bc.ui/src/org

[yocto] [RFC Refactor 3/5] Refactor and clean-up of OptionsPage fields

2013-06-06 Thread Ioana Grigoropol
- clean-up all unused fields - rename fields to have consistent names Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../yocto/bc/ui/wizards/install/OptionsPage.java | 38 1 file changed, 7 insertions(+), 31 deletions(-) diff --git a/plugins

[yocto] [RFC Refactor 4/5] Refactor OptionsPage to use Remote Location box validation

2013-06-06 Thread Ioana Grigoropol
, and it contains oe-init-build-env file Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- plugins/org.yocto.bc.ui/META-INF/MANIFEST.MF |4 +- .../yocto/bc/ui/wizards/install/OptionsPage.java | 253 +--- 2 files changed, 176 insertions(+), 81 deletions

[yocto] [RFC Refactor 5/5] Validate project name to check for invalid characters

2013-06-06 Thread Ioana Grigoropol
- project names should not allow spaces, or any illegal characters Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../yocto/bc/ui/wizards/install/OptionsPage.java | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src

[yocto] [RFC refactor 00/21] Merging windows-build with master

2013-06-05 Thread Ioana Grigoropol
- 3rd batch of refactoring merging windows-build with master - applies on top of the second batch of 8 patches - still one more class to refactor(OptionsPage) Ioana Grigoropol (21): Fix ShellSession execute Remove shell type from ShellSession constructor Use / as separator instead of OS

[yocto] [RFC refactor 01/21] Fix ShellSession execute

2013-06-05 Thread Ioana Grigoropol
will be ran in a different terminal Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/bc/bitbake/ShellSession.java | 104 .../src/org/yocto/bc/ui/Activator.java |2 +- 2 files changed, 43 insertions(+), 63 deletions(-) diff --git

[yocto] [RFC refactor 03/21] Use / as separator instead of OS separator

2013-06-05 Thread Ioana Grigoropol
- when running remote commands it is not indicated to use the OS separator since the host and the target could be different - instead use the remote target separator(/) since this will always be a Linux based machine Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org

[yocto] [RFC refactor 02/21] Remove shell type from ShellSession constructor

2013-06-05 Thread Ioana Grigoropol
-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/bc/bitbake/ShellSession.java | 14 +- .../src/org/yocto/bc/ui/Activator.java |2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/bitbake

[yocto] [RFC refactor 11/21] Use uri instead of string to determine location of recipe determine archive type

2013-06-05 Thread Ioana Grigoropol
- create URI from text location of the recipe and determine the location of the recipe by using the scheme(ftp, http, file) - extract achive type from URI Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../ui/wizards/NewBitBakeFileRecipeWizardPage.java | 59

[yocto] [RFC refactor 06/21] Initialize and store the connection on Recipe Wizard

2013-06-05 Thread Ioana Grigoropol
- retrieve the connection for the project destination of the recipe (using the Activator map) - store it in the Wizard use it for running remote commands Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../bc/ui/wizards/NewBitBakeFileRecipeWizard.java | 37

[yocto] [RFC refactor 10/21] Break handlePopulate into remote and local functions

2013-06-05 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../ui/wizards/NewBitBakeFileRecipeWizardPage.java | 31 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/NewBitBakeFileRecipeWizardPage.java

[yocto] [RFC refactor 08/21] Refactor Wizard Page fields to have consistent names

2013-06-05 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../ui/wizards/NewBitBakeFileRecipeWizardPage.java | 25 +++- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/NewBitBakeFileRecipeWizardPage.java

[yocto] [RFC refactor 07/21] Store connection for recipe in Recipe Wizard Page

2013-06-05 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../bc/ui/wizards/NewBitBakeFileRecipeWizard.java |2 +- .../ui/wizards/NewBitBakeFileRecipeWizardPage.java |5 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc

[yocto] [RFC refactor 13/21] Refactor Recipe Wizard Page to use Remote target Api

2013-06-05 Thread Ioana Grigoropol
(remote target) Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../ui/wizards/NewBitBakeFileRecipeWizardPage.java | 419 +--- 1 file changed, 192 insertions(+), 227 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards

[yocto] [RFC refactor 04/21] Remove unsed methods inner classes from ShellSession

2013-06-05 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/bc/bitbake/ShellSession.java | 20 1 file changed, 20 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/bitbake/ShellSession.java b/plugins/org.yocto.bc.ui/src/org/yocto

[yocto] [RFC refactor 05/21] Save active connection for Bitbake recipe

2013-06-05 Thread Ioana Grigoropol
- retrieve active connection from project info and save it on the Bitbake editor Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../bc/ui/editors/bitbake/BitBakeFileEditor.java |1 + 1 file changed, 1 insertion(+) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui

[yocto] [RFC refactor 16/21] Store reference to OptionsPage in InstallWizard

2013-06-05 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../yocto/bc/ui/wizards/install/InstallWizard.java |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/install/InstallWizard.java b/plugins/org.yocto.bc.ui

[yocto] [RFC refactor 18/21] Refactor Bitbake wizard to use RemoteHelper API

2013-06-05 Thread Ioana Grigoropol
- this particular type of OutputProcessor takes care of parsing the error lines it receives and reporting the progress to the monitor Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- plugins/org.yocto.bc.ui/META-INF/MANIFEST.MF |4 +- .../bc/remote

[yocto] [RFC refactor 14/21] Run all Recipe task in wizard container

2013-06-05 Thread Ioana Grigoropol
- if we run the remote commands without using the Wizard container, the monitor will never get updated properly and the messages will not appear - in order to fix this, we use a IRunnableWithProgress to perform all tasks Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com

[yocto] [RFC refactor 17/21] Collect Bitbake error lines

2013-06-05 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/bc/bitbake/BBSession.java| 10 + .../BBConfigurationInitializeOperation.java| 23 ++-- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/plugins

[yocto] [RFC refactor 15/21] Enable Populate button when src URI changes

2013-06-05 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../ui/wizards/NewBitBakeFileRecipeWizardPage.java | 38 +++- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/NewBitBakeFileRecipeWizardPage.java

[yocto] [RFC refactor 19/21] Retrieve console from RemoteHelper instead of recreating it

2013-06-05 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../yocto/bc/ui/wizards/install/InstallWizard.java | 25 +--- 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/wizards/install/InstallWizard.java b/plugins

[yocto] [RFC refactor 21/21] Create separated class for ConsoleWriter

2013-06-05 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org/yocto/bc/remote/utils/ConsoleWriter.java | 36 .../yocto/bc/ui/wizards/install/InstallWizard.java |1 + 2 files changed, 37 insertions(+) create mode 100644 plugins/org.yocto.bc.ui/src/org/yocto

[yocto] [RFC refactor 20/21] Remove LongRunningTask, ICalculatePercentage from InstallWizard

2013-06-05 Thread Ioana Grigoropol
- remove inner classes interfaces and use RemoteHelper implementation Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../yocto/bc/ui/wizards/install/InstallWizard.java | 155 1 file changed, 155 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org

[yocto] [RFC refactor 12/21] Store metadata location as URI instead of String

2013-06-05 Thread Ioana Grigoropol
- use URI to store meta-data location - initialize metadata location with projectLocation/meta Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../bc/ui/wizards/BitbakeRecipeUIElement.java | 15 +++ .../ui/wizards/NewBitBakeFileRecipeWizardPage.java | 19

[yocto] [Refactor RFC 7/9] Remove unused getInitScript from ProjectInfoHelper

2013-06-04 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org/yocto/bc/bitbake/ProjectInfoHelper.java| 15 --- 1 file changed, 15 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/bitbake/ProjectInfoHelper.java b/plugins/org.yocto.bc.ui/src/org

[yocto] [Refactor RFC 4/9] Remove unused Bitbake Actions

2013-06-04 Thread Ioana Grigoropol
- none of the Bitbake action classes that inherit from AbstractBitbakeCommandAction is used - clean-up classes plugin.xml Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- plugins/org.yocto.bc.ui/plugin.xml | 55 -- .../ui/actions

[yocto] [Refactor RFC 3/9] Remove ICommandResponseHandler from plugin and use org.yocto.remote.utils implementation

2013-06-04 Thread Ioana Grigoropol
- add dependency to remote common plugin - update all references to use the common interface Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- plugins/org.yocto.bc.ui/META-INF/MANIFEST.MF |3 +- .../yocto/bc/bitbake/ICommandResponseHandler.java | 15 -- .../src

[yocto] [Refactor RFC 6/9] Remove unused method loadInit in Activator

2013-06-04 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/bc/ui/Activator.java | 23 1 file changed, 23 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/Activator.java b/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui

[yocto] [Refactor RFC 5/9] Remove storing of init script location

2013-06-04 Thread Ioana Grigoropol
- when create a new bitbake commander project and when initializing the configuration - the location of the init bitbake script is stored in a file called .eclipse-data - the information stored here is never used Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org/yocto/bc

[yocto] [Refactor RFC 1/9] Rename RSEHelper to RemoteHelper to match usages in org.yocto.bc.ui.plugin

2013-06-04 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/remote/utils/RSEHelper.java | 344 .../src/org/yocto/remote/utils/RemoteHelper.java | 344 .../org/yocto/remote/utils/RemoteShellExec.java|2 +- .../org

[yocto] [Refactor RFC 0/9] Merging of windows-build with master

2013-06-04 Thread Ioana Grigoropol
Ioana Grigoropol (9): Rename RSEHelper to RemoteHelper to match usages in org.yocto.bc.ui.plugin Add remote tools classes needed for bitbake remote capabilities Remove ICommandResponseHandler from plugin and use org.yocto.remote.utils implementation Remove unused Bitbake Actions

[yocto] [Refactor RFC 9/9] Redirect bitbake environment parsing to file parse

2013-06-04 Thread Ioana Grigoropol
- when running bitbake -e the output is sent to the console, poluting it - instead, send the output to a file (bitbake.env) and parse the file accordingly - if an error has occured while running the commad, all the error lines are collected and displayed on the console Signed-off-by: Ioana

[yocto] [Refactor RFC 8/9] Use URI for storing project locations

2013-06-04 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- plugins/org.yocto.bc.ui/META-INF/MANIFEST.MF |4 ++ .../src/org/yocto/bc/bitbake/BBRecipe.java | 24 +++ .../src/org/yocto/bc/bitbake/BBSession.java| 34 + .../org/yocto/bc/bitbake

[yocto] [Refactor RFC 2/9] Add remote tools classes needed for bitbake remote capabilities

2013-06-04 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org.yocto.remote.utils/META-INF/MANIFEST.MF|8 +- .../yocto/remote/utils/CommandOutputProcessor.java | 33 +++ .../yocto/remote/utils/CommandResponseHandler.java | 36 +++ .../org/yocto/remote/utils

[yocto] [Refactor RFC 1/8] Redirect bitbake environment parsing to file parse

2013-06-04 Thread Ioana Grigoropol
- when running bitbake -e the output is sent to the console, poluting it - instead, send the output to a file (bitbake.env) and parse the file accordingly - if an error has occured while running the commad, all the error lines are collected and displayed on the console Signed-off-by: Ioana

[yocto] [Refactor RFC 5/8] Fix NullPointerException when detecting changed files

2013-06-04 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/bc/bitbake/BBSession.java| 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/bitbake/BBSession.java b/plugins/org.yocto.bc.ui/src/org

[yocto] [Refactor RFC 2/8] Use YoctoHostFile for storing OEFile(s)

2013-06-04 Thread Ioana Grigoropol
- the project information that this file belongs to - the local/remote IFileService that is used on the host determined by the URI Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/bc/bitbake/BBSession.java|6 +- .../src/org/yocto/bc/ui/filesystem

[yocto] [Refactor RFC 3/8] Remove unused checkReadOnlyParent method of OEFile

2013-06-04 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/bc/ui/filesystem/OEFile.java | 17 - 1 file changed, 17 deletions(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/filesystem/OEFile.java b/plugins/org.yocto.bc.ui/src/org/yocto/bc

[yocto] [Refactor RFC 4/8] Fix full path of OEFile

2013-06-04 Thread Ioana Grigoropol
- use / instead of OS specific file separator - when dealing with remote files, it is not indicated to use the file separator of the host OS on the target OS, because these two can be different - use absolutePath instead of toString method for IHostFile Signed-off-by: Ioana Grigoropol

[yocto] [Refactor RFC 0/8] Merging of windows-build with master[patch-set2]

2013-06-04 Thread Ioana Grigoropol
- second patch set for merging windows-build to master - these patches apply on top of the first patch set(9) Ioana Grigoropol (8): Redirect bitbake environment parsing to file parse Use YoctoHostFile for storing OEFile(s) Remove unused checkReadOnlyParent method of OEFile Fix full path

[yocto] [Refactor RFC 6/8] Fix Hob launching on Linux host

2013-06-04 Thread Ioana Grigoropol
- use location URI instead of String path when launching Hob Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../bc/ui/builder/BitbakeCommanderNature.java |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui

[yocto] [Refactor RFC 8/8] Fix variables hoover

2013-06-04 Thread Ioana Grigoropol
= overwrite the session with the new one Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/bc/bitbake/BBSession.java|5 + .../bc/ui/editors/bitbake/BBVariableTextHover.java | 12 +--- 2 files changed, 14 insertions(+), 3 deletions(-) diff

[yocto] [Refactor RFC 7/8] Enable editsave of remote files

2013-06-04 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/bc/bitbake/BBSession.java|3 ++ .../editors/bitbake/BitBakeDocumentProvider.java | 40 +++- .../bc/ui/editors/bitbake/BitBakeFileEditor.java |2 +- .../bitbake

[yocto] [PATCH] Fix Thread Access exception for systemtap Dialogs

2013-05-31 Thread Ioana Grigoropol
- when displaying MessageDialogs an error occurs due to illegal thread accessing GUI classes - in order to fix this, a new DialogRunnable is used, that will use invoke synchronous to display the message dialog [Yocto #4585] Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com

[yocto] [PATCH v3 0/6] Separate org.yocto.remote.utils plugin

2013-05-24 Thread Ioana Grigoropol
- initial commit populate for remote utils common plugin Ioana Grigoropol (6): Initial commit for separate remote utilities plugin Move RSEHelper to a separate plugin Move RemoteShellExec to separate plugin Move ShellSession to org.yocto.remote.utils separate plugin Move CommonHelper

[yocto] [PATCH v3 1/6] Initial commit for separate remote utilities plugin

2013-05-24 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- plugins/org.yocto.remote.utils/.classpath |7 +++ plugins/org.yocto.remote.utils/.project| 28 + .../.settings/org.eclipse.jdt.core.prefs |7 +++ .../org.yocto.remote.utils/META-INF

[yocto] [PATCH v3 3/6] Move RemoteShellExec to separate plugin

2013-05-24 Thread Ioana Grigoropol
org.yocto.remote.utils Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org/yocto/remote/utils/RemoteShellExec.java| 140 ++ .../yocto/sdk/remotetools/actions/BaseModel.java |2 +- .../sdk/remotetools/remote/RemoteShellExec.java| 149 3 files

[yocto] [PATCH v3 2/6] Move RSEHelper to a separate plugin

2013-05-24 Thread Ioana Grigoropol
plugin resources need for RSEHelper Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org.yocto.remote.utils/META-INF/MANIFEST.MF| 10 + .../org.yocto.remote.utils/resources/ust_tar.sh| 19 + .../org.yocto.remote.utils/resources/yocto_tool.sh | 125

[yocto] [PATCH v3 4/6] Move ShellSession to org.yocto.remote.utils separate plugin

2013-05-24 Thread Ioana Grigoropol
to use implementation from org.yocto.remote.utils Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/remote/utils/ShellSession.java | 327 +++ .../org/yocto/sdk/remotetools/ShellSession.java| 341 .../sdk/remotetools

[yocto] [PATCH v3 6/6] Move TerminalHandler to org.yocto.remote.utils

2013-05-24 Thread Ioana Grigoropol
- move TerminalHandler to separate plugin since it performs actions that are best suited for remote utilities - remove TerminalHandler from remotetools plugin - modify org.yocto.sdk.remotetools to use implementation from org.yocto.remote.utils Signed-off-by: Ioana Grigoropol ioanax.grigoro

[yocto] [PATCH v3 1/2] Remove unused TCFTerminalConnectors

2013-05-24 Thread Ioana Grigoropol
- removed TCFTerminalConnector and TCFTerminalConnectorImpl since there are no usages of this classes Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../remotetools/views/TCFTerminalConnector.java| 49 -- .../views/TCFTerminalConnectorImpl.java| 98

[yocto] [PATCH v3 0/2] Yocto SDK IDE cleanup

2013-05-24 Thread Ioana Grigoropol
- org.yocto.sdk.ide clean up - remove unused classes Ioana Grigoropol (2): Remove unused TCFTerminalConnectors Remove all plugin dependencies to RSE APi from remote tools plugin .../org.yocto.sdk.remotetools/META-INF/MANIFEST.MF | 10 +- .../remotetools/views/TCFTerminalConnector.java

[yocto] [PATCH v3 2/2] Remove all plugin dependencies to RSE APi from remote tools plugin

2013-05-24 Thread Ioana Grigoropol
- removed all plugin dependencies to the RSE API kept only the ones needed for GUI actions and Terminal views Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org.yocto.sdk.remotetools/META-INF/MANIFEST.MF | 10 -- 1 file changed, 4 insertions(+), 6 deletions

[yocto] [eclipse-poky][branch:windows-build][PATCH 2/4] Fix recipe parsing when using Remote host

2013-05-23 Thread Ioana Grigoropol
of the command will be parsed as error and the output will be empty - in order to fix this, we should look at the error lines resulted after running a remote command if we are using a remote target Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- plugins/org.yocto.bc.ui

[yocto] [eclipse-poky][branch:windows-build][PATCH 3/4] Refactor processing of commands output

2013-05-23 Thread Ioana Grigoropol
it receives(either error or output) - abstract methods for processing an output or error lines - abstract methods for deciding when an line(output or error) has ended by searching for a specific character Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com

[yocto] [eclipse-poky][branch:windows-build][PATCH 4/4] Customize Output processor for git clone command and fix message display

2013-05-23 Thread Ioana Grigoropol
the reference of the wizard monitor is lost and the messages are not displayed correctly - in order to fix this, the parsing is done locally inside the appropiate context using a customization of the abstract OutputProcessor Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../bc

[yocto] [PATCH v2 0/6] Separate org.yocto.remote.utils plugin

2013-05-13 Thread Ioana Grigoropol
- initial commit populate for remote utils common plugin Ioana Grigoropol (6): Initial commit for separate remote utilities plugin Move RSEHelper to a separate plugin Move RemoteShellExec to separate plugin Move ShellSession to org.yocto.remote.utils separate plugin Move CommonHelper

[yocto] [PATCH v2 1/6] Initial commit for separate remote utilities plugin

2013-05-13 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- plugins/org.yocto.remote.utils/.classpath |7 +++ plugins/org.yocto.remote.utils/.project| 28 + .../.settings/org.eclipse.jdt.core.prefs |7 +++ .../org.yocto.remote.utils/META-INF

[yocto] [PATCH v2 3/6] Move RemoteShellExec to separate plugin

2013-05-13 Thread Ioana Grigoropol
org.yocto.remote.utils Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org/yocto/remote/utils/RemoteShellExec.java| 140 ++ .../yocto/sdk/remotetools/actions/BaseModel.java |2 +- .../sdk/remotetools/remote/RemoteShellExec.java| 149 3 files

[yocto] [PATCH v2 2/6] Move RSEHelper to a separate plugin

2013-05-13 Thread Ioana Grigoropol
plugin resources need for RSEHelper Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org.yocto.remote.utils/META-INF/MANIFEST.MF| 11 + .../org.yocto.remote.utils/resources/ust_tar.sh| 19 + .../org.yocto.remote.utils/resources/yocto_tool.sh | 125

[yocto] [PATCH v2 6/6] Move TerminalHandler to org.yocto.remote.utils

2013-05-13 Thread Ioana Grigoropol
- move TerminalHandler to separate plugin since it performs actions that are best suited for remote utilities - remove TerminalHandler from remotetools plugin - modify org.yocto.sdk.remotetools to use implementation from org.yocto.remote.utils Signed-off-by: Ioana Grigoropol ioanax.grigoro

[yocto] [PATCH v2 4/6] Move ShellSession to org.yocto.remote.utils separate plugin

2013-05-13 Thread Ioana Grigoropol
to use implementation from org.yocto.remote.utils Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/remote/utils/ShellSession.java | 327 +++ .../org/yocto/sdk/remotetools/ShellSession.java| 341 .../sdk/remotetools

[yocto] [PATCH v2 5/6] Move CommonHelper to org.yocto.remote.utils separate plugin

2013-05-13 Thread Ioana Grigoropol
org.yocto.remote.utils Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/remote/utils/CommonHelper.java | 46 .../org/yocto/sdk/remotetools/CommonHelper.java| 44 --- .../sdk/remotetools/actions/OprofileModel.java |2 +- .../actions

[yocto] [PATCH] Keep execute() method signature

2013-05-10 Thread Ioana Grigoropol
- DialogHandler inherits from IHandler the execute method that has the following signature Object execute(ExecutionEvent event) throws ExecutionException; - overriding it with void return type results in a compilation error Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com

[yocto] [PATCH 00/12] Refactor Remote tools plugin create Remote Utils separate plugin

2013-05-09 Thread Ioana Grigoropol
- some more refactoring for the org.yocto.sdk.remotetools - create populate org.yocto.remote.utils Ioana Grigoropol (12): Separate remote logic from GUI login in TerminalHandler implementation Move remote system type checkings from GUI Dialogs and to RSEHelper Move logic for waiting

[yocto] [PATCH v2 1/7] Move RSEHelper to a separate plugin

2013-05-09 Thread Ioana Grigoropol
-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org.yocto.remote.utils/META-INF/MANIFEST.MF| 10 + .../src/org/yocto/remote/utils/Activator.java |4 +- .../src/org/yocto/remote/utils/Messages.java | 35 ++ .../src/org/yocto/remote/utils/RSEHelper.java | 344

[yocto] [PATCH 01/12] Separate remote logic from GUI login in TerminalHandler implementation

2013-05-09 Thread Ioana Grigoropol
-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../sdk/remotetools/actions/DialogHandler.java | 41 + .../sdk/remotetools/actions/LatencytopHandler.java |2 +- .../yocto/sdk/remotetools/actions/PerfHandler.java |2 +- .../sdk/remotetools/actions/TerminalHandler.java

[yocto] [PATCH v2 2/7] Move RemoteShellExec to separate plugin

2013-05-09 Thread Ioana Grigoropol
org.yocto.remote.utils Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../org/yocto/remote/utils/RemoteShellExec.java| 140 ++ .../yocto/sdk/remotetools/actions/BaseModel.java |2 +- .../sdk/remotetools/remote/RemoteShellExec.java| 149 3 files

[yocto] [PATCH 02/12] Move remote system type checkings from GUI Dialogs and to RSEHelper

2013-05-09 Thread Ioana Grigoropol
- created method isHostViable in RSEHelper that performs all the checks need by BaseSettingDialog - replace system type checkings in BaseSettingDialog with calls to isHostViable(IHost) Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/sdk/remotetools/RSEHelper.java

[yocto] [PATCH 03/12] Move logic for waiting for RSE initialization to RSEHelper

2013-05-09 Thread Ioana Grigoropol
waitForRSEInitCompletition with this functionality - replaced code in BaseSettingsDialog with a call to waitForRSEInitCompletition Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/sdk/remotetools/RSEHelper.java |9 + .../sdk/remotetools/actions

[yocto] [PATCH v2 3/7] Move ShellSession to org.yocto.remote.utils separate plugin

2013-05-09 Thread Ioana Grigoropol
to use implementation from org.yocto.remote.utils Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/remote/utils/ShellSession.java | 327 +++ .../org/yocto/sdk/remotetools/ShellSession.java| 341 .../sdk/remotetools

[yocto] [PATCH v2 4/7] Move CommonHelper to org.yocto.remote.utils separate plugin

2013-05-09 Thread Ioana Grigoropol
org.yocto.remote.utils Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/remote/utils/CommonHelper.java | 46 .../org/yocto/sdk/remotetools/CommonHelper.java| 44 --- .../sdk/remotetools/actions/OprofileModel.java |2 +- .../actions

[yocto] [PATCH 04/12] Move filtering of suitable connections to RSEHelper

2013-05-09 Thread Ioana Grigoropol
RSEHelper.getSuitableConnections to include the filtering for connections with associated system type disabled Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- .../src/org/yocto/sdk/remotetools/RSEHelper.java |4 .../sdk/remotetools/actions/BaseSettingDialog.java | 10

[yocto] [PATCH 05/12] Initial commit for separate remote utilities plugin

2013-05-09 Thread Ioana Grigoropol
Signed-off-by: Ioana Grigoropol ioanax.grigoro...@intel.com --- plugins/org.yocto.remote.utils/.classpath |7 +++ plugins/org.yocto.remote.utils/.project| 28 + .../.settings/org.eclipse.jdt.core.prefs |7 +++ .../org.yocto.remote.utils/META-INF

[yocto] [PATCH v2 5/7] Move TerminalHandler to org.yocto.remote.utils

2013-05-09 Thread Ioana Grigoropol
- move TerminalHandler to separate plugin since it performs actions that are best suited for remote utilities - remove TerminalHandler from remotetools plugin - modify org.yocto.sdk.remotetools to use implementation from org.yocto.remote.utils Signed-off-by: Ioana Grigoropol ioanax.grigoro

  1   2   3   >