RE: Re[Harbour] vise the return of the functions: TimeToSec andSecToTime...

2010-05-25 Thread Horodyski Marek (PZUZ)
> -Original Message- > From: Viktor Szakáts [mailto:harbour...@syenar.hu] > Sent: Tuesday, May 25, 2010 1:50 PM > To: Harbour Project Main Developer List. > Subject: Re: Re[Harbour] vise the return of the functions: TimeToSec > andSecToTime... [ ... ] > In case of HBCT we aim to be fully

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

2010-05-25 Thread Pritpal Bedi
Przemysław Czerpak wrote: > > You should simply use: > >WIN_OleServerInit( CLS_ID, CLS_Name, {|| Vouch32ActiveX():new() } ) > > or because Vouch32ActiveX object does not have any instance variables > to safe some memory and increase a little bit the speed you can use > only one HVM Vouch32

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

2010-05-25 Thread Przemysław Czerpak
On Tue, 25 May 2010, Pritpal Bedi wrote: Hi, > Below is the converted code which registers itself successfully. > - > #define CLS_Name "Vouch32.Vouch.1" > #define CLS_ID "{1F6C0963-1581-498a-9035-E75A0F546CA5}" > //

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

2010-05-25 Thread vouchcac
Revision: 14600 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14600&view=rev Author: vouchcac Date: 2010-05-26 04:41:10 + (Wed, 26 May 2010) Log Message: --- 2010-05-25 21:42 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * utils/hbmk2/examples/plug_m

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

2010-05-25 Thread Tamas TEVESZ
yOn Wed, 26 May 2010, Tamas TEVESZ wrote: > this seems to have fixed this remaining issue here, and hbmk2 is quite > happily churning out clang-compiled binaries. yuh, works nicely on freebsd8R-ish with devel/llvm-devel. netbsd decided to show virtualbox the finger, so that's on the back bur

Re: [Harbour] Console Terminal with GUI Application under Linux

2010-05-25 Thread Mario H. Sabado
On 5/25/2010 11:27 PM, harbour-requ...@harbour-project.org wrote: Date: Tue, 25 May 2010 17:18:15 +0200 From: Massimo Belgrano Subject: Re: [Harbour] Console Terminal with GUI Application under Linux To: "Harbour Project Main Developer List." Message-ID: Content-Type: text/plain; charset="

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

2010-05-25 Thread Pritpal Bedi
Przemysław Czerpak wrote: > > I have no idea what exactly IsExportedSymbol() and OleServerSymbols() > does in xHarbour. I can guess but I do not know the exact syntax. > If you want then I can implement in Harbour compatibility layer but > I would have to know xHarbour COM server user API. > Now

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

2010-05-25 Thread Pritpal Bedi
Hi The error message should be read like it ( just get mixed onto appln screen ) Error BASE/1004 Message not found: VOUCH32ACTIVEX:EVAL Called from __ERRRT_SBASE(0) Called from VOUCH32ACTIVEX:ERROR(0) Called from (b)HBOBJECT(0) Called from VOUCH32ACTIVEX:MSGNOTFOUND(0) Called from (b)EVAL

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

2010-05-25 Thread vszakats
Revision: 14599 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14599&view=rev Author: vszakats Date: 2010-05-26 00:41:13 + (Wed, 26 May 2010) Log Message: --- 2010-05-26 02:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/examples/plug

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

2010-05-25 Thread Pritpal Bedi
Hello Przemek Below is the converted code which registers itself successfully. - #define CLS_Name "Vouch32.Vouch.1" #define CLS_ID "{1F6C0963-1581-498a-9035-E75A0F546CA5}" //---// PROC

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

2010-05-25 Thread vszakats
Revision: 14598 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14598&view=rev Author: vszakats Date: 2010-05-26 00:04:44 + (Wed, 26 May 2010) Log Message: --- 2010-05-26 02:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * bin/postinst.sh ! Ena

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

2010-05-25 Thread Viktor Szakáts
Hi, >> 2010-05-25 23:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) >> + config/bsd/clang.mk >>+ Base implementation of bsd/clang target. >> Based on patch by Tamas Tevesz with modifications: >>- deleted HB_DYN_COPT >>- replaced dynamic lib rules with bsd/gcc.mk. >>

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

