sdk/emulator/qemu.git
9 years agoMerge branch 'tizen_2.4_develop' into tizen_3.0_develop
SeokYeon Hwang [Thu, 10 Sep 2015 08:10:13 +0000 (17:10 +0900)]
Merge branch 'tizen_2.4_develop' into tizen_3.0_develop

Change-Id: I0f07cd5664457d0fa84c5a91fb402a5c7da060c3
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agobuild: modified libav configuration script.
Park Kyoung Won [Thu, 10 Sep 2015 06:06:42 +0000 (15:06 +0900)]
build: modified libav configuration script.

- added disable-libav configure option

Change-Id: I629ee3efb7aeaff42848788952a4940a4a050229
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
(cherry picked from commit 32470019bf470c2301fdfe82d4e36a356a8800c9)

9 years agodibs: prepared cross building on DIBS
SeokYeon Hwang [Wed, 9 Sep 2015 13:52:05 +0000 (22:52 +0900)]
dibs: prepared cross building on DIBS

Change-Id: I2e669d1fb8cc7507608bcd898ac5cde740ca872d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoqt5_msgbox: correct Makefile
SeokYeon Hwang [Wed, 9 Sep 2015 13:31:14 +0000 (22:31 +0900)]
qt5_msgbox: correct Makefile

qt5_msgbox target binary should deal with its suffix.

Change-Id: Ia11cdc536042aefbe531cb49760cc2cb50cf6f36
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoextra: replace 4 space with tab
Munkyu Im [Wed, 9 Sep 2015 06:02:06 +0000 (15:02 +0900)]
extra: replace 4 space with tab

script files uses tab instead of spaces.

Change-Id: I8c436043f02648ee08fdacc50ab4ba087206fbab
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoMerge branch 'tizen_3.0_qemu_2.4' into tizen_3.0_develop
SeokYeon Hwang [Wed, 9 Sep 2015 06:04:25 +0000 (15:04 +0900)]
Merge branch 'tizen_3.0_qemu_2.4' into tizen_3.0_develop

Change-Id: Id041f1c920109207df64105feabf237dba5cbe37
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoxml: modified error message for skin loading failure
GiWoong Kim [Tue, 8 Sep 2015 10:19:11 +0000 (19:19 +0900)]
xml: modified error message for skin loading failure

Change-Id: I944ba391081a056a26deb5798bacc808b7cc74eb
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoMerge branch 'tizen_2.4_develop' into tizen_3.0_develop
SeokYeon Hwang [Wed, 9 Sep 2015 05:34:17 +0000 (14:34 +0900)]
Merge branch 'tizen_2.4_develop' into tizen_3.0_develop

Change-Id: Ibf4bc4ff0d810ce2653b248a896de7fd61497a98
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agospice: fixed problem of displaying emulator skin
sungmin ha [Tue, 8 Sep 2015 04:24:02 +0000 (13:24 +0900)]
spice: fixed problem of displaying emulator skin

When the emulator is booted up with "-spice" option,
the emulator skin should not be displayed.

Change-Id: Ic1e6a73b91cc8ba4ea99e44da14e16e3e170c034
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
9 years agoecs: wrap sdb command and path with double quotes
ChulHo Song [Tue, 8 Sep 2015 10:53:19 +0000 (19:53 +0900)]
ecs: wrap sdb command and path with double quotes

Change-Id: I7c580e211cd7dd5f5edf012ea289f24c4d1ea474
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
9 years agoconfigure: modified check_libav function.
Park Kyoung Won [Tue, 8 Sep 2015 09:16:38 +0000 (18:16 +0900)]
configure: modified check_libav function.

- The x264 package requires libav packages.
- Display an error message if x264 package is not installed.

Change-Id: I47f230df7a0aef5cb4b7aba3af5c5ccd9033a4e1
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
9 years agopackage: version up(2.2.64)
Munkyu Im [Tue, 8 Sep 2015 07:17:27 +0000 (16:17 +0900)]
package: version up(2.2.64)

Change-Id: I18c872403b4c2e95382666638d60f2c880bee60e
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agotap: wrap with double quotes
Munkyu Im [Tue, 8 Sep 2015 07:15:57 +0000 (16:15 +0900)]
tap: wrap with double quotes

to support launching that executable binary has space character.

Change-Id: I00b1f896369274957ab49da649146ddad056e9cb
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoosutil: move making/checking vm lock position
Munkyu Im [Tue, 8 Sep 2015 06:53:23 +0000 (15:53 +0900)]
osutil: move making/checking vm lock position

