2009-03-01 15:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

- contrib/hbct/ctflist.txt
  - contrib/hbodbc/odbc.txt
  - contrib/hbodbc/readme.txt
  - contrib/hbpgsql/readme.txt
  - contrib/hbgd/readme.txt
  * contrib/hbgd/tests/counter.prg
  * contrib/hbgd/Makefile
  - contrib/hbvpdf/readme.txt
  + contrib/hbvpdf/ChangeLog
    * Some cleanups.

  * doc/gmake.txt
    * '-r' requirement removed.

  * doc/codestyl.txt
    * Grammar.

  - doc/funclist.txt
  - doc/howtomak.txt
  - doc/hrb_faq.txt
  - doc/hbmake.txt
  - doc/lang_id.txt
    - Deleted obsolete files.

  * INSTALL
    + Added Bison version required.
    * Minor typo.

  * contrib/hbvpdf/tests/files/test.txt
    * Changed text to lorem ipsum.

  * utils/hbmk2/hbmk2.prg
    * Two line ending spaces removed from output.

  * mpkg_win.nsi
    ! Fixed to include subdir for doc dir.

  * config/global.cf
    + Added comment from doc file.
This commit is contained in:
Viktor Szakats
2009-03-01 14:32:18 +00:00
parent d56e5a98c8
commit 42a21eb2ef
21 changed files with 117 additions and 2312 deletions

View File

@@ -8,6 +8,47 @@
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2009-03-01 15:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbct/ctflist.txt
- contrib/hbodbc/odbc.txt
- contrib/hbodbc/readme.txt
- contrib/hbpgsql/readme.txt
- contrib/hbgd/readme.txt
* contrib/hbgd/tests/counter.prg
* contrib/hbgd/Makefile
- contrib/hbvpdf/readme.txt
+ contrib/hbvpdf/ChangeLog
* Some cleanups.
* doc/gmake.txt
* '-r' requirement removed.
* doc/codestyl.txt
* Grammar.
- doc/funclist.txt
- doc/howtomak.txt
- doc/hrb_faq.txt
- doc/hbmake.txt
- doc/lang_id.txt
- Deleted obsolete files.
* INSTALL
+ Added Bison version required.
* Minor typo.
* contrib/hbvpdf/tests/files/test.txt
* Changed text to lorem ipsum.
* utils/hbmk2/hbmk2.prg
* Two line ending spaces removed from output.
* mpkg_win.nsi
! Fixed to include subdir for doc dir.
* config/global.cf
+ Added comment from doc file.
2009-03-01 13:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
* harbour/include/hbstack.h
@@ -48,11 +89,11 @@
* harbour/contrib/gtwvg/gtwvg.c
! Implemented hb_gt_wvt_PaintGObjects( PHB_GTWVT pWVT, RECT *uRect )
just before EndPaint() call.
+ harbour/contrib/gtwvg/wvgcuig.c
+ Implementation of pure static controls with Clipper like
approach leaving away the details of heavy GTWVG base
protocol.
+ Implementation of pure static controls with Clipper like
approach leaving away the details of heavy GTWVG base
protocol.
* harbour/contrib/gtwvg/tests/demowvg.prg
! Implemented simplified GUI look to a CUI console.
@@ -62,7 +103,7 @@
functions. Instead a new window will be opened to host
overlapping screens.
Please look at <Traditional><WVG Console with GCUI> to
Please look at <Traditional><WVG Console with GCUI> to
look at this functionality. The code goes below:
/* PROCEDURE GCUIConsole()
@@ -75,25 +116,25 @@
LOCAL nColGet := 8
LOCAL GetList := {}
LOCAL cLabel := "VOUCH, that GROWS with you"
SetColor( "N/W,N/GR*,,,N/W*" )
CLS
hb_gtInfo( HB_GTI_WINTITLE, "WVG Simplified GUI Console" )
@ MaxRow(), 0 SAY PadC( "GTWVG Simplified GUI Console", maxcol()+1 ) COLOR "W+/B*"
@ 2, nColGet SAY "< Date >"
@ 5, nColGet SAY "<" + PadC( "Name", 33 ) + ">"
@ 8, nColGet SAY "<" + PadC( "Address", 33) + ">"
@ 15, nColGet SAY "< Salary >"
@ 3, nColGet GET dDate
@ 6, nColGet GET cName
@ 9, nColGet GET cAdd1
@ 11, nColGet GET cAdd2
@ 13, nColGet GET cAdd3
@ 16, nColGet GET nSlry PICTURE "@Z 9999999.99"
// The only additional calls to render your console GUI
//
// The GETLIST : This can be embedded via @ GET preprocessor command
@@ -105,16 +146,15 @@
Wvg_BoxRecessed( 1, 2, 18, 49 )
Wvg_BoxGroupRaised( 2, 4, 17, 47, { -7,-7,7,7 } )
// Instruct GT to Repaint the Screen with GUI elements.
Wvt_InvalidateRect( 0, 0, maxrow(), maxcol() )
// Issue the read
READ
RETURN
*/
*/
2009-02-28 13:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/tests/demoxbp.prg

View File

@@ -20,7 +20,7 @@ HOW TO BUILD AND INSTALL HARBOUR
* Supported C compiler
* GNU Make
* GNU Bison (optional)
* GNU Bison 1.28 or upper (optional)
Linux/Darwin/BSD/HP-UX/Solaris
------------------------------
@@ -56,7 +56,7 @@ HOW TO BUILD AND INSTALL HARBOUR
1.) Windows NT or compatible system is required to build Harbour.
2.) Make sure to have your C compiler of choice properly installed.
For the list of supporter compilers, please look up the
For the list of supported compilers, please look up the
relevant section in this file.
3.) Make sure to have GNU Make. We recommend the one distributed
with MinGW. To get it:

View File

@@ -5,6 +5,9 @@
# See GNU make docs here:
# http://www.gnu.org/software/automake/manual/make/
# This isn't strictly necessary, but it does signficantly reduce
# the number of rules that make has to evaluate otherwise, which may give
# a performance boost on a slow system.
.SUFFIXES:
GRANDP = ../../

File diff suppressed because it is too large Load Diff

