Re: [Harbour] GTWVG leaks

2008-05-18 Thread Pritpal Bedi
Edmer wrote: > > Do you have some documentation even a general one so I could have an idea > on how to use gtwvg. > No documentation. But you can study tests/wvggui.prg. It contains all the necessary constructs. Pritpal Bedi, INDIA-USA -- View this message in context: http://www.nabble.co

Re: [Harbour] GTWVG leaks

2008-05-18 Thread Edmer
Hi Pritpal, Do you have some documentation even a general one so I could have an idea on how to use gtwvg. Thanks, Ed -- View this message in context: http://www.nabble.com/GTWVG-leaks-tp17224020p17311564.html Sent from the Harbour - Dev mailing list archive at Nabble.com. __

[Harbour] CHANGELOG: 2008-05-19 00:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-05-18 Thread Szakáts Viktor
2008-05-19 00:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.c ! Fixed HPDF_READFROMSTREAM() to not directly write into the variable buffer. The function will now return the status code instead of buffer length. The latter can be determine

[Harbour] CHANGELOG: 2008-05-19 00:07 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-05-18 Thread Szakáts Viktor
2008-05-19 00:07 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.c ! Fixed to use garbage collector to automatically free HPDF_Doc pointers. The rest of pointers seem to be handled automatically by internal memory manager of libharu. Also note

[Harbour] CHANGELOG: 2008-05-18 22:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-05-18 Thread Szakáts Viktor
2008-05-18 22:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.c ! Added one TOFIX. ! Fixed some casts. -- Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/

[Harbour] CHANGELOG: 2008-05-18 22:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-05-18 Thread Szakáts Viktor
2008-05-18 22:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.c + Calling hb_fsNameConv() in filename parameters. Thanks Petr for the suggestion. ! Changed hb_parnl()/hb_retnl() calls to hb_parptr()/hb_retptr() where a "handle" (which is a memo

Re: [Harbour] From Viktor K. to hbhpdf

2008-05-18 Thread Pritpal Bedi
Lorenzo Lorenzo Fiorini-2 wrote: > > Anybody that will move from the Viktor K.'s pdf.prg to hbhpdf? > > We could save time sharing what we find. > > These are the functions that I'll try to "migrate": > > pdfInit() > pdfOpen() > pdfClose() > pdfWidth() > pdfPageSize() > pdfPAgeOrient() > pdf

Re: [Harbour] CHANGELOG: 2008-05-18 19:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-05-18 Thread Petr Chornyj
Szakáts Viktor wrote: > > 2008-05-18 19:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu) >* contrib/hbhpdf/tests/harupdf.prg > ! "\" -> hb_OSPathSeparator(). > -- > Viktor, maybe we can get more universal solution, if we will use hb_fsNameConv ? f.e. #include "hbapifs.h" HB_FUNC

[Harbour] CHANGELOG: 2008-05-18 20:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-05-18 Thread Szakáts Viktor
2008-05-18 20:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.c ! Fixed GPFs. Thanks to Petr Chornyj. -- Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listin

Re: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-05-18 Thread Szakáts Viktor
Hi Petr, Bingo! now works without a hitch. I'll prepare a patch in a few minutes. Brgds, Viktor On 2008.05.18., at 19:58, Petr Chornyj wrote: Szakáts Viktor wrote: One thing I've noticed is that the demo program actually GPFs 3-4 times before exiting, and the output .pdf is not created

Re: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-05-18 Thread Petr Chornyj
Szakáts Viktor wrote: > > > One thing I've noticed is that the demo program actually > GPFs 3-4 times before exiting, and the output .pdf is not > created, so something is hiding in there still. > > Hi Victor, please, test it HB_FUNC( HPDF_PAGE_GETCURRENTPOS ) { /* HPDF_Point pt; PHB

Re: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-05-18 Thread Szakáts Viktor
I'm stuck with the '_' symbol prefix problem (unresolved symbols when linking) :( Brgds, Viktor On 2008.05.18., at 18:32, Pritpal Bedi wrote: Hello Viktor Great! Make files are done now, please see my commits. Thanks. <<< One thing I've noticed is that the demo program actually GPFs 3-4

[Harbour] From Viktor K. to hbhpdf

2008-05-18 Thread Lorenzo Fiorini
Anybody that will move from the Viktor K.'s pdf.prg to hbhpdf? We could save time sharing what we find. These are the functions that I'll try to "migrate": pdfInit() pdfOpen() pdfClose() pdfWidth() pdfPageSize() pdfPAgeOrient() pdfAtSay() pdfBox() pdfImage() pdfSetFont() best regards, Lorenzo _

Re: [Harbour] CHANGELOG: 2008-05-18 19:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-05-18 Thread Lorenzo Fiorini
On Sun, May 18, 2008 at 7:11 PM, Szakáts Viktor <[EMAIL PROTECTED]> wrote: > 2008-05-18 19:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu) > * contrib/hbhpdf/tests/harupdf.prg > ! "\" -> hb_OSPathSeparator(). Many thanks. best regards, Lorenzo _

[Harbour] CHANGELOG: 2008-05-18 19:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-05-18 Thread Szakáts Viktor
2008-05-18 19:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/tests/harupdf.prg ! "\" -> hb_OSPathSeparator(). -- Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listi

Re: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-05-18 Thread Lorenzo Fiorini
On Sun, May 18, 2008 at 6:58 PM, Lorenzo Fiorini <[EMAIL PROTECTED]> wrote: > The code below works so I'll try to find out what "corrupts" the handler. There is no "corruption" simply a backslash :) Local cImagePath := "files\" for *nix it must be "files/" best regards, Lorenzo ___

