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

2009-11-30 Thread vszakats
Revision: 13066 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13066view=rev Author: vszakats Date: 2009-11-30 08:18:42 + (Mon, 30 Nov 2009) Log Message: --- typo in entry. (Sorry) Modified Paths: -- trunk/harbour/ChangeLog This was

Re: [Harbour] hbmk2 on OS/2

2009-11-30 Thread Maurilio Longo
Viktor, let's see if Przemyslaw has any idea, maybe it is just that the embedded compiler does not end lines with CR/LF. Best regards. Maurilio. Viktor Szakáts wrote: Hi Maurilio, using hbmk2 on OS/2 I see that is does not use newlines while outputting its activity. It seems to me this

Res: [Harbour] hbvpdf

2009-11-30 Thread Fernando Athayde
my problem is, i´ve create a function for convertion my txt 2 pdf but not a simple convert, it analizes all esc/p commands, 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 Best regards, Fernando

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...

[Harbour] hbmk2 mingw don´t find libs

2009-11-30 Thread Fernando Athayde
exists liblibmysql.a in my harbour i don´t know how resolve this E:\HARBOUR_SVN\contrib\hbmysql\testshbmk2 test.prg hbmk2: Processando script local: hbmk.hbm Harbour 2.0.0beta3 (Rev. 12925) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 'test.prg'... Lines 205,

Re: Res: [Harbour] hbvpdf

2009-11-30 Thread Viktor Szakáts
Fernando, my problem is, i´ve create a function for convertion my txt 2 pdf but not a simple convert, it analizes all esc/p commands, 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 Because it's an

Res: Res: [Harbour] hbvpdf

2009-11-30 Thread Fernando Athayde
viktor, you not understanding me i only wanted know why this contrib was cut out, only this i don´t be bothered, sorry if i tell anything bothered, i´m so sorry i like about harbour project I'm not complaining you guys make a good job, i can´t complaning about anything, because this project

Res: [Harbour] hbvpdf

2009-11-30 Thread Fernando Athayde
i copied hvpdf*.pdf and .ch into myproject and functions perfectly for now i use in this way, but i have to change to hbhpdf Best regards Fernando De: francesco perillo fperi...@gmail.com Para: Harbour Project Main Developer List. harbour@harbour-project.org

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] SF.net SVN: harbour-project:[13067] trunk/harbour

2009-11-30 Thread vszakats
Revision: 13067 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13067view=rev Author: vszakats Date: 2009-11-30 10:53:51 + (Mon, 30 Nov 2009) Log Message: --- 2009-11-30 11:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * INSTALL *

[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] SF.net SVN: harbour-project:[13068] trunk/harbour

2009-11-30 Thread vszakats
Revision: 13068 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13068view=rev Author: vszakats Date: 2009-11-30 11:04:06 + (Mon, 30 Nov 2009) Log Message: --- 2009-11-30 12:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) *

[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)

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

2009-11-30 Thread vszakats
Revision: 13069 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13069view=rev Author: vszakats Date: 2009-11-30 12:52:25 + (Mon, 30 Nov 2009) Log Message: --- 2009-11-30 13:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * config/global.mk *

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

2009-11-30 Thread Przemysław Czerpak
On Mon, 30 Nov 2009, vszak...@users.sourceforge.net wrote: Log Message: --- 2009-11-30 13:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * config/global.mk * config/bin.mk * src/rdd/Makefile * Moved central RDD related information to local makefiles. - Deleted

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

2009-11-30 Thread vszakats
Revision: 13070 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13070view=rev Author: vszakats Date: 2009-11-30 13:03:30 + (Mon, 30 Nov 2009) Log Message: --- 2009-11-30 14:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * mpkg_rpm.sh * INSTALL

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

2009-11-30 Thread Alex Strickland
Alex Strickland wrote: dru...@users.sourceforge.net wrote: 2009-11-30 04:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c + added support for passing OLE pointer item as VT_DISPATCH variants + added support for updating VT_DISPATCH and VT_UNKNOWN

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

