Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
authorBdale Garbee <bdale@gag.com>
Mon, 8 Oct 2018 22:07:32 +0000 (16:07 -0600)
committerBdale Garbee <bdale@gag.com>
Mon, 8 Oct 2018 22:07:32 +0000 (16:07 -0600)
altosui/AltosUI.app/Contents/MacOS/JavaApplicationStub
configure.ac
doc/altusmetrum-docinfo.xml
doc/micropeak-docinfo.xml
doc/release-notes-1.8.7.inc
doc/telegps-docinfo.xml
map-server/altos-mapd/AltosMapd.java
map-server/altos-mapd/altos-mapd-default
map-server/altos-mapd/altos-mapd.service
micropeak/MicroPeak.app/Contents/MacOS/JavaApplicationStub
telegps/TeleGPS.app/Contents/MacOS/JavaApplicationStub

index c661d3e15cee1d93f2e7732df096700c8862fd41..16966918da4e3f715b18f4e71db0714ebb17f56e 100755 (executable)
Binary files a/altosui/AltosUI.app/Contents/MacOS/JavaApplicationStub and b/altosui/AltosUI.app/Contents/MacOS/JavaApplicationStub differ
index 6e02f968e320ccc40a32293f5df2b6636e7ffe11..7f7eec931dc36c684f99ab11abbe7757673c96cd 100644 (file)
@@ -18,13 +18,13 @@ dnl
 dnl Process this file with autoconf to create configure.
 
 AC_PREREQ(2.57)
-AC_INIT([altos], 1.8.6.1)
+AC_INIT([altos], 1.8.7)
 ANDROID_VERSION=17
 AC_CONFIG_SRCDIR([src/kernel/ao.h])
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE
 
-RELEASE_DATE=2018-06-17
+RELEASE_DATE=2018-10-08
 AC_SUBST(RELEASE_DATE)
 
 VERSION_DASH=`echo $VERSION | sed 's/\./-/g'`
index 2f8b69fb1d4394680e6da966b336780f520ad262..18bc644d24906c3d88d1afabd981e36199c5442c 100644 (file)
   <?dbhtml filename="altusmetrum-revhistory.html"?>
   <revision>
     <revnumber>1.8.7</revnumber>
-    <date>6 Oct  2018</date>
+    <date>8 Oct  2018</date>
     <revremark>
       Include TeleMega v3.0 firmware in release. Fix TeleBT v4.0 RF
-      calibration to factory value when reflashing.
+      calibration to factory value when reflashing. Fix map images.
+      Fix Mac OS X support.
     </revremark>
   </revision>
   <revision>
index f4d9eaff4c1b76b010c4187e84fa1f406af629bc..6fab12b8770e676838f862485fbc88a9a08328b8 100644 (file)
@@ -33,9 +33,9 @@
   <?dbhtml filename="micropeak-revhistory.html"?>
   <revision>
     <revnumber>1.8.7</revnumber>
-    <date>6 October 2018</date>
+    <date>8 October 2018</date>
     <revremark>
-      Poll for MicroPeak USB while the device dialog is open.
+      Poll for MicroPeak USB while the device dialog is open. Fix Mac OS X support.
     </revremark>
   </revision>
   <revision>
index e683723277b700df90839274a4cb4030d5b28fd9..f8b7b1032991677d38c5f268568ae6886d14897e 100644 (file)
@@ -8,7 +8,7 @@
 
        * Include TeleMega v3.0 firmware
        
-       == AltosUI, TeleGPS
+       == AltosUI, TeleGPS, MicroPeak
 
        * Poll for new devices while Device dialog is displayed
 
        * Add documentation about forcing TeleMini RF parameters to
           known values.
 
-       == MicroPeak
+       * Create a proxy server for Google Maps to re-enable map
+          images
 
-       * Poll for new devices while Device dialog is displayed
+       * Fix Java version info in all distributed jar files so that
+          applications will run with standard Mac OS X Java.
+
+       * Replace JavaApplicationStub for Mac OS X so that
+          applications will run with Oracle Java.
 
        
index 5e347cfdeedc6eeb3aef767bfef797050b73e097..4d3533de0b0d62867f957847e4e5c5f37736cda7 100644 (file)
@@ -10,7 +10,7 @@
   <email>keithp@keithp.com</email>
 </author>
 <copyright>
