[Harbour] RPMs of Harbour 2.0.0 for Opensuse 11.2 now available

2010-03-10 Thread francesco perillo
at sourceforge: https://sourceforge.net/projects/harbour-project/files/ ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Re: GC Pointers - Anyway to detatch them ?

2010-03-12 Thread francesco perillo
> Preparing a flow-chart to demonstrate whole hbQT process It would be great for us "beginners" in order to catch-up Qt development... ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mai

Re: [Harbour] hbIDE - Let's review

2010-03-13 Thread francesco perillo
This morning I attended a visual studio 2010 presentation and the speaker showed us the power of XNA framework (for game development). He had a pane on the left with a list box containing "code snippets". Double-clicking on one item made VS insert that code (multiline code, only the first line sho

[Harbour] From array/hash to variables ?

2010-03-13 Thread francesco perillo
If I remember well, a couple of weeks ago there was a commit for a function that enabled to pass from a array/hash to a set of variables.. ex: a["b"]=1 a["c"]=2 function( a ) and now two variables are present: b=1 and c=2 Was it real or did I dream ? If it was real, can it be used also for named

Re: [Harbour] Re: hbIDE - Let's review

2010-03-13 Thread francesco perillo
On Sun, Mar 14, 2010 at 1:19 AM, Pritpal Bedi wrote: > You always remember a name for longer periods. Tomorrow I will ask my co-workers to show me this feature... actually I don't know if it is a built-in feature or a plugin... I will tell you how it really works in VS to populate the code snipp

Re: [Harbour] What about hard-coded make directives?

2010-03-17 Thread francesco perillo
I believe this is what hbc file is for... On Wed, Mar 17, 2010 at 4:52 PM, pete_westg wrote: > Hi, > > I don't know if it is technically easy or even possible to implemented, but > i think it might be very handy to have inside main .prg one (or more) > make-time directive(s) instructing hbmk2, ab

Re: [Harbour] About NoSQL Cassandra

2010-03-19 Thread francesco perillo
I was about to post about MongoDB, another NoSQL database. With MongoDB you can have different column names for each record giving the programmer maximum flexibility! You can do searches but can't do joins. It supports replication and sharding. It also support server-side operators... something li

Re: [Harbour] mingw 4.5.0 benchmarks

2010-03-19 Thread francesco perillo
> Though at least for live builds used by real users > IMO it's worth to take the pain of a longer build > to offer a faster working application. It's a one > time overhead on developer's side and and permanent > and noticeable gain on the users' side. No problem for a lng one-time compile

Re: [Harbour] hbIDE - Autosave a Source

2010-03-20 Thread francesco perillo
yes, but only IF: - it is an option not enabled by default OR - autosaves to a different file to not overwrite the file on disk imagine you have your editor open and you go to have a drink, your cat jumps over the keyboard and deletes some lines of code Infact both "vi" editor and ms word

Re: [Harbour] Re: field->&("name") in a macro

2010-03-20 Thread francesco perillo
> And since change in more than 800 files? I don't know your source code but you wrote: func xxx( name ) local b := &( "{|| field->&('" + name + "') }" ) return eval( b ) so I understand that in your 800 files there are several calls like: bGet = xxx( "surname" ) It this is the actual situation,

Re: [Harbour] inkey(0) and set key to

2010-03-26 Thread francesco perillo
You can use setkey with one parameter ( the inkey(0) return value) to check if a codeblock is associated and then invoke it with correct parameters... something like this nCode := inkey( 0 ) (check nCode) cBlock := setkey ( nCode ) if cBlock Eval( cBlock, procfile(1), procname(1), procline(1)

Re: [Harbour] Re: hbIDE - On-line documentation-cum-distro update

2010-03-29 Thread francesco perillo
Pritpal, can you please spend some time trying to write some documentation on the internals of the interface to Qt ? It would give others a quick start ... Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org htt

Re: [Harbour] hbrun broken since a few days at least

2010-03-30 Thread francesco perillo
Maurilio, use the "bisect" method... if revision X is ok and revision X+100 is bad, start checking revision X+50 and you will split the number of tests by half. Suppose that X+50 is ok, then test X+25... and so on... Mercurial had a bisect functionality just for this scope... Francesco On Tue, M

[Harbour] error compiling from svn

2010-04-02 Thread francesco perillo
For compiling I use set path=C:\MinGW\bin;c:\qt\qt\bin;c:\cvs\harbour\harbour\bin;%PATH% ( %PATH% includes older harbour and bcc compiler) mingw32-make clean install >From log.txt ! Building Harbour 2.1.0dev from source - http://www.harbour-project.org ! MAKE: mingw32-make 3.81 sh.exe clean ins

Re: [Harbour] error compiling from svn

2010-04-02 Thread francesco perillo
On Fri, Apr 2, 2010 at 12:14 PM, Viktor Szakáts wrote: > Hi, > > This seems like mingw distro bug. You can try to work it around > by making sure gcc.exe also exists next to the -dw2 version. > I think normally it should be there though. > > Or try using official distro if you absolutely need dw2.

[Harbour] To Pritpal

2010-04-03 Thread francesco perillo
Hi Pritpal, Yesterday I sent a message to your private email address about the GPF... did you receive it ? Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harb

[Harbour] To Pritpal and Viktor on problems in hbide compiling

2010-04-07 Thread francesco perillo
I spent some time with Maurizio trying to investigate the error he had this MORNING compiling hbide (QT_STRONGFOCUS non existing variable running hbide). Following his message a reply advised to do a full clean and compile. This EVENING Maurizio did a "svn cleanup", then a "svn update", started the

Re: [Harbour] To Pritpal and Viktor on problems in hbide compiling

2010-04-08 Thread francesco perillo
> This is not true. What most likely happens is that you > had a hbqt.ch copied into /include dir by using 'install' > in the past but not using it after making subsequent > incremental builds. True, infact there is a hbqt.ch in /include but it should be updated by a make install shouldn't it

Re: [Harbour] Re: To Pritpal and Viktor on problems in hbide compiling

2010-04-08 Thread francesco perillo
error was in hbidefindreplace, where Qt_StrongFocus is used... but it used also in thbqtui.prg... Maurizio uses a batch file to do a clean/install (the same I use) so he can't "forget"... at this point I may only thing that the make did not complete, the error message is redirected to a file so Ma

Re: [Harbour] Re: To Pritpal and Viktor on problems in hbide compiling

2010-04-08 Thread francesco perillo
Viktor, your answers are like GOLD, not worthless. Infact you pointed to the right direction, a hbqt.ch file in /include What is not "normal" is that /include/hbqt.ch was not updated by a "make clean install" and I was trying to understand what happened to make the process more straightforward

Re: [Harbour] Re: To Pritpal and Viktor on problems in hbide compiling

2010-04-08 Thread francesco perillo
> Well, HB_INSTALL_PREFIX will default to SVN dir > or system dir on *nix by default (since these are > the only known dir by the make system). So, if you > leave it to default, it's much better option to not > use it at all, as I suggested several times. So, just a "mingw32-make clean all" ? But

Re: [Harbour] Re: To Pritpal and Viktor on problems in hbide compiling

2010-04-08 Thread francesco perillo
> set HBMK_OPTIONS=-trace > mingw32-make clean > mingw32-make It compiled without errors. Then I issued mingw32-make install (HB_INSTALL_PREFIX was not set) and I got: windres.exe -IC:/cvs/harbour/harbour/include C:/DOCUME~1/ADMINI~1/IMPOST~1/Temp/hbmk_g8aur0.rc -O coff -o C:/DOCUME~1/ADMINI~1/IM

Re: R: [Harbour] Re: hbIde error selecting into output console window

2010-04-08 Thread francesco perillo
> > PrgVersion() is nowhere called in hbIDE.  OR I am unable to understand you. In its main program file there is a function definition code.. code... code... function PrgVersion() return (a certain value) When compiling from hbide he gets: ../(path)/(file).a(_ERRSYS.o):_ERRSYS.c:(.data+0x3a8):

[Harbour] hbqt: a couple of questions

2010-04-08 Thread francesco perillo
This evening I started to "study" hbqt and I started from the sample code I found on trolltech site... they are very basic samples based on qt3 but so simple that they are still valid. I converted sample 1 in a few minutes... just pay attention to constructor that in Harbour is not overloaded...

Re: [Harbour] Re: hbqt: a couple of questions

2010-04-09 Thread francesco perillo
> > BTW what are exactly : hbqt: a couple of questions ? 1) is there some reason for having s_slots and s_events handled by the programmer and not hidden someway ? 2) how can I translate 1:1 from c++ QObject::connect( &quit, SIGNAL(clicked()), &a, SLOT(quit()) ); to harbour/Qt ... I was transla

