[Harbour] hbdoc and documentation

2009-03-23 Thread Alejandro de Garate
Some thoughts about doc directory: Almost (if not all) the files in \doc directory do not have format (plain text) so it's difficult to aply them any category for menuing or classify it. I think we must give some basic format to them to get more functionality (I did some basic test)

[Harbour] SF.net SVN: harbour-project:[10684] trunk/harbour

2009-03-23 Thread druzus
Revision: 10684 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10684&view=rev Author: druzus Date: 2009-03-24 00:02:25 + (Tue, 24 Mar 2009) Log Message: --- 2009-03-24 01:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/speedts

Re: [Harbour] error in hbwin ole with msvc

2009-03-23 Thread Przemyslaw Czerpak
On Mon, 23 Mar 2009, Francesco Saverio Giudice wrote: Hi, > tested also after > 2009-03-23 21:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/contrib/hbodbc/odbc.c > * harbour/contrib/hbtpathy/tpwin.c > * harbour/contrib/hbwin/win_ole.c > * harbour/contrib/hbwin/win_re

Re: [Harbour] error in hbwin ole with msvc

2009-03-23 Thread Francesco Saverio Giudice
Hi Viktor, Przemek, tested also after 2009-03-23 21:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbodbc/odbc.c * harbour/contrib/hbtpathy/tpwin.c * harbour/contrib/hbwin/win_ole.c * harbour/contrib/hbwin/win_regc.c ! casting but the -TP problem is still t

[Harbour] SF.net SVN: harbour-project:[10683] trunk/harbour

2009-03-23 Thread druzus
Revision: 10683 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10683&view=rev Author: druzus Date: 2009-03-23 21:02:04 + (Mon, 23 Mar 2009) Log Message: --- 2009-03-23 22:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg

Re: [Harbour] SF.net SVN: harbour-project:[10670] trunk/harbour

2009-03-23 Thread Pritpal Bedi
Hi Viktor > I suggest to you a .prg script to do such conversion :) I have already thought of it with much more capabilities. Probably we can write the whole wrappers with validations with just prototypes. I am working on it. Regards Pritpal Bedi -- View this message in context: http://ww

[Harbour] SF.net SVN: harbour-project:[10682] trunk/harbour

2009-03-23 Thread druzus
Revision: 10682 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10682&view=rev Author: druzus Date: 2009-03-23 20:36:34 + (Mon, 23 Mar 2009) Log Message: --- 2009-03-23 21:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbodb

Re: [Harbour] error in hbwin ole with msvc

2009-03-23 Thread Francesco Saverio Giudice
Hi Viktor, Il 23/03/2009 17.05, Viktor Szakáts ha scritto: PS: I will test also you patch ASAP to see if it also solves the problem. I have tested your patch. Results (full SVN rebuilt with MSVC 2008 express) : 1) without -TP flag in msvc.cf contrib/hbwin/tests/testole.prg selectin

Re: [Harbour] SF.net SVN: harbour-project:[10670] trunk/harbour

2009-03-23 Thread Przemyslaw Czerpak
On Mon, 23 Mar 2009, Marcos Gambeta wrote: Hi, > -mwindows e mno-cygwin can be removed. Only -Wl,-subsystem,windows is > necessary. AFAIK -mwindows/-mconsole should be used instead of using directly LD parameters. Of course both will probably make the same job in your case but GCC knows about -

[Harbour] SF.net SVN: harbour-project:[10681] trunk/harbour

2009-03-23 Thread druzus
Revision: 10681 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10681&view=rev Author: druzus Date: 2009-03-23 19:39:59 + (Mon, 23 Mar 2009) Log Message: --- 2009-03-23 20:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcla

Re: [Harbour] SF.net SVN: harbour-project:[10670] trunk/harbour

2009-03-23 Thread Marcos Gambeta
vouch...@users.sourceforge.net escreveu: Revision: 10670 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10670&view=rev Author: vouchcac Date: 2009-03-21 16:05:10 + (Sat, 21 Mar 2009) Log Message: --- + harbour/contrib/hbqt/tests + harbour/contri

[Harbour] DATETIME and memo FPT in VFP

2009-03-23 Thread Przemyslaw Czerpak
Hi All, I've got a question about VFP and storing DATETIME values in memo FPT files. Is is possible? If yes then I would like to ask about DBF/FPT files created in VFP by this code: proc main() dbCreate( "_tsttime", { { "F1", "M", 4, 0 } } ) use _tsttime append blank re

Re: [Harbour] Embedding 3rd party projects

2009-03-23 Thread Viktor Szakáts
> > Il 23/03/2009 17.27, Viktor Szakáts ha scritto: > >> I'd like to propose a way to add 3rd party code to Harbour in an organized >> way. >> > > very interesting subject. > AFAIR SVN should permits to handle external projects. > I have seen this in other projects, but in this moment I don't recal

