sdk/tools/sdb.git
7 years agoMerge branch 'opensrc' into tizen_studio tizen_studio
SeokYeon Hwang [Fri, 15 Dec 2017 06:46:05 +0000 (15:46 +0900)]
Merge branch 'opensrc' into tizen_studio

7 years agoMerge branch 'tizen_studio' into opensrc
SeokYeon Hwang [Fri, 15 Dec 2017 06:45:14 +0000 (15:45 +0900)]
Merge branch 'tizen_studio' into opensrc

Using ours merge to adjust commit base.

7 years agoMerge branch 'tizen_studio_2.0' into opensrc
Sooyoung Ha [Thu, 12 Oct 2017 06:32:13 +0000 (15:32 +0900)]
Merge branch 'tizen_studio_2.0' into opensrc

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.1.0)
jihye424.kim [Fri, 22 Sep 2017 02:30:48 +0000 (11:30 +0900)]
package: update version (3.1.0)

Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
7 years agoMerge branch 'tizen_studio_1.3' into opensrc
Sooyoung Ha [Mon, 4 Sep 2017 06:03:42 +0000 (15:03 +0900)]
Merge branch 'tizen_studio_1.3' into opensrc

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoMerge branch 'develop' into tizen_studio_1.3
Sooyoung Ha [Mon, 4 Sep 2017 06:03:01 +0000 (15:03 +0900)]
Merge branch 'develop' into tizen_studio_1.3

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (2.3.6)
Sooyoung Ha [Mon, 4 Sep 2017 06:02:28 +0000 (15:02 +0900)]
package: update version (2.3.6)

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoencrypt: add socket null check
Sooyoung Ha [Mon, 4 Sep 2017 06:01:08 +0000 (15:01 +0900)]
encrypt: add socket null check

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoMerge branch 'tizen_studio_1.3' into opensrc
Sooyoung Ha [Mon, 4 Sep 2017 04:50:51 +0000 (13:50 +0900)]
Merge branch 'tizen_studio_1.3' into opensrc

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoMerge branch 'develop' into tizen_studio_1.3
Sooyoung Ha [Mon, 4 Sep 2017 04:45:30 +0000 (13:45 +0900)]
Merge branch 'develop' into tizen_studio_1.3

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (2.3.5)
Sooyoung Ha [Mon, 4 Sep 2017 04:10:57 +0000 (13:10 +0900)]
package: update version (2.3.5)

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoSPC: trivial patch for static analysis
Sooyoung Ha [Mon, 4 Sep 2017 04:07:31 +0000 (13:07 +0900)]
SPC: trivial patch for static analysis

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoMerge branch 'tizen_studio_1.3' into opensrc
Sooyoung Ha [Mon, 28 Aug 2017 05:11:04 +0000 (14:11 +0900)]
Merge branch 'tizen_studio_1.3' into opensrc

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoMerge branch 'develop' into tizen_studio_1.3
Sooyoung Ha [Mon, 28 Aug 2017 05:08:14 +0000 (14:08 +0900)]
Merge branch 'develop' into tizen_studio_1.3

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (2.3.4)
Sooyoung Ha [Mon, 28 Aug 2017 04:57:13 +0000 (13:57 +0900)]
package: update version (2.3.4)

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: fix potential problem
Sooyoung Ha [Mon, 28 Aug 2017 04:56:22 +0000 (13:56 +0900)]
source: fix potential problem

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoMerge branch 'develop' into opensrc
Sooyoung Ha [Tue, 22 Aug 2017 02:57:59 +0000 (11:57 +0900)]
Merge branch 'develop' into opensrc

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (2.3.3)
Sooyoung Ha [Tue, 22 Aug 2017 02:55:42 +0000 (11:55 +0900)]
package: update version (2.3.3)

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: fix potential problems
Sooyoung Ha [Mon, 21 Aug 2017 11:02:23 +0000 (20:02 +0900)]
source: fix potential problems

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agotransport.c: align indent and remove redundant code
Sooyoung Ha [Mon, 21 Aug 2017 10:36:29 +0000 (19:36 +0900)]
transport.c: align indent and remove redundant code

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoMerge branch 'tizen_studio_1.2' into opensrc
Sooyoung Ha [Thu, 17 Aug 2017 06:28:36 +0000 (15:28 +0900)]
Merge branch 'tizen_studio_1.2' into opensrc

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoMerge branch 'develop' into tizen_studio_1.2
Sooyoung Ha [Thu, 17 Aug 2017 06:23:24 +0000 (15:23 +0900)]
Merge branch 'develop' into tizen_studio_1.2

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (2.3.2)
Sooyoung Ha [Thu, 6 Jul 2017 09:14:12 +0000 (18:14 +0900)]
package: update version (2.3.2)

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoclient: increase limit of command message length
Sooyoung Ha [Thu, 6 Jul 2017 09:08:17 +0000 (18:08 +0900)]
client: increase limit of command message length

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
8 years agoMerge branch 'develop' into tizen_studio_1.2
Minkee Lee [Wed, 17 May 2017 02:27:18 +0000 (11:27 +0900)]
Merge branch 'develop' into tizen_studio_1.2

