[Harbour] Superlib

2009-06-21 Thread Jaroslaw Kadziola
Hi Viktor, When i'm compiling my prog i get : N:\kopia>hbmk2 proba.prg -lsuperlib hbmk: Processing configuration: N:\LASTHB\HARBOUR\BIN\hbmk.cfg Harbour 2.0.0beta1 (Rev. 11403) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 'proba.prg'... Lines 2645, Functions/Procedures 18 G

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

2009-06-21 Thread vouchcac
Revision: 11472 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11472&view=rev Author: vouchcac Date: 2009-06-22 05:26:13 + (Mon, 22 Jun 2009) Log Message: --- 2009-06-21 22:15 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * harbour/contrib/hbxbp/Makef

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

2009-06-21 Thread vouchcac
Revision: 11471 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11471&view=rev Author: vouchcac Date: 2009-06-22 05:13:40 + (Mon, 22 Jun 2009) Log Message: --- 2009-06-21 22:11 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * harbour/contrib/hbqt/hbqt_s

Re: [Harbour] HELP

2009-06-21 Thread Massimo Belgrano
Follow here your question and reply https://sourceforge.net/apps/phpbb/harbour-project/viewtopic.php?f=3&t=9 2009/6/21 Viktor Szakáts > Hi Manohar, > > Please join the Harbour user forum, where you'll be able to get help to > start: > http://sourceforge.net/apps/phpbb/harbour-project/ > > Brgds,

Re: [Harbour] HELP

2009-06-21 Thread Viktor Szakáts
Hi Manohar, Please join the Harbour user forum, where you'll be able to get help to start: http://sourceforge.net/apps/phpbb/harbour-project/ Brgds, Viktor On Sun, Jun 21, 2009 at 6:54 AM, MANOHAR MASKI wrote: > Dear Sir, > > I, am one of CA Clipper user and I, am verymuch interested to learn >

Re: [Harbour] HELP

2009-06-21 Thread Pritpal Bedi
Manohar MANOHAR MASKI wrote: > > I, am one of CA Clipper user and I, am verymuch interested to learn > xHARBOUR. Pleae let me know how to convert Clipper programs (DOS) to > xHARBOUR Windows. > This is Harbour's Dev-List. Please post your query to User List. Regards Pritpal Bedi -- View th

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

2009-06-21 Thread vszakats
Revision: 11470 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11470&view=rev Author: vszakats Date: 2009-06-21 18:56:11 + (Sun, 21 Jun 2009) Log Message: --- 2009-06-21 20:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL + Added iccia

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

2009-06-21 Thread vouchcac
Revision: 11469 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11469&view=rev Author: vouchcac Date: 2009-06-21 18:49:43 + (Sun, 21 Jun 2009) Log Message: --- 2009-06-21 11:42 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * harbour/contrib/hbxbp/xbpco

[Harbour] Re: mingw64 warnings (tested with GCC 4.4.1)

2009-06-21 Thread Viktor Szakáts
On Sun, Jun 21, 2009 at 1:24 PM, Viktor Szakáts wrote: > hbnf: > ../../getenvrn.c:177: warning: implicit declaration of function > 'GetEnvironmentStrings' > ../../getenvrn.c:177: warning: initialization makes pointer from > integer without a cast This one has been kindly (and quickly) fixed in m

Re: [Harbour] GTWVG and WIN_ namespace

