[Harbour] svn. 13567: svn source compile error

2010-01-13 Thread marco bra
Ubuntu 9.10 32bits error compiling rev. 13567 Thank you an best regards ../../../../../bin/linux/gcc/harbour ../../../treport.prg -i../../../../../include -n1 -q0 -w3 -es2 -kmo -i- -l -gc3 ../../../treport.prg(203) Error E0030 Syntax error "syntax error at '('" ../../../treport.prg(233) Warning

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

2010-01-13 Thread vouchcac
Revision: 13567 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13567&view=rev Author: vouchcac Date: 2010-01-14 06:26:03 + (Thu, 14 Jan 2010) Log Message: --- 2010-01-13 22:24 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/gtwvg/wvgclass.prg

Re: [Harbour] MemoEdit() and Lastkey(), Escape

2010-01-13 Thread Robert Skowronek(o2)
Dear Przemek, Fixed. It is working properly. Thanks a lot. Best regards Robert - Original Message - From: "Przemysław Czerpak" To: "Harbour Project Main Developer List." Sent: Wednesday, January 13, 2010 11:28 PM Subject: Re: [Harbour] MemoEdit() and Lastkey(), Escape On Wed, 13

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

2010-01-13 Thread Lorenzo Fiorini
On Thu, Jan 14, 2010 at 1:45 AM, wrote: >      HB_CLS_PARAMS_ERR as default will exploit a lot of similar problems in >      user code so I would like the hear other developers' opinions about it. I would activate it, developers that don't have the time to fix the code can use 2.0. best regard

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

2010-01-13 Thread vszakats
Revision: 13566 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13566&view=rev Author: vszakats Date: 2010-01-14 04:20:31 + (Thu, 14 Jan 2010) Log Message: --- 2010-01-14 05:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbnf/mouse.c *

[Harbour] Error Building latest Harbour SVN with BCC58

2010-01-13 Thread Mario H. Sabado
Hi, Please find below error I encountered under WinXP and BCC58 when building latest Harbour SVN. Thanks, Mario === ../../../../../bin/win/bcc/harbour.exe ../../../treport.prg -i../../../../../i clude -n1 -q0 -w3 -es2 -kmo -i- -l -gc3

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

2010-01-13 Thread vszakats
Revision: 13565 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13565&view=rev Author: vszakats Date: 2010-01-14 03:48:59 + (Thu, 14 Jan 2010) Log Message: --- 2010-01-14 04:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/mousex.c * src/

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

2010-01-13 Thread vszakats
Revision: 13564 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13564&view=rev Author: vszakats Date: 2010-01-14 03:07:23 + (Thu, 14 Jan 2010) Log Message: --- 2010-01-14 04:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/binnumx.c * con

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

2010-01-13 Thread vszakats
Revision: 13563 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13563&view=rev Author: vszakats Date: 2010-01-14 02:26:19 + (Thu, 14 Jan 2010) Log Message: --- 2010-01-14 03:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_prn3.c

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

2010-01-13 Thread vouchcac
Revision: 13562 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13562&view=rev Author: vouchcac Date: 2010-01-14 02:20:54 + (Thu, 14 Jan 2010) Log Message: --- 2010-01-13 18:19 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbide/ideeditor.prg

Re: [Harbour] ULONG -> HB_SIZE

2010-01-13 Thread Viktor Szakáts
Hi Przemek, First actual question is what to do with ULONG in hb_fsSeek(). Should it be changed to HB_SIZE or not? [ On the longer run it will need to be changed to non-Windows type anyway, so we can decide about it even now. ] Brgds, Viktor On 2010 Jan 14, at 02:44, Przemysław Czerpak wrote

Re: [Harbour] ULONG -> HB_SIZE

2010-01-13 Thread Viktor Szakáts
>> Any objection to start migrating all ULONG types which is >> used as string/array length, position to convert to HB_SIZE >> in all Harbour source code? > > What C type you plan to use for HB_SIZE? I didn't plan to make any changes in this round of modification, so it'd stay as ULONG. > Usi

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

2010-01-13 Thread vszakats
Revision: 13561 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13561&view=rev Author: vszakats Date: 2010-01-14 01:57:46 + (Thu, 14 Jan 2010) Log Message: --- 2010-01-14 02:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/generator/hb

Re: [Harbour] ULONG -> HB_SIZE

