sdk/emulator/qemu.git
8 years agodebug: fix a bug about reading debugch name
Sooyoung Ha [Sun, 1 Nov 2015 10:49:53 +0000 (19:49 +0900)]
debug: fix a bug about reading debugch name

The legacy code designed that DEBUGCH file always has a newline
character end of it, code tried to remove(means changed it to null char)
the last char. But surely, DEBUGCH file might not have the newline, it
could cause the unexpected behavior. So I add the newline check code.

Change-Id: Id5eb667adcdeef7fa3920069afc1e936100107ce
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
8 years agoYaGL: Version bump
jinhyung.jo [Fri, 6 Nov 2015 05:11:08 +0000 (14:11 +0900)]
YaGL: Version bump

For the 64bit addressing
(commit id: 6f60a05179838f69e095cd6425a5f1ac8b0bd2e2)
Be sure synchronize with the kernel & platform yagl packages.

Change-Id: I39de2627754b7f70efc0a0fbfd3b2101be9b009d
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
8 years agoDIBS: build on DIBS in the same way on local
SeokYeon Hwang [Fri, 6 Nov 2015 02:33:32 +0000 (11:33 +0900)]
DIBS: build on DIBS in the same way on local

Using TIZEN_SDK_DEV_PATH instead of overriding PKG_CONFIG_PATH.

Change-Id: Ib99c9e6149cbca93c278e84873b8a93de6f436e0
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoconfigure: change default TIZEN_SDK_DEV_PATH for cross compiling
SeokYeon Hwang [Thu, 5 Nov 2015 12:38:09 +0000 (21:38 +0900)]
configure: change default TIZEN_SDK_DEV_PATH for cross compiling

If CROSS_PREFIX is specified, we use "~/tizen-sdk-dev/$CROSS_PREFIX/"
as a default instead of "~/$CROSS_PREFIX-tizen-sdk-dev/".

Change-Id: I86e825ca2b1749be240e8850478de2c185b2cb8e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoutil: remove unused utility sources
SeokYeon Hwang [Thu, 5 Nov 2015 12:20:10 +0000 (21:20 +0900)]
util: remove unused utility sources

check-* is moved to emulator-supplements. So it is useless now.

Change-Id: I52a0fbe884a37d1fd570dff3febd029e3afad869
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agovl.c: do not use deprecated glib API g_mem_set_vtable()
SeokYeon Hwang [Thu, 5 Nov 2015 12:12:36 +0000 (21:12 +0900)]
vl.c: do not use deprecated glib API g_mem_set_vtable()

g_mem_set_vtable() has been deprecated since glib version 2.46. So,
compiler complain about it "-Wdeprecated-declarations".
We should not use g_mem_set_vtable() when glib is newer than 2.46.

Change-Id: I0fcf76fa1b18e544341c679307aa5418cf619367
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoXML: removed returning allocated memory in parser
GiWoong Kim [Tue, 3 Nov 2015 08:15:17 +0000 (17:15 +0900)]
XML: removed returning allocated memory in parser

Change-Id: I5e63849a513e7f53b0a414742e3c21a935f7046b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoXML: minor cleanup
GiWoong Kim [Tue, 3 Nov 2015 07:21:27 +0000 (16:21 +0900)]
XML: minor cleanup

- declare a makeGeneralCon function
- call by reference
- add some logs

Change-Id: Ic14a41b222be25ff8e3c9b773ded17c8e6cc7dda
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agodisplay: added masking for screen off guide
GiWoong Kim [Wed, 4 Nov 2015 08:58:06 +0000 (17:58 +0900)]
display: added masking for screen off guide

Change-Id: If3bcf54f83f779e32490bfee12668d94facd928d
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoskin: fix the incorrect decision logic for VM color
GiWoong Kim [Tue, 3 Nov 2015 06:31:34 +0000 (15:31 +0900)]
skin: fix the incorrect decision logic for VM color

Decision logic for VM color(which is used by Pair Tag on skin)
is depended on base port number. The port number is
increased by 10 from 26100.

Change-Id: I8744e837eb77773e9dedf2155abca346498ae211
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agocheck-net: fix duplicated http_proxy
Munkyu Im [Tue, 3 Nov 2015 07:16:18 +0000 (16:16 +0900)]
check-net: fix duplicated http_proxy

replace duplicated "http_proxy=" with "https_proxy="
It is typo error.

Change-Id: Ic02493790ddcc52367a179c4a7d51d5812b46517
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agopackage: version up(2.4.1)
jinhyung.jo [Thu, 5 Nov 2015 03:11:18 +0000 (12:11 +0900)]
package: version up(2.4.1)

up to 2.4.1

