sdk/tools/sdb.git
9 years ago[MISC] package version 2.2.79
shingil.kang [Mon, 14 Mar 2016 03:22:54 +0000 (12:22 +0900)]
[MISC] package version 2.2.79

Change-Id: Ie350b2dd96b869e000181c850675a15f35304496
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoFixed a bug that pull/push does not work on Windows
shingil.kang [Mon, 14 Mar 2016 03:18:12 +0000 (12:18 +0900)]
Fixed a bug that pull/push does not work on Windows

Change-Id: Idb086a53df9cd26e504d27290187d969c641a1c5
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMerge "[MISC] package version up (2.2.78)" into tizen_sdk
Dongkyun Yun [Fri, 11 Mar 2016 06:23:43 +0000 (15:23 +0900)]
Merge "[MISC] package version up (2.2.78)" into tizen_sdk

9 years ago[MISC] package version up (2.2.78)
shingil.kang [Wed, 9 Mar 2016 04:39:14 +0000 (13:39 +0900)]
[MISC] package version up (2.2.78)

Change-Id: Ie3650a712a5ecad4e79c71b0624af017de5ba17a
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoFixed a bug that it fails to remove app package during installing app package.
shingil.kang [Wed, 9 Mar 2016 13:17:15 +0000 (22:17 +0900)]
Fixed a bug that it fails to remove app package during installing app package.
 - Package is not removed if name of it includes space.
   It occurs when running "sdb install" command with target based on tizen 2.3.1.

Signed-off-by: shingil.kang <shingil.kang@samsung.com>
Change-Id: I5c6c229b3065fb351b08180aec85cc74848e7715

9 years agoMerge "Revert "Revert "Sign sdb.exe file on windows""" into tizen_sdk
Dongkyun Yun [Wed, 9 Mar 2016 02:37:36 +0000 (11:37 +0900)]
Merge "Revert "Revert "Sign sdb.exe file on windows""" into tizen_sdk

9 years agoMerge "Change path of RSA key and name" into tizen_sdk
Dongkyun Yun [Wed, 9 Mar 2016 02:37:23 +0000 (11:37 +0900)]
Merge "Change path of RSA key and name" into tizen_sdk

9 years agoDetect tizen target which has sdb interface in its configurations
shingil.kang [Thu, 14 Jan 2016 14:05:37 +0000 (23:05 +0900)]
Detect tizen target which has sdb interface in its configurations

- SDB server find SDB interface searching its all configurations

Change-Id: I09ac48b6a9e67841f4d5912722432d9959843122
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoEnable progress bar in file push/pull.
Kim Gunsoo [Mon, 30 Nov 2015 10:01:41 +0000 (19:01 +0900)]
Enable progress bar in file push/pull.

- Output file push/pull process on the console screen.

Change-Id: I707f6214121dcfa93aaccc6002ef6c8230410295
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoRevert "Revert "Supports an interactive shell in case of the 'sdb shell cmd'""
Shingil Kang [Tue, 23 Feb 2016 05:39:58 +0000 (14:39 +0900)]
Revert "Revert "Supports an interactive shell in case of the 'sdb shell cmd'""

This reverts commit 9134e8b1cebabc1a6c66ae262e13ee6d8200a1e0.

Change-Id: Iddf3339b187d99eff6092a04336e79c6dced181b
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMerge "Fixed target is not detected after sdbd is restarted" into tizen_sdk
Dongkyun Yun [Tue, 8 Mar 2016 06:00:42 +0000 (15:00 +0900)]
Merge "Fixed target is not detected after sdbd is restarted" into tizen_sdk

9 years agoRevert "Revert "Sign sdb.exe file on windows""
Shingil Kang [Tue, 23 Feb 2016 05:39:26 +0000 (14:39 +0900)]
Revert "Revert "Sign sdb.exe file on windows""

This reverts commit 9da03df722141956d48b1759844991f571fee4f2.

Change-Id: Ibe3dcc9ff8e4edc8e3c0aa8e4dbd1282421e25ec
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoChange path of RSA key and name
shingil.kang [Wed, 3 Feb 2016 14:36:39 +0000 (23:36 +0900)]
Change path of RSA key and name

