[Harbour] From xHarbour to Harbour: need some infos

2009-11-08 Thread francesco perillo
I finnaly had the ok to complete the port from a clipper application to a more modern compiler. In these last years I ported the application to xHarbour using hbmake and now I think I have to move to hbmk2. where can I find some infos about hbmk2 file syntax ? I created some basic .hbm files

Re: [Harbour] From xHarbour to Harbour: need some infos

2009-11-08 Thread francesco perillo
Thank you very much to everybody. I'm reading your answers. I will do some testing now with bcc because I have it installed now. I also have different versions of MSVC installed in the several pc I use... I should settle on one version... or switch to mingw that I already installed once, some time

Re: [Harbour] From xHarbour to Harbour: need some infos

2009-11-08 Thread francesco perillo
Viktor, a couple of questions, if possible. Is it possible to read some documentation about hbm / hbp files ? Is it possible to specify to call another instance of hbmk2 to, for example, create a library if it not present ? I can't understand if hbmk2 actually works like a unix make, comparing

Re: [Harbour] From xHarbour to Harbour: need some infos

2009-11-08 Thread francesco perillo
Is it possible to read some documentation about hbm / hbp files ? BTW few days ago I listed  few places where docs is scattered (INSTALL, RELNOTES, ChangeLog, hbmk2 --help was the list AFAIR) In the meantime I read the --help and is very complete... Sorry to have asked. I will look for infos

Re: [Harbour] From xHarbour to Harbour: need some infos

2009-11-09 Thread francesco perillo
Ok, this is good... from a message I found on google, it is not possible to put a mylib2.hbp in myapp.hbp This is true. You must use separate .hbp files for each target binaries. However, you can move common parts to either a .hbm or .hbc file, and include this file into all of your .hbp

Re: [Harbour] From xHarbour to Harbour: need some infos

2009-11-09 Thread francesco perillo
One more question: is it possible to specify dependencies ? screen.prg includes screen.ch... if screen.ch changes screen.prg should be recompiled... Francesco ___ Harbour mailing list Harbour@harbour-project.org

Re: [Harbour] Fwd: [Viktor] Suggestions on How to Get Help

2009-11-09 Thread francesco perillo
I just joined the harbour community after a long time in xHarbour (and hwgui)... I'm willing to contribute in some ways but I don't know where to post code snippets/howto and other stuff For example I'm going to install mingw one of these days and I may create a small how-to with updated

[Harbour] hbvpdf is broken ?

2009-11-12 Thread francesco perillo
Well, it compiles and it works... but there are some strangeness in the code ) Start with this code snippet: #ifdef __XPP__ METHOD tPdf:SetLPI(_nLpi) #else METHOD SetLPI(_nLpi) #endif local cLpi := alltrim(str(_nLpi)) DEFAULT _nLpi TO 6 cLpi :=

Re: [Harbour] hbvpdf is broken ?

2009-11-12 Thread francesco perillo
On Fri, Nov 13, 2009 at 12:23 AM, Pritpal Bedi bediprit...@hotmail.com wrote: Hi francesco perillo-2 wrote: So, after a couple of days spent on this library that looked interesting, I think I will give up it may have some other hidden features... What's your idea ? Probably you

Re: [Harbour] hbvpdf is broken ?

2009-11-12 Thread francesco perillo
hbvpdf is outdated beyond repair. But it seems to be the only library that can be used on linux... there may be others I don't know,,, of course Try hbhpdf. Thanks, but I'm going back to PdfCreator at the moment Code was 90% ready Francesco

Re: [Harbour] hbvpdf is broken ?

2009-11-12 Thread francesco perillo
Really good news indeed ! Ok, I now agree with you, hbvpdf may be removed if nobody actually use it ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] Does anybody have a mercurial repository ?

2009-11-14 Thread francesco perillo
I use Mercurial as my versioning tool... I'm trying to convert trunk from svn to hg but it seems to last forever... Is a mercurial repository available ? Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org

[Harbour] Bug in compiling trunk with bcc

