platform/core/appfw/manifest-parser.git
7 years agoRelease version 1.7.0 61/113961/1 accepted/tizen/common/20170209.122551 accepted/tizen/ivi/20170210.004236 accepted/tizen/mobile/20170210.003944 accepted/tizen/tv/20170210.004037 accepted/tizen/unified/20170309.032555 accepted/tizen/wearable/20170210.004131 submit/tizen/20170209.083108 submit/tizen_unified/20170308.100406
Sangyoon Jang [Thu, 9 Feb 2017 10:57:57 +0000 (19:57 +0900)]
Release version 1.7.0

Changes:
 - Fix memory leaks
 - Add 0 for patch and minor version if it is not provided
 - Fix code style

Change-Id: Ib393853754a71b3138eb8f2148f687d5ecb5da2f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoStyle check 20/112520/2
Piotr Ganicz [Fri, 13 Jan 2017 12:49:52 +0000 (13:49 +0100)]
Style check

Change-Id: I3eff062b27fe7b39a35670398a307a0a233d81be

7 years agoAdd 0 for patch and minor version if it is not provided 07/112307/4
Junghyun Yeon [Tue, 31 Jan 2017 05:41:22 +0000 (14:41 +0900)]
Add 0 for patch and minor version if it is not provided

- Tizen version policy doesn't display patch version if it is 0.
But user can "type" it into api-version of application and it cause
compare issue on VersionNumber class.
- So add 0 as patch or minor version if it is not provided by default

Change-Id: Ic21e16d3cf8642b89ab98bedd79bbe529dde2df8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix memory leak 18/112118/1
Sangyoon Jang [Thu, 26 Jan 2017 05:48:37 +0000 (14:48 +0900)]
Fix memory leak

Change-Id: I78d70a861a0d252ee792cf7008f654e89373c729
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease Version 1.6.0 01/111001/2 accepted/tizen/common/20170125.112815 accepted/tizen/ivi/20170119.222132 accepted/tizen/mobile/20170119.221625 accepted/tizen/tv/20170119.221907 accepted/tizen/wearable/20170119.222023 submit/tizen/20170119.070147
jongmyeongko [Thu, 19 Jan 2017 06:44:45 +0000 (15:44 +0900)]
Release Version 1.6.0

Changes:
- Remove Profile Build Dependency (trivial)

the changes are not signicant but let's start new minor version
as the first relase version.

Change-Id: I4a24c718eead09cc6db01aff42be14d8bbe94254
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoMake the library version to be same as the pakcage version 98/110998/2
jongmyeongko [Thu, 19 Jan 2017 06:41:42 +0000 (15:41 +0900)]
Make the library version to be same as the pakcage version

Change-Id: I72186c5353b8458e80759ec218edc8c7567bd6eb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRemove Profile Build Dependency (trivial) 50/97350/3 accepted/tizen/3.0/common/20170131.161746 accepted/tizen/3.0/ivi/20170131.090415 accepted/tizen/3.0/mobile/20170131.090322 accepted/tizen/3.0/tv/20170131.090347 accepted/tizen/3.0/wearable/20170131.090401 submit/tizen_3.0/20170131.015755
MyungJoo Ham [Mon, 14 Nov 2016 02:40:46 +0000 (11:40 +0900)]
Remove Profile Build Dependency (trivial)

- This is for Tizen 4.0

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros)

- The profile macro that creates TIZEN_* definition in the code is useless
because no one is using it:

manifest-parser$ grep -r "TIZEN_" *
CMakeLists.txt:ADD_DEFINITIONS("-DTIZEN_VERSION=\"${TIZEN_VERSION}\"")
CMakeLists.txt:IF(TIZEN_PROFILE STREQUAL "tv")
CMakeLists.txt:  ADD_DEFINITIONS("-DTIZEN_TV")
CMakeLists.txt:ELSEIF(TIZEN_PROFILE STREQUAL "mobile")
CMakeLists.txt:  ADD_DEFINITIONS("-DTIZEN_MOBILE")
CMakeLists.txt:ELSEIF(TIZEN_PROFILE STREQUAL "wearable")
CMakeLists.txt:  ADD_DEFINITIONS("-DTIZEN_WEARABLE")
packaging/manifest-parser.spec:         -DTIZEN_VERSION=%{tizen_version} \
packaging/manifest-parser.spec:         -DTIZEN_PROFILE=%{profile}
manifest-parser$

Change-Id: I560c08a864e9a3c2b8e9c96c5b01fe871b505dcf
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoallow space after [.] in application-id for backward compatability. 48/103548/2 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.121654 accepted/tizen/3.0.m2/tv/20170104.122403 accepted/tizen/3.0.m2/wearable/20170104.122746 accepted/tizen/3.0/common/20161212.060244 accepted/tizen/3.0/ivi/20161212.022739 accepted/tizen/3.0/mobile/20161212.022425 accepted/tizen/3.0/tv/20161212.022635 accepted/tizen/3.0/wearable/20161212.022708 accepted/tizen/common/20170110.085244 accepted/tizen/ivi/20170106.103700 accepted/tizen/mobile/20170106.103501 accepted/tizen/tv/20170106.103544 accepted/tizen/wearable/20170106.103622 submit/tizen/20170105.051706 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161209.072525
jongmyeongko [Thu, 8 Dec 2016 15:01:01 +0000 (00:01 +0900)]
allow space after [.] in application-id for backward compatability.

Change-Id: I9904adf4bcc6dea987551c77c153e27645d1c470
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRemove 'return' in void method 72/99672/1 accepted/tizen/3.0/common/20161125.101737 accepted/tizen/3.0/ivi/20161125.081917 accepted/tizen/3.0/mobile/20161125.081415 accepted/tizen/3.0/tv/20161125.081724 accepted/tizen/3.0/wearable/20161125.081829 submit/tizen_3.0/20161124.130849
Damian Pietruchowski [Wed, 23 Nov 2016 14:17:34 +0000 (15:17 +0100)]
Remove 'return' in void method

