profile/common/apps/native/firmware-update-system-ui.git
4 years agoChange way of printing error messge to use %m 62/256462/2 accepted/tizen_6.0_unified tizen_6.0 accepted/tizen/6.0/unified/20210611.145114 submit/tizen_6.0/20210611.044034
dyamy-lee [Tue, 30 Mar 2021 04:05:17 +0000 (13:05 +0900)]
Change way of printing error messge to use %m

It's better way to use %m than using strerror(errno).
%m doesn't need parameter like errno

Change-Id: I6d32e5533dfa58115ab1aea0b3aa0f0f0ca429be

4 years agofix TOCTOU Issue by fixing access to path check 61/256461/2
dyamy-lee [Sun, 28 Mar 2021 23:58:21 +0000 (08:58 +0900)]
fix TOCTOU Issue by fixing access to path check

Calling function 'fopen' after check function like 'access' which perform
check on path can cause a time-of-check, time-of-use race condition.
For resolving this, remove 'access' and
just print error message of fopen() fail with errno.

Change-Id: I46b4639815b52fef1548209d703cf40d9ee6920b

4 years agopackage version up to 1.2.12 67/250367/1
dyamy-lee [Tue, 22 Dec 2020 06:05:44 +0000 (15:05 +0900)]
package version up to 1.2.12

Change-Id: I65573b1cc88bb3c282b415bb64562eb20cb02dc2

4 years agobecause usleep function is vulnerable for use, remove it. 66/250366/1
dyamy-lee [Tue, 22 Dec 2020 06:03:18 +0000 (15:03 +0900)]
because usleep function is vulnerable for use, remove it.

Change-Id: I7031eddd672882758fe68677d01baa355926acb4

4 years agoresolve termination of crash if it doesn't have display 65/250365/1
dyamy-lee [Tue, 22 Dec 2020 05:21:41 +0000 (14:21 +0900)]
resolve termination of crash if it doesn't have display

Change-Id: Ie73a4a093699d8a30be2270931f49d26ee779c10

4 years agoresolve malloc nullptr dereference problem 64/250364/1
dyamy-lee [Thu, 17 Dec 2020 01:14:29 +0000 (10:14 +0900)]
resolve malloc nullptr dereference problem

Change-Id: I76f0d453e0300138100f56c4c7ce02178ca0af83

4 years agoupdate version to 1.2.11 63/250363/1
dyamy-lee [Wed, 2 Dec 2020 10:27:08 +0000 (19:27 +0900)]
update version to 1.2.11

Change-Id: I1eacd3e7d9f5156591359bd0bb14c1514f175e29

4 years agoremove not used code now which related unused image 62/250362/1
dyamy-lee [Wed, 2 Dec 2020 09:49:27 +0000 (18:49 +0900)]
remove not used code now which related unused image

Change-Id: I18c397c440f15b421a95840e9d67550f819da22b

4 years agoupdate version to 1.2.10 61/250361/1
dyamy-lee [Wed, 2 Dec 2020 04:53:12 +0000 (13:53 +0900)]
update version to 1.2.10

Change-Id: I3fe41f1b93bccc0796d317623b5b42ec760aaf5e

4 years agofix the problem which is not shared information when it changed static 60/250360/1
dyamy-lee [Wed, 2 Dec 2020 04:49:43 +0000 (13:49 +0900)]
fix the problem which is not shared information when it changed static

Change-Id: I4c743ab7e936602660af135aac898d003b605dee

4 years agoremove not used variables and file, also use unused variable 59/250359/1
dyamy-lee [Tue, 1 Dec 2020 09:15:46 +0000 (18:15 +0900)]
remove not used variables and file, also use unused variable

Change-Id: Ied74cefdc07b2f306a205fa59e7fec0e2e516202

4 years agochange global variables to static 58/250358/1
dyamy-lee [Tue, 1 Dec 2020 05:58:31 +0000 (14:58 +0900)]
change global variables to static

Change-Id: I93cbffc279e7fd7232be3b086936debf6ffe7fb1

4 years agoseparate duplicate logic and unique logic and move duplicate logic to base directory. 57/250357/1
dyamy-lee [Tue, 1 Dec 2020 04:49:54 +0000 (13:49 +0900)]
separate duplicate logic and unique logic and move duplicate logic to base directory.
making single header for unique logic reduce module circular dependencies

Change-Id: I0f02d92022380e1d742b12cb89420d14be95bab7