- path : {HOME}/.android/ -> {HOME}/.tizen
- name : adbkey -> sdbkey

Change-Id: I1c43f489f61caf77c3d296e996d27dc5494f3f40
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agopackage version up (2.2.77)
Kim Gunsoo [Wed, 17 Feb 2016 05:13:32 +0000 (14:13 +0900)]
package version up (2.2.77)

Change-Id: Iaec6f2ffc67b4015a20590263337c62aa3429eb3
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoAdd check rule for is_support_debug_option().
Kim Gunsoo [Wed, 17 Feb 2016 02:45:02 +0000 (11:45 +0900)]
Add check rule for is_support_debug_option().

- For 2.4 Emulator, Added check rule that
  the profile_command version is 4.0 or higher.

Change-Id: I83cf2f160be412a17b1cba1e267c3b4d9162fcc3
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agopackage version up (2.2.76)
Kim Gunsoo [Mon, 15 Feb 2016 06:32:52 +0000 (15:32 +0900)]
package version up (2.2.76)

Change-Id: I2be3166b1e441448db96d5b4e4efa8a3f694e493
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoModify the method for determining whether put the debug option(-G).
Kim Gunsoo [Fri, 12 Feb 2016 06:22:55 +0000 (15:22 +0900)]
Modify the method for determining whether put the debug option(-G).

- Only put the debug option(-G) when SDBD is not performing as root.

Change-Id: I5ee76bf758f43f81e3d6ba68a6eb442e2f3fb33c
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agopackage version up (2.2.75)
shingil.kang [Thu, 21 Jan 2016 09:16:57 +0000 (18:16 +0900)]
package version up (2.2.75)

Change-Id: I0981e688fd56459198a1bb5e338d7a60d3bb2b0d
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMerge "Fixed a bug that interative shell with syncwinsz does not work as eclipse...
Dongkyun Yun [Thu, 21 Jan 2016 09:12:45 +0000 (18:12 +0900)]
Merge "Fixed a bug that interative shell with syncwinsz does not work as eclipse external tool" into tizen_sdk

9 years agoMerge "Revert "Supports an interactive shell in case of the 'sdb shell cmd'"" into...
Dongkyun Yun [Thu, 21 Jan 2016 09:11:39 +0000 (18:11 +0900)]
Merge "Revert "Supports an interactive shell in case of the 'sdb shell cmd'"" into tizen_sdk

9 years agoMerge "Revert "Sign sdb.exe file on windows"" into tizen_sdk
Dongkyun Yun [Thu, 21 Jan 2016 09:11:30 +0000 (18:11 +0900)]
Merge "Revert "Sign sdb.exe file on windows"" into tizen_sdk

9 years agoRevert "Supports an interactive shell in case of the 'sdb shell cmd'"
Dongkyun Yun [Thu, 21 Jan 2016 09:11:13 +0000 (18:11 +0900)]
Revert "Supports an interactive shell in case of the 'sdb shell cmd'"

This reverts commit 23a64396c537ccc1546bb10ba4cd137ae7d892c8.

Change-Id: I8767d22241f9b010c64dfcbb05b93927344b8192

9 years agoRevert "Sign sdb.exe file on windows"
Dongkyun Yun [Thu, 21 Jan 2016 09:10:40 +0000 (18:10 +0900)]
Revert "Sign sdb.exe file on windows"

This reverts commit 0e31ce228ce7f6daaa270d5ecbdfa9dd0eddb159.

Change-Id: I59121e29e3e1adb2f7a26227def817b3c1ffd43d

9 years agoMerge "Supports an interactive shell in case of the 'sdb shell cmd'" into tizen_sdk
Dongkyun Yun [Wed, 20 Jan 2016 07:10:34 +0000 (16:10 +0900)]
Merge "Supports an interactive shell in case of the 'sdb shell cmd'" into tizen_sdk

9 years agoSupports an interactive shell in case of the 'sdb shell cmd'
Kim Gunsoo [Mon, 28 Dec 2015 08:36:46 +0000 (17:36 +0900)]
Supports an interactive shell in case of the 'sdb shell cmd'