Change-Id: I91e7f86271d9dd23292495dde06a8cea90ce1f74
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years agoFix CMakeLists.txt 71/98171/2 accepted/tizen/3.0/common/20161118.192959 accepted/tizen/3.0/ivi/20161118.004149 accepted/tizen/3.0/mobile/20161118.004015 accepted/tizen/3.0/tv/20161118.004105 accepted/tizen/3.0/wearable/20161118.004128 accepted/tizen/common/20161125.095152 accepted/tizen/ivi/20161125.004147 accepted/tizen/mobile/20161125.003611 accepted/tizen/tv/20161125.003911 accepted/tizen/wearable/20161125.004034 submit/tizen/20161124.000829 submit/tizen_3.0/20161117.054138
Sangyoon Jang [Wed, 16 Nov 2016 10:26:53 +0000 (19:26 +0900)]
Fix CMakeLists.txt

To make extendible for adding source & header files.

Change-Id: I343a965ef8e84950c711ec7ef0e179c1b1a7dbe1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoExceptions for truncating attributes 76/90876/2 accepted/tizen/3.0/common/20161114.082632 accepted/tizen/3.0/ivi/20161110.015541 accepted/tizen/3.0/mobile/20161110.015247 accepted/tizen/3.0/tv/20161110.015420 accepted/tizen/3.0/wearable/20161110.015510 submit/tizen_3.0/20161107.133644 submit/tizen_3.0_common/20161110.084657
Tomasz Iwanek [Tue, 4 Oct 2016 14:22:09 +0000 (16:22 +0200)]
Exceptions for truncating attributes

Default maximum value of attribute value length should not
be applied in some cases. This commit adds filter for these
cases.

Change-Id: Ia9ed6bf77cdc460b5caab0fb74364d6b9c054956

8 years agoRemove dead code 47/91447/1
Tomasz Iwanek [Fri, 7 Oct 2016 12:42:32 +0000 (14:42 +0200)]
Remove dead code

Change-Id: Id9ef3d8d1fb26a4007524042be9e5d61f22dbc4b

8 years agoUnit test for iri_util 76/88276/4 accepted/tizen/3.0/ivi/20161011.050554 accepted/tizen/3.0/mobile/20161015.033634 accepted/tizen/3.0/tv/20161016.005210 accepted/tizen/3.0/wearable/20161015.083535 accepted/tizen/common/20160920.131749 accepted/tizen/ivi/20160920.231552 accepted/tizen/mobile/20160920.231425 accepted/tizen/tv/20160920.231516 accepted/tizen/wearable/20160920.231532 submit/tizen/20160920.011443 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000004 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000004 submit/tizen_3.0_wearable/20161015.000004
Piotr Ganicz [Thu, 8 Sep 2016 13:59:29 +0000 (15:59 +0200)]
Unit test for iri_util

Change-Id: I707cff42d8a146805f07bbf47611848b9c6bb9b0

8 years agoParse manifest error message fix 63/88163/2
Bartlomiej Kunikowski [Tue, 13 Sep 2016 13:31:13 +0000 (15:31 +0200)]
Parse manifest error message fix

It fixes ParseManifestTest.HandlesBrokenManifestFile from parser_unittest

Change-Id: I12fa75f728bf216d22e4ba5e8cc323bc62af20ec

8 years agoExpose methods in ManifestParserImpl for testing 74/87574/2
Tomasz Iwanek [Thu, 8 Sep 2016 11:47:56 +0000 (13:47 +0200)]
Expose methods in ManifestParserImpl for testing

Submit together:
 - https://review.tizen.org/gerrit/87574
 - https://review.tizen.org/gerrit/87575

Change-Id: I35d7691f09b78c7c8278548d81d811e87a5f3800

8 years agoWARP IRI checking function 03/87103/3 accepted/tizen/common/20160909.115041 accepted/tizen/ivi/20160909.122423 accepted/tizen/mobile/20160909.122330 accepted/tizen/tv/20160909.122346 accepted/tizen/wearable/20160909.122405 submit/tizen/20160909.060412
Tomasz Iwanek [Tue, 6 Sep 2016 09:32:08 +0000 (11:32 +0200)]
WARP IRI checking function

New function that check if IRI is valid according to:
 - https://www.w3.org/TR/widgets-access/#ta-parse-origin-attr

Change-Id: Ia20346458287cd472d92d3148ef315830b217d7e

8 years agoSet error if error wasn't set by handler 90/87090/2
Tomasz Iwanek [Mon, 5 Sep 2016 10:06:03 +0000 (12:06 +0200)]
Set error if error wasn't set by handler

Set to give clue to client code what happened wrong.

Change-Id: I5c8666c121231e2fbede2571d32eb94139df8df5

8 years agoAdd const to GetManifestData() 61/86761/2
Tomasz Iwanek [Fri, 2 Sep 2016 14:52:48 +0000 (16:52 +0200)]
Add const to GetManifestData()

Change-Id: I9bf42586cb828a75dc3c0a5d4384e06ef9fa2e9c

8 years agoLog warnings for manifest string normalization. 67/87067/1
Piotr Dabrowski [Tue, 6 Sep 2016 07:47:08 +0000 (09:47 +0200)]
Log warnings for manifest string normalization.

Change-Id: I27ee1f95c5a20b683bbb6854b67faac3e4e96463

8 years agoString length normalization in manifest file 62/83862/5
Piotr Dabrowski [Fri, 2 Sep 2016 09:26:30 +0000 (11:26 +0200)]
String length normalization in manifest file

Change-Id: Ib03d1681dedec552d7129d0506a50a6f62d4523d