2009-11-30 Thread Viktor Szakáts
On Mon, 30 Nov 2009, vszak...@users.sourceforge.net wrote: Log Message: --- 2009-11-30 13:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * config/global.mk * config/bin.mk * src/rdd/Makefile * Moved central RDD related information to local makefiles. - Deleted support

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

2009-11-30 Thread Viktor Szakáts
How I can make it part of harbour.so library? I guess the same applies as for all other non-core stuff which users want to place into Harbour dynlib. At this time I don't know what is the generic solution for this, but to me it's still an alien idea to create customized Harbour

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

2009-11-30 Thread Przemysław Czerpak
On Mon, 30 Nov 2009, Szak�ts Viktor wrote: Hi, I guess the same applies as for all other non-core stuff which users want to place into Harbour dynlib. At this time I don't know what is the generic solution for this, but to me it's still an alien idea to create customized Harbour

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

2009-11-30 Thread Viktor Szakáts
I guess the same applies as for all other non-core stuff which users want to place into Harbour dynlib. At this time I don't know what is the generic solution for this, but to me it's still an alien idea to create customized Harbour dynlibs from core build system. OK so as workaround

[Harbour] Can't start the netio server on windows server 2003

2009-11-30 Thread vatzct
I'm trying to run C:\dev\harbour_svn\contrib\hbnetio\utils\netiosrv.exe on windows server 2003 R2 and get: Can't start the netio server. On win xp and win98 all ok. What should i do to run hbnetio server? C:\dev\harbour_svn\contrib\hbnetio\utils\harbour -build Harbour 2.0.0beta3 (Rev. 13064)

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

2009-11-30 Thread Lorenzo Fiorini
2009/11/30 Przemysław Czerpak dru...@acn.waw.pl: OK so as workaround I'll reactivate building .so library in old way activated optionally by some envvar so I can eays create my own custom build. I do it. I build with HB_BUILD_DLL=no and I've uncommented the lines in hb-func.sh. best regards,

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

2009-11-30 Thread druzus
Revision: 13071 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13071view=rev Author: druzus Date: 2009-11-30 15:52:00 + (Mon, 30 Nov 2009) Log Message: --- 2009-11-30 16:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) *

[Harbour] src/compiler

2009-11-30 Thread Maurilio Longo
Przemyslaw, hb_compile() emits '\n' instead of '\n\r' when it needs to go to the next line. I think that on OS/2 and on DOS this is not enough to go to the next line .AND. to column 0. Shouldn't it use hb_OSNewLine() to fetch the correct EOL to use? I see such problem on hbmk2 which has this

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

2009-11-30 Thread Alex Strickland
dru...@users.sourceforge.net wrote: * harbour/contrib/hbwin/olecore.c + added support for conversion safe arrays with any type variants to Harbour - please test It works! I am simply amazed. This will save me absolute weeks of work on an alternative (and not very good)

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

2009-11-30 Thread Massimo Belgrano
hI alex can you share your test to better understand? 2009/11/30 Alex Strickland s...@mweb.co.za dru...@users.sourceforge.net wrote: * harbour/contrib/hbwin/olecore.c + added support for conversion safe arrays with any type variants to Harbour - please test It works! I am

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

2009-11-30 Thread vouchcac
Revision: 13072 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13072view=rev Author: vouchcac Date: 2009-11-30 17:28:12 + (Mon, 30 Nov 2009) Log Message: --- 2009-11-30 09:11 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbide/hbide.prg

Re: [Harbour] src/compiler

2009-11-30 Thread Przemysław Czerpak
On Mon, 30 Nov 2009, Maurilio Longo wrote: Hi, hb_compile() emits '\n' instead of '\n\r' when it needs to go to the next line. I think that on OS/2 and on DOS this is not enough to go to the next line .AND. to column 0. Shouldn't it use hb_OSNewLine() to fetch the correct EOL to use? \n

Re: [Harbour] src/compiler

