summaryrefslogtreecommitdiff
path: root/altosui
Commit message (Collapse)AuthorAge
* altosui: Add software version to Configure AltosUI dialogKeith Packard2011-03-19
| | | | | | | Show this somewhere so we can figure out what is installed. Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit e980b251e5a4d25410710a9aa89ef940e06b0d93)
* altosui: Missed jcommon.jar in the Mac OS install imageKeith Packard2011-03-19
| | | | | | | This caused graphing to fail on Mac OS X Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 9f3d26cadf37880d2c9223f59271d295b11c4c2a)
* altosui: Display eeprom parsing errors to userKeith Packard2011-03-19
| | | | | | | | | | When reading the eeprom, any parsing errors (most likely bad checksums) indicate some kind of problem with either the hardware or the flight software. Display these to the user and do not erase the flight. Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 249cd3b63d97581b068fff988e0cd7fcd5bf493e)
* altosui: Always read whole eeprom block, even at end of flightKeith Packard2011-03-19
| | | | | | | | | Instead of stopping early, continue reading the whole eeprom block so that the extra serial data doesn't end up confusing the next user of the serial line, which may well be reading the next flight. Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 629a7637871b24fe6d1204aaa7185d84933d4639)
* altosui: Mark empty eeprom records 'invalid', don't generate exceptionKeith Packard2011-03-19
| | | | | | | | | When reading empty eeprom records, mark them as 'invalid', but don't generate an exception as it's normal to read these at the end of the flight log. Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 7ca2cf1b7e03b8453b45b45e313a33ad65da9ad5)
* fat: Add docs to Linux packageKeith Packard2011-01-18
| | | | | | Oops. Missed this one. Signed-off-by: Keith Packard <keithp@keithp.com>
* fat: Add firmware for v1.1 and docs to mac/windows/linux installersKeith Packard2011-01-18
| | | | | | We'll need to be sure to update this each time we add a product. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove spurious colons from eeprom selection headersKeith Packard2011-01-16
| | | | | | This colons make the presentation a bit confusing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Require 4 sats to light up the 'GPS locked' light.Keith Packard2011-01-16
| | | | | | | This tracks the same GPS signal requirement needed for 'GPS ready' and ensures that we have a 3d fix. 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>
* altosui: Remove debug message when eeprom downloads are complete.Keith Packard2011-01-16
| | | | | | This message isn't useful now that this code appears to work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use long input flush timeout when remote.Keith Packard2011-01-16
| | | | | | | 100ms isn't long enough to capture pending remote serial input, so use 300 ms in that mode. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make serial debug more complete and accurateKeith Packard2011-01-16
| | | | | | | | Display all serial input, including telemetry. Wait to display serial output until flush time, to debug missing flushing. Show when devices are opened and closed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Reset eeprom download instance variables before reading flightKeith Packard2011-01-16
| | | | | | | | To deal with downloading multiple flights in a single invocation, make sure all relevant instance variables are set back to start of flight download values each time a log is read. 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>
* Convert EepromSelect dialog to use a GridBagMike Beattie2011-01-17
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Re-order and re-arrange eeprom download dialogMike Beattie2011-01-16
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosui: Add preference for serial debugging.Keith Packard2011-01-14
| | | | | | This dumps serial input/output to stdout. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Ensure serial line is flushed after disabling remote linkKeith Packard2011-01-14
| | | | | | Flush the '~' character. Signed-off-by: Keith Packard <keithp@keithp.com>
* 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>
* altosui: Add support for parsing list of flights from the 'l' commandKeith Packard2011-01-11
| | | | | | | This adds parsing support to enumerate the available flights, but does not yet provide any UI to use it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Split eeprom download code apartKeith Packard2011-01-11
| | | | | | | | Create separate 'download config data', 'read single record' and 'read block' functions. This code will be shared with future multi-log reading code for new firmware. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add configuration of flight log sizeKeith Packard2011-01-07
| | | | | | | This adds to the TeleMetrum configuration UI the ability to set the maximum flight log size. Signed-off-by: Keith Packard <keithp@keithp.com>
* windows: Update NSIS installer file to use compatibility IDsKeith Packard2010-12-22
| | | | | This allows the file to contain a single InitDriverSetup function, making things shorter and (I hope) clearer.
* altosui: move maps to subdir, fix E/W mismatchAnthony Towns2010-12-14
|
* windows: Add jfreechart.jar and jcommon.jar to windows install imageKeith Packard2010-11-29
| | | | | | These are necessary for the Graph Data button to do anything useful. Signed-off-by: Keith Packard <keithp@keithp.com>
* windows: try harder to get windows install to workKeith Packard2010-11-27
| | | | | | | Add devIDs to .nsi file. Fix install section name mapping from the hot-plug info. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Correct windows hardware IDs for nsis installer fileKeith Packard2010-11-27
| | | | | | | Need real hardware IDs (encoded USB ids) to get windows to auto-install the driver? 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>
* altosui: Flight data download GUI operations called only from main threadKeith Packard2010-11-25
| | | | | | | | Swing doesn't like UI functions being called from non-dispatch thread, so fix up the eeprom download code to use SwingUtilities.invokeLater to make sure this works right. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Eliminate unnecessary thread from config UIKeith Packard2010-11-25
| | | | | | | There's no reason to use a thread to run a dialog box, and swing doesn't like threads anyways. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Only call swing display functions from main thread.Keith Packard2010-11-25
| | | | | | | | | | | Swing insists that all display functions be called from a single thread, and the flight window wasn't following this for display updates. Use SwingUtilities.invokeLater to make sure the flight UI updates happen in the right context. Fixes a UI freeze on Mac OS. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Hack up standalone makefile to maybe build altosui againKeith Packard2010-11-25
| | | | | | This isn't tested, but at least the paths are more likely to be correct Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make windows bits build after moving altosui directoryKeith Packard2010-11-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonboxAnthony Towns2010-11-25
|
* Move altosui to the top level, placing libaltos inside it.Keith Packard2010-11-24
Signed-off-by: Keith Packard <keithp@keithp.com>