8 years agoGetMutableManifestData function addition 41/85541/2 accepted/tizen/common/20160829.135954 accepted/tizen/common/20160830.150203 accepted/tizen/ivi/20160830.061222 accepted/tizen/mobile/20160830.060949 accepted/tizen/tv/20160830.061052 accepted/tizen/wearable/20160830.061136 submit/tizen/20160829.010716 submit/tizen/20160830.010724
Piotr Ganicz [Thu, 25 Aug 2016 15:39:46 +0000 (17:39 +0200)]
GetMutableManifestData function addition

This function exposes manifest data for modification.

Change-Id: I3e0c8e07807aad5d4074447003fce0ef40d6b2ba

8 years agoTestCases for LanguageTag 96/85296/2
Piotr Ganicz [Wed, 24 Aug 2016 08:10:24 +0000 (10:10 +0200)]
TestCases for LanguageTag

Change-Id: I255074fafdd3a7de97c567caec0bb36e0903abd1

8 years agoElimination of regular expression 00/85300/2
Piotr Ganicz [Wed, 24 Aug 2016 12:11:57 +0000 (14:11 +0200)]
Elimination of regular expression

Change-Id: Ieb1cd845050b1896794230f1bde53e0929ba073b

8 years agoValidation for part of language tag. 95/85095/3
Piotr Ganicz [Tue, 23 Aug 2016 11:01:30 +0000 (13:01 +0200)]
Validation for part of language tag.

This patch provides validation for extension and private use tag.

Change-Id: Iea3e561b49279085323fa3b84f94fc4b0edf5bad

8 years agoEnchance logging 28/76628/1 accepted/tizen/common/20160703.125642 accepted/tizen/ivi/20160629.015642 accepted/tizen/mobile/20160629.015604 accepted/tizen/tv/20160629.015715 accepted/tizen/wearable/20160629.015515 submit/tizen/20160627.042541 submit/tizen_common/20160701.180000
Tomasz Iwanek [Fri, 24 Jun 2016 12:13:21 +0000 (14:13 +0200)]
Enchance logging

Although we should use debugger for troubleshooting, this may be
usefull for short analysis.

Change-Id: I06136949d6799269bbc4760f79d2eaddc69f5cd4

8 years agofix compiler & linker flags 60/75060/2 accepted/tizen/common/20160620.163111 accepted/tizen/ivi/20160617.083624 accepted/tizen/mobile/20160617.083445 accepted/tizen/tv/20160617.083303 accepted/tizen/wearable/20160617.083650 submit/tizen/20160616.134250
jongmyeongko [Thu, 16 Jun 2016 11:20:47 +0000 (20:20 +0900)]
fix compiler & linker flags

Change-Id: I59b2f8885a414ce2b79eb28fe030e182c00a8a26
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd Trim method at VersionNumber 27/71327/3 accepted/tizen/common/20160602.140107 accepted/tizen/ivi/20160602.022905 accepted/tizen/mobile/20160602.023037 accepted/tizen/tv/20160602.022613 accepted/tizen/wearable/20160602.022752 submit/tizen/20160531.024853
Sangyoon Jang [Wed, 25 May 2016 05:16:57 +0000 (14:16 +0900)]
Add Trim method at VersionNumber

Change-Id: I57b5f331a618765c724d7c13a2625bbe5e924c84
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoCoding style patch 53/71153/1
Piotr Ganicz [Tue, 24 May 2016 08:50:59 +0000 (10:50 +0200)]
Coding style patch

This patch provides 0 errors in check-coding-style script.

Change-Id: Ifb22a67276d46083112c87efcbeb8b617e4f3858

8 years agoMove tpk and wgt handlers to separate repositories 85/69485/4 accepted/tizen/common/20160517.174438 accepted/tizen/ivi/20160518.004448 accepted/tizen/mobile/20160518.004532 accepted/tizen/tv/20160518.004505 accepted/tizen/wearable/20160518.004442 submit/tizen/20160516.092626 submit/tizen/20160517.005404 submit/tizen/20160517.123410
Arkadiusz Szulakiewicz [Fri, 13 May 2016 10:37:22 +0000 (12:37 +0200)]
Move tpk and wgt handlers to separate repositories

Change-Id: I2d2967d1a8b64635c881875f55f2bd8d0d4c86d5

8 years agomigration of hwacceleration related changes from tizen 2.4 14/69614/1
jongmyeongko [Mon, 16 May 2016 06:40:46 +0000 (15:40 +0900)]
migration of hwacceleration related changes from tizen 2.4

Change-Id: I2b6c88205fd77270d1038451f177baa7e82a703b
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agochnage PROJECT_TAG as 'MANIFEST_PARSER' 82/69182/1 accepted/tizen/common/20160513.123342 accepted/tizen/ivi/20160513.004706 accepted/tizen/mobile/20160513.004735 accepted/tizen/tv/20160513.004651 accepted/tizen/wearable/20160513.004621 submit/tizen/20160512.083806
jongmyeongko [Thu, 12 May 2016 05:48:15 +0000 (14:48 +0900)]
chnage PROJECT_TAG as 'MANIFEST_PARSER'

Change-Id: I99297b9ae4b08b6c058d4f026fc03177566536f5
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoSupport URL start file for w3c content element 06/68706/4
Tomasz Iwanek [Mon, 9 May 2016 10:08:21 +0000 (12:08 +0200)]
Support URL start file for w3c content element

To verify, install successfully widgets from issues:
 - TSAM-2707

Change-Id: Ia49fad4b82a5ed030c7704f6f03bda78323e96a7

8 years agoUse DLOG for logging 25/68125/11
Arkadiusz Szulakiewicz [Mon, 2 May 2016 10:53:16 +0000 (12:53 +0200)]
Use DLOG for logging

Change-Id: I2dc65ffed7b1dfa2300e8e6fb79cf629e643a233