Re: [Harbour] Embedding 3rd party projects

2009-03-23 Thread Francesco Saverio Giudice
Hi Viktor, Il 23/03/2009 17.27, Viktor Szakáts ha scritto: I'd like to propose a way to add 3rd party code to Harbour in an organized way. very interesting subject. AFAIR SVN should permits to handle external projects. I have seen this in other projects, but in this moment I don't recall any

[Harbour] Embedding 3rd party projects

2009-03-23 Thread Viktor Szakáts
Hi All, I'd like to propose a way to add 3rd party code to Harbour in an organized way. We already have zlib and pcre in core, and sqlite3 in contrib. In the first pass (or even at all) I wouldn't like to touch zlib and pcre in this respect, but for sqlite3 and some other potential libs like

Re: [Harbour] SF.net SVN: harbour-project:[10671] trunk/harbour

2009-03-23 Thread Viktor Szakáts
Hi Przemek, > Thanks, and yes, __MINGW64__ is the way to detect MinGW64. > > Fine, > Can it cleanly compile it now? > It should fix this errors: > Temp/ccVJXjZS.s:19: Error: Incorrect register `%rax' used with `l' suffix > Temp/ccVJXjZS.s:20: Error: `0x0e10(%rax,%ecx,4)' is not a valid > base/

Re: [Harbour] error in hbwin ole with msvc

2009-03-23 Thread Viktor Szakáts
Hi Francesco, found the problem: is -TP flag used in config/win/msvc.cf at line 15. > > I have removed it changing from > CPPFLAGS = -nologo -W4 -wd4127 -Gs -I. -I$(HB_INC_COMPILE) -TP > to > CPPFLAGS = -nologo -W4 -wd4127 -Gs -I. -I$(HB_INC_COMPILE) > > and now ole works again with msvc. > Now I'

[Harbour] SF.net SVN: harbour-project:[10680] trunk/harbour

2009-03-23 Thread druzus
Revision: 10680 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10680&view=rev Author: druzus Date: 2009-03-23 15:57:39 + (Mon, 23 Mar 2009) Log Message: --- 2009-03-23 17:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/ite

Re: [Harbour] SF.net SVN: harbour-project:[10671] trunk/harbour

2009-03-23 Thread Przemyslaw Czerpak
On Mon, 23 Mar 2009, Szak�ts Viktor wrote: Hi, > > 2009-03-22 18:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > > * harbour/include/hbstack.h > >* added alternative asm inline function to __MINGW32__ builds which > > operates on 64bit pointers. It's used when __MINGW64__ macr

Re: [Harbour] error in hbwin ole with msvc

2009-03-23 Thread Francesco Saverio Giudice
Hi Viktor, found the problem: is -TP flag used in config/win/msvc.cf at line 15. I have removed it changing from CPPFLAGS = -nologo -W4 -wd4127 -Gs -I. -I$(HB_INC_COMPILE) -TP to CPPFLAGS = -nologo -W4 -wd4127 -Gs -I. -I$(HB_INC_COMPILE) and now ole works again with msvc. Now I'm testing other p

[Harbour] SF.net SVN: harbour-project:[10679] trunk/harbour

2009-03-23 Thread druzus
Revision: 10679 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10679&view=rev Author: druzus Date: 2009-03-23 15:00:44 + (Mon, 23 Mar 2009) Log Message: --- 2009-03-23 16:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppc

Re: [Harbour] hbtpathy won't send chr(13)

2009-03-23 Thread Viktor Szakáts
Thanks for the feedback. Brgds, Viktor On Mon, Mar 23, 2009 at 3:42 PM, Barry Jackson wrote: > @Przemek > Thanks - rpm builds fine now - I will check out your other comments. > > @Viktor > The latest SVN has cured the hbtpathy problem - many thanks! > > [...@jackodesktop hbr]$ testsend > 0 1

Re: [Harbour] hbtpathy won't send chr(13)

2009-03-23 Thread Barry Jackson
@Przemek Thanks - rpm builds fine now - I will check out your other comments. @Viktor The latest SVN has cured the hbtpathy problem - many thanks! [...@jackodesktop hbr]$ testsend 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 4 25 26 27 2

Re: [Harbour] hbtpathy won't send chr(13)

2009-03-23 Thread Przemyslaw Czerpak
On Mon, 23 Mar 2009, Barry Jackson wrote: Hi, > [...@jackodesktop hbr]$ testsend > testsend: error while loading shared libraries: libharbour.so: cannot open > shared object file: No such file or directory > What is now really needed in environment? I have nothing in there for > harbour at pre

Re: [Harbour] hbtpathy won't send chr(13)

