[Xmblackberry-devel] XmBlackBerry/WebApps/golf/html golf, 1.17, 1.18
Status: Beta
Brought to you by:
rwscott
From: Rick S. <rw...@us...> - 2010-07-12 20:45:00
|
Update of /cvsroot/xmblackberry/XmBlackBerry/WebApps/golf/html In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv3235/html Modified Files: golf Log Message: Add an SSL_CLIENT_VERIFY check. This will allow serving up the data in a read-only fashion. To get the read only access append "?ro" onto the URL. This will use the script in /cgi-bin instead of cgi-sbin. Mostly trying to figure out why this gets slower and slower the more holes you play :( It's like it is leaking memory, or something like that .... Set the sensor option to true, since I'm now getting the map on the BB. Add a couple of options to control the map zooming. Get rid of the global "holes". It is now accessed from the courseList. Index: golf =================================================================== RCS file: /cvsroot/xmblackberry/XmBlackBerry/WebApps/golf/html/golf,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** golf 4 Jul 2010 19:39:02 -0000 1.17 --- golf 12 Jul 2010 20:44:51 -0000 1.18 *************** *** 4,7 **** --- 4,10 ---- <HEAD> <!-- + $Header$ + --> + <!-- golf, Copyright (C) 2006 Rick Scott <rw...@us...> *************** *** 19,39 **** [...2466 lines suppressed...] makeRequest("PlayerList"); ! if (window.blackberry) { + document.body.style.width = window.screen.availWidth + "px"; + document.body.style.height = window.screen.availHeight + "px"; window.blackberry.location.positions = new Array(); window.blackberry.location.disabled = false; *************** *** 2413,2417 **** window.blackberry.location.refreshLocation(); } ! catch(err) { document.getElementById('ToggleGPS').disabled = true; --- 2831,2835 ---- window.blackberry.location.refreshLocation(); } ! else { document.getElementById('ToggleGPS').disabled = true; |