* harbour/contrib/tip/Makefile
- harbour/contrib/tip/atokens.c
* removed HB_ATOKENS()
- harbour/source/rtl/teditorl.c
- removed __STRTOKEN(), __STRTKPTR()
* harbour/common.mak
* harbour/source/rtl/Makefile
* harbour/include/hbextern.ch
+ harbour/source/rtl/hbtoken.c
+ added set of functions to manipulate string tokens:
HB_TOKENCOUNT( <cString>, [ <cDelim> ], [ <lSkipStrings> ],
[ <lDoubleQuoteOnly> ] ) -> <nTokens>
HB_TOKENGET( <cString>, <nToken>, [ <cDelim> ], [ <lSkipStrings> ],
[ <lDoubleQuoteOnly> ] ) -> <cToken>
HB_TOKENPTR( <cString>, @<nSkip>, [ <cDelim> ], [ <lSkipStrings> ],
[ <lDoubleQuoteOnly> ] ) -> <cToken>
HB_ATOKENS( <cString>, [ <cDelim> ], [ <lSkipStrings> ],
[ <lDoubleQuoteOnly> ] ) -> <aTokens>
All these functions use the same method of tokenization. They can
accept as delimiters string longer then one character. By default
they are using " " as delimiter. " " delimiter has special mening
Unlike other delimiters repeted ' ' characters does not create empty
tokens, f.e.: HB_ATOKENS( " 1 2 3 " ) returns array { "1", "2" }
Any other delimiters are restrictly counted, f.e. HB_ATOKENS( ",,1,,2,")
return array: { "", "", "1", "", "2", "" }.
+ added emulation for old __STRTOKEN(), __STRTKPTR() and xHarbour's
__STRTOKENCOUNT() by HB_TOKEN*() functions. They do not return
exactly the same result as __STRT*() functions which in some cases
ignored some delimiters and return wrong results.
* harbour/source/rdd/Makefile
+ harbour/source/rdd/dbsql.c
+ added __DBSQL() function
* harbour/include/hbsetup.h
* harbour/source/vm/fm.c
+ added support for native Windows memory allocation functions
It can be enabled by HB_FM_WIN32_ALLOC macro and disable C-RTL
memory manager.
* harbour/tests/mousetst.prg
* touch screen output before MPRESENT() to work with GTXWC
204 lines
3.2 KiB
Makefile
204 lines
3.2 KiB
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT = ../../
|
|
|
|
C_SOURCES=\
|
|
abs.c \
|
|
accept.c \
|
|
ampm.c \
|
|
at.c \
|
|
binnum.c \
|
|
binnumx.c \
|
|
box.c \
|
|
cdpapi.c \
|
|
chrasc.c \
|
|
colorind.c \
|
|
console.c \
|
|
copyfile.c \
|
|
datec.c \
|
|
dates.c \
|
|
dateshb.c \
|
|
datesx.c \
|
|
defpath.c \
|
|
descend.c \
|
|
dirdrive.c \
|
|
direct.c \
|
|
diskspac.c \
|
|
disksphb.c \
|
|
do.c \
|
|
empty.c \
|
|
errorapi.c \
|
|
errorint.c \
|
|
file.c \
|
|
filehb.c \
|
|
filesys.c \
|
|
fkmax.c \
|
|
fnsplit.c \
|
|
fserror.c \
|
|
fssize.c \
|
|
fstemp.c \
|
|
gete.c \
|
|
gt.c \
|
|
gtapi.c \
|
|
gtclip.c \
|
|
gtsys.c \
|
|
gttone.c \
|
|
gtfunc.c \
|
|
gx.c \
|
|
hardcr.c \
|
|
hbadler.c \
|
|
hbcrc.c \
|
|
hbmd5.c \
|
|
hbffind.c \
|
|
hbgtcore.c \
|
|
hbinet.c \
|
|
hbrandom.c \
|
|
hbregex.c \
|
|
hbtoken.c \
|
|
idle.c \
|
|
inkey.c \
|
|
is.c \
|
|
isprint.c \
|
|
itemseri.c \
|
|
langapi.c \
|
|
left.c \
|
|
len.c \
|
|
lennum.c \
|
|
math.c \
|
|
maxrow.c \
|
|
memofile.c \
|
|
memoline.c \
|
|
minmax.c \
|
|
mlcount.c \
|
|
mlctopos.c \
|
|
mlpos.c \
|
|
mod.c \
|
|
mouseapi.c \
|
|
mousex.c \
|
|
mpostolc.c \
|
|
mtran.c \
|
|
natmsg.c \
|
|
net.c \
|
|
oemansi.c \
|
|
oldbox.c \
|
|
oldclear.c \
|
|
pad.c \
|
|
padc.c \
|
|
padl.c \
|
|
padr.c \
|
|
philes.c \
|
|
philes53.c \
|
|
philesx.c \
|
|
rat.c \
|
|
replic.c \
|
|
right.c \
|
|
round.c \
|
|
run.c \
|
|
samples.c \
|
|
saverest.c \
|
|
scroll.c \
|
|
seconds.c \
|
|
set.c \
|
|
setcolor.c \
|
|
setcurs.c \
|
|
setkey.c \
|
|
setpos.c \
|
|
setposbs.c \
|
|
shadow.c \
|
|
soundex.c \
|
|
space.c \
|
|
spfiles.c \
|
|
str.c \
|
|
strcase.c \
|
|
strings.c \
|
|
strmatch.c \
|
|
strpeek.c \
|
|
strtran.c \
|
|
strzero.c \
|
|
stuff.c \
|
|
substr.c \
|
|
tone.c \
|
|
trace.c \
|
|
transfrm.c \
|
|
trim.c \
|
|
type.c \
|
|
val.c \
|
|
valtostr.c \
|
|
valtype.c \
|
|
version.c \
|
|
word.c \
|
|
xhelp.c \
|
|
xsavescr.c \
|
|
|
|
PRG_SOURCES=\
|
|
achoice.prg \
|
|
adir.prg \
|
|
altd.prg \
|
|
alert.prg \
|
|
browdb.prg \
|
|
browdbx.prg \
|
|
browse.prg \
|
|
checkbox.prg \
|
|
color53.prg \
|
|
dbedit.prg \
|
|
devoutp.prg \
|
|
dircmd.prg \
|
|
errorsys.prg \
|
|
fieldbl.prg \
|
|
getlist.prg \
|
|
getsys.prg \
|
|
input.prg \
|
|
listbox.prg \
|
|
memoedit.prg \
|
|
memvarbl.prg \
|
|
menuto.prg \
|
|
mssgline.prg \
|
|
objfunc.prg \
|
|
perfuncs.prg \
|
|
persist.prg \
|
|
profiler.prg \
|
|
pushbtn.prg \
|
|
radiobtn.prg \
|
|
radiogrp.prg \
|
|
readkey.prg \
|
|
readvar.prg \
|
|
scrollbr.prg \
|
|
setfunc.prg \
|
|
setta.prg \
|
|
symbol.prg \
|
|
tclass.prg \
|
|
tbcolumn.prg \
|
|
tbrowse.prg \
|
|
teditor.prg \
|
|
terror.prg \
|
|
text.prg \
|
|
tget.prg \
|
|
tgetint.prg \
|
|
tgetlist.prg \
|
|
tlabel.prg \
|
|
tmenuitm.prg \
|
|
tobject.prg \
|
|
tpopup.prg \
|
|
treport.prg \
|
|
ttextlin.prg \
|
|
ttopbar.prg \
|
|
typefile.prg \
|
|
wait.prg \
|
|
|
|
LIBNAME=rtl
|
|
|
|
# The list of all valid GT drivers is defined in config/<arch>/global.cf.
|
|
DIRS=$(HB_GT_LIBS)
|
|
|
|
include $(TOP)$(ROOT)config/lib.cf
|
|
include $(TOP)$(ROOT)config/dir.cf
|
|
|
|
ifneq ($(HB_GT_DEFAULT),)
|
|
CFLAGS += -DHB_GT_DEFAULT=$(HB_GT_DEFAULT:gt%=%)
|
|
endif
|
|
ifneq ($(HB_GT_LIB),)
|
|
CFLAGS += -DHB_GT_LIB=$(HB_GT_LIB:gt%=%)
|
|
endif
|