platform/core/appfw/ail.git
10 years agoDo not leak memory all the time when opening the DB. 67/27967/1
Ismo Puustinen [Tue, 23 Sep 2014 14:23:53 +0000 (17:23 +0300)]
Do not leak memory all the time when opening the DB.

Change-Id: I1121d832b78ddbc4c56c8e6bba1bc577ddd19c10

10 years agoAdd robstness in case of error during sqlite request execution 46/27946/1 accepted/tizen/common/20140923.145814 submit/tizen/20140923.121012 submit/tizen_ivi/20140924.000000
Baptiste DURAND [Tue, 23 Sep 2014 11:53:03 +0000 (13:53 +0200)]
Add robstness in case of error during sqlite request execution

BUG=TC-1624

Change-Id: I30aac4d39d81283f41a5c894b9e842fcd2ad1c64
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoFix ail_initdb binary 75/27675/2 accepted/tizen/common/20140917.103440 submit/tizen_common/20140917.103011 submit/tizen_ivi/20140919.000000
Baptiste DURAND [Wed, 17 Sep 2014 10:22:55 +0000 (12:22 +0200)]
Fix ail_initdb binary

Remove useless __is_authorized call

Change-Id: Ibed60441ca369dcd134f415f14d41c0bfbf585d5
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoImplement Multi user changes 21/27621/1 accepted/tizen/common/20140917.103343 submit/tizen_common/20140916.181156 submit/tizen_common/20140916.203010
Sabera Djelti (sdi2) [Tue, 9 Sep 2014 14:24:03 +0000 (16:24 +0200)]
Implement Multi user changes

Change-Id: I87318a64e4dbc7da35d0d9a0aa85a9b18cf07773
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoremove useless initdb source code 20/27620/1
Sabera Djelti (sdi2) [Fri, 5 Sep 2014 10:22:07 +0000 (12:22 +0200)]
remove useless initdb source code

Change-Id: I13ca2b026937d8ac3b8d96464e2ad02ff429c90e
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoRetrieve tizenglobalapp uid with tzplatform_getuid 19/27619/1
Sabera Djelti (sdi2) [Tue, 2 Sep 2014 16:11:01 +0000 (18:11 +0200)]
Retrieve tizenglobalapp uid with tzplatform_getuid

+ Remove checking root group of tizenglobalapp
+fix require root permission for doing chown/chmod

change-Id: I3a97eeaea544f0cf8431c0028224dafeca8306a0
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoail_list: allow to report more than 1 entry for user & global apps 64/27264/1
Janos Kovacs [Tue, 9 Sep 2014 11:54:56 +0000 (14:54 +0300)]
ail_list: allow to report more than 1 entry for user & global apps

Change-Id: I8ca39cb70644e3286ed01950d05472e5ba1d65fa

10 years agoRun filtered requests on global db if we are GLOBAL_USER 58/27258/4 accepted/tizen/common/20140909.100225 accepted/tizen/ivi/20140909.153726 submit/tizen/20140909.093454
Manuel Bachmann [Tue, 9 Sep 2014 08:35:04 +0000 (10:35 +0200)]
Run filtered requests on global db if we are GLOBAL_USER

We should automatically redirect calls from "ail_filter
_count_usr_appinfo()" to "ail_filter_count_appinfo()" if
the calling user is GLOBAL_USER (i.e. root). Filtered
requests will target the wrong DB, and fail otherwise.

Bug-Tizen: TC-1574

Change-Id: I774aa5f270cc6148639fcb6f449a7cb949f0fff8
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years agoMerge "Add ail_list tool" into tizen accepted/tizen/common/20140905.091237 accepted/tizen/ivi/20140909.103720 submit/tizen_common/20140904.141851 submit/tizen_ivi/20140909.000000
Baptiste DURAND [Thu, 4 Sep 2014 14:17:50 +0000 (07:17 -0700)]
Merge "Add ail_list tool" into tizen

10 years agoAdd ail_list tool 15/27115/1
Baptiste DURAND [Thu, 4 Sep 2014 14:14:04 +0000 (16:14 +0200)]
Add ail_list tool