2009-03-23 Thread Barry Jackson
Thanks Przemek, I did have .rpmmacros set. When I used mpkg_rpm.sh in the past the install defaulted to:- /usr/bin /usr/lib/harbour /usr/include/harbour Just now to avoid the rpm I built harbour from $ make_gnu.sh and # make_gnu.sh install (with no harbour paths set in environment) and it defau

[Harbour] SF.net SVN: harbour-project:[10678] trunk/harbour

2009-03-23 Thread druzus
Revision: 10678 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10678&view=rev Author: druzus Date: 2009-03-23 13:48:23 + (Mon, 23 Mar 2009) Log Message: --- 2009-03-23 14:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/debian/dirs

Re: [Harbour] hbtpathy won't send chr(13)

2009-03-23 Thread Przemyslaw Czerpak
On Mon, 23 Mar 2009, Barry Jackson wrote: Hi, > Thanks Viktor - however I can't build latest SVN with mpkg_rpm.sh. > I tried a clean build with no RPM folder and the script failed - I had to > make the RPM tree manually before it would run.(I expected it to make a new > one automatically) It m

Re: [Harbour] hbtpathy won't send chr(13)

2009-03-23 Thread Barry Jackson
Sorry abt direct mail - my mistake I hit reply! Thanks Viktor - however I can't build latest SVN with mpkg_rpm.sh. I tried a clean build with no RPM folder and the script failed - I had to make the RPM tree manually before it would run.(I expected it to make a new one automatically) Now it fai

Re: [Harbour] error in hbwin ole with msvc

2009-03-23 Thread Viktor Szakáts
Thank you very much. I've attached a small patch to convert some parameters to ptr type, but it probably won't solve the problem by itself. Whole OLE code is very flakey, I hope Mindaugas can send us something before we release. BTW, new xhb whatsnew advertised that they had an OLE update which e

Re: [Harbour] error in hbwin ole with msvc

2009-03-23 Thread Francesco Saverio Giudice
Hi Viktor, Il 23/03/2009 10.36, Viktor Szakáts ha scritto: Hi Francesco, could easily be my MinGW64 changes broke it. I will check. Best regards, Francesco ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman

Re: [Harbour] error in hbwin ole with msvc

2009-03-23 Thread Viktor Szakáts
Hi Francesco, could easily be my MinGW64 changes broke it. Brgds, Viktor On Sun, Mar 22, 2009 at 10:26 PM, Francesco Saverio Giudice < i...@fsgiudice.com> wrote: > Hi, > > I have problems with ole using msvc that always returns error creating a > new ole object: > "Error: xx not available. [U

Re: [Harbour] SF.net SVN: harbour-project:[10671] trunk/harbour

2009-03-23 Thread Viktor Szakáts
> > 2009-03-22 18:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/include/hbstack.h >* added alternative asm inline function to __MINGW32__ builds which > operates on 64bit pointers. It's used when __MINGW64__ macro is > defined. I do not know if such macro existi

Re: [Harbour] SF.net SVN: harbour-project:[10670] trunk/harbour

2009-03-23 Thread Viktor Szakáts
I suggest to you a .prg script to do such conversion :) Brgds, Viktor On Sat, Mar 21, 2009 at 8:12 PM, Pritpal Bedi wrote: > > Thanks Marcos > > > Marcos Gambeta wrote: > > > > The php scripts are in the file hbqt001alpha.zip. Look in the folder > > gensource. > > > > I was just too fast, did not

Re: [Harbour] hbtpathy won't send chr(13)

2009-03-23 Thread Viktor Szakáts
Hi Barry, Pls try with latest Harbour version, I've fixed some bugs recently which can cause this e On Sun, Mar 22, 2009 at 1:22 AM, Barry Jackson wrote: > I just hit a problem with hbtpathy. It will not send chr(13). > All the other codes that I need it to transmit are OK. > Does anyone know wh

Re: [Harbour] hbtpathy won't send chr(13)

2009-03-23 Thread Alex Strickland
Barry Jackson wrote: I made a simple test which demonstrates the missing codes. Tab, LF, CR & SPACE are all missing. I can't figure out where this is happening. Sounds like trim() in the source somewhere. Regards Alex ___ Harbour mailing list Harbour

Re: [Harbour] Functions compatible with xHarbour

2009-03-23 Thread Viktor Szakáts
Hi, In Harbour, you can find these in hbct, hbwin, xhb libs. Link them and retry. Brgds, Viktor On Mon, Mar 23, 2009 at 3:28 AM, sygecom wrote: > > Anybody know what the functions below xharbour compatible with the Harbor ? > VALTOPRG() > HB_CRYPT() > MILLISEC() > CHARMIRR() > LASTDAYOM() > OS_