sdk/emulator/emulator-manager.git
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>
8 years agopackage: update version (2.4.182)
jihye424.kim [Tue, 16 Feb 2016 07:31:11 +0000 (16:31 +0900)]
package: update version (2.4.182)

Change-Id: Icd7ba386ed2e8a0113cde6ad90699ec79027afa1
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agocreate-VM: change variable and function name
Minkee Lee [Tue, 16 Feb 2016 06:28:19 +0000 (15:28 +0900)]
create-VM: change variable and function name

- baseImage --> platform.

Change-Id: I60df1286a86c7dd6f648f35fd58df83da3ca569f
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoCLI: disable remote option
jihye424.kim [Tue, 16 Feb 2016 05:03:23 +0000 (14:03 +0900)]
CLI: disable remote option

- move remote action to 'RemoteActionList'
- remove 'clone' action
- can use global option in any position
-- Usage: --help launch or launch --help or launch -n test --help

Change-Id: Iabab9c5c68ff6a4fce7d5e99abbc9e991890b43c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI: add variables when launch emulator
jihye424.kim [Tue, 16 Feb 2016 04:41:20 +0000 (13:41 +0900)]
CLI: add variables when launch emulator

- Usage: em-cli launch -n test --network_proxy "http_proxy=192.168.137.11:4444"

Change-Id: I568c93a3222bc882e1f7dc275386b22f09e93e7b
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI: add platform and device option to 'create'
jihye424.kim [Sat, 13 Feb 2016 07:53:08 +0000 (16:53 +0900)]
CLI: add platform and device option to 'create'

- remove base image option

Change-Id: I16f9145159caf9dc5a485914680d900ff0e7660c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoCLI: add 'list-platform' command
jihye424.kim [Sat, 13 Feb 2016 04:32:54 +0000 (13:32 +0900)]
CLI: add 'list-platform' command

- remove 'list-image' command

Change-Id: I03bbd8f76ae08dab0ef1475346d11f8829f4bf22
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm property: not make profile list
jihye424.kim [Sat, 13 Feb 2016 04:01:13 +0000 (13:01 +0900)]
vm property: not make profile list

- use platform list
- file watcher wait until job of making platform list is complete
- change to 'Platform' class from 'BaseImage' class

Change-Id: Iacbe04e50b61a7000c69ce89adeca3e912a37bd5
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agocreate vm: change to 'Platform' class from 'BaseImage' class
jihye424.kim [Sat, 13 Feb 2016 03:17:19 +0000 (12:17 +0900)]
create vm: change to 'Platform' class from 'BaseImage' class

Change-Id: I633d147526af93c827750c0364887c35baa721d0
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoprofile button: change to new 'Profile' class
jihye424.kim [Sat, 13 Feb 2016 02:43:16 +0000 (11:43 +0900)]
profile button: change to new 'Profile' class

Change-Id: Ia6ba98eb3088ed1e78bb60d4616694e13ed10d33
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm list table: change to 'Platform' class from 'BaseImage'
jihye424.kim [Sat, 13 Feb 2016 02:32:22 +0000 (11:32 +0900)]
vm list table: change to 'Platform' class from 'BaseImage'

Change-Id: I3f85024a1c4779e3fb8cd5ea114d5a932f7d22e4
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm proeprty: add platform variable to vm property value
jihye424.kim [Sat, 13 Feb 2016 02:07:58 +0000 (11:07 +0900)]
vm proeprty: add platform variable to vm property value

Change-Id: I2b90b700748bc25f58127a4e305f10afebed4122
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoplatform dialog: set default name from selected base platform
jihye424.kim [Fri, 12 Feb 2016 09:46:07 +0000 (18:46 +0900)]
platform dialog: set default name from selected base platform

Change-Id: I6db04463cf451ee2a753ff3d526a48863551430e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agocustom platform: create dialog to make custom platform
jihye424.kim [Fri, 12 Feb 2016 06:53:44 +0000 (15:53 +0900)]
custom platform: create dialog to make custom platform

- remove 'profile' item
- add 'profile', 'arch', 'skin shape' label to 'platform' item

Change-Id: I1fe2c8dbdd4a2df2a44b6bfcabd8d17ab843b32c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoplatform image table: add new platform image table
jihye424.kim [Fri, 12 Feb 2016 04:16:43 +0000 (13:16 +0900)]
platform image table: add new platform image table

- base image table -> platform image table
- use new platform, profile class

Change-Id: If156177597a9f02318ad802dfb158b83b4c81b56
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoplatform: add new platform list and platform class
jihye424.kim [Thu, 11 Feb 2016 09:50:16 +0000 (18:50 +0900)]
platform: add new platform list and platform class