This tools permits to list all applications avaibles for the current user

Change-Id: I992863ea98b238c841707eb0c9e995b550146724
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoRemove chsmack + fix surplus directories 04/27104/1
Sabera Djelti (sdi2) [Thu, 4 Sep 2014 09:21:02 +0000 (11:21 +0200)]
Remove chsmack + fix surplus directories

Change-Id: Iccd5e65ccdbfa89656653adeea63a804fce9a757
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoClean Code 34/26734/1 accepted/tizen/common/20140828.155327 submit/tizen_common/20140828.122453 submit/tizen_ivi/20140829.000000
Baptiste DURAND [Thu, 28 Aug 2014 11:54:25 +0000 (13:54 +0200)]
Clean Code

Adapt level trace
And check if process is allowed to set chsmak label
Fix Icon Path management

Change-Id: I1afa7df5000fa4acf6d5e0c19a90a2e5c949d162
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agofix TC-1516 85/26485/3 accepted/tizen/common/20140826.105411 submit/tizen/20140825.155632 submit/tizen/20140826.082542 submit/tizen_ivi/20140827.000000 submit/tizen_ivi/20140828.000000
Sabera Djelti (sdi2) [Mon, 18 Aug 2014 08:38:20 +0000 (10:38 +0200)]
fix TC-1516

fix permission icons dir
fix display image icon
fix db_exec_sqlite_query for Globalro db

Bug-Tizen: TC-1516

Change-Id: I64844fb5734958ca7990463a193bd9b32240ee74
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoFix (run application with) xwalk-launcher 25/26025/1 accepted/tizen/common/20140814.150935 submit/tizen_common/20140814.134251 submit/tizen_ivi/20140818.000000 submit/tizen_ivi/20140818.000001 submit/tizen_ivi/20140818.000002 submit/tizen_ivi/20140822.000000
Sabera Djelti (sdi2) [Wed, 13 Aug 2014 11:25:37 +0000 (13:25 +0200)]
Fix (run application with) xwalk-launcher

Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
Change-Id: I21026c7ff3d917562c37085bd5df9e8a167b36fe

10 years agoMulti user features : 18/25718/3 accepted/tizen/common/20140812.141121 submit/tizen_common/20140811.160835 submit/tizen_common/20140811.161134 submit/tizen_common/20140811.192137 submit/tizen_ivi/20140813.000000
Sabera Djelti (sdi2) [Wed, 18 Jun 2014 08:31:39 +0000 (10:31 +0200)]
Multi user features :

->Add/Use Usr App related fonctions instead of Global App related Functions

Change-Id: Icbe51b1a830c91b273de3309c13ec3fecfcb7405
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoClean spec file for yocto complaince. 68/24268/1
Ronan Le Martret [Wed, 9 Jul 2014 11:58:14 +0000 (13:58 +0200)]
Clean spec file for yocto complaince.

Change-Id: Ib3eac437e694a4fa42efd338a43412ebe39eb0a0
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
10 years agoFix build : Add Requires on TzPlatformConfig devel package for ail-devel 10/22010/1 tizen_3.0.m14.2_ivi submit/tizen_common/20140528.183233 submit/tizen_common/20140529.194900 submit/tizen_common/20140530.021300 submit/tizen_common/20140602.071652 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000 submit/tizen_ivi/20140623.000000 submit/tizen_ivi/20140623.000001 submit/tizen_ivi/20140624.064036 submit/tizen_ivi/20140626.125712 submit/tizen_ivi/20140626.130032 submit/tizen_ivi/20140626.144348 tizen_3.0.m14.2_ivi_release
Baptiste DURAND [Wed, 28 May 2014 18:23:51 +0000 (20:23 +0200)]
Fix build : Add Requires on TzPlatformConfig devel package for ail-devel

Change-Id: Icf8b0b9afef5a10a2948d9ab56de83fce790d50f
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoAdd multi User features 03/22003/2 submit/tizen_common/20140528.173953
Baptiste DURAND [Fri, 11 Apr 2014 08:46:34 +0000 (10:46 +0200)]
Add multi User features

