Zach Klippenstein
3e1d948164
[cmd/adb] Support pulling/pushing from stdin and to stdout.
2015-12-29 13:25:17 -08:00
Zach Klippenstein
e6b354ce69
Merge pull request #6 from zach-klippenstein/sync-send
...
Implemented sync file send and cmd/adb push command.
2015-12-28 20:03:30 -08:00
Zach Klippenstein
340dcab2df
Implemented sync file send and cmd/adb push command.
2015-12-28 19:59:07 -08:00
Zach Klippenstein
d32cf6b500
Merge pull request #7 from zach-klippenstein/fix-openread-errors
...
OpenRead will now return an error if the server returns an error when trying to open a file.
2015-12-28 19:57:39 -08:00
Zach Klippenstein
cb7e06bdb9
OpenRead will now return an error if the server returns an error when trying to open a file.
...
All sync status reads now also check for failure status,
using the same logic as the normal Scanner (the only difference
being that for normal scanners, length is encoded as a hex
string, but for sync scanners it's in binary little-endian).
2015-12-28 19:46:14 -08:00
Zach Klippenstein
2515c6d11a
[cmd/adb] Implemented pull command.
2015-12-28 13:40:36 -08:00
Zach Klippenstein
eabeb3aa77
Fixed travis badge to always point to master.
2015-12-28 01:26:11 -08:00
Zach Klippenstein
64750956ff
[cmd/adb] Make devices -l look more like the official command's output.
2015-12-27 17:37:26 -08:00
Zach Klippenstein
9e134f40b3
Merge pull request #5 from zach-klippenstein/adb-command
...
Started basic clone of adb command.
2015-12-20 23:08:22 -08:00
Zach Klippenstein
b65c913aaf
Updated go version for travis build.
2015-12-20 23:01:07 -08:00
Zach Klippenstein
f6d7b0b665
Started basic clone of the adb command.
2015-12-20 23:00:15 -08:00
Zach Klippenstein
39a21306a5
Merge pull request #3 from zach-klippenstein/zach-klippenstein/devicewatcher-restart-backoff
...
Randomly backoff restarting adb server from DeviceWatcher.
2015-11-29 10:48:49 -08:00
Zach Klippenstein
b966d11cda
Randomly backoff restarting adb server from DeviceWatcher.
2015-11-29 10:41:10 -08:00
Zach Klippenstein
677e09425f
Merge pull request #2 from zach-klippenstein/zach-klippenstein/deviceclient-deviceinfo
...
Add GetDeviceInfo method to DeviceClient.
2015-11-26 12:47:14 -08:00
Zach Klippenstein
e3c41d9cbf
Add GetDeviceInfo method to DeviceClient.
2015-11-26 11:49:29 -08:00
Zach Klippenstein
d964e00da0
Merge pull request #1 from zach-klippenstein/zach-klippenstein/fix-devicenotfound-newservers
...
Handle newer adb servers' device not found error messages.
2015-09-12 15:31:49 -07:00
Zach Klippenstein
81043d7260
Handle newer adb servers' device not found error messages.
2015-09-12 15:30:32 -07:00
Zach Klippenstein
af4b3ddcf2
DeviceWatcher events are more strongly typed and added higher-level methods.
2015-09-07 21:19:59 -07:00
Zach Klippenstein
0aa31c0548
If dialing the server fails initially, attempt to start the server and retry.
2015-09-07 16:06:20 -07:00
Zach Klippenstein
bdf8f854c3
Added utility method to DirEntries for reading all entries.
2015-09-06 12:56:35 -07:00
Zach Klippenstein
92af9f1b15
Removed unused err return value from NewDeviceWatcher.
2015-09-05 23:24:02 -07:00
Zach Klippenstein
a92512cf8f
Added function to build more useful error messages for debugging.
2015-09-05 20:55:20 -07:00
Zach Klippenstein
695e0af07b
Fixed DeviceClient not closing the connection on Stat.
2015-09-05 20:37:40 -07:00
Zach Klippenstein
b0842f499c
Cleaned ErrCode constant definitions.
2015-07-23 20:51:08 -07:00
Zach Klippenstein
c0133b8ec7
Fixed device watcher tests.
2015-07-19 14:41:27 -07:00
Zach Klippenstein
164ab27d25
Implemented device event watcher and improved errors.
2015-07-19 12:45:24 -07:00
Zach Klippenstein
946c9e8ff8
Fixed scanner tests.
2015-07-19 06:43:13 -07:00
Zach Klippenstein
34b3a07ca8
Richer error handling.
2015-07-12 00:37:58 -07:00
Zach Klippenstein
0817d29438
Decoupled clients from each other.
2015-07-11 23:21:10 -07:00
Zach Klippenstein
31c075d150
Fix tests.
2015-05-03 18:31:03 -07:00
Zach Klippenstein
683663cb52
Locked go version to 1.4 on travis.
2015-05-03 18:27:21 -07:00
Zach Klippenstein
ab49714a03
Fixed raw-adb.
2015-05-03 18:21:49 -07:00
Zach Klippenstein
0be787db78
Better logging for connection failures.
2015-05-03 18:07:03 -07:00
Zach Klippenstein
cafabc99f6
Detect non-existent paths in sync_client, tests for sync_client#stat.
2015-05-03 08:12:53 -07:00
Zach Klippenstein
925d93caef
Removed nilSafeDialer and moved AdbPort into goadb package.
2015-05-03 07:39:11 -07:00
Zach Klippenstein
a6b8a6fa03
Enhanced error messages.
2015-05-03 05:37:53 -07:00
Zach Klippenstein
d0b99d9f57
Parse more bits out of file modes in sync mode.
2015-04-28 14:25:36 -05:00
Zach Klippenstein
28a745dc7a
Added link to demo.go to README.md.
2015-04-12 22:19:48 -07:00
Zach Klippenstein
4b9891533a
Started host and local service clients.
...
Milestone: the demo app prints /proc/loadavg from the device.
2015-04-12 22:07:12 -07:00
Zach Klippenstein
f55ab62f4c
Added .travis.yml.
2015-04-11 17:20:08 -07:00
Zach Klippenstein
5492caa668
Lint fixes.
2015-04-11 17:00:58 -07:00
Zach Klippenstein
8d46dec61d
Initial commit – wire format implementation and some host client commands.
2015-04-11 16:58:49 -07:00