sdk/emulator/qemu.git
11 years agopc: fix regression for 64 bit PCI memory
Michael S. Tsirkin [Tue, 27 Aug 2013 05:37:26 +0000 (08:37 +0300)]
pc: fix regression for 64 bit PCI memory

commit 398489018183d613306ab022653552247d93919f
    pc: limit 64 bit hole to 2G by default
introduced a way for management to control
the window allocated to the 64 bit PCI hole.

This is useful, but existing management tools do not know how to set
this property.  As a result, e.g. specifying a large ivshmem device with
size > 4G is broken by default.  For example this configuration no
longer works:

-device ivshmem,size=4294967296,chardev=cfoo
-chardev socket,path=/tmp/sock,id=cfoo,server,nowait

Fix this by detecting that hole size was not specified
and defaulting to the backwards-compatible value of 1 << 62.

Cc: qemu-stable@nongnu.org
Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 1466cef32dd5e7ef3c6477e96d85d92302ad02e3)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
11 years agoscsi: Fix scsi_bus_legacy_add_drive() scsi-generic with serial
Markus Armbruster [Fri, 23 Aug 2013 16:01:58 +0000 (18:01 +0200)]
scsi: Fix scsi_bus_legacy_add_drive() scsi-generic with serial

scsi_bus_legacy_add_drive() creates either a scsi-disk or a
scsi-generic device.  It sets property "serial" to argument serial
unless null.  Crashes with scsi-generic, because it doesn't have such
the property.

Only usb_msd_initfn_storage() passes non-null serial.  Reproducer:

    $ qemu-system-x86_64 -nodefaults -display none -S -usb \
    -drive if=none,file=/dev/sg1,id=usb-drv0 \
    -device usb-storage,id=usb-msd0,drive=usb-drv0,serial=123
    qemu-system-x86_64: -device usb-storage,id=usb-msd0,drive=usb-drv0,serial=123: Property '.serial' not found
    Aborted (core dumped)

Fix by handling exactly like "removable": set the property only when
it exists.

Cc: qemu-stable@nongnu.org
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit c24e7517ee4a98e90eee5f0f07708a1fa12326b3)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
11 years agousb/dev-hid: Modified usb-tablet category from Misc to Input
Marcel Apfelbaum [Thu, 22 Aug 2013 17:11:36 +0000 (20:11 +0300)]
usb/dev-hid: Modified usb-tablet category from Misc to Input

usb-tablet device was wrongly assigned to Misc category

Reported-by: Markus Armbruster <armbru@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 31efd2e883018b4c079ad082105bc161fbb3fef8)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
11 years agoscripts/qapi.py: Avoid syntax not supported by Python 2.4
Peter Maydell [Tue, 20 Aug 2013 14:50:15 +0000 (15:50 +0100)]
scripts/qapi.py: Avoid syntax not supported by Python 2.4

The Python "except Foo as x" syntax was only introduced in
Python 2.6, but we aim to support Python 2.4 and later.
Use the old-style "except Foo, x" syntax instead, thus
fixing configure/compile on systems with older Python.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
(cherry picked from commit 21e0043bada1a24ae2ba6cd0051e104c0cbf9634)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
11 years agordma: silly ipv6 bugfix
Michael R. Hines [Mon, 19 Aug 2013 02:27:08 +0000 (22:27 -0400)]
rdma: silly ipv6 bugfix

My bad - but it's very important for us to warn the user that
IPv6 is broken on RoCE in linux right now, until linux releases
a fixed version.

Signed-off-by: Michael R. Hines <mrhines@us.ibm.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(cherry picked from commit c89aa2f1851b08c3efa8a1070c0a6b9a36e1227f)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
11 years agotarget-ppc: fix bit extraction for FPBF and FPL
Aurelien Jarno [Thu, 15 Aug 2013 11:32:38 +0000 (13:32 +0200)]
target-ppc: fix bit extraction for FPBF and FPL

Bit extraction for the FP BF and L field of the MTFSFI and MTFSF
instructions is wrong and doesn't match the reference manual (which
explain the bit number in big endian format). It has been broken in
commit 7d08d85645def18eac2a9d672c1868a35e0bcf79.

This patch fixes this, which in turn fixes the problem reported by
Khem Raj about the floor() function of libm.

Reported-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
CC: qemu-stable@nongnu.org (1.6)
Signed-off-by: Alexander Graf <agraf@suse.de>
(cherry picked from commit 779f659021d1754117bce1aab9370dc22f37ae07)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
11 years agogdbstub: Fix gdb_register_coprocessor() register counting
Andreas Färber [Mon, 12 Aug 2013 16:09:47 +0000 (18:09 +0200)]
gdbstub: Fix gdb_register_coprocessor() register counting