2009-11-30 Thread Maurilio Longo
Przemyslaw, could it be that OS/2 and DOS always require stdout/stderr to be in text mode? Maurilio. Przemysław Czerpak wrote: On Mon, 30 Nov 2009, Maurilio Longo wrote: Hi, hb_compile() emits '\n' instead of '\n\r' when it needs to go to the next line. I think that on OS/2 and on DOS

[Harbour] Error with last version

2009-11-30 Thread Rossine
Hello, I see this error in last version: [ERRORS] ... Error E2303 ../../../../../include\hbapi.h 937: Type name expected Error E2303 ../../../../../include\hbapi.h 938: Type name expected *** 20 errors in Compile *** mingw32-make[3]: *** [_hbhbpdf.obj] Error 1 mingw32-make[2]: *** [descend]

Re: [Harbour] Problem in OLE implementation

2009-11-30 Thread Przemysław Czerpak
On Sat, 28 Nov 2009, Szak�ts Viktor wrote: Hi, documented RTE which can substitute result so it can be easy caught by user and if necessary he can set his own preferable value for such unknown OLE variant. What it group opinion here? +1 to Nil (if I have a voice) I also prefer NIL

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

2009-11-30 Thread druzus
Revision: 13073 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13073view=rev Author: druzus Date: 2009-11-30 19:29:38 + (Mon, 30 Nov 2009) Log Message: --- 2009-11-30 20:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) *

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

2009-11-30 Thread snaiperis
Revision: 13074 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13074view=rev Author: snaiperis Date: 2009-11-30 19:33:57 + (Mon, 30 Nov 2009) Log Message: --- 2009-11-30 21:31 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) +

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

2009-11-30 Thread Mindaugas Kavaliauskas
Hi, 2009-11-30 21:31 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/contrib/hbcairo Since make system is not yet read and some people can experience problems building this library and tests, I'll send a few samples test code results to the mailing list. Regards,

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

2009-11-30 Thread Mindaugas Kavaliauskas
Sample test code results. Part 2 hellow.pdf Description: Adobe PDF document fancytxt.pdf Description: Adobe PDF document ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org

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

2009-11-30 Thread snaiperis
Revision: 13075 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13075view=rev Author: snaiperis Date: 2009-11-30 19:55:34 + (Mon, 30 Nov 2009) Log Message: --- 2009-11-30 21:51 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) *

Re: [Harbour] Problem in OLE implementation

2009-11-30 Thread Mindaugas Kavaliauskas
Hi, Hi, Przemysław Czerpak wrote: BTW in MS documentation dimensions are stored in 'unsigned int' instead of 'int'. Maybe we should follow it? So, it's long, not unsigned int. But the most strange thing is that SafeArrayGetDim return HRESULT. Sounds like a handler, and this stopped me from

Re: [Harbour] src/compiler

2009-11-30 Thread Viktor Szakáts
\n is correct. Please note that using standalone compiler with exactly the same code you do not have stairs effect problem. Just simply by default \n in stdout and stderr streams are automatically translated to \r\n if it's necessary. I see such problem on hbmk2 which has this kinf of

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

2009-11-30 Thread Viktor Szakáts
Hi Mindaugas, That's great. Is it possible to link cairo lib statically to final commercial apps? Brgds, Viktor On 2009 Nov 30, at 20:33, snaipe...@users.sourceforge.net wrote: Revision: 13074 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13074view=rev Author:

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

2009-11-30 Thread Viktor Szakáts
4) Should implementation of procedures end with hb_ret(); ? No. It's a dummy call. Only use it if you want to make clear in a function that there is no value to return. The only places where this is meaningful, is when a function can return both value and non-value (which is NIL). In this

Re: [Harbour] Problem in OLE implementation

2009-11-30 Thread Przemysław Czerpak
On Mon, 30 Nov 2009, Mindaugas Kavaliauskas wrote: Hi, Yes, perhaps type should be unsigned int. HRESULT is a general return value, since MS uses type casting anythere. OK, I'll update it. 2009-11-28 13:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) *

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