- enable the sdb stdin routine that pass shell msg to sdbd.
- refactorying the shell routine.
    - remove duplicate code. (interactive_shell(), shell())
    - it is a unified interface that was different for each OS.
      (sdb_shell_stdin_init(), sdb_shell_stdin_restore())

Change-Id: I4b4d723b8e8b1e61410d4760b0bb2b8eb52d1351
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoSign sdb.exe file on windows
shingil.kang [Fri, 15 Jan 2016 05:51:42 +0000 (14:51 +0900)]
Sign sdb.exe file on windows

Change-Id: Ia2f90dbcfa3e77e0b1b9ca67ee11418b1865196c
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoFixed a bug that interative shell with syncwinsz does not work as eclipse external...
shingil.kang [Wed, 13 Jan 2016 09:20:05 +0000 (18:20 +0900)]
Fixed a bug that interative shell with syncwinsz does not work as eclipse external tool

Change-Id: I14a3f218e124d9a4457b8fa073b8f176aa73f819
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoFixed target is not detected after sdbd is restarted
shingil.kang [Wed, 6 Jan 2016 05:59:14 +0000 (14:59 +0900)]
Fixed target is not detected after sdbd is restarted

Change-Id: Iefb1b7bb357ab71eb496131b8c4ecc12e8a073ff
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agopackage version up to 2.2.74
shingil.kang [Wed, 30 Dec 2015 06:02:26 +0000 (15:02 +0900)]
package version up to 2.2.74

Change-Id: If74b7583336bf433f0473deac66f5e9ec6f99fd1
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMerge "Fixed that SDB doese not detect tizen device on OSX 10.11" into tizen_sdk
Dongkyun Yun [Wed, 30 Dec 2015 06:00:10 +0000 (15:00 +0900)]
Merge "Fixed that SDB doese not detect tizen device on OSX 10.11" into tizen_sdk

9 years agoMISC: package version up to 2.2.73
shingil.kang [Fri, 18 Dec 2015 03:31:42 +0000 (12:31 +0900)]
MISC: package version up to 2.2.73

Change-Id: I124a856be65707e732a365914a2a3c94428a835d
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoModify the packet size in transport protocol.
Kim Gunsoo [Wed, 9 Dec 2015 05:08:01 +0000 (14:08 +0900)]
Modify the packet size in transport protocol.

- increase the transport packet size. (4KB -> 256KB)

Change-Id: Ib8cf85f6e5c34417bba020de4ced11ffff56b2a1
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoDisable keep alive option in OSX.
Kim Gunsoo [Wed, 2 Dec 2015 02:50:53 +0000 (11:50 +0900)]
Disable keep alive option in OSX.

- In OSX, disable the KEEP_ALIVE option to the socket connected with sdbd.

Change-Id: I3c31de0a123743b86b5d7f3c5c7b980961812f9b
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoMISC: package version up to 2.2.72
Kim Gunsoo [Tue, 1 Dec 2015 09:39:57 +0000 (18:39 +0900)]
MISC: package version up to 2.2.72

Change-Id: Id2a10f9aa310da1e2f2e132373c6d9443d8517be
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoMerge "Remove unnecessary console msg in shell protocol with 2.3.1." into tizen_sdk
Dongkyun Yun [Thu, 26 Nov 2015 08:10:48 +0000 (17:10 +0900)]
Merge "Remove unnecessary console msg in shell protocol with 2.3.1." into tizen_sdk

9 years agoMerge "Add KEEP_ALIVE option to the socket connected with sdbd." into tizen_sdk
Dongkyun Yun [Thu, 26 Nov 2015 08:10:01 +0000 (17:10 +0900)]
Merge "Add KEEP_ALIVE option to the socket connected with sdbd." into tizen_sdk

9 years agoRemove unnecessary console msg in shell protocol with 2.3.1.
Kim Gunsoo [Tue, 17 Nov 2015 06:23:21 +0000 (15:23 +0900)]
Remove unnecessary console msg in shell protocol with 2.3.1.

