sdk/emulator/qemu.git
10 years agoinfo: Add multiple image path 05/30305/1 features/qt_dr
Munkyu Im [Thu, 6 Nov 2014 05:35:28 +0000 (14:35 +0900)]
info: Add multiple image path

Detailed Info dialog supported one image path before.
it does all images now.

Change-Id: I4f32603464ec1f51252532e99ed66d5f5b159282
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agovigs: fix compilation errors in case of disable-qt configuration 04/30304/1
GiWoong Kim [Fri, 14 Nov 2014 08:48:44 +0000 (17:48 +0900)]
vigs: fix compilation errors in case of disable-qt configuration

add vigs_qt5 stub functions

Change-Id: I75309052be3e570f365f4df0bbfb774b8167713b
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoscreenshot: Set the coordinates in accordance with the scale. 57/29957/1
Munkyu Im [Wed, 5 Nov 2014 04:32:48 +0000 (13:32 +0900)]
screenshot: Set the coordinates in accordance with the scale.

Adjust the position of x and y on screenshot image.

Change-Id: I32040fe1160c1b17d854f0545539ca4ee8b79485
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agoscreenshot: Apply rotation and add boilerplate 56/29956/1
Munkyu Im [Mon, 3 Nov 2014 06:08:16 +0000 (15:08 +0900)]
screenshot: Apply rotation and add boilerplate

screenshot supports rotation angle now.

Change-Id: Id0d85ee621d8b4870697babbb576e77790c7a51e
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agoscreenshot: Show blank image 55/29955/1
Munkyu Im [Mon, 27 Oct 2014 09:28:30 +0000 (18:28 +0900)]
screenshot: Show blank image

Just in case when fail to get rendered image from frame buffer.

Change-Id: Ia460941a51046da16a3f3927d27f4746ca5c1bd8
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agoscreenshot: Remove 800% scaled 54/29954/1
Munkyu Im [Mon, 27 Oct 2014 05:46:28 +0000 (14:46 +0900)]
screenshot: Remove 800% scaled

pixmap bytes must be less than INT_MAX
This could make overflow on 32bit OS.
Also 800% scaled pixmap data are heavy to load.

Change-Id: Ib003299b167e73366495cdf728c25bd1b5f553f1
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agoscreenshot: Implement screenshot dialog 53/29953/1
Munkyu Im [Tue, 21 Oct 2014 04:53:23 +0000 (13:53 +0900)]
screenshot: Implement screenshot dialog

Added features
 - capture/refresh
 - copy to clipboard
 - save to file

Change-Id: I532a3d08fd0a1515e5276c32d92bb9ddbc88f443
Signed-off-by: Vasily Ulyanov <v.ulyanov@samsung.com>
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agoMerge "ui: Tizen icon apply to Emulator on Windows" into features/qt_dr
SeokYeon Hwang [Thu, 6 Nov 2014 05:04:31 +0000 (21:04 -0800)]
Merge "ui: Tizen icon apply to Emulator on Windows" into features/qt_dr

10 years agoMerge "display: unregister display change listener" into features/qt_dr
SeokYeon Hwang [Thu, 6 Nov 2014 05:04:03 +0000 (21:04 -0800)]
Merge "display: unregister display change listener" into features/qt_dr

10 years agoMerge "menu: execute an external process as detached mode" into features/qt_dr
SeokYeon Hwang [Thu, 6 Nov 2014 05:03:53 +0000 (21:03 -0800)]
Merge "menu: execute an external process as detached mode" into features/qt_dr

10 years agoMerge "menu: Added "Always on top" in MacOS" into features/qt_dr
SeokYeon Hwang [Thu, 6 Nov 2014 05:03:42 +0000 (21:03 -0800)]
Merge "menu: Added "Always on top" in MacOS" into features/qt_dr

10 years agoVIGS: add NULL checks when screen capturing 44/29844/1
Vasiliy Ulyanov [Tue, 21 Oct 2014 14:01:06 +0000 (18:01 +0400)]
VIGS: add NULL checks when screen capturing

- root_sfc may be NULL
- pixels buffer may be NULL

Change-Id: Icc7a4d2ca486bc08273da3158b823e9c4c090592
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years agoQt5 skin: integrate with VIGS capture interface 43/29843/1
Vasiliy Ulyanov [Fri, 17 Oct 2014 07:52:35 +0000 (11:52 +0400)]
Qt5 skin: integrate with VIGS capture interface