Change-Id: I4c3cdda6a4b11719fc75cd744ea1b65c9f436ff9
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agopackage: update version (2.3.1)
Minkee Lee [Tue, 16 May 2017 07:02:53 +0000 (16:02 +0900)]
package: update version (2.3.1)

Change-Id: I34dbf72363683297c770656115de5944867f310d
Signed-off-by: Minkee Lee <minkee.lee@samsung.com>
8 years agoAdd debian files to create deb package
Donghoon Shin [Mon, 13 Mar 2017 23:37:20 +0000 (08:37 +0900)]
Add debian files to create deb package

Theese files will be used for packaging deb file to distribute sdb in
debian distro.

Change-Id: I2d94901c1e4307aa3d7fbd8c579e4e58197e66f6
Signed-off-by: dhs.shin <dhs.shin@samsung.com>
8 years agoSPC: fix static analysis Issues_v2
Jounsun Beak [Mon, 3 Apr 2017 09:15:12 +0000 (18:15 +0900)]
SPC: fix static analysis Issues_v2

Change-Id: I73d4be63b8caa81edd890144ffeaf3851fd54d2a
Signed-off-by: Jounsun Beak <jounsun.beak@samsung.com>
8 years agomisc: fix wrong statements
Munkyu Im [Tue, 21 Mar 2017 09:33:23 +0000 (18:33 +0900)]
misc: fix wrong statements

 - wrong assignment.
 - null pointer dereference.

Change-Id: If109ea31bd734325961881e166dde18a2ead1640
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agoSPC: Fix static analysis Issues_v1
Jounsun Beak [Wed, 29 Mar 2017 09:44:09 +0000 (18:44 +0900)]
SPC: Fix static analysis Issues_v1

Change-Id: Ib18324f26cea975e370ebea59d96f124b48b3cd1
Signed-off-by: Jounsun Beak <jounsun.beak@samsung.com>
8 years agoRefined user message
shingil.kang [Mon, 19 Dec 2016 09:50:09 +0000 (18:50 +0900)]
Refined user message

Change-Id: I42170f3cad1216d5a6df1a3c806025befca378c5
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoMerge branch 'develop' into tizen_studio_1.1
SangJin Kim [Mon, 19 Dec 2016 09:23:50 +0000 (18:23 +0900)]
Merge branch 'develop' into tizen_studio_1.1

Change-Id: Ie0622f60282ca5b130e5c6841652a12e27d6430d
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agoPackage version up to v2.3.0
SangJin Kim [Mon, 19 Dec 2016 09:21:38 +0000 (18:21 +0900)]
Package version up to v2.3.0

Change-Id: Ief66db92c8a998e8f5cd2d03151a191e1796cf23
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agochange log type for EAGAIN error
greatim [Mon, 19 Dec 2016 09:14:19 +0000 (18:14 +0900)]
change log type for EAGAIN error

change log type (error -> info) for EAGAIN error
 - EAGAIN means there is no other data to read or write (not error)

Change-Id: Ibf5abf366413f7f324f04238eb43739bb78c82b8
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoMerge branch 'develop' into tizen_studio_1.1
SangJin Kim [Mon, 19 Dec 2016 05:15:58 +0000 (14:15 +0900)]
Merge branch 'develop' into tizen_studio_1.1

Change-Id: I8e7762e070361acb04a91e800b1bc8b24f7c4717
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agoVersion up to v2.2.99
SangJin Kim [Mon, 19 Dec 2016 05:09:59 +0000 (14:09 +0900)]
Version up to v2.2.99