move it after initializing device.
otherwise cannot get drive image path.

Change-Id: I22c730a6410cd7cb36ee3c4830370b5616dbfdd7
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoqt5_msgbox: fixed wrong action for building qt5_msgbox
SeokYeon Hwang [Fri, 4 Sep 2015 11:51:07 +0000 (20:51 +0900)]
qt5_msgbox: fixed wrong action for building qt5_msgbox

Change-Id: I1f05997c72c816dcf6b8fff788e13c7e20bfaaf4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoos-win32.h: Suppress warning -Wredundant-decls
SeokYeon Hwang [Wed, 2 Sep 2015 04:14:39 +0000 (13:14 +0900)]
os-win32.h: Suppress warning -Wredundant-decls

"time.h" in some distributions aleady has gmtime_r(), localtime_r()
as a real function prototype (not a macro). So we should suppress
warning "-Wredundnat-decls" for them.

Change-Id: I8b2764d5c6d1b136b2a3dcc862d52b785d8a5855
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoconfigure: fixed logic when "--enable-error" is specified
SeokYeon Hwang [Wed, 2 Sep 2015 04:07:37 +0000 (13:07 +0900)]
configure: fixed logic when "--enable-error" is specified

If "--enable-error" is specified, "configure" had not tried to set
CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE.
To fixed this problem "configure" should skip setting "werror" only.

Change-Id: I6d204ca25d242aa8b2e9c12fd8f1f1f85dcad9f4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoconfigure: "CROSS_PREFIX" is introduced for cross-compiling
SeokYeon Hwang [Sun, 30 Aug 2015 08:34:56 +0000 (17:34 +0900)]
configure: "CROSS_PREFIX" is introduced for cross-compiling

If "CROSS_PREFIX" or "--cross-prefix" is provided, "emulator_configure.sh"
prepare cross-compiling environments.
Applied "--static-libgcc" and "--static-libstdc++" for static linking
compiler libraries.

Change-Id: Id095e43eb00cffdfe635d1cec404549b364c5940
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agohax: used proper format for printing special types
SeokYeon Hwang [Sun, 30 Aug 2015 07:46:34 +0000 (16:46 +0900)]
hax: used proper format for printing special types

Change-Id: I38366f99fc6162ac41964b6186e463922d448e32
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoyagl: for cross-compiling, header name should be case-sensitive
SeokYeon Hwang [Sun, 30 Aug 2015 07:45:19 +0000 (16:45 +0900)]
yagl: for cross-compiling, header name should be case-sensitive

Change-Id: I4b679792cbf374ba6cbf7d918669df4c2895c03a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoRevert "timer: fix qemu_poll_ns early timeout on windows"
SeokYeon Hwang [Sun, 30 Aug 2015 07:39:30 +0000 (16:39 +0900)]
Revert "timer: fix qemu_poll_ns early timeout on windows"

This reverts commit b611841324d3d95b8f0adbaf22a27d53cd83b858.
Same commit applied in upstream in diffent way as a
commit 5a007547df76446ab891df93ebc55749716609bf.

Change-Id: I6eedc7f56f3a1f6ef79e39f1b47acf74cd6bdf92
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoscript: fix else statement
Munkyu Im [Tue, 8 Sep 2015 04:16:20 +0000 (13:16 +0900)]
script: fix else statement

"elif" needs condition, but in this case
do not need condition so replace this with "else".

Change-Id: Id2966379d79c579c15f345255a59220f49f3cbd2
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agodibs: cleaned-up DIBS build scripts
SeokYeon Hwang [Fri, 4 Sep 2015 06:14:33 +0000 (15:14 +0900)]
dibs: cleaned-up DIBS build scripts

Change-Id: Ia72722bcca12a9d3eb88d9e8f9a57e76f22c9372
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agomenu: add a kernel file information to VM info of Detailed Info Dialog
GiWoong Kim [Fri, 4 Sep 2015 11:27:34 +0000 (20:27 +0900)]
menu: add a kernel file information to VM info of Detailed Info Dialog

Change-Id: Ia530c89469565475275c12b831d6bc9203cef10a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoconfig: ignoring files on git
GiWoong Kim [Fri, 4 Sep 2015 11:03:20 +0000 (20:03 +0900)]
config: ignoring files on git

.settings
tizen/standalone-src/qt5_msgbox