2010-01-13 Thread Przemysław Czerpak
On Thu, 14 Jan 2010, Szak�ts Viktor wrote: Hi, > Any objection to start migrating all ULONG types which is > used as string/array length, position to convert to HB_SIZE > in all Harbour source code? What C type you plan to use for HB_SIZE? Using signed type resolves many problems we have now l

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

2010-01-13 Thread Viktor Szakáts
>> * harbour/utils/hbformat/hbformat.prg >> ! fixed class method declarations to be synced with method implementations >>All of the above missdeclarations were detected by compilation with: >> HB_USER_PRGFLAGS=-DHB_CLS_PARAMS_ERR >>Few years ago in hbclass.ch I defined PP rules to fo

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

2010-01-13 Thread Viktor Szakáts
> Log Message: > --- > 2010-01-14 01:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/src/compiler/harbour.y > * harbour/src/compiler/harbour.yyh > * harbour/src/compiler/harbour.yyc > ! pacified compile time error when ... is used as parameter in _HB_MEMBRER > decl

[Harbour] ULONG -> HB_SIZE

2010-01-13 Thread Viktor Szakáts
Hi All, Any objection to start migrating all ULONG types which is used as string/array length, position to convert to HB_SIZE in all Harbour source code? At the same time I'd like to also convert all BOOL/TRUE/FALSE to HB_BOOL/HB_TRUE/HB_FALSE. This is fully mechanical process. Brgds, Viktor

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

2010-01-13 Thread druzus
Revision: 13560 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13560&view=rev Author: druzus Date: 2010-01-14 00:45:19 + (Thu, 14 Jan 2010) Log Message: --- 2010-01-14 01:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/

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

2010-01-13 Thread vszakats
Revision: 13559 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13559&view=rev Author: vszakats Date: 2010-01-14 00:38:13 + (Thu, 14 Jan 2010) Log Message: --- 2010-01-14 01:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/memoedit.prg

Re: [Harbour] Re: HBNETIO

2010-01-13 Thread Viktor Szakáts
> No , the idea is to test a Linux HBNetio Server > > and a Linux Native aplication , sharing Databases with > > a windows aplicattion running Under Wine and Samba IMO only WINE and SAMBA can be the problem here, not native .dbf and hbnetiosrv parallel access by itself. Same problem set if yo

Re: [Harbour] Re: HBNETIO

2010-01-13 Thread Bruno Luciani
No , the idea is to test a Linux HBNetio Server and a Linux Native aplication , sharing Databases with a windows aplicattion running Under Wine and Samba Bruno Yes, it's WINE problem, not Harbour one. > > I was assuming a native executable in my answer (default case). > > Running any server u

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

2010-01-13 Thread Viktor Szakáts
> Hi Viktor, > > MinGW, warning: unused parameter 'pSource' :) Thanks a bunch, I realized in the meantime there was a commit in between which I didn't know of when asking about it. It looks good. Brgds, Viktor ___ Harbour mailing list (attachment si

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

2010-01-13 Thread Xavi
Hi Viktor, MinGW, warning: unused parameter 'pSource' :) Best regards, Xavi ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Re: HBNETIO

2010-01-13 Thread Viktor Szakáts
> Bruno Luciani escribió: >> Ok Thanks Viktor >> I like to take a try , to HBNETIO using a little aplicattion made in XHgtk >> but my network ( linux server ) is sharing databases using Samba and >> I need to this work Correctly >> Bruno > > Been there, done that. > On that scenario DON'T run ne

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

2010-01-13 Thread Viktor Szakáts
Hi Xavi, What was the warning here, under what compiler? Brgds, Viktor On 2010 Jan 14, at 00:32, jara...@users.sourceforge.net wrote: > Revision: 13558 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13558&view=rev > Author: jarabal > Date: 2010-01-13 23:32:5

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

2010-01-13 Thread jarabal
Revision: 13558 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13558&view=rev Author: jarabal Date: 2010-01-13 23:32:51 + (Wed, 13 Jan 2010) Log Message: --- * contrib/hbwin/win_prn3.c * pacified warnings Modified Paths: -- trunk/har

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

2010-01-13 Thread druzus
Revision: 13557 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13557&view=rev Author: druzus Date: 2010-01-13 21:01:07 + (Wed, 13 Jan 2010) Log Message: --- 2010-01-13 22:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/achoi

Re: [Harbour] ACHOICE, Bound error: array access

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Robert Skowronek(o2) wrote: Hi, > I got following error when I return AC_REDRAW in user function for > ACHOICE() after > one item had been added to acItems. To be much puzzling when I remove item > from the list it is working fine. > Error BASE/1132 Bound error: array