Change-Id: I9cb76d4cdbad96f30d985e5ad26c1b33d1fbf714
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
8 years agoYaGL: Patches for the 64bit memory addressing
jinhyung.jo [Wed, 4 Nov 2015 09:25:17 +0000 (18:25 +0900)]
YaGL: Patches for the 64bit memory addressing

Tizen 3.0 supports a 64bit guest.
However current yagl is implemented by assumed to use the 32bit address.
So modify the address related parts.
I will also update the yagl platform sources.

Change-Id: I5f56915fa68f8170d81c96e8f426f60ddc9d98e5
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
8 years agoYaGL: Modified the process state for the 64bit guest
SeokYeon Hwang [Tue, 3 Nov 2015 07:04:10 +0000 (16:04 +0900)]
YaGL: Modified the process state for the 64bit guest

If the guest image is 64bit, 'yagl_mem_get' function fails.
So the host yagl can not access the guest memory.
The failure occurs in the 'cpu_get_phys_page_debug'.
(<qemu>/target-i386.helper.c:820 if (env->hflags & HF_LMA_MASK))
Becuase the yagl process state does not have the flag like above,
it does not proceed as a normal routine in Ubuntu 64bit.
Therefore add the 'hflags' to the yagl process state.

Change-Id: Ia1dfa8d7ca51211893149612f400365199fe16b5
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
8 years agoskin: masking for non-alpha channel image format
GiWoong Kim [Mon, 2 Nov 2015 05:31:24 +0000 (14:31 +0900)]
skin: masking for non-alpha channel image format

Removes any mask set on main window when emulator uses
a non-alpha channel image as a skin.

Change-Id: I64293c35f07a36fb3bbbff140a06412f09b6084c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoaudio: disable audio on Windows to avoid Windows audio problem
SeokYeon Hwang [Fri, 30 Oct 2015 04:18:31 +0000 (13:18 +0900)]
audio: disable audio on Windows to avoid Windows audio problem

QEMU dsound audio backend is not stabilized now and it can cause
emuulator crash. Until we solve the problem, we should disable
audio in Windows.

Change-Id: I5acb6f955fa03868b34ca27be8fc0fec63c7dda1
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoaudio: remove W/A codes for winwaveaudio
bk0121.shin [Thu, 29 Oct 2015 07:53:24 +0000 (16:53 +0900)]
audio: remove W/A codes for winwaveaudio

When sound is played without connecting of speaker on Windows,
because winwaveaudio made process lock-up, the W/A were applied.
However, qemu of tizen_3.0 does not support winwaveaudio,
but, dsoundaudio for Windows host.
And, as audio codes of qemu are updated, the W/A is no more valid code.
Therefore, the W/A codes are removed.

Change-Id: I63f4d73646f09b2af41238ce34102667f05f1d5e
Signed-off-by: bk0121.shin <bk0121.shin@samsung.com>
8 years agoui: initialize class-member variables
GiWoong Kim [Mon, 26 Oct 2015 02:40:16 +0000 (11:40 +0900)]
ui: initialize class-member variables

1. initialize class-member variables
2. delete unnecessary null checking

Change-Id: Ie20dfc5789f7d9be8cb08487c7bfe460507bcb2c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoQt: initialize the docking controller view status
Jihye Won [Sun, 25 Oct 2015 10:15:47 +0000 (19:15 +0900)]
Qt: initialize the docking controller view status

When DockingConView object is created,
the mouse button state is naturally relased.
So, conViewStat should be initialized
as CONVIEW_RELEASED in the constructor of DockingConView.

Change-Id: I849582317075c10d2126c478ac7f6eec51f0dd3a
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
8 years agohax: expand error popup cases
Sooyoung Ha [Sun, 18 Oct 2015 11:28:15 +0000 (20:28 +0900)]
hax: expand error popup cases

We had only one popup "No accelerator found." when haxm had failed to
load. It was not enough to describe why users could not launch emulator
clearly. So I expand the error popup strings for some cases. This patch
could help users to understand their status.

Change-Id: Ie4818308255be4cb4c82e0b5f790cfe365f9e0d2
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
8 years agoskin: remove memory leak
GiWoong Kim [Fri, 23 Oct 2015 12:22:05 +0000 (21:22 +0900)]
skin: remove memory leak

1. remove resource leak in SkinPainter object
2. delete unnecessary null checking

Change-Id: I141116cfd68dcd242bd2581c6deff01c82bf266c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agopackage: version up (2.4.0)
SeokYeon Hwang [Thu, 22 Oct 2015 02:42:26 +0000 (11:42 +0900)]
package: version up (2.4.0)

2.4.0

Change-Id: I9963206f9bf71c6105d67929694d5c3ce071037f
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoosutil: get_java_path() move to osutil-win32.c
SeokYeon Hwang [Thu, 22 Oct 2015 07:23:56 +0000 (16:23 +0900)]
osutil: get_java_path() move to osutil-win32.c