2009-06-21 Thread Viktor Szakáts
Thank you. [ Here are two s&r scripts which I've prepared some time ago, maybe you find them useful: ] --- gsar -o -sWIN_SENDMESSAGE-rWVG_SENDMESSAGE *.c gsar -o -sWIN_SENDDLGITEMMESSAGE -rWVG_SENDDLGITEMMESSAGE *.c gsar -o -sWIN_SETTIMER -rWVG_SETTIMER *

[Harbour] HELP

2009-06-21 Thread MANOHAR MASKI
Dear Sir, I, am one of CA Clipper user and I, am verymuch interested to learn xHARBOUR. Pleae let me know how to convert Clipper programs (DOS) to xHARBOUR Windows. regards MANOHAR ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbo

Re: [Harbour] Harbour will pay professional documentation !?!

2009-06-21 Thread Viktor Szakáts
> > The idea of start from analyse harbour source code is rightcan be a > hbdoc2 project? > I've yet to see a usable *user documentation* automatically written by software which analysed source code ;) Anyway, everyone is free to try any sort of approach he likes. As for hbdoc2, I think the too

Re: [Harbour] Harbour will pay professional documentation !?!

2009-06-21 Thread Massimo Belgrano
The idea of start from analyse harbour source code is rightcan be a hbdoc2 project? 2009/6/21 Vailton Renato > > > I believe that if we studying a simple syntax, we could even develop > something in HB same as Doxygen or same as tool that Qt uses to > generate the help files. > > Before launchi

Re: [Harbour] Harbour will pay professional documentation !?!

2009-06-21 Thread Massimo Belgrano
Thanks for clarification about GDFL estimates is not started , collecting money is not started A direct collect by author can be a right idea 2009/6/21 Viktor Szakáts > On Sun, Jun 21, 2009 at 9:28 AM, Massimo Belgrano wrote: > >> hbdoc seem quite incomplete. >> final result will be shared by

[Harbour] nation chars in PDF file.

2009-06-21 Thread marek . horodyski
Hi, anybody know, how we can create pdf with nation chars ? I see in file /harbour/contrib/hbhpdf/tests/harupdf.ch this line : 589│#define HPDF_COUNTRY_PL "PL" /* POLAND */ How can I easily/simply use this definition (or another) to use national chars coded in cp1250 or in ISO8859-2 when I'm bu

[Harbour] Override C++ operators new, delete to adapt harbour memory management FM.

2009-06-21 Thread Xavi
Now we have a number of contributions in C++ which are outside the control of FM. This means that we have lost the ability to detect memory leaks for example. What do you think about subject? -- Xavi #include "hbapi.h" #ifdef HB_FM_STATISTICS void* operator new(size_t nSize) { return hb_xg

Re: [Harbour] RE: HBFormat and IF()

2009-06-21 Thread Przemyslaw Czerpak
On Sun, 21 Jun 2009, Szak�ts Viktor wrote: Hi, > I was proposing extra Harbour compiler warnings for this purpose > a while ago. For the compiler it's a much easier job to detect these > cases and show a warning, since the full PP + parser logic is there. #command IF( , [], [] ) => ; #s

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

2009-06-21 Thread Viktor Szakáts
Found this: --- 2006-10-04 02:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) ... * harbour/utils/hbtest/rt_class.prg * use: METHOD PROCEDURE ... CALSS ... instead of: PROCEDURE ... CALSS ... The first version is preferable syntax. ... --- --- test.prg #include "hbclass.c

Re: [Harbour] Harbour will pay professional documentation !?!

2009-06-21 Thread Viktor Szakáts
> I believe that if we studying a simple syntax, we could even develop > something in HB same as Doxygen or same as tool that Qt uses to > generate the help files. > > Before launching the project hbQt here in the list, I exchanged some > ideas with Marcos Gambeta and I has send to him a project de

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

2009-06-21 Thread toni...@fwi
Hi Viktor >This is good, but in this case IMO METHOD declaration and >definition should use some sort of consistent syntax. > >Declaring as METHOD and implementing as PROCEDURE is >very sloppy. I 100% agree with you but IIRC this problem was discussed in past. I don't remember why we choice for M

[Harbour] ohloh source parser

2009-06-21 Thread Viktor Szakáts
Hi folks, ohloh.net doesn't currently have a .prg / .ch code parser, so the statistical data for Harbour is off (missing about 25 LOC). ohloh.net has been bought by sf.net, which is yet another reason to add .prg support. Anyhow wants to contribute it? Full parser code here: http://labs.ohlo

Re: [Harbour] Harbour will pay professional documentation !?!

2009-06-21 Thread Vailton Renato
> hbdoc seem quite incomplete. > final result will be shared by gpl or lgpl , (maj be a period for > commercial distribution) > A dedicated svn will be used if project cover harbour and xharbour > PFD is final format easy to integrate I believe that if we studying a simple syntax, we could even

Re: [Harbour] RE: HBFormat and IF()

2009-06-21 Thread Viktor Szakáts
Hi Chen, > That's the main reason I always correct inline IF() to be IIF(). > > Of course, but part of the reasons to use hbformat is to deal with old ugly > code like that. > At the moment hbformat just interpret it as an IF statement and might fail > many lines > away on a mismatch END or other

[Harbour] RE: HBFormat and IF()

