sdk/emulator/emulator-manager.git
8 years agoMerge branch 'tizen_spin' into tizen 30/66630/2 tizen
SeokYeon Hwang [Wed, 20 Apr 2016 04:15:39 +0000 (13:15 +0900)]
Merge branch 'tizen_spin' into tizen

Change-Id: Ib25e39c5b6a0fd686ec7ea53f1b8c347fe08cd7a

8 years agoMerge branch 'tizen' into tizen_spin
SeokYeon Hwang [Wed, 20 Apr 2016 04:14:38 +0000 (13:14 +0900)]
Merge branch 'tizen' into tizen_spin

8 years agopackage: update version (2.4.192)
Minkee Lee [Fri, 15 Apr 2016 07:13:40 +0000 (16:13 +0900)]
package: update version (2.4.192)

Change-Id: I6950882ce6341dee24b53540cc3b53940a3457e4
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agotemplate: remove an unnecessary resolution for TV template
Minkee Lee [Fri, 15 Apr 2016 06:40:44 +0000 (15:40 +0900)]
template: remove an unnecessary resolution for TV template

A WQXGA (2560,1600) resolution is removed in the combo-list
that is shown when create/modify TV template.

Change-Id: Id04948c0d5c4efa3d4050a127a494870eb81f36b
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agodialog: change the RAM configuration title
Minkee Lee [Fri, 15 Apr 2016 05:31:42 +0000 (14:31 +0900)]
dialog: change the RAM configuration title

Fix the title "Ram" to "RAM" displayed in dialog.

Change-Id: I84d210449b969a97e77037d4c12e0573e667b385
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agomessage: fix the popup message when the emulator is failed to launch
Minkee Lee [Wed, 13 Apr 2016 13:42:34 +0000 (22:42 +0900)]
message: fix the popup message when the emulator is failed to launch

Change-Id: If6cb8905135948aed9631bf67ce72f44f9e644df
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agonet-bridge: add a host-IP input dialog
Minkee Lee [Tue, 12 Apr 2016 08:52:27 +0000 (17:52 +0900)]
net-bridge: add a host-IP input dialog

1. If a bridge-IP (host-IP) is not found, IP input dialog is
opened when the "Confirm" button is clicked.

2. remove a duplicated pop-up message. (remove a exception throwing)

3. If a tap-device in not added to bridge, stop launching and
guide users to change VM's network as NAT or add tap-device
to bridge.

Change-Id: I69e8b75b62e8b3f151107b4f03e565d85544c9d9
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agodialog-item: add checkValue() function
Minkee Lee [Tue, 12 Apr 2016 05:22:58 +0000 (14:22 +0900)]
dialog-item: add checkValue() function

1. This is called when user clicks a "Confirm" button.
If InvalidArgumentException occurs in this function,
job (create/modify/..) is canceled.

2. A click "Confirm" action should be canceled if
the InvalidArgumentException occurs, so I add a button listener
and check whether close the dialog or not when button is clicked.

Change-Id: I6474929872f48936ba9a3569278c26ff6cedfd02
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agonet-tap: fix a tool path
Minkee Lee [Tue, 12 Apr 2016 04:56:05 +0000 (13:56 +0900)]
net-tap: fix a tool path

devcon.exe, bindBridge.exe had been moved to tizen-sdk/tools/emulator/bin

Change-Id: Ibb777edd59f05fc26142447b344b52d57bc79f21
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agomessage-box: use default scroll bar
Minkee Lee [Tue, 12 Apr 2016 04:42:45 +0000 (13:42 +0900)]
message-box: use default scroll bar

1. When a message is long, custom scroll bar appears but it
doesn't show whole text. I guess it's a problem of custom scroll bar
so, I change it to default scroll bar. (TODO: fix custom scroll bar)
2. draw message-box border.

Change-Id: I9c3d6fa85590ef7d04bbe3c3da4a0c74f95c5177
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agodialog: remove a blank dialog behind a message-box 89/65589/1
Minkee Lee [Fri, 8 Apr 2016 08:24:51 +0000 (17:24 +0900)]
dialog: remove a blank dialog behind a message-box

If a message-box's parent is a shell, blank dialog is shown when
open a message-box. So change the parent from shell to Display.

Change-Id: I46466b36f98239ff5921ea0a990502db9dab12c3
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agomonitoring: use only LockFileMonitor for recent emulator
SeokYeon Hwang [Thu, 7 Apr 2016 10:19:58 +0000 (19:19 +0900)]
monitoring: use only LockFileMonitor for recent emulator

We do not use ECSMonitor anymore if version is higher than 3.