2009-11-14 Thread francesco perillo
I had to rem this line in config\win\global.mk to compile succesfully in bcc 5.5 # SYSLIBS += kernel32 user32 ws2_32 advapi32 gdi32 bcc has no kernel32.lib and the other ones I know that I should not use bcc (features and speed) but it's listed as supported... Francesco

Re: [Harbour] Bug in compiling trunk with bcc

2009-11-14 Thread francesco perillo
Viktor, you are right as usual On Sun, Nov 15, 2009 at 1:25 AM, Viktor Szakáts harbour...@syenar.hu wrote: I had to rem this line in config\win\global.mk to compile succesfully in bcc 5.5 # SYSLIBS += kernel32 user32 ws2_32 advapi32 gdi32 bcc has no kernel32.lib and the other ones

[Harbour] OLE objects syntax...

2009-11-14 Thread francesco perillo
I have an OLE object (PdfCreator, a pdf printer driver for windows) that among other methods has the followings: Public Property Get cOption(ByVal PropertyName As String) As Variant Public Property Let cOption(ByVal PropertyName As String, ByVal Value As Variant) Public Property Get cVisible()

Re: [Harbour] Bug in compiling trunk with bcc

2009-11-14 Thread francesco perillo
I now added -L...\psdk and works Yes, this is the key. Upgrade to latest SVN and PSDK dir is added automatically by the build process. I'm at the tip Harbour 2.0.0beta3 (Rev. 12877) I only set HB_COMPILER=bcc (since I have a couple others installed) Francesco

Re: [Harbour] Bug in compiling trunk with bcc

2009-11-14 Thread francesco perillo
I know that this list is perhaps not the correct one I hope you will forgive me :-) Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] OLE objects syntax...

2009-11-15 Thread francesco perillo
Here it is, save it as sample.prg, compiling is with these lines (the first one doesn't compile...) Comments and error messages in the code... hbmk2 sample.prg xhb.lib hbwin.lib -ofirst1 -dFIRST1 hbmk2 sample.prg xhb.lib hbwin.lib -ofirst2 -dFIRST2 hbmk2 sample.prg xhb.lib hbwin.lib -osecond

Re: [Harbour] Edit Compile Debug in visual cycle

2009-11-16 Thread francesco perillo
Why not Eclipse ? I had a half day introductionary course last week and it seems to be a great tool I saw the Java setting and it was terrific.. ! 0) Availability on OS X, Linux and Windows x86 and x64. Yes 1) Very good editor with block editing capability, syntax    highlighting,

Re: [Harbour] Edit Compile Debug in visual cycle

2009-11-16 Thread francesco perillo
Question: Does anybody have some experiences on language integration into Eclipse? Unfortunately I don't have such experience. I'm going to attend a couple of other courses in the next weeks about basic java programming and we are going to use Eclipse. The teacher (a university teacher) is a

Re: [Harbour] OLE objects syntax...

2009-11-16 Thread francesco perillo
This can be solved by using _ in front of method to force DISPATCH_PROPERTYPUT. So,   oPdfApp:_cOption( UseAutoSave , 1 ) do the job. Yes, it does. Thank you ! I still have problems with 100% cpu load when I call ::cClose() but I'm investigating on this Francesco

Re: [Harbour] OLE objects syntax...

2009-11-16 Thread francesco perillo
I still have problems with 100% cpu load when I call ::cClose() but I'm investigating on this It seems that I have this problem only in the demo program... I will investigate i f possible... Francesco ___ Harbour mailing list (attachment size

Re: [Harbour] Qt 4.6rc1 and Snow Leopard

2009-11-19 Thread francesco perillo
I also would like to compile and test Qt support... any doc ? Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] A small analysis of hb_sendmail

2009-11-19 Thread francesco perillo
Harbour trunk of a couple of days ago, compiled with bcc 5.5 Using hb_sendmail() I get in the mail server log: 2009-11-19 23:09:57 SMTP connection from [X] (TCP/IP connection count = 1) 2009-11-19 23:09:58 SMTP protocol synchronization error (input sent without waiting for greeting):