View File

@@ -2,6 +2,12 @@
# $Id$
#
# You can get the library from this link:
# http://www.libgd.org/Downloads
# On Linux you'll need these packages:
# gd, gd-devel
ROOT = ../../
LIBNAME=hbgd

View File

@@ -1,77 +0,0 @@
/*
* $Id$
*/
/*
* The following parts are Copyright of the individual authors.
* www - http://www.xharbour.org http://www.harbour-project.org
*
* Copyright 2004-2005 Francesco Saverio Giudice <info@fsgiudice.com>
* README file explaining howto compile GD
*
* See doc/license.txt for licensing terms.
*
*/
hbgd library is a wrapper around www.libgd.org graphic library
FOLDERS
=======
Folder structure:
/
+- doc : help & license files
+- include : gd c include files
+- samples : samples folder
| |
| +- counter : a sample counter
|
+- tests : test files
|
+- digits : some digits images from
| http://www.digitmania.holowww.com/all.html
| for counter.prg test sample
+- images_in : sample images
+- images_out : output of test images
COMPILING
=========
Actually platforms supported are:
- Win32 / BCC32
- GNU systems / GCC
to build library on Win32 with BCC use:
Download bgd.dll from this link:
http://www.libgd.org/Downloads (Windows DLL)
and put a copy of it in this folder and in tests folder
then
make_b32.bat
on GNU system use:
make install
** requirements: gd, gd-devel, libpng, libpng-devel, libjpeg, libjpeg-devel,
freetype, freetype-devel, zlib, zlib-devel
DOCUMENTATION
=============
Not yet finished hbgd.txt is the help file.
SAMPLES
=======
For samples look at tests dir.
gdtest.prg is an API test application
gdtestcls.prg is a GDImage/GDChart Class test application
test_out.prg is a sample of a cgi application for windows (I have to complete it).
antialiased.prg shows how apply anti-alias to lines.
animgif.prg is a sample to create an animated gif.
bartest.prg is a sample to create barcodes with GD Library.
counter.prg is sample applications of a graphic web counter.
to compile:
in Windows/BCC : bldtest.bat <app_without_prg_ext> (for full static)
in Linux : . bldtest.sh <app_without_prg_ext>

View File

@@ -14,6 +14,9 @@
#include "gd.ch"
#include "common.ch"
/* Some digits images from:
http://www.digitmania.holowww.com/all.html */
#define IMAGES_IN "digits/"
#define IMAGES_OUT "imgs_out/"
@@ -139,4 +142,3 @@ PROCEDURE Main( cValue, cBaseImage )
?
RETURN

View File

@@ -1,28 +0,0 @@
/*
* $Id$
*/
First ODBC routines library
Felipe Coury <fcoury@flexsys-ci.com>
How to create ODBC libraries
There are two libraries that must be created: odbc32.lib,
that is an import functions and links ODBC access functions
prototypes to odbc32.dll and hbodbc.lib, with the HB_*
ODBC API container functions.
In order to generate the libraries and run the test, you
need to put all files in harbour\source\odbc directory (new),
except hbodbc.b32 and bldodbc.bat that goes on harbour\ root
directory.
To build the libraries, run bldodbc.bat. If everything goes
correct, you'll have harbour\libs\odbc32.lib and hbodbc.lib.
To build the sample program, go to harbour\source\odbc and
run hb32 testodbc. Then set your Harbour root directory
into HARBOUR_DIR environmental variable (ie,
SET HARBOUR_DIR=C:\harbour) and run testodbc. If everything
goes ok, you'll see a list of functions.

View File

@@ -1,26 +0,0 @@
/*
* $Id$
*/
ODBCDEMO - ODBC Access Class Demonstration
Felipe G. Coury <fcoury@flexsys-ci.com>
This is the very first test of an ODBC class
that I am writing for Harbour. To test it,
simply unzip the contents of this file to
any folder and run odbcdemo.exe. Please note
that you'll need to have ODBC32 installed on
your machine.
The source code is also included, named
odbcdemo.prg, so you can see how it was
written.
I would like to hear your comments about
this. Just drop me a line at my private
e-mail.
Thanks
Felipe Coury

View File

@@ -1,53 +0,0 @@
/*
* $Id$
*/
README 23/12/2003 - Harbour Low Level api for Postgres RDBMS
It's to be seem like Harbour TMysql routines.
IMPORTANT
---------
The class TPostgres, only works with versions 7.4.x or greater, because some methods use information_schema and
New PQexecParams, which use protocol 3.0 and this protocol is only compatible with 7.4 versions.
BORLAND BCC
-----------
Using this library with bcc, you will need import library, ex: implib libpq.lib libpq.dll or (advice this) build your own
Postgres Library.
Go to postgres directory \postgresql-7.4.5\src\interfaces\libpq
Edit bcc32.mak and change the default borland directory for your needs. Example: BCB=C:\borland\bcc55
change postgresql-7.4.5\src\include\pg_config.h.win32 to pg_config.h
after this
make -f bcc32.mak
Now look at \postgresql-7.4.5\src\interfaces\libpq\release, you will find the all .libs and .dlls
If want use the dll, link in your aplication blibpqdll.lib and send blibpq.dll together with your aplication
If you don't wanna use .dll link blibpq.lib, that's it.
LINUX GCC
----------
On Linux you will need link libpq or references by pq.
For full api documentation look at:
http://www.postgresql.org/docs/current/static/libpq.html
FILES:
postgres.c - Low level api
tpostgre.prg - Class implementation, it's to be seems like TMysql.
tests\simple.prg - Simple test class
tests\stress.prg - Stress test
tests\cache.prg - Show hot to use .dbf as pg cache, like TDataset for Delphi.
TODO:
That's all folks and sorry my poor english
Rodrigo Moreno - rodrigo_moreno@yahoo.com

View File