Re: [Harbour] Re: hbqt: a couple of questions

2010-04-09 Thread francesco perillo
Hi Pritpal >> 1) is there some reason for having s_slots and s_events handled by the >> programmer and not hidden someway ? > > Yes, because in Harbour we are calling Qt classes by function calls > instead of class/method calls. We cannot call Qt classes directly. > Though my explanation may appea

Re: [Harbour] Re: hbqt: a couple of questions

2010-04-09 Thread francesco perillo
> Perhaps: >  VAR events // in QApplication > instead of: >  STATIC s_events > > Former is much cleaner. QApplication class > seems to be a requirement for any HBQT app > so it seems doable. > > Anyway just ignore this like most other > suggestions from me. For me it's not a problem. Or please te

Re: [Harbour] Re: hbqt: a couple of questions

2010-04-09 Thread francesco perillo
Hi Pritpal I think that there is some misunderstanding... I'm not a native english speaker so I may be confusing some time... I will try to be more clear i n the future. A bit about me: I was a programmer, up to about year 2000 my income was from programming. No more. I only have one copy of a big

[Harbour] My first study on hbqt code...

2010-04-10 Thread francesco perillo
Let's start with "qtgui/QPushButton.cpp" HB_FUNC( QT_QPUSHBUTTON_SETAUTODEFAULT ) { hbqt_par_QPushButton( 1 )->setAutoDefault( hb_parl( 2 ) ); } Since #define hbqt_par_QPushButton( n ) ( ( QPushButton * ) hbqt_gcpointer( n ) ) this line: hbqt_par_QPushButton( 1

