summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-11-01[Release] livebox.web-provider-1.64submit/tizen_2.2/20131107.0612492.2.1_releasetizen_2.2sung-su.kim4-4/+7
Merge branch 'master' into tizen_2.2 Change-Id: I84b79618a38e1c7ef39c56bfb149c25dea328536
2013-10-31[Release] livebox.web-provider-1.64sung-su.kim1-1/+1
Change-Id: I0a76684309b3d250bbd70dca79e84f45c3543d7f
2013-10-31Destroy wrt-core when the destructor of AppBoxRenderView is called.leerang song3-3/+6
[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
2013-10-24[Release] livebox.web-provider-1.63sung-su.kim7-25/+29
Merge branch 'master' into tizen_2.2 Change-Id: Iebab0d5cb2bfe67e4355772ed5301710022bea12
2013-10-24[Release] livebox.web-provider-1.63sung-su.kim1-1/+1
Change-Id: Ifbbdbc367bf18015568590e28d9810c32003c45a
2013-10-23Check the return value of livebox_service_lb_script_pathleerang song1-5/+14
[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
2013-10-23[Release] livebox.web-provider-1.62sung-su.kim1-1/+1
Change-Id: Id5e8492bffbfb1df8c4c0505838a2533907a9131
2013-10-22Remove aul_terminate_pid call on disconnected callbackYunchan Cho1-2/+0
[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
2013-10-22Add attr on Requires of web-provider spec fileleerang song1-1/+1
[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
2013-10-22Add attr on Requires of web-provider spec fileleerang song1-1/+1
[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
2013-10-22[Release] livebox.web-provider-1.61sung-su.kim1-1/+1
Change-Id: Id6ea98d5e3a00ca9ce96e33051b70b038eb56013
2013-10-21Type of update period changes float to doubleleerang song4-9/+9
[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
2013-10-21Delete the window of periodChanger and reset to NULLleerang song1-2/+2
[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
2013-10-16Fix Prevent issueZbigniew Kostrzewa1-6/+3
[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
2013-10-15[Release] livebox.web-provider-1.60sung-su.kim4-12/+37
Merge branch 'master' into tizen_2.2 Change-Id: Ic0bfe5ad887f3c1922ffcdc0a3fa27519a1e1c8d
2013-10-15[Release] livebox.web-provider-1.60sung-su.kim1-1/+1
Change-Id: I22e379a9366cfef7ed0e39dba09798f2fcddcec9
2013-10-15Add a fireRenderTimerCallback, when hiding Drop Viewleerang song1-0/+3
[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
2013-10-14Release web-provider's resources explicitly on exceptional exitYunchan Cho3-11/+32
[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
2013-10-11[Release] livebox.web-provider-1.59sung-su.kim2-12/+22
Merge branch 'master' into tizen_2.2 Change-Id: I41e0fad0f67c070530047b77560ffdcc02dcbd4a
2013-10-11Add attr on BuildRequire of web-provider spec fileleerang song1-0/+1
[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
2013-10-10[Release] livebox.web-provider-1.59sung-su.kim1-1/+1
Change-Id: I37b4f40c97c6151e6aadf94bd00a6dd129500f5e
2013-10-08[Release] livebox.web-provider-1.58sung-su.kim3-7/+9
Merge branch 'master' into tizen_2.2 Change-Id: Ieb0038947c60ad1585ed40424f849344935a329c
2013-10-08Fix a typoSoo-Hyun Choi1-6/+6
[Issue#] N/A [Problem] Typo occurred. [Cause] N/A [Solution] s/mendatory/mandatory/g Change-Id: I12e56d08ff6581d4d6d84e1d973631f63dc657a0
2013-10-08Check mandatory size just for default box type, "app"Yunchan Cho1-9/+19
[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
2013-10-08[Release] livebox.web-provider-1.58sung-su.kim1-1/+1
Change-Id: Ieb463c9be12d3c4a33a7a812d201c50a2014b7da
2013-10-07Parsing files with json file extension to read config of pluginsYunchan Cho1-2/+4
[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
2013-10-04Removing memory leaks from web-providerKarol Pawlowski1-4/+4
[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
2013-10-02[Release] livebox.web-provider-1.57sung-su.kim13-22/+109
Merge branch 'master' into tizen_2.2 Change-Id: I3140f428a5a22b5895a5d69b4e31958202c33593
2013-10-01[Release] livebox.web-provider-1.57Yunchan Cho1-1/+1
Change-Id: I968b7ddc09cc05c30d5b697a2116429c33b40b7f
2013-10-01Modify timestamp value sent to box webviewYunchan Cho1-2/+7
[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
2013-10-01Check return value of json parser APIYunchan Cho1-2/+1
[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
2013-10-01Closing period popup on pressing h/w back keyYunchan Cho4-0/+21
[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
2013-10-01Occasional crash issue related to period popupYunchan Cho3-9/+10
[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
2013-10-01Disable IME feature on webview of dynamic boxYunchan Cho2-0/+4
[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
2013-09-30Unset env variables for webkit process path explicitlyYunchan Cho1-1/+7
[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
2013-09-30Fix 'web-provider force closed' on closePdKarol Pawlowski1-4/+6
[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
2013-09-30Update package spec file for licenseZbigniew Kostrzewa1-0/+3
[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
2013-09-30Update package spec file for licenseZbigniew Kostrzewa1-0/+3
[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
2013-09-27[Release] livebox.web-provider-1.56sung-su.kim31-188/+507
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
2013-09-25Change smack label of spawned WebProcess/PluginProcess to proper one.Yunchan Cho4-3/+52
[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
2013-09-25[Release] livebox.web-provider-1.56Yunchan Cho1-1/+1
Change-Id: Ifb1b9212c485195b110a42ed68c3829613b7e9c9
2013-09-25Fix an issue that PD scrolling doesn't work so wellYunchan Cho1-3/+7
[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
2013-09-25Fix various build warningsMinHyung Ko22-136/+280
[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
2013-09-24Remove checking if binary is smack based, or not.Yunchan Cho1-7/+4
[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
2013-09-21Set inheritable bit of 'CAP_MAC_ADMIN' capability upon launching web-providerYunchan Cho3-32/+81
[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
2013-09-19Build Fix after Change-Id: I0d499813ae4c2b3ad44b3ed5c8d8b52c2c766210Soo-Hyun Choi1-1/+2
[Issue#] N/A [Problem] Build break [Cause] Undeclared variable [Solution] Added necessary variable Change-Id: Ib6c7e4dc1826b5ccb45c723364ce06834ba525f6
2013-09-17Tidied if-statementSoo-Hyun Choi1-8/+3
[Issue#] N/A [Problem] Unnecessary variables declared. [Cause] N/A [Solution] Arranged if-statement neatly. Change-Id: I0d499813ae4c2b3ad44b3ed5c8d8b52c2c766210
2013-09-16Add callback for LOW_MEMORY and REGION_CHANGED eventsMinHyung Ko2-9/+39
[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
2013-09-16Reload DBox when time is changed in setting menuMinHyung Ko2-1/+18
[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
2013-09-16Revert "Reload DBox when time is changed in setting menu"Soo-Hyun Choi2-18/+1
This reverts commit c181f60718455eb553ecbcaa25591601687e8c61. Change-Id: Id1f0c487029af4900edfe72d7b0550322cb4d922