Commit a0e372f0c49ac01faeaeb73a6e8f50e8ac615f34 reorganized the register
counting for GDB. While it seems correct not to let the total number of
registers skyrocket in an SMP scenario through a static variable, the
distinction between total register count and 'g' packet register count
(last_reg vs. num_g_regs) got lost among the way.

Fix this by introducing CPUState::gdb_num_g_regs and using that in
gdb_handle_packet().

Reported-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: qemu-stable@nongnu.org (stable-1.6)
Tested-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tested-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
(cherry picked from commit 35143f0164e6933a85c7c2b8a89a040d881a9151)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
11 years agoblock: ensure bdrv_drain_all() works during bdrv_delete()
Stefan Hajnoczi [Thu, 27 Jun 2013 13:32:26 +0000 (15:32 +0200)]
block: ensure bdrv_drain_all() works during bdrv_delete()

In bdrv_delete() make sure to call bdrv_make_anon() *after* bdrv_close()
so that the device is still seen by bdrv_drain_all() when iterating
bdrv_states.

Cc: qemu-stable@nongnu.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit e1b5c52e04d04bb93546c6e37e8884889d047cb1)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
11 years agodisplay, skin: remove some warnings 42/11742/2
GiWoong Kim [Mon, 4 Nov 2013 03:06:47 +0000 (12:06 +0900)]
display, skin: remove some warnings

1. added null pointer check
2. added unlock for exceptional path (maru_sdl.c)
3. added title for boilerplate (CustomScrollBar, CustomScrollBarComposite,
CustomScrollBarCompositeLayout.java)
4. define socket macro (maruskin_server.c)
5. minor modification, etc

Change-Id: Ibf79e407d259366c72b5f7b35e400694e276fb08
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge changes Ib7b505a9,I9a140e2c,I4dfbc92d,I20695a07,I82e8bd50,I3e6d670a,I1c7dd0a2...
daiyoung kim [Mon, 4 Nov 2013 07:10:19 +0000 (23:10 -0800)]
Merge changes Ib7b505a9,I9a140e2c,I4dfbc92d,I20695a07,I82e8bd50,I3e6d670a,I1c7dd0a2 into tizen

* changes:
  brillcodec: modified a way to get meta_offset.
  brillcodec: fixed sync problem when processing multi-contexts
  brillcodec: added flush_buffer routine during decoding.
  brillcodec: Apply W/A for worker threads starvation.
  brillcodec: improved performance.
  brillcodec: Fixed deadlock problem.
  brillcodec: source clean-up.

11 years agoproxy: replace gconftool-2 with gsettings 36/11736/1
munkyu.im [Mon, 4 Nov 2013 06:29:35 +0000 (15:29 +0900)]
proxy: replace gconftool-2 with gsettings

Gnome do not support gconftool-2 anymore.
They migrate Gconf to GSettings.
They support it until version 3.2.6

Change-Id: Ib26c3ca82dcb0e6b4b05e738c24c01f4e6781c6b
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agobrillcodec: modified a way to get meta_offset. 32/11732/1
Kitae Kim [Mon, 4 Nov 2013 06:12:05 +0000 (15:12 +0900)]
brillcodec: modified a way to get meta_offset.

Since codec information such as name, type and etc. has stored early when probing driver,
it is not necessary to reserve a certain memory region for it.

Change-Id: Ib7b505a921e0052a19e86430a48e6961e5335323
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agobrillcodec: fixed sync problem when processing multi-contexts 31/11731/1
Kitae Kim [Mon, 4 Nov 2013 06:09:40 +0000 (15:09 +0900)]
brillcodec: fixed sync problem when processing multi-contexts

meta_data queue such as context index, api index and etc.
and codec_data queue which include audio or video input buffer were separated.
In case, video buffer can be deliveried to decode_audio function
because get an element from the meta queue and input queue might be not predictable in the multi-threads.
Two data have to be managed by one queue.

Change-Id: I9a140e2c333042786d10530210b0028823a74c2c
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agobrillcodec: added flush_buffer routine during decoding. 30/11730/1
Kitae Kim [Mon, 4 Nov 2013 05:43:17 +0000 (14:43 +0900)]
brillcodec: added flush_buffer routine during decoding.

avcodec_flush_buffers is required to reset the internal decoder state and flush internal buffers.
If there is no flush routine, decoding functions do not return picture or audio frame during seek operation.

