Skip to content
Permalink
Browse files

Merge pull request #151 from mbirth/364-send-to-gps-failed-fix

364 send to gps failed fix; fixes #364
  • Loading branch information...
bohrsty committed Nov 24, 2014
2 parents ed66741 + 93b4578 commit cfd22c14ce2919e330c27b6ea3582eaf7960aabb
Showing with 78,938 additions and 8,774 deletions.
  1. +2 −2 htdocs/resource2/ocstyle/js/GarminDisplay.js
  2. +45 −0 htdocs/resource2/ocstyle/js/communicator-api/README.txt
  3. +730 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/files.html
  4. BIN htdocs/resource2/ocstyle/js/communicator-api/documentation/images/garmin-white.gif
  5. +503 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/index.html
  6. +380 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Activity.html
  7. +415 −0 ...s/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.ActivityDirectory.Entry.html
  8. +393 −0 ...source2/ocstyle/js/communicator-api/documentation/symbols/Garmin.ActivityDirectory.FileEntry.html
  9. +387 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.ActivityDirectory.html
  10. +517 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.ActivityMatcher.html
  11. +409 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.AjaxActivityFilter.html
  12. +391 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.BasicActivityFilter.html
  13. +1,442 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Device.html
  14. +3,240 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DeviceControl.html
  15. +1,081 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DeviceDataType.html
  16. +2,467 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DeviceDisplay.html
  17. +9,311 −0 ...source2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DeviceDisplayDefaultOptions.html
  18. +3,860 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DevicePlugin.html
  19. +500 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DirectoryFactory.html
  20. +468 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DirectoryUtils.html
  21. +380 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.File.html
  22. +541 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Geocode.html
  23. +455 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.GpiUtil.html
  24. +879 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.GpsDataFactory.html
  25. +573 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.GpxActivityFactory.html
  26. +915 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.MapController.html
  27. +380 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.MapIcons.html
  28. +397 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Measurement.html
  29. +590 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.MessageBox.html
  30. +571 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.PluginUtils.html
  31. +550 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.RemoteTransfer.html
  32. +478 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Sample.html
  33. +472 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Series.html
  34. +454 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.TcxActivityFactory.html
  35. +946 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Track.html
  36. +707 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.TrackPoint.html
  37. +889 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.TrackSegment.html
  38. +540 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.TransferProgress.html
  39. +1,178 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.WayPoint.html
  40. +473 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.html
  41. +423 −0 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/_global_.html
  42. +197 −0 ...rce2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_activity_GarminActivity.js.html
  43. +184 −0 ...yle/js/communicator-api/documentation/symbols/src/garmin_activity_GarminActivityDirectory.js.html
  44. +273 −0 ...cstyle/js/communicator-api/documentation/symbols/src/garmin_activity_GarminActivityFilter.js.html
  45. +101 −0 ...style/js/communicator-api/documentation/symbols/src/garmin_activity_GarminActivityMatcher.js.html
  46. +70 −0 ...2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_activity_GarminMeasurement.js.html
  47. +181 −0 ...ource2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_activity_GarminSample.js.html
  48. +177 −0 ...ource2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_activity_GarminSeries.js.html
  49. +431 −0 .../ocstyle/js/communicator-api/documentation/symbols/src/garmin_activity_GpxActivityFactory.js.html
  50. +643 −0 .../ocstyle/js/communicator-api/documentation/symbols/src/garmin_activity_TcxActivityFactory.js.html
  51. +95 −0 ...ce2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_api_GarminRemoteTransfer.js.html
  52. +391 −0 ...esource2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminDevice.js.html
  53. +1,810 −0 ...2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminDeviceControl.js.html
  54. +4,824 −0 ...2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminDeviceDisplay.js.html
  55. +1,162 −0 ...e2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminDevicePlugin.js.html
  56. +86 −0 ...source2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminGeocode.js.html
  57. +914 −0 ...style/js/communicator-api/documentation/symbols/src/garmin_device_GarminGpsDataStructures.js.html
  58. +59 −0 ...ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminObjectGenerator.js.html
  59. +308 −0 ...ce2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminPluginUtils.js.html
  60. +225 −0 ...2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GoogleMapController.js.html
  61. +225 −0 ...yle/js/communicator-api/documentation/symbols/src/garmin_directory_GarminDirectoryFactory.js.html
  62. +149 −0 ...style/js/communicator-api/documentation/symbols/src/garmin_directory_GarminDirectoryUtils.js.html
  63. +149 −0 ...source2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_directory_GarminFile.js.html
  64. +807 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/GarminDeviceControlDemo.js
  65. +404 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/GarminDevicePluginDemo.js
  66. +150 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/data/1mileworkout.wkt
  67. BIN htdocs/resource2/ocstyle/js/communicator-api/examples/data/BerkeleyCafes.gpi
  68. +56 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/data/activity-goals-fr405.TCX
  69. +146 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/data/routes.gpx
  70. BIN htdocs/resource2/ocstyle/js/communicator-api/examples/data/skBlack.srf
  71. +467 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/data/user_profile.tcx
  72. +945 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/data/walk_courses.tcx
  73. +36 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/data/waypoints.gpx
  74. +37 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminBinaryWrite.html
  75. +985 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminCourseWriteButton.html
  76. +64 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceControlDemo.css
  77. +146 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceControlDemo.html
  78. +22 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceDisplayDefault.html
  79. +32 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceDisplayDemo.html
  80. +85 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceDisplayIi8n.html
  81. +60 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceDisplayUploadDemo.html
  82. +735 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDevicePluginDemo.html
  83. +207 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceTree.html
  84. +78 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminFileListing-FIT.html
  85. +81 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminFileListing.html
  86. +131 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminGeocodeDemo.html
  87. +34 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminHelloDevice.html
  88. +35 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminPOIWrite.html
  89. +303 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminSimpleFitnessRead.html
  90. +50 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminWaypointUploadButton.html
  91. +39 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminWaypointUploadLink.html
  92. +95 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/garminWaypointUploadMethodCall.html
  93. +77 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/geocache.html
  94. +32 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/testPlugin.html
  95. +762 −0 htdocs/resource2/ocstyle/js/communicator-api/examples/uploadDisplay.css
  96. +190 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminActivity.js
  97. +177 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminActivityDirectory.js
  98. +266 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminActivityFilter.js
  99. +94 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminActivityMatcher.js
  100. +62 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminMeasurement.js
  101. +174 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminSample.js
  102. +170 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminSeries.js
  103. +423 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GpxActivityFactory.js
  104. +636 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/TcxActivityFactory.js
  105. +87 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/api/GarminRemoteTransfer.js
  106. +383 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminDevice.js
  107. +1,802 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminDeviceControl.js
  108. +4,816 −4,547 htdocs/resource2/ocstyle/js/{ → communicator-api/garmin/device}/GarminDeviceDisplay.js
  109. +1,155 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminDevicePlugin.js
  110. +79 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminGeocode.js
  111. +906 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminGpsDataStructures.js
  112. +51 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminObjectGenerator.js
  113. +301 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminPluginUtils.js
  114. +218 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GoogleMapController.js
  115. BIN htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/ajax-loader.gif
  116. BIN htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/button_bg.jpg
  117. BIN htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/choose_bg.png
  118. +102 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/communicator.css
  119. +230 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/communicator2.css
  120. BIN htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/garmin-white.gif
  121. BIN htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/garmin.jpg
  122. +218 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/directory/GarminDirectoryFactory.js
  123. +142 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/directory/GarminDirectoryUtils.js
  124. +142 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/directory/GarminFile.js
  125. +85 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/util/Util-Broadcaster.js
  126. +120 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/util/Util-BrowserDetect.js
  127. +311 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/util/Util-DateTimeFormat.js
  128. +273 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/util/Util-Json2.js
  129. +67 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/util/Util-PluginDetect.js
  130. +62 −0 htdocs/resource2/ocstyle/js/communicator-api/garmin/util/Util-XmlConverter.js
  131. +655 −0 htdocs/resource2/ocstyle/js/communicator-api/jstests/GarminDevicePluginStub.js
  132. +44 −0 htdocs/resource2/ocstyle/js/communicator-api/jstests/Util-BroadcasterTest.html
  133. +123 −0 htdocs/resource2/ocstyle/js/communicator-api/jstests/Util-DateTimeFormatTest.html
  134. +34 −0 htdocs/resource2/ocstyle/js/communicator-api/jstests/UtilTestSuite.html
  135. +76 −0 htdocs/resource2/ocstyle/js/communicator-api/jstests/_testTemplate.html
  136. +232 −0 htdocs/resource2/ocstyle/js/communicator-api/jstests/controlTest.html
  137. +131 −0 htdocs/resource2/ocstyle/js/communicator-api/jstests/displayLogicTest.html
  138. +140 −0 htdocs/resource2/ocstyle/js/communicator-api/jstests/displayUIGenerationTest.html
  139. +40 −0 htdocs/resource2/ocstyle/js/communicator-api/jstests/garminTestSuite.html
  140. +153 −0 htdocs/resource2/ocstyle/js/communicator-api/jstests/gpsDataStructuresTest.html
  141. +98 −0 htdocs/resource2/ocstyle/js/communicator-api/jstests/gpxDataStructuresTest.html
  142. +61 −0 htdocs/resource2/ocstyle/js/communicator-api/jstests/pluginTest.html
  143. +99 −0 htdocs/resource2/ocstyle/js/communicator-api/jstests/pluginUtilsTest.html
  144. +4,220 −4,220 htdocs/resource2/ocstyle/js/{GarminPrototype.js → communicator-api/prototype/prototype.js}
  145. +1 −1 htdocs/templates2/ocstyle/garmin.tpl
  146. +2 −2 htdocs/templates2/ocstyle/sys_main.tpl
  147. +0 −2 htdocs/templates2/ocstyle/viewcache.tpl
