summaryrefslogtreecommitdiff
path: root/altosui/AltosFlashUI.java
Commit message (Collapse)AuthorAge
* telegps: Add flash device functionalityKeith Packard2014-05-28
| | | | | | Move bits from altosui to altosuilib and use those. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Change versions to altoslib:4, altosuilib:2Keith Packard2014-05-25
| | | | | | API has changed for these libraries, time to bump the file versions Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui/altosuilib/libaltos: Remove trailing whitespaceKeith Packard2014-04-11
| | | | | | Just cleaning up the source code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Retry device enumeration after rebooting for self flashKeith Packard2014-02-28
| | | | | | | | Windows takes 'a while' to include the rebooted device in the list of available devices, so try a few times with a 100ms delay so that we can avoid asking the user to select from an empty list. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Bump library versionKeith Packard2013-12-20
| | | | | | | Prepare for next release by making sure we notice that the API/ABI for this library has changed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Pass InterruptedException up the stack instead of hiding itKeith Packard2013-12-18
| | | | | | | | | | When interrupting a thread that is talking to a serial device, it's important not to have that thread discard the InterruptedException so that it will actually terminate. This patch removes a bunch of places that were discarding InterruptedExceptions and lets higher level code see them so that they can exit cleanly. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: When flashing to TeleDongle or TeleBT, match any .ihx fileKeith Packard2013-12-08
| | | | | | | | Let the user pick any .ihx file when using a device which can only be used as a pair programmer. Note that 'telemetrum' can be either, and we'll assume that it's a self-programmed device (v2) for now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Match directories in hex file matcherKeith Packard2013-12-08
| | | | | | This makes it possible to navigate around the file system Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add self-flashing codeKeith Packard2013-12-08
| | | | | | | This adds the ability to use the AltOS flash-loader on both STM and NXP processors. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Finish AltosState changes. Update version number.Keith Packard2013-09-05
| | | | | | | Removes all of the AltosRecord bits, changes the monitor idle bits to have per-object state updaters. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/altoslib: Move more flashing code from altosui to altoslibKeith Packard2013-05-07
| | | | | | | Required a bit of refactoring to eliminate swing types from the flashing code, but nothing major. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui & altoslib: Move a pile of debug/programming bits to altoslibKeith Packard2013-05-07
| | | | | | Prepare to create external Java utilities to flash devices Signed-off-by: Keith Packard <keithp@keithp.com>
* Add version numbers to java librariesKeith Packard2013-01-29
| | | | | | | Make our private java library names include a version number so we can ship and install multiple versions at the same time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use shared AltosUIFrame and AltosUIDialogKeith Packard2013-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use shared AltosDeviceDialogKeith Packard2013-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Re-add a couple of "unused" valuesKeith Packard2012-10-18
| | | | | | | The values in these calls aren't needed, but the side-effects are, so add them back in. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: comment out un-used fields and methodsMike Beattie2012-09-14
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosui: remove un-used importsMike Beattie2012-09-14
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Reverted package name to 'altosui' from 'AltosUI'Tom Marble2012-09-11
| | | | Also added emacs backup regex (*~) to .gitignore
* Changed package name from altosui to AltosUITom Marble2012-09-10
|
* altosui: Remove a bunch of debugging printfsKeith Packard2012-07-11
| | | | | | These aren't useful at this point. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Complete split out of separate java libraryKeith Packard2012-06-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Split out UI-specific preferencesKeith Packard2012-06-02
| | | | | | Prepare to create library shared with android application. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Deal with serial port exceptions a bit betterKeith Packard2011-11-12
| | | | | | | This catches a few exceptions and tries to make sure the serial port is closed afterwards. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make UI Look&Feel configurableKeith Packard2011-11-11
| | | | | | Saves the preferred style and uses that for all current and new windows. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Report error message back from libaltosKeith Packard2011-08-28
| | | | | | | This includes changing all of the error dialogs to show the error message rather than just the file name. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Separate out flash debug code to separate threadKeith Packard2011-04-25
| | | | | | | This avoids blocking the Swing thread while waiting for the serial device. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Create abstract AltosDevice classKeith Packard2011-04-14
| | | | | | | This will wrap either USB or BT devices. The USB device constants have been moved to Altos.java Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Clean up flash code to ensure swing gets called from right threadKeith Packard2010-11-25
| | | | | | | This moves all of the flash code to a separate thread and passes messages back to the swing thread to keep the UI up to date. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove gratuitous threading from device flashing UIKeith Packard2010-11-25
| | | | | | | There's no need for a thread here, and swing doesn't want us to use one anyways. Signed-off-by: Keith Packard <keithp@keithp.com>
* Move altosui to the top level, placing libaltos inside it.Keith Packard2010-11-24
Signed-off-by: Keith Packard <keithp@keithp.com>