[Harbour] To Pritpal about hbide

2009-11-20 Thread francesco perillo
Hi, I was told that hbide will integrate support for svn... Since I'm an user of Mercurial I'd like to talk with you to cooperate to add support for this dvcs... Francesco ___ Harbour mailing list (attachment size limit: 40KB)

[Harbour] Please try this sendmail patch

2009-11-20 Thread francesco perillo
Is anybody using hb_sendmail() ? I already said that it is not fully smtp protocol compliant and my tests (trunk compiled with bcc) didn't worked at all due to this incoorect protocol implementation So, if you are using this patch and it works ok for you, please tell me ! If it works for

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread francesco perillo
Hi Bruno, thank you for your reply. I have some ideas ... can you please show me how do you call hb_sendmail() ? can you please compile and run contrib/hbtip/tests/gmail.prg (after changing the data inside) and run it ? Which are your operating system and compiler used ? Thank you Francesco

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread francesco perillo
I am not using SSL I use it in windows in an OOHG aplication , and compiled using Mingw ok hb_sendmail('200.xxx.xxx.xxx',,'f...@domain',{'adre...@domain','adre...@domain'},,,cuerpo,'Cierre de caja') Is it possible to have (in private mail) the IP of the server and an address I can send some

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread francesco perillo
gmail only supports SSL mail or TLS on port 25... in my bcc setup I don't have openssl so I can't connect to gmail (at the moment) Do you have a server you connect without authentication on port 25 for mail delivery ? Does it work for you ? Standard timeout is 1 second... gmail is quick

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread francesco perillo
At the moment I tried hb_sendmail against exim without any form of authentication, just plain old clear-text smtp I will try Qmail and other servers this evening but I have to remove the patch first... The problem is that hb_sendmail() sends the EHLO or HELO command without waiting for the

Re: [Harbour] Please try this sendmail patch

2009-11-21 Thread francesco perillo
Viktor, I DID try to just raise timeouts and I did some more tests. My MTA is exim and it is very strict on the protocol. Try to issue this command: telnet mailserver 25 and you will get a 220 message and ONLY IN THIS MOMENT you can issue commands ! Exim doesn't accept any command before the

Re: [Harbour] To Pritpal about hbide

2009-11-21 Thread francesco perillo
I have to understand how to compile hbide (with Qt) before . :-) Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] Since you are on win_prn subsystem...

2009-11-24 Thread francesco perillo
I'd like to point out that the following text present in testprn.prg is false: oPrinter:TextOut(Notice: UNDERLINE only prints correctly if there is a blank line after,.T.) oPrinter:TextOut(it. This is because of ::LineHeight and the next line,.T.) oPrinter:TextOut(

Re: [Harbour] Book Programming with Harbour

2009-11-24 Thread francesco perillo
Probably Harbour internals is a better title Unfortunately there are only 24 hours per day... and if Przemek writes the book, he can't work of getting Harbour better and better :-) Do you have an idea of how many people are currently using harbour for producing software that is on sale ?

[Harbour] Short or long variable names ?

2009-11-26 Thread francesco perillo
I'm doing some refactoring on really old old code. I have some 1 letter, no meaning, confusing variable names... I'd like to know if there is a cost associated with using longer variable names in PUBLIC, PRIVATE and LOCAL. Francesco PS: I know the cost in negligible nowadays... just curious

Re: [Harbour] Short or long variable names ?

2009-11-26 Thread francesco perillo
If you are asking about runtime speed overhead caused by longer variable names then there is no difference if you are using shorter or smaller variables names. LOCAL variable names are not stored in final binaries at all (with the exception to code emitted for debugger with -b switch) For

Re: [Harbour] Short or long variable names ?

2009-11-26 Thread francesco perillo
Thank you very much for your clarification. Part of my code dates back to dBaseIII+ fully interpreted code... I'm thinking about a particular case... I will test it and in case I will ask you again... thank you again Francesco ___ Harbour mailing