- Since the shell festure uses a different protocol depending on
  the platform version, the console message due to compatibility
  problems are no longer output.

Change-Id: I447d797852f715bd6798daf6b4355e8d5262a888
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoAdd KEEP_ALIVE option to the socket connected with sdbd.
Kim Gunsoo [Fri, 6 Nov 2015 09:46:25 +0000 (18:46 +0900)]
Add KEEP_ALIVE option to the socket connected with sdbd.

- After connected with sdbd through TCP socket, add KEEP_ALIVE
  option to the socket.

Change-Id: I39d3959db31ce8ad34f75bf735233d0f6d99ac92
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoSupported to connect target using thread
shingil.kang [Mon, 9 Nov 2015 08:33:07 +0000 (17:33 +0900)]
Supported to connect target using thread

The job to connect target blocks other jobs when it being processed
so the job need to be processed in thread for performance.

Change-Id: I789a5bbb2f6e03845c874b01106b318a273021e6
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMerge "MISC: package version up to 2.2.71" into tizen_sdk
Dongkyun Yun [Fri, 6 Nov 2015 10:19:46 +0000 (19:19 +0900)]
Merge "MISC: package version up to 2.2.71" into tizen_sdk

9 years agoMerge "Revert "Supported to connect on thread"" into tizen_sdk
Dongkyun Yun [Fri, 6 Nov 2015 10:19:42 +0000 (19:19 +0900)]
Merge "Revert "Supported to connect on thread"" into tizen_sdk

9 years agoMISC: package version up to 2.2.71
shingil.kang [Fri, 6 Nov 2015 10:14:46 +0000 (19:14 +0900)]
MISC: package version up to 2.2.71

Change-Id: I3bc7f213dae4d8b1bc0778681a2ee54c16179285
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoRevert "Supported to connect on thread"
Shingil Kang [Fri, 6 Nov 2015 10:07:12 +0000 (19:07 +0900)]
Revert "Supported to connect on thread"

This reverts commit a145f2bdd8e7227b648a77ff00ece92d2e3f3df8.

Change-Id: I71cb0bd7002b31611990d34307cb5383b6e85fd2
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMISC: package version up to 2.2.70
Kim Gunsoo [Fri, 6 Nov 2015 04:59:24 +0000 (13:59 +0900)]
MISC: package version up to 2.2.70

Change-Id: Ic18f5ea63e91b0acf48f0bdb6c0b912f9cc05d8f
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoModify uninstall routine to remove unnecessary option for pkgcmd.
Kim Gunsoo [Wed, 21 Oct 2015 07:36:18 +0000 (16:36 +0900)]
Modify uninstall routine to remove unnecessary option for pkgcmd.

- When uninstall an application, remove unneccessary options(pkg type)of pkgcmd.

Change-Id: I922a7a03f3e9af83de83cc486f1270e5052b2253
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoMerge "Supported to connect on thread" into tizen_sdk
Dongkyun Yun [Thu, 5 Nov 2015 12:34:33 +0000 (21:34 +0900)]
Merge "Supported to connect on thread" into tizen_sdk

9 years agoMISC: package version up to 2.2.69
Kim Gunsoo [Tue, 3 Nov 2015 08:04:57 +0000 (17:04 +0900)]
MISC: package version up to 2.2.69

Change-Id: Iaf6406d6c27172ff93437a6ba39c86df9539417e
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoModify install rotine to support install white-space pkg file.
Kim Gunsoo [Tue, 3 Nov 2015 05:36:32 +0000 (14:36 +0900)]
Modify install rotine to support install white-space pkg file.

- It supports the App. pkg file name containing white-space
  from version 2.4.0 or later of tizen platform.

Change-Id: If0fed6fd3ac41c431eb88f02300ed47df0bfbfeb
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoFixed that SDB doese not detect tizen device on OSX 10.11
shingil.kang [Tue, 20 Oct 2015 09:05:01 +0000 (18:05 +0900)]
Fixed that SDB doese not detect tizen device on OSX 10.11

