sdk/emulator/qemu.git
8 years agoMerge branch 'develop' into platform_3.0
SeokYeon Hwang [Tue, 26 Jul 2016 04:22:57 +0000 (13:22 +0900)]
Merge branch 'develop' into platform_3.0

Change-Id: I77973f66f1e92aaf3c0e87e6b5362b7814cc0c91
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agopackage: update version (2.5.16)
SeokYeon Hwang [Tue, 26 Jul 2016 02:40:20 +0000 (11:40 +0900)]
package: update version (2.5.16)

Change-Id: Ifeee955ceda2c877559af037a84d76b6528d4bc7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoecp: find new commonized ECP in Windows
SeokYeon Hwang [Tue, 26 Jul 2016 02:14:45 +0000 (11:14 +0900)]
ecp: find new commonized ECP in Windows

Change-Id: Ia1d800b0ba5d7403d98ab4371c2b76b894ed2094
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoMerge branch 'develop' into platform_3.0
Sooyoung Ha [Tue, 19 Jul 2016 05:46:16 +0000 (14:46 +0900)]
Merge branch 'develop' into platform_3.0

Change-ID: I230b9099bc501df687c06c75377e371438a5d73b
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
8 years agopackage: update version (2.5.15)
Sooyoung Ha [Tue, 19 Jul 2016 05:38:18 +0000 (14:38 +0900)]
package: update version (2.5.15)

Change-Id: Id42bd5bd94270d7735712bc62a2e107a2c7eb423
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
8 years agolog: modify trivial log printing level
Sooyoung Ha [Mon, 18 Jul 2016 03:15:57 +0000 (12:15 +0900)]
log: modify trivial log printing level

This message is used for running CLI test.

Change-Id: Ifd0610386cfa18daf646b3f23a57a67f691680f6
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
8 years agoecp: new ECP move to tools path
SeokYeon Hwang [Mon, 18 Jul 2016 05:51:31 +0000 (14:51 +0900)]
ecp: new ECP move to tools path

Change-Id: I50a60f1fd4382094a4aa72d79068383c8b09df76
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoMerge branch 'develop' into platform_3.0
SeokYeon Hwang [Tue, 12 Jul 2016 02:48:38 +0000 (11:48 +0900)]
Merge branch 'develop' into platform_3.0

Change-Id: I253f868aef66439a3a4e2b6bf30bb0bf182b8073
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agopackage: update version (2.5.14)
SeokYeon Hwang [Tue, 12 Jul 2016 02:47:31 +0000 (11:47 +0900)]
package: update version (2.5.14)

Change-Id: I103dd177131bf5ac7b7fd63796cd614da5603058
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoecp: prepare to launch new ecp
SeokYeon Hwang [Mon, 11 Jul 2016 06:15:34 +0000 (15:15 +0900)]
ecp: prepare to launch new ecp

Change-Id: Iea134b63272f0c25cd37666acafd2b42ea6de6ae
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agovigs: add vblank emulation for headless emulator
SeokYeon Hwang [Fri, 8 Jul 2016 11:36:33 +0000 (20:36 +0900)]
vigs: add vblank emulation for headless emulator

Change-Id: Iac85fa67399b51890bfb54c37698f56f2ef40468
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoinput: remove deadlock occured by missing mutex unlock
SeokYeon Hwang [Sun, 10 Jul 2016 11:01:20 +0000 (20:01 +0900)]
input: remove deadlock occured by missing mutex unlock

Change-Id: I06a2ac4437085e959be84f1c465a067a8a457ec2
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoui: clean-up logging for Qt5 UI
SeokYeon Hwang [Sun, 10 Jul 2016 11:04:40 +0000 (20:04 +0900)]
ui: clean-up logging for Qt5 UI

Change-Id: I98436a9f75c8c639ea05289641df09f4383d7e2d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoui: remove local change that is applied upstream
SeokYeon Hwang [Fri, 8 Jul 2016 11:38:00 +0000 (20:38 +0900)]
ui: remove local change that is applied upstream

Change-Id: Ia9d027c2f4d28f8725601a94c55a90f658582538
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoMerge branch 'develop' into platform_3.0
SeokYeon Hwang [Fri, 8 Jul 2016 05:43:50 +0000 (14:43 +0900)]
Merge branch 'develop' into platform_3.0

