sdk/emulator/emulator-manager.git
8 years agolaunch option: write additional variable options
jihye424.kim [Thu, 24 Dec 2015 08:01:24 +0000 (17:01 +0900)]
launch option: write additional variable options

- plugin add new variable (string type)
-- old: do not write this variable to launch config file
-- new: write this variable to launch config file

Change-Id: I053cb6262655c30aa5e40809db35b297c1312a68
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agolaunch option: change key type to 'String' of variable map
jihye424.kim [Tue, 10 Nov 2015 05:56:32 +0000 (14:56 +0900)]
launch option: change key type to 'String' of variable map

- key type: OPTION_KEY -> String
-- OPTION_KEY is enum type, so resources package can not add new variable key
-- if variable key type is string, resources package can add new variable key

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

8 years agopackage: update version (2.4.174)
minkee.lee [Thu, 24 Dec 2015 03:16:24 +0000 (12:16 +0900)]
package: update version (2.4.174)

Change-Id: I8000e83016376723e4a34e6727d21f4d7427fa77
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoCPU-option: fix CPU virtualization option
minkee.lee [Wed, 23 Dec 2015 07:52:57 +0000 (16:52 +0900)]
CPU-option: fix CPU virtualization option

If CPU virtualization is not supported,
argument (enable-hax / enable-kvm) should not be passed.

Change-Id: I536e223e30fe7bd121b64df08178bf82e0e9f5e9
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agopackage: update version (2.4.173)
minkee.lee [Wed, 23 Dec 2015 04:54:45 +0000 (13:54 +0900)]
package: update version (2.4.173)

Change-Id: Id12ec43a7305283ac189ec64e8d81ecfed9d94d0
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoAbout: move about-dialog job into main thread
minkee.lee [Wed, 23 Dec 2015 04:27:16 +0000 (13:27 +0900)]
About: move about-dialog job into main thread

Thread for initializing about-dialog content is unnecessary.

Change-Id: I5725b1e008c5fd89e2b926e05cdc399762126ec8
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agocheck-process: changed to run as background
minkee.lee [Tue, 22 Dec 2015 10:11:29 +0000 (19:11 +0900)]
check-process: changed to run as background

- In initializing stage, main thread has changed not to wait until
checking job such as check VT, check GPU is finished.
- Add job for check webcam.

Change-Id: Ib6aeeb6778c6fc7d2a53ce2d3d613c9ecf13b795
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoexport-image: remove additional cancel popup
minkee.lee [Tue, 22 Dec 2015 07:39:23 +0000 (16:39 +0900)]
export-image: remove additional cancel popup

If user cancels job, additional popup that shows message
such as "User canceled" is unnecessary.

Change-Id: Ic7aa0f367aaa25229aa6aec395b254cd60fc3264
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agotap: change ip setting if use DHCP ip on Windows
Munkyu Im [Tue, 22 Dec 2015 09:16:54 +0000 (18:16 +0900)]
tap: change ip setting if use DHCP ip on Windows

If physical network gets ip address from DHCP server,
remove it.
If bridged network ues DHCP server,
change registry key to get host ip address.

Change-Id: I6ea0a7b3cb1bedff2b3f661db9a97de3ee905883
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agopackage: update version (2.4.172)
minkee.lee [Tue, 22 Dec 2015 04:57:22 +0000 (13:57 +0900)]
package: update version (2.4.172)

Change-Id: Iebc85e05ed803423a2c0da551a1d4a3ffbf00655
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agotap: fix message box
Munkyu Im [Mon, 21 Dec 2015 10:48:15 +0000 (19:48 +0900)]
tap: fix message box

")" was in wrong position.

Change-Id: If2bd4c5ea25cee8930cc7053d6258204394c0085
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agomain view: change to redraw main view from refresh list
jihye424.kim [Mon, 21 Dec 2015 10:38:19 +0000 (19:38 +0900)]
main view: change to redraw main view from refresh list

- change to redraw main view after to create or modify emulator property
- problem: select first vm -> modify property -> confirm -> vm(button) move to last location
- why: 'refresh vm list' -> sorting vm list by modified date
- fix: to redraw main view replace to refresh vm list

Change-Id: Ifaced9e6d287de4150ed1c0265a39e4cbd80159e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoexport as: disable launch button during 'export as' job
jihye424.kim [Mon, 21 Dec 2015 09:12:54 +0000 (18:12 +0900)]
export as: disable launch button during 'export as' job