2010-05-25 Thread vszakats
Revision: 14597 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14597&view=rev Author: vszakats Date: 2010-05-25 23:55:13 + (Tue, 25 May 2010) Log Message: --- 2010-05-26 01:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbolesrv.de

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

2010-05-25 Thread Tamas TEVESZ
On Tue, 25 May 2010, vszak...@users.sourceforge.net wrote: > 2010-05-25 23:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) > + config/bsd/clang.mk > + Base implementation of bsd/clang target. > Based on patch by Tamas Tevesz with modifications: > - deleted HB_DYN_COPT >

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

2010-05-25 Thread Przemysław Czerpak
On Wed, 26 May 2010, Szak�ts Viktor wrote: Hi, > I've successfully tested olesrv2 with oletst2. > Then I tried to access olesrv2 from jscript/vbscript. Since > I'm using Win7 x64, first I built olesrv2 with msvc64, > and registered it, which went OK. msvc64 compilation showed > these warnings:

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

2010-05-25 Thread vszakats
Revision: 14596 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14596&view=rev Author: vszakats Date: 2010-05-25 23:44:42 + (Tue, 25 May 2010) Log Message: --- 2010-05-26 01:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * include/hbapi.h ! Add

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

2010-05-25 Thread Przemysław Czerpak
On Tue, 25 May 2010, Pritpal Bedi wrote: Hi Pritpal, > Here is my Vouch32 ActiveX Server code compiled with xhb.com: > #pragma BEGINDUMP > #define CLS_Name "Vouch32.Vouch.1" > #define CLS_ID "{1F6C0963-1581-498a-9035-E75A0F546CA5}" > const char *g_RegTable[][3] = > { >//format is {key, valu

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

2010-05-25 Thread Viktor Szakáts
Hi Przemek, It's great. I hope we can nail the watcom tricks and .def file "chaos" in the future. I've successfully tested olesrv2 with oletst2. Then I tried to access olesrv2 from jscript/vbscript. Since I'm using Win7 x64, first I built olesrv2 with msvc64, and registered it, which went OK.

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

2010-05-25 Thread Pritpal Bedi
Hello Przemek You can quickly review how a component is called: http://www.vouch32.com/Help/OPrint.htm - enjoy hbIDEing... Pritpal Bedi http://hbide.vouch.info/ -- View this message in context: http://harbour-devel.1590103.n2.nabble.com/SF-net-SVN-harbour-project-14593-tru

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

2010-05-25 Thread Pritpal Bedi
druzus wrote: > > Log Message: > --- > 2010-05-26 00:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/contrib/hbwin/Makefile > + harbour/contrib/hbwin/hbolesrv.c > + added inproc OLE server implementation. It allows to create > OLE/ACTIVEX > COM server in

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

2010-05-25 Thread vszakats
Revision: 14595 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14595&view=rev Author: vszakats Date: 2010-05-25 22:37:11 + (Tue, 25 May 2010) Log Message: --- 2010-05-26 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/tests/olets

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

2010-05-25 Thread vszakats
Revision: 14594 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14594&view=rev Author: vszakats Date: 2010-05-25 22:23:11 + (Tue, 25 May 2010) Log Message: --- 2010-05-26 00:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/tests/olets

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

2010-05-25 Thread Pritpal Bedi
Viktor Szakáts wrote: > > The actual content of CURDIR() doesn't matter > in context of our discussion. The only point is > to deal with it properly whatever it is. > I know. I was just explaining my viewpoint. > Other than that "CURDIR() neutrality" is a very > important (and many times

[Harbour] Re: hbMK2 - plug_moc.prg