@@ -1,12 +1,5 @@
(sample text)
THE HARBOUR PROJECT CONTRIB LICENSE
===================================
There is no one single license that applies to the Harbour Project
contrib files. Some files use the Harbour Project Compiler license.
Some files use the Harbour Project Library license. Some files use
the old Harbour Project Library license. Some files may even use other
types of free software or open source software licenses. Some files
have been donated to the public domain. If you use any of the contrib
files, you need to investigate the license that applies to each file.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum,
turpis sed tincidunt commodo, quam elit pulvinar nisl, eget ultrices
purus quam ac quam. Sed a arcu. Donec diam. Nulla lorem felis, accumsan
suscipit, euismod non, volutpat ac, nibh. Etiam varius turpis id ante.
Ut ut est semper metus consectetur.

View File

@@ -3,7 +3,7 @@
*/
/* Please note the following comments we may use everywhere
NOTE: Notes
NOTE: Notes
TODO: something should be added here
TOFIX: something needs to be fixed
OBSOLETE: something could be removed from here
@@ -27,25 +27,25 @@ Code Implementation
to and/or from.
Exceptions:
- The function's designated behavior is freeing that resource.
- The function's designated behavior is freeing that resource.
E.g. hb_xfree()
- The function is given a boolean argument, that controls whether or not
the function may free its arguments (if true - the function must free its
arguments, if false - it must not)
[2] Functions that are tightly integrated with other functions within the
same module, and rely on each other non-trivial behavior, should be
documented as such and declared 'static'. They should be avoided if
possible.
[3] Use definitions and macros whenever possible, so that constants have
meaningful names and can be easily manipulated.
meaningful names and can be easily manipulated.
Use TRUE instead of 1 (in boolean context)
Use FALSE instead of 0 (in boolean context)
Use NULL instead of 0 (in pointer context)
Always use 'HB_' prefix for definitions of new datatypes and macros.
Use either 'PHB_' prefix for datatypes that are pointers.
e.g.
HB_ITEM
PHB_ITEM
@@ -57,7 +57,7 @@ Code Implementation
for efficiency and in order for them to be binary-safe.
Functions that change strings and obtain their new lengths while
doing so, should return that new length, so it doesn't have to be
recalculated with strlen()
recalculated with strlen()
[5] NEVER USE strncat(). If you're absolutely sure you know what you're doing,
check its man page again, and only then, consider using it, and even then,
@@ -66,32 +66,32 @@ Code Implementation
[6] Use assert(). Not only does good assertion catch bugs, but it also
helps with code readability.
- Do not use assert for error handling. Use assert only for the
- Do not use assert for error handling. Use assert only for the
condition that must be always true.
- Do not use assignments in assert conditions. If you assign inside an
assert condition, you risk an elusive bug that would be very difficult
to spot in a debug build, due to the side effect of the assignment.
Function calls in assert conditions may also cause this problem, if
- Do not use assignments in assert conditions. If you assign inside an
assert condition, you risk an elusive bug that would be very difficult
to spot in a debug build, due to the side effect of the assignment.
Function calls in assert conditions may also cause this problem, if
they modify one of their arguments or global variables.
[7] When commenting out code using a #if statement, do NOT use 0 only. Instead
use "<cvs username here>_0". For example, #if FOO_0, where FOO is your
cvs user foo. This allows easier tracking of why code was commented out,
especially in bundled libraries.
cvs user foo. This allows easier tracking of why code was commented out,
especially in bundled libraries.
[8] Use hb_xgrab()/hb_xalloc(), hb_xfree(), hb_xrealloc(), hb_xsize() to
manage memory allocations. These functions implement an internal
[8] Use hb_xgrab()/hb_xalloc(), hb_xfree(), hb_xrealloc(), hb_xsize() to
manage memory allocations. These functions implement an internal
"safety-net" mechanism that ensures the deallocation of any unfreed
memory at the end of an application. They also provide useful
memory at the end of an application. They also provide useful
allocation and overflow information while running in debug mode.
Naming Conventions
------------------
[1] Function names for user-level functions defined in C code should be
[1] Function names for user-level functions defined in C code should be
enclosed with in the HB_FUNC() macro. They should be in uppercase.
The name should be prefixed with 'HB_' if this function is an
The name should be prefixed with 'HB_' if this function is an
extension to functions set defined in Clipper
Abbreviations should not be used when they greatly decrease the
readability of the function name itself.
@@ -102,10 +102,10 @@ Naming Conventions
[3] Variable names should use so-called Hungarian notation. Use lowercase
letters however use underscores to separate between words.
Good:
pMemoryPtr
Bad:
p_memory_ptr
@@ -133,7 +133,7 @@ Syntax and indentation
syntax.
(see also http://www.tuxedo.org/~esr/jargon/html/entry/indent-style.html)
[3] Be generous with whitespace and braces. Always prefer:
if( foo )
@@ -144,9 +144,9 @@ Syntax and indentation
to:
if(foo)bar;
and to:
if( foo )
bar;
@@ -155,8 +155,8 @@ Syntax and indentation
groups in a block. Maintain at least one empty line between
two functions, preferably two.
[4] When indenting, use three spaces. It is important to maintain
consistency in indenture so that definitions, comments, and
[4] When indenting, use three spaces. It is important to maintain
consistency in indenture so that definitions, comments, and
control structures line up correctly.
@@ -164,39 +164,37 @@ Documentation
--------------
[1] Whenever be possible document yourself functions you developed.
Usually is hard to understand code wrotted by other person, moreover
when it involve some obscure algorithm, system's vars or attributes
Usually it's hard to understand code written by other person, moreover
when it involves some obscure algorithm, system's vars or attributes
or data unavailable for the documentator.
This is particularly evident for low level functions.
[2] After some time function was wrotted, work become more difficult because
it's need it to read the code several times (even for the own developer).
[2] After some time function was written, work becomes more difficult because
it's needed to read the code several times (even for the own developer).
This is evident when variables don't have useful names (and uses only
letters).
Because that, please DO NOT leave functions without documentation.
[3] If function made calls to other non-documented functions, and the
original developer are not available anymore, could be so hard and even
[3] If function made calls to other non-documented functions, and the
original developer are not available anymore, could be so hard and even
impossible to document it.
[4] Tracking which functions are documented and which are not, and if they
are total or partially documented are a waste of resources in time and
[4] Tracking which functions are documented and which are not, and if they
are total or partially documented are a waste of resources in time and
people.
[5] If you are the developer of the function don't worry by your narrative
skills, concentrate in what functions do, which arguments it gets,
skills, concentrate in what functions do, which arguments it gets,
which are its purpose and specially what information function returns.
[6] If you are the developer of the function, and you are using system's
[6] If you are the developer of the function, and you are using system's
functions or vars undocumented, please explain it as much as possible.
If you use a obscure or strange algorithm (i.e md5 ) please explain what
If you use a obscure or strange algorithm (i.e md5 ) please explain what
it does and how it works.
[7] Notes, remarks and explainings enclose always between the /* */ pair,
[7] Notes, remarks and explainings enclose always between the /* */ pair,
please don't use the double bar // because it difficults portability.
[8] Remember... documentation it's a much time consuming work, usually
takes more time writing the documentation of a function that writing
the function itself.