qemu_oom_check() uses new QT5 dialog for reporting errors. Finally,
get_java_path() is called by tizen specific logics only. Then it
can move to tizen specific utility now.

Change-Id: I9f2d0dd26715059734bc8242320de01c539a331c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoerror: use new qt5 dialog instead of legacy java dialog
SeokYeon Hwang [Thu, 22 Oct 2015 06:19:47 +0000 (15:19 +0900)]
error: use new qt5 dialog instead of legacy java dialog

Change-Id: I3682bd91063ffe2393207ed9c6a7d2d4d003a46c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agohax-all: just use compiler's builtin ffsl()
SeokYeon Hwang [Thu, 22 Oct 2015 05:04:40 +0000 (14:04 +0900)]
hax-all: just use compiler's builtin ffsl()

Toolchains of some platforms don't have ffsl() function. To solve
it, just use compiler's builtin ffsl().

Change-Id: I176aabe730b0bf8afbd5a5d9323e73b203855cdb
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agobuild: clean DIBS build scripts up
SeokYeon Hwang [Wed, 21 Oct 2015 07:49:22 +0000 (16:49 +0900)]
build: clean DIBS build scripts up

Specific operations for MacOS move to macos-64 script.
Routines checking whether TARGET_OS is valid or not is added.

Change-Id: I7aadff447dcd7e7cbe6f55de9f4f6f319c21c2f3
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoMerge tag 'v2.4.0.1' into tizen_3.0_develop
SeokYeon Hwang [Thu, 22 Oct 2015 02:34:15 +0000 (11:34 +0900)]
Merge tag 'v2.4.0.1' into tizen_3.0_develop

v2.4.0.1

CVE-only release (see commit log for CVE numbers)

8 years agoQt: code refactoring to improve readability
Jihye Won [Wed, 21 Oct 2015 00:29:47 +0000 (09:29 +0900)]
Qt: code refactoring to improve readability

I decreased indentation on the existing source code.
This code refactoring will help developers understand and
improve readability.

Change-Id: I5edd527a69dd8fd181a28d80025b1d53273ebeb7
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
8 years agoinstall: remove enlarging shared memory size
Munkyu Im [Mon, 12 Oct 2015 06:55:25 +0000 (15:55 +0900)]
install: remove enlarging shared memory size

Because it needs communication protocol to deliver the frame buffer data
to swt skin, the frame buffer between swt skin and qemu was shared by shared memory.
The size of the buffer needs big size.(the size is calculated by width * height * color depth)
It caused performance issue.
Also the buffer was useless since the protocol was integrated by QT.

Change-Id: Ib593cdef178a9a154d6c5ad70ae20d3735829ffe
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agoVIGS: Enabling NVidia GPU on Optimus systems
Jinhyung Jo [Wed, 7 Oct 2015 07:43:02 +0000 (16:43 +0900)]
VIGS: Enabling NVidia GPU on Optimus systems

Add global variable NvOptimusEnablement for the NVidia GPU.
It can run with Release 302 driver or later.
Add global vatiable AmdPowerXpressRequestHighPerformance for the AMD GPU.
It can run with 13.35 driver or later.

Change-Id: Ia917d46dd466fbfa2260c8013dab6baa7ffbb803
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoconfigure: remove --export-all-symbols on Windows
SeokYeon Hwang [Thu, 15 Oct 2015 03:18:53 +0000 (12:18 +0900)]
configure: remove --export-all-symbols on Windows

An option "--export-all-symbols" seems to hide other exported value.
We don't know yet whether it is Windows specification or bug on GNU
toolchains. This commit causes some symbol name is missed in backtrace
information. But I think it is better to re-write backtrace code that
uses debugging symbols instead of exported symbols.

We use "-rdynamic" instead of "-Wl,--export-dynamic" since some
linker use "--export_dynamic" not "--export-dynamic".

"-static-libgcc" and "-static-libstdc++" are linker options, so they
are designated as a ldflags.

Change-Id: I1f301bc44c0ee245d7d2a4d7af7a238d0df648df
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agonet: modify script file for setting bridge network
Munkyu Im [Thu, 8 Oct 2015 06:25:13 +0000 (15:25 +0900)]
net: modify script file for setting bridge network

 - fix if statement
 - modify log

Change-Id: Ie9841bf824680fa0106c596f102a2d3a9170381d
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agocoroutine: decrease POOL_BATCH_SIZE for Win32
SeokYeon Hwang [Mon, 19 Oct 2015 05:20:25 +0000 (14:20 +0900)]
coroutine: decrease POOL_BATCH_SIZE for Win32