Change-Id: I9511d9ab981d75f1caf65a8b587c1591d0b0854a
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years agoVIGS: implement screen capture interface for direct rendering 42/29842/1
Vasiliy Ulyanov [Tue, 14 Oct 2014 12:34:52 +0000 (16:34 +0400)]
VIGS: implement screen capture interface for direct rendering

Change-Id: I04faf08ce4453835ceb459cb6155e90e21b1c7e8
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years agoui: Tizen icon apply to Emulator on Windows 71/29771/1
GiWoong Kim [Tue, 4 Nov 2014 06:18:37 +0000 (15:18 +0900)]
ui: Tizen icon apply to Emulator on Windows

Change-Id: I3f36ae0581466ddfdaa662c94bdc2efec3531fc8
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agodisplay: unregister display change listener 70/29770/1
GiWoong Kim [Thu, 30 Oct 2014 01:27:16 +0000 (10:27 +0900)]
display: unregister display change listener

remove some leaks

Change-Id: I19f870a518d5485d60fbbb06f405c00fa6cda515
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: execute an external process as detached mode 69/29769/1
GiWoong Kim [Fri, 31 Oct 2014 12:08:21 +0000 (21:08 +0900)]
menu: execute an external process as detached mode

Detached mode when I use the class method startDetached().
If the process being run request a console, Windows
provides a console windows for it.

Change-Id: I4f5fedd0cd69238e681594565ec542770ad988a6
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: Added "Always on top" in MacOS 32/29732/2
GiWoong Kim [Mon, 3 Nov 2014 10:03:52 +0000 (19:03 +0900)]
menu: Added "Always on top" in MacOS

Change-Id: Ifacf14b81b6bc27f5fe35140d83a6a3cff181fed
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoconfigure: remove --disable-coroutine-pool on Windows 30/29730/1
SeokYeon Hwang [Mon, 20 Oct 2014 06:44:09 +0000 (15:44 +0900)]
configure: remove --disable-coroutine-pool on Windows

Change-Id: I02c3e4c787a79164fc3ce3fd32679182f5d47b94
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agocoroutine-win32.c: Add noinline attribute to work around gcc bug 29/29729/1
Peter Maydell [Mon, 23 Jun 2014 14:55:03 +0000 (15:55 +0100)]
coroutine-win32.c: Add noinline attribute to work around gcc bug

A gcc codegen bug in x86_64-w64-mingw32-gcc (GCC) 4.6.3 means that
non-debug builds of QEMU for Windows tend to assert when using
coroutines. Work around this by marking qemu_coroutine_switch
as noinline.

If we allow gcc to inline qemu_coroutine_switch into
coroutine_trampoline, then it hoists the code to get the
address of the TLS variable "current" out of the while() loop.
This is an invalid transformation because the SwitchToFiber()
call may be called when running thread A but return in thread B,
and so we might be in a different thread context each time
round the loop. This can happen quite often.  Typically.
a coroutine is started when a VCPU thread does bdrv_aio_readv:

     VCPU thread

     main VCPU thread coroutine      I/O coroutine
        bdrv_aio_readv ----->
                                     start I/O operation
                                       thread_pool_submit_co
                       <------------ yields
        back to emulation

Then I/O finishes and the thread-pool.c event notifier triggers in
the I/O thread.  event_notifier_ready calls thread_pool_co_cb, and
the I/O coroutine now restarts *in another thread*:

     iothread

     main iothread coroutine         I/O coroutine (formerly in VCPU thread)
        event_notifier_ready
          thread_pool_co_cb ----->   current = I/O coroutine;
                                     call AIO callback

But on Win32, because of the bug, the "current" being set here the
current coroutine of the VCPU thread, not the iothread.

noinline is a good-enough workaround, and quite unlikely to break in
the future.

(Thanks to Paolo Bonzini for assistance in diagnosing the problem
and providing the detailed example/ascii art quoted above.)

Change-Id: I4a5f4960be4691f6e5d5ad7de7731e14ab594312
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1403535303-14939-1-git-send-email-peter.maydell@linaro.org
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
10 years agobuild: remove gcc dependency on Mac OS X. 28/29728/1
Kitae Kim [Fri, 10 Oct 2014 01:28:47 +0000 (10:28 +0900)]
build: remove gcc dependency on Mac OS X.

