sdk/emulator/emulator-manager.git
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 agovm-property: set VMWorker correctly
minkee.lee [Tue, 26 Jan 2016 05:32:22 +0000 (14:32 +0900)]
vm-property: set VMWorker correctly

Set plugin's VMWorker instead of VMWorkerCommon.

Change-Id: I102740952b1f27ec800113cea91dc76e33375d6e
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agovm property: copy child base image path when clone
jihye424.kim [Mon, 23 Nov 2015 08:53:35 +0000 (17:53 +0900)]
vm property: copy child base image path when clone

- copy child base image and swap image path when clone 'VMPropertyValue'

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

8 years agopackage: update version (2.4.182)
minkee.lee [Wed, 20 Jan 2016 07:35:36 +0000 (16:35 +0900)]
package: update version (2.4.182)

Change-Id: Ie86e41eebb1019aabaaa0e90405478887949a5a0
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agodetail-view: fix title width
minkee.lee [Thu, 21 Jan 2016 06:10:04 +0000 (15:10 +0900)]
detail-view: fix title width

Use default title width.

Change-Id: Ief12145fd1cc2306f21d4a01abac6c59e8e7f731
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoui template: ignore template version2
jihye424.kim [Thu, 14 Jan 2016 07:10:09 +0000 (16:10 +0900)]
ui template: ignore template version2

- old ui need not template version2
-- new ui use template version2

Change-Id: I1a98c944632c93aa19b9a7eebff739364ba70614
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm button: replace with a new function that not use SWT
jihye424.kim [Thu, 14 Jan 2016 02:37:25 +0000 (11:37 +0900)]
vm button: replace with a new function that not use SWT

- to build emulator manager resources without SWT lib
-- remove Canvas, GC., Color class ...
-- use wrapper class

Change-Id: I376c6e923530364c9b44be0b006795f96e0b75fb
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agodetail item: add files to build plugins
jihye424.kim [Wed, 13 Jan 2016 09:58:06 +0000 (18:58 +0900)]
detail item: add files to build plugins

- plugins have new features(class, method...) for new ui
--> build failed using old version emulator manager

Change-Id: If4a1af6aeb62a83a304aa81fc101c875ab6f02b1
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm property: fix null pointer exception
jihye424.kim [Thu, 3 Dec 2015 02:21:50 +0000 (11:21 +0900)]
vm property: fix null pointer exception

- bug: if child image path or sawp image path is null, throw null pointer exception
- fix: check this value is null or not

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

8 years agovm property: copy child base image path and swap image path
jihye424.kim [Tue, 1 Dec 2015 10:27:28 +0000 (19:27 +0900)]
vm property: copy child base image path and swap image path

- bug:
-- miss initialize child base image path and swap image path variable

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

8 years agoVM property: create 'VMPropertyConfiguration' class
jihye424.kim [Tue, 10 Nov 2015 05:00:05 +0000 (14:00 +0900)]
VM property: create 'VMPropertyConfiguration' class

- 'VMPropertyConfiguration' class replace 'EmulatorConfiguration' class
-- other class can not access 'EmualtorConfiguration' class that is auto generated class from jaxb.
- 'VMOption' and 'VMSubOption' class replace 'OptionType' and 'SubOptionType'
-- 'OptionType' and 'SubOptionType' class are auto generated from jaxb

Conflicts:
        src/org/tizen/emulator/manager/vms/Creator.java
        src/org/tizen/emulator/manager/vms/Modifier.java
        src/org/tizen/emulator/manager/vms/VMProperty.java
        src/org/tizen/emulator/manager/vms/VMPropertyValue.java

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

8 years agovm property: delete Resolution class
jihye424.kim [Sat, 7 Nov 2015 02:50:41 +0000 (11:50 +0900)]
vm property: delete Resolution class

- delete Resolution class <- auto generate class from xml (xsd) file

Conflicts:
        src/org/tizen/emulator/manager/devices/DeviceTemplateValue.java
        src/org/tizen/emulator/manager/ui/renewal/item/modify/common/ResolutionSubItem.java

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

8 years agonet: check if bridge device is working on Windows
Munkyu Im [Tue, 12 Jan 2016 05:14:33 +0000 (14:14 +0900)]
net: check if bridge device is working on Windows

check bridge interface and if it is not ready
to transmit and receive packets, shows error message.

Change-Id: If9653350eb12b6424981bc596036664a88d923f2
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agonet: add checking IP duplication on bridge network
Munkyu Im [Fri, 8 Jan 2016 07:21:52 +0000 (16:21 +0900)]
net: add checking IP duplication on bridge network

check host and VM's ip and if they are the same,
shows error popup dialog when launch VM.
It can be helpful if it needs maunal bridged setting
like host OS version is Windows8 and above.

