Jinhyung Jo [Mon, 25 Jan 2016 10:21:01 +0000 (19:21 +0900)]
java_ui: fix compilation error in Windows
The JAVA_EXEFILE_PATH definition makes a compilation error.
And the definition is no longer needed,
because of the get_java_path() function returns a java path.
Remove the definition and modify the variable name.
Add include file in the "maruskin_client.c" for the get_java_path().
Change-Id: I937b0ab733558ada9a6ad1c6f6f73b8093ec136e
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
(cherry picked from commit
4dc427f05e081453a7dd5e0b1da5f7f4bb9ada0e)
Jinhyung Jo [Tue, 26 Jan 2016 09:43:55 +0000 (18:43 +0900)]
build: prepare for building Win64 emulator binary
Fixed some warnings and errors caused by difference between variable
and pointer size.
get_java_path() is a function for finding 64bit java binary on WoW64.
But callers of get_java_path() should determine whether we are running
on Wow64 or not. So it is modified for all platforms now. It can
determine current plaform inside. Callers just use get_java_path()
anytime they want.
"emulator_configure.sh" becomes more complicated. So some configure
options for Windows are commonized.
Conflicts:
include/hw/virtio/virtio_ring.h ;; use origin/HEAD, omit changes
tizen/emulator_configure.sh ;; use origin/HEAD, omit changes
tizen/src/emulator.c ;; fix conflicts
Change-Id: Iad83e05fffa6c028b7077cf3a7998722575e5b49
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
(cherry picked from commit
9f8586c0d5d74ea77917e2dfed99a7c17d6824be)
jinhyung.jo [Thu, 5 Nov 2015 06:08:19 +0000 (15:08 +0900)]
osutil-win32: get JavaHome path of current JRE
Currently, the emulator gets the java path by traverses the registry
subkeys of "\\SOFTWARE\\JavaSoft\\Java Runtime Environment".
This can cause side effects.
So modified to get the java path in the normal way.
It gets the JavaHome path of the CurrentVersion.
Change-Id: Ibfa41f3c939f01f3b0ffd5fe4cfa2bdb575be76a
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
(cherry picked from commit
b492cbfce5f19fd664e729a3941b1e47c367295e)
SeokYeon Hwang [Thu, 22 Oct 2015 07:23:56 +0000 (16:23 +0900)]
osutil: get_java_path() move to osutil-win32.c
qemu_oom_check() uses new QT5 dialog for reporting errors. Finally,
get_java_path() is called by tizen specific logics only. Then it
can move to tizen specific utility now.
Change-Id: I9f2d0dd26715059734bc8242320de01c539a331c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
(cherry picked from commit
a9d752ec588d4b4e07f8cbc35390244b91d0ad8f)
SeokYeon Hwang [Thu, 22 Oct 2015 06:19:47 +0000 (15:19 +0900)]
error: use new qt5 dialog instead of legacy java dialog
Change-Id: I3682bd91063ffe2393207ed9c6a7d2d4d003a46c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
(cherry picked from commit
bb6bd831649c2de2416853a6dd7532c8990fb4e0)
GiWoong Kim [Tue, 26 Jan 2016 02:26:06 +0000 (11:26 +0900)]
package: update version (2.2.77)
Change-Id: Ie76bad7e8e9cdd6d09163410d66cea04304200d9
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Tue, 26 Jan 2016 02:24:25 +0000 (11:24 +0900)]
skin: define display shape at info.ini
Change-Id: Icf80e6d2fdc3b5a0657a91bbdc8c4c7ad4e4a514
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Jihye Won [Fri, 15 Jan 2016 06:52:04 +0000 (15:52 +0900)]
shortcuts: changed the shortcut for Power function
According to the version of OS or Platform, the previous shortcut
for Power function(Ctrl+Shift+F7) did not work well.
After performing tests on MacOS 10.10, 10.11, Ubuntu, Windows 7 and Windows 10,
I confirmed the new shorcut(Ctrl+shift+F8) operates correctly.
Change-Id: I0a12216a066cd46a604a5060ed88a75dda29c3bc
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
(cherry picked from commit
afbc265908c2319d03e596bd9f568a5d96e56004)
Jihye Won [Mon, 11 Jan 2016 03:41:26 +0000 (12:41 +0900)]
shortcuts: change Scale function shortcuts
I changed Scale function shortcuts because MacOSX
uses Control+Shift+Arrows Keys for Mission Control Shortcuts.
Mission Control Shortcuts are enable as the default setting on MacOSX.
So, I changed shortcuts for Scale function to avoid the system shortcuts.
Change-Id: I8a4fe87e79e0a216058d17e320e1fb22c682f2ab
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
(cherry picked from commit
607fd715799e2fdb785242676e9346f5ca24b9cb)
Jihye Won [Mon, 11 Jan 2016 04:28:46 +0000 (13:28 +0900)]
keyboard: ignore key events while the display is off
There was a bug when a user presses the HW key shortcut in display-off mode.
The reason is that the guest OS receives key events while the display is off.
After applying this commit, the emulator ignores key events while the display is off.
Change-Id: I97f2e21f1d0aaaa9aa4ddba9c18518a5a5df74bc
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
(cherry picked from commit
36cec4673a2927d99696122ef795eec01da723a9)
Won Jihye [Wed, 16 Dec 2015 08:44:54 +0000 (17:44 +0900)]
qt5_msgbox: fix the bug of an abnormal execution in Windows
_spawnv function was changed into CreateProcess function
to execute the program(qt5_msgbox).
_spawnv eventually call CreateProcess because CreateProcess is Win32 API function.
Also, CreateProcess gives us more control over the child processes.
Although I can not find out the exact reason of the bug, I fixed the bug by using CreateProcess.
Change-Id: Ib8d53df65da93460a2ac6c8e57bff660d14021ca
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
(cherry picked from commit
c6d2489fd0135d77ddf9b32c2563fe64b0f48610)
GiWoong Kim [Thu, 14 Jan 2016 07:52:45 +0000 (16:52 +0900)]
package: update version (2.2.76)
Change-Id: I1d65d36ac71134c4b36c9165c65428b2139821fd
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Thu, 14 Jan 2016 07:51:12 +0000 (16:51 +0900)]
hwkey: add Back key to wearable-general skin for SWT GUI
Change-Id: I2b947897afa2260634759d2f733d822c4060cff7
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Thu, 14 Jan 2016 07:40:15 +0000 (16:40 +0900)]
hwkey: add Back key to wearable-general skin for Qt GUI
Change-Id: If6a0986521ac51049889f3692f9be491bc11f4be
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
sungmin ha [Fri, 8 Jan 2016 07:59:18 +0000 (16:59 +0900)]
camera: define common pixel format type for Mac
Change-Id: I9a1c7361e145d9dc7d06c1b61c4f429444b6ad05
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
(cherry picked from commit
c7f16c915bae08c94eda97c5e6848f5fa7136c0e)
Jihye Won [Tue, 12 Jan 2016 05:55:18 +0000 (14:55 +0900)]
package: update version (2.2.75)
Change-Id: Ie544ecaece05d4d48ad0d4bece9c570d3d479f48
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
GiWoong Kim [Wed, 30 Dec 2015 09:46:53 +0000 (18:46 +0900)]
swt: change SWT file name and path
According to the change of 2.3.2-emulator-lib-dev's structure,
SWT file and PATH written in build.xml should be modified.
Change-Id: I46a9364e39c147635a6d32eae4058e7079ac8f2e
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
cc95de0b3bfa4f5200b92345a409214e86a7d125)
SeokYeon Hwang [Wed, 30 Dec 2015 07:35:13 +0000 (16:35 +0900)]
package: update version (2.2.74)
Change-Id: I089305f6a14e9cd87f37a8163955203014922ee7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Munkyu Im [Tue, 29 Dec 2015 08:20:11 +0000 (17:20 +0900)]
net: check if sdb/gdb port is available
It is an additional port checking to improve stability.
Change-Id: I6124fd6f1479b40b5c803f4a1b495e994c63f51f
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Munkyu Im [Wed, 30 Dec 2015 02:04:11 +0000 (11:04 +0900)]
net: close socket after checking available port
fixed check_port_bind_listen() in
6ae322880b2a6f4de42bd25c9f19ccce870136cd
But one caller of this function was skipped closing socket.
So, this commit adds socket close.
Change-Id: Id204f7e3bd15111019ae86cbacaa75111edd59fd
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
(cherry picked from commit
4927bf7af5912f8ab4c2cf4b10a259ef5ef85f3b)
(cherry picked from commit
379fad4bf085164611a3b1d68e4d7f95a85b88da)
Munkyu Im [Tue, 24 Nov 2015 07:41:00 +0000 (16:41 +0900)]
net: fix failure of launching multiple VMs consecutively
There was a gap between check_port_bind_listen()
and ecs_socket_listen()
The socket fd for checking port was closed and
created it again as ECS(Emulator Control Sever) socket.
If user launches both VM1 and VM2 at the same time,
the below case can be happen.
1. VM1: launch and search base port - 26100
2. VM1: close socket fd
3. VM2: launch and search base port - 26100
4. VM2: close socket fd
5. VM1: try to create ecs socket for 26100 + 3
6. VM2: try to create ecs socket for 26100 + 3 (failure)
To fix this problem, ECS re-uses the port created on check_port_bind_listen().
Change-Id: Ib60a4f15d63bba57c68583228753310d5b467677
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
(cherry picked from commit
6ae322880b2a6f4de42bd25c9f19ccce870136cd)
(cherry picked from commit
cd38ec42de2fc356124b2fdc398f2b6339d66176)
GiWoong Kim [Tue, 29 Dec 2015 07:28:16 +0000 (16:28 +0900)]
menu: add platform image version info to Detailed Info dialog
Change-Id: I527b54aa134a5dacbf34c1f3030a2038336185d8
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Tue, 29 Dec 2015 04:59:05 +0000 (13:59 +0900)]
hwkey: modified HW key's tooltip on MacOS
Change-Id: I2913cb6f0957dc829b73201625fd35305c273846
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
SeokYeon Hwang [Tue, 29 Dec 2015 04:52:03 +0000 (13:52 +0900)]
emulator_options: fix critical bug
Variable value is contaminated during it is processed. We fix this
issue and prevent a recurrence of this issue by using "const" keyword.
Change-Id: I7d50a82a10a6b43b203e78b5394bf3eb8e0231a2
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
(cherry picked from commit
4953ab7043e544828af2f8c4f0dd162158d8c661)
Andrew Baumann [Wed, 18 Nov 2015 19:45:09 +0000 (11:45 -0800)]
tap-win32: disable broken async write path
The code under the TUN_ASYNCHRONOUS_WRITES path makes two incorrect
assumptions about the behaviour of the WriteFile API for overlapped
file handles. First, WriteFile does not update the
lpNumberOfBytesWritten parameter when the write completes
asynchronously (the number of bytes written is known only when the
operation completes). Second, the buffer shouldn't be touched (or
freed) until the operation completes. This led to at least one bug
where tap_win32_write returned zero bytes written, which in turn
caused further writes ("receives") to be disabled for that device.
This change disables the asynchronous write path, while keeping most
of the code around in case someone sees value in resurrecting it. It
also adds some conditional debug output, similar to the read path.
Change-Id: I0407ff238d9f8af50d2f957c1751037362020f87
Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Acked-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Jason Wang <jasowang@redhat.com>
(cherry picked from commit
8e760673dfc8bfe867d03b9f63d6c56351c44635)
Andrew Baumann [Wed, 18 Nov 2015 19:45:08 +0000 (11:45 -0800)]
tap-win32: skip unexpected nodes during registry enumeration
In order to find a named tap device, get_device_guid() enumerates children of
HKLM\SYSTEM\CCS\Control\Network\{
4D36E972-E325-11CE-BFC1-
08002BE10318}
(aka NETWORK_CONNECTIONS_KEY). For each child, it then looks for a
"Connection" subkey, but if this key doesn't exist, it aborts the
entire search. This was observed to fail on at least one Windows 10
machine, where there is an additional child of NETWORK_CONNECTIONS_KEY
(named "Descriptions"). Since registry enumeration doesn't guarantee
any particular sort order, we should continue to search for matching
children rather than aborting the search.
Change-Id: Ia8c77511da99abaf43e6f6ac079facf8110bce2e
Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Jason Wang <jasowang@redhat.com>
(cherry picked from commit
3d4dc08a64939e60be5cb72dc5e35c2790975167)
Amit Shah [Thu, 11 Dec 2014 07:47:42 +0000 (13:17 +0530)]
virtio-rng: fix check for period_ms validity
This was reported for this warning:
hw/virtio/virtio-rng.c:150:31: warning: logical not is only applied to
the left hand side of comparison [-Wlogical-not-parentheses]
Change-Id: Ieb15882967a2d77aa743955fe7d6c43345ed07bb
Reported-by: dcb
Suggested-by: dcb
Bug: https://bugs.launchpad.net/qemu/+bug/
1393486
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
(cherry picked from commit
1e8e33bc72235089a6602e95a711ae2ea76a76dc)
Jihye Won [Tue, 15 Dec 2015 11:30:49 +0000 (20:30 +0900)]
shortcut: change all shortcuts with Ctrl+Shift
To improve usuability, we changed all shortcuts with
a combination of Ctrl key and Shift key.
Conflicts:
tizen/src/ui/resource/skins/tv/tv-1920x1080/layout.xml
Change-Id: Ie8cd2ba5bd9bfad01f0c140462e70677a899f705
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
(cherry picked from commit
2cb5dfc576b22efe5452cfd1d5f7e73701f4596c)
Jihye Won [Thu, 10 Dec 2015 05:34:41 +0000 (14:34 +0900)]
controller: fix the bug on the event of dockingconview
Because handling the mouse event of dockingconview is incorrect,
the controller could be moved unintenionally in certain case.
Therefore, I added codes for setting dockingconview's status correctly.
Also, the enumeration like CONVIEW_* is designed to react the left mouse button.
Change-Id: I617bc2205ded4bd75f9a9b3515fdddf76f294048
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
8c0cb0b479bed1550a69730459574adbb0db46f0)
GiWoong Kim [Fri, 11 Dec 2015 08:03:14 +0000 (17:03 +0900)]
layout: use enum type variables for menu parsing
Change-Id: I65785ee1fbf3c3b3352e5c9c7eb4d4ad30c49252
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
9375772197bc5898101bca98c10926f5bd203ad7)
GiWoong Kim [Fri, 11 Dec 2015 04:58:20 +0000 (13:58 +0900)]
menu: modify some variable names for Always on Top
Change-Id: I9d57e4de836273ac735117895dff41a6ed28ef47
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
d78b475e882c242050d248e5456c7743f3df60f8)
Jihye Won [Mon, 2 Nov 2015 09:28:47 +0000 (18:28 +0900)]
Qt: set new menu icons of Always On Top and Move
As setting two icons of "Always On Top" and "Move" in emulator context menu,
the context menu will look nice.
Specifically, each indentation of the context menu becomes equal in MacOSX.
Also, new icons will help users recognize what does menu mean at a glance.
Change-Id: I0114f9f064f069c1553c0f59983cf8131a6133ad
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
(cherry picked from commit
f47701a21f06447096b09f9e05f7d43843a750ba)
GiWoong Kim [Wed, 9 Dec 2015 05:32:55 +0000 (14:32 +0900)]
hwkey: add double keycode type handling
According to real target behavior, some HW key buttons must
send a press event one more while long pressing. I named this
type of key called "double keycode key". The double keycode
key has same value for long-press and short-press keycode.
Change-Id: Ie7f227bd0836727b9b6683473dd37308a8309b3d
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
09ff007b6842731e2b86ba89e2d41faf31406cc6)
GiWoong Kim [Tue, 15 Dec 2015 11:01:07 +0000 (20:01 +0900)]
shortcut: make default shortcut keys with "Control key" on MacOS
QKeySequence Note - On Mac OS X, references to "Ctrl", Qt::CTRL, Qt::Control and
Qt::ControlModifier correspond to the Command keys on the Macintosh keyboard,
and references to "Meta", Qt::META, Qt::Meta and Qt::MetaModifier correspond to
the Control keys. Developers on Mac OS X can use the same shortcut descriptions
across all platforms, and their applications will automatically work as expected
on Mac OS X.
According to Qt note, "Ctrl" will be treated as command key. This is not what we
want. To be recognized as control key on MacOS, XML Parser should replace "Ctrl"
with "Meta" text.
Change-Id: Id26972ba7236df1b33d7d2409fcf58115ebf163c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
957b11ee3720a0161ad5e79abe2382f154be78ac)
GiWoong Kim [Fri, 4 Dec 2015 10:13:50 +0000 (19:13 +0900)]
layout: minor improvements for XML parser
- use const type variables
- delete an unnecessary error popup call
- add some logs
Change-Id: I3662284c0b329f683a4ca0e5f9a3e0748b70f336
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
1ea27884373ee071b9eb382b7d6faf738db7a2b8)
GiWoong Kim [Tue, 1 Dec 2015 05:54:05 +0000 (14:54 +0900)]
layout: improve logging for XML parsing
- apply indenting
- clean up
Change-Id: Ibdf00cb60329a7d2f2eeedc29f7d1cca909c83b9
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
09d930a001e56ee3a1fade0193a8897835b76363)
GiWoong Kim [Wed, 16 Dec 2015 05:21:17 +0000 (14:21 +0900)]
UI: supports reboot from context menu
When a malfunction of emulator occurs, such as no response from the guest OS,
what a developer can do is selecting "force close"
and restarting from emulator manager.
In order to avoid the inconvenience of doing it, reboot menu is added.
It is working directly to hardware after requesting sync() to guest OS
----------------
| Context menu |
----------------
| reboot |
---------------- ----------
| | emuld |
------------------------ ----------
| 1. send sync message | -------------> | sync() |
| 2. start a timer | ----------
------------------------
| The timer expires after 1s
-------------------------------
| qemu_system_reset_request() |
-------------------------------
Change-Id: I3c3c31c2cc19065f53b620d83c79e68e0183db53
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
2ef8395c5aaa8076a300d1be0974060b1a7ff9b2)
GiWoong Kim [Mon, 30 Nov 2015 05:57:37 +0000 (14:57 +0900)]
skin: clean up skin resource
- delete unnecessary files
- modify layout version element
Change-Id: If69bf2ee55913cb41c8ec028c1a4f68b55f52878
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
6c1de99e33a2d0ec3c3172fb8fb16cebbaaa4f83)
GiWoong Kim [Mon, 30 Nov 2015 04:48:17 +0000 (13:48 +0900)]
gui: standardize tooltip style for controller
black font, white background, black 1px border
Change-Id: I4be70904a18ab48c08fd61052f218ddede94bfda
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
3d8b76a3af1cd347e7db44f224fb8bf39ad61afb)
GiWoong Kim [Fri, 27 Nov 2015 07:35:38 +0000 (16:35 +0900)]
menu: reduce the entry of VM Info from Detailed Info dialog
combine Display Resolution item with Display Density item
ex) Display: 480x800 (233 ppi)
Change-Id: If96b01408040f7d5ff18b78b123bcdd8fcbe1d8e
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
f396d6f9ec3b899fca8d4056b72c7257c8c7d551)
Jihye Won [Fri, 13 Nov 2015 01:23:29 +0000 (10:23 +0900)]
Qt: offGuideImage hides while Move function is active
So far, Move function is canceled just before offGuideImage shows
while a user activate the function.
For improving user experience of using Move function,
offGuideImage hides while Move function is active.
Therefore, the user can move Emulator without interruption of offGuideImage.
Change-Id: I2fe51ec70026c9086a79aee88b06aee1205ae35d
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
ebd8324322be5128ffaa194b21fd691a5819a49a)
SeokYeon Hwang [Tue, 15 Dec 2015 08:41:00 +0000 (17:41 +0900)]
configure: disable curl as a default
"curl" is used as a block device in QEMU. And now we disable curl support
since we never use it.
Change-Id: I83c9b01b0db88655f84c143c382f7201f6614005
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
(cherry picked from commit
009ad50d807d422057504ad9a15d5639641be6c2)
SeokYeon Hwang [Thu, 5 Nov 2015 12:20:10 +0000 (21:20 +0900)]
util: remove unused utility sources
check-* is moved to emulator-supplements. So it is useless now.
Change-Id: I52a0fbe884a37d1fd570dff3febd029e3afad869
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
(cherry picked from commit
0fb96ca18c8a235ea76b5c612627c6ac1241e434)
ChulHo Song [Fri, 4 Dec 2015 07:56:11 +0000 (16:56 +0900)]
extra package: skip installing duplicate packages
Do not install same version of the packages. Newer version of the
packages will be upgraded, older version of the packages will be
failed to install.
Change-Id: Ib5cc8b781aee56d39447b6cb46689e948b68045c
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
(cherry picked from commit
58a790efcd2d468ef01987cde3866276ffa445fd)
SeokYeon Hwang [Wed, 2 Dec 2015 02:25:24 +0000 (11:25 +0900)]
package: update version (2.2.73)
Change-Id: I7c3d4838e225ed85ac50cc1c6f08251fe1876669
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
GiWoong Kim [Mon, 23 Nov 2015 10:53:11 +0000 (19:53 +0900)]
menu: support skin path opening
At Detailed Info dialog, Emulator opens skin path in the appropriate
browser for user's desktop environment if the Skin Name item is double-
clicked.
Change-Id: Ia4c43b1571831874e80a97fd31bd15407d261022
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
180786d39e0051f3dac1a71638b2eefd3b749ad6)
GiWoong Kim [Mon, 23 Nov 2015 08:11:34 +0000 (17:11 +0900)]
menu: modified title of VM info's item on Detailed Info
- "CPU" -> "CPU Arch"
- "File Sharing Path" -> "Directory Sharing
Change-Id: Id00e17af7a4c3dd8cd476292e803d4329c8ce864
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
22cd3f8fe579dbacfe0df79fbba3966d4c7e8894)
GiWoong Kim [Fri, 20 Nov 2015 06:33:04 +0000 (15:33 +0900)]
controller: modify parent widget for general-purpose controller
GeneralPurposeCon gets constrained by FloatingController's
geometry while floating. So, FloatingConView should be replaced
by the FloatingController as a proper parent widget.
Change-Id: Ic670b163b63d2777b3413a5c1f159c4c7e6ff11a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
9c767c40f2399af1f887ea188d14575b60d46e79)
GiWoong Kim [Tue, 17 Nov 2015 02:00:18 +0000 (11:00 +0900)]
ui: modify class name
UIUtil -> UiUtil
Change-Id: Ib9dc133c740266eb63a8d39ad766664268ef30a5
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
1235bbb86b124e968b6673a5f47b65cdd709943e)
GiWoong Kim [Mon, 16 Nov 2015 11:03:09 +0000 (20:03 +0900)]
menu: open the popup menu without any focus
On MacOS, right-click cannot bring up the popup menu without a
window focus. This behavior is inconvenient to user. So, to improve
this issue, I added raise() function call before the menu displaying.
This call makes that emulator window can keep focusing and open the
popup menu immediately.
Change-Id: I342121e4e6922f9b7009776ee5391589b9a4e0c1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
1bb9f670bb2ccbf66d10b0d684998f4b1a15b8c9)
GiWoong Kim [Mon, 16 Nov 2015 05:38:52 +0000 (14:38 +0900)]
skin: empty pressed-image handling
Empty image should be considered in HW key related logics.
The "pressedImage" element can be empty from XML schema.
This element is not a mandatory option for Emulator layout.
Change-Id: Idf0e15d0d5cabdcc3b639d400044ca7a8a639c69
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
d8ff18beec091de1db6cba5285ba087507e30fa0)
GiWoong Kim [Wed, 11 Nov 2015 11:09:45 +0000 (20:09 +0900)]
XML: print specified error cases while parsing
- UnexpectedElementError
- NotWellFormedError
- PrematureEndOfDocumentError
Change-Id: Iaf80dfb40cc0167636fa190172991ef10a4f8f9a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
3366d54204749fc7f9330a444ad068d9adb10570)
GiWoong Kim [Wed, 11 Nov 2015 07:22:48 +0000 (16:22 +0900)]
KeySequence: activatedAmbiguously() signal handling
When a key sequence is being typed at the keyboard, it is said
to be ambiguous as long as it matches the start of more than one shortcut.
When a shortcut's key sequence is completed, activatedAmbiguously() is
emitted if the key sequence is still ambiguous (i.e., it is the start of
one or more other shortcuts). The activated() signal is not emitted in this case.
A warning message box will show up in Emulator when
conflicted shortcut key is typed by user.
Change-Id: I62538ed48ec02786f70565652c7cd734992ec06a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
0a92e94173ba38e957cffbf30e8c7ed9cb233624)
GiWoong Kim [Tue, 10 Nov 2015 11:36:02 +0000 (20:36 +0900)]
KeySequence: remove unnecessary function and etc
- remove unnecessary function
- modify some variable names
Change-Id: Ia9988078c47a2d934d1aacb845b1100df168d7b3
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
209d9a8db7b1d2194b923ba5810e83921d26a09d)
GiWoong Kim [Tue, 10 Nov 2015 07:45:30 +0000 (16:45 +0900)]
menu: improve CPU architecture information on Detailed Info
- guest 32bit CPU: "x86 (32bit)"
- guest 64bit CPU: "x86 (64bit)"
Change-Id: I73d233c534e1e2d89e56b0c01f33996aa832eea7
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit
7aafbd24cca1d5b83677ac467f82fbc370577533)
Sooyoung Ha [Fri, 20 Nov 2015 09:24:07 +0000 (18:24 +0900)]
package: update version (2.2.72)
Change-Id: I371ec6e3d54ac6b19169963edf3de02f5ca47e31
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
SeokYeon Hwang [Fri, 20 Nov 2015 09:32:18 +0000 (18:32 +0900)]
emul_state: fix build error caused by wrong merge
Change-Id: I1abe2971ddb7e37bb7fbbe6905cd866e212e1ebb
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Fri, 2 Oct 2015 04:25:38 +0000 (13:25 +0900)]
emul_state: change display resolution fallback
Display resolution fallback uses initial display resolution.
Change-Id: Ida54c4c8b55e828cbf9b0ab976f3393b6aecdfc5
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Munkyu Im [Thu, 19 Nov 2015 01:57:26 +0000 (10:57 +0900)]
package: update version (2.2.71)
Change-Id: I2360226cd06eb8200eedb78f2bc3edf5052f4cc2
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Munkyu Im [Wed, 11 Nov 2015 07:13:07 +0000 (16:13 +0900)]
install: remove ditto job
It is common job, so I move it to tuntaposx install script.
Also, it does not need to be executed with privilege mode.
Change-Id: I33c471120c3f9a5270ddd2217543516490e000d3
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
(cherry picked from commit
85c433979a160529310fc314bb06e5a3719a194d)
SeokYeon Hwang [Sat, 14 Nov 2015 04:46:03 +0000 (13:46 +0900)]
package: update version (2.2.70)
Change-Id: I92ca7ca9e76fabfd0ac27450315212e017b8dae8
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Sat, 14 Nov 2015 04:38:57 +0000 (13:38 +0900)]
package: remove ARM guest packaging that was aleady commented out
Change-Id: I39b82d1126f05862f6eed807ad98d834ceee508d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Fri, 13 Nov 2015 06:00:14 +0000 (15:00 +0900)]
build: enable cross build for Windows binary
Change-Id: I0948cd241ea6ff3bc502fc1a5269c521d2fce16e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Fri, 6 Nov 2015 02:33:32 +0000 (11:33 +0900)]
DIBS: build on DIBS in the same way on local
Using TIZEN_SDK_DEV_PATH instead of overriding PKG_CONFIG_PATH.
Change-Id: Ib99c9e6149cbca93c278e84873b8a93de6f436e0
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Thu, 5 Nov 2015 12:38:09 +0000 (21:38 +0900)]
configure: change default TIZEN_SDK_DEV_PATH for cross compiling
If CROSS_PREFIX is specified, we use "~/tizen-sdk-dev/$CROSS_PREFIX/"
as a default instead of "~/$CROSS_PREFIX-tizen-sdk-dev/".
Change-Id: I86e825ca2b1749be240e8850478de2c185b2cb8e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
ChulHo Song [Tue, 20 Oct 2015 11:22:03 +0000 (20:22 +0900)]
9pfs: fix bug of reading host directory path
On Windows host, if the user selected the root directory as Host
Directory Sharing path, the emulator launching failure could occur.
There was a code that remove the last backslash of entered path on
Windows implementation. By the way, stat() function could not read the
path when root path like 'c:\' had entered and been removed the last
backslash(the result was 'c:').
So we change the code to remove the backslash only if the entered path
is not a root directory.
We should check the stat() working mechanism about reading pathes
including backslash on Windows later.
Change-Id: I7a155520af1f008f927e6dc67408e930c0f73ab1
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
(cherry picked from commit
b14e65d1652c5c21b7ec6f6f30312f8d2ab5ec3a)
Jihye Won [Fri, 13 Nov 2015 02:06:34 +0000 (11:06 +0900)]
qt5_msgbox: fix condition for checking empty message
It is simple way to check whether message[1] is NULL
instead of checking the length of the message is 1.
Also, the level of error log is changed from ERROR into WARN.
Change-Id: I9f65e7ed037ee92fcb017255455e2e68dbc45cfa
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
GiWoong Kim [Fri, 13 Nov 2015 01:31:05 +0000 (10:31 +0900)]
skin: wearable skin packaging
- add wearable-360x360-1btn
- add wearableO-360x360-2btn
- delete tv-1920x1080
Change-Id: Ie9806d282d29d32e305f9d8047cfccefa77f42da
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
SeokYeon Hwang [Mon, 19 Oct 2015 04:57:24 +0000 (13:57 +0900)]
coroutine: co->fiber has not to be null
CreateFiber() will be return NULL when it fails. If co->fiber is null,
SwitchToFiber() aborts with
C0000005 and it corrupts stack that make
hard to find causes. So it is better to abort when CreateFiber()
returns NULL.
Change-Id: Ifdc36404ce523cee842fd486bdbe071e58b7d7b3
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
GiWoong Kim [Mon, 9 Nov 2015 02:35:28 +0000 (11:35 +0900)]
ui: remove unnecessary blank space in window
To remove blank space, add none boder-style to QGraphicView.
And it should not be overwritten.
Change-Id: I50f6fad3a65d191faa4effd0c969c23b0821a140
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Tue, 3 Nov 2015 08:15:17 +0000 (17:15 +0900)]
XML: removed returning allocated memory in parser
Change-Id: I5e63849a513e7f53b0a414742e3c21a935f7046b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Tue, 3 Nov 2015 07:21:27 +0000 (16:21 +0900)]
XML: minor cleanup
- declare a makeGeneralCon function
- call by reference
- add some logs
Change-Id: Ic14a41b222be25ff8e3c9b773ded17c8e6cc7dda
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Stefan Weil [Thu, 30 Jul 2015 21:08:12 +0000 (23:08 +0200)]
slirp: Fix non blocking connect for w32
Change-Id: Iae869bcf0e25a9842a66f609e552f4b72b69bebf
Signed-off-by: Stefan Weil <sw@weilnetz.de>
(cherry picked from commit
9cf20c1a8d8d128508e80929768cad182c807093)
unknown [Wed, 11 Nov 2015 00:40:40 +0000 (09:40 +0900)]
qt5_msgbox: fix bug by replacing strnlen with strlen
Because the build environment of tizen_2.3.2 can not support cross-build,
strnlen function does not exist in windows build environment.
So, I added codes to use strlen function when building qemu in MINGW.
Change-Id: I0a35ae5f582ad2034ed94898ee0ff0e49232462f
Signed-off-by: Won Jihye <jihye.won1@samsung.com>
SeokYeon Hwang [Tue, 10 Nov 2015 12:40:31 +0000 (21:40 +0900)]
package: version up (2.2.69)
Change-Id: I3086eedc2729ab6c5be81c0908fbb41abcee670f
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Tue, 10 Nov 2015 08:59:17 +0000 (17:59 +0900)]
build: fix building skin package
Change-Id: I76a0057f44efc4e7d694fb2b7c194127fcdc6d41
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Jihye Won [Tue, 3 Nov 2015 06:51:28 +0000 (15:51 +0900)]
Qt: destroy transWidget before offGuideImage shows
When emulator does not receive any event,
offGuideImage is loaded on the top of the screen.
The problem is that offGuideImage shows with transparent widget
created for Move function.
To resolve the problem, transparent widget should be deleted
just before offGuidImage shows.
Change-Id: Ia2ceb186034d4e37bff3c1f22c206202a20b7e8b
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
Won Jihye [Tue, 10 Nov 2015 08:06:47 +0000 (17:06 +0900)]
Qt: add a "Move" function to move an emulator
The Move function can improve user convenience
when the skin bezel is too small to grab the emulator
Change-Id: I2541c8964393fa044152d33874973df42c2b1fde
Signed-off-by: Won Jihye <jihye.won1@samsung.com>
Jihye Won [Mon, 19 Oct 2015 05:08:47 +0000 (14:08 +0900)]
gitignore: added qt5_msgbox.res
After building tizen on Windows,
tizen/standalone-src/qt5_msgbox.res is created.
I added the file in gitignore for the file
to be untracked.
Change-Id: I33b1c2dd96cd3eb4959a54fa046c5c8f158ec87e
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
Jihye Won [Tue, 13 Oct 2015 05:02:10 +0000 (14:02 +0900)]
qt5_msgbox: check if message has only a newline character.
qt5_msgbox shows an empty message
when the message as the argument of error_report() ends a newline character.
So, it is necessary to check if the message is valid before executing qt5_msgbox.
Change-Id: I48e4bd0e484a69bd00c6a9aace5b4390d996bd62
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
Sooyoung Ha [Tue, 10 Nov 2015 08:18:07 +0000 (17:18 +0900)]
package: exclude TV resource package
2.3.2 does not need the TV profile, resource packages are unnecessary.
Change-Id: I6e7bf0b9a66dd27ca89fd2c0fc6cce9af43271a6
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
GiWoong Kim [Mon, 9 Nov 2015 07:35:11 +0000 (16:35 +0900)]
menu: delete some unnecessary lines in SWT GUI
There is no need to consider CPU architecture on
Detailed Info Dialog.
Change-Id: I97ac80a5cee32d382ac93d60e01740a87a8de8d6
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Thu, 29 Oct 2015 10:18:08 +0000 (19:18 +0900)]
about: modified contents title of About dialog
Tizen SDK -> Tizen Emulator for 2.3.2
Change-Id: Ieb893ae3c11c0550d76d9f4dfff60f10837b6f2b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
jinhyung.jo [Mon, 9 Nov 2015 06:22:14 +0000 (15:22 +0900)]
package: change platform version
From the tizen_2.4 to the tizen_2.3.2
Change-Id: I0536bb6977d5afc3f34eb889e60efbcb8ace7426
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
GiWoong Kim [Wed, 4 Nov 2015 08:58:06 +0000 (17:58 +0900)]
display: added masking for screen off guide
Change-Id: If3bcf54f83f779e32490bfee12668d94facd928d
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Tue, 3 Nov 2015 06:31:34 +0000 (15:31 +0900)]
skin: fix the incorrect decision logic for VM color
Decision logic for VM color(which is used by Pair Tag on skin)
is depended on base port number. The port number is
increased by 10 from 26100.
Change-Id: I8744e837eb77773e9dedf2155abca346498ae211
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Mon, 2 Nov 2015 05:31:24 +0000 (14:31 +0900)]
skin: masking for non-alpha channel image format
Removes any mask set on main window when emulator uses
a non-alpha channel image as a skin.
Change-Id: I64293c35f07a36fb3bbbff140a06412f09b6084c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Mon, 26 Oct 2015 02:40:16 +0000 (11:40 +0900)]
ui: initialize class-member variables
1. initialize class-member variables
2. delete unnecessary null checking
Change-Id: Ie20dfc5789f7d9be8cb08487c7bfe460507bcb2c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Jihye Won [Sun, 25 Oct 2015 10:15:47 +0000 (19:15 +0900)]
Qt: initialize the docking controller view status
When DockingConView object is created,
the mouse button state is naturally relased.
So, conViewStat should be initialized
as CONVIEW_RELEASED in the constructor of DockingConView.
Change-Id: I849582317075c10d2126c478ac7f6eec51f0dd3a
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
GiWoong Kim [Fri, 23 Oct 2015 12:22:05 +0000 (21:22 +0900)]
skin: remove memory leak
1. remove resource leak in SkinPainter object
2. delete unnecessary null checking
Change-Id: I141116cfd68dcd242bd2581c6deff01c82bf266c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Fri, 16 Oct 2015 04:28:47 +0000 (13:28 +0900)]
multi-touch: added device initializing checking
Multi-touch events should be ignored when
the touchscreen device is not ready yet.
Change-Id: I7486e1bc91bf9a4519a9e27a6c331aca65b03b39
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Thu, 15 Oct 2015 09:47:07 +0000 (18:47 +0900)]
multi-touch: improved re-touch decision for touch point
To get more precise distincion for re-touch points,
shape of decision region need to change to circular from rectangle.
It makes reduce a gap between mouse event area(decision region)
and point appearance.
Change-Id: I6e47a0d3a8c1bd45ba0df124cf744573fffe41dd
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Thu, 15 Oct 2015 09:43:16 +0000 (18:43 +0900)]
ui: delete a space before the colon on logging
Change-Id: I14aa91a3b86f9c8a0549b54e005dbb4b781e825b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Mon, 12 Oct 2015 10:22:54 +0000 (19:22 +0900)]
gui: added hover XML schema
define hover schema for main window's HW key on profile-specific skin
Change-Id: I3447ffa9f490510a485b63ca6587b4bceb5c9b5d
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
GiWoong Kim [Mon, 9 Nov 2015 05:03:42 +0000 (14:03 +0900)]
hwkey: modified dual keycode handling for HW key
- hold down the HW key for up to 2 seconds: long press
- under the 2 seconds: short press
Change-Id: I7929bf1e53ddeb9c9ac86804cee62f7dc2eb1477
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
minkee.lee [Tue, 13 Oct 2015 06:59:53 +0000 (15:59 +0900)]
ecs: add log about target image path.
- change log level. (TRACE -> INFO)
- Target image path is used in emulator-manager
in order to check running-VM.
Change-Id: I5f91f30ba9bdf3887028c5272b4efe6ec5b75e70
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
GiWoong Kim [Fri, 2 Oct 2015 01:58:53 +0000 (10:58 +0900)]
gui: standardize tooltip style
black font, white background, black 1px border
Change-Id: Ied412879f7ee7b4e6b672828dabdedda59c9a903
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Munkyu Im [Tue, 22 Sep 2015 07:06:36 +0000 (16:06 +0900)]
package: add prerequisite
used for enabling bridged network feature.
add glib2, acl, zlib, pixman package for qemu.
Change-Id: Ie2c29d1b82982670d046effea0ff669ce2e22918
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Munkyu Im [Thu, 24 Sep 2015 09:06:37 +0000 (18:06 +0900)]
install: modify path for temp files
"~/.installmanager" path is using for installer.
it can be changed for some reasons.
Change-Id: I7bfd78ef52f39aa4e89f13ca6de5dc4f105f2960
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Munkyu Im [Thu, 24 Sep 2015 08:47:25 +0000 (17:47 +0900)]
net: bridge name is flexible
qemu set bridged network on mac os 10.8.
bridge name was fixed with "bridge0".
However from mac os 10.9, the setting is possible on
host network configuration. So, support another bridge names.
Change-Id: I6c75766ca624847cf5e11a5ff9f61afbe89f041f
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>