Change-Id: I8019fb3bcfbdd03146fe5d321e69f47173c877a6
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agoModify sdb server logging policy for error log
greatim [Thu, 6 Oct 2016 05:15:06 +0000 (14:15 +0900)]
Modify sdb server logging policy for error log

sdb server must left error log even if log ENV is not set

Change-Id: I04ea4bce56384307b1ee6ded7fed04fea3c7a563
Signed-off-by: greatim <jaewon81.lim@samsung.com>
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agoMISC: package version up (2.2.98)
shingil.kang [Mon, 19 Dec 2016 04:41:44 +0000 (13:41 +0900)]
MISC: package version up (2.2.98)

Change-Id: Ic8c0cbe7fc3a275d20be6108267d2e2cd59885bd
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoRefine user message
shingil.kang [Fri, 16 Dec 2016 08:47:00 +0000 (17:47 +0900)]
Refine user message

Change-Id: I133d2f70a9e8a78d524ed6866a1a9643eb40ccdc
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoMerge branch 'develop' into tizen_studio_1.1
SangJin Kim [Fri, 9 Dec 2016 09:41:06 +0000 (18:41 +0900)]
Merge branch 'develop' into tizen_studio_1.1

Change-Id: I1936a5ea1b3dc4ea50f1bc27591af890f5f52edc
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agoVersion up to v2.2.97
SangJin Kim [Fri, 9 Dec 2016 09:09:41 +0000 (18:09 +0900)]
Version up to v2.2.97

Change-Id: I9772a359615f8ba8646b8f00c3c6329c39ae845b
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agoModify the path that is copied package file
greatim [Fri, 9 Dec 2016 07:47:09 +0000 (16:47 +0900)]
Modify the path that is copied package file

- Change the path to copy the package file to the SDK too path in
  platform

Change-Id: I9a4f58f79898139ed604b06ff6c8b60823b1aa9c
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoFix for function coverage test
greatim [Mon, 28 Nov 2016 11:10:42 +0000 (20:10 +0900)]
Fix for function coverage test

fix for function coverage test

Change-Id: Ie7419d5ba0c2dfadf4f1b3e26cdf300b92764bc6
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoMISC: package version up (2.2.96)
shingil.kang [Fri, 9 Dec 2016 06:04:37 +0000 (15:04 +0900)]
MISC: package version up (2.2.96)

Change-Id: I616c9d733994244d16afd2c227ba33b65a4f2f73
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoIncrease size of USB transport packet
shingil.kang [Tue, 28 Jun 2016 00:31:09 +0000 (09:31 +0900)]
Increase size of USB transport packet

Change-Id: I4dd3bab68082557e0d010778c8e1ffe67186d533
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoupgrade version to 2.2.95
greatim [Thu, 10 Nov 2016 04:54:33 +0000 (13:54 +0900)]
upgrade version to 2.2.95

Change-Id: Ieb98e43048423d703a99d26658e7c84c8fabf958
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoRevert "Revert "modify Makefile to link statically libgcc and libstdc++ for windows""
Jaewon Lim [Thu, 10 Nov 2016 04:48:44 +0000 (13:48 +0900)]
Revert "Revert "modify Makefile to link statically libgcc and libstdc++ for windows""

This reverts commit 51b19bae76cd7c138532af26525d416502236955.

Change-Id: Idfedb828c45490fdc084f2c8909a76e26b5a2519

8 years agoRevert "Revert "change C++ compiler for MacOSX""
Jaewon Lim [Thu, 10 Nov 2016 04:48:29 +0000 (13:48 +0900)]
Revert "Revert "change C++ compiler for MacOSX""

This reverts commit 25b33239d9bd91a014dd64b3f2572728f72269ee.

Change-Id: Id3ac7e642f8e2ba4661c408b144868e9d721e3c2

8 years agoRevert "Revert "fix build error cause by encryption feature""
Jaewon Lim [Thu, 10 Nov 2016 04:48:17 +0000 (13:48 +0900)]
Revert "Revert "fix build error cause by encryption feature""

This reverts commit c17b0bb458070a250ccc717d0b0d57d691906dc9.

Change-Id: Icf99151984c857dede7f438e79010e1bcd9f61f7

