summaryrefslogtreecommitdiff
path: root/altosui/AltosUI.java
Commit message (Collapse)AuthorAge
* altoslib: Hide 'state' member and use accessor functionKeith Packard2015-10-13
| | | | | | | | Someone was smashing the state to 'landed' when no packets had been received for a while. Found that by making it impossible for anyone outside of AltosState to change the value. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump Java library versionsKeith Packard2015-07-15
| | | | | | Avoid problems if you have an old version of the library installed Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Use new map code for map preload UIKeith Packard2015-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Update library version to 7Keith Packard2015-05-25
| | | | | | So many ABI/API changes Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove un-implemented --fetchmaps argumentKeith Packard2015-05-19
| | | | | | This has been stubbed out for a while, so just remove it. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java library versionsKeith Packard2015-02-07
| | | | | | | Lots of minor API/ABI changes; make sure people can install both 1.5 and 1.6 at the same time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove the dregs of AltosDroid load-old-telem codeKeith Packard2015-02-07
| | | | | | | | | | | | AltosDroid used to scan the old .telem file to return to the previous flight state on restart. Now it just loads the old state object instead, a vast improvement in performance. To do that, there were some changes in the altoslib code required. This patch just removes those, fixing replay bugs in TeleGPS along the way. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Bring up main window when doing --replay or --graphKeith Packard2014-09-13
| | | | | | | | This shows the main window when replaying or graphing files so that you can interact with that, changing the global configuration or doing other stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix --replay to run in realtime after boostKeith Packard2014-09-13
| | | | | | | I added the ability to rapidly replay files for AltosDroid to recover from a crash, but didn't change AltosUI to use realtime mode again. Signed-off-by: Keith Packard <keithp@keithp.com>
* macosx: Respond to apple messages in all appsKeith Packard2014-06-18
| | | | | | | This connects the callbacks in AltosUIFrame to actually do something useful with them. 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>
* 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>
* telegps: Hook up data download dialogKeith Packard2014-05-28
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add scan UIKeith Packard2014-05-28
| | | | | | | Move scan UI bits into altosuilib, allow telegps to not show telemetry format options. 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: --fetchmaps gets same number of maps as GUIAnthony Towns2014-01-20
|
* altosui: Handle a missing libaltos when starting upKeith Packard2014-01-01
| | | | | | | Skip a null list of devices when figuring out what to open monitor windows for during startup. 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: 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>
* altoslib: More AltosState hackingKeith Packard2013-09-02
| | | | | | EasyMini graphs are looking good now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui: Further AltosState transition workKeith Packard2013-08-31
| | | | | | | Parses most eeprom and telem records now; altosui updated to show from AltosState info. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui: Fixes for state changesKeith Packard2013-08-31
| | | | | | | Format for gps alt (now double). Use new code for csv file loading. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui: Get legacy telem working with new AltosState structureKeith Packard2013-08-31
| | | | | | Make AltosTelemetry work without AltosRecord Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib, altosui: Restructured state management now does TM eeprom filesKeith Packard2013-08-29
| | | | | | | Removed uses of AltosRecord from AltosState, now just need to rewrite the other AltosState changing code to match Signed-off-by: Keith Packard <keithp@keithp.com>
* Add Mini logging format. Use in EasyMinilpcKeith Packard2013-05-19
| | | | | | | This is a 16-byte record that includes all of the sensor data in each sensor record, along with records for flight state changes. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Stick file basename in graph window titleKeith Packard2013-02-11
| | | | | | The title was empty before, this seems more useful than that. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Display callsign in connecting message windowKeith Packard2013-02-10
| | | | | | | | When waiting for the remote end to respond, display the callsign along with the frequency so that the user remembers that it's important to set that too. 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>
* Change AltosLib to altoslibKeith Packard2013-01-29
| | | | | | Follow Java conventions Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make initial AltOS window position configurableKeith Packard2013-01-20
| | | | | | Give the user a choice of nine locations on the screen Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/micropeak: Let native window system place windowsKeith Packard2013-01-20
| | | | | | | | Instead of forcing windows to our choice of positions, let the host window pick reasonable locations. This avoids having all of our windows appear on top of one another. 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: Parse .mega files from command lineKeith Packard2012-10-13
| | | | 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>
* 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: 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>
* 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: Move product definitions from AltosUI to AltosLibKeith Packard2012-06-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move telemetry reader &c to altoslibKeith Packard2012-06-02
| | | | | | Move all of the device and file reading code into altoslib 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: Quick hacks to download megametrum data and convert to CSVKeith Packard2012-06-01
| | | | | | | Very little useful data crunching is done, but at least we can save and convert files Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Disable launch controller buttonKeith Packard2012-03-28
| | | | | | The launch controller should just be a separate program. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add Configure Ground Station dialog (trac #29)Keith Packard2012-03-28
| | | | | | | | Allows the user to configure the teledongle frequency without opening up the flight monitor window, and also shows the teledongle fixed values like radio calibration, serial number and software version. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Find actual landing time when computing stats (trac #23)Keith Packard2012-03-27
| | | | | | | | Look for the last time the height went from >10m to <2m from the nominal landing altitude and use that as the landing time when computing things like main descent speed, time under main etc. 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>