sdk/emulator/qemu.git
10 years agomenu: disable Always on Top menu 70/26270/2
GiWoong Kim [Wed, 20 Aug 2014 05:23:58 +0000 (14:23 +0900)]
menu: disable Always on Top menu

Change-Id: I088273f7e9faa5eecf8e509efc806b6b5725d250
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agosdb: fix sdbd port to a dynamic number 11/26211/1
Alice Liu [Tue, 5 Aug 2014 11:12:49 +0000 (19:12 +0800)]
sdb: fix sdbd port to a dynamic number

Currently sdbd port is a dynamic number which depends
on the parameter of sdbd '--listen-port' option. The
sdbd port in the first emulator is diffrent from that
in the second emulator. This patch fixes the issue
that the second emulator cannot be recognized.

Signed-off-by: Alice Liu <alice.liu@intel.com>
Change-Id: Ic034283d0029c03fd835320104506bd9129eed90

10 years agoHAX: fix performance degradation on HAX 10/26210/1
SeokYeon Hwang [Fri, 1 Aug 2014 04:04:32 +0000 (13:04 +0900)]
HAX: fix performance degradation on HAX

HAX should listen to only main memory address space.
This patch would enhance performance on Windows and MacOS.

Change-Id: I3589de6db5846329314cfb3ed98f17355efe4fe7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "ui: clean up the allocated memory when screen turns off" into features/qt_dr
SeokYeon Hwang [Mon, 18 Aug 2014 11:05:44 +0000 (04:05 -0700)]
Merge "ui: clean up the allocated memory when screen turns off" into features/qt_dr

10 years agoui: clean up the allocated memory when screen turns off 34/26134/1
hyunjin816.lee [Mon, 18 Aug 2014 08:46:20 +0000 (17:46 +0900)]
ui: clean up the allocated memory when screen turns off

register MaruDisplayChangeListener fini function and clean up some of allocated memory
In order to clean up the mainwindow instance, it is neccessary to modify

Change-Id: I1e15d15b1afba71a21a95a62f8bf01789e6d7ab1
Signed-off-by: hyunjin816.lee <hyunjin816.lee@samsung.com>
10 years agoyagl: modified enable_yagl flag 26/26126/1
GiWoong Kim [Mon, 18 Aug 2014 06:07:17 +0000 (15:07 +0900)]
yagl: modified enable_yagl flag

Change-Id: I326f454c639d252afc6e51129163d4bca5d0fc7d
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoui: add boilerplate 25/26125/1
GiWoong Kim [Mon, 18 Aug 2014 05:39:21 +0000 (14:39 +0900)]
ui: add boilerplate

Change-Id: I6b64a39d07ef231b3e45e8ec60e7b107d8be3e22
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "VIGS/qt5: now working on mac os x" into features/qt_dr
SeokYeon Hwang [Mon, 18 Aug 2014 05:31:00 +0000 (22:31 -0700)]
Merge "VIGS/qt5: now working on mac os x" into features/qt_dr

10 years agoMerge "VIGS/qt5: fix scaling shader for GL3" into features/qt_dr
SeokYeon Hwang [Mon, 18 Aug 2014 05:30:49 +0000 (22:30 -0700)]
Merge "VIGS/qt5: fix scaling shader for GL3" into features/qt_dr

10 years agoMerge "skin: using QUrl::fromLocalFile" into features/qt_dr
SeokYeon Hwang [Mon, 18 Aug 2014 05:30:38 +0000 (22:30 -0700)]
Merge "skin: using QUrl::fromLocalFile" into features/qt_dr

10 years agoMerge changes Ic8687f08,I8ffa1d54 into features/qt_dr
SeokYeon Hwang [Mon, 18 Aug 2014 05:30:24 +0000 (22:30 -0700)]
Merge changes Ic8687f08,I8ffa1d54 into features/qt_dr

* changes:
  VIGS/qt5: respect maru_brightness
  VIGS/qt5: now working on win32

10 years agoMerge "emulator: add --export-dynamic linker option" into features/qt_dr
SeokYeon Hwang [Mon, 18 Aug 2014 03:24:30 +0000 (20:24 -0700)]
Merge "emulator: add --export-dynamic linker option" into features/qt_dr

10 years agoskin: using QUrl::fromLocalFile 22/26122/1
GiWoong Kim [Mon, 18 Aug 2014 03:05:38 +0000 (12:05 +0900)]
skin: using QUrl::fromLocalFile

