platform/framework/web/web-provider.git
10 years ago[Release] livebox.web-provider-1.51
Yunchan Cho [Wed, 4 Sep 2013 06:32:59 +0000 (15:32 +0900)]
[Release] livebox.web-provider-1.51

Change-Id: Ifb0bc40d7fb6799a047bb655ee128c899b3a0abf

10 years agoRemoving box directly without adding ecore queue when 'destroy' request is comming.
Yunchan Cho [Wed, 28 Aug 2013 09:40:55 +0000 (18:40 +0900)]
Removing box directly without adding ecore queue when 'destroy' request is comming.

[Issue]   N_SE-49607
[Problem] web-provider does not exit normally after deleting last d-box.
          This causes other OSP's d-boxes not becoming serviced by master provider.
[Cause]   timing regarding resource release is not matched between master and web-provider.
          - If web-provider returns boxDestroyCallback, master provider recognizes that
            this box has been removed clearly by web-provider and removes its resources for the web d-box.
          - And, then master provider requests to exit web-provider to AUL daemon.
          - But, at this time, web-provider may not finish to remove the requested box,
            because web-provider just add the request to ecore job queue.
          - When job for removing d-box is popped from the queue, the job is not guaranteed,
            because master provider doesn't know the box any more.

       master-provider                  web-provider
       1. delete box              --->  add ecore job
       2. remove box resource     <---  return
       3. call aul_terminate_pid  --->  (pending)
       4. (wait terminate event)  <---  release buffer
       5. (pending)               <-->  (pending)
       6. can't service other d-box

[Solution] web-provider guarantees to finish to remove d-box
           before it return result of boxDestroyCallback.
           To this end, web-provider dosen't add job into ecore queue.
           And it directly try to remove requested box.

Change-Id: I88e4028eac5a80896f6286e4992a50c5c8d08bac

10 years agoSupport console message
leerang song [Fri, 30 Aug 2013 05:35:05 +0000 (14:35 +0900)]
Support console message

