2012-11-08 16:02 UTC+0100 Viktor Szakats (harbour syenar.net)

* contrib/hbmysql/tmysql.prg
  * contrib/hbnf/tests/test.prg
  * contrib/hbtip/cgi.prg
  * contrib/hbtip/tests/base64.prg
  * contrib/hbtip/tests/dbtohtml.prg
  * contrib/hbtip/tests/ftpadv.prg
  * contrib/hbtip/tests/httpadv.prg
  * contrib/hbtip/tests/tiptest.prg
  * contrib/hbtip/thtml.prg
  * contrib/rddads/tests/testmg.prg
  * extras/gfspell/spell.prg
  * extras/hbvpdf/hbvpdf.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/modules/tableservletdb.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
  * utils/hbmk2/hbmk2.prg
    * minor cleanups

  * contrib/xhb/*.ch
    * formatted .ch files
    ! fixed SETLASTKEY() to be HB_SETLASTKEY() in xhb

  * contrib/hbtinymt/3rd/tinymt/tinymt.hbp
  - contrib/hbtinymt/3rd/tinymt/tinymt.hbx
    ! deleted .hbx file for 3rd lib and fixed not to generate it

  * extras/httpsrv/modules/tableservletdb.prg
    ! DEFAULT TO -> hb_default()
This commit is contained in:
Viktor Szakats
2012-11-08 15:06:50 +00:00
parent 3cba05eca5
commit 95ca642c65
34 changed files with 953 additions and 950 deletions

View File

@@ -65,7 +65,7 @@ FUNCTION HRBMAIN()
hGets := _REQUEST
DEFAULT hGets TO { => }
hb_default( @hGets, { => } )
IF hb_HHasKey( hGets, "page" )
@@ -116,7 +116,7 @@ FUNCTION HRBMAIN()
uhttpd_SetHeader( "Content-Type", "text/xml" )
uhttpd_Write( '<?xml version="1.0" encoding="ISO-8859-1"?>' )
uhttpd_Write( '<pages><page>No Data</page></pages>' )
uhttpd_Write( "<pages><page>No Data</page></pages>" )
ENDIF
@@ -353,7 +353,7 @@ METHOD xmlEncode( input ) CLASS TableManager
FOR i := 1 TO Len( input )
c := SubStr( input, i, 1 )
SWITCH c
CASE '&'
CASE "&"
out += "&amp;"
EXIT
CASE "'"
@@ -362,14 +362,14 @@ METHOD xmlEncode( input ) CLASS TableManager
CASE '"'
out += "&quot;"
EXIT
CASE '<'
CASE "<"
out += "&lt;"
EXIT
CASE '>'
CASE ">"
out += "&gt;"
EXIT
#if 0
CASE ' '
CASE " "
out += "&nbsp;"
EXIT
#endif