This function accepts paths separated by slashes
as well as the native separator for this platform.

Change-Id: I99364b1de298cce9e8918378ce67ac58cbba5e97
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoVIGS/qt5: now working on mac os x 70/26070/1
Stanislav Vorobiov [Fri, 15 Aug 2014 07:35:43 +0000 (11:35 +0400)]
VIGS/qt5: now working on mac os x

Change-Id: I64a4453ed29fcfdbde855d981ca4f9fbba00a4b8
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoVIGS/qt5: fix scaling shader for GL3 37/26037/1
Stanislav Vorobiov [Thu, 14 Aug 2014 12:42:26 +0000 (16:42 +0400)]
VIGS/qt5: fix scaling shader for GL3

should use texture instead of texture2D

Change-Id: Ib0582f8c503346d9e6a22ece0fc597055340a95a
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoVIGS/qt5: respect maru_brightness 79/25979/1
Stanislav Vorobiov [Wed, 13 Aug 2014 12:10:47 +0000 (16:10 +0400)]
VIGS/qt5: respect maru_brightness

Change-Id: Ic8687f08bd03bdbb6b6984661b40eb5989f7a8b8
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoemulator: add --export-dynamic linker option 71/25971/1
GiWoong Kim [Wed, 13 Aug 2014 09:35:48 +0000 (18:35 +0900)]
emulator: add --export-dynamic linker option

When creating a dynamically linked executable,
add all symbols to the dynamic symbol table.
The dynamic symbol table is the set of symbols
which are visible from dynamic objects at run time.

Change-Id: Ie5fe683d743ece6a904e923bd4ca2c24f159705c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoVIGS/qt5: now working on win32 70/25970/1
Stanislav Vorobiov [Wed, 13 Aug 2014 09:23:58 +0000 (13:23 +0400)]
VIGS/qt5: now working on win32

Change-Id: I8ffa1d5463d2c72377d419d733c1186856ca4f7d
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agofix win32 build and mutex/condvar use before init 55/25955/1
Stanislav Vorobiov [Wed, 13 Aug 2014 07:49:37 +0000 (11:49 +0400)]
fix win32 build and mutex/condvar use before init

Change-Id: Ie0e07bca6c7e7254b52d437e8adfa65d9dd5d3a1
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoMerge "VIGS/qt5: support sw backend" into features/qt_dr
SeokYeon Hwang [Wed, 13 Aug 2014 05:17:19 +0000 (22:17 -0700)]
Merge "VIGS/qt5: support sw backend" into features/qt_dr

10 years agoMerge "VIGS: introduce frontends" into features/qt_dr
SeokYeon Hwang [Wed, 13 Aug 2014 05:17:08 +0000 (22:17 -0700)]
Merge "VIGS: introduce frontends" into features/qt_dr

10 years agoMerge "ui: clean up QML" into features/qt_dr
SeokYeon Hwang [Wed, 13 Aug 2014 05:16:56 +0000 (22:16 -0700)]
Merge "ui: clean up QML" into features/qt_dr

10 years agoMerge "ui: modify Popup menu that non-blocking was not adjusted before" into features...
SeokYeon Hwang [Wed, 13 Aug 2014 05:16:43 +0000 (22:16 -0700)]
Merge "ui: modify Popup menu that non-blocking was not adjusted before" into features/qt_dr

10 years agoVIGS/qt5: support sw backend 24/25924/1
Stanislav Vorobiov [Tue, 12 Aug 2014 13:29:55 +0000 (17:29 +0400)]
VIGS/qt5: support sw backend

sw backend is working again, but still need
to handle skin rotation properly

Change-Id: I8f42f562aef839ff257a87db9fb346af9bf3c907
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoVIGS: introduce frontends 03/25903/1
Stanislav Vorobiov [Mon, 11 Aug 2014 17:32:31 +0000 (21:32 +0400)]
VIGS: introduce frontends

We need to be able to use both old offscreen approach and
new qt5-based onscreen approach. For that to work we separate
vigs_server into 2 subclasses: onscreen and offscreen:

onscreen subclass has almsot no-op update method, it schedules
composite work on rendering thread and expects a client (qt5) to
call 'graphic_hw_text_update' to trigger rendering.
'graphic_hw_text_update' is used just because it's the only
custom GraphicHwOp available, it's basically a hack, but we have no
choice, QEMU graphics console is not "direct rendering aware"