[Harbour] bmdbfcdx error

2010-01-13 Thread Itamar Lins
Hi! With MSVC express, XP SP3 * $Id: ChangeLog 13555 2010-01-13 17:14:01Z vszakats $ cl.exe -I. -I../../../../../include -nologo -TP -W4 -wd4127 -Ot2b1 -EHs-c- -DUNICODE -DUNICODE -Fobmdbfcdx.obj -c ../../../bmdbfcdx.c bmdbfcdx.c ../../../bmdbfcdx.c(428) : warning C4244: '=' : conversion f

[Harbour] Error building tests of NetIO

2010-01-13 Thread Guillermo Varona Silupú
Hi, try compile server, I got this: C:\harbour\contrib\hbnetio\tests>d:\hrbmingw\bin\hbmk2 server.hbp -rebuild hbmk2: Processing environment options: -compiler=mingw hbmk2: Processing local make script: hbmk.hbm hbmk2: Processing configuration: d:\hrbmingw\bin\hbmk.cfg hbmk2: Compiling Harbour so

Re: [Harbour] MemoEdit() and Lastkey(), Escape

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Robert Skowronek(o2) wrote: Hi, > Dear All, > Another issue that bother me that used to work in Clipper but opposite > behavior in Harbour. > MemoEdit(usertxt,9,1,16,78,.T.,NIL,120) > When I open memo edit widow and close immediately by ESC without any > update, I h

[Harbour] A little problem Using HARUPDF Library

2010-01-13 Thread Bruno Luciani
It is posible that HARUPDF turn 180 º an image when it is sended to a printer ? May be a coordenate problem , or position ? Thanks in advance for any help Bruno ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://

Re: [Harbour] Re: HBNETIO

2010-01-13 Thread Bruno Luciani
I think that it is an ideal scenario , but I need to try, once Netio works ok , I can not use anymore Samba The Idea it is not use windows or wine if it is posible , but while the solution is comming the both systems must be work together When I have some time I try to test it Thank' s to all

Re: [Harbour] Sx_Settag() bug

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Stupar wrote: > file: Harbour\src\rdd\sxcompat.prg > line > 295 IF nOrder != 0 > 296 nOldOrd := OrdNumber() > 297 OrdSetFocus( nOrder ) > 298 lRet := nOrder == OrdSetFocus() == > must be lRet := OrdName( nOrder ) == OrdSetFocus() ra

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

2010-01-13 Thread druzus
Revision: 13556 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13556&view=rev Author: druzus Date: 2010-01-13 19:15:05 + (Wed, 13 Jan 2010) Log Message: --- 2010-01-13 20:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hashes

Re: [Harbour] Re: HBNETIO

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Angel Pais wrote: Hi, > >I like to take a try , to HBNETIO using a little aplicattion made in XHgtk > >but my network ( linux server ) is sharing databases using Samba and > >I need to this work Correctly > Been there, done that. > On that scenario DON'T run netio server fro

Re: [Harbour] safe clear of variable content

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Szak�ts Viktor wrote: > > But if pw exists in a single instance, isn't it a waste to create a new item > > to store a string of the same lenght? > Yes, speaking about STUFF(), it is, but to avoid it, > you'd have to make several checks to verify whether > there is room to opt

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

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Xavi wrote: Hi, > Thank to you, also it be good a cast in netiosrv.c line 494 .- >conn->rpcFilter = ( PHB_SYMB ) hb_itemNew( pHash ); Yes, sure though it should be PHB_ITEM so also declaration should be fixed. Too much stupid typos in simple modifications. Thank you very

[Harbour] Re: HBNETIO

2010-01-13 Thread Angel Pais
Bruno Luciani escribió: Ok Thanks Viktor I like to take a try , to HBNETIO using a little aplicattion made in XHgtk but my network ( linux server ) is sharing databases using Samba and I need to this work Correctly Bruno Been there, done that. On that scenario DON'T run netio server fro

Re: [Harbour] ACHOICE, Bound error: array access

2010-01-13 Thread Robert Skowronek(o2)
Hi, - Original Message - From: Robert Skowronek(o2) To: Harbour Project Main Developer List. Sent: Wednesday, January 13, 2010 3:35 PM Subject: [Harbour] ACHOICE, Bound error: array access Hi, I got following error when I return AC_REDRAW in user function for ACHOIC

Re: [Harbour] MemoEdit() and Lastkey(), Escape

