summaryrefslogtreecommitdiff
path: root/altosui
Commit message (Collapse)AuthorAge
* altosui: comment out/remove dead codeMike Beattie2012-09-14
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosui: access class variables by class, not instanceMike Beattie2012-09-14
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosui: remove redundant catchesMike Beattie2012-09-14
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosui: comment out un-used classes and associated importsMike Beattie2012-09-14
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* 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>
* altosui: Exit with an error status when file processing failsKeith Packard2012-09-12
| | | | | | | If the user provides any files on the command line, and if processing them fails in some way, exit immediately with an error indication. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Stop downloading eeprom data on a block full of invalid dataKeith Packard2012-09-12
| | | | | | | When no valid records are found within an eeprom block, we assume that no more data will be found within the entire storage area. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Serialize data access in TD config codeKeith Packard2012-09-12
| | | | | | | | | Setting the values was being done in the UI thread instead of the Serial thread, which left the serial thread with uninitialized values when it went to update the displayed value for the current frequency. All fixed now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Lock access to preferences dataKeith Packard2012-09-12
| | | | | | | These are accessed by several different threads, so keep things sane by just holding locks across all access. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add multi-sized icons to all windowsKeith Packard2012-09-12
| | | | | | This lets the window system pick a better size for presentation Signed-off-by: Keith Packard <keithp@keithp.com>
* Reference specific dependent jars in the AltosUI launchersTom Marble2012-09-12
|
* altosui: Initialize imperial units checkbox with correct valueKeith Packard2012-09-11
| | | | | | | Use imperial units preference instead of serial debug preference. Cut & paste programming failure... Signed-off-by: Keith Packard <keithp@keithp.com>
* Clean up Windows event handles on com port closeKeith Packard2012-09-11
| | | | | | | | | | This avoids having to wait for the receiver to timeout before we can open the same com port again. This patch also adds a bit more debugging -- it prints Windows error messages to stdout along with the file/line where the error was generated. Signed-off-by: Keith Packard <keithp@keithp.com>
* Include AltosLib.jar in windows installKeith Packard2012-09-11
| | | | | | Otherwise, altosui doesn't do much. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosTom Marble2012-09-11
|\
| * altosui: Imperial units for graphs tooKeith Packard2012-09-11
| | | | | | | | | | | | Just to be consistent Signed-off-by: Keith Packard <keithp@keithp.com>
* | Added the feature to AC to default --with-android to $ANDROID_SDK (if set)Tom Marble2012-09-11
|/ | | | | | | Fixed typos in altosui/Makefile.am (had removed JCOMMON, but it's from AC) Jenkins changes: - added android sdk - will now record artifacts: altoslib/AltosLib.jar,altosui/altosui.jar,**/*.apk
* Reverted package name to 'altosui' from 'AltosUI'Tom Marble2012-09-11
| | | | Also added emacs backup regex (*~) to .gitignore
* Add appropriate Java build deps as given from autoconfTom Marble2012-09-11
|
* Use explicit build deps for altosui (avoids * wildcarding)Tom Marble2012-09-11
|
* Changed package name from altosui to AltosUITom Marble2012-09-10
|
* Test commit (comment) to confirm push worksTom Marble2012-09-10
|
* altosui: Use units conversion functions everywhere.Keith Packard2012-09-10
| | | | | | Provide a configuration option to select imperial units and use them everywhere Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use helper functions to access arrays in AltosLib classKeith Packard2012-09-09
| | | | | | | These deal with out-of-range values correctly, instead of causing exceptions that will just break stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Catch errors in state value when saving flight logsKeith Packard2012-09-09
| | | | | | | | Use AltosLib.state_name() instead of directly accessing the state_to_string array so that any invalid state values are caught and replaced with 'invalid' instead of raising an exception. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Check for JRE 1.7 in Windows installerKeith Packard2012-08-19
| | | | | | | | altosui runs fine with version 1.7 (on Linux at least), so allow that version to satisfy the java check instead of requiring the user to down-grade to 1.6 Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' of git://git.gag.com/fw/altosMike Beattie2012-08-08
|\
| * altosui: Move 'implements Runnable' from AltosSerial to AltosLinkKeith Packard2012-08-04
| | | | | | | | | | | | AltosLink is the class providing the 'run' method, after all... Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Remove duplicate values from info table. Add altitudeKeith Packard2012-07-29
| | | | | | | | | | | | | | No need to have state/call/serial/flight data, those are all in the header. Having altitude makes Monitor Idle slightly more useful. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Handle Monitor Idle errors betterKeith Packard2012-07-29
| | | | | | | | | | | | | | | | Deal with missing data by checking for MISSING in more places. Handle serial communication failures during send by reporting back from libaltos. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Ignore autogenerated file: altosui/Info.plistMike Beattie2012-07-31
|/ | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosui: Move AltosIgnite.java to altoslibKeith Packard2012-07-22
| | | | | | To be shared with altosdroid eventually Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Delay starting KML output for flight and GPS coordsKeith Packard2012-07-19
| | | | | | | Don't start outputing KML data until the telem record containing flight number and GPS coordinates are present. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make scan UI handle incremental telem dataKeith Packard2012-07-18
| | | | | | | | | The new telem format doesn't send everything in each telem packet, so we need to handle updating information incrementally in the scan results. This involved clearing old scan data when switching frequencies and then updating existing entries with new data as it arrives. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Accept variations in spacing for igniter status replyKeith Packard2012-07-17
| | | | | | Megametrum uses different white space; just deal with it here. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Move idle monitor managing code to altoslibKeith Packard2012-07-17
| | | | | | More stuff to be shared (potentially) Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Skip unknown data when parsing ADC for idle monitoringKeith Packard2012-07-16
| | | | | | This resolves an infinite loop when talking to megametrum. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move serial datastream parser to altoslibKeith Packard2012-07-16
| | | | | | instead of having it in altosui Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Abstract remote connection timeout stuffKeith Packard2012-07-11
| | | | | | | This moves some of the logic for managing when to present the 'cancel' dialog for remote operations to altoslib. Signed-off-by: Keith Packard <keithp@keithp.com>
* 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>
* Report RSSI values in monitor idle UI (trac #44)Keith Packard2012-07-11
| | | | | | | | This adds a new 's' command to TeleDongle to report RSSI value from last received packet, and then has AltosUI request that value when closing the remote link. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add megametrum outline to doc dirKeith Packard2012-07-11
| | | | | | And install it alongside telemetrum-outline Signed-off-by: Keith Packard <keithp@keithp.com>
* Get AltOS version numbers into Mac 'about' dialogKeith Packard2012-07-11
| | | | | | | Generate Info.plist from Info.plist.in to correctly set the VERSION information. This also changes some strings around to make them look better Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix flight data download for TM. Look for MM flights when graphingKeith Packard2012-07-03
| | | | | | | | A couple of minor fixes, the first to not force the log format so that TM/Tm data will be downloaded correctly and the second to expand the set of files to include '.mega' files when plotting data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make libaltos recognise new USB idsKeith Packard2012-06-26
| | | | | | | libaltos has a small range of 'AltusMetrum' products to avoid opening other devices. We've got more IDs, so open up the range. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: AltosSerial and AltosLink both tried to provide frequency settingKeith Packard2012-06-26
| | | | | | | | AltosLink owns all of the device configuration, so remove that from AltosSerial and make sure that AltosLink provides the right function signatures (wasn't using the new direct frequency setting command). Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Support MM telemetry packetsKeith Packard2012-06-21
| | | | | | | Required restructuring the whole telemetry system to provide abstract interfaces to flight data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add rudimentary MM support to altosuiKeith Packard2012-06-17
| | | | | | | | | Decoded the MM sensor packets as if they were TM packets. Add the USB ids. Add class of 'altimeter' devices and match those instead of just telemetrum as appropriate. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move product definitions from AltosUI to AltosLibKeith Packard2012-06-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>