offscreen subclass behaves as old code behaved, i.e. update method
is a memcpy to QEMU surface and it also schedules composite work on
rendering thread. offscreen subclass manages its own work_queue, once
composite work is done it schedules another work on own work_queue that
does glReadPixels, that's done in order not to stall the rendering thread.
'graphic_hw_text_update' is a no-op in this case

Change-Id: I412cba41a123b2e8946112efa75b9ed21368ca84
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoui: clean up QML 87/25887/2
GiWoong Kim [Tue, 12 Aug 2014 04:12:19 +0000 (13:12 +0900)]
ui: clean up QML

delete a QtQuickItem
remove warnings
modified varable & function names

Change-Id: Ic8044786c7f7e3163e16503c3408fc441ce992a8
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoui: modify Popup menu that non-blocking was not adjusted before 68/25868/1
hyunjin816.lee [Mon, 11 Aug 2014 11:26:59 +0000 (20:26 +0900)]
ui: modify Popup menu that non-blocking was not adjusted before

it has adjusted Shell, Control panel, Force close menu

Change-Id: Ie95023482eeac50eac3a051f16243b42cee6eda1
Signed-off-by: hyunjin816.lee <hyunjin816.lee@samsung.com>
10 years agomenu: minor enhancements for menu 29/25829/1
GiWoong Kim [Fri, 8 Aug 2014 06:24:22 +0000 (15:24 +0900)]
menu: minor enhancements for menu

add ram size to Detailed Info dialog
add logging telnet port to Detailed Info dialog
add SDK vesion to About dialog
add build date to About dialog
add snapshot name to About dialog
add hyper link to About dialog & etc

Change-Id: Ibf5e0d4eb751174b15921d45ad49558250868694
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: controller can connected to the menu action 23/25623/1
GiWoong Kim [Thu, 7 Aug 2014 10:09:33 +0000 (19:09 +0900)]
menu: controller can connected to the menu action

Change-Id: Idd67931bb1bc410424a0f56523f83750ff196386
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "display: added display update when skin is rotated or scaled" into features...
SeokYeon Hwang [Thu, 7 Aug 2014 06:00:00 +0000 (23:00 -0700)]
Merge "display: added display update when skin is rotated or scaled" into features/qt_dr

10 years agovirtio-9p: fix compilation errors on Windows 13/25513/2
Kitae Kim [Mon, 4 Aug 2014 02:16:38 +0000 (11:16 +0900)]
virtio-9p: fix compilation errors on Windows

Change-Id: I568a19ba46e8f0c9b9c92ef8c3e82ff294c02ff9
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agodebugch: Fix DEBUGCH and open flag 12/25512/2
Munkyu Im [Wed, 30 Jul 2014 07:49:52 +0000 (16:49 +0900)]
debugch: Fix DEBUGCH and open flag

Add O_APPEND to support writing stdout, stderr logs.
Set global variable for checking initailize earlier.
So succeded to read DEBUGCH file now.

Change-Id: I9eaef10ce81e138b613223417985acf27533b7bc
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agoui: convert controller widget type to dialog 98/25498/2
GiWoong Kim [Wed, 6 Aug 2014 07:06:56 +0000 (16:06 +0900)]
ui: convert controller widget type to dialog

convert controller widget type to dialog
and remove unnecessary moc build line at Makefile

Change-Id: I63c4b610c26f18d720cfa34750f4ab17a8634c76
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoui: modify the class name to avoid confusing 92/25492/2
GiWoong Kim [Wed, 6 Aug 2014 05:36:26 +0000 (14:36 +0900)]
ui: modify the class name to avoid confusing

layout -> form

Change-Id: I1d1c57e716df7fedcadbd3baf1cbdd4490c2b273
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: add detailed info dialog contents 68/25468/3
GiWoong Kim [Tue, 5 Aug 2014 08:11:54 +0000 (17:11 +0900)]
menu: add detailed info dialog contents

Change-Id: Ib40c25b932edd432683e1db4cbd12f556aca81e9
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agodisplay: added display update when skin is rotated or scaled 08/25508/1
sungmin ha [Wed, 6 Aug 2014 09:08:22 +0000 (18:08 +0900)]
display: added display update when skin is rotated or scaled