Change-Id: I4dfbc92d82348294176b17e1c9c1238cea9146da
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agobrillcodec: Apply W/A for worker threads starvation. 29/11729/1
SeokYeon Hwang [Mon, 14 Oct 2013 10:20:04 +0000 (19:20 +0900)]
brillcodec: Apply W/A for worker threads starvation.

1. Increase default thread pool size to 8.
2. Check idle threads and add sleep against threads starvation.

Change-Id: I20695a07ed601ed44b2a639c1c62aaf2ebea3575
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agobrillcodec: improved performance. 28/11728/1
SeokYeon Hwang [Mon, 14 Oct 2013 07:43:46 +0000 (16:43 +0900)]
brillcodec: improved performance.

Reduced synchronizing areas.

Change-Id: I82e8bd50f2a9a75c6442708d1df3e4577cd5ee91
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agobrillcodec: Fixed deadlock problem. 27/11727/1
SeokYeon Hwang [Mon, 14 Oct 2013 06:40:29 +0000 (15:40 +0900)]
brillcodec: Fixed deadlock problem.

This problem happened frequently on Windows and wrong use of pthread_cond_signal a cause of deadlock.
pthread_cond_wait api has to be locked by mutex when you use it.

Change-Id: I3e6d670a36a8dcec92e49aa71d301d6b7854be8a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agobrillcodec: source clean-up. 26/11726/1
Kitae Kim [Mon, 4 Nov 2013 05:35:27 +0000 (14:35 +0900)]
brillcodec: source clean-up.

added an exception case when worker thread tries to do the duplicated request.

Change-Id: I1c7dd0a256ab7738a7ba348f6aff8f238981b32c
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoecp: bug fixed - byte to int conversion. 83/11683/1
Jinhyung Choi [Sun, 3 Nov 2013 03:39:54 +0000 (12:39 +0900)]
ecp: bug fixed - byte to int conversion.

In order to fix emulator control server's port transport.
Added 0xFF isolation for the correct value.

Change-Id: Iaec232e0a2270ecdf0657e9bfcf636d9cff9fa98
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoskin: define draw/remove hover function 16/11616/2
GiWoong Kim [Thu, 31 Oct 2013 07:55:33 +0000 (16:55 +0900)]
skin: define draw/remove hover function

refined the parts of source code for
ProfileSpecific Skin

Change-Id: I3d93ef1fa9aedb10c51c9964c12e31eef017bfeb
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge "menu: added Image Path list to Detail Info" into tizen
daiyoung kim [Wed, 30 Oct 2013 10:23:37 +0000 (03:23 -0700)]
Merge "menu: added Image Path list to Detail Info" into tizen

11 years agoMerge "guest_server: changed message format for suspend/resume" into tizen
daiyoung kim [Wed, 30 Oct 2013 07:46:32 +0000 (00:46 -0700)]
Merge "guest_server: changed message format for suspend/resume" into tizen

11 years agomenu: added Image Path list to Detail Info 66/11566/1
GiWoong Kim [Wed, 30 Oct 2013 07:40:33 +0000 (16:40 +0900)]
menu: added Image Path list to Detail Info

Change-Id: I48ae2a7c6b12a56858117f017ec77a8f09191f6b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoguest_server: changed message format for suspend/resume 65/11565/1
Jinhyung Choi [Wed, 30 Oct 2013 07:23:54 +0000 (16:23 +0900)]
guest_server: changed message format for suspend/resume

Change-Id: I6c7c6766e5baa0e380531c2cf20401d4522fae5e
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoMerge changes Ifac28658,I47785ef2,I3adde1a2,I014d39d8,Ifd27e39a,I604e5d4a into tizen
daiyoung kim [Wed, 30 Oct 2013 06:36:56 +0000 (23:36 -0700)]
Merge changes Ifac28658,I47785ef2,I3adde1a2,I014d39d8,Ifd27e39a,I604e5d4a into tizen

* changes:
  menu: switch the function call order for TopMost feature
  skin: no need to setRegion for entire pressed HW keys
  package: version up
  touch: keep the touch point grabbing while finger rearranging
  hwkey: move the pressed key effect into paint listener
  touch: remove null pointer dereferences

11 years agoguest_server: added a sending suspend state after sdb server registers 61/11561/2
Jinhyung Choi [Wed, 30 Oct 2013 06:18:23 +0000 (15:18 +0900)]
guest_server: added a sending suspend state after sdb server registers

Change-Id: I303b143a329d43ba5f830d9301b5cc0ee0d70fb8
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agomenu: switch the function call order for TopMost feature 57/11557/1
GiWoong Kim [Wed, 30 Oct 2013 01:49:22 +0000 (10:49 +0900)]
menu: switch the function call order for TopMost feature