- SDB communicate with tizen target by SDB protocol.
  Configuration #2 of device has SDB protocal.
  On OSX 10.11, default configuration is set to #1.
  So SDB  set configuration to #2 to use SDB protocal.

Change-Id: Ie4f5919f6bf902825ab782b0ef59b6aab2b2295a
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoModify Log type for error case when working directory is changed.
Kim Gunsoo [Wed, 14 Oct 2015 09:19:20 +0000 (18:19 +0900)]
Modify Log type for error case when working directory is changed.

- the log tag is changed from INFO to ERROR in the error condition.

Change-Id: I3db09165f604019605fa44a57b810f13f9e53c62
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoSupported to connect on thread
shingil.kang [Thu, 8 Oct 2015 07:14:43 +0000 (16:14 +0900)]
Supported to connect on thread

Change-Id: Id1a645c4f759ff0f1d455116396b686687fb1a0a
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMISC: package version up to 2.2.68
Kim Gunsoo [Thu, 24 Sep 2015 12:17:44 +0000 (21:17 +0900)]
MISC: package version up to 2.2.68

Change-Id: Id7366fcd0c197f71ab890b337c581d3db9e266f9
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoGive debug option -G when installing app package.
Kim Gunsoo [Thu, 24 Sep 2015 07:41:06 +0000 (16:41 +0900)]
Give debug option -G when installing app package.

Change-Id: I7238fc0e62443e048d62899006f41e9fb665da70
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoMISC: package version up to 2.2.67
Kim Gunsoo [Wed, 23 Sep 2015 10:23:49 +0000 (19:23 +0900)]
MISC: package version up to 2.2.67

Change-Id: I2a163b642920c2a2249d0bb22c20090f8791ee17
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoModify the connect() utility function for Windows OS.
Kim Gunsoo [Tue, 22 Sep 2015 07:01:48 +0000 (16:01 +0900)]
Modify the connect() utility function for Windows OS.

- the connect routine operates in nonblock mode.

Change-Id: Id1c2043347932ccb9b2607fde70e6eaa8aa6d2c8
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoMISC: package version up to 2.2.66
Kim Gunsoo [Fri, 18 Sep 2015 05:44:34 +0000 (14:44 +0900)]
MISC: package version up to 2.2.66

Change-Id: Id4fe8569c4ebf445098f54b9e2fbb22cb4ee65c0
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoBug fix: support install/uninstall a package with a name containing spaces
dk77.yun [Thu, 17 Sep 2015 12:03:37 +0000 (21:03 +0900)]
Bug fix: support install/uninstall a package with a name containing spaces

Change-Id: I31be9d3cb43c4225549b1e6d131f432f8e46072c
Signed-off-by: dk77.yun <dk77.yun@samsung.com>
9 years agoMISC: package version up to 2.2.65
Kim Gunsoo [Wed, 16 Sep 2015 07:38:10 +0000 (16:38 +0900)]
MISC: package version up to 2.2.65

Change-Id: Id9a4a8b76dab2e2481575d98d1ad15f42c0dfec1
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoProvides a bash auto-complete file to the user.
Kim Gunsoo [Wed, 16 Sep 2015 05:52:44 +0000 (14:52 +0900)]
Provides a bash auto-complete file to the user.

- When the sdb package is installed, the SDK installer
  installs the auto-complete files to the SDK tools directory.

Change-Id: I3f4d86b9b1b1fcebcc19f3af12144e8666cffacd
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoMerge "MISC: package version up (2.2.64)" into tizen_sdk
Dongkyun Yun [Tue, 15 Sep 2015 08:01:12 +0000 (17:01 +0900)]
Merge "MISC: package version up (2.2.64)" into tizen_sdk

9 years agoMISC: package version up (2.2.64)
shingil.kang [Tue, 15 Sep 2015 07:04:37 +0000 (16:04 +0900)]
MISC: package version up (2.2.64)

Change-Id: Id615406b4bd97d75a55aa051f8e46e41ff39371e
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoImproved stability/performance
shingil.kang [Mon, 31 Aug 2015 03:38:28 +0000 (12:38 +0900)]
Improved stability/performance
- unlimit SDB FD