[Harbour] Re: My first study on hbqt code...

2010-04-10 Thread francesco perillo
Just after hitting Send I went back to QPointer description and I saw this: QPointer label = new QLabel; label->setText("&Status:"); ... if (label) label->show(); QPointer can be used in place of the object it points to... So there may be a point 3) change the way we

Re: [Harbour] Re: What wrong with this example ....Harbour + Qt + hbxbp ...

2010-04-10 Thread francesco perillo
Pritpal can you please add a HB_TRACE on entering hbqt_gcAllocate_* with bNew value ? This line will match the "closing" HB_TRACE( HB_TR_DEBUG, ( "PTR_rel_*:Object not created with new()" ) ); that show up in the trace without the corresponding "opening" Perhaps the text "Object not creat

Re: [Harbour] My first study on hbqt code...

2010-04-11 Thread francesco perillo
> If I understand correctly (correct me if not): > > - You intend to create separate hbqt_gcpointer*() calls for > each object type. No, my proposal 1) has just 2 functions, one hbqt_gcpointer for Qt objects that don't have pq and one hbqt_gcpointer_has_pq for objects that have one... Proposal 2)

Re: [Harbour] My first study on hbqt code...

2010-04-11 Thread francesco perillo
> Yes. Plus check TOFIX notes in HBQT code, and it's > worth to carefully read Przemek's recent quick summary > of HBQT problems, there are some important issues > raised there which may help finding the right direction. > (f.e. confusing/mixing raw pointers with GC collected > ones, which is anoth

Re: [Harbour] My first study on hbqt code...

2010-04-11 Thread francesco perillo
It seems that I'm looking in the right direction And this one ? >> I also do not see any protection against wrong object casting and >> raw pointer items are accepted what effectively blocks any serious >> cleanups. Few months ago I sent code example which adds such protection >> to this list

Re: [Harbour] Installation of hbide

2010-04-11 Thread francesco perillo
Update from svn... after harbour-project:[14315] trunk/harbour should be ok ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] Pritpal, can you commit this more HB_TRACE ?