8 years agoRevert "Revert "add data encryption feature""
Jaewon Lim [Thu, 10 Nov 2016 04:48:04 +0000 (13:48 +0900)]
Revert "Revert "add data encryption feature""

This reverts commit eaed2ffee004baeb6835210a5475097c6bbfa150.

Change-Id: Id88c741309e78e14398c01e2f72fecb39d5a2485

8 years agoVersion up to v2.2.94
SangJin Kim [Wed, 9 Nov 2016 12:23:11 +0000 (21:23 +0900)]
Version up to v2.2.94

Revert the data encryption feature

Change-Id: I8db1ee05efc5b6d088738ef529cb9f78813cf650
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agoRevert "add data encryption feature"
SangJin Kim [Wed, 9 Nov 2016 12:20:48 +0000 (21:20 +0900)]
Revert "add data encryption feature"

This reverts commit 37b3b97cb063f6e8296ee1e4004ebc6af778f465.

Change-Id: Ie848df07e90f2ca2fbe2e52fdc47b9c91fca529e

8 years agoRevert "fix build error cause by encryption feature"
SangJin Kim [Wed, 9 Nov 2016 12:20:33 +0000 (21:20 +0900)]
Revert "fix build error cause by encryption feature"

This reverts commit 1fe9aefdee574af1f1d20854cf2b83b0fa0df2a0.

Change-Id: I9f9777155ca71fc0f21930c5338db4bbd0594e86

8 years agoRevert "change C++ compiler for MacOSX"
SangJin Kim [Wed, 9 Nov 2016 12:20:15 +0000 (21:20 +0900)]
Revert "change C++ compiler for MacOSX"

This reverts commit 24619364b9a8fba32eab840a6ca63630b05dac8c.

Change-Id: If3fb7f98119ca50dcc265b01f166b3ba59314acb

8 years agoRevert "modify Makefile to link statically libgcc and libstdc++ for windows"
SangJin Kim [Wed, 9 Nov 2016 12:19:53 +0000 (21:19 +0900)]
Revert "modify Makefile to link statically libgcc and libstdc++ for windows"

This reverts commit 53e52c546d6d0261fd27b3c49314e9e3b880afb9.

Change-Id: I94e4417ee4a2658528205eb8c529a9f2c4c92988

8 years agoVersion up to v2.2.93
SangJin Kim [Tue, 8 Nov 2016 11:30:31 +0000 (20:30 +0900)]
Version up to v2.2.93

Change-Id: Idc35269e3fec8cdd24f09a4e111d71463e983a8c
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agomodify Makefile to link statically libgcc and libstdc++ for windows
greatim [Tue, 8 Nov 2016 11:18:05 +0000 (20:18 +0900)]
modify Makefile to link statically libgcc and libstdc++ for windows

Change-Id: I35846e0a40835c3462ede6749ea2af4e2f5f056c
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agochange C++ compiler for MacOSX
greatim [Tue, 8 Nov 2016 10:38:27 +0000 (19:38 +0900)]
change C++ compiler for MacOSX

Change-Id: Iba2edba969283de9aa117f43f9568e325c7acd9a
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoupgrade version
greatim [Tue, 8 Nov 2016 10:10:59 +0000 (19:10 +0900)]
upgrade version

upgrade to v2.2.92

Change-Id: I79601d1317a1a503ede513b1ff1e6fe3bf4aa300
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agofix build error cause by encryption feature
greatim [Tue, 8 Nov 2016 10:06:50 +0000 (19:06 +0900)]
fix build error cause by encryption feature

--whole-archive linker option is not supported currently

Change-Id: I8490c0a998f8c4b75a9d15ee2b547ac42ba26953
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoMerge "Remove the libudev dependency in Linux OS." into develop
SangJin Kim [Tue, 8 Nov 2016 03:25:12 +0000 (12:25 +0900)]
Merge "Remove the libudev dependency in Linux OS." into develop

8 years agoMerge "add data encryption feature" into develop
SangJin Kim [Mon, 7 Nov 2016 07:47:21 +0000 (16:47 +0900)]
Merge "add data encryption feature" into develop

8 years agoRemove the libudev dependency in Linux OS.
Kim Gunsoo [Mon, 7 Nov 2016 04:59:54 +0000 (13:59 +0900)]
Remove the libudev dependency in Linux OS.

