Re: [Harbour] 2008-01-11 18:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-01-12 Thread Przemyslaw Czerpak
On Sat, 12 Jan 2008, Mindaugas Kavaliauskas wrote: > what are situations and rules to use hb_itemLockReadCPtr()? Pointer to C > string could be obtained not only by using hb_itemGetCPtr(). There is a > number of other methods, hb_parc() is an example. > > HB_FUNC( MYFUNC2 ) > { >char* szPa

[Harbour] 2008-01-12 13:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-01-12 Thread Przemyslaw Czerpak
2008-01-12 13:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c ! fixed hb_itemLockReadCPtr() used for static strings best regards Przemek ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour

[Harbour] 2008-01-12 13:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-01-12 Thread Przemyslaw Czerpak
2008-01-12 13:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c - removed hb_itemLockReadCPtr()/hb_itemLockWriteCPtr()/hb_itemUnLockCPtr() Whole modification which will address all different aspects

[Harbour] How reduce concatenation size of numeric fields in index ?

2008-01-12 Thread Francesco Saverio Giudice
Hello Friends, I have a database that has 3 numeric fields likes: N1N 160 N2N 160 N3N 160 and I need to make a lot of indexes like INDEX ON Str(n1)+Str(n2)+Str(n3) TAG "n1n2n3" TO myindex INDEX ON Str(n2)+Str(n1)+Str(n3) TAG "n2n1n3" TO myindex ADDITIVE I

Re: [Harbour] How reduce concatenation size of numeric fields in index ?

2008-01-12 Thread Przemyslaw Czerpak
On Sat, 12 Jan 2008, Francesco Saverio Giudice wrote: > Hello Friends, > I have a database that has 3 numeric fields likes: > N1N 160 > N2N 160 > N3N 160 > and I need to make a lot of indexes like > INDEX ON Str(n1)+Str(n2)+Str(n3) TAG "n1n2n3" TO myindex > IN

[Harbour] TBrowse Behavior

2008-01-12 Thread Mario H. Sabado
Hi Viktor, Below test code when run between Harbour and xHarbour demonstrates one difference specifically on the TBrowse column alignment. I was able to compile in Harbour my whole console application successfully but this difference, personally, is a show stopper. If it's not too much to as

[Harbour] Selinux alert about libharbour-1.1.1.so

2008-01-12 Thread Lorenzo Fiorini
I report just for information what Selinux alerts under Fc8/i386 if I run an Harbour app that use libharbour-1.1.1.so: The x application attempted to load /usr/lib/libharbour-1.1.1.so which requires text relocation. This is a potential security problem. Most libraries do not need this permissi

Re: [Harbour] How reduce concatenation size of numeric fields inindex ?

2008-01-12 Thread Francesco Saverio Giudice
Hi Przemek, - Original Message - From: "Przemyslaw Czerpak" <[EMAIL PROTECTED]> To: "Harbour Project Main Developer List." Sent: Saturday, January 12, 2008 2:40 PM Subject: Re: [Harbour] How reduce concatenation size of numeric fields inindex ? [snip] CDX will compress such index

Re: [Harbour] 2008-01-11 18:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-01-12 Thread Petr Chornyj
Przemyslaw Czerpak-2 wrote: > > .. >> I feel my letter is more like brainstorming before a sleep than a letter >> of the ideas I really want to see implemented. Usage of >> hb_stackReturnItem() is more fast than making a copy of item. In many >> cases hb_stackReturnItem() is OK. Maybe we can