2010-04-11 Thread francesco perillo
void * hbqt_gcpointer( int iParam ) { HB_TRACE( HB_TR_DEBUG, ( "hbqt_gcpointer iParam=%d", iParam ) ); QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), iParam ); if( p && p->ph ) { HB_TRACE( HB_TR_DEBUG, ( "hbqt_gcpointer returns p->ph ph=%p", p->ph ) );

Re: [Harbour] Pritpal, can you commit this more HB_TRACE ?

2010-04-11 Thread francesco perillo
> Maybe it'd be a good idea to also add similar traces to > hbqt_gcpointerFromItem(), hbqt_pPtrFromItem() and hbqt_pPtrFromObj() > function. Yes, of course. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.h

[Harbour] Improve on hbqt object handling

2010-04-11 Thread francesco perillo
I have yet another proposal: in QGC_POINTER_* a new member should be added, call it "fingerprint". Every QObject should be issued a different "fingerprint", let's say QApplication is 1, QPushButton is 2 and so on. So when we get somehow a QGC_POINTER_* we can get back it's c++ class... hbqt_gcpoin

[Harbour] looking for hbqt GPFs...

2010-04-11 Thread francesco perillo
If you are getting GPFs in a replicable and consistent way PLEASE contact me and help me replicate it on my pc I tried all day to get a GPF and got none... ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://list

Re: [Harbour] Re: looking for hbqt GPFs...

2010-04-11 Thread francesco perillo
I'm on XP, mingw32 gcc 4.4.-dw2 (TDM-2 mingw32) and Qt sdk 2010.02, should be Qt 4.6.2 ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Re: Improve on hbqt object handling

2010-04-11 Thread francesco perillo
> Let me _repeat_ again: I know exactly what you have been saying for a long time :-) this specific proposal was only to do parameter checking > Problem is not with functioning of the objects, > that is working perfect. It lies when object is _destructed_ > by Qt and when Harbour tries to _free_

Re: [Harbour] Re: looking for hbqt GPFs...

2010-04-12 Thread francesco perillo
> You tried with hbIDE ? > > If yes, please note that it is now optimized to destroy objects > in proper way. Would be possible to disable to optimized destroy to do some tests ? If yes, please reply privately how it can be done... Thanks Francesco ___

[Harbour] Re: A question on C++

2010-04-12 Thread francesco perillo
On Mon, Apr 12, 2010 at 2:56 PM, Viktor Szakáts wrote: > Hi, > >> Hi Viktor, I was about to send this message to the list when I had a >> shocking vision >> >> In postgres.c it is NORMAL to discriminate between objects... there is >> no use in passing type X instead of type Y and it must be av

Re: [Harbour] Re: Improve on hbqt object handling

2010-04-12 Thread francesco perillo
> 2nd link I never read but it has little for us. I sent the wrong link,but anyway it states that they too had problems with memory deallocations and that it is important that each object has a parent. The link I wanted to send warned to never allocate a Qt object on the stack... some thing like

Re: [Harbour] Re: A question on C++

2010-04-13 Thread francesco perillo
Massimo, solution to my "other problem" will be a side-effect of what is being worked on now. Francesco Massimo, il lavoro che si sta facendo ora, di inserire una migliore gestione degli oggetti in hbqt, permetterà di adattare il codice dei costruttori per avere funzioni di overloading... esempio

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

2010-04-13 Thread francesco perillo
Thank you very much for your work because I think it can go in the right direction. I didn't study your code yet but I want to ask you one thing anyway... can may the code be written to be modular and easily adaptable to various sources ? It may be nice tobe able to harbour-ize any external library

Re: [Harbour] Re: Compiling CGI programs and RUN on Apache

