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

Ioana Grigoropol ioanax.grigoropol at intel.com
Wed Jun 5 10:00:01 PDT 2013


- 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 separator
  Remove unsed methods & inner classes from ShellSession
  Save active connection for Bitbake recipe
  Initialize and store the connection on Recipe Wizard
  Store connection for recipe in Recipe Wizard Page
  Refactor Wizard Page fields to have consistent names
  Refactor populate method name
  Break handlePopulate into remote and local functions
  Use uri instead of string to determine location of recipe & determine
    archive type
  Store metadata location as URI instead of String
  Refactor Recipe Wizard Page to use Remote target Api
  Run all Recipe task in wizard container
  Enable Populate button when src URI changes
  Store reference to OptionsPage in InstallWizard
  Collect Bitbake error lines
  Refactor Bitbake wizard to use RemoteHelper API
  Retrieve console from RemoteHelper instead of recreating it
  Remove LongRunningTask,ICalculatePercentage from InstallWizard
  Create separated class for ConsoleWriter

 plugins/org.yocto.bc.ui/META-INF/MANIFEST.MF       |    4 +-
 .../src/org/yocto/bc/bitbake/BBSession.java        |   10 +
 .../src/org/yocto/bc/bitbake/ShellSession.java     |  138 ++---
 .../org/yocto/bc/remote/utils/ConsoleWriter.java   |   36 ++
 .../bc/remote/utils/YoctoRunnableWithProgress.java |  211 ++++++++
 .../src/org/yocto/bc/ui/Activator.java             |    2 +-
 .../bc/ui/editors/bitbake/BitBakeFileEditor.java   |    1 +
 .../bc/ui/wizards/BitbakeRecipeUIElement.java      |   15 +-
 .../bc/ui/wizards/NewBitBakeFileRecipeWizard.java  |   41 +-
 .../ui/wizards/NewBitBakeFileRecipeWizardPage.java |  528 +++++++++++---------
 .../yocto/bc/ui/wizards/install/InstallWizard.java |  275 +++-------
 .../BBConfigurationInitializeOperation.java        |   23 +-
 12 files changed, 710 insertions(+), 574 deletions(-)
 create mode 100644 plugins/org.yocto.bc.ui/src/org/yocto/bc/remote/utils/ConsoleWriter.java
 create mode 100644 plugins/org.yocto.bc.ui/src/org/yocto/bc/remote/utils/YoctoRunnableWithProgress.java

-- 
1.7.9.5




More information about the yocto mailing list