Change-Id: I1ffa24aafe9fbdfddcb72e4d0ae4bf4e52ef2b87
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobuild: add libpng and change loader path of it on Mac OS X. 27/29727/1
Kitae Kim [Wed, 23 Jul 2014 09:46:35 +0000 (18:46 +0900)]
build: add libpng and change loader path of it on Mac OS X.

libpng is required when tethering module compresses display image.

Change-Id: Ieb16a8862f148ff934c9353ad073338b4f420181
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge "emulator: do not run the qemu_main on thread on MacOS" into features/qt_dr
Sangho Park [Mon, 3 Nov 2014 09:03:40 +0000 (01:03 -0800)]
Merge "emulator: do not run the qemu_main on thread on MacOS" into features/qt_dr

10 years agoMerge "configure: remove -export_dynamic linker flag on Mac OS X." into features...
Sangho Park [Mon, 3 Nov 2014 09:03:33 +0000 (01:03 -0800)]
Merge "configure: remove -export_dynamic linker flag on Mac OS X." into features/qt_dr

10 years agoemulator: do not run the qemu_main on thread on MacOS 65/29665/2
GiWoong Kim [Fri, 31 Oct 2014 10:28:27 +0000 (19:28 +0900)]
emulator: do not run the qemu_main on thread on MacOS

On MacOS, qemu_main pthread can cause many problem with Qt UI.
So, qemu_main should be moved back to main thread like Windows
and Ubuntu.
Caution) Camera device cannot work correctly on MacOS
from now. We need to fix it later.

Change-Id: I7a20634dd7bfb17e3b98652d5dcecc99886ae734
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoconfigure: get Qt include path through pkg-config on MacOS 53/29653/2
GiWoong Kim [Fri, 31 Oct 2014 08:37:36 +0000 (17:37 +0900)]
configure: get Qt include path through pkg-config on MacOS

Change-Id: Ia8c85d595b41a40e25e73ddd30e3bbc86a779ad4
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoconfigure: remove -export_dynamic linker flag on Mac OS X. 52/29652/1
GiWoong Kim [Fri, 31 Oct 2014 08:26:42 +0000 (17:26 +0900)]
configure: remove -export_dynamic linker flag on Mac OS X.

The flag occurs configure error on Mac OS X because of older compiler.
In addition to this, rearrange configure options.module: title

Change-Id: I5c8bdaf7ee25fac39537fb6f141c2cbff984c1cf
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge "git: add *.dylib, .DS_Store file to .gitignore" into features/qt_dr
SeokYeon Hwang [Thu, 30 Oct 2014 08:09:17 +0000 (01:09 -0700)]
Merge "git: add *.dylib, .DS_Store file to .gitignore" into features/qt_dr

10 years agoMerge "skin: fixed message format for emuld to shutdown" into features/qt_dr
SeokYeon Hwang [Thu, 30 Oct 2014 08:09:05 +0000 (01:09 -0700)]
Merge "skin: fixed message format for emuld to shutdown" into features/qt_dr

10 years agoMerge "sensors: added rotation vector" into features/qt_dr
SeokYeon Hwang [Thu, 30 Oct 2014 08:08:55 +0000 (01:08 -0700)]
Merge "sensors: added rotation vector" into features/qt_dr

10 years agomenu: fix compilation errors on MacOS 44/29544/4
GiWoong Kim [Wed, 29 Oct 2014 11:22:30 +0000 (20:22 +0900)]
menu: fix compilation errors on MacOS

Change-Id: Iaf72f25c390c8f826e42e1da92ee8b213a4cce36
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agogit: add *.dylib, .DS_Store file to .gitignore 48/29548/1
GiWoong Kim [Wed, 29 Oct 2014 11:59:50 +0000 (20:59 +0900)]
git: add *.dylib, .DS_Store file to .gitignore

Change-Id: Ief52a55a1542f6dbd933366b1e593baf84df5232
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: fixed message format for emuld to shutdown 39/29539/1
Jinhyung Choi [Tue, 19 Aug 2014 05:40:26 +0000 (14:40 +0900)]
skin: fixed message format for emuld to shutdown

Change-Id: Ibc44c41df9b0dbeab9c5123b33ca73fcf8235129
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agosensors: added rotation vector 38/29538/1
Jinhyung Choi [Wed, 16 Jul 2014 07:19:22 +0000 (16:19 +0900)]
sensors: added rotation vector

- removed adjust values for accel & gyro
- skin rotation vector sensor value is applied.

