From 01b7a3fcc1b2473e368d05eeb16d627b48bcd0f4 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Fri, 6 Apr 2007 00:33:52 +0000 Subject: [PATCH] 2007-04-06 02:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/lang/Makefile + harbour/source/lang/msgnl.c + added Dutch language module by Rene Koot * harbour/config/os2/gcc.cf * commented out -DTCPV40HDRS in CFLAGS * harbour/make_gnu.cmd * added commented by default: set C_USR=-DTCPV40HDRS %C_USR% * harbour/contrib/libnf/menu1.prg * harbour/contrib/libnf/pegs.prg * harbour/contrib/libnf/popadder.prg * harbour/contrib/libnf/savesets.prg * harbour/source/debug/dbgmenu.prg + added missing #include "common.ch" for HB_SYMBOL_UNUSED() * harbour/include/hbclass.ch * renamed __HB_SYMBOL_UNUSED() to __HB_CLS_SYMBOL_UNUSED() to keep the same name convention as for other hbclass definitions/commands * harbour/include/hbsetup.h * added commented by default #define HB_PP_MULTILINE_STRING with small description * harbour/source/rtl/net.c * added missing #include(s) for OS2 build * harbour/source/rdd/dbfcdx/dbfcdx1.c * formatting --- harbour/ChangeLog | 32 ++++ harbour/common.mak | 1 + harbour/config/os2/gcc.cf | 3 +- harbour/contrib/libnf/menu1.prg | 2 +- harbour/contrib/libnf/pegs.prg | 2 + harbour/contrib/libnf/popadder.prg | 1 + harbour/contrib/libnf/savesets.prg | 1 + harbour/include/hbclass.ch | 14 +- harbour/include/hbsetup.h | 12 ++ harbour/make_gnu.cmd | 3 + harbour/source/debug/dbgmenu.prg | 1 + harbour/source/lang/Makefile | 1 + harbour/source/lang/msgnl.c | 220 ++++++++++++++++++++++++++++ harbour/source/rdd/dbfcdx/dbfcdx1.c | 2 +- harbour/source/rtl/net.c | 3 + 15 files changed, 288 insertions(+), 10 deletions(-) create mode 100644 harbour/source/lang/msgnl.c diff --git a/harbour/ChangeLog b/harbour/ChangeLog index bc5d6bfa09..6d488fe763 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,38 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-04-06 02:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/common.mak + * harbour/source/lang/Makefile + + harbour/source/lang/msgnl.c + + added Dutch language module by Rene Koot + + * harbour/config/os2/gcc.cf + * commented out -DTCPV40HDRS in CFLAGS + * harbour/make_gnu.cmd + * added commented by default: set C_USR=-DTCPV40HDRS %C_USR% + + * harbour/contrib/libnf/menu1.prg + * harbour/contrib/libnf/pegs.prg + * harbour/contrib/libnf/popadder.prg + * harbour/contrib/libnf/savesets.prg + * harbour/source/debug/dbgmenu.prg + + added missing #include "common.ch" for HB_SYMBOL_UNUSED() + + * harbour/include/hbclass.ch + * renamed __HB_SYMBOL_UNUSED() to __HB_CLS_SYMBOL_UNUSED() to keep + the same name convention as for other hbclass definitions/commands + + * harbour/include/hbsetup.h + * added commented by default #define HB_PP_MULTILINE_STRING + with small description + + * harbour/source/rtl/net.c + * added missing #include(s) for OS2 build + + * harbour/source/rdd/dbfcdx/dbfcdx1.c + * formatting + 2007-04-05 13:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * harbour/include/hbclass.ch * harbour/include/common.ch diff --git a/harbour/common.mak b/harbour/common.mak index 828d1b4210..a393947baa 100644 --- a/harbour/common.mak +++ b/harbour/common.mak @@ -577,6 +577,7 @@ LANG_LIB_OBJS = \ $(OBJ_DIR)\msgis850.obj \ $(OBJ_DIR)\msgit.obj \ $(OBJ_DIR)\msgko.obj \ + $(OBJ_DIR)\msgnl.obj \ $(OBJ_DIR)\msgpl852.obj \ $(OBJ_DIR)\msgpliso.obj \ $(OBJ_DIR)\msgplmaz.obj \ diff --git a/harbour/config/os2/gcc.cf b/harbour/config/os2/gcc.cf index cc3d728936..7eaabf07e5 100644 --- a/harbour/config/os2/gcc.cf +++ b/harbour/config/os2/gcc.cf @@ -18,7 +18,8 @@ CFLAGS = -W -Wall -DHB_OS_OS2 -O2 # 26/03/2004 - # added -DTCPV40HDRS to compile with GCC 3.2.2 on OS/2 v4.0 with mixed 16/32 bit tcp/ip stack # to be removed if compiled on a tcp/ip stack >= 4.1 (eComStation, for example) -CFLAGS += -DTCPV40HDRS +# disabled, if you need it please use: C_USR=-DTCPV40HDRS +# CFLAGS += -DTCPV40HDRS LD = gcc LDFLAGS = diff --git a/harbour/contrib/libnf/menu1.prg b/harbour/contrib/libnf/menu1.prg index 3cf235078b..4279f979f6 100644 --- a/harbour/contrib/libnf/menu1.prg +++ b/harbour/contrib/libnf/menu1.prg @@ -149,7 +149,7 @@ */ - +#include "common.ch" #define LEFTARROW 19 #define RIGHTARROW 4 diff --git a/harbour/contrib/libnf/pegs.prg b/harbour/contrib/libnf/pegs.prg index 830b5eeab5..d73a77de88 100644 --- a/harbour/contrib/libnf/pegs.prg +++ b/harbour/contrib/libnf/pegs.prg @@ -48,6 +48,8 @@ */ #include "inkey.ch" +#include "common.ch" + #translate SINGLEBOX(, , , ) => ; @ , , , BOX "ÚÄ¿³ÙÄÀ³ " #translate DOUBLEBOX(, , , ) => ; diff --git a/harbour/contrib/libnf/popadder.prg b/harbour/contrib/libnf/popadder.prg index ac780706b9..92e0768ea7 100644 --- a/harbour/contrib/libnf/popadder.prg +++ b/harbour/contrib/libnf/popadder.prg @@ -110,6 +110,7 @@ #include 'inkey.ch' #include 'setcurs.ch' #include 'achoice.ch' +#include 'common.ch' // Set up manifest constants to access the window colors in the array aWinColor #define W_BORDER 1 diff --git a/harbour/contrib/libnf/savesets.prg b/harbour/contrib/libnf/savesets.prg index 03e6133a99..cb1798ebcf 100644 --- a/harbour/contrib/libnf/savesets.prg +++ b/harbour/contrib/libnf/savesets.prg @@ -53,6 +53,7 @@ #include "set.ch" +#include "common.ch" #Define FT_EXTRA_SETS 2 #DEFINE FT_SET_CENTURY _SET_COUNT + 1 diff --git a/harbour/include/hbclass.ch b/harbour/include/hbclass.ch index bb22f80e99..43b38848bd 100644 --- a/harbour/include/hbclass.ch +++ b/harbour/include/hbclass.ch @@ -134,9 +134,6 @@ #endif #endif -/* Please keep it synced with the similar #define in common.ch */ -#define __HB_SYMBOL_UNUSED( symbol ) ( symbol := ( symbol ) ) - /* * I have to enable this definition by default untill we will not fix * preprocessor. [druzus] @@ -187,6 +184,9 @@ #xtranslate __HB_CLS_ERR([]) => ;#error [ ] ; #line #endif +/* Please keep it synced with the similar #define in common.ch */ +#define __HB_CLS_SYMBOL_UNUSED( symbol ) ( symbol := ( symbol ) ) + #xtranslate __HB_CLS_VARERR() => __HB_CLS_ERR( Invalid instance variable name: ) DECLARE HBClass ; @@ -324,7 +324,7 @@ DECLARE HBClass ; /* Operator overloading */ #xcommand OPERATOR [ ] [LOCAL ] INLINE [ ] [] [