Change-Id: I60d8b1c00837b0516a1c28e5dce7c7be49389d3e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agopackage: update version (2.5.13)
Munkyu Im [Thu, 7 Jul 2016 06:02:22 +0000 (15:02 +0900)]
package: update version (2.5.13)

Change-Id: I1888298dc732259fe758dcb865dd75e28501f36a
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agoMerge branch 'develop' into platform_3.0
jihye424.kim [Mon, 4 Jul 2016 08:16:57 +0000 (17:16 +0900)]
Merge branch 'develop' into platform_3.0

Change-Id: Ic2be2136c9c7f607686415ce627c34cfe2b7daf6
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: update version (2.5.12)
jihye424.kim [Mon, 4 Jul 2016 08:13:36 +0000 (17:13 +0900)]
package: update version (2.5.12)

Change-Id: Ifab9105245166f2c188fe7dab3b89edd4eafb2d1
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoskin: remove extra space for mac os
jihye424.kim [Mon, 4 Jul 2016 05:57:26 +0000 (14:57 +0900)]
skin: remove extra space for mac os

Change-Id: Iaf078d1f89333f096470047174a9c55b98b52407
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoMerge branch 'develop' into tizen_3.0
Sooyoung Ha [Tue, 28 Jun 2016 02:38:28 +0000 (11:38 +0900)]
Merge branch 'develop' into tizen_3.0

Change-ID: Idfbb1e53fbbf98aa0d66849226a9b1c7b0241778
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
8 years agopackage: update version (2.5.11)
Sooyoung Ha [Tue, 28 Jun 2016 02:26:26 +0000 (11:26 +0900)]
package: update version (2.5.11)

Change-Id: Id016bf86be3b9dc60de36d44e738433c3b12bbff
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
8 years agopackage: add comma between prerequisite packages
Sooyoung Ha [Tue, 28 Jun 2016 02:06:15 +0000 (11:06 +0900)]
package: add comma between prerequisite packages

Change-Id: I3a2fd5fe6621b76e561beecc6181f22fe836e34a
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
8 years agoMerge branch 'develop' into tizen_3.0
jihye424.kim [Mon, 27 Jun 2016 07:59:21 +0000 (16:59 +0900)]
Merge branch 'develop' into tizen_3.0

Change-Id: I3cc9c54eb10d7e716f4b2a2773bcb0a2b8bda13e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: update version(2.5.10)
jihye424.kim [Mon, 27 Jun 2016 02:21:39 +0000 (11:21 +0900)]
package: update version(2.5.10)

Change-Id: I7673bf85f45f8418e64d04c2e0be3db0fcf9b6c6
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agonet_helper: fix bugs in D&D logics
SeokYeon Hwang [Sat, 25 Jun 2016 12:35:07 +0000 (21:35 +0900)]
net_helper: fix bugs in D&D logics

Local variable that is char[] type should be initialize with NULL char.
Unnecessary global variable is removed. And, now we can provide D&D
features even if we cannot identify default user home directory.
(At the time, we will use "/tmp" directory as a default.)

Change-Id: I365e782771982700e0096c076603c7d655fa7e55
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoesm: rewrite with new virtio API
SeokYeon Hwang [Tue, 21 Jun 2016 03:17:38 +0000 (12:17 +0900)]
esm: rewrite with new virtio API

Change-Id: Ic0ab82d0fb256d836626ccbfc874929680755f1a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoinput: rotary device move into maru_virtio_input
SeokYeon Hwang [Thu, 23 Jun 2016 04:18:47 +0000 (13:18 +0900)]
input: rotary device move into maru_virtio_input

Change-Id: I0c9bbb0e5f92b13dd05539333c2a0155884bf3a9
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoinput: introduce maru_virtio_input
SeokYeon Hwang [Tue, 21 Jun 2016 13:49:20 +0000 (22:49 +0900)]
input: introduce maru_virtio_input

"maru_virtio_input" contains touchscreen, keyboard, hwkey now.
"rotary" will be added soon.

Change-Id: I6a8983e8d7e6e78489ec06d77497042f85d823d7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoskin: change default number of hw button to 6 from 4
jihye424.kim [Thu, 23 Jun 2016 05:22:48 +0000 (14:22 +0900)]
skin: change default number of hw button to 6 from 4

Change-Id: I14dee69cd1713d220c1d514b720386514411d09d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agopackage: update emulator prerequisite packages
Sooyoung Ha [Fri, 17 Jun 2016 10:40:19 +0000 (19:40 +0900)]
package: update emulator prerequisite packages

