summaryrefslogtreecommitdiff
path: root/altosui
Commit message (Collapse)AuthorAge
* altosui: telemini outline pdf changed nameKeith Packard2015-11-01
| | | | | | It's now telemini-outline.pdf, just like the other outline files. Signed-off-by: Keith Packard <keithp@keithp.com>
* 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>
* altosui: Correctly show/hide receiver battery valueKeith Packard2015-06-25
| | | | | | Override the hide() test function which has the listener_state Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Create grid-bag helper functions in AltosUIFrameKeith Packard2015-06-17
| | | | | | This eases the burden of creating suitable GridBagConstraints values Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Remove old map bitsKeith Packard2015-05-26
| | | | 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>
* altoslib: More frobbing with new map bitsKeith Packard2015-05-25
| | | | 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>
* altoslib: Expose locale and non-locale floating point parsing functionsKeith Packard2015-05-19
| | | | | | | | | UI bits use locale-specific floating point formats, so parsing those needs to use the locale. Network-based data, like .kml bits need to use non-locale-specific parsing code, so now we've got both APIs available, and each used as appropriate. Signed-off-by: Keith Packard <keithp@keithp.com>
* windows: Use new windows stub to launch applicationsKeith Packard2015-03-29
| | | | | | | This avoids needing to locate javaw on the system while also making the registry entries less fragile. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add map to MonitorIdle displayKeith Packard2015-03-10
| | | | | | | Nice to be able to verify that maps are working by using this mode, instead of needing to use flight monitoring. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Change from variable-units snuck into masterKeith Packard2015-03-02
| | | | | | show_units_name(double) only exists on the variable-units branch... Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Add config option for APRS formatKeith Packard2015-03-02
| | | | | | Allow configuration of APRS compressed/uncompressed Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Run all igniter status requests from non-GUI threadKeith Packard2015-02-14
| | | | | | | | | | Anything run from the UI thread blocks the UI entirely; the Fire Igniters startup code to collect the number of pyro channels when building the UI was doing that from the UI thread. Switch that around so that the UI doesn't get built until that reply comes back, allowing the user to see the 'connecting' dialog, and cancel it if required. 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>
* altoslib: Mark listener as 'not running' on EOF.Keith Packard2015-02-07
| | | | | | | | | | | | | | This adds a 'running' member to the AltosListenerState class, and when the replay reader reaches EOF, marks the listener as no longer running. AltosUI and TeleGPS now display 'done' in the 'Age' field when this occurs, to let the user know that the replay is over. Also make sure that the display timers are stopped when this happens, or when the window is closed. 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>
* Package TeleDongle-v3.0 firmware with TeleGPS and AltosUI appsKeith Packard2015-02-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak: Fix file association registry install on WindowsKeith Packard2015-02-06
| | | | | | | Need to invoke DisableX64FSRedirection before setting file association registry entries or Windows won't find our application. Signed-off-by: Keith Packard <keithp@keithp.com>
* windows: Look for current Java version in \SOFTWARE\Wow6432NodeKeith Packard2015-02-06
| | | | | | | I have no idea what this is, but I found the Java version down in there... Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove duplicate AltosUIPreferencesBackend.javaKeith Packard2014-11-16
| | | | | | There's a copy in altosuilib Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Pop up 'Connecting' dialog during Monitor IdleKeith Packard2014-10-30
| | | | | | | This was a bit harder than expected as I had to wire up a way to shut down the whole monitor idle window when you clicked on the cancel button. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Update 'Imperial Units' checkbox when units changeKeith Packard2014-10-04
| | | | | | | If you have two graphs running, make sure the imperial units checkboxes agree. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Check for map and stats table when changing units/fonts in graphKeith Packard2014-09-29
| | | | | | | AltosGraphUI wasn't making sure the map and stats tables were present before attempting to adjust font size and units. 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>
* altosui: Ignore built .desktop fileKeith Packard2014-09-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* .desktop: Use %F instead of %f in .desktop filesKeith Packard2014-09-09
| | | | | | | %F is a list of files, %f is a single file. All of our tools can handle lists of files, so make the .desktop file reflect that. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Include EasyMega firmware in fat releaseKeith Packard2014-09-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't mark altimeter dirty when opening pyro panelKeith Packard2014-09-03
| | | | | | Skip setting the UI dirty when filling in the pyro firing time value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix 'pad' screen for TeleGPSKeith Packard2014-09-01
| | | | | | Don't report pad position for TeleGPS Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Catch a couple null pointers in AltosConfigTDKeith Packard2014-09-01
| | | | | | | When messing with TD, I hit a couple of paths that could try to dereference null pointers. Check for those. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make Windows java test "smarter"Keith Packard2014-08-17
| | | | | | | Or at least have it try more options, and then finally ask the user before downloading and installing java Signed-off-by: Keith Packard <keithp@keithp.com>
* linux-fat: Fix up fat linux install icons, mime types and .desktop filesKeith Packard2014-07-15
| | | | | | | | | | | | use the standard xdg utilities to install mime type and .desktop files. The standard xdg icon installer doesn't handle svg icons, so we have to do those manually. With this patch, xfce, gnome3 and kde4 all place the applications in user-visible menus, display correct file icons and launch correct applications for our file types. 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>
* altoslib: Extend telemetry heights from 16 to 32 bitsKeith Packard2014-07-10
| | | | | | | Uses the GPS data and/or previous kalman data to compute the upper 16 bits of the truncated telemetry altitude value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix the 'Graph' button on the landed tabKeith Packard2014-07-10
| | | | | | It hasn't been getting enabled since the state tabs were rewritten. 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>
* 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>
* altosui: Don't show the tracker motion value when switching unitsKeith Packard2014-06-24
| | | | | | | | | The tracker value was left enabled when hidden; the logic for deciding whether to update it with new information used only the enabled state, not the visible state. Set both states when hiding it to keep things more consistent Signed-off-by: Keith Packard <keithp@keithp.com>
* Clean all .desktop files, ignore them tooKeith Packard2014-06-24
| | | | | | | | All .desktop files are built from .desktop.in files, so just remove all of them in make clean, and ignore all of them in .gitignore. This makes the rename less painful. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Expose configurable APRS SSIDKeith Packard2014-06-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add Ignitor tab to Monitor Idle modeKeith Packard2014-06-21
| | | | | | Oops; missed adding this when I included it in the Monitor Flight window. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Wrap radio frequency menu in JMenuBar when used in configKeith Packard2014-06-20
| | | | | | | | The device config dialogs place the radio frequency menu inside a dialog box; it needs to be inside a MenuBar to work properly, so create one to hold it. Signed-off-by: Keith Packard <keithp@keithp.com>
* Rename icon files to fit XDG specifications. Add file icons. Add mime typesKeith Packard2014-06-19
| | | | | | | | Our SVG icons now follow XDG standards by including a vendor prefix. The new file type icons include application-vnd.altusmetrum as a prefix so that they match the mime types declared. Signed-off-by: Keith Packard <keithp@keithp.com>
* linux: .desktop files must begin with organization nameKeith Packard2014-06-19
| | | | | | | The spec requires that .desktop files start with the organization name, so I've renamed all of them to altusmetrum-<application>.desktop Signed-off-by: Keith Packard <keithp@keithp.com>
* windows: Missed adding 'refresh-sh.nsh'Keith Packard2014-06-18
| | | | | | This script forces windows explorer to reload icons. Signed-off-by: Keith Packard <keithp@keithp.com>