- set 'running' state is true when start 'export as' job
- set 'running' state is false when finish 'export as' job
- this value is kept while emulator manager is alive
- if to restart emulator manager, this value will be set false

Change-Id: Icd02aaf119d47d7a7c50f4c960371cf021e88f3a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoworker lock: consider that multi thereads use same file lock
jihye424.kim [Mon, 21 Dec 2015 07:24:07 +0000 (16:24 +0900)]
worker lock: consider that multi thereads use same file lock

- worker lock: use lock file to prevent conflict between emulator manager processes (ui and cli)
- 'create base image' job  will take long time(30 ~ 60 seconds), so spearate this job to other thread
- problem1: this job has lock file during long time, other job will be wait...
--> use property-name.lock file for this job
--> release worker lock after to create property-name.lock file
- problem2: if multi threads use same lock file,
  java throw OverlappingFileLockException when already locked file by other thread (by same JVM)
-> wait for release lock

Change-Id: I1cb43ff3631be005208d86979c837032d6029fd8
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agomain view: add 'EmulatorStatusListener' to VMsMainView
jihye424.kim [Mon, 21 Dec 2015 06:32:48 +0000 (15:32 +0900)]
main view: add 'EmulatorStatusListener' to VMsMainView

- modify status of image button when receive 'changeEmulatorRunningStatus' event

Change-Id: I8e2a45d2edd790fe9e6ceea3671d7fc9b702f50c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoEmulator Status: add 'EmulatorStatusListener'
jihye424.kim [Thu, 3 Sep 2015 05:59:49 +0000 (14:59 +0900)]
Emulator Status: add 'EmulatorStatusListener'

- receive event when emulator launched or terminated.
- CheckingRunningEmulator send event

Conflicts:
src/org/tizen/emulator/manager/ui/renewal/MainDialog.java
src/org/tizen/emulator/manager/ui/renewal/tableviewer/ProfileButtonMaker.java
src/org/tizen/emulator/manager/ui/renewal/tableviewer/VMListTable.java

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

8 years agopackage: update version (2.4.171)
minkee.lee [Mon, 21 Dec 2015 09:32:14 +0000 (18:32 +0900)]
package: update version (2.4.171)

Change-Id: I701d3e127449eed2606c0f0ae73050e1a0eb70cc
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoexport-image: add cancel button to dialog
minkee.lee [Mon, 21 Dec 2015 05:37:30 +0000 (14:37 +0900)]
export-image: add cancel button to dialog

Add cancel button to dialog for compress.
( No | Cancel | Yes )

Change-Id: Icc7f24850a21cbb5f4e251b610ada1c19df21ffb
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agotap: fix bridge network setting
Munkyu Im [Thu, 17 Dec 2015 04:03:57 +0000 (13:03 +0900)]
tap: fix bridge network setting

- change the way to configure TCP/IP
- fix inifinite while loop
- add logs
- change getting registry value

Change-Id: I0d494566c49723e053501644680d10cc69dd9ab4
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agonet: support bridge network for Windows 10 OS
Munkyu Im [Fri, 11 Dec 2015 09:24:13 +0000 (18:24 +0900)]
net: support bridge network for Windows 10 OS

Because Windows 8 and above need manual bridge network,
the way to detect OS supported is changed.
environment veriable "os.version" is used for it.

Change-Id: Iba36478572a434e869a4933dbe6e5a5484508dca
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agovm button: check launch button status
jihye424.kim [Fri, 18 Dec 2015 02:19:58 +0000 (11:19 +0900)]
vm button: check launch button status

- bug: can not click launch button
- why: vm button painter always reset launch button status is normal
so, remove push status of launch button
- fix: check launch button status, and change launch button status

Change-Id: I95c838790e7ede6090214929030d730b3db33757
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoexport-image: add compress option to "Export as"
minkee.lee [Fri, 11 Dec 2015 06:38:43 +0000 (15:38 +0900)]
export-image: add compress option to "Export as"

Add compress option when create new base image.
User can select yes or no after select file to be saved in dialog.
In CLI, add -c option to create-image command.

Change-Id: I918caf35578c69cf1e24c5e210e426868f7a1060
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agopackage: update version (2.4.169)
jihye424.kim [Thu, 10 Dec 2015 04:17:31 +0000 (13:17 +0900)]
package: update version (2.4.169)