Change-Id: I4fa33c3b2e74d1a6102dde95c14f7ea323aeb11b
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge "menu: add about dialog contents" into features/qt_dr
Sangho Park [Tue, 5 Aug 2014 11:16:06 +0000 (04:16 -0700)]
Merge "menu: add about dialog contents" into features/qt_dr

10 years agomenu: add about dialog contents 28/25428/1
GiWoong Kim [Tue, 5 Aug 2014 02:19:41 +0000 (11:19 +0900)]
menu: add about dialog contents

Change-Id: Ic24dc3d2e1b53977ee962643a1cd9e8267aa3544
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoui: add app window icon 25/25425/2
hyunjin816.lee [Tue, 5 Aug 2014 01:24:49 +0000 (10:24 +0900)]
ui: add app window icon

Change-Id: If9cc0b30fa3d811c03e4929478a7c6eefed40314
Signed-off-by: hyunjin816.lee <hyunjin816.lee@samsung.com>
10 years agoMerge "ui: modify Popup menu for non-blocking" into features/qt_dr
Sangho Park [Tue, 5 Aug 2014 01:40:24 +0000 (18:40 -0700)]
Merge "ui: modify Popup menu for non-blocking" into features/qt_dr

10 years agoMerge "menu: create controller menu" into features/qt_dr
Sangho Park [Tue, 5 Aug 2014 01:40:09 +0000 (18:40 -0700)]
Merge "menu: create controller menu" into features/qt_dr

10 years agoui: modify Popup menu for non-blocking 40/25340/3
hyunjin816.lee [Mon, 4 Aug 2014 06:41:06 +0000 (15:41 +0900)]
ui: modify Popup menu for non-blocking

it has also adjusted vminfo and about dialog

Change-Id: Ibc2914c05eff944f62eac41dd0a7f991edfc1d08
Signed-off-by: hyunjin816.lee <hyunjin816.lee@samsung.com>
10 years agocontextmenu: added shell and ecp menu operation 56/25356/1
sungmin ha [Mon, 4 Aug 2014 09:51:58 +0000 (18:51 +0900)]
contextmenu: added shell and ecp menu operation

deleted unused code in contextmenu.cpp

Change-Id: Ic0dc57039e688acb6d24a1d6bb795d8b133025d6
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agomenu: create controller menu 25/25325/3
GiWoong Kim [Mon, 4 Aug 2014 04:26:21 +0000 (13:26 +0900)]
menu: create controller menu

Change-Id: I791db0ba0e0b77e9ae5d4cf884b2c97a3ade1002
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoui: read skin path from qemu startup option 17/25317/1
GiWoong Kim [Fri, 1 Aug 2014 11:58:51 +0000 (20:58 +0900)]
ui: read skin path from qemu startup option

layout.qml(tizen/ui/resource/[SKIN_NAME]/) file must exist in there

Change-Id: I6588f2f3f34eda4b5c96584fc8fdae50415e99fd
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "ui: add mouse handler to controller widget" into features/qt_dr
SeokYeon Hwang [Fri, 1 Aug 2014 12:09:16 +0000 (05:09 -0700)]
Merge "ui: add mouse handler to controller widget" into features/qt_dr

10 years agoMerge "keyboard: added host keyboard operation" into features/qt_dr
SeokYeon Hwang [Fri, 1 Aug 2014 12:09:04 +0000 (05:09 -0700)]
Merge "keyboard: added host keyboard operation" into features/qt_dr

10 years agoui: add mouse handler to controller widget 83/25283/1
GiWoong Kim [Fri, 1 Aug 2014 09:29:59 +0000 (18:29 +0900)]
ui: add mouse handler to controller widget

desc

Change-Id: Ia815064d952151ac2eaad37178e5c73d64d26e4a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agokeyboard: added host keyboard operation 57/25257/3
sungmin ha [Fri, 1 Aug 2014 06:13:06 +0000 (15:13 +0900)]
keyboard: added host keyboard operation

Change-Id: I5f022b3f189a9b184c530c794d8aa122b0f92df6
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoui: add controller widget & remove unused line 15/25215/1
GiWoong Kim [Thu, 31 Jul 2014 09:08:15 +0000 (18:08 +0900)]
ui: add controller widget & remove unused line

Change-Id: I441d92cac9e4759c293afe14baddae6678cf509a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "ui: get UI info from emul_state" into features/qt_dr
SeokYeon Hwang [Thu, 31 Jul 2014 05:50:37 +0000 (22:50 -0700)]
Merge "ui: get UI info from emul_state" into features/qt_dr