Change-Id: Ic8eac47ee703f157d25add8fc609660a1afcf18e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoplatform: refine sorting logics
SeokYeon Hwang [Thu, 7 Apr 2016 10:14:26 +0000 (19:14 +0900)]
platform: refine sorting logics

Implementing comparable interface if possible.
Using SortedSet for better performance and more readable codes.

Change-Id: I363b77737b3f0e3ca713d73920185c08198cbdc0
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agopackage: update version(2.4.191)
jihye424.kim [Thu, 31 Mar 2016 05:44:38 +0000 (14:44 +0900)]
package: update version(2.4.191)

Change-Id: Ie850ada67a42cfdec29cf8b8610dafe8aae92f11
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agomonitoring: consider early registered listeners
SeokYeon Hwang [Thu, 31 Mar 2016 06:52:59 +0000 (15:52 +0900)]
monitoring: consider early registered listeners

When the listener is registered before initial traversing of watched
directories, it can not be notified about pre-existing directories.
So, we should notify already registerd listeners even during initial
traversing of watched directories.

Change-Id: If922cc10810bf148d6b15075ecfd9d984f682587
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoLauncher: modify to use emulator bin path parameter
jihye424.kim [Thu, 31 Mar 2016 05:28:41 +0000 (14:28 +0900)]
Launcher: modify to use emulator bin path parameter

Change-Id: I5d8ab7c3ae9ffc8cae36f8f461e1920b0b49a3db
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agomonitoring: fix bugs when directory is removed.
SeokYeon Hwang [Thu, 31 Mar 2016 04:18:50 +0000 (13:18 +0900)]
monitoring: fix bugs when directory is removed.

When directory is removed or moved that is contain files, we should
handle it.

Change-Id: I4d703ac6731faf7027fc726dd02824821c8f83d9
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoWidget: avoid gdk error
jihye424.kim [Wed, 30 Mar 2016 08:05:10 +0000 (17:05 +0900)]
Widget: avoid gdk error

- some ubuntu systems have problem
-- Gdk-ERROR: The program 'SWT' received an X Window System error.
- remove code lines become a problem
-- this is temporary solution..we need to find fundamental solution

Change-Id: I5a526792d45475959fdf3fcd6e6afccb43ae0295
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoclasspath: remove duplicated reference to commons-io lib
jihye424.kim [Wed, 30 Mar 2016 07:55:01 +0000 (16:55 +0900)]
classpath: remove duplicated reference to commons-io lib

Change-Id: Ib07184e9d3b2082f7cd4acd522968ee13da0c0c8
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agomonitoring: remove potential concurrent problems
SeokYeon Hwang [Tue, 29 Mar 2016 10:47:06 +0000 (19:47 +0900)]
monitoring: remove potential concurrent problems

Re-arrange synchronized blocks and provide common functions.
Using ConcurrentLinkedQueue instead of SynchronizedList to avoid
ConcurrentModificationException.

Change-Id: I93be39a783c672247ff6174b2142ff2365f0a8e1
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agomonitoring: integrate and arrange file watcher
Munkyu Im [Mon, 28 Mar 2016 06:35:11 +0000 (15:35 +0900)]
monitoring: integrate and arrange file watcher

Change-Id: Iab9b29992393285477ea2ead1965181d3a1f2b4e
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoclasspath: add commons-io library to eclipse classpath
SeokYeon Hwang [Tue, 29 Mar 2016 02:15:01 +0000 (11:15 +0900)]
classpath: add commons-io library to eclipse classpath

Change-Id: Id9708d4dd3a87db70fba57aefb120b95af4b9675
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agopackage: update version (2.4.190)
jihye424.kim [Mon, 28 Mar 2016 01:55:35 +0000 (10:55 +0900)]
package: update version (2.4.190)

Change-Id: Ib2bab2f1ded6c7ac5499627da8da556f5cf5ca6d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI: fixed some bugs
jihye424.kim [Mon, 28 Mar 2016 01:10:39 +0000 (10:10 +0900)]
CLI: fixed some bugs

- check profile of device template
- change short name of hw-virtualization to -w from -v
-- -v is crash with --verbose (global option)
- modify count of columns for windows

Change-Id: Ief6714a1a75e53e6f3539fb93e46edf80d4bb635
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agodelete-VM: fix an error message
Minkee Lee [Fri, 25 Mar 2016 12:45:28 +0000 (21:45 +0900)]
delete-VM: fix an error message

- fix a string resource files.
- remove a duplicated message box.

Change-Id: I2bc1e08261aa53a9f44ac718793172f4f3bb4003
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoecs-monitoring: use non-blocking connection
Minkee Lee [Fri, 25 Mar 2016 12:27:20 +0000 (21:27 +0900)]
ecs-monitoring: use non-blocking connection