gdk_x11_display_get_xdisplay(4.3) > GDK_DISPLAY(3.7)

Change-Id: Ifac28658c350fb0b3aa42dbdff728fd65d11ad79
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: no need to setRegion for entire pressed HW keys 26/11526/1
GiWoong Kim [Tue, 29 Oct 2013 08:38:12 +0000 (17:38 +0900)]
skin: no need to setRegion for entire pressed HW keys

Change-Id: I47785ef2c690dc6048c877813bbbc2d0362fb477
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agopackage: version up 13/11513/1
GiWoong Kim [Tue, 29 Oct 2013 06:42:07 +0000 (15:42 +0900)]
package: version up

1.6.0

Change-Id: I3adde1a29745ca68523d290be23dfa9ad2d02ad0
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agotouch: keep the touch point grabbing while finger rearranging 12/11512/1
GiWoong Kim [Tue, 29 Oct 2013 06:08:38 +0000 (15:08 +0900)]
touch: keep the touch point grabbing while finger rearranging

Change-Id: I014d39d843ee0f9487200b5b55fd833c6f9199ff
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agohwkey: move the pressed key effect into paint listener 11/11511/1
GiWoong Kim [Tue, 29 Oct 2013 04:34:04 +0000 (13:34 +0900)]
hwkey: move the pressed key effect into paint listener

Change-Id: Ifd27e39a29c59d0e2b6cd325b0ad170abf506b0f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agotouch: remove null pointer dereferences 10/11510/1
GiWoong Kim [Mon, 28 Oct 2013 04:39:45 +0000 (13:39 +0900)]
touch: remove null pointer dereferences

Change-Id: I604e5d4aa5965e745e804da3b70edde27767fcc7
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: indenting & remove repeated condition 62/11362/1
GiWoong Kim [Fri, 25 Oct 2013 02:39:46 +0000 (11:39 +0900)]
skin: indenting & remove repeated condition

Change-Id: I8d3bc5136cd12db1ae070ad42860c5102e3d848a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoemulator: removed dead code & added lock to touchscreen 61/11361/1
GiWoong Kim [Thu, 24 Oct 2013 03:07:34 +0000 (12:07 +0900)]
emulator: removed dead code & added lock to touchscreen

Change-Id: I8eb4df360822a1e6d0752c99833befe4d732796c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoA ESM implementation changes for systemd. 00/11300/1
SeokYeon Hwang [Thu, 24 Oct 2013 03:48:46 +0000 (12:48 +0900)]
A ESM implementation changes for systemd.

For systemd boot progress monitor, introduce 'mode' specifier.

Change-Id: I0d79a4167b7034126b9b4bb1c6cbced37fa589d7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoRevert "build : YAGL module is excluded from the build on MacOS in temparary." 46/11246/1
jinhyung.jo [Wed, 23 Oct 2013 07:19:06 +0000 (16:19 +0900)]
Revert "build : YAGL module is excluded from the build on MacOS in temparary."

This reverts commit 446e85cb36fa45173a3d83433190b3054efbf63b.

Fixed a build problem on MacOS by followed commit.
commit 9dfe963ec492fbe6a7d8a99bac94515de2848554

Change-Id: If4b47c8379c3b807ed0be1ac765cd325b33e288d
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agoskin: added null check & remove exceptional resource leak 95/11195/1
GiWoong Kim [Tue, 22 Oct 2013 11:55:02 +0000 (20:55 +0900)]
skin: added null check & remove exceptional resource leak

Change-Id: I50f738eee8f3dab4666c34d06990ab27acc43b71
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: block the popup menu while shell grabbing 92/11192/1
GiWoong Kim [Tue, 22 Oct 2013 10:21:07 +0000 (19:21 +0900)]
skin: block the popup menu while shell grabbing

Change-Id: If92b632362127f1e42e29f57f0f9c50a9094bbc8
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: disable gc interpolation for stretched image 68/11168/1
GiWoong Kim [Fri, 18 Oct 2013 06:00:51 +0000 (15:00 +0900)]
skin: disable gc interpolation for stretched image

Change-Id: I9d6e3525958f9cb66d3b6d3dbc98070aa96e78ca
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge "prevent: fixed ecs related prevent issues" into tizen
daiyoung kim [Fri, 18 Oct 2013 10:53:24 +0000 (03:53 -0700)]
Merge "prevent: fixed ecs related prevent issues" into tizen

11 years agoprevent: fixed ecs related prevent issues 03/11103/1
Jinhyung Choi [Fri, 18 Oct 2013 06:34:40 +0000 (15:34 +0900)]
prevent: fixed ecs related prevent issues