Change-Id: Id16661c5133120ad64f00f64a90c5cd2b2cabbe2
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agopackage: version up (2.2.63)
sungmin ha [Mon, 7 Sep 2015 07:25:39 +0000 (16:25 +0900)]
package: version up (2.2.63)

Change-Id: I855816cd43ae3e87d6c6c878e3fc0ef7880d690a
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
9 years agocamera: modified camera win32 header to build on mingw-w64
Sungmin Ha [Wed, 2 Sep 2015 06:14:24 +0000 (15:14 +0900)]
camera: modified camera win32 header to build on mingw-w64

Change-Id: Ibcc63a762438f5492eb0445ce5cbca9438b8ddc4
Signed-off-by: Sungmin Ha <sungmin82.ha@samsung.com>
9 years agomenu: clean up some lines
GiWoong Kim [Fri, 4 Sep 2015 08:54:31 +0000 (17:54 +0900)]
menu: clean up some lines

check a SDB file exists before initializing & etc

Change-Id: I8921a0e4d15e466a65d5acb776c489792209702b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoMerge "extra: wrap path with double quotes" into tizen_2.4_develop
Jinhyung Choi [Fri, 4 Sep 2015 11:30:19 +0000 (20:30 +0900)]
Merge "extra: wrap path with double quotes" into tizen_2.4_develop

9 years agopackage: version up(2.2.62)
Munkyu Im [Fri, 4 Sep 2015 09:26:57 +0000 (18:26 +0900)]
package: version up(2.2.62)

Change-Id: Icd0bafcc4c2df9863c3ce49d5f1adb028dde710a
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agosdb: convert to native separator
Munkyu Im [Fri, 4 Sep 2015 09:23:21 +0000 (18:23 +0900)]
sdb: convert to native separator

for windows, convert slash to reverse slash.

Change-Id: I2a049bcb8addf5be0dc8bb11b7bca8e7fa2692d8
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoextra: wrap path with double quotes
Munkyu Im [Fri, 4 Sep 2015 07:27:40 +0000 (16:27 +0900)]
extra: wrap path with double quotes

LD_LIBRARY_PATH could be include PATH with space.
sdbscript need this, too.

Change-Id: Ibf3ee8f24bc781dba6a6d68e72c08b18b8b23c86
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agopackage: version up(2.2.61)
Munkyu Im [Thu, 3 Sep 2015 12:33:19 +0000 (21:33 +0900)]
package: version up(2.2.61)

Version 2.2.60 has already been uploaded.

Change-Id: Ie06a1a316faf8e4f38db068248d467581fdfb3ff
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agopackage: version up(2.2.48)
Munkyu Im [Thu, 3 Sep 2015 12:04:10 +0000 (21:04 +0900)]
package: version up(2.2.48)

Change-Id: Ibd96b654008f6c7ad10744bf70d949b5c927f789
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoextra: support multibyte string
Munkyu Im [Thu, 3 Sep 2015 11:57:48 +0000 (20:57 +0900)]
extra: support multibyte string

Change-Id: I4f91cf1cf30d64e8a5e3bc3addedfc58c5a301fd
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agocamera: modified camera win32 header to build on mingw-w64
Sungmin Ha [Wed, 2 Sep 2015 06:14:24 +0000 (15:14 +0900)]
camera: modified camera win32 header to build on mingw-w64

Change-Id: Ibcc63a762438f5492eb0445ce5cbca9438b8ddc4
Signed-off-by: Sungmin Ha <sungmin82.ha@samsung.com>
9 years agoMerge "build: change PATH according to emulator-lib-dev" into tizen_2.4_develop
Sangho Park [Thu, 3 Sep 2015 05:49:17 +0000 (14:49 +0900)]
Merge "build: change PATH according to emulator-lib-dev" into tizen_2.4_develop

9 years agopackage: version up(2.2.47)
Munkyu Im [Wed, 2 Sep 2015 10:04:07 +0000 (19:04 +0900)]
package: version up(2.2.47)

Change-Id: Iec9694cf120158fa42836e8fd7d7af7d5830eafa
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoinstall: move ditto job
Munkyu Im [Wed, 2 Sep 2015 09:35:41 +0000 (18:35 +0900)]
install: move ditto job

need sudo permission to overwrite tap.zip
because tap.kext already has root permission.

Change-Id: Id2c69b74179d86bd4eb00becd074611a8131e0d4
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agobuild: change PATH according to emulator-lib-dev
Jihye Won [Tue, 1 Sep 2015 10:09:19 +0000 (19:09 +0900)]
build: change PATH according to emulator-lib-dev