2010-05-25 Thread Pritpal Bedi
Viktor Szakáts wrote: > > Here is a little .hbp sample I used for testing: > --- > -hblib > -inc > > -i${HB_WITH_QT} > -i${HB_WITH_QT}/QtCore > -i${HB_WITH_QT}/QtGui > > -plugin=plug_moc.prg > > -pi=hbqt_hbdbfmodel.h > > hbqt_hbdbfmodel.cpp > --- > > [ Everything works the same way when iss

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

2010-05-25 Thread druzus
Revision: 14593 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14593&view=rev Author: druzus Date: 2010-05-25 22:04:04 + (Tue, 25 May 2010) Log Message: --- 2010-05-26 00:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin

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

2010-05-25 Thread vszakats
Revision: 14592 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14592&view=rev Author: vszakats Date: 2010-05-25 22:01:18 + (Tue, 25 May 2010) Log Message: --- 2010-05-26 00:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL - Deleted one

[Harbour] Re: hbMK2 - plug_moc.prg

2010-05-25 Thread Pritpal Bedi
Viktor Szakáts wrote: > >> A small example will be helpful. > > Here is a little .hbp sample I used for testing: > --- > -hblib > -inc > > -i${HB_WITH_QT} > -i${HB_WITH_QT}/QtCore > -i${HB_WITH_QT}/QtGui > > -plugin=plug_moc.prg > > -pi=hbqt_hbdbfmodel.h > > hbqt_hbdbfmodel.cpp > --- > > [

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

2010-05-25 Thread Viktor Szakáts
>> Sorry for my intromision but, where is olesrv2.prg ? > > On my hard drive ;) > I haven't committed this code yet. > Just simply I have had no time so far to make some real test in > MS-Windows. > I only tested the base version few days ago but I made many other > modifications later and they ar

Re: [Harbour] hbMK2 - plug_moc.prg

2010-05-25 Thread Viktor Szakáts
Hi Pritpal, > now I am looking at how to construct > "moc" files and include it in the project. > > I need to know how should I pass "params" > leading to moc creation - in .hbp or on the > commandline ? > > A small example will be helpful. Here is a little .hbp sample I used for testing: --

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

2010-05-25 Thread Pritpal Bedi
Przemysław Czerpak wrote: > > If MS-Windows developers can make such tests then I can commit this > code soon. > I have working Vouch32 Active-X Server code ready to be compiled if it is xhb.com like implementation. Just commit and I will be in a position to give you the feedback. -

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

2010-05-25 Thread Viktor Szakáts
> this is what I am trying to convey. > > It depend how hbIDE is invoked. > > One can invoke it with desktop icon with/without > "Start in:" field entry on "Shortcut" tab in "Properties" > dialog when selection with right-click on appln icon. > > the other can call as: > C:\MyOwnFolder\>E:\ha

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

2010-05-25 Thread Massimo Belgrano
I can made test 2010/5/25 Przemysław Czerpak > On Tue, 25 May 2010, Lautaro Moreira wrote: > > Hi, > > > Sorry for my intromision but, where is olesrv2.prg ? > > On my hard drive ;) > I haven't committed this code yet. > Just simply I have had no time so far to make some real test in > MS-Windo

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

2010-05-25 Thread vszakats
Revision: 14591 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14591&view=rev Author: vszakats Date: 2010-05-25 21:41:14 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 23:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + config/bsd/clang.mk +

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

2010-05-25 Thread Przemysław Czerpak
On Tue, 25 May 2010, Lautaro Moreira wrote: Hi, > Sorry for my intromision but, where is olesrv2.prg ? On my hard drive ;) I haven't committed this code yet. Just simply I have had no time so far to make some real test in MS-Windows. I only tested the base version few days ago but I made many ot

[Harbour] hbMK2 - plug_moc.prg

2010-05-25 Thread Pritpal Bedi
Hello Viktor now I am looking at how to construct "moc" files and include it in the project. I need to know how should I pass "params" leading to moc creation - in .hbp or on the commandline ? A small example will be helpful. - enjoy hbIDEing... Pritpal Bedi http://hbide.v

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

2010-05-25 Thread Pritpal Bedi
Viktor Szakáts wrote: > > So it changes current dir in context of the subprocess > it calls compared to the one it uses on its own. > Yep. > We can juggle the words, but you do change current dir > throughout HBIDE, since hbmk2 isn't started in the same > dir as is HBIDE. > this is wha

Re: [Harbour] add dragonfly support