Change-Id: I180b1a7c2600576968ab98b9939c8e3b24142c1d
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoMerge "YaGL: Batching improved" into tizen
daiyoung kim [Fri, 18 Oct 2013 06:23:46 +0000 (23:23 -0700)]
Merge "YaGL: Batching improved" into tizen

11 years agoMerge "YaGL: Transport improved" into tizen
daiyoung kim [Fri, 18 Oct 2013 06:22:48 +0000 (23:22 -0700)]
Merge "YaGL: Transport improved" into tizen

11 years agoMerge "nfc: arrange message format" into tizen
daiyoung kim [Fri, 18 Oct 2013 01:57:28 +0000 (18:57 -0700)]
Merge "nfc: arrange message format" into tizen

11 years agopackage: version up 73/11073/1
GiWoong Kim [Thu, 17 Oct 2013 09:17:56 +0000 (18:17 +0900)]
package: version up

1.5.103

Change-Id: I73fba0c524f3db439cb1e448bfbbd34eaabeb08e
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: function call re-ordering in arrangeSkin() & etc 72/11072/1
GiWoong Kim [Thu, 17 Oct 2013 09:07:20 +0000 (18:07 +0900)]
skin: function call re-ordering in arrangeSkin() & etc

Change-Id: Ib3f26f7ca8b7759fc5998b67ed07d38ac41cb05c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agonfc: arrange message format 67/11067/1
munkyu.im [Thu, 17 Oct 2013 08:47:51 +0000 (17:47 +0900)]
nfc: arrange message format

add logs and modify protocol

Change-Id: If007079c9f28856378add559e876baacb6f5665c
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agoYaGL: Batching improved 81/11081/1
Stanislav Vorobiov [Mon, 7 Oct 2013 11:29:16 +0000 (15:29 +0400)]
YaGL: Batching improved

The improvements are:

* State tracking is moved completely from host to target,
  this allows executing many OpenGL functions such as state queries
  without doing vmexits
* Host code now contains mostly rendering and is made
  as trivial as possible so that amount of time spend inside host
  is minimal
* True TLS is not used anymore, we fake it using yagl_thread, this is
  both faster and doesn't cause compilation problems on Mac
* yagl_thread no longer creates a separate thread for OpenGL call
  processing. The processing is done inplace and OpenGL contexts are
  switch accordingly. This gives us an opportunity to use glFlush
  instead of glFinish inside eglSwapBuffers, thus, host OpenGL
  throughput is increased
* We now have a single OpenGL driver - yagl_gles_driver instead of two.
  Having several separate OpenGL drivers only complicates things

Change-Id: I053958e700350a4b0dd103990d59df9ff352eff5

11 years agoYaGL: Transport improved 80/11080/1
Stanislav Vorobiov [Wed, 18 Sep 2013 14:20:18 +0000 (18:20 +0400)]
YaGL: Transport improved

The improvements are:

* All transport related things are now inside yagl_transport, the code
  is now concentrated in a single place instead of being scattered
  all over
* No more direct memory access and page walks from API implementation
  code, this is now done inside yagl_transport, thus, API
  implementation is transport agnostic now, function prototypes
  exactly match those of target
* Target arrays can now be accessed via pointer, again, all details
  are handled by yagl_transport. For output arrays API implementation
  also receives number of elements in an array, for input
  arrays it receives maximum number of elements and is able
  to specify how much elements are actually written in order not to
  waste bandwith by transferring excess data

Change-Id: If2689c9f8452ca2d15fe54b123fa2ac9e01a61be

11 years agoskin: added swt version logging 71/11071/1
GiWoong Kim [Thu, 17 Oct 2013 05:57:45 +0000 (14:57 +0900)]
skin: added swt version logging

Change-Id: I348306d4257984ca54a35cb798dfe9a0ad1f4521
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: load nine-patch image throught imageRegistry 57/11057/1
GiWoong Kim [Wed, 16 Oct 2013 09:11:16 +0000 (18:11 +0900)]
skin: load nine-patch image throught imageRegistry

Change-Id: Ieaf2046efa8cd52c163a2c2d18cb7dd7d4c084fb
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agomenu: modified deprecated function 56/11056/1
GiWoong Kim [Wed, 16 Oct 2013 05:42:53 +0000 (14:42 +0900)]
menu: modified deprecated function

replace usage of GDK_DISPLAY with gdk_x11_display_get_xdisplay