2010-04-13 Thread francesco perillo
> [Tue Apr 13 14:46:33 2010] [error] [client 127.0.0.1] malformed header from > script. Bad header=\x1b[0m\x1b[1;1H\x1b[?25hHTTP/1.0 200 O: testcgi They seem to be console codes... like if not the correct GT is being used... You can use wget to get the page and store in a file: wget -O outputfil

Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors

2010-04-14 Thread francesco perillo
Marco, can't you prepare a virtual installation for Pritpal ? Virtualbox or Vmware client or whatever Pritpal agrees on I just received a phone call from an experienced windows user that tried to install ubuntu on one pc and got confused... I can prepare a vmware virtual machine by the end

Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors

2010-04-14 Thread francesco perillo
On Wed, Apr 14, 2010 at 11:59 AM, marco bra wrote: > @Francesco Perillo > Installing Ubuntu in a virtual pc ( i suggest Virtualbox ) inside Windows or > in a real pc with Windows in dual boot mode is very very very easy... Marco, I know this (I use linux from the gone "floppy"

Re: [Harbour] Re: Pritpal and Vikto, please test this generator

2010-04-14 Thread francesco perillo
>  pObj = ( QPointer< QPageSetupDialog > * ) >            memset( hb_gcAllocate( sizeof( QPointer< QPageSetupDialog > ), >                                   &s_gcQPageSetupDialog ), >                    0, sizeof( QPointer< QPageSetupDialog > ) ); It is already "included" it is visually differ

Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors

2010-04-14 Thread francesco perillo
I use suse enterprise server 10 at the office and I STRONGLY suggest to NOT use it for developing. Infact it misses several libraries, includes etc Please use OpenSuse, Ubuntu, Mandriva whatever you like but DO NOT use SLES or RedHat advanced server... Francesco _

Re: [Harbour] Re: Pritpal and Vikto, please test this generator

2010-04-14 Thread francesco perillo
I'm about to implement a -massivedebug switch to the generator sample: HB_FUNC( QT_QPUSHBUTTON_ISFLAT ) { QPushButton * p; HB_TRACE( HB, ( "Entering function QT_QPUSHBUTTON_ISFLAT" ) ); and with a bit more knowledge on parameters/object (also thanks to Viktor generator2) we may also

Re: [Harbour] Re: Pritpal and Vikto, please test this generator

2010-04-15 Thread francesco perillo
Pritpal, I now think that in prg classes we should add destructor and destroy all the children at harbour level from there, so doing that ourself and not leaving the job to Qt The other test I want to do is to use object.deleteLater() but it is not a "solution", is an hack ___

Re: [Harbour] Re: Pritpal and Vikto, please test this generator

2010-04-15 Thread francesco perillo
> > Did you test this code ? I think, yes. > Then prg level :addItem() method is missing, how you solved that? > Manually writing in TQLayout.prg ? I have this function in TQLayout.prg ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbo

Re: [Harbour] Re: Pritpal and Vikto, please test this generator

2010-04-15 Thread francesco perillo
Hi to everybody, I tried to solve the problem starting from the end, the delete... I wanted to intercept the delete and from the pointer going back to the harbour QGC_POINTER and "nullify" it From the end you cover all cases in a generic way.. Your solution is from another point of view, you

Re: [Harbour] Re: Pritpal and Vikto, please test this generator

2010-04-15 Thread francesco perillo
> Yes, you are right, this patch is just the first step in the crash hunting. > The next steps should be oriented to a more general dynamic approach. This is an important patch because it started a new way for solving GPF... Now there are several protections against GPFs... - guarded pointers fo

[Harbour] To Istvan

2010-04-15 Thread francesco perillo
Hi Istvan, in your sample code there is: HB_FUNC( QT_QLAYOUT_ADDITEM ) { QGC_POINTER * p; QGC_POINTER * q; HB_TRACE( HB_TR_DEBUG, ( "Entering function QT_QLAYOUT_ADDITEM()" ) ); q = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 1 ); p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), 2

Re: [Harbour] Re: Pritpal and Vikto, please test this generator

2010-04-15 Thread francesco perillo
Istvan, in hbide.prg please comment all the :destroy() lines, there are a bunch together... I will try later... Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo

Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors

2010-04-15 Thread francesco perillo
> sudo apt-get update; sudo apt-get install subversion wget rcs > build-essential ncurses-dev libslang2-dev tk8.3-dev unixodbc-dev > libncurses-dev libx11-dev libgpm-dev firebird2.1-dev libfreeimage-dev > libmysqlclient15-dev libpq-dev libqt3-mt-dev liballegro4.2-dev wine > dosemu-freedos mingw32 z

Re: [Harbour] Re: Pritpal and Vikto, please test this generator

2010-04-15 Thread francesco perillo
Istvan, in hbide.prg Pritpal implemented a "controlled" destroy of objects. He tried to sequence the destroy to release the children objects first... Disabling this long list of :destroy() and implementing your changes for all the cases where necessary, we should get a working program with no GPFs.

Re: [Harbour] Re: Pritpal and Vikto, please test this generator

2010-04-15 Thread francesco perillo
Sorry Pritpal, you were correct. In the QLayout.qth file proposed by Istvan the line of addItem is commented and so the harbour class is not generated... Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://

Re: [Harbour] Re: Pritpal and Vikto, please test this generator

2010-04-15 Thread francesco perillo
A bit more tracing in the debug log diff -r 020effeac192 harbour/contrib/hbqt/generatorF/hbqtgen.prg --- a/harbour/contrib/hbqt/generatorF/hbqtgen.prg Thu Apr 15 09:56:57 2010 +0200 +++ b/harbour/contrib/hbqt/generatorF/hbqtgen.prg Thu Apr 15 22:52:42 2010 +0200 @@ -50,6 +50,8 @@

Re: [Harbour] Re: Pritpal and Vikto, please test this generator

2010-04-15 Thread francesco perillo
Since I got GPF in another point (removing the :destroy() part) of the code (releasing a QToolBar) I used the trace above to see what function calls were done on that QToolBar... they are addAction toggleViewAction setIcon at least one of them must have the change you proposed Francesco _

Re: [Harbour] Re: Pritpal and Vikto, please test this generator

2010-04-15 Thread francesco perillo
Ok, just for trying to understand how it is possible to proceed and to validate the idea I did some tests... I was able to remove a GPFs changing some add* functions. It was a manual work and I strongly believe it can't be done manually ! Just for reference I post here one of this changed function

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

2010-04-17 Thread francesco perillo
Pritpal, beware about the fact that the QTabWidget.cpp you committed was not created by the generator, at least not the last one ! In order to change one function, every function was modified Francesco ___ Harbour mailing list (attachment size limit

Re: [Harbour] Re: hbIDE - Linux Distro - Need some Tips

2010-04-19 Thread francesco perillo
There are a couple of "semi-standard" way of installing packages in unix a) tar + manual modification b) self-executable a) tar it's just like a zip, you untar (unzip) it from a specific location and then set some variables (PATH, ld.conf (pointing to libraries) etc b) self-executable shell scri

Re: [Harbour] Re: hbIDE - Linux Distro - Need some Tips

2010-04-19 Thread francesco perillo
> Such a shame :/ Well... tar can be used to read from tapes... and in the past a command "cpio" was widely used for installations >> In order to not have problems a static version is the way to go > > Yes. I wonder what dependencies QT libs themselves have? I remember to have read that

Re: [Harbour] hbIDE - http://hbide.vouch.info/ - Needed your Reviews

2010-04-19 Thread francesco perillo
> in "The Origin" this sentence: > "Francesco: suggested to integrate "Eclipse" which he thought, and others > supported, is a great tool, but also expressed that he has no knowledge, so > far, how it can be integrated with Harbour." It was me... :-) I was just out of an introductory course of Jav