2010-05-25 Thread Tamas TEVESZ
On Tue, 25 May 2010, Tamas TEVESZ wrote: hi, > let me make a small amendment: and one more. apparently clang (pkgsrc wip/clang at least) works too. config/bsd/clang.mk is a straight copy of config/linux/clang.mk so i'll spare inlining it. some hbmk2-voodoo is needed in addition to this, of

Re: [Harbour] Question about hbmk2 and icons

2010-05-25 Thread Massimo Belgrano
is applicable http://msdn.microsoft.com/en-us/library/aa381043(v=VS.85).aspx So rc may be similar 10ICON "C:\harbour\contrib\gtwvg\tests\v_notes" 11ICON "C:\harbour\contrib\gtwvg\tests\v_help" but seem possible use also FONT 12, "MS Shell Dlg" How can be used font and icon in applic

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

2010-05-25 Thread Viktor Szakáts
>> Though based on your description, it's unnecessary to >> change directory when launching hbmk2. I left it, but >> I still don't understand why you do it. It just adds >> complexity without any benefit. hbmk2 doesn't require >> any such tricks to make it work. >> > > hbIDE process does not

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

2010-05-25 Thread Viktor Szakáts
>> --- >> 2010-05-25 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) >> * contrib/hbide/ideprojmanager.prg >>! Fixed output directory issue without the need for an hbmk2 plugin. >> HBIDE was changing current dir when calling hbmk2, so the detected >> output filename need

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

2010-05-25 Thread Pritpal Bedi
Viktor Szakáts wrote: > > Though based on your description, it's unnecessary to > change directory when launching hbmk2. I left it, but > I still don't understand why you do it. It just adds > complexity without any benefit. hbmk2 doesn't require > any such tricks to make it work. > hbIDE

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

2010-05-25 Thread Pritpal Bedi
vszakats wrote: > > Log Message: > --- > 2010-05-25 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) > * contrib/hbide/ideprojmanager.prg > ! Fixed output directory issue without the need for an hbmk2 plugin. > HBIDE was changing current dir when calling hbmk2, so the det

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

2010-05-25 Thread Viktor Szakáts
>> If it doesn't work, it means you DO CHANGE the >> current directory, even if you don't know about it, >> so in this case you must explore the QT launching >> stuff to see how to disable it. >> > > Let me explain a bit how hbIDE forks process to Qt > and why I cannot take this approach. >

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

2010-05-25 Thread Lautaro Moreira
Hello, Sorry for my intromision but, where is olesrv2.prg ? Many thank and sorry for my bad english. Lautaro Moreira El 25/05/2010 15:31, Przemysław Czerpak escribió: On Tue, 25 May 2010, Szak�ts Viktor wrote: Hi, That sounds great, may I ask for a simple example which show the usefulne

Re: [Harbour] Question about hbmk2 and icons

2010-05-25 Thread Viktor Szakáts
Hi, > I use Harbour for Win32. I was wondering if hbmk2 allows (or can allow > someday) support for multiple icons? We're leaning towards having two icons > in our .EXE builds. If this was ever supported... I am not sure what the > file delimiter would be. > > Any thoughts? '-icon' option

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

2010-05-25 Thread Pritpal Bedi
Viktor Szakáts wrote: > > Well, I didn't mean to include this raw snippet in > final code. First of all, it's not needed at all. > > Now, if you want to make it absolutely complicated > and use a plugin for this purpose, you should > _generate_ the plugin code to a temporary file and > pass

[Harbour] Question about hbmk2 and icons

2010-05-25 Thread smu johnson
Hi, I use Harbour for Win32. I was wondering if hbmk2 allows (or can allow someday) support for multiple icons? We're leaning towards having two icons in our .EXE builds. If this was ever supported... I am not sure what the file delimiter would be. Any thoughts? -- smu johnson _

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

2010-05-25 Thread vszakats
Revision: 14590 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14590&view=rev Author: vszakats Date: 2010-05-25 20:29:55 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbide/ideprojmana

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

2010-05-25 Thread Viktor Szakáts
Hi Pritpal (again), > Now, if you want to make it absolutely complicated > and use a plugin for this purpose, you should > _generate_ the plugin code to a temporary file and > pass that to hbmk2. Or you can put it into 'resources' > dir if you don't mind being less elegant. Otherwise, > after

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