Change-Id: Id66e4746c01555f1b00a49cedc5b97c4f6668824
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoFixed that accepted client socket is not closed when it failed to write to remote
shingil.kang [Mon, 14 Sep 2015 05:57:24 +0000 (14:57 +0900)]
Fixed that accepted client socket is not closed when it failed to write to remote

- if many client socket is not closed after the fail of writting,
  it cause server not to accept any connection from client.

Change-Id: I199bc44d9949cedffdcc3f595cdff7bf73fd97ed
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoRedefine the working directory path of the SDB server.
Kim Gunsoo [Mon, 7 Sep 2015 11:06:12 +0000 (20:06 +0900)]
Redefine the working directory path of the SDB server.

- A working directory places in the module path of the SDB
  server in Windows OS.

Change-Id: I0ce8167468997378773138d4cd714f9a069a7802
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoFix the double free case for auto-complete routine.
Kim Gunsoo [Mon, 7 Sep 2015 06:40:39 +0000 (15:40 +0900)]
Fix the double free case for auto-complete routine.

- When using the push auto-complete routine, the double free is
  occurred.
- Remove the duplicated close call.

Change-Id: Id13eef99c928804f922232061dd1bd68cb317f12
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoFix duplicated local_socket_close for track-device.
Kim Gunsoo [Wed, 2 Sep 2015 05:49:06 +0000 (14:49 +0900)]
Fix duplicated local_socket_close for track-device.

- When device_tracker_send that sends the device list info
  to the client is failed, local_socket_close is called twice.
- If double close is occurred, the sdb server is terminated
  because it is wrong routine for fd management.

Change-Id: I93edb5b241abd88a1b20bc07c0590ec85669a70f
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoMerge "Synchronize shell window size with remote shell." into tizen_sdk
Dongkyun Yun [Thu, 27 Aug 2015 01:52:59 +0000 (10:52 +0900)]
Merge "Synchronize shell window size with remote shell." into tizen_sdk

9 years ago[MISC] package version up (2.2.63)
shingil.kang [Mon, 24 Aug 2015 07:08:22 +0000 (16:08 +0900)]
[MISC] package version up (2.2.63)

Change-Id: Iba5d1288fdcded4eb6c053604339c6e67bac0383
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoFixed to bind incorrect remote port sometimes when port forwarding
shingil.kang [Mon, 24 Aug 2015 07:03:54 +0000 (16:03 +0900)]
Fixed to bind incorrect remote port sometimes when port forwarding

Change-Id: I7eb89cadd43df3125c46a24de3c36fa804710729
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMISC: package version up (2.2.62)
shingil.kang [Thu, 20 Aug 2015 07:35:52 +0000 (16:35 +0900)]
MISC: package version up (2.2.62)

Change-Id: Ie4d0bfc35b426760a46982753d61b2cb28e5fe4f
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoEnabled to connect to forwarding port from remote host
shingil.kang [Tue, 11 Aug 2015 07:48:55 +0000 (16:48 +0900)]
Enabled to connect to forwarding port from remote host

Change-Id: I3c52387eaf9bc719c6dc91521dc615c9be75ea4d
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoSynchronize shell window size with remote shell.
Kim Gunsoo [Thu, 23 Jul 2015 09:07:39 +0000 (18:07 +0900)]
Synchronize shell window size with remote shell.

Change-Id: I661cd1500ead0daacaaacb2bb4e3007f2b5665d8
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoMerge "MISC: package version up (2.2.61)" into tizen_sdk
Dongkyun Yun [Mon, 3 Aug 2015 04:48:17 +0000 (13:48 +0900)]
Merge "MISC: package version up (2.2.61)" into tizen_sdk

9 years agoMISC: package version up (2.2.61)
shingil.kang [Mon, 3 Aug 2015 02:55:53 +0000 (11:55 +0900)]
MISC: package version up (2.2.61)

Signed-off-by: shingil.kang <shingil.kang@samsung.com>
Change-Id: Idaa9226d3ac66682e76207078479ef3ee6824023

