summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jiwoong Im [Fri, 30 Jan 2015 07:11:45 +0000 (16:11 +0900)]
Fix bug in using db_prepare.
In GLOBAL_USER apis, db_prepare should be changed to db_prepare_globalro to prepare GLOBAL_USER's db .
Change-Id: Ic8b55768254537ae97c101c336415f473f5cdcba
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
WonYoung Choi [Tue, 27 Jan 2015 07:41:29 +0000 (16:41 +0900)]
Fix ail_createdb is exited after removing old db files.
ail_createdb is returning -1 to exit after removing db files always.
BUG-Tizen=TC-2396
Change-Id: I103d7ec7ea45be5743ad24b4623e942a894f5f35
Baptiste DURAND [Mon, 26 Jan 2015 09:09:44 +0000 (10:09 +0100)]
Add sub package ail_vconf-devel
Theses following functions ;
ail_vconf_get_str
ail_vconf_set_str
should be used for all binaries used during image creations
see details: https://bugs.tizen.org/jira/browse/TC-2399
BUG-Tizen=TC-2399
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: Ifd9e0ea9d791280fc2bcc0c6cd3aa0ea31649dd5
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
José Bollo [Fri, 23 Jan 2015 13:32:12 +0000 (14:32 +0100)]
Setting smack labels to User with vconftool option
(Should be used with buxton-vconf)
Change-Id: I43ff9d78f9c19e6b66336d6ed4a17dabf4d2512f
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
José Bollo [Thu, 22 Jan 2015 14:06:55 +0000 (15:06 +0100)]
Adding a fallback to vconftool
This patch allows the creation of images when buxton is used.
During the process of creating the images, the serveur buxton
is not started. Unfortunately, the client library of buxton
dont allow a fall back to the direct access of the databases.
This patch fallback to use the command vconftool that works
even when the server buxton is off.
See https://github.com/sofar/buxton/issues/144
Change-Id: I89e68deda827ef79670250134badcaf2106d2223
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
José Bollo [Fri, 5 Dec 2014 16:14:49 +0000 (17:14 +0100)]
packaging: removing a non-essential dependency
The dependency to vconf-devel-keys is included in
the already required dependency pkgconfig(vconf).
Change-Id: I17a11d71d2aa2b3729e5c18fa814f01ef5fa26ed
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
Baptiste DURAND [Wed, 12 Nov 2014 10:17:43 +0000 (02:17 -0800)]
Merge "add ail_createdb & ail_syncdb" into tizen
Sabera Djelti (sdi2) [Thu, 30 Oct 2014 14:59:08 +0000 (15:59 +0100)]
add ail_createdb & ail_syncdb
The creation and the synchronisation of the global/user application database made by ail_initdb(_user) is now split up in two separate tools ail_createdb(_user) and ail_syncdb(_user)
ail_initdb is an obsolete tool
Change-Id: I433d70b139b686f0264c41074efd13ca61f1235d
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Baptiste DURAND [Fri, 31 Oct 2014 16:41:29 +0000 (09:41 -0700)]
Merge "Add robustness to mkdir" into tizen
José Bollo [Tue, 28 Oct 2014 15:05:20 +0000 (16:05 +0100)]
Fixing some typo errors
Change-Id: Idebc0be755d48bc1a9eff93f241753c1d12b4dbf
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
Sabera Djelti (sdi2) [Fri, 3 Oct 2014 09:03:24 +0000 (11:03 +0200)]
Add robustness to mkdir
Change-Id: I457bf87c5d9e19b1e49148f521e3be913531d801
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Ronan Le Martret [Fri, 3 Oct 2014 07:56:59 +0000 (09:56 +0200)]
fix smack lib dependency
- clean spec file
- remove deprecated code
Change-Id: I2acbbb8fbc7602d2a6858a8adb14507fa546111e
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Baptiste DURAND [Thu, 2 Oct 2014 14:19:46 +0000 (16:19 +0200)]
[REG] Fix test logic to allow correct database creation
Change-Id: I99cf34c5c23e493fea32e7651709ccb52acf9621
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Baptiste DURAND [Wed, 1 Oct 2014 07:46:50 +0000 (00:46 -0700)]
Merge "Fix owner for /usr/share/icon/* directory" into tizen
Baptiste DURAND [Tue, 30 Sep 2014 14:41:43 +0000 (16:41 +0200)]
Fix owner for /usr/share/icon/* directory
to allow installation for all users
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: I50ae92537290d193349a1583913df5bf25a88f0c
Baptiste DURAND [Wed, 1 Oct 2014 07:39:11 +0000 (00:39 -0700)]
Merge "Add ail_initdb_user & ail_get_app_DB_journal()" into tizen
Baptiste DURAND [Wed, 1 Oct 2014 07:36:22 +0000 (00:36 -0700)]
Merge "Do not leak memory all the time when opening the DB." into tizen
Sabera Djelti (sdi2) [Mon, 22 Sep 2014 15:27:21 +0000 (17:27 +0200)]
Add ail_initdb_user & ail_get_app_DB_journal()
Change-Id: Id4521033a5f64b0ea4d7e72abdbfd51dc7125618
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Ronan Le Martret [Fri, 26 Sep 2014 15:55:09 +0000 (17:55 +0200)]
fix yocto post script error
Change-Id: I9fac535dfaf87e7d1bc7fba271562bc72dbb85c3
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Baptiste DURAND [Wed, 24 Sep 2014 13:50:45 +0000 (15:50 +0200)]
Fix ail_initdb script.
/usr/dbspace doesn't owned by tizenglobalapp so ail_initdb can't be exectuted correctly.
Make sure that app_info.db is created evenif no desktop file is found in /usr/share/applications
Move tizenglobalapp creation from slp-pkgmgr to ail
Change-Id: Ia33f471263dd4a4d5d6b5791b71ff607c876e981
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
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
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>
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>
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>
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>
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>
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
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>
Baptiste DURAND [Thu, 4 Sep 2014 14:17:50 +0000 (07:17 -0700)]
Merge "Add ail_list tool" into tizen
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
Anas Nashif [Wed, 25 Sep 2013 02:40:41 +0000 (22:40 -0400)]
update changelog
Change-Id: I846c0f5642653d56d9cfbac48b5b8a2466e0fe73
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>
Anas Nashif [Tue, 24 Sep 2013 04:10:50 +0000 (00:10 -0400)]
Merge branch 'tizen_2.2' into tizen
Conflicts:
packaging/ail.spec
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>
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
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
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>
Alexandru Cornea [Fri, 28 Jun 2013 09:33:13 +0000 (12:33 +0300)]
resetting manifest requested domain to floor
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>
Baptiste DURAND [Fri, 28 Jun 2013 13:08:53 +0000 (15:08 +0200)]
manage package update.
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
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>
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>
Junfeng [Tue, 19 Mar 2013 10:38:51 +0000 (18:38 +0800)]
Fix for x86_64 compatibility.
Change-Id: I145d7d0a666ca393ca030cb57dee2ad5a732d4c5
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>
Jinkun Jang [Fri, 15 Mar 2013 16:12:24 +0000 (01:12 +0900)]
merge with master
Jinkun Jang [Tue, 12 Mar 2013 16:46:25 +0000 (01:46 +0900)]
Tizen 2.1 base
eunmee moon [Fri, 27 Apr 2012 12:35:42 +0000 (21:35 +0900)]
Initial empty repository