Change-Id: If4d6936447704540c4e4700186b77e0e1e032330
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoecs:keep alive checking & device(network & keyboard) msg handling added 14/11014/1
Jinhyung Choi [Thu, 10 Oct 2013 03:55:26 +0000 (12:55 +0900)]
ecs:keep alive checking & device(network & keyboard) msg handling added

Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoskin: enable SpecialKeyWindow docking & etc 17/10917/1
GiWoong Kim [Tue, 15 Oct 2013 05:17:28 +0000 (14:17 +0900)]
skin: enable SpecialKeyWindow docking & etc

Change-Id: Ia6e8b31956a03681f49ebd856dcec3009872eef6
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoMerge changes I835d9038,Ia6d673a3 into tizen
daiyoung kim [Tue, 15 Oct 2013 03:52:05 +0000 (20:52 -0700)]
Merge changes I835d9038,Ia6d673a3 into tizen

* changes:
  skin: make a dual mode progressbar
  skin: prepare for booting progressbar

11 years agoskin: make a dual mode progressbar 60/10860/1
GiWoong Kim [Mon, 14 Oct 2013 10:19:24 +0000 (19:19 +0900)]
skin: make a dual mode progressbar

Change-Id: I835d9038c7b4d5f4895e624214491a17e706b48f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: prepare for booting progressbar 59/10859/1
GiWoong Kim [Mon, 14 Oct 2013 04:32:41 +0000 (13:32 +0900)]
skin: prepare for booting progressbar

Change-Id: Ia6d673a3ad3a4d2da9278aa3d58fce00987df421
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agonfc: make nfc prodesure on ecs 55/10855/1
munkyu.im [Mon, 14 Oct 2013 08:35:59 +0000 (17:35 +0900)]
nfc: make nfc prodesure on ecs

It helps to communicate between ecs and nfc event injectors.

Change-Id: I4fc7fb4ac57b52fc793a32291954337700195d6b
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agoshm: fix shared memory leak 47/10847/1
munkyu.im [Mon, 14 Oct 2013 07:06:13 +0000 (16:06 +0900)]
shm: fix shared memory leak

There was a shared memory leak when exit emulator.
So clear it.

Change-Id: I31f0f030f5e0f88a054547e4df064705898921c1
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
11 years agodisplay: modified SDL_SetVideoMode flag 66/10766/1
GiWoong Kim [Fri, 11 Oct 2013 05:55:12 +0000 (14:55 +0900)]
display: modified SDL_SetVideoMode flag

Use SDL_SWSURFACE if you plan on doing per-pixel manipulations,
or blit surfaces with alpha channels, and require a high framerate.
When you use hardware surfaces, SDL copies the surfaces from video
memory to system memory when you lock them, and back when you unlock
them. This can cause a major performance hit.
 Be aware that you may request a hardware surface, but receive a
software surface because the video driver doesn't support hardware
surface. Many platforms can only provide a hardware surface when
using SDL_FULLSCREEN. The SDL_HWSURFACE flag is best used when
the surfaces you'll be blitting can also be stored in video memory.

Change-Id: I07484f931ac2956bb386234a0524066ee70cce1f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoqemu: cleanning ecs message up & added suspend message to sdb server 26/10726/1
Jinhyung Choi [Mon, 7 Oct 2013 05:42:35 +0000 (14:42 +0900)]
qemu: cleanning ecs message up & added suspend message to sdb server

Change-Id: I309782244c5417cb82c97e0a64d0a45a23274dda
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoqemu: separated monitor functions & bug fixed. 25/10725/1
Jinhyung Choi [Tue, 1 Oct 2013 07:07:34 +0000 (16:07 +0900)]
qemu: separated monitor functions & bug fixed.

Change-Id: If646d7156d3e77cb95c2a543f30837b9dd3e7e3a
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoqemu: separated protobuf message & fixed a bug when it closed 24/10724/1
Jinhyung Choi [Mon, 30 Sep 2013 07:46:57 +0000 (16:46 +0900)]
qemu: separated protobuf message & fixed a bug when it closed

Change-Id: I668b840624df066ff17ff1bce4a05de98d626000
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoqemu: supports storing sdb server list & sending suspend/resume message 23/10723/1
Jinhyung Choi [Fri, 27 Sep 2013 04:12:09 +0000 (13:12 +0900)]
qemu: supports storing sdb server list & sending suspend/resume message

Change-Id: I8e71e07de47731ba77bf16a0a1d0299c69f64294
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoqemu: fixed bug(message format) and added boilerplate 22/10722/1
Jinhyung Choi [Wed, 25 Sep 2013 11:45:25 +0000 (20:45 +0900)]
qemu: fixed bug(message format) and added boilerplate

Change-Id: I018b69a1f647fbcab03410beb0abd21b4b7419e5
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
11 years agoMerge "menu: modified the scale menu visibility control" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:32:28 +0000 (23:32 -0700)]
Merge "menu: modified the scale menu visibility control" into tizen

