Hyunjin Park [Fri, 8 Jul 2016 02:49:59 +0000 (11:49 +0900)]
[application] remove useless code to check presence when send replycallback
Change-Id: I491579a5786c7e657de93cca6c23bce7801a83f7
Hyunjin Park [Thu, 7 Jul 2016 10:41:36 +0000 (03:41 -0700)]
Merge "[version] 1.12" into tizen
Hyunjin Park [Thu, 7 Jul 2016 10:40:29 +0000 (19:40 +0900)]
[version] 1.12
Change-Id: I6f74a582c72e61ead241926fe2affb46d12b4179
Hyunjin Park [Thu, 7 Jul 2016 10:39:54 +0000 (03:39 -0700)]
Merge "[NBS] Added checking is service available" into tizen
Lukasz Bardeli [Thu, 7 Jul 2016 09:14:31 +0000 (11:14 +0200)]
[NBS] Added checking is service available
Change-Id: I4238b53dbe09646966308f213a6c397e2d921bfd
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Hyunjin Park [Thu, 7 Jul 2016 08:41:49 +0000 (17:41 +0900)]
[version] 1.11
Change-Id: I28985dc3ae75efa18f9515f046591ecc579aa93a
Piotr Kosko [Thu, 7 Jul 2016 07:49:32 +0000 (09:49 +0200)]
[Filesystem][Systeminfo] Changed storage handling
[Feature] Deviced is used for handling only removable devices,
internal storages are handled with storage api.
[Verification] Code compiles without error.
TCT for filesystem, systeminfo and archive 100% passrate (Auto and Manual)
Change-Id: If5609ff4f22383efd018a445f6a56760983b9818
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Hyunjin Park [Wed, 6 Jul 2016 12:23:45 +0000 (21:23 +0900)]
[version] 1.10
Change-Id: Ifca8f412246799facf60de7c52df741d65ac5d0e
Lukasz Bardeli [Wed, 6 Jul 2016 10:44:15 +0000 (12:44 +0200)]
[NBS] Add printing error value from native API
Change-Id: I3fafebf373b99eb68945d3a215d3c7bfdd6ff0b3
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Hyunjin Park [Wed, 6 Jul 2016 01:52:17 +0000 (10:52 +0900)]
[version] 1.9
Change-Id: Ia2a1329fda383ffded1e7fca551002d146b7526f
Lukasz Bardeli [Tue, 5 Jul 2016 12:47:15 +0000 (14:47 +0200)]
[HAM] add NOT_SUPPORTED_ERR to WIRST_UP
Change-Id: I2eb81e5ebb52f8fe9e93efb3c9e240c8c109c789
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Hyunjin Park [Tue, 5 Jul 2016 05:36:01 +0000 (14:36 +0900)]
[version] 1.8
Change-Id: Ic862a25d1fd51f3b6ee7b5f49107d419512815f4
Tomasz Marciniak [Mon, 4 Jul 2016 11:03:44 +0000 (13:03 +0200)]
[Preference] Fix for PreferenceData objects.
[Feature] PreferenceData is now created correctly
by new and its attributes are read only.
[Verification] TCT tests related to PreferenceData pass.
Change-Id: I3ecf4cc6566c6550e6371d97981f51a7885817b3
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Tomasz Marciniak [Mon, 4 Jul 2016 07:42:08 +0000 (09:42 +0200)]
[spec] Added common profile.
[Verification] Code compiles.
[version] 1.7
Change-Id: I0cde3b60f911e8f3dfe04d4e8e27856256281642
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Hyunjin Park [Mon, 4 Jul 2016 06:45:12 +0000 (15:45 +0900)]
[wearable][nfc] enable feature on emulator
[version] 1.6
Change-Id: I6ed647a77cafcbfef395fafe27637bc4ee30bf49
Hyunjin Park [Mon, 4 Jul 2016 02:12:55 +0000 (11:12 +0900)]
[version] 1.5
Change-Id: I33c160623a7626e8c4cea92e0201082c75a4a5b5
Tomasz Marciniak [Fri, 1 Jul 2016 05:05:59 +0000 (07:05 +0200)]
[Download] Added destroy_download() in case of failure.
[Verification] Code compiles. TCT pass rate 100%
Change-Id: Iae9d68114317c81766ab09bec2d567e49fe2495c
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Hyunjin Park [Thu, 30 Jun 2016 02:41:30 +0000 (11:41 +0900)]
[version] 1.4
Change-Id: I9bab90802a56a9faf99a868dbebabd43d4ef511e
Lukasz Bardeli [Wed, 29 Jun 2016 12:18:59 +0000 (14:18 +0200)]
[Calendar] Fix prevent crash
Change-Id: Id256156f8ef0ff110da38472535c6c94378ce22b
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Hyunjin Park [Tue, 28 Jun 2016 10:18:24 +0000 (19:18 +0900)]
[version] 1.3
Change-Id: I88e79ffe095278e813e3f1bb2fb77c30f09153c0
Lukasz Bardeli [Mon, 27 Jun 2016 08:16:43 +0000 (10:16 +0200)]
[Sensor] Add batchLatency parameter to setChangeListener
Change-Id: I734c1729e78de522f08831dae153ec852ac615b0
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Hyunjin Park [Mon, 27 Jun 2016 09:48:28 +0000 (18:48 +0900)]
[version] 1.2
Change-Id: I093e30081946ff2aec96740e44f272c8c3c45a2d
Piotr Kosko [Mon, 27 Jun 2016 08:56:23 +0000 (10:56 +0200)]
[Preference] Additional check for unsetChangeListener NotFoundErr
[Feature] Handling NotFoundErr was added in unsetChangeListener()
[Verification] TCT passrate is 97.73% (1 fail caused by TCT issue)
Change-Id: I48be34dbac09ccfd119da2ff400911b7e8e4c0f5
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Hyunjin Park [Thu, 23 Jun 2016 01:51:55 +0000 (10:51 +0900)]
[version] 1.1
Change-Id: I3b2b0dc8cb6779b4102d939d818b179955ce7a8c
sangrae.kim [Wed, 22 Jun 2016 12:51:54 +0000 (21:51 +0900)]
[NFC] Fix the bug - missing AIDData
before:
TCT passrate 98.86% (176/174/2/0/0)
after:
TCT passrate 100.00% (176/176/0/0/0)
Change-Id: I104aa5f8a57c9c5e70f7e77f850ac966b2ca18d3
Signed-off-by: sangrae.kim <sangrae.kim@samsung.com>
Hyunjin Park [Wed, 22 Jun 2016 09:16:40 +0000 (18:16 +0900)]
[version] 1.0
Change-Id: Ib7f4769003abef98311770045d318c0532dfcc3a
Hyunjin Park [Wed, 22 Jun 2016 08:35:22 +0000 (01:35 -0700)]
Merge "[filesystem] add code to check group id using setgroups() problem : 216 fail issues on Web TCT cause : permission of content directory is set by setgroups() to priv_mediastorage" into tizen
Hyunjin Park [Wed, 22 Jun 2016 07:55:07 +0000 (16:55 +0900)]
[HAM] add detailed log
Change-Id: I61f0364529dd0ab1c00966db9827bbe3c5fb2557
Hyunjin Park [Wed, 22 Jun 2016 07:21:32 +0000 (16:21 +0900)]
[filesystem] add code to check group id using setgroups()
problem : 216 fail issues on Web TCT
cause : permission of content directory is set by setgroups() to priv_mediastorage
TCT result : 100% pass rate
Change-Id: I0d8fbea0ac90fe9e259f2703ff7f63cebf9f8a3c
Hyunjin Park [Fri, 17 Jun 2016 07:08:56 +0000 (16:08 +0900)]
[version] 0.99
Change-Id: I73eddb7df621f48c0bc37c7753fa48c48f70641d
sangrae.kim [Fri, 17 Jun 2016 06:38:58 +0000 (15:38 +0900)]
[NFC] Fix the bug about AIDs Errors
before:
TCT passrate 92.61% (176/163/0/12/1)
after:
TCT passrate 98.86% (176/174/2/0/0)
Change-Id: Idf1c7b64fe47461cf08d044d8906b6a60d17d7ff
Signed-off-by: sangrae.kim <sangrae.kim@samsung.com>
sangrae.kim [Fri, 17 Jun 2016 05:37:54 +0000 (14:37 +0900)]
[HAM] fix the wrong code about option dictionary param (GPS)
Change-Id: Icbc2a92a8c655835f6cb7481e32288da55bc8321
Signed-off-by: sangrae.kim <sangrae.kim@samsung.com>
Hyunjin Park [Fri, 17 Jun 2016 03:52:43 +0000 (12:52 +0900)]
[version] 0.98
Change-Id: I61b786c2b2926756a2542dd100a85e5cae13e45a
sangrae.kim [Thu, 16 Jun 2016 14:45:50 +0000 (23:45 +0900)]
[HAM] fix the wrong code about option dictionary param
Change-Id: I7538d58a6bcf174af023a9e556971af3ff426b34
Signed-off-by: sangrae.kim <sangrae.kim@samsung.com>
Hyunjin Park [Thu, 16 Jun 2016 09:58:20 +0000 (18:58 +0900)]
enable telephony feature on mobile/wearable emulator
- due to telephony feature is enable on model-config
Change-Id: If6d3f3c6b0cde1797dba9ff8249ba1c4aad4c7f9
Hyunjin Park [Thu, 16 Jun 2016 06:03:37 +0000 (15:03 +0900)]
[iotcon] modify code to use changed native API/enum
1. state -> attribute
2. properties -> policies
Change-Id: Ic8718ce6cd928a89c631c5c370d8c826a376ccbe
Hyunjin Park [Wed, 15 Jun 2016 05:56:17 +0000 (22:56 -0700)]
Merge "[Iotcon] Added privilege checking." into tizen
Hyunjin Park [Tue, 14 Jun 2016 22:46:34 +0000 (07:46 +0900)]
[version] 0.96
Change-Id: Idfbe1ab5d862fabbd3894ea5257111f7edc66fa2
Hyunjin Park [Tue, 14 Jun 2016 22:45:22 +0000 (15:45 -0700)]
Merge "[Common] Added checking if error is not equal to null." into tizen
Hyunjin Park [Tue, 14 Jun 2016 22:40:47 +0000 (15:40 -0700)]
Merge "[KeyManager] Added checking if data is not equal to null." into tizen
Hyunjin Park [Tue, 14 Jun 2016 22:36:53 +0000 (15:36 -0700)]
Merge "[DataControl] Added missing check of the returned value." into tizen
Tomasz Marciniak [Tue, 14 Jun 2016 13:31:16 +0000 (15:31 +0200)]
[Common] Added checking if error is not equal to null.
[Verification] Code compiles.
Change-Id: I4f21b360f851a58108a96a3e5c805af4715f6e4c
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Tomasz Marciniak [Tue, 14 Jun 2016 13:29:22 +0000 (15:29 +0200)]
[KeyManager] Added checking if data is not equal to null.
[Verification] Code compiles. TCT pass rate 100%
Change-Id: I41e7b070bdca4b63a34cf01132100e792d9a4389
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Tomasz Marciniak [Tue, 14 Jun 2016 13:27:40 +0000 (15:27 +0200)]
[DataControl] Added missing check of the returned value.
[Verification] Code compiles. TCT pass rate 100%
Change-Id: Ib128455b4d6da20cc5e47afbd21c2145d08a86b6
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Hyunjin Park [Tue, 14 Jun 2016 07:37:24 +0000 (16:37 +0900)]
[version] 0.95
Change-Id: Ib2a72ee61e68344940b4e53b88c506479cb71b05
bg.chun [Mon, 13 Jun 2016 08:44:04 +0000 (17:44 +0900)]
[Application] impliment app_control_foreach_app_matched_internal() for handling NOT_FOUND_ERR on findAppControl
Public CAPI do not handling NOT_FOUND_ERR
For handling NOT_FOUND_ERR impliment internal api using appsvc_usr_get_list();
Change-Id: If24a8368c669e6f01adaf83d4a5661c09db5ad60
Signed-off-by: bg.chun <bg.chun@samsung.com>
Hyunjin Park [Mon, 13 Jun 2016 08:44:33 +0000 (17:44 +0900)]
[version] 0.94
Change-Id: Ib171ad69e93a21ef61f820025dcca40d6c821af5
Jakub Skowron [Thu, 9 Jun 2016 10:56:15 +0000 (12:56 +0200)]
[Push] add attribute for full message
Add fullMessage field returned in PushMessage object, containing full
result string from native call push_service_get_notification_message
Change-Id: I84470c7fd88b400f479ce0fee825a3d77974ea8d
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Hyunjin Park [Thu, 9 Jun 2016 10:32:19 +0000 (19:32 +0900)]
[wearable] disable Secure element module on emulator
Change-Id: I35b37bffee2e8d545a871316e24bdec4b9336d24
Hyunjin Park [Thu, 9 Jun 2016 09:49:04 +0000 (18:49 +0900)]
[wearable][SE] enable secure element feature
- native team adds feature on model-config
Change-Id: I0e53d1b53ed830eb7b9f3e3ea6f80a147ed35318
Hyunjin Park [Thu, 9 Jun 2016 02:10:06 +0000 (11:10 +0900)]
[version] 0.92
Change-Id: I436db85b64c3294de62ec5078b687055c36f9bde
Jakub Skowron [Wed, 8 Jun 2016 10:05:13 +0000 (12:05 +0200)]
Protect JSON.stringify from being overridden
Previously Object.freeze(JSON) was used to protect stringify method.
Change-Id: I7f943d1b1ba7d22731ca24ab8860e8de53358c72
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Jakub Skowron [Fri, 3 Jun 2016 08:34:07 +0000 (10:34 +0200)]
[Account] Throw NotFoundException when accountId was not initialized
Change-Id: Iffbb30f62d2f52b3f01e43e150514b8fb953ea01
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Hyunjin Park [Fri, 3 Jun 2016 02:43:04 +0000 (19:43 -0700)]
Merge "[WidgetService] Fix for getting widget list." into tizen
Tomasz Marciniak [Thu, 2 Jun 2016 12:38:16 +0000 (14:38 +0200)]
[WidgetService] Fix for getting widget list.
[Verification] Code compiles. List of widgets can be obtained.
Change-Id: I42eb1ea4140528d4b3b11df024bcb87d541a49c5
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Hyunjin Park [Thu, 2 Jun 2016 08:18:38 +0000 (01:18 -0700)]
Merge "[Sensor] add lock guard" into tizen
Hyunjin Park [Thu, 2 Jun 2016 06:42:37 +0000 (15:42 +0900)]
[IotCon] disable due to ACR isn't finished
Change-Id: I13d8bc49e8bb9b5a6079a6a1c770259401b117f1
Lukasz Bardeli [Thu, 2 Jun 2016 06:05:53 +0000 (08:05 +0200)]
[Sensor] add lock guard
TCT passrate 100% (78/78/0/0/0)
Change-Id: Icb9997cef2f0e893aaab9703accf411ea57898ee
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Jakub Skowron [Tue, 31 May 2016 10:46:57 +0000 (12:46 +0200)]
[Filesystem] Fix crash in filesystem_provider_deviced.cc on emulator
When generating id from UUID out_of_range was thrown by std::stoul,
because long is too short (4 bytes on 32 bit simulator).
Changed id to be hash of UUID. Previously only first two fields
(6 bytes) were used.
[Verification]
tct-filesystem-tizen-tests automated and manual test pass 100%
tct-systeminfo-tizen-tests automated test pass 100%
Change-Id: Iaadaf21760c48eb540b206d3d029bd8b6d53841f
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Hyunjin Park [Tue, 31 May 2016 08:28:40 +0000 (17:28 +0900)]
[widgetservice] enable widget service API
Change-Id: Iae28c96245bbe68d56c19baf395d4b4f8cfa08cc
Tomasz Marciniak [Fri, 27 May 2016 06:47:56 +0000 (08:47 +0200)]
[WidgetService] Adjusted to widl changes.
[Verification] Code compiles.
Change-Id: I06be32548c7c304ca6a08f9d478ee5e9c70a7343
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Tomasz Marciniak [Wed, 18 May 2016 07:28:52 +0000 (09:28 +0200)]
[WidgetService] Adjusted privilege checking.
[Verification] Code compiles.
Change-Id: I2004b99232a4b71a158f4b75bef0c5325312b0bc
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Jeongkyun Pu [Mon, 30 May 2016 06:35:25 +0000 (23:35 -0700)]
Merge "[HAM] change codes to check whether the option is undefied [version] 0.89" into tizen
taekeun.kang [Mon, 30 May 2016 05:54:54 +0000 (14:54 +0900)]
[HAM] change codes to check whether the option is undefied [version] 0.89
Change-Id: Ic83d343669a4e283de1d3f637a0c07a80d983b21
Signed-off-by: taekeun.kang <taekeun.kang@samsung.com>
Hyunjin Park [Mon, 30 May 2016 02:03:29 +0000 (11:03 +0900)]
[version] 0.89
Change-Id: I46473170e96bbe15640758cfd2961aea61b1c2db
Tomasz Marciniak [Fri, 27 May 2016 12:39:32 +0000 (14:39 +0200)]
[FileSystem] Remove code for cutting last '/'
[Verification] Code compiles.
FileSystem tct pass rate 100%
Security tct related to paths pass.
Change-Id: Ib1b90f6224e9909f9d1f4206b72fde08b88d3767
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Hyunjin Park [Mon, 30 May 2016 01:58:25 +0000 (18:58 -0700)]
Merge "[Common][Filesystem] Fix for checking privilege." into tizen
Tomasz Marciniak [Fri, 27 May 2016 11:14:08 +0000 (13:14 +0200)]
[Common][Filesystem] Fix for checking privilege.
[Verification] Code compiles.
TCT privilege pass rate 100%
Change-Id: Ie81b929b657bde2d800198dda7cb12aa10a45ed7
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Piotr Kosko [Fri, 27 May 2016 10:05:50 +0000 (12:05 +0200)]
[Contact] Added more restrictive validation of filter in findByUsageCount
[Feature] Added more validation of filter in findByUsageCount - value and type are checked
for validyty - value shouldn't be less than 0, type should be one of values in enum.
[Verification] Code compiles without errors.
Contact TCT passrate r11 is 100%.
Change-Id: Iee3b6a86eb931f6fda3fc9304771837d5a4f5ad5
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Hyunjin Park [Thu, 26 May 2016 02:06:14 +0000 (11:06 +0900)]
[version] 0.88
Change-Id: I9bef9a8e155bbeae4737c65ffe887c3de1e6ac52
Tomasz Marciniak [Wed, 25 May 2016 12:20:07 +0000 (14:20 +0200)]
[InputDevice] Added missing privilege to utils_api.
[Verification] Code compiles. There is no undefined privilege
in cynara anymore.
Change-Id: I9db54df23a1707d4ed907400425617c117a9cba5
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Hyunjin Park [Wed, 25 May 2016 09:28:59 +0000 (18:28 +0900)]
[version] 0.87
Change-Id: Ia53e974338b15b8fbf88908f68031c63c479cc89
Hyunjin Park [Wed, 25 May 2016 09:28:24 +0000 (02:28 -0700)]
Merge "[Common] Dbus name is changed." into tizen
Tomasz Marciniak [Wed, 25 May 2016 08:50:38 +0000 (10:50 +0200)]
[Common] Dbus name is changed.
[Feature] deviced name changed to storage.
[Verification] Code compiles.
Change-Id: Id0f1e834350c3bd65175be5f392e1b5cdd44c727
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Hyunjin Park [Wed, 25 May 2016 08:32:40 +0000 (01:32 -0700)]
Merge "[Common][Filesystem] Added support for global paths from Tizen 2.4 filesystem" into tizen
Hyunjin Park [Wed, 25 May 2016 07:45:33 +0000 (16:45 +0900)]
[version] 0.86
Change-Id: I1671ea501243a1b34afee4dc95e1905c49a08144
Hyunjin Park [Wed, 25 May 2016 07:44:36 +0000 (00:44 -0700)]
Merge "[SecureElement] Added fixes for transmit function." into tizen
Piotr Kosko [Tue, 24 May 2016 12:55:19 +0000 (14:55 +0200)]
[Common][Filesystem] Added support for global paths from Tizen 2.4 filesystem
[Feature] Now Tizen 3.0 invalid global paths, like '/opt/usr/media/Documents' (valid for 2.4), are
now converted to Tizen3.0, like '/home/<user>/content/Documents' if application required version
is lower than 3.0. This commit is to resolve problems existing in some Store apps, when migrating
to Tizen 3.0.
[Verification] Tested in console. Paths are converted for older applications.
TCT passrate for filesystem, archive and content is 100%.
Store application ColorEffectImageEditor.wgt could save files correctly.
Change-Id: I707f70e9f9ef3cb762b6370965d88651ebdec74f
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Tomasz Marciniak [Wed, 25 May 2016 07:01:22 +0000 (09:01 +0200)]
[SecureElement] Added fixes for transmit function.
[Verification] Code compiles. Related tests pass.
Change-Id: I9bfe3acd7a94da866f7e8b928d1225ba3db1920f
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
taekeun.kang [Tue, 24 May 2016 11:28:21 +0000 (20:28 +0900)]
[Downlaod] to enable download on wearable target
[version] 0.85
Change-Id: I6987274563f2847def9a57018b19f8e6b6dfea14
Signed-off-by: taekeun.kang <taekeun.kang@samsung.com>
Hyunjin Park [Tue, 24 May 2016 02:01:35 +0000 (11:01 +0900)]
[version] 0.84
Change-Id: I28849306d0445925fb0ceddae710c2850892034e
Hyunjin Park [Mon, 23 May 2016 10:01:31 +0000 (03:01 -0700)]
Merge "[Filesystem] '.' and '..' paths are forbiden" into tizen
Piotr Kosko [Wed, 18 Nov 2015 11:37:11 +0000 (12:37 +0100)]
[Filesystem] '.' and '..' paths are forbiden
[Verification] TCT passrate 100%.
Checked in chrome console - resolving when path contain '/.' or '/..' directories causes error.
Change-Id: I025c8177693a11ac8422a0ec91bf769ad930edfc
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Signed-off-by: bg.chun <bg.chun@samsung.com>
Hyunjin Park [Mon, 23 May 2016 09:38:08 +0000 (02:38 -0700)]
Merge "Fixed a bug in TZDate constructor" into tizen
Piotr Kosko [Tue, 3 Nov 2015 13:07:39 +0000 (14:07 +0100)]
[Filesystem] Fixed path-name issue
[Bug] Values of path and name in File object do not follow documentation when resolve paths with trailing '/' sign.
[Verification] TCT of filesystem, alarm, archive, exif and security 100% passrate.
Scenarios below are correct as in comments:
tizen.filesystem.resolve('/', function(v){console.log("path \"" + v.path + "\" name \"" + v.name + "\"")},
function(){}, 'r');
// return path "/" name ""
tizen.filesystem.resolve('/opt', function(v){console.log("path \"" + v.path + "\" name \"" + v.name + "\"")},
function(){}, 'r');
// return path "/" name "opt"
tizen.filesystem.resolve('/opt/', function(v){console.log("path \"" + v.path + "\" name \"" + v.name + "\"")},
function(){}, 'r');
// return path "/" name "opt/"
tizen.filesystem.resolve('documents', function(v){console.log("path \"" + v.path + "\" name \"" + v.name + "\"")},
function(){}, 'r');
// return path "documents" name ""
tizen.filesystem.resolve('documents/', function(v){console.log("path \"" + v.path + "\" name \"" + v.name + "\"")},
function(){}, 'r');
// return path "documents/" name ""
tizen.filesystem.resolve('documents/file.txt', function(v){console.log("path \"" + v.path + "\" name \"" + v.name + "\"")},
function(){}, 'r');
// return path "documents/" name "file.txt"
Change-Id: I1090a9c40d3ec30953631f5ce9c40fe5acff5f72
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
SungHyun Min [Fri, 23 Oct 2015 01:32:09 +0000 (10:32 +0900)]
[FileSystem] Remove code for cutting last '/'
Change-Id: I43e404dea387026d9cfee2df7d56d78765baaeee
Signed-off-by: Sunghyun Min <shyun.min@samsung.com>
Piotr Kosko [Thu, 27 Aug 2015 09:47:18 +0000 (18:47 +0900)]
[FileSystem] Fix issue about destination path in copyTo() method.
cherry-pick from tizen_2.4_tv_product_migration branch.
Issue : copyTo() method returns error, when the destination path is virtual path without '/'
Change-Id: Ibb87064acccada243bff85298401a6639c1b44c6
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Thu, 15 Oct 2015 10:52:36 +0000 (12:52 +0200)]
[Filesystem] Fixed path-related issues
[Features] Fixed issues:
1. resolve "documents/" works as resolving "documents"
2. multiple "/" is filepaths are merged to single one
[Verification] Code compiles without errors.
TCTs of Filesystem, Calendar, Alarm, Archive and Exif return 100% passrate.
Scenarios with results below:
1.
tizen.filesystem.resolve(
'images/',
function(dir) {
var a = dir.createDirectory('testt');
console.log("path: " + a.path + " fullPath: " + a.fullPath);
}, function(e) {
console.log("Error: " + e.message);
}, "rw"
);
---------
path: images/ fullPath: images/testt
2.
tizen.filesystem.resolve(
'images/testt/',
function(dir) {
console.log("Mount point Name is " + dir.path);
console.log("path: " + dir.path + " fullPath: " + dir.fullPath);
}, function(e) {
console.log("Error: " + e.message);
}, "rw"
);
---------
path: images/ fullPath: images/testt
3.
tizen.filesystem.resolve(
'images//////testt/',
function(dir) {
console.log("Mount point Name is " + dir.path);
console.log("path: " + dir.path + " fullPath: " + dir.fullPath);
}, function(e) {
console.log("Error: " + e.message);
}, "rw"
);
---------
path: images/ fullPath: images/testt
Change-Id: I66ce92a5207148dfa82109e187b8e4f58727aead
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Fri, 20 May 2016 09:42:25 +0000 (11:42 +0200)]
Fixed a bug in TZDate constructor
[Bug] With following conditions:
1. Device local timezone uses DST.
2. current date has +1 hour according to DST.
3. Creating new tizen date with local timezone, on which date there would not be +1 hour DST
created date would have incorrect time.
Example:
1. using timezone 'Europe/Warsaw'
2. current date 20.05.2016 (+2 hour from UTC = 1 (for timezone) + 1 (for DST))
3. line below returned 13, which was incorrect:
var d = new tizen.TZDate(new Date(2016,01,20,13)); d.getHours();
[Verification] TCT passrate time - 100%.
Verified in console - above example returned '13' which was correct value.
Change-Id: Iffff14814d2c5011561158cc7bd1db215659953a
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
jk.pu [Fri, 20 May 2016 02:24:41 +0000 (11:24 +0900)]
[iotcon]change native api follow to Native ACR-620
Change-Id: Icdd4115315606f3e1e2de8a950fe6128432cc4e0
Signed-off-by: jk.pu <jk.pu@samsung.com>
Hyunjin Park [Thu, 19 May 2016 09:25:06 +0000 (18:25 +0900)]
[version] 0.83
Change-Id: I14c7337930ef31a48ddb90cb374f31388bb8042d
Hyunjin Park [Thu, 19 May 2016 09:14:30 +0000 (18:14 +0900)]
[HAM] remove build warning
humanactivitymonitor_manager.cc:562:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
Change-Id: I292f3986556f95a55b33175a8fd9b9d8233befe0
Hyunjin Park [Thu, 19 May 2016 07:08:52 +0000 (00:08 -0700)]
Merge "[Common] Added CHECK_PRIVILEGE macro." into tizen
Hyunjin Park [Thu, 19 May 2016 01:35:49 +0000 (10:35 +0900)]
[version] 0.82
Change-Id: If8cece950d4d1001e4512dc37a5e668439b5e985
Tomasz Marciniak [Wed, 18 May 2016 07:25:29 +0000 (09:25 +0200)]
[Iotcon] Added privilege checking.
[Verification] Code compiles.
Change-Id: I2c7dc2cd160537ddb6692f827bcbce7e83a6de30
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Tomasz Marciniak [Wed, 18 May 2016 07:21:11 +0000 (09:21 +0200)]
[Common] Added CHECK_PRIVILEGE macro.
[Feature] This macro is used by new modules which
return TizenPlatform object to JS layer.
[Verification] Code compiles.
Change-Id: Id471face94ea52896092221f3ad03052d18007ac
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Lukasz Bardeli [Tue, 17 May 2016 11:50:05 +0000 (13:50 +0200)]
[Feedback] small fixes
Change-Id: Ie1e2515de414cfb95d63116eb12954f2552fa63e
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Hyunjin Park [Tue, 17 May 2016 09:37:17 +0000 (18:37 +0900)]
[version] 0.81
Change-Id: Ib4a8b79a2c243af4cf1b2a23f415a26bce020978
Tomasz Marciniak [Mon, 16 May 2016 12:20:59 +0000 (14:20 +0200)]
[Push] Return null in case there is no data received.
[Feature] If native api return PUSH_SERVICE_ERROR_NO_DATA
in JS layer null object should be returned.
[Verification] Code compiles.
Change-Id: Id34aaacf5494208ae022ef4403cdbf9dac212860
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Hyunjin Park [Mon, 16 May 2016 01:23:45 +0000 (10:23 +0900)]
[version] 0.80
Change-Id: Ie0313fb209f384d364ab9ccd83ef4f8a304f1cce