[Harbour] someone uses hbqt for "business" applications ?

2010-04-21 Thread francesco perillo
Now that hbqt seems more stable than before, I'd like to know if someone is using hbqt for business-type applications, I mean "crud" applications, ERP, accounting, etc Anyone wants to share some screenshots ? Francesco ___ Harbour mailing list (atta

Re: [Harbour] Re: someone uses hbqt for "business" applications ?

2010-04-22 Thread francesco perillo
I don't think that it's "too early"... we may work hard for many months to have stable hbQt.. but if it doesn't interface with the "clipper" way of doing business applications ? In my code I have a lot of VALID and WHEN and PICTURE... if we don't think about a way to emulate such functionalities w

Re: [Harbour] Re: someone uses hbqt for "business" applications ?

2010-04-23 Thread francesco perillo
> This means that a developer needs to change every ROW, COL value to X, > Y and add the WIDTH value. Personally, I did some tests in the past with hwgui and used the text based coordinates as multipliers of font height and width... WIDTH value can be calculated... code can be taken from the GET s

Re: [Harbour] Re: someone uses hbqt for "business" applications ?

2010-04-23 Thread francesco perillo
Pritpal, Bruno, Luciano, Maurizio, you all say interesting things... Let's try to go ahead step by step. < long message deleted to not be tedious... > I found the documentation for hbxbp (well, from the original... :-) ) so I may try to start from there to create some simple forms that feed