2010-05-25 Thread Viktor Szakáts
Hi Pritpal, Well, I didn't mean to include this raw snippet in final code. First of all, it's not needed at all. Now, if you want to make it absolutely complicated and use a plugin for this purpose, you should _generate_ the plugin code to a temporary file and pass that to hbmk2. Or you can p

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

2010-05-25 Thread vouchcac
Revision: 14589 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14589&view=rev Author: vouchcac Date: 2010-05-25 19:56:03 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 12:52 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) + contrib/hbide/idedetect.prg

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

2010-05-25 Thread Viktor Szakáts
Hi Przemek, > This code illustrates the difference between regular and > associative hash arrays: > > proc main() [...] > return > > As you can see executing it the order of items in associative array > is strictly defined and it's the same as the order in which new item > were added. It mea

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

2010-05-25 Thread Massimo Belgrano
How past this usefull information on harbour doc? Where? without this operation a lot of user can't use assicuative hash array 2010/5/25 Przemysław Czerpak > On Tue, 25 May 2010, Szak�ts Viktor wrote: > > Hi, > > > That sounds great, may I ask for a simple example which > > show the usefulness

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

2010-05-25 Thread Przemysław Czerpak
On Tue, 25 May 2010, Szak�ts Viktor wrote: Hi, > That sounds great, may I ask for a simple example which > show the usefulness of this feature over regular hashes? This code illustrates the difference between regular and associative hash arrays: proc main() local h h := { => }

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

2010-05-25 Thread vszakats
Revision: 14588 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14588&view=rev Author: vszakats Date: 2010-05-25 19:20:38 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 21:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg

Re: [Harbour] add dragonfly support

2010-05-25 Thread Tamas TEVESZ
On Tue, 25 May 2010, Viktor Szakáts wrote: hi, > I've committed, along with hbmk2 patch, so in theory > the last issue with HB_USER_LDFLAGS should be fixed. > (since the /pkg dir is already hardcoded when checking > for slang2, I think it's just fine to also add it to > lib list in hbmk2)

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

2010-05-25 Thread vszakats
Revision: 14587 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14587&view=rev Author: vszakats Date: 2010-05-25 17:57:30 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 19:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/wapi_winuse

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

2010-05-25 Thread Viktor Szakáts
So f.e. this can be done: --- plugin.prg FUNCTION hbmk2_plugin_show_target( hbmk2 ) SWITCH hbmk2[ "cSTATE" ] CASE "post_all" IF hbmk2[ "nErrorLevel" ] == 0 hbmk2_OutStd( hbmk2, "@@ TARGET: " + hbmk2[ "cTARGETTYPE" ] + " : " + hbmk2[ "cTARGETNAME" ] ) hbmk2_OutStd(

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

2010-05-25 Thread vszakats
Revision: 14586 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14586&view=rev Author: vszakats Date: 2010-05-25 17:09:12 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 19:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg

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

2010-05-25 Thread Viktor Szakáts
Hi Przemek, That sounds great, may I ask for a simple example which show the usefulness of this feature over regular hashes? Viktor On 2010 May 25, at 13:20, dru...@users.sourceforge.net wrote: > Revision: 14579 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=1457

Re: [Harbour] Console Terminal with GUI Application under Linux

2010-05-25 Thread Massimo Belgrano
I try a reply also without any knoledge of Ubuntu sorry if i miss something try REQUEST HB_GT_XWC_DEFAULT 2010/5/25 Mario H. Sabado > Hi, > > I have compiled my application under Ubuntu 10.4 with -gui -gtxwc from my > .hbp. I also have REQUEST HB_GT_XWC in my main module. When I execute the >

Re: [Harbour] Contrib´s not build with 14457

2010-05-25 Thread Rossine
Hi Viktor, Viktor Szakáts wrote: > >> Rossine, >> >> Are you using MingW or BCC? >> MingW (TDM) is the recomended one. BCC is not as good according to >> tests made by the developers. >> Seems to me you are mixing it and you also have too many enviroment >> variables set. >> As I under

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

2010-05-25 Thread vszakats
Revision: 14585 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14585&view=rev Author: vszakats Date: 2010-05-25 14:43:31 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 16:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL + Added one m

Re: [Harbour] Contrib´s not build with 14457

2010-05-25 Thread Rossine
Hi Qatan, Qatan wrote: > > Rossine, > > Are you using MingW or BCC? > MingW (TDM) is the recomended one. BCC is not as good according to > tests > made by the developers. > Seems to me you are mixing it and you also have too many enviroment > variables set. > As I understand

Re: [Harbour] Contrib´s not build with 14457

2010-05-25 Thread Rossine
Hello Vicktor, With release 14584 it´s ok now, and I had not noticed it was missing libpq.lib but now everything is ok :) This is the end for my log: [LOG] Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation hbmk2: Created import library: c:\hrb_bcc\lib\fbclient.lib <=

