2010-03-07 17:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* utils/hbmk2/hbmk2.prg
    ! Fixed to disregard HB_FS_STATIC functions when parsing .c files 
      for entry function name. No idea how this wasn't causing any error 
      reports so far.

  * contrib/hbtip/hbtipssl/Makefile
    ! Synced file list with non-ssl version.

  * contrib/hbtip/cgi.prg
    ! Fixed to use hb_dirTemp() instead of hard-wired *nix '/tmp/'.

  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
    ! More HTML tag lowercasing.
This commit is contained in:
Viktor Szakats
2010-03-07 16:05:35 +00:00
parent 29a72856ac
commit 09615441e8
6 changed files with 32 additions and 17 deletions

View File

@@ -17,6 +17,22 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-03-07 17:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
! Fixed to disregard HB_FS_STATIC functions when parsing .c files
for entry function name. No idea how this wasn't causing any error
reports so far.
* contrib/hbtip/hbtipssl/Makefile
! Synced file list with non-ssl version.
* contrib/hbtip/cgi.prg
! Fixed to use hb_dirTemp() instead of hard-wired *nix '/tmp/'.
* contrib/hbide/ideharbourhelp.prg
* contrib/hbide/idehome.prg
! More HTML tag lowercasing.
2010-03-07 15:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/hbmzip.c
+ HB_UNZIPFILEINFO() extended to also return CRC.

View File

@@ -1038,7 +1038,7 @@ METHOD IdeHarbourHelp:buildView( oFunc )
aadd( aHtm, "<html>" )
aadd( aHtm, '<head> ' )
aadd( aHtm, ' <meta name="Author" CONTENT=Pritpal Bedi [pritpal@vouchcac.com]">' )
aadd( aHtm, ' <meta name="Author" content=Pritpal Bedi [pritpal@vouchcac.com]">' )
aadd( aHtm, ' <meta http-equiv="content-style-type" content="text/css" > ' )
aadd( aHtm, ' <meta http-equiv="content-script-type" content="text/javascript">' )
aadd( aHtm, ' ' )

View File

@@ -73,7 +73,7 @@
/*----------------------------------------------------------------------*/
#define browserStat_anchorClicked 101
#define browserWelcome_contextMenuRequested 102
#define browserWelcome_contextMenuRequested 102
#define browserFaq_contextMenuRequested 103
#define tabWidget_currentChanged 104
@@ -82,14 +82,14 @@
STATIC FUNCTION hbide_htmlImgAnchor( cHref, cImg, nWidth, nHeight )
DEFAULT nWidth TO 12
DEFAULT nHeight TO 12
RETURN '<A href="' + cHref + '"' + '>' + ' <IMG src="' + cImg + '"' + ;
' width="' + hb_ntos( nWidth ) + '" height="' + hb_ntos( nHeight ) + '"' + '</IMG>' + '</A>'
RETURN '<a href="' + cHref + '"' + '>' + ' <img src="' + cImg + '"' + ;
' width="' + hb_ntos( nWidth ) + '" height="' + hb_ntos( nHeight ) + '"' + '</img>' + '</a>'
/*----------------------------------------------------------------------*/
STATIC FUNCTION hbide_htmlAnchor( cHref, cText, cTooltip )
RETURN '<A href="' + cHref + '"' + iif( empty( cTooltip ), '', ' title="' + cTooltip + '"' ) +'>' + cText + '</A>'
RETURN '<a href="' + cHref + '"' + iif( empty( cTooltip ), '', ' title="' + cTooltip + '"' ) +'>' + cText + '</A>'
/*----------------------------------------------------------------------*/
@@ -409,12 +409,12 @@ METHOD IdeHome:buildSourcesInfo( cProjectTitle, aSrcInfo )
aadd( aHtm, ' <img src="' + 'resources/' + cIcon + '.png' + '"' + '</img>' + '&nbsp;' + '&nbsp;' + '&nbsp;' )
aadd( aHtm, ' <font color="#FF4719" size=5><u>' + cProjectTitle + '</u></font>' )
aadd( aHtm, ' </td>' )
aadd( aHtm, ' <TR bgcolor="#F0F0F5">' )
aadd( aHtm, ' <TH width="150" >Source</TH>' )
aadd( aHtm, ' <TH width="50" >Type</TH>' )
aadd( aHtm, ' <TH width="60" >Size</TH>' )
aadd( aHtm, ' <TH width="150" >Last Modified</TH>' )
aadd( aHtm, ' <TH >Location</TH>' )
aadd( aHtm, ' <tr bgcolor="#F0F0F5">' )
aadd( aHtm, ' <th width="150" >Source</th>' )
aadd( aHtm, ' <th width="50" >Type</th>' )
aadd( aHtm, ' <th width="60" >Size</th>' )
aadd( aHtm, ' <th width="150" >Last Modified</th>' )
aadd( aHtm, ' <th >Location</th>' )
AADD( aHtm, ' </tr>' )
//
FOR EACH aSrc IN aSrcInfo

View File

@@ -219,8 +219,7 @@ METHOD Flush() CLASS TIpCgi
IF ::lDumpHtml
IF Empty( ::cDumpSavePath )
/* TOFIX: *nix specific default. [vszakats] */
::cDumpSavePath := "/tmp/"
::cDumpSavePath := hb_DirTemp()
ENDIF
IF ( nH := FCreate( ::cDumpSavePath + "dump.html", FC_NORMAL ) ) != F_ERROR
FWrite( nH, ::cHtmlPage )
@@ -399,8 +398,7 @@ METHOD StartSession( cSID ) CLASS TIpCgi
ENDIF
IF Empty( ::cSessionSavePath )
/* TOFIX: *nix specific default. [vszakats] */
::cSessionSavePath := "/tmp/"
::cSessionSavePath := hb_DirTemp()
ENDIF
IF ! Empty( cSID )

View File

@@ -12,7 +12,8 @@ vpath %.prg ../
LIBNAME := hbtipssl
C_SOURCES := \
encmthd.c \
encb64c.c \
encurlc.c \
utils.c \
PRG_SOURCES := \

View File

@@ -6914,7 +6914,7 @@ STATIC FUNCTION getFirstFunc( hbmk, cFile )
IF cExt == ".c"
FOR EACH cLine IN hb_ATokens( StrTran( hb_MemoRead( cFile ), Chr( 13 ), Chr( 10 ) ), Chr( 10 ) )
cLine := AllTrim( cLine )
IF LEFTEQUAL( cLine, '{ "' ) .AND. "HB_FS_FIRST" $ cLine
IF LEFTEQUAL( cLine, '{ "' ) .AND. "HB_FS_FIRST" $ cLine .AND. !( "HB_FS_STATIC" $ cLine )
n := 4
DO WHILE ( c := SubStr( cLine, n++, 1 ) ) != '"'
cFuncName += c