Change-Id: I94a850f64e029ff09959a9d210ed76a878949b0e
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoAdd smack label User for vconf directory 84/20284/3
Jean-Benoit MARTIN [Wed, 30 Apr 2014 12:06:46 +0000 (14:06 +0200)]
Add smack label User for vconf directory

Bug-Tizen: PTREL-790

Change-Id: I055d4e059810aabe2e725143dc25c50d52f64850
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
10 years agoAdd WRT condition to apply smack label 05/20905/1 submit/tizen_common/20140521.163740 submit/tizen_common/20140522.130648 submit/tizen_common/20140522.135644
Jean-Benoit MARTIN [Tue, 13 May 2014 13:16:53 +0000 (15:16 +0200)]
Add WRT condition to apply smack label

Change-Id: I571c61f565b0af58bc3cd07ea2ecd5c0b217b988
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
10 years agoModification about smack label of db file belong to process. 63/20663/2 accepted/tizen/common/20140519.230052 accepted/tizen/mobile/20140602.132536 submit/tizen/20140516.061019
jooseong.lee [Mon, 12 May 2014 00:57:58 +0000 (09:57 +0900)]
Modification about smack label of db file belong to process.

[Problem]
Most db files have 'floor' label.  Because these are created during image creation time.
Therefore no process can write the dbs (since 'floor' label allows only read and execute)

[Solution]
Modify smack label of the db files based on condition below referring three domain model
Condition1. Assign domain of process which creates db files
Condition2. Assign domain of process accesses db files.

Change-Id: Idd4a2e446c5d7db4b93777a871f2478055a0818e
Signed-off-by: jooseong.lee <jooseong.lee@samsung.com>
10 years agoRemove hardcoded path for multiuser support 27/18527/2 accepted/tizen_ivi_panda tizen_ivi_panda accepted/tizen/ivi/panda/20140403.015044 submit/tizen_ivi_panda/20140403.011834
Jean-Benoit MARTIN [Mon, 24 Mar 2014 14:08:39 +0000 (15:08 +0100)]
Remove hardcoded path for multiuser support

Bug-Tizen: PTREL-311

Change-Id: I2533ea48982f63b24031f540c104ce34ffab908f
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
10 years agoFix build issue for x64 26/18526/1
Jean-Benoit MARTIN [Tue, 25 Mar 2014 09:18:19 +0000 (10:18 +0100)]
Fix build issue for x64

Change-Id: I9a074075aea5b92647e055d7dd227e9c444f7f1f
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
10 years agoSync to the latest code 90/17790/1
junsuk77.oh [Mon, 12 Aug 2013 02:34:25 +0000 (11:34 +0900)]
Sync to the latest code

Change-Id: I538f71d0461cc85172c9d041e6bf077d951bfdf3
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
Sync to the latest code

Change-Id: I594952c13734ec3710a7b0e1479d331af405040f
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
add git license file

Change-Id: Id051f1a9b2d7a108c8d6cadfa9c8853bc0ab9f13
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
delete license path

Change-Id: Id42fe2ac15c7acc7f90555f5cd41bcdc5ae26263
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
sync with private master

Change-Id: I97cede33cc084ccb04921008511d3aed469bdd58
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
fix ail filter query

Change-Id: I2b17f22629db41ca065e535304ccbeda608c67d4
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
remove  keyword check

Change-Id: I035e723ad1787e33f3101f58052b12880e0a6a6b

add Apache boiler plate

Change-Id: If39b5d58ffc7c633a6eeeff71cae7a787b938afb

11 years agoUpdate changelog 44/11344/1 accepted/tizen/ivi/stable accepted/tizen/mobile accepted/tizen_generic accepted/tizen/20131024.175845 accepted/tizen/20131105.192055 accepted/tizen/20131112.015211 accepted/tizen_ivi_stable/20131116.100937 submit/tizen/20131024.174725 submit/tizen_ivi_stable/20131116.100237
Rusty Lynch [Thu, 24 Oct 2013 17:38:22 +0000 (10:38 -0700)]
Update changelog