View File

@@ -1,622 +0,0 @@
;
; $Id$
;
; The Harbour Project
; funclist.txt - Function Status List
;
; Syntax:
; <function/method>;<state>;<platform>
;
; Where:
; <state> - R[eady], S[tarted], N[ot Started]
; <platform> - dos[-bcc16]
; dos[-djgpp]
; dos[-watcom]
; win[-bcc32][+T]
; win[-gcc][+T]
; win[-icc][+T]
; win[-mingw][+T]
; win[-msvc][+T]
; os2[-gcc][+T]
; os2[-icc][+T]
; lin[-gcc][+T]
; mac[-mpw][+T]
;
; Examples: win-gcc+T, win, win-icc
; (+T means multithreading ready)
;
; Use ';' for comments
;
; Please review the following function status
;
AADD ;R;
ABS ;R;
ACHOICE ;R;
ACLONE ;R;
ACOPY ;R;
ADEL ;R;
ADIR ;R;
AEVAL ;R;
AFIELDS ;R;
AFILL ;R;
AINS ;R;
ALERT ;R;
ALIAS ;R;
ALLTRIM ;R;
ALTD ;S;
ARRAY ;R;
ASC ;R;
ASCAN ;R;
ASIZE ;R;
ASORT ;R;
AT ;R;
ATAIL ;R;
BIN2I ;R;
BIN2L ;R;
BIN2W ;R;
BOF ;R;
BREAK ;R;
BROWSE ;S;
CDOW ;R;
CHR ;R;
CMONTH ;R;
COL ;R;
COLORSELECT ;R;
CTOD ;R;
CURDIR ;R;
DATE ;R;
DAY ;R;
DBAPPEND ;R;
DBCLEARFILTER ;R;
DBCLEARINDEX ;S;
DBCLEARRELATION ;S;
DBCLOSEALL ;R;
DBCLOSEAREA ;R;
DBCOMMIT ;R;
DBCOMMITALL ;R;
DBCREATE ;R;
DBCREATEIND ;S;
DBDELETE ;R;
DBEDIT ;R;
DBEVAL ;R;
DBF ;R;
DBFILTER ;R;
DBGOBOTTOM ;R;
DBGOTO ;R;
DBGOTOP ;R;
DBRECALL ;R;
DBREINDEX ;S;
DBRELATION ;S;
DBRSELECT ;S;
DBSEEK ;S;
DBSELECTAREA ;R;
DBSETDRIVER ;R;
DBSETFILTER ;R;
DBSETINDEX ;S;
DBSETORDER ;S;
DBSETRELATION ;S;
DBSKIP ;R;
DBSTRUCT ;R;
DBTABLEEXT ;R;
DBUNLOCK ;R;
DBUNLOCKALL ;R;
DBUSEAREA ;R;
DELETED ;R;
DESCEND ;R;
DEVOUT ;R;
DEVOUTPICT ;R;
DEVPOS ;R;
DIRECTORY ;R;
DISKSPACE ;R;
DISPBEGIN ;S;
DISPBOX ;R;
DISPCOUNT ;S;
DISPEND ;S;
DISPOUT ;R;
DISPOUTAT ;R;
DOSERROR ;S;
DOW ;R;
DTOC ;R;
DTOS ;R;
EMPTY ;R;
EOF ;R;
ERRORBLOCK ;R;
ERRORLEVEL ;R;
EVAL ;R;
EXP ;R;
FCLOSE ;R;
FCOUNT ;R;
FCREATE ;R;
FERASE ;R;
FERROR ;R;
FIELDBLOCK ;R;
FIELDGET ;R;
FIELDNAME ;R;
FIELDPOS ;R;
FIELDPUT ;R;
FIELDWBLOCK ;R;
FILE ;S;
FKLABEL ;R;
FKMAX ;R;
FLOCK ;R;
FOPEN ;R;
FOUND ;R;
FREAD ;R;
FREADSTR ;R;
FRENAME ;R;
FSEEK ;R;
FWRITE ;R;
GETENV ;R;
HARDCR ;R;
HEADER ;R;
I2BIN ;R;
IF ;R;
INDEXEXT ;S;
INDEXKEY ;S;
INDEXORD ;S;
INKEY ;S;
INT ;R;
ISALPHA ;R;
ISCOLOR ;S;
ISDIGIT ;R;
ISLOWER ;R;
ISPRINTER ;S;dos
ISUPPER ;R;
L2BIN ;R;
LASTKEY ;S;
LASTREC ;R;
LEFT ;R;
LEN ;R;
LOG ;R;
LOWER ;R;
LTRIM ;R;
LUPDATE ;R;
MAX ;R;
MAXCOL ;R;
MAXROW ;R;
MEMOEDIT ;S;
MEMOLINE ;R;
MEMOREAD ;R;
MEMORY ;S;
MEMOTRAN ;R;
MEMOWRIT ;R;
MEMVARBLOCK ;R;
MIN ;R;
MLCOUNT ;R;
MLCTOPOS ;R;
MLPOS ;R;
MOD ;R;
MONTH ;R;
MPOSTOLC ;R;
NETERR ;R;
NETNAME ;R;
NEXTKEY ;S;
NOSNOW ;R;
OS ;S;
OUTERR ;R;
OUTSTD ;R;
PAD ;R;
PCOL ;R;
PCOUNT ;R;
PROCLINE ;R;
PROCNAME ;R;
PROW ;R;
QOUT ;R;
RAT ;R;
RDDLIST ;R;
RDDNAME ;R;
RDDREGISTER ;R;
RDDSETDEFAULT ;R;
READEXIT ;R;
READINSERT ;R;
READKEY ;R;
READMODAL ;R;
READVAR ;R;
RECCOUNT ;R;
RECNO ;R;
RECSIZE ;R;
REPLICATE ;R;
RESTSCREEN ;S;
RIGHT ;R;
RLOCK ;R;
ROUND ;R;
ROW ;R;
RTRIM ;R;
SAVESCREEN ;S;
SCROLL ;R;
SECONDS ;R;
SELECT ;R;
SET ;R;
SETBLINK ;S;
SETCANCEL ;R;
SETCOLOR ;S;
SETCURSOR ;S;
SETKEY ;R;
SETMODE ;S;
SETPOS ;R;
SETPOSBS ;R;
SETPRC ;R;
SOUNDEX ;R;
SPACE ;R;
SQRT ;R;
STR ;R;
STRTRAN ;R;
STRZERO ;R;
STUFF ;R;
SUBSTR ;R;
TIME ;R;
TONE ;S;
TRANSFORM ;R;
TYPE ;R;
UPDATED ;R;
UPPER ;R;
USED ;R;
VAL ;R;
VALTYPE ;R;
VERSION ;S;
WORD ;R;
YEAR ;R;
; RDD DRIVER SYSTEM
DBRLOCK ;R;
DBRLOCKLIST ;R;
DBRUNLOCK ;R;
ORDBAGEXT ;S;
ORDBAGNAME ;S;
ORDCONDSET ;S;
ORDCREATE ;S;
ORDDESTROY ;S;
ORDFOR ;S;
ORDKEY ;S;
ORDLISTADD ;S;
ORDLISTCLEAR ;S;
ORDLISTREBUI ;S;
ORDNAME ;S;
ORDNUMBER ;S;
ORDSETFOCUS ;S;
RDDLIST ;R;
RDDNAME ;R;
RDDSETDEFAULT ;R;
; INTERNAL FUNCTIONS
__Accept ;R;
__AcceptStr ;R;
__AtPrompt ;R;
__CopyFile ;R;
__dbApp ;S;
__dbContinue ;R;
__dbCopy ;S;
__dbCopyStruct ;R;
__dbCopyXStruct ;R;
__dbCreate ;R;
__dbDelim ;S;
__dbJoin ;N;
__dbList ;R;
__dbLocate ;R;
__dbPack ;R;
__dbSDF ;S;
__dbSort ;N;
__dbTotal ;N;
__dbUpdate ;R;
__dbZap ;R;
__Dir ;R;
__Eject ;R;
__Keyboard ;R;
__LabelForm ;R;
__MClear ;R;
__MenuTo ;R;
__MRelease ;R;
__MRestore ;R;
__MSave ;R;
__MXRelease ;R;
__Quit ;R;
__ReportForm ;R;
__Run ;R;
__SetCentury ;R;
__SetFormat ;R;
__SetFunction ;R;
__TextRestore ;R;
__TextSave ;R;
__TypeFile ;R;
__Wait ;R;
__XRestScreen ;R;
__XSaveScreen ;R;
; GET SYSTEM
GETACTIVE ;R;
GETAPPLYKEY ;R;
GETDOSETKEY ;R;
GETPOSTVALIDATE ;R;
GETPREVALIDATE ;R;
GETREADER ;R;
READFORMAT ;R;
READKILL ;R;
READUPDATED ;R;
UPDATED ;R;
; ERROR OBJECT
ErrorNew ;R;
:Args ;R;
:CanDefault ;R;
:CanRetry ;R;
:CanSubstitute ;R;
:Cargo ;R;
:Description ;R;
:FileName ;R;
:GenCode ;R;
:Operation ;R;
:OsCode ;R;
:Severity ;R;
:SubCode ;R;
:SubSystem ;R;
:Tries ;R;
; GET OBJECT
GetNew ;S;
:BadDate ;S;
:Block ;S;
:Buffer ;S;
:Cargo ;S;
:Changed ;S;
:Clear ;S;
:Col ;S;
:ColorSpec ;S;
:DecPos ;S;
:ExitState ;S;
:HasFocus ;S;
:Minus ;S;
:Name ;S;
:Original ;S;
:Picture ;S;
:Pos ;S;
:PostBlock ;S;
:PreBlock ;S;
:Reader ;S;
:Rejected ;S;
:Row ;S;
:SubScript ;S;
:Type ;S;
:TypeOut ;S;
:Assign ;S;
:ColorDisp ;S;
:Display ;S;
:killFocus ;S;
:Reset ;S;
:SetFocus ;S;
:Undo ;S;
:UnTransform ;S;
:UpDateBuffer ;S;
:VarGet ;S;
:VarPut ;S;
:End ;S;
:Home ;S;
:Left ;S;
:Right ;S;
:ToDecPos ;S;
:WordLeft ;S;
:WordRight ;S;
:BackSpace ;S;
:Delete ;S;
:DelEnd ;S;
:DelLeft ;S;
:DelRight ;S;
:DelWordLeft ;S;
:DelWordRight ;S;
:Insert ;S;
:OverStrike ;S;
; TBROWSE OBJECT
TBrowseNew ;S;
TBrowseDB ;S;
:AutoLite ;S;
:Cargo ;S;
:ColCount ;S;
:ColorSpec ;S;
:ColPos ;S;
:ColSep ;S;
:FootSep ;S;
:Freeze ;S;
:GoBottomBlock ;S;
:GoTopBlock ;S;
:HeadSep ;S;
:HitBottom ;S;
:HitTop ;S;
:LeftVisible ;S;
:nBottom ;S;
:nLeft ;S;
:nRight ;S;
:nTop ;S;
:RightVisible ;S;
:RowCount ;S;
:RowPos ;S;
:SkipBlock ;S;
:Stable ;S;
:Down ;S;
:end ;S;
:GoBottom ;S;
:GoTop ;S;
:Home ;S;
:Left ;S;
:PageDown ;S;
:PageUp ;S;
:PanEnd ;S;
:PanHome ;S;
:PanLeft ;S;
:PanRight ;S;
:Right ;S;
:Up ;S;
:AddColumn ;S;
:ColorRect ;S;
:ColWidth ;S;
:Configure ;S;
:DeHilite ;S;
:DelColumn ;S;
:ForceStable ;S;
:GetColumn ;S;
:Hilite ;S;
:InsColumn ;S;
:Invalidate ;S;
:RefreshAll ;S;
:RefreshCurrent ;S;
:SetColumn ;S;
:Stabilize ;S;
; TBCOLUMN OBJECT
TBColumnNew ;S;
:Block ;S;
:Cargo ;S;
:ColorBlock ;S;
:ColSep ;S;
:DefColor ;S;
:Footing ;S;
:FootSep ;S;
:Heading ;S;
:HeadSep ;S;
:Picture ;S;
:Width ;S;
; EXTEND API
_parc ;R;
_parclen ;R;
_parcsiz ;R;
_pards ;R;
_parinfa ;R;
_parinfo ;R;
_parl ;R;
_parnd ;R;
_parni ;R;
_parnl ;R;
_ret ;R;
_retc ;R;
_retclen ;R;
_retds ;R;
_retl ;R;
_retnd ;R;
_retni ;R;
_retnl ;R;
_storc ;R;
_storclen ;R;
_stords ;R;
_storl ;R;
_stornd ;R;
_storni ;R;
_stornl ;R;
; ITEM API
_evalLaunch ;R;
_evalNew ;R;
_evalPutParam ;R;
_evalRelease ;R;
_itemArrayGet ;R;
_itemArrayNew ;R;
_itemArrayPut ;R;
_itemCopyC ;R;
_itemFreeC ;R;
_itemGetC ;R;
_itemGetDS ;R;
_itemGetL ;R;
_itemGetND ;R;
_itemGetNL ;R;
_itemNew ;R;
_itemParam ;R;
_itemPutC ;R;
_itemPutCL ;R;
_itemPutDS ;R;
_itemPutL ;R;
_itemPutND ;R;
_itemPutNL ;R;
_itemRelease ;R;
_itemReturn ;R;
_itemSize ;R;
_itemType ;R;
; FIXED MEMORY API
_xalloc ;R;
_xfree ;R;
_xgrab ;R;
; VIRTUAL MEMORY API
_xvalloc ;R;
_xvfree ;R;
_xvheapalloc ;R;
_xvheapdestroy ;R;
_xvheapfree ;R;
_xvheaplock ;R;
_xvheapnew ;R;
_xvheapresize ;R;
_xvheapunlock ;R;
_xvlock ;R;
_xvlockcount ;R;
_xvrealloc ;R;
_xvsize ;R;
_xvunlock ;R;
_xvunwire ;R;
_xvwire ;R;
: ERROR API
_errGetDescrip ;R;
_errGetFileName ;R;
_errGetFlags ;R;
_errGetGenCode ;R;
_errGetOperation ;R;
_errGetOsCode ;R;
_errGetSeverity ;R;
_errGetSubCode ;R;
_errGetSubSystem ;R;
_errGetTries ;R;
_errLaunch ;R;
_errNew ;R;
_errPutDescrip ;R;
_errPutFileName ;R;
_errPutFlags ;R;
_errPutGenCode ;R;
_errPutOperation ;R;
_errPutOsCode ;R;
_errPutSeverity ;R;
_errPutSubCode ;R;
_errPutSubSystem ;R;
_errPutTries ;R;
_errRelease ;R;
; FILESYS API
_fsChDir ;R;
_fsChDrv ;R;
_fsClose ;R;
_fsCommit ;R;
_fsCreate ;R;
_fsCurDir ;S;
_fsCurDrv ;R;
_fsDelete ;R;
_fsError ;R;
_fsExtOpen ;S;
_fsIsDrv ;R;
_fsLock ;R;
_fsMkDir ;R;
_fsOpen ;R;
_fsRead ;R;
_fsRmDir ;R;
_fsRename ;R;
_fsSeek ;R;
_fsWrite ;R;
; GT API
_gtBox ;S;
_gtBoxD ;S;
_gtBoxS ;S;
_gtColorSelect ;S;
_gtDispBegin ;S;
_gtDispCount ;S;
_gtDispEnd ;S;
_gtGetColorStr ;S;
_gtGetCursor ;S;
_gtGetPos ;S;
_gtIsColor ;S;
_gtMaxCol ;S;
_gtMaxRow ;S;
_gtPostExt ;S;
_gtPreExt ;S;
_gtRectSize ;S;
_gtRepChar ;S;
_gtRest ;S;
_gtSave ;S;
_gtScrDim ;S;
_gtScroll ;S;
_gtSetBlink ;S;
_gtSetColorStr ;S;
_gtSetCursor ;S;
_gtSetMode ;S;
_gtSetPos ;S;
_gtSetSnowFlag ;S;
_gtWrite ;S;
_gtWriteAt ;S;
_gtWriteCon ;S;
; RDD
; TODO:
; UNDOCUMENTED
; TODO:

View File

@@ -269,20 +269,16 @@ NOTES
In order to get a clean build after making source changes or after
receiving updated source files, you must use the following two steps:
1) make -r clean
3) make -r
1) make clean
3) make
Without the first step, changes to the Harbour compiler and/or various
include files will not be reflected in any object modules created from
Harbour source code.
The -r option isn't strictly necessary, but it does signficantly reduce
the number of rules that make has to evaluate otherwise, which may give
a performance boost on a slow system.
To rebuild only a part of Harbour, go to the appropriate source directory
and then run 'make -r'. For example, to rebuild all of Harbour, but not
and then run 'make'. For example, to rebuild all of Harbour, but not
the test programs, change to the 'source' directory. To rebuild only the
test programs, change to the 'test' directory.

View File

@@ -1,57 +0,0 @@
/*
* $Id$
*/
Hbmake Readme
Hbmake is an powerful make system for Harbour. It include an Editor mode for
the creation of the make file.
Hbmake support the follow Switchs
-b Use BCC as the C compiler. This options is default under Windows
-g Use GCC as the C compiler. This options is default under OS/2
-gl Use GCC as the C compiler on Linux
-v Use MSVC as the C compiler
-D Define an macro. Multiple macros can be used in an single line
Ex:
-DOB=c.obj;d.obj
and also Multiple -D is also supported
-p Print all command and defines
-f Force all files to be rebuild
-e Open the editor mode.
-ex Open the editor mode in extended mode
-el Open the editor mode for creating libraries.
-elx Open the editor mode for creating librariesin extented mode.
-i Ignore errors returned by commands
-r Recurse directories for source code
The hbmake dont support old styles .rmk/.lnk Files. hbmake create it own when the editor mode is used with include both compile and link sections on the same file.
Now How to use the editor mode
go to the directory from with the application source that you to
convert.
call hbmake <filename>.bc -e
this will evoke hbmake editor mode.
then select your OS,C Compiler
If you need an Graphic library such as FWH or C4W, select the appropiate box, if you also use rddads. also check this box.
Select the harbour compiler options that you also what to use, along
with
the defaut values
Select the files that will be part of your app
then select the main file
then the new make file is create.
then call hbmake <filename>.bc
If you have compiler errors use hbmake <filename>.bc -f
Linux user need to create the harbour.cfg file in /etc or /usr/local/etc with the follow lines
CC=gcc
CFLAGS=-c -I/usr/include/harbour (this line must match your harbour include directory)
VERBOSE=YES
DELTMP=YES