8 years agoAdjusted setters 68/68568/4 accepted/tizen/common/20160513.123155 submit/tizen/20160511.132536
Piotr Ganicz [Fri, 6 May 2016 13:16:35 +0000 (15:16 +0200)]
Adjusted setters

This commit adjust setters in code to take by value with std::move.

Change-Id: Ibb48f134165188c923ed30ebbe4d21f628c3f6f3

8 years agoFix AppWidgetHandler 17/68717/2
Tomasz Iwanek [Mon, 9 May 2016 11:43:11 +0000 (13:43 +0200)]
Fix AppWidgetHandler

To verify, install widget from issue: TSAM-2771

Change-Id: If544d54ea66d4d2e517b451a01e730ddd64b92e1

8 years agoAdd color-depth attribute on splash screen 58/68658/1 accepted/tizen/common/20160511.141647 accepted/tizen/ivi/20160512.045923 accepted/tizen/mobile/20160512.045653 accepted/tizen/tv/20160512.045801 accepted/tizen/wearable/20160512.045740 submit/tizen/20160510.044059
Hwankyu Jhun [Mon, 9 May 2016 07:33:33 +0000 (16:33 +0900)]
Add color-depth attribute on splash screen

- Requires:
[pkgmgr-info] https://review.tizen.org/gerrit/#/c/68656/

Change-Id: I36901b117f77328422e8319a9f5363df1ddcdaa8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoParse category, metadata, background category for watchapp 41/68441/1 accepted/tizen/common/20160505.140339 accepted/tizen/ivi/20160506.035728 accepted/tizen/mobile/20160506.035147 accepted/tizen/tv/20160506.035520 accepted/tizen/wearable/20160506.035619 submit/tizen/20160504.074553
Sangyoon Jang [Wed, 4 May 2016 08:34:49 +0000 (17:34 +0900)]
Parse category, metadata, background category for watchapp

Change-Id: I6975dad294ebcd60e3cb9a1163f3be803eaeeab4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoswitched raw ptrs to shared_ptrs to prevent leaks 06/67906/2 accepted/tizen/common/20160504.125305 accepted/tizen/ivi/20160503.093017 accepted/tizen/mobile/20160503.092920 accepted/tizen/tv/20160503.092943 accepted/tizen/wearable/20160503.092955 submit/tizen/20160502.063802 submit/tizen/20160503.003646
Kamil Rojewski [Fri, 22 Apr 2016 11:15:13 +0000 (13:15 +0200)]
switched raw ptrs to shared_ptrs to prevent leaks

Change-Id: Ib6d81c69dbccc6eff315deae817118468600084c

8 years agocrash fix for ime handler 04/67904/1
Kamil Rojewski [Wed, 20 Apr 2016 05:36:50 +0000 (07:36 +0200)]
crash fix for ime handler

Change-Id: I7e7f05bcecca8168bf4d2780a0c1836a7d21013e

8 years agoRemove language tag validation in tpk handlers 87/64987/3
Tomasz Iwanek [Wed, 6 Apr 2016 12:27:24 +0000 (14:27 +0200)]
Remove language tag validation in tpk handlers

Those check are problematic for app store tpk packages
that has invalid values. We need to keep them to be able
to be installed.

Change-Id: I70ebffee41dd5382992a75bc8f1cbc1c69c51a76

8 years agoFree handlers assigned to ManifestHandlerRegistry 53/64653/3
Tomasz Iwanek [Mon, 4 Apr 2016 09:26:47 +0000 (11:26 +0200)]
Free handlers assigned to ManifestHandlerRegistry

To verify, run smoke tests.

Change-Id: I80784d1580b5f883fe404d475ee6729b599a4bc7

8 years agoModify minimum Platform version for wearable profile.(2.3.1 -> 2.3) 16/62216/3 accepted/tizen/common/20160414.143646 accepted/tizen/ivi/20160323.010759 accepted/tizen/mobile/20160323.010644 accepted/tizen/tv/20160323.010721 accepted/tizen/wearable/20160323.010741 submit/tizen/20160322.002805 submit/tizen_common/20160413.090423
JongHeon Choi [Tue, 15 Mar 2016 02:13:48 +0000 (11:13 +0900)]
Modify minimum Platform version for wearable profile.(2.3.1 -> 2.3)

Change-Id: I18ff9dd1df6a4ef79296c18cf3a4ffc68e73e470

8 years agomodify BSD license identifier. 56/62956/1
jongmyeongko [Mon, 21 Mar 2016 08:31:35 +0000 (17:31 +0900)]
modify BSD license identifier.

Change-Id: Ia822ee411988e792cd4f49dde3c2c2b52e7a20d5
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd 'splash-screen-display' attribute for uiapplication 96/61996/3 accepted/tizen/common/20160321.150446 accepted/tizen/mobile/20160321.113359 accepted/tizen/tv/20160321.113421 accepted/tizen/wearable/20160321.113441 submit/tizen/20160321.014821
Hwankyu Jhun [Sat, 12 Mar 2016 07:28:53 +0000 (16:28 +0900)]
Add 'splash-screen-display' attribute for uiapplication

Requires:
https://review.tizen.org/gerrit/#/c/61995/

Change-Id: I90cb6506751603e693eda45ba881ec60325bad59
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix formatting 61/61661/2
Tomasz Iwanek [Wed, 9 Mar 2016 11:47:27 +0000 (12:47 +0100)]
Fix formatting

Change-Id: I3b491e1e9fa9d8e37dd902cde583b41f8996453c

8 years agoRevert "Fix validation of widget-application" 07/62407/2
Sangyoon Jang [Wed, 16 Mar 2016 02:56:57 +0000 (19:56 -0700)]
Revert "Fix validation of widget-application"

This reverts commit 19e01c74fbe478ff98465c58678cf20764f1f9bc.

Change-Id: Id6f77d0ea66603b66d3ea97104ebe8474b0404a0