10 years agoMerge "touch: added mouse move handler for Qt UI" into features/qt_dr
SeokYeon Hwang [Thu, 31 Jul 2014 05:49:54 +0000 (22:49 -0700)]
Merge "touch: added mouse move handler for Qt UI" into features/qt_dr

10 years agoMerge "contextmenu: added close menu operation" into features/qt_dr
SeokYeon Hwang [Thu, 31 Jul 2014 05:49:42 +0000 (22:49 -0700)]
Merge "contextmenu: added close menu operation" into features/qt_dr

10 years agoMerge "UI: modified makefile.objs" into features/qt_dr
SeokYeon Hwang [Thu, 31 Jul 2014 05:48:51 +0000 (22:48 -0700)]
Merge "UI: modified makefile.objs" into features/qt_dr

10 years agoui: get UI info from emul_state 84/25184/2
GiWoong Kim [Thu, 31 Jul 2014 02:24:16 +0000 (11:24 +0900)]
ui: get UI info from emul_state

get Qt UI information from emul_state
added key list to reverse-portrait/landscape mobile skin

Change-Id: I0645daf0feae8b7b60bb64ab3134d98cfbcd6392
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocontextmenu: added close menu operation 25/25125/4
sungmin ha [Wed, 30 Jul 2014 05:22:49 +0000 (14:22 +0900)]
contextmenu: added close menu operation

organized extern codes
disable mainwindow's label

Change-Id: I3a568798549ddb8cd972dd18109504c9e2d148c5
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agotouch: added mouse move handler for Qt UI 41/25141/1
GiWoong Kim [Wed, 30 Jul 2014 08:12:53 +0000 (17:12 +0900)]
touch: added mouse move handler for Qt UI

support a dragging emulation based on coordinate system of skin

Change-Id: I44b56a8f284157586b75d0a32be86cd773271d19
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoUI: modified makefile.objs 28/25128/1
jinhyung.jo [Wed, 30 Jul 2014 06:02:49 +0000 (15:02 +0900)]
UI: modified makefile.objs

Change the location of the intermediate file created by rcc bin

Change-Id: I1aff4ce883c66fec6cefa2ffbf9320d6ff274215
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agoqt5_supplement: remove extra QApplication initialization 26/25126/1
Stanislav Vorobiov [Wed, 30 Jul 2014 05:43:49 +0000 (09:43 +0400)]
qt5_supplement: remove extra QApplication initialization

Change-Id: I11af9aab4a77f6b7b8abff2b8eff33f423ed369d
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoVIGS/qt5: support rotation 07/25107/2
Stanislav Vorobiov [Tue, 29 Jul 2014 14:01:35 +0000 (18:01 +0400)]
VIGS/qt5: support rotation

Rotation is supported via ortho
multiplication

Change-Id: I1f569e259a61b200adb707104b066a4f9fa69213
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoVIGS/qt5: support scaling 97/25097/2
Stanislav Vorobiov [Tue, 29 Jul 2014 12:13:34 +0000 (16:13 +0400)]
VIGS/qt5: support scaling

Scaling is now supported using bicubic
interpolation in fragment shader

Change-Id: I4312e2c573859560d763683ef57c458223f8eec2
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoVIGS/qt5: move swapBuffers to separate thread 95/25095/2
Stanislav Vorobiov [Tue, 29 Jul 2014 10:34:07 +0000 (14:34 +0400)]
VIGS/qt5: move swapBuffers to separate thread

With some OpenGL implementations swapBuffers may take
considerable amount of time (up to 16ms - i.e. 60fps) to
complete. Since window rendering happens on vmexit
we move swapBuffers to separate thread in order not to
stall the guest

Change-Id: I92c9caee94709e656e842f8d9bc8258c25a9d453
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoVIGS: Initial qt5 display support 78/25078/3
Stanislav Vorobiov [Mon, 28 Jul 2014 17:07:06 +0000 (21:07 +0400)]
VIGS: Initial qt5 display support

There're few things to note:
* X11-only, support for other platforms is to be implemented
* Qt5 only allows accessing raw GLX/WGL/CGL OpenGL contexts and X11 display
  through 'gui-private' package, i.e. gui-private must be installed in system:
  sudo apt-get install qtbase5-private-dev