Change-Id: Iaf1177308913939a7098cb99346d06974b4a003b
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agoMerge branch 'develop' into tizen_3.0
SeokYeon Hwang [Thu, 16 Jun 2016 10:25:16 +0000 (19:25 +0900)]
Merge branch 'develop' into tizen_3.0

Change-Id: I72fc42f348745bd69d42437a91e0e7477b7e22cb
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoyagl: fix the display broken issue
SeokYeon Hwang [Thu, 16 Jun 2016 09:55:03 +0000 (18:55 +0900)]
yagl: fix the display broken issue

Change-Id: Ia9c243f59aa86e41c990f071ade4897e5a462801
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoMerge branch 'develop' into tizen_3.0
SeokYeon Hwang [Thu, 16 Jun 2016 08:28:13 +0000 (17:28 +0900)]
Merge branch 'develop' into tizen_3.0

Change-Id: I616b42eba06cd63e018da70ecb07eed6f64d1bde
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agopackage: update version (2.5.9)
Sooyoung Ha [Thu, 16 Jun 2016 07:26:37 +0000 (16:26 +0900)]
package: update version (2.5.9)

Change-Id: Ieb54fc330bb5e382bd459c043cfe086304b2d46e
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agoyagl: introduce yagl protocol version
Sooyoung Ha [Thu, 16 Jun 2016 05:49:54 +0000 (14:49 +0900)]
yagl: introduce yagl protocol version

Now yagl device receives the protocol version from emulator run option
and put it into emulator kernel to notice to user.

Change-Id: Id3baacf035a2e723a0ebad4e1cfe22b26af72d03
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agoinput: rewrite virtio touchscreen / keyboard device
SeokYeon Hwang [Wed, 15 Jun 2016 08:36:13 +0000 (17:36 +0900)]
input: rewrite virtio touchscreen / keyboard device

Simplified input processing and delivering logics.
Used proper virtio APIs.

Change-Id: Iebb5dede2b34d0e1a9243d65258bffd3180f56df
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agopackage: update version (2.5.8)
SeokYeon Hwang [Mon, 13 Jun 2016 05:14:41 +0000 (14:14 +0900)]
package: update version (2.5.8)

Change-Id: Ia49e63148b733b299e432b467213f34d83b5127b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agopackage: use rpath based library loading for Linux
SeokYeon Hwang [Thu, 9 Jun 2016 08:36:22 +0000 (17:36 +0900)]
package: use rpath based library loading for Linux

On Linux, now, we use rpath based library loading.
Some unnecessary dependency is detached from qt5_msgbox.

Change-Id: I43c9ed9f84b97c52240402728f46ff51bf12f78a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoMerge branch 'develop' into tizen_3.0
SeokYeon Hwang [Thu, 9 Jun 2016 05:47:36 +0000 (14:47 +0900)]
Merge branch 'develop' into tizen_3.0

Change-Id: Ic9c5d8c2a5db40d7f7b5323f3e6b7d775a433deb
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agopackage: update version (2.5.7)
Sooyoung Ha [Thu, 9 Jun 2016 05:14:49 +0000 (14:14 +0900)]
package: update version (2.5.7)

Change-Id: I9e33615eac3dfcd16a92f8e0400db99b3c9fbffb
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agopackage: remove spice-server dependancy
SeokYeon Hwang [Wed, 8 Jun 2016 06:58:30 +0000 (15:58 +0900)]
package: remove spice-server dependancy

"spice-server" has a build problem now. So we remove its dependancy
temporarily.
Redundant "install" / "remove" scripts are removed.

Change-Id: I4a499df8bda3fd7299a3d6281b1d01b794ac5c24
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoMerge branch 'tizen_3.0_develop' into tizen_3.0
Sooyoung Ha [Tue, 7 Jun 2016 13:35:12 +0000 (22:35 +0900)]
Merge branch 'tizen_3.0_develop' into tizen_3.0

Change-ID: I196d7265a58684d3b495f1977491b22c0080263a
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agopackage: update version (2.5.6)
Sooyoung Ha [Tue, 7 Jun 2016 02:41:52 +0000 (11:41 +0900)]
package: update version (2.5.6)

Change-Id: I4c384e17f64f4674ea7f131bcb119c0b5bce21ee
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agopackage: use @rpath based library loading for MacOSX
SeokYeon Hwang [Wed, 1 Jun 2016 06:57:34 +0000 (15:57 +0900)]
package: use @rpath based library loading for MacOSX

