Commit Graph

58 Commits

Author SHA1 Message Date
jdf
830e829cc8 Make progress dialog a bit wider 2010-03-09 15:03:36 +00:00
jdf
de5b04de26 Don't need those conditions 2010-03-08 22:23:30 +00:00
jdf
e299769c0c Hush a bunch of stderr debugging messages. 2010-03-08 22:19:03 +00:00
jdf
aa2a23e707 Shut yourself down when your logcat is exhausted, please. 2010-03-08 22:17:57 +00:00
jdf
32db8f48ea Cleanup android build folder, and make it a new tmp folder each time. 2010-03-08 21:14:23 +00:00
jdf
b488f2da40 Cleanup android build folder, and make it a new tmp folder each time. 2010-03-08 21:13:46 +00:00
jdf
c01be0874f Changes to make the detection of bad emulator behavior more robust. For example, if you kill the emulator while the sketch is launching on it, it seems to react appropriately now. There's a lot of noise coming out on stderr now; I'll clean that up once I've satisfied myself that it's reliable. 2010-03-08 16:19:24 +00:00
jdf
3ae018951a Hush the build. 2010-03-08 16:17:37 +00:00
jdf
756bb2f6be Working towards making the emulator a more reliable component. It now has a well-defined state that can be queried. Next step: make the launch process know about it! 2010-03-05 21:49:21 +00:00
jdf
601b692f62 Ensure destruction of logcat process 2010-03-05 17:51:30 +00:00
jdf
2c48517c0e Always synchronize on collection when iterating 2010-03-05 17:50:59 +00:00
jdf
1680fe0d52 Always cancel futures that don't yield results. 2010-03-05 17:49:07 +00:00
jdf
def93e671e Always destroy processes. 2010-03-05 17:48:42 +00:00
jdf
0451e0f32f Nice thingy for watching and killing unruly processes 2010-03-05 17:48:24 +00:00
jdf
3a624de222 Remove unused API. Always kill process. 2010-03-05 16:19:58 +00:00
jdf
871bfcc9b9 Fix bug 1470: now auto-detects JAVA_HOME and auto-inserts JAVA_HOME/bin into path. 2010-03-04 19:03:47 +00:00
jdf
5bed47f10d Fix bogus comment 2010-03-04 19:02:51 +00:00
jdf
c7462eea57 Only report stack traces having to do with our sketches! 2010-03-04 14:13:49 +00:00
jdf
28e563696b The "message" part, which I'd thought corresponds to the "message" of an exception, should be the whole excetion line, inculding the exception class and a colon. 2010-03-04 14:13:20 +00:00
jdf
8f27a78846 Created an IndeterminateProgressMonitor that acts a lot like the ProgressMonitor, but is, well, indeterminate. 2010-03-03 18:44:38 +00:00
jdf
902df6dd42 Off by one in reporting line number of uncaught exception 2010-03-03 16:40:56 +00:00
jdf
ae6045f8cd Detect and report stack traces in the PDE. 2010-03-03 16:38:38 +00:00
jdf
366f792fc1 Undo reliance on otherwise dead class 2010-03-03 16:38:15 +00:00
jdf
ccd9764daa Dead code. 2010-03-03 16:35:14 +00:00
jdf
62e38653bf More handsome code. 2010-03-03 01:22:58 +00:00
jdf
49632571c2 Add a progress monitor to the long, long process of launching a sketch. 2010-03-03 01:22:45 +00:00
jdf
c425698ae5 This seems to be the correct way of bringing the launcher up 2010-03-02 19:26:12 +00:00
jdf
22f6821d46 Allow up to 2 minutes for emulator to show up (or hardware to be connected). 2010-03-01 21:01:51 +00:00
jdf
41ee2580c5 Clean up informational messages. 2010-03-01 21:01:18 +00:00
jdf
3afb248064 AndroidSDK now has a single static method, "find", which checks your environment and the Processing preferences for a legit SDK, then prompts the user if all else fails. 2010-03-01 19:34:38 +00:00
jdf
ae7af4a962 Hush a couple of informational messages 2010-03-01 19:33:19 +00:00
jdf
3697fee5e9 Attempt to start with a clean adb environment, and to leave it clean at exit. 2010-02-28 01:43:08 +00:00
jdf
ec2c792dc6 Kill the emulator on exit if we started it. 2010-02-28 01:42:43 +00:00
jdf
7a33f70e45 Turn off the old sketch before reloading it. 2010-02-28 01:42:04 +00:00
benfry
bf8c91416e default preprocessor imports 2010-02-28 01:06:49 +00:00
jdf
d03cbea2d5 start the damned thread 2010-02-27 19:14:08 +00:00
jdf
b813e6dabd Added debugging for bf emulator trouble 2010-02-27 19:13:19 +00:00
jdf
74add1680e more cleanup 2010-02-27 19:03:01 +00:00
jdf
94cb5e7efd cleaning up 2010-02-27 18:43:44 +00:00
jdf
b57bec0cf8 Try to address Mac problem with emulator launch 2010-02-27 18:43:31 +00:00
jdf
55107db932 Console from sketches! 2010-02-27 16:52:56 +00:00
jdf
4d5624edac Much simpler means of tracking process status 2010-02-27 14:17:54 +00:00
jdf
b7d711e569 Rough draft of integration with my new stuff 2010-02-26 22:56:55 +00:00
jdf
d78a160a42 unused 2010-02-25 21:17:11 +00:00
jdf
58027b77aa Be 1.5-compatible 2010-02-25 21:16:31 +00:00
jdf
0fda503420 fix attributions 2010-02-25 21:15:23 +00:00
jdf
4106a4261a Fix Java 5 incompatibility; sorry Ben. 2010-02-25 20:57:22 +00:00
jdf
1a76fa7742 Now have working AndroidEnvironment, with AndroidDevices that let you listen to stdout and stderr from specific apps. 2010-02-25 20:46:46 +00:00
jdf
f3e6ea4b72 Finding the right abstractions for handling textual process output, which will come in handy for log multiplexing, but is also useful for quick shelling out. 2010-02-25 16:28:01 +00:00
jdf
8c9ec3a26a Unfortunately, using the JDI and its associated machinery was garden path for communicating with the Android world. The way to go is to exploit the logs, which, happily, are useful. This commit starts to commit to that path. 2010-02-25 03:43:51 +00:00