If a connect() does not response immediately,
the Emulator Manager cannot try connecting to another ECS port
and this causes a delayed detect of launched VM.

To resolve this problem, use non-blocking connection.

Change-Id: I3e8c41d9c8246b268365aa2ea1ef0ed274101bfd
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agopackage: update version (2.4.189)
jihye424.kim [Fri, 25 Mar 2016 09:35:39 +0000 (18:35 +0900)]
package: update version (2.4.189)

Change-Id: I4138eb18594d04911791fb38fc3aa8034cfc49d6
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoVM table: fix a message of combo button to 'Create New Emulator'
jihye424.kim [Fri, 25 Mar 2016 08:09:18 +0000 (17:09 +0900)]
VM table: fix a message of combo button to 'Create New Emulator'

Change-Id: Iccaa2b670146ef18732e9fa013356164fda506ca
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoTemplate: add proxy option for legacy profile
jihye424.kim [Fri, 25 Mar 2016 09:14:59 +0000 (18:14 +0900)]
Template: add proxy option for legacy profile

Change-Id: I38b1fb0f7999c1e900672b6cb994d1c0d97bf424
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI: modify option to -d from -p
jihye424.kim [Fri, 25 Mar 2016 08:06:39 +0000 (17:06 +0900)]
CLI: modify option to -d from -p

- change to directory from path
-- -p means platform in CLI
- modify create and modify usage
-- to -t from -d

Change-Id: I83781b073cacd96724a60dbcc6ea272aa64bf6a8
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoadd commons-io.jar to lib dir
jihye424.kim [Fri, 25 Mar 2016 02:33:41 +0000 (11:33 +0900)]
add commons-io.jar to lib dir

Change-Id: Ic52cd070299327f38afd8208857d1c0f32f98cc4
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: update version (2.4.188)
jihye424.kim [Fri, 25 Mar 2016 01:17:05 +0000 (10:17 +0900)]
package: update version (2.4.188)

Change-Id: I1c98881204d6b2b798948f3e8cc69e229ead30b6
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoresolution: verify a input of resolution and size
Minkee Lee [Thu, 24 Mar 2016 06:39:35 +0000 (15:39 +0900)]
resolution: verify a input of resolution and size

resolution
- width/height range : 1 ~ 99999
- only a numeric input is allowed

size
- range : 1 ~ 9999.999
- float input is allowed
- max decimal place is three

Change-Id: I41559d5c4110c8415000e807c7ee52f4d68201a5
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoresolution: fix a tooltip information
Minkee Lee [Wed, 23 Mar 2016 08:18:28 +0000 (17:18 +0900)]
resolution: fix a tooltip information

- A text "Size" is changed : "Display Size"
- Show correct DPI value.

Change-Id: I5f87539c367af5405e472ffbc29854c2d064f715
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoCLI: change device template option name to -t(--template)
jihye424.kim [Thu, 24 Mar 2016 11:51:43 +0000 (20:51 +0900)]
CLI: change device template option name to -t(--template)

- to -t(--template) from -d(--device)

Change-Id: Ib7834c94bee8e7ec5ec4ba5115abb572131b249d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI: modify help and error messages
jihye424.kim [Wed, 23 Mar 2016 08:24:54 +0000 (17:24 +0900)]
CLI: modify help and error messages

Change-Id: I5aabfecb46599a14470b37fefe25653ec9fa29a3
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI: modify format of usage
jihye424.kim [Wed, 23 Mar 2016 08:23:10 +0000 (17:23 +0900)]
CLI: modify format of usage

- old-> <explain>: <example>
- new-> <explain>
          <example>

Change-Id: If155f5541faef96ecb199fed7bdaf1f0b158b769
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI: add list-template command and modify other commands
jihye424.kim [Wed, 23 Mar 2016 08:20:55 +0000 (17:20 +0900)]
CLI: add list-template command and modify other commands

- change name to list-platform from list-image
- add platform and profile option to list-vm
- modify help, error messages

Change-Id: I30475688fbbe950f214b999ef3ef489c96f18425
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoskin: set null to skin value when can not find available skin
jihye424.kim [Thu, 24 Mar 2016 09:26:51 +0000 (18:26 +0900)]
skin: set null to skin value when can not find available skin

- add HVGA resolution for tv profile

Change-Id: I385b1793ba6eee2a782712614966f776235df124
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI: add 'COLUMNS' environment variable
jihye424.kim [Thu, 24 Mar 2016 04:15:52 +0000 (13:15 +0900)]
CLI: add 'COLUMNS' environment variable

- get max width of terminal from 'COLUMNS'