- Because the SDB server does not use the libudev,
  remove the build dependencies of libudev.

Change-Id: Iccea32d06c3c2aaa288736edb74bcb9ccc355795
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoAdds the USB recovery operation that resets pipe in Windows.
Kim Gunsoo [Fri, 14 Oct 2016 05:54:20 +0000 (14:54 +0900)]
Adds the USB recovery operation that resets pipe in Windows.

- When closing the usb handle in Windows, resets the USB pipe
  to prevent transfer failed in the stalled pipe.

Change-Id: I77852cead23ad0059ca7041420ed85d9fb285efc
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoadd data encryption feature
greatim [Wed, 2 Nov 2016 14:03:27 +0000 (23:03 +0900)]
add data encryption feature

add data encryption feature to sdb
 - encryption on / off command
 - encryption message handshaking
 - encryption module

Change-Id: I1868462cc076d332ac1ca58f220205f08ce1312e
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoVersion up to 2.2.91 for SDB client/server.
Kim Gunsoo [Wed, 19 Oct 2016 02:17:44 +0000 (11:17 +0900)]
Version up to 2.2.91 for SDB client/server.

Change-Id: Ib8f3384bde50540afc0972f7256301b461645611
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoVersion up to v2.2.90
SangJin Kim [Tue, 18 Oct 2016 09:26:52 +0000 (18:26 +0900)]
Version up to v2.2.90

Change-Id: I7a0ea33d499e455f73fc17ab47df52ed17039f13
Signed-off-by: SangJin Kim <sangjin3.kim@samsung.com>
8 years agoFixed the bug that transport with same serial are multiple generation.
Kim Gunsoo [Tue, 18 Oct 2016 07:18:17 +0000 (16:18 +0900)]
Fixed the bug that transport with same serial are multiple generation.

- There was a bug in the code that checks whether the transport
  with the same serial name, was solved.

Change-Id: I8418c88f7751495d02434586b22bc1e16c28a751
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoFixed the problem that push/pull progress information is broken.
Kim Gunsoo [Thu, 8 Sep 2016 04:58:40 +0000 (13:58 +0900)]
Fixed the problem that push/pull progress information is broken.

- When outputting the progress information, there was a problem
  for reentrant of multi-threaded. It was resolved using the
  critical section.

Change-Id: Ie6d62ca2dfd4af44b8d7d4746fdfda13d6146433
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoversion upgrade
greatim [Tue, 16 Aug 2016 07:07:55 +0000 (16:07 +0900)]
version upgrade

Change-Id: I24a583a4af6d23b9eb088619d47a10e7cf4e775b
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agofix wrong output in MS-DOS console when execute "status-window"
greatim [Tue, 16 Aug 2016 05:28:34 +0000 (14:28 +0900)]
fix wrong output in MS-DOS console when execute "status-window"

fix wrong output in MS-DOS console when execute "status-window"

Change-Id: I4b20ee47636b32dbfdc9ad1864000c96df1c61d7
Signed-off-by: greatim <jaewon81.lim@samsung.com>
8 years agoFixed SVACE issues
shingil.kang [Wed, 22 Jun 2016 06:47:22 +0000 (15:47 +0900)]
Fixed SVACE issues

- Used snprintf instead of strcpy/sprintf
- Used strncat instead of strcat
- fixed memory leak
- check null pointer

Change-Id: I500ae335053e33040d0103935701c75bfdb59cce
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agopackage version up (2.2.88)
Kim Gunsoo [Mon, 27 Jun 2016 01:56:10 +0000 (10:56 +0900)]
package version up (2.2.88)

Change-Id: Ibe1367b55b0b0d01ff056ccee08062b53df83b4d
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoFixed the issue that sdb client is blocked for poweroff shell command.
Kim Gunsoo [Thu, 23 Jun 2016 05:20:32 +0000 (14:20 +0900)]
Fixed the issue that sdb client is blocked for poweroff shell command.

- When you run the poweroff shell command, Emulator is finished.
  However, since the shell routine of sdb client will try to
  get the capabiltiy information after the death of Emulator,
  take hang.
- Change the capability to get in advance.

