From 2688ce22128783603a33e25be71ae312bed25d1d Mon Sep 17 00:00:00 2001
From: Viktor Szakats
Date: Thu, 24 Jan 2013 14:20:54 +0000
Subject: [PATCH] 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
---
harbour/.gitattributes | 1 -
harbour/ChangeLog.txt | 48 ++-
harbour/contrib/hbgd/tests/test_out.prg | 18 +-
.../contrib/hbhttpd/tests/tpl/app/account.tpl | 2 +-
.../contrib/hbhttpd/tests/tpl/app/cart.tpl | 3 +-
.../hbhttpd/tests/tpl/app/register.tpl | 2 +-
.../hbhttpd/tests/tpl/app/shopping.tpl | 3 +-
harbour/contrib/hbhttpd/widgets.prg | 2 +-
harbour/contrib/hbtip/thtml.prg | 2 +-
harbour/contrib/xhb/hjwindow.prg | 56 +--
harbour/contrib/xhb/hterrsys.prg | 68 ++--
harbour/contrib/xhb/htjlist.prg | 52 +--
harbour/contrib/xhb/htmlform.ch | 8 +-
harbour/contrib/xhb/htmutil.prg | 56 +--
harbour/contrib/xhb/tedit.prg | 46 +--
harbour/contrib/xhb/thtm.prg | 380 +++++++++---------
harbour/extras/guestbk/guestbk.htm | 7 +-
harbour/extras/guestbk/guestbk.ini | 8 +-
harbour/extras/guestbk/guestbk.prg | 3 +-
harbour/extras/hbdoc/genhtml.prg | 8 +-
harbour/extras/hbdoc/gentxt.prg | 8 +-
harbour/extras/hbdoc/genxml.prg | 10 +-
harbour/extras/httpsrv/home/postsample.html | 6 +-
harbour/extras/httpsrv/home/testajax.html | 2 +-
harbour/extras/httpsrv/home/testxmldb.html | 14 +-
harbour/extras/httpsrv/modules/cookie.prg | 6 +-
harbour/extras/httpsrv/modules/info.prg | 24 +-
harbour/extras/httpsrv/uhttpd.prg | 68 ++--
harbour/src/rtl/itemseri.c | 2 +-
harbour/src/rtl/memoedit.prg | 2 +-
harbour/tests/clasinh.prg | 4 +-
harbour/tests/classch.prg | 2 +-
harbour/tests/function.cfm | 50 ---
harbour/tests/inhprob.prg | 4 +-
harbour/utils/hbmk2/hbmk2.1 | 42 +-
harbour/utils/hbmk2/hbmk2.prg | 17 +-
harbour/website/faq/harbour.html | 183 +++++----
harbour/website/faq/harbour1.html | 49 ++-
harbour/website/faq/harbour10.html | 45 +--
harbour/website/faq/harbour11.html | 54 ++-
harbour/website/faq/harbour12.html | 53 ++-
harbour/website/faq/harbour13.html | 51 ++-
harbour/website/faq/harbour14.html | 57 ++-
harbour/website/faq/harbour15.html | 57 ++-
harbour/website/faq/harbour16.html | 49 ++-
harbour/website/faq/harbour17.html | 53 ++-
harbour/website/faq/harbour18.html | 51 ++-
harbour/website/faq/harbour19.html | 55 ++-
harbour/website/faq/harbour2.html | 45 +--
harbour/website/faq/harbour20.html | 67 ++-
harbour/website/faq/harbour21.html | 53 ++-
harbour/website/faq/harbour22.html | 77 ++--
harbour/website/faq/harbour23.html | 67 ++-
harbour/website/faq/harbour24.html | 55 ++-
harbour/website/faq/harbour25.html | 65 ++-
harbour/website/faq/harbour26.html | 45 +--
harbour/website/faq/harbour27.html | 49 ++-
harbour/website/faq/harbour28.html | 49 ++-
harbour/website/faq/harbour29.html | 65 ++-
harbour/website/faq/harbour3.html | 45 +--
harbour/website/faq/harbour30.html | 51 ++-
harbour/website/faq/harbour31.html | 49 ++-
harbour/website/faq/harbour32.html | 49 ++-
harbour/website/faq/harbour33.html | 49 ++-
harbour/website/faq/harbour34.html | 55 ++-
harbour/website/faq/harbour35.html | 53 ++-
harbour/website/faq/harbour36.html | 53 ++-
harbour/website/faq/harbour37.html | 53 ++-
harbour/website/faq/harbour38.html | 51 ++-
harbour/website/faq/harbour39.html | 59 ++-
harbour/website/faq/harbour4.html | 45 +--
harbour/website/faq/harbour40.html | 49 ++-
harbour/website/faq/harbour41.html | 47 ++-
harbour/website/faq/harbour42.html | 43 +-
harbour/website/faq/harbour43.html | 55 ++-
harbour/website/faq/harbour44.html | 55 ++-
harbour/website/faq/harbour45.html | 49 ++-
harbour/website/faq/harbour46.html | 51 ++-
harbour/website/faq/harbour47.html | 59 ++-
harbour/website/faq/harbour48.html | 65 ++-
harbour/website/faq/harbour49.html | 49 ++-
harbour/website/faq/harbour5.html | 45 +--
harbour/website/faq/harbour50.html | 49 ++-
harbour/website/faq/harbour51.html | 59 ++-
harbour/website/faq/harbour52.html | 57 ++-
harbour/website/faq/harbour53.html | 55 ++-
harbour/website/faq/harbour54.html | 47 ++-
harbour/website/faq/harbour55.html | 63 ++-
harbour/website/faq/harbour56.html | 67 ++-
harbour/website/faq/harbour57.html | 73 ++--
harbour/website/faq/harbour58.html | 53 ++-
harbour/website/faq/harbour59.html | 49 ++-
harbour/website/faq/harbour6.html | 67 ++-
harbour/website/faq/harbour60.html | 55 ++-
harbour/website/faq/harbour61.html | 47 ++-
harbour/website/faq/harbour62.html | 55 ++-
harbour/website/faq/harbour63.html | 135 +++----
harbour/website/faq/harbour7.html | 59 ++-
harbour/website/faq/harbour8.html | 51 ++-
harbour/website/faq/harbour9.html | 49 ++-
harbour/website/faq/harbour_toc.html | 195 +++++----
harbour/website/faq/index.html | 183 +++++----
.../website/samples/HowToBuildOnLinux.html | 2 +-
harbour/website/samples/function.cfm.html | 71 ----
harbour/website/third-party.html | 8 +-
105 files changed, 2512 insertions(+), 2644 deletions(-)
delete mode 100644 harbour/tests/function.cfm
delete mode 100644 harbour/website/samples/function.cfm.html
diff --git a/harbour/.gitattributes b/harbour/.gitattributes
index 475fc4ca92..3154505ab3 100644
--- a/harbour/.gitattributes
+++ b/harbour/.gitattributes
@@ -7,7 +7,6 @@
*.bas text
*.c text
*.cfg text
-*.cfm text
*.ch text
*.css text
*.def text
diff --git a/harbour/ChangeLog.txt b/harbour/ChangeLog.txt
index e454edacbc..334c5d5753 100644
--- a/harbour/ChangeLog.txt
+++ b/harbour/ChangeLog.txt
@@ -10,13 +10,54 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
+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
+
2013-01-23 17:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
* utils/hbmk2/*.po
+ added '-warn=yes' option in sync with warn= .hbc directive
* cleaned help for -cpp and -cpp= options
* '-inc' option moved to short help page and clarified a little
- - deprecated several hbmk2 options synonyms. After this
+ - deprecated several hbmk2 option synonyms. After this
update, hbmk2 will issue a warning with the recommended
replacement switch (and exact location where it has
found it), and these will ultimately disappear with
@@ -24,7 +65,7 @@
on how disrupting it is or how long the new release
will take):
-compiler= -> -comp=
- -platform -> -plat=
+ -platform= -> -plat=
-mwindows -> -gui
-mconsole -> -std
-nodebug -> -debug-
@@ -38,11 +79,14 @@
-nohbcppmm -> -hbcppmm-
-nostrip -> -strip-
-warn= (value omitted) -> -warn=yes
+ -warn= -> -warn=yes
-nowarn -> -warn-
-compr= (value omitted) -> -compr=yes
+ -compr= -> -compr=yes
-compr=def -> -compr=yes
-nocompr -> -compr-
-head= (value omitted) -> -head=full
+ -head= -> -head=full
-head -> -head=full
-head- -> -head=off
-nohead -> -head=off
diff --git a/harbour/contrib/hbgd/tests/test_out.prg b/harbour/contrib/hbgd/tests/test_out.prg
index 738fdca5bd..8f10a4476b 100644
--- a/harbour/contrib/hbgd/tests/test_out.prg
+++ b/harbour/contrib/hbgd/tests/test_out.prg
@@ -77,29 +77,29 @@ PROCEDURE Main( ... )
ELSEIF cPhoto != NIL
StartHTML()
#if 0
- OutHTML ValToPrg( hParams ) + " "
- OutHTML ValToPrg( cParams ) + " "
- OutHTML ValToPrg( cQuery ) + " "
- OutHTML " " + " "
+ OutHTML ValToPrg( hParams ) + " "
+ OutHTML ValToPrg( cParams ) + " "
+ OutHTML ValToPrg( cQuery ) + " "
+ OutHTML " " + " "
#endif
OutHTML ""
OutHTML ""
- OutHTML " " + " "
+ OutHTML " " + " "
OutHTML " "
OutHTML ""
OutHTML " " + " "
+ "'>" + " "
OutHTML " "
OutHTML ""
OutHTML cPhoto
OutHTML " "
OutHTML "
"
- OutHTML " "
+ OutHTML " "
#if 0
- OutHTML " " + " "
- OutHTML OS() + " "
+ OutHTML " " + " "
+ OutHTML OS() + " "
#endif
EndHTML()
ELSE
diff --git a/harbour/contrib/hbhttpd/tests/tpl/app/account.tpl b/harbour/contrib/hbhttpd/tests/tpl/app/account.tpl
index e49d6f603d..b2acb35473 100644
--- a/harbour/contrib/hbhttpd/tests/tpl/app/account.tpl
+++ b/harbour/contrib/hbhttpd/tests/tpl/app/account.tpl
@@ -1,7 +1,7 @@
{{extend _main}}
Shopping | Cart | Logout
-My account
+My account
{{if errtext}}{{= errtext}} {{endif}}
User name {{= user}}
diff --git a/harbour/contrib/hbhttpd/tests/tpl/app/cart.tpl b/harbour/contrib/hbhttpd/tests/tpl/app/cart.tpl
index 9515ff78e0..8a556ebbb8 100644
--- a/harbour/contrib/hbhttpd/tests/tpl/app/cart.tpl
+++ b/harbour/contrib/hbhttpd/tests/tpl/app/cart.tpl
@@ -1,8 +1,7 @@
{{extend _main}}
Shopping | My account | Logout
-Cart
+Cart
Your cart is worth: {{= cartsum}}
{{: browse}}
-
diff --git a/harbour/contrib/hbhttpd/tests/tpl/app/register.tpl b/harbour/contrib/hbhttpd/tests/tpl/app/register.tpl
index b5d0b4f10a..5c11910b99 100644
--- a/harbour/contrib/hbhttpd/tests/tpl/app/register.tpl
+++ b/harbour/contrib/hbhttpd/tests/tpl/app/register.tpl
@@ -1,7 +1,7 @@
{{extend _main}}
Login
-Create new account
+Create new account
{{if errtext}}{{= errtext}} {{endif}}
" + CRLF()
+ FWrite( nH, " " + cErrString + CRLF() )
MemoWrit( "Error.Log", HardCR( cErrString ) + CRLF() + ;
HardCR( MemoRead( "Error.Log" ) ) )
- FWrite( nH, "" + CRLF() + "" + CRLF() + "" + CRLF() )
+ FWrite( nH, "" + CRLF() + "" + CRLF() + "" + CRLF() )
HtmlJSCmd( nH, 'Alert("There was an error processing your request:\n' + ;
'Look at the bottom of this page for\n' + ;
'error description and parameters...");' )
- FWrite( nH, "" + CRLF() + "" + CRLF() )
+ FWrite( nH, "" + CRLF() + "" + CRLF() )
CLOSE ALL
@@ -223,7 +223,7 @@ STATIC FUNCTION ErrorMessage( e )
// add error description if available
IF HB_ISSTRING( e:description )
- cMessage += " " + e:description
+ cMessage += " " + e:description
ENDIF
// add either filename or operation
diff --git a/harbour/contrib/xhb/htjlist.prg b/harbour/contrib/xhb/htjlist.prg
index 4e64892a86..75cd086d89 100644
--- a/harbour/contrib/xhb/htjlist.prg
+++ b/harbour/contrib/xhb/htjlist.prg
@@ -116,13 +116,13 @@ METHOD New( name, lOpen, width, height, bgColor, ;
::nItems := 0
::aSCript := {}
- cStr := "" + CRLF() + "" + CRLF() + ;
- "" + CRLF() + ;
- '' + CRLF() + ;
+ cStr := "" + CRLF() + "" + CRLF() + ;
+ "" + CRLF() + ;
+ '' + CRLF() + ;
CRLF() + ;
- '' + CRLF() + ;
+ '' + CRLF() + ;
CRLF() + ;
- '" + CRLF()
- cStr += '" + CRLF()
- cStr += '" + CRLF()
+ cStr += '" + CRLF()
+ cStr += "" + CRLF()
AAdd( ::aScript, cStr )
cStr := ""
- cStr += "Collapsable Lists: Basic Example " + CRLF()
- cStr += "" + CRLF()
- cStr += '' + CRLF()
- cStr += '
' + CRLF()
+ cStr += "Collapsable Lists: Basic Example " + CRLF()
+ cStr += "" + CRLF()
+ cStr += '' + CRLF()
+ cStr += '
' + CRLF()
#if 0
- cStr += '
' + CRLF()
+ cStr += '
' + CRLF()
#endif
FOR i := 0 TO ::nItems
- cStr += '
' + CRLF()
+ cStr += '
' + CRLF()
NEXT
- cStr += "" + CRLF()
+ cStr += "" + CRLF()
AAdd( ::aScript, cStr )
diff --git a/harbour/contrib/xhb/htmlform.ch b/harbour/contrib/xhb/htmlform.ch
index 65b477ddfc..82fb40b677 100644
--- a/harbour/contrib/xhb/htmlform.ch
+++ b/harbour/contrib/xhb/htmlform.ch
@@ -221,12 +221,12 @@
#xcommand LINE BREAK ;
IN ;
=> ;
- :AddControl( " " + CRLF() )
+ :AddControl( " " + CRLF() )
#xcommand LINE IN ;
=> ;
- :AddControl( CRLF() + " " + CRLF() )
+ :AddControl( CRLF() + " " + CRLF() )
#xcommand SPACE IN ;
=> ;
@@ -243,10 +243,10 @@
#xcommand START GROUP IN => ;
- :AddControl( CRLF() + "" + + " " + CRLF() )
+ :AddControl( CRLF() + "" + + " " + CRLF() )
#xcommand END GROUP IN => ;
- :AddControl( CRLF() + " " + CRLF() )
+ :AddControl( CRLF() + " " + CRLF() )
#xtranslate __TYPE__ => "TEXT"
diff --git a/harbour/contrib/xhb/htmutil.prg b/harbour/contrib/xhb/htmutil.prg
index 396d496002..124fbd6aad 100644
--- a/harbour/contrib/xhb/htmutil.prg
+++ b/harbour/contrib/xhb/htmutil.prg
@@ -165,7 +165,7 @@ PROCEDURE HtmlBrowse( oHtm, cAction, lUseLinks )
oHtm:defineTable( 1, 1, 98 )
oHtm:newTableRow( "black" )
oHtm:newTableCell(,,, 3, "white" )
- oHtm:Write( htmlSpace( 5 ) + "Browsing Table: " + Alias() + " " )
+ oHtm:Write( htmlSpace( 5 ) + "Browsing Table: " + Alias() + " " )
oHtm:endTableCell()
oHtm:endTableRow( "black" )
oHtm:endTable()
@@ -238,7 +238,7 @@ PROCEDURE htmlBrowseSql( oHtm, cAction, lUseLinks, cTarget, oServer, oQuery )
oHtm:defineTable( 1, 1, 98 )
oHtm:newTableRow( "black" )
oHtm:newTableCell(,,, 3, "white" )
- oHtm:Write( htmlSpace( 5 ) + "Browsing Table: " + Alias() + " " )
+ oHtm:Write( htmlSpace( 5 ) + "Browsing Table: " + Alias() + " " )
oHtm:endTableCell()
oHtm:endTableRow( "black" )
oHtm:endTable()
@@ -342,17 +342,17 @@ CREATE CLASS JWindow
METHOD Write( c )
- METHOD lineBreak() INLINE ::QOut( " " )
+ METHOD lineBreak() INLINE ::QOut( " " )
- METHOD Paragraph() INLINE ::QOut( "
" )
+ METHOD Paragraph() INLINE ::QOut( "
" )
- METHOD Center( l ) INLINE ::QOut( iif( l, "", " " ) )
+ METHOD Center( l ) INLINE ::QOut( iif( l, "", " " ) )
- METHOD bold( l ) INLINE ::QOut( iif( l, "", " " ) )
+ METHOD bold( l ) INLINE ::QOut( iif( l, "", " " ) )
- METHOD Italic( l ) INLINE ::QOut( iif( l, "", " " ) )
+ METHOD Italic( l ) INLINE ::QOut( iif( l, "", " " ) )
- METHOD ULine( l ) INLINE ::QOut( iif( l, "", " " ) )
+ METHOD ULine( l ) INLINE ::QOut( iif( l, "", " " ) )
METHOD Put()
@@ -611,33 +611,33 @@ METHOD Begin() CLASS JWindow
LOCAL i
- FWrite( ::nH, "' )
+ '' )
NEXT
ENDIF
IF ::aServerSrc != NIL
FOR i := 1 TO Len( ::aServerSrc )
::QOut( ;
- '' )
+ '' )
NEXT
ENDIF
IF ::Style != NIL
- ::QOut( "" )
+ ::QOut( "" )
ENDIF
- ::QOut( "" + "" + "' )
IF ::bgColor != NIL
- ::QOut( '' )
+ ::QOut( '' )
ENDIF
IF ::fontColor != NIL
- ::QOut( '' )
+ ::QOut( '' )
ENDIF
IF ::bgImage != NIL
- ::QOut( '' )
+ ::QOut( '' )
ENDIF
FWrite( ::nH, "//-->" )
- FWrite( ::nH, "" + CRLF() )
+ FWrite( ::nH, "" + CRLF() )
RETURN Self
@@ -676,7 +676,7 @@ METHOD Begin() CLASS JWindow
METHOD End() CLASS JWindow
- HtmlJSCmd( ::nH, ::varName + ".document.write('')" + CRLF() )
+ HtmlJSCmd( ::nH, ::varName + ".document.write('')" + CRLF() )
RETURN Self
@@ -697,18 +697,18 @@ METHOD ImageURL( cImage, cUrl, nHeight, nBorder, ;
__defaultNIL( @cUrl, "" )
IF cName != NIL
- cStr += ' NAME= "' + cName + '"' + CRLF()
+ cStr += ' name= "' + cName + '"' + CRLF()
ENDIF
IF cAlt != NIL
- cStr += ' ALT= "' + cAlt + '"' + CRLF()
+ cStr += ' alt= "' + cAlt + '"' + CRLF()
ENDIF
IF nBorder != NIL
- cStr += " BORDER = " + hb_ntos( nBorder ) + CRLF()
+ cStr += " border= " + hb_ntos( nBorder ) + CRLF()
ENDIF
IF nHeight != NIL
- cStr += " HEIGHT = " + hb_ntos( nHeight ) + "% " + CRLF()
+ cStr += " height= " + hb_ntos( nHeight ) + "% " + CRLF()
ENDIF
IF cOnClick != NIL
@@ -722,11 +722,11 @@ METHOD ImageURL( cImage, cUrl, nHeight, nBorder, ;
ENDIF
IF cURL != NIL
- ::QOut( ' ' )
+ ::QOut( ' ' )
ELSE
- ::QOut( ' ' )
+ ::QOut( ' ' )
ENDIF
RETURN Self
diff --git a/harbour/contrib/xhb/tedit.prg b/harbour/contrib/xhb/tedit.prg
index 0f60a22bc5..b840d888cd 100644
--- a/harbour/contrib/xhb/tedit.prg
+++ b/harbour/contrib/xhb/tedit.prg
@@ -199,9 +199,9 @@ METHOD Put() CLASS THtmlControl
::form := HtmlFormName()
::oHtm := HtmlPageObject()
- ::cOutput += iif( ::lBreak, CRLF() + " ", CRLF() )
+ ::cOutput += iif( ::lBreak, CRLF() + " ", CRLF() )
IF ::lLabel
- ::cOutPut += CRLF() + "" + CRLF()
+ ::cOutPut += CRLF() + "" + CRLF()
ENDIF
IF ::Caption != NIL
@@ -209,9 +209,9 @@ METHOD Put() CLASS THtmlControl
ENDIF
IF ::Type == "SELECT"
- ::cOutPut += CRLF() + ' " + CRLF()
IF ::lLabel
- ::cOutPut += CRLF() + " " + CRLF()
+ ::cOutPut += CRLF() + " " + CRLF()
ENDIF
// FWrite( ::nH, ::cOutput )
@@ -348,7 +348,7 @@ METHOD Put() CLASS THtmlControl
IF ::Type == "SELECT"
FOR i := 1 TO Len( ::aOptions )
- cStr := "" + ::aOptions[ i, _OPTION_TEXT ] + " " + CRLF()
+ cStr += ">" + ::aOptions[ i, _OPTION_TEXT ] + "" + CRLF()
// FWrite( ::nH, cStr )
::oHtm:cStr += cStr
NEXT
-// FWrite( ::nH, "" )
- ::oHtm:cStr += ""
+// FWrite( ::nH, "" )
+ ::oHtm:cStr += ""
ENDIF
RETURN Self
@@ -554,7 +554,7 @@ METHOD Put( lPutControls ) CLASS THtmlForm
::cOutPut := CRLF() + CRLF() + CRLF() + "" + CRLF() + CRLF()
// FWrite( ::nH, ::cOutput )
::oHtm:cStr += ::cOutput
- ::cOutPut := '" + CRLF()
// FWrite( ::nH, ::cOutput )
::oHtm:cStr += ::cOutput
- ::cOutPut := '' + CRLF()
+ ::cOutPut := ' ' + CRLF()
IF ::Caption != NIL
- ::cOutPut := "' + CRLF()
+ ::cOutPut := '' + CRLF()
// FWrite( ::nH, ::cOutput )
::oHtm:cStr += ::cOutput
ENDIF
- ::cOutPut := "" + ::Caption + " " + CRLF()
+ ::cOutPut := "" + ::Caption + " " + CRLF()
// FWrite( ::nH, ::cOutput )
::oHtm:cStr += ::cOutput
- ::cOutPut := " "
+ ::cOutPut := ""
// FWrite( ::nH, ::cOutput )
::oHtm:cStr += ::cOutput
ENDIF
- ::cOutPut := '' + CRLF()
+ ::cOutPut := ' ' + CRLF()
// FWrite( ::nH, ::cOutput )
::oHtm:cStr += ::cOutput
- ::cOutPut := '' + CRLF()
+ ::cOutPut := '' + CRLF()
// FWrite( ::nH, ::cOutput )
::oHtm:cStr += ::cOutput
ENDIF
ENDIF
- ::cOutput += CRLF() + "" + CRLF()
IF ::Frame
- ::ohtm:cStr += " " + CRLF()
- ::ohtm:cStr += " " + CRLF()
- ::ohtm:cStr += "
" + CRLF()
+ ::ohtm:cStr += "" + CRLF()
+ ::ohtm:cStr += "" + CRLF()
+ ::ohtm:cStr += "" + CRLF()
ENDIF
::ohtm:cStr += CRLF() + CRLF() + "" + CRLF() + CRLF() + CRLF()
diff --git a/harbour/contrib/xhb/thtm.prg b/harbour/contrib/xhb/thtm.prg
index 9785d4fa3f..13228c0208 100644
--- a/harbour/contrib/xhb/thtm.prg
+++ b/harbour/contrib/xhb/thtm.prg
@@ -106,15 +106,15 @@ CREATE CLASS THtml
METHOD CGIClose()
- METHOD SetPageColor( cColor, lBody ) INLINE Default( lBody, .T. ), ::cStr += iif( lBody, '', ' BGCOLOR="' + cColor + '" ' )
+ METHOD SetPageColor( cColor, lBody ) INLINE Default( lBody, .T. ), ::cStr += iif( lBody, '', ' bgcolor="' + cColor + '" ' )
- METHOD SetTextColor( cColor, lBody ) INLINE Default( lBody, .T. ), ::cStr += iif( lBody, '', ' TEXT="' + cColor + '" ' )
+ METHOD SetTextColor( cColor, lBody ) INLINE Default( lBody, .T. ), ::cStr += iif( lBody, '', ' text="' + cColor + '" ' )
- METHOD SetBgImage( cImage, lBody ) INLINE Default( lBody, .T. ), ::cStr += iif( lBody, '', ' BACKGROUND="' + cImage + '" ' )
+ METHOD SetBgImage( cImage, lBody ) INLINE Default( lBody, .T. ), ::cStr += iif( lBody, '', ' background="' + cImage + '" ' )
METHOD Close()
- METHOD SetCenter( lOn ) INLINE ::cStr += iif( lOn, "", " " )
+ METHOD SetCenter( lOn ) INLINE ::cStr += iif( lOn, "", " " )
METHOD SetFont( cFont, lBold, lItalic, lULine, nSize, cColor, lSet )
@@ -128,14 +128,14 @@ CREATE CLASS THtml
METHOD QQOut( c ) INLINE Default( c, "" ), ::cStr += c
- METHOD QOut( c ) INLINE Default( c, "" ), ::cStr += CRLF() + c + ' ' + CRLF()
+ METHOD QOut( c ) INLINE Default( c, "" ), ::cStr += CRLF() + c + ' ' + CRLF()
METHOD Write( c ) INLINE Default( c, "" ), ::cStr += c
- METHOD WriteLN( c ) INLINE Default( c, "" ), ::cStr += CRLF() + c + ' ' + CRLF()
+ METHOD WriteLN( c ) INLINE Default( c, "" ), ::cStr += CRLF() + c + ' ' + CRLF()
METHOD SayColor( t, c ) INLINE Default( t, "" ), Default( c, "black" ), ;
- ::cStr += '' + t + ' '
+ ::cStr += '' + t + ' '
METHOD Space( n ) INLINE Default( n, 1 ), ::cStr += Replicate( " ", n )
@@ -143,25 +143,25 @@ CREATE CLASS THtml
cName, cAlt, cTarget, nWidth, lBreak, ID, MAP, ALING, HSPACE )
METHOD Text( cText, nCols, lWrap ) INLINE Default( lWrap, .T. ), Default( nCols, 80 ), ;
- ::cStr += "", ">" ) + CRLF() + cText + CRLF() + " " + CRLF()
+ ::cStr += "", ">" ) + CRLF() + cText + CRLF() + " " + CRLF()
METHOD MultiCol( txt, cols, gutter, width ) INLINE Default( txt, "" ), ;
Default( cols, 2 ), ;
Default( gutter, 5 ), ;
Default( width, 100 ), ;
- ::cStr += '', ;
+ ::cStr += '', ;
::cStr += txt, ;
- ::cStr += " "
+ ::cStr += " "
METHOD PutHeading( cText, nWeight, lCentered )
METHOD HLine( nSize, nWidth, lShade, cColor )
- METHOD PutParagraph() INLINE ::cStr += "
" + CRLF()
+ METHOD PutParagraph() INLINE ::cStr += "
" + CRLF()
METHOD Paragraph( lStart, cAlign, cStyle )
- METHOD PutBreak() INLINE ::cStr += " " + CRLF()
+ METHOD PutBreak() INLINE ::cStr += " " + CRLF()
METHOD Marquee( cText, cFont, cFntColor, nFntSize, cAlign, nWidth, nHeight, cbgColor, ;
cBehavior, cDirection, nScrollAmt, nScrollDelay, LOOP, ;
@@ -197,11 +197,11 @@ CREATE CLASS THtml
METHOD EndTable()
- METHOD NewList() INLINE ::cStr += "" + CRLF()
+ METHOD NewList() INLINE ::cStr += "" + CRLF()
- METHOD ListItem() INLINE ::cStr += " "
+ METHOD ListItem() INLINE ::cStr += " "
- METHOD EndList() INLINE ::cStr += " "
+ METHOD EndList() INLINE ::cStr += " "
METHOD NewForm( cMethod, cAction, cName )
@@ -213,11 +213,11 @@ CREATE CLASS THtml
METHOD FormSubmit( cText )
- METHOD FormQOut( c ) INLINE ::cStr += c + ' ' + CRLF()
+ METHOD FormQOut( c ) INLINE ::cStr += c + ' ' + CRLF()
METHOD FormQQOut( c ) INLINE ::cStr += c + CRLF()
- METHOD EndForm() INLINE ::cStr += CRLF() + "" + CRLF()
+ METHOD EndForm() INLINE ::cStr += CRLF() + "" + CRLF()
METHOD PushButton( cName, cCaption, cCgiApp, cOnClick, cOnFocus, cOnBlur, cOnMsOver, cOnMsOut, style, ID )
@@ -227,15 +227,15 @@ CREATE CLASS THtml
METHOD iFrame( name, src, border, marginwidth, marginheight, scrolling, align, WIDTH, HEIGHT )
- METHOD StartJava() INLINE ::cStr += '" + CRLF()
+ METHOD EndJava() INLINE ::cStr += " //-->" + CRLF() + "" + CRLF()
- METHOD serverCode( c ) INLINE ::cStr += "" + Space( 9 ) + c + CRLF() + " " + CRLF()
+ METHOD serverCode( c ) INLINE ::cStr += "" + Space( 9 ) + c + CRLF() + " " + CRLF()
METHOD FWrite( c ) INLINE FWrite( ::nH, c )
@@ -257,13 +257,13 @@ CREATE CLASS THtml
METHOD PutLinkName( cName )
- METHOD NewMap( cName ) INLINE ::cStr += ""
+ METHOD NewMap( cName ) INLINE ::cStr += ""
METHOD MapArea( Shape, Alt, Coord, Url ) INLINE ;
- ::cStr += " " + CRLF()
+ ::cStr += " " + CRLF()
- METHOD EndMap() INLINE ::cStr += " "
+ METHOD EndMap() INLINE ::cStr += " "
ENDCLASS
@@ -339,34 +339,36 @@ METHOD New( cTitle, cLinkTitle, cCharSet, aScriptSRC, ;
ENDIF
::cStr := ''
- ::cStr += '' + CRLF() + ;
- '' + CRLF() + ;
- ' ' + cTitle + ' ' + CRLF()
+ ::cStr += '' + CRLF() + ;
+ '' + CRLF() + ;
+ ' ' + cTitle + ' ' + CRLF()
IF cBaseURL != NIL
- ::cStr += " " + CRLF()
ENDIF
-/* TOFIX: Luiz please review it
- ::cStr += ' ' + CRLF() + ;
- ' ' + CRLF() )
-*/
+#if 0
+/* TOFIX: Luiz please review it */
+ ::cStr += ;
+ ' ' + CRLF() + ;
+ ' ' + CRLF() )
+#endif
IF cStyleScr != NIL
- ::cStr += ' " + CRLF()
+ ::cStr += ' " + CRLF()
ENDIF
IF nRefresh != NIL
- ::cStr += [ ]
+ ::cStr += [ ]
ENDIF
IF lnocache
- ::cStr += [ ]
+ ::cStr += [ ]
ENDIF
IF aJsCode != NIL
@@ -377,7 +379,7 @@ METHOD New( cTitle, cLinkTitle, cCharSet, aScriptSRC, ;
FOR i := 1 TO Len( aScriptSrc )
::cStr += ;
- '' + CRLF()
+ '' + CRLF()
NEXT
ENDIF
@@ -386,7 +388,7 @@ METHOD New( cTitle, cLinkTitle, cCharSet, aScriptSRC, ;
FOR i := 1 TO Len( aServerSrc )
::cStr += ;
- '' + CRLF()
+ '' + CRLF()
NEXT
ENDIF
@@ -395,7 +397,7 @@ METHOD New( cTitle, cLinkTitle, cCharSet, aScriptSRC, ;
IF aImages != NIL
::aImages := aImages
::cStr += ;
- '' + CRLF()
+ ::cStr += '' + CRLF()
ENDIF
IF cStyle != NIL
- ::cStr += "" + CRLF()
+ ::cStr += "" + CRLF()
ENDIF
::cStr += ;
- '' + CRLF() + ;
- '' + CRLF() + ;
+ ''
@@ -526,7 +528,7 @@ METHOD NewAlt( cType ) CLASS THtml
METHOD SetFont( cFont, lBold, lItalic, lULine, nSize, cColor, lSet ) CLASS THtml
- LOCAL cStr := CRLF() + ''
+ cStr += ' color= "' + cColor + '">'
IF lset
::fontColor := cColor
@@ -563,18 +565,18 @@ METHOD SetFont( cFont, lBold, lItalic, lULine, nSize, cColor, lSet ) CLASS THtml
ENDIF
IF lBold != NIL
- iif( lBold, cStr += '', cStr += ' ' )
+ iif( lBold, cStr += '', cStr += ' ' )
ENDIF
IF lItalic != NIL
- iif( lItalic, cStr += '', cStr += ' ' )
+ iif( lItalic, cStr += '', cStr += ' ' )
ENDIF
IF lULine != NIL
- iif( lULine, cStr += '', cStr += ' ' )
+ iif( lULine, cStr += '', cStr += ' ' )
ENDIF
- cStr += ' '
+ cStr += ''
::cStr += cStr + CRLF()
RETURN Self
@@ -589,7 +591,7 @@ METHOD SetFont( cFont, lBold, lItalic, lULine, nSize, cColor, lSet ) CLASS THtml
METHOD StartFont( cFont, lBold, lItalic, lULine, nSize, cColor, lSet, lPut ) CLASS THtml
- LOCAL cStr := "'
+ cStr += ' color= "' + cColor + '">'
IF lSet
::fontColor := cColor
@@ -633,15 +635,15 @@ METHOD StartFont( cFont, lBold, lItalic, lULine, nSize, cColor, lSet, lPut ) CLA
ENDIF
IF lBold != NIL
- iif( lBold, cStr += '', cStr += ' ' )
+ iif( lBold, cStr += '', cStr += ' ' )
ENDIF
IF lItalic != NIL
- iif( lItalic, cStr += '', cStr += ' ' )
+ iif( lItalic, cStr += '', cStr += ' ' )
ENDIF
IF lULine != NIL
- iif( lULine, cStr += '', cStr += ' ' )
+ iif( lULine, cStr += '', cStr += ' ' )
ENDIF
::cStr += cStr + CRLF()
@@ -658,7 +660,7 @@ METHOD StartFont( cFont, lBold, lItalic, lULine, nSize, cColor, lSet, lPut ) CLA
METHOD DefineFont( cFont, cType, nSize, cColor, lSet ) CLASS THtml
- LOCAL cStr := "'
+ cStr += ' color= "' + cColor + '">'
IF lset
::fontColor := cColor
@@ -739,7 +741,7 @@ METHOD Say( str, font, size, type, color, style ) CLASS THtml
__defaultNIL( @COLOR, ::FontColor )
IF FONT != NIL .OR. Size != NIL .OR. COLOR != NIL
- cOut := ''
@@ -753,29 +755,29 @@ METHOD Say( str, font, size, type, color, style ) CLASS THtml
IF "<" $ type
- IF "" $ type
+ IF "" $ type
lBold := .T.
- cOut += ""
+ cOut += ""
ENDIF
- IF "" $ type
+ IF "" $ type
lItalic := .T.
- cOut += ""
+ cOut += ""
ENDIF
- IF "" $ type
+ IF "" $ type
lULine := .T.
- cOut += ""
+ cOut += ""
ENDIF
- IF "" $ type
+ IF "" $ type
lEm := .T.
- cOut += ""
+ cOut += ""
ENDIF
- IF "" $ type
+ IF "" $ type
lStrong := .T.
- cOut += ""
+ cOut += ""
ENDIF
ENDIF
@@ -785,27 +787,27 @@ METHOD Say( str, font, size, type, color, style ) CLASS THtml
cOut += str
IF lBold
- cOut += " "
+ cOut += " "
ENDIF
IF lItalic
- cOut += ""
+ cOut += ""
ENDIF
IF lULine
- cOut += ""
+ cOut += ""
ENDIF
IF lStrong
- cOut += ""
+ cOut += ""
ENDIF
IF lEm
- cOut += ""
+ cOut += ""
ENDIF
IF FONT != NIL .OR. Size != NIL .OR. COLOR != NIL
- cOut += " "
+ cOut += " "
ENDIF
::cStr += cOut + CRLF()
@@ -822,21 +824,21 @@ METHOD Say( str, font, size, type, color, style ) CLASS THtml
METHOD Paragraph( lStart, cAlign, cStyle ) CLASS THtml
- LOCAL cStr := ""
ELSE
- cStr := "
"
+ cStr := "
"
ENDIF
cStr += CRLF()
@@ -859,11 +861,11 @@ METHOD HLine( nSize, nWidth, lShade, cColor ) CLASS THtml
IF lShade
::cStr += CRLF() + ;
- ' ' + ;
+ ' ' + ;
CRLF()
ELSE
::cStr += CRLF() + ;
- ' ' + ;
+ ' ' + ;
CRLF()
ENDIF
@@ -882,13 +884,13 @@ METHOD PutHeading( cText, nWeight, lCentered ) CLASS THtml
__defaultNIL( @lCentered, .F. )
IF lCentered
- ::cStr += ""
+ ::cStr += ""
ENDIF
- ::cStr += "" + cText + " " + CRLF()
+ ::cStr += "" + cText + " " + CRLF()
IF lCentered
- ::cStr += " "
+ ::cStr += " "
ENDIF
RETURN Self
@@ -909,7 +911,7 @@ METHOD PutTextUrl( cText, cUrl, cOnClick, cOnMsOver, cOnMsout, cTarget, font, cl
__defaultNIL( @lBreak, .F. )
::cStr += ;
- '" + CRLF()
+ cStr += "" + CRLF()
ENDIF
IF FONT != NIL .OR. clr != NIL .OR. size != NIL .OR. style != NIL
// cStr +=" Font" +valtype(font)+"color"+valtype(clr)+"size"+valtype(size)+"style"+valtype(style)
- cStr += " '
+ ' '
ENDIF
::cStr += ;
- ' ' + iif( lBreak, ' ' + CRLF(), CRLF() )
+ '' + iif( lBreak, ' ' + CRLF(), CRLF() )
RETURN Self
@@ -999,11 +1001,11 @@ METHOD PutImageUrl( cImage, nBorder, nHeight, cUrl, ;
__defaultNIL( @lbreak, .F. )
IF cName != NIL
- cStr += ' NAME= "' + cName + '"' + CRLF()
+ cStr += ' name= "' + cName + '"' + CRLF()
ENDIF
IF cAlt != NIL
- cStr += ' ALT= "' + cAlt + '"' + CRLF()
+ cStr += ' alt= "' + cAlt + '"' + CRLF()
ENDIF
IF nBorder != NIL
@@ -1035,7 +1037,7 @@ METHOD PutImageUrl( cImage, nBorder, nHeight, cUrl, ;
ENDIF
IF cTarget != NIL
- cStr += ' TARGET=' + cTarget + CRLF()
+ cStr += ' target=' + cTarget + CRLF()
ENDIF
IF Id != NIL
@@ -1051,8 +1053,8 @@ METHOD PutImageUrl( cImage, nBorder, nHeight, cUrl, ;
ENDIF
::cStr += ;
- ' ' + iif( lBreak, ' ' + CRLF(), "" )
+ ' ' + iif( lBreak, ' ' + CRLF(), "" )
RETURN Self
@@ -1063,11 +1065,11 @@ METHOD PutTextImageUrl( cImage, nBorder, nHeight, cUrl, ;
__defaultNIL( @lbreak, .F. )
IF cName != NIL
- cStr += ' NAME= "' + cName + '"'
+ cStr += ' name= "' + cName + '"'
ENDIF
IF cAlt != NIL
- cStr += ' ALT= "' + cAlt + '"'
+ cStr += ' alt= "' + cAlt + '"'
ENDIF
IF nBorder != NIL
@@ -1099,12 +1101,12 @@ METHOD PutTextImageUrl( cImage, nBorder, nHeight, cUrl, ;
ENDIF
IF cTarget != NIL
- cStr += ' TARGET=' + cTarget
+ cStr += ' target=' + cTarget
ENDIF
::cStr += ;
- '' + cText + ' ' + iif( lBreak, ' ' + CRLF(), "" )
+ '' + cText + ' ' + iif( lBreak, ' ' + CRLF(), "" )
RETURN Self
@@ -1124,11 +1126,11 @@ METHOD PutImage( cImage, nBorder, nHeight, ;
__defaultNIL( @lbreak, .F. )
IF cName != NIL
- cStr += ' NAME= "' + cName + '"'
+ cStr += ' name= "' + cName + '"'
ENDIF
IF cAlt != NIL
- cStr += ' ALT= "' + cAlt + '"'
+ cStr += ' alt= "' + cAlt + '"'
ENDIF
IF nBorder != NIL .AND. HB_ISNUMERIC( nBorder )
@@ -1166,7 +1168,7 @@ METHOD PutImage( cImage, nBorder, nHeight, ;
ENDIF
IF cTarget != NIL
- cStr += ' TARGET="' + cTarget + '"'
+ cStr += ' target="' + cTarget + '"'
ENDIF
IF Id != NIL
@@ -1182,8 +1184,8 @@ METHOD PutImage( cImage, nBorder, nHeight, ;
ENDIF
::cStr += ;
- ' ' + iif( lBreak, " " + CRLF(), "" )
+ ' ' + iif( lBreak, " " + CRLF(), "" )
RETURN Self
@@ -1243,7 +1245,7 @@ METHOD DefineTable( nCols, nBorder, nWidth, nHeight, ColorFore, ColorBG, ;
nCellPadding, nCellSpacing, cAling, lRules, ;
bgImage, cStyle, Id, NOF ) CLASS THtml
- LOCAL cStr := CRLF() + CRLF() + "" + CRLF()
@@ -1343,7 +1345,7 @@ METHOD DefineTable( nCols, nBorder, nWidth, nHeight, ColorFore, ColorBG, ;
METHOD TableHead( cHead, cColor, cAlign, ;
cFont, nSize, cFntColor, nHeight, cBgPic ) CLASS THtml
- LOCAL cStr := Space( 3 ) + "" + CRLF()
+ ::cStr += Space( 5 ) + "" + CRLF()
RETURN Self
@@ -1443,7 +1445,7 @@ METHOD NewTableCell( cAlign, cColor, ;
cBgPic, nWidth, lWrap, ;
nColspan, nRowspan, cValign, clrdrk, clrlt, cBdrClr, cClass, lNoFont ) CLASS THtml
- LOCAL cStr := Space( 10 ) + " "
IF ! lNoFont
- cStr += '"
+ cStr += ' face="' + cFont + '"' + ">"
ELSE
cStr += ">"
ENDIF
@@ -1587,18 +1589,18 @@ METHOD NewForm( cMethod, cAction, cName ) CLASS THtml
__defaultNIL( @cMethod, "POST" )
__defaultNIL( @cName, "newForm" )
- ::cStr += CRLF() + "
Pressing button you will redirect to /info page. Look at POST and REQUEST values.
- You will see a "word" variable name.
-
- Return to Main Page
+ You will see a "word" variable name.
+
+ Return to Main Page
diff --git a/harbour/extras/httpsrv/home/testajax.html b/harbour/extras/httpsrv/home/testajax.html
index fb2cfcd189..b0e1efee7b 100644
--- a/harbour/extras/httpsrv/home/testajax.html
+++ b/harbour/extras/httpsrv/home/testajax.html
@@ -53,4 +53,4 @@ This is a simple ajax test. Please type a string in input field and press GO but
Return to Main Page
-
\ No newline at end of file
+
diff --git a/harbour/extras/httpsrv/home/testxmldb.html b/harbour/extras/httpsrv/home/testxmldb.html
index f776f90cee..b3eb656913 100644
--- a/harbour/extras/httpsrv/home/testxmldb.html
+++ b/harbour/extras/httpsrv/home/testxmldb.html
@@ -74,14 +74,14 @@
- Simple XML servlet
-
- Tested with IE6+, Firefox 2+ and Opera 9+. Not working with Google Chrome, Safari.
- Please note that tableservletdb.prg simulates a slow reply of 0.5 seconds.
+ Simple XML servlet
+
+ Tested with IE6+, Firefox 2+ and Opera 9+. Not working with Google Chrome, Safari.
+ 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.
- Return to Main Page
-
- Select a Page
+ Return to Main Page
+
+ Select a Page
diff --git a/harbour/extras/httpsrv/modules/cookie.prg b/harbour/extras/httpsrv/modules/cookie.prg
index 4fdc87842e..844a9e775a 100644
--- a/harbour/extras/httpsrv/modules/cookie.prg
+++ b/harbour/extras/httpsrv/modules/cookie.prg
@@ -84,9 +84,9 @@ FUNCTION HRBMAIN()
Pressing button you will redirect to /info page. Look at COOKIE values.
- You will see a "mycookie" variable name.
-
- Return to Main Page
+ You will see a "mycookie" variable name.
+
+ Return to Main Page
diff --git a/harbour/extras/httpsrv/modules/info.prg b/harbour/extras/httpsrv/modules/info.prg
index 2d78905660..7a5b8764ca 100644
--- a/harbour/extras/httpsrv/modules/info.prg
+++ b/harbour/extras/httpsrv/modules/info.prg
@@ -66,28 +66,28 @@ STATIC FUNCTION ShowServerInfo()
// LOCAL oCookie
- cHtml += "Server Info "
-// cHtml += " If it is first time you see this page reload it to see cookies "
- cHtml += ' Return to Main Page '
+ cHtml += "Server Info "
+// cHtml += " If it is first time you see this page reload it to see cookies "
+ cHtml += ' Return to Main Page '
cHtml += DisplayVars( _Server , "SERVER Vars" )
- cHtml += " "
+ cHtml += " "
cHtml += DisplayVars( _HTTP_REQUEST , "HTTP Request Headers" )
- cHtml += " "
+ cHtml += " "
cHtml += DisplayVars( _HTTP_RESPONSE, "HTTP Response Headers" )
- cHtml += " "
+ cHtml += " "
cHtml += DisplayVars( _Get , "GET Vars" )
- cHtml += " "
+ cHtml += " "
cHtml += DisplayVars( _Post , "POST Vars" )
- cHtml += " "
+ cHtml += " "
cHtml += DisplayVars( _Cookie , "COOKIE Vars" )
- cHtml += " "
+ cHtml += " "
// cHtml += DisplayVars( _Files , "FILE Vars" )
-// cHtml += " "
+// cHtml += " "
cHtml += DisplayVars( _Request , "REQUEST Vars" )
- cHtml += " "
+ cHtml += " "
cHtml += DisplayVars( _Session , "SESSION Vars" )
- cHtml += " "
+ cHtml += " "
// Set a simple cookie
// oCookie := uhttpd_CookieNew( "localhost", "/", 1, 0 )
diff --git a/harbour/extras/httpsrv/uhttpd.prg b/harbour/extras/httpsrv/uhttpd.prg
index d04ae3e1fb..e0bd0498fb 100644
--- a/harbour/extras/httpsrv/uhttpd.prg
+++ b/harbour/extras/httpsrv/uhttpd.prg
@@ -2039,31 +2039,31 @@ STATIC PROCEDURE ShowServerStatus()
// uhttpd_Write( '')
uhttpd_Write( 'SERVER: ' + _SERVER[ "SERVER_SOFTWARE" ] + " Server at " + _SERVER[ "SERVER_NAME" ] + " Port " + _SERVER[ "SERVER_PORT" ] )
- uhttpd_Write( ' ' )
+ uhttpd_Write( ' ' )
IF hb_mutexLock( s_hmtxBusy )
- uhttpd_Write( ' Thread: ' + Str( s_nThreads ) )
- uhttpd_Write( ' Connections: ' + Str( s_nConnections ) )
- uhttpd_Write( ' Max Connections: ' + Str( s_nMaxConnections ) )
- uhttpd_Write( ' Total Connections: ' + Str( s_nTotConnections ) )
+ uhttpd_Write( ' Thread: ' + Str( s_nThreads ) )
+ uhttpd_Write( ' Connections: ' + Str( s_nConnections ) )
+ uhttpd_Write( ' Max Connections: ' + Str( s_nMaxConnections ) )
+ uhttpd_Write( ' 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 ), "" ) + " }"
- uhttpd_Write( ' Running Threads: ' + cThreads )
+ uhttpd_Write( ' Running Threads: ' + cThreads )
#ifndef FIXED_THREADS
- uhttpd_Write( ' Service Thread: ' + Str( s_nServiceThreads ) )
- uhttpd_Write( ' Service Connections: ' + Str( s_nServiceConnections ) )
- uhttpd_Write( ' Max Service Connections: ' + Str( s_nMaxServiceConnections ) )
- uhttpd_Write( ' Total Service Connections: ' + Str( s_nTotServiceConnections ) )
+ uhttpd_Write( ' Service Thread: ' + Str( s_nServiceThreads ) )
+ uhttpd_Write( ' Service Connections: ' + Str( s_nServiceConnections ) )
+ uhttpd_Write( ' Max Service Connections: ' + Str( s_nMaxServiceConnections ) )
+ uhttpd_Write( ' 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 ), "" ) + " }"
- uhttpd_Write( ' Service Threads: ' + cThreads )
+ uhttpd_Write( ' Service Threads: ' + cThreads )
#endif // FIXED_THREADS
hb_mutexUnlock( s_hmtxBusy )
ENDIF
- uhttpd_Write( ' Time: ' + Time() )
+ uhttpd_Write( ' Time: ' + Time() )
// uhttpd_Write( '
')
uhttpd_Write( " " )
@@ -2677,31 +2677,31 @@ STATIC FUNCTION Handler_ServerStatus()
// uhttpd_Write( '')
uhttpd_Write( 'SERVER: ' + _SERVER[ "SERVER_SOFTWARE" ] + " Server at " + _SERVER[ "SERVER_NAME" ] + " Port " + _SERVER[ "SERVER_PORT" ] )
- uhttpd_Write( ' ' )
+ uhttpd_Write( ' ' )
IF hb_mutexLock( s_hmtxBusy )
- uhttpd_Write( ' Thread: ' + Str( s_nThreads ) )
- uhttpd_Write( ' Connections: ' + Str( s_nConnections ) )
- uhttpd_Write( ' Max Connections: ' + Str( s_nMaxConnections ) )
- uhttpd_Write( ' Total Connections: ' + Str( s_nTotConnections ) )
+ uhttpd_Write( ' Thread: ' + Str( s_nThreads ) )
+ uhttpd_Write( ' Connections: ' + Str( s_nConnections ) )
+ uhttpd_Write( ' Max Connections: ' + Str( s_nMaxConnections ) )
+ uhttpd_Write( ' 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 ), "" ) + " }"
- uhttpd_Write( ' Running Threads: ' + cThreads )
+ uhttpd_Write( ' Running Threads: ' + cThreads )
#ifndef FIXED_THREADS
- uhttpd_Write( ' Service Thread: ' + Str( s_nServiceThreads ) )
- uhttpd_Write( ' Service Connections: ' + Str( s_nServiceConnections ) )
- uhttpd_Write( ' Max Service Connections: ' + Str( s_nMaxServiceConnections ) )
- uhttpd_Write( ' Total Service Connections: ' + Str( s_nTotServiceConnections ) )
+ uhttpd_Write( ' Service Thread: ' + Str( s_nServiceThreads ) )
+ uhttpd_Write( ' Service Connections: ' + Str( s_nServiceConnections ) )
+ uhttpd_Write( ' Max Service Connections: ' + Str( s_nMaxServiceConnections ) )
+ uhttpd_Write( ' 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 ), "" ) + " }"
- uhttpd_Write( ' Service Threads: ' + cThreads )
+ uhttpd_Write( ' Service Threads: ' + cThreads )
#endif // FIXED_THREADS
hb_mutexUnlock( s_hmtxBusy )
ENDIF
- uhttpd_Write( ' Time: ' + Time() )
+ uhttpd_Write( ' Time: ' + Time() )
// uhttpd_Write( '
')
uhttpd_Write( " " )
@@ -2770,16 +2770,16 @@ STATIC FUNCTION Handler_HrbScript( cFileName )
uhttpd_SetHeader( "Content-Type", "text/html" )
uhttpd_Write( "Error" )
- uhttpd_Write( " Description: " + hb_CStr( oError:Description ) )
- uhttpd_Write( " Filename: " + hb_CStr( oError:filename ) )
- uhttpd_Write( " Operation: " + hb_CStr( oError:operation ) )
- uhttpd_Write( " OsCode: " + hb_CStr( oError:osCode ) )
- uhttpd_Write( " GenCode: " + hb_CStr( oError:genCode ) )
- uhttpd_Write( " SubCode: " + hb_CStr( oError:subCode ) )
- uhttpd_Write( " SubSystem: " + hb_CStr( oError:subSystem ) )
- uhttpd_Write( " Args: " + hb_CStr( hb_ValToExp( oError:args ) ) )
- uhttpd_Write( " ProcName: " + hb_CStr( ProcName( 0 ) ) )
- uhttpd_Write( " ProcLine: " + hb_CStr( ProcLine( 0 ) ) )
+ uhttpd_Write( " Description: " + hb_CStr( oError:Description ) )
+ uhttpd_Write( " Filename: " + hb_CStr( oError:filename ) )
+ uhttpd_Write( " Operation: " + hb_CStr( oError:operation ) )
+ uhttpd_Write( " OsCode: " + hb_CStr( oError:osCode ) )
+ uhttpd_Write( " GenCode: " + hb_CStr( oError:genCode ) )
+ uhttpd_Write( " SubCode: " + hb_CStr( oError:subCode ) )
+ uhttpd_Write( " SubSystem: " + hb_CStr( oError:subSystem ) )
+ uhttpd_Write( " Args: " + hb_CStr( hb_ValToExp( oError:args ) ) )
+ uhttpd_Write( " ProcName: " + hb_CStr( ProcName( 0 ) ) )
+ uhttpd_Write( " ProcLine: " + hb_CStr( ProcLine( 0 ) ) )
END SEQUENCE
diff --git a/harbour/src/rtl/itemseri.c b/harbour/src/rtl/itemseri.c
index e42691e38c..4f8f1afcbc 100644
--- a/harbour/src/rtl/itemseri.c
+++ b/harbour/src/rtl/itemseri.c
@@ -1260,7 +1260,7 @@ static HB_SIZE hb_deserializeItem( PHB_ITEM pItem,
case HB_SERIAL_XHB_R:
/* nIndex = ( HB_SIZE ) HB_GET_BE_UINT64( &pBuffer[ nOffset ] ); */
/* TODO: add support for references */
- nOffset =+ 9;
+ nOffset += 9;
default:
hb_itemClear( pItem );
diff --git a/harbour/src/rtl/memoedit.prg b/harbour/src/rtl/memoedit.prg
index 85da5f1fa4..fe318121cd 100644
--- a/harbour/src/rtl/memoedit.prg
+++ b/harbour/src/rtl/memoedit.prg
@@ -65,7 +65,7 @@ CREATE CLASS HBMemoEditor INHERIT HBEditor
VAR xUserFunction // User Function called to change default MemoEdit() behaviour
METHOD MemoInit( xUserFunction ) // This method is called after ::New() returns to perform ME_INIT actions
- METHOD Edit() // Calls super:Edit( nKey ) but is needed to handle configurable keys
+ METHOD Edit() // Calls ::super:Edit( nKey ) but is needed to handle configurable keys
METHOD KeyboardHook( nKey ) // Gets called every time there is a key not handled directly by HBEditor
METHOD IdleHook() // Gets called every time there are no more keys to hanlde
diff --git a/harbour/tests/clasinh.prg b/harbour/tests/clasinh.prg
index ba30040663..e9ec27fe6d 100644
--- a/harbour/tests/clasinh.prg
+++ b/harbour/tests/clasinh.prg
@@ -35,7 +35,7 @@ ENDCLASS
METHOD New() CLASS TAnyClass
- super:New()
- super:Test()
+ ::super:New()
+ ::super:Test()
RETURN Self
diff --git a/harbour/tests/classch.prg b/harbour/tests/classch.prg
index c8fb4bd091..839e8495e9 100644
--- a/harbour/tests/classch.prg
+++ b/harbour/tests/classch.prg
@@ -36,7 +36,7 @@ ENDCLASS
METHOD New( One, Two ) CLASS TTest
- Super:New()
+ ::super:New()
::One := One
::Two := Two
diff --git a/harbour/tests/function.cfm b/harbour/tests/function.cfm
deleted file mode 100644
index 7a1a62cb5c..0000000000
--- a/harbour/tests/function.cfm
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-Harbour function task list
-
-
-
-
-
-
-
-
-
Function Task List
-In Portuguese
-
-Below is a list of all Harbour
-functions in the RTL and their current state. This list is
-updated as changes are made to the library. This list is based on
-Clipper 5.2. The legend is as follows:
-
-Ready
-No more work needed on this function.
-
-Started
-This function needs some work but will provide basic
-functionality and can be used for testing.
-
-Not Started
-This function has yet to be written.
-
-
-
- Function
- Status
-
-
- Ready
- Started
- Not Started
-
- <#Functions>
-
-
-
-
Last Update: April 28, 1999
-
-
-
diff --git a/harbour/tests/inhprob.prg b/harbour/tests/inhprob.prg
index cfd2f10676..c4cbabf54d 100644
--- a/harbour/tests/inhprob.prg
+++ b/harbour/tests/inhprob.prg
@@ -22,8 +22,8 @@ ENDCLASS
CREATE CLASS Two FROM One
- METHOD Test() INLINE Super:Test()
- METHOD CheckIt() INLINE Super:CheckIt()
+ METHOD Test() INLINE ::super:Test()
+ METHOD CheckIt() INLINE ::super:CheckIt()
ENDCLASS
diff --git a/harbour/utils/hbmk2/hbmk2.1 b/harbour/utils/hbmk2/hbmk2.1
index 2becf9e0af..454b50459e 100644
--- a/harbour/utils/hbmk2/hbmk2.1
+++ b/harbour/utils/hbmk2/hbmk2.1
@@ -52,27 +52,21 @@ inherit all/no (default) flags from Harbour build
.IP "\fB-bldf=[p][c][l]\fP" 10
inherit .prg/.c/linker flags (or none) from Harbour build
-.IP "\fB-[no]debug\fP" 10
+.IP "\fB-debug[-]\fP" 10
add/exclude debug info
-.IP "\fB-[no]map\fP" 10
+.IP "\fB-map[-]\fP" 10
create (or not) a map file
-.IP "\fB-[no]strip\fP" 10
+.IP "\fB-strip[-]\fP" 10
strip (no strip) binaries
-.IP "\fB-[no]fmstat\fP" 10
-enable/disable runtime memory statistics (gcc builds only)
-
-.IP "\fB-[no]trace\fP" 10
+.IP "\fB-trace[-]\fP" 10
show commands executed
-.IP "\fB-[no]run\fP" 10
+.IP "\fB-run[-]\fP" 10
run/don't run the created executable
-.IP "\fB-nohbc\fP" 10
-do not process .hbc files in current directory
-
.IP "\fB-hbcc, -hbcmp\fP" 10
stop after creating the object files
create link/copy hbmk2 to hbcc/hbcmp for the same effect
@@ -100,10 +94,9 @@ Regular Harbour compiler options are also accepted.
Multiple -l, -L and
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/harbour/website/third-party.html b/harbour/website/third-party.html
index b68432316c..477f5f279b 100644
--- a/harbour/website/third-party.html
+++ b/harbour/website/third-party.html
@@ -213,7 +213,7 @@ Harbour supports Vista Software's legendary, award-winning Apollo data engin
More info can be found here: http://www.fivetechsoft.com/english/fwh.html
-
+
@@ -278,8 +278,8 @@ Harbour supports Vista Software's legendary, award-winning Apollo data engin
And all these features are built over a unique interface, which is tremendously intuitive and permits the development of any project in record time.
More info can be found here:
-
- http://www.xailer.com/
+
+ http://www.xailer.com/
@@ -376,7 +376,7 @@ Harbour supports Vista Software's legendary, award-winning Apollo data engin
More info can be found here:
http://harbourminigui.googlepages.com/
-
+
http://sourceforge.net/projects/harbourminigui/