2009-06-21 Thread Chen Kedem
Viktor, > That's the main reason I always correct inline IF() to be IIF(). Of course, but part of the reasons to use hbformat is to deal with old ugly code like that. At the moment hbformat just interpret it as an IF statement and might fail many lines away on a mismatch END or other statement

[Harbour] mingw64 warnings (tested with GCC 4.4.1)

2009-06-21 Thread Viktor Szakáts
hbbtree: ../../hb_btree.c:643: warning: cast from pointer to integer of different size ../../hb_btree.c:739: warning: cast from pointer to integer of different size hbnf: ../../getenvrn.c:177: warning: implicit declaration of function 'GetEnvironmentStrings' ../../getenvrn.c:177: warning: initiali

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

2009-06-21 Thread vszakats
Revision: 11468 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11468&view=rev Author: vszakats Date: 2009-06-21 11:15:20 + (Sun, 21 Jun 2009) Log Message: --- 2009-06-21 13:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL * make_gnu.bat

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

2009-06-21 Thread vszakats
Revision: 11467 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11467&view=rev Author: vszakats Date: 2009-06-21 10:55:59 + (Sun, 21 Jun 2009) Log Message: --- 2009-06-21 12:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/binnumx.c *

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

2009-06-21 Thread vszakats
Revision: 11466 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11466&view=rev Author: vszakats Date: 2009-06-21 10:50:28 + (Sun, 21 Jun 2009) Log Message: --- 2009-06-21 12:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbxbp/xbp.ch

Re: [Harbour] CLASSES - What this mean ?

2009-06-21 Thread Viktor Szakáts
FWIW, here is the Xbase++ class hierarchy: http://www.xbaseprogrammer.com/ClassHierarchy.cgi Brgds, Viktor On Sun, Jun 21, 2009 at 12:17 PM, Przemyslaw Czerpak wrote: > On Sun, 21 Jun 2009, Pritpal Bedi wrote: > > Hi > > > XbpSLE is cast message. It returns special pseudo object > >

Re: [Harbour] Do( NIL )

2009-06-21 Thread Viktor Szakáts
That's it, thanks! Brgds, Viktor On Sun, Jun 21, 2009 at 12:33 PM, Przemyslaw Czerpak wrote: > On Sun, 21 Jun 2009, Szak�ts Viktor wrote: > > Hi, > >> Can this expression be optimized by compiler to NOP: >>    Do( NIL ) >> I'm trying to make this work in every situation: >> #if defined( __HB_OUTD

Re: [Harbour] Do( NIL )

2009-06-21 Thread Przemyslaw Czerpak
On Sun, 21 Jun 2009, Szak�ts Viktor wrote: Hi, > Can this expression be optimized by compiler to NOP: >Do( NIL ) > I'm trying to make this work in every situation: > #if defined( __HB_OUTDEBUG__ ) .AND. defined( __PLATFORM__WINDOWS ) >#xtranslate HB_OUTDEBUG( [] ) => WAPI_OUTPUTDEBUGSTRIN

Re: [Harbour] HBFormat and IF()

2009-06-21 Thread Viktor Szakáts
On Sun, Jun 21, 2009 at 11:34 AM, Chen Kedem wrote: > Testing hbformat.exe made with ChangeLog 2009-06-21 08:26 UTC+0200 Viktor > Szakats > (rev11463), BCC32. > > > 1) If the bak file already exists, the program does nothing but tell it did > "Reformatting". > > 2) The IF function is treated like

Re: [Harbour] CLASSES - What this mean ?

2009-06-21 Thread Przemyslaw Czerpak
On Sun, 21 Jun 2009, Pritpal Bedi wrote: Hi > XbpSLE is cast message. It returns special pseudo object > ^^^ > How I can retrieve this pseudo object? > I need value of a property in the XbpComboBox():new() itself > of the instance respresenting XbpSLE(). Such ins

RE: [Harbour] CLASSES - What this mean ?

2009-06-21 Thread J. Lefebvre
Sorry, but I'm sure of what I said ! Inheriting from any class will create an instance of that class into the current object. You can access this with ::Nameofsuperclass of ::Super when you have only one inherited class. In your case : ::XbpSLE exist as ::XbpListBox So doing DATA oSL

[Harbour] HBFormat and IF()

