2009-06-05 18:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* contrib/Makefile
  + contrib/xpp
  + contrib/xpp/Makefile
  + contrib/xpp/xpp.ch
    + Added startup of an Xbase++ dialect lib (similar to xhb).
      The idea is that these will hold all Xbase++ specific functions
      with an xpp_*() prefix, and they will eventually be moved
      inside the core into source/dialect/xpp lib, so that dialect
      selection can be better integrated into Harbour compiler tools.
      Currently it holds one header only.

  + utils/hbmk2/examples/oohg.hbc
    + Added oohg hbmk2 config file. (untested)

  * utils/hbmk2/examples/fwh.hbc
  * utils/hbmk2/examples/hmg.hbc
  * utils/hbmk2/examples/hwgui.hbc
    % Minor simplification.
This commit is contained in:
Viktor Szakats
2009-06-05 16:55:43 +00:00
parent 4a4a54c434
commit dbcebf21a1
8 changed files with 128 additions and 6 deletions

View File

@@ -17,6 +17,26 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-06-05 18:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/Makefile
+ contrib/xpp
+ contrib/xpp/Makefile
+ contrib/xpp/xpp.ch
+ Added startup of an Xbase++ dialect lib (similar to xhb).
The idea is that these will hold all Xbase++ specific functions
with an xpp_*() prefix, and they will eventually be moved
inside the core into source/dialect/xpp lib, so that dialect
selection can be better integrated into Harbour compiler tools.
Currently it holds one header only.
+ utils/hbmk2/examples/oohg.hbc
+ Added oohg hbmk2 config file. (untested)
* utils/hbmk2/examples/fwh.hbc
* utils/hbmk2/examples/hmg.hbc
* utils/hbmk2/examples/hwgui.hbc
% Minor simplification.
2009-06-05 18:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/wapi_winuser.c
+ Added WAPI_CREATEWINDOWEX() pure Windows API wrapper.

View File

@@ -27,6 +27,7 @@ DIRS=\
hbziparc \
rddado \
xhb \
xpp \
# contribs with external dependencies
DIRS +=\

View File

@@ -0,0 +1,14 @@
#
# $Id$
#
ROOT = ../../
PRG_HEADERS=\
xpp.ch \
include $(TOP)$(ROOT)config/header.cf
INSTALL_RULE_HEADERS := $(INSTALL_RULE)
install::
$(INSTALL_RULE_HEADERS)

View File

@@ -0,0 +1,73 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* Xbase++ compatibility header
*
* Copyright 2009 Viktor Szakats (harbour.01 syenar.hu)
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
#ifdef __XPP__
/* Translations for Harbour programs compiled with Xbase++ compiler */
#else
/* Translations for Xbase++ programs compiled with Harbour compiler */
#include "hbclass.ch"
#xtranslate DispOutAt(<x,...>) => hb_DispOutAt(<x>)
#xtranslate Sleep(<x>) => xpp_Sleep(<x>)
#xtranslate TBColumn() => xpp_TBColumn()
#xtranslate TBrowse() => xpp_TBrowse()
#xtranslate Get() => xpp_Get()
/* NOTE: Several other Xbase++ function are currently implemented using
original Xbase++ names. */
#endif

View File

@@ -6,8 +6,8 @@
# command line to build an app:
# > hbmk2 test.prg C:\fwh\fwh.hbc
{win}incpaths=${hb_self}include
{win}libpaths=${hb_self}lib
{win}incpaths=include
{win}libpaths=lib
{win}gt=gtgui

View File

@@ -6,8 +6,8 @@
# command line to build an app:
# > hbmk2 test.prg C:\hmg\hmg.hbc
{win}incpaths=${hb_self}include
{win}libpaths=${hb_self}lib ${hb_self}harbour\lib
{win}incpaths=include
{win}libpaths=lib harbour\lib
{win}gt=gtgui

View File

@@ -6,8 +6,8 @@
# command line to build an app:
# > hbmk2 test.prg C:\hwgui\hwgui.hbc
{win}incpaths=${hb_self}include
{win}libpaths=${hb_self}lib
{win}incpaths=include
{win}libpaths=lib
{win}gt=gtgui

View File

@@ -0,0 +1,14 @@
#
# $Id$
#
# Copy this file to oohg root dir and include it in hbmk2
# command line to build an app:
# > hbmk2 test.prg C:\oohg\oohg.hbc
{win}incpaths=include
{win}libpaths=lib
{win}gt=gtgui
{win}libs=oohg hbprinter miniprint