Change-Id: Ib943f869d7ec8d0b64ec5f6622fdf74d956bb851
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agocustom widget: ignore unpaired 'mouse up' event
jihye424.kim [Wed, 9 Dec 2015 05:41:01 +0000 (14:41 +0900)]
custom widget: ignore unpaired 'mouse up' event

- bug: if select file with double click from file dialog, unexpected button will be clicked of emulator manager
-- after double click event, mouse up event occurred in windows
-- custom widget raise selection event when received mouse up event
-- ubuntu, mac os does not happen

- fix: match mouse down event with mouse up event
-- if does not receive mouse down event, mouse up event will be thrown out

Change-Id: Ie7b1f5f5feac227cfc0f3d62fc179d748e5ec14c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: update version (2.4.168)
minkee.lee [Thu, 3 Dec 2015 06:29:24 +0000 (15:29 +0900)]
package: update version (2.4.168)

Change-Id: Iacf6ce2ae516902caab6526496a0867f1d35ee97
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoVM-property: fix finding default VM-property
minkee.lee [Thu, 3 Dec 2015 03:11:52 +0000 (12:11 +0900)]
VM-property: fix finding default VM-property

Default property file name for each image is {image-name}.xml.
So, if only image-name is used for finding default property file,
wrong file may be found.

Change-Id: I641f22498b1ce6b36de5905c67cb37d72c69eea6
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agopackage: update version (2.4.167)
minkee.lee [Tue, 1 Dec 2015 04:53:07 +0000 (13:53 +0900)]
package: update version (2.4.167)

Change-Id: Ic1e359dfc847b64aca7a4a8676f8b225e6549ffe
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agovm worker: remove worker thread from vm worker
jihye424.kim [Mon, 23 Nov 2015 07:59:41 +0000 (16:59 +0900)]
vm worker: remove worker thread from vm worker

- fix: remove worker thread from vm worker
-- we need worker thread to prevent ui blocking beacuse to create base image job take long time
-- UI module use worker thread, beacuse UI module need to prevent blocking
-- vm worker not use thread, vm worker need not to know blocking issue

- bug: thread timing issue
-- thread1: wait to thread2 (check isAlive)
(error status)
-- thread2: notify to thread1
-- thread1: wake up -> check isAlive() -> thread2 isAlive -> thread1 wait forever
-- thread2: terminate
(normal status)
-- thread2: notify to thread1 -> terminate
-- thread1: wake up -> check isAlive() -> next step

- can not control thread terminate time

Change-Id: I9b2528d2b0effccd975c58580542682054d299b4
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agocustom-image: setting CPU type for custom base image
minkee.lee [Wed, 25 Nov 2015 07:53:57 +0000 (16:53 +0900)]
custom-image: setting CPU type for custom base image

Setting CPU type is needed to create launch config file.
(image_arch=xxx)

Change-Id: I5de59006e7b93a075657cd4e2abe986cf25b11c2
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.163)
minkee.lee [Tue, 10 Nov 2015 10:47:52 +0000 (19:47 +0900)]
package: version up (2.4.163)

Change-Id: Ie96c1bfcfd9e9a09a48eefa42bb5e28ec30e1e11
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoCLI: enable -p option when to create custom emulator
jihye424.kim [Tue, 10 Nov 2015 08:06:46 +0000 (17:06 +0900)]
CLI: enable -p option when to create custom emulator

- old: create custom emulator using latest platform
- new: create custom emulator using seleted platform from -p option
- add checking architecture routine for 3.0 platform

Change-Id: Ie552e6d4bb13460eeec0fb67c5bbf55200be70fc
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agooption: change platform condition for some option.
minkee.lee [Mon, 9 Nov 2015 06:58:15 +0000 (15:58 +0900)]
option: change platform condition for some option.

Remote option is available from 2.3.2.
Following launch variable is available from 2.3.2
 - display_resolution
 - display_pixel_density

Change-Id: I31c23c7781568602235dd1f0fd66cfebfb000a62
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.161)
minkee.lee [Mon, 9 Nov 2015 04:48:52 +0000 (13:48 +0900)]
package: version up (2.4.161)

Change-Id: I5e18b2ea6b80cbce9f8db1579c66bb27eb6e7cfb
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoskin: fix resetting skin.
minkee.lee [Mon, 9 Nov 2015 04:39:56 +0000 (13:39 +0900)]
skin: fix resetting skin.

