platform/framework/web/chromium-efl.git
6 years agofixup! Disable Pango
Arnaud Renevier [Mon, 15 Jun 2015 18:26:04 +0000 (11:26 -0700)]
fixup! Disable Pango

Disable cairo in addition to Pango

While disabling pango and not cairo builds currently, it doesn't allow
building with shared component. src/build/linux/system.gyp has a single
target pangocairo. It's difficult to untangle pango and cairo in
chromium build system.

Cairo is only used in BitmapPlatformDevice (in src/skia/ext). We don't
use cairo here. For screenshot for example, we use skia for
BitmapPlatformDevice.

So, it's probably safe to disable cairo. The alternatives are either to
modify chromium build system to disentangle cairo and pango, or to
revert the the Disable Pango patch for the moment.

Also, we had a dependency to fontconfig. fontconfig is used in content/
But after disabling pango and cairo, fontcongig dependency is not
computed by gyp for non aura builds. We could fix that by modifying
src/content/content_browser.gypi, but it's easier and less troublesome
to maintain to add the dependency in our gyp files.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=13279
Reviewed by: Antonio Gomes, DaeHyun Ko

Change-Id: I277b98a236a0935a7f14958d51eef8b0426429b3
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agoDifferent build fixups for ozone
Arnaud Renevier [Fri, 12 Jun 2015 22:39:51 +0000 (15:39 -0700)]
Different build fixups for ozone

Different things which are needed to build chromium-efl with shared
components

- Export CreateOzonePlatformEfl
- Add different gyp dependencies
- make media depend on ozone_efl even if tizen_multimedia_support is
  not set

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=13303
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I08857a428329ae60ede8dfcd90c1ae9280ae8a40
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agoEnable Tile compression.
venu.musham [Fri, 12 Jun 2015 17:10:12 +0000 (22:40 +0530)]
Enable Tile compression.

Enable by default ETC1 compression method for tiles. This commit
disables gpu rasterization which is enabled partially based on
meta tag. Tile compression cannot be enabled with gpu rasterization.

Memory Details:
--------------------------------
| Without patch:               |
--------------------------------
|   page       |  PSS  |  3D   |
--------------------------------
| Google suwon | 52421 | 22272 |
--------------------------------
| naver.com(d) | 80077 | 23552 |
--------------------------------

--------------------------------
| With Tile Compression:       |
--------------------------------
|   page       |  PSS  |  3D   |
--------------------------------
| Google suwon | 48100 | 14205 |
--------------------------------
| naver.com(d) | 73632 | 14592 |
--------------------------------
Reviewed by: DaeHyun Ko, Prashant Nevase

Change-Id: I1c6b7b5baa9e28cfbdd206b6ae1c0ed9b82da7b2
Signed-off-by: venu.musham <venu.musham@samsung.com>
6 years agoFlag to build chromium with shared components
Arnaud Renevier [Fri, 12 Jun 2015 22:38:52 +0000 (15:38 -0700)]
Flag to build chromium with shared components

Add --component-build to create a component build of chromium-efl
(desktop only for now)

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=13303
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: Ifb5728b366a08180fde120e3111398260ea69c45
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agoExplicitly depend on vconf for 'device_battery' target
Antonio Gomes [Mon, 15 Jun 2015 18:24:20 +0000 (11:24 -0700)]
Explicitly depend on vconf for 'device_battery' target

While working on the packaging separation for crosswalk
integration on tizen.org, the build type used is
component=shared_library, which reveals some gaps we have
currently in our (static linked) build system.

our 'injected' code into device_battery target
depends explictly on vconf, but target misses
to 'inject' the dependency.

Patch fixes it.

PS: Problem does not manifest on static linked builds

Error:
[ Xs] tizen_src/chromium_impl/device/battery/battery_status_manager_tizen.cc:154:
      error: undefined reference to 'vconf_ignore_key_changed'
[ Xs] tizen_src/chromium_impl/device/battery/battery_status_manager_tizen.cc:197:
      error: undefined reference to 'vconf_get_int'
[ Xs] tizen_src/chromium_impl/device/battery/battery_status_manager_tizen.cc:27:
      error: undefined reference to 'vconf_keynode_get_name'

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=13316
Reviewed by: SeungSeop Park, arno renevier

Change-Id: Ie586692fd5b943ba3ccdd0ee1ca69942f3a1d381
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoUse mobile viewport style for tizen mobile.
yh106.jung [Tue, 12 May 2015 15:46:14 +0000 (17:46 +0200)]
Use mobile viewport style for tizen mobile.

This patch enables usage of mobile optimized viewport style when
compiling the code for Tizen Mobile. To make it also testable on desktop
the patch adds additional command line flag, use-mobile-viewport-style
which can control the property from command line. This allows
applications like ubrowser to enable such mobile specific features on
desktop when started with --mobile flag.

It's an alternative to M40 solution found in
http://165.213.202.130/gerrit/#/c/75686/. Compared to the original this
patch uses a setting that was exposed by blink in M43. The patch was also
backported to M42 in order to simplify future updates.

Original author: Piotr Tworek

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10317
Reviewed by: Antonio Gomes, Hyunhak Kim, SeungSeop Park, Youngha Jung

Change-Id: I513c9a441404c5ab09b3d94660787cf362d23e82
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years ago[M40 Merge] Use MessagePumpGlib as the default backend for renderer main thread
yh106.jung [Mon, 8 Jun 2015 04:30:46 +0000 (13:30 +0900)]
[M40 Merge] Use MessagePumpGlib as the default backend for renderer main thread

Current implementation of WRT plugins run inside renderer process main thread.
The plugins use external libraries that require working glib message pump (MessagePumpGlib).
But use_glib is disabling on Ozone platform because of
some small embedded system that do not provide glib.
In order to use glib message pump on Ozone platform, add use_glib=1 as supplement.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=6116

Together with: Ibd9620a439f402fccd4bc6538ad22d3d32236eba
Reviewed by: Antonio Gomes, Hyunhak Kim, Piotr Grad, SeungSeop Park, arno renevier

Change-Id: I6a942d0415695348854c2d8fd3046fe3c91de8a2
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoSimplify SurfaceFactoryEfl::LoadEGLGLES2Bindings
Arnaud Renevier [Fri, 12 Jun 2015 22:38:33 +0000 (15:38 -0700)]
Simplify SurfaceFactoryEfl::LoadEGLGLES2Bindings

There is actually a function ui::LoadDefaultEGLGLES2Bindings which does
exactly what we need. We can use it, and delete most of
surface_factory_efl.cc

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=13303
Reviewed by: Antonio Gomes, Hyunhak Kim

Change-Id: I1fb8492d9be64190dd9e0b6f29c4f89ed025f44d
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agoMove exclusions out of supplement.gypi
Antonio Gomes [Fri, 12 Jun 2015 18:07:07 +0000 (11:07 -0700)]
Move exclusions out of supplement.gypi

Patch cleans up supplement.gypi by moving exclusions
related to wayland_bringup to the targets they
belong to.

No functional difference intended.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12490
Reviewed by: Balazs Kelemen, arno renevier

Change-Id: I6e442729a182f133292145f916982568ecc8d825
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[EWK_REFACTOR] bringup QuerySelectionStyle for efl_delegate_
hh4813.kim [Tue, 9 Jun 2015 12:57:38 +0000 (21:57 +0900)]
[EWK_REFACTOR] bringup QuerySelectionStyle for efl_delegate_

EWK_REFACTOR guards are removed for bringup QuerySelectionStyle
in SelectionControllerEfl. It triggers EWebViewCallbacks::TextStyleState
via EWebView::OnQuerySelectionStyleReply,

So QuerySelectionStyle is only required in case that WebContentsViewEfl
has valid efl_delegate_.

Also RenderWidgetHostViewEfl::ExecuteEditCommand is removed since it's
not required any more.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12549
Reviewed by: Antonio Gomes, Karol Furmaniak, Piotr Grad

Change-Id: I4619e2d14a62a5d1c0666c0a6879b9d17a4cc515
Signed-off-by: hh4813.kim <hh4813.kim@samsung.com>
6 years agoDisable Pango
p.niemirski [Fri, 12 Jun 2015 15:00:28 +0000 (17:00 +0200)]
Disable Pango

Since Pango library is only used to get font list (involving Cairo)
and this functionality is implemented by Chrome Extensions there is
no need to link libchromium against Pango for TIZEN.

This patch is based on http://165.213.202.130/gerrit/#/c/77249/
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=13279
Reviewed by: Antonio Gomes, DaeHyun Ko

Change-Id: I5054b939b8e948167e46ada21a86c105ba12a9ce
Signed-off-by: p.niemirski <p.niemirski@samsung.com>
6 years agoComposite frame to native surface directly on main thread.(impl part, optional)
YongGeol Jung [Thu, 16 Apr 2015 07:40:49 +0000 (16:40 +0900)]
Composite frame to native surface directly on main thread.(impl part, optional)