4 years agomake base directory to remove exactly the same code 46/250246/1
dyamy-lee [Wed, 25 Nov 2020 05:15:42 +0000 (14:15 +0900)]
make base directory to remove exactly the same code

Change-Id: I9459356a1be251a2afe1eed226a209b1d8ee6378

4 years agorw-update-ani-common : hot fix - target linking missing DSO 41/250241/1
dyamy-lee [Wed, 18 Nov 2020 07:16:04 +0000 (16:16 +0900)]
rw-update-ani-common : hot fix - target linking missing DSO
fota_gui_common, recovery_gui_common, rw-update-ani-common : if using rotate_angle, rotate_state from input, it has to consider integer overflow

Change-Id: Ib09725bdae947576e2b5f79195ea0c0323db6b70

4 years agorw-update-ani-common : apply rotation logic following with fota_gui_common 40/250240/1
dyamy-lee [Wed, 18 Nov 2020 06:26:29 +0000 (15:26 +0900)]
rw-update-ani-common : apply rotation logic following with fota_gui_common

Change-Id: I51ae61b2e4d807165b8604969a3660c08bbf4ce4

4 years agorecovery_gui_common : apply rotation logic following with fota_gui_common 39/250239/1
dyamy-lee [Wed, 18 Nov 2020 06:13:55 +0000 (15:13 +0900)]
recovery_gui_common : apply rotation logic following with fota_gui_common

Change-Id: Ic5406dd52e6610be5d1d2af68405f8163bf5ae3b

4 years agofota_gui_common : for considering case which is out of range, it calculate as 4 steps 38/250238/1
dyamy-lee [Wed, 18 Nov 2020 05:42:19 +0000 (14:42 +0900)]
fota_gui_common : for considering case which is out of range, it calculate as 4 steps

Change-Id: Ibf19e73067905996eaead3d6ca438865649afa1d

4 years agofota_gui_common : set rotate_angle by environment configuration. Before running fota_... 37/250237/1
dyamy-lee [Wed, 18 Nov 2020 04:46:19 +0000 (13:46 +0900)]
fota_gui_common : set rotate_angle by environment configuration. Before running fota_gui, set ROTATE_STATE as a specific angle(4 types : 0,90,270,360). It can run with that angle.

Change-Id: Ieee066a720ae2ccace9067ccde39f3d44e9969f5

4 years agofota_gui_common : set image buffer size by rotate_angle 36/250236/1
dyamy-lee [Thu, 5 Nov 2020 08:52:28 +0000 (17:52 +0900)]
fota_gui_common : set image buffer size by rotate_angle

Change-Id: I3f808e998d75aebe9671366dfcaca64206bca610

4 years agofota_gui_common : get rotate_angle from build option of cmake 25/250225/2
dyamy-lee [Mon, 2 Nov 2020 06:51:36 +0000 (15:51 +0900)]
fota_gui_common : get rotate_angle from build option of cmake

Change-Id: I879e8931b002fbbf7419583e4c9187feb36e50fb

4 years agofota_gui_common : add rotation logic with using pixman - roate angle is fixed 0 24/250224/2
dyamy-lee [Mon, 2 Nov 2020 06:27:29 +0000 (15:27 +0900)]
fota_gui_common : add rotation logic with using pixman - roate angle is fixed 0

Change-Id: Ie971c8a18956bcbb33c87c6eb67dec8367c38fb3

4 years agofota_gui - common, wearable : fix resource leak 17/247017/1 accepted/tizen/6.0/unified/20201111.064836 accepted/tizen/unified/20201109.123505 submit/tizen/20201106.060201 submit/tizen_6.0/20201110.080204
dyamy-lee [Fri, 6 Nov 2020 05:44:30 +0000 (14:44 +0900)]
fota_gui - common, wearable : fix resource leak

Change-Id: I193ba8937666ce50b09d71d4662af7be3bf717b0

4 years agohot fix : rw-update-ani-common : resolve integers' divide problem which can't get... 11/247011/1 submit/tizen/20201106.052508
dyamy-lee [Fri, 6 Nov 2020 04:09:55 +0000 (13:09 +0900)]
hot fix : rw-update-ani-common : resolve integers' divide problem which can't get float result for percent

Change-Id: I90f380dd39610bd690c05da6e5c5755a470d91b2

4 years agofota_gui - common, wearable : when it get 100 percent, it goes directly. 10/247010/1
dyamy-lee [Fri, 6 Nov 2020 03:58:48 +0000 (12:58 +0900)]
fota_gui - common, wearable : when it get 100 percent, it goes directly.