Change-Id: I0d9493974b3084350a3fa78b5617d8461a74f919
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
9 years agoemulator: Fixed a bug Java path not found on Windows 64
jinhyung.jo [Wed, 2 Sep 2015 05:51:14 +0000 (14:51 +0900)]
emulator: Fixed a bug Java path not found on Windows 64

The get_java_path function aways returns the first item of the JRE(or JDK) registry.
The RegEnumKeyEx function's 4th argument type is [In, Out],
But previous implementations have used without resetting it.
So fix it and improved the 'while' statement.

Change-Id: Ief77879c1b6be8f02fbc36e5c7d118152984e371
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
9 years agopackage: wrap path with double quotes
Munkyu Im [Wed, 2 Sep 2015 08:52:59 +0000 (17:52 +0900)]
package: wrap path with double quotes

apply remove script.

Change-Id: I98cb39d9b2e09c45255c70c55c58a9edba99860c
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agopackage: version up (2.2.46)
Munkyu Im [Wed, 2 Sep 2015 08:41:49 +0000 (17:41 +0900)]
package: version up (2.2.46)

Change-Id: I8fcb15861ca9e1508949ffd044e2705701d0573c
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agosdcard: change the way to get sdcard path
Munkyu Im [Wed, 2 Sep 2015 07:09:22 +0000 (16:09 +0900)]
sdcard: change the way to get sdcard path

Instead of using "sdk.info", get sdcard path from "vm_launch.conf"
change encoding when read "vm_launch.conf"

Change-Id: Id7c0cad031675e8ee67706d48f0db9cf4a89f05c
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agopackage: wrap path in double quotes
Munkyu Im [Wed, 2 Sep 2015 02:41:02 +0000 (11:41 +0900)]
package: wrap path in double quotes

Change-Id: I32c4b6315f811e49358b3fd8f9be0f22d13ab20b
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agotap: add codesigning vertification
Munkyu Im [Wed, 19 Aug 2015 11:18:16 +0000 (20:18 +0900)]
tap: add codesigning vertification

Code signing job handles on tuntaposx git.
this package veritify that job.
wrapping path with "".

Change-Id: I05a796a0e9bb51d9cff254351bc54a9550fc0347
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agodisplay: modified "display off guide image" processing
GiWoong Kim [Tue, 1 Sep 2015 11:50:01 +0000 (20:50 +0900)]
display: modified "display off guide image" processing

use an absolute path on image loading.
remove unnecessary image format conversions.
modify some variable and function names.

Change-Id: I679ffb5e8661b51bbdd78d48dc34b23692e160ce
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agomenu: modified About dialog contents
GiWoong Kim [Tue, 1 Sep 2015 08:11:01 +0000 (17:11 +0900)]
menu: modified About dialog contents

- change title (Tizen SDK -> Tizen Emulator)
- add a pacakge version information

Change-Id: Iedc9bf503705358340813d483faca5d3d6a601e8
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoos-win32.h: Suppress warning -Wredundant-decls
SeokYeon Hwang [Wed, 2 Sep 2015 04:14:39 +0000 (13:14 +0900)]
os-win32.h: Suppress warning -Wredundant-decls

"time.h" in some distributions aleady has gmtime_r(), localtime_r()
as a real function prototype (not a macro). So we should suppress
warning "-Wredundnat-decls" for them.

Change-Id: I8b2764d5c6d1b136b2a3dcc862d52b785d8a5855
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoconfigure: fixed logic when "--enable-error" is specified
SeokYeon Hwang [Wed, 2 Sep 2015 04:07:37 +0000 (13:07 +0900)]
configure: fixed logic when "--enable-error" is specified

If "--enable-error" is specified, "configure" had not tried to set
CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE.
To fixed this problem "configure" should skip setting "werror" only.

Change-Id: I6d204ca25d242aa8b2e9c12fd8f1f1f85dcad9f4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agokeyboard, tablet: modified device names to prevent duplication from qemu 2.4
sungmin ha [Mon, 31 Aug 2015 07:17:01 +0000 (16:17 +0900)]
keyboard, tablet: modified device names to prevent duplication from qemu 2.4

Change-Id: I16e9a0ae6ea0bea39008b4de0b9bd15b2abf66a2
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
9 years agotap: add checking netmask
Munkyu Im [Mon, 31 Aug 2015 09:55:38 +0000 (18:55 +0900)]
tap: add checking netmask

