summaryrefslogtreecommitdiff
path: root/ao-tools
Commit message (Collapse)AuthorAge
...
* 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 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>
* 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>
* 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>
* 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>
* altosui: Remove some debug printfs from AltosRomconfig classKeith Packard2010-09-03
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Hide internal rom config UI helper functionKeith Packard2010-09-03
| | | | | | | This was getting mis-used by the flash UI causing the rom dialog 'cancel' button to work just like 'ok'. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: allow flashing to be canceled from the rom config dialogKeith Packard2010-09-03
| | | | | | | Was using the rom config class wrong, causing cancel actions to work just like 'ok' actions. Oops. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Abort flashing if debug port isn't workingKeith Packard2010-09-03
| | | | | | | | | Check each command going over the debug port and make sure it works as expected. This commit adds checks for initializing the clock, selecting the desired program counter and running the flash program. Signed-off-by: Keith Packard <keithp@keithp.com>
* and a few more distclean fixesBdale Garbee2010-09-02
|
* more makefile distclean target workBdale Garbee2010-09-02
|
* add distclean targets to libaltos and altosui to all Debian package to buildBdale Garbee2010-09-02
|
* altosui: Remove Manifest.txt from git repo as it's built nowKeith Packard2010-09-01
| | | | | | This file is built with appropriate contents for each different .jar file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: missed AltosReader.class in the MakefileKeith Packard2010-08-30
| | | | | | This caused clean builds to fail to make this file Signed-off-by: Keith Packard <keithp@keithp.com>
* don't build all the "fat" jar deliverables by defaultBdale Garbee2010-08-30
|
* make invocation of 'install' pathless to work on more Unix variantsBdale Garbee2010-08-30
|
* continue even if rm's don't have anything to doBdale Garbee2010-08-30
|
* altosui: Devices with USB id 0x000a always get listedKeith Packard2010-08-30
| | | | | | | List 'unknown' AltusMetrum devices anytime the UI needs a device name. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: build debian-style altosui tooKeith Packard2010-08-30
| | | | | | This adds the dependencies to make sure altosui and altosui.jar get built. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Build linux, mac and windows archives on LinuxKeith Packard2010-08-30
| | | | | | This adds 'fat' archives for each target OS. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Use overlapped I/O on windowsKeith Packard2010-08-30
| | | | | | Otherwise, reads block writes and vice-versa. Crazy stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Add pre-built Windows .dllKeith Packard2010-08-30
| | | | | | This lets us create the windows distribution on Linux. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Add pre-built Mac OS X libaltos.dylibKeith Packard2010-08-30
| | | | | | This allows the mac bits to be built on Linux. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Improve MakefileKeith Packard2010-08-30
| | | | | | | | | Builds Windows .dll correctly now and sample app. Moves linux install target to end so it is not default Adds .NOTPARALLEL to disable parallel gnumake. Removes -g debugging flags to shrink file size. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Fix windows build.Keith Packard2010-08-30
| | | | | | | Need stdlib.h to get calloc/free defined, remove debug printfs, fix serial timeouts. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: cjnitest needs altos_flush nowKeith Packard2010-08-29
|
* libaltos: Missing OS_LDFLAGS on cjnitest buildKeith Packard2010-08-29
|
* libaltos: Mac OS X cannot use 'poll(2)' on serial lines.Keith Packard2010-08-29
| | | | | | | Who ships this stuff, anyway? Instead of blocking, we'll poll every 100ms now, otherwise, we won't be able to abort the read when the device is closed. Yay! Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: discard invalid lines while reading Eeprom flight dataKeith Packard2010-08-29
| | | | | | | This shouldn't happen, but it's easy enough to get back in sync by just skipping lines with weird contents. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: provide separate flush_input/flush_output for serial. deal with ↵Keith Packard2010-08-29
| | | | | | | | | | | | | | | | | monitor automatically (yes, this should be two patches, but the diffs in AltosSerial were merged together). First, this replaces the existing flush/flush_reply mess with two simple functions, one to flush output to the serial device, making sure that all data written will be seen while we wait for input. The other sucks any pending input off of the serial line and discards it. Second, AltosSerial now tracks whether the serial line is being used for telemetry monitoring. If so, it enables monitoring, otherwise it disables it. Eliminates a bunch of manual state tracking elsewhere. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: AltusMetrum devices use more than one USB ID.Keith Packard2010-08-29
| | | | | | List all usb devices, picking those with AltusMetrum IDs. Signed-off-by: Keith Packard <keithp@keithp.com>
* fix path to installed shared libraryBdale Garbee2010-08-27
|
* Merge branch 'bdale'Bdale Garbee2010-08-27
|\ | | | | | | | | Conflicts: debian/control