Change-Id: I9b46d17b2e976c10009e8274f1fb5ffc918420a0
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoMerge branch 'features/dnd' into tizen_3.0_develop
Munkyu Im [Thu, 26 May 2016 05:32:18 +0000 (14:32 +0900)]
Merge branch 'features/dnd' into tizen_3.0_develop

Change-Id: Idaba41f03534faef364701012e69aa1fb4831dd5
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoMerge branch 'tizen_3.0_develop' into tizen_3.0
Munkyu Im [Thu, 26 May 2016 04:42:03 +0000 (13:42 +0900)]
Merge branch 'tizen_3.0_develop' into tizen_3.0

Change-Id: Ia7eb298194316ee3b93649fda6150caaab14d847
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agopackage: update version (2.5.5)
Munkyu Im [Wed, 25 May 2016 09:28:16 +0000 (18:28 +0900)]
package: update version (2.5.5)

Change-Id: I97d657dc98d4a3cf1c4e6b4ab544404b3fb2f2b2
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agonet: remove tap uninstaller
Munkyu Im [Mon, 23 May 2016 10:18:22 +0000 (19:18 +0900)]
net: remove tap uninstaller

Change-Id: Ie3beb2883cd8321bffeca61221742c7f33749637
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agodnd: modify dialog box
Munkyu Im [Tue, 26 Apr 2016 10:29:25 +0000 (19:29 +0900)]
dnd: modify dialog box

 - show default path for pushing file.
 - show sudo permission notification.
 - modify default button of question dialog.
 - add text box to input directory to be pushed.

Change-Id: If90a4989c802e87c6187fb34633c528af6695bab
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoMerge branch 'tizen_3.0_develop' into tizen_3.0
SeokYeon Hwang [Mon, 25 Apr 2016 08:49:15 +0000 (17:49 +0900)]
Merge branch 'tizen_3.0_develop' into tizen_3.0

Change-Id: Idfaebc6ac164afb23e8217fafe775688f4c19ff6

9 years agopackage: update version (2.5.4)
SeokYeon Hwang [Mon, 25 Apr 2016 08:37:10 +0000 (17:37 +0900)]
package: update version (2.5.4)

Change-Id: I1f2a112266f80a9a04c5c03e503822a5c40248ee
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agosupplements: modify make_emul_images.sh script
Sooyoung Ha [Wed, 20 Apr 2016 06:31:44 +0000 (15:31 +0900)]
supplements: modify make_emul_images.sh script

Now it supports 2 partition image converting.

Change-Id: I2d7df78acaa5110575d1dfa968323f813855beec
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agovirtio-keyboard: fix misuse of virtqueue_pop()
SeokYeon Hwang [Mon, 25 Apr 2016 05:37:59 +0000 (14:37 +0900)]
virtio-keyboard: fix misuse of virtqueue_pop()

It can cause infinite loop and can lock device driver.

Change-Id: I362a219b8a3643a7c4e196cc6c3e5d3982d467ba
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agodnd: remove explicit closing process
Munkyu Im [Thu, 21 Apr 2016 06:09:14 +0000 (15:09 +0900)]
dnd: remove explicit closing process

When QProcess job is finished, close itself automatically.

Change-Id: I84dcfb8b92a07ab8a50622dd82b777a8e7bc41aa
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agodnd: implement file push/install
Munkyu Im [Tue, 12 Apr 2016 09:00:09 +0000 (18:00 +0900)]
dnd: implement file push/install

 - install: support one wgt/tpk/rpm file.
 - push: support multiple files/directories.
 - rename "shellopener" to "sdbhelper" and
   add more sdb specific job.
- Limitation:
  We use sdb client to push/install, but it has
  some issues related with exit code and error message.
  it will be fixed soon by sdb developers.

Change-Id: I5e6f06b36f8a354e79a9c42386042c3ca7b3c89a
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agodnd: make basic event handling structure
Munkyu Im [Mon, 4 Apr 2016 11:03:36 +0000 (20:03 +0900)]
dnd: make basic event handling structure

Change-Id: I54b74b47c1b28732ccb84d3f9ea7cb3b61133ae7
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoreboot: add popup message & rename 'Force Reboot'
Jinhyung Choi [Thu, 31 Mar 2016 06:29:34 +0000 (15:29 +0900)]
reboot: add popup message & rename 'Force Reboot'

the location of reboot menu item is changed from first depth to
second depth under Advanced menu.