* 'gui-private' is not stable interface, it depends on Qt minor version, but
  we don't care since we'll have our own Qt build anyway (in order to support windows and mac)

TODO:
* resizing - use bicubic shader
* rotation - use y-flipped ortho matrix
* move swapBuffers to background thread - to avoid block-waiting with some drivers
* support remaining platforms (windows, mac)
* improve Qt5/qemu interoperability - currently there're hacks such
  as global QtApplication object, global QOpenGLContext object, etc. this
  is all because of QEMU's graphics console architecture, currently it's
  completely useless for us, it doesn't help us, it just stands in our way
  and forces us to workaround. It's probably better to just drop it and
  perform the rendering on our own...

Change-Id: Ib613b1457e7bf7166b019ad916178ecdba168d29
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoui: modify log format temporary 85/25085/2
GiWoong Kim [Tue, 29 Jul 2014 06:34:50 +0000 (15:34 +0900)]
ui: modify log format temporary

add time information to logging
delete unused files and lines

Change-Id: I498faff95ce6d68a4337927725a0e0a14e4c4f02
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "hwkey: added hwkey operation" into features/qt_dr
Sangho Park [Mon, 28 Jul 2014 11:16:15 +0000 (04:16 -0700)]
Merge "hwkey: added hwkey operation" into features/qt_dr

10 years agohwkey: added hwkey operation 60/25060/1
sungmin ha [Mon, 28 Jul 2014 10:13:08 +0000 (19:13 +0900)]
hwkey: added hwkey operation

Change-Id: I70e6379355012ade3e205ac3fad3475df1533843
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agotouch: added event handler for touchscreen device 59/25059/1
GiWoong Kim [Mon, 28 Jul 2014 09:51:19 +0000 (18:51 +0900)]
touch: added event handler for touchscreen device

Change-Id: I6a98c0419796c89b62418fa706143c3b31278143
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoui: added qt ui execution on qemu runtime 94/24994/9
sungmin ha [Fri, 25 Jul 2014 05:09:20 +0000 (14:09 +0900)]
ui: added qt ui execution on qemu runtime

Change-Id: Iec80186871d67bd2b2e5c576b3d4372aa0b1412c
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge changes Ic541a1ef,I4f8c4e95 into features/qt_dr
Sangho Park [Tue, 22 Jul 2014 09:08:42 +0000 (02:08 -0700)]
Merge changes Ic541a1ef,I4f8c4e95 into features/qt_dr

* changes:
  display: select display type with display options.
  ui: introduce new Qt5 UI console prototype

10 years agoMerge changes I60e52c87,Ie49c2164 into features/qt_dr
Sangho Park [Tue, 22 Jul 2014 09:09:39 +0000 (02:09 -0700)]
Merge changes I60e52c87,Ie49c2164 into features/qt_dr

* changes:
  emulator: enable Qt UI console as default
  display: fix compilation error when SDL and SHM are both disabled

10 years agoMerge "configure: add ability to detect Qt" into features/qt_dr
Sangho Park [Tue, 22 Jul 2014 09:09:06 +0000 (02:09 -0700)]
Merge "configure: add ability to detect Qt" into features/qt_dr

10 years agodisplay: select display type with display options. 98/24698/5
SeokYeon Hwang [Fri, 18 Jul 2014 08:12:47 +0000 (17:12 +0900)]
display: select display type with display options.

Select display type with display options - DT_MARU_SDL, DT_MARU_SHM, DT_MARU_QT.
Clean-up definitions and display type names.
Narrow scope of VIGS/YaGL cflags.

Change-Id: Ic541a1eff745a72dcccfa0ad3df6e4b2f5342f7b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoui: added Qt widgets for Emulator 81/24681/4
GiWoong Kim [Fri, 18 Jul 2014 04:39:30 +0000 (13:39 +0900)]
ui: added Qt widgets for Emulator

Qt Emulator UI project is pushed aside for now.
These widgets should be merged into qemu Qt console.

Change-Id: Ib4d2105d603a306ac1e09abb323b9a498b53b312
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoemulator: enable Qt UI console as default 27/24627/5
SeokYeon Hwang [Thu, 17 Jul 2014 09:42:24 +0000 (18:42 +0900)]
emulator: enable Qt UI console as default