Re: [Harbour] Contrib´s not build with 1445 7

2010-05-25 Thread Viktor Szakáts
> Rossine, > > Are you using MingW or BCC? > MingW (TDM) is the recomended one. BCC is not as good according to tests > made by the developers. > Seems to me you are mixing it and you also have too many enviroment > variables set. > As I understand the instructions in INSTALL, it should

Re: [Harbour] Contrib´s not build with 14457

2010-05-25 Thread Qatan
Rossine, Are you using MingW or BCC? MingW (TDM) is the recomended one. BCC is not as good according to tests made by the developers. Seems to me you are mixing it and you also have too many enviroment variables set. As I understand the instructions in INSTALL, it should be simpler.

Re: [Harbour] add dragonfly support

2010-05-25 Thread Viktor Szakáts
Hi Tamas, Great, thank you very much. I've committed, along with hbmk2 patch, so in theory the last issue with HB_USER_LDFLAGS should be fixed. (since the /pkg dir is already hardcoded when checking for slang2, I think it's just fine to also add it to lib list in hbmk2) Viktor On 2010 May 25

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

2010-05-25 Thread vszakats
Revision: 14584 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14584&view=rev Author: vszakats Date: 2010-05-25 14:23:34 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 16:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL + Added Drago

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

2010-05-25 Thread vszakats
Revision: 14583 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14583&view=rev Author: vszakats Date: 2010-05-25 14:22:11 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 16:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/common/hbprintf.c *

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

2010-05-25 Thread vszakats
Revision: 14582 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14582&view=rev Author: vszakats Date: 2010-05-25 14:14:15 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 16:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg

Re: [Harbour] Contrib´s not build with 14457

2010-05-25 Thread Viktor Szakáts
Hi, The part I need is missing from the posted .log fragments. It's at the end. Viktor On 2010 May 25, at 16:00, Rossine wrote: > > Hello Viktor, > >> Use 'clean install' as documented (with lowercase). > > OK. I use: \harbour\bin\mingw32-make.exe clean install > > Now fbclient.lib is creat

Re: [Harbour] Contrib´s not build with 14457

2010-05-25 Thread Rossine
Hello Viktor, > Use 'clean install' as documented (with lowercase). OK. I use: \harbour\bin\mingw32-make.exe clean install Now fbclient.lib is created, but ace32.lib and freeimage.lib. are not created in c:\hrb_bcc\lib This is my sets for harbour: [SETS] set HB_BUILD_DLL=yes set HB_DIR_IMPLIB

[Harbour] add dragonfly support

2010-05-25 Thread Tamas TEVESZ
hi, the following adds dragonfly support to the bsd support chunk. some notes: --- config/bsd/libs.mk (revision 14580) +++ config/bsd/libs.mk (working copy) - SYSLIBS += slang + ifneq ($(wildcard /usr/pkg/lib/libslang2.so),) + SYSLIBS += slang2 + else + SYSLIBS

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

2010-05-25 Thread vszakats
Revision: 14581 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14581&view=rev Author: vszakats Date: 2010-05-25 13:04:58 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 15:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/tobject.prg * s

Re: Re[Harbour] vise the return of the functions: TimeToSec and SecToTime...