Change-Id: I0603141bdde17ca5c65cf4fbe02fae8e2e0935e1
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
11 years agoFix TIVI 2012 : Add Smack build option 26/11326/2
Baptiste DURAND [Thu, 24 Oct 2013 11:13:52 +0000 (13:13 +0200)]
Fix TIVI 2012 : Add Smack build option

ail_initdb  set SMACK label on app_info.db.

As manifest is reset to default floor, we need to remove the smack instruction in the code too.

Change-Id: I3e6f27712dccc0aed055259819eae105f6a17bf5
Signed-off-by: Baptiste DURAND <baptiste.durand@eurogiciel.fr>
11 years agoFix TIVI-2012 : Unsplit ail package 25/11325/2
Baptiste DURAND [Thu, 24 Oct 2013 11:12:50 +0000 (13:12 +0200)]
Fix TIVI-2012 : Unsplit ail package

ail library should be installed with it tools ail_initdb

To not break image build : ail package provides libail package.

Change-Id: I5424f9764be0bd75b8c3fea6e0d9d8b458b7992c
Signed-off-by: Baptiste DURAND <baptiste.durand@eurogiciel.fr>
11 years agosync with tizen 2.2 to fix a build error 48/10848/3
junsuk77.oh [Mon, 14 Oct 2013 07:32:57 +0000 (16:32 +0900)]
sync with tizen 2.2 to fix a build error

1. add new api to support submode, and
2. add new getter to get the main package id when app is in submode
3. add new api to support fota upgrade
4. add debug message when db query is fail
5. use sqlite3_snprintf instead of snprintf to get special charator like upperstrophy

Change-Id: I6e86988e0d3239437767ae145ab742d4743795d3
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoupdate changelog accepted/tizen/20130925.103602 accepted/tizen/20130925.184101 accepted/tizen/20130925.184155 submit/tizen/20130925.024054
Anas Nashif [Wed, 25 Sep 2013 02:40:41 +0000 (22:40 -0400)]
update changelog

Change-Id: I846c0f5642653d56d9cfbac48b5b8a2466e0fe73

11 years agocleanup packaging, split library 04/10204/2
Anas Nashif [Tue, 24 Sep 2013 04:18:31 +0000 (00:18 -0400)]
cleanup packaging, split library

- split libail into a sub-package
- Fixed license
- Fixed package group

Change-Id: Ie88f4c9f882549f5707a31594bf0257292867a55
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
11 years agoMerge branch 'tizen_2.2' into tizen
Anas Nashif [Tue, 24 Sep 2013 04:10:50 +0000 (00:10 -0400)]
Merge branch 'tizen_2.2' into tizen

Conflicts:
packaging/ail.spec

11 years agoFix database permission
Chengwei Yang [Thu, 1 Aug 2013 07:37:47 +0000 (15:37 +0800)]
Fix database permission

This looks like some kind of typo, however will cause app application
failed to update desktop entry in database.

For example, starter will update sat-ui entry in database once it's
ready, while starter running as 'app' privilege, which is a member of
group 'db_menu'.

Change-Id: I3ff02609e5412b4004edd2fcb7007616983e8b7e
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agoFix initial value for Vconf widget languague Key 63/6063/1 accepted/tizen/ivi/genivi accepted/tizen/ivi/release tizen_ivi_genivi tizen_ivi_release accepted/tizen/20130912.081947 accepted/tizen/20130912.083128 accepted/tizen/20130912.084428 accepted/tizen/ivi/genivi/20140131.054155 accepted/tizen/ivi/genivi/20140131.060005 accepted/tizen_ivi_release/20131120.050520 ivi_oct_m2 submit/tizen/20130808.123604 submit/tizen/20130912.075531 submit/tizen_ivi_genivi/20140131.054718 submit/tizen_ivi_genivi/20140131.060217 submit/tizen_ivi_release/20131120.022236 submit/tizen_ivi_release/20131120.025942 submit/tizen_ivi_release/20140131.054225
Baptiste DURAND [Mon, 29 Jul 2013 10:07:14 +0000 (12:07 +0200)]
Fix initial value for Vconf widget languague Key