In 32bit Windows, POOL_BATCH_SIZE == 64 can cause ERROR_NOT_ENOUGH_MEMORY
in CreateFiber() in very busy fiber creation. So we decrease the value to
32 for Win32.

Change-Id: I09d85087f51d696909f732d1589e0efba4c6d699
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agocoroutine: co->fiber has not to be null
SeokYeon Hwang [Mon, 19 Oct 2015 04:57:24 +0000 (13:57 +0900)]
coroutine: co->fiber has not to be null

CreateFiber() will be return NULL when it fails. If co->fiber is null,
SwitchToFiber() aborts with C0000005 and it corrupts stack that make
hard to find causes. So it is better to abort when CreateFiber()
returns NULL.

Change-Id: Ifdc36404ce523cee842fd486bdbe071e58b7d7b3
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoconfigure: support recent Windows APIs
SeokYeon Hwang [Mon, 19 Oct 2015 05:17:17 +0000 (14:17 +0900)]
configure: support recent Windows APIs

We do not support Windows XP or older version.

Change-Id: I51e5ae09a6a486d36b347b95a5007067a72ab013
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoconfigure: _WIN32_WINNT should be set when WINVER is set
SeokYeon Hwang [Mon, 19 Oct 2015 05:05:15 +0000 (14:05 +0900)]
configure: _WIN32_WINNT should be set when WINVER is set

_WIN32_WINNT can be set different value from WINVER. But _WIN32_WINNT
and WINVER are used independantly in header files for determining which
API can be used for specified Windows version. So, it is better that
_WIN32_WINNT and WINVER has same value.

And if _WIN32_WINNT >= 0x0600 (Vista or newer) some APIs need ole32.

Change-Id: I6a1900e80327caad4dc0e7709dec3a1c981b7b0d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agomenu: add a Move menu into the context menu.
Jihye Won [Thu, 15 Oct 2015 08:04:14 +0000 (17:04 +0900)]
menu: add a Move menu into the context menu.

The Move function for moving easily the emulator was introduced.
So, I added the menu and shortcut for the function.

Change-Id: I2d0d1309399a045fab2512ececf433352cfec4a4
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
8 years agoQt: add a "Move" function to move an emulator
Jihye Won [Wed, 7 Oct 2015 09:18:00 +0000 (18:18 +0900)]
Qt: add a "Move" function to move an emulator

The Move function can improve user convenience
when the skin bezel is too small to grab the emulator

Change-Id: I4729326650ca42364252625c6ec4b0dbf370414c
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
8 years agogitignore: added qt5_msgbox.res
Jihye Won [Mon, 19 Oct 2015 05:08:47 +0000 (14:08 +0900)]
gitignore: added qt5_msgbox.res

After building tizen on Windows,
tizen/standalone-src/qt5_msgbox.res is created.
I added the file in gitignore for the file
to be untracked.

Change-Id: I33b1c2dd96cd3eb4959a54fa046c5c8f158ec87e
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
8 years agoQt: fixed the bug about Qt log in debugging mode.
Jihye Won [Wed, 14 Oct 2015 12:31:18 +0000 (21:31 +0900)]
Qt: fixed the bug about Qt log in debugging mode.

There was an encoding error about the file name of Qt log
when the emulator is executed in debugging mode.
So, I fixed the error by using member functions of QByteArray.

Change-Id: I35effa7ba50e172a68783d83259d714b14ca72a0
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
8 years agomulti-touch: added device initializing checking
GiWoong Kim [Fri, 16 Oct 2015 04:28:47 +0000 (13:28 +0900)]
multi-touch: added device initializing checking

Multi-touch events should be ignored when
the touchscreen device is not ready yet.

Change-Id: I7486e1bc91bf9a4519a9e27a6c331aca65b03b39
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agomulti-touch: improved re-touch decision for touch point
GiWoong Kim [Thu, 15 Oct 2015 09:47:07 +0000 (18:47 +0900)]
multi-touch: improved re-touch decision for touch point

To get more precise distincion for re-touch points,
shape of decision region need to change to circular from rectangle.
It makes reduce a gap between mouse event area(decision region)
and point appearance.

Change-Id: I6e47a0d3a8c1bd45ba0df124cf744573fffe41dd
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoui: delete a space before the colon on logging
GiWoong Kim [Thu, 15 Oct 2015 09:43:16 +0000 (18:43 +0900)]
ui: delete a space before the colon on logging

Change-Id: I14aa91a3b86f9c8a0549b54e005dbb4b781e825b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agogui: added hover XML schema
GiWoong Kim [Mon, 12 Oct 2015 10:22:54 +0000 (19:22 +0900)]
gui: added hover XML schema

define hover schema for main window's HW key on profile-specific skin