@@ -1,4 +1,4 @@
function load(lat, lon, id, url, garminKey, language)
function load(lat, lon, id, url, garminKey, language)
{
var sSuccessMessage = "Geocache saved successfully";

@@ -62,7 +62,7 @@
pathKeyPairsArray: [url, garminKey],
showStatusElement: true, //basic feedback provided
unlockOnPageLoad: false, //delays unlocking to avoid authorization prompt until action
hideIfBrowserNotSupported: true,
hideIfBrowserNotSupported: false,
showStatusElement: true, //provide minimal feedback
autoFindDevices: true, //it will search for devices upon action
showCancelFindDevicesButton: true, //no need to cancel small data transfers
@@ -0,0 +1,45 @@
Garmin Communicator Plug-in JavaScript API
Version 1.10

==OVERVIEW==
The Garmin Communicator Plug-in API (GCP API) is a client-side JavaScript
framework that abstracts the Garmin Communicator browser plug-in's more complex
interface. With it you can communicate with Garmin devices using JavaScript.
The API consists of three layers, each more user-friendly than the one it
builds upon:

Garmin.DeviceDisplay - Customizable drop-in UI widget
Garmin.DeviceControl - Device communication
Garmin.DevicePlugin - Thin wrapper around plugin

==DOCS==
GCP API On the Web:
http://developer.garmin.com/web-device/garmin-communicator-plugin/

Full JSDoc code reference:
./documentation.index.html

==EXAMPLES==
Various examples to get more familiar with the different layers of the plugin:
./examples

==MISC==
The GCP API requires and includes the Prototype JavaScript Framework
http://prototypejs.org/

Unit tests are included in the ./jstests folder

==LICENSE==
Copyright 2007-2011 Garmin Ltd. or its subsidiaries.

Licensed under the Apache License, Version 2.0 (the 'License')
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an 'AS IS' BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Oops, something went wrong.

0 comments on commit cfd22c1

Please sign in to comment.
You can’t perform that action at this time.