2009-11-30 Thread vszakats
Revision: 13076 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13076view=rev Author: vszakats Date: 2009-11-30 21:23:01 + (Mon, 30 Nov 2009) Log Message: --- 2009-11-30 22:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * INSTALL + Documented

Re: [Harbour] Problem in OLE implementation

2009-11-30 Thread Mindaugas Kavaliauskas
Hi, Przemysław Czerpak wrote: I'm not very familiar with OLE code so maybe I'm wrong but I do not see any reason why it has to be the same pointer. I can imagine implementation which will use different pointers so I would like to keep the code clean and if I called punkVal-QueryInterface()

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

2009-11-30 Thread Viktor Szakáts
Anyway, it doesn't work here. First I have to copy in lots of .dlls, then I get this: --- Application Internal Error - F:\work\harbour\harbour\contrib\hbcairo\tests\fancytxt.exe Terminated at: 2009.11.30 22:44:06 Unrecoverable error 6005: Exception error: Exception Code:C005

Re: [Harbour] src/compiler

2009-11-30 Thread Viktor Szakáts
BTW for me more important is removing space padding in hbmk2 output, i.e. try to redirect any hbmk2 output to file to see it. If you mean left padding, it's there to spit out readable output. If you just dump all long lines to terminal, it would look like an ugly mess. (that's where I

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

2009-11-30 Thread Mindaugas Kavaliauskas
* contrib/hbcairo/hbcairo.hbc * Changed cairo lib name from 'libcairo-2.0' to 'cairo' This is what HB_BUILD_IMPLIB will generate. ; TODO: It's the fun part of any component adaptation, that each build and platform use a different lib naming scheme. We

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

2009-11-30 Thread Mindaugas Kavaliauskas
Hi, Viktor Szakáts wrote: Anyway, it doesn't work here. First I have to copy in lots of .dlls, then I get this: Lots? I last release only two of them: libcairo-2.dll and libpng12-0.dll, if you do not need png support (by default png is enabled), libcairo-2.dll can be recompiled without png

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

2009-11-30 Thread Mindaugas Kavaliauskas
Viktor Szakáts wrote: Anyway, it doesn't work here. First I have to copy in lots of .dlls, then I get this: Well, I see the your dll list now: 0x68DC 0x00096000 F:\work\harbour\harbour\contrib\hbcairo\tests\libcairo-2.dll 0x64F8 0x00035000

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

2009-11-30 Thread Viktor Szakáts
* contrib/hbcairo/hbcairo.hbc * Changed cairo lib name from 'libcairo-2.0' to 'cairo' This is what HB_BUILD_IMPLIB will generate. ; TODO: It's the fun part of any component adaptation, that each build and platform use a different lib naming scheme. We should

Re: [Harbour] src/compiler

2009-11-30 Thread Przemysław Czerpak
On Mon, 30 Nov 2009, Szak�ts Viktor wrote: Hi, Then someone will have to teach me how to produce adequate output for console apps in a multiplatform way. Please start looking for output for any C compiler we are using or any other console tool. harbour.exe output is also good example. It

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

2009-11-30 Thread Viktor Szakáts
I do not know that there have you got cairo library from. The original website provides source and links to other distributions/binary providers. I've mentioned a place where you can obtain Cairo binaries for Windows (http://www.gtk.org/download-windows.html). The link to the same site is

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

2009-11-30 Thread Viktor Szakáts
Sorry, wrong order. You need to download and unzip only tree files: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-2_win32.zip http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-2_win32.zip

Re: [Harbour] src/compiler

2009-11-30 Thread Viktor Szakáts
Please start looking for output for any C compiler we are using or any other console tool. harbour.exe output is also good example. It does not use any space padding. Or someone solves it instead of me. Again: Plain output looked almost unbearable. Maybe this is normal for portable apps,

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