Change-Id: Id4387e3572bdbd6ef43cba70ac8a077db47bccc0
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agobuild: change signing tool for Windows EXE
minkee.lee [Fri, 15 Jan 2016 05:10:51 +0000 (14:10 +0900)]
build: change signing tool for Windows EXE

Change-Id: Ic84edee5f619d41a5dd230194847d074f03334f0
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agotap: arrange source codes
Munkyu Im [Mon, 4 Jan 2016 08:41:23 +0000 (17:41 +0900)]
tap: arrange source codes

 - improve code readability a little bit.
 - adds non-externalize strings.
 - add externalize string for dialog message.

Change-Id: I4f29282cc287d5d96562cf4240881253937ee961
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agopackage: update version (2.4.179)
minkee.lee [Mon, 4 Jan 2016 05:10:36 +0000 (14:10 +0900)]
package: update version (2.4.179)

Change-Id: Ifa12dab92d62b4ae5424571463e366fc04910783
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agonet: fix float value comparison
Munkyu Im [Thu, 31 Dec 2015 07:48:05 +0000 (16:48 +0900)]
net: fix float value comparison

It could return unexpected result if compare float value with int value.
"Float.compare(a, b)" is better method to compare.

Change-Id: I7edb624846a3848f8e7130004a5e1203eaccfc9e
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agopackage: update version (2.4.178)
minkee.lee [Wed, 30 Dec 2015 08:52:35 +0000 (17:52 +0900)]
package: update version (2.4.178)

Change-Id: I4c571468649675afb9b4074904dd4db02dc65b1a
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agolabel: fix title label width
minkee.lee [Wed, 30 Dec 2015 08:43:34 +0000 (17:43 +0900)]
label: fix title label width

if text width is larger than label width,
text label goes wrong size.

Change-Id: Ib094b68a70ac0a5f6bbc082fc0ac9666c03625bf
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agopackage: update version (2.4.177)
minkee.lee [Wed, 30 Dec 2015 07:43:14 +0000 (16:43 +0900)]
package: update version (2.4.177)

Change-Id: If4c8292f4d63d091073bae5479920668e1abb445
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agodialog: adjust dialog size
minkee.lee [Tue, 29 Dec 2015 09:24:35 +0000 (18:24 +0900)]
dialog: adjust dialog size

- Change some dialog's size not to fixed.
- Proxy dialog: modify label width.
- About dialog: set fixed font, move ok button to right-bottom.

Change-Id: I4dd2fed444806fa357275acb1e7c3629d28e9e59
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agofont-size: resize font size using Display DPI.
minkee.lee [Tue, 29 Dec 2015 09:37:32 +0000 (18:37 +0900)]
font-size: resize font size using Display DPI.

If user increase system text size (change DPI),
text becomes too large in emulator-manager and user can't
see whole text. In this case, emulator-manager resize text
to maintain normal size.

Change-Id: Ie4fad93efe0b97b0f008abbd3b98d556fbdc2320
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agolabel: fix label width and font size
minkee.lee [Tue, 29 Dec 2015 09:20:58 +0000 (18:20 +0900)]
label: fix label width and font size

- keep space for "*" mark.
- Adjust font size.
- Widen line label width.

Change-Id: Ieefaf1ddd8f2629dfb6f32258c5a2a8fd7b6aec1
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agopackage: update version (2.4.176)
minkee.lee [Tue, 29 Dec 2015 04:15:29 +0000 (13:15 +0900)]
package: update version (2.4.176)

Change-Id: I9330b029efdf128e57be84ea551366b12b65ca38
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agolaunch config: change key value to string
jihye424.kim [Mon, 28 Dec 2015 10:15:50 +0000 (19:15 +0900)]
launch config: change key value to string

- old: launch option map's key is OPTION KEY type
- new: launch option map's key is String type

Change-Id: I2b6d1ee765a13e3acf927e20909d918cd0939e03
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: update version (2.4.175)
jihye424.kim [Mon, 28 Dec 2015 09:01:52 +0000 (18:01 +0900)]
package: update version (2.4.175)

Change-Id: I58e9f9161a8b09f2b4928d6c6d6b63c9fb0c6693
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agobase image view item: add image version to tool tip
jihye424.kim [Thu, 24 Dec 2015 08:31:57 +0000 (17:31 +0900)]
base image view item: add image version to tool tip

Change-Id: Ie36b1dd17a1256a8ea6c737e31cf7219639703b5
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agobase image option: add base image binary version to launch config file
jihye424.kim [Thu, 24 Dec 2015 08:04:12 +0000 (17:04 +0900)]
base image option: add base image binary version to launch config file

Change-Id: Ia501bf5bdd53e1bedd864e72dd4c377a4e9b4306
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>