Change-Id: I6877f344d4d1a795f30c6870c3873c22e2283125
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agopackage version up (2.2.87)
shingil.kang [Tue, 21 Jun 2016 06:52:53 +0000 (15:52 +0900)]
package version up (2.2.87)

Change-Id: Ib9cabe0d0d4d5a99c1808be6134fc58997b5cfce
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoModify that it does not inherit the handle in Windows OS.
Kim Gunsoo [Tue, 21 Jun 2016 04:52:33 +0000 (13:52 +0900)]
Modify that it does not inherit the handle in Windows OS.

- When you run the server process in the Windows OS, it has
  been changed so that it does not inherit the handle.

Change-Id: I59a779753e07ca448d6147452b04ff9c89bd1241
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
8 years agoAdd platform_type_name to transport.h header file
shingil.kang [Fri, 17 Jun 2016 02:12:08 +0000 (11:12 +0900)]
Add platform_type_name to transport.h header file

- to prevent "implicit declaration of function" warning

Change-Id: Ib1ae611c0486871d2bc72680727eb56b1c17d4a0
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
8 years agoRevert "Revert "Add protocol to get the platform type of target.""
Shingil Kang [Fri, 17 Jun 2016 02:12:34 +0000 (11:12 +0900)]
Revert "Revert "Add protocol to get the platform type of target.""

This reverts commit f21e5615248fb025b98bc61e0c289c01f9810ca4.

Change-Id: I867f48ab343ac73c76cf0884fd4188905768d83f
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMerge "Package version up (2.2.86)" into sdk
SangJin Kim [Thu, 16 Jun 2016 09:16:08 +0000 (18:16 +0900)]
Merge "Package version up (2.2.86)" into sdk

9 years agoRevert "Add protocol to get the platform type of target."
SangJin Kim [Thu, 16 Jun 2016 08:37:12 +0000 (17:37 +0900)]
Revert "Add protocol to get the platform type of target."

This reverts commit ad69a055bb6b19bfdae2e5aa9f9203c1fe72c45f.

Change-Id: I9712dfe0d0a198cf3a7e7c4290dfccc82aed1b64
Signed-off-by: Shingil Kang <shingil.kang@samsung.com>
9 years agoPackage version up (2.2.86)
shingil.kang [Thu, 16 Jun 2016 08:49:27 +0000 (17:49 +0900)]
Package version up (2.2.86)

Change-Id: I8d582abab1ca41fa6068a31b98aa21c81d83d7e1
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years ago[MISC] package version up (2.2.85)
Kim Gunsoo [Tue, 14 Jun 2016 07:53:22 +0000 (16:53 +0900)]
[MISC] package version up (2.2.85)

Change-Id: Iea30f9443192ad825bfd66cabb9eb988e0c8acdd
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoAdded client API that it is possible to obtain a fail msg.
Kim Gunsoo [Tue, 14 Jun 2016 06:32:09 +0000 (15:32 +0900)]
Added client API that it is possible to obtain a fail msg.

- Existing API has been output directly failmsg to stderr.
  By using the new API, failmsg can be passed without output to stderr.

Change-Id: I4b95c57e0c530842b476b949e70e93d512abee99
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoPackage version up (2.2.84)
shingil.kang [Thu, 9 Jun 2016 01:38:44 +0000 (10:38 +0900)]
Package version up (2.2.84)

Change-Id: Ia6293b30a4f9e7b47c59a10e417773fc129d11e9
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMerge "Add protocol to get the platform type of target." into tizen_sdk
SangJin Kim [Wed, 8 Jun 2016 11:22:59 +0000 (20:22 +0900)]
Merge "Add protocol to get the platform type of target." into tizen_sdk

9 years agoModify the URB routine to cause the problem.
Kim Gunsoo [Tue, 7 Jun 2016 07:51:02 +0000 (16:51 +0900)]
Modify the URB routine to cause the problem.

- When transferring USB data with devices in Linux, the packet
  structure is not initialized and shared by another thread.
  Fixed to be initialized at the time of each transfer
  and to manage the packet for each thread.

Change-Id: I65f8fffb5db3e9320b1afa57a993e373be0a7250
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoAdd protocol to get the platform type of target.
shingil.kang [Thu, 2 Jun 2016 06:44:03 +0000 (15:44 +0900)]
Add protocol to get the platform type of target.