Change-Id: I3447ffa9f490510a485b63ca6587b4bceb5c9b5d
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agohwkey: modified dual keycode handling for HW key
GiWoong Kim [Tue, 6 Oct 2015 08:00:25 +0000 (17:00 +0900)]
hwkey: modified dual keycode handling for HW key

- hold down the HW key for up to 2 seconds: long press
- under the 2 seconds: short press

Change-Id: I4071210c1183a8ba9227f815489694cb7f70960e
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoRevert "linuxboot: fix loading old kernels"
Sooyoung Ha [Wed, 14 Oct 2015 03:59:46 +0000 (12:59 +0900)]
Revert "linuxboot: fix loading old kernels"

This reverts commit 269e2358492b674c50160553d037702e916b9f1b.
This commit occured a kernel loading failure on windows with haxm. I am
not sure which code causes this but tizen emulator would work well if I
revert this commit, so I do for now.

Change-Id: Ib622a106fdf5075956cf5cbd3199db27828e1887
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
8 years agoqt5_msgbox: check if message has only a newline character.
Jihye Won [Tue, 13 Oct 2015 05:02:10 +0000 (14:02 +0900)]
qt5_msgbox: check if message has only a newline character.

qt5_msgbox shows an empty message
when the message as the argument of error_report() ends a newline character.
So, it is necessary to check if the message is valid before executing qt5_msgbox.

Change-Id: I48e4bd0e484a69bd00c6a9aace5b4390d996bd62
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
8 years agoMerge branch 'tizen_2.4_develop' into tizen_3.0_develop
SeokYeon Hwang [Wed, 14 Oct 2015 04:05:50 +0000 (13:05 +0900)]
Merge branch 'tizen_2.4_develop' into tizen_3.0_develop

Change-Id: I65d65fd526fd0fc169e7b71fe4a0322e01ac7f52
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoecs: add log about target image path.
minkee.lee [Tue, 13 Oct 2015 06:59:53 +0000 (15:59 +0900)]
ecs: add log about target image path.

- change log level. (TRACE -> INFO)
- Target image path is used in emulator-manager
  in order to check running-VM.

Change-Id: I5f91f30ba9bdf3887028c5272b4efe6ec5b75e70
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agovl.c: HAX needs ram_size for initializing
SeokYeon Hwang [Wed, 7 Oct 2015 04:17:38 +0000 (13:17 +0900)]
vl.c: HAX needs ram_size for initializing

configure_accelerator() uses current_machine as parameter. But
current_machine struct does not contain proper ram_size since it is
set just before machine init. So configure_accelerator() should run
after entire current_machine memebers are prepared.

Change-Id: I944d60d1768bb0512350cbd2ca4a62e3962515ca
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agopackage: version up (2.2.66)
minkee.lee [Thu, 8 Oct 2015 02:42:18 +0000 (11:42 +0900)]
package: version up (2.2.66)

Change-Id: Ib319ad134ae21b231f28392970b9578637e5c1ec
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agovirtio: change device id name
Munkyu Im [Fri, 2 Oct 2015 06:40:46 +0000 (15:40 +0900)]
virtio: change device id name

append maru suffix to distinguish from original device id name

Change-Id: I829a95e1bcd330dbfbbc9cf0cbf7549a11e93370
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agogui: standardize tooltip style
GiWoong Kim [Fri, 2 Oct 2015 01:58:53 +0000 (10:58 +0900)]
gui: standardize tooltip style

black font, white background, black 1px border

Change-Id: Ied412879f7ee7b4e6b672828dabdedda59c9a903
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoemul_state: change display resolution fallback
SeokYeon Hwang [Fri, 2 Oct 2015 04:25:38 +0000 (13:25 +0900)]
emul_state: change display resolution fallback

Display resolution fallback uses initial display resolution.

Change-Id: Ida54c4c8b55e828cbf9b0ab976f3393b6aecdfc5
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agopackage: version up
GiWoong Kim [Wed, 30 Sep 2015 08:16:54 +0000 (17:16 +0900)]
package: version up

2.2.65

Change-Id: Ieed0405b6dd5b3e3bad8750a91ff2e4797cec972
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agopackage: add prerequisite
Munkyu Im [Tue, 22 Sep 2015 07:06:36 +0000 (16:06 +0900)]
package: add prerequisite

used for enabling bridged network feature.
add glib2, acl, zlib, pixman package for qemu.

Change-Id: Ie2c29d1b82982670d046effea0ff669ce2e22918
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agoinstall: modify path for temp files
Munkyu Im [Thu, 24 Sep 2015 09:06:37 +0000 (18:06 +0900)]
install: modify path for temp files

"~/.installmanager" path is using for installer.
it can be changed for some reasons.

Change-Id: I7bfd78ef52f39aa4e89f13ca6de5dc4f105f2960
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agonet: bridge name is flexible
Munkyu Im [Thu, 24 Sep 2015 08:47:25 +0000 (17:47 +0900)]
net: bridge name is flexible