2010-01-13 Thread Robert Skowronek(o2)
Hi, - Original Message - From: Robert Skowronek(o2) To: Harbour Project Main Developer List. Sent: Wednesday, January 13, 2010 4:21 PM Subject: [Harbour] MemoEdit() and Lastkey(), Escape Dear All, Another issue that bother me that used to work in Clipper but opposit

Re: [Harbour] HBNETIO

2010-01-13 Thread Bruno Luciani
Ok Thanks Viktor I like to take a try , to HBNETIO using a little aplicattion made in XHgtk but my network ( linux server ) is sharing databases using Samba and I need to this work Correctly Bruno ___ Harbour mailing list (attachment size limit: 40KB

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

2010-01-13 Thread vszakats
Revision: 13555 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13555&view=rev Author: vszakats Date: 2010-01-13 17:14:01 + (Wed, 13 Jan 2010) Log Message: --- 2010-01-13 18:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/tget.prg ! F

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

2010-01-13 Thread Xavi
Hi Przemek, Thank to you, also it be good a cast in netiosrv.c line 494 .- conn->rpcFilter = ( PHB_SYMB ) hb_itemNew( pHash ); Best regards, Xavi ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbou

Re: [Harbour] HBNETIO

2010-01-13 Thread Viktor Szakáts
> It is posible to use HBNETIO server to share some DBF 's and > at the same time use locally a system that access the > same DBF' s directly in shared mode ? Since the server is just another Harbour app, I don't see any reason why this wouldn't be possible. Brgds, Viktor ___

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

2010-01-13 Thread vouchcac
Revision: 13554 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13554&view=rev Author: vouchcac Date: 2010-01-13 16:57:10 + (Wed, 13 Jan 2010) Log Message: --- 2010-01-13 08:53 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbide/hbide.prg *

Re: [Harbour] HBNETIO

2010-01-13 Thread Ciro Vargas C
in Letodb it's not posible but in Netio I don't know... regards Ciro 2010/1/13 Bruno Luciani : > It is posible to use HBNETIO server to share some DBF 's and > at the same time use locally a system that access the > same  DBF' s directly in shared mode ? > > > Bruno > > ___

[Harbour] HBNETIO

2010-01-13 Thread Bruno Luciani
It is posible to use HBNETIO server to share some DBF 's and at the same time use locally a system that access the same DBF' s directly in shared mode ? Bruno ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lis

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

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Xavi wrote: Hi, > > + added new function hb_hashGetCItemPtr() which accepts ASCIIZ string > > as index. > > I don't know but may need HB_STACK_TLS_PRELOAD? Yes, you are right. Thank you very much. I'll commit fix in a while. best regards, Przemek

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

2010-01-13 Thread Xavi
Hi Przemek, + added new function hb_hashGetCItemPtr() which accepts ASCIIZ string as index. I don't know but may need HB_STACK_TLS_PRELOAD? Best regards, Xavi ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project

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

2010-01-13 Thread vszakats
Revision: 13553 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13553&view=rev Author: vszakats Date: 2010-01-13 16:13:29 + (Wed, 13 Jan 2010) Log Message: --- 2010-01-13 17:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/Makefile + src/

Re: [Harbour] safe clear of variable content

2010-01-13 Thread Viktor Szakáts
>> These were my two first thoughts, but internally >> I think they both just create new string and may >> leave old buffer content around in an unreleased >> block. >> > > But if pw exists in a single instance, isn't it a waste to create a new item > to store a string of the same lenght? Yes

Re: [Harbour] safe clear of variable content

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Szak�ts Viktor wrote: > Thank you. Just posted pretty much the exact same solution :) I've seen and you even used exactly the same name as I in 1-st version :) by then I decided that setting spaces may be more functional for users also in some other context, i.e. clearing get

Re: [Harbour] safe clear of variable content

2010-01-13 Thread Maurilio Longo
Viktor, > > These were my two first thoughts, but internally > I think they both just create new string and may > leave old buffer content around in an unreleased > block. > But if pw exists in a single instance, isn't it a waste to create a new item to store a string of the same lenght? Ma

Re: [Harbour] safe clear of variable content

2010-01-13 Thread Viktor Szakáts
> Indirectly by functions using hb_itemGetWriteCL() on parameters passed > by reference. You can find few functions in HBRTL. > >> --- server.prg >> ? "Please enter password:" >> ACCEPT TO pw >> >> pw := NIL >> >> --- >> I want that the content of 'pw' variable be surely >> cleared from memory.

Re: [Harbour] safe clear of variable content