If base image is changed, new skin have to be selected.
If variable 'skinPath' is not set to null, prior skin is used.

Change-Id: Idb3ea0166a19dd98348c5d2c9907a7ce755f7d35
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: update version (2.4.160)
jihye424.kim [Fri, 6 Nov 2015 07:35:08 +0000 (16:35 +0900)]
package: update version (2.4.160)

Change-Id: Ie5286767c057654707ecd5d1af62e38f6e7d8cb5
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agocreate vm: fix problem to create custom vm with cli
jihye424.kim [Fri, 6 Nov 2015 06:52:12 +0000 (15:52 +0900)]
create vm: fix problem to create custom vm with cli

- bug
-- input custom base iamge path change to standard base image path
-- can not find proper skin for resolution
-- custom resolution dpi set 0
-- -d, --dpi option does not work

- fix
-- set custom base image path to vm property
-- find skin using resolution
-- delete -d, --dpi option (will support after 3.0 version)

Change-Id: Idecbe2116124bf9d0d7f61415ded3027599c66d2
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agobuild: add common build script file.
minkee.lee [Mon, 2 Nov 2015 05:09:22 +0000 (14:09 +0900)]
build: add common build script file.

- build.common file provides common clean, build, install function.
- Merge ubuntu-32/64 build host to ubuntu-32.

Change-Id: I81cc22fbf800604985c36374fe814009c681b6c8
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up. (2.4.159)
minkee.lee [Tue, 3 Nov 2015 08:57:46 +0000 (17:57 +0900)]
package: version up. (2.4.159)

Change-Id: I190d10eb3e90d34471891f2d5e8488a2c02e4ee6
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agocheck-net: set check-net process working directory
minkee.lee [Thu, 5 Nov 2015 01:47:47 +0000 (10:47 +0900)]
check-net: set check-net process working directory

- If it is not set, check-net could be run at unauthorized
  directory and it would fail when try creating new file.
  And this causes network failure in VM with host-proxy.

Change-Id: Ie98ecdbcc143693fb3082f6fda9fbceb8ac6968b
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agonetwork: add check-net result to log.
minkee.lee [Tue, 3 Nov 2015 08:56:01 +0000 (17:56 +0900)]
network: add check-net result to log.

Change-Id: I612373b3d58e23854fc1bbcedd89a8bec2ecf017
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agorunning-vm: change image path decoding charset.
minkee.lee [Wed, 28 Oct 2015 06:24:06 +0000 (15:24 +0900)]
running-vm: change image path decoding charset.

Emulator-manager had used UTF-8 to decode image path from ECS.
But it's wrong because ECS send image path using system default charset.
So I changed Emulator-manager to use system default charset.

This resolves issue that running-VM's launch button is enabled.

Change-Id: I0237859dc92d8edc79575fb493f8b6c7f505c748
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.158)
minkee.lee [Tue, 13 Oct 2015 02:08:23 +0000 (11:08 +0900)]
package: version up (2.4.158)

Change-Id: Ia20f369b4a8d887d9357eb83411ce1a7389c6461
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agorunning-vm: exception handling when check running-vm.
minkee.lee [Tue, 13 Oct 2015 01:59:36 +0000 (10:59 +0900)]
running-vm: exception handling when check running-vm.

- Re-try connecting to ecs when NoConnectionPendingException occurs.
- (This resolves issue that play button is not changed to disable
   sometimes in ubuntu.)

Change-Id: Ib0fa9774c6340543e708049e73da6e27953cd3a4
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.157)
minkee.lee [Thu, 8 Oct 2015 06:13:21 +0000 (15:13 +0900)]
package: version up (2.4.157)

Change-Id: If038f6cb31918f75cb0e354e31f72bd5311c59e0
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agooption: change NetworkOption class for it's subclass.
minkee.lee [Thu, 8 Oct 2015 06:07:22 +0000 (15:07 +0900)]
option: change NetworkOption class for it's subclass.

- change functions' access modified to "protected".

Change-Id: I982d976efb73129bfa5f6668456d85960149815e
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.156)
minkee.lee [Tue, 6 Oct 2015 07:30:12 +0000 (16:30 +0900)]
package: version up (2.4.156)

Change-Id: I201feb21570d84151c7fdccb7f3c3c38ed8e5470
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agocustom-vm: fix custom-vm type.
minkee.lee [Mon, 5 Oct 2015 11:48:34 +0000 (20:48 +0900)]
custom-vm: fix custom-vm type.