8 years agoFix mismatched path 56/61956/1 accepted/tizen/common/20160311.203934 accepted/tizen/ivi/20160311.150419 accepted/tizen/mobile/20160311.143430 accepted/tizen/tv/20160311.144943 accepted/tizen/wearable/20160311.145759 submit/tizen/20160311.111237
Semun Lee [Fri, 11 Mar 2016 11:07:28 +0000 (20:07 +0900)]
Fix mismatched path

Change-Id: I4687ce465136bac3ea07db3658172b408332a54e
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoReorder member initializing at watch_application_handler 41/61841/1
Sangyoon Jang [Fri, 11 Mar 2016 02:33:36 +0000 (11:33 +0900)]
Reorder member initializing at watch_application_handler

Fix warning(-Wreorder).

Change-Id: I713281815b17f9d65a6dd941899b2d988dc0b5ac
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove author email and href validation 55/61755/1 accepted/tizen/common/20160311.050243 accepted/tizen/common/20160311.201626 accepted/tizen/ivi/20160311.043357 accepted/tizen/ivi/20160311.061056 accepted/tizen/mobile/20160311.043308 accepted/tizen/mobile/20160311.060943 accepted/tizen/tv/20160311.043323 accepted/tizen/tv/20160311.061008 accepted/tizen/wearable/20160311.043345 accepted/tizen/wearable/20160311.061028 submit/tizen/20160310.114904 submit/tizen/20160311.024723
Tomasz Iwanek [Thu, 10 Mar 2016 09:12:42 +0000 (10:12 +0100)]
Remove author email and href validation

We cannot translate authors email and href into valid one for platform
manifest if they don't exist, therefore for now validation of author is
removed as it is causing trouble when updating wgt package with author
but without email or href.

Change-Id: I70af08ec498fb1234b9d3dea058baae964b82ce3

8 years agoDefaults in UIApplicationInfo 84/61384/3
Tomasz Iwanek [Mon, 7 Mar 2016 08:42:50 +0000 (09:42 +0100)]
Defaults in UIApplicationInfo

Change-Id: I6319c21c7a43c2c4f0d63dcfae0c9e54ade9ee75

8 years agoFix validation of watch-application 91/61191/4
Tomasz Iwanek [Fri, 4 Mar 2016 11:58:02 +0000 (12:58 +0100)]
Fix validation of watch-application

Change-Id: Ia742bf5ff7180f0808b8ddabf5b80cf7f63530d4

8 years agoFix validation of widget-application 80/61180/3
Tomasz Iwanek [Fri, 4 Mar 2016 09:35:30 +0000 (10:35 +0100)]
Fix validation of widget-application

Change-Id: I35039f34f6caa72a7ac1094cf190a854f678ec48

8 years agofix license declaration 17/61317/2
jongmyeongko [Mon, 7 Mar 2016 08:58:35 +0000 (17:58 +0900)]
fix license declaration

this change is made according to license declaration rule.
(BSD-3-Clause -> BSD-2.0)

Change-Id: Ia79757652cd3ce4484b352997497ea5a0aec68b8
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix service-application validation 63/61063/2
Tomasz Iwanek [Thu, 3 Mar 2016 15:18:54 +0000 (16:18 +0100)]
Fix service-application validation

 - add 'multiple' attribute for service application,
 - add 'taskmanage' attribute for service application,
 - validation for value of 'on-boot' and 'auto-restart'.

Change-Id: I8d509a1217036c2a1f36c2fd2dd59da366cc7663

8 years agoFix ui-application validation 16/61016/4
Tomasz Iwanek [Wed, 2 Mar 2016 13:03:04 +0000 (14:03 +0100)]
Fix ui-application validation

 - validation of <label> xml:lang attribute,
 - check value of 'multiple' attribute,
 - check value of 'taskmanage' attribute,
 - check value of 'nodisplay' attribute,
 - check name attribute on appcontrol's operation,
 - check name attribute on appcontrol's mime,
 - check name attribute on appcontrol's uri.

Change-Id: I4f39295e52b18361c153d928e8ccb857f85f89c2

8 years agopackaging: removed '-Wl,as-needed' for build error. 10/59910/2 accepted/tizen/common/20160307.154537 accepted/tizen/ivi/20160307.111244 accepted/tizen/mobile/20160307.111147 accepted/tizen/tv/20160307.111211 accepted/tizen/wearable/20160307.111229 submit/tizen/20160307.091252
Dongkyun, Son [Fri, 19 Feb 2016 10:26:34 +0000 (19:26 +0900)]
packaging: removed '-Wl,as-needed' for build error.

Change-Id: I2cc8f6847fda6c068295120ba9bacb1e2e3406a8
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
8 years agoParsing ambient_support attribute in config.xml 41/60241/3
Tomasz Iwanek [Wed, 24 Feb 2016 08:44:30 +0000 (09:44 +0100)]
Parsing ambient_support attribute in config.xml

Change-Id: Idd31f3d45de23462448d30e7f03884d04e7f01b5

8 years agoRemove validation in author email and package version number 98/60798/5 accepted/tizen/common/20160302.193929 accepted/tizen/ivi/20160304.062736 accepted/tizen/mobile/20160304.062633 accepted/tizen/tv/20160304.062652 accepted/tizen/wearable/20160304.062715 submit/tizen/20160302.105758
Tomasz Iwanek [Wed, 2 Mar 2016 08:54:18 +0000 (09:54 +0100)]
Remove validation in author email and package version number

Verification: run "tpk-backend -y ${pkgid}" for every preloaded app in mobile profile.
All manifests should validate no matter the content.

Change-Id: Ia13fd01db26291396c613de65f5ba795836fb55d

8 years agoAdd WatchApplicationHandler to TPK config parser 84/60284/2 accepted/tizen/common/20160302.193739 accepted/tizen/ivi/20160302.224037 accepted/tizen/mobile/20160302.223950 accepted/tizen/tv/20160302.224004 accepted/tizen/wearable/20160302.224023 submit/tizen/20160302.065807
Arkadiusz Szulakiewicz [Wed, 24 Feb 2016 14:53:40 +0000 (15:53 +0100)]
Add WatchApplicationHandler to TPK config parser