- remove 'BaseImage' class
- platform class -> Base Image + Profile + Version

Change-Id: I75aec5e39cc661ea5a4eac774fc7b2c430c9bc03
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoplatform: move old platform sources to 'back up package'
jihye424.kim [Thu, 11 Feb 2016 07:36:25 +0000 (16:36 +0900)]
platform: move old platform sources to 'back up package'

Change-Id: I9aa125e9d50a1b547835b4075bac9d710d868a2d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: update version (2.4.183)
Minkee Lee [Fri, 12 Feb 2016 06:28:26 +0000 (15:28 +0900)]
package: update version (2.4.183)

Change-Id: Ib2748d5feb86a419de4445b1c28e168406d0c6fb
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agooption: add new option class for 'force_pat'
Minkee Lee [Fri, 5 Feb 2016 06:43:28 +0000 (15:43 +0900)]
option: add new option class for 'force_pat'

- This option is for graphic performance improvement
- Plugins can use this option if they need

Change-Id: I6215f8083c370f289d4b6bba2eed7638eeea9898
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
(cherry picked from commit 55b1f35b45ac07d1de81c420f6767d0f0da249ed)

8 years agoVMButtonPainter: implements method temporarily
Minkee Lee [Thu, 11 Feb 2016 09:04:26 +0000 (18:04 +0900)]
VMButtonPainter: implements method temporarily

add 'drawButtonText' method for to build emulator manager resources
(for new ui)

Change-Id: Ic40ddafaf78ef507f0cf18d2cbf0635e08a074b8
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoVM-property: remove VMPropertyConfiguration in VMProperty
Minkee Lee [Thu, 11 Feb 2016 05:07:40 +0000 (14:07 +0900)]
VM-property: remove VMPropertyConfiguration in VMProperty

'VMPropertyConfiguration' is wrapper of a class
'EmulatorConfiguration' (XML object) and it provides converting
between 'EmulatorConfiguration' and 'VMPropertyValue' (internal object).

A 'VMProperty' doesn't need to hold a 'VMPropertyConfiguration'
because 'VMPropertyConfiguration' is a kind of helper class.
So I remove it and provide it as a static function.

Refactoring)
'VMPropertyConfiguration' is seperated into two class.
 - VMPropertyValueCreator, VMConfigurationCreator

Change-Id: I2a52bebeed7fde24dcaca860c43c475b3208a3e9
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agooption: add new option class for 'force_pat'
Minkee Lee [Fri, 5 Feb 2016 06:43:28 +0000 (15:43 +0900)]
option: add new option class for 'force_pat'

- This option is for graphic performance improvement
- Plugins can use this option if they need

Change-Id: I6215f8083c370f289d4b6bba2eed7638eeea9898
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoVM-property: set VMPropertyValue early
Minkee Lee [Thu, 4 Feb 2016 13:12:20 +0000 (22:12 +0900)]
VM-property: set VMPropertyValue early

Change-Id: I55333be372172204b27432196edac66e947eb402
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoVM-property: deprecate some getter function
Minkee Lee [Thu, 4 Feb 2016 12:01:53 +0000 (21:01 +0900)]
VM-property: deprecate some getter function

Some getter functions of class "VMPropertyConfiguration" should
have private access. So I deprecate these functions and
use getter functions of class "VMPropertyValue" instead.

Deprecated functions will be changed to 'private' later.

Change-Id: I7b2dbe9e9ddfc1491c089ccd74ba721fe8f9b49c
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoVM-property: deprecate some members
Minkee Lee [Thu, 4 Feb 2016 09:17:20 +0000 (18:17 +0900)]
VM-property: deprecate some members

1. Deprecate some getter functions in class "VMProperty".
   "VMPropertyValue" should be used instead of "VMProperty".

2. Change access modifier and add some getter functions.
   (baseImage in class "VMPropertyValue")

Change-Id: Id0861bda2d171ef644075b7f269bde7fe6072154
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoprofile-list: init profile-list in console mode
Minkee Lee [Wed, 3 Feb 2016 09:17:23 +0000 (18:17 +0900)]
profile-list: init profile-list in console mode

Change-Id: I88e6bd534b6d40c7e471601f3fb5878db74b2841
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoVM-property: change setting base-image
Minkee Lee [Thu, 4 Feb 2016 07:47:54 +0000 (16:47 +0900)]
VM-property: change setting base-image

Change base image setting time.