- fix that VM is created as standard type when create custom-vm with
  platform standard image.

Change-Id: I695be823c922cd3c9c6cbb40d16876a8707e1e43
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.155)
minkee.lee [Thu, 1 Oct 2015 06:04:01 +0000 (15:04 +0900)]
package: version up (2.4.155)

Change-Id: Ic134376b1eae3c431bf66b22b5903e103ef6d1c2
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoVM-launch: change the use of API for VM launch.
minkee.lee [Thu, 1 Oct 2015 05:33:18 +0000 (14:33 +0900)]
VM-launch: change the use of API for VM launch.

- Current code occurs error at some JVM version. (1.7.0_13)

   cmd.add("cmd");
   cmd.add("/c");
   cmd.add("\"" + binaryPath + "\" --conf \"" configPath + "\"");
   new ProcessBuilder(cmd) ...
   (According to following release note, I guess problem is qouted binathPath.
    - http://www.oracle.com/technetwork/java/javase/6u45-relnotes-1932876.html)

- So I changed like followings
   cmd.add(binaryPath);
   cmd.add("--conf");
   cmd.add(configPath);
   ...

Change-Id: I7b21067d92066511f281c59fd760300e2595a269
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.154)
minkee.lee [Wed, 30 Sep 2015 07:34:19 +0000 (16:34 +0900)]
package: version up (2.4.154)

Change-Id: I3645b1847c18bd6fbb7996e24ca4d400401e82b0
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agodisplay-option: add option for java UI.
minkee.lee [Wed, 30 Sep 2015 07:13:18 +0000 (16:13 +0900)]
display-option: add option for java UI.

- Java UI option is provided in experimental mode.
  (./emulator-manager --experimental)
- "-display maru_sdl" for linux and windows.
- "-display maru_shm" for OS X.

Change-Id: I9d736e0212ce067e9534573d15ae37c58ffc71fc
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agonetwork: (Mac OS) Add a guide dialog for bridge network.
minkee.lee [Fri, 25 Sep 2015 07:11:26 +0000 (16:11 +0900)]
network: (Mac OS) Add a guide dialog for bridge network.

- When user select bridge network for emulator,
  guide dialog is shown if Mac OS version is above 10.9.x and
  bridge is not ready in host.

Change-Id: If841c1e6719eafc05a22d463801b6277d77af2d7
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agonetwork: (Mac OS) modify getting bridge's ip information.
minkee.lee [Thu, 24 Sep 2015 10:25:20 +0000 (19:25 +0900)]
network: (Mac OS) modify getting bridge's ip information.

- First, find bridge which is connected to interface "en0".
  And from this bridge, it's possible to get subnet, gateway, ip.

Change-Id: I6f67dbfe1dc2e408d86b9ceafd8dfde916670cd7
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: update version (2.4.153)
jihye424.kim [Thu, 24 Sep 2015 01:39:14 +0000 (10:39 +0900)]
package: update version (2.4.153)

Change-Id: Icffd78d7cd306d9c843fb5d05daa4d650651d209
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoVMProperty: seperate setting skin value routine
jihye424.kim [Wed, 23 Sep 2015 08:10:39 +0000 (17:10 +0900)]
VMProperty: seperate setting skin value routine

- setting skin value after set base image(platform)

Change-Id: I26f97c83389dd4695a3d8ff52d7d17319a4a492c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoBuild: delete the redundant file
jihye424.kim [Wed, 16 Sep 2015 00:54:37 +0000 (09:54 +0900)]
Build: delete the redundant file

- delete 'emulator-manager.c'

Change-Id: Ie533b13d862dc60954a6a09072d13db0e62bd52b
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agopackage: update version(2.4.151)
jihye424.kim [Wed, 16 Sep 2015 00:02:27 +0000 (09:02 +0900)]
package: update version(2.4.151)

Change-Id: Id20bc0532d3233f88f8d39624a0a56c04b8892c5
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoResolution: delete default FULLHD(1080x1920) resolution
jihye424.kim [Tue, 15 Sep 2015 23:55:32 +0000 (08:55 +0900)]
Resolution: delete default FULLHD(1080x1920) resolution

- 1080x1920 resoulution's name will be changed to other name
- other reolution's name will be changed to 'FULLHD'