Change-Id: I03220262d87b559b59b8c8a57c8036845b360891

4 years agofota_gui - common, wearable : terminate binary, when progress is -1. 09/247009/1
dyamy-lee [Fri, 6 Nov 2020 02:36:05 +0000 (11:36 +0900)]
fota_gui - common, wearable : terminate binary, when progress is -1.
Even if it doesn't reach 100 percent, if progress is -1, it terminate.
But, when it is just stared with progress -1 (remain previous update content), do not terminate.

Change-Id: I836f9d0d0fcd0eb7b7a6641e8cb657690d721b77

4 years agofollowing Architecture(armv7l, aarch64), initrd install file's variable is changed 29/244929/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_bkup_20201110 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.103526 accepted/tizen/6.0/unified/hotfix/20201103.050618 accepted/tizen/unified/20201005.005838 submit/tizen/20200929.022457 submit/tizen_6.0/20201029.205504 submit/tizen_6.0_hotfix/20201102.192904 submit/tizen_6.0_hotfix/20201103.115104 tizen_6.0.m2_release
dyamy-lee [Mon, 28 Sep 2020 02:31:36 +0000 (11:31 +0900)]
following Architecture(armv7l, aarch64), initrd install file's variable is changed

Change-Id: I4a06412e78442ea138386982280c4db114da8373

4 years agoremove previous trace 48/244748/2 accepted/tizen/unified/20200924.121617 submit/tizen/20200924.055818
dyamy-lee [Thu, 24 Sep 2020 03:18:57 +0000 (12:18 +0900)]
remove previous trace
- .._main.c : change function name suitably
- fota_gr_rw_common.c : remove cario not used

Change-Id: Ia3fc51a3064930cc66e94512f7a5582776c1c24f

4 years agoSet env value if not in recovery gui & update Version 19/241319/1 accepted/tizen/unified/20200820.034753 submit/tizen/20200819.075512
dyamy-lee [Wed, 19 Aug 2020 06:38:05 +0000 (15:38 +0900)]
Set env value if not in recovery gui & update Version

Change-Id: Iab44a06e3239479b7cc5cda682c66b30d470bf8b

4 years agopackaging: version up to 1.2.8 68/240868/1 accepted/tizen/unified/20200814.123152 submit/tizen/20200812.080729
dyamy-lee [Wed, 12 Aug 2020 08:01:29 +0000 (17:01 +0900)]
packaging: version up to 1.2.8

Change-Id: Icfde9467a9ea49f5f622a54c83b59cc4682d7b40

4 years agochange recovery gui binary name in spec file and remove swp file 65/240865/1
dyamy-lee [Wed, 12 Aug 2020 07:30:44 +0000 (16:30 +0900)]
change recovery gui binary name in spec file and remove swp file
- change 'recovery_gui' to 'system-recovery_gui' in spec file for matching with execution script
- remove swp file not used

Change-Id: If34ee188e148939ed101720a2eec0b325ed1778d

4 years agoadd aarch64 for build and remove size_t 20/240320/1 accepted/tizen/unified/20200805.093218 submit/tizen/20200805.091537
dyamy-lee [Wed, 5 Aug 2020 09:07:09 +0000 (18:07 +0900)]
add aarch64 for build and remove size_t

Change-Id: Ief3208eca4102765a82cb4e0ae5e54e02714cc7b

4 years agochange for catching Major Defect 09/239609/5 accepted/tizen/unified/20200728.224547 submit/tizen/20200728.094542
dyamy-lee [Tue, 28 Jul 2020 06:30:26 +0000 (15:30 +0900)]
change for catching Major Defect

Change-Id: I8d0d166a7fdc90b644343ab1fa11df62357a53ba

4 years agoImplements FOTA(RO, RW) UI, Recovery UI 23/239523/1 submit/tizen/20200728.042539
dyamy-lee [Mon, 27 Jul 2020 07:41:58 +0000 (16:41 +0900)]
Implements FOTA(RO, RW) UI, Recovery UI

Change-Id: I42c102587fe5e1d724f958e8b51d818085160fc8

5 years agoFirst draft 65/235365/1
Gwanglim Lee [Thu, 4 Jun 2020 06:19:37 +0000 (15:19 +0900)]
First draft

Change-Id: I71155833a464a4737b752230ed4a7ff40a00f71b

5 years agoInitial empty repository master
Tizen Infrastructure [Thu, 4 Jun 2020 03:38:05 +0000 (03:38 +0000)]
Initial empty repository