Change-Id: I01842e3c741e3daca3ec6f67307fb1d69fba2c6f
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoVM-property: remove duplicated variable
Minkee Lee [Wed, 3 Feb 2016 06:24:03 +0000 (15:24 +0900)]
VM-property: remove duplicated variable

- "baseImagePath" in VMPropertyValue is removed.
  We can get this value from an object "baseImage".

- Some settings are moved to class "VMPropertyConfiguration".

Change-Id: I294393dd79799cb45cb48aea100ff8d47db54b9a
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoVM-monitor: check a VM's state before change
Minkee Lee [Wed, 3 Feb 2016 06:09:33 +0000 (15:09 +0900)]
VM-monitor: check a VM's state before change

When a monitor changes VM's state to READY, it is need to check
if VM's state is already set to READY by another monitor.

Change-Id: Ibdbb06dffd926ba35ade7dcc3645947dada59135
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoskin: recover a removed function
Minkee Lee [Wed, 3 Feb 2016 04:32:03 +0000 (13:32 +0900)]
skin: recover a removed function

This function is being used in plug-in. (deprecated)

Change-Id: I35dcfd4b6be399a3fec3275ca432ca3e89e9e8fe
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoplatform: fix finding a default property
Minkee Lee [Wed, 3 Feb 2016 04:11:42 +0000 (13:11 +0900)]
platform: fix finding a default property

Compare image name with a file name. (not full-path)

Change-Id: Ib637c6e3b6346fd255f47d62a28271fd33f57fe8
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agorefactoring: change option name ("defaultValue")
Minkee Lee [Tue, 2 Feb 2016 05:45:23 +0000 (14:45 +0900)]
refactoring: change option name ("defaultValue")

Change "createDefault" to "defaultValue".
It means an initial value of UI widget.

Change-Id: If9e109ae46e16384c8f699b7422882108fd1ddce
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agorefactoring: fix function name ("isLesserThan")
Minkee Lee [Tue, 2 Feb 2016 05:37:49 +0000 (14:37 +0900)]
refactoring: fix function name ("isLesserThan")

Change 'l' to 'L'.

Change-Id: I8879b4db6cd8de80f1ab1af6217dd7c497caf016
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agooption: add suspend support option (experimental)
Minkee Lee [Tue, 2 Feb 2016 04:21:35 +0000 (13:21 +0900)]
option: add suspend support option (experimental)

Change-Id: I4a07007647d531250149f2fd17c10194f17d147c
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agooption: add viewer type option (experimental)
Minkee Lee [Tue, 2 Feb 2016 01:34:25 +0000 (10:34 +0900)]
option: add viewer type option (experimental)

A user can select "Native" or "Web".

Change-Id: I1e00975e04a508e6676bd8dce27e1c9c0b89b780
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agooption: fix direct-rendering option
Minkee Lee [Tue, 2 Feb 2016 04:55:52 +0000 (13:55 +0900)]
option: fix direct-rendering option

1. Do nothing if version is under 2.3.2.
2. If a user cannot select an option in UI, option is
regarded as true. (Default is qt-enable)

Change-Id: I9c2d229851278611e7cfde680304e9716b98f7e1
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agotemplate: convert old template
Minkee Lee [Tue, 2 Feb 2016 04:52:25 +0000 (13:52 +0900)]
template: convert old template

Convert old template to common template structure.
It is needed to find specific item in template.

Change-Id: Ia3ad5657e86cd32287963c075596b615ed9d9c05
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agooption: add direct-rendering option (experimental)
Minkee Lee [Fri, 29 Jan 2016 09:20:19 +0000 (18:20 +0900)]
option: add direct-rendering option (experimental)

- Add direct-rendering option in UI
- Show "experimental" text in title bar

Change-Id: Id8014f50a8541d14ee85c88ba80fa444f7038986
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoImageButton: use array instead of Collection
SeokYeon Hwang [Fri, 5 Feb 2016 04:36:20 +0000 (13:36 +0900)]
ImageButton: use array instead of Collection

We can use array instead of Collection if size is fixed. Generally
array is faster than Collection.

Change-Id: I0419fff348ded41c0ac6c6b6d863571b2ac43eec
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoresources: we use new Image API now
SeokYeon Hwang [Fri, 5 Feb 2016 03:52:19 +0000 (12:52 +0900)]
resources: we use new Image API now

Change-Id: Ia4785c23a9cb4d8371fc3baa45d035c27c34bf3d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoresources: commonize resource registry
SeokYeon Hwang [Thu, 4 Feb 2016 09:14:33 +0000 (18:14 +0900)]
resources: commonize resource registry