11 years agoMerge "skin: apply XML bindings for SpecailKeyWindow" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:32:10 +0000 (23:32 -0700)]
Merge "skin: apply XML bindings for SpecailKeyWindow" into tizen

11 years agoMerge "communication: close the data stream" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:31:56 +0000 (23:31 -0700)]
Merge "communication: close the data stream" into tizen

11 years agoMerge "Fix runtime error when loading resources in jar on windows." into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:31:44 +0000 (23:31 -0700)]
Merge "Fix runtime error when loading resources in jar on windows." into tizen

11 years agoMerge "hwkey: added some logs in skin" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:31:29 +0000 (23:31 -0700)]
Merge "hwkey: added some logs in skin" into tizen

11 years agoMerge "skin: added XML bindings for Key Window" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:31:16 +0000 (23:31 -0700)]
Merge "skin: added XML bindings for Key Window" into tizen

11 years agoMerge "skin: added GeneralSkinImageRegistry" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:31:03 +0000 (23:31 -0700)]
Merge "skin: added GeneralSkinImageRegistry" into tizen

11 years agoMerge "skin: modified class name" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:30:47 +0000 (23:30 -0700)]
Merge "skin: modified class name" into tizen

11 years agoMerge "skin: KeyWindow code refactoring" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:30:29 +0000 (23:30 -0700)]
Merge "skin: KeyWindow code refactoring" into tizen

11 years agoMerge "skin: added ProfileSkinImageRegistry" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:30:15 +0000 (23:30 -0700)]
Merge "skin: added ProfileSkinImageRegistry" into tizen

11 years agoMerge "skin: added GeneralKeyWindowImageRegistry" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:30:02 +0000 (23:30 -0700)]
Merge "skin: added GeneralKeyWindowImageRegistry" into tizen

11 years agoMerge "skin: modified Key Window name & etc" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:29:50 +0000 (23:29 -0700)]
Merge "skin: modified Key Window name & etc" into tizen

11 years agoMerge "skin: added SpecialKeyWindow layout schema" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:29:37 +0000 (23:29 -0700)]
Merge "skin: added SpecialKeyWindow layout schema" into tizen

11 years agoMerge "touch: menu blocking while touching" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:29:24 +0000 (23:29 -0700)]
Merge "touch: menu blocking while touching" into tizen

11 years agoMerge "menu: do not start ECP before ECS starting" into tizen
SeokYeon Hwang [Tue, 8 Oct 2013 06:29:11 +0000 (23:29 -0700)]
Merge "menu: do not start ECP before ECS starting" into tizen

11 years agomenu: modified the scale menu visibility control 48/10648/1
GiWoong Kim [Tue, 8 Oct 2013 01:46:37 +0000 (10:46 +0900)]
menu: modified the scale menu visibility control

Change-Id: I64d3099878d8d7cb82325b310d5826e690634c22
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: apply XML bindings for SpecailKeyWindow 47/10647/1
GiWoong Kim [Mon, 7 Oct 2013 08:47:39 +0000 (17:47 +0900)]
skin: apply XML bindings for SpecailKeyWindow

KeyWindowUI

Change-Id: Ibebedfe3b50656b04b2673b3f04f46260e389613
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agocommunication: close the data stream 46/10646/1
GiWoong Kim [Sat, 5 Oct 2013 03:50:51 +0000 (12:50 +0900)]
communication: close the data stream

close the data stream when emulator is shutting down
& remove some warnings & etc

Change-Id: I0474e1bbb03c40ef6ed712c055fe8d231edd62e5
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoFix runtime error when loading resources in jar on windows. 45/10645/1
SeokYeon Hwang [Fri, 4 Oct 2013 10:27:05 +0000 (19:27 +0900)]
Fix runtime error when loading resources in jar on windows.

In jar, a "/" is a only available file seperator.

Change-Id: I0eda8a7e2880f46b60f77d63cf46ee8cd1a3a78e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agohwkey: added some logs in skin 44/10644/1
GiWoong Kim [Wed, 2 Oct 2013 08:32:21 +0000 (17:32 +0900)]
hwkey: added some logs in skin

Change-Id: I84b241e1ed4df65cf2d164669cdbe48cb2284590
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: added XML bindings for Key Window 43/10643/1
GiWoong Kim [Tue, 1 Oct 2013 04:29:16 +0000 (13:29 +0900)]
skin: added XML bindings for Key Window

Change-Id: I1ed51c06560bd6076778a50d53c3d55be2db76ff
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: added GeneralSkinImageRegistry 42/10642/1
GiWoong Kim [Tue, 1 Oct 2013 04:23:20 +0000 (13:23 +0900)]
skin: added GeneralSkinImageRegistry

