sdk/emulator/qemu.git
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 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>
10 years agoemulator: clean-up sources and headers 95/24295/6
SeokYeon Hwang [Thu, 10 Jul 2014 06:06:16 +0000 (15:06 +0900)]
emulator: clean-up sources and headers

emulator.*: remove unnecessary "DEFINE".
new_debug_ch.*: use GLIB functions.
osutil*: fix redundant stack usage.

Change-Id: I2f0d53342e2cb96ec136e89f3637e4d50dbabf03
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: add scripts for launching emulator 27/24227/2
SeokYeon Hwang [Wed, 9 Jul 2014 07:32:37 +0000 (16:32 +0900)]
emulator: add scripts for launching emulator

Change-Id: I424ab65983c9d34c59d64fd92772ad5d20baf58f
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "emulator: clean-up some headers and sources" into tizen
SeokYeon Hwang [Wed, 9 Jul 2014 06:08:41 +0000 (23:08 -0700)]
Merge "emulator: clean-up some headers and sources" into tizen

10 years agoMerge "emulator: use new debug_ch" into tizen
Sangho Park [Wed, 9 Jul 2014 05:00:40 +0000 (22:00 -0700)]
Merge "emulator: use new debug_ch" into tizen

10 years agoMerge "debug_ch: debug_ch is massively refactored" into tizen
Sangho Park [Wed, 9 Jul 2014 05:00:19 +0000 (22:00 -0700)]
Merge "debug_ch: debug_ch is massively refactored" into tizen

10 years agoemulator: clean-up some headers and sources 19/24219/1
SeokYeon Hwang [Wed, 9 Jul 2014 04:40:43 +0000 (13:40 +0900)]
emulator: clean-up some headers and sources

Rename "maru_common.h" to "emulator_common.h".
Remove unnecessary headers.
Remove "guest_debug.h".

Change-Id: I98b4fcf5c3205e4a537685a168f761a749dbd34b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: use new debug_ch 38/24038/1
SeokYeon Hwang [Tue, 8 Jul 2014 07:09:42 +0000 (16:09 +0900)]
emulator: use new debug_ch

Change-Id: I8de7494182494906a07b0439d98486eb1693edca
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agodebug_ch: debug_ch is massively refactored 24/23924/7
Munkyu Im [Fri, 4 Jul 2014 09:55:35 +0000 (18:55 +0900)]
debug_ch: debug_ch is massively refactored

1. New debug_ch has new log levels.
SEVERE, WARN, INFO, CONFIG, FINE, TRACE
2. Use LOG_[LEVEL](...) instead of [LEVEL](...). Legacy macro names can conflict other macro names. Some weird compilation error is occured because of it.
(legacy ERR macro unset existing ERR macro)
2. Remove multi debug channel because it is not used.
3. "debug_ch.h" has legacy log levels for compatibility.
4. Remove ASSERT macro.

Use new debug_ch instead of legacy one when you modify your sources.

Change-Id: Ie2ce25a5222c479897c13473e25a1ee3b3fd5d52
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agomenu: modified Shell menu command 00/24000/1
GiWoong Kim [Fri, 4 Jul 2014 04:47:53 +0000 (13:47 +0900)]
menu: modified Shell menu command

modified Shell menu command
added some disposing check

Change-Id: I495de9bf5ee23e7e508bd562f0c439a1812fd9db
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "emulator: some error reporting routine is refactored" into tizen
Sangho Park [Sun, 6 Jul 2014 06:56:19 +0000 (23:56 -0700)]
Merge "emulator: some error reporting routine is refactored" into tizen

10 years agoemulator: some error reporting routine is refactored 25/23925/6
SeokYeon Hwang [Fri, 4 Jul 2014 10:08:42 +0000 (19:08 +0900)]
emulator: some error reporting routine is refactored

maru_register_exit_msg() can accept variable arguments.
Remove maru_convert_path(), Add get_canonical_path().

Change-Id: I7975510cfb34a0bbb633df5a74ffce21922c0c92
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agogyro sensor: default value as 0 0 1 (degrees/s) 05/23705/2
Jinhyung Choi [Wed, 2 Jul 2014 01:20:19 +0000 (10:20 +0900)]
gyro sensor: default value as 0 0 1 (degrees/s)

Change-Id: I3c9fb54ae8f7e52774f1c04d9cdcb955a2d61b4b
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoMerge "sdb noti server: migrated into sdb" into tizen
SeokYeon Hwang [Fri, 4 Jul 2014 02:21:18 +0000 (19:21 -0700)]
Merge "sdb noti server: migrated into sdb" into tizen

10 years agoMerge "9pfs: use event_notifier instead of qemu_pipe" into tizen
SeokYeon Hwang [Thu, 3 Jul 2014 12:15:33 +0000 (05:15 -0700)]
Merge "9pfs: use event_notifier instead of qemu_pipe" into tizen