2009-11-30 Thread Viktor Szakáts
That's how it works on win, and I can't do anything about it, only cairo maintainers/builders/whoever. Ok, I'm not a distro or makefile man. I just had to rename my libcairo-2.lib to cairo.lib and sample files links again. Notice that there is no libcairo-2.lib in the distro pack you

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

2009-11-30 Thread Przemysław Czerpak
On Tue, 01 Dec 2009, Mindaugas Kavaliauskas wrote: Hi, Yes, user may pass any parameter, but hb_cairo_par() checks if it is valid parameter and generates runtime error. Does hb_errRT_BASE() returns? Yes. Or it uses some C stack functions (like setjump) to exit to the nearest BEGIN SEQ/END

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

2009-11-30 Thread vszakats
Revision: 13077 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13077view=rev Author: vszakats Date: 2009-11-30 23:05:44 + (Mon, 30 Nov 2009) Log Message: --- 2009-12-01 00:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * INSTALL + Added cairo

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

2009-11-30 Thread Mindaugas Kavaliauskas
Hi, BTW, I fear that it's practically impossible (means: takes a too huge amount of work) to build a static lib of cairo due to its numerous dependencies. Actually, I did it last week :) I wanted to try cairo meta surface which is implemented in new 1.9.4 snapshot (not release). Cairo has

Re: [Harbour] How to build hbide with hbqt static libs?

2009-11-30 Thread Leandro Damasio
Have you built static QT libs also? ... I will [re]build QT and hbide and report the results soon. Thanks Viktor After building QT static libs it was possible to build hbide linked statically to qt. The hbide main window opens ok and most the controls function well, but the source button

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

2009-11-30 Thread Mindaugas Kavaliauskas
Hi, Viktor Szakáts wrote: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-2_win32.zip http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-2_win32.zip http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.39-1_win32.zip The first

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

2009-11-30 Thread Phil Krylov
Hi, On Mon, Nov 30, 2009 at 10:33 PM, snaipe...@users.sourceforge.net wrote:    ; TODO: I've implemted not all functions of Cairo. Actually, the      minority, but it's enough to do some fancy things. You may use this code, although also not complete:

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

2009-11-30 Thread Viktor Szakáts
BTW, I fear that it's practically impossible (means: takes a too huge amount of work) to build a static lib of cairo due to its numerous dependencies. Actually, I did it last week :) I wanted to try cairo meta surface which is implemented in new 1.9.4 snapshot (not release). Cairo has

Fw: [Harbour] How to build hbide with hbqt static libs?

2009-11-30 Thread Leandro Damasio
The hbide main window opens ok and most the controls function well, but the source button which results in Visual C++ Runtime Library error message Correction: clicking the Open button results in error message tks Leandro Damasio ___ Harbour

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

2009-11-30 Thread Mindaugas Kavaliauskas
vszak...@users.sourceforge.net wrote: * contrib/hbwin/wapi_shellapi.c + WAPI_USERISANADMIN() function. Based on xhb's recently added OS_ISUSERANADMIN() function by Peter Rees. Reformatted, renamed and applied fixes/UNICODE/cleanups, usual stuff. Hmm. Strange name. Sound like

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

2009-11-30 Thread Viktor Szakáts
vszak...@users.sourceforge.net wrote: * contrib/hbwin/wapi_shellapi.c + WAPI_USERISANADMIN() function. Based on xhb's recently added OS_ISUSERANADMIN() function by Peter Rees. Reformatted, renamed and applied fixes/UNICODE/cleanups, usual stuff. Hmm. Strange name. Sound like

Re: [Harbour] src/compiler

2009-11-30 Thread Przemysław Czerpak
On Mon, 30 Nov 2009, Szak�ts Viktor wrote: Hi, If you can give me any sort of advice how to format output so that it stays readable even on regular screens like y*80, please do. I can't expect users to have screens 400 chars wide to fit some stuff. The only one thing I'm asking you is

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