-  <year>2015</year>
+  <year>2018</year>
   <holder>Bdale Garbee and Keith Packard</holder>
 </copyright>
 <mediaobject>
 </legalnotice>
 <revhistory>
   <?dbhtml filename="telegps-revhistory.html"?>
+  <revision>
+    <revnumber>1.8.7</revnumber>
+    <date>08 Oct 2018</date>
+    <revremark>
+      Fix TeleBT v4.0 RF calibration to factory value when
+      reflashing. Fix map images. Fix Mac OS X support.
+    </revremark>
+  </revision>
   <revision>
     <revnumber>1.8.3</revnumber>
     <date>11 Dec 2017</date>
index 1be1655d5eddfd88c0c98cfb76907d4b0cb31989..29528541beaf08a3fcfe3bfc3eddeedaf5ee2e22 100644 (file)
@@ -32,6 +32,8 @@ public class AltosMapd implements AltosLaunchSiteListener {
 
        public final static int scale = 1;
 
+       public static int max_zoom = 17;
+
        public static double valid_radius = 17000;      /* 17km */
 
        public String map_dir = null;
@@ -40,7 +42,8 @@ public class AltosMapd implements AltosLaunchSiteListener {
 
        public void usage() {
                System.out.printf("usage: altos-mapd [--mapdir <map-directory] [--launch-sites <launch-sites-file>]\n" +
-                                 "                  [--radius <valid-radius-m> [--port <port>] [--key <key-file>]\n");
+                                 "                  [--radius <valid-radius-m> [--port <port>] [--key <key-file>]\n" +
+                                 "                  [--max-zoom <max-zoom-level>\n");
                System.exit(1);
        }
 
@@ -69,6 +72,10 @@ public class AltosMapd implements AltosLaunchSiteListener {
        }
 
        public static boolean check_lat_lon(double lat, double lon, int zoom) {
+
+               if (zoom > max_zoom)
+                       return false;
+
                AltosMapTransform       transform = new AltosMapTransform(px_size, px_size, zoom, new AltosLatLon(lat, lon));
 
                AltosLatLon             upper_left = transform.screen_lat_lon(new AltosPointInt(0, 0));
@@ -156,6 +163,13 @@ public class AltosMapd implements AltosLaunchSiteListener {
                        } else if (args[i].equals("--key") && i < args.length-1) {
                                key_file = args[i+1];
                                skip = 2;
+                       } else if (args[i].equals("--max-zoom") && i < args.length-1) {
+                               try {
+                                       max_zoom = AltosParse.parse_int(args[i+1]);
+                               } catch (ParseException pe) {
+                                       usage();
+                               }
+                               skip = 2;
                        } else {
                                usage();
                        }
index 40d283a20da501fbb0dfad26a9b42426c14f5f1d..1611f0b66de1a1469b807eabf5764f18dc3e6dad 100644 (file)
@@ -1,3 +1,4 @@
 MAPKEY=/home/altos-mapd/google-maps-api-key
 MAPDIR=/home/altos-mapd/maps
 LAUNCHSITES=/var/www/html/launch-sites.txt
+MAXZOOM=17
index d6f01da1e4de96da804ee1f952531e6eded8706d..ba263c2ac67a0c6b038df444360e75b55bb89b39 100644 (file)
@@ -8,7 +8,7 @@ Type=simple
 User=altos-mapd
 Restart=always
 EnvironmentFile=/etc/default/altos-mapd-default
-ExecStart=/usr/bin/altos-mapd --key $MAPKEY --mapdir $MAPDIR --launch-sites $LAUNCHSITES
+ExecStart=/usr/bin/altos-mapd --key $MAPKEY --mapdir $MAPDIR --launch-sites $LAUNCHSITES --max-zoom $MAXZOOM
 
 [Install]
 WantedBy=multi-user.target
index c661d3e15cee1d93f2e7732df096700c8862fd41..16966918da4e3f715b18f4e71db0714ebb17f56e 100755 (executable)
Binary files a/micropeak/MicroPeak.app/Contents/MacOS/JavaApplicationStub and b/micropeak/MicroPeak.app/Contents/MacOS/JavaApplicationStub differ
index c661d3e15cee1d93f2e7732df096700c8862fd41..16966918da4e3f715b18f4e71db0714ebb17f56e 100755 (executable)
Binary files a/telegps/TeleGPS.app/Contents/MacOS/JavaApplicationStub and b/telegps/TeleGPS.app/Contents/MacOS/JavaApplicationStub differ