10 years agoMerge "qemu-char: modify logic for kernel logging" into tizen
SeokYeon Hwang [Thu, 3 Jul 2014 12:15:15 +0000 (05:15 -0700)]
Merge "qemu-char: modify logic for kernel logging" into tizen

10 years agobuild: fix build break on MacOS
SeokYeon Hwang [Thu, 3 Jul 2014 11:57:45 +0000 (20:57 +0900)]
build: fix build break on MacOS

Change-Id: I0ed7c4d0a479d94b3588e81e8dfae8ccb9bcb3fa
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobuild: package version up (2.0.4) 19/23819/1
SeokYeon Hwang [Thu, 3 Jul 2014 11:48:44 +0000 (20:48 +0900)]
build: package version up (2.0.4)

Change-Id: Iddd47ef750ee0c9d3a60dfcf78ccccdece2385f4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge changes I83f2e127,I480b179c into tizen
SeokYeon Hwang [Thu, 3 Jul 2014 05:06:27 +0000 (22:06 -0700)]
Merge changes I83f2e127,I480b179c into tizen

* changes:
  build: fix check-cam build error on Windows
  emulator: clean-up legacy board init

10 years agoqemu-char: modify logic for kernel logging 45/23745/1
SeokYeon Hwang [Wed, 2 Jul 2014 09:49:28 +0000 (18:49 +0900)]
qemu-char: modify logic for kernel logging

Using "CreateFile()" to open log file on Windows.

Change-Id: Iea947257373c980c08f019b5690f789f157c2a14
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agosdb noti server: migrated into sdb 04/23704/2
Jinhyung Choi [Wed, 2 Jul 2014 01:17:23 +0000 (10:17 +0900)]
sdb noti server: migrated into sdb

- bug fixed (uninitialized variable)

Change-Id: I74bde4a954c94a86cec0265d2e525c09d9025d49
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agofix bug: qemu crash when entering lock mode (TC-286) 23/23723/1
Tina Zhang [Wed, 2 Jul 2014 06:41:36 +0000 (14:41 +0800)]
fix bug: qemu crash when entering lock mode (TC-286)

When qemu is entering lock mode, it's better to use asyncExec to run the
runnable. Because it won't block the whole process to communicate with the
emulator process. If the communication is blocked, the qemu will crash.

Change-Id: Ifeaab44cf89d8a847b2237e59413c2445d419535
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
10 years agobuild: fix check-cam build error on Windows 17/23717/1
SeokYeon Hwang [Wed, 2 Jul 2014 06:01:04 +0000 (15:01 +0900)]
build: fix check-cam build error on Windows

Change-Id: I83f2e12793b8af5c3d0142e8adae0dbff627a84a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years ago9pfs: use event_notifier instead of qemu_pipe 66/23666/3
SeokYeon Hwang [Tue, 1 Jul 2014 08:12:05 +0000 (17:12 +0900)]
9pfs: use event_notifier instead of qemu_pipe

Change-Id: I5b2c51ef18849fa6f29e126ef889dcff86cad645
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agoemulator: clean-up legacy board init 13/23713/1
SeokYeon Hwang [Wed, 2 Jul 2014 04:54:19 +0000 (13:54 +0900)]
emulator: clean-up legacy board init

Clean-up legacy board initializtion.
Remove unused variables.

Change-Id: I480b179c34cece682a13253bd3f0f3c37e2d21d4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: clean-up source directories 60/23660/4
SeokYeon Hwang [Tue, 1 Jul 2014 06:54:49 +0000 (15:54 +0900)]
emulator: clean-up source directories

Source files under "tizen/src/hw/" moved into each parent bus directory.

Change-Id: I32d4cd527583a5cacf43cb4e2bc490212b849ee4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "guest server: changed as sdb notification server" into tizen
SeokYeon Hwang [Tue, 1 Jul 2014 09:33:41 +0000 (02:33 -0700)]
Merge "guest server: changed as sdb notification server" into tizen

10 years agoMerge "virtio: initializing and declaring tizen virtio devices are moved" into tizen
SeokYeon Hwang [Tue, 1 Jul 2014 09:33:11 +0000 (02:33 -0700)]
Merge "virtio: initializing and declaring tizen virtio devices are moved" into tizen

10 years agoguest server: changed as sdb notification server 39/23639/5
Jinhyung Choi [Tue, 1 Jul 2014 01:52:19 +0000 (10:52 +0900)]
guest server: changed as sdb notification server

Current guest server supports 3 operations.
1. enabling sdb shell from emulator
2. registering sdb server w/ address, port, and serial
3. sending notification to registered sdb server suspend/resume message

Because guest server's functionalities are changed,
its name is also changed to "SDB Notification Server"
It moved into sdb_noti_server.c and sdb_noti_server.h

It does not require to create a new thread and blocking socket.
Now, it is using g_io_add_watch to receive and handle messages from
others.

Change-Id: I034122842e6cc59e753b859eb057b012f43213aa
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>