2010-05-25 Thread Przemysław Czerpak
On Tue, 25 May 2010, Ale SB wrote: Hi, > Sorry, but that has to do with the Clipper 5.2 Harbour? > I'm referring to the functions and TimeToSec SecToTime the Harbour, has > nothing to do with Clipper. TimeToSec() and SecToTime() are Clipper Tools functions. In Harbour they are implemented in HBC

Re: Re[Harbour] vise the return of the functions: TimeToSec and SecToTime...

2010-05-25 Thread Viktor Szakáts
Hi, > Maurulio, > > Sorry, but that has to do with the Clipper 5.2 Harbour? > > I'm referring to the functions and TimeToSec SecToTime the Harbour, has > nothing to do with Clipper. Harbour has everything to do with Clipper, since we aim to be fully compatible with it. In case of HBCT we aim

Re: Re[Harbour] vise the return of the functions: TimeToSec and SecToTime...

2010-05-25 Thread Ale SB
Maurulio, Sorry, but that has to do with the Clipper 5.2 Harbour? I'm referring to the functions and TimeToSec SecToTime the Harbour, has nothing to do with Clipper. Thank, Ale Maurilio Longo wrote: > > Ale, > > yo no hablo portugues (nor spanish for that matter :)) > > Anyway, I did some

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

2010-05-25 Thread vszakats
Revision: 14580 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14580&view=rev Author: vszakats Date: 2010-05-25 11:36:12 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 13:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg

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

2010-05-25 Thread druzus
Revision: 14579 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14579&view=rev Author: druzus Date: 2010-05-25 11:20:34 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 13:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi

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

2010-05-25 Thread Viktor Szakáts
>> 2010-05-24 19:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) >> * contrib/sddoci/sddoci.c >>! Attempting to fix wrong numeric size for plain 'NUMERIC' >> (without size) type. I'm guessing so I'd appreciate if >> someone could dive into this more deeply. > > > Still wrong in e

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

2010-05-25 Thread Horodyski Marek (PZUZ)
> -Original Message- > From: vszak...@users.sourceforge.net > [mailto:vszak...@users.sourceforge.net] > Sent: Monday, May 24, 2010 7:54 PM > To: harbour@harbour-project.org > Subject: [Harbour] SF.net SVN: harbour-project:[14569] trunk/harbour > > Revision: 14569 > http://harbour

[Harbour] Console Terminal with GUI Application under Linux

2010-05-25 Thread Mario H. Sabado
Hi, I have compiled my application under Ubuntu 10.4 with -gui -gtxwc from my .hbp. I also have REQUEST HB_GT_XWC in my main module. When I execute the application, the terminal console is not being released and remains inactive from the background. Any switch that I might be missing? I n

Re: [Harbour] Re: Question regardin the good hbide

2010-05-25 Thread Viktor Szakáts
> I agree. > > Here is my argument: hbMK2 has filters parsing at -o level > which I cannot manage. I have requested you many times > to give a proper token to output name but you have always > deferred it. So what is wrong if I provide an option at -o > level or provide a slot as a field? You

[Harbour] Re: hbQT - QScintilla - First Impression

2010-05-25 Thread Pritpal Bedi
Viktor Szakáts wrote: > >> I have to modify some sources of QScintilla itself, >> bugs and warnings, both. I am still at a loss should I >> proceed further in this direction or not. So far I kept >> it on experimental boundaries. > > You should publish these changes and fixes upstream to > Q

[Harbour] Re: Question regardin the good hbide

2010-05-25 Thread Pritpal Bedi
Viktor Szakáts wrote: > > This is totally wrong solution. Why do you want to > force absolute paths for users? Because it's simplest > to program? IOW you force each HBIDE user to actively > work to workaround the lack of attention to details > in HBIDE code. > I agree. Here is my argumen

Re: [Harbour] hbQT - QScintilla - First Impression

2010-05-25 Thread Viktor Szakáts
> I have to modify some sources of QScintilla itself, > bugs and warnings, both. I am still at a loss should I > proceed further in this direction or not. So far I kept > it on experimental boundaries. You should publish these changes and fixes upstream to QScintilla author. There is little poi

[Harbour] hbQT - QScintilla - First Impression

