summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* update changelog for Debian builddebian/1.6.4-1Bdale Garbee2016-06-17
|
* Merge branch 'branch-1.6' into debianBdale Garbee2016-06-17
|\
| * releasing 1.6.41.6.4Bdale Garbee2016-06-17
| |
| * Merge branch 'master' into branch-1.6Bdale Garbee2016-06-17
| |\
| | * Bump version to 1.6.4Keith Packard2016-06-17
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Stop reflective JSON class walk at Object instead of nullKeith Packard2016-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Android has classes above Object which are all tied together which cause the object walking to fail in pretty spectacular ways. As Object has no interesting fields, that serves as a fine barrier to the super class walk and works on both android and real java. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altosui: Print filename before attempting to parse in --summary modeKeith Packard2016-06-17
| | | | | | | | | | | | | | | | | | | | | Any problems handling the file are easier to debug if the filename is visible above the error message. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Add back some JSON exception debugging printfsKeith Packard2016-06-17
| | | | | | | | | | | | | | | | | | These make it possible to figure out where the JSON code went wrong. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Add construction for remaining primitive array types to JSONKeith Packard2016-06-17
| | | | | | | | | | | | | | | | | | | | | AltosCompanion has an array of ints, which was missed until I tried a telemetry file with companion data. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Add null constructor for AltosCompanionKeith Packard2016-06-17
| | | | | | | | | | | | | | | | | | This lets it be used by the JSON code. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Get rid of manual JSON encoding stuffKeith Packard2016-06-17
| | | | | | | | | | | | | | | | | | | | | Now that the reflective JSON stuff is working, we can delete all of the manual code. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Improve AltosState save/restore debuggingKeith Packard2016-06-17
| | | | | | | | | | | | | | | | | | | | | When save/restore generate different values, write out the two versions to one.json and two.json for easy comparison. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Use reflection JSON code for frequency preferencesKeith Packard2016-06-17
| | | | | | | | | | | | | | | | | | | | | This replaces the non-reflective JSON code with reflective code, which is much shorter. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Add JSON-based object saving/restoring codeKeith Packard2016-06-17
| | | | | | | | | | | | | | | | | | | | | This uses Java reflection to construct JSON strings for most Java objects. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Add null constructors to AltosQuaternion and AltosRotationKeith Packard2016-06-16
| | | | | | | | | | | | | | | | | | These will be used in the reflection-based JSON code Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Remove AltosHashSet codeKeith Packard2016-06-15
| | | | | | | | | | | | | | | | | | Everything has switched to JSON now. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Switch preserved state format to JSONKeith Packard2016-06-15
| | | | | | | | | | | | | | | | | | This is much easier to debug than the icky strings with backslashes everywhere. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * doc: Updates to 1.6.4 release notes.Keith Packard2016-06-15
| | | | | | | | | | | | | | | | | | Note USB fixes for host reboot and other changes. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altosui: Don't open command window when --graph is providedKeith Packard2016-06-15
| | | | | | | | | | | | | | | | | | | | | When the user explicitly asks to open a graph, don't bring up the command button window too. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altosuilib: Track open frames, exit when none remainKeith Packard2016-06-15
| | | | | | | | | | | | | | | | | | | | | This will let us not have the altosui window open by causing the application to shut down when the last frame closes. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altosui: Remove missing items from --summary outputKeith Packard2016-06-15
| | | | | | | | | | | | | | | | | | Check all values for MISSING before printing them. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altosdroid: Auto save freq changes on 'ok'Keith Packard2016-06-15
| | | | | | | | | | | | | | | | | | | | | Add any pending changes in the edit entries to the frequency set when the user selects 'ok'. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * extend "ok" temp range to 40C, since battery charger on bench can drive temp ↵Bdale Garbee2016-06-12
| | | | | | | | | | | | | | | | | | above 35C at times in Bdale and Robert's production testing
| | * altos/stmf0: Remove ao_usb_freeKeith Packard2016-06-11
| | | | | | | | | | | | | | | | | | This can't work without a lot more effort. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altos/stmf0: Rework the sram allocation to save a few text bytesKeith Packard2016-06-11
| | | | | | | | | | | | | | | | | | | | | Boot loaders were going over 4096 bytes of ROM. I suspect we'll need more serious work soon. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altos/cc1115l: Reduce trace buffer sizeKeith Packard2016-06-10
| | | | | | | | | | | | | | | | | | A 32-element trace buffer is all the larger we can fit in teledongle. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altos/stm: Handle USB reset in STM32L usb driverKeith Packard2016-06-10
| | | | | | | | | | | | | | | | | | | | | Just like lpc and stmf0, deal with the host resetting the bus while rebooting by restoring all usb-related data to the initial values. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altos/lpc: Handle USB reset by resetting internal stateKeith Packard2016-06-10
| | | | | | | | | | | | | | | | | | | | | Just like stmf0, this clears internal state at USB reset time so the driver can survive host OS reboots. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * stmf0: Do not send more data than requested for GET_DESCRIPTORKeith Packard2016-06-09
| | | | | | | | | | | | | | | | | | | | | | | | When Linux boots, it asks for only the first 8 bytes of the device descriptor; we must limit the amount of data sent back to that amount or USB will get wedged. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * stmf0: Clear all USB state when resetting chip. Wakeup all sleepersKeith Packard2016-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | When USB is reset, but the board is not power cycled, all of the internal USB state needs to be reset, and any tasks blocked on sending or receiving packets need to be awoken so they can go wait for USB to start running again. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * telegps-v1.0: Document how SN 1959 was fixedKeith Packard2016-06-09
| | | | | | | | | | | | | | | | | | | | | SN1959 was fixed by jumpering pin 8 to pin 10 so that the DONE_INT_PIN could be switched from PIO 2 to PIO 4 as pin 8 appeared to have failed. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altosuilib: Only display map debugging when serial_debug is enabledKeith Packard2016-06-05
| | | | | | | | | | | | | | | | | | This keeps the application quiet for most users. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altosuilib: Fill preload map on site or lat/lon changeKeith Packard2016-05-27
| | | | | | | | | | | | | | | | | | | | | | | | This loads the map view with the selected area when the site entry is changed or the user hits return in the lat/lon fields. This lets you see the target launch site without having to load the whole preload set. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * doc: pad/idle indicator table was bustedKeith Packard2016-05-26
| | | | | | | | | | | | | | | | | | | | | I stuck a pile of extra '|' characters in the table by mistake. Reported-by: Stan <stanleyosmith@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altosuilib: Rename AltosUIMap*New.java to AltosUIMap*.javaKeith Packard2016-05-24
| | | | | | | | | | | | | | | | | | This code isn't really new anymore... Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altosuilib: Have map preload respond to units and font size changesKeith Packard2016-05-24
| | | | | | | | | | | | | | | | | | | | | Just add suitable listeners so that the display updates when preferences change. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: use miles for distances > 1000ft.Keith Packard2016-05-24
| | | | | | | | | | | | | | | | | | | | | This makes both the map line and the other distance displays use miles for distances greater than 1000 feet. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * telegps: Add monitor idle modeKeith Packard2016-05-15
| | | | | | | | | | | | | | | | | | | | | This monitors directly connected devices. No support for doing monitor idle using packet mode, as TeleGPS doesn't support that. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * telegps: Use log_space when flight_log_max is missingKeith Packard2016-05-15
| | | | | | | | | | | | | | | | | | TeleGPS has this, but not flight_log_max Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Add AltosIdleReaderKeith Packard2016-05-15
| | | | | | | | | | | | | | | | | | | | | This provides an AltosFlightReader interface for monitor idle mode, making that easier to provide in TeleGPS Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Add log_space to AltosStateKeith Packard2016-05-15
| | | | | | | | | | | | | | | | | | | | | TeleGPS doesn't have flight_log_max value, but does have log_space which we can use for the same thing in monitor idle mode. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Set version and log space from AltosIdleFetchKeith Packard2016-05-15
| | | | | | | | | | | | | | | | | | Just more data for monitor idle mode Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Allow empty values in AltosHashSet representationKeith Packard2016-05-15
| | | | | | | | | | | | | | | | | | Check for value termination before appending the first character. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Store saved state in version-independent formatKeith Packard2016-05-12
| | | | | | | | | | | | | | | | | | | | | Use AltosHashSet for AltosState so that AltosDroid doesn't lose tracker information when the application is upgraded. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altoslib: Store common frequencies in library version-independent formKeith Packard2016-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Serializable Objects in java are very specific to the class being serialized. As we bump the name of the library on a regular basis to note API/ABI issues, this mean a saved a Serializable object in the preferences database will fail to load across library version upgrades. The saved tracker state and saved common frequencies were the only objects saved in this form; this patch adds infrastructure for writing objects in a version-independent form, and then adds support for saving frequencies in that form. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altosui/telegps/micropeak: Handle both MULTI_LIB and non-MULTI_LIB buildsKeith Packard2016-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On x86 systems with -m32 and -m64 compilers, both libaltos32.so and libaltos64.so are built. Otherwise, we should use libaltos.so altosui only dealt with libaltos32.so and libaltos64.so, so it only worked on MULTI_LIB systems. telegps and micropeak only used libaltos.so, so they wouldn't work correctly on multi-lib systems. Fix all of them to work either way. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * Automatically run 'git submodule update' if necessaryKeith Packard2016-05-12
| | | | | | | | | | | | | | | | | | | | | This makes sure pdclib exists by updating for the all and all-recursive targets Signed-off-by: Keith Packard <keithp@keithp.com>
| | * Bump java library versionsKeith Packard2016-05-12
| | | | | | | | | | | | | | | | | | Prepare for 1.6.4 release Signed-off-by: Keith Packard <keithp@keithp.com>
| | * Bump android app versionKeith Packard2016-05-12
| | | | | | | | | | | | | | | | | | Prepare for 1.6.4 release Signed-off-by: Keith Packard <keithp@keithp.com>
| | * telegps: Adapt to distance units switching changesKeith Packard2016-05-11
| | | | | | | | | | | | | | | | | | 'show_units' is no longer available; use 'parse_units' instead Signed-off-by: Keith Packard <keithp@keithp.com>