From ab0a6f05b35ea6beedb42df0c1050b2af3dee24d Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 31 May 2010 08:14:05 +0000 Subject: [PATCH] 2010-05-31 10:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/xhb/hbcompat.ch * contrib/xhb/xhb.ch + Added xhb.ch translations for following functions: AINS(), ADEL(), NETNAME(), MEMOWRIT(), SAVESCREEN(), RESTSCREEN(), RTRIM(), TRIM(), ALLTRIM() --- harbour/ChangeLog | 7 +++++++ harbour/contrib/xhb/hbcompat.ch | 14 +++++++++++--- harbour/contrib/xhb/xhb.ch | 18 ++++++++++++++++++ 3 files changed, 36 insertions(+), 3 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index ce733d4591..15ac9ac85d 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,13 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-05-31 10:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/xhb/hbcompat.ch + * contrib/xhb/xhb.ch + + Added xhb.ch translations for following functions: + AINS(), ADEL(), NETNAME(), MEMOWRIT(), SAVESCREEN(), + RESTSCREEN(), RTRIM(), TRIM(), ALLTRIM() + 2010-05-30 19:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/xhb/hbcompat.ch * contrib/xhb/xhbfs.c diff --git a/harbour/contrib/xhb/hbcompat.ch b/harbour/contrib/xhb/hbcompat.ch index 1b3e4803e1..a281844aaf 100644 --- a/harbour/contrib/xhb/hbcompat.ch +++ b/harbour/contrib/xhb/hbcompat.ch @@ -263,20 +263,28 @@ #define GTI_CLIENT 2 /* Maximum possible client size of a window */ #define GTI_MAX 3 /* Maximum possible window size (in Windows) */ - #xtranslate NetName() => iif( hb_isNumeric( ) .AND. == 1, hb_UserName(), NetName() ) #xtranslate MaxRow(.T.) => hb_gtInfo( HB_GTI_VIEWPORTHEIGHT ) #xtranslate MaxCol(.T.) => hb_gtInfo( HB_GTI_VIEWPORTWIDTH ) #xtranslate Str(,[],[],) => iif(, hb_NToS(), Str()) - #xtranslate AScan(,,[],[],) => hb_AScan(,,,,) + #xuntranslate NetName( => + #xuntranslate MemoWrit( => + + #xtranslate NetName() => iif( hb_isNumeric( ) .AND. == 1, hb_UserName(), NetName() ) + #xtranslate MemoWrit(,,) => iif( hb_isLogical() .AND. ! , hb_MemoWrit(,), MemoWrit(,) ) + + #xuntranslate AIns( => + #xuntranslate ADel( => + #xtranslate AIns(,,[]) => hb_AIns(,,) #xtranslate ADel(,,) => hb_ADel(,,) + + #xtranslate AScan(,,[],[],) => hb_AScan(,,,,) #xtranslate At(,,[]) => hb_At(,,) #xtranslate GetEnv([]) => hb_GetEnv() #xtranslate SetKey([]) => hb_SetKey() - #xtranslate MemoWrit(,,) => iif( hb_isLogical() .AND. ! , hb_MemoWrit(,), MemoWrit(,) ) /* TEXT INTO */ #xcommand TEXT INTO => #pragma __text|+=%s+HB_OSNEWLINE();:="" diff --git a/harbour/contrib/xhb/xhb.ch b/harbour/contrib/xhb/xhb.ch index 4aceb762c0..0a4d1d5f13 100644 --- a/harbour/contrib/xhb/xhb.ch +++ b/harbour/contrib/xhb/xhb.ch @@ -64,6 +64,24 @@ #xtranslate __Keyboard([]) => xhb__Keyboard() #xtranslate __CopyFile([]) => xhb_CopyFile() + #xuntranslate AIns( => + #xuntranslate ADel( => + + #xtranslate AIns(,,[]) => xhb_AIns(,,) + #xtranslate ADel(,,) => xhb_ADel(,,) + + #xuntranslate NetName( => + #xuntranslate MemoWrit( => + + #xtranslate NetName([]) => xhb_NetName() + #xtranslate MemoWrit([]) => xhb_MemoWrit() + + #xtranslate SaveScreen([]) => xhb_SaveScreen() + #xtranslate RestScreen([]) => xhb_RestScreen() + #xtranslate RTrim([]) => xhb_RTrim() + #xtranslate Trim([]) => xhb_Trim() + #xtranslate AllTrim([]) => xhb_AllTrim() + /* _SET_TRACE* / TraceLog() */ #xtranslate Set(_SET_TRACE [,]) => xhb_setTrace( ) #xtranslate Set(_SET_TRACEFILE [,]) => xhb_setTraceFile( )