Change-Id: I0e755e3319aee5f4736e31ce1408c4a44adf6617
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoconfigure: enable the virtfs on macos and windows
Sooyoung Ha [Mon, 31 Aug 2015 05:13:09 +0000 (14:13 +0900)]
configure: enable the virtfs on macos and windows

The virtfs has been enabled on macos and windows so far even there was
no overt declaration, it might be omitted. But it is a mandatory feature
for tizen emulator, so I add the enable-virtfs to macos and windows
configuration.

Change-Id: Ia16ff832f04761fb6894e32a560af86ef5147be9
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agohwkey: HW key re-masking on skin
GiWoong Kim [Tue, 25 Aug 2015 09:47:05 +0000 (18:47 +0900)]
hwkey: HW key re-masking on skin

do re-masking when side key(volume or power HW key on mobile) is pressed

Change-Id: Ic2f36366a15ad4d3ef1c2c84c73c55b858091377
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoMakefile: Some files should be removed when cleaning
SeokYeon Hwang [Sun, 30 Aug 2015 08:39:24 +0000 (17:39 +0900)]
Makefile: Some files should be removed when cleaning

Source files generated by moc and rcc should be removed when
user runs 'make clean'.

Change-Id: I376f21ccc3f53760ee38d445ce0d4b65c2a9731b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoMakefile: Some files should be removed when cleaning
SeokYeon Hwang [Sun, 30 Aug 2015 08:39:24 +0000 (17:39 +0900)]
Makefile: Some files should be removed when cleaning

Source files generated by moc and rcc should be removed when
user runs 'make clean'.

Change-Id: I376f21ccc3f53760ee38d445ce0d4b65c2a9731b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoerror: modified codes about qt5_msgbox.
unknown [Mon, 31 Aug 2015 04:57:11 +0000 (13:57 +0900)]
error: modified codes about qt5_msgbox.

- standalone/Makefile: changed windres to use the variable.
- src/util/qt5_error_report.c : changed spawnv into _spawnv
  because spawnv is deprecated.

Change-Id: I3897c805f66cece5a64c4857ba8b023219768759
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
9 years agoMerge branch 'tizen_2.4_develop' into tizen_3.0_develop
SeokYeon Hwang [Mon, 31 Aug 2015 04:07:23 +0000 (13:07 +0900)]
Merge branch 'tizen_2.4_develop' into tizen_3.0_develop

Change-Id: I06342f388a1b0edcea06b3ddf3aee95a6b2576f0
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoerror: fix a bug about argument pointer variables.
Jihye Won [Fri, 28 Aug 2015 07:47:31 +0000 (16:47 +0900)]
error: fix a bug about argument pointer variables.

There was the bug after using vfprintf().
for reusing va_list arguments, va_copy should be invoked.

Change-Id: I34abdbb5069ba9c18915871537883eb6cb7a5a9c
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
9 years agoui: modified inheritance of QGraphicsView
GiWoong Kim [Mon, 24 Aug 2015 08:28:29 +0000 (17:28 +0900)]
ui: modified inheritance of QGraphicsView

- main window's view is renamed MainView
- declare a parent object class(SkinView) for main window
and docking/floating controller window

Change-Id: I72ab7da679177d19efd05f5583d1ec5c3f65cf4a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoconfigure: "CROSS_PREFIX" is introduced for cross-compiling
SeokYeon Hwang [Sun, 30 Aug 2015 08:34:56 +0000 (17:34 +0900)]
configure: "CROSS_PREFIX" is introduced for cross-compiling

If "CROSS_PREFIX" or "--cross-prefix" is provided, "emulator_configure.sh"
prepare cross-compiling environments.
Applied "--static-libgcc" and "--static-libstdc++" for static linking
compiler libraries.

Change-Id: Id095e43eb00cffdfe635d1cec404549b364c5940
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agohax: used proper format for printing special types
SeokYeon Hwang [Sun, 30 Aug 2015 07:46:34 +0000 (16:46 +0900)]
hax: used proper format for printing special types

Change-Id: I38366f99fc6162ac41964b6186e463922d448e32
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoyagl: for cross-compiling, header name should be case-sensitive
SeokYeon Hwang [Sun, 30 Aug 2015 07:45:19 +0000 (16:45 +0900)]
yagl: for cross-compiling, header name should be case-sensitive

Change-Id: I4b679792cbf374ba6cbf7d918669df4c2895c03a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoRevert "timer: fix qemu_poll_ns early timeout on windows"
SeokYeon Hwang [Sun, 30 Aug 2015 07:39:30 +0000 (16:39 +0900)]
Revert "timer: fix qemu_poll_ns early timeout on windows"