Change-Id: Ia77f66156f374f43ff36a8817a22acd0c00432a6

8 years agoImplement parsing for <watch-application> element 67/60267/12
Arkadiusz Szulakiewicz [Wed, 24 Feb 2016 12:42:48 +0000 (13:42 +0100)]
Implement parsing for <watch-application> element

Change-Id: I43703752a9723c167023fd8776f611ec1018670e

8 years agoRemove validation of text of description/author for preloaded apps 47/60647/2
Tomasz Iwanek [Mon, 29 Feb 2016 12:56:28 +0000 (13:56 +0100)]
Remove validation of text of description/author for preloaded apps

Change-Id: Ia5f287f0545dc10ed786c03de249356f4bbdc183

8 years agoRemove validation of author's href attribute 43/60643/1
Tomasz Iwanek [Mon, 29 Feb 2016 12:43:48 +0000 (13:43 +0100)]
Remove validation of author's href attribute

Preloaded packages declares "www.samsung.com" which is missing
scheme. To avoid problem for packages, this patch removes validation
of href.

Change-Id: I29ff03f77ff8aecb7b702fa2404570cf07523abd

8 years agoFix tpk description handler 80/60480/5 accepted/tizen/common/20160301.025438 submit/tizen/20160229.102401
Tomasz Iwanek [Fri, 26 Feb 2016 10:52:28 +0000 (11:52 +0100)]
Fix tpk description handler

Requires to be submitted with:
 - https://review.tizen.org/gerrit/60481

Change-Id: I8b072fbb867aa0f97a6be5413138ed43b1e1c81b

8 years agoFix tpk author handler 63/60463/5
Tomasz Iwanek [Thu, 25 Feb 2016 13:47:39 +0000 (14:47 +0100)]
Fix tpk author handler

Requires to be submitted with:
 - https://review.tizen.org/gerrit/#/c/60464/

Change-Id: Ibe3f8384a9c64e4bcdabd12bbd3bd597c10498ad

8 years agoValidate package version number 57/60357/6
Tomasz Iwanek [Wed, 24 Feb 2016 16:17:02 +0000 (17:17 +0100)]
Validate package version number

Run:
 /usr/bin/manifest-parser-ut/version_number_unittest

Change-Id: Ib8dd53a7d683834afe70dd8d651b26341ecfb6b2

8 years agoValidate package type in platform manifest 89/60289/4
Tomasz Iwanek [Wed, 24 Feb 2016 15:49:39 +0000 (16:49 +0100)]
Validate package type in platform manifest

Change-Id: I10b1bc37b051f6ee8f8b0b464988c7a5e5c8d68c

8 years agoValidate tpk package and application ids 86/60286/4
Tomasz Iwanek [Wed, 24 Feb 2016 15:27:16 +0000 (16:27 +0100)]
Validate tpk package and application ids

Most important, they should not be composed of '/'s.

Change-Id: Ia6a9441680c5ceb05abec2defc7c9f866fd58bef

8 years agoDo not accept invalid value of install-location 81/60281/5
Tomasz Iwanek [Wed, 24 Feb 2016 12:16:58 +0000 (13:16 +0100)]
Do not accept invalid value of install-location

Change-Id: I1fcc1314097897f7c09af5556be5242d2b7f89c1

8 years agoAdd app-control-operation attribute on splash screen 92/60192/3 submit/tizen/20160229.005700 submit/tizen/20160302.020013
Hwankyu Jhun [Tue, 23 Feb 2016 23:04:43 +0000 (08:04 +0900)]
Add app-control-operation attribute on splash screen

Requires:
https://review.tizen.org/gerrit/#/c/60185/

Change-Id: Idcb5d1d90360ab5ea0dfd307e9501de19a1aa8d5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix crash when tpk manifest's root element is invalid 33/60033/2 accepted/tizen/common/20160301.120632 accepted/tizen/ivi/20160225.081528 accepted/tizen/mobile/20160225.081432 accepted/tizen/tv/20160225.081500 accepted/tizen/wearable/20160225.081513 submit/tizen/20160224.000443 submit/tizen/20160224.092603 submit/tizen_common/20160229.190608
Tomasz Iwanek [Mon, 22 Feb 2016 14:15:12 +0000 (15:15 +0100)]
Fix crash when tpk manifest's root element is invalid

Change-Id: I6a3d87296341120a4385ae33a0c336c7734b27e3

8 years agoremove checking api-version for launch_mode (tpk only) 54/59754/1
jongmyeongko [Thu, 18 Feb 2016 06:58:45 +0000 (15:58 +0900)]
remove checking api-version for launch_mode (tpk only)

For TPK, lower-version package can have attributes of higer-version.

Change-Id: I5d595681c3bb80bbc776f128415762c96671f79d
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoSupport splash screen 54/59354/9 accepted/tizen/ivi/20160218.083923 accepted/tizen/mobile/20160218.005903 accepted/tizen/tv/20160218.005916 accepted/tizen/wearable/20160218.005936 submit/tizen/20160217.221050 submit/tizen_common/20160218.142243
Hwankyu Jhun [Fri, 12 Feb 2016 11:21:02 +0000 (20:21 +0900)]
Support splash screen

Parse splash-screens in tpk manifest
splash-screen attributes:
- src
- type
- dpi
- orientation
- indicator-display

Requires:
https://review.tizen.org/gerrit/#/c/59363/

Change-Id: I953fc26d01549cacf5752e5fc5140db13682bb19
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years ago'name' attribute of 'image' element is not obligatory. 27/59327/2 accepted/tizen/common/20160217.170652 accepted/tizen/ivi/20160218.023233 accepted/tizen/mobile/20160216.001724 accepted/tizen/tv/20160216.001738 accepted/tizen/wearable/20160216.001748 submit/tizen/20160215.041648 submit/tizen_common/20160217.131930 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
jongmyeongko [Fri, 12 Feb 2016 13:00:51 +0000 (22:00 +0900)]
'name' attribute of 'image' element is not obligatory.

this fixes the installation failure of some packages.

Change-Id: I4840b04f267a09a63b727de2ef0d1c1d82c9f79c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd <category> tag parsing in tpk manifest 40/59040/2 accepted/tizen/mobile/20160212.002816 accepted/tizen/tv/20160212.002835 accepted/tizen/wearable/20160212.002849 submit/submit/tizen/20160211.235541/20160211.235604 submit/tizen/20160211.235541
Tomasz Iwanek [Mon, 8 Feb 2016 14:59:36 +0000 (15:59 +0100)]
Add <category> tag parsing in tpk manifest

Change-Id: Iaa1372bf328444fe99124c17e1f5dde23c71f6cb

8 years agoFix keys in WidgetApplicationHandler 38/59038/4
Tomasz Iwanek [Mon, 8 Feb 2016 15:11:04 +0000 (16:11 +0100)]
Fix keys in WidgetApplicationHandler

Change-Id: I77e37dbb57458e38f0942f345031cdac422a3933

8 years agoCode cleanup 38/59238/2
Tomasz Iwanek [Thu, 11 Feb 2016 15:38:18 +0000 (16:38 +0100)]
Code cleanup

Given TODOs won't be fixed.

Change-Id: I0212e01db37e8edca350119f483772b59d04c25d

8 years agoFix language tag validation in config.xml parser 37/59237/2
Tomasz Iwanek [Thu, 11 Feb 2016 13:47:11 +0000 (14:47 +0100)]
Fix language tag validation in config.xml parser

From spec:
 - http://www.w3.org/TR/widgets/#rule-for-finding-a-file-within-a-widget-package-0
fixed:
 - behaviour from point 5.B
 - behaviour from point 6 (so that only locales/${valid_language_tag}/ is searched)

Change-Id: Ifc96d7b7d76578af7337dc4c36ca4aff1b7e7b91

8 years agoMake <account>'s providerid attribute optional 05/58905/2
Tomasz Iwanek [Thu, 4 Feb 2016 16:08:09 +0000 (17:08 +0100)]
Make <account>'s providerid attribute optional

config.xml doesn't define 'providerid' attribute. This causes
error in validation if webapplication is updated or removed
during parsing platform manifest file for that application.
Make attribute optional.

To verify install, update then uninstall webapplication
with <account> tag.

Change-Id: If849c596467415cab20ebeb18220339586f06523

8 years agoFix value check of indicator-presence and backbutton-presence 38/59138/1
WonYoung Choi [Thu, 11 Feb 2016 02:55:47 +0000 (11:55 +0900)]
Fix value check of indicator-presence and backbutton-presence

indicator-presence and backbutton-presence can have 'enable' or
'disable', not true or false.

Change-Id: I25ff879f9b1a69679f5c2f62448a5a2080f3d13c

8 years agoStylecheck fix 80/59080/1
Tomasz Iwanek [Wed, 10 Feb 2016 09:56:55 +0000 (10:56 +0100)]
Stylecheck fix

Run stylecheck to verify:
 ./tools/check-coding-style

Change-Id: I5d4d0e5faa085b450eb89d94ae5420ae5e8d4bb6

8 years agoAdd missing constants in application handler header file 40/58740/1 accepted/tizen/mobile/20160205.064215 accepted/tizen/tv/20160205.064228 accepted/tizen/wearable/20160205.064248 submit/tizen/20160205.051501
Lukasz Wysocki [Wed, 3 Feb 2016 07:42:43 +0000 (08:42 +0100)]
Add missing constants in application handler header file

This commit fix build errors due to missing keys kIconLangKey and
kIconDpiKey.

Change-Id: I68765071ea3f140fea92560559a106bdba665cf6

8 years agoMerge "Support localized/multi-resolution app icons" into tizen submit/tizen/20160203.065729
Junghyun Yeon [Wed, 3 Feb 2016 06:56:10 +0000 (22:56 -0800)]
Merge "Support localized/multi-resolution app icons" into tizen

8 years agoRevert "add parsing public-vesion attribute of "process-pool"." 84/58684/1
jongmyeong ko [Wed, 3 Feb 2016 00:31:06 +0000 (16:31 -0800)]
Revert "add parsing public-vesion attribute of "process-pool"."

This reverts commit 0d1f58779d59e3e5002df6ce3d8a4dbd1d742357.

Change-Id: I6d737906196431dae222a10cf84e062300bdbe6d

8 years agoSupport localized/multi-resolution app icons 87/58487/3
Junghyun Yeon [Mon, 1 Feb 2016 11:41:08 +0000 (20:41 +0900)]
Support localized/multi-resolution app icons

Changes applied at
[manifest-parser][app-installer][pkgmgr-info]

Change-Id: Iaace9422f8098e30d98cfb6da53ec7aaa8fb4fce
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoadd parsing public-vesion attribute of "process-pool". 75/58475/1
jongmyeongko [Mon, 1 Feb 2016 10:16:25 +0000 (19:16 +0900)]
add parsing public-vesion attribute of "process-pool".

Change-Id: I27bc9c9a3377da3b3ae244c07e86b55ac581a7a0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agosmall fixes 99/58099/2 devel/ivi submit/devel/ivi/20160204.040934 submit/devel/ivi/20160204.041136 submit/devel/ivi/20160205.010549
Pawel Sikorski [Tue, 26 Jan 2016 09:09:51 +0000 (10:09 +0100)]
small fixes

* removing TODOs
* fix cppcheck found errors
* fix compilation warnings

Change-Id: I062cfdad62a10e0609608bb13cbed7354146a0b5

8 years agoAdd preload property to package handler 63/57463/4 accepted/tizen/mobile/20160129.083342 accepted/tizen/tv/20160129.083412 accepted/tizen/wearable/20160129.083434 submit/tizen/20160122.155501 submit/tizen/20160127.110348
Arkadiusz Szulakiewicz [Wed, 20 Jan 2016 08:51:42 +0000 (09:51 +0100)]
Add preload property to package handler

Change-Id: I431a3625e84171c3f2139ac84b24e28f2cfbaa57

8 years agoUnify lib name for wgt and tpk 76/57676/2 accepted/tizen/mobile/20160125.011505 accepted/tizen/tv/20160125.011534 accepted/tizen/wearable/20160125.011546 submit/tizen/20160122.084928 submit/tizen/20160122.094907
Lukasz Wysocki [Thu, 21 Jan 2016 12:14:02 +0000 (13:14 +0100)]
Unify lib name for wgt and tpk

Following commits should be merged together:
- https://review.tizen.org/gerrit/#/c/57676/
- https://review.tizen.org/gerrit/#/c/57677/
- https://review.tizen.org/gerrit/#/c/57681/

Change-Id: I19c8641a28fdaed3f0b265cd2a32e2e6cd1d32e0

8 years agoUnification of directories of WGT and TPK handlers 53/57153/4 submit/tizen/20160122.140520
Lukasz Wysocki [Fri, 15 Jan 2016 11:35:31 +0000 (12:35 +0100)]
Unification of directories of WGT and TPK handlers

This change should be merged together with change
https://review.tizen.org/gerrit/#/c/57154/

Change-Id: I0e9601a4df826cfbf498ecaff55e152ad3005f30

8 years agoIgnore empty <icon/> in tpk manifest 48/57348/3
Tomasz Iwanek [Tue, 19 Jan 2016 09:18:51 +0000 (10:18 +0100)]
Ignore empty <icon/> in tpk manifest

Preload apps have <icon/> tags. It is safe to ignore this.

Change-Id: If17c57688eff0d4d48977d5de2c789b32e5de76d

8 years agoFix AccountHandler 34/57234/2
Tomasz Iwanek [Mon, 18 Jan 2016 08:41:28 +0000 (09:41 +0100)]
Fix AccountHandler

Change-Id: I995583431bbd4d382e1021fd4aa7796e1e87949a

8 years agoStyle and code fix 41/57141/1
Lukasz Wysocki [Fri, 15 Jan 2016 10:07:58 +0000 (11:07 +0100)]
Style and code fix

Change-Id: I495618ee4127e94e2b012d0a2ed02e10070d72ca

8 years agoAdd background-category parsing from metadata element 56/54456/29 accepted/tizen/mobile/20160115.010736 accepted/tizen/mobile/20160115.010919 accepted/tizen/tv/20160115.010748 accepted/tizen/tv/20160115.010933 accepted/tizen/wearable/20160115.010807 accepted/tizen/wearable/20160115.010954 submit/tizen/20160114.141522 submit/tizen/20160114.224350
Lukasz Wysocki [Tue, 15 Dec 2015 09:49:46 +0000 (10:49 +0100)]
Add background-category parsing from metadata element

Refactoring UI, Service and Widget Application Handlers

This commit is required by following change:
- https://review.tizen.org/gerrit/#/c/54915/

This change requires:
- https://review.tizen.org/gerrit/#/c/55660/
- https://review.tizen.org/gerrit/#/c/55192/

Change-Id: I65d5617f80a2f426ca297b5ca9ad22ce910c2262

8 years agoFix parsing uri and mime attributes of app-control element 60/55660/9
Lukasz Wysocki [Mon, 28 Dec 2015 10:50:35 +0000 (11:50 +0100)]
Fix parsing uri and mime attributes of app-control element

Change-Id: I2de008d82358105b3901e56ec95f74ee142b9622

8 years agoRemove unnecessary code 45/56745/1
Lukasz Wysocki [Tue, 12 Jan 2016 10:13:32 +0000 (11:13 +0100)]
Remove unnecessary code

Change-Id: If4c4224c67c0647f5e0c0d63198291a53b5a349b

8 years agoStyle fix 92/55192/3
Lukasz Wysocki [Tue, 22 Dec 2015 10:26:45 +0000 (11:26 +0100)]
Style fix

Change-Id: I1a4ea9387cd99c0e5b8dd0d33c7cbcdb7dd3aa38

8 years agoFix path in parser UT 54/55254/3
Kamil Chlodnicki [Tue, 22 Dec 2015 14:20:25 +0000 (15:20 +0100)]
Fix path in parser UT

Change-Id: I21c2ec6e045443a6fc183153aa5c29bd9e3fb261

8 years agoFix failing manifest util UT 53/55253/2
Kamil Chlodnicki [Tue, 22 Dec 2015 14:04:19 +0000 (15:04 +0100)]
Fix failing manifest util UT

Change-Id: Ibe6f109eb9c65cd296c68c5f03fa4781bf5bcfb9

8 years agoParse package type in tpk parser 55/55055/3 accepted/tizen/mobile/20160108.065119 accepted/tizen/tv/20160108.065132 accepted/tizen/wearable/20160108.065153 submit/tizen/20160108.023152
Tomasz Iwanek [Mon, 21 Dec 2015 10:52:00 +0000 (11:52 +0100)]
Parse package type in tpk parser

Change-Id: Ied2ddd62e3deb6e65bf2b915a888e4edc4829a9b

8 years agoInclude License statement in spec files 77/56177/2
Arkadiusz Szulakiewicz [Tue, 5 Jan 2016 08:04:40 +0000 (09:04 +0100)]
Include License statement in spec files

Change-Id: I090db23f07e8a45281ff992bc836042cad062bcf