[Harbour] Re: 2007-11-30 20:25 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)

2008-01-08 Thread Chen Kedem
On Tue Jan 8 2008, Przemyslaw Czerpak wrote: > ChangeLog for modifications which introduce TSD support to Harbour This sounds great! > added support for static variables which are local to thread: > STATIC THREAD ], ...> There *might* be some collision with user code: static thread;

[Harbour] RDD Extension Request

2008-01-08 Thread Pritpal Bedi
Hi Przemek If you remember, I had requested a feature in RDD core to accept a CARGO parameter of type PHB_ITEM with every command responsible to create/open a table on xHarbour ML. Is there a chance it be provided in Harbour ? The protoype may be like: DbCreate( ,, xCargo ) USE CARGO

Re: [Harbour] Memoedit.prg & Teditor.prg

2008-01-08 Thread Pritpal Bedi
Hello Viktor Pritpal Bedi wrote: > > Could you pls post the files to see what changed and how? > I am awaiting your reply to this effect. It is not a big deal to keep these two files local to my own projects, but IMO, these deserve group attention too. Regards Pritpal Bedi, INDIA-USA --

Re: Re: [Harbour] 2007-11-30 20:25 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)

2008-01-08 Thread Pritpal Bedi
Hello Przemek, Marek, Viktor Przemyslaw Czerpak-2 wrote: > >> Exactly like Marek says. hb_stack*() API is not a public API, it's >> reserved for >> internal Harbour usage. It's needed for a proper separation of layers / >> components. > > I agree. Number of public functions does not increase

Re: [Harbour] A Question on Directives

2008-01-08 Thread Pritpal Bedi
Przemek Thanks for some clarifications and excellent TWINDOW class. In my opinion there is no harm to include this class in V1.0 if group agrees. Przemyslaw Czerpak-2 wrote: > > All expressions like: > IIF( .T., , ) > or: > IIF( .F., , ) > > Are fully optimized by compiler so only

Re: R: [Harbour] Clipper Compatibility (compiler variable declaration check)

2008-01-08 Thread Szakáts Viktor
I understand, thanks for the tip. I've just committed this modification. Something's still not right though. When compiling checkbox.prg (the first OO code in the build process), lots of syntax errors appear, then - after a slight pause - comes a memory allocation error: >harbour checkbox.prg /p

[Harbour] CHANGELOG: 2008-01-08 19:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