2009-06-21 Thread Chen Kedem
Testing hbformat.exe made with ChangeLog 2009-06-21 08:26 UTC+0200 Viktor Szakats (rev11463), BCC32. 1) If the bak file already exists, the program does nothing but tell it did "Reformatting". 2) The IF function is treated like the IF statement (the IFF function is Ok): ---tt1.prg--- func tes

Re: [Harbour] QT demoxbp

2009-06-21 Thread Viktor Szakáts
Hm, I'm still getting the flicker after deleting all minimize/maximize calls, also hide/show calls, BUT now only after clicking to another tab first. Quite strange but there must be something going on internally which causes it. Maybe some state change calls aren't checked for actual change, and c

RE: [Harbour] CLASSES - What this mean ?

2009-06-21 Thread Pritpal Bedi
Hi J. Lefebvre wrote: > > METHOD XbpComboBox:new( ... ) >::XbpSLE:New( ... ) // could also be written Super:New(...) as in > harbour Super will call the first inherited super class > // this code _is_ valid in harbour > RETURN Self > > METHOD XbpComboBox:create(

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

2009-06-21 Thread vszakats
Revision: 11465 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11465&view=rev Author: vszakats Date: 2009-06-21 09:06:06 + (Sun, 21 Jun 2009) Log Message: --- 2009-06-21 11:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbxbp/xbp.ch

Re: [Harbour] CLASSES - What this mean ?

2009-06-21 Thread Pritpal Bedi
Hi Przemyslaw Czerpak-2 wrote: > > Here is a difference between xbase++ and Harbour. XbpComboBox() is > class function. In xbase++ just like in Class(y) class functions return > class object not the object of given class. It's necessary to send > new() message to this object to create new objec

[Harbour] Segmentation fault with hbqt

2009-06-21 Thread Guy Roussin
Hi, Today, i try hbqt and i get a segmentation fault on demoqt. Here the backtrace : $ gdb ./demoqt GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change an

Re: [Harbour] QT demoxbp

2009-06-21 Thread Pritpal Bedi
Hi Viktor Szakáts wrote: > > It looks the flicker is only present with the MLE and ListBox controls. > They are sometimes painted in a blind state and repainted properly > afterwards. > > Maybe the side effect of tab activation code?: >oTab1:TabActivate := {|| oTab2:minimize(), oTab3:minim

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

2009-06-21 Thread vszakats
Revision: 11464 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11464&view=rev Author: vszakats Date: 2009-06-21 08:35:58 + (Sun, 21 Jun 2009) Log Message: --- 2009-06-21 10:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbxbp/xbp.ch

Re: [Harbour] QT demoxbp

2009-06-21 Thread Viktor Szakáts
It looks the flicker is only present with the MLE and ListBox controls. They are sometimes painted in a blind state and repainted properly afterwards. Maybe the side effect of tab activation code?: oTab1:TabActivate := {|| oTab2:minimize(), oTab3:minimize(), oTab1:maximize() } With 10 tabs suc

RE: [Harbour] CLASSES - What this mean ?

2009-06-21 Thread J. Lefebvre
This code, is also working in Harbour juste replacing init() with new. // here we create a classe with inherit from two classes CREATE CLASS XbpComboBox INHERIT XbpSLE, XbpListBox ENDCLASS METHOD XbpComboBox:new( ... ) ::XbpSLE:New( ... ) // could also be written Super:New(...) as in harb

Re: [Harbour] Harbour will pay professional documentation !?!

2009-06-21 Thread Viktor Szakáts
On Sun, Jun 21, 2009 at 9:28 AM, Massimo Belgrano wrote: > hbdoc seem quite incomplete. > final result will be shared by gpl or lgpl , (maj be a period for > commercial distribution) For documentation license there is GFDL and Common Creatives, for Harbour we've chosen the latter for some part

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

2009-06-21 Thread Massimo Belgrano
If can helpi can post a similar messages on Alaska newsgroup and similar (please modify) " Harbour have introduced a special Xbase++ compatibility in MultiThread and in Xbase parts I invite post source of xbase application and executable to help us give compatibility http://sourceforge.net/apps/

Re: [Harbour] Harbour will pay professional documentation !?!

2009-06-21 Thread Massimo Belgrano
hbdoc seem quite incomplete. final result will be shared by gpl or lgpl , (maj be a period for commercial distribution)A dedicated svn will be used if project cover harbour and xharbour PFD is final format easy to integrate What yay you suggest? 2009/6/21 Vailton Renato > Do not invest in HBD