Change-Id: Id026aef9895584b304041858028c03cde3da802c
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agomaru_shm: consider unsigned short 24/29524/1
GiWoong Kim [Wed, 29 Oct 2014 05:29:47 +0000 (14:29 +0900)]
maru_shm: consider unsigned short

Change-Id: Iae40500ef645f5fa403f99a4fee55ef33f787baf
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoconfigure: add quotation marks for Darwin LDFLAGS 69/29469/1
GiWoong Kim [Tue, 28 Oct 2014 09:09:26 +0000 (18:09 +0900)]
configure: add quotation marks for Darwin LDFLAGS

Change-Id: I7c80058f8f33c38ca37887da48ba7afa01f2b1c0
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agovigs: support MacOS build 94/29394/2
GiWoong Kim [Mon, 27 Oct 2014 08:37:26 +0000 (17:37 +0900)]
vigs: support MacOS build

Change-Id: Ib3566122b4a09ebc97d78b47d950db191f435822
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoui: revised MRU position 91/29391/2
GiWoong Kim [Wed, 22 Oct 2014 08:19:01 +0000 (17:19 +0900)]
ui: revised MRU position

Emulator windows's first appearance should be shown at
inside of host monitor bounds.

Change-Id: I9ae38f4edead5de579a56308d72a885704915933
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: add None sub-menu for Controller 90/29390/2
GiWoong Kim [Fri, 17 Oct 2014 10:44:06 +0000 (19:44 +0900)]
menu: add None sub-menu for Controller

Change-Id: Ibf40838c3acc9ccd6b51c0b7c7634afbf6f28d40
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "menu: read MRU "Always on Top" value from .skin.properties" into features...
SeokYeon Hwang [Tue, 28 Oct 2014 08:24:18 +0000 (01:24 -0700)]
Merge "menu: read MRU "Always on Top" value from .skin.properties" into features/qt_dr

10 years agoMerge "Direct rendering: Added "always on top" in Windows OS." into features/qt_dr
SeokYeon Hwang [Tue, 28 Oct 2014 08:23:56 +0000 (01:23 -0700)]
Merge "Direct rendering: Added "always on top" in Windows OS." into features/qt_dr

10 years agoMerge "Direct rendering: Added "always on top" in Ubuntu." into features/qt_dr
SeokYeon Hwang [Tue, 28 Oct 2014 08:23:43 +0000 (01:23 -0700)]
Merge "Direct rendering: Added "always on top" in Ubuntu." into features/qt_dr

10 years agoMerge "controller: control the controller position" into features/qt_dr
SeokYeon Hwang [Tue, 28 Oct 2014 08:23:27 +0000 (01:23 -0700)]
Merge "controller: control the controller position" into features/qt_dr

10 years agoMerge "controller: draw a docking guide line" into features/qt_dr
SeokYeon Hwang [Tue, 28 Oct 2014 08:23:16 +0000 (01:23 -0700)]
Merge "controller: draw a docking guide line" into features/qt_dr

10 years agoMerge "controller: additional docking position support" into features/qt_dr
SeokYeon Hwang [Tue, 28 Oct 2014 08:22:47 +0000 (01:22 -0700)]
Merge "controller: additional docking position support" into features/qt_dr

10 years agoMerge "hw/net/ne2000-isa: Register vmstate struct" into features/qt_dr
SeokYeon Hwang [Tue, 28 Oct 2014 08:19:50 +0000 (01:19 -0700)]
Merge "hw/net/ne2000-isa: Register vmstate struct" into features/qt_dr

10 years agoMerge "hw/net/eepro100: Implement read-only bits in MDI registers" into features...
SeokYeon Hwang [Tue, 28 Oct 2014 08:19:38 +0000 (01:19 -0700)]
Merge "hw/net/eepro100: Implement read-only bits in MDI registers" into features/qt_dr

10 years agoMerge "slirp: Remove unused zero_ethaddr[] variable" into features/qt_dr
SeokYeon Hwang [Tue, 28 Oct 2014 08:18:38 +0000 (01:18 -0700)]
Merge "slirp: Remove unused zero_ethaddr[] variable" into features/qt_dr

10 years agoMerge "block/vhdx.c: Mark parent_vhdx_guid variable as unused" into features/qt_dr
SeokYeon Hwang [Tue, 28 Oct 2014 08:18:10 +0000 (01:18 -0700)]
Merge "block/vhdx.c: Mark parent_vhdx_guid variable as unused" into features/qt_dr