This reverts commit b611841324d3d95b8f0adbaf22a27d53cd83b858.
Same commit applied in upstream in diffent way as a
commit 5a007547df76446ab891df93ebc55749716609bf.

Change-Id: I6eedc7f56f3a1f6ef79e39f1b47acf74cd6bdf92
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoacpi: avoid potential uninitialized access to cpu_hp_io_base
Daniel P. Berrange [Fri, 31 Jul 2015 10:14:35 +0000 (11:14 +0100)]
acpi: avoid potential uninitialized access to cpu_hp_io_base

When building QEMU with Mingw64 toolchain I see a warning

 CC    x86_64-softmmu/hw/i386/acpi-build.o
  hw/i386/acpi-build.c: In function 'acpi_build':
  hw/i386/acpi-build.c:1138:9: warning: 'pm.cpu_hp_io_base' may be used uninitialized in this function [-Wmaybe-uninitialized]
           aml_append(crs,
           ^
  hw/i386/acpi-build.c:1666:16: note: 'pm.cpu_hp_io_base' was declared here
       AcpiPmInfo pm;
                  ^

In acpi_get_pm_info() some of the fields are pre-initialized
to 0, but this one was missed.

Change-Id: If97318a12da70f9c5dc951e938897d21d57a2d77
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
9 years agohax: some API that HAX used are modified
SeokYeon Hwang [Wed, 26 Aug 2015 06:20:36 +0000 (15:20 +0900)]
hax: some API that HAX used are modified

Change-Id: I81c401172ce9b00d29d5dd565dced1130fa88dbd
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoconfigure: removed default x11_libs value
SeokYeon Hwang [Wed, 26 Aug 2015 06:18:34 +0000 (15:18 +0900)]
configure: removed default x11_libs value

"x11_libs" should be filled by proving process.

Change-Id: Ie17768d8163e8d7b82e792a74eee81ffbfd34c40
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoconfigure: updated flag macosx-version-min to 10.7
SeokYeon Hwang [Wed, 26 Aug 2015 05:42:23 +0000 (14:42 +0900)]
configure: updated flag macosx-version-min to 10.7

Since QEMU 2.3, it needs __thread supported compiler.
So, we should update flag macosx-version-min to 10.7 because MacOS
version under 10.6 did not support __thread specifier.

Some APIs that is used by VIGS/YaGL and coreaudio are deprecated
on MacOS 10.7. So, for now, we passed "-Wno-error=deprecated-declarations"
to compiler.

Change-Id: I6f6efce061a3758330e6d0f1eb3c0823e1d5a8d6
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agomerge: git auto-merge had missed ram_size setting
SeokYeon Hwang [Wed, 26 Aug 2015 04:30:56 +0000 (13:30 +0900)]
merge: git auto-merge had missed ram_size setting

Change-Id: I86c5283d67f2c038b0a19c8c5cac7063ddc28dd0
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoecs: "ecs_mon" complied with the qemu 2.4
ChulHo Song [Tue, 25 Aug 2015 10:47:10 +0000 (19:47 +0900)]
ecs: "ecs_mon" complied with the qemu 2.4

Change-Id: Ic826653f27797a067e38e4e1ce4014ac8a3c547a
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
9 years agoqmp: modify return type
Munkyu Im [Mon, 24 Aug 2015 06:38:06 +0000 (15:38 +0900)]
qmp: modify return type

- primitive type is not supported as return value.
  so make structure.
- remove unused command

Change-Id: I5e0a309f2cd31623bff89b9c45a067bec90139c4
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoqt5: introduce qt5_msgbox to report message
Jihye Won [Thu, 13 Aug 2015 06:07:40 +0000 (15:07 +0900)]
qt5: introduce qt5_msgbox to report message

Change-Id: Ia49ed159b0ceb9f4a9d529de0e2a484767c19bfa
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
9 years agoupstream: winwave backend is deprecated in Windows
SeokYeon Hwang [Tue, 25 Aug 2015 04:27:43 +0000 (13:27 +0900)]
upstream: winwave backend is deprecated in Windows

Change-Id: I9202609e95f538fba0714f7d22c17cea47e74902
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agobuild: Qt5 frontend needs X11 on linux
SeokYeon Hwang [Tue, 25 Aug 2015 04:26:54 +0000 (13:26 +0900)]
build: Qt5 frontend needs X11 on linux

Change-Id: I486107e9462cae57948ffc3d0dbb4779a7185f5a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoupstream: virtio device used 'realize' instead of 'init'
SeokYeon Hwang [Tue, 25 Aug 2015 06:25:39 +0000 (15:25 +0900)]
upstream: virtio device used 'realize' instead of 'init'

Virtio device should use 'realize'ed initialization.
Removed duplicate properties.

Change-Id: I019185bed12f6c9cdacb72864191f7f667d6784f
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agolayout: remove duplicated members between MainForm and ControllerForm
GiWoong Kim [Mon, 24 Aug 2015 07:20:36 +0000 (16:20 +0900)]
layout: remove duplicated members between MainForm and ControllerForm

move member variables/functions which are related HW keys and
skin images to LayoutForm(parent) class.

Change-Id: Ieae51159c1c51d9e726a7b7d726b71c1702b9507
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoVIGS: add draw_pixels_scaled to winsys interface
Vasiliy Ulyanov [Fri, 21 Aug 2015 10:21:44 +0000 (13:21 +0300)]
VIGS: add draw_pixels_scaled to winsys interface

Needed to render images with custom dimensions scaled to
a surface width and height.

Change-Id: I69b34fe60e3075cfcd66202217a1416eb17c3a8f
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years agoupstream: PC board is updated
SeokYeon Hwang [Tue, 25 Aug 2015 04:25:41 +0000 (13:25 +0900)]
upstream: PC board is updated

Change-Id: I46932542a3f57c80db52e3a89adc1e52093de6a4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoupstream: some API was renamed and renewed
SeokYeon Hwang [Mon, 24 Aug 2015 11:52:09 +0000 (20:52 +0900)]
upstream: some API was renamed and renewed

Change-Id: I6ec4c1eb026574b8a2ac96bdb128e84145aa16af
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoconsole: ENODEV needs "errno.h"
SeokYeon Hwang [Mon, 24 Aug 2015 11:53:19 +0000 (20:53 +0900)]
console: ENODEV needs "errno.h"

Change-Id: I82de49377e569492cfa428d80dfcbd5666476a1f
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoconfigure: quorum is deprecated
SeokYeon Hwang [Mon, 24 Aug 2015 04:28:42 +0000 (13:28 +0900)]
configure: quorum is deprecated

Change-Id: Icb61917b9702b59dc480994f42ef7bc3cb0f3ba3
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agosmm: hax can not support SMM
SeokYeon Hwang [Mon, 24 Aug 2015 04:27:58 +0000 (13:27 +0900)]
smm: hax can not support SMM

Change-Id: Iec531e74c02741f6be5a263e5ff6f241bdc40d26
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoMerge tag 'v2.4.0' into tizen_3.0_qemu_2.4
SeokYeon Hwang [Mon, 24 Aug 2015 04:27:10 +0000 (13:27 +0900)]
Merge tag 'v2.4.0' into tizen_3.0_qemu_2.4

v2.4.0 release

Change-Id: Icc7e11d212e4628dc751ca77e17716c7253984e5
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoemulator: restricted tizen specific features
SeokYeon Hwang [Fri, 21 Aug 2015 06:32:06 +0000 (15:32 +0900)]
emulator: restricted tizen specific features

Tizen specific features are activated on maru board only.

Change-Id: I1fce2a4d8da5d17611144892ffd3f662de005833
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoemulator: cleaned-up emulator start-up routines
SeokYeon Hwang [Thu, 20 Aug 2015 06:26:50 +0000 (15:26 +0900)]
emulator: cleaned-up emulator start-up routines

Lock VM as soon as possible.
We need a modified kernel commandline now. So we should
prevent from running emulator without independent kernel.

Change-Id: Icf04a91845221f5c6d678661c81cd0942ed339c1
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoconfigure: refined configure scripts
SeokYeon Hwang [Wed, 19 Aug 2015 09:16:59 +0000 (18:16 +0900)]
configure: refined configure scripts

We could not see platform dependent options that is passed to configure. So
platform dependent options should be appended before it is printed. Now we
can see all options passed to configure.

Change-Id: Icf438ca94f0acb9742a2bc5c6343b76d2e5acc3c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoshortcut: refactoring for HW key shortcut
GiWoong Kim [Wed, 19 Aug 2015 11:58:42 +0000 (20:58 +0900)]
shortcut: refactoring for HW key shortcut

- remove unnecessary member variables and functions
- duplicated methods were integrated between main form and controller
- add some logs

Change-Id: Iaae0ccad24da0de4c1908eb1545897b5cc20ae46
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agopackage: version up (2.2.45)
sungmin ha [Thu, 20 Aug 2015 08:54:32 +0000 (17:54 +0900)]
package: version up (2.2.45)

Change-Id: Idb7fa13f1203effa5c3882d699046798fe27ec3c
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
9 years agoshortcut: modified default close shortcut
sungmin ha [Thu, 20 Aug 2015 05:55:23 +0000 (14:55 +0900)]
shortcut: modified default close shortcut

removed force close shortcut

Change-Id: I1dcbe45fe2ebe5a14f725468e30cbbe5d46807f9
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
9 years agobuild: reduce the configuring count on dibs build
Sooyoung Ha [Thu, 20 Aug 2015 06:00:16 +0000 (15:00 +0900)]
build: reduce the configuring count on dibs build

When we build qemu on dibs, we used to run emulator_configure.sh script
twice on clean phase and on build phase. But the configure spends too
much time, especially on windows, so I remove the configuring on build
phase and do 'make clean' instead of 'make distclean' on clean phase.

Change-Id: I9cc9ea9d3f0dd06ec0084debd06af39f109c1d82
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agobuild: reduce the configuring count on dibs build
Sooyoung Ha [Wed, 19 Aug 2015 08:24:44 +0000 (17:24 +0900)]
build: reduce the configuring count on dibs build

When we build qemu on dibs, we used to run emulator_configure.sh script
twice on clean phase and on build phase. But the configure spends too
much time, especially on windows, so I remove the configuring on build
phase and do 'make clean' instead of 'make distclean' on clean phase.

Change-Id: If8ba8cdf8debf632b7899105cd6a54b65a3345fe
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agocontroller: moved focus to main window for the keyboard input
sungmin ha [Wed, 19 Aug 2015 07:46:06 +0000 (16:46 +0900)]
controller: moved focus to main window for the keyboard input

Change-Id: I1f5899276bfd7926cc6ff9da9b0834080e9da7fa
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
9 years agomenu: no need to delete child widgets manually at Detailed Info dialog
GiWoong Kim [Wed, 19 Aug 2015 06:09:08 +0000 (15:09 +0900)]
menu: no need to delete child widgets manually at Detailed Info dialog

Change-Id: I01cb9195c21fe3706d7afc3f0f1e2f8b0cd88829
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agopackage: version up
Sooyoung Ha [Wed, 19 Aug 2015 12:45:38 +0000 (21:45 +0900)]
package: version up

version update to 2.2.44

Change-Id: I0fe6bfe3fa882fa07961dd38062b428d3f49c5f6
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agopackage: version up
Sooyoung Ha [Wed, 19 Aug 2015 12:17:24 +0000 (21:17 +0900)]
package: version up

version update to 2.2.44

Change-Id: Ie1e2d41bfc550889df2f4178f2318494bdeaa729
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agoMerge branch 'tizen_2.4_develop' into tizen_3.0_develop
SeokYeon Hwang [Wed, 19 Aug 2015 07:32:14 +0000 (16:32 +0900)]
Merge branch 'tizen_2.4_develop' into tizen_3.0_develop

Change-Id: I6753087cb299be5eb2b17c2ed256786021a4a27d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agomenu: add a link junction for extension About Dialog
GiWoong Kim [Tue, 18 Aug 2015 10:35:50 +0000 (19:35 +0900)]
menu: add a link junction for extension About Dialog

Change-Id: I00ebd65b4dce3a48c3d4c4c824a97009ab7248c4
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agomenu: get drive/swap image path from emul_state
GiWoong Kim [Wed, 19 Aug 2015 02:56:38 +0000 (11:56 +0900)]
menu: get drive/swap image path from emul_state

Change-Id: I5365501c148a0f0fda26ecc3d4244673be4786f0
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
9 years agoemul_state: introduced get_swap_image_file()
SeokYeon Hwang [Tue, 18 Aug 2015 09:01:58 +0000 (18:01 +0900)]
emul_state: introduced get_swap_image_file()

Introduced get_swap_image_file() that provide swap image file name.

Change-Id: I5fa9bb4140fbcbd19361fdd57492dfb2c20d1d87
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
9 years agoemul_state: freed memories those are allocated in runtime
SeokYeon Hwang [Tue, 18 Aug 2015 07:29:09 +0000 (16:29 +0900)]
emul_state: freed memories those are allocated in runtime

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