Граф коммитов

129 Коммитов

Автор SHA1 Сообщение Дата
Mihnea Dobrescu-Balaur 22d8585fa7 add swp and log to gitignore 2012-09-11 19:32:44 -07:00
Mihnea Dobrescu-Balaur 8e5068101f update instructions for starting on boot 2012-09-10 19:33:30 -07:00
Mihnea Dobrescu-Balaur ca961ed670 update readme 2012-09-10 18:43:42 -07:00
Mihnea Dobrescu-Balaur 4195e369b9 logging enabled on B2G phones by default 2012-09-10 18:42:49 -07:00
Mihnea Dobrescu-Balaur 1d23ad22c7 log shutting down 2012-09-10 18:22:57 -07:00
Mihnea Dobrescu-Balaur c200e9d550 set logfile name from the code 2012-09-10 18:20:28 -07:00
Mihnea Dobrescu-Balaur 54995ad356 add timestamp to log modules 2012-09-10 18:14:38 -07:00
Mihnea Dobrescu-Balaur 0de76baf69 log received command lines 2012-09-10 18:10:50 -07:00
Mihnea Dobrescu-Balaur 163c8f3878 prettify the readme 2012-09-10 18:05:33 -07:00
Mihnea Dobrescu-Balaur 624d93f797 add NSPR logging support 2012-09-10 18:04:32 -07:00
Mihnea Dobrescu-Balaur eaf8919896 update agent version to properly interact with dmSUT 2012-09-10 15:19:12 -07:00
Mihnea Dobrescu-Balaur 6d5aa32ad2 strip quotation from env var string in exec 2012-09-10 15:18:54 -07:00
Mihnea Dobrescu-Balaur 5fdbcd9838 add NULL termination to C string in exec 2012-09-10 15:18:34 -07:00
Mihnea Dobrescu-Balaur 8944bd8d9d make Reactor's ctor private 2012-09-10 13:37:41 -07:00
Mihnea Dobrescu-Balaur 7945b6d8bb simplify ps 2012-09-07 17:09:17 -07:00
Mihnea Dobrescu-Balaur 75d4ba76bb fix empty string-related bugs 2012-09-07 17:09:01 -07:00
Mihnea Dobrescu-Balaur 65fb0df09f switch getCmdOutput to sstream 2012-09-07 16:58:07 -07:00
Mihnea Dobrescu-Balaur 08864c814e fix info (sub)commands; add uptimemillis 2012-09-07 16:56:14 -07:00
Mark Côté 5fc986ac0d Pull returns 0 bytes if start is greater than file size, rather than an error. 2012-09-07 00:06:57 -04:00
Mark Côté eea592d86a Fixed pull errors. Made agent warning more like Java agent's. 2012-09-06 22:43:01 -04:00
Mark Côté da50a706ec Hash error message more like Java agent's. Fixed cat command. Print only newline, no carriage return. 2012-09-06 22:14:55 -04:00
Mark Côté ced202adf6 Send prompt with response to previous command to emulate Java agent. 2012-09-06 21:27:30 -04:00
Mihnea Dobrescu-Balaur e0110a8040 fix rm return value 2012-09-06 14:32:14 -07:00
Mihnea Dobrescu-Balaur f423a8b796 fix mkdr return value 2012-09-06 14:31:36 -07:00
Mihnea Dobrescu-Balaur 64aacfc5ee fix hash return value 2012-09-06 14:31:15 -07:00
Mihnea Dobrescu-Balaur d3c234fcf9 Merge remote-tracking branch 'mark/master' 2012-09-06 13:26:17 -07:00
Mark Côté a0a046208c Send null with prompt. 2012-09-06 16:24:00 -04:00
Mihnea Dobrescu-Balaur c888e4e604 remove obsolete TODOs 2012-09-06 13:18:05 -07:00
Mihnea Dobrescu-Balaur d72524a554 fix cd 2012-09-06 12:06:58 -07:00
Mihnea Dobrescu-Balaur 32ff1fea79 correct warning string prefix 2012-09-06 10:54:37 -07:00
Mihnea Dobrescu-Balaur 7182d1605b adapt rm to the way dmSUT is expecting it to work 2012-09-06 10:54:18 -07:00
Mihnea Dobrescu-Balaur 0fd1bc1386 implement ver 2012-09-06 10:54:02 -07:00
Mark Côté 324347d5c3 Ensure we drain buffer in CommandEventHandler. 2012-09-04 16:40:58 -04:00
Mark Côté bf5e1f27c4 Drain buffer in PushFileEventHandler to prevent stalling. 2012-09-04 15:55:04 -04:00
Mihnea Dobrescu-Balaur db8e239b99 rewrite itoa 2012-08-28 17:24:23 -07:00
Mihnea Dobrescu-Balaur 2a111aa46f comment on ps command line 2012-08-28 16:52:17 -07:00
Mihnea Dobrescu-Balaur 16a5d88665 fix permissions on mkdr 2012-08-28 16:17:03 -07:00
Mark Côté ff46cf2b52 Don't return more bytes than requested. Separate closing of reading and writing. 2012-08-28 14:48:26 -04:00
Mark Côté ced8a5b70e Don't try to write if socket is closed. 2012-08-28 09:18:33 -04:00
Mihnea Dobrescu-Balaur 39a56ce729 registration data, handle_reboot 2012-08-27 18:09:44 -07:00
Mihnea Dobrescu-Balaur e3da0b4a54 moved ENDL outside of the functions. It is sent everytime by the agent 2012-08-27 16:06:39 -07:00
Mihnea Dobrescu-Balaur 446c40ac87 mkdir -> mkdr 2012-08-27 16:04:43 -07:00
Mihnea Dobrescu-Balaur 0afc130ed0 make isdir return the correct strings according to the command reference 2012-08-27 16:03:51 -07:00
Mihnea Dobrescu-Balaur 4243725989 isDir -> isdr, mkDir -> mkdr 2012-08-27 15:59:34 -07:00
Mihnea Dobrescu-Balaur b84e82c11e don't download busybox everytime 2012-08-27 15:58:11 -07:00
Mark Côté 08eefed2f8 Added timeouts to Reactor/EventHandler. 2012-08-27 00:17:09 -04:00
Mihnea Dobrescu-Balaur 0ee1729528 add NULL termination to be compatible with devmgrSUT.py 2012-08-24 18:45:33 -07:00
Mihnea Dobrescu-Balaur 5a269b65d9 add missing braces 2012-08-24 10:55:10 -07:00
Mihnea Dobrescu-Balaur ae746bb472 change opening brace style 2012-08-23 22:02:41 -07:00
Mihnea Dobrescu-Balaur f8c62e9a9c close file on return 2012-08-23 21:59:03 -07:00