Change-Id: Ie471387ff45807f8819439ee16336b07b0053ab4
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
9 years agoMerge branch 'tizen_3.0_develop' into tizen_3.0
Jinhyung Jo [Wed, 23 Mar 2016 09:24:56 +0000 (18:24 +0900)]
Merge branch 'tizen_3.0_develop' into tizen_3.0

Change-Id: I8324a0a23ed3c63fb46f624b8b7f4b4b409e55e0
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
9 years agopackage: update version (2.5.3)
Jinhyung Jo [Tue, 22 Mar 2016 08:50:27 +0000 (17:50 +0900)]
package: update version (2.5.3)

Change-Id: I173d40b8b923ddfbdc62a22365194e99e3057f71
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
9 years agoYaGL: skip GL_ARB_ES3_compatibility check
Vasiliy Ulyanov [Wed, 16 Mar 2016 09:04:14 +0000 (12:04 +0300)]
YaGL: skip GL_ARB_ES3_compatibility check

ES3 compatibility extension seems to cause problems with yagl.
Disable autodetection for the moment.

Change-Id: I63f58f81551c25674586961a437c4e82966992b5
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years agogui: add "window_position" startup option as optional parameter
GiWoong Kim [Tue, 8 Mar 2016 08:25:16 +0000 (17:25 +0900)]
gui: add "window_position" startup option as optional parameter

Open the emulator window at given position if qemu has a
"window_position" variable in startup options.
ex) emulator-x86.sh .../vm_launch.conf --window_position 100,100

Change-Id: I935ffea3e7aa67ccfa30a8152a1aacab275bf0e7
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agodisplay: add missing initialization
GiWoong Kim [Mon, 14 Mar 2016 09:00:05 +0000 (18:00 +0900)]
display: add missing initialization

Change-Id: Ib368c3dd8c8e84c08c6f001d221f10608e57aa9f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoMerge branch 'tizen_3.0_develop' into tizen_3.0
SeokYeon Hwang [Tue, 8 Mar 2016 09:03:44 +0000 (18:03 +0900)]
Merge branch 'tizen_3.0_develop' into tizen_3.0

Change-Id: Iee1de794b932ab65997663a4de951d525cee15a1
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agopackage: update version (2.5.2)
Jinhyung Jo [Tue, 8 Mar 2016 08:21:48 +0000 (17:21 +0900)]
package: update version (2.5.2)

Change-Id: I614f48f54589529fbce0922d2f4db7b054079f95
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
9 years agogui: remove memory leak
GiWoong Kim [Fri, 4 Mar 2016 09:13:36 +0000 (18:13 +0900)]
gui: remove memory leak

delete MainWindow class before emulator exit

Change-Id: Id694cf58d2eebfbb2237e86a4fb7ea42d205bcb1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoaudio: support audio hot-plug event for Windows
Byeongki Shin [Tue, 23 Feb 2016 06:27:04 +0000 (15:27 +0900)]
audio: support audio hot-plug event for Windows

Because dsound audio doesn't support audio endpoint event,
it has failed to initialize without speaker or mic connection.
Now, dsound supports audio endpoint event.
Therefore, emulator can play sound
even if a speaker is connected to host lately.

- Because the COM initialization requires for each thread,
  in order to share the object, a thread is used as init and event handler.
- When event occurs, the notification callback sends it to init thread.
  If we handle the event in notification callback, it would make deadlock.

Change-Id: Iaeef62d6c5b0952f77f0040abea9bfc7778be536
Signed-off-by: Byeongki Shin <bk0121.shin@samsung.com>
9 years agomaru-tablet: fix unexpected shutdown issue
Jinhyung Jo [Thu, 3 Mar 2016 09:07:02 +0000 (18:07 +0900)]
maru-tablet: fix unexpected shutdown issue

If a user uses this device to hard, the emulator dies unexpectedly.
Its reason is to use the virtio queue.
The tablet device accesses the queue that is not prepared
and then releases it.
Fix the issue and refactoring the code.
 - improve the use of the virtio queue
 - remove unused structure & variables
 - pthread mutex to qemu mutex
 - remove unnecessary function declaration
 - clean up logs.

Change-Id: I8adfd2e89c88185547333a45462eceaa1f061c5b
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
9 years agorotary: correct use of virtioqueue to fix bug
Jinhyung Jo [Tue, 23 Feb 2016 08:28:18 +0000 (17:28 +0900)]
rotary: correct use of virtioqueue to fix bug