[Harbour] CHANGELOG: 2008-05-18 18:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-05-18 Thread Szakáts Viktor
2008-05-18 18:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + contrib/rddads/tests/datad.prg + Added new test program for ADS DD/SQL functionality. Kindly sent by Brian Hays. NOTE: The code will show some errors on SQL execution. I couldn't investigate, but it does

Re: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-05-18 Thread Lorenzo Fiorini
On Sun, May 18, 2008 at 6:42 PM, Pritpal Bedi <[EMAIL PROTECTED]> wrote: > No idea. With me everything works fine with static lib and bcc55. I will > test the dll version. May be some version conflict or so. The code below works so I'll try to find out what "corrupts" the handler. best regards,

Re: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-05-18 Thread Pritpal Bedi
Hi Lorenzo <<< I've built the lib under Fedora 9 and its demos work well, but I get only "Some problems in creating the PDF! " from the tests/harupdf.prg. >>> I have no idea, sorry. May be it static vs dll issue. > returns 157986552 Appears to be a valid handle. I maybe wrong. <<< returns 4

Re: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-05-18 Thread Pritpal Bedi
Hello Viktor >Great! Make files are done now, please see my commits. Thanks. <<< One thing I've noticed is that the demo program actually GPFs 3-4 times before exiting, and the output .pdf is not created, so something is hiding in there still. >>> I tested with static libs created from the sou

Re: [Harbour] 2008-05-17 18:45 UTC+0800PritpalBedi([EMAIL PROTECTED])

2008-05-18 Thread Szakáts Viktor
We have about this as batch files (not perfect, but convenient enough for Harbour development). Everything else can be developed, all it takes is someone interested enough to do it. Will remain a bath but without bld_b32,bld_os2,bld_vc If Hb_compiler=bcc32 Bld_b32 If Hb_compiler=vc Bld_b32 En

RE: [Harbour] 2008-05-17 18:45 UTC+0800PritpalBedi([EMAIL PROTECTED])

2008-05-18 Thread Massimo Belgrano
>> C:\harbour\bin\bld.bat, bld_b32,bld_os2,bld_vc >> Why not having a unique build tool with same name And internal use >> Hb_compiler=bcc32 > >We have about this as batch files (not perfect, >but convenient enough for Harbour development). >Everything else can be developed, all it takes >is some

Re: [Harbour] 2008-05-17 18:45 UTC+0800 PritpalBedi([EMAIL PROTECTED])

2008-05-18 Thread Szakáts Viktor
On 2008.05.18., at 16:30, Massimo Belgrano wrote: C:\harbour\bin\bld.bat, bld_b32,bld_os2,bld_vc Why not having a unique build tool with same name And internal use Hb_compiler=bcc32 We have about this as batch files (not perfect, but convenient enough for Harbour development). Everything el

RE: [Harbour] 2008-05-17 18:45 UTC+0800 PritpalBedi([EMAIL PROTECTED])

2008-05-18 Thread Massimo Belgrano
C:\harbour\bin\bld.bat, bld_b32,bld_os2,bld_vc Why not having a unique build tool with same name And internal use Hb_compiler=bcc32 Will bld.bat copied in c:\harbour\bin\b32 where I have path? Will bld.bat revritten as prg be a based for hbmk,hblin,hbcc ? -Original Message- From: [EMAI

Re: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-05-18 Thread Szakáts Viktor
Another note, that libharu recently moved to http://www.libharu.org from sf.net, and now uses GIT repository. There is a GIT client for Windows (it works even), just google for it. Here is the link: http://code.google.com/p/msysgit/ (needed only for those who wish to build the very latest libh

Re: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi([EMAIL PROTECTED])

2008-05-18 Thread Szakáts Viktor
Massimo, they are uploaded to the repository, same place and name as for the other contribs. Brgds, Viktor On 2008.05.18., at 12:48, Massimo Belgrano wrote: Sorry where are the new non-GNU make files? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf O

RE: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi([EMAIL PROTECTED])

2008-05-18 Thread Massimo Belgrano
Sorry where are the new non-GNU make files? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Szakáts Viktor Sent: Sunday, May 18, 2008 10:40 AM To: Harbour Project Main Developer List. Subject: Re: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi([EMAIL PR

Re: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-05-18 Thread Lorenzo Fiorini
On Sun, May 18, 2008 at 4:27 AM, Pritpal Bedi <[EMAIL PROTECTED]> wrote: > > 2008-05-17 18:45 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]) > + harbour/contrib/hbhpdf > ... I've built the lib under Fedora 9 and its demos work well, but I get only "Some problems in creating the PDF! " from the tests/

Re: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-05-18 Thread Szakáts Viktor
Hi Pritpal, Great! Make files are done now, please see my commits. One thing I've noticed is that the demo program actually GPFs 3-4 times before exiting, and the output .pdf is not created, so something is hiding in there still. I've tested with BCC 5.5, using the new non-GNU make files, and l

[Harbour] CHANGELOG: 2008-05-18 09:22 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-05-18 Thread Szakáts Viktor
2008-05-18 09:22 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/adsfunc.c + QUESTION added. * Formatting. -- Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinf

[Harbour] CHANGELOG: 2008-05-18 09:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-05-18 Thread Szakáts Viktor
2008-05-18 09:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.c ! Fixed all MSVC warnings. Now builds cleanly. -- Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailm

[Harbour] CHANGELOG: 2008-05-18 08:52 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-05-18 Thread Szakáts Viktor
2008-05-18 08:52 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + contrib/hbhpdf/Makefile + contrib/hbhpdf/make_b32.bat + contrib/hbhpdf/make_vc.bat + contrib/hbhpdf/make_gcc.sh + contrib/hbhpdf/common.mak + contrib/hbhpdf/tests/bld_b32.bat + contrib/hbhpdf/tests/bld_vc.bat