framework/web/wrt-commons.git
10 years ago[Release] wrt-commons_0.2.167 tizen_2.2 2.2.1_release submit/tizen_2.2/20131107.063249
sung-su.kim [Fri, 1 Nov 2013 04:44:24 +0000 (13:44 +0900)]
[Release] wrt-commons_0.2.167

Merge branch 'master' into tizen_2.2

Change-Id: Ia37180989758abba56a28ac35046232211a99412

10 years ago[Release] wrt-commons_0.2.167
Jihoon Chung [Fri, 1 Nov 2013 04:37:33 +0000 (13:37 +0900)]
[Release] wrt-commons_0.2.167

Change-Id: Ib85e658a22fb117de98e1a82047bd56d79ce182b

10 years agoRevert "Remove FastDelegate from InterContextDelegate"
Jihoon Chung [Fri, 1 Nov 2013 04:33:35 +0000 (04:33 +0000)]
Revert "Remove FastDelegate from InterContextDelegate"

This reverts commit a36d2e4367ccec18f9c30174f63b24164a34f187.

Change-Id: I05a4b5cacfaac66e4ef24f6d2de8a3c8265a7166

10 years ago[Release] wrt-commons_0.2.166
sung-su.kim [Fri, 1 Nov 2013 00:18:58 +0000 (09:18 +0900)]
[Release] wrt-commons_0.2.166

Merge branch 'master' into tizen_2.2

Change-Id: I994dd3f9c85c308239fd2f6ff7345b602d13e450

10 years ago[Release] wrt-commons_0.2.166
sung-su.kim [Thu, 31 Oct 2013 11:52:21 +0000 (20:52 +0900)]
[Release] wrt-commons_0.2.166

Change-Id: Idc08f0f7d651ba4ccfb8238f92ecbee79ba127bd

10 years agoRemove FastDelegate from InterContextDelegate
Zbigniew Kostrzewa [Wed, 30 Oct 2013 07:57:32 +0000 (08:57 +0100)]
Remove FastDelegate from InterContextDelegate

[Issue#]   LINUXWRT-1061
[Problem]  Remove FastDelegate
[Cause]    Licensing issues
[Solution] Remove references to FastDelegate from Inter ContextDelegates.

[Verifiction]
1. Build repository with tests
2. Launch (on DUT):
   - `wrt-commons-tests-core --output=text`
   - `wrt-commons-tests-event --output=text`
   The same number of tests should pass after and before applying this change.
3. Build cert-svc repository

Change-Id: I105f600b296cc17baa681a6f0051c010a416b197

10 years agoDelete package manager entries during wrt_reset_all.sh
Andrzej Surdej [Wed, 30 Oct 2013 10:28:36 +0000 (11:28 +0100)]
Delete package manager entries during wrt_reset_all.sh

[Issue#]   N/A
[Problem]  pkgmgr_parser.db entries were not removed in some cases
[Cause]    N/A
[Solution] Remove database entries manually

[Verification] Install some widget and run "wrt_reset_all.sh --old"
and install widget again. Should be installed correctly.

Change-Id: I52436b4b002963e6ca797b3325da71f110b168d2

10 years agoRemove FastDelegate from Once
Zbigniew Kostrzewa [Wed, 30 Oct 2013 07:22:36 +0000 (08:22 +0100)]
Remove FastDelegate from Once

[Issue#]   LINUXWRT-1061
[Problem]  Remove FastDelegate
[Cause]    Licensing issues
[Solution] Remove FastDelegate refernces from DPL::Once class.

[Verification]
1. Build repository with tests
2. Launch (on DUT):
   - `wrt-commons-tests-core --output=text`
   - `wrt-commons-tests-event --output=text`
   The same number of tests should pass after and before applying this change.

Change-Id: I25ca5cbc229137b82d52137cd6296de3bae68c5e

10 years agoReplace FastDelegate in event module with std::function
Zbigniew Kostrzewa [Tue, 29 Oct 2013 12:49:11 +0000 (13:49 +0100)]
Replace FastDelegate in event module with std::function

[Issue#]   LINUXWRT-1061
[Problem]  Remove FastDelegate
[Cause]    Licensing issues
[Solution] Remove references to FastDelegate from event module.

[Verification]
1. Build repository with tests
2. Launch (on DUT):
   - `wrt-commons-tests-core --output=text`
   - `wrt-commons-tests-event --output=text`
   The same number of tests should pass after and before applying this change.

Change-Id: Ib1a074f07baa0ed801e8720a3321f08d9aded0e9

10 years agoRemove FastDelegate demo
Zbigniew Kostrzewa [Thu, 31 Oct 2013 06:44:36 +0000 (07:44 +0100)]
Remove FastDelegate demo

[Issue#]   LINUXWRT-1061
[Problem]  Remove FastDelegate
[Cause]    Licesing issues
[Solution] Remove references to FastDelegate

[Verification]
1. Build repository with tests
2. Run on DUT command `wrt-commons-tests-event --output=text`.
   The same number of tests should pass after and before applying the change

[Remarks]
This is a part of a larger change (see LINUXWRT-1061 for details).

Change-Id: I13381b9966b8fe76de460ac2107caf2644f04e54

10 years ago[Release] wrt-commons_0.2.165
sung-su.kim [Tue, 29 Oct 2013 23:46:36 +0000 (08:46 +0900)]
[Release] wrt-commons_0.2.165

Change-Id: Ibe339eb5708e99e19acfc1a271f28229c69c6a64

10 years ago[Release] wrt-commons_0.2.164
sung-su.kim [Tue, 29 Oct 2013 06:42:23 +0000 (15:42 +0900)]
[Release] wrt-commons_0.2.164

Merge branch 'master' into tizen_2.2

Change-Id: I1572062464f8eae747272afd7a55a6da01f17f88

10 years agoClean-up GlobalDAO (GetDeviceCapability)
Jihoon Chung [Tue, 22 Oct 2013 08:26:41 +0000 (17:26 +0900)]
Clean-up GlobalDAO (GetDeviceCapability)

[Issue#]   LINUXWRT-1034
[Problem]  GlobalDAO has unnecessary API.
[Cause]    N/A
[Solution] Remove "GetDeviceCapability" API
           - API moevs to "FeatureDAO::GetDeviceCapability"
           - Also clean-up GlobalDAOReadOnly.

[Verification] build repo
[SCMRequest] N/A

Change-Id: I397595406d6f3fabc59b67776010876b25328d84

10 years agoAdd #undef Directiveis for Debug Log Macros
Jihoon Chung [Mon, 28 Oct 2013 05:18:30 +0000 (14:18 +0900)]
Add #undef Directiveis for Debug Log Macros

[Issue#]   N/A
[Problem]  Define "_D", "_E" and "_W" in another place causes "redefinition" build warning,
           as well as "redefinition of macro" warning message occasionally.
[Cause]    "_D", "_E" and "_W" are defined without checking whether "#ifndef" or "#undef".
[Solution] Add "#undef" prior to define "_D", "_E" and "_W".

[Verification] Build repo.
[SCMRequest] N/A

Change-Id: I0a0170ed25a852c96ad11f072522a2a3f5a0c134

10 years ago[Release] wrt-commons_0.2.164
sung-su.kim [Mon, 28 Oct 2013 05:20:23 +0000 (14:20 +0900)]
[Release] wrt-commons_0.2.164

Change-Id: I34889d0fcabe64fa7d569b0131274fccd4ce8cc3

10 years agoRevert "[DPL] FileLock"
sung-su.kim [Mon, 28 Oct 2013 04:43:50 +0000 (13:43 +0900)]
Revert "[DPL] FileLock"

Launch is blocked by reinstallation or deinstallation
For this reason, the app is not launched.
Please check again it and make a commit.

This reverts commit 32f6ed3d788fc6f811111607261e255741675cb1.

Change-Id: I4ef3ddd1677a4155183ff855ed9981bf4ee7842c

10 years ago[Release] wrt-commons_0.2.163
sung-su.kim [Sun, 27 Oct 2013 23:45:59 +0000 (08:45 +0900)]
[Release] wrt-commons_0.2.163

Change-Id: I4c08c3fa4d38a5b40dda1ef6f4b9e25f1becc3c8

10 years ago[DPL] FileLock
Tomasz Iwanek [Thu, 24 Oct 2013 09:45:19 +0000 (11:45 +0200)]
[DPL] FileLock

[Issue#]   N_SE-55833
[Problem]  There is no file locking wrapper
[Cause]    This is needs in depending repos.
[Solution] Introduce file lock.

[Verification] N/A
    - build repository,
    - verification should be done by reviewers based on wrt-installer changes,

Change-Id: I27cdfb5ea168b62ad5430585785599f3e65c53e1

10 years agoClean-up GlobalDAO (RoamingDataUsage)
Jihoon Chung [Mon, 21 Oct 2013 13:38:37 +0000 (22:38 +0900)]
Clean-up GlobalDAO (RoamingDataUsage)

[Issue#]   LINUXWRT-1032
[Problem]  GlobalDAO has unnecessary API.
[Cause]    N/A
[Solution] Remove "RoamingDataUsage" API
           - Current use cases are unnecessary and this setting should directly use platform setting.
           - Also clean-up GlobalDAO.
[Verification] build repo
[SCMRequest] N/A

Change-Id: I89887fec6d2dea994b61f23780e028eb9b2d9ec0

10 years ago[Release] wrt-commons_0.2.162
sung-su.kim [Thu, 24 Oct 2013 10:34:19 +0000 (19:34 +0900)]
[Release] wrt-commons_0.2.162

Merge branch 'master' into tizen_2.2

Change-Id: I18f7b4063a11f3d3da38c589c0ca853471697002

10 years ago[Release] wrt-commons_0.2.162
sung-su.kim [Tue, 22 Oct 2013 23:54:34 +0000 (08:54 +0900)]
[Release] wrt-commons_0.2.162

Change-Id: Id8c75c766031a90457a87b3bcb3ae8e7d6860a45

10 years ago[DPL] String Trimming
Tomasz Iwanek [Tue, 16 Jul 2013 09:53:16 +0000 (11:53 +0200)]
[DPL] String Trimming

[Issue#]   LINUXWRT-639
[Problem]  Missing trim for string
[Cause]    N/A
[Solution] String trim function

[Remarks]
    This change is extracted from VS parser because it is different
    functionality needed in next changes but in to part of VS reader itself.

[Verification] Build and run tests:
    - $> wrt-commons-tests-core --output=text --regexp='String_Trim' #all should pass

Change-Id: I4911a1698e1fe50637f2d3a2414df7f43793c384

10 years ago[DPL] Value separeted output reader
Tomasz Iwanek [Tue, 16 Jul 2013 09:53:16 +0000 (11:53 +0200)]
[DPL] Value separeted output reader

[Issue#]   LINUXWRT-639
[Problem]  VS reader for command output.
[Cause]    N/A
[Solution] Generlized value separted reader

[Remarks]
    This is parser for files containing lines with values seperated with custom
    charaters.  Purpose of this is to parse output similar to csv and hide (no
    need for rewriting) buffers, reads, code errors. Result is two dimensional
    array. See previous change.

    Parser is designed as class configured with policies classes:
    - http://en.wikipedia.org/wiki/Policy-based_design

[Verification]
    - Build with tests and WTIH_CHILD ON.
    - $> wrt-commons-tests-test --output=text --regexp='ValueSeparatedReader_'

Change-Id: I7dba345e370767cd3465921ed4f212920488b6e4

10 years ago[DPL] AbstractInputReader
Tomasz Iwanek [Mon, 15 Jul 2013 06:35:15 +0000 (08:35 +0200)]
[DPL] AbstractInputReader

[Issue#]   LINUXWRT-639
[Problem]  Base classes for parser reading for output of program
[Cause]    N/A
[Solution] Base class for parser input.

[Remarks]
    This generic skeleton for parser which assumes being composed from abstract
    two logical components:
      - parser,
      - tokenizer/lexer,
    which implements token flow logic.
    Logic of components may be arbitrary. See depending change for uses.

    Components are created at start time of reader (constructor which moves arguments).
    Virtuality (abstract base classes) are for enforcing same token type.
    I assumed it's more clear than writen static asserts in code enforcing this.

[Verification]
    - Build with tests and WITH_CHILD ON.
    - $> wrt-commons-tests-test --output=text --regexp='AbstractInputReader_'

Change-Id: Id5262a69945670ddf072e393c43d48ee6fc64e06

10 years agoAdd deprecated mark to "GetDeviceCapability"
Jihoon Chung [Mon, 21 Oct 2013 08:02:41 +0000 (17:02 +0900)]
Add deprecated mark to "GetDeviceCapability"

[Issue#]     LINUXWRT-1020
[Problem]    GlobalDAO has unnecessary API.
[Cause]      N/A
[Solution]   Add deprecated mark to "GetDeviceCapability"
             - FeatureDAOReadOnly::GetDeviceCapability should be used instead of
               GlobalDAOReadOnly::GetDeviceCapability. As GlobalDAOReadyonly
               also doesn't export any APIs, add deprecated mark to construct.

[Verification] Build repos.
[SCMRequest] Depends on https://review.tizendev.org/gerrit/#/c/93615/

Change-Id: I95de4eb2fa1478ea207d9d9089b5c92d8979ff83

10 years agoAdd "GetDeviceCapability" to FeatureDAO
Jihoon Chung [Mon, 21 Oct 2013 07:50:18 +0000 (16:50 +0900)]
Add "GetDeviceCapability" to FeatureDAO

* "GetDeviceCapability" moves from GlobalDAO to FeatureDAO

[Issue#]     LINUXWRT-1020
[Problem]    GlobalDAO has unnecessary API.
[Cause]      N/A
[Solution]   Add GetDeviceCapability to FeatureDAO
             - As GlobalDAO is deprecated, move GetDeviceCapability to FeatureDAO.
             - This commit add new API to FeatureDAO.

[Verification] Build repos.
[SCMRequest] Needed by https://review.tizendev.org/gerrit/#/c/93617/

Change-Id: Idb9cb6f94d258a0d6758ea55b6fc5b86319fb4b3

10 years ago[Release] wrt-commons_0.2.161
sung-su.kim [Mon, 21 Oct 2013 23:35:24 +0000 (08:35 +0900)]
[Release] wrt-commons_0.2.161

Change-Id: I8817be8d46315a5cc7debeba03e05407a3d60d22

10 years agoClean-up GlobalDAO (CookieSharingMode)
Jihoon Chung [Thu, 17 Oct 2013 06:05:39 +0000 (15:05 +0900)]
Clean-up GlobalDAO (CookieSharingMode)

[Issue#]   LINUXWRT-1030
[Problem]  GlobalDAO has unnecessary API.
[Cause]    N/A
[Solution] Remove "CookieSharingMode" API
           - Share cookie between different application.
           - Feature requires by Web contents team to easily login both Gmail and other google service applications.
           - After Webkit supports "save submit form", requirement is unnecessary.
[Verification] Checking API usage
               - No usage
[SCMRequest] N/A

Change-Id: I33eea12e3d63009fdbe4791fadd27efcb9e53a4d

10 years agoClean-up GlobalDAO (SecureByDefault)
Jihoon Chung [Thu, 17 Oct 2013 03:00:05 +0000 (12:00 +0900)]
Clean-up GlobalDAO (SecureByDefault)

[Issue#]   LINUXWRT-1028
[Problem]  GlobalDAO has unnecessary API.
[Cause]    N/A
[Solution] Remove "SecureByDefault" API
           - "SecureByDefault" setting uses for WAC(SP-2067).
             As current Tizen WRT haven't consider supporting WAC, remove code regarding "SecureByDefault".
           - SP-2067 The WRT MUST provide a user-configurable 'secure-by-default' preference to enable installation of widgets
                     that are not distributor-signed, with the default value set to "No".
                     If the user selects "Yes",
                     they MUST be shown a warning explaining the potential dangers of installing unsigned widgets.
[Verification] Checking API usage
               - No usage
[SCMRequest] N/A

Change-Id: Ic444ef99d7c09b7d2d5159c7e95b4465dad00012

10 years ago[Release] wrt-commons_0.2.160
sung-su.kim [Mon, 21 Oct 2013 10:36:07 +0000 (19:36 +0900)]
[Release] wrt-commons_0.2.160

Merge branch 'master' into tizen_2.2

Change-Id: Id52b04850ab0a50590b868473679e66a53a4ec03

10 years agoClean-up GlobalDAO (GetUserAgentValue)
Jihoon Chung [Sat, 12 Oct 2013 05:13:35 +0000 (14:13 +0900)]
Clean-up GlobalDAO (GetUserAgentValue)

[Issue#]   LINUXWRT-1033
[Problem]  GlobalDAO has unnecessary API.
[Cause]    N/A
[Solution] Remove "GetUserAgentValue" API
           - "GetUserAgentValue" is used to store UA strings those were used for demo.
             However UA strings are managed by platform, WRT doesn't need to keep.
[Verification] Checking API usage
               - No usage.
[SCMRequest] N/A

Change-Id: Iad1f3f092205cad790f7e71046570d9187849312

10 years ago[Release] wrt-commons_0.2.160
sung-su.kim [Sun, 20 Oct 2013 23:30:01 +0000 (08:30 +0900)]
[Release] wrt-commons_0.2.160

Change-Id: I710ea3bda81dcd48c4d434afcaf5b962e039e35f

10 years agoClean-up GlobalDAO (HomeNetworkDataUsage)
Jihoon Chung [Thu, 17 Oct 2013 06:22:37 +0000 (15:22 +0900)]
Clean-up GlobalDAO (HomeNetworkDataUsage)

[Issue#]   LINUXWRT-1031
[Problem]  GlobalDAO has unnecessary API.
[Cause]    N/A
[Solution] Remove "HomeNetworkDataUsage" API
           - This kind of setting should directly use platform setting.
[Verification] Checking API usage.
               - once in WRT https://review.tizendev.org/gerrit/#/c/93298/
[SCMRequest] Must be imported with https://review.tizendev.org/gerrit/#/c/93298/

Change-Id: I295817a6198fedb9ccc5002496fc44887c07501c

10 years agoClean-up GlobalDAO (WhiteURIList)
Jihoon Chung [Thu, 17 Oct 2013 04:54:21 +0000 (13:54 +0900)]
Clean-up GlobalDAO (WhiteURIList)

[Issue#]   LINUXWRT-1029
[Problem]  GlobalDAO has unnecessary API.
[Cause]    N/A
[Solution] Remove "WhiteURIList" API
           - Tizen WRT doesn't support external uri(http, https) to use tizen web api.
           - Specially, uri which is declared in "WhiteURIList" allows to use tizen web api.
           - "WhiteURIList" supports long time ago, current tizen web api policy doesn't have external uri case.
           - Moreover, "WhiteURIList" needs new policy of ACE work-flow that change pkgID base to domain(external uri) base.
           As these reasons, remove "WhiteURIList"
[Verification] Checking API usage
               - API is used in the WRT repo to check "WhiteURIList" to allow tizen web api in external uri.
                 https://review.tizendev.org/gerrit/#/c/93252/
[SCMRequest] Must be imported with https://review.tizendev.org/gerrit/#/c/93252/

Change-Id: Iadd72d2ae35cb60b2f44abbf8f472c8bc2ed2b82

10 years ago[Release] wrt-commons_0.2.159
sung-su.kim [Thu, 17 Oct 2013 01:14:32 +0000 (10:14 +0900)]
[Release] wrt-commons_0.2.159

Change-Id: Ia8072722fa47ede92ef8fc941ddbb8718e9ee2ed

10 years agoRemove "unused.h"
Jihoon Chung [Wed, 16 Oct 2013 05:13:25 +0000 (14:13 +0900)]
Remove "unused.h"

[Issue#]     LINUXWRT-1016
[Problem]    Remove "unused.h"
[Cause]      DPL_UNUSED & DPL_UNUSED_PARAM macro move to availability.h.
             As unused.h doesn't contain any methods or macro, need to clean-up
[Solution]   Remove "unused.h"
[Verification] Build wrt repos
[SCMRequest] N/A

Change-Id: I08cd8a9d14284167690423b68bed26bcc8043429

10 years agoAdd deprecated mark to unnecessary GlobalDAO method
Jihoon Chung [Tue, 15 Oct 2013 01:05:48 +0000 (10:05 +0900)]
Add deprecated mark to unnecessary GlobalDAO method

[Issue#]     LINUXWRT-1021
[Problem]    GlobalDAO has unnecessary method.
[Cause]      N/A
[Solution]   Add deprecated mark.
             - SetSecureByDefault, GetSecureByDefault
             - GetWhiteURIList, AddWhiteURI, RemoveWhiteURI
             - GetCookieSharingMode, SetCookieSharingMode
             - GetHomeNetworkDataUsage, SetHomeNetworkDataUsage
             - GetRoamingDataUsage, SetRoamingDataUsage
             - GetUserAgentValue
             - GlobalDAO
[Verification] Build wrt repos
[SCMRequest] N/A

Change-Id: I1f146cfac3ddd6359b4f0a703000b5830f1f6264

10 years agoRemove warning during building process
Maciej Piotrowski [Fri, 11 Oct 2013 10:06:56 +0000 (12:06 +0200)]
Remove warning during building process

    [Issue#]     LINUXWRT-1002
    [Problem]    Warning was displayed during building process
    [Cause]      Deprecated version of method:
                 PropertyDAOReadOnly::GetPropertyList(DbWidgetHandle)
    [Solution]   Use non deprecated version of method:
                 PropertyDAOReadOnly::GetPropertyList(TizenAppId)
    [Verification] Build repository.
    [SCMRequest] N/A

Change-Id: Id3f59e450ee6cd50a862299aae303f982f10b3a3

10 years agoRemove warning during building process
Maciej Piotrowski [Fri, 11 Oct 2013 08:53:27 +0000 (10:53 +0200)]
Remove warning during building process

    [Issue#]     LINUXWRT-1004
    [Problem]    Warning was displayed during building process
    [Cause]      Members initialization order was wrong in constructor
                 DPL::ZipInput::ZipInput (modules/core/src/zip_input.cpp)
    [Solution]   Set proper initialization order, like it is defined in
                 modules/core/include/dpl/zip_input.h
    [Verification] Build repository.
    [SCMRequest] N/A

Change-Id: Icd8cc3c83b22c9b4a470d2bf5b1ec01d97cdb049

10 years ago[Release] wrt-commons_0.2.158
sung-su.kim [Tue, 15 Oct 2013 04:56:23 +0000 (13:56 +0900)]
[Release] wrt-commons_0.2.158

Merge branch 'master' into tizen_2.2

Change-Id: I69036ba939f0632c41518b83dfbdd5b87aadbc2c

10 years ago[Release] wrt-commons_0.2.158
sung-su.kim [Tue, 15 Oct 2013 00:41:36 +0000 (09:41 +0900)]
[Release] wrt-commons_0.2.158

Change-Id: I5af4759ed92904616a342e8507e1270314c16618

10 years agoGrant Installer application access to WRT I18N DB
Zbigniew Kostrzewa [Tue, 8 Oct 2013 10:33:39 +0000 (12:33 +0200)]
Grant Installer application access to WRT I18N DB

[Issue#]   WGL-560, WGL-563
[Problem]  Installation of test widgets included in above issues fail
[Cause]    Installer application does not have access to WRT I18N DB
[Solution] Since there is no way to add appropriate permissions to
Installer application from WRT and having in mind that WRT I18N DB does
not contain any sensitive data it has been decided to grant access to
this DB to the whole "world" (by setting "*" SMACK label on this DB).

[Verification]
1. Build repository.
2. Install widgets from WGL-560 using wrt-installer launched directly in
command line.

Change-Id: I214f83aa2bcae8de5cba48953d0d0237a54d60e8

10 years agoRemove DPL::AutoPtr
Jihoon Chung [Fri, 11 Oct 2013 04:42:55 +0000 (13:42 +0900)]
Remove DPL::AutoPtr

[Issue#]       LINUXWRT-1012
[Issue#]       N/A
[Problem]      DPL::AutoPtr should replace to use standard library.
[Cause]        After C++11 is enabled, std::unique_ptr and std::shared_ptr is available.
               DPL::AutoPtr isn't necessary to exist in the DPL.
[Solution]     Remove DPL::AutoPtr
[Verification] Build packages those have dependecy with wrt-commons.
               * cert-svc uses AutoPtr which is implemented in own package.
[SCMRequest] N/A

Change-Id: I100f4075e37ebf3c1b88f96f96cfc6d0901af666

10 years agoReplace "dpl/unused.h" to "dpl/availability.h"
Jihoon Chung [Mon, 14 Oct 2013 02:11:39 +0000 (11:11 +0900)]
Replace "dpl/unused.h" to "dpl/availability.h"

[Issue#]     LINUXWRT-1015
[Problem]    To create common header for various macro, "dpl/availability.h" is added.
             Old macro usage case should replace to use new header.
[Cause]      N/A
[Solution]   DPL_UNUSED and DPL_UNUSED_PARAM macro move to "dpl/availability.h"
[Verification] Build package.
[SCMRequest] N/A

Change-Id: Ia64718c7083bbf6843e9864d4d5693ead7693b53

10 years agoWarning fix
Slawomir Pajak [Fri, 11 Oct 2013 09:19:49 +0000 (11:19 +0200)]
Warning fix

[Issue#]       LINUXWRT-1003
[Problem]      Warning during building wrt-commons in
               property_dao_read_only.cpp file
[Cause]        Function visible outside and not declared in header file
[Solution]     Function moved to anonymous namespace because it's used
               only internally.
[Verification] Observe no warning during building
               property_dao_read_only.cpp

Change-Id: I9587eaf123a4779b3b13383ad658009075027589

10 years agoMove DPL_UNUSED & DPL_UNUSED_PARAM unused.h to availability.h #1
Jihoon Chung [Thu, 10 Oct 2013 12:14:04 +0000 (21:14 +0900)]
Move DPL_UNUSED & DPL_UNUSED_PARAM unused.h to availability.h #1

 * Task seperates two part
  1. Add DPL_UNUSED & DPL_UNUSED_PARAM to availability.h
  2. Remove unused.h after replace usage

[Issue#]       LINUXWRT-1016
[Problem]      Common header to support various macro for availability property is added
[Cause]        N/A
[Solution]     First part commit
               - Add DPL_UNUSED and DPL_UNUSED_PARAM to availability.h
               - All macro usage will replace from unused.h to availability.h
[Verification] Build all wrt packages
[SCMRequest]   N/A

Change-Id: I329e317e9733aaf52ab9b16473ea88ede4fdc59d

10 years ago[Release] wrt-commons_0.2.157
sung-su.kim [Fri, 11 Oct 2013 08:26:44 +0000 (17:26 +0900)]
[Release] wrt-commons_0.2.157

Merge branch 'master' into tizen_2.2

Change-Id: I8b2fd825715fdfd7f639383066bb1e2f356d5ad9

10 years ago[Release] wrt-commons_0.2.157
sung-su.kim [Fri, 11 Oct 2013 04:36:13 +0000 (13:36 +0900)]
[Release] wrt-commons_0.2.157

Change-Id: I429e43dc3074a282700fb4c12b3cb0669ff83efb

10 years agoAdd deprecated mark to "DPL::AutoPtr"
Jihoon Chung [Thu, 10 Oct 2013 11:51:35 +0000 (20:51 +0900)]
Add deprecated mark to "DPL::AutoPtr"

[Issue#]     N/A
[Problem]    DPL::AutoPtr should replace to use standard library.
[Cause]      After C++11 is enabled, std::unique_ptr and std::shared_ptr is available.
             DPL::AutoPtr isn't necessary to exist in the DPL.
[Solution]   To announce deprecated, add DPL_DEPRECATED macro to constructor.
[SCMRequest] N/A

Change-Id: Ic715039cb67cbd5295d7ba6e1768af1f876c0a35

10 years agoMerge "Replace DPL::AutoPtr usage (Warp_iri.cpp)"
HOSEON LEE [Fri, 11 Oct 2013 03:03:17 +0000 (03:03 +0000)]
Merge "Replace DPL::AutoPtr usage (Warp_iri.cpp)"

10 years ago[Release] wrt-commons_0.2.156
sung-su.kim [Fri, 11 Oct 2013 01:35:50 +0000 (10:35 +0900)]
[Release] wrt-commons_0.2.156

Change-Id: I5efe98d8ee1da6c8ee84acd88c9d82062b5d082b

10 years agoAdd DPL_DEPRECATED macro
Jihoon Chung [Wed, 9 Oct 2013 06:36:23 +0000 (15:36 +0900)]
Add DPL_DEPRECATED macro

[Issue#]     N/A
[Problem]    WRT doesn't have any MACRO to show deprecated build warning.
[Cause]      N/A
[Solution]   Add macro for showing build warning. (DPL_DEPRECATED, DPL_DEPRECATED_WITH_MESSAGE(msg))
             - Macro uses gcc attribute
               __attribute__((deprecated)), __attribute__((deprecated("msg")))
               The deprecated attribute results in a warning if the function is used anywhere in the source file.
               This is useful when identifying functions that are expected to be removed in a future version of a program.
               The warning also includes the location of the declaration of the deprecated function,
               to enable users to easily find further information about why the function is deprecated,
               or what they should do instead.
               The deprecated attribute can also be used for variables and types. (Variable Attributes, Type Attributes)
               http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Function-Attributes.html#Function%20Attributes
[SCMRequest] N/A

Change-Id: I2d79d8cacff3593c2bba8ea048d9a4025c6f4994

10 years agoReplace DPL::AutoPtr usage (Warp_iri.cpp)
Jihoon Chung [Tue, 8 Oct 2013 14:04:02 +0000 (23:04 +0900)]
Replace DPL::AutoPtr usage (Warp_iri.cpp)

[Issue#]     N/A
[Problem]    DPL::AutoPtr should replace to use standard library.
[Cause]      After C++11 is enabled, std::unique_ptr and std::shared_ptr is available.
             DPL::AutoPtr isn't necessary to exist in the DPL.
[Solution]   DPL::AutoPtr -> std::unique_ptr, std::shared_ptr
             - Warp_iri.cpp uses DPL::AutoPtr to create iri_struct by iri_parse and iri_destory.
               Replace usage to use std::unique_ptr.
[SCMRequest] N/A

Change-Id: Id4582f21e916661bd8c1d07ad1e5dd0e52b36823

10 years ago[Release] wrt-commons_0.2.155
sung-su.kim [Fri, 4 Oct 2013 00:33:02 +0000 (09:33 +0900)]
[Release] wrt-commons_0.2.155

Change-Id: I4143f8d5fcb21d639819d068af4c955c93c362ec

10 years ago[Release] wrt-commons_0.2.154
sung-su.kim [Wed, 2 Oct 2013 04:16:39 +0000 (13:16 +0900)]
[Release] wrt-commons_0.2.154

Merge branch 'master' into tizen_2.2

Change-Id: Idd715c2a37103bfb29f11aa59664d62cc4287a43

10 years agoRemove unnecessary steps for QEMU installation
Slawomir Pajak [Tue, 1 Oct 2013 11:29:19 +0000 (13:29 +0200)]
Remove unnecessary steps for QEMU installation

[Issue#]   LINUXWRT-971
[Problem]  Message "pkill: command not found" when building WRT
[Cause]    wrt.db is reset and created during wrt installation (on QEMU)
[Solution] Remove steps connected to wrt.db from installation
           when QEMU detected. Detection is based on existence of
           EMULATOR_ARCHS value

[Verification] Build WRT repository and check if warning is not present

Change-Id: I00bba27c95c87f2b31668a90a7262ca42c9bf2af

10 years ago[Release] wrt-commons_0.2.154
sung-su.kim [Mon, 30 Sep 2013 02:43:58 +0000 (11:43 +0900)]
[Release] wrt-commons_0.2.154

Change-Id: Ia534f37d94b7479fcea8fa95a3b4678908fb0c9b

10 years agoUpdate package spec file for license
Zbigniew Kostrzewa [Fri, 27 Sep 2013 10:28:24 +0000 (12:28 +0200)]
Update package spec file for license

[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: I74caf00a8bc9c13701ef367fa1f3bc908a65af68

10 years agoUpdate package spec file for license
Zbigniew Kostrzewa [Fri, 27 Sep 2013 10:28:24 +0000 (12:28 +0200)]
Update package spec file for license

[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: I81c17ee638219a7953407ff19b23f1c29a8347ff

10 years ago[Release] wrt-commons_0.2.153
sung-su.kim [Fri, 27 Sep 2013 00:27:37 +0000 (09:27 +0900)]
[Release] wrt-commons_0.2.153

Merge branch 'master' into tizen_2.2

Conflicts:
modules/test/src/test_runner_multiprocess.cpp
modules/utils/include/dpl/utils/path.h
modules/utils/src/path.cpp
packaging/wrt-commons.spec
tests/utils/path_tests.cpp

Change-Id: If0e534dbd637f5bd9c6e7ca37f3d949052a66aab

10 years ago[Release] wrt-commons_0.2.153
sung-su.kim [Sun, 22 Sep 2013 23:52:52 +0000 (08:52 +0900)]
[Release] wrt-commons_0.2.153

Change-Id: Ifeac87cca2b6d148b25548717e9e1d2f2657e6cb

10 years agoFix Prevent issue. Reduce number of Ignored issues.
Zbigniew Kostrzewa [Fri, 20 Sep 2013 05:43:20 +0000 (07:43 +0200)]
Fix Prevent issue. Reduce number of Ignored issues.

[Issue#]   CID: 12114
[Problem]  Return value not checked
[Cause]    Function returns a value which is not checked
[Solution] Check the returned value and log error if one occurred

[Verification] Build repository

Change-Id: If7c8ef9f8c7682830efa741a9d814438bb7ebe2d

10 years agoFix Prevent issue. Reduce number of Ignored issues.
Zbigniew Kostrzewa [Fri, 20 Sep 2013 06:09:16 +0000 (08:09 +0200)]
Fix Prevent issue. Reduce number of Ignored issues.

[Issue#]   CID: 12645
[Problem]  Wrong exception message
[Cause]    Copy-paste error probably
[Solution] Fix exception message

[Verification] Build repository

Change-Id: I76e8fa66262e89815f6676a6432c165b13f9c021

10 years agoFix building the package with GCC-4.8
Grzegorz Rynkowski [Fri, 20 Sep 2013 09:23:56 +0000 (11:23 +0200)]
Fix building the package with GCC-4.8

[Problem]      The package cannot be built with gcc-4.8.
[Cause]        Missing #include statements.
[Solution]     Add the missing #include statements.
[Verification] Build package both with current (GCC-4.5) and (GCC-4.8)
               version of compiler.
[SCMRequest]   N/A

Change-Id: I1c8ec9183989e0099a229b55014f83c2119ed458

10 years agoAdd function getting uncompressed size at zip file.
Soyoung Kim [Fri, 13 Sep 2013 08:53:01 +0000 (17:53 +0900)]
Add function getting uncompressed size at zip file.

    * wrt-installer should be able to check low memory at installation time

[Issue#]   WGL-299
[Problem]  There is no function to get uncompressed size.
[Cause]    N/A
[Solution] Uncompressed size can be calcuated before unzip during installation.

[SCMRequest] N/A

Change-Id: I403242b0af066fd22826843095fea12ce95370bb

10 years agoAdd DPL_UNUSED_PARAM macro
Jihoon Chung [Thu, 19 Sep 2013 09:12:42 +0000 (11:12 +0200)]
Add DPL_UNUSED_PARAM macro

[Issue]    LINUXWRT-901
[Problem]  Build warning.
[Cause]    Caused by unused parameter.
[Solution] Add macro casted to void.

Change-Id: Ib9f55567a3c3876a5ab94c4230b75eb54b60942f

10 years agoDir operation duplications clean up.
Maciej Piotrowski [Fri, 9 Aug 2013 06:59:43 +0000 (08:59 +0200)]
Dir operation duplications clean up.

[Issue#]   LINUXWRT-717
[Problem]  Dir operation duplications.
[Cause]    N/A
[Solution] Functionality from
            - wrt-installer/src/jobs/widget_install/directory_api.*
            - wrt-installer/src/jobs/widget_install/task_common.*
            was transferred to wrt-commons/modules/utils/src/path.cpp

[Verification] Build repository, install/uninstall widgets,
create test case for added method DPL::Utils::CreateTempPath, run tests.

Change-Id: Ia1a18a1c301ead904674197bc51705e53546ed55

10 years ago[Release] wrt-commons_0.2.152
sung-su.kim [Wed, 11 Sep 2013 01:32:14 +0000 (10:32 +0900)]
[Release] wrt-commons_0.2.152

Change-Id: Iac7ee7ec54aa39b519e7ba1b1dedc170524c955a

10 years ago[Release] wrt-commons_0.2.152
sung-su.kim [Sun, 8 Sep 2013 23:19:51 +0000 (08:19 +0900)]
[Release] wrt-commons_0.2.152

Change-Id: I9536e807a7d34e8918e5b091313b3d2b34893110

10 years agoFix building the package with GCC-4.8
Grzegorz Rynkowski [Wed, 4 Sep 2013 08:56:19 +0000 (10:56 +0200)]
Fix building the package with GCC-4.8

[Problem]      The package cannot be built with gcc-4.8.
[Cause]        Missing #include statement.
[Solution]     Add the missing #include statement.
[Verification] Build package both with current (GCC-4.5) and new
(GCC-4.8) version of compiler.

Change-Id: Ic462ffa18b7a41983fc4843e78c56645cf4d5d7d

10 years ago[Release] wrt-commons_0.2.151
sung-su.kim [Wed, 4 Sep 2013 06:57:58 +0000 (15:57 +0900)]
[Release] wrt-commons_0.2.151

Change-Id: Ib018f8e7921446fb4430f5f60eb189ef55ffef79

10 years ago[Release] wrt-commons_0.2.151
sung-su.kim [Sun, 1 Sep 2013 23:59:35 +0000 (08:59 +0900)]
[Release] wrt-commons_0.2.151

Change-Id: Ia3b312058df2171e2c28de963a0d58b5d59308b0

10 years agoAdding test case type RUNNER_MULTIPROCESS_TEST.
Marcin Niesluchowski [Tue, 13 Aug 2013 10:36:19 +0000 (12:36 +0200)]
Adding test case type RUNNER_MULTIPROCESS_TEST.

Running many processes in one test case would work fine on those rules.
* Using wait(), waitpid(), waitid() functions within test case body is forbidden
(waiting for child processes is handeled by framework).
* Process exiting properly should exit only 0.
* Communication by signals is forbidden - signals could be cought by parent and
  ignored.

Tests also provided. To run them build this flags below and run them as
wrt-commons-tests-test --output=text --runignored .
  flags:  --define "WITH_TESTS ON" --define "WITH_CHILD ON"
All tests from DPL_TESTS_TEST_MULTIPROCESS group should pass.

[Issue#]        SSDWSSP-438
[Bug/Feature]   Calling fork() inside RUNNER_TEST causes errors for whole process
                group while failed or ignored. Additional path for each redundant
                failed process is created.
[Cause]         N/A
[Solution]      Creating test case type controlling processes.
[Verification]  Applying it to failing multiprocess tests. All errors should
                be collected as one and no additional process should run after
                test case ends.

Change-Id: I371528de102def369107cab3c5cffe0b2f53e9e5

10 years agoAdd suffix path for manifest and recovery
Soyoung Kim [Wed, 28 Aug 2013 09:29:43 +0000 (18:29 +0900)]
Add suffix path for manifest and recovery

[Issue#]   N/A
[Problem]  No suffix for the path of manifest.
[Cause]    N/A
[Solution] add path for save manifest of pkgmgr.
             - nomal path : "/opt/share/packages"
             - preload path : "/usr/share/packages"

           add path for checking recovery status
            - "/opt/share/packages/.recovery/wgt"

[SCMRequest] N/A

Change-Id: I560b5341141caff96bedd8f6f52a6112d8f380a1

10 years agoMutableTaskList type for wrt-installer JobWidgetInstall
Tomasz Iwanek [Tue, 27 Aug 2013 11:22:50 +0000 (13:22 +0200)]
MutableTaskList type for wrt-installer JobWidgetInstall

[Issue#]       LINUXWRT-820
[Feature]      Muable task list class
[Cause]        There is need to modify list of tasks during running
[Solution]     New task list type
[Verification] Build repo. Test together with commit from wrt-installer.

Change-Id: I543144b5c1a6921e9928a9bcd59171965693459c

10 years agoDPL Path - Extension method
Tomasz Iwanek [Mon, 19 Aug 2013 08:59:00 +0000 (10:59 +0200)]
DPL Path - Extension method

[Issue#]       WGL-428
[Bug]          No way to get file extension
[Cause]        Extension() function is needed for wrt installer
[Solution]     Add function and test case
[Verification] Run tests: wrt-commons-tests-utils --output=text --regexp="path_"

Change-Id: I8a2a889303f0278471b283044e5acfd634963622

10 years agoAdd ExistsAndIsFile() and ExistsAndIsDir() in DPL::Utils::Path
Kamil Nowac [Thu, 22 Aug 2013 08:18:30 +0000 (10:18 +0200)]
Add ExistsAndIsFile() and ExistsAndIsDir() in DPL::Utils::Path

[Issue#]   N/A
[Problem]  Not provided functions for Exists _AND_ IsFile/Dir check.
[Cause]    Because of throws in IsFile() and IsDir() functions,
           there are difficulties to use them in conditional statements.
           Sometimes unhandled exception occurs and there is no way to handle it.
[Solution] Added functions: ExistsAndIsFile() and ExistsAndIsDir()
[Verification] 1. Build with --define "WITH_TESTS ON"
               2. Run wrt-commons-tests-utils --output=text --regexp="path_"
[SCMRequest]   Needed by: http://tizendev.org/gerrit/#/c/72690/

Change-Id: If74a9d565c03d52d57ea8f5ebeef9113b3536b97

10 years agoDPL Pipe tests fix
Tomasz Iwanek [Mon, 19 Aug 2013 13:05:12 +0000 (15:05 +0200)]
DPL Pipe tests fix

[Issue#]       N/A
[Bug]          2 tests failing
[Cause]        FlattenConsume function assumes presence of data
[Solution]     Test fix
[Verification] Run: wrt-commons-tests-test --output=text --regexp='ProcessPipe_'

Change-Id: I5bc2e9a9cc1e16ecd76eed7002ba0a35babf41ee

10 years ago[Release] wrt-commons_0.2.150
sung-su.kim [Wed, 21 Aug 2013 02:16:16 +0000 (11:16 +0900)]
[Release] wrt-commons_0.2.150

Change-Id: I9792c0fd9658892a03d11597c324f3eda2a5b010

10 years ago[Release] wrt-commons_0.2.150
sung-su.kim [Tue, 20 Aug 2013 23:40:26 +0000 (08:40 +0900)]
[Release] wrt-commons_0.2.150

Change-Id: Ib9429e5f0e1f0396e86258ccbc86ff0d5989a4eb

10 years agoFix RUNNER_CHILD_TEST framework.
Lukasz Marek [Fri, 2 Aug 2013 13:51:11 +0000 (15:51 +0200)]
Fix RUNNER_CHILD_TEST framework.

Fixes:
 * Add support for Ignore macro in child process. Now parent process
   print result in corrent way.
 * Fix SIGPIPE problem when test process want to use function write with stdout
   or stderr in RUNNER_CHILD_TEST. (Problem occures only when
   environment value DPL_USE_OLD_STYLE_LOGS=1 was defined).

[Issue#]   N/A
[Problem]  Macro RUNNER_IGNORE_MSG was not allowed in child test process.
           Call write(stdout, ...) in RUNNER_CHILD_TEST cause SIGPIPE.
[Cause]    Lack of support exception "TestRunner::Ignored"
           Lack of stdout and stderr descriptor in child process.
[Solution] Add support for Exception "TestRunner::Ignored" in RUNNER_CHILD_TEST

Change-Id: I7f69972ed6d2f6fea16584058c29acd9c8f0a27a

10 years ago[Release] wrt-commons_0.2.149
sung-su.kim [Sun, 18 Aug 2013 23:45:25 +0000 (08:45 +0900)]
[Release] wrt-commons_0.2.149

Change-Id: If449781c1185db56adeaf35f5215ebd9d5215257

10 years agoFixed an issue related to multiple database connection
Jihoon Chung [Sat, 17 Aug 2013 06:01:15 +0000 (15:01 +0900)]
Fixed an issue related to multiple database connection

- As every web application has its own security dao,
  support of multiple DB connections will not be needed.

[Issue#]   N/A
[Problem]  Setting menu shows wrong information with the following steps.
           1. Launch Setting -> Manage applications
           2. Select Web application -> Allow list
           3. Back to Manage applications -> select another Web application
           4. checking Allow list menu
           then, the menu showed the firstly chosen web application information.
[Cause]    Security origin dao is not released even though corresponding dao object is released.
           This causes returning old data when a new dao object is created.
           N.B) Security origin dao uses static value to avoid
                conflict with re-created connection object.
[Solution] Remove static dao value, and clen up old dao code.
           - We originally needed "static value" to support thread locking mechanism.
             But, current web applications don't have separate threads, hence no longer needed.
           - Moreover, sqlite already supports such a conflict through transaction manager.
[SCMRequest] N/A

Change-Id: Ide83f7c8fa63a387e48f0396c3a8febc79409101

10 years ago[Release] wrt-commons_0.2.148
sung-su.kim [Wed, 14 Aug 2013 02:02:10 +0000 (11:02 +0900)]
[Release] wrt-commons_0.2.148

Change-Id: If6fa67044a807e8f5fdca217d5f0d8d4490481e7

10 years ago[Release] wrt-commons_0.2.148
sung-su.kim [Wed, 14 Aug 2013 01:43:51 +0000 (10:43 +0900)]
[Release] wrt-commons_0.2.148

Change-Id: I0bf08fffaabd439f535b25016e10deb31b90099a

10 years agoImplement widget interface DAO library
Jihoon Chung [Fri, 9 Aug 2013 05:33:55 +0000 (14:33 +0900)]
Implement widget interface DAO library

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] As requirment of customer, DAO should create in install time
To support this, widget interface DAO library should move from
wrt-plugins-common to wrt-commons
[SCMRequest] N/A

Change-Id: I744614dd4ba242f2703d66d1dabd5f643628516e

10 years agoOption --only-from-xml for dpl test framework
Tomasz Iwanek [Mon, 5 Aug 2013 08:50:45 +0000 (10:50 +0200)]
Option --only-from-xml for dpl test framework

[Issue#]       LINUXWRT-743
[Feature]      Reading testcase to be launched from TCT xml file
[Cause]        Need for automatic launching only TCT tests.
[Solution]     Additional option for test binary.
Additonal changes:
 - printing number of testcases at startup
 - listing option will take into account --regexp and --only-from-xml
[Verification] Build and run tests from change. Try this change with wrt-extra tests with commit "W3C testcases names adjust for TCT".
Install TCT on target:
 - tct-widget01-w3c
 - tct-widget02-w3c
 - tct-wgtapi01-w3c
 - tct-wgtapi02-w3c
 - tct-widgetpolicy-w3c
 - tct-widgetdigsig-w3c

All commands below should print requested list of tescases from xml file
and do not complain about wrong XML file (note that list option prints now only test
to run (after filtering them)):
 wrt-extra-tests-plugins-w3c --list --only-from-xml=/usr/share/tct-wgtapi02-w3c-tests/tests.xml
 wrt-extra-tests-plugins-w3c --list --only-from-xml=/usr/share/tct-wgtapi01-w3c-tests/tests.xml
 wrt-extra-tests-w3c --list --only-from-xml=/usr/share/tct-widget01-w3c-tests/tests.xml
 wrt-extra-tests-w3c --list --only-from-xml=/usr/share/tct-widget02-w3c-tests/tests.xml
 wrt-extra-tests-w3c-widget-policy --list --only-from-xml=/usr/share/tct-widgetpolicy-w3c-tests/tests.xml
 wrt-extra-tests-w3c-digsig --list --only-from-xml=/usr/share/tct-widgetdigsig-w3c-tests/tests.xml #no testcases anyway

Change-Id: I1b62a5d17dc351c1f763fb1d9a877e1300bc6a9c

10 years ago[Release] wrt-commons_0.2.147
sung-su.kim [Mon, 12 Aug 2013 23:10:53 +0000 (08:10 +0900)]
[Release] wrt-commons_0.2.147

Change-Id: I84ea89be3b9b6641d9d229af8c340297e79d57d5

10 years agoFixed wrong index for app-control
Jihoon Chung [Mon, 12 Aug 2013 07:07:04 +0000 (16:07 +0900)]
Fixed wrong index for app-control

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution]
Data index for appcontrol isn't matched with parser.
WidgetAppControl::Disposition & AppControlInfo::Disposition
[SCMRequest] N/A

Change-Id: I311f1810700bb1308fd447a9d9d77946fd51e4e2

10 years ago[Release] wrt-commons_0.2.146
sung-su.kim [Sun, 11 Aug 2013 23:25:30 +0000 (08:25 +0900)]
[Release] wrt-commons_0.2.146

Change-Id: I3949d64e9358ae592edab698b3865ea5127cff1e

10 years agoImplement disposition element parser
Jihoon Chung [Sun, 4 Aug 2013 09:39:38 +0000 (18:39 +0900)]
Implement disposition element parser

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Implement disposition element parser
disposition element is sub-element of tizen:app-control.
element name : tizen:disposition
value :
  inline - application running with submode
  window - application running with normal state
example :
  <tizen:app-control>
    <tizen:src name="test.html"/>
    <tizen:operation name="http://tizen.org/appcontrol/operation/test"/>
    <tizen:disposition name="inline"/>
  </tizen:app-control>
dispostion element requires platform level
[SCMRequest] N/A

Change-Id: Ia957cd0f5921e3a3ab25eb6394395c00f951de82

10 years ago[Release] wrt-commons_0.2.145 2.2_release submit/tizen_2.2/20130814.091936 submit/tizen_2.2/20130814.102524
sung-su.kim [Thu, 8 Aug 2013 07:49:59 +0000 (16:49 +0900)]
[Release] wrt-commons_0.2.145

Change-Id: I4170a5758cb1be46059f4cf4e744df2afb106a6a

10 years ago[Release] wrt-commons_0.2.145
sung-su.kim [Wed, 7 Aug 2013 23:52:38 +0000 (08:52 +0900)]
[Release] wrt-commons_0.2.145

Change-Id: I47b8e712df981cfa13f010ba5942bf055f042675

10 years agoRemove deprecated API
Jihoon Chung [Sun, 4 Aug 2013 07:36:55 +0000 (16:36 +0900)]
Remove deprecated API

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

Change-Id: I3a95aea130764378bc651b12ea7bc7b3cb885b82

10 years agoAdd the cflag about feature of USER/ENG binary.
Soyoung Kim [Wed, 7 Aug 2013 05:41:48 +0000 (14:41 +0900)]
Add the cflag about feature of USER/ENG binary.

[Issue#] N/A
[Problem] can't display dlog.
[Cause] N/A
[Solution] Add TIZEN_ENGINEER_MODE.
[SCMRequest] N/A

Change-Id: I2bf39cf8e8dd5190978b8e88d21617c522284a37

10 years ago[Release] wrt-commons_0.2.144
sung-su.kim [Mon, 5 Aug 2013 23:16:16 +0000 (08:16 +0900)]
[Release] wrt-commons_0.2.144

Change-Id: If15599918a037f91a363b51bf38fbeaa74a1e140

10 years agoAdd default tag to secure_log
Jihoon Chung [Mon, 22 Jul 2013 06:13:23 +0000 (15:13 +0900)]
Add default tag to secure_log

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add default define for LOG_TAG
[SCMRequest] N/A

Change-Id: I46138fa430f1a0e63906e1506563fff4ae546c81

10 years ago[Release] wrt-commons_0.2.143
sung-su.kim [Sun, 4 Aug 2013 23:42:00 +0000 (08:42 +0900)]
[Release] wrt-commons_0.2.143

Change-Id: I2fdbb01c44d2770d1c9163c37126a147c0bcc53b

10 years agoAdd widgetDAO API to update tizen application id field
Jihoon Chung [Sun, 4 Aug 2013 07:56:49 +0000 (16:56 +0900)]
Add widgetDAO API to update tizen application id field

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution]
Add updateTizenAppId WidgetDAO API
Deprecated registerOrUpdateWidget, backupAndUpdateWidget and
restoreUpdateWidget.
[SCMRequest] N/A

Change-Id: Iac505db9a7934741071fb8ca1657fac4738dd96f

10 years agoClean-up widget dao
Jihoon Chung [Tue, 30 Jul 2013 05:26:55 +0000 (14:26 +0900)]
Clean-up widget dao

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution]
Remove deprecated API
Add getPkgId API
[SCMRequest] N/A

Change-Id: I8bd69e6339111217d800bd8777ceeb91bf5031d5