Re: [Harbour] hbvpdf

2009-11-29 Thread francesco perillo
You can find it under examples directory. I want to tell you that hbvpdf works but has some little problems... for example only A3 form size is supported, pdf is not compressed and in clear-text and some other code strangeness... Look for a message from me dated 12 november... Francesco

Re: [Harbour] hbvpdf

2009-11-29 Thread francesco perillo
Sorry, I wanted to say LETTER instead of A3. If you go in the source code you will see that if you specify a paper size differe from LEGAL or LETTER you will get LETTER. local nSize, aSize := { { LETTER,8.50, 11.00 }, ; { LEGAL ,8.50, 14.00 }, ;

Re: [Harbour] hbvpdf

2009-11-29 Thread francesco perillo
But I probably know where is the problem: you're trying to use the class way ( hbvpdft.prg ). Yes, I am using the class... When I found the first problem in the class code I went to the procedural and found the same problem... I didn't check every specific issue I had... That file has been

Re: [Harbour] hbvpdf

2009-11-30 Thread francesco perillo
On Mon, Nov 30, 2009 at 10:56 AM, Fernando Athayde fernando_atha...@yahoo.com.br wrote: and change fonts, sizes spacing, ... i solve in a moment, i copied hbvpdf fonts into my project, but i don´t see why remove for contrib What do you mean copied hbvpdf fonts ??? ... sounds interesting...

Re: [Harbour] hbvpdf

2009-11-30 Thread francesco perillo
i copied hvpdf*.pdf and .ch into myproject and functions perfectly now I understand... you copied the source files... not the fonts... i solve in a moment, i copied hbvpdf fonts into my project, but i don´t Francesco ___ Harbour mailing list

[Harbour] Error in mpkg_rpm.sh on opensuse 11.1 64bit

2009-11-30 Thread francesco perillo
as root user on openSUSE 11.1 (x86_64) VERSION = 11.1 command: sh ./mpkg_rpm.sh ./bin/linux/gcc/hbrun --hb:gtcgi ./bin/postinst.prg ! Making /usr/bin/hbmk.cfg... ./bin/postinst.sh make: execvp: ./bin/postinst.sh: Permission denied make: *** [install] Error 127 error: Bad exit status from

[Harbour] Re: Error in mpkg_rpm.sh on opensuse 11.1 64bit

2009-11-30 Thread francesco perillo
sorry, solved /bin/postinst.sh had no x mode bit... chmod a+x bin/*.sh solved... is it normal that I have .sh files without x bit ? I'm getting files from svn Francesco ___ Harbour mailing list (attachment size limit: 40KB)

Re: [Harbour] A func(.=.) like func(...) idea

2009-12-06 Thread francesco perillo
or something like: myclass():new( top = 10, left = 20; text = text to print, enable =.T. ), myclass():move( x = 5, y =5 ) But how can the compiler or the runtime understand when you want to pass a string (in your case) or a hash (in my case) ? The positive on your side is that you can build the

Re: [Harbour] Wich way for easy switch to hbxhb?

2009-12-31 Thread francesco perillo
Massimo, mi spieghi cosa è hbxbp ? Massimo, can you explain to me what's hbxbp ? Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Harbour 2.0 linux release search a releaser

2010-01-01 Thread francesco perillo
I may try to build rpms for openSuse... I should have 3 or 4 opensuse versions available to build harbour on... I need to ask a question: if I install the mysql client and build harbour to activate mysql integration, the user that install that rpm must also have the mysql client installed ?

[Harbour] I migrated... thank you !

2010-01-01 Thread francesco perillo
I just want to tell you that last 28 Dec I finally migrated a company from a clipper 5.01 to a Harbour 2.0 application suite... the first migration commit in the applications VCS is dated december 2005... they kept postponing but I finally forced them to switch and everything went smooth... I

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

2010-01-02 Thread francesco perillo
Thank you, I will try to build the rpm later today. Are these changed backported on the 2.0 branch ? Or I export the 2.0, the tip and manually copy from tip to 2.0 ? I'm not a svn user... (I usually use mercurial) Francesco ___ Harbour mailing list

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

2010-01-02 Thread francesco perillo
I'm testing rpm builds on openSuse... it seems that -static- rpm must be installed... is it mandatory ? if yes, should it be included in the standard package ? Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org

[Harbour] To Viktor about openSuse rpm

2010-01-02 Thread francesco perillo
1) hbcplr in static I installed all the requirements (except ADS) and built the rpm. I installed the lib and the base package. If I try to compile a simple test program I get: # hbmk2 test.prg -trace hbmk2: Processing configuration: /usr/bin/hbmk.cfg hbmk2: Harbour compiler command (embedded):

[Harbour] Re: To Viktor about openSuse rpm

2010-01-02 Thread francesco perillo
3bis) I installed the contrib package where harupdf is but I got another error: contrib/hbhpdf/tests # hbmk2 harupdf.prg hbmk2: Processing local make script: hbmk.hbm hbmk2: Processing configuration: /usr/bin/hbmk.cfg Harbour 2.0.1dev (Rev. 13448) Copyright (c) 1999-2010,

Re: [Harbour] Re: To Viktor about openSuse rpm

2010-01-03 Thread francesco perillo
I will start over later today. I want just to say that I did not use HB_*_INSTALL overrides when building rpm... It is true that I used HB_*_INSTAL in a previous make; make install style compilation that I used to check which files were compiled but it was in another terminal session The

Re: [Harbour] Re: To Viktor about openSuse rpm

2010-01-03 Thread francesco perillo
On Sun, Jan 3, 2010 at 11:20 AM, Tamas TEVESZ i...@extreme.hu wrote: On Sun, 3 Jan 2010, francesco perillo wrote:   harbour-static contains the .a libraries doesn't suse name these kinds of packages -devel, like any rpm system with good manners does? Well, I will check with other compiler

Re: [Harbour] Re: To Viktor about openSuse rpm

2010-01-03 Thread francesco perillo
-devel packages include files that permit to extend core functionalities... python-devel: Include Files and Libraries Mandatory for Building Python Modules I don't agree to have a harbour-devel.. .gcc doesn't have a -devel... it has a compiler package taht includes almost everything... From what

Re: [Harbour] Re: To Viktor about openSuse rpm

2010-01-03 Thread francesco perillo
Hi Tamas, I'm not offended since I'm not the original author of the .spec files... I just wanted to help build the RPMs on Suse (both openSuse and SLE[D|S]) since I have several running systems at work and at home that I can use to do such builds. I was trying to understand how these builds

Re: [Harbour] hbcppmm demoqt demoxbp hbide Qt4.6.0 MinGW GCC4.4.1 test

2010-01-07 Thread francesco perillo
For those interested in problem-free fixing of bugs in last final release, 2.0.x branch was created at the time of the release, and such work shall be done there. Volunteers may start it right away by merging '[TOMERGE 2.0]' marked patches from trunk to 2.0.x branch. This will ensure that

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

2010-01-08 Thread francesco perillo
Some months ago I put this message on xharbour newsgroup - it was for xHarbour and I don't know if it is still valid... I was also fully criticized on using hb_dynsymFindName but this function really did its job also when loading/unloading DLLs... At the end of

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

2010-01-08 Thread francesco perillo
Viktor, the message was in the Xharbour mailing list, date november 2008, referring to a message of March 2008... it has nothing to do with Harbour... it was only to show that there should be a way not to use TYPE() but to query the HVM... I see now that in Harbour HB_ExecFromArray() uses other

[Harbour] bug and patch for harupdf.ch, please review and apply

2010-01-16 Thread francesco perillo
In harupdf.ch the following line (701) hb_retnl( ( long ) HPDF_Page_TextWidth( ( HPDF_Page ) hb_parptr( 1 ), hb_parc( 2 ) ) ); should be changed in hb_retnd( ( double ) HPDF_Page_TextWidth( ( HPDF_Page ) hb_parptr( 1 ), hb_parc( 2 ) ) ); since function definition in Haru library is:

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

2010-01-17 Thread francesco perillo
Log Message: --- 2010-01-17 10:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)  * contrib/hbhpdf/harupdf.c    ! HPDF_Page_TextWidth() fixed to return double instead of long.      As suggested by Francesco Perillo. Thank you. Shouldn't it be [TOMERGE2.0] ? Francesco

[Harbour] run/hb_run/win_rundetached/wapi_shellexecute

2010-01-18 Thread francesco perillo
I've integrated Harupdf in my program. Haru creates a file and I wanted to open the satndard, system defined pdf viewer. I opted to the simplest command: run( ::pdfFileName ) This worked flawlessy in my XP pro development notebook, opening the Acrobat Reader window while the Harbour program

Re: [Harbour] Re: run/hb_run/win_rundetached/wapi_shellexecute

2010-01-18 Thread francesco perillo
wapi won't work for sure in linux In linux, to have a really detached process I usually do a: at -f /path/to/a/shell/script now In this way I'm sure stdout,stderr,stdin are free at returns immediately and the daemon atq runs the detached job. Another way is to use: nohup /path/to/a/shell/script

[Harbour] To Viktor, another patch for hb_sendmail

2010-01-21 Thread francesco perillo
I got some complaints from users that mails were not delivered I then went to smtp logs and found strange behaviours. I dug again the code and found again that SMTP protocol is not implemented in the code... everything is based on timeouts and the idea that the server replies really really

[Harbour] 2 little requests to commit-ters...

2010-01-22 Thread francesco perillo
I'm preparing to do merging in 2.0 1) Please try to isolate commits with [TOMERGE 2.0] so we don't have, in a single commit, hunks that must be ported and hunks that shouldn't... I cherry-picked the commits (about 32 up to now) that should be ported and now I will try to expunge all the hunks

Re: [Harbour] 2 little requests to commit-ters...

2010-01-22 Thread francesco perillo
On Fri, Jan 22, 2010 at 10:06 AM, Alex Strickland s...@mweb.co.za wrote: francesco perillo wrote: I'm preparing to do merging in 2.0 That is good of you. I noticed that there were a few bug fixes that did not appear to be marked with TOMERGE, did you notice them? No, I didn't. Up to now I

[Harbour] First results in MERGE 2.0

2010-01-22 Thread francesco perillo
I proceeded with the merge work and I found some problems in the process... 1) hbtrace.c only some changes to hbtrace are marked TOMERGE and so the marked patches don't apply. Can I use the TRUNK version ? 2) hbmk2.pt_BR.po there are several commits for this file and for some of them the label

Re: [Harbour] First results in MERGE 2.0

2010-01-23 Thread francesco perillo
A quickly answer: On Sat, Jan 23, 2010 at 1:45 AM, Viktor Szakáts harbour...@syenar.hu wrote: Hi, 1) hbtrace.c only some changes to hbtrace are marked TOMERGE and so the marked patches don't apply. Can I use the TRUNK version ? I think you can't. Several features were added to this

Re: [Harbour] First results in MERGE 2.0

2010-01-23 Thread francesco perillo
Ok I will try to manually merge all the revisions I listed in my message.. You can merger all my commits. In practice the short answer is: merge everything except new type modifications (HB_SIZE, HB_ISIZ, HB_BOOL, ...) Can't see the source files now, I will check later Francesco

Re: [Harbour] First results in MERGE 2.0

2010-01-23 Thread francesco perillo
For example in one of your patches (about unicode overflow protection) there were changes to win_prn3  (TEXT(0)) not listed in the Changelog and I can't know if they are needed or not... in anay case, they don't apply.. Which commit was that? Sorry, my fault, it was ok Francesco

[Harbour] Re: First results in MERGE 2.0

2010-01-23 Thread francesco perillo
4) 2009-12-31 12:43 UTC+0100 Przemyslaw Czerpak it doesn't apply, but I need to investigate better (probably due to some missing previous codepage patches) Should all codepage rfelated patches be MERGED ? Only 2 hunks don't apply and they are the removal of cphr437 and cpsl437, so this

Re: [Harbour] First results in MERGE 2.0

2010-01-23 Thread francesco perillo
3) 2010-01-05 18:48 UTC+0100 Viktor Szakats only in hbmk2.pt_BR.po, probably due to not applied patches at point 2. The hbmk2.prg -warn fix should go though, it's definitely a manual merge, since multiple changes were done in this one commit. Ok, it was my fault, the patch should be: @@

Re: [Harbour] First results in MERGE 2.0

2010-01-23 Thread francesco perillo
I repost since I fear that attachments blocked the message. Ok, this is the first try big-patch-2.0.0.diff should cleanly apply to branch 2.0.0 trunk-changelog should be applied to Trunk, it contains the TOMERGE - MERGED changes So, to power-users and power-coders, please review and apply the

Re: [Harbour] First results in MERGE 2.0

2010-01-24 Thread francesco perillo
As I said, I'm out and ingernet connection is worse than expected at least today don't know next days. Yes, I worked on linux and transformed the repository in a mercurial repos... I will check the problems you report asap. Francesco ___

Re: [Harbour] Binaries for Suse

2010-02-03 Thread francesco perillo
I can provide rpm for some suse releases... which one do you need ? And which optional components do you need (since some of these servers are production servers I can't install too much stuff on them) Francesco ___ Harbour mailing list (attachment

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

2010-02-05 Thread francesco perillo
-Give the possibility of search two expression: for example i serc myarray  and ,31 serch myarray[1,31] or myarray[ a_pippo ,31] That is a Regex search myarray.*,31 Regex is in the TODO list ___ Harbour mailing list (attachment size limit: 40KB)

Re: [Harbour] Re: I want to participate

2010-02-17 Thread francesco perillo
I'm for Bacco style: a lot of different sample, easily buitable, that deeply exploit all possibilities of an object. Are there 3 button styles ? A demo of buttons with all three present in the form, or three different forms ___ Harbour mailing list

[Harbour] Anyone using hbqt ?

2010-02-25 Thread francesco perillo
I see Qt has lots of possibilities, is very powerfull and widely available... There are lots of tutorials and sample code available (and demos in the Qt package are terrific!) but they are for C++ Now the question: if I want to start using hbxpb/hbqt where should I start ? Is hbide and demoxpb

Re: [Harbour] Re: Anyone using hbqt ?

2010-02-25 Thread francesco perillo
I'm collecting some infos at this stage because some aspects are unknown or not clear to me. hbXBP is a class framework based on Xbase++ class documentation. It uses hbQT for GUI implementation. demoQT.prg in contrib/hbqt/tests is a pure hbQT based demo application. Sorry, I missed it. From

Re: [Harbour] Re: Anyone using hbqt ?

2010-02-25 Thread francesco perillo
2. Goto harbour/contrib/hbqt/gtqtc It's in harbour/contrib/gtqtc so it didn't get my attention from what I understand this is a GT module that interfaces with Qt using Qt text-mode, so that you can run a Qt program in text-mode is it correct ? So pure, unmodified clipper source code

Re: [Harbour] Anyone using hbqt ?

2010-02-25 Thread francesco perillo
Hi, I spent just ten minutes with your code and I must say that I like it, expecially the preprocessor part that is very smart ! The code looks promising... I will try to checkout tomorrow and read the docs. Do you have a more comprehensive sample ? Thanks, Francesco

Re: [Harbour] Re: Anyone using hbqt ?

2010-02-26 Thread francesco perillo
This is _ABSOLUTELY_POSSIBLE_. I did experimented with my flagship application Vouch and it works. Will post a sample, or will include it in gtqtc/tests/demoqtc.prg soon. Right now implementing NG format oriented hbQT's help. Ok, perfect ! Now I just ask you where may I start to get

Re: [Harbour] Re: FocusIn and FocusOut in widgets

2010-02-27 Thread francesco perillo
Is this a way to have WHEN/VALID implementation ? Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Re: FocusIn and FocusOut in widgets

2010-02-27 Thread francesco perillo
Thank you for your reply. I still had no time to look at HbQtCommand documentation... I hope to do it tomorrow DEFINE TEXTBOX t1    VALUE Initial Value    ONLOSTFOCUS myRoutineForValid() END TEXTBOX What happens when myRoutineForValid() returns .F. ? Or when myRoutineForValid() returns .T.

Re: [Harbour] Re: FocusIn and FocusOut in widgets

2010-02-27 Thread francesco perillo
Thank you for your sample. I'm reading a book on Qt but it is C++ based. It's really interesting what you can do with Qt. In C++ you can easily subclass widgets to extend their functionalities, add slots and signals... is it possible to do this with hbqt/hbqtcommand ? in C++ or Harbour ?

[Harbour] How to retrieve the CallStack

2010-02-28 Thread francesco perillo
In the debugger it is possible to see the CallStack and the variables active in each stack level. From the debugger source code I see that the CallStack is passed to __dbgEntry as a parameter and that parameter is built in C in funcyion hb_dbgActivate( HB_DEBUGINFO *info ) where info is a pointer

Re: [Harbour] How to retrieve the CallStack

2010-03-02 Thread francesco perillo
Hi Alex, thank you for your code but I was asking more in-depth informations. The Debugger can show the variables active for each n, so that with the call stack you can display the parameter values and the local variables values (anche if compiled with -b you should be able also to display

[Harbour] What is Valtype = S ?

2010-03-02 Thread francesco perillo
I'm trying to understand what does S means for VALTYPE... anyone ? Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Re: HBEDITOR

2010-03-02 Thread francesco perillo
On Wed, Mar 3, 2010 at 12:23 AM, Bruno Luciani bruno.luci...@gmail.com wrote: Where I can get , thisearly version ? From SVN, going to some revisions back. Try harbour 2.0.0 official source code package... ___ Harbour mailing list (attachment size

Re: [Harbour] Re: HBEDITOR

2010-03-02 Thread francesco perillo
Only work If I hit enter in an empty file , but if I move cursor in an edited file the information don't change. Probably you use isChanged signal. probably there is another message or you have to capture event... (just finished to read a manual on Qt can't be of more help...)

Re: [Harbour] Uptade HBMySql.hbc

2010-03-05 Thread francesco perillo
libmysqlclient.a on SUSE LINUX 10.0 (i586) OSS libmysqlclient.so.15 on Fedora release 8 (Werewolf) libmysqlclient.so.15.0.0 on openSUSE 11.1 (x86_64) libmysqlclient.so.15.0.0 on SLES 9 sp1 ___ Harbour mailing list (attachment size limit: 40KB)

[Harbour] @Viktor, I've rpms for opensuse 11.2

2010-03-10 Thread francesco perillo
How can I put them on sourceforge ? harbour-2.0.0-0sus112.i586.rpm harbour-contrib-2.0.0-0sus112.i586.rpm harbour-curl-2.0.0-0sus112.i586.rpm harbour-firebird-2.0.0-0sus112.i586.rpm harbour-gd-2.0.0-0sus112.i586.rpm harbour-lib-2.0.0-0sus112.i586.rpm harbour-mysql-2.0.0-0sus112.i586.rpm

Re: [Harbour] recommended C compiler for Win

2010-03-10 Thread francesco perillo
BCC is a joke these days. ooops... I have a production site working with a bbc version of Harbour... ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] @Viktor, I've rpms for opensuse 11.2

2010-03-10 Thread francesco perillo
Hi Francesco, Pls give me your sf.net ID and I'll add you as dev member with file release rights. fperillo ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[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

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

[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 bediprit...@hotmail.com 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

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 pete_we...@yahoo.gr 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)

  1   2   >