platform/framework/web/wrt-commons.git
10 years agoFixed wrong WARP scheme checking
Jihoon Chung [Fri, 2 Aug 2013 13:35:48 +0000 (22:35 +0900)]
Fixed wrong WARP scheme checking

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] WARP ignore scheme missed "smsto".
[SCMRequest] N/A

Change-Id: I9f9e5d3281cb2f1e9bb761acb5f2cd554b63d0e2

10 years ago[Release] wrt-commons_0.2.142
sung-su.kim [Thu, 1 Aug 2013 23:26:27 +0000 (08:26 +0900)]
[Release] wrt-commons_0.2.142

Change-Id: I51aa9cdd1da86ae0480cc74157e2d8922c1cdfa1

10 years ago[DPL] ProcessPipe
Tomasz Iwanek [Thu, 11 Jul 2013 15:29:52 +0000 (17:29 +0200)]
[DPL] ProcessPipe

[Issue#]       LINUXWRT-639
[Feature]      Utility to spawn subprocess o read and write bytes through named pipes
[Cause]        N/A
[Solution]     This will be used in tests. Whats more this was problem in wrt-extra for some tests.
[Verification] Build repository with tests and with WITH_CHILD ON. Run tests: wrt-commons-tests-test --output=text --regexp='ProcessPipe_' #all should pass

Change-Id: I92915b53b9542cd2e523e42669e37ebd050eaf81

10 years ago[Release] wrt-commons_0.2.141
sung-su.kim [Thu, 1 Aug 2013 01:36:51 +0000 (10:36 +0900)]
[Release] wrt-commons_0.2.141

Change-Id: I67bb77fbb2c2c590b32be706cc75cf02e276489b

10 years agoInline scope guard factory function.
Zbigniew Kostrzewa [Mon, 22 Jul 2013 07:54:18 +0000 (09:54 +0200)]
Inline scope guard factory function.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Inlining this function should improve efficiency.
[SCMRequest] N/A
[Verification]
1. Build respository.
2. Run command:
  `wrt-commons-tests-core --output=text --regexp='ScopeGuard*'`

Change-Id: I24d7ce9ad26411997829b6feb3a59326b60cb7c2

10 years agoMerge "[Release] wrt-commons_0.2.140"
HOSEON LEE [Wed, 31 Jul 2013 06:39:12 +0000 (06:39 +0000)]
Merge "[Release] wrt-commons_0.2.140"

10 years ago[Release] wrt-commons_0.2.140
sung-su.kim [Wed, 31 Jul 2013 00:04:57 +0000 (09:04 +0900)]
[Release] wrt-commons_0.2.140

Change-Id: Ic97400e9a394b5ceb38cc01fe720b047a3e2482b

10 years ago[CodeCovarage] Automatic tests for DPL test framework
Tomasz Iwanek [Wed, 17 Jul 2013 14:20:53 +0000 (16:20 +0200)]
[CodeCovarage] Automatic tests for DPL test framework

[Issue#]       LINUXWRT-664
[Feature]      Tests/tests fix
[Cause]        Those tests are returning actual result of tests. Returned result should be catch and compared with expected. That comparsion should give pass or fail.
[Solution]     Add macro for catching tests results to make tests automatic.
[Verification] Build "WITH_TESTS ON" and "WITH_CHILD ON". Run:
   wrt-commons-tests-test-runner-child --output=text --regexp='t0'
   wrt-commons-tests-test-runner-child --output=text --regexp='t1'
All should pass (binary may have name wrt-commons-tests-test if previous do not exist).

Change-Id: Ie7b008813b666ceb75de28119286e497d1c4b7ac

10 years agoDPL Encryption module removal
Tomasz Iwanek [Thu, 25 Jul 2013 11:51:44 +0000 (13:51 +0200)]
DPL Encryption module removal

[Issue#]       N/A
[Feature]      Removal of unused code
[Cause]        Unused code
[Solution]     Removal
[Verification] Build repository. This code will not be used as it was replaced by secure storage.

Change-Id: I938a79185990740191522a98cb520e48f4f67e0e

10 years ago[Release] wrt-commons_0.2.139
sung-su.kim [Mon, 22 Jul 2013 23:56:05 +0000 (08:56 +0900)]
[Release] wrt-commons_0.2.139

Change-Id: I2fcbdd3a6d0e5450782bb5c970154176669521e5

10 years agoExtract IANA language tags into a separate DB.
Zbigniew Kostrzewa [Tue, 16 Jul 2013 12:41:34 +0000 (14:41 +0200)]
Extract IANA language tags into a separate DB.

[Issue#] N/A
[Problem] Could not restrict access to iana_records table only.
[Cause] N/A
[Solution] Extract iana_records table into a separate DB.
[Verification]
1. Build repository
2. Run command `wrt-commons-tests-i18n --output=text`

Change-Id: Iacfec548485f5742a0c9fbf5f4596d4d3de8c3d5

10 years ago[Release] wrt-commons_0.2.138
sung-su.kim [Mon, 22 Jul 2013 01:36:23 +0000 (10:36 +0900)]
[Release] wrt-commons_0.2.138

Change-Id: I3ce9c228fd976bed091ec9d9db1f20d8dc1042cc

10 years agoAdd secure_log.h
Jihoon Chung [Sat, 20 Jul 2013 06:05:01 +0000 (15:05 +0900)]
Add secure_log.h

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add secure_log.h
[SCMRequest] N/A

Change-Id: I1bd92bccbadf45b1576c696a693a4628a707507e

10 years agoAdd ScopeGuard utility
Zbigniew Kostrzewa [Thu, 18 Jul 2013 11:36:45 +0000 (13:36 +0200)]
Add ScopeGuard utility

[Issue#] N/A
[Bug] N/A
[Cause] N/A
[Solution] ScopeGuard is utility class that allows to register a piece
of code to be executed when control exits a scope in which ScopeGuard
object has been created.
Implementation based on:
* Scope guard pointer from Loki library
  http://loki-lib.cvs.sourceforge.net/loki-lib/loki/include/loki/ScopeGuard.h?view=markup
* Scope guard implementation in folly library
  https://github.com/facebook/folly/blob/master/folly/ScopeGuard.h
* Lecture "Systematic Error Handling in C++" conducted by Andrei Alexandrescu
  http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C
[Verification]
1. Build repository
2. Run command
  `wrt-commons-tests-core --output=text --regexp='ScopeGuard*'`

[Notes]
It will be utilized e.g. in wrt-installer for guarding detaching from
WRT DB.

Change-Id: I13cdd15b9c9c83a927faeee658d88340052ef66d

10 years agoAdd exception handling to w3c_file_localization for double root, "//".
Tae-Jeong Lee [Tue, 16 Jul 2013 08:55:36 +0000 (17:55 +0900)]
Add exception handling to w3c_file_localization for double root, "//".

[Issue#] N/A
[Problem] Exception handling
[Cause] N/A
[Solution] Add exception handling to w3c_file_localization for double root, "//".

Change-Id: I375bfda94637465c987fdc21720a08a2ee4ec1df

10 years ago[Release] wrt-commons_0.2.136
sung-su.kim [Wed, 17 Jul 2013 02:48:40 +0000 (11:48 +0900)]
[Release] wrt-commons_0.2.136

Change-Id: I58fbc9e47d9495492511681afbcc049878f6235b

10 years agoReplace LogInfo to LogDebug
Jihoon Chung [Wed, 17 Jul 2013 02:40:20 +0000 (11:40 +0900)]
Replace LogInfo to LogDebug

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Replace LogInfo to LogDebug
Platform policy isn't used LogInfo
[SCMRequest] N/A

Change-Id: I7517004391b9e22cc0f48ede3443032acd1eb1b6

10 years agoCode cleanup
Tomasz Iwanek [Wed, 10 Jul 2013 10:52:48 +0000 (12:52 +0200)]
Code cleanup

[Issue#]       LINUXWRT-629
[Bug]          Temporary code
[Cause]        N/A
[Solution]     N/A
[Verification] Build repository wrt-commons and wrt-installer
[SCMRequest] This commit depends on: https://review.tizendev.org/80392

Change-Id: Ia26b39ee8f2821c46d8bcecce711626db366649c

10 years agoUpdating SecurityOriginInfo fix
Tomasz Iwanek [Mon, 15 Jul 2013 12:45:29 +0000 (14:45 +0200)]
Updating SecurityOriginInfo fix

[Issue#]       LINUXWRT-657
[Bug]          Update clause missing where statement
[Cause]        N/A
[Solution]     Add where statement
[Verification] Install tct-behaviour widget from TCTManager package. This widget should be able to be installed(reinstalled) several times.
 Run: wrt-installer -i [.wgt] several times in row (Previous version throwed exception from security dao).

Change-Id: I567a34a4442482143750bf3bc3cd86af8de07554

10 years agoIWacSecurity interface name change to IWidgetSecurity
Tomasz Iwanek [Wed, 10 Jul 2013 10:10:53 +0000 (12:10 +0200)]
IWacSecurity interface name change to IWidgetSecurity

[Issue#]       LINUXWRT-629
[Bug]          This code is not longer connect with wac functionality
[Cause]        N/A
[Solution]     Name change of interface.
[Verification] Build repo. Build wrt-installer basing on this change.

Change-Id: Ib46c3c910e8baf5a8bf98c57f051fd987aefe5ad

10 years agotodo comment regarding app scheme
Tomasz Iwanek [Mon, 15 Jul 2013 11:51:27 +0000 (13:51 +0200)]
todo comment regarding app scheme

[Issue#]       N/A
[Bug]          High probablity of bug in code in case of app scheme
[Cause]        N/A
[Solution]     N/A
[Verification] N/A

Change-Id: I085f6ae43168b7fa499ddff46a71111d6e82e571

10 years agoAdd support for monitoring allow-navigation occurrence.
Zbigniew Kostrzewa [Fri, 12 Jul 2013 09:34:55 +0000 (11:34 +0200)]
Add support for monitoring allow-navigation occurrence.

[Issue#] https://bugs.tizendev.org/jira/browse/TDIS-6856
[Problem] All allow-navigation elements from web application's
configuration document are parsed but only the first one should be
processed.
[Cause] N/A
[Solution] Add flag for monitoring whether allow-navigation element has
already occurred.
[Verification]
1. Build repository

[Notes]
Utilized in configuration parser (in wrt-installer).

Change-Id: I9f67822ada3fc547d02ac80c08d595281740b91c

10 years agoSupport svg type for start file
Soyoung Kim [Fri, 12 Jul 2013 11:48:28 +0000 (20:48 +0900)]
Support svg type for start file

[Issue#] WEB-3586
[Problem] Widget installation fails when default start file as "index.svg"
 is present at the root of the widget package.
[Cause] N/A
[Solution] add svg type.
[SCMRequest] N/A

Change-Id: I98f076a8f958b111cf074f9f7f882716e87f83c9

10 years agoWAC code removal
Tomasz Iwanek [Wed, 10 Jul 2013 06:47:13 +0000 (08:47 +0200)]
WAC code removal

[Issue#]       LINUXWRT-629
[Bug]          Not supported code
[Cause]        N/A
[Solution]     Removing:
- WrtDB::APP_TYPE_WAC20 app type,
- WAC paths, versions,
- developer/compliance mode in global dao,
[Verification] Build repository
[SCMRequest]   This change requires: https://review.tizendev.org/#/c/80343/

Change-Id: I62bb55f51da35eb08d39c36de8e7e02889df1f0d

10 years agoRemoved unused code about wac signed.
Soyoung Kim [Thu, 4 Apr 2013 05:25:13 +0000 (14:25 +0900)]
Removed unused code about wac signed.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] remove wac signed logic.
[SCMRequest] N/A

Change-Id: I3805944527c3e5e7be229f6bd07660928027449e

10 years ago[Release] wrt-commons_0.2.135
sung-su.kim [Tue, 9 Jul 2013 10:15:51 +0000 (19:15 +0900)]
[Release] wrt-commons_0.2.135

Change-Id: I23bc94641a0f848a0a5244d1c31fddf4b7ed1bf1

10 years ago[Path usage Unification] Widget Installation:JobWidgetInstall part unificati
Kamil Nowac [Tue, 11 Jun 2013 15:03:32 +0000 (17:03 +0200)]
[Path usage Unification] Widget Installation:JobWidgetInstall part unificati

[Issue#] LINUXWRT-396
[Problem] Due to changes in wrt-installer repo.
No hasExtension() in DPL::Utils::Path
[Cause] N/A
[Solution] Added function hasExtension
[Verification]
1. Build wrt-commons with tests
2. Run wrt-commons-tests-utils --output=text
All tests for path building should pass.

Change-Id: I687bab68d6810e0cfee233cfefe0dfd0763de586

10 years ago[Release] wrt-commons_0.2.134
sung-su.kim [Mon, 24 Jun 2013 05:15:49 +0000 (14:15 +0900)]
[Release] wrt-commons_0.2.134

Change-Id: Id479e9513ca3fd96814465ab1f28f75e7c9740b5

10 years agoAdd PluginDAOReadOnly::getImplementedObjects() API.
Taejeong Lee [Fri, 14 Jun 2013 16:25:53 +0000 (01:25 +0900)]
Add PluginDAOReadOnly::getImplementedObjects() API.

 - It returns whole of ImplementedObjectes in PluginDAO DB.

[Issue#] N/A
[Problem] Performance
[Cause] N/A
[Solution] Add PluginDAOReadOnly::getImplementedObjects() API.

Change-Id: I91c7743b593946871db0fa4f07d7f6c81741319b

10 years ago[Daily Tests] wrt-commons-tests-dao fix
Rafal Bednarski [Mon, 10 Jun 2013 15:54:26 +0000 (17:54 +0200)]
[Daily Tests] wrt-commons-tests-dao fix

[Issue] LINUXWRT-147
[Problem] wrt-commons-tests-dao tests do not pass in 100%
[Cause] N/A
[Solution]
Fixed wrt_dao_tests_prepare_db.sh script, especially lines
responsible for inserting data in the WidgetPreference table.
Changed property_dao_get_lists in file TestCase_PropertyDAO.cpp
Procedure is not sensitive for WidgetNotExist exception from now.
[Verification]
1. Build wrt-commons repository
2. Tests wrt-commons-test-dao on target.
All tests should pass in 100%.

Change-Id: Ifc3e799287b0d3e74efc8103d24ba867d96ddf94

10 years ago[Release] wrt-commons_0.2.133
sung-su.kim [Fri, 21 Jun 2013 02:39:21 +0000 (11:39 +0900)]
[Release] wrt-commons_0.2.133

Change-Id: I6df63ce41ffa1bfd319d70c0f871134d3fd1616b

10 years agoSupport "tizen-service" scheme
Jihoon Chung [Thu, 20 Jun 2013 11:21:02 +0000 (20:21 +0900)]
Support "tizen-service" scheme

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support "tizen-service" scheme
This commit skip tizen-service scheme to check WARP
[SCMRequest] N/A

Change-Id: If5ada9f1f889bb123d20319d51a33907b64567f1

10 years agoExpand structure of LiveboxInfo for support of 'use-decoration'
Yunchan Cho [Tue, 18 Jun 2013 12:04:50 +0000 (21:04 +0900)]
Expand structure of LiveboxInfo for support of 'use-decoration'

[issue#] N/A
[problem] There is no member variable for new attribute 'use-decoration' of <tizen:box-size>
[cause] N/A
[solution] LiveboxInfo struct has been expanded for this

Change-Id: I7a94e6283d7148968ff970303465ec230d4a82a1

10 years agoMerge "[Release] wrt-commons_0.2.131"
HOSEON LEE [Thu, 20 Jun 2013 05:08:05 +0000 (05:08 +0000)]
Merge "[Release] wrt-commons_0.2.131"

10 years agoChange tizen:metadata details
Jihoon Chung [Tue, 18 Jun 2013 05:24:23 +0000 (14:24 +0900)]
Change tizen:metadata details

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Change tizen:metadata details
Add value is null case
[SCMRequest] N/A

Change-Id: Ie7d609c9b703773b5b001aeee2a727dbddc785bd

10 years ago[Release] wrt-commons_0.2.131
sung-su.kim [Tue, 18 Jun 2013 05:43:06 +0000 (14:43 +0900)]
[Release] wrt-commons_0.2.131

Change-Id: I6aa6dc9cfde9d27a14989f75a700237c6689f0bb

10 years agoFix installation of NPRuntime plug-ins.
Zbigniew Kostrzewa [Fri, 14 Jun 2013 10:49:02 +0000 (12:49 +0200)]
Fix installation of NPRuntime plug-ins.

[Issue#] N/A
[Problem] All NPRuntime plug-ins are installed with a widget instead of
only those that match target architecture.
See "Tizen Web Runtime Core Specification 2.1", section "Web Application
Installation", requirements 0102 and 0103.
[Cause] N/A
[Solution] Provide API for retrieving path to the NPRuntime plug-ins
depending on the target architecture.
[SCMRequest] N/A

[Verification]
1. Build repository.

Change-Id: Ic341d91adc7a6019b4b0f330baaf06982a44eb8c

10 years ago[Release] wrt-commons_0.2.130
Soyoung Kim [Fri, 14 Jun 2013 06:16:52 +0000 (15:16 +0900)]
[Release] wrt-commons_0.2.130

Change-Id: I69ed439a11dbb582349d2da04c87a9819a68b274

10 years agoFixed required version
Soyoung Kim [Fri, 14 Jun 2013 05:26:14 +0000 (14:26 +0900)]
Fixed required version

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] fixed required version to 2.2
[SCMRequest] N/A

Change-Id: Iebeb891a7c01d8afdf2e608c3229bf2feeced2b1

10 years ago[Release] wrt-commons_0.2.129
Jihoon Chung [Thu, 13 Jun 2013 14:07:15 +0000 (23:07 +0900)]
[Release] wrt-commons_0.2.129

Change-Id: If72777f9462b95b50564e0c3c67e954c0a9c364c

10 years agoLog style is changed to SECURE_LOG
Hoseon LEE [Tue, 11 Jun 2013 04:43:22 +0000 (13:43 +0900)]
Log style is changed to SECURE_LOG

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Log stryle is changed to SECURE_LOG
[SCMRequest] N/A

Change-Id: I57048730cd2e161067619cd8f35cbe44321c54e6

10 years ago[Release] wrt-commons_0.2.128
Jihoon Chung [Tue, 4 Jun 2013 04:26:40 +0000 (13:26 +0900)]
[Release] wrt-commons_0.2.128

Change-Id: Ib940dd07f5bc211b8b9e3446a423537fe987112e

10 years agoChange SMACK label for custom_handler
Jihoon Chung [Mon, 3 Jun 2013 08:21:26 +0000 (17:21 +0900)]
Change SMACK label for custom_handler

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Change SMACK label for custom_handler
Deprecate 'wrt-commons::db_wrt_custom_handler' and use 'wrt-commons::db_wrt'
[SCMRequest] N/A

Change-Id: I2eead3810312b2f7d5cf99ad956dc24345ec4b21

10 years ago[Release] wrt-commons_0.2.127
Yunchan Cho [Fri, 31 May 2013 08:18:33 +0000 (17:18 +0900)]
[Release] wrt-commons_0.2.127

Change-Id: I4fa7443115e977c772debf57366ba618ff092e3f

10 years agoAdd a boxlabel Type.
leerang song [Mon, 27 May 2013 05:39:16 +0000 (14:39 +0900)]
Add a boxlabel Type.

[Issue#] N/A
[Bug] N/A
[Cause] Add function for parsing language label in widget_parser
[Solution] Add a boxlabel Type.
[Verification] This commit should be release with wrt-installer.

Change-Id: I109c6d4ead8de5ecead8f0e1ebce3252463ca75e

10 years ago[Release] wrt-commons_0.2.126
Jihoon Chung [Thu, 30 May 2013 07:41:30 +0000 (16:41 +0900)]
[Release] wrt-commons_0.2.126

Change-Id: Ied4ea59b65131e21d787191709e217e8127e8469

10 years agoChange temporary storage path
Jihoon Chung [Wed, 29 May 2013 06:29:15 +0000 (15:29 +0900)]
Change temporary storage path

[Issue#] H0100184102
[Problem] Using tizen.download to download to "wgt-private" works,
but not to "wgt-private-tmp"
[Cause] N/A
[Solution]
Change temporary storage path app directory
Before : /tmp/pkgid/
After  : /opt/usr/apps/pkgid/tmp/
[SCMRequest] N/A

Change-Id: Ica434a2ce5be2e7ceb816d92b0aafd60bc25515d

10 years ago[Release] wrt-commons_0.2.125
sung-su.kim [Wed, 29 May 2013 02:12:54 +0000 (11:12 +0900)]
[Release] wrt-commons_0.2.125

Change-Id: Ic19661efbb90254215c749d9b7d3423903681e51

10 years ago[Unit Tests] wrt-commons: DAO tests
Kamil Nowac [Fri, 17 May 2013 14:29:30 +0000 (16:29 +0200)]
[Unit Tests] wrt-commons: DAO tests

[Issue#] LINUXWRT-147
[Problem] Lack of the privileges and app_control
[Cause] N/A
[Solution] Added widget_dao_test_register_app_control
and widget_dao_test_register_widget_privileges
[Verification]
1.Build wrt-commons repository with --define "WITH_TESTS ON"
2.Test wrt-commons-tests-dao on target. All tests should pass.

Change-Id: I5e880b195425b27ed7403be7500d9e1cb49a4ad1

10 years ago[Developer mode] Removal from wrt-commons repository
Kamil Nowac [Thu, 2 May 2013 12:27:30 +0000 (14:27 +0200)]
[Developer mode] Removal from wrt-commons repository

[Issue#] LINUXWRT-282
[Problem] Unsupported feature
[Cause] N/A
[Solution] Removing it
[Verification]
1. Check if there are any 'D(/d)eveloper' words remains in source code.
2. Build wrt repository.

Change-Id: I8e324391cb9a99377806852e35590f9229e987f3

10 years agoAdd widget_config for shared directory
Jihoon Chung [Tue, 28 May 2013 01:25:56 +0000 (10:25 +0900)]
Add widget_config for shared directory

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add path builder for shared directory
[SCMRequest] N/A

Change-Id: I2ca612caabc7673b0f6f359494706523304db55b

10 years agoClean-up unused global_config.h
Jihoon Chung [Tue, 28 May 2013 01:17:48 +0000 (10:17 +0900)]
Clean-up unused global_config.h

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove deprecated inline funtion regarding vconf
[SCMRequest] N/A

Change-Id: I303b8901f399dfd846261a647d81846b73b4acfd

10 years ago[Release] wrt-commons_0.2.124
sung-su.kim [Mon, 27 May 2013 08:54:43 +0000 (17:54 +0900)]
[Release] wrt-commons_0.2.124

Change-Id: I3e2aba8ee9db0a51275509e4ad8d7f93820380ec

10 years agoFixed web app can't update.
Soyoung Kim [Fri, 24 May 2013 13:49:37 +0000 (22:49 +0900)]
Fixed web app can't update.

[Issue#] N/A
[Problem] can't update
[Cause] widget preference db has tizen_appid instead of app_id(handle).
So db error occur during update.
db error is "foreign key constraint failed".
[Solution] modify foreign key from tizen_appid to app_id.
[SCMRequest] N/A

Change-Id: I7299fd34f125e574eeeeffb111ac022b08e3987b

10 years ago[Daily Tests] wrt-commons tests
Kamil Nowac [Wed, 8 May 2013 09:08:38 +0000 (11:08 +0200)]
[Daily Tests] wrt-commons tests

[Issue#] LINUXWRT-214
[Problem] Tests do not pass in 100%
[Cause] Tests in one directory must fail so it looks bad in daily tests
[Solution] Adding proper condition to CMake
[Verification]
1. Build wrt-commons repository with --define "WITH_TESTS ON" and --define "WITH_CHILD ON".
There is proper a signal during build: "Additional test subdirectory is being added"

Change-Id: I1533ac05a3e7406b5f4c67c9ba382381898b0481

10 years ago[Release] wrt-commons_0.2.123
sung-su.kim [Thu, 23 May 2013 09:22:04 +0000 (18:22 +0900)]
[Release] wrt-commons_0.2.123

Change-Id: I32406fe3bed5b6d5ab102eba3819935f8b7fea68

10 years agoAdd "getRootPluginHandleList()" api to PluginDAOReadOnly.
Taejeong Lee [Thu, 23 May 2013 07:09:51 +0000 (16:09 +0900)]
Add "getRootPluginHandleList()" api to PluginDAOReadOnly.

[Issue#] N/A
[Problem] Performance
[Cause] N/A
[Solution] Add "getRootPluginHandleList()" api to PluginDAOReadOnly.

Change-Id: I9624177e8349e81fade08e3b96e5d4d4cec751f0

11 years ago[Release] wrt-commons_0.2.122
sung-su.kim [Thu, 16 May 2013 04:27:43 +0000 (13:27 +0900)]
[Release] wrt-commons_0.2.122

Change-Id: Ic3f8591ab3f6d8be15236dfb0a4f6c1b7b53d535

11 years agoAdd new type of getFilePathInWidgetPackageFromUrl() api for performance.
Taejeong Lee [Wed, 15 May 2013 03:01:33 +0000 (12:01 +0900)]
Add new type of getFilePathInWidgetPackageFromUrl() api for performance.

 - std::string getFilePathInWidgetPackageFromUrl(const std::string &tzAppId, const std::string &url)

[Issue#] N/A
[Problem] Performance
[Cause] URI localization consumed too many CPU resource.
[Solution] Optimization to getFilePathInWidgetPackageFromUrl()

Change-Id: I6f0253067b082ab27b645682a789432d7773df1a

11 years ago[Release] wrt-commons_0.2.121
sung-su.kim [Tue, 14 May 2013 06:13:31 +0000 (15:13 +0900)]
[Release] wrt-commons_0.2.121

Change-Id: Icd244d98e2ee597c58147c3c3e02c28a09a5e185

11 years agoRemove test code for deprecated API
Jihoon Chung [Tue, 14 May 2013 04:45:03 +0000 (13:45 +0900)]
Remove test code for deprecated API

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove test code for deprecated API
[SCMRequest] N/A

Change-Id: I1021e1cf5938c9ef324ba3d9ba1ae990af83498d

11 years ago[Release] wrt-commons_0.2.120
Soyoung Kim [Mon, 13 May 2013 02:22:10 +0000 (11:22 +0900)]
[Release] wrt-commons_0.2.120

11 years agoMerge "Saving namespace of stored content's startpage of config.xml"
Hoseon LEE [Sun, 12 May 2013 12:46:29 +0000 (21:46 +0900)]
Merge "Saving namespace of stored content's startpage of config.xml"

11 years agoSaving namespace of stored content's startpage of config.xml
Tomasz Iwanek [Tue, 7 May 2013 13:36:05 +0000 (15:36 +0200)]
Saving namespace of stored content's startpage of config.xml

[Issue#]       LINUXWRT-314
[Feature]      tizen:content prefered before content
[Cause]        N/A
[Solution]     This is needed for wrt-installer changes
[Verification] Build repo.

Change-Id: I2fc6f868122691ec852f2a439979de513c7abd28

11 years agoRemove vconf creation code
Jihoon Chung [Fri, 10 May 2013 05:23:04 +0000 (14:23 +0900)]
Remove vconf creation code

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove vconf creation code
[SCMRequest] N/A

Change-Id: I7257193fd9b2a8fb4d6b937d3313ea3cce95e345

11 years ago[Release] wrt-commons_0.2.119
sung-su.kim [Fri, 10 May 2013 05:05:28 +0000 (14:05 +0900)]
[Release] wrt-commons_0.2.119

Change-Id: I3c05de3814c4cb9872f84c991b7a3b42eec976ac

11 years agoSupport tizen:metadata
Jihoon Chung [Thu, 9 May 2013 04:49:24 +0000 (13:49 +0900)]
Support tizen:metadata

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support tizen:metadata
This key & value is written in the manifest.xml to be used by other application.
Verification : pkginfo --metadata <appid>
[SCMRequest] N/A

Change-Id: Iec6368d9c9c5ef71122309937537699d84581a5b

11 years ago[Release] wrt-commons_0.2.118
sung-su.kim [Wed, 8 May 2013 06:54:22 +0000 (15:54 +0900)]
[Release] wrt-commons_0.2.118

Change-Id: I88b3e242143c617d73b65a320dc01ad90c611443

11 years agoadd get tizen package id list
Soyoung Kim [Tue, 7 May 2013 12:18:19 +0000 (21:18 +0900)]
add get tizen package id list

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add function to get package id list.
[SCMRequest] N/A

Change-Id: I173f53ef5dcb65c286eada4a950c3184adc39885

11 years ago[Release] wrt-commons_0.2.117
Jihoon Chung [Tue, 7 May 2013 05:57:23 +0000 (14:57 +0900)]
[Release] wrt-commons_0.2.117

Change-Id: I2171f3a49d5393aa0d2b6b6cc2081b16992cec2d

11 years agoSupport Web storage permission privilege
Jihoon Chung [Sat, 4 May 2013 07:41:38 +0000 (16:41 +0900)]
Support Web storage permission privilege

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support Web storage permission privilege
[SCMRequest] N/A

Change-Id: Ic98a5de35c9b1faa9cd5cc674065c6706a0ca3d3

11 years agoReplace minizip to use platform library
Jihoon Chung [Wed, 1 May 2013 07:07:12 +0000 (16:07 +0900)]
Replace minizip to use platform library

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove minizip code in the wrt-commons and replace to
usage code to platform minizip library
[SCMRequest] N/A

Change-Id: I541f715b40f16ff388451c974cae36e061282849

11 years ago[Release] wrt-commons_0.2.116
Jihoon Chung [Sat, 4 May 2013 14:24:55 +0000 (23:24 +0900)]
[Release] wrt-commons_0.2.116

Change-Id: Ib79a59d78007ccf558c9c155fb0b26af3e39f0d3

11 years agoAdd backup api for update
Soyoung Kim [Fri, 3 May 2013 11:16:38 +0000 (20:16 +0900)]
Add backup api for update

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] add backup api and restore api for update
[SCMRequest] N/A

Change-Id: I3c4c52a3566b737124ae06c214b096d24b94ce16

11 years agoFix for reset scripts.
Andrzej Surdej [Thu, 25 Apr 2013 11:17:19 +0000 (13:17 +0200)]
Fix for reset scripts.

[Issue#] LINUXWRT-278
[Problem] N/A
[Cause] N/A
[Solution] Uninstall widget before database reseting. Remove smack files. (Use --old to not uninstall)
[Verification] Install some widgets. Run wrt_reset_all.sh with and without '--old' opt.

Change-Id: Icedab43ca89e0462757d93f6f0a263e8d2bf8b8f

11 years ago[Release] wrt-commons 0.2.115
Yunchan Cho [Sun, 28 Apr 2013 14:54:18 +0000 (23:54 +0900)]
[Release] wrt-commons 0.2.115

Change-Id: I62ac66701cc20900ff087c57d86cc58f912a3756

11 years agoAdd new field of BoxContentInfo for 'fast-open' attribute of <tizen:pd>
Yunchan Cho [Thu, 25 Apr 2013 13:35:17 +0000 (22:35 +0900)]
Add new field of BoxContentInfo for 'fast-open' attribute of <tizen:pd>

[Issue#] N/A
[Problem] There is no field used by installer after parsing 'fast-open' attribute
[Cause] N/A
[Solution] For this, new field of BoxContentInfo is added

Change-Id: I3e6dafcbcf88554e021a54610c3187d9f4fe43c2

11 years ago[Release] wrt-commons 0.2.114
Jihoon Chung [Sat, 27 Apr 2013 13:17:21 +0000 (22:17 +0900)]
[Release] wrt-commons 0.2.114

Change-Id: I50b5ed36417650a05d8dade7c3587cbd1d353649

11 years agoImplement distinguish security model version
Jihoon Chung [Thu, 25 Apr 2013 07:43:06 +0000 (16:43 +0900)]
Implement distinguish security model version

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] After enable CSP and allow-navigation, WRT should
distinguish security model. This needs to avoid conflict between
each security model.
V1 : only handled by WARP
v2 : main resource - allow-navigation
     sub  resource - CSP
[SCMRequest] N/A

Change-Id: I2c7477d114828085067098df0836227f0e642338

11 years agoImplement allow-navigation
Jihoon Chung [Wed, 24 Apr 2013 08:40:24 +0000 (17:40 +0900)]
Implement allow-navigation

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support allow-navigation
"allow-navigation" value is allowed origin for main resource
These origins only compare with main resource uri
(decidePolicyForNavigationAction, decidePolicyForNewWindowAction)
<tizen:allow-navigation>http://*.facebook.com https://*.facebook.com</tizen:allow-navigation>
[SCMRequest] N/A

Change-Id: I97403cb3d87989bae17517a5ddbfd0be77a5f8a1

11 years agoURL localization fix - ver 2
Tomasz Iwanek [Fri, 5 Apr 2013 09:22:18 +0000 (11:22 +0200)]
URL localization fix - ver 2

[Issue#]       N/A
[Bug]          webkit callbacks returns URL with query and fragment identifier for app:// scheme. It should be skipped for file resolution
[Cause]        N/A
[Solution]     Skipped part of URL for file path resolution and appendin it back
[Verification] Run widget that uses link with query part and fragment part. Page should be loaded when URL with fragment part is given. Use wrt with app:// scheme ENABLED

Change-Id: Ie71e2fe4f421165d2677f72e9ef21c69b0ad73d9

11 years ago[Release] wrt-commons_0.2.113
Jihoon Chung [Tue, 23 Apr 2013 06:42:22 +0000 (15:42 +0900)]
[Release] wrt-commons_0.2.113

Change-Id: Ie3c1778d2627e5f377a4a77313fc5bcdea9e8e48

11 years agoBuildbreak on wrt-commons tests fix
Tomasz Iwanek [Mon, 22 Apr 2013 07:55:57 +0000 (09:55 +0200)]
Buildbreak on wrt-commons tests fix

[Issue#]       LINUXWRT-261
[Bug]          Buildbreak
[Cause]        N/A
[Solution]     N/A
[Verification] Build with tests and run: wrt-commons-tests-loc --output=tests. All should pass.

Change-Id: I0d626732654f8c4828a802ec50dac31d77e9cf1a

11 years ago[Release] wrt-commons_0.2.112
Jihoon Chung [Sun, 21 Apr 2013 13:19:30 +0000 (22:19 +0900)]
[Release] wrt-commons_0.2.112

Change-Id: I2b1434d6a84a9962f68b62d1db7f1d768bea407f

11 years agoClean-up Multiple process for application control
Jihoon Chung [Sun, 21 Apr 2013 03:33:56 +0000 (12:33 +0900)]
Clean-up Multiple process for application control

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Clean-up Multiple process for application control.
This commit change control_index to alloc each page.
[SCMRequest] must be imported with wrt, wrt-installer

Change-Id: I5716cba6c90999e9189819d1575f83c8bbec2405

11 years agoAdd remove directory of reload app during wrt_reset_all.sh
Soyoung Kim [Sun, 21 Apr 2013 12:28:36 +0000 (21:28 +0900)]
Add remove directory of reload app during wrt_reset_all.sh

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] remove directory about preload app.
[SCMRequest] N/A

11 years agoClean-up application service
Jihoon Chung [Sat, 20 Apr 2013 12:37:35 +0000 (21:37 +0900)]
Clean-up application service

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove deprecated code, appservice
[SCMRequest] must be imported with wrt, wrt-installer

Change-Id: I012661c5d349e1e2822f6076ce6c7051637e4ac4

11 years agoMove Wrt:DB namespace closing branket
Jihoon Chung [Sat, 20 Apr 2013 11:29:33 +0000 (20:29 +0900)]
Move Wrt:DB namespace closing branket

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Closing branket is entered wrong place.
Move branket to end of file.
[SCMRequest] N/A

Change-Id: I04d925a5c1809371f7ce61f46533b57219573ccf

11 years ago[Release] wrt-commons_0.2.111
Soyoung Kim [Fri, 19 Apr 2013 17:32:39 +0000 (02:32 +0900)]
[Release] wrt-commons_0.2.111

Change-Id: Iadb85442cefb99649cab371b6f42c89e540f3f64

11 years agoAdd preload webapp
Soyoung Kim [Fri, 19 Apr 2013 15:19:32 +0000 (00:19 +0900)]
Add preload webapp

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] modify path of preload webapp.
Add to print standard error for prelaod.
[SCMRequest] This package should release with wrt-installer.

11 years ago[Release] wrt-commons_0.2.110
Jihoon Chung [Fri, 19 Apr 2013 03:07:02 +0000 (12:07 +0900)]
[Release] wrt-commons_0.2.110

Change-Id: Ib0513be5b371eb723f4317a55145d736a253d844

11 years agoClean-up pkgname
Jihoon Chung [Fri, 19 Apr 2013 05:35:44 +0000 (14:35 +0900)]
Clean-up pkgname

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Some code naming is pkgname even using for app id.
Replace pkgname to application id.
[SCMRequest] N/A

Change-Id: I167ca38deb2c8c2209aece7b7260b65695250a78

11 years agoCustom handlers' db moved to user space.
Lukasz Marek [Wed, 17 Apr 2013 12:37:57 +0000 (14:37 +0200)]
Custom handlers' db moved to user space.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Custom handlers' db moved to user space.
[SCMRequest] N/A

[Verification]
1. Build and install repository
2. Delete old db (rm /usr/dbspace/.wrt_custom_handlers*)
3. Apply commit to wrt-extra http://slp-info.sec.samsung.net/gerrit/#/c/184465/
4. Install and run widget manual_tests/wrt_test_widgets/custom_handlers/custom_handlers.wgt
5. Register handlers for content and scheme (inside widget)
6. Open db /opt/usr/dbspace/.wrt_custom_handlers and check if new records apeared in tables.

Change-Id: I07ce20f03846c3b82fff300810ac9ade99131cee

11 years agoBugfix https://tizendev.org/bugs/browse/TDIS-4756
Zbigniew Kostrzewa [Wed, 17 Apr 2013 05:54:23 +0000 (07:54 +0200)]
Bugfix https://tizendev.org/bugs/browse/TDIS-4756

[Issue#] N/A
[Problem] Conversion of IRI encoded in Unicode to ASCII failed
on some platforms but on others succeeded.
[Cause] Due to char type being treated as signed on some platforms and
unsigned on others.
[Solution] The code that causes the issue is not used so it has been
removed.
[SCMRequest] N/A

[Verification]
1. Build respository.
2. Run `wrt-extra-tests-w3c-widget-policy --output=text
--regexp='load_image_using_toASCII'`

Change-Id: Ie56e2b6a3b673617350836d688032c63c0b9c0b1

11 years agoMerge "Revert "URL localization fix""
Hoseon LEE [Thu, 18 Apr 2013 04:42:05 +0000 (13:42 +0900)]
Merge "Revert "URL localization fix""

11 years agoRevert "URL localization fix"
Taejeong Lee [Thu, 18 Apr 2013 03:00:32 +0000 (12:00 +0900)]
Revert "URL localization fix"

This reverts commit 2a6f2567fdab7242af18f3492c0ca7d2602f305e.

[Issue#] N/A
[Problem] URL arguments are not transmitted to webkit.
[Cause] Side effect of "URL localization fix"
[Solution] This is critical issue. The commit was reverted.

Change-Id: I8e185480b442433e7be8e2a35e5b7a2c402ab0a2

11 years ago[Release] wrt-commons_0.2.109
Jihoon Chung [Mon, 15 Apr 2013 14:09:00 +0000 (23:09 +0900)]
[Release] wrt-commons_0.2.109

Change-Id: I0aa5183c38265ec2529a1ae8f993366115facc5a

11 years agoFix discovering dukgenerator and cryptsvc modules.
Zbigniew Kostrzewa [Fri, 12 Apr 2013 12:53:09 +0000 (14:53 +0200)]
Fix discovering dukgenerator and cryptsvc modules.

[Issue#] N/A
[Problem] References to libraries from modules dukgenerator and cryptsvc
are hardcoded in this repository's build scripts.
[Cause] N/A
[Solution] Discover library names from dukgenerator and cryptsvc *.pc
files.
[SCMRequest] N/A

[Verification]
1. Build respository.
2. Run `wrt-extra-tests-tizen --output=text --regexp='^TC(4|21|22)$'`.

Change-Id: I4a07f237e8ecf53b8f2cb89d294cfff7b8fe9556

11 years agoMake getPkgName() return package name instead of full application id.
Zbigniew Kostrzewa [Fri, 12 Apr 2013 12:39:04 +0000 (14:39 +0200)]
Make getPkgName() return package name instead of full application id.

[Issue#] N/A
[Problem] WidgetDAOReadOnly::getPkgName() returns full id of the widget
instead of only its package name.
[Cause] N/A
[Solution] Return only package name from getPkgName().
[SCMRequest] N/A

[Verification]
1. Build respository.
2. Run `wrt-commons-tests-dao --output=text`.

Change-Id: I9f7ca02c255081e57f05e40b79cf7fd93968f647

11 years agoRemove auto_save dao
Jihoon Chung [Sat, 13 Apr 2013 08:12:31 +0000 (17:12 +0900)]
Remove auto_save dao

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove auto_save dao
[SCMRequest] N/A

Change-Id: I16f7975f2be48f38be628c4c44e13bef6cecc862