[Issue#]   DCM-2396
[Problem]  Can not watch console log
[Cause]    Consolemessage is not supported.
[Solution] Support console message
            1. Set consoleMessageCallback to functions of RunableWidgetObject.
            2. ConsoleMessageCallback calls consoleMessage function.
            3. consoleMessage function prints message according to ConsoleLogLevel:
               Debug, Warning, Error

[SCMRequest] N/A

Change-Id: Ic9c32a2f75b3d2837a78410ddbcbf7d402aea08e

10 years agoPrevent overlap with snapshot image and webview image in web-provider
MinHyung Ko [Wed, 4 Sep 2013 01:26:32 +0000 (10:26 +0900)]
Prevent overlap with snapshot image and webview image in web-provider

[Issue#]     P130830-02061
[Problem]    overlap images when flick down web-dynamic box
[Cause]      during webview loading two evas object images shown simultaneously
[Solution]   when snapshot viewing webview move to outside of viewport until paint is done
[SCMRequest] N/A

Change-Id: I542ae94777724dd4a0548c697c182e1a41ca10ab

10 years agoIntroduce UNUSED_PARAM()
Soo-Hyun Choi [Sat, 31 Aug 2013 06:45:46 +0000 (15:45 +0900)]
Introduce UNUSED_PARAM()

[Issue#]     N/A
[Problem]    Build warning with unused parameters.
[Cause]      Parameters are declared but not used.
[Solution]   Introduce UNUSED_PARAM().
[SCMRequest] N/A

Change-Id: I9b68b0534ceed118a4c5acd75987fb9411ffac65

10 years agoRemove temporary code regarding getting valid frame
Yunchan Cho [Thu, 22 Aug 2013 10:59:11 +0000 (19:59 +0900)]
Remove temporary code regarding getting valid frame

[Issue]
[Problem] When pd is opened, d-box is blinked once at first (Only RSA)
[Cause] web-provider included temporary code to get valid frame from webkit
        until webkit patch regarding getting valid frame was prepared.
        Now this temporary code should be removed because webkit patch has been merged in RSA.
[Solution] temporary code to get valid frame is removed from web-provider

Change-Id: Ib368e11fac31588a6707db281548e6fb4b5221a0

10 years agoCrashed when sdk update webapp while pd box opened
MinHyung Ko [Thu, 22 Aug 2013 07:16:24 +0000 (16:16 +0900)]
Crashed when sdk update webapp while pd box opened

[Issue] DCM-2213
[Problem] Crashed when sdk update webapp while pd box opened
[Cause] No exception for eliminate pd when update sequence.
[Solution] Added destory routine when box is detroying

Change-Id: If8bdc9fb95c79c23bef4d604a90557bac2035461

10 years ago[Release] livebox.web-provider-1.49
sung-su.kim [Sun, 18 Aug 2013 23:53:39 +0000 (08:53 +0900)]
[Release] livebox.web-provider-1.49

Change-Id: Id2c18299849ae4c9bc2e1b9f5899eb996e916719

10 years agoClean-up Multiprocess service support
Jihoon Chung [Sat, 10 Aug 2013 09:44:08 +0000 (18:44 +0900)]
Clean-up Multiprocess service support

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Clean-up Multiprocess service support
[SCMRequest] N/A

Change-Id: I5e89b9304103236cc1ee59a3f2cf805a88c2b97d

10 years ago[Release] livebox.web-provider-1.48.1
Yunchan Cho [Wed, 14 Aug 2013 07:41:44 +0000 (16:41 +0900)]
[Release] livebox.web-provider-1.48.1

Change-Id: I8ab1e6032858b6b993a1be6693806e348fc8941c

10 years agoRemove webkit-efl API regarding transparent background
Yunchan Cho [Wed, 14 Aug 2013 07:39:02 +0000 (16:39 +0900)]
Remove webkit-efl API regarding transparent background

[Issue] N/A
[Problem] In RSA, webkit-efl doesn't provider the following function.
          ewk_view_draws_transparent_background_set()
[Cause] N/A
[Solution] web-provider set transparency to webview's background manually
           using evas_object_color_set().

Change-Id: I16760583ad0bb2cacefd6ee8e607805d4b039d8b

10 years agoMerge "[Release] livebox.web-provider-1.48"
HOSEON LEE [Wed, 14 Aug 2013 04:54:30 +0000 (04:54 +0000)]
Merge "[Release] livebox.web-provider-1.48"

10 years agoPatch for minimalizing size of executable, libraries
Yunchan Cho [Tue, 13 Aug 2013 12:18:34 +0000 (21:18 +0900)]
Patch for minimalizing size of executable, libraries

[Issue] N/A
[Problem] executable and libraries need to be more smaller.
[Cause] N/A
[Solution] all source code is complied using specific options for minimalizing size

Change-Id: Ie836e6ecd78dda1520f45af768c951d2ae94f9fe

10 years ago[Release] livebox.web-provider-1.48
sung-su.kim [Wed, 14 Aug 2013 00:00:00 +0000 (09:00 +0900)]
[Release] livebox.web-provider-1.48

Change-Id: I7c6d42d97945eee0701639934a3327cc1a6f8dbb

10 years agoAdd smack dependancy for security-server-api-data-share
leerang song [Mon, 12 Aug 2013 08:26:48 +0000 (17:26 +0900)]
Add smack dependancy for security-server-api-data-share

[Issue#] N/A
[Problem] TCT is failed due to no smack dependancy
[Cause] N/A
[Solution] security-server-api-data-share is added in rule files.

Change-Id: I09855eb717c6b6d7af08558541bfb44bddb0f670

10 years ago[Release] livebox.web-provider-1.47
Yunchan Cho [Fri, 9 Aug 2013 07:25:15 +0000 (16:25 +0900)]
[Release] livebox.web-provider-1.47

Change-Id: I5f12a8688c2a5fcf66e59f5333a8ab186b5ef43f

10 years agoAdd 'TIZEN_ENGINEER_MODE' for printing dlog on spec file
Yunchan Cho [Fri, 9 Aug 2013 04:57:51 +0000 (13:57 +0900)]
Add 'TIZEN_ENGINEER_MODE' for printing dlog on spec file

[Issue] N/A
[Problem] dlog message is not printed
[Cause] Necessary cflag definition was not added
[Solution] 'TIZEN_ENGINEER_MODE' gcc definition is added to turning on dlog

Change-Id: Ib58321cee497677822941162f1383e0909953bfa

10 years agoChange snapshot operation for fixing blink issue
Yunchan Cho [Tue, 6 Aug 2013 12:27:16 +0000 (21:27 +0900)]
Change snapshot operation for fixing blink issue

[Issue] N/A
[Problem] When Pd is opened, its box is blinked for a while
[Cause] To show PD slide effect, Home requests its window to dali engine.
        even if web-provider doesn't prepare valid frame on render buffers for web dbox,
        dali graphic engine updates Homescreen's window using the buffer of web dbox.
        So sometimes, buffer for web dbox is showed as blank on Homescreen's window for a while.
[Solution] web-provider keep last snapshot of each web dbox by finishing to load box page.

Change-Id: Idb1d9d5d23270729c222e7226c1abba0dafb1f94

10 years ago[Release] livebox.web-provider-1.46.1
Yunchan Cho [Fri, 2 Aug 2013 10:50:07 +0000 (19:50 +0900)]
[Release] livebox.web-provider-1.46.1

Change-Id: Ifc40d0ddc69b18f7c082624071fb85e22ee26c3b

10 years agoChange default value of fast-open to 'true'
Yunchan Cho [Fri, 2 Aug 2013 09:36:06 +0000 (18:36 +0900)]
Change default value of fast-open to 'true'

[Issue] N/A
[Problem] default value of fast open is wrong
[Cause] N/A
[Solution] default value of fast-open is changed to 'true'

Change-Id: Ida0b7d9ef1f3bd2f4e6c46f455573481aaed7925

10 years ago[Release] livebox.web-provider-1.46
leerang song [Fri, 2 Aug 2013 04:28:32 +0000 (13:28 +0900)]
[Release] livebox.web-provider-1.46

Change-Id: I260ce12550eff7bb27b73c62f716788a51d6bcc9

10 years agoMerge "Using fastopen to default"
Yunchan Cho [Fri, 2 Aug 2013 05:13:01 +0000 (05:13 +0000)]
Merge "Using fastopen to default"

10 years agoUsing fastopen to default
leerang song [Wed, 31 Jul 2013 06:48:46 +0000 (15:48 +0900)]
Using fastopen to default

[Issue] N/A
[Problem] General dynamicboxs are disappeared
[Cause] N/A
[Solution] when opening pd, a web process is maked.

Change-Id: I30dba77d37af079f0f05339ad5aa879a94b73513

10 years ago[Release] livebox.web-provider-1.45
sung-su.kim [Thu, 1 Aug 2013 23:30:18 +0000 (08:30 +0900)]
[Release] livebox.web-provider-1.45

Change-Id: I0cc01563085a65676a406e7461b7db67c82a5b72

10 years agoFix issues found by Prevent Tools
Zbigniew Kostrzewa [Tue, 30 Jul 2013 12:22:45 +0000 (14:22 +0200)]
Fix issues found by Prevent Tools

[Issue#] N/A
[Problem] Memory leak found by Prevent
[Cause] N/A
[Solution] Fix the issue
[Verification] Build repository

Change-Id: Ia0c08d10b8d3966a96351622f42dece2861585ad

10 years ago[Release] livebox.web-provider-1.44.1
Yunchan Cho [Tue, 30 Jul 2013 09:43:07 +0000 (18:43 +0900)]
[Release] livebox.web-provider-1.44.1

Change-Id: I746675e95e2f08549d0af65f98d9145a3d645308

10 years agoReload its box at once on calling 'appwidget.reload' API
Yunchan Cho [Tue, 30 Jul 2013 09:32:25 +0000 (18:32 +0900)]
Reload its box at once on calling 'appwidget.reload' API

[Issue] N/A
[Problem] When 'appwidget.reload' API is called by PD, box is not reloaded at once.
[Cause] web-provider has deffered operation of 'appwidget.reload' by closing PD
[Solution] web-provider reloads requested box at once, when this API is called.

Change-Id: Ia08b98bdd8532bc0e5ecb923ad8aefbc47fe488f

10 years ago[Release] livebox.web-provider-1.44
Yunchan Cho [Tue, 30 Jul 2013 08:54:06 +0000 (17:54 +0900)]
[Release] livebox.web-provider-1.44

Change-Id: Idea2b728e6c9443b6ea5c237dc3056a1b3cf81a1

10 years agoRemove idler used on rendering box
Yunchan Cho [Tue, 23 Jul 2013 07:36:33 +0000 (16:36 +0900)]
Remove idler used on rendering box

[Issue] N/A
[Problem] Unnecessary idler exists on rendering box
[Cause] webkit's "frame,rendered" event had not worked well.
        The event is needed for web-provider to know valid composited frame created by webkit.
[Solution] webkit patch for bugfix have already be merged.
           So, this temporary idler is not necessary any more on rendering box.

Change-Id: I75bb425292dc107a0c20749f5009397f159767d0

10 years agoSupport multiple WebProcess to load boxes normally
Yunchan Cho [Mon, 29 Jul 2013 02:39:24 +0000 (11:39 +0900)]
Support multiple WebProcess to load boxes normally

[Issue] P130723-3751, P130717-7212
[Problem] A box rendering using tizen device api is failed sometimes.
[Cause] WRT PluginLogic considers only one app id.
        In case of using several app id on PluginLogic, device api operations are not guaranteed.
        So this problem is caused by implementation of current PluginLogic.
[Solution] When a box requests to be created, web-provider uses additional WebProcess.
           WRT PluginLogic of this WebProcess is initialized as app id of the box

Change-Id: Icb95308a57b22895876dec60b5a692c08eda656b

10 years ago[Release] livebox.web-provider-1.43
sung-su.kim [Thu, 25 Jul 2013 23:20:41 +0000 (08:20 +0900)]
[Release] livebox.web-provider-1.43

Change-Id: I998b03044818485a7af71bf266d3f042c0ed631a

10 years agoFix the crash caused by empty webview
leerang song [Thu, 25 Jul 2013 12:52:41 +0000 (21:52 +0900)]
Fix the crash caused by empty webview

[Issue] N/A
[Problem] When updating dynamicbox, web-provider is crashed
[Cause] N/A
[Solution] when accessing empty webview to function, false return.

Change-Id: I777663417953d7881b4f392fb3a44edbf282e65d

10 years ago[Release] livebox.web-provider-1.42
Jihoon Chung [Fri, 19 Jul 2013 08:50:45 +0000 (17:50 +0900)]
[Release] livebox.web-provider-1.42

Change-Id: I3c2c7b38a9e51acb15fc0e83a6b7b99eeb34cd12

10 years agoinclude EWebkit2 header
sung-su.kim [Fri, 19 Jul 2013 06:26:15 +0000 (15:26 +0900)]
include EWebkit2 header

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] include Ewebkit header
[SCMRequest] N/A

Change-Id: I5b9619b614f7092f0ee0dcd8f26cc8a222374ded

10 years ago[Release] livebox.web-provider-1.41
Jihoon Chung [Wed, 17 Jul 2013 05:03:09 +0000 (14:03 +0900)]
[Release] livebox.web-provider-1.41

Change-Id: Ie654169e3495da4f3a7b4d007af547ae0e5b02ae

10 years agoFix the crash caused by deleting pd webview (only non fast-open case)
Yunchan Cho [Fri, 12 Jul 2013 01:43:53 +0000 (10:43 +0900)]
Fix the crash caused by deleting pd webview (only non fast-open case)

[Issue] N/A
[Problem] When PD is closed, web-provider is crashed
[Cause] Before wrt-core remove pd webview, web-provider had removed the webview.
        After that, crash occurs when wrt-core delete event callback of the removed webview.
[Solution] web-provider is modified not to remove pd webview on closing PD

Change-Id: Ifbf79a3923b666204a280610e55350e9e2ac753b

10 years agoDropview is changed to transparente when tapping the dropview
leerang song [Mon, 15 Jul 2013 10:53:42 +0000 (19:53 +0900)]
Dropview is changed to transparente when tapping the dropview

[Issue] N/A
[Problem] Ewk view color is setted to zero.
[Cause] N/A
[Solution] Change alpha object of Ewk_view

Change-Id: I6f81290c3476ae63f295317a249be70bb8864ed6

10 years ago[Release] livebox.web-provider-1.39.1
Yunchan Cho [Tue, 9 Jul 2013 12:52:10 +0000 (21:52 +0900)]
[Release] livebox.web-provider-1.39.1

Change-Id: If9bcafd16e4538aafc396d8d704fd29f39af4667

10 years agoMerge "fire 'appwidgetready' event as default after executing injection.js"
Yunchan Cho [Tue, 9 Jul 2013 12:50:17 +0000 (12:50 +0000)]
Merge "fire 'appwidgetready' event as default after executing injection.js"

10 years agofire 'appwidgetready' event as default after executing injection.js
Yunchan Cho [Tue, 9 Jul 2013 11:12:32 +0000 (20:12 +0900)]
fire 'appwidgetready' event as default after executing injection.js

[Issue] N_SE-45017
[Problem] when injection.js is executed after loading main resource, 'appwidgetready' event is not fired
[Cause] firing 'appwidgetready' event as default was missing.
[Solution] injection.js is modified to fire the event explicitly

Change-Id: I21639cbe6266461ae90f01a18817e31089dfad40

10 years agoChange install path of smack rule file to accesses.d
leerang song [Tue, 9 Jul 2013 06:49:05 +0000 (15:49 +0900)]
Change install path of smack rule file to accesses.d

[Issue] N/A
[Problem] The current install path of smack rule file is not exist.
[Cause] N/A
[Solution] The current install path change accesses2.d to accesses.d

Change-Id: I20ed40398e40db3d0482fcd231a004a156ae0334

10 years ago[Release] livebox.web-provider-1.39
Yunchan Cho [Fri, 5 Jul 2013 06:07:17 +0000 (15:07 +0900)]
[Release] livebox.web-provider-1.39

Change-Id: I8a444e441f80f0ce428747b58fd07009c0b4eb53

10 years agoMerge "Change appid of web-provider to 'dbox.web-provider'"
Yunchan Cho [Fri, 5 Jul 2013 05:58:50 +0000 (05:58 +0000)]
Merge "Change appid of web-provider to 'dbox.web-provider'"

10 years agoMerge "Fix the bug closing pd when request for updating box is comming."
Yunchan Cho [Fri, 5 Jul 2013 05:58:26 +0000 (05:58 +0000)]
Merge "Fix the bug closing pd when request for updating box is comming."

10 years agoMerge "Remove interval for box update and check appid of alarm register"
Yunchan Cho [Fri, 5 Jul 2013 05:57:56 +0000 (05:57 +0000)]
Merge "Remove interval for box update and check appid of alarm register"

10 years agoChange appid of web-provider to 'dbox.web-provider'
Yunchan Cho [Wed, 3 Jul 2013 01:19:56 +0000 (10:19 +0900)]
Change appid of web-provider to 'dbox.web-provider'

[Issue] N/A
[Problem] current appid of web-provider can't be exposed publicly for use of appcontrol
[Cause] current appid includes 'livebox' string that is improper to be exposed publicly
[Solution] appid of web-provider is changed from 'livebox.web-provider' to 'dbox.web-provider'

Change-Id: If67583a5a94fea3ea6acb9293665731059b9ac45

10 years agoFix the bug closing pd when request for updating box is comming.
Yunchan Cho [Thu, 4 Jul 2013 02:32:48 +0000 (11:32 +0900)]
Fix the bug closing pd when request for updating box is comming.

[Issue#] N/A
[Problem] when request for updating box is comming on opening pd,
          pd is closed and box is reloaded.
[Cause] this case was not considered when request for updating box is comming.
[Solution] In this case, the request is deffered by closing pd.

Change-Id: Idbf408e81ee2541305cf326780d34495b13a03a7

10 years agoRemove interval for box update and check appid of alarm register
Yunchan Cho [Tue, 2 Jul 2013 09:42:28 +0000 (18:42 +0900)]
Remove interval for box update and check appid of alarm register

[Issue] N/A
[Problem] 1.Interval for update box is not needed any more.
          2.And in case of service from alarm server, appid of alarm register has been not checked
[Cause] 1.requirement for interval has been changed
        2.alarm server didn't provide alarm register's appid to reciever(web-provider)
[Solution] 1.web-provide doesn't check interval whenever it receives update request.
           2.web-provider check alarm register's appid using '__ALARM_MGR_CALLER_APPID' key

Change-Id: I9537fc62fd74a2572a2563b7bdd2a381a0cd9530

10 years agoAdd a rule file to request the smack rule
leerang song [Wed, 26 Jun 2013 13:08:47 +0000 (22:08 +0900)]
Add a rule file to request the smack rule

[Issue#] N/A
[Problem] N/A
[Cause] This rule file is maked to prevent a smack issue
[Solution] Add a rule file to request the smack rule
[SCMRequest] N/A

Change-Id: I317e147699965677d83e4c1cb0f9ced983dc5b17

10 years ago [Release] livebox.web-provider-1.38
sung-su.kim [Wed, 3 Jul 2013 11:04:29 +0000 (20:04 +0900)]
 [Release] livebox.web-provider-1.38

Change-Id: I9fecf38e8d87e60b7eb3cb51b899b9cd6dfbcfc5

10 years agoweb-provider dosen't need to skip first frame from webkit.
Yunchan Cho [Sun, 30 Jun 2013 11:57:53 +0000 (20:57 +0900)]
web-provider dosen't need to skip first frame from webkit.

[Issue#] N/A
[Problem] first frame from webkit is skipped by web-provider
[Cause] webkit patch regarding removing transparent frame wasn't merged
        Now the webkit patch has been merged.
        web-provider dosen't need to skip first frame from webkit.
        http://slp-info.sec.samsung.net/gerrit/#/c/228266/
[Solution] web-provider removes code regarding skipping first frame

Change-Id: I834ac8bcb8a56d9ce07cfce0beae06f319e86352

10 years ago[Release] livebox.web-provider-1.37
Yunchan Cho [Sat, 29 Jun 2013 12:35:27 +0000 (21:35 +0900)]
[Release] livebox.web-provider-1.37

Change-Id: I4711b007528009e21f1db3f0e3427f375d48f8e5

10 years agoskip first incoming frame from webkit on rendering box
Yunchan Cho [Sat, 29 Jun 2013 08:46:31 +0000 (17:46 +0900)]
skip first incoming frame from webkit on rendering box

[Issue#] N_SE-40143
[Problem] On resizing box, box is to be blinked for a while.
[Cause] first incoming frame from webkit is transparent
[Solution] web-provider skip first incoming frame from webkit
           until webkit patch for fixing this is merged
           webkit patch) http://slp-info.sec.samsung.net/gerrit/#/c/228266/

Change-Id: I4425f71d5661b951d037015d76b43db97429156c

10 years agoFixed wrong url query of box on opening PD
Yunchan Cho [Fri, 28 Jun 2013 08:44:30 +0000 (17:44 +0900)]
Fixed wrong url query of box on opening PD

[Issue#] DCM-2116
[Problem] wrong width/height data are set to url query of box on loading PD
[Cause] such a case has not been considered, so wrong data has been set to url query of box.
[Solution] showPd function of IRenderView class has new input param for fixing this issue.

Change-Id: I41ce10c5348e271e351767d8cc6fa4a76c38798c

10 years ago[Release] livebox.web-provider-1.36
Yunchan Cho [Fri, 28 Jun 2013 06:59:46 +0000 (15:59 +0900)]
[Release] livebox.web-provider-1.36

Change-Id: I8acfc59fc9c0d5f4c80d980ec5848036ee5395d3

10 years agoRemove use of unsupported webkit API regarding shadow effect
Yunchan Cho [Fri, 28 Jun 2013 06:55:40 +0000 (15:55 +0900)]
Remove use of unsupported webkit API regarding shadow effect

[Issue#] N/A
[Problem] ewk_settings_edge_effect_enabled_set() is not supported by public webkit
[Cause] N/A
[Solution] code regarding this is removed

Change-Id: I117ef02ef39375cf4008670c853ad7eb6d077f63

10 years agoSupport updating box from web application using tizen.application
Yunchan Cho [Tue, 25 Jun 2013 11:27:21 +0000 (20:27 +0900)]
Support updating box from web application using tizen.application

[Issue#] DCM-1946, DCM-2022
[Problem] There is no way for web app to update its box explicitly
[Cause] N/A
[Solution] web-provider provides special application service for this.
 web app can request updating its box using tizen.application.launchAppControl().
 Minimum request interval permitted by web-provider are 60 seconds.
 If interval condition is not matched, incoming request is ignored.
 For calling tizen.application.launchAppControl(), web app has to fill information.
 (mandatory) 'operation' attribute of tizen.ApplicationControl:
             "http://tizen.org/appcontrol/operation/dynamicbox/web/update"
 (mandatory) 'uri' attribute of tizen.ApplicationControl:
             'uri' has to consist of "box-service://" and id of <tizen:app-widget>
             Updated <appwidget>'s id has to be set as value of 'box-id' key.
              ex) box-service://syWXgC5ZcI.DynamicBox.default
 (optional)  'content-info' key can be set to pass some key/value to updated box in ApplicationControlData
             This value is passed to box as query like following:
             index.html?type=update&width=[int]&height=[int]&[key/value pairs passed from web app]
              ex) if web app set 'content-info' to 'color=red&style=2', url query will be the following.
                  index.html?type=update&width=354&height=354&color=red&style=2

Change-Id: I5f2d5bd26f8b2fb8843356ee9fc4a6043221b333

10 years agoMerge "Change livable time of general box to 30 seconds"
HOSEON LEE [Fri, 28 Jun 2013 01:24:10 +0000 (01:24 +0000)]
Merge "Change livable time of general box to 30 seconds"

10 years agoMerge "Fire 'appwidgetready' regardless sequence of executing injection scripts"
HOSEON LEE [Fri, 28 Jun 2013 01:23:46 +0000 (01:23 +0000)]
Merge "Fire 'appwidgetready' regardless sequence of executing injection scripts"

10 years agoThe size of PD is unable to fixed to the width of device
leerang song [Thu, 27 Jun 2013 02:53:30 +0000 (11:53 +0900)]
The size of PD is unable to fixed to the width of device

[Issue#] TDIS-6136
[Problem] The size of PD is unable to fixed to the width of device
[Cause] web-provider use the default PD width instaead of screen width.
[Solution] Use the screen-width getting from the eccore_x_window_size_get API

Change-Id: Ie02b26d6204d6cae82ebc4682584fb231a47dfcb

10 years agoChange livable time of general box to 30 seconds
Yunchan Cho [Mon, 24 Jun 2013 11:29:02 +0000 (20:29 +0900)]
Change livable time of general box to 30 seconds

[Issue#] N/A
[Problem] Now 10 seconds are very short as livable time
[Cause] 10 seconds was determined because loading only local files of box was considered
[Solution] livable time is changed to 30 seconds for handling remote resources

Change-Id: Iabac157bd3943e2ff654e6ae917e40d56c608199

10 years agoFire 'appwidgetready' regardless sequence of executing injection scripts
Yunchan Cho [Mon, 24 Jun 2013 05:22:29 +0000 (14:22 +0900)]
Fire 'appwidgetready' regardless sequence of executing injection scripts

[Issue#] N/A
[Problem] If injection script was already executed before loading main resource of box/pd,
          'appwidgetready' event on the main resource is not fired.
[Cause] Generally the injection script fires 'appwidgetready' event,
        if it is executed after loading main resource of box/pd.
        However, in this case, the injection scripts didn't fire 'appwidgetready' event.
[Solution] For fixing this bug, injections script is modified
           to fire 'appwidgetready' event even in this case.

Change-Id: I75a4174a6753550e8e3ec3df150e3adb86bcc76f

10 years agoAdd web-provider API to release the json data
leerang song [Mon, 24 Jun 2013 06:07:57 +0000 (15:07 +0900)]
Add web-provider API to release the json data

[Issue#] N/A
[Problem] The Allocated memory is not released
[Cause] N/A
[Solution] Add web-provider API to release the json data

Change-Id: Ic3388dd3092f874ad3a0f59aa4e2332826526e20

10 years ago[Release] livebox.web-provider-1.35
Yunchan Cho [Sat, 22 Jun 2013 13:58:17 +0000 (22:58 +0900)]
[Release] livebox.web-provider-1.35

Change-Id: I0aa97716c695ac5280bd3d9d276114e0884d53fd

10 years agoDisable shadow effect on webview scrolling
Yunchan Cho [Sat, 22 Jun 2013 03:45:17 +0000 (12:45 +0900)]
Disable shadow effect on webview scrolling

[Issue#] DCM-2010
[Problem] shadow effect on webview is display as default by webkit
[Cause] Recently, webkit has applied shadow effect to every webview as default
[Solution] For this, webkit provides new API to disable shadow effect.
           AppBox plugin lets shadow effect be diabled using the following webkit API as default
           EAPI Eina_Bool ewk_settings_edge_effect_enabled_set(Ewk_Settings* settings, Eina_Bool enable)

Change-Id: Iea8a1dc8985b598025d494580744b161ed031f55

10 years ago[Release] livebox.web-provider-1.33.1
Yunchan Cho [Fri, 21 Jun 2013 09:04:49 +0000 (18:04 +0900)]
[Release] livebox.web-provider-1.33.1

Change-Id: Ie19fd9695ba478996ba0d53d6682ae505f26262b

10 years agoAdd smack dependancy for svi-data
Yunchan Cho [Fri, 21 Jun 2013 09:00:48 +0000 (18:00 +0900)]
Add smack dependancy for svi-data

[Issue#] N/A
[Problem] Image creation is failed due to no smack dependancy
[Cause] N/A
[Solution] Requires(post) for svi-data is added

Change-Id: Ia6cf09e614c50886946bac36e5d212ae1dbac52e

10 years ago[Release] livebox.web-provider-1.33
Yunchan Cho [Fri, 14 Jun 2013 05:38:43 +0000 (14:38 +0900)]
[Release] livebox.web-provider-1.33

Change-Id: I0b1236c7e2f3f59c692b38e6fe52f2de03c4938a

10 years agoFix url's wrong query of box on opening pd
Yunchan Cho [Fri, 14 Jun 2013 06:19:06 +0000 (15:19 +0900)]
Fix url's wrong query of box on opening pd

Change-Id: I85b7c5833739934c3987948bea7879c587afccaa

10 years agoFix the problem that other dynamic box is disappeared after opening pd
Yunchan Cho [Wed, 12 Jun 2013 13:42:52 +0000 (22:42 +0900)]
Fix the problem that other dynamic box is disappeared after opening pd

Change-Id: Id4c829c33f6369fceb4c466ceb7c86ce10b9c98c

10 years agoAdd some labels for use of device apis
Yunchan Cho [Thu, 13 Jun 2013 09:28:09 +0000 (18:28 +0900)]
Add some labels for use of device apis

Change-Id: I67d63f6aba76a235ee1d45f33dca0ea069c34331

10 years agoAdd requires option for media-data
Yunchan Cho [Wed, 12 Jun 2013 01:07:38 +0000 (10:07 +0900)]
Add requires option for media-data

Change-Id: I76027bb5764470c3f8bda7605ae940ff8267a781

10 years agoAdd smack rule for use of specific device api
Yunchan Cho [Tue, 11 Jun 2013 11:57:07 +0000 (20:57 +0900)]
Add smack rule for use of specific device api

[Issue#] N/A
[Problem] when web-provider tries to access media-data, it's failed
[Cause] web-provider dosen't have permission of media-data label
[Solution] 'media-data' is added to smack manifest file

Change-Id: I5f69d94e613b3f797eabfe2861750c667c810607

10 years agoFix efl error regarding deleting evas of dynamic box
Yunchan Cho [Tue, 11 Jun 2013 09:55:08 +0000 (18:55 +0900)]
Fix efl error regarding deleting evas of dynamic box

[Issue#] N/A
[Problem] web-provider is crashed during removing dynamic box
[Cause] invalid window object tried to be hided on removing dynamic box
[Solution] valid window object is only hided by web-provider

Change-Id: Ib6b99552de28f5bb48f077aa8ed94d4c742cb559

10 years ago[Release] livebox.web-provider-1.29
leerang song [Sat, 8 Jun 2013 14:28:47 +0000 (23:28 +0900)]
[Release] livebox.web-provider-1.29

Change-Id: I13f3226d5d8605b351d59c8556f933c202074d0e

10 years agoAdd 'm_BoxWrt_isSuspended' falg to avoid duplicated suspend.
Taejeong Lee [Sat, 8 Jun 2013 13:12:01 +0000 (22:12 +0900)]
Add 'm_BoxWrt_isSuspended' falg to avoid duplicated suspend.

[Issue#] N/A
[Problem] Crash when try to suspend wrtCore.
[Cause] N/A
[Solution] Add 'm_BoxWrt_isSuspended' falg to avoid duplicated suspend.

Change-Id: Ia194a5aa917f06ecec36a8e5f4837d439d5071ab

10 years agoAdd SMACK rule for privacy-manager::db
Jihoon Chung [Sat, 8 Jun 2013 10:58:23 +0000 (19:58 +0900)]
Add SMACK rule for privacy-manager::db

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add SMACK rule for privacy-manager::db
[SCMRequest] N/A

Change-Id: Ib9fedd1b4e1a8075444fd175a9db3e53424f6b5f

10 years agoCrash occured when destroying DynamicBox
leerang song [Sat, 8 Jun 2013 08:09:10 +0000 (17:09 +0900)]
Crash occured when destroying DynamicBox

[Issue#] N/A
[Problem] Crash occured when destroying DynamicBox
[Cause] Zero'ed object is inputed in efl function
[Solution] Add error check
[SCMRequest] N/A

Change-Id: I8eb55ffcab48be373d75c83cd0c99a4b762aea3c

10 years agoAdd exception condition to remove timer
Jihoon Chung [Sat, 8 Jun 2013 04:19:37 +0000 (13:19 +0900)]
Add exception condition to remove timer

[Issue#] N/A
[Problem] Crash is occurred during stop timer in the web-clip
[Cause] Period is 0.00 case timer isn't started
[Solution] Add condition checking code before remove timer
[SCMRequest] N/A

Change-Id: I6f39409f42205e7ba2357bf1e69306d16e5098cc

10 years ago[Release] livebox.web-provider-1.28
Jihoon Chung [Tue, 4 Jun 2013 04:31:42 +0000 (13:31 +0900)]
[Release] livebox.web-provider-1.28

Change-Id: Iaf5781a8336d12d74668c637bf639d85e8b7154d

10 years agoSupport ready event fired when appwidget objects are prepared
Yunchan Cho [Fri, 31 May 2013 02:18:16 +0000 (11:18 +0900)]
Support ready event fired when appwidget objects are prepared

[Issue#] N/A
[Problem] somtimes web content of dynamic box can't call appwidget functions
[Cause] appwidget objects are 'undefined' objects befere they are loaded.
        So web contents have to use appwidget objects after they are fully loaded.
[Solution] For this, ready event named as 'appwidgetready' are provided.
           web content of box or pd can trigger this event for knowing the time that objects are fully loaded.
           And for knowing such objects were already loaded, it's possible as checking 'window.appwidget' object is not 'undefined'

Change-Id: I77d66d68b2335b34702add9fa43922775dc55414

10 years ago[Release] livebox.web-provider-1.27
Yunchan Cho [Wed, 29 May 2013 07:05:39 +0000 (16:05 +0900)]
[Release] livebox.web-provider-1.27

Change-Id: I2cb0b638823df29bd1fcdadee3943118dc8fcbb3

10 years agoRemove the mobileprint smack reauest
leerang song [Wed, 29 May 2013 05:20:43 +0000 (14:20 +0900)]
Remove the mobileprint smack reauest

[Issue#] N/A
[Problem] web-provider pakage is not installed.
[Cause] Mobileprints is removed
[Solution] Remove the mobileprint smack reauest
[SCMRequest] N/A

Change-Id: Ib80d5e7804e6d4e0755d3e795e180c4a5a8f860b

10 years agoAdd simple idler for setting start point of updating Box/Pd buffer
Yunchan Cho [Mon, 27 May 2013 05:16:58 +0000 (14:16 +0900)]
Add simple idler for setting start point of updating Box/Pd buffer

[Issue#] N/A
[Problem] webkit sometimes tries to flush invalid buffer before starting rendering content
          So one or two invalid render frames are  displayed on Homescreen
[Cause] webkit didn't clear the buffer of webview at the initial time.
[Solution] web-provider delay updating of Box/Pd Gem buffer using internal idler (temporary solution)
           When specific event for notice of preparing valid rendering data of webkit is provided by webkit team, this idler will be removed.
           And when the webkit event is fired, web-provider starts updating of GEM buffer.

Change-Id: I9a3ac0625f534a3a2e45bdab2c75692ac1f7c59f

10 years agoDownload non-supported file like wml on loading resource.
Yunchan Cho [Wed, 8 May 2013 08:48:52 +0000 (17:48 +0900)]
Download non-supported file like wml on loading resource.

[Issue#] N/A
[Problem] when page of non-supported file type is loaded, its source code is display on its window
[Cause] web-provider didn't handle non-supported file type exceptionally
[Solution] web-provider calls downloader to download page of non-supported type when it is requested to be loaded.

Change-Id: Idf8f8e05c3aaddbd02b74a2611ccede5d587d15a

10 years ago[Release] livebox.web-provider-1.26
Yunchan Cho [Sat, 25 May 2013 06:09:21 +0000 (15:09 +0900)]
[Release] livebox.web-provider-1.26

Change-Id: Ib22a867deeff929393553576b741593ffd68eaaf

10 years agoFix the bug regarding checking id on recieving request of update
Yunchan Cho [Fri, 24 May 2013 09:14:19 +0000 (18:14 +0900)]
Fix the bug regarding checking id on recieving request of update

[Issue#] DCM-1440
[Problem] When the native application request a dynamic box to be updated, the request is ignored
[Cause] In case of update request from external app, web-provider receives only box id, not instance id.
        But web-provider tries to search boxes using NULL id in its maps, so that always these requests are ignored.
[Solution] During handling update request, web-provider search instances using box id that is sent from external app

Change-Id: I3377c48bae6e813c8134b791c9ec83a85dfa293c

10 years agoclear snapshot before loading box and update box buffer after preparing valid layout
Yunchan Cho [Fri, 24 May 2013 04:22:16 +0000 (13:22 +0900)]
clear snapshot before loading box and update box buffer after preparing valid layout

[Issue#] P130520-0586 (PLM)
[Problem] previous snapshot is not removed in general dynamic box, so that the snapshot is overlayed next snaphot below.
[Cause] when the newly box is loaded, previous created snapshot is not removed.
[Solution] previous snapshot is removed when the box is reloaded

Change-Id: I48dd8a9e97203c04399303e6400aca8fd5695739

10 years ago[Release] livebox.web-provider-1.25
leerang song [Thu, 23 May 2013 08:44:59 +0000 (17:44 +0900)]
[Release] livebox.web-provider-1.25

Change-Id: I2bdc21d4c6ba126ef2d91eecddfb737bcb27bd91

10 years agoMerge "When list is used in popup, sound playing."
Yunchan Cho [Thu, 23 May 2013 08:37:20 +0000 (17:37 +0900)]
Merge "When list is used in popup, sound playing."

10 years agoWhen list is used in popup, sound playing.
leerang song [Mon, 20 May 2013 05:38:54 +0000 (14:38 +0900)]
When list is used in popup, sound playing.

[Issue#] PLM(130509-5588)
[Problem] When list is used in popup, sound not playing.
[Cause] When popup is deleted in idler callback, sounds events are also getting deleted
[Solution] Add a ecore_idler_add("callback", "data") API
[SCMRequest] N/A

Change-Id: I22722321bc3076a87d3f14b7dcec16f649374d7b

11 years agoAdd an API to check the supported boxsize.
leerang song [Tue, 30 Apr 2013 01:32:58 +0000 (10:32 +0900)]
Add an API to check the supported boxsize.

[Issue#] N/A
[Problem] Config.xml use the not supported boxsize
[Cause] N/A
[Solution] Add supported boxsize check ApI
[SCMRequest] N/A

Change-Id: I7a2adc9535f3fe3d3543ab9e556f7d65edaf7fb1

11 years ago[Release] livebox.web-provider-1.24
Yunchan Cho [Sun, 19 May 2013 23:22:52 +0000 (08:22 +0900)]
[Release] livebox.web-provider-1.24

Change-Id: I79aa0caeaffedd36ebc45ac7a2e2d1287dbaf661

11 years agoChange update machanism more efficiently
Yunchan Cho [Sun, 19 May 2013 23:00:06 +0000 (08:00 +0900)]
Change update machanism more efficiently

[Issue#] N/A
[Problem] This can cause the box' update be starvated.
[Cause] When a box is on background, that box's update timer is just freezed.
[Solution] Even if a box is on background, its timer continues to work.
           And if the timer expires, update is delayed until the box gose to foreground.

Change-Id: Id06683b6133d42678999a223895739443fad353e

11 years ago[Release] livebox.web-provider-1.23
sung-su.kim [Thu, 16 May 2013 04:31:11 +0000 (13:31 +0900)]
[Release] livebox.web-provider-1.23

Change-Id: Icf2f8087f764d6e5d8602da566230bad71199e42

11 years agoChange minimum value of update-period
Yunchan Cho [Wed, 15 May 2013 09:25:16 +0000 (18:25 +0900)]
Change minimum value of update-period

[Issue#] N/A
[Problem] Minimum value is changed from 60.0 to 1800.0 seconds
[Cause] N/A
[Solution] web-provider is modified to handle changed value of update-period

Change-Id: I5ccdc73684c62b927d929a5dcaabd18e1eaf80db

11 years ago[Release] livebox.web-provider-1.22
Yunchan Cho [Tue, 14 May 2013 05:08:49 +0000 (14:08 +0900)]
[Release] livebox.web-provider-1.22

Change-Id: Ia1daf225a8aabacaec7f083b1438f45890d5963b

11 years agoRemove code regarding painting white color on acquiring buffer
Yunchan Cho [Tue, 14 May 2013 04:46:02 +0000 (13:46 +0900)]
Remove code regarding painting white color on acquiring buffer

[Issue#] N/A
[Problem] There is unnecessary job regarding painting
[Cause] N/A
[Solution] That code is removed

Change-Id: Ic2997796b3d1281af69a16906a3a4a99aef7ed83

11 years agoPrevent fixes
Lukasz Marek [Mon, 13 May 2013 11:47:09 +0000 (13:47 +0200)]
Prevent fixes

[Issue#] N/A
[Problem] prevent warnings
[Cause] N/A
[Solution] Fixes
[Verification] Build web-provider repository

Change-Id: I8533788230abfe23566447f5bd74f0def4f8130f

11 years ago[Release] livebox.web-provider-1.21
Yunchan Cho [Tue, 7 May 2013 08:07:19 +0000 (17:07 +0900)]
[Release] livebox.web-provider-1.21

Change-Id: Ic207624d911be29da6614547aeab1e16c342e02c