Age | Commit message (Collapse) | Author | Files | Lines |
|
Merge branch 'master' into tizen_2.2
Change-Id: I84b79618a38e1c7ef39c56bfb149c25dea328536
|
|
Change-Id: I0a76684309b3d250bbd70dca79e84f45c3543d7f
|
|
[Issue#] P131029-00757, P131007-01277
[Problem] web-provider crashes when exit is called.
[Cause] Patch to fix [P131007-01277] was actually wrong in the first place.
[Solution] Fix the root cause in the follwoing way:
- Re-use elm_exit() instead of aul_terminate_pid().
- Destroy the box's wrt-core when the destructor of AppBoxRenderView is called
[Verification] 1. kill the web-provider using pid
2. see if web-provider is crashed, or not
[Remarks] [P131007-01277] - https://review.tizendev.org/gerrit/#/c/92867/
* The [Cause] section of the original fix should have addressed:
web-provider requests termination of itself using elm_exit.
In this case, web-provider dosen't deinitialize the wrt-core.
Change-Id: I17d57202c66870f0ed3aff44c72cfc7dca0c1799
|
|
Merge branch 'master' into tizen_2.2
Change-Id: Iebab0d5cb2bfe67e4355772ed5301710022bea12
|
|
Change-Id: Ifbbdbc367bf18015568590e28d9810c32003c45a
|
|
[Issue#] P131017-03896
[Problem] web-provider crash occured.
[Cause] livebox_service_lb_script_path returns char*.
Sometimes livebox_service_lb_script_path returns NULL.
But the variable of url that receives return is std::string.
[Solution] The variable of url changes std::sting to char* and checks whether Null, or not.
If path is NULL, URL is returned as the default parameter.
Change-Id: Ie7a30694a438700355742b79db6c346e8adbcd30
|
|
Change-Id: Id5e8492bffbfb1df8c4c0505838a2533907a9131
|
|
[Issue#] N/A
[Problem] web-provider crashes sometimes when the disconnected callback of master provider is called.
[Cause] web-provider requests termination of itself to AUL using aul_terminate_pid.
This is unnecessary job on exit procedure.
[Solution] web-provider removes the code calling aul_terminate_pid on such a situation
[Verification] 1. remove last d-box on the homescreen
2. see if web-provider requests termination of itself to aul, nor not.
and see if web-provider is crashed, or not.
Change-Id: Ibc4f6db7e50dd145dae65616d0f8e9f617511cfd
|
|
[Issue#] N_SE-53399, 54486, 53399
[Problem] Web dynamicbox icon name shows in white text color in Dynamicbox.
[Cause] setattr command not found
[Solution] Add attr on BuildRequire of web-provider spec file.
Change-Id: Iecbb6bc57206969ba1b837bd8568e44795d9aeaa
|
|
[Issue#] N_SE-53399, 54486, 53399
[Problem] Web dynamicbox icon name shows in white text color in Dynamicbox.
[Cause] setattr command not found
[Solution] Add attr on BuildRequire of web-provider spec file.
Change-Id: Iecbb6bc57206969ba1b837bd8568e44795d9aeaa
|
|
Change-Id: Id6ea98d5e3a00ca9ce96e33051b70b038eb56013
|
|
[Issue#] N/A
[Problem] pop up "Web Dynamic Box Provider bas close" was occured
[Cause] Parameter type of livebox_service_change_period function is double
but web-provier used the parameter type as flaot.
[Solution] Type of update period changes float to double
[Verification] 1. make a d-box on homescreen
2. open its PD, and change the update period consicutively.
3. check if web-provider is crashed, or not
Change-Id: Ib71fbda4537d855e4eccfd8de22fd06a898ee3a4
|
|
[Issue#] P131014-02600
[Problem] Popup "Web Dynamic Box Provider bas close" was occured
[Cause] Window Object of periodChanger was not deleted after destroying the popup
[Solution] Delete the window of periodChanger using elm_object_del and reset to 'NULL'
[Verification] 1. make a d-box on homescreen
2. open its PD, and change the update period consicutively.
3. check if web-provider is crashed, or not
Change-Id: I26d5fcdffe9a8871b13fc069d2ba892a6cf20574
|
|
[Issue#] CID: 32908@Tizen_21
[Problem] Explicit null dereferenced
[Cause] Null pointer dereferenced
[Solution] Replace null pointer with valid variables
[Verification] Build repository
Change-Id: I87d43579ac412f2b9b134698ad44ea59bcbdaf55
|
|
Merge branch 'master' into tizen_2.2
Change-Id: Ic0bfe5ad887f3c1922ffcdc0a3fa27519a1e1c8d
|
|
Change-Id: I22e379a9366cfef7ed0e39dba09798f2fcddcec9
|
|
[Issue#] N/A
[Problem] If Drop View is opened once and for all, Webview is always alive.
[Cause] Webview is not destroyed after destroying the Drop View
[Solution] Add a fireRenderTimerCallback, when hiding the Drop View
[Verification] 1. make a web dbox on Homescreen
2. open its PD, and then close it
3. check if webview is destroy using dlog message, or not
Change-Id: Ie32f517729095ed09735382477704546781eae9b
|
|
[Issue#] P131007-01277
[Problem] After clearing memory from system monitor app, web-provider has been crashed
[Cause] Sometimes WebProcess was killed forcely.
In that case, web-provider has been exited without releasing its internal resources explicitly
So, destructors have been called randomly by libc just before web-provider is existed.
[Solution] When web-provider should be exited due to external problems,
web-provider releases its internal resources explicitly.
[Verification] 1. make some web dynamic boxes on Homescreen, so that web-provider is launched
2. kill one of running WebProcess that web-provider forked/executed
3. check if web-provider is crashed, or not.
Change-Id: I141174bc13e727c7f04df011a04653bc3f7dc736
|
|
Merge branch 'master' into tizen_2.2
Change-Id: I41e0fad0f67c070530047b77560ffdcc02dcbd4a
|
|
[Issue#] N_SE-53399
[Problem] Web dynamicbox icon name shows in white text color in Dynamicbox.
[Cause] setattr command not found
[Solution] Add attr on BuildRequire of web-provider spec file.
Change-Id: Iec8f4e1e2b7c8ee1b2f5522195db9857b2a4555f
|
|
Change-Id: I37b4f40c97c6151e6aadf94bd00a6dd129500f5e
|
|
Merge branch 'master' into tizen_2.2
Change-Id: Ieb0038947c60ad1585ed40424f849344935a329c
|
|
[Issue#] N/A
[Problem] Typo occurred.
[Cause] N/A
[Solution] s/mendatory/mandatory/g
Change-Id: I12e56d08ff6581d4d6d84e1d973631f63dc657a0
|
|
[Issue#] N/A
[Problem] web-provider used to check that boxes of all types have mandatory size on install time
[Cause] requirement of mandatory box size should be applied to general box alone, type of 'app'.
But, currently web-provider applied the requirement to other types like webclip, pwl.
[Solution] Modify web-provider to check mandatory size just for general box type
Change-Id: Id0169355c46d6b674936c9630487fda7942dfcbb
|
|
Change-Id: Ieb463c9be12d3c4a33a7a812d201c50a2014b7da
|
|
[Issue#] P131004-03430
[Problem] Occasional libjson-glib crash occurs during parsing files.
[Cause] libjson-glib does not handle non-json files internally.
[Solution] web-provider requests to parse json files only to libjson-glib
Change-Id: Iebe4b00f004bfdb06b9baf67045f3746881cf9f4
|
|
[Issue#] LINUXWRT-848
[Problem] Memory leaks in web-provider
[Cause] Wrong memory deallocating
[Solution] Use free instead of delete
[Verification] Build web-provider repository
Change-Id: I6e3e06c5e03540a9b8859d9c9c5aae37e4da114f
|
|
Merge branch 'master' into tizen_2.2
Change-Id: I3140f428a5a22b5895a5d69b4e31958202c33593
|
|
Change-Id: I968b7ddc09cc05c30d5b697a2116429c33b40b7f
|
|
[Issue#] N/A
[Problem] incorrect timestamp has been sent to box webview in PWL
[Cause] Same cause as in https://tizendev.org/gerrit/#/c/90659/
[Solution] web-provider creates timestamp that can be used by WebKit,
and then sends it to WebKit using evas_event_feed function.
Change-Id: Iad0c5375720b0498214aaa7fc88b4dbb9457dc01
|
|
[Issue#] N/A
[Problem] return value of the parser API has not been checked
[Cause] N/A
[Solution] return value of json parser API is checked explicitly.
if the value is FALSE, remaining code is not executed.
Change-Id: I10754e52f5cbf7d73493e27e61b4a27273fa9581
|
|
[Issue#] N/A
[Problem] period popup is not disappeared even if h/w back key is pressed.
[Cause] web-provider did not handle h/w key including back key.
[Solution] web-provider registers special callback for h/w back key.
So if h/w back key is pressed, web-provider removes resources
associated with the opened popup in that callback.
Change-Id: I9cbc3fec940f838f983ac26d66bb2a127dd194ed
|
|
[Issue#] N/A
[Problem] web-provider occasionally crashes when selecting an item on period popup
[Cause] * When a user request to create period popup is coming two times consecutively,
web-provider display period popup for the first request.
* As for the second request, web-provider checks if there is period popup opened,
but does this only after removing resources associated with the first
request which is not closed by user yet.
* While the second request will be ignored by web-provider, popup
resources associated with the first request has been removed.
* However, the callback functions for the first popup tried to access
resources which is already release.
This is the root cause of this crash.
[Solution] In this scenario, web-provider checks if it ignores the second request or not,
without removing resources associated with the existing popup not handled by user.
Change-Id: I666a535af52486658593c60d7bfb978422301f02
|
|
[Issue#] P130930-03270
[Problem] When users click input area on dynamic box, IME is opened
[Cause] Previously, web-provider did not block IME.
[Solution] web-provider disables IME feature on webview created for dynamic box
Change-Id: I9702a7dacb1efacd0340fbed70f1bdd650ef0a1c
|
|
[Issue#] N/A
[Problem] If AppBoxManager doesn't unset the followings variables,
ewk context in other web-provider plugins like pwl, webclip
doesn't work well.
WEB_PROCESS_EXECUTABLE_PATH, PLUGIN_PROCESS_EXECUTABLE_PATH
[Cause] all web-provider plugins are executed on same UI Process.
So env variables set by a plugin can affect to other web-provider plugins.
[Solution] the env variables above are only used by app box plugin.
So AppBoxManager unset them as soon as it creates an ewk context.
Change-Id: I0e4d657a410a31bab1cebdf47f223b4813261e97
|
|
[Issue#] WGL-571
[Problem] 'web-provider force closed'
[Cause] m_pdBuffer is null
[Solution] Check if m_pdBuffer is null
[Verification]
1. Copy the widget (attached in WGL-571) to device memory.
2. Install the widget from file sysytem.
3. Goto HomeScreen--> Menu --> Add dynamic box.
4. Select the Dynamic box list and Select WebDynamicBox68.
5. Flick on the Dynamic box displayed in Home Screen to view the Dropview.
There shouldn't be a crash
Change-Id: I1a892cb237aadda38bd1e2c24daaab4babc74122
|
|
[Issue#] LINUXWRT-927
[Problem] Invalid/missing license file
[Cause] N/A
[Solution] Update license file
[Verification]
1. Build repository
2. Install package on DUT
3. Check whether license for this repository exists in
/usr/share/license
Change-Id: I7e914610b3317fd26f91cbbd2a657641a0b0e436
|
|
[Issue#] LINUXWRT-927
[Problem] Invalid/missing license file
[Cause] N/A
[Solution] Update license file
[Verification]
1. Build repository
2. Install package on DUT
3. Check whether license for this repository exists in
/usr/share/license
Change-Id: I356868132a09ed8d260ca999d1887a471994505c
|
|
Merge branch 'master' into tizen_2.2
Conflicts:
packaging/livebox.web-provider.spec
src/API/web_provider_livebox_info.cpp
src/API/web_provider_livebox_info.h
src/Core/Box.cpp
src/Core/Box.h
src/Core/BoxData.h
src/Core/BoxManager.cpp
src/Core/BoxManager.h
src/Core/BoxSchemeHandler.cpp
src/Core/Buffer/RenderBuffer.cpp
src/Core/IBox.h
src/Core/Service/MessageManager.cpp
src/Core/Service/PeriodChanger.cpp
src/Core/View/PdHelper.cpp
src/Core/View/WebView.cpp
src/Daemon/BoxDaemonImpl.cpp
src/Daemon/BoxDaemonImpl.h
src/Daemon/main.cpp
src/Plugin/AppBoxPlugin/AppBoxRenderBuffer.cpp
src/Plugin/AppBoxPlugin/AppBoxRenderView.cpp
src/Plugin/box_plugin_interface.h
Change-Id: Ic91c4903ab69ae7a05612c73a57017e328f46da5
|
|
[Issue] N/A
[Problem] WebProcess/PluginProcess spawned from web-provider have so many smack permissions
[Cause] There was no way to change proper smack label of spawned webkit processes.
We had made web-provider have so many smack permissions, so that
spawned webkit processes inherited the all permissions.
This is dangerous on side of security of app resources.
[Solution] For resolving this, we have made WebProcess/PluginProcess change its smack label itself.
this webkit patch does that (https://tizendev.org/gerrit/#/c/90502/)
To request to change smack label to webkit, web-provider must set the following env variables.
For WebProcess : setenv("WEB_PROCESS_EXECUTABLE_PATH", "/path/to/webprocess/symlink", 1);
For PluginProcess : setenv("PLUGIN_PROCESS_EXECUTABLE_PATH", "/paht/to/pluginprocess/symlink", 1);
values of each env variable should be different per each web application.
Change-Id: Ifde0fd5555e4955aed9950a6d2a47c2d0b80a5a4
|
|
Change-Id: Ifb1b9212c485195b110a42ed68c3829613b7e9c9
|
|
[Issue#] P130919-00809
[Problem] Scrolling in PD doesn't work well
[Cause] WebKit decides scrolling operation after calculating timestamp of touch events,
but timestamp format sent by Home is different to the format used by WebKit.
which led the WebKit calculation incorrect, causing scrolling doesn't work well.
[Solution] web-provider creates timestamp that can be used by WebKit,
and then sends it to WebKit using evas_event_feed function.
Change-Id: Id16d062c8a4be617aed5e1f5fec32121ffd977b4
|
|
[Issue#] N/A
[Problem] Various build warning occurred.
[Cause] Mostly unused parameter.
[Solution] Fixed warning messages in web-provider
[SCMRequest] N/A
Change-Id: If1e51765bf507349f6a7583d05b7f62069620e3b
|
|
[Issue#] N/A
[Problem] Setting regarding smack is not executed in QEMU
[Cause] QEMU don't set smack field of /proc/filesystem.
[Solution] checking code for smack is removed from spec file.
That is, chsmack and setfattr commands in spec file are always executed.
Change-Id: Iff32f48eb3d5dc3bc778b999856c948512b7e55b
|
|
[Issue#] N/A
[Problem] WebProcess forked by web-provider cannot have CAP_MAC_ADMIN capability
[Cause] web-provider (parent process of WebProcess) did not have the inheritable bit set to '1'.
In order for WebProcess executable can have CAP_MAC_ADMIN feature,
the parent process associated with it (e.g., web-provider) also need this bit set to '1'.
[Solution] Set the inheritable bit of web-provider as soon as it is launched.
As the inheritable bit can't be set by setcap command in shell
(though, we can still set permitted/effective bits in a shell)
we set the following to /usr/app/livebox.web-provider/bin/web-provider.
in order to permit web-provider to change its inheritable capability.
// qemu doesn't provide setcap command, so we use setfattr command for granting capabilities to executable file
# setfattr -n security.capability -v 0sAQAAAgABAAAAAAAAAgAAAAAAAAA= /usr/apps/livebox.web-provider/bin/web-provider
Change-Id: I3486aec6b688bd3ce99abb52de2de7b4254b5a32
|
|
[Issue#] N/A
[Problem] Build break
[Cause] Undeclared variable
[Solution] Added necessary variable
Change-Id: Ib6c7e4dc1826b5ccb45c723364ce06834ba525f6
|
|
[Issue#] N/A
[Problem] Unnecessary variables declared.
[Cause] N/A
[Solution] Arranged if-statement neatly.
Change-Id: I0d499813ae4c2b3ad44b3ed5c8d8b52c2c766210
|
|
[Issue#] N/A
[Problem] N/A
[Cause] no callback routine before
[Solution] add callback for low memory (elm_exit) and region changed (box update)
[SCMRequest] N/A
Change-Id: Id72bf2dd6e9691b36ae4431387ffadd69a579ff4
|
|
[Issue#] P130916-00058
[Problem] DBox didn't updated even system time is changed
[Cause] Missing callback for time changed
[Solution] Add callback for time change
[SCMRequest] N/A
Change-Id: Ic2c4618e4efd09fdec44c54e02732d54c82d9042
|
|
This reverts commit c181f60718455eb553ecbcaa25591601687e8c61.
Change-Id: Id1f0c487029af4900edfe72d7b0550322cb4d922
|