Change-Id: I60e52c879b05e60180848e31944cc941abe78721
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoui: introduce new Qt5 UI console prototype 25/24625/7
SeokYeon Hwang [Wed, 16 Jul 2014 12:50:01 +0000 (21:50 +0900)]
ui: introduce new Qt5 UI console prototype

It has limited capability for now.

Change-Id: I4f8c4e95ecbe0723594868fac985d4f1875fa957
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agodisplay: fix compilation error when SDL and SHM are both disabled 24/24624/5
SeokYeon Hwang [Wed, 16 Jul 2014 12:43:03 +0000 (21:43 +0900)]
display: fix compilation error when SDL and SHM are both disabled

Change-Id: Ie49c216469197a53383ef1f5403934c252122272
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoAdd "-Wno-error=redundant-decls" on Windows 26/24626/1
SeokYeon Hwang [Thu, 17 Jul 2014 08:20:12 +0000 (17:20 +0900)]
Add "-Wno-error=redundant-decls" on Windows

Change-Id: I1066f96ef997de154f0d85eea87ab601bacd7dd1
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoconfigure: add ability to detect Qt 23/24623/2
SeokYeon Hwang [Wed, 16 Jul 2014 12:26:05 +0000 (21:26 +0900)]
configure: add ability to detect Qt

We support Qt version 5.x.

Change-Id: I81ab96d1940177acac52b93c48eb3b1428e9dc6c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "emulator: clean up vmodem source and .gitignore" into tizen
SeokYeon Hwang [Wed, 16 Jul 2014 13:10:00 +0000 (06:10 -0700)]
Merge "emulator: clean up vmodem source and .gitignore" into tizen

10 years agoMerge "tethering: support display feature." into tizen
SeokYeon Hwang [Wed, 16 Jul 2014 13:09:43 +0000 (06:09 -0700)]
Merge "tethering: support display feature." into tizen

10 years agoemulator: fix some compilation warnings on Windows 73/24473/5
SeokYeon Hwang [Tue, 15 Jul 2014 07:05:28 +0000 (16:05 +0900)]
emulator: fix some compilation warnings on Windows

Fix compilation warnings -Wpointer-to-int-cast, -Wint-to-pointor-cast.

Change-Id: I85d9063e7d89d88a27da7e90d76c1b8bd6a11fc8
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: clean up vmodem source and .gitignore 97/24497/2
Sooyoung Ha [Tue, 15 Jul 2014 10:57:26 +0000 (19:57 +0900)]
emulator: clean up vmodem source and .gitignore

use new_debug_ch and add device initialization check
before send queue on maru_virtio_vmodem.c
modify .gitignore file for check-hax and check-cam

Change-Id: I5d546e7c2d23975f37922c3d206817955fcba38e
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agotethering: support display feature. 88/24488/5
Kitae Kim [Tue, 15 Jul 2014 07:16:12 +0000 (16:16 +0900)]
tethering: support display feature.

When app on server side request display update,
emulator sends encoded framebuffer to it.

Change-Id: I1e65404a74b4a7871224e577c9fc4750c5489553
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoemulator: apply strict policies on compilation warnings on Windows 68/24468/4
SeokYeon Hwang [Tue, 15 Jul 2014 05:55:24 +0000 (14:55 +0900)]
emulator: apply strict policies on compilation warnings on Windows

enable -Werror except for -Wformat, -Wformat-extra-args, -Wpointer-to-int-cast, -Wint-to-pointor-cast.

Change-Id: I79a7f3a9678d3321c4989333f07f9eec4ba0522e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "virtio-9p: apply the upstream change." into tizen
SeokYeon Hwang [Tue, 15 Jul 2014 01:48:07 +0000 (18:48 -0700)]
Merge "virtio-9p: apply the upstream change." into tizen

10 years agoMerge "brillcodec: fix audio encoder" into tizen
SeokYeon Hwang [Tue, 15 Jul 2014 01:47:55 +0000 (18:47 -0700)]
Merge "brillcodec: fix audio encoder" into tizen

10 years agoemulator: enable "-Werror" sophisticatedly on MacOS 31/24431/2
SeokYeon Hwang [Mon, 14 Jul 2014 09:29:20 +0000 (18:29 +0900)]
emulator: enable "-Werror" sophisticatedly on MacOS

Change-Id: I4c3cc6739db264f3dd4cf35d7a041b35dc5d6f1a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: move get_log_path(), get_bin_path() to emul_state 30/24430/2
SeokYeon Hwang [Mon, 14 Jul 2014 09:18:58 +0000 (18:18 +0900)]
emulator: move get_log_path(), get_bin_path() to emul_state