9 years agoprevent double free
shingil.kang [Fri, 31 Jul 2015 03:31:53 +0000 (12:31 +0900)]
prevent double free
- Use SAFE_FREE macro to free
- SAFE_FREE checks whether if pointer is null and free if not null,

Change-Id: I606cfed410b6d87c382ae6b629fa5542329bccde
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoFixed to show remote connection infomation when connected to remote target
shingil.kang [Tue, 28 Apr 2015 11:17:10 +0000 (20:17 +0900)]
Fixed to show remote connection infomation when connected to remote target

Change-Id: I542c37d7ab1851c3d2bd0feb7238c360eb32d73d
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoSDB: connecting remote target succeed if it is registered to device list.
shingil.kang [Tue, 10 Mar 2015 07:42:59 +0000 (16:42 +0900)]
SDB: connecting remote target succeed if it is registered to device list.

Change-Id: Iad04f45f9cde59bc6d258c939d0b416c590d9092
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMISC: package version up (2.2.60)
shingil.kang [Mon, 20 Jul 2015 13:54:54 +0000 (22:54 +0900)]
MISC: package version up (2.2.60)

Change-Id: Ifad187e2345f1a918ed38c5b0c8afc16c4f10bb3
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoIf status of tizen/android device is unauthorized, block sdb connection.
shingil.kang [Mon, 18 May 2015 04:55:18 +0000 (13:55 +0900)]
If status of tizen/android device is unauthorized, block sdb connection.

Change-Id: Ibaf0f6cb6949af155bf47e69544dbc532cfe4417
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoSDB: Added Unauthroized state of device
shingil.kang [Thu, 12 Mar 2015 11:37:38 +0000 (20:37 +0900)]
SDB: Added Unauthroized state of device

Change-Id: I076fd0a0cf3a6b88deee7b9b79fc3f0398311613
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoSDB: separated android, tizen device when being detected
shingil.kang [Thu, 12 Mar 2015 03:33:20 +0000 (12:33 +0900)]
SDB: separated android, tizen device when being detected

Change-Id: I40ffb298efd9121a0ffc33748e4802643bc4a962
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoSDB: Get android device name
shingil.kang [Wed, 11 Mar 2015 03:01:54 +0000 (12:01 +0900)]
SDB: Get android device name

Change-Id: I7d591afd8c9f69a30f1da5b9c6d9c17549b27291
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoSDB: Fixed to print port forwarding info
shingil.kang [Fri, 6 Mar 2015 04:39:17 +0000 (13:39 +0900)]
SDB: Fixed to print port forwarding info

Change-Id: Iba36f355eb8fdb91aa7ef48922780d95c9126810
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoSDB: Fixed that port forwarding not worked
shingil.kang [Fri, 6 Mar 2015 04:15:29 +0000 (13:15 +0900)]
SDB: Fixed that port forwarding not worked

Change-Id: I4bc84a33be7473fa8e606d84c487d84b3ab1804e
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoSDB: Added to support to detect android target on MAC OS
shingil.kang [Wed, 4 Mar 2015 14:17:28 +0000 (23:17 +0900)]
SDB: Added to support to detect android target on MAC OS

Change-Id: Iacaebcad4e7defad9a4b9c61ee0da254701569cb
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMISC: Fixed syntax error on MAC
shingil.kang [Wed, 4 Mar 2015 12:54:24 +0000 (21:54 +0900)]
MISC: Fixed syntax error on MAC

Change-Id: I1f733998d51e82470d73e3f7e0902a35c91fe4c5
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMISC: Added to declared function prototype
shingil.kang [Wed, 4 Mar 2015 12:30:47 +0000 (21:30 +0900)]
MISC: Added to declared function prototype

Change-Id: I90e37592220e50a98a00b0b25070f6cddffb8b58
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMISC: Supported to build sdb on windows
shingil.kang [Wed, 4 Mar 2015 11:55:58 +0000 (20:55 +0900)]
MISC: Supported to build sdb on windows
Added openssl library, header