View File

@@ -1,30 +0,0 @@
/*
* $Id$
*/
HOW TO BUILD HARBOUR FROM THE SOURCE
------------------------------------
You'll need these:
- Flex
- Bison 1.28 or upper (set BISON_SIMPLE envvar to point to bison.simple)
- A supported (check make_gnu.bat for a list) C compiler
(with all the envvars set (PATH, LIB, INCLUDE, etc...))
- GNU-make if you want to use it with some other C compiler than GCC
(as GCC already comes with GNU-make)
- Harbour source
- Around 10-15MB of free disk space for each separate platform/compiler
combinations.
To build Harbour using GNU-make:
- Set the required two envvars (check MAKE_GNU.* for them)
- Run make_gnu.*
To build Harbour using non-GNU make with BCC 4.x, 5.x:
- make_b32.bat
To build Harbour using non-GNU make with MSVC:
- make_vc.bat
To build a final executable, see above, but use bin/bld*.*
instead of make*.*
Viktor Szakats <viktor.szakats@syenar.hu>

View File

@@ -1,74 +0,0 @@
/*
* $Id$
*/
.hrb FAQ list 1999/05/19:
Current only available in a 32bit Intel version.
HRB structure (also known as Harbour Portable Objects) and
Runner (also known as TugBoat, Stubbing Executables (not yet) )
To create a runner :
C:..> bld32exe runner
Once the runner is created,
To create a .hrb and run it :
C:..> hbrun <filename>
If you just want to run a .hrb file :
C:..> runner <filename with .hrb>
If you just want to create a .hrb file :
Use command-line switch -gHRB when invoking Harbour
To see the contents of a .hrb file :
C:..> clipper readhrb /n/a/w {I am sorry}
C:..> blinker @readhrb
C:..> readhrb <filename without .hrb> {What do mean consistent}
If it goes too fast a readhrb.out is created containing the screen
output.
To run a .hrb file within a .prg (only possible if the .prg is compiled as a
.hrb file) :
HB_Run( <cFileName> )
-------------------------------------------------------------------------------
HRB structure (also known as Harbour Portable Objects) and
Runner (also known as TugBoat, Stubbing Executables (not yet) )
Version 1.0
The ultimate version will of course feature more, but let's just stick to the
minimal requirements.
The .hrb structure consists :
<ulSymbols> Long containing the number of symbols
{
<szSymbol> Name of symbol
<bScope> Scope of symbol
<bLinkType> Link type :
0 = NO_LINK (ie DATA symbol)
1 = FUNCTION* in .prg itself
2 = EXTERN. Link function pointer at run-time.
}
<ulFuncs> Long containing the number of functions
{
<szSymbol> Name of function
<ulLen> Length of function
<aPCode> PCode of function
}
* Since the module name itself is a symbol during compilation. ProcName()
was recognized as an internal function.
During the run-time link the runner therefore checks whether the compiler
has correctly identified a symbol as contained in .prg itself.