Change-Id: I04be7e99d8d322b0967862387d44135d15605453
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoREADME: update about sdk-manager library.
minkee.lee [Tue, 15 Sep 2015 07:36:37 +0000 (16:36 +0900)]
README: update about sdk-manager library.

Change-Id: I3580b5e8c26ac7a24a11f2eb7cd62789038536b5
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.150)
minkee.lee [Tue, 15 Sep 2015 07:17:48 +0000 (16:17 +0900)]
package: version up (2.4.150)

Change-Id: If59e339be2b327fe21850c79d30449e9d61e0aec
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agosdk-update: apply SDK update checking.
minkee.lee [Tue, 15 Sep 2015 06:42:45 +0000 (15:42 +0900)]
sdk-update: apply SDK update checking.

- It simply checks and writes log
  whether SDK update is available or not.

Change-Id: Ifcfa5314e4a4fbe267a17e5c17d4d84635ef8371
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agosdk-path: fix sdk-path setting.
minkee.lee [Mon, 14 Sep 2015 11:55:10 +0000 (20:55 +0900)]
sdk-path: fix sdk-path setting.

- If sdk.info file doesn't exist, sdk-path should be
  set as "../../.." from emulator-manager's working directory.

Change-Id: Ib2973970460ca8598087e03b881a18a7e320d9fd
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.149)
minkee.lee [Thu, 10 Sep 2015 07:29:18 +0000 (16:29 +0900)]
package: version up (2.4.149)

Change-Id: Ic9d8f51b5ad0533b91d5983f5f8a7f08d78f4d55
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoremote-option: add new display option for remote mode.
minkee.lee [Thu, 10 Sep 2015 06:28:04 +0000 (15:28 +0900)]
remote-option: add new display option for remote mode.

- If VM is set as remote mode, "maru_remote_spice" is used
  instead of "maru_qt,..." for display option.
- This is applied at version 2.4 or later.

Change-Id: I177fde4bcd5f0720b1e3a2424ce8cf4da0a9849c
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.148)
minkee.lee [Tue, 8 Sep 2015 08:01:58 +0000 (17:01 +0900)]
package: version up (2.4.148)

Change-Id: I672fb104ad7e07acc0a430e9a18228858d299186
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agocli: fix usage of file-path variable.
minkee.lee [Tue, 8 Sep 2015 07:25:31 +0000 (16:25 +0900)]
cli: fix usage of file-path variable.

- use "EnableDelayedExpension" option. It is needed if
  brackets and white space is in variable and used in
  IF, ELSE phrase.

Change-Id: If29a4b471c20528acd79f48275cd00fa4215cf76
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.147)
jihye424.kim [Tue, 8 Sep 2015 07:43:32 +0000 (16:43 +0900)]
package: version up (2.4.147)

Change-Id: I957b9e185f5e5884459ec55930af2e74402b20f0
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoVMWorker: delete misused 'Message.getString()' function
jihye424.kim [Tue, 8 Sep 2015 05:04:30 +0000 (14:04 +0900)]
VMWorker: delete misused 'Message.getString()' function

Change-Id: Ie4215a559b1e627ae41ead3572045f3ea2d7c985
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agolaunch-conf: change comment for file encoding.
minkee.lee [Tue, 8 Sep 2015 05:02:21 +0000 (14:02 +0900)]
launch-conf: change comment for file encoding.

- use "character encoding".

Change-Id: I7e42e83c1110768162683af735866839ac0f4808
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.146)
minkee.lee [Mon, 7 Sep 2015 09:39:39 +0000 (18:39 +0900)]
package: version up (2.4.146)

Change-Id: I41840a79e20cc2d7fa8c935ca37beb8b26e29f22
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agofile-share: fixed file share option.
minkee.lee [Mon, 7 Sep 2015 09:23:16 +0000 (18:23 +0900)]
file-share: fixed file share option.

- add double qoutes and use variable ("sharing_path")
  in launch config file.

Change-Id: I2a7bb041a08c17ab033e7af1fd2c34760a5fe594
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agobuild: change build dependency to emulator-common-lib-dev
jihye424.kim [Fri, 4 Sep 2015 02:11:45 +0000 (11:11 +0900)]
build: change build dependency to emulator-common-lib-dev

Change-Id: Ic279fde0d58c56dff2624868f89c27c6e149ade9
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agopackage: version up(2.4.145)
jihye424.kim [Thu, 3 Sep 2015 07:33:40 +0000 (16:33 +0900)]
package: version up(2.4.145)