2010-05-25 Thread Pritpal Bedi
Hello Everybody I have just finished with first working and presentable edit widget with QScintilla which I would like to share with you : http://www.vouch.info/images/qscintilla_demo.png I have almost implemented Harbour lexer and have been through to code folding. But still a few features

Re: [Harbour] Re: Question regardin the good hbide

2010-05-25 Thread Viktor Szakáts
>> My guess is that it fails in HBIDE because >> HBIDE _does change current dir_, which is >> a dangerous thing to do in general and will >> mess up any process which rely on current dir >> (IOW any process which uses no or relative paths), >> such as running a relative filename got from >> h

Re: [Harbour] Re: Question regardin the good hbide

2010-05-25 Thread Massimo Belgrano
Thanks for clarification and sorry to all for my question that show my limitation but i love hbide and have difficult undesrtand "persistence mode" or "no changing directory" 2010/5/25 Viktor Szakáts > > > -

[Harbour] Re: Question regardin the good hbide

2010-05-25 Thread Pritpal Bedi
Viktor Szakáts wrote: > > hbide properly detects the executable name > from hbmk2 output, but doesn't to complete > it to a proper path if no or relative path is > present in detected output executable name. > > Such completion should properly "emulate" > the behavior of hbmk2 for the case

Re: [Harbour] Re: Question regardin the good hbide

2010-05-25 Thread Viktor Szakáts
>> -lhbpcre -lhbzlib -Wl,--end-group -ocurd.exe -LC:/HARBOUR/lib/win/mingw >> > > -ocurd.exe > Note: ( which you miss time and again ) in tab provide full path as > -o_path_to_exe_plus_exename_without_extension_ > > > >> How is possible that executable is detected but non found??? >> > > Ho

[Harbour] Re: hbide problem in r14560

2010-05-25 Thread Pritpal Bedi
Massimo Belgrano wrote: > > Follow is How works > http://www.screentoaster.com/watch/stUEhURkNPRFtYRFpbWFNcVVVQ > Good video. Now I know how it is happening, I can reproduce it. It is caused by the action when mouse goes past the editing boundaries while selection is under-way. If you releas

Re: [Harbour] Re: Question regardin the good hbide

2010-05-25 Thread Viktor Szakáts
> > Exit Code [ 0 ] Exit Status [ 0 ] Finished at [ 09:32:22 ] Done in [ 4.16 > Secs ] > > Detec

[Harbour] Re: Question regardin the good hbide

2010-05-25 Thread Pritpal Bedi
Massimo Belgrano wrote: > > hbmk2: Linking... curd.exe > Exe is detected from above token, so it is there. > -lhbpcre -lhbzlib -Wl,--end-group -ocurd.exe -LC:/HARBOUR/lib/win/mingw > -ocurd.exe Note: ( which you miss time and again ) in tab provide full path as -o_path_to_exe_plus_exenam

Re: [Harbour] Re: hbide problem in r14560

2010-05-25 Thread Massimo Belgrano
> Massimo Belgrano wrote: >> >> is repeatable  following sequence operation in mytest on tree machine >> 1 type content of mytest.prg >> mytest.prg >> func MAIN >>  ? "ciao" >>  return >> 2 select with mouse from n(last char of return ) to f(first of func) >> included >> 3 move the mouse to men

Re: [Harbour] Re: Question regardin the good hbide

2010-05-25 Thread Massimo Belgrano
Project [ curd ] Launch [ Yes ] Rebuild [ Yes ] Started [ 09:32:18 ] Batch File Exists => C:\U

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

2010-05-25 Thread vszakats
Revision: 14578 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14578&view=rev Author: vszakats Date: 2010-05-25 07:26:37 + (Tue, 25 May 2010) Log Message: --- 2010-05-25 09:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbct/ctrand.prg

Re: Re[Harbour] vise the return of the functions: TimeToSec and SecToTime...

2010-05-25 Thread Maurilio Longo
Ale, yo no hablo portugues (nor spanish for that matter :)) Anyway, I did some tests with clipper 5.2e and I've reported what clipper gives as result. He probado con el compilador clipper 5.2e y les he informado de los resultados (this is google translation). Best regards. Maurilio Ale SB wro