Change-Id: I8f8b70571bbe324c837ed2814524d0f7bc654dd5
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoSupported to detect android device.
shingil.kang [Thu, 12 Feb 2015 02:32:02 +0000 (11:32 +0900)]
Supported to detect android device.

Change-Id: I80f818fb9300e5bb876d5f198c633622fefdd892
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoSupported 'boot' protocol/command to get status of platform booting
shingil.kang [Thu, 2 Jul 2015 15:34:13 +0000 (00:34 +0900)]
Supported 'boot' protocol/command to get status of platform booting
boot command return 1 when platform booting is done.
otherwise, return 0

Change-Id: I182fef03e1092a7c6e7c2cf89c13196cd16db530
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoMISC: package version up (2.2.59)
Kim Gunsoo [Thu, 9 Jul 2015 07:14:12 +0000 (16:14 +0900)]
MISC: package version up (2.2.59)

Change-Id: I22602e088b23601831d789579802fc0bd55f7a23
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoModify the file permission mode in push/pull operation.
Kim Gunsoo [Wed, 8 Jul 2015 09:39:06 +0000 (18:39 +0900)]
Modify the file permission mode in push/pull operation.

- Synchronize the permission mode of SDB with Connection Explorer.

Change-Id: I67e7e873c4e5e0c39c7ccbe948ef2a7cd0976d50
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoModify the way checking the connection state for the blocking issue.
Kim Gunsoo [Tue, 7 Jul 2015 07:00:13 +0000 (16:00 +0900)]
Modify the way checking the connection state for the blocking issue.

- To prevent the client blocking issues, only when the connection state
  is CS_DEVICE, it sends the OKAY message to client.

Change-Id: I8fc57a0a9b079c04c87dc5e2736316eefa6c0955
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
9 years agoprevent sdb clinet from returning 1 when trying to kill sdb server though it is not...
shingil.kang [Wed, 1 Jul 2015 07:11:02 +0000 (16:11 +0900)]
prevent sdb clinet from returning 1 when trying to kill sdb server though it is not started.

Sdb client return 0 in that case.

Change-Id: Iaf184c4e82adceccb2978e3995cecf53f1e8256e
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoModify the install and remove script on Ubuntu/MacOS to fix whitespace path issue.
shingil.kang [Wed, 1 Jul 2015 07:03:54 +0000 (16:03 +0900)]
Modify the install and remove script on Ubuntu/MacOS to fix whitespace path issue.

- cover the path including whitespace in quotes.

Change-Id: I803ec5a349f8f79670602dc983fdf902e4fc4116
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agopackage version up (2.2.58)
shingil.kang [Tue, 30 Jun 2015 11:10:43 +0000 (20:10 +0900)]
package version up (2.2.58)

Change-Id: I7c3643b98eaa51aacd8aaa464edbd1825c24a78b
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
9 years agoModify the windows uninstall script to fix whitespace path issue.
Kim Gunsoo [Fri, 26 Jun 2015 08:45:31 +0000 (17:45 +0900)]
Modify the windows uninstall script to fix whitespace path issue.

- cover the path including whitespace in quotes.

Change-Id: I68ea6386d739ced2c34177d83d1fb12f3af31b4f
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
10 years agoAdd new command "capability" to get the platform capability information.
Kim Gunsoo [Thu, 28 May 2015 13:03:12 +0000 (22:03 +0900)]
Add new command "capability" to get the platform capability information.

Change-Id: Id351161877ba1598625c8e996fbf47260a5306cd
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
10 years agoMISC: package version up (2.2.57)
shingil.kang [Fri, 5 Jun 2015 12:14:16 +0000 (21:14 +0900)]
MISC: package version up (2.2.57)

Change-Id: I5aa61a32980e036361c4b398b668811b93d22134
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
10 years agosend connection request in thread on windows during sdb booting time
shingil.kang [Fri, 5 Jun 2015 08:38:15 +0000 (17:38 +0900)]
send connection request in thread on windows during sdb booting time
to prevent emulator with no shared memory information being not detected

Change-Id: If81181bbc1723400d2e251d4a6ef29301afdf6ee
Signed-off-by: shingil.kang <shingil.kang@samsung.com>