qemu set bridged network on mac os 10.8.
bridge name was fixed with "bridge0".
However from mac os 10.9, the setting is possible on
host network configuration. So, support another bridge names.

Change-Id: I6c75766ca624847cf5e11a5ff9f61afbe89f041f
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agomenu: modified shortcut info table on Detailed Info dialog
GiWoong Kim [Fri, 25 Sep 2015 07:20:51 +0000 (16:20 +0900)]
menu: modified shortcut info table on Detailed Info dialog

Short-cut key information table has been separated into two parts.
One is a Menu short-cut table, the other is HW key short-cut table.

Change-Id: I8232cec0e77e6374dd43cc597ad4b5de3ed7a36a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agopackage: version-up(2.2.67)
ChulHo Song [Wed, 30 Sep 2015 05:10:03 +0000 (14:10 +0900)]
package: version-up(2.2.67)

Change-Id: Id005ae1248726e5253253b8e357fd04cac32de56
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
8 years agosdcard: allocate "DriveInfo" to delete the "BlockBackend" automatically
ChulHo Song [Wed, 30 Sep 2015 04:28:56 +0000 (13:28 +0900)]
sdcard: allocate "DriveInfo" to delete the "BlockBackend" automatically

When the sdcard is detached, "virtio_blk_device_unrealize" marks
auto deletion flag to the "DriveInfo". But "qmp_marshal_input_blockdev_add"
does not create the "DriveInfo". To destroy BlockBackend object automatically
we need to create dummy "DriveInfo".

Change-Id: I8501c5b14daab487e72b4b6b6a0744475c6553a3
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
8 years agoRevert "blockdev: bug fix for multiple sdcard attachment with same ID"
ChulHo Song [Wed, 30 Sep 2015 04:26:30 +0000 (13:26 +0900)]
Revert "blockdev: bug fix for multiple sdcard attachment with same ID"

This reverts commit 0e218af5119f14fb3172097833e1851bc32be73e.

Change-Id: Idde0232cd4533bb04f001d9c5ef581e578e1ca03
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
8 years agopackage: version-up(2.2.66)
haken.kim [Thu, 24 Sep 2015 12:14:52 +0000 (21:14 +0900)]
package: version-up(2.2.66)

Change-Id: I6aa401a0ccafc987f58afe73d844f89aa12d1771
Signed-off-by: haken.kim <haken.kim@samsung.com>
8 years agoblockdev: bug fix for multiple sdcard attachment with same ID
haken.kim [Thu, 24 Sep 2015 06:58:51 +0000 (15:58 +0900)]
blockdev: bug fix for multiple sdcard attachment with same ID

 - returns BlockBackend if the device id already exits

Change-Id: I7c1417569321f16460f32e238489e59c04eecf84
Signed-off-by: haken.kim <haken.kim@samsung.com>
8 years agoecs: error handling when try to connect eventcast
haken.kim [Thu, 24 Sep 2015 09:19:33 +0000 (18:19 +0900)]
ecs: error handling when try to connect eventcast

Change-Id: I7df2af3ee61cd58d5aa840cfead21578d14d6d5d
Signed-off-by: haken.kim <haken.kim@samsung.com>
8 years agoshortcut: changed the shortcut to execute Shell.
Jihye Won [Mon, 21 Sep 2015 10:59:26 +0000 (19:59 +0900)]
shortcut: changed the shortcut to execute Shell.

Because VoiceOver keyboard shortcut on MacOSX is Ctrl+F5,
I changed the shortcut from Ctrl+F5 into Ctrl+Shift+S.
Also, the Ctrl key is Command key on MacOSX.
Therefore, users can execute Shell(SDB) by pressing Command+Shift+S.
New shortcut is more intuitive and avoids duplicate VoiceOver shortcut.

Change-Id: Ide8886458e61dac4cc9b4b6c3a2c5f6a514bbc4a
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
(cherry picked from commit cbbd1185cd5aac1a15211ac91b43a1e6a954c3b7)

8 years agoUpdate version for 2.4.0.1 release
Michael Roth [Tue, 22 Sep 2015 21:53:17 +0000 (16:53 -0500)]
Update version for 2.4.0.1 release

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
8 years agoYaGL: Removed a deprecated attribute
jinhyung.jo [Mon, 21 Sep 2015 10:40:38 +0000 (19:40 +0900)]
YaGL: Removed a deprecated attribute

The 'kCGLPFAPBuffer' attribute is deprecated in OS X v10.7.
On some systems, cannot supported the multi-sampling by the deprecated attribute.

