summaryrefslogtreecommitdiff
path: root/altoslib/AltosPreferences.java
Commit message (Collapse)AuthorAge
* altosdroid: Add imperial unit supportKeith Packard2014-09-06
| | | | | | | Provides a menu entry to switch units, changes all value displays to use the AltosLib units conversion code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: create logfiles preference object. check link in existing_dataKeith Packard2014-08-31
| | | | | | | | | The logfiles preference hash wasn't getting created, resulting in crashes. When there was no link, don't try to load existing data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: start restoring from log data on startupKeith Packard2014-08-29
| | | | | | Remember which flight was last being received and reload that file Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Support multiple telemetry ratesKeith Packard2014-07-05
| | | | | | | Altos now supports 2400 and 9600 baud in addition to the classic 38400 baud rate. Add support to altoslib for these as well 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>
* 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>
* 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: Add non-persistent 'last logdir' preferenceKeith Packard2013-05-09
| | | | | | | This is used to record the last directory for reading or writing log files so that the UI can pop back to the same place next time. 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>
* altoslib: Add units change notification listKeith Packard2012-12-31
| | | | | | | This allows the UI to automatically respond to changes in the preferred units. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos{lib,ui,droid}: move OS specific code out of altoslibMike Beattie2012-09-18
| | | | | | | | | This is to allow the usage of AltosLog on Android - no swing, so we need to push the "home directory" code used to pick a default telemetry logging path - using the PreferencesBackend interface for now. Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosui/altoslib: Add call to …Preferences.init() with backend object, ↵Mike Beattie2012-09-14
| | | | | | remove static init() Signed-off-by: Mike Beattie <mike@ethernal.org>
* altoslib/altosui: begin moving preferences "backend" into interfaceMike Beattie2012-09-14
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* 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>
* altoslib: Add imperial units conversion supportKeith Packard2012-09-10
| | | | | | "Redneck" mode support Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove un-needed importsMike Beattie2012-09-07
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* 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>
* Move altoslib sources to top dirKeith Packard2012-06-02
No sense having them live deep in the file system. Signed-off-by: Keith Packard <keithp@keithp.com>