View File

@@ -1,217 +0,0 @@
/*
* $Id$
*/
Language codes
==============
RFC ID Name ISO Language ID
------ ------------------------------ ---------------
AA Afar AA
AB Abkhazian AB
AF Afrikaans AF
AM Amharic AM
AR Arabic AR
AR-AE Arabic (U.A.E.) AR
AR-BH Arabic (Bahrain) AR
AR-DZ Arabic (Algeria) AR
AR-EG Arabic (Egypt) AR
AR-IQ Arabic (Iraq) AR
AR-JO Arabic (Jordan) AR
AR-KW Arabic (Kuwait) AR
AR-LB Arabic (Lebanon) AR
AR-LY Arabic (Libya) AR
AR-MA Arabic (Morocco) AR
AR-OM Arabic (Oman) AR
AR-QA Arabic (Qatar) AR
AR-SA Arabic (Saudi Arabia) AR
AR-SY Arabic (Syria) AR
AR-TN Arabic (Tunisia) AR
AR-YE Arabic (Yemen) AR
AS Assamese AS
AY Aymara AY
AZ Azerbaijani AZ
BA Bashkir BA
BE Byelorussian BE
BG Bulgarian BG
BH Bihari BH
BI Bislama BI
BN Bengali, Bangla BN
BO Tibetan BO
BR Breton BR
CA Catalan CA
CO Corsican CO
CS Czech CS
CY Welsh CY
DA Danish DA
DE German DE
DE-AT German (Austria) DE
DE-CH German (Swiss) DE
DE-LI German (Liechtenstein) DE
DE-LU German (Luxembourg) DE
DZ Bhutani DZ
EL Greek EL
EN English EN
EN-AU English (Australian) EN
EN-BZ English (Belize) EN
EN-CA English (Canadian) EN
EN-GB English (British) EN
EN-IE English (Ireland) EN
EN-JM English (Jamaica) EN
EN-JP English (Japan) EN
EN-NZ English (New Zealand) EN
EN-TT English (Trinidad) EN
EN-US English (USA) EN
EN-ZA English (South Africa) EN
EO Esperanto EO
ES Spanish ES
ES-AR Spanish (Argentina) ES
ES-BO Spanish (Bolivia) ES
ES-CL Spanish (Chile) ES
ES-CO Spanish (Colombia) ES
ES-CR Spanish (Costa Rica) ES
ES-DO Spanish (Dominican Republic) ES
ES-EC Spanish (Ecuador) ES
ES-GT Spanish (Guatemala) ES
ES-HN Spanish (Honduras) ES
ES-MX Spanish (Mexican) ES
ES-NI Spanish (Nicaragua) ES
ES-PA Spanish (Panama) ES
ES-PE Spanish (Peru) ES
ES-PR Spanish (Puerto Rico) ES
ES-PY Spanish (Paraguay) ES
ES-SV Spanish (El Salvador) ES
ES-UY Spanish (Uruguay) ES
ES-VE Spanish (Venezuela) ES
ET Estonian ET
EU Basque EU
FA Persian FA
FI Finnish FI
FJ Fiji FJ
FO Faeroese FO
FR French FR
FR-BE French (Belgian) FR
FR-CA French (Canadian) FR
FR-CH French (Swiss) FR
FR-LU French (Luxembourg) FR
FY Frisian FY
GA Irish GA
GD Scots Gaelic GD
GL Galician GL
GN Guarani GN
GU Gujarati GU
HA Hausa HA
HE Hebrew HE
HI Hindi HI
HR Croatian HR
HU Hungarian HU
HY Armenian HY
IA Interlingua IA
ID Indonesian ID
IE Interlingue IE
IK Inupiak IK
IN Indonesian (-) IN
IS Icelandic IS
IT Italian IT
IT-CH Italian (Swiss) IT
IU Inuktitut IU
IW Hebrew (-) IW
JA Japanese JA
JI Yiddish (-) JI
JW Javanese JW
KA Georgian KA
KK Kazakh KK
KL Greenlandic KL
KM Cambodian KM
KN Kannada KN
KO Korean KO
KS Kashmiri KS
KU Kurdish KU
KY Kirghiz KY
LA Latin LA
LN Lingala LN
LO Laothian LO
LT Lithuanian LT
LV Latvian, Lettish LV
MG Malagasy MG
MI Maori MI
MK Macedonian MK
ML Malayalam ML
MN Mongolian MN
MO Moldavian MO
MR Marathi MR
MS Malay MS
MT Maltese MT
MY Burmese MY
NA Nauru NA
NE Nepali NE
NL Dutch NL
NL-BE Dutch (Belgian) NL
NO Norwegian NO
NO-BOK Norwegian (bokmal) NO
NO-NYN Norwegian (Nynorsk) NO
OC Occitan OC
OM (Afan) Oromo OM
OR Oriya OR
PA Punjabi PA
PL Polish PL
PS Pashto, Pushto PS
PT Portuguese PT
PT-BR Portuguese (Brazilian) PT
QU Quechua QU
RM Rhaeto-Romance RM
RN Kirundi RN
RO Romanian RO
RO-MO Romanian (Moldavia) RO
RU Russian RU
RU-MO Russian (Moldavia) RU
RW Kinyarwanda RW
SA Sanskrit SA
SD Sindhi SD
SG Sangro SG
SH Serbo-Croatian SH
SI Singhalese SI
SK Slovak SK
SL Slovenian SL
SM Samoan SM
SN Shona SN
SO Somali SO
SQ Albanian SQ
SR Serbian SR
SS Siswati SS
ST Sesotho ST
SU Sundanese SU
SV Swedish SV
SV-FI Swedish (Finland) SV
SW Swahili SW
TA Tamil TA
TE Tegulu TE
TG Tajik TG
TH Thai TH
TI Tigrinya TI
TK Turkmen TK
TL Tagalog TL
TN Setswana TN
TO Tonga TO
TR Turkish TR
TS Tsonga TS
TT Tatar TT
TW Twi TW
UG Uigur UG
UK Ukrainian UK
UR Urdu UR
UZ Uzbek UZ
VI Vietnamese VI
VO Volapuk VO
WO Wolof WO
XH Xhosa XH
YI Yiddish YI
YO Yoruba YO
ZA Zhuang ZA
ZH Chinese ZH
ZH-CN Chinese (PRC) ZH
ZH-HK Chinese (Hong Kong) ZH
ZH-SG Chinese (Singapore) ZH
ZH-TW Chinese (Taiwan) ZH
ZU Zulu ZU