Change-Id: I1c0c72d9bc117eb79ea09b663d292d579a807ec8
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: modified class name 41/10641/1
GiWoong Kim [Tue, 1 Oct 2013 02:37:37 +0000 (11:37 +0900)]
skin: modified class name

KeyWindowImageRegistry -> SpecialKeyWindowImageRegistry

Change-Id: I43a8f738bb2284f6958d92f6d671d8b3ffe362e3
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: KeyWindow code refactoring 40/10640/1
GiWoong Kim [Tue, 1 Oct 2013 02:35:32 +0000 (11:35 +0900)]
skin: KeyWindow code refactoring

Change-Id: I666ac48e5dd26a802eecb44720f582e5af2b9281
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: added ProfileSkinImageRegistry 39/10639/1
GiWoong Kim [Mon, 30 Sep 2013 12:17:01 +0000 (21:17 +0900)]
skin: added ProfileSkinImageRegistry

Change-Id: I618d68568c7ad31187d33c269033d86dd6d378a1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: added GeneralKeyWindowImageRegistry 38/10638/1
GiWoong Kim [Mon, 30 Sep 2013 10:40:07 +0000 (19:40 +0900)]
skin: added GeneralKeyWindowImageRegistry

Change-Id: I0d7160b816538428d4eb1a92c909f8ff4f18891b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: modified Key Window name & etc 37/10637/1
GiWoong Kim [Mon, 30 Sep 2013 08:57:05 +0000 (17:57 +0900)]
skin: modified Key Window name & etc

KeyWindow -> GeneralKeyWindow

Change-Id: I9671a0980315f7c04e0a3b19a5d2ef021c672e3e
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agoskin: added SpecialKeyWindow layout schema 36/10636/1
GiWoong Kim [Mon, 30 Sep 2013 08:55:20 +0000 (17:55 +0900)]
skin: added SpecialKeyWindow layout schema

Change-Id: If2339d5edb71996c546f8ad9db78eb09375f78b5
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agotouch: menu blocking while touching 35/10635/1
GiWoong Kim [Fri, 27 Sep 2013 12:31:12 +0000 (21:31 +0900)]
touch: menu blocking while touching

Change-Id: I4d9fe09507d4f145faf3dacf772c330cd69424aa
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agomenu: do not start ECP before ECS starting 34/10634/1
GiWoong Kim [Thu, 26 Sep 2013 06:51:13 +0000 (15:51 +0900)]
menu: do not start ECP before ECS starting

Change-Id: Idba8088b912b094aa1ca02453a00edcd8f69cd0a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
11 years agobrillcodec: fixed sync problem when closing avcodec. 32/10632/1
Kitae Kim [Sat, 28 Sep 2013 12:38:24 +0000 (21:38 +0900)]
brillcodec: fixed sync problem when closing avcodec.

codec_deinit function didn't raise an interrupt unlike other functions
because the function didn't need to write the result of avcodec_close.
That's why deinit call from driver and codec plugin could be accessed simultaneouly,
and in case of that, synchronous problem causes SEGV problem.

Change-Id: I290bd03446a3b43a9c87b960241317b9cfbc5119
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agobrillcodec: enable brillcodec device and disable old codec_device. 31/10631/1
Kitae Kim [Thu, 26 Sep 2013 01:21:57 +0000 (10:21 +0900)]
brillcodec: enable brillcodec device and disable old codec_device.

Change-Id: I8c7ced5e9070bb69821b4a4a8f723fabb1379fd3
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agopackage : update the package version 94/10394/1
jinhyung.jo [Tue, 1 Oct 2013 09:18:05 +0000 (18:18 +0900)]
package : update the package version

1.5.96 -> 1.5.97

Change-Id: I98a3bfc22494826b28c5430d801fd6f25eab6d7f
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agobuild : YAGL module is excluded from the build on MacOS in temparary. 93/10393/1
jinhyung.jo [Tue, 1 Oct 2013 09:16:45 +0000 (18:16 +0900)]
build : YAGL module is excluded from the build on MacOS in temparary.

This modification is temporary.
The reason is that compilation error occurs when using the clang compiler.
It caused by __thread attribute in yagl_thread, clang does not support the attribute in MacOS.

Change-Id: Id4fd6c8f0ad33e98d178a3cce5a954601e35142b
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
11 years agoMerge branch 'tizen' into sdk-develop
Yeongkyoon Lee [Thu, 26 Sep 2013 09:10:47 +0000 (18:10 +0900)]
Merge branch 'tizen' into sdk-develop