2009-11-30 Thread Mindaugas Kavaliauskas
Viktor Szakáts wrote: + WAPI_USERISANADMIN() function. Based on xhb's recently added OS_ISUSERANADMIN() function by Peter Rees. Reformatted, renamed and applied fixes/UNICODE/cleanups, usual stuff. Hmm. Strange name. Sound like HB_ISTHEARRAY(), HB_ISABLOCK(), HB_ISANOBJECT(). I

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

2009-11-30 Thread Viktor Szakáts
+ WAPI_USERISANADMIN() function. Based on xhb's recently added OS_ISUSERANADMIN() function by Peter Rees. Reformatted, renamed and applied fixes/UNICODE/cleanups, usual stuff. Hmm. Strange name. Sound like HB_ISTHEARRAY(), HB_ISABLOCK(), HB_ISANOBJECT(). I would delete AN, but I'm

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

2009-11-30 Thread Mindaugas Kavaliauskas
Hi, As next step the same can be tried to create static libs. It was successful. By hacky copying c:\mingw\lib\libpixman-1-0.a to libpixman-1-0.a c:\mingw\lib\libz.a to libz.dll.a and recompiling libcairo I have a dll that uses libpng only (and system dlls). Though libpng requires one

Re: [Harbour] src/compiler

2009-11-30 Thread Viktor Szakáts
If you can give me any sort of advice how to format output so that it stays readable even on regular screens like y*80, please do. I can't expect users to have screens 400 chars wide to fit some stuff. The only one thing I'm asking you is removing unnecessary _trailing_ spaces. This

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

2009-11-30 Thread druzus
Revision: 13078 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13078view=rev Author: druzus Date: 2009-12-01 00:19:27 + (Tue, 01 Dec 2009) Log Message: --- 2009-12-01 01:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) *

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

2009-11-30 Thread Viktor Szakáts
It was successful. By hacky copying c:\mingw\lib\libpixman-1-0.a to libpixman-1-0.a c:\mingw\lib\libz.a to libz.dll.a and recompiling libcairo I have a dll that uses libpng only (and system dlls). Though libpng requires one more copy of zlib C:\harbour\contrib\hbcairo\tests\tmp2dir

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

2009-11-30 Thread vszakats
Revision: 13079 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13079view=rev Author: vszakats Date: 2009-12-01 00:24:05 + (Tue, 01 Dec 2009) Log Message: --- 2009-12-01 01:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) *

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

2009-11-30 Thread Mindaugas Kavaliauskas
Hi, Viktor Szakáts wrote: But, could you also eliminate libcairo-2.dll ? And we have both libpng and zlib hosted in our tree with static builds. It'd be nice to make cairo use them. After things I saw running ./configure, I do not thing I will try to make static libcairo library :) It

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

2009-11-30 Thread Viktor Szakáts
Viktor Szakáts wrote: But, could you also eliminate libcairo-2.dll ? And we have both libpng and zlib hosted in our tree with static builds. It'd be nice to make cairo use them. After things I saw running ./configure, I do not thing I will try to make static libcairo library :) It would

Re: [Harbour] src/compiler

2009-11-30 Thread Przemysław Czerpak
On Tue, 01 Dec 2009, Szak�ts Viktor wrote: I'm also not a fun of breaking the line to 79 columns especially when output is redirected because it makes output parsing much harder but I can leave with it. It would be nice to make: hbmk2 -info ... | grep ^hbmk2: and catch only and _full_

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

