summaryrefslogtreecommitdiff
path: root/altosuilib
Commit message (Collapse)AuthorAge
* altoslib/altosuilib: clean all versions of the .jar fileKeith Packard2014-09-09
| | | | | | | When we switch libary versions, we want to remove the old ones; just have 'make clean' remove all versions of the libaries. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Add EasyMega supportKeith Packard2014-09-09
| | | | | | | This makes flashing find the right files, and Monitor Idle show all of the state data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Fix minor scan UI nitsKeith Packard2014-07-14
| | | | | | | | | | Wasn't computing geometry correctly and overlapped the 2400 baud entry with the list of scan results. Was not saving the telemetry rate/telemetry style when switching to monitor mode, which caused the new monitor to come up with the wrong values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't show bluetooth UI bits on mac/windowsKeith Packard2014-07-10
| | | | | | | This just confuses people into thinking that bluetooth is supported on those machines. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Allow for unitless axes in graphsKeith Packard2014-07-10
| | | | | | DOP values have no units. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Add GPS DOP values to info tableKeith Packard2014-07-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Add GPS DOP values to graphKeith Packard2014-07-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak/altosui/telegps: Fix icon file namesKeith Packard2014-07-10
| | | | | | | | | | The icon file names are now structured to have an organization name and application name component. This should avoid collisions with other packages when the icon files are installed in a shared directory, as on Linux. Within the Java .jar file, the new names need to be correctly referenced or we won't find them. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Hide inactive altimeter configuration entriesKeith Packard2014-07-09
| | | | | | | Instead of disabling them, just hide them so that entries that do not apply to a particular device won't get shown at all. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Support telemetry data ratesKeith Packard2014-07-05
| | | | | | | Add combo box to flight UI and flight hardware configuration UIs Add telemetry rate to the TD/TBT config dialog Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Add telemetry rate to Scan UIKeith Packard2014-07-05
| | | | | | | Let the user scan for multiple data rates as well as telemetry formats and frequencies Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Remove debug printfs from map cacheKeith Packard2014-07-05
| | | | | | Just annoying Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Undo the frequency/telemetry menu changesKeith Packard2014-07-05
| | | | | | | | | Using menus for these items isn't what we want; we want to show the current value on the screen, which is what a combo box is for. Switch back to those and remove the frequency and telemetry config from the TeleGPS menu bar so that Mac OS X is happy. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Mark 'Configure AltosUI' window with maps key statusKeith Packard2014-06-24
| | | | | | This lets us check a build to make sure it has a maps key Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Outline map lines and distance value with whiteKeith Packard2014-06-24
| | | | | | This makes the value and line visible on dark backgrounds Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Make map cache size configurableKeith Packard2014-06-24
| | | | | | | Systems with sufficient memory can get smoother map scrolling by making the cache larger. Would be nice to do this automatically? Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Hook up apple messages to callbacksKeith Packard2014-06-18
| | | | | | | | This supports open, quit and preferences. I'm leaving 'about' to the existing stuff until I decide it's worth the effort to create a fancy about dialog. Signed-off-by: Keith Packard <keithp@keithp.com>
* java: Bump java library versions for next releaseKeith Packard2014-06-16
| | | | | | Prepare for future release by bumping java versions now Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix ground station configure frequency listKeith Packard2014-06-16
| | | | | | | Fix the API to match the switch to a menu, wrap in a menu bar to make it work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Move menu bars into the Mac OS X top barKeith Packard2014-06-16
| | | | | | | Setting these properties causes the top menu bar to get placed into the Mac OS X window system menu bar Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Use menus for frequency list and telemetry formatsKeith Packard2014-06-16
| | | | | | | This will let us move them into the Mac OS X menu bar, as well as making them look a bit nicer. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Remove some debugging printfsKeith Packard2014-06-14
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: AltosFlightStatsTable: another editable text field that shouldn't beKeith Packard2014-06-14
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Serialize access to async tile notify function in preloadKeith Packard2014-06-14
| | | | | | | This ensures that we see each tile getting downloaded and don't mis-count, which would result in wedging the process Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Make graph enable buttons be CheckBoxes instead of RadioButtonsKeith Packard2014-06-14
| | | | | | aj noticed. Signed-off-by: Keith Packard <keithp@keithp.com>
* alotsuilib: Remove old "mega" and "mini" file extensions from data chooserKeith Packard2014-06-14
| | | | | | We never shipped AltosUI which stored mega/mini files in different extensions Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Add AltosUIFlightTab classKeith Packard2014-06-14
| | | | | | This covers most of the common functions for all flight status display tabs. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Add more options to AltosUIIndicator to suit AltosUIKeith Packard2014-06-14
| | | | | | This makes AltosUIIndicator capable of displaying most stuff in AltosUI Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Make sure only one thread is closing serial deviceKeith Packard2014-06-14
| | | | | | Multiple closers can cause a crash by freeing the libaltos device twice Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: provide getName() for AltosInfoTableKeith Packard2014-06-14
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: In graph, show zero sats in view as 0 instead of MISSINGKeith Packard2014-06-14
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Require all flight display classes to provide a nameKeith Packard2014-06-14
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Allow TeleGPS preferences to have a custom title and labelKeith Packard2014-06-13
| | | | | | Don't just inherit the AltosUI ones Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Make map-cache per-window instead of globalKeith Packard2014-06-13
| | | | | | This consumes more memory, but avoids cache conflicts between windows Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Build some common classes for displaying values in flight windowKeith Packard2014-06-13
| | | | | | | | Right now, all of the flight displays have piles of custom code for displaying values. These new widgets should be able to replace most of that. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Reduce CPU time needed for flight displaysKeith Packard2014-06-12
| | | | | | | | | | Don't update displays which aren't shown; track hierarchy changes to trigger display from most recent state data. Don't update values which haven't changed; remember previous values and compare with new before updating widget contents. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Repaint map when starting line drawKeith Packard2014-06-11
| | | | | | | Starting line draw will remove any existing line, so repaint to get rid of it Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Handle font and units changes in maps and stats tableKeith Packard2014-06-11
| | | | | | Add AltosFontListener and AltosUnitsListener bits as needed Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Remove old widget-based map UIKeith Packard2014-06-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Rewrite map GUI bitsKeith Packard2014-06-11
| | | | | | Use a single large Canvas and draw images on top by hand. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Move AltosFlightStatsTable to altosuilibKeith Packard2014-06-10
| | | | | | So that TeleGPS can share it Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Skip voice announcements for invalid valuesKeith Packard2014-06-10
| | | | | | When height and speed values aren't available, don't say anything Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Split battery graph enable out from other adc enablesKeith Packard2014-06-10
| | | | | | | | This lets TeleGPS just show the battery voltage values without also adding enable lines for the other flight computer ADC values like ignitor voltages. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Fix crash when initializing site map cacheKeith Packard2014-06-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Add GPS altitude as a possible graph valueKeith Packard2014-06-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Show GPS instead of (missing) flight data for TeleGPS graphsKeith Packard2014-06-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Let the user hand-edit the preload map radiusKeith Packard2014-06-05
| | | | | | In case they want more than 5 Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add graph displayKeith Packard2014-05-29
| | | | | | Moved the altosui graph files to altosuilib and fixed things up. Signed-off-by: Keith Packard <keithp@keithp.com>
* java: Refactor AltosFlightDisplay units and font update handlingKeith Packard2014-05-29
| | | | | | | | | Make AltosFlightDisplay explicitly implement AltosFontListener and AltosUnitsListener interfaces to make everyone use the same API. Then, actually go implement units listeners so that changing units updates all of the active displays immediately Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add info tableKeith Packard2014-05-29
| | | | | | | Move a couple of files from altosui to altosuilib, hook up the info table after changing it to implement the AltosFlightDisplay interface Signed-off-by: Keith Packard <keithp@keithp.com>