Minkee Lee [Thu, 28 Jan 2016 12:06:18 +0000 (21:06 +0900)]
backup-log: use a rename command when make a backup log
A rename operation takes less time than copy.
(A file copy takes long time if log file is very large
and it causes emulator-manager and emulator start slowly)
Change-Id: Ib60b131df38a6407a4762ea880a4098fd0c73923
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
jihye424.kim [Sun, 31 Jan 2016 00:28:53 +0000 (09:28 +0900)]
vm property: refresh vm property value with a new configuration
Change-Id: I361e986b30c23800463d98c226e36b5b7fa92480
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
jihye424.kim [Sun, 31 Jan 2016 00:09:04 +0000 (09:09 +0900)]
vm list table: add 'remove table item' and 'add table item' method
- old: add table item each profile
- new: add table item each vm property
-- add 'remove table item' method
-- move methods of handling vmproperty to 'VMListTableViewer'
Change-Id: I611f5fbf29e35088897733680faf17aee766467e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
SeokYeon Hwang [Fri, 29 Jan 2016 08:30:28 +0000 (17:30 +0900)]
monitoring: fix bugs in ECSMonitor
Pre-launched emulator might not be detected as it is running, because of
wrong comparison between different object.
Change-Id: Id28cb290df65967aa08dab2b9a294b797e496365
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Fri, 29 Jan 2016 06:21:30 +0000 (15:21 +0900)]
VMProperty: prepare for property file corruption
Always truncate property file before re-writing.
If property file is corrupted, we can handle it now.
Change-Id: Id35a4bf452a769bf4af8abcddd0eeb89312323ef
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Fri, 29 Jan 2016 04:50:29 +0000 (13:50 +0900)]
monitoring: FileWatcher starts after all profiles are ready
Change-Id: I20e52667de87bb526d2738ab215ed219a3b2699c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Minkee Lee [Fri, 29 Jan 2016 05:34:22 +0000 (14:34 +0900)]
option: fix checking network connect type
Except a "bridge", the other values should be regarded as
a NAT because it's default.
Change-Id: I17c1b231ecfd011274c06e578e6c68e97adf448b
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
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>
SeokYeon Hwang [Thu, 28 Jan 2016 04:24:32 +0000 (13:24 +0900)]
VMKeeper: add property modified event
If VM is modified by outside EmulatorManager UI, we should refresh VM
in the list. So we add property modified event.
Change-Id: I65ff967170e2c989f06ff3b7646305dbfa7965d9
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Sangho Park [Wed, 27 Jan 2016 08:36:24 +0000 (17:36 +0900)]
monitoring: modified posix lock to shared
Current posix file locking method has two problems.
1. An emulator can think that other emulator is running even
though no emulator runs and just the manager locks the file.
2. An emulator manager can think that an emulator is running
even though no emulator runs and just other manager locks the file.
Changing the lock by shared can eliminate the above 2 problems if
the emulator checks the type of lock. With qemu patch, the problems
can be avoided.
Change-Id: Id24b51a241890da781546186e2efb9f1b7346a48
Signed-off-by: Sangho Park <sangho.p@samsung.com>
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>
(cherry picked from commit
afa8b855953550cfc6f8f75b254c5a61390b840f)
minkee.lee [Mon, 25 Jan 2016 14:11:31 +0000 (23:11 +0900)]
skin: support multiple skin shape
Skin (info.ini) is changed to define multiple skin shape.
So, emulator-manager should support it.
Change-Id: If55b12e52c506fd85ee502cc22f651f8a72b4bf2
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Wed, 27 Jan 2016 07:25:02 +0000 (16:25 +0900)]
option: use variable in "host_ip" option
In "vm_launch.conf" file,
- host_ip=10.0.2.2 --> host_ip=${host_ip}
For this, make a new function and change a VMNameOption
to use new function.
(This is applied from 2.3.2)
Change-Id: I7e25974f0b71d64ef3f30808342bb3e66cfbe0dc
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Wed, 27 Jan 2016 06:47:22 +0000 (15:47 +0900)]
option: remove SWT skin option from 3.0
From tizen-3.0, skin option is removed in "vm_launch.conf" file.
(SWT skin is not used from 3.0)
Change-Id: Ifb2e6af952e33487f60282905f220dfe5c9bd515
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
jihye424.kim [Mon, 18 Jan 2016 10:30:59 +0000 (19:30 +0900)]
about: move initialization code to 'getInstance' method
Change-Id: I7816301f48114ea8a1f5f048e41182aac32dd842
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
minkee.lee [Mon, 25 Jan 2016 13:19:51 +0000 (22:19 +0900)]
skin: fix skin combo list
- Assigning list to variable 'skinList' occurs not intended
multiple reference and it can cause unpredictable result.
- Fix adding template's skin to combo-list.
Change-Id: Idaa04d73f84c089e301d7c5d7f52b9a9d4f10e88
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Mon, 25 Jan 2016 13:02:50 +0000 (22:02 +0900)]
skin: fix selected skin's index
Change-Id: I4986729d7185e0398f5ed6c55b586248d902ac35
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
jihye424.kim [Mon, 18 Jan 2016 09:36:34 +0000 (18:36 +0900)]
remote manager: separate remote manager and cli
- remote manager: get/set remote ip, port ...
- cli
-- make command for emulator manager in sever
-- process command from emulator manager in client
Change-Id: I3fb9a14618002263ff46bbe0774c9b9d452aac45
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
SeokYeon Hwang [Mon, 25 Jan 2016 14:41:00 +0000 (23:41 +0900)]
VMProperty: remove "lastModified" in VMProperty
Last modified time is meaningless now. Because all VM modification is
applied in real time.
Change-Id: Ia959d36f05b28f1c213581637491ec819a928262
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
jihye424.kim [Wed, 20 Jan 2016 10:26:45 +0000 (19:26 +0900)]
emulator list: make emulator list statically for CLI
- make 'VMKeeper' to abstract class
-- ManagedVMKeeper: use monitoring thread
-- DisposableVMKeeper: load vm list from vms directroy each time
- vm property list be chaged to queue from list
-- queue: ConcurrentLinkedQueue(thread-safe queue)
-- list: array list
Change-Id: I3c69b6230dfb0067d3d2604e8e92fca3d569b857
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
SeokYeon Hwang [Thu, 21 Jan 2016 08:04:41 +0000 (17:04 +0900)]
monitoring: improve performance for loading pre-existing VMs
We use asynchronous logic when searching and loading pre-existing VMs. So
UI loading performance is improved.
VM management is simplified.
Some methods is not needed anymore. We should clean them up.
Change-Id: Ie3eba039d76c3eb5318d33b27b11b2f067ec78bf
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Sat, 16 Jan 2016 10:37:34 +0000 (19:37 +0900)]
monitoring: introduce property and availability monitor
VMPropertyMonitor watches VM property file is generated or removed.
VMAvailabilityMonitor watches whether VM is available or not.
All monitored target modification is applied immediately. Some
refactoring and clean-up should be followed.
Change-Id: Ia8ddc9924650d63c004015efa4ad1f0d55e2374d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
minkee.lee [Thu, 21 Jan 2016 07:03:34 +0000 (16:03 +0900)]
display-option: fix display option
Option should be checked in both experimental and normal mode.
Change-Id: I0a33071e06f989fb1cf00d1398a0d54c67ca3f8c
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Tue, 19 Jan 2016 09:38:17 +0000 (18:38 +0900)]
display-option: fix DPI and size value
- Set DPI in VM detail dialog.
- Set correct size in VM modify dialog.
Change-Id: I1c7e68a8f8e052620273fd1da8513b146ae0e4cc
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Fri, 15 Jan 2016 08:38:25 +0000 (17:38 +0900)]
template-dialog: enable/disable "Confirm" button
In template modify dialog, "Confirm" button is enabled
when user modifies value. If there are no changes,
"Confirm" button is disabled.
For this,
- fix equals() of DeviceTemplateValue.
- checkValid() should be called to detect change.
- fix update logic.
Change-Id: If012d4e1a9666c2feec3a823c2d7fd47d7520b12
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Wed, 13 Jan 2016 10:46:08 +0000 (19:46 +0900)]
message-box: use custom button
Use a custom button instead of SWT default button.
- Add traverse listener for keyboard input.
- Remove setFocus() to title bar when drag.
(It was unnecessary function call and it steals focus from button)
Change-Id: I4f1f87fba6a0998023cfb212d95d4772cdb8239b
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Wed, 20 Jan 2016 08:22:03 +0000 (17:22 +0900)]
device-template: add 320x320 wearable template
Change-Id: Icb06e0ce6f9c6779fd780638a65a070d0afd7757
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
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>
jihye424.kim [Fri, 15 Jan 2016 08:05:29 +0000 (17:05 +0900)]
vm property: move 'isRemote' method to VMProperty
Change-Id: Icfa7768a8cc152956a339bef79d00ee96e9bf789
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
SeokYeon Hwang [Sat, 16 Jan 2016 05:47:21 +0000 (14:47 +0900)]
vms: exception packages are renamed
Change-Id: Idb5e162fbeb927dd3d999a7aba8bdaa2961cbd7c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Fri, 15 Jan 2016 05:58:38 +0000 (14:58 +0900)]
monitoring: generalize StateChangeLister
StateChangeListener is now generalized.
Change-Id: I12057e3e97070db2f2d77be5c6bb20a29505168b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Sat, 16 Jan 2016 04:52:03 +0000 (13:52 +0900)]
monitoring: fix bugs and do addidional refatoring
WatchService inside LockFileMonitor is FileWatcher now. It will be used
by other file-based monitoring.
Fixed a bug on LaunchingMonitor when run as CLI. And some codes are
refined.
Change-Id: Ia7d822ededfac958863f52ca5855560335e2836d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Wed, 13 Jan 2016 08:11:10 +0000 (17:11 +0900)]
monitoring: introduce new VM monitoring architecture
We introduce new running VM monitoring architecture based on
java7 NIO watcher service. It should be more general service, then
we apply this service to others like managing VM lists, ...
Change-Id: I13cc9f50d0508629ac1a8f55ac5c11359b47d386
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
minkee.lee [Wed, 13 Jan 2016 08:39:03 +0000 (17:39 +0900)]
tap-dialog: change to use new message-box
Change-Id: I0d7504b66ab64f3fa7098c1a4ad5e8e396059f8b
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Wed, 13 Jan 2016 08:19:51 +0000 (17:19 +0900)]
message-dialog: support new message-dialog
Open dialog selectively according to UI mode.
(new UI mode or not)
Change-Id: Ifbe2073386cb32e19fa0e9a1a664fde650463a35
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Tue, 12 Jan 2016 07:19:53 +0000 (16:19 +0900)]
message-box: change default return value
If a user closes message box by pressing ESC key,
the return value was "OK". Now, it is changed to "Cancel".
Change-Id: Ib4b8850568fbc5a18023b8ca89e80b59353aea50
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Mon, 11 Jan 2016 08:17:43 +0000 (17:17 +0900)]
dialog: change tap-guide dialog for Windows
- Apply new UI
- Open new message Box
Conflicts:
src/org/tizen/emulator/manager/ui/renewal/dialog/TapDeviceDialogForWin.java
Change-Id: I0ca8fbfd2aec0a8ac12ac60318995a568c6cac1b
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
jihye424.kim [Tue, 19 Jan 2016 06:55:59 +0000 (15:55 +0900)]
package: update version (2.4.181)
Change-Id: I3a5f3959ea27c43002ed7d7fde4454d962f15a1d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
jihye424.kim [Mon, 18 Jan 2016 09:33:42 +0000 (18:33 +0900)]
Merge branch 'develop' into features/new_ui
Conflicts:
src/org/tizen/emulator/manager/tool/TapUtil.java
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
Change-Id: Iac43da5987f998e9f1405ac48f8d932937cd5d89
jihye424.kim [Mon, 18 Jan 2016 04:26:53 +0000 (13:26 +0900)]
main dialog: add minimization mode
Change-Id: Idfde99a2e72b48082ce31b1656af224e65e4d102
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
jihye424.kim [Mon, 11 Jan 2016 05:48:29 +0000 (14:48 +0900)]
create viewer: find the next best skin for emulator
- if skin of new emulator does not exist
-- find the next best skin for emulator
- found skin
-- resolution of this skin would be different from resolution of new emulator
-- skin shape of this skin would be different from skin shape of new emulator
-- but this skin makes the emulator launchable
Change-Id: I88209ed24b5ee5f67662a8076c25d6d3a65da154
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
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>
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>
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>
minkee.lee [Fri, 8 Jan 2016 10:02:33 +0000 (19:02 +0900)]
dialog: change tap-guide dialog for Mac OS
- Apply new UI.
- Open new message Box.
Change-Id: Ic34a39d8cf8dbc70c9039817d436e34ae02b6a1c
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
jihye424.kim [Mon, 11 Jan 2016 08:02:34 +0000 (17:02 +0900)]
vmbutton: remove painter listener from IVMButtonPainter
- 'PainterListener' is swt function
-- plugin need swt for using IVMButtonPaitner. so, remove this statement from IVMButtonPainter
-- Result: plugin need not swt lib
Change-Id: I1b6616a375a59e4716ab16be8109e5e7a7546c1e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
jihye424.kim [Fri, 8 Jan 2016 10:15:33 +0000 (19:15 +0900)]
create viewer: set default skin when selected base image
- bug: if skin is not null, does not set default skin
-- base image is chanaged to 2.3 base image from 2.4 base image
-- skin is 2.4 skin (not changed to 2.3 skin)
- fix: set default skin when selected base image
Change-Id: Ieaf5eddf18bf392ab11541e26a2bc2eb939c3be3
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
jihye424.kim [Fri, 8 Jan 2016 05:52:24 +0000 (14:52 +0900)]
create vm: change skin column of table when select skin
- old: not change skin column of table when select skin in skin item of advanced view
- new: change skin column of table
Change-Id: Ib5b4b91a3262fe38ea00611852b9fa9ceee04580
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
jihye424.kim [Wed, 6 Jan 2016 09:20:41 +0000 (18:20 +0900)]
skin item: refresh skin list when selected new base image
Change-Id: I088bcfbf7fefee6f5e307b3002065b942fe31a9d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
minkee.lee [Wed, 6 Jan 2016 13:03:51 +0000 (22:03 +0900)]
IP-dialog: change IP address input dialog
Apply new UI
Change-Id: I4d136b524d76b2ae268bc1362fb302ed61400354
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Wed, 6 Jan 2016 12:05:32 +0000 (21:05 +0900)]
tap-dialog: change tap device dialog
Apply new UI to tap device dialog.
Change-Id: I7e918e3bfc84956fc68671556ba7123049c3303b
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
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>
minkee.lee [Tue, 5 Jan 2016 12:32:25 +0000 (21:32 +0900)]
proxy-dialog: remove duplicated text drawing
Change-Id: I0e813a32230db7fc69c094863a19324a6b377864
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Tue, 5 Jan 2016 09:19:57 +0000 (18:19 +0900)]
package: update version (2.4.180)
Change-Id: I463f6f18e16a381e8424ced1dc7ba2e3f2657c09
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
jihye424.kim [Tue, 5 Jan 2016 09:33:09 +0000 (18:33 +0900)]
create vm table: set disable 'confirm' button
- set disable 'confirm' button, when template list is empty
Change-Id: Ie93afbb1a8e277faa12e8d4cabd5bfda20eba56a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
minkee.lee [Tue, 5 Jan 2016 06:13:02 +0000 (15:13 +0900)]
new-UI: enable new-UI as default
Old UI is available in debug mode.
Change-Id: I339f7414b3d7f40f20febd03516c8354a25b33bd
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Tue, 5 Jan 2016 05:21:24 +0000 (14:21 +0900)]
proxy-dialog: change proxy dialog
Apply new UI to proxy dialog.
Change-Id: Ieddb9dc6584c7febb08cc64fa0bc7db9c90fa244
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Tue, 5 Jan 2016 06:06:33 +0000 (15:06 +0900)]
Merge branch 'develop' into features/new_ui
Conflicts:
src/org/tizen/emulator/manager/platform/BaseImage.java
src/org/tizen/emulator/manager/ui/dialog/AboutDialog.java
src/org/tizen/emulator/manager/vms/Creator.java
src/org/tizen/emulator/manager/vms/option/LaunchConfig.java
Change-Id: I3021d3a96717209dcc9ce12bcc0e5906311e3445
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Mon, 4 Jan 2016 07:10:40 +0000 (16:10 +0900)]
build: update swt version to 4.5
Change-Id: I6428df1872ad34d16cca2f407067b0eec4321609
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
minkee.lee [Tue, 22 Dec 2015 12:04:04 +0000 (21:04 +0900)]
input-device: add input device item
Change-Id: Ifab73fcf1413fa40e141cbd31867184119d5945c
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Tue, 22 Dec 2015 11:14:34 +0000 (20:14 +0900)]
GL-version: set default value
Default value is applied when create VM.
Change-Id: If94598efa1c114703add581c18acd17a28c77db4
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Wed, 23 Dec 2015 05:49:21 +0000 (14:49 +0900)]
camera-item: change checking webcam support
Executing check-cam is moved to background thread.
So, cameraItem just use the result.
Change-Id: Iaa37621e42abf48c8980d0ee3b89180fcf0255a2
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
minkee.lee [Wed, 23 Dec 2015 05:28:18 +0000 (14:28 +0900)]
Merge branch 'develop' into features/new_ui
Conflicts:
src/org/tizen/emulator/manager/ui/dialog/AboutDialog.java
Change-Id: I3924dddfb46e1a4b69b64afa5ec9c4709f195a07
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
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>
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>
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>
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>
jihye424.kim [Tue, 22 Dec 2015 10:24:28 +0000 (19:24 +0900)]
export image: add compress option to 'Export as' menu
- add compress option to new ui
- 'export as' job separate to thread
Change-Id: Ib6a0bb2bf22649f62e0a5412d6bde0d6228f9c09
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
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>
jihye424.kim [Tue, 22 Dec 2015 07:20:06 +0000 (16:20 +0900)]
link menu: delete top link menu
- use link menu only in emulator list view
- delete top link menu from base image, template view
- old: emulator list view -> base image view -> template list view
- new: emulator list view -> base image view -> emulator list view -> template list view
Change-Id: Ie4a8bb03550dfe2b31c9c9c8e22d7ef38008673a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
jihye424.kim [Tue, 22 Dec 2015 06:53:48 +0000 (15:53 +0900)]
viewer layout: adjust layout of top buttons
- move 'back' button to right side
- move 'create', 'clone', 'confirm' button to left side
- move 'modify' 'delete' button to left side of 'back' button
Change-Id: I34fb412236af92b3cd776a2ce5ff71d8ca0cf470
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
jihye424.kim [Tue, 22 Dec 2015 06:43:04 +0000 (15:43 +0900)]
back button: change back button to use new images
- delete 3 patch button resources
- add new 'back' button images
Change-Id: I809caeca924d3465bafad360498f92bec116a165
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
jihye424.kim [Tue, 22 Dec 2015 06:35:17 +0000 (15:35 +0900)]
Merge branch 'develop' into features/new_ui
Conflicts:
src/org/tizen/emulator/manager/ui/widgets/CommonVMButtonPainter.java
src/org/tizen/emulator/manager/ui/widgets/VMButton.java
src/org/tizen/emulator/manager/vms/VMWorkerCommon.java
src/org/tizen/emulator/manager/vms/helper/CheckingRunningEmulator.java
Change-Id: Ie263280cb0e57decadc20bf8fdcd1795505ec342
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
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>
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>
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>
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>
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>
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>
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)
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>
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>
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>