This is experimental patch.
The purpose of this patch is checking possibility
whether gpu commands could be executed on main thread or not.
(with http://165.213.202.130/gerrit/#/c/81008/)
Reviewed by: KwangHyuk Kim, Prashant Nevase

Change-Id: Idbd6c642a78c1fbe58c84e539fb0f25a9ce5fcb6
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
6 years agofixup! [EWK_REFACTOR] Get orientation from native window, not ewebview
yh106.jung [Wed, 10 Jun 2015 12:12:52 +0000 (21:12 +0900)]
fixup! [EWK_REFACTOR] Get orientation from native window, not ewebview

Native screen sent invalid orientation, it always returned 0.
So set orientation value once app informs to WebCotentsViewEfl.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13156
Reviewed by: Antonio Gomes, Hyunhak Kim, SeungSeop Park, arno renevier

Change-Id: Iee806175b3616d31188687f0dafd2dabc0fb1cb6
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years agoImplement CAPI-ME port using media_packet and appsink
Hyungsun Ryu [Mon, 8 Jun 2015 05:29:31 +0000 (14:29 +0900)]
Implement CAPI-ME port using media_packet and appsink

Implemented CAPI-ME using media_packet and appsink.
This would allow us to test CAPI ME without wayland dependency,
which is sometimes a useful feature on debugging.

This patch does:
- separated APIs for PIXMAP
- added codes adopting APIs about media_packet and tbm_surface
- added codes sending decoded video frame via shared memory

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11626
Reviewed by: SeungSeop Park, Venugopal S M

Change-Id: Ibf42f5d43ace24869ddbce115ad467fc92a918bb
Signed-off-by: Hyungsun Ryu <hyungsun.ryu@samsung.com>
6 years ago[MM] Enabling CAPI for ME
Umesh Kumar Patel [Fri, 5 Jun 2015 11:37:32 +0000 (17:07 +0530)]
[MM] Enabling CAPI for ME

This patch to enable CAPI for ME and Fixing build issues.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13159
Reviewed by: Antonio Gomes, SeungSeop Park, Venugopal S M

Change-Id: I53f7ca748babf9ddb7b2a16b986f789e011d8a5b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Signed-off-by: Umesh Kumar Patel <umeshk.patel@samsung.com>
6 years agoCall ewk_context_default_get in Browser::Browser
Arnaud Renevier [Wed, 10 Jun 2015 22:51:30 +0000 (15:51 -0700)]
Call ewk_context_default_get in Browser::Browser

Currently, ubrowser crashes in desktop mode. For some reason, calling
ewk_context_default_get() prevents the crash. This is not the right fix,
but this is a workaround that would allow ubrowser to work while waiting
for a real fix.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13032
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I3135c0185391641ce061c122439620401746dcfe
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years ago[m42][uBrowser] < and > buttons does not work on select picker.
Antonio Gomes [Tue, 9 Jun 2015 20:41:01 +0000 (16:41 -0400)]
[m42][uBrowser] < and > buttons does not work on select picker.

Patch brings up the "move to next" and "move to previous"
functionality of the EWK <select> popup.
In order to do that, two messages were brought up:

- EwkFrameMsg_RequestSelectCollectionInformation:
as soon as a Select Popup is created, we send a message
to the renderer to collect the information needed to
enable the "move to next" and "move to previous" UI.

That message is caught by the RenderFrameObserverEfl, and
required information is got. Then another message send back
to the Browser (EwkFrameMsg_RequestSelectCollectionInformationACK),
and the UI is updated accordingly.

Note: the implementation of RFOEfl::OnRequestSelectCollectionInformation
as well as most of the related code was implemented in s-chromium
for M40 branch. Patch make it all available in chromium-efl side.

- EwkFrameMsg_MoveToNextOrPreviousSelectElement:
When "<" or ">" buttons are pressed, we send a message
to the renderer to perform the focus switch. That message
is again caught by the RenderFrameObserverEfl, and the
associated blink::WebView methods are called.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13212
Reviewed by: SeungSeop Park, arno renevier

Change-Id: I402092d836e54b1e7c507d9a2ace65906e63f5f2
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[EWK_REFACTOR] Remove unused RenderWidgetHostViewEfl::ResizeCompositingSurface
hh4813.kim [Wed, 10 Jun 2015 08:04:32 +0000 (17:04 +0900)]
[EWK_REFACTOR] Remove unused RenderWidgetHostViewEfl::ResizeCompositingSurface

RenderWidgetHostView::ResizeCompositingSurface has been removed in
chromium by https://codereview.chromium.org/256713002 So we don't need
to implement it anymore.
Original patch: http://165.213.202.130/gerrit/#/c/76169

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12028
Reviewed by: Piotr Grad, SeungSeop Park

Change-Id: Iaafcb313a266c5e29871631d6e0115ec1dd635b7
Signed-off-by: hh4813.kim <hh4813.kim@samsung.com>
6 years agoImplement Delegate renderer using frame buffer object on Tizen.
venu.musham [Fri, 24 Apr 2015 14:08:28 +0000 (19:38 +0530)]
Implement Delegate renderer using frame buffer object on Tizen.

In Tizen, only web contents parts of the browser window in an OpenGL surface
drawn by chromium. The rest of the window is drawn using evas reference
browser/mini browser. This is because we don't have a way to draw on native
surface. evas direct rendering does not support calling native surface swap
from different thread.

To solve this problem, we composite to intermediate texture and use this
texture for rendering on evas native surface.

1. When renderer has new frame that it wants drawn, it sends a
   ViewHostMsg_SwapCompositorFrame to browser process.

2. Browser process takes frame from renderer and passes to RWHV.

3. Frame is passed to DelegatedFrameHost (DFH), which acts as interface
   between ui::Compositor and the renderer.

4. DFH tells the ui::Compositor to draw a new frame with updated
   contents.

5. ui::Compositor requests for commit operation(to draw frame).

6. On receiving commit, ui::Compositor renders frame onto frame buffer
   object created by MailboxOutputSurfaceEfl::EnsureBackBuffer().

7. When done drawing the frame, ui::Compositor's
   cc::LayerTreeHostImpl's cc:OutPutSurface will issue glSwapBuffers
   to GPU process.
   cc::Compositor will be blocked until cc::OutPutSurface client calls
   its OnSwapBuffersComplete().

8. The command buffer will decode and call
   MailboxOutputSurfaceEfl::SwapBuffers(), this will send texture_id
   from FBO to RWHV and calls evas_object_image_pixels_dirty_set() to
   invalidate evas surface and draw updated texture by calling
   glBindTexture(texture_id).

9. After this, cc::Compositor is unblocked, allowing the
   ui::Compositor to produce more frames. DFH::SendDelegatedFrameAck
   is called, which sends ViewHostMsg_SwapCompositorAck to the renderer
   process to produce another frame.
Reviewed by: DaeHyun Ko, KwangHyuk Kim, Prashant Nevase

Change-Id: I539f8aa0333a5a0dde6c921085af11ca7d9c1dc4
Signed-off-by: venu.musham <venu.musham@samsung.com>
6 years ago[hotfix][tizen v3.0] Properly hiding IME virtual keyboard
Youngsoo Choi [Wed, 10 Jun 2015 10:06:07 +0000 (19:06 +0900)]
[hotfix][tizen v3.0] Properly hiding IME virtual keyboard

[issue]
The virtual keyboard does not disappear.

[cuase]
Even if virtual keyboard is shown,
the API 'ecore_imf_context_input_panel_state_get()'
returns '1' which means that the keyboard is not shown.
It makes the 'HidePanel()' unreachable.

[resolve]
This patch removes the condition of 'IsIMFVisible()'.
It may cause hiding virtual keyboard even when the keyboard
is not shown, but it does not harm to functionality,
showing or hiding the virtual keyboard.

Once the platform issue is fixed, this patch needs to be reverted.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13262
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I037d49183dc31cfe89939abd1de1f72480ece7bd
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agoSelect popups do not close when BACK is pressed
Antonio Gomes [Tue, 9 Jun 2015 20:24:45 +0000 (16:24 -0400)]
Select popups do not close when BACK is pressed

Patch removes a bringup guard, and replaces the existing
method (RenderFrameHost::DidClosePopupMenu) by an proper one
(RenderFrameHost::DidCancelPopupMenu).

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12720
Reviewed by: SeungSeop Park, arno renevier

Change-Id: I3b92211873e87d97fc32eb42b9190485432c43f4
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoUpdated the build script using ./build/build_xxx.sh
Youngcheol Kang [Wed, 3 Jun 2015 05:49:25 +0000 (14:49 +0900)]
Updated the build script using ./build/build_xxx.sh

1. Switched to Mobile 3.0 as the default target for build_mobile.sh

This patch changes the default target to 3.0 from 2.4.
Also we uses the arm64-wayland profile which is main target of 3.0
Mobile. This way we won't have to specify -P tzmb_v3.0_arm64-wayland
-A aarch64 flag when using the script.

2. Changed the build_emulator.sh script for mobile and tv target

This patch add the target option into the build_emulator.sh script.
We can build the mobile and tv emulator using the below build command.

$ ./tizen_src/build/build_emulator.sh [mobile/tv]

3. Added the mirror server to improve the download speed in HQ

This patch added the mirror server which provided by platform team to
gbs.conf in order to improve the download speed in HQ.

$ ./tizen_src/build/build_mobile.sh -P tzmb_v3.0_arm64-wayland_mirror
$ ./tizen_src/build/build_tv.sh -P tztv_v3.0_arm-wayland_mirror

4. Disabled the rpmlint for arm64-wayland profile of Tizen 3.0 Mobile

To improve the build time for developers, this patch add the
arm64-wayland profile. Also the tztv_v3.0_arm-x11.conf and
tzmb_v3.0_arm-x11.conf were removed because platform team doesn't
support x11 profile.

5. Updated the README.md

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13158
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I1153a50efe3aaeb0c48bd5962c4267df32f0aa64
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
6 years ago[EWK_REFACTOR] Remove unused EWebView::GetSnapShotForRect
yh106.jung [Wed, 10 Jun 2015 05:30:00 +0000 (14:30 +0900)]
[EWK_REFACTOR] Remove unused EWebView::GetSnapShotForRect

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12028
Reviewed by: Antonio Gomes, Hyunhak Kim, SeungSeop Park

Change-Id: I42dd28f5946a037d88c3b4110d28c5212354beaa
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years ago[WebRTC] Enable Video capture CAPI for TV
sonal.g1@samsung.com [Wed, 10 Jun 2015 07:57:27 +0000 (13:27 +0530)]
[WebRTC] Enable Video capture CAPI for TV

Video capture CAPI files should be enabled for TV as well. Hence, making
required changes in gyp file.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13236
Reviewed by: SeungSeop Park, Venugopal S M

Change-Id: I0c12091a255bc0d8fd51fc86d5d61132ae28c4bb
Signed-off-by: sonal.g1@samsung.com <sonal.g1@samsung.com>
6 years agoClean up DEPS and python scripts
Taeho Kim [Fri, 29 May 2015 01:48:11 +0000 (10:48 +0900)]
Clean up DEPS and python scripts

Modify DEPS files, rename python script suffix from xwalk to efl
to resolve the naming confusion and split xwalk/efl dependency
In addition to that add a DEPS.efl to have separate gclient
configuration file(.gclient-efl)

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=13013
Reviewed by: Antonio Gomes, Hyunhak Kim

Change-Id: I7e59424d07d966b50dd2658c8e8f0b4c04a5fe11
Signed-off-by: Taeho Kim <th81.kim@samsung.com>
6 years agoRemove unused WebContentsDelegateEfl::UpdateFormNavigation
Antonio Gomes [Tue, 9 Jun 2015 20:37:10 +0000 (16:37 -0400)]
Remove unused WebContentsDelegateEfl::UpdateFormNavigation

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13212
Reviewed by: SeungSeop Park, arno renevier

Change-Id: I70953ac9f47a20647104feecc6eb1a50f05c62c7
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agofixup! [M40 Merge][MM] GStreamer 1.2 Multimedia Support
Arnaud Renevier [Fri, 5 Jun 2015 22:08:30 +0000 (15:08 -0700)]
fixup! [M40 Merge][MM] GStreamer 1.2 Multimedia Support

Add dependency on capi-system-device in external_media_deps. If that
dependency is not present, we get link errors when trying to build xwalk
on tizen: undefined reference to 'device_power_wakeup' (and also
device_power_request_lock and device_power_release_lock)

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13152
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I923116de3b3152a4779eb9d8b38a1738f9381ae6
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agoCleanup apply_patches.sh calls
Arnaud Renevier [Wed, 3 Jun 2015 23:19:02 +0000 (16:19 -0700)]
Cleanup apply_patches.sh calls

apply_patches.sh doesn't get args. patch dir is hard-coded inside as
patchdir=${TOPDIR}/tizen_src/build/patches

This patch now calls apply_patches.sh without any argument.

Also, it deletes the bash applyPatch function which is unused.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13129
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: Icdcab46796f1351251bf9a237002e5bdfffafc32
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years ago[Crosswalk] Do not create symlinks for package-manager backend
yh106.jung [Mon, 8 Jun 2015 07:29:26 +0000 (16:29 +0900)]
[Crosswalk] Do not create symlinks for package-manager backend

WRT team has requested to remove symlinks for package-manager backend.
After app-installer package is installed on Tizen 3.0,
xwalk does not need to manage anymore package-manager backend.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13152
Reviewed by: Antonio Gomes, Hyunhak Kim, Piotr Grad

Change-Id: Iaeae123d6cb5ffbba42266ca9596de7e58c93990
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years ago[EWK_REFACTOR] bringup GetSnapshotAsync and GetSnapShotForRect
Karol Furmaniak [Thu, 7 May 2015 07:35:18 +0000 (09:35 +0200)]
[EWK_REFACTOR] bringup GetSnapshotAsync and GetSnapShotForRect

EWK_REFACTOR guards are removed, GetSnapshotAsync implementation
is moved from eweb_view to RenderWidgetHostViewEfl.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12687
Reviewed by: Antonio Gomes, Hyunhak Kim, Piotr Grad, Piotr Tworek

Change-Id: Iabe107094dc00a7846c5433e4a86eecc0d0ea09e
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
6 years agoBringup Text selection.
Karol Furmaniak [Wed, 22 Apr 2015 13:56:26 +0000 (15:56 +0200)]
Bringup Text selection.

Text selection was refactored.
Selection handles and controller was moved to chromium_impl.

Whole change contains 3 patches(chromium-efl, s-blink, s-chromium)

Together with: Id00120d7f4cec49d16a110baa74a58e86d95cd37

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12549
Reviewed by: Antonio Gomes, Hyunhak Kim, Piotr Grad, SeungSeop Park

Change-Id: Id62ff99f1aff9deeb72bc989a139ca9214ae092a
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agoAllow building xwalk with --xwalk on targets
Arnaud Renevier [Fri, 5 Jun 2015 17:32:19 +0000 (10:32 -0700)]
Allow building xwalk with --xwalk on targets

Add support for --xwalk command line switch when building with gbs

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11619
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I2b20105267e0d7a24d2cfcfedb5d28c34a7fd20e
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agoUpdate spec file for latest xwalk version
Arnaud Renevier [Fri, 5 Jun 2015 22:18:20 +0000 (15:18 -0700)]
Update spec file for latest xwalk version

Some files are no more parts of xwalk source: xwalk.service.in, xwalk.in
and org.crosswalkproject.Runtime1.service

Also, xwalk_launcher is not a gyp target anymore.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13152
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I4fa0d00369b62a5c1dc9d334a8dbc1dbc4d0da02
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years ago[M40 Merge] Disable double tap zoom on fullscreen view
kriti.s [Wed, 3 Jun 2015 13:22:06 +0000 (18:52 +0530)]
[M40 Merge] Disable double tap zoom on fullscreen view

Checks if fullscreen is active on double tap gesture.
If it is, don't send event to renderer.

m40 patch: http://165.213.202.130/gerrit/#/c/76539/
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12361
Reviewed by: SeungSeop Park, Siba Samal, mohan reddy, venu musham

Change-Id: I8b03a1ec293754515e69dee66a5d3ea2853a12a8
Signed-off-by: kriti.s <kriti.s@samsung.com>
6 years agoChange default color of TapHighlight to orange for Tizen.
Karol Furmaniak [Wed, 3 Jun 2015 08:10:53 +0000 (10:10 +0200)]
Change default color of TapHighlight to orange for Tizen.

[Issue] Default color was light grey.
[Requirment] Colors should be orange, by WCS TC 146.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12725
Reviewed by: Antonio Gomes, Piotr Grad

Change-Id: I73e745c4681baef88f9444c42b98e7539031a45f
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
6 years agoRemove one pushd/popd usage
Arnaud Renevier [Thu, 4 Jun 2015 16:01:13 +0000 (09:01 -0700)]
Remove one pushd/popd usage

Use readlink instead of pwd. This avoids us a directory change.
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I6dbcae001dde0f1b97b73d944211a8c85a18fb73
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agoBuild with chromium libusb
Arnaud Renevier [Wed, 3 Jun 2015 23:27:00 +0000 (16:27 -0700)]
Build with chromium libusb

Crosswalk on tizen pulls some dependencies which eventually use libsub
methods appeared in libusb 1.0.16. But tizen3.0 has libusb 1.0.9.

So, we temporary use chromium libusb. Once bug #13185 is fixed, we can
revert this patch.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13152
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: Id8c6359677e185563a9c678348ba573d36fc990a
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years ago[EWK_REFACTOR] Get orientation from native window, not ewebview
yh106.jung [Wed, 3 Jun 2015 07:29:41 +0000 (16:29 +0900)]
[EWK_REFACTOR] Get orientation from native window, not ewebview

Get orientation from native window in order to remove dependency on ewebview.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12028
Reviewed by: Antonio Gomes, Hyunhak Kim, SeungSeop Park, arno renevier

Change-Id: Ifa04a26e562dfd563d59be9a1e9e1478bb5832c0
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years ago[M40 Merge][MM][WebRTC] Merge patches from M40.
s.kamath [Tue, 26 May 2015 13:25:41 +0000 (18:55 +0530)]
[M40 Merge][MM][WebRTC] Merge patches from M40.

[WebRTC][M0] Fix front camera rotation.
http://165.213.202.130/gerrit/#/c/76321/

[WebRTC] Fix noise on captured video frame.
http://165.213.202.130/gerrit/#/c/75655/

[MM][WebRTC] Make front camera as default one.
http://165.213.202.130/gerrit/#/c/77498/

[MM][WebRTC] Adding SMACK rules to mini_browser.
http://165.213.202.130/gerrit/#/c/76094/

[MM][WebRTC] Fix Evas Popup crash for Media request.
http://165.213.202.130/gerrit/#/c/75898/

fixup! [WebRTC][M0] Fix front camera rotation.
http://165.213.202.130/gerrit/#/c/77130/

Enable video capture port on M0
http://165.213.202.130/gerrit/#/c/74561

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13054

Together with: I6b6e518cbc88c9613804cd3f12e2ecd5d1d637e0
Reviewed by: Antonio Gomes, SeungSeop Park, Venugopal S M

Change-Id: Id0d04324a58ec53c48ea7a59945ff1f0429a2352
Signed-off-by: s.kamath <s.kamath@samsung.com>
6 years agoReplace system_info_internal.h with system_info.h
Youngcheol Kang [Tue, 2 Jun 2015 01:32:44 +0000 (10:32 +0900)]
Replace system_info_internal.h with system_info.h

In Tizen 2.4/3.0, system_info_internal.h is replaced by system_info.h.
In the meanwhile, an API changed as well:
- system_info_get_value_string => system_info_get_platform_string

This patch adapts the code according to the change.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13129
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I018815e61ff801393ba85f8a52bece2fefd5e6b7
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
6 years agocall PathEfl::Register from efl::Initialize
Arnaud Renevier [Tue, 2 Jun 2015 17:42:19 +0000 (10:42 -0700)]
call PathEfl::Register from efl::Initialize

Currently, PathEfl::Register is called from Shell::PlatformInitialize

But other non applications, like crosswalk will also need to Register
PathEfl. So with this patch, we call it from efl::Initialize

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13152
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I50dd66ce4c8654168cca63ce63b3ed0e24717666
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agofixup! Implement Chromium Theme for Tizen.
Antonio Gomes [Tue, 2 Jun 2015 16:09:20 +0000 (12:09 -0400)]
fixup! Implement Chromium Theme for Tizen.

Since https://codereview.chromium.org/738113003,
LayoutTheme::theme method is not defined in LayoutThemeChromiumDefault
anymore. Instead, each subclass (Win,Android,Mac and Tizen)
that needs a implementation of ::theme adds its own.

Following that, Efl/Tizen port can now have its own
implementation of LayoutTheme::theme without the
RenderThemeChromiumDefault_override hack.

Patch removes the hack, accordingly.
Reviewed by: Balazs Kelemen, SeungSeop Park, arno renevier

Change-Id: I5cdaa53abe0d39d8afd701361337dbcda29ec936
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agofixup! [M40 Merge][Tizen 3.0][EWK API] Change argument of ewk_send_widget_info
Michał Pakuła vel Rutka [Fri, 29 May 2015 14:02:30 +0000 (16:02 +0200)]
fixup! [M40 Merge][Tizen 3.0][EWK API] Change argument of ewk_send_widget_info

Update ewk unittest to match changed API.
Reviewed by: Antonio Gomes, Hyunhak Kim

Change-Id: I27911a5e99a5b3e0b3156a20ca55212e61f6175a
Signed-off-by: Michał Pakuła vel Rutka <m.pakula@samsung.com>
6 years agoUpdate S_TRUNK_OWNERS of chromium-efl
Jongsoo Yoon [Tue, 2 Jun 2015 04:57:52 +0000 (13:57 +0900)]
Update S_TRUNK_OWNERS of chromium-efl

Current S_TRUNK_OWNERS is for dev/m42 branch.
Becuase beta/m42 just branch off of dev/m42.
It should be replaced from beta/m40 S_TRUNK_OWNERS.

  - S_TRUNK_OWNER is replace from beta/m40_2214_t
  - Inactive reviewers are removed.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13126
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: Id7be400c3122762276a507b5169f2692bc990ba1
Signed-off-by: Jongsoo Yoon <join.yoon@samsung.com>
6 years ago[MM] Video rotation issue in full screen mode
Umesh Kumar Patel [Fri, 22 May 2015 12:53:58 +0000 (18:23 +0530)]
[MM] Video rotation issue in full screen mode

On Video rotation on fullscreen mode exiting to normal mode,
because of fullscreen mode information is not passed to
RenderWidgetHost, made changes to pass fullscreen information.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13052
Reviewed by: SeungSeop Park, Siba Samal, Venugopal S M

Change-Id: Id6cdf91d757d6855e3276730d2348cee94113504
Signed-off-by: jitu.patel <jitu.patel@samsung.com>
Signed-off-by: Umesh Kumar Patel <umeshk.patel@samsung.com>
6 years ago[Ozone Wayland] Fix for evasgl issue/crash in efl_webview_app/mini_browser on Note4
Chandan Padhi [Fri, 29 May 2015 13:12:41 +0000 (18:42 +0530)]
[Ozone Wayland] Fix for evasgl issue/crash in efl_webview_app/mini_browser on Note4

Below evasl gl errors are seen when we run efl_webview_app/mini_browser on Note4:
ERR<5058>:EvasGL modules/evas/engines/gl_common/evas_gl_api_ext.c:327 evgl_api_ext_init()
glGetString returned NULL! Something is very wrong...
ERR<5058>:EvasGL modules/evas/engines/gl_common/evas_gl_core.c:1437
evgl_engine_init() Extensions failed to load. This shouldn't happen, Evas GL load fails.
ERR<5058>:evas_main lib/evas/canvas/evas_gl.c:367 evas_gl_context_version_create() Failed
creating a context from the engine.
[0518/235828:FATAL:gl_shared_context_efl.cc(33)] GLSharedContextEflPrivate(): Create evas
gl context Fail

However, these errors are not seen for ubrowser.

On Note4, tt seems like all gl/egl initialization must be completed
before the evas_object is created and its evas canvas is used to
created an Evas GL object. Platform team may explain more on this.

In chromium-efl, this initialization is done in the ewk_context_default_get() call.
In case of efl_webview_app/mini_browser, ewk_context_default_get() call is made after the
main window gets created whereas its called before main window creation for ubrowser.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12492
Reviewed by: DaeHyun Ko, Siba Samal

Change-Id: Iceec7d29c7057cd00d62453c2fd753b876c096cd
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[Crosswalk] Reenable hook to generate UPSTREAM.blink
Antonio Gomes [Mon, 1 Jun 2015 22:20:21 +0000 (18:20 -0400)]
[Crosswalk] Reenable hook to generate UPSTREAM.blink

Patch fixes the following error:

ninja: Entering directory `/<path>/src/out.x64/Release'
ninja: error: '../../xwalk/build/UPSTREAM.blink', needed by
'gen/blink_upstream_version.h', missing and no known rule to make it
Error: File:tizen_src/build/build_desktop.sh Line:155
Reviewed by: Hyunhak Kim, SeungSeop Park, arno renevier

Change-Id: Ic687023271ca73d015fe460556c729513f05bc84
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agofixup! ozone integration
Antonio Gomes [Fri, 29 May 2015 22:19:26 +0000 (18:19 -0400)]
fixup! ozone integration

Since http://165.213.202.130/gerrit/#/c/80317/ we
hit the follow ASSERT upon launch (desktop debug build
of content shell).

[0529/143728:FATAL:at_exit.cc(53)] Check failed: false. Tried to RegisterCallback without an AtExitManager
 #0 0x000000792167 base::debug::StackTrace::StackTrace()
 #1 0x0000006cca71 logging::LogMessage::~LogMessage()
 #2 0x0000006b07e5 base::AtExitManager::RegisterTask()
 #3 0x000004ad9078 ui::DeviceDataManager::DeviceDataManager()
 #4 0x000004ad92b9 ui::DeviceDataManager::CreateInstance()
 #5 0x0000013b78a3 ui::OzonePlatform::InitializeForUI()
 #6 0x000000505f70 efl::Initialize()
 #7 0x00000041fb1e main
 #8 0x7ffff302aec5 __libc_start_main
 #9 0x00000041fa34 <unknown>

AtExitManager has to be init'ed before frame #6.

Similarly to [1] and [2], add a AtExitManager variable
declared as a local variable in 'main'.

[1] https://code.google.com/p/chromium/codesearch#chromium/src/ui/ozone/demo/ozone_demo.cc&ct=rc&cd=51&q=atexitmanager&sq=package:chromium&l=314&dr=C
[2] https://code.google.com/p/chromium/codesearch#chromium/src/mandoline/app/desktop/main.cc&q=atexitmanager&sq=package:chromium&l=13&dr=C

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8054
Reviewed by: Balazs Kelemen, arno renevier

Change-Id: I8045ce570d6839da068c5e5aa2b704b1c736af54
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agofixup! ozone integration
Antonio Gomes [Fri, 29 May 2015 17:00:08 +0000 (13:00 -0400)]
fixup! ozone integration

Since http://165.213.202.130/gerrit/#/c/80317/ we
hit the follow ASSERT upon launch (desktop debug build
of ubrowser --mobile).

[0529/105606:FATAL:at_exit.cc(53)] Check failed: false. Tried to RegisterCallback without an AtExitManager
 #0 0x7fee4c9d7037 base::debug::StackTrace::StackTrace()
 #1 0x7fee4ca15373 logging::LogMessage::~LogMessage()
 #2 0x7fee4c9c9ff1 base::AtExitManager::RegisterTask()
 #3 0x7fee4dcf0f56 ui::DeviceDataManager::DeviceDataManager()
 #4 0x7fee4dcf1197 ui::DeviceDataManager::CreateInstance()
 #5 0x7fee4dd09ca5 ui::OzonePlatform::InitializeForUI()
 #6 0x7fee4ba14c64 EwkGlobalData::GetInstance()
 #7 0x7fee4b9d4d83 EWebContext::EWebContext()
 #8 0x7fee4bab0d29 Ewk_Context::Ewk_Context()
 #9 0x7fee4bab0b6b Ewk_Context::Create()
 #10 0x7fee4bab09b2 Ewk_Context::DefaultContext()
 #11 0x7fee4baba2f5 ewk_context_default_get
 #12 0x000000407c00 Browser::Browser()
 #13 0x00000040c167 app_create()
 #14 0x00000040c43e main
 #15 0x7fee49591ec5 __libc_start_main

AtExitManager has to be init'ed before frame #5,
or AtExitManager could be declared as a local variable in 'main'.

In our code, the initialization happens in the lines right below
the call to OzonePlatform::InitializeForUI.
See content/app/content_main_runner.cc@Initialize.

Patch flips those lines in order to fix the ASSERT.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8054
Reviewed by: Balazs Kelemen, arno renevier

Change-Id: Ib4705a858f10561d86f5779e99a661fe37edf4c8
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoRevert "[SPIN][Temporary] Removed the error codes which happened in libvpx"
Youngsoo Choi [Fri, 29 May 2015 14:08:28 +0000 (23:08 +0900)]
Revert "[SPIN][Temporary] Removed the error codes which happened in libvpx"

This reverts commit d182c7b5159b9dd5ea79a1e92db8695e0654de26.

With the original patch, following linking error is coming from emulator build
because the original one prevents building the implementation of the function
'vp9_fdct8x8_quant_ssse3' by disabling target 'libvpx_intrinsics_ssse3'
under the architecture is ia32.

>> [ XXs] error: undefined reference to 'vp9_fdct8x8_quant_ssse3'

This patch enables chromium-efl to be built on tizen v3.0 emulator(ia32).

Note that currently it is not able to build chromium-efl on tizen v2.4 emulator
due to platform issue, so it needs to be verified once the issue is fixed.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13116
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I471cc65f02f0554c20c2c746b8fdf4191fcf13ca
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agoInitialize ecore wayland for other embedders
yh106.jung [Mon, 1 Jun 2015 04:20:26 +0000 (13:20 +0900)]
Initialize ecore wayland for other embedders

This patch initializes ecore wayland for other embedders like content
shell and crosswalk.

bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12492
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I8ff28a1d2b6a878884873bd721b1df140b257545
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years agoFixup! [Tizen 3.0][Mobile] Use the prebuilt gold instead of the system gold
Youngsoo Choi [Fri, 29 May 2015 11:40:33 +0000 (20:40 +0900)]
Fixup! [Tizen 3.0][Mobile] Use the prebuilt gold instead of the system gold

Original patch prevents requiring binutils-gold from tizen v3.0 emulator and tv,
and it causes following build error.

>> [  XXXs] collect2: fatal error: cannot find 'ld'

Original patch: http://165.213.202.130/gerrit/#/c/80546/

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13107
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I21c6e32572b07cf63302475f72f5a44503ef7781
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[tizen v3.0] Updating tizen v3.0 repository information
Youngsoo Choi [Fri, 29 May 2015 12:05:31 +0000 (21:05 +0900)]
[tizen v3.0] Updating tizen v3.0 repository information

Tizen v3.0 does not support x11 repositories anymore.

Available repositories can be found in following urls.

>> TV
>> http://download.tizen.org/snapshots/tizen/tv/latest/repos/

>> Mobile
>> http://download.tizen.org/snapshots/tizen/mobile/latest/repos/

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13108
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: Id232761d149fb9eef0abf68cc175debb4b4e030d
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agofixup! fixup! [dev/m42][uBrowser] Wrong output on double tap.
Antonio Gomes [Fri, 29 May 2015 16:30:44 +0000 (12:30 -0400)]
fixup! fixup! [dev/m42][uBrowser] Wrong output on double tap.

http://165.213.202.130/gerrit/#/c/79807/ introduced
a bogus DCHECK, easily verified when run ubroser --mobile
on desktop debug mode.

This method can be called no matter if touch_events_enabled_
is TRUE or FALSE.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12717
Reviewed by: Hyunhak Kim, arno renevier

Change-Id: Ib643bbec7a22584845205a1decc26c391e06aa7c
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agofixup! [dev/m42][uBrowser]Select picker doesn't work
Antonio Gomes [Wed, 27 May 2015 20:36:48 +0000 (13:36 -0700)]
fixup! [dev/m42][uBrowser]Select picker doesn't work

FrameMsg_ClosePopupMenu does not exist in chromium
and we do not need it anymore. To close a popup,
a FrameMsg_SelectPopupMenuItems message is emitted
with an empty vector as parameter passed.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12720
Reviewed by: Hyunhak Kim, arno renevier

Change-Id: I419dc0bb7708c295e54e6a636133ad1f814b0134
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[HOTFIX] Create dummy APIs for WRT build
yh106.jung [Thu, 28 May 2015 13:50:43 +0000 (22:50 +0900)]
[HOTFIX] Create dummy APIs for WRT build

This is hotfix for WRT build.
Create dummy for below APIs:
ewk_context_notification_callbacks_set
ewk_context_notification_callbacks_reset

original gerrit: http://165.213.202.130/gerrit/#/c/75818/
Reviewed by: Hyunhak Kim, Marcin Krakowiak

Change-Id: I727181807a5b994786b88923ce4ede7e629b540b
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years agoRevert "temporary fix - add Ewk_Context to ewk_notification_showed to make WRT compile"
yh106.jung [Thu, 28 May 2015 12:57:54 +0000 (21:57 +0900)]
Revert "temporary fix - add Ewk_Context to ewk_notification_showed to make WRT compile"

This reverts commit 6e6015b9a35c2630454ec69f35d788571b854f1c.

Original commit message:
Context was not used and we removed it, but WRT assumes that
ewk_notification_showed takes context as one of the parameters
and after our Notification API refactoring it doesn't compile.
WRT will update to the new API, but for now we need this temporary
fix for it to work.
Reviewed by: Antonio Gomes, Daniel Waślicki, Hyunhak Kim

Change-Id: Ib3fe9036f8bfe2992d17e219a21213ed33bd6d90
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years ago[M40 Merge] Add ewk_notification_icon_save_as_png API
Kamil Klimek [Wed, 4 Mar 2015 11:18:17 +0000 (12:18 +0100)]
[M40 Merge] Add ewk_notification_icon_save_as_png API

After notification API refactoring the only way to retrieve notification
icon was to create new Evas_Object with icon. Add extra API for
convinience

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11368
Reviewed by: Antonio Gomes, Eun Namgung, Jaesik Chang, Piotr Tworek, commitbot

Change-Id: Ia383aef963e403e3879c7a098761dc39ebadbd51
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years ago[Tizen 3.0][Mobile] Use the prebuilt gold instead of the system gold
Youngcheol Kang [Thu, 28 May 2015 11:05:37 +0000 (20:05 +0900)]
[Tizen 3.0][Mobile] Use the prebuilt gold instead of the system gold

Using the binutils-gold of system had a crash in the Tizen 3.0 Mobile
(mobile-wayland-arm64-n4 Image).

This is the temporary solution. It will be removed after fixing
the problem by Platform team.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13083
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I0b2708802fdda56ab7db208117702c1d93ac7c35
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
6 years ago[Ozone Wayland] Get wayland display
Chandan Padhi [Tue, 26 May 2015 16:27:08 +0000 (21:57 +0530)]
[Ozone Wayland] Get wayland display

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12492
Reviewed by: Antonio Gomes, DaeHyun Ko, Eun Namgung, Hyunhak Kim, SeungSeop Park

Change-Id: Ifa3bd1d35a8ba107acf1bc5b94b8c9cc7e1445a1
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[wayland][tizen v3.0] Do not set ecore_imf_context_input_panel_enabled_set as false
yh106.jung [Wed, 27 May 2015 05:07:59 +0000 (14:07 +0900)]
[wayland][tizen v3.0] Do not set ecore_imf_context_input_panel_enabled_set as false

This is workaround patch before finding root cause.
IME was not shown after calling
ecore_imf_context_input_panel_enabled_set(context, false).
So block temporarily the code.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12973
Reviewed by: Antonio Gomes, Hyunhak Kim

Change-Id: Ia707b5c4cf584e945ec985d66b87385af3049f10
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years agoozone integration
Arnaud Renevier [Wed, 13 May 2015 17:59:22 +0000 (10:59 -0700)]
ozone integration

Implement a subset of ozone porting layer needed to get chromium GL
layer working.

When using ozone, chromium uses surfaces and contexts based on egl, and
does not use x11 anymore.

So this is a first step towards enabling wayland on chromium-efl
Reviewed by: Antonio Gomes, DaeHyun Ko, Hyunhak Kim

Change-Id: I7c3b810b14bd071434f3b23c7a56b1aff61abc38
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[wayland][tizen v3.0] ecore wayland function integration
yh106.jung [Thu, 21 May 2015 10:23:50 +0000 (19:23 +0900)]
[wayland][tizen v3.0] ecore wayland function integration

This patch is based on [WAYLAND_BRINGUP] Wayland window fuctions
integration(http://165.213.202.130/gerrit/79542)

1. ecore_x_window_size_get -> ecore_wl_screen_size_get
2. ecore_x_window_resize -> ecore_wl_window_resize
3. ecore_x_window_hide -> ecore_wl_window_hide
4. ecore_x_window_show -> ecore_wl_window_show
5. ecore_x_window_move -> ecore_wl_window_move

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12693
Reviewed by: Antonio Gomes, Hyunhak Kim, Jaesik Chang

Change-Id: Ic55f136a883710c5cc36f42d03712f3f28238dc8
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years ago[M40 Merge][Tizen 3.0][WRT] Send whole Ewk_IPC_Wrt_Message_Data via evas smart callback
yh106.jung [Fri, 15 May 2015 04:53:14 +0000 (13:53 +0900)]
[M40 Merge][Tizen 3.0][WRT] Send whole Ewk_IPC_Wrt_Message_Data via evas smart callback

Send whole Ewk_IPC_Wrt_Message_Data not only type via evas smart callback when
ewk_ipc_plugins_sync_message_send is called.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12990
Reviewed by: Antonio Gomes, Hyunhak Kim, arno renevier

Change-Id: I5f64f26cd6153ca0ac78e298a4721937327fd396
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years ago[M40 Merge][Tizen 3.0][WRT] Implements DynamicPluginStopSession
yh106.jung [Mon, 18 May 2015 07:55:14 +0000 (16:55 +0900)]
[M40 Merge][Tizen 3.0][WRT] Implements DynamicPluginStopSession

Implements DynamicPluginStopSession inteface like below.

extern "C" void DynamicPluginStopSession(
    const char* tizen_id, v8::Handle<v8::Context> context)

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12998
Reviewed by: Antonio Gomes, Hyunhak Kim, arno renevier

Change-Id: I4f98a152b062a63dcdf4826a53ec8867f1f85112
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years ago[M40 Merge][Tizen3.0][WRT] Refactor ewk_send_widget_info API
Krzysztof Czech [Wed, 13 May 2015 12:18:48 +0000 (14:18 +0200)]
[M40 Merge][Tizen3.0][WRT] Refactor ewk_send_widget_info API

Associate widget's information with efl context. This is part of
the refactoring started here http://107.108.218.239/bugzilla/show_bug.cgi?id=10976.

bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12843
Reviewed by: Antonio Gomes, Hyunhak Kim, Jaesik Chang, arno renevier

Change-Id: I67158821a0ba56625e54df516bf88ae20475b262
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years agoRemove X11EventSourceEfl
Arnaud Renevier [Mon, 18 May 2015 21:27:13 +0000 (14:27 -0700)]
Remove X11EventSourceEfl

PlatformEventSource::CreateDefault() is called by ozone. So we don't
need to call it anymore ourselves.

Also with ozone, it's the platform event source stub that is used.

So that means we can remove X11EventSourceEfl.
Reviewed by: Antonio Gomes, DaeHyun Ko, SeungSeop Park

Change-Id: Ic9c0552309c1c0521ddbca8720cb5cb5c4c46106
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years ago[M40 Merge][Tizen 3.0][EWK API] Change argument of ewk_send_widget_info
Krzysztof Czech [Thu, 30 Apr 2015 13:21:31 +0000 (15:21 +0200)]
[M40 Merge][Tizen 3.0][EWK API] Change argument of ewk_send_widget_info

Change argument's name and type: int => const char*

bug : http://107.108.218.239/bugzilla/show_bug.cgi?id=12806
Reviewed by: DONGJUN KiM, Hyunhak Kim, Jaesik Chang, Piotr Tworek, arno renevier

Change-Id: I270b86107c2a7e12f063a610119224851b027f8c
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years ago[M40 Merge][WAYLAND_BRINGUP] Display size for Wayland
Chandan Padhi [Wed, 13 May 2015 13:34:19 +0000 (19:04 +0530)]
[M40 Merge][WAYLAND_BRINGUP] Display size for Wayland

This patch gets the display width and height using ecore_wl_screen_size_get().

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12492
Reviewed by: Antonio Gomes, DaeHyun Ko

Change-Id: Idef09cfcd18eb091bd66387dc53808dd955381cf
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years agofixup! Remove GCC 4.6 support
Antonio Gomes [Tue, 26 May 2015 17:47:59 +0000 (10:47 -0700)]
fixup! Remove GCC 4.6 support

This is not only not needed anymore. Additionally,
it was failing to apply and wrongly removing files
from ffmpeg checkout, causing x86-64 build issues.

This reverts d047c853.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12987
Reviewed by: Karol Furmaniak, arno renevier, mohan reddy

Change-Id: I8b2fe99d131770fc76d5792516171c320c10ecac
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[M40 Merge] Use old url instead of new url when new url is empty in WrtWidget::ParseUrl
yh106.jung [Tue, 28 Apr 2015 11:12:57 +0000 (20:12 +0900)]
[M40 Merge] Use old url instead of new url when new url is empty in WrtWidget::ParseUrl

Page loading was failed when new url was empty after
DynamicUrlParsing.
In that case, use old url as new url.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12822
Reviewed by: Antonio Gomes, Hyunhak Kim, Piotr Tworek

Change-Id: Idff2a940dd009a1f87c537a1536b8a691481a6da
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years ago[M40 Merge] Provide a way to set injected-bundle so name [ewk_context_new_with_inject...
Krzysztof Czech [Fri, 13 Mar 2015 12:26:56 +0000 (13:26 +0100)]
[M40 Merge] Provide a way to set injected-bundle so name [ewk_context_new_with_injected_bundle_path]

API that will be used by the WRT web apps to inject specific bundle to perform some
additional operations directly on JS context. Currently libwrt-injected-bundle.so
is injected by default.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=10976
Reviewed by: DONGJUN KiM, Piotr Tworek
Reviewed by: DONGJUN KiM, Hyunhak Kim, Piotr Tworek, arno renevier, commitbot

Change-Id: I86145ede4bd50bc7af7ee69b4a7a3f241ff4965a
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years ago[wayland][tizen v3.0] Initial support for TV and mobile
Youngsoo Choi [Thu, 2 Apr 2015 06:15:46 +0000 (15:15 +0900)]
[wayland][tizen v3.0] Initial support for TV and mobile

Note that this patch does not directly handle any wayland APIs.
It will be handled in other patch set, enabling blocked feature.

1) All of x11 dependent codes are blocked by flag 'BRINGUP_WAYLAND'.
   It is starting point of supporting chromium-efl on wayland.

2) The wayland library rpm packages are included, and
   the required packages are listed in alphabetical order in spec file.

3) In gyp, all changes of wayland are located under
   the condition 'building_for_tizen' to avoid affecting desktop build.

4) This patch supports builds for TV and mobile on arm-wayland or arm-x11,
   including desktop.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12490
Reviewed by: Antonio Gomes, DaeHyun Ko, Hyunhak Kim, SeungSeop Park

Change-Id: Ie059c270a1545bbba98e4297014f905d5883afe3
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agoDo not forward shift key to prevent shift keydown event.
Karol Furmaniak [Tue, 19 May 2015 07:24:32 +0000 (09:24 +0200)]
Do not forward shift key to prevent shift keydown event.

When upper case letter is entered there are two events
Shift + letter key. Do not forward shift key to
prevent shift keydown event.

WCS-TC_90

Test case:
Type "A" in text box.

Expected result:
keydown
keypress
compositionend
input
keyup

Actual result:
keydown
keydown
keypress
input
keyup
keyup

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12739
Reviewed by: Antonio Gomes, Hyunhak Kim, Piotr Grad, Piotr Tworek

Change-Id: Ic5945947466c85a064d7603d5bfab8cc5c0162a9
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
6 years agoUpdate our ozone snapshot to be m42-compatible.
Antonio Gomes [Fri, 22 May 2015 19:30:53 +0000 (12:30 -0700)]
Update our ozone snapshot to be m42-compatible.

The SHA was extracted for crosswalk-m42, which
builds with ozone enabled by default.

For reference, see https://github.com/crosswalk-project/crosswalk/blob/crosswalk-13/DEPS.xwalk#L22

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12490
Reviewed by: Hyunhak Kim, arno renevier

Change-Id: I0c850549b823f65cda1be9b492a7bd0926211042
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[M40 Merge] Removing file:// protocol handler specific for WRT.
Piotr An Nguyen [Mon, 11 May 2015 16:21:08 +0000 (18:21 +0200)]
[M40 Merge] Removing file:// protocol handler specific for WRT.

This is no longer needed on Browser Process side after architectural changes.

Original gerrit: http://165.213.202.130/gerrit/#/c/79548/

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10969
Reviewed by: Antonio Gomes, Daniel Waślicki, Hyunhak Kim, Michal Roj, Ming Jin, Piotr Tworek

Change-Id: Ie6e1d71396abbc33f019b6d5af56a38ffcc845ee
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years ago[m42] Add arm64 support to ffmpeg
Antonio Gomes [Thu, 21 May 2015 22:09:39 +0000 (15:09 -0700)]
[m42] Add arm64 support to ffmpeg

The following commands were executed within arm64 GBS wayland chroot:

$ # enter chroot
$ gbs chroot --root ~/GBS-ROOT-3.0-MOBILE-ARM64-WAYLAND/local/BUILD-ROOTS/scratch.aarch64.0/
$ # copy over src/third_party/ffmpeg to chroot (e.g.: /home/abuild)
$ cd ffmpeg
$ ./chromium/scripts/build_ffmpeg.py linux arm64
$ ./chromium/scripts/copy_config.sh
$ # edit chromium/scripts/generate_gyp.py; add "arm64" to support platforms.
$ python chromium/scripts/generate_gyp.py
$ edit ffmpeg.gyp; add "asm_sources" to the build
$ # generate the patch against a unchanged ffmpeg copy

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12490
Reviewed by: SeungSeop Park, arno renevier

Change-Id: I7aaab106225cf9a65d97977e9c24220d7ab863c5
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[tizen v3.0] Upversion tts lib
Youngsoo Choi [Thu, 7 May 2015 09:35:22 +0000 (18:35 +0900)]
[tizen v3.0] Upversion tts lib

On tizen v3.0, the latest tts lib does not support variable
'tts_speed_e' and 'tts_voice_type_e'.

So, each variables are defined as 'void' and 'int',
as it was in tizen v2.4.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12933
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I49bcd9caeeac377639d4d4ed4a61fbd6f42c11b7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agoFix EWK unit test build
Michał Pakuła vel Rutka [Thu, 21 May 2015 11:04:27 +0000 (13:04 +0200)]
Fix EWK unit test build

One of EWK unit tests uses ecore_x_display_get, thus requires ecore-x as a
dependency. Ecore-x was added to ewk-test.gypi.
Reviewed by: Antonio Gomes, Piotr Tworek

Change-Id: Ie694dadff689707d286e52aefcaefff875f93657
Signed-off-by: Michał Pakuła vel Rutka <m.pakula@samsung.com>
6 years agoPull the plug in old source files from impl/ directory.
Piotr Tworek [Wed, 20 May 2015 11:21:22 +0000 (13:21 +0200)]
Pull the plug in old source files from impl/ directory.

Not used for anything, just left for reference. There is no reason to
keep them around anymore.
Reviewed by: Antonio Gomes, Hyunhak Kim

Change-Id: I2db8d7ee4a8c5916cc873d21dfffb933b23b74fb
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agofixup! Remove Xlib dependency in chromium_impl/ui
Arnaud Renevier [Mon, 18 May 2015 22:09:22 +0000 (15:09 -0700)]
fixup! Remove Xlib dependency in chromium_impl/ui

Now that we don't reimplement OpenNewXDisplay, we don't need to depend
on Xlib.h anymore in x11_types_override.cc
Reviewed by: Antonio Gomes, Piotr Tworek, Youngha Jung

Change-Id: I3a21d394bff6cd2516e966320eea432c5a00dd66
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agoJavaScript window.onfocus does not work.
Karol Furmaniak [Wed, 13 May 2015 12:26:43 +0000 (14:26 +0200)]
JavaScript window.onfocus does not work.

[Problem]: JavaScript window.onfocus does not work.
[Solution]: Added call WasShown on focus in and
Blur on focus out.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12713
Reviewed by: Hyunhak Kim, Piotr Tworek

Change-Id: I18b2d2387c4bea525c770e7fc484b7bda877ce6c
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
6 years agoMake egde effect effective
Antonio Gomes [Tue, 19 May 2015 15:29:28 +0000 (11:29 -0400)]
Make egde effect effective

Now that Edge Effect is brought up (see [1]), patch
make it effective for scroll/pinch gestures.

What is does? It hides the overscroll indicator
when it is not needed.

[1] http://165.213.202.130/gerrit/#/c/76762/
:
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=13002
Reviewed by: Piotr Tworek, arno renevier

Change-Id: I98a80374d6b8424b9af80a862c5795b21fc28a00
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agofixup! [dev/m42][uBrowser] One point touch.
Antonio Gomes [Tue, 19 May 2015 15:25:42 +0000 (11:25 -0400)]
fixup! [dev/m42][uBrowser] One point touch.

We can use the same method as multi touch callback for
up/down/move events.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12716
Reviewed by: Piotr Tworek, arno renevier

Change-Id: Iae532cdf70068f4d4cd17c2ca874eb2e57b0b3d7
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoRemove "tilt zoom" and EWK motion code.
Antonio Gomes [Mon, 18 May 2015 18:28:10 +0000 (14:28 -0400)]
Remove "tilt zoom" and EWK motion code.

This is how pinch zoom workflow was:

 0- EWebView::SubscribeMotionEvents (motion,zoom smart callback)
 1- EWebView::HandleTouchEvents
    (if > 2 touch points)
 2- wkext_motion_tilt_start
 3- MotionUI:InitializeTiltToZoom
    (set up tilt callback, initialize sensor)
 4- MotionUI::tiltCallback fires which calls
 5- MotionUI::tiltToZoom which fires "motion,zoom" smart trigger)
 6- EWebView::OnMotionZoom calls
 7- RWHVEfl::makePinchZoom
 8- RWHVEfl::HandleGesture
 9- RWHVEfl::FilterMotion
10- wkext_motion_tilt_position_update
(...)

After http://165.213.202.130/gerrit/#/c/79685/ and
http://165.213.202.130/gerrit/#/c/79684/ pinch is
brought up, and works by directly passing Motion
(multi touch) events to chromium.

Now the follow is:

 0- listen to EVAS_CALLBACK_MULTI_DOWN,MOVE,UP from RWHVEfl
 1- RWHVEfl::On{Mouse,Pointer}{Down,Move,Up}
 2- RWHVEfl::ProcessTouchEvents
    (create motion events)
 3- pass events down to chromium

The whole tilt zoom machinery can then be removed.

PS: Note that since http://165.213.202.130/gerrit/#/c/69834/
all MotionUI code path is disabled.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=13002
Reviewed by: Piotr Tworek, arno renevier

Change-Id: If15f48fd2ff199450fcdfab01e0f5f667176fe89
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoRemove GCC 4.6 support
Antonio Gomes [Thu, 14 May 2015 20:18:38 +0000 (16:18 -0400)]
Remove GCC 4.6 support

All our supported platforms have GCC 4.8 or higher available.
That includes Tizen TV 2.2.1, 2.4 and 3.0, as well as Tizen
Mobile 2.4 and 3.0.
The last known Tizen platform that depends on GCC 4.6 is
Tizen 2.3, which is not supported by the current dev and
beta branches.

Additionally, since the m42 upversion and the Xwalk refactor
work switched over to m42, GCC 4.6 specific hacks were not
carried over to s-chromium and s-blink. So the code being
removed is non-functional anymore anyways.

The only file left over is gcc46_compat_wrappers/ecore_x_wrapper.h
which will be used to support wayland. I deliberately
left this file over to avoid merge conflicts with that work.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12987
Reviewed by: Piotr Tworek, SeungSeop Park

Change-Id: Id3cd6ecff1a41a40f300d70d67e7b14bf7ac37ab
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoTo generate proper out folder according to architecture and tizen version
Youngsoo Choi [Mon, 18 May 2015 12:21:33 +0000 (21:21 +0900)]
To generate proper out folder according to architecture and tizen version

1) The tizen v2.2.1 and tizen v3.0 tv builds share a same out folder,
   named 'out.tv.arm'.
   Those builds should have separated folders each other with tizen version.

2) Each arm64, x86_64, and ia32 build generates a folder 'out.{profile}.i386'.
   Those builds should generate folders, having proper architecture name,
   instead of i386.

This patch suggests the name of the folder as 'out.{tizen_version}.{target}.{architecture}'.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13001
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I184e78cc339e6c0c44d612dfe6df848eec70fb7b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agobringup double tap to zoom.
Antonio Gomes [Thu, 14 May 2015 16:18:11 +0000 (12:18 -0400)]
bringup double tap to zoom.

Patch toggles on the existing blink patch according
to the touch status.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12986
Reviewed by: Antonio Gomes, Hyunhak Kim, Piotr Tworek

Change-Id: Ia831980b2e1321001952952b69a9057bdb72f469
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[Beta m42] Change branch to beta/m42_2311_t for CT s-* repo sync
Jongsoo Yoon [Mon, 18 May 2015 08:02:57 +0000 (17:02 +0900)]
[Beta m42] Change branch to beta/m42_2311_t for CT s-* repo sync

[Branch Info]
  - chromium-efl : beta/m42_2311_t
  - s-chromium   : beta/m42_2311_t
  - s-blink      : beta/m42_2311_t
  - s-webrtc     : beta/m42_2311_t
  - s-libjingle  : beta/m42_2311_t
  - s-skia       : beta/m42_2311_t
  - s-v8         : beta/m42_2311_t
Reviewed by: Piotr Tworek, SeungSeop Park

Change-Id: Ic9434b0f8248ec7adabb6b3eb053a2fa2ffbdb69
Signed-off-by: Jongsoo Yoon <join.yoon@samsung.com>
6 years agofixup! Do not use elm_config_preferred_engine_set anymore
Antonio Gomes [Fri, 15 May 2015 20:42:49 +0000 (16:42 -0400)]
fixup! Do not use elm_config_preferred_engine_set anymore

Call elm_config_accel_preference_set on mini_browser creation
otherwise it fails at gl context initialization.

PS: This is similar to uBrowser.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12675
Reviewed by: SeungSeop Park, arno renevier

Change-Id: I10447a1104e255948e5eaad6c9bf71dafade4bc3
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoImprove renderer process crash handling in EWK.
Piotr Tworek [Thu, 14 May 2015 09:32:28 +0000 (11:32 +0200)]
Improve renderer process crash handling in EWK.

Since the refactoring removed a lot of unnecessary inter dependencies
between EWK and content layers we no longer need to re-create
WebContents each time the renderer process has crashed. On UI process
side renderer process is only represented by the RenderWidgetHostView
class. This fix brings a big benefit of not loosing browsing history
whenever renderer process crashes. Such state is associated with
WebContents not RWHV.

This patch also includes additional bug fix which makes sure
LoadHTMLString function is not called directly from a callback informing
us about a crash. Calling any load method directly from the crash
callback triggers a DCHECK in mojo code when renderer process crashes
multiple times for the same WebContents instance.
Reviewed by: Antonio Gomes, SeungSeop Park, Youngha Jung

Change-Id: Id220b563bea90e6dedd0b55a26ef856fb1528069
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoAdded macro support OS(TIZEN), OS(TIZEN_MOBILE) and OS(TIZEN_TV) for WebKit.
Piotr Szawdyński [Mon, 4 May 2015 15:28:43 +0000 (17:28 +0200)]
Added macro support OS(TIZEN), OS(TIZEN_MOBILE) and OS(TIZEN_TV) for WebKit.

1) This patch allows to replace statement #if defined(OS_TIZEN_MOBILE) with
statement #if OS(TIZEN_MOBILE). Usage of OS macro is required because
buildbot has presubmit check which dissalow to commit patch which contains
macro which matches to pattern OS_*.
2) Added dependency to library capi-system-system-settings.
Library 'capi-system-system-settings' is used by WebKit project for Tizen build
(WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp). Currently OS(TIZEN) macro
was not working and after fixing macro issue project won't compile, so we
need to fix also dependency.
Reviewed by: Antonio Gomes, Piotr Szawdyński, SeungSeop Park, Tomasz Czekala

Change-Id: I36694bce7090a02e53982c3d936dc4a997377470
Signed-off-by: Piotr Szawdyński <p.szawdynski@samsung.com>
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agofixup! [dev/m42][uBrowser] Wrong output on double tap.
Antonio Gomes [Thu, 14 May 2015 16:04:07 +0000 (12:04 -0400)]
fixup! [dev/m42][uBrowser] Wrong output on double tap.

Make double tap toggle ON/OFF tied to touch events status.

Change-Id: Ie54dc656efa159cc75be8881bf86c2223cad7d4e
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoRemove Xlib dependency in chromium_impl/ui
Arnaud Renevier [Tue, 12 May 2015 20:19:50 +0000 (13:19 -0700)]
Remove Xlib dependency in chromium_impl/ui

We remove Xlib dependency, or rely on ecore-x instead.

We stop implementing ScreenEfl::GetCursorScreenPoint and
ScreenEfl::GetWindowUnderCursor.
Those methods are only used with toolkit view, which is not enabled for
our port. Those methods are also left unimplemented in android or ios.

In ScreenEfl::GetPrimaryDisplay, we use ecore-x methods instead of X11
methods.

In MakeWebKeyboardEvent, we hardcode all windowsKeyCode results, as is
currently done in quicksilver. This method is fragile, and won't work
currently on all layout keyboards. But it will still give better
results than the current behavior (where most keys are discarded, and
result in a 0 keyCode).

Additionally, we also set event.modifiers, which also used to implement
KeyBoardEvent.location.
Reviewed by: Antonio Gomes, Piotr Tworek

Change-Id: I1763ed7e43b2f216916abf75be56d0ca9ba2a84c
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agoBringup quota management api
Arnaud Renevier [Wed, 29 Apr 2015 23:30:49 +0000 (16:30 -0700)]
Bringup quota management api

Call ewk_view_quota_permission_request_callback_set in ubrowser.
Requests will always be approved

In order to use this feature, browser must be built with
enable_hardcode_runtime_features set to 0, and launched with
--enable-experimental-web-platform-features

Fixes unittest to use new HTML5 quota management api

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=8472
Reviewed by: Antonio Gomes, Piotr Tworek, Youngha Jung

Change-Id: I4d0064426c1ea49c9f2759ad1f37bf86ac68fa7e
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years ago[Rebase][dev/m42_2311] Autofill bringup
Michał Obrembski [Tue, 5 May 2015 09:19:05 +0000 (11:19 +0200)]
[Rebase][dev/m42_2311] Autofill bringup

This commit adds missing Autofill support from m40.

Tested on org.tizen.browser on gmail registration page
(http://accounts.google.com/SignUp)

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12547
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12730
Reviewed by: Antonio Gomes, Piotr Tworek, SeungSeop Park

Change-Id: I63d2f633ab8c672695e8de4b8bd3f60515177c71
Signed-off-by: Michał Obrembski <m.obrembski@samsung.com>
6 years agoDo not use elm_config_preferred_engine_set anymore
Arnaud Renevier [Wed, 6 May 2015 22:00:02 +0000 (15:00 -0700)]
Do not use elm_config_preferred_engine_set anymore

As of elementary 1.13, elm_config_preferred_engine_set is deprecated.

Opengl is chosen by default, and using elm_config_preferred_engine_set
does nothing anymore.

Also, instead of setting ELM_ACCEL environment variable, we can now use
elm_config_accel_preference_set. With that information, elm will pick
the right engine automatically for us.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=12675
Reviewed by: Antonio Gomes, Hyunhak Kim, Piotr Tworek

Change-Id: Ib72afeb59a3d447879166bed632f4a902f5fc0ae
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years ago[tizen v3.0] Improving build time with optional rpmlint
Youngsoo Choi [Thu, 26 Feb 2015 11:07:40 +0000 (20:07 +0900)]
[tizen v3.0] Improving build time with optional rpmlint

The rpmlint, verifying syntax of spec file, has been
supported from tizen v3.0.

GBS build always runs rpmlint at the end of the build,
and it takes too much time.

To improve the build time for developers,
this patch provides a option for enabling or disabling rpmlint.

To enable the rpmlint, following command can be used.
>> ./build/build_tv.sh -P tztv_v3.0 --define '_rpmlint 1'

By default, the rpmlint is disabled.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12968

Change-Id: I687582583b8eb8b0747a7f1355f2e9d32075e120
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agofixup! Don't use forward delaration of Elm_Object_Item.
Youngsoo Choi [Wed, 13 May 2015 04:40:48 +0000 (13:40 +0900)]
fixup! Don't use forward delaration of Elm_Object_Item.

The 'Evas.h' is already included in 'Elementary.h'.

Original message:

The definition of the object is different in Elementary 1.13. Since this
is what Tizen 3.0 currently uses the code failed to compile. Instead of
using forward delclarations simply include Elementary.h header. This
should ensure the code builds no matter what version of EFL/Elementary
is being used.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11876

Change-Id: I78185632e0d61fcbb25e20bddc0aaf6884565532
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[tizen v3.0] Added repositories for local build of OBS
Youngsoo Choi [Tue, 24 Feb 2015 12:35:48 +0000 (21:35 +0900)]
[tizen v3.0] Added repositories for local build of OBS

The OBS repositories are included in the file 'gbs.conf'.
Using newly added repository, developers can do OBS build locally.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12969

Change-Id: Id2776ece309c10ea0db5c33d04dfec23dca1766d
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>