2012-11-16 17:50 UTC+0100 Viktor Szakats (vszakats syenar.net)

* extras/hbvpdf/hbvpdf.hbx
    ! two more corrections

  * contrib/gtwvg/tests/_dyndlgs.prg
  * contrib/hbct/doc/en/finan.txt
  * contrib/hbct/readme.txt
  * contrib/hbct/tests/asciisum.prg
  * contrib/hbct/tests/trig.prg
  * contrib/hbfoxpro/dll.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/widgets.prg
  * contrib/hbmisc/fcomma.prg
  * contrib/hbmlzo/tests/test.prg
  * contrib/hbmxml/tests/custom.prg
  * contrib/hbmzip/readme.txt
  * contrib/hbnf/nwuid.prg
  * contrib/hbnf/vidcur.prg
  * contrib/hbtip/client.prg
  * contrib/hbwin/tests/olesrv1.prg
  * contrib/hbwin/tests/testprn.prg
  * contrib/xhb/cstruct.prg
  * contrib/xhb/hjwindow.prg
  * contrib/xhb/hterrsys.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/htmutil.prg
  * contrib/xhb/tests/decode.prg
  * contrib/xhb/xhberr.prg
  * doc/cmdline.txt
  * doc/en/objfunc.txt
  * doc/en/set.txt
  * doc/en/string.txt
  * doc/pragma.txt
  * extras/gfspell/spell.prg
  * extras/gtwvw/docs/gtwvw.txt
  * extras/gtwvw/tests/wvwtest9.prg
  * extras/hbvpdf/core.prg
  * extras/hbvpdf/fonts.prg
  * extras/hbvpdf/tests/pdf_demo.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/home/counter.html
  * extras/httpsrv/home/testxmldb.html
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
  * tests/base64.prg
  * tests/boxtest.prg
  * tests/db_brows.prg
  * tests/ddate.prg
  * tests/inherit.prg
  * tests/langmsg.prg
  * tests/mathtest.prg
  * tests/memtst.prg
  * tests/readhrb.prg
  * tests/switch.prg
  * tests/testsha2.prg
  * tests/testwarn.prg
  * tests/tstdbi.prg
  * tests/utf8at.prg
  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_class.prg
  * utils/hbtest/rt_date.prg
  * utils/hbtest/rt_hvma.prg
  * utils/hbtest/rt_math.prg
  * utils/hbtest/rt_misc.prg
  * utils/hbtest/rt_trans.prg
  * website/news.html
  * website/news1.html
  * website/samples.html
  * website/samples/arreval.html
  * website/samples/codebl.prg.html
  * website/samples/dates3.html
  * website/samples/switch.prg.html
  * website/samples/testcgi.prg.html
  * website/samples/tstmacro.prg.html
    * rerun case fixer script after applying
      some fixes, and this time it run fully
      automatically.
This commit is contained in:
Viktor Szakats
2012-11-16 16:53:48 +00:00
parent a7ef583443
commit e89c2b43ce
72 changed files with 689 additions and 611 deletions

View File

@@ -568,7 +568,7 @@ PROCEDURE uhttpd_Die( cError )
__OutDebug( "cError: ", cError )
IF ! oCGI:HeaderSent()
oCGI:WriteLN( CRLF2BR( cError ), CRLF2BR( CRLF() ) )
// oCGI:WriteLN( CRLF2BR( hb_dumpVar( TConfigure():hConfig ) ) )
// oCGI:WriteLN( CRLF2BR( hb_DumpVar( TConfigure():hConfig ) ) )
ENDIF
#endif
// Generate Error

View File

@@ -22,7 +22,7 @@
if ( force || qstr.length > 4 )
{
//qstr = 'w1=' + escape(qstr); // NOTE: no '?' before querystring
//xmlPost('/cgi-bin/showcounter.hrb', qstr + "&sid=" + Math.random(), tableResponseHandler);
//xmlPost('/cgi-bin/showcounter.hrb', qstr + "&sid=" + Math.Random(), tableResponseHandler);
divpart = 'result';
updatepage( escape( qstr ) );
}
@@ -33,7 +33,7 @@
{
var form = document.forms[ 'f1' ];
var word = form.word.value;
//alert( 'qstr: ' + qstr );
//Alert( 'qstr: ' + qstr );
return word;
}
@@ -68,7 +68,7 @@
else
{
EndProgress();
alert("There was a problem retrieving the XML data:\n" +
Alert("There was a problem retrieving the XML data:\n" +
req.statusText);
}
}

View File

@@ -18,14 +18,14 @@
function getTableData(pageNum)
{
xslGet( "/xsl/based.xsl" );
xmlGet( '/cgi-bin/tableservletdb.hrb?page=' + pageNum + "&sid=" + Math.random(), tableResponseHandler);
xmlGet( '/cgi-bin/tableservletdb.hrb?page=' + pageNum + "&sid=" + Math.Random(), tableResponseHandler);
divpart = 'tableSection';
}
function getTablePages()
{
xslGet( "/xsl/basep.xsl" );
xmlGet( '/cgi-bin/tableservletdb.hrb?count=true' + "&sid=" + Math.random(), tableResponseHandler);
xmlGet( '/cgi-bin/tableservletdb.hrb?count=true' + "&sid=" + Math.Random(), tableResponseHandler);
divpart = 'pageSection';
}
@@ -50,7 +50,7 @@
// Make sure the XSL document is loaded
if (!xsldocloaded)
{
alert('Unable to transform data. XSL is not yet loaded.');
Alert('Unable to transform data. XSL is not yet loaded.');
// break out of the function
return;
}
@@ -65,7 +65,7 @@
}
else
{
alert("There was a problem retrieving the XML data:\n" +
Alert("There was a problem retrieving the XML data:\n" +
req.statusText);
}
}

View File

@@ -247,7 +247,7 @@ METHOD Start( cSID ) CLASS uhttpd_Session
// // Check whether the current request was referred to by
// // an external site which invalidates the previously found ID
// $url = parse_url($GLOBALS['HTTP_REFERER']);
// IF !(trim($url['host']) == $GLOBALS['SERVER_NAME'])
// IF !(Trim($url['host']) == $GLOBALS['SERVER_NAME'])
// unset(session->id)
// send_cookie := .T.
// define_sid := .T.

View File

@@ -428,7 +428,7 @@ PROCEDURE Main( ... )
#endif
IF HB_ISSTRING( cDocumentRoot )
// cI := StrTran( SUBSTR( cDocumentRoot, 2 ), "\", "/" )
// cI := StrTran( SubStr( cDocumentRoot, 2 ), "\", "/" )
cI := cDocumentRoot
IF hb_DirExists( cI )
IF Right( cI, 1 ) == "/" .AND. Len( cI ) > 2 .AND. !( SubStr( cI, Len( cI ) - 2, 1 ) == ":" )
@@ -1439,7 +1439,7 @@ STATIC PROCEDURE WriteToLog( cRequest )
IF hb_mutexLock( s_hmtxLog )
// hb_ToOutDebug( "TIP_TimeStamp() = %s \n\r", tip_TimeStamp() )
// hb_ToOutDebug( "tip_TimeStamp() = %s \n\r", tip_TimeStamp() )
cTime := Time()
dDate := Date()