Change-Id: Ib04d6950106a1484a7e2dfdaf4e145a7bffa3cde
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoresources: introduce new wrapper API for providing colors
SeokYeon Hwang [Thu, 4 Feb 2016 08:22:34 +0000 (17:22 +0900)]
resources: introduce new wrapper API for providing colors

Change-Id: I3ab711a620ceb63e46de1a22f7fc3670dfda5a03
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoresources: introduce new wrapper API for providing fonts
SeokYeon Hwang [Thu, 4 Feb 2016 07:26:13 +0000 (16:26 +0900)]
resources: introduce new wrapper API for providing fonts

Change-Id: I48d1f3b883ba6e74ddb918c86a07693662188e05
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoresources: introduce new wrapper API for providing Images
SeokYeon Hwang [Wed, 3 Feb 2016 11:21:30 +0000 (20:21 +0900)]
resources: introduce new wrapper API for providing Images

Change-Id: I2d81702acf3eaf1d3691b47c9de9e23a6ae65cae
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoresources: do not use Collection for fixed number of object
SeokYeon Hwang [Wed, 3 Feb 2016 10:19:21 +0000 (19:19 +0900)]
resources: do not use Collection for fixed number of object

Change-Id: I96c47b65cfb806a996bec859e852e7f6d94614ec
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoplugin: introduce flexible extension structure
SeokYeon Hwang [Wed, 3 Feb 2016 09:03:59 +0000 (18:03 +0900)]
plugin: introduce flexible extension structure

Change-Id: Ia41cccce3638c663ec53d24d756b69a6dac3229d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agovm button: add 'drawButtonText' method temporarily
jihye424.kim [Tue, 2 Feb 2016 10:00:35 +0000 (19:00 +0900)]
vm button: add 'drawButtonText' method temporarily

- add 'drawButtonText' method for to build emulator manager resources

Change-Id: Ib87bfdba7e1d30662eeba5a082aed8c63e10889e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoresources: correct some class names
SeokYeon Hwang [Wed, 3 Feb 2016 05:48:25 +0000 (14:48 +0900)]
resources: correct some class names

Change-Id: Ie15552216e428eaf157431242f048d22cdbe227f
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoplugin: simplify plugin loader
SeokYeon Hwang [Tue, 2 Feb 2016 10:42:02 +0000 (19:42 +0900)]
plugin: simplify plugin loader

We can use EMPluginLoader itself as a classloader. All we need is a
child-first searching for resources.

Change-Id: Iaecbb3ea15c4599da869a365dee0106a3602951c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agodevice-template: add 216x432 wearable-band template
Minkee Lee [Mon, 1 Feb 2016 10:08:13 +0000 (19:08 +0900)]
device-template: add 216x432 wearable-band template

Change-Id: Iebc3401c216836c8c7aba8ccad423f38e03e0359
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoproxy option: move hostProxy variable
jihye424.kim [Wed, 27 Jan 2016 06:21:22 +0000 (15:21 +0900)]
proxy option: move hostProxy variable

- move hostProxy variable to getHostProxy()
-- execute check-net program one time if getHostProxy is called several times

Change-Id: I78c69b19222874007044889ddf3954b8a3624e91
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
(cherry picked from commit b97d9f3456b48155567b8c30d7e655b202e58fbb)

8 years agoopen message box if unexpected exception occurs
jihye424.kim [Tue, 2 Feb 2016 04:09:53 +0000 (13:09 +0900)]
open message box if unexpected exception occurs

- old: write exception message to log file and console
- new: in addition, open message box

Change-Id: I91880c57da95095985d99195f2b74158653544a6
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agobuild: check runtime bit of java in windows
jihye424.kim [Mon, 1 Feb 2016 07:36:22 +0000 (16:36 +0900)]
build: check runtime bit of java in windows

Change-Id: I1b4dcf0d4503fc3766fde2715636dd29d3ead220
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoVMProperty: clean-up unnecessary logics
SeokYeon Hwang [Mon, 1 Feb 2016 08:25:54 +0000 (17:25 +0900)]
VMProperty: clean-up unnecessary logics

Change-Id: I98f0005914c597f4a939e74ddd7e128c8ab4073a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoECSMonitor: fix BufferUnderFlowException
Minkee Lee [Thu, 28 Jan 2016 12:20:58 +0000 (21:20 +0900)]
ECSMonitor: fix BufferUnderFlowException

1. In selector model, event (SelectionKey) should be removed
after read. Otherwise, BufferUnderFlowException occurs
at next read.

2. Add receive logic for case that a whole message is not
received at once.

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