2009-11-30 Thread Mindaugas Kavaliauskas
Hi, Viktor Szakáts wrote: And we have both libpng and zlib hosted in our tree with static builds. It'd be nice to make cairo use them. I haven't noticed we have libpng in /external. So, by copying: c:\harbour\lib\win\mingw\liblibpng.a to c:\mingw\lib\libpng12.dll.a (this time names are

Re: [Harbour] How to build hbide with hbqt static libs?

2009-11-30 Thread Pritpal Bedi
Hi Tecnologia-2 wrote: After building QT static libs it was possible to build hbide linked statically to qt. The hbide main window opens ok and most the controls function well, but the source button which results in Visual C++ Runtime Library error message This application has

Re: [Harbour] src/compiler

2009-11-30 Thread Viktor Szakáts
In *nixes we can check if output is TTY device. If not then we it's redirected to sth else, i.e. pipe, file, socket. In filesys.c hb_fsIsDevice() function can be used for it and in *nixes it will work as we want but I do not know how it will work in MS-Windows with different shells (i.e.

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

2009-11-30 Thread vszakats
Revision: 13080 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13080view=rev Author: vszakats Date: 2009-12-01 01:58:44 + (Tue, 01 Dec 2009) Log Message: --- 2009-12-01 02:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg

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

2009-11-30 Thread vszakats
Revision: 13081 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13081view=rev Author: vszakats Date: 2009-12-01 02:00:44 + (Tue, 01 Dec 2009) Log Message: --- 2009-12-01 02:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg

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

2009-11-30 Thread Mindaugas Kavaliauskas
Hi, Viktor Szakáts wrote: BTW, I managed to build fancytxt using bcc 5.5 and it works with the same .dlls which failed so badly with mingw. Application Internal Error - F:\work\harbour\harbour\contrib\hbcairo\tests\fancytxt.exe Terminated at: 2009.11.30 22:44:06 Unrecoverable error 6005:

Re: [Harbour] How to build hbide with hbqt static libs?

2009-11-30 Thread Leandro Damasio
Hi Can you post thus statically linked hbide.exe ( in a zip format as it will be huge ) somewhere on the web so that I can download to visualize what exactly is happening. Regards Pritpal Bedi Yes, you can download it at http://www.2dinfo.com.br/2dinfo/hbide.zip Brgds Leandro Damasio

Re: [Harbour] src/compiler

2009-11-30 Thread Przemysław Czerpak
On Tue, 01 Dec 2009, Szak�ts Viktor wrote: If not then we it's redirected to sth else, i.e. pipe, file, socket. In filesys.c hb_fsIsDevice() function can be used for it and in *nixes it will work as we want but I do not know how it will work in MS-Windows with different shells (i.e.

Re: [Harbour] src/compiler

2009-11-30 Thread Viktor Szakáts
#pragma begindump #include hbapifs.h HB_FUNC( HB_FISDEVICE ) { hb_retl( hb_fsIsDevice( hb_numToHandle( hb_parnint( 1 ) ) ) ); } #pragma enddump Looks good on win, I'm getting .F. on 1 and 2 if I redirect output to a file. Fine. Please also check tst.exe | grep . to check

Re: [Harbour] src/compiler

2009-11-30 Thread Przemysław Czerpak
On Tue, 01 Dec 2009, Szak�ts Viktor wrote: Fine. Please also check tst.exe | grep . to check the results for pipes. I've just check that in DOS OpenWatcom builds it works as we want. Works fine with mingw + cmd.exe. Also works fine with mingw + msys. In DJGPP builds with COMMAND.COM

Re: [Harbour] How to build hbide with hbqt static libs?

2009-11-30 Thread Pritpal Bedi
Hi Tecnologia-2 wrote: Yes, you can download it at http://www.2dinfo.com.br/2dinfo/hbide.zip Thank you. I confirm that Open icon generates GPF in static build and for sure it is linked with QFileDialog(). Regards Pritpal Bedi -- View this message in context:

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

2009-11-30 Thread vszakats
Revision: 13082 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13082view=rev Author: vszakats Date: 2009-12-01 07:58:05 + (Tue, 01 Dec 2009) Log Message: --- 2009-12-01 08:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/philes.c *

[Harbour-users] SQL databases with Harbour

2009-11-30 Thread INETERA user
Hi everyone! I just decided to return to the Clipper world. I have pretty good view how to use dbf files, but have no (absolutely NO) experience with SQL databases. where can I get examples of using sql database in replacement of set DBF files? I know that some DBF features need to be emulated in