2010-01-13 Thread Viktor Szakáts
Hi Maurilio, > Viktor, > > pw := Space( Len( pw ) ) > > could do it? > > And a > > pw := Stuff( pw, 1, Len( pw ), Space( Len( pw ) ) ) > > Given that the string has same lenght shouldn't it reuse allocated memory? These were my two first thoughts, but internally I think they both just creat

Re: [Harbour] safe clear of variable content

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Szak�ts Viktor wrote: Hi, > Is there a safe way to clear to content of a variable in Harbour? Indirectly by functions using hb_itemGetWriteCL() on parameters passed by reference. You can find few functions in HBRTL. > --- server.prg > ? "Please enter password:" > ACCEPT TO

Re: [Harbour] hbnetio / rpc filter

2010-01-13 Thread Pritpal Bedi
Hi Przemysław Czerpak wrote: > > Client side functions: > == >NETIO_CONNECT( [], [], [], ; > [], [], [] ) > -> >NETIO_DISCONNECT( [], [] ) -> >NETIO_PROCEXISTS( ) -> >NETIO_PROCEXEC( [, ] ) -> >NETIO_PROCEXECW( [, ] ) ->

[Harbour] Re: hbnetio / rpc filter

2010-01-13 Thread Angel Pais
Przemysław Czerpak escribió: One small thing. Before MYRPC_FILTER() is called NETIO_SERVER() checks if given function exists. If not then it returns to client NETIO_ERR_NOT_EXISTS error code. It means that if you create function RPC_MYFUNC() and client request to execute MYFUNC() then MYRPC_FILT

Re: [Harbour] hbnetio / rpc filter

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Szak�ts Viktor wrote: Hi, > Well, I assumed so, and that's why I was asking about it, > everything pointed towards server-side, yet I saw that the > function to enable it was expecting a client side connection. > As it turns out I just couldn't find out how to use it. It d

Re: [Harbour] safe clear of variable content

2010-01-13 Thread Maurilio Longo
Viktor, pw := Space( Len( pw ) ) could do it? And a pw := Stuff( pw, 1, Len( pw ), Space( Len( pw ) ) ) Given that the string has same lenght shouldn't it reuse allocated memory? Maurilio. Viktor Szakáts wrote: > Hi All, > > Is there a safe way to clear to content of a variable in Harbour?

Re: [Harbour] Re: hbnetio / rpc filter

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Angel Pais wrote: Hi, > >STATIC FUNCTION MYRPC_FILTER( sFuncSym, ... ) > > STATIC s_hLegal := { "DATE"=>, "TIME"=> } > > IF sFuncSym:name $ s_hLegal > > RETURN sFuncSym:exec( ... ) > > ENDIF > > RETURN "<>" > Would this also work ? > STATIC FUNCTION MYRPC_FILTER

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

2010-01-13 Thread vszakats
Revision: 13552 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13552&view=rev Author: vszakats Date: 2010-01-13 14:45:29 + (Wed, 13 Jan 2010) Log Message: --- 2010-01-13 15:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbnetio/utils/net

[Harbour] Re: hbnetio / rpc filter

