Balazs Kelemen [Tue, 28 Oct 2014 22:59:51 +0000 (18:59 -0400)]
Getting rid of wayland dependency
We don't want wayland at this point and it makes the jhbuild fail
(at least for me). It should have been disabled already but the
configure flags were wrong.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8179
Reviewed by: Antonio Gomes, Viatcheslav Ostapenko
Change-Id: I2eddb6b87130edcfe5637ea5df5010509a5b2975
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Tomasz Olszak [Thu, 18 Sep 2014 13:04:47 +0000 (15:04 +0200)]
[M34-Merged] Change install path of package metadata from /usr/share to /opt/share
If installed in /usr/share, application is labeled as non-removable
and it is not possible to uninstall it.
Because of this, we had to use rpm command to uninstall chromium-efl
package installed by pkgcmd command.
This mismatch left some garbage data such as desktop icon
after uninstallation.
This patch fixes such defect by installing metadata to /opt/share.
[Reference]
See following url for xml manifest file structure and related code:
https://review.tizen.org/gerrit/gitweb?p=framework/appfw/slp-pkgmgr.git;a=blob;f=parser/manifest.xsd.in
https://review.tizen.org/gerrit/gitweb?p=framework/appfw/slp-pkgmgr.git;a=blob;f=parser/pkgmgr_parser.c;h=
a635883f065d393276cbaf1ffe2e079eb6ec1909;hb=HEAD#l4072
[Test]
To uninstall just invoke:
$> pkgcmd -u -n chromium-efl
Original patch(M34): http://165.213.202.130:8080/#/c/69452/
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8131
Reviewed by: Kangil Han, SeungSeop Park
Change-Id: I260034207df0cfa0463e1b0096e2a2c8fcfeb8b1
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
Arnaud Renevier [Fri, 24 Oct 2014 02:28:00 +0000 (19:28 -0700)]
Delete animator in SelectionMagnifierEfl::~SelectionMagnifierEfl
Right now, the animator set with ecore_animator_add is not deleted
in SelectionMagnifierEfl destructor. So, it can happen that the
animator callback is called after the magnifier has been deleted. This
results in a crash when trying to access its properties.
This patch fixes the problem by calling ecore_animator_del in
SelectionMagnifierEfl destructor.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8053
Reviewed by: Balazs Kelemen, SeungSeop Park, Yi Shen
Change-Id: I91a9d9c86de54787fd37ae135b19ffd28c2eeaf6
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
Tomasz Olszak [Mon, 15 Sep 2014 08:37:40 +0000 (10:37 +0200)]
[M34-Merged] org.tizen.chromium-efl package renamed to chromium-efl
Additionally it seems that appid in aplication manifest (chromium-efl.xml)
needs to follow domain naming convention. I couldn't find any documentation
about it however org.tizen.mini-browser works chromium-efl doesn't.
Origin patch(M34): http://165.213.202.130:8080/#/c/69452
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5523
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8131
Reviewed by: SeungSeop Park
Change-Id: I8e369922156f63501795e2491ab058b72b70e64f
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
Balazs Kelemen [Tue, 28 Oct 2014 23:26:46 +0000 (19:26 -0400)]
Force jhbuild rebuild if needed
We added stamp file as build time optimization but that should not stop jhbuild
if config files are changed. Also moving the stamp file to Root directory
so that clobbering jhbuild will also force rebuild.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6110
Reviewed by: Yi Shen, SeungSeop Park
Change-Id: Idc0939030c51b1941420abc250ce58ee055a5be6
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Antonio Gomes [Tue, 28 Oct 2014 05:10:45 +0000 (14:10 +0900)]
fixup! fixup! Fix WebContentsDelegateEfl because of updates in chromium WebContentsDelegate
Further disable favicon path, as it still cases problem on debug
builds.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7792
Reviewed by: Kangil Han
Change-Id: I9b63c140ddba00403e02efc8a734af01694bb0b3
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
Arnaud Renevier [Fri, 24 Oct 2014 18:45:37 +0000 (11:45 -0700)]
Fixes erroneous TearDown overrides in ewk unittests.
In unittests, startup/cleanup routines for specific tests must happen in
PostSetup and PreTearDown methods.
Some tests erroneously override TearDown. Then, the base cleanup is
not performed and that results in crashes.
This patch fixes the issue.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6980
Reviewed by: SeungSeop Park, Kangil Han
Change-Id: I20ebc5adfd6a7c847ee13a9d273d86ed2cbc439a
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
Arnaud Renevier [Fri, 24 Oct 2014 18:57:58 +0000 (11:57 -0700)]
Remove unneeded unit tests
Now that all unittests are run within a single binary, some tests don't
make sense anymore. Since ewk_init and ewk_set_arguments are called at
the start of the process, utc_blink_ewk_init_func and
utc_blink_ewk_set_arguments_func are useless.
Similarly, utc_blink_ewk_shutdown_func is not needed anymore.
This patch also temporarly disables
utc_blink_ewk_context_local_file_system_all_delete_func and
utc_blink_ewk_context_local_file_system_delete_func. Indeed, they need
--allow-file-access-from-files flag to run, but it's not possible to set
arguments after the initialization. We will enable them again later.
Lastly, it refactors utc_blink_ewk_view_add_func and
utc_blink_ewk_view_add_with_context_fun so that they don't call ewk_init
and ewk_shutdown
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6980
Reviewed by: SeungSeop Park, Kangil Han
Change-Id: I535b275107680dfe5fd2261c82dfee32a3760b14
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
Dongwoo Joshua Im [Wed, 29 Oct 2014 03:39:00 +0000 (12:39 +0900)]
Add sns.park in the S_TRUNK_OWNERS of the top directory
SeungSeop Park <sns.park@> has been designated
as an owner of the top directory of chromium-efl.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4540
Change-Id: I76a2db5a0cd15c139865b247b3f306c3ca4ff3fd
Signed-off-by: Dongwoo Joshua Im <dw.im@samsung.com>
Youngbok Yoon [Mon, 20 Oct 2014 06:31:07 +0000 (15:31 +0900)]
Change base platform for mobile to
20141020.002 binary
We now move to newer mobile platform PtnZ910FXX_20141020.002, where
HD Winset(ex. Context center popup) is available.
To do that, this patch updates the base repo url of gbs.conf.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8142
Reviewed by: Kangil Han, Antonio Gomes
Change-Id: I2e3d45317c8808dc67db4b818e26c130ad73cf27
Signed-off-by: Youngbok Yoon <youngbok.yoon@samsung.com>
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
Tomasz Olszak [Fri, 24 Oct 2014 07:31:03 +0000 (09:31 +0200)]
Made that grep for profile parameter in build_{tv,mobile} now always succeeds.
grep returns non 0 status when it doesn't find any matching string. If someone
used set -e in parent script which invoked build_{tv,mobile} then got error and
script exited.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7957
Reviewed by: Kangil Han
Change-Id: I9dfa0c026f65a25db071f89a4d10d871290db52a
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
qi1988.yang [Mon, 20 Oct 2014 09:50:20 +0000 (17:50 +0800)]
[M34-Merged] Assuring correct pointer initializations. (impl folder)
Added missing pointer class members initializations.
Origin patch(M34): http://suprem.sec.samsung.net/gerrit/#/c/3960/
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7802
Reviewed by: Antonio Gomes
Change-Id: I027b77512ac37325e6d698d2005a96e06dc4ae95
Signed-off-by: qi1988.yang <qi1988.yang@samsung.com>
zhishun.zhou [Fri, 17 Oct 2014 09:32:09 +0000 (17:32 +0800)]
[Tizen][M34-Merge] Implement WebContext::ClearCandidateData
This patch implement ClearCandidateData, which will be
used by ewk_context_form_candidate_data_clear API.
It depended on auto fill feature(TIZEN_AUTOFILL_SUPPORT).
This is code migration from m34 beta to DEV,
Original patch info: http://suprem.sec.samsung.net/gerrit/#/c/4963/
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7742
Reviewed by: Antonio Gomes
Change-Id: I73795f52d094c2b6f01d7bf5c579ddd60a589f31
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
Antonio Gomes [Sun, 26 Oct 2014 11:28:14 +0000 (04:28 -0700)]
fixup! [Tizen] Switch chromium-efl / mobile development to GCC 4.8
Remove experimental c++11 enabling line, now that it is not
explicitly needed.
Also remove a GCC 4.5 specific workaround, also not needed anymore.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5458
Reviewed by: Laszlo Gombos, Kangil Han
Change-Id: I89e7c320e22631a5c32587666f5480a7aead4d94
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
zhuoyu.qian [Fri, 17 Oct 2014 06:28:50 +0000 (14:28 +0800)]
[M34-Merge]Fixed creation of GURL from URL
M34 commit URL: http://suprem.sec.samsung.net/gerrit/#/c/4649/
When given URL is empty, returned GURL is an empty string "".
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7709
Reviewed by: Antonio Gomes
Change-Id: Ib0f3f2ff0494c3cd14235623188e1c739fbc2c5a
Signed-off-by: zhuoyu.qian <zhuoyu.qian@samsung.com>
zhishun.zhou [Sat, 25 Oct 2014 10:10:56 +0000 (18:10 +0800)]
[Tizen]Implement ewk_view_main_frame_get
This patch implements ewk_view_main_frame_get.
This is code migration from m34 beta to DEV,
Original patch info:
http://suprem.sec.samsung.net/gerrit/#/c/5160/3
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6006
Reviewed by: Antonio Gomes, Laszlo Gombos
Change-Id: I9c50c876abee78bbf1729a627e89c66920a9840a
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
SeungSeop Park [Fri, 24 Oct 2014 08:24:09 +0000 (17:24 +0900)]
fixup! Enable Tizen build on dev/m39_2171
Now the chromium version is m39_2171.
Reviewed by: Antonio Gomes, Kangil Han
Change-Id: I9f1fada89f7f17632a6411af3639b7482447e6ad
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
zhishun.zhou [Sat, 18 Oct 2014 09:46:54 +0000 (17:46 +0800)]
[Tizen] Implement EWK API for window features
This patch implements EWK API for window features.
This is code migration from m34 beta to DEV,
Origin patch patch info:
http://suprem.sec.samsung.net/gerrit/#/c/6721
and http://suprem.sec.samsung.net/gerrit/#/c/6726
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7782
Reviewed by: Antonio Gomes
Change-Id: I1b9cdcc0d4435073b32a547b95e81256c65d335f
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
Arnaud Renevier [Fri, 24 Oct 2014 01:53:38 +0000 (18:53 -0700)]
Reenable (uncomment) cleanup for unittests
Uncomment cleanup code in utc_blink_ewk_base::EwkDeinit. Before it was
trigerring a crash but this was fixed by commit
19e1f0214adaea576
(http://165.213.202.130:8080/#/c/70986/).
http://107.108.218.239/bugzilla/show_bug.cgi?id=6980
Reviewed by: Balazs Kelemen, Antonio Gomes
Change-Id: I2a88eb88ffc6f1fdd57c25cddda77cab52051e63
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
Arnaud Renevier [Wed, 22 Oct 2014 00:02:11 +0000 (17:02 -0700)]
Remove LOG(INFO) debugging
The messages currently printed with LOG(INFO) are not really useful to
have in the standard output.
This patch also removes StartMemorySampler and StopMemorySampler apis
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7938
Reviewed by: Viatcheslav Ostapenko
Change-Id: I22381f2d07f8289add85f26401ea6bc5e4fd226b
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
zhaoze [Thu, 18 Sep 2014 15:29:27 +0000 (11:29 -0400)]
[Tizen] Bringup InputPicker
Currently in Tizen, InputPicker is not enabled, this patch
will bring it back.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4834
Reviewed by: Antonio Gomes
Change-Id: Iaf18becf22090ee5254040d49fec7fbbaad0db6d
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
zhaoze [Wed, 22 Oct 2014 22:02:02 +0000 (18:02 -0400)]
[Tizen] Enable use_libjpeg_turbo
Currently we disable use_libjpeg_turbo and use the use_system_libjpeg.
Using libjpeg_turbo is an important optimization for chromium.
From our image_decode_bench, we got the following result:
TotalRuntime AverageRuntime
enbale turbo 1.758999(s) 0.001759(s)
disbale turbo 3.535364(s) 0.003535(s)
Image source: http://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg
The result shows it's two times faster when decodes
the jpeg image use the libjpeg_turbo.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5197
Reviewed by: Laszlo Gombos, Antonio Gomes
Change-Id: Ibbd76d11cbc44b31fa80f60a35423623936cd2e4
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
zhuoyu.qian [Fri, 17 Oct 2014 05:00:56 +0000 (13:00 +0800)]
[M34-MERGE] Fixed calling WebContentsFromFrameID outside UI thread
Fixed calling web_contents_utils::WebContentsFromFrameID outside UI
thread in LoginDelegateEfl.
Issue manifested by test utc_blink_ewk_auth_challenge_suspend_func on desktop.
change to use the render frame not render view and check the result
when get render frame from given request
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7638
M34 commit IDs:
c733fee9ee8d98c7f508ab210b6f42d649a8e9b5 &
4cac0f18419e1396c016e316b540a344ffbf4f16
Reviewed by: Yi Shen, arno renevier, Laszlo Gombos, Antonio Gomes, Kamil Klimek
Change-Id: I28dcb00cadd731f5ebe819e3a3d4f1dd732aa972
Signed-off-by: zhuoyu.qian <zhuoyu.qian@samsung.com>
Arnaud Renevier [Mon, 13 Oct 2014 17:27:27 +0000 (10:27 -0700)]
Enable Tizen build on dev/m39_2171
This patch enables Tizen build on dev/m39_2171
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7040
Reviewed by: Laszlo Gombos
Change-Id: I934c9bc2db7d93a3579010d7aa02d91e7f1f80bb
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
Arnaud Renevier [Mon, 20 Oct 2014 03:29:25 +0000 (20:29 -0700)]
fixup! Fix WebContentsDelegateEfl because of updates in chromium WebContentsDelegate
The LoadFinished callback is not called because of a typo in
6de7cadd
This patch fixes it.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7792
Reviewed by: Antonio Gomes
Change-Id: Id69dd7fe3eecd9601bff05ee4cf31a13e03370c0
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
Arnaud Renevier [Thu, 16 Oct 2014 23:19:40 +0000 (16:19 -0700)]
Fixes crash when using virtual keyboard.
For whatever reason, when typing a text, once the second character has
been entered, EWebView::UpdateHitTestData is called. It crashes during
the copy of SkBitmap.
One way to prevent the crash is to avoid the copy of the
Hit_Test_Image_Buffer (and therefore the SkBitmap) in _Ewk_Hit_Test ipc
struct. Hit_Test_Image_Buffer is not used by the renderer.
In the long term, we should probably investigate more the underlying
nature of the crash. But for the moment, this patch allows the keyboard
to work without crashing.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5456
Reviewed by: Antonio Gomes
Change-Id: I9d7061e220a17d067f2a0e2b62c0c05b0af449a1
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
Balazs Kelemen [Mon, 6 Oct 2014 18:52:02 +0000 (14:52 -0400)]
Enhance Tizen device development with faster deployment
Add rsync based fast push script and helpers to make deployment easy and fast.
The scripts upload libs and binaries as is (no rpm install) Envsetup script
provided for device.
This workflow has been chosen since it is suitable for both gbs and
cross-compile workflow. It is a developer-only setup, not in any sense
a replacement for rpm.
rpm based workflow can also benefit from rsync (using tizensync.sh directly).
Uploading libchromium-efl.so (stripped, release) with gbs takes ~34sec in my
environment. With this scripts it went down to ~8sec and the difference can
only be bigger when reuploading after build.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6900
Reviewed by: Viatcheslav Ostapenko, Antonio Gomes
Change-Id: I99c81a1f3b979e73a3d746cf5f4dd56b35380069
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
qi1988.yang [Tue, 21 Oct 2014 10:31:09 +0000 (18:31 +0800)]
Ewk_Frame renamed to tizen_webview::Frame
Origin patch(M34): http://suprem.sec.samsung.net/gerrit/#/c/5159/
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7901
Reviewed by: Antonio Gomes, arno renevier, Laszlo Gombos, Yi Shen
Change-Id: I046381097dfb1ebc07408ebc5d37726eba6807c9
Signed-off-by: qi1988.yang <qi1988.yang@samsung.com>
Antonio Gomes [Tue, 21 Oct 2014 08:31:57 +0000 (17:31 +0900)]
[Tizen] Switch chromium-efl / mobile development to GCC 4.8
Patch allows building and running chromium-efl with GCC 4.8
on our current tizen mobile targets, and plus it makes it
sane to rebase against chromium.org, and its wave of C++11 features.
---Build---
Our latest mobile platform is based on Tizen 2.3 profile,
where libc 2.13 and as GCC 4.6 compatible binaries are
available. Logically, our development toolchain also provides
the same versions of such binaries by default.
In order to build things with a newer version of both libc and
GCC, a custom "supplement" repository [1] was introduced. GBS then
pulls in the appropriated versions of the packages.
[1] http://10.251.52.177/tizenrepo/eur-open/supplement_gcc48
PS: Thanks SeungSeop Park!
---Run---
Figuring out how to run a GCC 4.8-derived chromium-efl build
on our mobile target was particularly tricky.
The solution found was making use of custom libc installation
on target, allowing us to have multiple libc versions available.
While building chromium-efl, at link step, both "rpath" and
"dynamic-linker" linker options were set to this custom installation
directory, expanding our runtime search as per our needs.
This affects chromium-efl.so and chromium-ewk.so, as well as
efl_webprocess, mini_browser and efl_webview_app.
There were also stdc++ incompatibilities at runtime. This was
solved by making use of 'static-libstdc++' and 'static-libgcc'
linker options.
---Deployment---
Patch also adds a convenience-script that deploys the new libc
binaries at pre-defined location (/opt/usr/eglibc-2.18/lib) on
target. One just needs to execute it as below (to be done once,
upon device flash):
$ ./build/deploy_libc_to_target.sh
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5458
Reviewed by: SeungSeop Partk, Viatcheslav Ostapenko, Balazs Kelemen, Laszlo Gombos, Yi Shen, Arnaud Renevier.
Change-Id: Ibed11beba50f205b3d193b32e220a7ae165ca75c
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
zhuoyu.qian [Tue, 14 Oct 2014 08:59:44 +0000 (16:59 +0800)]
Add missing callback APIs used by com.samsung.browser.
M34 commit ID:
aea2fce3b55a003ded94ce9243df52be538ac581
Add missing callback APIs that are used by com.samsung.browser.
+ "overflow,scroll,off"
+ "overflow,scroll,on"
+ "touchmove,handled"
+ "weblogin,checkbox,clicked"
+ "weblogin,checkbox,resume"
+ "weblogin,ready"
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7456
Reviewed by: Antonio Gomes, arno renevier, Laszlo Gombos
Change-Id: I73217807b00c6e17d1706d3926f2978dd5da969b
Signed-off-by: zhuoyu.qian <zhuoyu.qian@samsung.com>
zhuoyu.qian [Fri, 17 Oct 2014 08:33:38 +0000 (16:33 +0800)]
Fix WebView::SetUserAgentAppName
WebView::SetUserAgentAppName was calling incorrect API, so fix it.
M34 commit ID:
146cf4767a84c1956c624f00e0b44bbe5282d38f
Issue: http://http://suprem.sec.samsung.net/jira/browse/CBWEBVIEW-893
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7744
Unit test: utc_blink_ewk_view_app_name_user_agent_set_func.cpp
Reviewed by: Antonio Gomes, Viatcheslav Ostapenko, arno renevier, Yi Shen
Change-Id: I8ddd5bed16991fbcb723bf33492ce0b86cb181f5
Signed-off-by: zhuoyu.qian <zhuoyu.qian@samsung.com>
zhaoze [Wed, 10 Sep 2014 21:06:07 +0000 (17:06 -0400)]
[Tizen] Re-factor WebContents usage by EWK API implementation
WebContents is the main object of the content API from user
perspective. The object represents a web widget with extra
logic used to manipulate it's state (LoadUrl, go back, stop
loading page, etc). A lot of this logic maps directly to what
EWebView class is supposed to do. It's can be easily said that
EWebView is a wrapper aroud WebContents.
In the current codebase the actual ownership of WebContents is
rather strange. It's not held directly by it's main user, but by
WebContentsDelegateEfl. As a direct result we:
1. Do lot of unecessary web_contents_delegate_->web_contents()
getter calls.
2. We often pass WebContentsDelegate to objects that only need
WebContents
3. Have bunch of unnecessary WebContents NULL checks. The
classes which make them could not even be instantiated if
WebContents did not exist.
This patch moves the ownership of WebContsnts to EWebView.
It also changes, wherever possible, WebContents pointers to
references.
Original patch: http://165.213.202.130:8080/#/c/69163/3
Original author: Piotr Tworek <p.tworek@samsung.com>
Reviewed by: Antonio Gomes
Change-Id: I507f270f2fa62ca70a4d24972359c8be5b5c3175
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
SeungSeop Park [Wed, 22 Oct 2014 05:52:52 +0000 (14:52 +0900)]
fixup! Fixed return status for tv and mobile build scripts.
Previoulsy the build script build/build_mobile|tv.sh always returned 1.
This is because
- if GBS_RET is 0, [ "$GBS_RET" != "0" ] is evaluated to 1,
which in turn becomes the return value of the script.
- if GBS_RET is 1, the script exits with the value of GBS_RET.
The solution is to exit with 0 at the end of script.
Reviewed by: Antonio Gomes, mohan reddy, Kangil Han
Change-Id: I1647dfb3d63ca9b60ac2a7b77421540ef7108175
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
Youngsoo Choi [Mon, 20 Oct 2014 08:40:21 +0000 (17:40 +0900)]
Fix chromium-efl installation issue on device
[Issue]
When installing chromium-efl rpm package by using pkgcmd command,
following error is coming.
> __return_cb req_id[1] pkg_type[rpm] pkgid[org.tizen.chromium-ewk]
> key[error] val[11] error message: Manifest File Not Found
[Resolve]
The 'packaging/chromium-efl.spec' includes the line below that
will be executed during package installation.
> install -m 0644 ewk/efl_webview_app/org.tizen.chromium-efl.xml
> "%{buildroot}"%{_datadir}/packages
By the way, the chromium-efl rpm package name is "org.tizen.chromium-efl".
But in the 'org.tizen.chromium-efl.xml', a pakcage name is defined as below.
> package="org.tizen.chromium-ewk"
The installation issue has been caused by miss-matched package name.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7739
Reviewed by: Antonio Gomes, Youngbok Yoon
Change-Id: Id2575e89f8d2ff1e09856928fa52ea40da499855
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Tomasz Olszak [Thu, 16 Oct 2014 14:07:01 +0000 (16:07 +0200)]
Fixed return status for tv and mobile build scripts.
Buildbot always got exit status == 0.
In case when gbs failed the exit status was overwritted by:
${SCRIPTDIR}/apply_patches.sh -r.
Change-Id: I4cc5f1afd1d5fa67d2d5a18ac7e66f445f7dc5f7
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
Viatcheslav Ostapenko [Tue, 14 Oct 2014 21:00:27 +0000 (17:00 -0400)]
Remove gl_context_glx_override.cc
Not needed after switching of desktop to GLES2.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5599
Change-Id: Idba614df3c96ca5160a5e97280b37afc175f9fc9
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Youngsoo Choi [Wed, 15 Oct 2014 11:28:32 +0000 (20:28 +0900)]
[M39] Fix tv build break
1) The character '\' is missed in 'build/build_tv.sh'.
2) The sensor library-level issue on tizen v2.1 and v2.2.1.
Error log is like below.
>> /usr/include/sensor/sensor.h:76:26: fatal error:
>> sensor_accel.h: No such file or directory
The '#include <sensor_accel.h>' is defined in 'sensor.h' that is
provided by platform rpm repository, and the 'sensor_accel.h' is
located in '/usr/include/sensor/'.
To use '#include <sensor_accel.h>' in 'sensor.h' file,
the path '/usr/include/sensor' needs to be defined in following pc file.
>> ./usr/lib/pkgconfig/capi-system-sensor.pc
However, on tizen v2.1 and v2.2.1,
the header path '/usr/include/sensor' is not included in pc file like below.
>> includedir=/usr/include/system
On the other hand, on tizen v2.3, it is properly included like below.
>> includedir=/usr/include/sensor
Therefore, the header path '/usr/include/sensor' needs to be defined in gyp file
for tizen v2.1 and v2.2.1.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5676
Change-Id: Ie372f8e685eb7c829319b735ef41d4de2824b2e7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Arnaud Renevier [Wed, 1 Oct 2014 21:21:33 +0000 (14:21 -0700)]
Fixes build failures in ewk/unittest
This patch unimplemented features with #if !defined(EWK_BRINGUP). Since
g_type_init has been deprecated since glib2.36, it also adds a version
check. And lastly, it removes some unneeded .cpp includes.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5477
Change-Id: Iefee2c3868378d644d8e8342e01563c7792fdadd
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
Tomasz Olszak [Wed, 20 Aug 2014 02:01:48 +0000 (11:01 +0900)]
Added check for ccache if ccache option is used.
It will provide more developer friendly output in case ccache is not installed.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4975
Change-Id: Ic128135191244c5633607f7c09e4a58cf428b15d
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
Tomasz Olszak [Tue, 7 Oct 2014 13:11:32 +0000 (15:11 +0200)]
Use checked-in gbs.conf by default
Also added possibility to pass profile name parameter to build scripts.
Fixed issue with not using build/gbs.conf file by default.
README.md updated with more verbose description introduced in beta/m34 branch.
Change-Id: I60bfccafc16e94bc32a1b4b4aaf4795d754d6525
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
Balazs Kelemen [Fri, 10 Oct 2014 22:44:38 +0000 (18:44 -0400)]
WebView::UrlRequestSet is crashy
Dereferencing uninitialized pointer is not fun.
This was also fixed in beta but I believe my fix is slightly better.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7257
Change-Id: Ice150d05227b5092ba1d756cfb68f035123d9932
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Viatcheslav Ostapenko [Wed, 8 Oct 2014 16:37:40 +0000 (12:37 -0400)]
Use GL ES 2 on desktop.
Switch desktop build to use OpenGL ES 2.
This will make it use common rendering path with phone and a lot of graphics
features would be easier to develop.
Requires install additional ubuntu package and rebuild of dependencies.
To make it work do:
sudo apt-get install libgles2-mesa-dev
rm -rf out.x64/Dependencies/jhbuild.stamp out.x64/Dependencies/Root
./build/build_desktop.sh --debug
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5599
Change-Id: I10b67a7c8f11f6800cffd8ed1454ecc6561fb45a
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Tomasz Olszak [Tue, 19 Aug 2014 07:54:58 +0000 (16:54 +0900)]
Added additional python accelerator packages for tv.
Currently mobile provides some x86-arm accelerator
packages which makes possible to use x86 python
in arm sysroot. Those packages were added to supplement_tv
repository and are used only for tv build in build_tv.sh.
Using them decreases gyp_chromium script run time significantly
(on HQ build server from run time went down from 30 minute
to 1 minute)
Reviewed by: SeungSeop Park, Balazs Kelemen and Antonio Gomes.
Change-Id: If13b19a75a6919d24fc6da2f9cd28a1f970e4575
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
zhaoze [Mon, 13 Oct 2014 19:54:13 +0000 (15:54 -0400)]
fixup! fixup! Add Tizen-platform implementation of Web View
Add Semicolon to fix build
Change-Id: I6e3691120f97d3e09905959a2f59c798c62602b9
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
zhaoze [Thu, 11 Sep 2014 14:44:38 +0000 (10:44 -0400)]
[Tizen] Bringup Suspend/Resume JavaScript from m34
[Issue#] CBWEBCORE-301
[Problem] JavaScript should be executing after switch to background.
[Solution] Scheduled tasks are suspend / resume during switch to
background.
This is related with: http://165.213.202.130:8080/#/c/69891/
Original Author: Michal Poteralski <m.poteralski@samsung.com>
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6109
Change-Id: I753a20dbdac8bc1604e4f00c3553e9726e331a9e
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
Conflicts:
impl/renderer/render_view_observer_efl.h
Tomasz Olszak [Wed, 3 Sep 2014 11:52:47 +0000 (13:52 +0200)]
ccache dir moved outside source directory in gbs builds.
Previously ccache directory for gbs was placed in
chromium-efl directory. It was reusable because by default all builds
were made with --incremental flag so chromium-efl repo dir
was mounted into gbs build root. Without -incremental flag
it is not possible anymore. However we can use /.ccache directory inside
gbs sysroot for that. It is not removed even when different package is
built or -C flag is passed.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5263
Change-Id: Iab7481f38916f19877eeed0dde96fd11e45fb365
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
zhaoze [Wed, 8 Oct 2014 21:01:25 +0000 (17:01 -0400)]
fixup! Add Tizen-platform implementation of Web View
Change "if(..)ASSERT();" to CHECK.
Change-Id: If2222a46690fff3b5e9233257b4ec291e9a8f418
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
Tomasz Olszak [Thu, 9 Oct 2014 11:43:08 +0000 (13:43 +0200)]
gbs.conf updated (golf and hawk tv profiles added, mobile repos url updated)
Change-Id: I66c69713263e16d4001443da9cd1be7e67a4e018
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
Arnaud Renevier [Thu, 9 Oct 2014 00:08:08 +0000 (17:08 -0700)]
fixup! Merge New ewk_view_hit_test_request API proposal from M34
Fixes build error after
1600689c7066
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6388
Change-Id: I9b101712d1d165f8f47c8ebb73087442308cf4e5
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
SeungSeop Park [Mon, 6 Oct 2014 06:52:56 +0000 (15:52 +0900)]
Change base platform for TV to pre-hawk repo
Updated build/gbs.conf to have proper repo urls.
Change-Id: I8eda451c194f3ca9251b2747bc9e1eecb6a39f2a
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
zhaoze [Tue, 23 Sep 2014 21:06:00 +0000 (17:06 -0400)]
[Tizen] Bringup DidChangeContentsSize
Notify RenderView Observers when Contents Size Change
This allows EFL WebView to update it's content size.
Original author: SeungSeop Park <sns.park@samsung.com>
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4415
Change-Id: I674fdf43e65094019c596ffd3ebb139b3a4c61c4
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
zhaoze [Mon, 15 Sep 2014 20:05:08 +0000 (16:05 -0400)]
Merge New ewk_view_hit_test_request API proposal from M34
Issue: CBWEBVIEW-882
This patch is used to bring up ewk_view_hit_test_request from
m34 to the new branch.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6388
Change-Id: Iba04604996b5379bab9f8466b700e3532d5965d9
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
Viatcheslav Ostapenko [Thu, 2 Oct 2014 06:49:01 +0000 (02:49 -0400)]
Add gl error logging and fix GL shaders fail to compile on Mesa.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5599
Change-Id: I499bb0ca88a13c00b96efde64f5a06cb4c932352
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Antonio Gomes [Tue, 7 Oct 2014 18:09:09 +0000 (11:09 -0700)]
fixup! Build ewk with gyp instead of cmake
Before [1], we use to build EWK from a separate repo
using CMake and unittests were disabled by default.
Once [1] landed, the EWK build was integrated to the
GYP build, but unittests target continued optional for both
mobile and TV builds. On desktop build though, no
targets were never specified to GYP, so all targets
including the unsopported unittests target, were being
build. This broke the desktop build.
[1] http://165.213.202.130:8080/#/c/70211/
Patch changes the build_desktop.sh script so that
the same targets are build for both desktop, tv and
mobile builds, being 'unittests' target optional.
By doing this, the desktop build is fixed.
Also, it rename build_ewk_test to build_ewk_tests in
packaging/chromium-efl.spec
Change-Id: Ibbe455ed411180f7b93c396512221c6cfdd5547c
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
Balazs Kelemen [Tue, 7 Oct 2014 17:23:17 +0000 (13:23 -0400)]
fixup! Build ewk with gyp instead of cmake
Remove left-over from build_mobile.sh.
http://107.108.218.239/bugzilla/show_bug.cgi?id=6096
Change-Id: I34fdf8b9301bff185570cd0e69203100738d3bf3
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Arnaud Renevier [Wed, 1 Oct 2014 21:22:44 +0000 (14:22 -0700)]
Build ewk with gyp instead of cmake
As of now, one executable is created for each unittest. There are about
300 of them. The gyp code to handle that would be cumbersome to write.
Also, in chromium upstream, all unittests of a specific subdirectory
create only one executable. So, we don't build the unittests for now. We
will first need to figure out what to do with them.
Also, modify spec files so that files which were previously in
chromium-ewk rpm are now included in chromium-efl
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6096
Change-Id: I14e47fb42234122ce44a4ad6c169342dea1054d4
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
Viatcheslav Ostapenko [Fri, 3 Oct 2014 21:10:52 +0000 (17:10 -0400)]
Revert [Tizen][Debug] Assert @gpu_process_host_ui_shim.cc(224)"
This reverts commits
da0100530a453b8f2b331a2af4bdd9203314ac36 and
5898ae064fd5cce08bb82add201884356661ed3e .
Not needed anymore.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4963
Change-Id: I0b797754a9f97706657a6ab97286b5cf10e4aa95
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Arnaud Renevier [Wed, 1 Oct 2014 17:55:39 +0000 (10:55 -0700)]
Build efl_webview_app and mini_browser with tizen 2.3
This patch modifies app.c and mini_browser.c so that they can build with
tizen2.3. The modifications are related to the api of haptic being
different
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5477
Change-Id: I38e50b4caf8ed0b472f879b5a9f4c2b2b5bab91f
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
Yi Shen [Tue, 30 Sep 2014 01:11:21 +0000 (18:11 -0700)]
Enable Tizen build on dev/m39_2166
This patch enables Tizen build on dev/m39_2166.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6664
Change-Id: Ic86e3c03418b09e50560772090905bef1682a7bb
Signed-off-by: Yi Shen <yi.shen@samsung.com>
zhaoze [Tue, 23 Sep 2014 20:49:31 +0000 (16:49 -0400)]
[Tizen] Bringup DidFirstVisuallyNonEmptyLayout
This patch is trying to bring m34 features to the new branch.
Notify RenderView observers when the first visually non empty layout happens.
Renderer sends a routed message to the browser on the first visually non empty
layout.
Original author: SeungSeop Park <sns.park@samsung.com>
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6471
Change-Id: Iff19480f50e13bad2c2b45d35a9b619e7e4fe0b0
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
Youngsoo Choi [Wed, 1 Oct 2014 12:06:03 +0000 (21:06 +0900)]
Removing gconf dependency
The gconf library is for GNOME configuration of GTK.
Chromium on Tizen only supports EFL port.
Moreover, gconf library is no longer supported by tizen gbs repository.
Therefore, the dependency needs to be removed.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5513
Change-Id: I705c1579a236516c55c96cfecf2dd5d9c987320b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Antonio Gomes [Tue, 23 Sep 2014 22:51:11 +0000 (18:51 -0400)]
[Tizen][dev] Fix TV build
TV profile builds with "legacy" Tizen 2.2.1
packages.
Patch adapts our build so mobile (now with Tizen 2.3)
and TV profiles able to co-exist.
Additionally, since common trunk switched to m39-based
chromium sourcebase, ld step fails with "memory exhausted"
error (bug 6629) and cpio fails to create dev packages off
of the 2.1Gb libchromium-efl.so (bug 6457).
In order to unblock developers, patch extends the solution
used in debug builds already: set 'no-keep-memory' linker option.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5676
Change-Id: I56108fe50abb7296c0fc27be7bd055fa237c84ca
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
Antonio Gomes [Mon, 29 Sep 2014 02:15:18 +0000 (11:15 +0900)]
[Meta][Tizen][dev] Support 2.3 profile
ewebkit-ext package is only available on Tizen 2.1
package repositories. Given that 'dev' branch only
supports Tizen 2.3 for mobile builds now, lets remove
this dependency.
Note that 'beta' branch still has guard checks with
"if tizen_profile == 2.1" for including this package;
it conditionally enables TIZEN_CONTENT_DETECTION
feature in Tizen 2.1 builds by make use of 'ewebkit-ext'.
However, TV does not need this feature, and Tizen 2.3
mobile will reimplement this dependency to avoid
depending on WebKit packages.
It is safe to remove.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5477
Change-Id: Ie5fab3856553c406bc2fcce4866072a6d5abb605
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
Arnaud Renevier [Tue, 30 Sep 2014 01:57:50 +0000 (18:57 -0700)]
Fixes: ewk_export.h was not defining EAPI
Currently, ewk_export.h does not work properly: it undefines EAPI, but
doesn't redefine it again. This patch fixes the problem by defining EAPI
in the same way as eina and evas do it.
Also, for consistency, all public files who use EAPI now include
ewk_export.h, instead of relying on the definitions of Eina.h and Evas.h
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6096
Change-Id: I4c6bcaaa039c528820a47072adf9e27d0067c657
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
Balazs Kelemen [Mon, 29 Sep 2014 18:08:22 +0000 (14:08 -0400)]
Move gesture handling logic to RWHV exclusively
Every port does this in RenderWidgetHostView except we.
We do half there and the other half in EWebView. Clean it up.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5593
Change-Id: I4593aa86f04508a3378152c251a4e5ec7e2cc8fc
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Balazs Kelemen [Thu, 25 Sep 2014 18:51:35 +0000 (14:51 -0400)]
Fix gestures with m39
Chromium doesn't handle or want to see touch-still (i.e. EVAS_TOUCH_POINT_STILL)
events. In debug it leads to a NOTREACHED in aura code, in release it confuses
the gesture handler so it doesn't function correctly. It seems like we can
simply ignore these events.
Note that this doesn't solve the bringup of impl level touch features such as
selection or overscroll effect.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5593
Change-Id: Ia8fe780d2ca507481641ee0ce9feb497783cfc7d
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Yi Shen [Fri, 26 Sep 2014 21:31:38 +0000 (14:31 -0700)]
fixup! Switch to Tizen 2.3
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5477
Change-Id: I88d592522efeaffe91705eaa09d2ca259cb47054
Signed-off-by: Yi Shen <yi.shen@samsung.com>
Balazs Kelemen [Tue, 23 Sep 2014 22:51:11 +0000 (18:51 -0400)]
Switch to Tizen 2.3
Minimal changes to be able to build with Tizen 2.3. Some features have been
disabled because of API changes. Fixing them is TODO.
The webrtc patch had to be resurrected to fix debug build (partially).
I switched to patching approach instead of copying patched files because
I believe it is more flexible and it shows if the patch is out-of-date more
directly.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5477
Change-Id: I67606fca32e1af62552a084d3f850d556e2b848a
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Viatcheslav Ostapenko [Wed, 24 Sep 2014 16:11:00 +0000 (12:11 -0400)]
Merge branch 'dev/ewk_test_base' into dev/ewk_test
Conflicts:
.gitignore
Viatcheslav Ostapenko [Mon, 22 Sep 2014 18:30:22 +0000 (14:30 -0400)]
Switch to the branch dev/m39_2150
Known issues:
RenderWidgetHostViewEfl::GetLastScrollOffset() always returns (0, 0) because old
way of updating scroll offset was removed and now it is required to use
ui::Compositor to get scroll offset.
Figure out where to move code from EWebView::DispatchPostponedGestureEvent()
because DispatchPostponedGestureEvent() is not exist anymore in chromium.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4403
Change-Id: I34e6bff6405a61200d9148056e8efdbf3d350061
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Viatcheslav Ostapenko [Thu, 18 Sep 2014 21:05:29 +0000 (17:05 -0400)]
Revert "Remove un-needed EWK-BRINGUP"
This reverts commit
401e42370f43633c839853b4ba7492d4ac84860a.
Breaks "mobile" build.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4403
Change-Id: I26c37d36de5cd16ecce122ab87422025f4613cc6
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Viatcheslav Ostapenko [Thu, 18 Sep 2014 20:58:08 +0000 (16:58 -0400)]
Revert "Remove duplicated flag disable"
This reverts commit
38a156fa24a0667b421e7920a0ffdfd45b06aeb4.
Breaks "mobile" build of chromium-efl.
Have to figure out why this setting is not propageted from supplement.gypi on "mobile" build.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5461
Change-Id: Iaf2501129ca32610de400586571998df481ea72e
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Balazs Kelemen [Wed, 17 Sep 2014 19:45:39 +0000 (15:45 -0400)]
Fix touch gesture handling
Open source changes in GestureRecognizer and other areas made our previous
logic incorrect. This CL adapts us to m38 by calling the right
GestureRecognizer::ProcessTouchEvent* method according to the actual state
of the event handling process.
Links, textboxes, scroll, pinch zooming now works!
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5593
Change-Id: I5032b49969a5139ef35bbe8749b767f54f63fc5a
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
zhaoze [Mon, 8 Sep 2014 20:21:36 +0000 (16:21 -0400)]
Remove un-needed EWK-BRINGUP
EWK-BRINGUP is a temporary solution of transition from m34 to m38, this
patch is trying to remove it.
Note these functionalities are already implemented, so it's easy to
remove the EWK_BRINGUP and didn't break anything.
Bug:http://107.108.218.239/bugzilla/show_bug.cgi?id=4403
Change-Id: I152110a1b95dc1d0b90eea696f4e02891a1b9364
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
zhaoze [Fri, 5 Sep 2014 23:19:08 +0000 (19:19 -0400)]
Inproper uppercase letter prevented.
When upper case letter is prevented, keypress event is not prevented
and inputed key is inserted to input field.
In RenderWidgetHostViewEfl::OnDidInputEventHandled added checking
if there is Shift key handled and setting is_modifier_key_ flag
to true for further handling.
This patch is from m34, http://165.213.202.130:8080/#/c/68822/.
Original author: Karol Furmaniak <k.furmaniak@samsung.com>
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5218
Change-Id: I966a9db967b83f39ecf5e94ce5f6079f7d436782
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
zhaoze [Wed, 3 Sep 2014 22:12:27 +0000 (18:12 -0400)]
Remove duplicated flag disable
In the http://165.213.202.130:8080/#/c/68710/ , the use_kerberos flag
has already been disabled. This patch removes the duplication.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5461
Change-Id: Ic81fa9a20fd8ba09e88db3c5570d7cda02a4087e
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
JungJik Lee [Tue, 16 Sep 2014 08:30:51 +0000 (17:30 +0900)]
Remove obsolete memory sampler and backing store code lines
memory sampler and backing store is deprecated.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6134
Change-Id: I6194ab0479b000deaa8b84372f49848e680a41ae
Signed-off-by: JungJik Lee <jungjik.lee@samsung.com>
Kangil Han [Wed, 17 Sep 2014 02:59:26 +0000 (11:59 +0900)]
fixup! [TIZEN] Port build system from beta/forct/m34_1847
Unreviewed ewk build fix.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4938
Change-Id: I6fae6406e293479d532bdb0c2591c3d955995d4c
Signed-off-by: Kangil Han <kangil.han@samsung.com>
Kangil Han [Tue, 16 Sep 2014 04:54:42 +0000 (13:54 +0900)]
fixup! [TIZEN] Port build system from beta/forct/m34_1847
Unreviewed build fix.
Need to export GYP_GENERATOR_OUTPUT for python script.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4938
Change-Id: I9c1046dc63ec7618c41bc0a441156b4695cd296b
Signed-off-by: Kangil Han <kangil.han@samsung.com>
Balazs Kelemen [Mon, 15 Sep 2014 16:08:23 +0000 (12:08 -0400)]
fixup! [Tizen][Build] Restore gyp files after build
bash error in desktop build, cannot 'return' from global scope.
Use exit instead.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6110
Change-Id: Id1b423f5dc24c675f7cabdeaa9aa524f815c1ea7
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Balazs Kelemen [Fri, 12 Sep 2014 21:27:39 +0000 (17:27 -0400)]
Restore gyp files after build
Better if developers don't have to deal with the changes that we made during
build so they can make good commits without too much pain.
This is partially a merge of
d06a237f85f382eac8b741f24e8cb1a2e714801d from m34_1847.
I made 2 cleanups:
- disable error-on-exit (set +e, previously set by set -e) otherwise we don't have
a chance to restore if the build fails
- replace_gyp_files.py lately supports undoing the changes, so we don't need to have
our own script for this task
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6110
Change-Id: I542b0c845c1f297f2e4a192ceb41c14beea1011e
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Balazs Kelemen [Wed, 10 Sep 2014 23:30:34 +0000 (19:30 -0400)]
[Tizen][Build] Disable component build automagically
I regularly run into this. For open source developement the component
build is a great feature so it should be ok to keep it to be on by default.
This change adds a tiny bit of logic to the build system to disable it
automatically as it is not compatible with chromium-efl.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6110
Change-Id: Ifcbbee3d8763f299752584b804108f41bac67b41
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Balazs Kelemen [Fri, 12 Sep 2014 18:44:53 +0000 (14:44 -0400)]
[Tizen][Build] Clean up dependency handling
Currently the depedency handling is done in a rather obscure way.
We add the dependencies needed by chromium-efl as target_defaults via
chromium-ef.gypi. This means that each and every target will use efl and other
include paths, link flags and the like. Obviously internal chromium modules
do not need this. One practical negative side-effect of this is that we execute
pkg-config thousands of times for a build.
This change refactors this by moving the dependencies to a new gyp file that
use targets that define the dependencies much like system.gyp does it in
chroimium. Now only the top level chromium-efl target will use the dependencies
resulting in simpler and faster build.
Tested with desktop and mobile build.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6110
Change-Id: I4afd4576c8eed022c648be274a50ac3c3b3cd07e
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Balazs Kelemen [Thu, 11 Sep 2014 20:07:11 +0000 (16:07 -0400)]
[Tizen][Build] Move jhbuild handling to build_desktop.sh
This is desktop specific so better if the desktop specific script handles it.
Also this removed some duplication. Additional goodie is stamp file for jhbuild
to avoid rerunning it once it is already done.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6110
Change-Id: I5adbd8ce265849edb82286c349497db73eea543f
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Balazs Kelemen [Thu, 11 Sep 2014 20:22:34 +0000 (16:22 -0400)]
[Tizen][Build] Allow setting custom number of jobs
This is a must have for desktop build with icecc setup.
Change-Id: I0c0ba6d3c2d0d488b583ac0391422260792eee39
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Viatcheslav Ostapenko [Thu, 11 Sep 2014 23:26:06 +0000 (19:26 -0400)]
Use correct version number in chromium-efl.spec .
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4403
Change-Id: Ie18eb26af4bfb75589c9b385cd8e64195c28d04f
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Viatcheslav Ostapenko [Thu, 11 Sep 2014 23:38:14 +0000 (19:38 -0400)]
Revert "Workaround to disable asserts in content/common/gpu/"
This reverts commit
7ec23d97994e46d24a376272f3c2c22eb6d00634.
Not needed anymore with current graphics implementation.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4906
Change-Id: I804461900072c91fed9ba7dc67c81ecc502a97e9
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Viatcheslav Ostapenko [Thu, 11 Sep 2014 01:15:01 +0000 (21:15 -0400)]
[Tizen] Replace glib and libevent X11 even sources in chromium with dummy efl event source.
X11EventSourceGlib and X11EventSourceLibevent were stealing X11 events from
ecore and evas.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6074
Change-Id: Id6e19195b6ab202c29d5c7883f4ba1e10fad31bd
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Dongwoo Joshua Im [Fri, 5 Sep 2014 02:05:15 +0000 (11:05 +0900)]
Add the initial owners of the top directory
Add the initial owners of the top directory of the new repository.
This has been announced to all of the owners.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4540
Change-Id: Ib24623e29b3b02ee845a25fc046fed5f43a01fd5
Signed-off-by: Dongwoo Joshua Im <dw.im@samsung.com>
Viatcheslav Ostapenko [Wed, 3 Sep 2014 23:32:31 +0000 (19:32 -0400)]
Enable impl side painting.
Smoke tested on desktop on on Tizen 2.2.1 device. Same change has been
made on beta/M34.
http://107.108.218.239/bugzilla/show_bug.cgi?id=5599
Change-Id: I672a522a5ca8c194e648b5a2e19cda37315349d7
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Antonio Gomes [Wed, 3 Sep 2014 16:17:17 +0000 (12:17 -0400)]
[Tizen][m38] Fix TV build
Patch excludes print related code from mobile AND TV
(fixing an undefined reference problem) when building
for target.
Patch also fixes the build_tv.sh script which was simply
not right: it was building for mobile.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5676
Change-Id: Ib0de8ee3ef8bf0faf2b91d78b96ed0a21f2ba697
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
Balazs Kelemen [Thu, 4 Sep 2014 20:28:27 +0000 (16:28 -0400)]
Revert "log"
This reverts commit
9370108b4871e73329adc872465223a7c928525b.
Sorry, another accidental push :(
Viatcheslav Ostapenko [Wed, 3 Sep 2014 18:53:30 +0000 (14:53 -0400)]
Produce SCRIPTDIR instead of SCRIPT_PATH in common.sh
Align it with other scripts.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4403
Change-Id: I4dbfdfc0ebb64b379d41f8a294481b01a114097d
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Balazs Kelemen [Thu, 4 Sep 2014 20:05:53 +0000 (16:05 -0400)]
Revert "Disable component build automagically"
This reverts commit
03a11a8fa7b46a811bb3043abbc53989989b0d6b.
Sorry, I accidentally pushed it without review. Reverting for now.
Balazs Kelemen [Thu, 4 Sep 2014 20:01:46 +0000 (16:01 -0400)]
Disable component build automagically
I regularly run into this. For open source developement the component
build is a great feature so it should be ok to keep it to be on by default.
This change adds a tiny bit of logic to the build system to disable it
automatically as it is not compatible with chromium-efl.
Bug: N/A
Change-Id: Ifcbbee3d8763f299752584b804108f41bac67b41
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
Viatcheslav Ostapenko [Sat, 30 Aug 2014 02:21:34 +0000 (22:21 -0400)]
Fix for graphics on tizen/desktop
1. Temporary implementation using transport texture surface. Should be replaced
with ui::Compositor approach.
2. Has minimal differences in render path between desktop and tizen.
3. Has no changes in chromium code.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5599
Change-Id: I68f91ca302be77364ccb394bbf9523d3967e4910
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Balazs Kelemen [Wed, 3 Sep 2014 22:36:38 +0000 (18:36 -0400)]
log
Change-Id: I644e3d0db4d840fc0408f1eae3a0fbb4bd6e5d1a
Viatcheslav Ostapenko [Tue, 2 Sep 2014 17:01:07 +0000 (13:01 -0400)]
Use "cp -a" in copy_patched_files.sh in order to minimize rebuiliding for mobile builds.
Preserve timestamps and attributes on copied file so build system doesn't detect changes
in copied files on the next build.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4403
Change-Id: I8549f171fb6a53e616be19ffd72eff4e64193aeb
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Antonio Gomes [Tue, 2 Sep 2014 06:22:59 +0000 (02:22 -0400)]
[TIZEN][M38] Add some additional include paths when building
When building EWK on top of dev/m38, one extra include
path is needed: out.{target}/{build_type}/gen.
Patch adds such extra include path into the generated
chromium-efl.pc content.
Note that it was chosen to not add an absolute 'outdir' path
to the include path; instead a relative path is added. This keeps
it consistent with the other existing include path (src, impl, etc).
For the record, the original approach was abandoned. See it in
http://165.213.202.130:8080/#/c/68955/ .
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5472
Change-Id: I0602e0df3f1a32e11c175ee9c17528a7de4775e8
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
zhaoze [Fri, 29 Aug 2014 14:01:01 +0000 (10:01 -0400)]
Remove duplicated rules and unused macros
In impl/chromium-efl.gypi, we have defined ENABLE_ORIENTATION_EVENTS.
This define is no longer used in the source tree, so we should remove it.
use_gnome_keyring flag is already set to 0 in the
src/build/supplement.gypi, this patch remove this duplication.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4403
Change-Id: I35d3abcf1587a64ab66b57122cfe7974d6f57e3c
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>