10 years agoMerge "util/qemu-sockets.c: Avoid unused variable warnings" into features/qt_dr
SeokYeon Hwang [Tue, 28 Oct 2014 08:17:20 +0000 (01:17 -0700)]
Merge "util/qemu-sockets.c: Avoid unused variable warnings" into features/qt_dr

10 years agoMerge "board: remove unused variables" into features/qt_dr
SeokYeon Hwang [Tue, 28 Oct 2014 08:17:02 +0000 (01:17 -0700)]
Merge "board: remove unused variables" into features/qt_dr

10 years agotarget-i386/translate.c: Remove unused tcg_gen_lshift() 44/29444/2
Peter Maydell [Sat, 7 Jun 2014 17:04:55 +0000 (18:04 +0100)]
target-i386/translate.c: Remove unused tcg_gen_lshift()

The function tcg_gen_lshift() is unused; remove it.

Change-Id: I1d5ce226649ee2f576698ad7639f7606c3861198
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
10 years agoMerge "hw/i386/pc.c: Remove unused parallel_io and parallel_irq variables" into featu...
SeokYeon Hwang [Tue, 28 Oct 2014 08:16:10 +0000 (01:16 -0700)]
Merge "hw/i386/pc.c: Remove unused parallel_io and parallel_irq variables" into features/qt_dr

10 years agoMerge "9pfs: fix compilation errors on Mac OS X." into features/qt_dr
SeokYeon Hwang [Tue, 28 Oct 2014 08:13:41 +0000 (01:13 -0700)]
Merge "9pfs: fix compilation errors on Mac OS X." into features/qt_dr

10 years agomenu: read MRU "Always on Top" value from .skin.properties 89/29389/2
GiWoong Kim [Thu, 16 Oct 2014 05:18:15 +0000 (14:18 +0900)]
menu: read MRU "Always on Top" value from .skin.properties

Change-Id: I8cc1f6c0af859f35c91294419aceb73e1e0e3b53
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoDirect rendering: Added "always on top" in Windows OS. 88/29388/2
minkee.lee [Mon, 13 Oct 2014 12:48:59 +0000 (21:48 +0900)]
Direct rendering: Added "always on top" in Windows OS.

Change-Id: I56ae0f63c8c62b39a667534b772a11d7362949ad
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
10 years agoDirect rendering: Added "always on top" in Ubuntu. 87/29387/2
minkee.lee [Wed, 8 Oct 2014 07:27:36 +0000 (16:27 +0900)]
Direct rendering: Added "always on top" in Ubuntu.

Change-Id: I3390a5f3c1bd0c3f142e9950d1a3bb2ad2e0050d
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
10 years agocontroller: control the controller position 86/29386/2
GiWoong Kim [Tue, 14 Oct 2014 10:06:49 +0000 (19:06 +0900)]
controller: control the controller position

remember the last position and state of controller
read MRU position values from .skin.properties

Change-Id: Ie135f4158c903e272440c3f223178425e221fc20
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocontroller: draw a docking guide line 85/29385/2
GiWoong Kim [Tue, 14 Oct 2014 01:56:13 +0000 (10:56 +0900)]
controller: draw a docking guide line

Emulator draws a guide line for docking when controller
has available position. And the dockable rules were
modified to enhance docking feature.

Change-Id: I271c26a3d5fc3fe15cf3a7e0b7004fd7ad164f0a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocontroller: additional docking position support 84/29384/2
GiWoong Kim [Mon, 13 Oct 2014 10:29:30 +0000 (19:29 +0900)]
controller: additional docking position support

right-top, right-center, right-bottom

Change-Id: Icbf82983dba26f5eaee190d3dc861e278ae3c91c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agohw/i386/pc.c: Remove unused parallel_io and parallel_irq variables 51/29451/1
Peter Maydell [Thu, 29 May 2014 11:01:49 +0000 (12:01 +0100)]
hw/i386/pc.c: Remove unused parallel_io and parallel_irq variables

The variables parallel_io and parallel_irq are unused; delete them.

Change-Id: Idfe0a89c5c48e6000f717d883b2e27c69bfe676f
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
10 years agohw/net/ne2000-isa: Register vmstate struct 50/29450/1
Peter Maydell [Sat, 7 Jun 2014 16:53:11 +0000 (17:53 +0100)]
hw/net/ne2000-isa: Register vmstate struct

The ne2000-isa device defines a VMState struct for migration, but
we forgot to actually register it. Correct this deficiency by
setting dc->vmsd.

