summaryrefslogtreecommitdiff
path: root/altosui/AltosEepromManage.java
Commit message (Collapse)AuthorAge
* 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: Complete split out of separate java libraryKeith Packard2012-06-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Change flight data saving UI to separate download/delete selectionsKeith Packard2012-03-27
| | | | | | | | | First pop up a dialog to select flights for download. Download them. Then, after that, pop up a *new* dialog to select flights for delete. Offer to delete all of the downloaded flights by default. Then delete the flights. 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>
* altos: AltosSerial.flush_input shouldn't discard Interrupted exceptionsKeith Packard2011-08-13
| | | | | | | | The eeprom download code wants to interrupt serial communication so that it can stop downloading stuff in the middle of a run. Make flush_input pass the exception along instead of discarding it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Don't try to use non-basestations for remote eeprom downloadKeith Packard2011-08-13
| | | | | | | Companion boards may also have eeprom data to fetch; don't try to use them as a radio. 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: Display exception messages from swing threadKeith Packard2011-03-29
| | | | | | | Flight log management exceptions were getting displayed from the log serial I/O thread instead of the swing thread. That's a bad plan. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make flight log downloading handle 'Connecting...' dialogKeith Packard2011-03-28
| | | | | | | | This required moving all of the serial communication to a separate thread and making the bulk of the download operation run after that has finished. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Tell serial device which frame to use for timeout dialogsKeith Packard2011-03-27
| | | | | | | | | | For the timeout dialog to appear, a frame must be configured for it to appear near. This patch sends the frame from the eeprom download functions to the serial code. That path doesn't yet work as the eeprom download is still trying to talk to the serial device from the swing event thread, which prevents the cancel dialog from working. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove a bunch of debug printfs from the eeprom manager codeKeith Packard2011-03-25
| | | | | | Just noise on stdout. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Ensure serial device is closed after eeprom download finishesKeith Packard2011-01-16
| | | | | | | | As this code is all event-driven, track which events will trigger further work and block closing the device in those specific cases, ensuring that all other code paths end up closing the device. Signed-off-by: Keith Packard <keithp@keithp.com>
* Close serial port if Download/Delete dialog is cancelled.Mike Beattie2011-01-17
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosui: Show dialog after successful delete or when no flightsKeith Packard2011-01-14
| | | | | | Make sure the user always sees confirmation for flight log management. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add eeprom 'manage' ui to download and delete multiple flightsKeith Packard2011-01-12
This shows the list of available flights and provides options to download and/or delete each one. Signed-off-by: Keith Packard <keithp@keithp.com>