Change-Id: I65fb32665fb93be05d40ba9a2284202fbdb989b2
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years ago[MISC] package version up (2.2.83)
Kim Gunsoo [Mon, 23 May 2016 05:40:24 +0000 (14:40 +0900)]
[MISC] package version up (2.2.83)

Change-Id: I04b2887a33550969b964a529c28fb31c22075678
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoModify the output stream(stdout to stderr) for version conflict msg.
Kim Gunsoo [Mon, 16 May 2016 08:19:52 +0000 (17:19 +0900)]
Modify the output stream(stdout to stderr) for version conflict msg.

- When the SDB client and server versions are different, outputs
  a warning message. The output stream of the warning message is
  changed from stdout to stderr.

Change-Id: I3a85a46ff48b540b37170bbca4709fd5db120b3b
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoFixed a bug where garbage characters follow pull/push error message
shingil.kang [Wed, 27 Apr 2016 09:24:32 +0000 (18:24 +0900)]
Fixed a bug where garbage characters follow pull/push error message

Change-Id: Ia90610c467b4a175500f5a264670d905b15fd412
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agovalidate port number for forwarding
greatim [Thu, 14 Apr 2016 10:47:12 +0000 (19:47 +0900)]
validate port number for forwarding

currently port forwarding with zero port number succeed(both local and remote)
well-known port(0~1023) cannot be used generally.

Change-Id: I48f5a92ed22a11004f1e2a41b69b436477e8edf3
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoModify the push/pull log stream to stdout
Kim Gunsoo [Fri, 15 Apr 2016 05:25:20 +0000 (14:25 +0900)]
Modify the push/pull log stream to stdout

- In the case of normal behavior for file push/pull,
  the output to stdout.

Change-Id: I96cd0c1693e032b85e62c9ccba5b87cfd6226ec9
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoMerge "[MISC] package version up (2.2.81)" into tizen_sdk
SangJin Kim [Fri, 8 Apr 2016 02:07:56 +0000 (11:07 +0900)]
Merge "[MISC] package version up (2.2.81)" into tizen_sdk

9 years agoMerge "[BUG] fix a bug when client connect to server with wrong port number" into...
SangJin Kim [Thu, 7 Apr 2016 06:53:21 +0000 (15:53 +0900)]
Merge "[BUG] fix a bug when client connect to server with wrong port number" into tizen_sdk

9 years ago[MISC] package version up (2.2.81)
shingil.kang [Thu, 7 Apr 2016 04:24:07 +0000 (13:24 +0900)]
[MISC] package version up (2.2.81)

Change-Id: I063088271783ebbf59f2e9d09445fde78abbc442
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMerge "Supported to detect tizen device only." into tizen_sdk
SangJin Kim [Tue, 5 Apr 2016 02:28:44 +0000 (11:28 +0900)]
Merge "Supported to detect tizen device only." into tizen_sdk

9 years agoSupported to detect tizen device only.
shingil.kang [Tue, 23 Feb 2016 08:13:35 +0000 (17:13 +0900)]
Supported to detect tizen device only.

- Added --only-detect-tizen option to 'sdb start' command, which does not detect android target

Change-Id: I9020ff5528f71ee792fea8cdf442cb402cf17e1d
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoPrint message "Please click reset button on your device" if KITT target is unauthorized.
shingil.kang [Mon, 28 Mar 2016 11:42:29 +0000 (20:42 +0900)]
Print message "Please click reset button on your device" if KITT target is unauthorized.

Change-Id: I40228816400d00fd1475b7585c54abadb7c00142
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years ago[BUG] fix a bug when client connect to server with wrong port number
greatim [Fri, 1 Apr 2016 11:24:36 +0000 (20:24 +0900)]
[BUG] fix a bug when client connect to server with wrong port number

ex) sdb connect localhost:7777ab
server should send the message that the port number is invalid
client should check the return string for null

Change-Id: I8cd19cdaf542e5f62a0d98a1543c65e0a4648050
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoAdd a secure warning message for pushing files.
Kim Gunsoo [Mon, 28 Mar 2016 10:42:50 +0000 (19:42 +0900)]
Add a secure warning message for pushing files.

- When you transfer files using sdb, your data is to be
  sent over an unencrypted connection and could be read
  by others.

Change-Id: I423e19b92ad798e94ed800ba09a1aea34353bf04
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>