Change-Id: I6f82f7cdb0de1f52e64fb80a7a8cb22e5aa23761
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
10 years agohw/net/eepro100: Implement read-only bits in MDI registers 49/29449/1
Peter Maydell [Mon, 9 Jun 2014 15:03:08 +0000 (16:03 +0100)]
hw/net/eepro100: Implement read-only bits in MDI registers

Although we defined an eepro100_mdi_mask[] array indicating which bits
in the registers are read-only, we weren't actually doing anything with
it. Make the MDI register-write code use it rather than manually making
register 1 read-only and leaving the rest as reads-as-written. (The
special-case handling of register 0 remains as before since its mask is
all-zeros and the special casing happens before we apply the masking.)

Change-Id: I28b6ee4691f5e8c325430eb429bee1b06c9a818e
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1402159924-13853-1-git-send-email-peter.maydell@linaro.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
10 years agoslirp: Remove unused zero_ethaddr[] variable 48/29448/1
Peter Maydell [Thu, 29 May 2014 10:59:26 +0000 (11:59 +0100)]
slirp: Remove unused zero_ethaddr[] variable

The zero_ethaddr[] array is never used; delete it.

Change-Id: I20b166d01b3203f4370ebe66db8c659a1f8ea9c0
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
10 years agoblock/vhdx.c: Mark parent_vhdx_guid variable as unused 47/29447/1
Peter Maydell [Sun, 14 Sep 2014 19:29:59 +0000 (20:29 +0100)]
block/vhdx.c: Mark parent_vhdx_guid variable as unused

The parent_vhdx_guid variable is defined but never used, which provokes
complaints from newer versions of clang. Since the variable definition
is here acting as documentation of the image format, mark it with the
'unused' attribute to keep the compiler happy rather than simply
deleting it.

Change-Id: I9748b3b20922666e5f2efceb80e37e99ea3430ce
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
10 years agoutil/qemu-sockets.c: Avoid unused variable warnings 46/29446/1
Peter Maydell [Sat, 7 Jun 2014 16:48:03 +0000 (17:48 +0100)]
util/qemu-sockets.c: Avoid unused variable warnings

The 'on' variable is never used, and 'off' is only used
if IPV6_V6ONLY is defined; delete 'on' and move 'off' to
the point where it is used. This avoids warnings from
clang 3.4.

Change-Id: Ia886bd9b95c0b019d5808834cf704bc97a3cd312
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
10 years agoboard: remove unused variables 45/29445/1
GiWoong Kim [Tue, 28 Oct 2014 02:36:59 +0000 (11:36 +0900)]
board: remove unused variables

Change-Id: I65b217e2c3a54750d8bb25cf17af3df9869049a1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years ago9pfs: fix compilation errors on Mac OS X. 33/29433/1
Kitae Kim [Tue, 28 Oct 2014 01:52:53 +0000 (10:52 +0900)]
9pfs: fix compilation errors on Mac OS X.

in case of Mac OS X, mode_t type is unsigned short.
So, -1 cannot be compared to mode_t type.

Change-Id: Iad1e4a1049e14de0575ed6da11b339ed9045b12d
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agocontroller: modify inheritance of docking controller class 83/29383/2
GiWoong Kim [Mon, 13 Oct 2014 06:55:37 +0000 (15:55 +0900)]
controller: modify inheritance of docking controller class

DockingConView -> QWidget

Change-Id: Id8c75a073fe7af94b9cc0f113fc96fa44f51d21f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocontroller: prepare for expanding of docking feature 82/29382/2
GiWoong Kim [Wed, 8 Oct 2014 11:30:43 +0000 (20:30 +0900)]
controller: prepare for expanding of docking feature

Change-Id: I76c87856a15730f2e62f7e855fd0bec1342afa33
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocontroller: modified controller property 97/29297/2
GiWoong Kim [Fri, 24 Oct 2014 05:53:44 +0000 (14:53 +0900)]
controller: modified controller property

write MRU value for controller index of menu
add name property to QML

Change-Id: I1f4e3737a0b36c607031b163e7d55a351a92ae8d
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoui: modified qt5_destroy function 96/29296/2
GiWoong Kim [Tue, 7 Oct 2014 05:27:59 +0000 (14:27 +0900)]
ui: modified qt5_destroy function

write MRU values(scale, window position)
move to main thread