When using the rotary device, the segmentation fault occurs in the host.
Its cause is due to use the virtioqueue in the wrong way.
So correct with the kernel driver side.
Fix the fault and simplify complex sources.

Conflicts:
    ;; VIRTIO_ROTARY to VIRTIO_MARU_ROTARY
tizen/src/hw/virtio/maru_virtio_rotary.c

Change-Id: I85d0517a6567de742bbd56cd756faa9b8f47e58c
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
(cherry picked from commit b4ec658343d4808aba2f4f3d04f26f65f3cb73c2)

9 years agohwkey: add XML schema for color-filled hover
GiWoong Kim [Wed, 2 Mar 2016 08:18:52 +0000 (17:18 +0900)]
hwkey: add XML schema for color-filled hover

<form>
 ...
    <hover fill="true">
        <color R="255" G="255" B="255"/>
    </hover>
</form>

Change-Id: I1de124cdb6f82c84294364872136d01e0a6c9b3f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agomenu: modify event filter rule
GiWoong Kim [Mon, 22 Feb 2016 07:03:43 +0000 (16:03 +0900)]
menu: modify event filter rule

Do not filter out a right-click event when it is triggerd
at outside of menu. But, still need a event filtering at
inside of menu to prevent the selection mistake.

Change-Id: Ieb453a6d9b68cbce875cc7a58e805fa73a47adcf
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoskin: delete legacy skin resources
GiWoong Kim [Fri, 15 Jan 2016 05:39:34 +0000 (14:39 +0900)]
skin: delete legacy skin resources

- mobile-320x480-3btn
- wearableO-360x360-1btn

Change-Id: I9640a6706b1ff5108a525ecf8bc26e51287e14cc
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agohwkey: add Back key to wearable-general skin for Qt GUI
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>
9 years agoconfigure: use TIZEN_SDK_DEV directory that is really exist
SeokYeon Hwang [Wed, 24 Feb 2016 07:22:57 +0000 (16:22 +0900)]
configure: use TIZEN_SDK_DEV directory that is really exist

Change-Id: I5c4cf7b7f0b987de59fd158816098a31fb2ec168
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoutil: remove/replace unnecessary system(3) call
Sangho Park [Mon, 15 Feb 2016 03:38:07 +0000 (12:38 +0900)]
util: remove/replace unnecessary system(3) call

* Mac OS X
** use uname(3) instead of system("uname")
** remove system("java -version")
* Linux
** Try to read /etc/lsb-release
** Add get_number_of_processors()
** Remove redundant codes

Change-Id: I0a73b27ab35a6ab9dd774455b33182abb15ad481
Signed-off-by: Sangho Park <sangho.p@samsung.com>
9 years agodisplay: protect the integrity of the input devices
GiWoong Kim [Fri, 5 Feb 2016 03:46:51 +0000 (12:46 +0900)]
display: protect the integrity of the input devices

When user changes widget focus while mouse dragging, it causes a mismatch
problem between press event and release event.
To protect the integrity of the input devices, press event of mouse
or touch screen device should be canceled(by auto-generated release event)
if user opens context popup menu or enable the moving mode.

Change-Id: Id0817d1ee826b5576fdfe058ce98e964d3d2ae72
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoecs: apply code conventions
ChulHo Song [Mon, 15 Feb 2016 06:10:29 +0000 (15:10 +0900)]
ecs: apply code conventions

Change-Id: I93f9cd75492f33259adeaa2ca5f237648f5e0312
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
9 years agoconfigure: cross-build with TIZEN_SDK_DEV_PATH
Sangho Park [Mon, 15 Feb 2016 07:17:37 +0000 (16:17 +0900)]
configure: cross-build with TIZEN_SDK_DEV_PATH

When TIZEN_SDK_DEV_PATH env. variable is already exported,
cross-compiling fails because TIZEN_SDK_DEV_PATH is for native build.
Append CROSS_PREFIX to TIZEN_SDK_DEV_PATH and support cross-build.

Change-Id: I51218f895e9131153ac27ff2cdc8a8de53018379
Signed-off-by: Sangho Park <sangho.p@samsung.com>
9 years agotouch: minor cleanup for touch event
GiWoong Kim [Thu, 4 Feb 2016 07:28:21 +0000 (16:28 +0900)]
touch: minor cleanup for touch event

- remove dependency with emul_state
- modify function and variable names