Re: [Harbour] Re: someone uses hbqt for "business" applications ?

2010-04-23 Thread francesco perillo
> And if you count on me, I will surely provide whatever I could on hbXBP > front. Ok, I will do some tests asap. Thanks, Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailm

Re: [Harbour] Re: someone uses hbqt for "business" applications ?

2010-04-23 Thread francesco perillo
> I've nothing against hbqt. > The discussion is about using it to create business apps and I pointed > one problem: many here have a lot of C5x CUI code to convert and hbqt > does not help. It is not its job ! hbqt maps the Qt classes, and it's something we must have. Also hwgui/minigui have suc

[Harbour] Patch for Pritpal

2010-04-28 Thread francesco perillo
I wanted to create a QTableWidget and populate it with different values. My code is: for i:= 1 to len(aL) aAdd( oGridItem0x0 , "" ) t := QTableWidgetItem():new() t:setBackground( oBrushBackItem0x0 ) t:setForeground( oBrushForeItem0x0 ) t:setText( "cella "+str(i) ) oGrid:s

[Harbour] Re: Patch for Pritpal

2010-04-28 Thread francesco perillo
A couple more... QTableWidget_setVerticalHeaderItem Description: Binary data QTableWidget_setHorizontalHeaderItem Description: Binary data ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.

Re: [Harbour] Re: Patch for Pritpal