Change-Id: I843f27ae8ac609c7c9ab652a96db95b3de2e1f6b
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agolaunch-conf: use system default file encoding.
minkee.lee [Thu, 3 Sep 2015 08:00:07 +0000 (17:00 +0900)]
launch-conf: use system default file encoding.

- change to use system file encoding instead of UTF-8.

Change-Id: I38be4935279e06351bac0328d51c95e7ddc3a50d
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agofile: add exception handling when open lock file.
minkee.lee [Thu, 3 Sep 2015 07:48:43 +0000 (16:48 +0900)]
file: add exception handling when open lock file.

- Emulator manager is terminated without any message, so
  I add popup message before termination.

Change-Id: I80c54cb430337ab7f7c0ecfc8e528e0701448c4a
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agobuild: changed DIBS variable for windows build.
minkee.lee [Thu, 3 Sep 2015 02:54:10 +0000 (11:54 +0900)]
build: changed DIBS variable for windows build.

- $SRCDIR -> $MSYS_SRCDIR
- $ROOTDIR -> $MSYS_ROOTDIR

Change-Id: I075c5b56041c9f80b4bc36a5c2dde8b87f4515fd
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoBase image: add 'extention' info to sorting condition
jihye424.kim [Thu, 3 Sep 2015 03:21:25 +0000 (12:21 +0900)]
Base image: add 'extention' info to sorting condition

Change-Id: I5617c97dc20e248eb60386f15e7c8869a23f79e0
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agopackage: version up (2.4.144)
minkee.lee [Wed, 2 Sep 2015 03:08:50 +0000 (12:08 +0900)]
package: version up (2.4.144)

Change-Id: If816522e8598726d94f7625ea5c8c7afcf98186f
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoinstall: add double quotes to file path.
minkee.lee [Wed, 2 Sep 2015 06:20:34 +0000 (15:20 +0900)]
install: add double quotes to file path.

- add double quotes to file path in install/remove script.

Change-Id: I6dd97d40f19317e9ac224c53671ebf268814beea
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoencoding: use UTF-8 encoding.
minkee.lee [Wed, 2 Sep 2015 01:34:19 +0000 (10:34 +0900)]
encoding: use UTF-8 encoding.

- write: emulator-manager.log, vm_launch.conf
- read: sdk.info

Change-Id: I3097cdebdbb3c67ed4ddcadf1a0aa6ac321d2aeb
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agotap-option: (ubuntu) fix getting netmask, gateway.
minkee.lee [Tue, 1 Sep 2015 09:21:19 +0000 (18:21 +0900)]
tap-option: (ubuntu) fix getting netmask, gateway.

- If it failed to get netmask and gateway address from "eth0",
  try one more from "bridge1".

Change-Id: I5f6b5b81af3f9aa718e58b3ea337d4f7530f2ef3
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoprofile-tab: add checking tab index.
minkee.lee [Tue, 1 Sep 2015 04:46:37 +0000 (13:46 +0900)]
profile-tab: add checking tab index.

- set index to zero if index < 0

Change-Id: Ifb73b2239590c76a59596a628640edce53b066ec
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoREADME: update README file
minkee.lee [Mon, 31 Aug 2015 11:53:36 +0000 (20:53 +0900)]
README: update README file

- new build description is needed by git seperation.
  (emulator-manager and emulator-manager-resources)
- This includes how to build both emulator-manager and
  emulator-manager-resources.

Change-Id: Ic741b6f6752244418213fc363e8cdd575dcb5b2b
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoimage-list: change sorting sequence.
minkee.lee [Mon, 31 Aug 2015 04:56:13 +0000 (13:56 +0900)]
image-list: change sorting sequence.

First, images are arranged by image-version. If image-version is same,
image-type (standard or not) is used as secondary criteria.

Change-Id: I6e905625ac371b327bfce7a8f7e52d9c23983724
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoProperty: remove oci device
jihye424.kim [Mon, 24 Aug 2015 08:48:25 +0000 (17:48 +0900)]
Property: remove oci device

- oci device option move to plugin resources

Change-Id: If660ddcb1ab4bae0d8d8f3a18901e80581499702
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agopackage: version up (2.4.143)
minkee.lee [Tue, 25 Aug 2015 06:15:46 +0000 (15:15 +0900)]
package: version up (2.4.143)