Change-Id: Ie41921003dc6c191a44c83600bb26901c1c2d5b7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobrillcodec: fix audio encoder 21/24421/2
Kitae Kim [Mon, 14 Jul 2014 06:01:24 +0000 (15:01 +0900)]
brillcodec: fix audio encoder

The audio encoder has not tested completely since upgrading libav 9.8.
AAC encoder on libav 9.8 supports only float planar format,
but tizen audio sink can handle only int format.
That is why audio resampling is necessary before encoding audio.

Change-Id: I365dd0a85d2acf43add45574e5588dde3b5802f5
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agovirtio-9p: apply the upstream change. 50/24350/5
Sooyoung Ha [Fri, 11 Jul 2014 03:50:43 +0000 (12:50 +0900)]
virtio-9p: apply the upstream change.

virtio-9p-local-maru.c is based on virtio-9p-local.c.
apply the original change to clone file.

Change-Id: Ic57b76b3ae8a094e31fd57419fe7f0cd47cbd1d4
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agoemulator_option: enhance scripts and error reporting 15/24415/1
SeokYeon Hwang [Sun, 13 Jul 2014 08:14:09 +0000 (17:14 +0900)]
emulator_option: enhance scripts and error reporting

Prevent duplicated reporting.
Use default conf file if no options provided.

Change-Id: Ib9e335b6ef18c5e68c9dc9f42c4e3de755f431bf
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobuild: fix Makefile uses invalid path on DIBS
SeokYeon Hwang [Fri, 11 Jul 2014 05:10:28 +0000 (14:10 +0900)]
build: fix Makefile uses invalid path on DIBS

Change-Id: I8f49b2fd366bd8ee80c2d0f8c05c4efb74fc407b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agodarwin: avoid "-Wmissing-selector-name" warning
SeokYeon Hwang [Fri, 11 Jul 2014 05:02:29 +0000 (14:02 +0900)]
darwin: avoid "-Wmissing-selector-name" warning

Change-Id: I4b54bed18dd8a32c8b7d9f10a1b84f866f180418
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoosutil: remove "inline" from download_url()
SeokYeon Hwang [Fri, 11 Jul 2014 04:28:00 +0000 (13:28 +0900)]
osutil: remove "inline" from download_url()

Remove "inline" from download_url() to avoid "-Wstatic-in-inline" warning.

Change-Id: I820b90c5c27a858e9db0f7919d1f00f1f4553508
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "build: apply -Werror on MacOS" into tizen
SeokYeon Hwang [Fri, 11 Jul 2014 02:25:54 +0000 (19:25 -0700)]
Merge "build: apply -Werror on MacOS" into tizen

10 years agoMerge "package: add prerequisites" into tizen
SeokYeon Hwang [Fri, 11 Jul 2014 02:25:38 +0000 (19:25 -0700)]
Merge "package: add prerequisites" into tizen

10 years agoMerge "emulator: clean-up sources and headers" into tizen
SeokYeon Hwang [Thu, 10 Jul 2014 10:55:04 +0000 (03:55 -0700)]
Merge "emulator: clean-up sources and headers" into tizen

10 years agoMerge "emulator: add scripts for launching emulator" into tizen
SeokYeon Hwang [Thu, 10 Jul 2014 10:54:47 +0000 (03:54 -0700)]
Merge "emulator: add scripts for launching emulator" into tizen

10 years agopackage: add prerequisites 63/24063/5
haken kim [Tue, 8 Jul 2014 11:41:26 +0000 (20:41 +0900)]
package: add prerequisites

add preRequisites in each qemu-common for ubuntu

Change-Id: I84179f498ca7c17b04f3a26a5760679f87bece66
Signed-off-by: haken kim <haken.kim@samsung.com>
10 years agobuild: apply -Werror on MacOS 98/24298/1
SeokYeon Hwang [Thu, 10 Jul 2014 07:35:59 +0000 (16:35 +0900)]
build: apply -Werror on MacOS

Remove warnings on MacOS with clang.
Apply -Werror on MacOS. We can't use "--enable-werror" option because "#pragma GCC diagnostic ..." is failed when configuring.

Change-Id: Iab9b9ffec241a7120463957617cfa6e0dc0eb403
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>