Change-Id: I491bda77141d6913c8e4068a6df890bffad1223f
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
(cherry picked from commit 26fbd74709b4001317d467b9b97ec4e64ccdec27)

8 years agoYaGL: Removed a deprecated attribute
jinhyung.jo [Mon, 21 Sep 2015 10:40:38 +0000 (19:40 +0900)]
YaGL: Removed a deprecated attribute

The 'kCGLPFAPBuffer' attribute is deprecated in OS X v10.7.
On some systems, cannot supported the multi-sampling by the deprecated attribute.

Change-Id: I491bda77141d6913c8e4068a6df890bffad1223f
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
(cherry picked from commit 26fbd74709b4001317d467b9b97ec4e64ccdec27)

8 years agonet: avoid infinite loop when receiving packets(CVE-2015-5278)
P J P [Tue, 15 Sep 2015 11:16:59 +0000 (16:46 +0530)]
net: avoid infinite loop when receiving packets(CVE-2015-5278)

Ne2000 NIC uses ring buffer of NE2000_MEM_SIZE(49152)
bytes to process network packets. While receiving packets
via ne2000_receive() routine, a local 'index' variable
could exceed the ring buffer size, leading to an infinite
loop situation.

Reported-by: Qinghao Tang <luodalongde@gmail.com>
Signed-off-by: P J P <pjp@fedoraproject.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit 737d2b3c41d59eb8f94ab7eb419b957938f24943)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
8 years agonet: add checks to validate ring buffer pointers(CVE-2015-5279)
P J P [Tue, 15 Sep 2015 11:10:49 +0000 (16:40 +0530)]
net: add checks to validate ring buffer pointers(CVE-2015-5279)

Ne2000 NIC uses ring buffer of NE2000_MEM_SIZE(49152)
bytes to process network packets. While receiving packets
via ne2000_receive() routine, a local 'index' variable
could exceed the ring buffer size, which could lead to a
memory buffer overflow. Added other checks at initialisation.

Reported-by: Qinghao Tang <luodalongde@gmail.com>
Signed-off-by: P J P <pjp@fedoraproject.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit 9bbdbc66e5765068dce76e9269dce4547afd8ad4)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
8 years agoe1000: Avoid infinite loop in processing transmit descriptor (CVE-2015-6815)
P J P [Fri, 4 Sep 2015 16:21:06 +0000 (17:21 +0100)]
e1000: Avoid infinite loop in processing transmit descriptor (CVE-2015-6815)

While processing transmit descriptors, it could lead to an infinite
loop if 'bytes' was to become zero; Add a check to avoid it.

[The guest can force 'bytes' to 0 by setting the hdr_len and mss
descriptor fields to 0.
--Stefan]

Signed-off-by: P J P <pjp@fedoraproject.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 1441383666-6590-1-git-send-email-stefanha@redhat.com
(cherry picked from commit b947ac2bf26479e710489739c465c8af336599e7)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
8 years agovnc: fix memory corruption (CVE-2015-5225)
Gerd Hoffmann [Mon, 17 Aug 2015 17:56:53 +0000 (19:56 +0200)]
vnc: fix memory corruption (CVE-2015-5225)

The _cmp_bytes variable added by commit "bea60dd ui/vnc: fix potential
memory corruption issues" can become negative.  Result is (possibly
exploitable) memory corruption.  Reason for that is it uses the stride
instead of bytes per scanline to apply limits.

For the server surface is is actually fine.  vnc creates that itself,
there is never any padding and thus scanline length always equals stride.

For the guest surface scanline length and stride are typically identical
too, but it doesn't has to be that way.  So add and use a new variable
(guest_ll) for the guest scanline length.  Also rename min_stride to
line_bytes to make more clear what it actually is.  Finally sprinkle
in an assert() to make sure we never use a negative _cmp_bytes again.

Reported-by: 范祚至(库特) <zuozhi.fzz@alibaba-inc.com>
Reviewed-by: P J P <ppandit@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit eb8934b0418b3b1d125edddc4fc334a54334a49b)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
8 years agobuild: linking C/C++ libraries statically
SeokYeon Hwang [Fri, 18 Sep 2015 06:39:16 +0000 (15:39 +0900)]
build: linking C/C++ libraries statically

Toolchains for Win32 used various pthread models and exception handler
models. So we choose to use statically linking C/C++ libraries to avoid
DLL conflict.
(To avoid the problem, we can compile all dependant libararies using same
toolchain, but it needs many efforts and has no many benefits.)

Change-Id: Ie7f116c9872472382d9e2351b239df9e125617a4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agobuild: remove redundant scripts
SeokYeon Hwang [Wed, 16 Sep 2015 05:06:05 +0000 (14:06 +0900)]
build: remove redundant scripts

DIBS does not run build script with command argument. So we can
remove some lines.

