Re: [Harbour] within contrib\xhb\hblog.prg, "method" vs "procedure"?

2009-06-18 Thread Viktor Szakáts
Hi April, It probably works, but indeed looks a bit strange and not very consistent with other code, so I think the answer is yes. Brgds, Viktor On Fri, Jun 19, 2009 at 2:48 AM, April White wrote: > With in contrib\xhb\hblog.prg the class methods are identified as > 'procedure'. > > Should they

[Harbour] error compiling last SVN version

2009-06-18 Thread Bruno Luciani
Error compiling : C:/harbour_svn/config/mingw32-make -C vm mingw32-make[2]: Entering directory `C:/harbour_svn/source/vm' C:\harbour_svn\source\vm>if not exist win\. md win C:\harbour_svn\source\vm>if not exist win\mingw\. md win\mingw C:\harbour_svn\source\vm>if not exist ..\..\lib\win\. md

[Harbour] within contrib\xhb\hblog.prg, "method" vs "procedure"?

2009-06-18 Thread April White
With in contrib\xhb\hblog.prg the class methods are identified as 'procedure'. Should they be changed to 'method' and return SELF? April -- Saw it ... wanted it ... had a fit ... got it! ___ Harbour mailing list Harbour@harbour-project.org http://li

[Harbour] QT - How to retrieve events which are not SIGNALS on PRG level

2009-06-18 Thread Pritpal Bedi
Hello Marcos, Xavi, others How an event which is not a SIGNAL can be retrieved for a widget. Documentation of QWidget suggests that QWidget:focusInEvent etc can be implemented as a subclass and I can do that but for this I have to write a corrensponding class for each type of widget. QLineEdi

Re: [Harbour] 2009-06-18 21:18 UTC+0200 Jean lefebvre (jfl at mafact dot com)

2009-06-18 Thread Przemyslaw Czerpak
On Thu, 18 Jun 2009, J. Lefebvre wrote: Hi, > 2009-06-18 21:18 UTC+0200 Jean lefebvre (jfl at mafact dot com) > * vm/runner.c > + Added options to HB_HRBLOAD() : > HB_HRB_DEFAULT 0 // do not overwrite any functions, ignore > // public HRB fun

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

2009-06-18 Thread Jacek Sawicki
Hi Jean, File trunk/harbour/source/vm/runner.c line 413 & 414: shoudn't be HB_SYMB instead of _HB_SYMB? best regards Jacek mafact wrote: > > Revision: 11418 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11418&view=rev > Author: mafact > Date: 2009-06-18 1

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

2009-06-18 Thread vszakats
Revision: 11422 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11422&view=rev Author: vszakats Date: 2009-06-18 22:36:27 + (Thu, 18 Jun 2009) Log Message: --- 2009-06-19 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/vm/runner.c *

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

2009-06-18 Thread vszakats
Revision: 11421 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11421&view=rev Author: vszakats Date: 2009-06-18 22:24:27 + (Thu, 18 Jun 2009) Log Message: --- 2009-06-19 00:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * . ! Deleted "bugtraq:

Re: [Harbour] Mindaugas socket to core / RTL

2009-06-18 Thread Viktor Szakáts
Okay. On Thu, Jun 18, 2009 at 10:17 PM, Przemyslaw Czerpak wrote: > On Thu, 18 Jun 2009, Szak�ts Viktor wrote: > > Hi, > > > Is there any objections in adding new socket API > > developed by Mindaugas to core RTL lib? > > To me it seems a better / cleaner implementation, > > with a more natural H

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

2009-06-18 Thread vszakats
Revision: 11420 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11420&view=rev Author: vszakats Date: 2009-06-18 22:17:47 + (Thu, 18 Jun 2009) Log Message: --- 2009-06-19 00:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg

Re: [Harbour] (RE) 2009-06-18 21:18 UTC+0200 Jean lefebvre (jfl at mafact dot com)

2009-06-18 Thread Viktor Szakáts
Hi JF, You can add files using: svn add "filename" svn propset svn:keywords "Author Date Id Revision" "filename" svn propset svn:eol-style native "filename" Also, pls don't forget to add an SVN header, copyright header and the new files to corresponding Makefile. Brgds, Viktor On Thu, Jun 18, 2

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

2009-06-18 Thread Viktor Szakáts
Yes, right, I copied them from an older checkout, sorry. Now copied in from the right one: /* * $Id: ChangeLog 11403 2009-06-17 21:13:27Z vszakats $ */ Brgds, Viktor On Thu, Jun 18, 2009 at 10:12 PM, Pritpal Bedi wrote: > > Hello Viktor > > > vszakats wrote: > > > > Revision: 11417 > > > > >

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

2009-06-18 Thread vszakats
Revision: 11419 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11419&view=rev Author: vszakats Date: 2009-06-18 22:09:44 + (Thu, 18 Jun 2009) Log Message: --- 2009-06-19 00:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/gtwvg/gtwvg.c *

[Harbour] bug in hbmk2 ?

2009-06-18 Thread marek . horodyski
I have today build Harbour from naigtli zip file, and when try use it, see I: D:\LIBRARY.XHB\bin>hbmk2 -n -m -w2 -gc3 -std -gtwin homar.prg braki.prg -lhbct -lhomar -lhbwin Error BASE/1132 Bound error: array access (Quit) Error BASE/1132 Bound error: array access Called from HBMK(1188) Called f

Re: [Harbour] Mindaugas socket to core / RTL

2009-06-18 Thread Przemyslaw Czerpak
On Thu, 18 Jun 2009, Szak�ts Viktor wrote: Hi, > Is there any objections in adding new socket API > developed by Mindaugas to core RTL lib? > To me it seems a better / cleaner implementation, > with a more natural Harbour level API. It's also > friendlier with MT. Just like hb_inet it's not MT s

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

2009-06-18 Thread Pritpal Bedi
Hello Viktor vszakats wrote: > > Revision: 11417 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11417&view=rev > Author: vszakats > Date: 2009-06-18 16:26:30 + (Thu, 18 Jun 2009) > > Log Message: > --- > 2009-06-18 18:25 UTC+0200 Viktor Szakats

[Harbour] (RE) 2009-06-18 21:18 UTC+0200 Jean lefebvre (jfl at mafact dot com)

2009-06-18 Thread J. Lefebvre
I would also add one file to the include/ folder But I can't remember how to add files to the repository :-( Any help welcome :-) J. Lefebvre In the meantime, I can send the three files to anyone willing to do so for me :-) PS: at this time, using HB_HRB_KEEP_GLOBAL will disable HB_HRBUNLOAD

[Harbour] 2009-06-18 21:18 UTC+0200 Jean lefebvre (jfl at mafact dot com)

2009-06-18 Thread J. Lefebvre
2009-06-18 21:18 UTC+0200 Jean lefebvre (jfl at mafact dot com) * vm/runner.c + Added options to HB_HRBLOAD() : HB_HRB_DEFAULT 0 // do not overwrite any functions, ignore // public HRB functions if functions with

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

2009-06-18 Thread mafact
Revision: 11418 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11418&view=rev Author: mafact Date: 2009-06-18 19:25:56 + (Thu, 18 Jun 2009) Log Message: --- 2009-06-18 21:18 UTC+0200 Jean lefebvre (jfl at mafact dot com) Modified Paths: --

Re: [Harbour] Superlib

2009-06-18 Thread Bruno Luciani
ok thanks Viktor Bruno 2009/6/18 Viktor Szakáts > I'll fix this. It seems 'CLIPPER' compatibility C keyword isn't creating > HB_FUNC() > compatible names in Harbour. > Brgds, > Viktor > > On Thu, Jun 18, 2009 at 3:52 AM, Bruno Luciani wrote: > >> I am trying to test superlib >> >> I have creat

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

2009-06-18 Thread vszakats
Revision: 11417 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11417&view=rev Author: vszakats Date: 2009-06-18 16:26:30 + (Thu, 18 Jun 2009) Log Message: --- 2009-06-18 18:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/gtwvg/wvgscrlb.pr

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

2009-06-18 Thread vszakats
Revision: 11416 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11416&view=rev Author: vszakats Date: 2009-06-18 16:18:47 + (Thu, 18 Jun 2009) Log Message: --- 2009-06-18 18:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg

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

2009-06-18 Thread Pritpal Bedi
Hello Viktor Viktor Szakáts wrote: > > This script will do most of the renaming for you, just verify. Also if you > want camel-cased results in .prg, > you can tweak -r options to "wvg_SendMessage()" > (from WVG_SENDMESSAGE()). > > You can get gsar from this link: > http://gnuwin32.sourceforge

[Harbour] cross compile harbour for linux mipsel

2009-06-18 Thread Guy Roussin
Hi, I try to cross-compile harbour for linux mipsel on linux x86. I install all the stuff necessary to cross compilation for mipsel. I copy config/linux/gcc.cf to config/linux/mipsel-linux-gnu-gcc.cf $ diff -uNr config/linux/gcc.cf config/linux/mipsel-linux-gnu-gcc.cf --- config/linux/gcc.cf

[Harbour] RE: Connect to Oracle RDBMS.

2009-06-18 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Horodyski Marek (PZUZ) >Sent: Thursday, June 18, 2009 5:38 PM >To: 'Harbour Project Main Developer List.' >Subject: Connect to Oracle RDBMS. > >I obtained my first access to Oracle RDBMS from pure C code >via ocilib (this lib is portable and is matured) : >http:

[Harbour] Connect to Oracle RDBMS.

2009-06-18 Thread Horodyski Marek (PZUZ)
I obtained my first access to Oracle RDBMS from pure C code via ocilib (this lib is portable and is matured) : http://orclib.sourceforge.net/features/ and instant client. It is (this instant client ) big, > 150 Mb, one dll is bigger than 117Mb, only 2 or 3 dll are needed, but it is independent from

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

2009-06-18 Thread april
Revision: 11415 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11415&view=rev Author: april Date: 2009-06-18 14:43:17 + (Thu, 18 Jun 2009) Log Message: --- 2009-06-18 16:14 UTC+0600 April White (ap...@users.sourceforge.net) * source/rtl/mlcfunc.c

[Harbour] using memoline

2009-06-18 Thread April White
I am trying to not reinvent the wheel while working on the hbextern example/tool. Because there are source files with LF end of line the memoline() function does not read them. I am aware that the mlcount() and memoline() functions have an extra parameter of EOL; the code indicates that this

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

2009-06-18 Thread vszakats
Revision: 11414 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11414&view=rev Author: vszakats Date: 2009-06-18 12:24:49 + (Thu, 18 Jun 2009) Log Message: --- 2009-06-18 14:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbct/Makefile -

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

2009-06-18 Thread Viktor Szakáts
Yes, probably that's why it was copied to hbct, but if we have in core full time with the same name (which we do since yesterday), there is no need to have it in hbct, nor in xpp. Brgds, Viktor On 2009.06.18., at 12:07, Mike Evans (Gmail) wrote: I think that StoD() function is supported even un

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

2009-06-18 Thread Mike Evans (Gmail)
I think that StoD() function is supported even under clipper 5.2 through CT lib. Brgds Mike Evans -Original Message- From: harbour-boun...@harbour-project.org [mailto:harbour-boun...@harbour-project.org] On Behalf Of Przemyslaw Czerpak Sent: Thursday, June 18, 2009 12:52 AM To: Harbour

[Harbour] dattime4.c compile error

2009-06-18 Thread Lorenzo Fiorini
gcc -I. -I../../../../include -Wall -W -O3-c ../../dattime4.c -odattime4.o ../../dattime4.c:81: warning: return type defaults to ‘int’ ../../dattime4.c: In function ‘HB_FUNC’: ../../dattime4.c:81: warning: type of ‘STOD’ defaults to ‘int’ ../../dattime4.c:82: error: ‘PHB_ITEM’ undeclared (firs

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

2009-06-18 Thread Viktor Szakáts
Hi Przemek, On Thu, 18 Jun 2009, vszak...@users.sourceforge.net wrote: * contrib/hbct/Makefile + contrib/hbct/dattime4.c * contrib/hbct/datetime.c * Moved STOD() into separate file to avoid linking problems when HB_COMPAT_XPP is defined. ! Removed HB_COMPAT_XPP protection. No long

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

2009-06-18 Thread Przemyslaw Czerpak
On Thu, 18 Jun 2009, vszak...@users.sourceforge.net wrote: > * contrib/hbct/Makefile > + contrib/hbct/dattime4.c > * contrib/hbct/datetime.c > * Moved STOD() into separate file to avoid linking problems > when HB_COMPAT_XPP is defined. > ! Removed HB_COMPAT_XPP protection. No lo

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

2009-06-18 Thread Viktor Szakáts
This script will do most of the renaming for you, just verify. Also if you want camel-cased results in .prg, you can tweak -r options to "wvg_SendMessage()" (from WVG_SENDMESSAGE()). You can get gsar from this link: http://gnuwin32.sourceforge.net/packages/gsar.htm --- gsar -i -o -sWIN_SENDMESSAG

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

2009-06-18 Thread Viktor Szakáts
It looks you're simply copying in some prepared file variants, which are made from your local copy (and not updated from SVN since some time). If you're using a script for the s&r, pls try to apply them to the SVN sources. I still don't understand WDW_ prefix. Can you change to WVG? Brgds, Vikto

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

2009-06-18 Thread Viktor Szakáts
Everything reverted again :( Brgds, Viktor On Thu, Jun 18, 2009 at 9:34 AM, wrote: > Revision: 11413 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11413&view=rev > Author: vouchcac > Date: 2009-06-18 07:34:30 + (Thu, 18 Jun 2009) > > Log Message: > --- > 2

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

2009-06-18 Thread vouchcac
Revision: 11413 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11413&view=rev Author: vouchcac Date: 2009-06-18 07:34:30 + (Thu, 18 Jun 2009) Log Message: --- 2009-06-17 16:33 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * harbour/contrib/gtwvg/wvg3s

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

2009-06-18 Thread vszakats
Revision: 11412 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11412&view=rev Author: vszakats Date: 2009-06-18 07:22:51 + (Thu, 18 Jun 2009) Log Message: --- 2009-06-18 09:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbct/Makefile +

Re: [Harbour] Re: Mindaugas socket to core / RTL

2009-06-18 Thread Alex Strickland
Viktor Szakáts wrote: hb_socketAccept() hb_socketBind() hb_socketClose() hb_socketConnect() hb_socketCreate() hb_socketError() hb_socketExit() hb_socketGetPeerName() hb_socketGetSockName() hb_socketInit() hb_socketListen() hb_socketRecv() hb_socketSelect() hb_socketSend() hb_socketShutdown() +

[Harbour] Re: Mindaugas socket to core / RTL

2009-06-18 Thread Viktor Szakáts
The other style: hb_socket_accept() hb_socket_bind() hb_socket_close() hb_socket_connect() hb_socket_create() hb_socket_error() hb_socket_exit() hb_socket_getpeername() hb_socket_getsockname() hb_socket_init() hb_socket_listen() hb_socket_recv() hb_socket_select() hb_socket_send() hb_socket_shutdo