Change-Id: I5b326a6b288cdeb1627b1a732eb6a02786da93d2
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocontroller: add priority sorting for controller menu 95/29295/1
GiWoong Kim [Fri, 24 Oct 2014 05:49:43 +0000 (14:49 +0900)]
controller: add priority sorting for controller menu

Change-Id: I9c757d131bbb0b9c35884e27436032a2fed078a0
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoui: read MRU values(scale, position) from .skin.properties 94/29294/1
GiWoong Kim [Mon, 6 Oct 2014 05:40:51 +0000 (14:40 +0900)]
ui: read MRU values(scale, position) from .skin.properties

Change-Id: Id1b47cda3a54343051ef6b89f0b78d3498b336bb
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoemulator: add VM data path information 93/29293/1
GiWoong Kim [Mon, 6 Oct 2014 04:19:05 +0000 (13:19 +0900)]
emulator: add VM data path information

Change-Id: I5445f2f3e28362acf2af27659dc59dc5f07ae1f2
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocontroller: make mutually exclusive event 92/29292/1
GiWoong Kim [Wed, 1 Oct 2014 08:29:52 +0000 (17:29 +0900)]
controller: make mutually exclusive event

The controller view events and key events should be
mutually exclusive each other.

Change-Id: I1aa9341bbd4524fd0176bb38babcdfee60525b41
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocontroller: make docking areas 91/29291/1
GiWoong Kim [Tue, 30 Sep 2014 05:52:54 +0000 (14:52 +0900)]
controller: make docking areas

Change-Id: I6ece1e4e00a27b06c74e23b75b567c35f58f2d2a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoemulator: apply --export-all-symbols for Windows 53/29253/1
SeokYeon Hwang [Thu, 23 Oct 2014 09:05:18 +0000 (18:05 +0900)]
emulator: apply --export-all-symbols for Windows

Change-Id: Ia11a3532cb3f9944990b3750a5f9cf88d993fc28
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agocontroller: view split into two types for docking and floating 86/29086/2
GiWoong Kim [Mon, 29 Sep 2014 06:57:06 +0000 (15:57 +0900)]
controller: view split into two types for docking and floating

Change-Id: I080546ebe80f0d3eb365656ef0bbc232ed351957
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocontroller: implement longPress key in controller 85/29085/2
GiWoong Kim [Tue, 21 Oct 2014 06:09:05 +0000 (15:09 +0900)]
controller: implement longPress key in controller

Change-Id: Ib834560fd6f580f0fcd25f4f5ecc361f64cff32d
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocontroller: set region to docking controller 84/29084/2
GiWoong Kim [Fri, 26 Sep 2014 04:59:14 +0000 (13:59 +0900)]
controller: set region to docking controller

Change-Id: I2305ee58a2f536f2ad251b4675159b1955c6b04d
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: modified variable names 83/29083/2
GiWoong Kim [Thu, 25 Sep 2014 07:00:34 +0000 (16:00 +0900)]
skin: modified variable names

To distinguish between main window concept and
controller window concept, we need to redefine
variable or function names from source code.
- device-shaped window -> main window
- key window -> controller window

Change-Id: I8b3adcdf2d72c9d897510838fe1d6d2db61dd8ab
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocontroller: added docking controller 82/29082/2
GiWoong Kim [Thu, 25 Sep 2014 05:47:15 +0000 (14:47 +0900)]
controller: added docking controller

Change-Id: Iaf2e99bd876dc1481155f3f121e5d7d343812dd1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agomenu: prepare docking controller 81/29081/2
GiWoong Kim [Wed, 24 Sep 2014 08:07:03 +0000 (17:07 +0900)]
menu: prepare docking controller

Change-Id: Ida24ec195b6cfdc2be6fd9f770857515e3c31e77
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agocontroller: set default controller 80/29080/2
hyunjin816.lee [Wed, 24 Sep 2014 07:44:06 +0000 (16:44 +0900)]
controller: set default controller

set default controller using by priority in info.ini file

Change-Id: Ide8861b5cc878ec70ef49180a32ef243c1bc6ad1
Signed-off-by: hyunjin816.lee <hyunjin816.lee@samsung.com>
10 years agoui: open the folder when double click the path in DetailInfo Dialog 79/29079/2
hyunjin816.lee [Thu, 4 Sep 2014 11:49:24 +0000 (20:49 +0900)]
ui: open the folder when double click the path in DetailInfo Dialog