Change-Id: Id4e1d05e07e47f2e9e02ef92eab417e62f9f5c5f
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agoMakefile: remove unnecessary rules
SeokYeon Hwang [Wed, 16 Sep 2015 04:52:03 +0000 (13:52 +0900)]
Makefile: remove unnecessary rules

".o" from ".cpp" is already defined in "rules.mak".

Change-Id: I2943d1a2674618e8c684290c476029d649c3149c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agobuild: commonize preparations for build
SeokYeon Hwang [Wed, 16 Sep 2015 04:51:26 +0000 (13:51 +0900)]
build: commonize preparations for build

Change-Id: Ic438661885c0634029a23fbc626fc729f06fbdeb
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agokeyboard: fixed undefined build error
sungmin ha [Wed, 16 Sep 2015 01:58:24 +0000 (10:58 +0900)]
keyboard: fixed undefined build error

Change-Id: I4d0549529e8b2f722cd0cf3d3447c2dd22728e5a
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
8 years agoui: declare some getter/setter wrapper fucntions for UiInfomation class
GiWoong Kim [Mon, 14 Sep 2015 08:23:23 +0000 (17:23 +0900)]
ui: declare some getter/setter wrapper fucntions for UiInfomation class

Change-Id: I99d2c8ad1999eef88da3c70272e880ff08ef4215
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoui: declare some getter/setter wrapper fucntions for UiState class
GiWoong Kim [Mon, 14 Sep 2015 06:21:18 +0000 (15:21 +0900)]
ui: declare some getter/setter wrapper fucntions for UiState class

Change-Id: Ie6b97283ea8cfe39cd58a5e7e9bb8166e7ed791f
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoui: declare some getter/setter wrapper fucntions
GiWoong Kim [Mon, 14 Sep 2015 04:47:04 +0000 (13:47 +0900)]
ui: declare some getter/setter wrapper fucntions

Change-Id: Iba5f6a7e169254f54ab62aecc8cd91ab7bd2bfd1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoconfigure: delete duplicated lines
GiWoong Kim [Mon, 14 Sep 2015 10:53:49 +0000 (19:53 +0900)]
configure: delete duplicated lines

"--enable-java-ui" option has already defined at CONFIGURE_APPEND for common.

Change-Id: Ib34a7fcb349d43e21f7e891470f7ea158b57a07b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoMakefile: standalone-src should be cleaned befor qemu distclean
SeokYeon Hwang [Mon, 14 Sep 2015 05:12:00 +0000 (14:12 +0900)]
Makefile: standalone-src should be cleaned befor qemu distclean

A "clean" in standalone-src is depend on "config-host.mak". So it should
be run before qemu distclean, since qemu distclean remove "config-host.mak"

Change-Id: I87e6f097863ed3aec0a99f0be9b9f394902ea298
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agokeyboard: fixed unlimited input for mac
sungmin ha [Mon, 14 Sep 2015 07:38:27 +0000 (16:38 +0900)]
keyboard: fixed unlimited input for mac

fixed bug of key state (caps lock and shift)

Change-Id: I1466b24bd3fdf734d28c9be96636281fe737133a
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
8 years agobuild: removed statement in Makefile only for DIBS
SeokYeon Hwang [Thu, 10 Sep 2015 12:19:10 +0000 (21:19 +0900)]
build: removed statement in Makefile only for DIBS

Makefile should be indenpendant from build system. So all tasks only for DIBS is
moved to DIBS build script.

Change-Id: I39f66a29fef448ec2ade1aa0664924a8eca3fd0e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agobuild: enabled cross-build for Win32 target in DIBS
SeokYeon Hwang [Thu, 10 Sep 2015 08:14:15 +0000 (17:14 +0900)]
build: enabled cross-build for Win32 target in DIBS

Change-Id: Ia559d80514029b53d4f4472626ae9d67c8686eff
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
8 years agocontroller: fix wrong condition
GiWoong Kim [Thu, 10 Sep 2015 11:38:12 +0000 (20:38 +0900)]
controller: fix wrong condition

Change-Id: Ifaee282a00ff9c15b9ba4bfc05d0c9036f6556d9
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit 0db5e574dc7f4a9f98fd4fd57daf8bafb5aca893)

8 years agopackage: version up
GiWoong Kim [Thu, 10 Sep 2015 11:42:03 +0000 (20:42 +0900)]
package: version up

2.2.65

Change-Id: I7714a8f8e4db59c56f8222c662a2d43e7ec0cc91
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agocontroller: fix wrong condition
GiWoong Kim [Thu, 10 Sep 2015 11:38:12 +0000 (20:38 +0900)]
controller: fix wrong condition

Change-Id: Ifaee282a00ff9c15b9ba4bfc05d0c9036f6556d9
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 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>
8 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)

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>