summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* releasing 1.8.71.8.7Bdale Garbee2018-10-08
|
* Merge branch 'master' into branch-1.8Bdale Garbee2018-10-08
|\
| * altos/lpc: Make sure USB pull-up is held low at boot for 'a while'Keith Packard2018-10-08
| | | | | | | | | | | | | | Add a delay loop to make sure the host sees the pull-up low for long enough. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-bringup: Use new ao-cal-freq options when flashing teledongle v3.0Keith Packard2018-10-08
| | | | | | | | | | | | Use --nosave and --output to get the value needed to reflash the device. Signed-off-by: Keith Packard <keithp@keithp.com>
* | releasing 1.8.7Bdale Garbee2018-10-08
| |
* | Merge branch 'master' into branch-1.8Bdale Garbee2018-10-08
|\|
| * doc: correct specs for TeleMega v3.0, which still uses the MMA6555Bdale Garbee2018-10-08
| |
| * Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2018-10-08
| |\
| | * Set version to 1.8.7Keith Packard2018-10-07
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| | * doc: Note fixes for Mac OS XKeith Packard2018-10-07
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| | * Switch to universal JavaApplicationStub for Mac OS XKeith Packard2018-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The binary JavaApplicationStub only supports Mac JRE 6, even if you install a later JRE from Oracle it will still run our apps with the Mac version. This replacement JavaApplicationStub is a shell script which comes from here: https://github.com/tofi86/universalJavaApplicationStub I've tested it with Oracle JRE 10 installed and AltosUI came up fine, and has access to our devices and networking. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altos-mapd: Add --max-zoom to limit tile loading. Set default to 15.Keith Packard2018-10-07
| | | | | | | | | | | | | | | | | | | | | This ensures that we won't end up serving huge numbers of high resolution images. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * doc: Note that 1.8.7 fixes map imagesKeith Packard2018-10-07
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | add new script that uses openocd to reset an LPC targetBdale Garbee2018-10-08
| |/
| * altosuilib: Leave some map debug code around for the futureKeith Packard2018-10-07
| | | | | | | | | | | | Displays lat/lon on each map tile. Commented out for production use. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Be less chatty about map loadingKeith Packard2018-10-07
| | | | | | | | | | | | Only mention when a new tile is being fetched from the server. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: NumberFormat can't be shared between parsersKeith Packard2018-10-07
| | | | | | | | | | | | | | | | | | AltosJson uses NumberFormat to ensure locale-independent parsing of values. However, NumberFormat appears to have some internal state which means that each thread needs to have an independent NumberFormat object. Create one for each parser as needed. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui/altosdroid: Change message in forbidden map tilesKeith Packard2018-10-07
| | | | | | | | | | | | These are outside of *known* launch areas. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos-mapd: Check nearest portion of tile to launch siteKeith Packard2018-10-07
| | | | | | | | | | | | | | | | We limit tile queries to those within 17km of a known launch site. Change the check to look at the portion of the tile nearest each launch site, instead of only checking the center location of the tile. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos-map: Switch from json FD ops to json FILE opsKeith Packard2018-10-07
| | | | | | | | | | | | Older versions (in Debian stable) do not have the fd-based operations. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos-mapd: Handle clients failing to send valid JSONKeith Packard2018-10-07
| | | | | | | | | | | | Just bail if the data we receive doesn't generate a json value. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosuilib: InputEvent.getModifiers is deprecated, use getModifiersExKeith Packard2018-10-07
| | | | | | | | | | | | Some java change; seems like it's a no-op for us. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui/altosdroid: Disable offline map type selectionsKeith Packard2018-10-07
| | | | | | | | | | | | | | Our server only supports hybrid maps for now. If that changes, we can re-add this support easily enough. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosuilib: Remove GrabNDrag.javaKeith Packard2018-10-07
| | | | | | | | | | | | This isn't used anymore. Signed-off-by: Keith Packard <keithp@keithp.com>
| * map-server: Implement altos-map in CKeith Packard2018-10-07
| | | | | | | | | | | | | | This app is all about startup time, and java starts slowly. Re-implement in C to improve server performance. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Restore google maps key settingKeith Packard2018-10-06
| | | | | | | | | | | | Only for altosdroid, and use a key restricted to our app Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Set offline map scale to 1Keith Packard2018-10-06
| | | | | | | | | | | | Offline maps only supports scale 1 now. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos-mapd: Install systemd service file and defaults fileKeith Packard2018-10-06
| | | | | | | | | | | | This lets the map service 'just work' if enabled. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos-map: Support version query from applicationKeith Packard2018-10-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosuilib: Fix offline map messages to match new meaningsKeith Packard2018-10-06
| | | | | | | | | | | | forbidden means outside of launch area. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Retry map connections 10 times on network failureKeith Packard2018-10-06
| | | | | | | | | | | | This covers a host of problems between the application and google maps. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Fix offline map messages to match new meaningsKeith Packard2018-10-06
| | | | | | | | | | | | forbidden means outside of launch area. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Change map loading to lat=&lon= from center=Keith Packard2018-10-06
| | | | | | | | | | | | This is easier to parse. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Use https for launch-sites.txtKeith Packard2018-10-06
| | | | | | | | | | | | http causes a redirect, which Java doesn't handle Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos-mapd: Install altosmapd.jar fileKeith Packard2018-10-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos-mapd: Make cache service listen queue longerKeith Packard2018-10-06
| | | | | | | | | | | | Just in case the service gets busy, make the listen queue longer. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos-mapd: Clean up log messagesKeith Packard2018-10-06
| | | | | | | | | | | | | | Generate a single log message per request with remote address, parameters and result code. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos-mapd: remove debug printfKeith Packard2018-10-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos-map: Retry connection to cache serviceKeith Packard2018-10-06
| | | | | | | | | | | | | | Just in case the cache service gets busy, retry the connection instead of immediately failing. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos-mapd: Add geo-fencing for map requests. Add port and key argumentsKeith Packard2018-10-06
| | | | | | | | | | | | | | | | | | | | | | | | Map requests are now limited to a region within 17km of any registered launch site. The --port argument allows the listen port to be changed. The --key argument provides the name of a file containing the Google maps API key. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Switch to maps.altusmetrum.org when no google map key is availableKeith Packard2018-10-06
| | | | | | | | | | | | | | The map key is only usable from maps.altusmetrum.org at this point, and that service will be proxying for everyone in the near future. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Allow launch site URL to be overridden at runtimeKeith Packard2018-10-06
| | | | | | | | | | | | | | Expose a public variable, AltosLaunchSites.launch_sites_url, that will be used in place of the environment variable or pre-defined value. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2018-10-06
| |\
| | * doc: Make use of 'faketime' configurable with configure.ac. Default to 'no'Keith Packard2018-10-06
| | | | | | | | | | | | | | | | | | | | | This ensures that older a2x versions don't simply wedge while building the docs. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altos-mapd: Use command line to pass map directory inKeith Packard2018-10-06
| | | | | | | | | | | | | | | | | | Don't bother with a default value, just require a command line param. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altos-map: Install .jar file for altos-mapKeith Packard2018-10-06
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altos-map: Fix altos-map HTTP syntaxKeith Packard2018-10-06
| | | | | | | | | | | | | | | | | | | | | Add blank line between header and content. Make error pages have actual HTML content. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * map-server: Add maps proxy serverKeith Packard2018-10-06
| | | | | | | | | | | | | | | | | | This creates a map proxy server to handle the new Google Maps API requirements Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altoslib: update launch-sites.txt location to new home at maps.altusmetrum.orgBdale Garbee2018-10-06
| |/
| * Add map-loading documentationKeith Packard2018-10-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>