Change-Id: Ib3a4931086b679655b14f0e429b964cb02178d1f
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agomonitoring: add new file watcher for MacOSX
Munkyu Im [Thu, 24 Mar 2016 02:23:26 +0000 (11:23 +0900)]
monitoring: add new file watcher for MacOSX

JDK offers WatchService for monitoring files.
It uses native implementaion except on MacOSX.
On MacOSX, It periodically traverses the file system and
checks the last modified timestamp of each file and subdirectory.
(It's well-known issue on JDK and not fixed yet.)
Because of this, it takes longer time to process.
Apache's "Commons io" library offers better performance about this.
So, it'll be a good alternative.

Change-Id: I35d6ae768b69db21168b770edbe09f509f87d125
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agodevice-template: remove a duplicated XML loading
Minkee Lee [Tue, 22 Mar 2016 09:33:20 +0000 (18:33 +0900)]
device-template: remove a duplicated XML loading

It makes a delay when open a "Templates" page first time.
(No delay from second open.)
To avoid a delay, use a 'needRefresh' variable.
(The 'needRefresh' was declared but not used.)

Change-Id: I42d5d5485611f519580c6e788c58febfbb294568
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agopackage: update version (2.4.187)
jihye424.kim [Mon, 21 Mar 2016 02:44:01 +0000 (11:44 +0900)]
package: update version (2.4.187)

Change-Id: I0392bfb6c137ebcd0223804f312e928cf52cb5a0
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoresolution: modify DPI value
jihye424.kim [Fri, 18 Mar 2016 10:57:22 +0000 (19:57 +0900)]
resolution: modify DPI value

- set dpi of launch option with dpi of vm property value

Change-Id: Ife843baff7217b9ab3886222575e3b32d455f20c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoabout-dialog: add a handling when dialog closed
Minkee Lee [Thu, 17 Mar 2016 06:19:07 +0000 (15:19 +0900)]
about-dialog: add a handling when dialog closed

Closing dialog by 'OK' button works well but
closing by 'ECS' key doesn't work well.
(isOpenStatus not changed)

So, add a DisposeListener.
It may cover all closing cases.

Change-Id: I5f54b375b49487b8b3389c0398fc454a310c9d56
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agodialog: block event to parent dialog manually
Minkee Lee [Thu, 17 Mar 2016 06:08:18 +0000 (15:08 +0900)]
dialog: block event to parent dialog manually

Sometimes in ubuntu, the parent dialog still receives events
even though the child dialog is opened as modal.
So, block it manually.
(This is a kind of w/a.)

Change-Id: Ib472bb59ee27ecce957addbf85bfde243b0bf381
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoplatform-list: change the sorting way
Minkee Lee [Wed, 16 Mar 2016 07:29:07 +0000 (16:29 +0900)]
platform-list: change the sorting way

1. The function "getPlatformList()" always returns
sorted list.
("getSortedPlatforms()" is not needed anymore.)

2. Apply some additional sorting conditions.
- profile (mobile > wearable > tv)
- image type (standard > add-on)
- skin shape (band > circle > square / none)

Change-Id: I0743f72316aeeda521eb153c7f21b4c7e8a1e006
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoJAXB: create 'JAXBHelper' class
jihye424.kim [Fri, 18 Mar 2016 05:56:03 +0000 (14:56 +0900)]
JAXB: create 'JAXBHelper' class

- load xml file and save xml file
- old: each class has load and save function
- new: only 'JAXBHelper' class has load and save function

Change-Id: I666a56dd321e239efbee66d78a0d017727a600c4
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm property: add to check binary version
jihye424.kim [Thu, 17 Mar 2016 10:26:16 +0000 (19:26 +0900)]
vm property: add to check binary version

- check binary version while to create vm property
-- if binary version of property file does not match of installed platform image,
vm property will be deleted

Change-Id: Ibcd241dbd816f02eb0c46dc13855849e6925523e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: update version (2.4.186)
Minkee Lee [Mon, 14 Mar 2016 04:10:53 +0000 (13:10 +0900)]
package: update version (2.4.186)

Change-Id: I0281586de9aef5a041c13cbb5be6c7810451c05c
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoabout dialog: prevent dialog to open twice
jihye424.kim [Sat, 12 Mar 2016 04:46:55 +0000 (13:46 +0900)]
about dialog: prevent dialog to open twice

Change-Id: Ifc92a223a79053096880ae5fc6a5039da798c2d6
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agocli: fixed some bugs
jihye424.kim [Sat, 12 Mar 2016 04:18:39 +0000 (13:18 +0900)]
cli: fixed some bugs

- move task of making platform list to processor function from main
- check skin shape

Change-Id: Ia1f6a5e68dc458e7c6698e0ab2151d28faba882c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotable item: redraw table item
jihye424.kim [Thu, 10 Mar 2016 07:41:11 +0000 (16:41 +0900)]
table item: redraw table item

Change-Id: Ib241c70e3bdd5f92a80b54426dcaf19ec6450c1c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotable viewer: change button layout
jihye424.kim [Sat, 12 Mar 2016 04:49:16 +0000 (13:49 +0900)]
table viewer: change button layout

- move back button to left side
- move confirm button to right(top) side

Change-Id: Ic9c7efbcec750cc85a2fc3ee04e14a964330c59c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoplatform: make temporary custom platform
jihye424.kim [Sat, 12 Mar 2016 03:49:00 +0000 (12:49 +0900)]
platform: make temporary custom platform

- do not save configuration of this platform to custom-base-imgaes.xml
- use this platform to make custom vm in cli

Change-Id: I8675b3fd95c0079fd9671d04e5074fdc4e680dad
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm list: change table item to platform name from image name
jihye424.kim [Sat, 12 Mar 2016 02:07:54 +0000 (11:07 +0900)]
vm list: change table item to platform name from image name

- add tool tip for device template
- change image button

Change-Id: I5cc21a142992572424c7e9bb33daa81592e61535
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agofile-monitor: little improvement
Minkee Lee [Fri, 11 Mar 2016 09:00:13 +0000 (18:00 +0900)]
file-monitor: little improvement

1. Add an exception handling (NosuchFileException)
2. Apply a sensitivity parameter when register path to
file watcher.
- This solves delayed file-event issue but not perfectly.
- So we need to consider an another file watcher.
  (ex: apache file-watcher library)

Change-Id: I5b675ef9a3a37b675ddb62b77b7f930b9560b135
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agofont: Adjust font size for Mac OS
Minkee Lee [Thu, 10 Mar 2016 09:30:29 +0000 (18:30 +0900)]
font: Adjust font size for Mac OS

In Mac OS , text is shown smaller than in other OS because
Mac OS' default display DPI is different from other OS.
So we need to increase font size.

Change-Id: Ib0d144938f1d070a608b9041196872c81f39081a
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoVM-worker: fix a duplicated listener registration
Minkee Lee [Thu, 10 Mar 2016 06:00:59 +0000 (15:00 +0900)]
VM-worker: fix a duplicated listener registration

Add a listener just one time.
If listener is added in constructor, function is called
as many time as the number of an emulator instance.

Change-Id: Idbc0ea7d6d2fe14f5e49f9a8b1eb6f5e40f157d3
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agonetwork-option: adjust widget size
Minkee Lee [Wed, 9 Mar 2016 13:09:24 +0000 (22:09 +0900)]
network-option: adjust widget size

Widen title width.

Change-Id: I59d027facce5c393379490ca055dcae770c92273
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agocamera-option: change a dialog for GIF image
Minkee Lee [Wed, 9 Mar 2016 12:19:05 +0000 (21:19 +0900)]
camera-option: change a dialog for GIF image

1. Directory dialog is changed to file dialog.
2. Function name refactoring.

Change-Id: I92e43d9a8a2cffe43f6a19a8a048d393a91aa2f7
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoVM-name: fix a VM name auto-generation
Minkee Lee [Wed, 9 Mar 2016 09:47:39 +0000 (18:47 +0900)]
VM-name: fix a VM name auto-generation

1. If user does not change VM name, it is set automatically
everytime when user changes platform.

2. Changes platforms sorting order in VM create page.
- standard > custom

Change-Id: I0e4ee6019849476d67333fbd3d6c563f6f469f6a
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agodevice-template: change resolution for new wearable template
Minkee Lee [Wed, 9 Mar 2016 06:21:40 +0000 (15:21 +0900)]
device-template: change resolution for new wearable template

Change-Id: Ia9c4aced0b775a0a4538cf2226503e03700fa32e
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agopackage: update version (2.4.185)
jihye424.kim [Wed, 9 Mar 2016 02:12:57 +0000 (11:12 +0900)]
package: update version (2.4.185)

Change-Id: I5a36eff54bdfc6cffe1510cbf1e71739d855e651
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotemplate: delete not used template
jihye424.kim [Wed, 9 Mar 2016 02:11:29 +0000 (11:11 +0900)]
template: delete not used template

Change-Id: I915269156f3d7fc9b8384abd76eea56eebb8271b
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotemplate: delete product template
jihye424.kim [Wed, 9 Mar 2016 01:29:14 +0000 (10:29 +0900)]
template: delete product template

Change-Id: I1c8e64360c6ac10b035b82636eb0cb9770a5ea08
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agomonitor: add synchronized statement
jihye424.kim [Wed, 9 Mar 2016 01:19:52 +0000 (10:19 +0900)]
monitor: add synchronized statement

- close file stream

Change-Id: I6e54cb0bc7c14f7fcfb3763817d028bbb3608ba7
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm: execute file function continuously until get access authority
jihye424.kim [Wed, 9 Mar 2016 00:05:05 +0000 (09:05 +0900)]
vm: execute file function continuously until get access authority

Change-Id: I2b4a333ce5a661ae4fb3f075746e35ec6f33f315
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm list: check VM item before it is added into the table
jihye424.kim [Wed, 9 Mar 2016 00:03:21 +0000 (09:03 +0900)]
vm list: check VM item before it is added into the table

Change-Id: I450da8f2e45cdf2966358bd32c4a63817f63f728
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: update version (2.4.184)
jihye424.kim [Tue, 8 Mar 2016 05:56:45 +0000 (14:56 +0900)]
package: update version (2.4.184)

Change-Id: I1ee1fb81cafc702bd7d183aab8fb2ade68709652
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoMerge branch 'features/new_ui' into develop
jihye424.kim [Tue, 8 Mar 2016 05:54:47 +0000 (14:54 +0900)]
Merge branch 'features/new_ui' into develop

Conflicts:
package/changelog
package/pkginfo.manifest
src/org/tizen/emulator/manager/EmulatorManager.java
src/org/tizen/emulator/manager/template/Template1.java
src/org/tizen/emulator/manager/template/Template2.java
src/org/tizen/emulator/manager/template/TemplateLoader.java
src/org/tizen/emulator/manager/template/renewal/VMTemplate.java
src/org/tizen/emulator/manager/tool/TapUtil.java
src/org/tizen/emulator/manager/ui/detail/item/template/CheckLabelViewItem.java
src/org/tizen/emulator/manager/ui/list/RowItem.java
src/org/tizen/emulator/manager/ui/renewal/item/CommonItemListFactory.java
src/org/tizen/emulator/manager/ui/renewal/item/CommonOptionFactory.java
src/org/tizen/emulator/manager/ui/renewal/item/IItemListFactory.java
src/org/tizen/emulator/manager/ui/renewal/item/IOptionFactory.java
src/org/tizen/emulator/manager/ui/renewal/item/modify/common/IModifyDialogItem.java
src/org/tizen/emulator/manager/ui/renewal/item/modify/common/ModifyDialogItem.java
src/org/tizen/emulator/manager/ui/widgets/CommonVMButtonPainter.java
src/org/tizen/emulator/manager/ui/widgets/VMButton.java
src/org/tizen/emulator/manager/ui/widgets/internal/IVMButtonPainter.java
src/org/tizen/emulator/manager/vms/Creator.java
src/org/tizen/emulator/manager/vms/EmulatorVMList.java
src/org/tizen/emulator/manager/vms/Modifier.java
src/org/tizen/emulator/manager/vms/VMLauncher.java
src/org/tizen/emulator/manager/vms/VMProperty.java
src/org/tizen/emulator/manager/vms/VMPropertyConfiguration.java
src/org/tizen/emulator/manager/vms/VMPropertyValue.java
src/org/tizen/emulator/manager/vms/option/ForcePatOption.java
src/org/tizen/emulator/manager/vms/option/NetProxyOption.java

Change-Id: Ic84a647ae271fc95d0a9c0815d60163e84054d02
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotable viewer: change title image to platforms from base iamges
jihye424.kim [Tue, 8 Mar 2016 04:58:52 +0000 (13:58 +0900)]
table viewer: change title image to platforms from base iamges

Change-Id: I011ecdc899806ee23c5c21ec284422f7fbd81a31
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agonet: change binaries path for setup bridge network
Munkyu Im [Thu, 3 Mar 2016 08:37:39 +0000 (17:37 +0900)]
net: change binaries path for setup bridge network

The path has been changed to platform independant path.
And it affects to Windows host.

Conflicts:

        src/org/tizen/emulator/manager/tool/TapUtil.java

Change-Id: I389cdabd24225015d9139301340d89c41ef9370a
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
(cherry picked from commit 07004ea04be5d8cf3cd164ccb34c910b7ba3ac5f)

8 years agoplatform-dialog: lists base-platforms by profile
Minkee Lee [Tue, 8 Mar 2016 04:01:11 +0000 (13:01 +0900)]
platform-dialog: lists base-platforms by profile

When users add custom platform in new VM page,
only profile's platforms should be displayed in list.

Change-Id: I101c66ac9f5af445bf5182d25e658df02bee971d
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agocreate-VM: Sort platforms in combo-box
Minkee Lee [Mon, 7 Mar 2016 07:41:30 +0000 (16:41 +0900)]
create-VM: Sort platforms in combo-box

When user create VM, platform list is sorted as followings.
1. platform type (custom > standard)
2. image version (descending)
3. extention type (extention > normal)
4. cpu type (32 > 64)

Change-Id: I87bdf9d47e342e9225d7a6f69f0feeafd25542ee
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agobuild: remove 'launch4j' option in windows signing
Minkee Lee [Mon, 7 Mar 2016 06:34:06 +0000 (15:34 +0900)]
build: remove 'launch4j' option in windows signing

Tools has changed not to use this option.

Change-Id: I84c5f17b7000f1878997b206d761980455eb5d0d
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agotempalte-dialog: fix some issues
Minkee Lee [Mon, 7 Mar 2016 05:31:46 +0000 (14:31 +0900)]
tempalte-dialog: fix some issues

1. change the way to compare device-template to use
   file path.
2. Add default value for creation. (draft)
3. After add/remove a device-template, apply it to internal-list.
   (Also add/remove in internal-list)
4. Merge changeItems function. (refactoring)
5. Fix some resolutions in XML.

Change-Id: I63718f0205ceda898fe4699a40c70acb688c10c4
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agomanager: fix some issues
Minkee Lee [Fri, 4 Mar 2016 04:57:20 +0000 (13:57 +0900)]
manager: fix some issues

1. Exception handling if VM's platform is not found.
   (add NULL check in VMPropertyValue)
2. OCI value NULL check.
3. Issue that no templates are shown in table.
   (fix profile comparison between template and profile button)
4. Sort issue in VM table.

Change-Id: If7d399f8e0886fc47cf26186b641a9816dee82d8
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoplatform-dialog: fix dialog
Minkee Lee [Thu, 3 Mar 2016 08:58:05 +0000 (17:58 +0900)]
platform-dialog: fix dialog

1. Widen label width for long text.
2. Do nothing when user cancels creation.

Change-Id: Ia25acdb0aa2c708ce7a02b6efdbb5b14e5e73a30
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agodialog: get parent shell at needed time
Minkee Lee [Thu, 3 Mar 2016 04:49:01 +0000 (13:49 +0900)]
dialog: get parent shell at needed time

- MainDialog.getShell() can be null if it is used in
static block.

Change-Id: Ibad939643e685d199e260b580a121b392b28b789
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoplugin: init parent plugin first
Minkee Lee [Wed, 2 Mar 2016 10:16:10 +0000 (19:16 +0900)]
plugin: init parent plugin first

Parent plugin (base plugin) should be initialized prior
to an extention plugin because extention plugin needs
parent plugin's classLoader.

For this, I created some tree-like data structure.

Change-Id: Ida41b55a72ccb5824e53053138b88ed4fe6a8dd3
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoVM-launch: add log when user starts VM in GUI
Minkee Lee [Wed, 24 Feb 2016 03:35:30 +0000 (12:35 +0900)]
VM-launch: add log when user starts VM in GUI

Change-Id: If1914797297c5e8c5a4d7475231f582303f0e0de
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agologger: add millisecond to logging time
Minkee Lee [Wed, 24 Feb 2016 03:35:19 +0000 (12:35 +0900)]
logger: add millisecond to logging time

Change-Id: Id8974036c91ab3514d52db2ee3bae55236f6f87f
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agooption: add dummy function for legacy plug-in
Minkee Lee [Wed, 2 Mar 2016 07:26:02 +0000 (16:26 +0900)]
option: add dummy function for legacy plug-in

This is for compatibility with legacy plug-in

Change-Id: I37f035ba285eaa16e0a33823a94f8f49e5e17e0b
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoOCI: loading libEnumerationOCI.so from emulator-resources
jihye424.kim [Fri, 26 Feb 2016 10:06:34 +0000 (19:06 +0900)]
OCI: loading libEnumerationOCI.so from emulator-resources

Change-Id: Ifeaf452a9289860d43fad1467f86b68eb8ba8322
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoOption: make option list using old version option factory
jihye424.kim [Fri, 26 Feb 2016 08:54:49 +0000 (17:54 +0900)]
Option: make option list using old version option factory

Change-Id: I10dba03b677b7f2a32b53eb11144fa924461cf36
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoTemplate: load version1 template
jihye424.kim [Fri, 26 Feb 2016 07:22:04 +0000 (16:22 +0900)]
Template: load version1 template

- convert version1 template into version2 template
- remove old tempalte loader (not used)

Change-Id: Ia9ec4dfdcf2f4260146404f243946b31db5aa253
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoBaseImage: setting base image value from platform
jihye424.kim [Fri, 26 Feb 2016 07:17:11 +0000 (16:17 +0900)]
BaseImage: setting base image value from platform

Change-Id: I3243e44da4d19ca279cf311ede2d69b108941a3a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agonet: change binaries path for setup bridge network
Munkyu Im [Thu, 3 Mar 2016 08:37:39 +0000 (17:37 +0900)]
net: change binaries path for setup bridge network

The path has been changed to platform independant path.
And it affects to Windows host.

Change-Id: I389cdabd24225015d9139301340d89c41ef9370a
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agoCLI: seperate commands to 'VMCommandList'
jihye424.kim [Sun, 21 Feb 2016 07:41:21 +0000 (16:41 +0900)]
CLI: seperate commands to 'VMCommandList'

Change-Id: I64d4f46018e45d6131be1c1a5b63f5a5ce9bc0a2
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI: modify 'list-vm' and 'detail' help message
jihye424.kim [Fri, 19 Feb 2016 09:53:35 +0000 (18:53 +0900)]
CLI: modify 'list-vm' and 'detail' help message

Change-Id: Ic5c833686ec4faf4ecdabfe1da1609ce3beb3a55
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agosource: remove legacy UI source
Minkee Lee [Tue, 23 Feb 2016 12:43:42 +0000 (21:43 +0900)]
source: remove legacy UI source

Some legacy code should be maintained for compatibility
with old version plug-in.
 - org.tizen.emulator.manager.ui.detail.item
 - org.tizen.emulator.manager.ui.detail.item.property
 - org.tizen.emulator.manager.ui.detail.item.template
 - org.tizen.emulator.manager.ui.dialog
 - org.tizen.emulator.manager.ui.widgets

 - And exception classes in org.tizen.emulator.manager.vms.helper
 - org.tizen.emulator.manager.console.RemoteManager.java

Change-Id: I952ea91ae8c1edbfe58457f2f732a85da288124a
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agosource: change the package of some classes
Minkee Lee [Wed, 17 Feb 2016 08:36:46 +0000 (17:36 +0900)]
source: change the package of some classes

ItemName, ItemType and OptionName is moved.
(They are not UI class)

Change-Id: If9d60786f215b8b379c1dff33d72cd6b2f8a14a3
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoCLI: add 'platform' and 'profile' option to list-vm
jihye424.kim [Fri, 19 Feb 2016 08:01:13 +0000 (17:01 +0900)]
CLI: add 'platform' and 'profile' option to list-vm

- modify list-vm and detail option
- move to print information to 'ConsoleProcessor'

Change-Id: I53759e5c4a13c4ef89a56a5b80eb392c4f115faf
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI : modify help message of global option
jihye424.kim [Thu, 18 Feb 2016 08:19:32 +0000 (17:19 +0900)]
CLI : modify help message of global option

- add 'version' option

Change-Id: I23fb7f7591c77e7a1e54a1410c8c520677324e47
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI: modify 'create' help message
jihye424.kim [Wed, 17 Feb 2016 10:13:33 +0000 (19:13 +0900)]
CLI: modify 'create' help message

Change-Id: I8653500da41afbe6acf934e45d027257cb1d0ace
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI: make 'OutputUtil' class
jihye424.kim [Wed, 17 Feb 2016 08:30:23 +0000 (17:30 +0900)]
CLI: make 'OutputUtil' class

- to print message use 'OutputUtil' class in place of 'System.out'
- add some variable for new help message

Change-Id: I13ed7733fd4c96a6c780d1af306a81cf023bd61b
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI: modify class name (action -> commnad, command -> option)
jihye424.kim [Wed, 17 Feb 2016 06:50:56 +0000 (15:50 +0900)]
CLI: modify class name (action -> commnad, command -> option)

- create string resources class
- seperate package

Change-Id: Idb66bcdfa0368ba8284a1643dae86f4009803f37
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoVM-create: update skin information using platform
Minkee Lee [Tue, 16 Feb 2016 11:41:06 +0000 (20:41 +0900)]
VM-create: update skin information using platform

If user selects platform,
- update each device-template's skin
- reset skin list

Change-Id: I6813853be3618df631ab2b2f5fc2111981118f8f
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoVM-modify: make device template list
Minkee Lee [Tue, 16 Feb 2016 07:37:38 +0000 (16:37 +0900)]
VM-modify: make device template list

- Get device-template list from DeviceTemplateList.
 (ProfileList is deprecated.)

- remove duplicated variable "treeModifyItem".

Change-Id: Iae8c87f6a7f08cd250a77a65762e16a55689bb58
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>