summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* update changelogs for Debian builddebian/0.7+94+g1ac3d7eBdale Garbee2010-09-09
|
* initial cut at an altosui man pageBdale Garbee2010-09-09
|
* update changelogs for Debian builddebian/0.7+92+g0ea7576Bdale Garbee2010-09-09
|
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2010-09-09
|\
| * altosui: Display error dialog when AltOS JNI library can't be loadedKeith Packard2010-09-09
| | | | | | | | | | | | | | Having an error dialog appear at application startup seems better than simply failing to present the device dialog later on. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Store libaltos.so in $(libdir)/altosKeith Packard2010-09-09
| | | | | | | | | | | | It's not a public library, so hide it away in a subdirectory. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Need to have JVM include path substituted into libaltos MakefileKeith Packard2010-09-09
| | | | | | | | | | | | | | The libaltos Makefile needs to find the relevant jni.h file, which is found in the JVM_INCLUDE path, all nicely located by the configure.ac script. Signed-off-by: Keith Packard <keithp@keithp.com>
* | handle versioning of ihx files (poorly) by just wildcarding the file name,Bdale Garbee2010-09-09
|/ | | | which assumes there's only one matching .. probably ok on Debian?
* update changelogs for Debian builddebian/0.7+86+g6c0ae7eBdale Garbee2010-09-09
|
* altosui: remove FATJAR from all-local to avoid building fat .jar fileKeith Packard2010-09-09
| | | | | | | | the fat .jar file is used in non-native builds to run from a directory containing all of the freetts jar files along with the altosui jar file. We don't want this on a real install where freetts is installed separately. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: hack to make JAVAROOT directory get created before javac runsKeith Packard2010-09-09
| | | | | | | This ensures that the JAVAROOT directory gets created by adding it to the variable used to set the CLASSPATH environment value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: fix telemetrum.inf FFFE:000A product names on AMD64 and ia64Keith Packard2010-09-09
| | | | | | This appears to matter to Vista. Dunno why. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add explicit requirement to create classes directoryKeith Packard2010-09-09
| | | | | | The implicit ordering doesn't appear reliable. Signed-off-by: Keith Packard <keithp@keithp.com>
* update changelogs for Debian builddebian/0.7+81+g012e717Bdale Garbee2010-09-09
|
* add libtool to build depsBdale Garbee2010-09-09
|
* update changelogs for Debian builddebian/0.7+79+g3d49d5fBdale Garbee2010-09-09
|
* altosui: ensure that 'altosui' script is installed. Pass arguments along.Keith Packard2010-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: eeprom files place 'boost' time in the flight number record.Keith Packard2010-09-05
| | | | | | | Instead of looking for the first state change record, use the Flight record to get the boost tick. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Record flight number when scanning file, not when runningKeith Packard2010-09-05
| | | | | | | | | The very first record in the eeprom is the flight number, but it is time-stamped with the 'boost' time, and so it gets sorted until much later, delaying the return of data until the rocket enters boost mode. This drops all of the nice pad GPS and state date on the floor. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use local .class files in the classpathKeith Packard2010-09-05
| | | | | This ensures that compiling only a few changed files will locate the old .class files instead of using a stale .jar file.
* altosui: Prevent voice altitude data from queueing upKeith Packard2010-09-05
| | | | | | | | | | | When flight status changes rapidly, the queue of voice data can get quite long. This change does two things -- first, it remembers when the altitude reporting happens due to flight events and delays the periodic reporting until a suitable time after that, second it ensures that the voice data has all been delivered before generating a new altitude report. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add AltosVoice.drain() to wait for queued speech to finishKeith Packard2010-09-05
| | | | | | | | drain() blocks until all pending phrases have been processed, allowing the UI code to avoid pending data that will end up stale by the time it is emitted. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Start idle thread after the rocket leaves the padKeith Packard2010-09-05
| | | | | | | | This makes the first altitude report time consistently 10 seconds after launch, instead of some random time depending on when the rocket launched relative to the time the device connection was made. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: When replay thread is interrupted, don't make final reportKeith Packard2010-09-05
| | | | | | | | Normally, the replay process makes one final report after the file has been parsed. However, if the reading process is interrupted to display something else, this report is just annoying, so don't make it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add elevation and range data to main displayKeith Packard2010-09-05
| | | | | | Reported by voice, it's useful to see these on the display as well. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Eeprom files contain only one date; save it.Keith Packard2010-09-05
| | | | | | | | While reading eeprom files, the GPS record is reconstructed each time the system sees the first GPS log item (the time field), but as the date isn't repeated, we need to copy it from the old GPS data record. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debugging printf from AltosEepromReaderKeith Packard2010-09-05
| | | | | | | | These were in place while validing the GPS data reconstruction code that handles eeprom files missing the first GPS date line due to the record overwriting bug in old firmware versions. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Return AO_LOG_INVALID instead of exception for eeprom filesKeith Packard2010-09-05
| | | | | | | | When an eeprom file contains an invalid line, just return AO_LOG_INVALID instead of throwing an exception. This allows us to replay and parse files with extraneous serial communication. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix linux fat distributionKeith Packard2010-09-04
| | | | | | | | Again, use 'cp -p' instead of 'cp -a' to get files into the archive instead of links. Also, make the shell script 'altosui' instead of 'altosui-fat'. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix up Mac OSX .zip fileKeith Packard2010-09-04
| | | | | | | | Must contain 'altosui.jar' instead of altosui-fat.jar. Also, was using 'cp -a' instead of 'cp -p' which made files represented by symlinks not end up in the archive. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix windows installer to ship correct filesKeith Packard2010-09-04
| | | | | | Was shipping altosui.jar instead of altosui-fat.jar Signed-off-by: Keith Packard <keithp@keithp.com>
* Add top-level 'fat' target to aid building distribution filesKeith Packard2010-09-04
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add version numbers to released files. Set version to 0.7.1Keith Packard2010-09-04
| | | | | | | | Instead of using git revision counts for version numbers, use explicit versions numbers configured in the configure.ac file. Expose published files with version numbers. Signed-off-by: Keith Packard <keithp@keithp.com>
* Ignore libtool files.Keith Packard2010-09-04
|
* altos: add some SDCDB config filesKeith Packard2010-09-04
|
* Use autotools for altosui and libaltosKeith Packard2010-09-04
| | | | | | | This switches from hand-written Makefiles to automake with libtool for these parts of the system. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add icons to application and Windows menus.Keith Packard2010-09-04
| | | | | | | Use the altus-metrum icon for an application icon and a windows start menu/desktop icon. Signed-off-by: Keith Packard <keithp@keithp.com>
* icon: add some icons for application programsKeith Packard2010-09-04
| | | | | | | altus-metrum.ico: Windows ICO file altus-metrum-16x16.jpg: 16x16 jpg image for java Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: oops. renamed the nsis file to altos-windows.nsiKeith Packard2010-09-04
| | | | | | And forgot to change the dependency in the Makefile Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: ignore built filesKeith Packard2010-09-04
|
* altosui: Add windows installer build using 'nsis'Keith Packard2010-09-04
| | | | | | | nsis happens to be packaged in debian, and it appears to build usable installers, which is all very cool. Signed-off-by: Keith Packard <keithp@keithp.com>
* update changelogs for Debian builddebian/0.7+53+g59798c6Bdale Garbee2010-09-04
|
* altosui: Catch I/O errors on telemetry device, report to userKeith Packard2010-09-03
| | | | | | | This catches the USB device being unplugged and makes sure the user sees an error dialog in this case. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Must flush serial line after configuring for telemetryKeith Packard2010-09-03
| | | | | | | Without flushing the configuration commands to the serial device, it never sees them as the telemetry input thread doesn't flush. Signed-off-by: Keith Packard <keithp@keithp.com>
* Revert "altosui: Deal with altos bug setting radio channel while monitoring"Keith Packard2010-09-03
| | | | | | This reverts commit ba65e4aeb952a1cf49a77f1e24e235508fcea71f. Testing the old code
* altosui: Allow 'connect to device' when already connectedKeith Packard2010-09-03
| | | | | | | | | | | | | Opening another serial device involves shutting down the display thread (to reset its state) and spawning another one. Shutting down the display thread normally closes the serial device as a part of the process, and if this isn't done before the new serial device is opened, then the new serial device ends up getting closed too. Interrupting the display thread and waiting for it to stop before opening the new serial device solves the problem. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Deal with altos bug setting radio channel while monitoringKeith Packard2010-09-03
| | | | | | | | | | If the monitoring thread is active, then setting the radio channel can sometimes cause the monitoring thread to get stuck. I'm not entirely sure why though. For now, work around the issue by making sure monitoring is off, and the monitoring thread has stopped, before changing the radio channel. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Report telemetry CRC errors in UIKeith Packard2010-09-03
| | | | | | | Telemetry CRC errors can signal problems with TeleMetrum or TeleDongle units, so report them in the UI. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: build Mac OS .zip file to include pathsKeith Packard2010-09-03
| | | | | | | Without the paths, the OS X zip file doesn't create a usable application structure. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Post error dialog on invalid ROM config values.Keith Packard2010-09-03
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>