Change-Id: I675bc802ea9ee54e7b587f7f5441623cdd71ac12
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoosutil: minor refactoring on vm_lock
Sangho Park [Mon, 1 Feb 2016 06:03:53 +0000 (15:03 +0900)]
osutil: minor refactoring on vm_lock

* Remove assertion on remove vm_lock because lock_file can be
  INVALID_HANDLE_VALUE or -1
* Add assertion on locking vm
* Remove redundant g_strdup()

Change-Id: Ica262b8522aeec26561e5f06b46295b48159b307
Signed-off-by: Sangho Park <sangho.p@samsung.com>
9 years agonet_helper: use qemu_socket() instead of socket()
Sangho Park [Mon, 1 Feb 2016 06:14:32 +0000 (15:14 +0900)]
net_helper: use qemu_socket() instead of socket()

* Change socket() to qemu_socket()
** qemu_socket() turns on SOCK_CLOEXEC option.
* Remove unused functions, socket_close() and socket_close_handler()

Change-Id: I8878bd50b2a6a78680583a5922c597378c67eea3
Signed-off-by: Sangho Park <sangho.p@samsung.com>
9 years agosource: add braces to if statements
ChulHo Song [Wed, 3 Feb 2016 02:30:23 +0000 (11:30 +0900)]
source: add braces to if statements

Change-Id: Iccd3f70f0773099c2d38bddb86e7dc1fc3c75eca
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
(cherry picked from commit c390c54dbc94019b5725d1e8b7890bba3e46742e)

9 years agosdcard: send notification to ECP when sdcard state is changed
ChulHo Song [Fri, 29 Jan 2016 08:45:14 +0000 (17:45 +0900)]
sdcard: send notification to ECP when sdcard state is changed

Change-Id: Ic8804fc221058cae14bd74509c2ca84b6b45c29c
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
(cherry picked from commit 7e051a5400555016e4656f9635e0fe4b26409405)

9 years agosdcard: add trailing backslash only if path has no trailing backslash
ChulHo Song [Fri, 29 Jan 2016 07:31:30 +0000 (16:31 +0900)]
sdcard: add trailing backslash only if path has no trailing backslash

Change-Id: I350f81df3c9ddc0408a21a1b5673ed0dcf8c378c
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
(cherry picked from commit 47774e6252defe89cb31fbc06b684e134e3bbcde)

9 years agoosutil: fix bugs on locking sdcard in Windows
Sangho Park [Mon, 1 Feb 2016 02:11:26 +0000 (11:11 +0900)]
osutil: fix bugs on locking sdcard in Windows

* Remove 'pid' on filename of sdcard lock. It makes that only a single emulator
  can attach the same sdcard image.
* Check whether sdcard is already attached or not when try to attach sdcard
* Check whether sdcard is attached and same when try to detach sdcard
* Refactoring
** Just CloseHandle() when detach sdcard. It is sufficient to remove the
   lock file
** Remove redundant memory allocation

Change-Id: Ib6611dceffa5b9e6dfaf10fb450b9c7b218687b7
Signed-off-by: Sangho Park <sangho.p@samsung.com>
9 years agoosutil: lock the sdcard image instead of lock file
Sangho Park [Thu, 28 Jan 2016 04:03:18 +0000 (13:03 +0900)]
osutil: lock the sdcard image instead of lock file

Lock a sdcard image file to use and prevent other emulator from
using the sdcard image. Additional lock file is not needed.

Change-Id: Ie39cf7d1a66c7047593968caec3970c907eee935
Signed-off-by: Sangho Park <sangho.p@samsung.com>
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoosutil: modified posix lock mechanism
Sangho Park [Wed, 27 Jan 2016 09:09:37 +0000 (18:09 +0900)]
osutil: modified posix lock mechanism

After failing to lock file, check the lock whether other emulator locks
the file or not. If other emulator does not lock the file, try again to
lock file after sleep.

Change-Id: I9cfc3c4af395eb0d9e113eefb83d3953b431a19c
Signed-off-by: Sangho Park <sangho.p@samsung.com>
9 years agodisplay: no need to consider multi-touch drawing when mouse enabled
GiWoong Kim [Tue, 26 Jan 2016 05:51:08 +0000 (14:51 +0900)]
display: no need to consider multi-touch drawing when mouse enabled