During Widget installation, we have this error message :
appcore: appcore: setlocale() error

This is due to a wrong initial value set for language vconf key (db/menu_widget/language).
It is used as argument of setlocale function.

Fix TZPC-3942

11 years agoImprove performence of app_info.db creation/insertion of a package in app_info.db 52/5452/10 accepted/tizen/20130723.173843 submit/tizen/20130723.135654
Baptiste DURAND [Fri, 19 Jul 2013 17:21:49 +0000 (19:21 +0200)]
Improve performence of app_info.db creation/insertion of a package in app_info.db

Fix TZPC-3461:Instead of making 1 SQL request for each local name, make just 1 SQL request to insert all locale name

11 years agofix issue - removed foler dependency when ail-initdb failed
junsuk77.oh [Thu, 11 Jul 2013 02:04:21 +0000 (11:04 +0900)]
fix issue - removed foler dependency when ail-initdb failed

Change-Id: Ib2fa7d0db29182e2f509764071e84e3916e36415
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoresetting manifest requested domain to floor 37/4437/2 accepted/tizen/20130710.213957 submit/tizen/20130710.165451
Alexandru Cornea [Fri, 28 Jun 2013 09:33:13 +0000 (12:33 +0300)]
resetting manifest requested domain to floor

11 years agoremove unsed debug message
junsuk77.oh [Wed, 3 Jul 2013 01:57:28 +0000 (10:57 +0900)]
remove unsed debug message

Change-Id: I1198412909fdc7dbcd1f3e8729fae649fe417f14
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agomanage package update. 72/4472/1 accepted/tizen/20130628.165836 submit/tizen/20130628.131149
Baptiste DURAND [Fri, 28 Jun 2013 13:08:53 +0000 (15:08 +0200)]
manage package update.

11 years agoCleanup spec 09/4309/1 accepted/tizen/20130627.014001 submit/tizen/20130627.013116
Rusty Lynch [Thu, 27 Jun 2013 01:28:44 +0000 (18:28 -0700)]
Cleanup spec

The package should be creating an applications directory and also
initializing the application locale.  Taking the opportunity to also
remove the bogus smack label and fixup the post script some

Change-Id: I9a732ec14e474d844d810488d09e605f764d4755

11 years agomerge master branch
junsuk77.oh [Tue, 18 Jun 2013 09:46:29 +0000 (18:46 +0900)]
merge master branch

Change-Id: I7cb9eb1afa2b1e41c819db85b7a152b0baf3a0a0
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoappinfo db close when ail_destroy_appinfo is called tizen_2.1 2.1b_release accepted/tizen/20130520.100858 accepted/tizen_2.1/20130425.035521 submit/tizen/20130517.044747 submit/tizen_2.1/20130424.230726
junsuk77.oh [Fri, 5 Apr 2013 05:44:08 +0000 (14:44 +0900)]
appinfo db close when ail_destroy_appinfo is called

Change-Id: I3b07f112783b49050c7c73d5cec42f5d70bf8649
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoFix for x86_64 compatibility.
Junfeng [Tue, 19 Mar 2013 10:38:51 +0000 (18:38 +0800)]
Fix for x86_64 compatibility.

Change-Id: I145d7d0a666ca393ca030cb57dee2ad5a732d4c5

11 years agoadd appinfo db close api
junsuk77.oh [Thu, 28 Mar 2013 08:36:48 +0000 (17:36 +0900)]
add appinfo db close api

Change-Id: I87e7a86a14bfff38af44319e43c10908e594d7ca
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agomerge with master
Jinkun Jang [Fri, 15 Mar 2013 16:12:24 +0000 (01:12 +0900)]
merge with master

11 years agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 16:46:25 +0000 (01:46 +0900)]
Tizen 2.1 base

12 years agoInitial empty repository
eunmee moon [Fri, 27 Apr 2012 12:35:42 +0000 (21:35 +0900)]
Initial empty repository