2010-01-13 Thread Angel Pais
Mindaugas Kavaliauskas escribió: sFuncSym is symbol (but not a string), and I expect RTE on: 'rpc_' + sFuncSym I guess it should be changed to: sFuncSym := __DYNSN2SYM('rpc_' + sFuncSym:name ) Thank you Mindaugas ___ Harbour mailing list (attach

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

2010-01-13 Thread Viktor Szakáts
Thank you Pritpal. Brgds, Viktor On 2010 Jan 12, at 17:24, vouch...@users.sourceforge.net wrote: > Revision: 13543 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13543&view=rev > Author: vouchcac > Date: 2010-01-12 16:24:50 + (Tue, 12 Jan 2010) > > Log M

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

2010-01-13 Thread Viktor Szakáts
Thank you very much. Brgds, Viktor On 2010 Jan 13, at 03:07, ap...@users.sourceforge.net wrote: > Revision: 13547 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13547&view=rev > Author: april > Date: 2010-01-13 02:06:51 + (Wed, 13 Jan 2010) > > Log Messa

Re: [Harbour] hbnetio / rpc filter

2010-01-13 Thread Viktor Szakáts
Hi Przemek, >> Is this possible to do, or am I missing something in >> my observations here? > > Yes it's possible anyhow you may want to implement your own > custom version of NETIO_MTSERVER() function in hbnetiosrv.prg > or extend parameter list used by this function to pass such > filter, i.e

[Harbour] safe clear of variable content

2010-01-13 Thread Viktor Szakáts
Hi All, Is there a safe way to clear to content of a variable in Harbour? --- server.prg ? "Please enter password:" ACCEPT TO pw pw := NIL --- I want that the content of 'pw' variable be surely cleared from memory. Is this currently possible? and how? Brgds, Viktor

Re: [Harbour] Re: hbnetio / rpc filter

2010-01-13 Thread Mindaugas Kavaliauskas
Hi, Would this also work ? STATIC FUNCTION MYRPC_FILTER( sFuncSym, ... ) sFuncSym := 'rpc_'+sFuncSym IF IsFunction(sFuncSym) RETURN sFuncSym:exec( ... ) ENDIF RETURN "<>" So all you have to do to enable a function to be remotely callable is name it beginnign with 'rpc_'

[Harbour] Get:Display() incompatibility with Clipper

2010-01-13 Thread Stupar
Litle sample to demonstrate differences between Clipper 5.2e and Harbour 2.0.0 function TestGetPic() local GetList:={}, cTestVar:="12345" @ 10, 0 SAY "A" GET cTestVar @ Row(), Col()+1 SAY "B" GET cTestVar PICTURE "@KS20" // Note: 20 > Len(cTestVar) @ Row(),

[Harbour] Re: hbnetio / rpc filter

2010-01-13 Thread Angel Pais
Przemysław Czerpak escribió: STATIC FUNCTION MYRPC_FILTER( sFuncSym, ... ) STATIC s_hLegal := { "DATE"=>, "TIME"=> } IF sFuncSym:name $ s_hLegal RETURN sFuncSym:exec( ... ) ENDIF RETURN "<>" Would this also work ? STATIC FUNCTION MYRPC_FILTER( sFuncSym, ... ) sFuncSym :=

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

2010-01-13 Thread vszakats
Revision: 13551 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13551&view=rev Author: vszakats Date: 2010-01-13 14:11:50 + (Wed, 13 Jan 2010) Log Message: --- 2010-01-13 15:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbsetup.ch *

[Harbour] MemoEdit() and Lastkey(), Escape

2010-01-13 Thread Robert Skowronek(o2)
Dear All, Another issue that bother me that used to work in Clipper but opposite behavior in Harbour. MemoEdit(usertxt,9,1,16,78,.T.,NIL,120) When I open memo edit widow and close immediately by ESC without any update, I have K_ESC in LASTKEY(). It is fine. However, if I do any ch

Re: [Harbour] ACHOICE, Bound error: array access

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Robert Skowronek(o2) wrote: Hi, > I got following error when I return AC_REDRAW in user function for > ACHOICE() after one item had been added to acItems. To be much puzzling > when I remove item from the list it is working fine. > > Error BASE/1132 Bound error: array access

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

2010-01-13 Thread druzus
Revision: 13550 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13550&view=rev Author: druzus Date: 2010-01-13 12:08:05 + (Wed, 13 Jan 2010) Log Message: --- 2010-01-13 13:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/hbsix

[Harbour] ACHOICE, Bound error: array access

2010-01-13 Thread Robert Skowronek(o2)
Hi, I got following error when I return AC_REDRAW in user function for ACHOICE() after one item had been added to acItems. To be much puzzling when I remove item from the list it is working fine. Error BASE/1132 Bound error: array access Called from ACH_LIMITS(0) Called from ACHOICE(0)

[Harbour] Sx_Settag() bug

2010-01-13 Thread Stupar
file: Harbour\src\rdd\sxcompat.prg line 295 IF nOrder != 0 296 nOldOrd := OrdNumber() 297 OrdSetFocus( nOrder ) 298 lRet := nOrder == OrdSetFocus() == must be lRet := OrdName( nOrder ) == OrdSetFocus() 299 IF ! lRet 300OrdSetFocus( n

Re: [Harbour] SF bug tracker#2930893: contrib/hbclipsm - FileDrive crash

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Chen Kedem wrote: Hi, > The following problem was reported on the SF bug tracker: > http://sourceforge.net/tracker/?func=detail&atid=100681&aid=2930893&group_id=681 > Luigi reported a problem in FileDrive() when parameter is UNC. > Program crash when it try to read from a nul

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

2010-01-13 Thread druzus
Revision: 13549 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13549&view=rev Author: druzus Date: 2010-01-13 08:38:05 + (Wed, 13 Jan 2010) Log Message: --- 2010-01-13 09:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi