platform/core/uifw/download-fonts-service.git
6 years agoremove improper sizeof use case for pointer 64/142464/1 accepted/tizen_4.0_unified accepted/tizen_5.0_unified tizen_4.0 tizen_5.0 accepted/tizen/4.0/unified/20170829.020230 accepted/tizen/5.0/unified/20181102.023507 accepted/tizen/unified/20170810.172521 submit/tizen/20170810.044648 submit/tizen_4.0/20170828.100004 submit/tizen_5.0/20181101.000005 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
Youngbok Shin [Fri, 4 Aug 2017 03:25:52 +0000 (12:25 +0900)]
remove improper sizeof use case for pointer

Change-Id: I041c4460a232f33118a08bc13a64683b587cf026

7 years agoreplace strerror() to strerror_r() for thread safety 76/121776/1 accepted/tizen/4.0/unified/20170816.012731 accepted/tizen/4.0/unified/20170816.015457 accepted/tizen/unified/20170419.163225 submit/tizen/20170413.080524 submit/tizen/20170414.060354 submit/tizen/20170418.072937 submit/tizen/20170418.085103 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522 tizen_4.0.m1_release
Youngbok Shin [Mon, 20 Mar 2017 04:13:45 +0000 (13:13 +0900)]
replace strerror() to strerror_r() for thread safety

It adds a macro to print error information of errno.

Change-Id: Ic68c0b40bea361788917618e7263f6ed30e04e03

7 years agoreplace sprintf() to snprintf() for better security 75/121775/1
Youngbok Shin [Mon, 20 Mar 2017 03:18:25 +0000 (12:18 +0900)]
replace sprintf() to snprintf() for better security

Change-Id: I25508293e1daa8aeb95b9133298d088e2353b6c8

7 years agofix memory leak and uninitialized local variable issues 16/119216/1
Youngbok Shin [Thu, 16 Mar 2017 01:44:02 +0000 (10:44 +0900)]
fix memory leak and uninitialized local variable issues

- Memory leak from FontConfig Pattern pointer.
- Uninitialized local variable can be problem
  when it checks address for free and file close.

Change-Id: I5a23fbf2fa484a70cceaab9eb6cbda5d86cb02f1
(cherry picked from commit a48fac2edbac930a86955ad2ae0f169e22672c7f)

7 years agocopy file when move font file to proper shared path 02/112702/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170302.151559 accepted/tizen/ivi/20170302.121454 accepted/tizen/mobile/20170302.120937 accepted/tizen/tv/20170302.121118 accepted/tizen/unified/20170309.034117 accepted/tizen/wearable/20170302.121429 submit/tizen/20170302.063947 submit/tizen_unified/20170308.100410
Youngbok Shin [Thu, 2 Feb 2017 07:00:26 +0000 (16:00 +0900)]
copy file when move font file to proper shared path

It resolve smack issue when .wgt font application is installed.

Change-Id: I3ea71a0ffbbac0eea15526ad31e22c42a5544daa
(cherry picked from commit 75f316df35401bbd15839f8e8a7846414c8fe543)

7 years agofix setting a default font issue in wrong cases 54/111754/1
Youngbok Shin [Thu, 5 Jan 2017 03:39:57 +0000 (12:39 +0900)]
fix setting a default font issue in wrong cases

Even if a deleted font is not related to current font,
The download font service changes current font to a default font in some cases.
It is caused by using strncmp without "/" character at end of delete dir path.

ex. Current Font Path - /opt/share/fonts/org.tizen.downloadablefont1/myfont.ttf
    Delete Font Path  - /opt/share/fonts/org.tizen.downloadablefont

The path for comparing should have "/" at end of the path.

Change-Id: I76bbd3b06a835edb987093f4ee3226c2eb0c01ac

7 years agoremove changing permission for ELM_PROFILE_CFG file 53/111753/1
Youngbok Shin [Thu, 5 Jan 2017 03:34:01 +0000 (12:34 +0900)]
remove changing permission for ELM_PROFILE_CFG file

It was a legacy code for old Tizen 2.x. The configure files for EFL
will be cared in each user sessions. So, we don't need to care
permisson and owner of the configure files.

Change-Id: Ia3d0b2efe917320ffc6976e3f1081363cb6488be

7 years agoFix download-fonts-service package for Tizen 3.0 73/91573/6 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.141207 accepted/tizen/3.0.m2/tv/20170104.141942 accepted/tizen/3.0.m2/wearable/20170104.142237 accepted/tizen/3.0/common/20161115.184834 accepted/tizen/3.0/ivi/20161117.020827 accepted/tizen/3.0/mobile/20161117.020724 accepted/tizen/3.0/tv/20161117.020743 accepted/tizen/3.0/wearable/20161117.020803 accepted/tizen/common/20161110.153858 accepted/tizen/ivi/20161111.002345 accepted/tizen/mobile/20161111.002248 accepted/tizen/tv/20161111.002305 accepted/tizen/wearable/20161111.002324 submit/tizen/20161110.103439 submit/tizen_3.0.m2/20170104.093751 submit/tizen_3.0/20161108.120451 submit/tizen_3.0/20161110.103350 submit/tizen_3.0/20161115.041433
Youngbok Shin [Mon, 10 Oct 2016 08:35:37 +0000 (17:35 +0900)]
Fix download-fonts-service package for Tizen 3.0

Change-Id: I49354bbab76c71d33ccd2c3b2c82f626664930d4

8 years agoupdate version to 0.0.8
Sung-Taek Hong [Fri, 25 Sep 2015 10:18:44 +0000 (19:18 +0900)]
update version to 0.0.8

Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
Change-Id: I1d160b94beef18ebda4d3082d7eb1d2b4e20d0fb

8 years agoFixed to use security_server_label_access() instead of lsetxattr().
Youngbok Shin [Wed, 23 Sep 2015 10:13:40 +0000 (19:13 +0900)]
Fixed to use security_server_label_access() instead of lsetxattr().

Change-Id: I8ba5996064fd73bebd2aaff228efdf5682d1637a

8 years agobump version up
Thiep Ha [Thu, 3 Sep 2015 05:04:38 +0000 (14:04 +0900)]
bump version up

Change-Id: I27fdd77b69cbf7f3533438eb8fd6192c80d5ef7c

8 years agoadd null check for opendir
WooHyun Jung [Thu, 2 Jul 2015 12:24:55 +0000 (21:24 +0900)]
add null check for opendir

Change-Id: I75a648b03f54ceb9ef25b09da96fb63ce0cb3182

8 years ago[License] apply SPDX identifier and update copyright
Sung-Taek Hong [Fri, 31 Jul 2015 07:22:11 +0000 (16:22 +0900)]
[License] apply SPDX identifier and update copyright

Change-Id: I35fb2f8fe8f0e0dfdc99eff785a7c0f61727987c
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
9 years ago[Title] add new package for download font
Youngbok Shin [Thu, 16 Apr 2015 05:11:02 +0000 (14:11 +0900)]
[Title] add new package for download font

9 years agoInitial empty repository
KyungMi Lee [Mon, 23 Mar 2015 05:17:02 +0000 (14:17 +0900)]
Initial empty repository