2008-01-08 Thread Szakáts Viktor
2008-01-08 19:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbclass.ch ! Enabling HB_CLS_NO_DECORATION if compiled with HB_C52_STRICT, since in strict mode some PP extensions required by the decoration feature are not available. (Thanks Przemek for the t

[Harbour] CHANGELOG:

2008-01-08 Thread Szakáts Viktor
2008-01-08 19:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbclass.ch ! Enabling HB_CLS_NO_DECORATION if compiled with HB_C52_STRICT, since in strict mode some PP extensions required by the decoration feature are not available. (Thanks Przemek for the t

Re: R: [Harbour] Clipper Compatibility (compiler variable declaration check)

2008-01-08 Thread Przemyslaw Czerpak
On Tue, 08 Jan 2008, Szakáts Viktor wrote: > You can implement this as a HB_C52_STRICT option IMO. > (As an aside, in my last tests Harbour didn't compile > with strict because of some OO compilation problems, but anyway). Yes. Clipper PP does not have identifier concatenation at all. In the momen

Re: R: [Harbour] Clipper Compatibility (compiler variable declaration check)

2008-01-08 Thread Szakáts Viktor
Hi Przemek, In Debug console "_Rig" have NUL value. "R_Per = _Rig + 1" return 1081 error The 2 function are in separate file. Now I'll make an easiest small sample. OK, this is reduce self contain example which illustrates the problem: PROC MAIN() PRIVATE p:="1" PRIVATE p:="2"

Re: [Harbour] pack_src.sh

2008-01-08 Thread Tomaž Zupan
Dne torek 8. januarja 2008 je Przemyslaw Czerpak napisal(a): > > Try attached pack_src.sh > it works! LP, Tomaž ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: R: [Harbour] Clipper Compatibility (compiler variable declaration check)

2008-01-08 Thread Przemyslaw Czerpak
On Tue, 08 Jan 2008, Massimo Renzi (MaticaSrl) wrote: > Hi Przemek, > thank you for your reply. > I would like present you my admiration of your work. > I don’t know how to say "Thank you for ever" for your great work. > So... > My source code is: > > ... > MAN_ARCH(Dir_Work,Dir_Cont,1,10,08) > ..

Re: [Harbour] pack_src.sh

2008-01-08 Thread Przemyslaw Czerpak
On Tue, 08 Jan 2008, Tomaž Zupan wrote: > Dne torek 8. januarja 2008 je Przemyslaw Czerpak napisal(a): > > Thank you. Your SVN does not use XML for entries files. > > What is the number in your: .svn/format file? > 8 Try attached pack_src.sh best regards, Przemek pack_src.sh Description: Bourne

Re: [Harbour] pack_src.sh

2008-01-08 Thread Tomaž Zupan
Dne torek 8. januarja 2008 je Przemyslaw Czerpak napisal(a): > Thank you. Your SVN does not use XML for entries files. > What is the number in your: .svn/format file? > 8 LP, Tomaž ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbou

Re: [Harbour] pack_src.sh

2008-01-08 Thread Przemyslaw Czerpak
On Tue, 08 Jan 2008, Tomaž Zupan wrote: > Sent to your private address. Thank you. Your SVN does not use XML for entries files. What is the number in your: .svn/format file? best regards, Przemek ___ Harbour mailing list Harbour@harbour-project.org http

Re: [Harbour] Autoincrement fields

2008-01-08 Thread Przemyslaw Czerpak
On Thu, 27 Dec 2007, Francesco Saverio Giudice wrote: > Hi All, > how may I use an autoincrement field ? > I would like to have a numeric value, but at the moment if I create a dbf > with below command, I got a datetime field. > dbcreate( "test", { {"USERID", "+", 12, 0 }, { "NAME", C, 20, 0 } },

Re: [Harbour] pack_src.sh

2008-01-08 Thread Tomaž Zupan
Dne torek 8. januarja 2008 je Przemyslaw Czerpak napisal(a): > > There seems to be a problem with this script, because I aleays get empty > > archive and thus make_rpm.sh script also fails. > If it's not bug in Mandriva SED then you probably > have repository with CRLF EOLs. How do you take it? I

Re: [Harbour] Re: 2007-11-30 20:25 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)

2008-01-08 Thread Przemyslaw Czerpak
On Mon, 07 Jan 2008, Szakáts Viktor wrote: > Hi, > Exactly like Marek says. hb_stack*() API > is not a public API, it's reserved for > internal Harbour usage. It's needed for a > proper separation of layers / components. I agree. Number of public functions does not increase functionality but serio

Re: [Harbour] Clipper Compatibility (compiler variable declaration check)

2008-01-08 Thread Przemyslaw Czerpak
On Tue, 08 Jan 2008, Massimo Renzi (MaticaSrl) wrote: > Hi all. > I'm converting Clipper project to Harbour. > I've that problem. > In some case Clipper developer has declared PRIVATE variable with the same > name of PARAMETER variable. > I know that the better think is to change the code but at

Re: [Harbour] A Question on Directives

2008-01-08 Thread Przemyslaw Czerpak
On Wed, 02 Jan 2008, Pritpal Bedi wrote: > Though first approach decreases the quantum of redefinition of directives, > but puts a runtime overhead to evaluate one IIF construct. Whereas in 2nd > approach, you end up writing more directives but you save one PCODE > evaluation at run-time. Hi Pritp

Re: [Harbour] pack_src.sh

2008-01-08 Thread Przemyslaw Czerpak
On Sat, 22 Dec 2007, Tomaž Zupan wrote: > Hi! > There seems to be a problem with this script, because I aleays get empty > archive and thus make_rpm.sh script also fails. > Problem is in this line: > for f in `sed -e '/^[ ]*name="..*"$/ !d' -e 's/^[ ]*name="\(.*\)"$/\1/g' > $d/entries` > Because