View File

@@ -94,7 +94,7 @@ Section "Main components" hb_main
File "include\*.*"
SetOutPath $INSTDIR\doc
File "doc\*.*"
File /r "doc\*.*"
; Write the installation path into the registry
; WriteRegStr HKLM "Software\Harbour" "Install_Dir" "$INSTDIR"

View File

@@ -494,11 +494,11 @@ FUNCTION Main( ... )
ELSE
IF Empty( aCOMPDET )
OutErr( "hbmk: Please choose a compiler by using -comp= option or envvar HB_COMPILER." + hb_osNewLine() )
OutErr( " You have the following choices on your platform: " + hb_osNewLine() )
OutErr( " You have the following choices on your platform:" + hb_osNewLine() )
OutErr( " " + ArrayToList( aCOMPSUP, ", " ) + hb_osNewLine() )
ELSE
OutErr( "hbmk: Harbour Make couldn't detect any supported C compiler in your PATH." + hb_osNewLine() )
OutErr( " Please setup one or set -comp= option or envvar HB_COMPILER " + hb_osNewLine() )
OutErr( " Please setup one or set -comp= option or envvar HB_COMPILER" + hb_osNewLine() )
OutErr( " to one of these values:" + hb_osNewLine() )
OutErr( " " + ArrayToList( aCOMPSUP, ", " ) + hb_osNewLine() )
ENDIF