Change-Id: I73a7888c39e277b7cd2b10fa599f033d82714a0a
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agotree list: changed information displayed in tree list.
minkee.lee [Tue, 25 Aug 2015 05:39:41 +0000 (14:39 +0900)]
tree list: changed information displayed in tree list.

- add image version. (custom-vm shows "custom")
- remove DPI.

Change-Id: Idddd71b7e95eb35a65039d88e29d28c05b4ff4a3
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.142)
jihye424.kim [Mon, 24 Aug 2015 08:50:33 +0000 (17:50 +0900)]
package: version up (2.4.142)

Change-Id: I38e5211877fe3ebaeda498a8bdd6c687a158b513
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agocustom-vm: fixed custom-image import.
minkee.lee [Mon, 24 Aug 2015 11:54:30 +0000 (20:54 +0900)]
custom-vm: fixed custom-image import.

- fixed that custom-image of extension "i386", "x86_64"
  is also available when create custom-vm.
- removed "arm" extension.

Change-Id: I7f219cbb867143a26b6c91369604bca76e56344f
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agobuild: Added missing double quotation to file path.
minkee.lee [Thu, 20 Aug 2015 04:31:33 +0000 (13:31 +0900)]
build: Added missing double quotation to file path.

Change-Id: I6dd55446d05377f1b52416c190c55adcb34f6ece
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agobuild: added double quotation to file path.
minkee.lee [Wed, 19 Aug 2015 05:10:30 +0000 (14:10 +0900)]
build: added double quotation to file path.

- to prevent problems due to white space.

Change-Id: Id349ee59248c068d11466cdd960f6fb9d58174b5
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agotap: remove error message
Munkyu Im [Wed, 19 Aug 2015 08:32:54 +0000 (17:32 +0900)]
tap: remove error message

bindbridge.exe already has the same error message.

Change-Id: Id767e29281f9cc075103270b59014d7789778c23
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agopackage: version up (2.4.141)
minkee.lee [Mon, 17 Aug 2015 12:55:30 +0000 (21:55 +0900)]
package: version up (2.4.141)

Change-Id: I1561fb027e75603b862208d0e70ef02fe3a57ced
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agodpi: modified kernel dpi argument.
minkee.lee [Mon, 17 Aug 2015 12:37:30 +0000 (21:37 +0900)]
dpi: modified kernel dpi argument.

- unnecessary dpi operation (multiply by 10) is removed.
  (from platform version 2.4)

Change-Id: I8fa5b7b655b73c08b6064e717b8d4515fd5c6352
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agooption: modified display option.
minkee.lee [Thu, 13 Aug 2015 10:07:14 +0000 (19:07 +0900)]
option: modified display option.

- added "resolution", "dpi" to display (maru_qt) option.
- from platform version 2.4, use variable "display_resolution"
  instead of "resolution" in launch config file.

Change-Id: Id45eddcc88ae34cced206418697893ec08b1f974
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoimage-list: modified image-list ordering.
minkee.lee [Fri, 7 Aug 2015 09:37:19 +0000 (18:37 +0900)]
image-list: modified image-list ordering.

- Modified image list ordering that is shown when create VM.
- 1. Descending order by version.
- 2. 32bit is prior to 64bit.

Change-Id: I34af529326ae7c8908f64b1683e8a3a32c0bd694
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up. (2.4.140)
minkee.lee [Fri, 7 Aug 2015 08:00:51 +0000 (17:00 +0900)]
package: version up. (2.4.140)

Change-Id: Ic8c7d8fbec4eb72255d98dfa6d35dbe2ecd1994f
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agocustom-image: modified file dialog filter.
minkee.lee [Mon, 10 Aug 2015 05:01:01 +0000 (14:01 +0900)]
custom-image: modified file dialog filter.

- User doesn't need to select file type in combo box.
  (multiple extentions filter)

Change-Id: I187a13e11b2e3c55bcf30b1197ae87f525294a43
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoimage-option: fixed drive option.
minkee.lee [Fri, 7 Aug 2015 07:54:04 +0000 (16:54 +0900)]
image-option: fixed drive option.

- added "image_arch" variable.
- fixed drive option's extention.

Change-Id: I604a21efc3d4df26cf5518e3611ec2b60f5efb78
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: update version(2.4.139)
jihye424.kim [Fri, 7 Aug 2015 06:49:32 +0000 (15:49 +0900)]
package: update version(2.4.139)

Change-Id: Iac40541fec5c823135214fdce2c304c861860f0e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>