2013-01-24 15:14 UTC+0100 Viktor Szakats (harbour syenar.net)

* utils/hbmk2/hbmk2.prg
    + links to markdown and markdown to man-page converter tool
    ! minor cleanup to prev

  * utils/hbmk2/hbmk2.1
    * some updates

  * ChangeLog.txt
    ! typos/updates in previous entry

  * extras/hbdoc/*.prg
  * src/rtl/memoedit.prg
  * tests/clasinh.prg
  * tests/classch.prg
  * tests/inhprob.prg
    ! updated for new ::super: syntax

  * src/rtl/itemseri.c
    ! fixed typo in latest modification:
      'warning: use of unary operator that may be intended as compound assignment (+=)'

  * contrib/hbgd/tests/test_out.prg
  * contrib/hbhttpd/*
  * contrib/hbtip/thtml.prg
  * contrib/xhb/*.prg
  * extras/httpsrv/*
  * extras/guestbk/*
  * website/faq/*.html
  * website/samples/HowToBuildOnLinux.html
  * website/third-party.html
    * some steps to modernize old HTML

  * extras/hbdoc/*.prg
    * do not use [] as string delimiter

  - tests/function.cfm
  - website/samples/function.cfm.html
  * .gitattributes
    - obsolete file deleted
This commit is contained in:
Viktor Szakats
2013-01-24 14:20:54 +00:00
parent 953737189d
commit 2688ce2212
105 changed files with 2512 additions and 2644 deletions

View File

@@ -15,9 +15,9 @@
<input type="submit">
</form>
Pressing button you will redirect to /info page. Look at POST and REQUEST values.
<br>You will see a "word" variable name.
<br>
<br>Return to <a href="/">Main Page</a>
<br />You will see a "word" variable name.
<br />
<br />Return to <a href="/">Main Page</a>
</body>
</html>

View File

@@ -53,4 +53,4 @@ This is a simple ajax test. Please type a string in input field and press GO but
</form>
Return to <a href="/">Main Page</a>
</body>
</html>
</html>

View File

@@ -74,14 +74,14 @@
</script>
</head>
<body onload="getTablePages()">
<BIG>Simple XML servlet</BIG>
<br>
<br>Tested with IE6+, Firefox 2+ and Opera 9+. Not working with Google Chrome, Safari.
<br>Please note that tableservletdb.prg simulates a slow reply of 0.5 seconds.
<big>Simple XML servlet</big>
<br />
<br />Tested with IE6+, Firefox 2+ and Opera 9+. Not working with Google Chrome, Safari.
<br />Please note that tableservletdb.prg simulates a slow reply of 0.5 seconds.
If you want to check real speed please comment #define SIMULATE_SLOW_REPLY in source.
<br>Return to <a href="/">Main Page</a>
<br>
<br>Select a Page&nbsp;
<br />Return to <a href="/">Main Page</a>
<br />
<br />Select a Page&nbsp;
<div style="border: 1px solid black; padding: 10px;" id="pageSection">&nbsp;</div>
<br />

View File

@@ -84,9 +84,9 @@ FUNCTION HRBMAIN()
<input type="hidden" name="action" value="gotoinfo">
</form>
Pressing button you will redirect to /info page. Look at COOKIE values.
<br>You will see a "mycookie" variable name.
<br>
<br>Return to <a href="/">Main Page</a>
<br />You will see a "mycookie" variable name.
<br />
<br />Return to <a href="/">Main Page</a>
</body>
</html>

View File

@@ -66,28 +66,28 @@ STATIC FUNCTION ShowServerInfo()
// LOCAL oCookie
cHtml += "<BIG>Server Info</BIG>"
// cHtml += "<br><br>If it is first time you see this page reload it to see cookies<br><br>"
cHtml += '<br><br>Return to <a href="/">Main Page</a><br><br>'
cHtml += "<big>Server Info</big>"
// cHtml += "<br /><br />If it is first time you see this page reload it to see cookies<br /><br />"
cHtml += '<br /><br />Return to <a href="/">Main Page</a><br /><br />'
cHtml += DisplayVars( _Server , "SERVER Vars" )
cHtml += "<br>"
cHtml += "<br />"
cHtml += DisplayVars( _HTTP_REQUEST , "HTTP Request Headers" )
cHtml += "<br>"
cHtml += "<br />"
cHtml += DisplayVars( _HTTP_RESPONSE, "HTTP Response Headers" )
cHtml += "<br>"
cHtml += "<br />"
cHtml += DisplayVars( _Get , "GET Vars" )
cHtml += "<br>"
cHtml += "<br />"
cHtml += DisplayVars( _Post , "POST Vars" )
cHtml += "<br>"
cHtml += "<br />"
cHtml += DisplayVars( _Cookie , "COOKIE Vars" )
cHtml += "<br>"
cHtml += "<br />"
// cHtml += DisplayVars( _Files , "FILE Vars" )
// cHtml += "<br>"
// cHtml += "<br />"
cHtml += DisplayVars( _Request , "REQUEST Vars" )
cHtml += "<br>"
cHtml += "<br />"
cHtml += DisplayVars( _Session , "SESSION Vars" )
cHtml += "<br>"
cHtml += "<br />"
// Set a simple cookie
// oCookie := uhttpd_CookieNew( "localhost", "/", 1, 0 )

View File

@@ -2039,31 +2039,31 @@ STATIC PROCEDURE ShowServerStatus()
// uhttpd_Write( '<table border="0">')
uhttpd_Write( 'SERVER: ' + _SERVER[ "SERVER_SOFTWARE" ] + " Server at " + _SERVER[ "SERVER_NAME" ] + " Port " + _SERVER[ "SERVER_PORT" ] )
uhttpd_Write( '<br>' )
uhttpd_Write( '<br />' )
IF hb_mutexLock( s_hmtxBusy )
uhttpd_Write( '<br>Thread: ' + Str( s_nThreads ) )
uhttpd_Write( '<br>Connections: ' + Str( s_nConnections ) )
uhttpd_Write( '<br>Max Connections: ' + Str( s_nMaxConnections ) )
uhttpd_Write( '<br>Total Connections: ' + Str( s_nTotConnections ) )
uhttpd_Write( '<br />Thread: ' + Str( s_nThreads ) )
uhttpd_Write( '<br />Connections: ' + Str( s_nConnections ) )
uhttpd_Write( '<br />Max Connections: ' + Str( s_nMaxConnections ) )
uhttpd_Write( '<br />Total Connections: ' + Str( s_nTotConnections ) )
cThreads := ""
AEval( s_aRunningThreads, {| e | cThreads += hb_ntos( hb_threadID( e ) ) + "," } )
cThreads := "{ " + iif( ! Empty( cThreads ), Left( cThreads, Len( cThreads ) - 1 ), "<empty>" ) + " }"
uhttpd_Write( '<br>Running Threads: ' + cThreads )
uhttpd_Write( '<br />Running Threads: ' + cThreads )
#ifndef FIXED_THREADS
uhttpd_Write( '<br>Service Thread: ' + Str( s_nServiceThreads ) )
uhttpd_Write( '<br>Service Connections: ' + Str( s_nServiceConnections ) )
uhttpd_Write( '<br>Max Service Connections: ' + Str( s_nMaxServiceConnections ) )
uhttpd_Write( '<br>Total Service Connections: ' + Str( s_nTotServiceConnections ) )
uhttpd_Write( '<br />Service Thread: ' + Str( s_nServiceThreads ) )
uhttpd_Write( '<br />Service Connections: ' + Str( s_nServiceConnections ) )
uhttpd_Write( '<br />Max Service Connections: ' + Str( s_nMaxServiceConnections ) )
uhttpd_Write( '<br />Total Service Connections: ' + Str( s_nTotServiceConnections ) )
cThreads := ""
AEval( s_aServiceThreads, {| e | cThreads += hb_ntos( hb_threadID( e ) ) + "," } )
cThreads := "{ " + iif( ! Empty( cThreads ), Left( cThreads, Len( cThreads ) - 1 ), "<empty>" ) + " }"
uhttpd_Write( '<br>Service Threads: ' + cThreads )
uhttpd_Write( '<br />Service Threads: ' + cThreads )
#endif // FIXED_THREADS
hb_mutexUnlock( s_hmtxBusy )
ENDIF
uhttpd_Write( '<br>Time: ' + Time() )
uhttpd_Write( '<br />Time: ' + Time() )
// uhttpd_Write( '</table>')
uhttpd_Write( "<hr></pre></body></html>" )
@@ -2677,31 +2677,31 @@ STATIC FUNCTION Handler_ServerStatus()
// uhttpd_Write( '<table border="0">')
uhttpd_Write( 'SERVER: ' + _SERVER[ "SERVER_SOFTWARE" ] + " Server at " + _SERVER[ "SERVER_NAME" ] + " Port " + _SERVER[ "SERVER_PORT" ] )
uhttpd_Write( '<br>' )
uhttpd_Write( '<br />' )
IF hb_mutexLock( s_hmtxBusy )
uhttpd_Write( '<br>Thread: ' + Str( s_nThreads ) )
uhttpd_Write( '<br>Connections: ' + Str( s_nConnections ) )
uhttpd_Write( '<br>Max Connections: ' + Str( s_nMaxConnections ) )
uhttpd_Write( '<br>Total Connections: ' + Str( s_nTotConnections ) )
uhttpd_Write( '<br />Thread: ' + Str( s_nThreads ) )
uhttpd_Write( '<br />Connections: ' + Str( s_nConnections ) )
uhttpd_Write( '<br />Max Connections: ' + Str( s_nMaxConnections ) )
uhttpd_Write( '<br />Total Connections: ' + Str( s_nTotConnections ) )
cThreads := ""
AEval( s_aRunningThreads, {| e | cThreads += hb_ntos( hb_threadID( e ) ) + "," } )
cThreads := "{ " + iif( ! Empty( cThreads ), Left( cThreads, Len( cThreads ) - 1 ), "<empty>" ) + " }"
uhttpd_Write( '<br>Running Threads: ' + cThreads )
uhttpd_Write( '<br />Running Threads: ' + cThreads )
#ifndef FIXED_THREADS
uhttpd_Write( '<br>Service Thread: ' + Str( s_nServiceThreads ) )
uhttpd_Write( '<br>Service Connections: ' + Str( s_nServiceConnections ) )
uhttpd_Write( '<br>Max Service Connections: ' + Str( s_nMaxServiceConnections ) )
uhttpd_Write( '<br>Total Service Connections: ' + Str( s_nTotServiceConnections ) )
uhttpd_Write( '<br />Service Thread: ' + Str( s_nServiceThreads ) )
uhttpd_Write( '<br />Service Connections: ' + Str( s_nServiceConnections ) )
uhttpd_Write( '<br />Max Service Connections: ' + Str( s_nMaxServiceConnections ) )
uhttpd_Write( '<br />Total Service Connections: ' + Str( s_nTotServiceConnections ) )
cThreads := ""
AEval( s_aServiceThreads, {| e | cThreads += hb_ntos( hb_threadID( e ) ) + "," } )
cThreads := "{ " + iif( ! Empty( cThreads ), Left( cThreads, Len( cThreads ) - 1 ), "<empty>" ) + " }"
uhttpd_Write( '<br>Service Threads: ' + cThreads )
uhttpd_Write( '<br />Service Threads: ' + cThreads )
#endif // FIXED_THREADS
hb_mutexUnlock( s_hmtxBusy )
ENDIF
uhttpd_Write( '<br>Time: ' + Time() )
uhttpd_Write( '<br />Time: ' + Time() )
// uhttpd_Write( '</table>')
uhttpd_Write( "<hr></pre></body></html>" )
@@ -2770,16 +2770,16 @@ STATIC FUNCTION Handler_HrbScript( cFileName )
uhttpd_SetHeader( "Content-Type", "text/html" )
uhttpd_Write( "Error" )
uhttpd_Write( "<br>Description: " + hb_CStr( oError:Description ) )
uhttpd_Write( "<br>Filename: " + hb_CStr( oError:filename ) )
uhttpd_Write( "<br>Operation: " + hb_CStr( oError:operation ) )
uhttpd_Write( "<br>OsCode: " + hb_CStr( oError:osCode ) )
uhttpd_Write( "<br>GenCode: " + hb_CStr( oError:genCode ) )
uhttpd_Write( "<br>SubCode: " + hb_CStr( oError:subCode ) )
uhttpd_Write( "<br>SubSystem: " + hb_CStr( oError:subSystem ) )
uhttpd_Write( "<br>Args: " + hb_CStr( hb_ValToExp( oError:args ) ) )
uhttpd_Write( "<br>ProcName: " + hb_CStr( ProcName( 0 ) ) )
uhttpd_Write( "<br>ProcLine: " + hb_CStr( ProcLine( 0 ) ) )
uhttpd_Write( "<br />Description: " + hb_CStr( oError:Description ) )
uhttpd_Write( "<br />Filename: " + hb_CStr( oError:filename ) )
uhttpd_Write( "<br />Operation: " + hb_CStr( oError:operation ) )
uhttpd_Write( "<br />OsCode: " + hb_CStr( oError:osCode ) )
uhttpd_Write( "<br />GenCode: " + hb_CStr( oError:genCode ) )
uhttpd_Write( "<br />SubCode: " + hb_CStr( oError:subCode ) )
uhttpd_Write( "<br />SubSystem: " + hb_CStr( oError:subSystem ) )
uhttpd_Write( "<br />Args: " + hb_CStr( hb_ValToExp( oError:args ) ) )
uhttpd_Write( "<br />ProcName: " + hb_CStr( ProcName( 0 ) ) )
uhttpd_Write( "<br />ProcLine: " + hb_CStr( ProcLine( 0 ) ) )
END SEQUENCE