2010-04-28 Thread francesco perillo
> Also we agreed that this mechanism will be usedonly where we have > problem with the destruction mecanism. not really. this mechanism must be used when a object becomes owned by some other object to avoid a double destruction... Probably I should go directly to xbp (I see you wrote tons of code

Re: [Harbour] Re: Patch for Pritpal

2010-04-29 Thread francesco perillo
> The whole point is, if we go this direction, > I am afraid a lot of .qth have to be changed. With my hbqtgen patch there is no need to change .qth files, just to write the specific new functions (that may be automatically generated once we set the necessary info somewhere) > Everywhere there is

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread francesco perillo
Enrico, do a search on past messages. There was a person that had several serious issues with smb2. >From memory, he solved applyuing a security patch that allowed to disable smb2... Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbo

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread francesco perillo
>From a thread started by smu johnson on March 3 Well we have a ton of people who still use Windows, and because of that we need a Windows solution. I am happy to report that after about 30 mins of Googling, I came across this page, which solved the problem, if you disable SMB2. http:/

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread francesco perillo
Enrico should answer... I just forwarded the message... Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

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

2010-05-04 Thread francesco perillo
>  * contrib/hbqt/hbqt_errorsys.prg >    + Error trace copied to clipboard, requested by Massimo. This should be active only if a specific option is set... you should never destroy clipboard content without user permission !!! I could have hundreds on source code lines in the clipboard Bette

Re: [Harbour] Vdei creation of harbour-project

2010-05-05 Thread francesco perillo
> > [ I run into a problem when converting Harbour > SVN to Git. At first our 1.0.0rc1 tag got > created in trunk, which broke its parent > following logic. ] I have a repository converted to mercurial and in effect I had the same problem. I had to give some special parameter to the import procedu

Re: [Harbour] Vdei creation of harbour-project

2010-05-06 Thread francesco perillo
> What I did for the gource video [1] was to download > the whole SVN database from sf.net with rsync, set > it up in my SVN server VM (a copy actually) and git > clone from this local SVN server. It was stable, > and much faster. sourceforge can be really slow in serving diffs needed to clone the

Re: [Harbour] Harbour for the iPad - ok

2010-05-07 Thread francesco perillo
> Hi > Are there any license problem to run Harbour on iPad? > []'s Maniero Yes, since you have to jailbreak it you are probably breaking apple license... You are not using official compilers, not following apple guidelines, not giving money for SDK, not paying fee for selling via their store

Re: [Harbour] Harbour for the iPad - ok

2010-05-07 Thread francesco perillo
Viktor, my post was ironic ! > Such experimentation is obviously a technical stunt > rather than a "proper" way to create official iPad > application. It's nevertheless interesting, just like > running Linux on every possible electronic device. Yes, I have a frined running linux on his NintendoDS

Re: [Harbour] Re: hbIDE - Plugins

2010-05-09 Thread francesco perillo
Some ideas. binary format: .hrb, should be platform indipendent and it may be closed-source... hbide at startup checks the content of "plugin" directory where there will be all the .hrb files. Imagine the file ext.hrb ext.hrb must contain some mandatory routines, name after the filename, for exa

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

2010-05-10 Thread francesco perillo
What if I want to register menu items ? Or create a toolbar ? Maybe you can keep a list of active plugins... just don't scan the directory to load all plugins but you must activate them before and only the enabled plugins will be opened at startup... >    % Changed: plugins are loaded on first ca

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

2010-05-10 Thread francesco perillo
> IMO it's much better and simpler to use the directory listing. > > If a plugin is not needed, it's enough to move it away. Me too... but sometimes it's easier to enable/disable from a list... ___ Harbour mailing list (attachment size limit: 40KB) Harbo

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

2010-05-10 Thread francesco perillo
> It's not worth it. Ok, I agree. Just scan the directory ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Harbour for the iPad - ok

2010-05-10 Thread francesco perillo
> At least that's Apple's intent. As to how they > can defend these rules "in court", I have no idea. They will not accept your program in their store... if you program is a .99$ one it is a real problem but if you are able to sell one program in a vertical market for 100.000$... no need of i

Re: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread francesco perillo
yes the message come to the list. I want to say that the code of sending mails with hbtip is far from perfect and not always follows SMTP protocol and best practices... Anyway, to be short, try port 587 and not 465... I can't get a proper reply from their servers on 465 so the connection goes tim

Re: [Harbour] How to update commits using SVN - Newbie question.

2010-05-15 Thread francesco perillo
I confirm that TortoiseSVN doesn't have a command-line "svn". You have to go via gui I didn't check but in order to commit you must be enabled. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-pro

Re: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread francesco perillo
I don't have openssl installed... is it just ok to install it and point to it and rebuild harbour ? @Fernando: I did try to analyze your logs... are they complete or are some lines missing ? If I telnet to port 465 I receive no data from the server... I also checked with a tcpdump... so it's stra

Re: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread francesco perillo
> but with MT returns .F. very slower > > log smtp with error > 20100514-09:29:31  :INETCONNECT( smtp.gmail.com, 465 ) >>> << > > 20100514-09:29:31  :INETERRORCODE( ) >>>  0 << > > 20100514-09:29:41  :INETRECVLINE( , , 512 ) >>> NIL << > > 20100514-09:29:41  :INETERRORCODE( ) >>>

Re: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread francesco perillo
I will install openssl tomorrow and I will have a look. Anyway, also your "ok" logs don't show that the message is really sent... Can you please: 1) insert in gmail.prg valid username/password, compile and run it in both ST and MT mode 2) delete username and password from gmail.prg and logs and sen

Re: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread francesco perillo
Viktor > ATM HB_SENDMAIL() is not working at one of my clients, > but it works at others. The one failing is simple SMTP, > no SSL or MT mode. HB_SENDMAIL() returns .F. Unfortunately > I don't have logs. The build in question uses latest hbtip > code. Can you please provide a minimal, self-contai

Re: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread francesco perillo
Fernando, I told you to remove the password :-) >From your first message: 20100514-10:05:23 :INETSENDALL( , 25, HELO ) >> 25 << >From today message: 20100515-21:31:32 :INETSENDALL( , 35, EHLO fjsiste...@fjsistemas.com.br< cr> ) >> 35 << Since EHLO command is sent only from

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

2010-05-16 Thread francesco perillo
I use vi (actually, vim) on both windows and linux... I used to use E2 (was it pe2??) I was given in 1987 by some programmers I met... it could do block copy/paste, I don't remember how but it could do... you could also select a box on the screen and then add borders...

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

2010-05-16 Thread francesco perillo
Alt-b now I remember... >> Actually PE2 still exists: >>http://www.pe32.com Nice to know !!! About the integrated editor... notepad++ is a windows only editor based on Scintilla Scintilla works both in Windows and Linux and so it cuold be used as a base editor... but hbide was a proj

<    1   2   3   >