Change-Id: Idffd95e2d47a67c1e42fd0c2d8983afd9f8e64dd
Signed-off-by: hyunjin816.lee <hyunjin816.lee@samsung.com>
10 years agomenu: modified dialog style 78/29078/2
GiWoong Kim [Thu, 4 Sep 2014 10:01:51 +0000 (19:01 +0900)]
menu: modified dialog style

modified Detailed Info & About dialog style

Change-Id: Ib7ae70aeb561a2e13ae0d45addfbef1c8a12d138
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "emulator: remove --export-dynamic from global configure" into features/qt_dr
SeokYeon Hwang [Wed, 22 Oct 2014 04:45:08 +0000 (21:45 -0700)]
Merge "emulator: remove --export-dynamic from global configure" into features/qt_dr

10 years agoemulator: remove --export-dynamic from global configure 77/29077/4
GiWoong Kim [Fri, 29 Aug 2014 10:46:02 +0000 (19:46 +0900)]
emulator: remove --export-dynamic from global configure

Apply --export-dynamic for Linux.
Apply -export_dynamic for MacOS.

Change-Id: I066a773bbbe30e5d63c83e038eaf0a76e62e5c93
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agovigs: modified gl header 76/29076/1
GiWoong Kim [Tue, 26 Aug 2014 11:35:06 +0000 (20:35 +0900)]
vigs: modified gl header

remove a "GL_ARB_shader_objects is not defined" warning.
It is defined on some environment, but some is not on Windows.

Change-Id: I03a4a4b9ee509d1d4805135aaaed2c3940079188
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agovigs: fix compilation errors in case of disable-qt configuration 77/28677/1
Kitae Kim [Tue, 14 Oct 2014 05:00:16 +0000 (14:00 +0900)]
vigs: fix compilation errors in case of disable-qt configuration

add vigs_qt5 stub functions

Change-Id: I523a4ebf5563b31893005ef05805a07be46a2761
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agomenu: add Host Keyboard menu 29/26829/2
GiWoong Kim [Mon, 25 Aug 2014 11:33:07 +0000 (20:33 +0900)]
menu: add Host Keyboard menu

Change-Id: Ib82120e626ca459d73d6b20730eeb0c51626a1c6
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agokeyboard: modified keyboard operation 96/26696/3
sungmin ha [Thu, 28 Aug 2014 02:03:53 +0000 (11:03 +0900)]
keyboard: modified keyboard operation

for ubuntu and windows support

Change-Id: Iae7147b7e747b959a40bc9e33edc09dbcd20e8ee
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
10 years agoMerge "menu: modified SDB shell command on Windows" into features/qt_dr
SeokYeon Hwang [Tue, 26 Aug 2014 11:37:56 +0000 (04:37 -0700)]
Merge "menu: modified SDB shell command on Windows" into features/qt_dr

10 years agoMerge "menu: clean up source code" into features/qt_dr
SeokYeon Hwang [Tue, 26 Aug 2014 11:37:46 +0000 (04:37 -0700)]
Merge "menu: clean up source code" into features/qt_dr

10 years agoMerge changes Icfd4f0b5,Ib2d9f4bd into features/qt_dr
SeokYeon Hwang [Tue, 26 Aug 2014 11:36:22 +0000 (04:36 -0700)]
Merge changes Icfd4f0b5,Ib2d9f4bd into features/qt_dr

* changes:
  VIGS: Implement plane flip/rotate
  VIGS: Disable blending by default

10 years agoMerge "VIGS: Support YUV420 planar format" into features/qt_dr
SeokYeon Hwang [Tue, 26 Aug 2014 11:36:09 +0000 (04:36 -0700)]
Merge "VIGS: Support YUV420 planar format" into features/qt_dr

10 years agoMerge "VIGS: Support planar pixel formats" into features/qt_dr
SeokYeon Hwang [Tue, 26 Aug 2014 11:35:55 +0000 (04:35 -0700)]
Merge "VIGS: Support planar pixel formats" into features/qt_dr

10 years agoMerge "VIGS: Support underlays and alpha blending" into features/qt_dr
SeokYeon Hwang [Tue, 26 Aug 2014 11:35:44 +0000 (04:35 -0700)]
Merge "VIGS: Support underlays and alpha blending" into features/qt_dr

10 years agomenu: modified SDB shell command on Windows 91/26491/1
GiWoong Kim [Sat, 23 Aug 2014 00:52:21 +0000 (09:52 +0900)]
menu: modified SDB shell command on Windows

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