Change-Id: I1dd6cdd16155249be4a3376904e98a496b317cc5
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agomouse: synchronize mouse position between guest and host after moving
GiWoong Kim [Mon, 25 Jan 2016 11:46:46 +0000 (20:46 +0900)]
mouse: synchronize mouse position between guest and host after moving

Change-Id: Ia42b64d1a89f678e9b21ed37c31a2da922c10a8f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agomenu: modified move function
GiWoong Kim [Tue, 19 Jan 2016 11:40:06 +0000 (20:40 +0900)]
menu: modified move function

Let's keep the emulator window covered with transparent widget
while moving, to handle mouse events conveniently. However,
display region is excepted. Display can be drawn black or frozen
screen if it has a transparent layer on it. So, to avoid this issue,
display handles mouse events directly while moving, instead of
helping of transparent widget.

Change-Id: I37d69f1c041843fdaa61244268d06bbf0af7c20b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoYaGL: modify native configs enumerator in OS X
Jinhyung Jo [Wed, 20 Jan 2016 08:03:46 +0000 (17:03 +0900)]
YaGL: modify native configs enumerator in OS X

Some apps want to get the config without multisampling.
Currently, YaGL module provides only one config with multisampling attribute.
So the apps fail because they can not find the matched config in OS X.
So add one more pixelformat without multisampling attribute & add related tasks.

Change-Id: Ibf41243110d9212b9a62e4006dfa6f9c4356291f
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
(cherry picked from commit 2c9de13bde79583b1f6dfe78fc16f3cfcec99973)

9 years agoosutil-win32: always get java path from registry
Jinhyung Jo [Mon, 25 Jan 2016 10:44:25 +0000 (19:44 +0900)]
osutil-win32: always get java path from registry

Regardless of the architecture of the emulator(32bit or 64bit),
always gets the java execution path from Windows registry.
This commit would be helpful to reduce the java execution failure.

Conflicts:
tizen/src/util/osutil-win32.c

Change-Id: I4680c888292a0c11d85f7a662708faf8973c6bc4
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
(cherry picked from commit 6eb715fd787c0f25a519903b8a552d8e95d0e6b7)

9 years agoMerge branch 'tizen_3.0_develop' into tizen_3.0
SeokYeon Hwang [Tue, 26 Jan 2016 08:09:56 +0000 (17:09 +0900)]
Merge branch 'tizen_3.0_develop' into tizen_3.0

Change-Id: I7af69e2eea051d06bf5264501a289006b1c74624

9 years agopackage: update version (2.5.1)
SeokYeon Hwang [Tue, 26 Jan 2016 08:08:46 +0000 (17:08 +0900)]
package: update version (2.5.1)

Change-Id: Ia4e204f96c0a027f12a5692f93839e6e6760b6fa
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoosutil: change locking mechanism
SeokYeon Hwang [Wed, 6 Jan 2016 10:00:49 +0000 (19:00 +0900)]
osutil: change locking mechanism

Using file lock mechanism instead of shared memory. Emulator-manager
can share same file lock for checking whether same VM is running or not.

On Linux and MacOSX, POSIX file lock is used. If it is failed to lock file
and the file is not locked with valid type and record, it will try again to
lock file after sleeping.

On Windows, emulator will stop before checking lock because platform
image file and kernel log file are aleady opened with exclusive write
lock by pre-executed emulator. But it is still useful for
emulator-manager.

In addition, header files are cleaned up.

Change-Id: Ibedfac3503fb0d19956a7fbed6736337be8f2223
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Sangho Park <sangho.p@samsung.com>
9 years agomenu: refactoring for Move function
GiWoong Kim [Fri, 15 Jan 2016 07:47:28 +0000 (16:47 +0900)]
menu: refactoring for Move function

- cancel the moving mode before the layout changing
- use override functions instead of event filter
- delete unnecessary functions
- modify function and variable names

Change-Id: I0e97f3c9816ab4f107796bba0616a6ab590184ff
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agokeyboard: ignore key events while the display is off
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)

9 years agoshortcuts: changed the shortcut for Power function
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)

9 years agoshortcuts: change Scale function shortcuts
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>
9 years agoqt5_msgbox: fix the bug of an abnormal execution in Windows
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>
9 years agogui: delete meaningless lines
GiWoong Kim [Wed, 13 Jan 2016 11:15:51 +0000 (20:15 +0900)]
gui: delete meaningless lines

QWidget's showEvent function is empty.

Change-Id: I55feb0a06e7e3aa374ec62667f62009d6d9c4c2c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>