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

2009-11-24 Thread Maurilio Longo
Przemysław Czerpak wrote: It should not be a problem. VirtualQuery() is used to free continues memory region allocated in more then one VirtualAlloc() calls and seems that we can easy replicate all MS-Windows conditions using DosQueryMem() Seems that the final version can look like the code

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

2009-11-24 Thread vszakats
Revision: 13001 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13001view=rev Author: vszakats Date: 2009-11-24 08:43:38 + (Tue, 24 Nov 2009) Log Message: --- 2009-11-24 09:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbwin.ch

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

2009-11-24 Thread Maurilio Longo
Przemyslaw, it build cleanly with GCC and hbtest runs ok! :) Maurilio. dru...@users.sourceforge.net wrote: Revision: 12999 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12999view=rev Author: druzus Date: 2009-11-24 01:51:43 + (Tue, 24 Nov 2009) Log

Re: [Harbour] OpenSSl

2009-11-24 Thread Viktor Szakáts
Shortly: no. See: 2009-11-01 13:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * config/detect.mk - Disabled OpenSSL detection for bcc. For some reason it's building with errors now. I can't figure what change caused this as it was building fine a month ago. It's not

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

2009-11-24 Thread Przemysław Czerpak
On Tue, 24 Nov 2009, Maurilio Longo wrote: Hi, I'll do some tests later today and then I'll let you know. Thank you, PS. When calling DosAllocMem() a 64Kb object gets allocated even for a single byte request. Is there something to make dlmalloc aware of this fact? Otherwise we could end up

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

2009-11-24 Thread Przemysław Czerpak
On Tue, 24 Nov 2009, Maurilio Longo wrote: Hi, it build cleanly with GCC and hbtest runs ok! :) Thank you very much :-) I would like to ask you to make also some basic speed tests. I'm interesting in results of speedtst.prg with Harbour compiled with and without HB_FM_DL_ALLOC. For ST mode:

[Harbour] make install on OS/2

2009-11-24 Thread Maurilio Longo
Viktor, make install on OS/2 with GCC erases Changelog, INSTALL, COPYING, TODO files. Any hints about the problem source? Best regards. Maurilio. -- __ | | | |__| Maurilio Longo |_|_|_|| farmaconsult s.r.l.  ___ Harbour mailing

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

2009-11-24 Thread vszakats
Revision: 13002 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13002view=rev Author: vszakats Date: 2009-11-24 09:38:23 + (Tue, 24 Nov 2009) Log Message: --- 2009-11-24 10:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/Makefile

Re: [Harbour] make install on OS/2

2009-11-24 Thread Viktor Szakáts
Hi Maurilio, make install on OS/2 with GCC erases Changelog, INSTALL, COPYING, TODO files. Any hints about the problem source? No :( As to my knowledge, these files are only touched from bin/postinst.prg, each in an hb_FCopy() operation. Maybe hb_FCopy() has some problems on OS/2?

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

2009-11-24 Thread vszakats
Revision: 13003 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13003view=rev Author: vszakats Date: 2009-11-24 09:49:16 + (Tue, 24 Nov 2009) Log Message: --- 2009-11-24 10:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbwin.ch

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

2009-11-24 Thread vszakats
Revision: 13004 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13004view=rev Author: vszakats Date: 2009-11-24 10:00:36 + (Tue, 24 Nov 2009) Log Message: --- 2009-11-24 10:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/Makefile

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

2009-11-24 Thread Mindaugas Kavaliauskas
Hi, * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg + contrib/hbide/idemisc.prg ! Implemented to execute context sensitive popups. Right click on Funtions List right-hand area. GPF if not of popup menu actions is selected (by clicking outside of popup). BTW, compile

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

2009-11-24 Thread Mindaugas Kavaliauskas
Hi, Przemysław Czerpak wrote: As you can see in the last test DLMT has even better scalability what allows to reduce the speed difference and DLMT was finally a little bit faster. Anyhow this test uses only 3 threads which very nicely play with DLMT and I expect that when much bigger number of

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

2009-11-24 Thread vszakats
Revision: 13005 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13005view=rev Author: vszakats Date: 2009-11-24 11:09:37 + (Tue, 24 Nov 2009) Log Message: --- 2009-11-24 12:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbwin.ch

[Harbour] A sample of unicode

2009-11-24 Thread Massimo Belgrano
Anyone here can share or made a sample Unicode.prg Explain harbour support of unicode by sample (like mt) -- Massimo Belgrano ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org

[Harbour] Error MsVc 2008...

2009-11-24 Thread Ale SB
How to solve this problem? firebird.c C:\Firebird\include\ibase.h(137) : error C2371: 'SCHAR' : nueva definici¢n; tipos b sicos distintos g:\svn\harbour\include\hbdefs.h(201) : vea la declaraci¢n de 'SCHAR' ../../../firebird.c(137) : error C2664: 'isc_attach_database' : no se puede

Re: [Harbour] Error MsVc 2008...

2009-11-24 Thread Viktor Szakáts
How to solve this problem? Use 2.1.x version of Firebird. firebird.c C:\Firebird\include\ibase.h(137) : error C2371: 'SCHAR' : nueva definici¢n; tipos b sicos distintos g:\svn\harbour\include\hbdefs.h(201) : vea la declaraci¢n de 'SCHAR' ../../../firebird.c(137) : error C2664:

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

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

2009-11-24 Thread druzus
Revision: 13006 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13006view=rev Author: druzus Date: 2009-11-24 12:20:59 + (Tue, 24 Nov 2009) Log Message: --- 2009-11-24 13:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) *

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

2009-11-24 Thread Maurilio Longo
Przemyslaw, hbmk2 fails with an exception inside harbourm.dll. hbtest and hbrun, instead, work flawlessly. What can it be? Maurilio. Przemysław Czerpak wrote: On Tue, 24 Nov 2009, Maurilio Longo wrote: Hi, it build cleanly with GCC and hbtest runs ok! :) Thank you very much :-) I

Re: [Harbour] make install on OS/2

2009-11-24 Thread Maurilio Longo
Viktor, postinst.prg uses HB_INSTALL_PREFIX to copy those files, and on my PC it points to their current position. So it seems hb_FCopy() does not handle a copy onto itself of a file and truncates it instead. Best regards. Maurilio. Viktor Szakáts wrote: Hi Maurilio, make install on OS/2

Re: [Harbour] make install on OS/2

2009-11-24 Thread Viktor Szakáts
Viktor, postinst.prg uses HB_INSTALL_PREFIX to copy those files, and on my PC it points to their current position. So it seems hb_FCopy() does not handle a copy onto itself of a file and truncates it instead. That's a pretty huge problem. I have to correct myself HB_FCOPY() is my own code,

Re: [Harbour] make install on OS/2

2009-11-24 Thread Maurilio Longo
Viktor, we need a way to be able to tell whether pszSource pszDest are indeed the same file on disk and abort the copy. Maurilio. Viktor Szakáts wrote: Viktor, postinst.prg uses HB_INSTALL_PREFIX to copy those files, and on my PC it points to their current position. So it seems hb_FCopy()

Re: [Harbour] make install on OS/2

2009-11-24 Thread Maurilio Longo
Viktor, another idea could be to open the source file in FO_DENYWRITE mode, so that the open of the destination file fails while I can still read it from a different process. BTW, given that I'm going to copy the source somewhere the assurance that nobody changes it while I'm copying it could be

Re: [Harbour] make install on OS/2

2009-11-24 Thread Viktor Szakáts
Hi Maurilio, Viktor, we need a way to be able to tell whether pszSource pszDest are indeed the same file on disk and abort the copy. That's a very tough thing to do, and IMO not possible in a reliable (and portable) way. Files can have links, they can be mapped to different network

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

2009-11-24 Thread Przemysław Czerpak
On Tue, 24 Nov 2009, Maurilio Longo wrote: Hi, hbmk2 fails with an exception inside harbourm.dll. hbtest and hbrun, instead, work flawlessly. What can it be? Only HBMK2 uses MT HVM so probably code for MT locks inside DLMALLOC in OS2 builds is broken. It should be easy to fix it. Depending

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

2009-11-24 Thread druzus
Revision: 13007 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13007view=rev Author: druzus Date: 2009-11-24 13:29:59 + (Tue, 24 Nov 2009) Log Message: --- 2009-11-24 14:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) *

[Harbour] make does not see changed files?

2009-11-24 Thread Maurilio Longo
Hi, OS/2 GCC, inside src/vm I issue a touch fm.c touch hbvmall.c then a make and this is what I get (E:\repository\harbour\src\vm)make ! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org ! MAKE: make 3.81 D:\OS2\CMD.EXE ! HB_USER_CFLAGS: -DHB_FM_DL_ALLOC !

Re: [Harbour] make does not see changed files?

2009-11-24 Thread Maurilio Longo
Wait, my mistake. It is hvmall and not hbvmall.c :) Touching the correct one works as expected. fm.c is included and probably this is the reason it is not seen as changed. Maurilio. Maurilio Longo wrote: Hi, OS/2 GCC, inside src/vm I issue a touch fm.c touch hbvmall.c then a

Re: [Harbour] make does not see changed files?

2009-11-24 Thread Przemysław Czerpak
On Tue, 24 Nov 2009, Maurilio Longo wrote: Hi, OS/2 GCC, inside src/vm I issue a touch fm.c touch hbvmall.c [...] make[1]: `../../../../../lib/os2/gcc/hbvm.a' is up to date. make[2]: `../../../../../../lib/os2/gcc/hbmainstd.a' is up to date. make[2]:

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

2009-11-24 Thread Maurilio Longo
Przemyslaw, dlmalloc[1452], HB_SPINLOCK_USE is set. I'll try using OS/2 section to see if it works. Maurilio. Przemysław Czerpak wrote: On Tue, 24 Nov 2009, Maurilio Longo wrote: Hi, hbmk2 fails with an exception inside harbourm.dll. hbtest and hbrun, instead, work flawlessly. What

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

2009-11-24 Thread Maurilio Longo
No, even changhing it this way: dlmalloc.c[1452] onward #if /*defined( HB_OS_OS2 ) ||*/ defined( HB_OS_WIN ) || defined( __WATCOMC__ ) # ifndef HB_SPINLOCK_USE # define HB_SPINLOCK_USE # endif #endif #ifdef HB_SPINLOCK_USE # include hbthread.h # include hbatomic.h #endif #ifndef

Re: [Harbour] make install on OS/2

2009-11-24 Thread Viktor Szakáts
Viktor, another idea could be to open the source file in FO_DENYWRITE mode, so that the open of the destination file fails while I can still read it from a different process. BTW, given that I'm going to copy the source somewhere the assurance that nobody changes it while I'm copying it

[Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Leandro Damasio
Hi, My name is Leandro Damasio and I have started to follow Harbour Project Main Developer List few days ago. I recently started 2D Informatica with my associate Ted, to develop commercial aplications using [x]Harbour. We used xHarbour + BCC55 + HWGUI for about 3 years, until we read

Re: [Harbour] make install on OS/2

2009-11-24 Thread Maurilio Longo
Viktor, I've added a define to postinst.prg #define hb_FCopy( x, y ) __COPYFILE( x, y ) and this is what I got ! 'sddodbc' library skipped ('odbc' not supported on os2 platform) ! 'hbxbp' library skipped (platform not supported) ./bin/os2/gcc/hbrun.exe --hb:gtcgi ./bin/postinst.prg ! Making

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Maurilio Longo
Leandro, On xbase++ you can create them this way http://databear.wordpress.com/2009/08/28/xbase-singleton-pattern/ Maybe you can adopt this to harbour. Maurilio. Leandro Damasio wrote: Hi, My name is Leandro Damasio and I have started to follow Harbour Project Main Developer List few

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

2009-11-24 Thread Przemysław Czerpak
On Tue, 24 Nov 2009, Maurilio Longo wrote: Hi, No, even changhing it this way: dlmalloc.c[1452] onward #if /*defined( HB_OS_OS2 ) ||*/ defined( HB_OS_WIN ) || defined( __WATCOMC__ ) [...] did not solve the problem and hbmk2 dies as soon as it is called. I haven't expected that disabling

[Harbour] Re: Re: Re: Re: Re: Re: Win_prn problem.

2009-11-24 Thread Itamar Lins
Hi! Now with , oPrn:CharSet(OEM_CHARSET) I get error, variable not exist. Error BASE/1003 Vari vel nÆo existe: OEM_CHARSET SVN * $Id: ChangeLog 13006 2009-11-24 12:20:59Z druzus $ Best regards, Itamar M. Lins Jr. Xavi jara...@gmail.com escreveu na mensagem news:4b0b35e1.6090...@gmail.com...

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

2009-11-24 Thread Maurilio Longo
Przemyslaw, no, I've changed it this way static mspace hb_mspace( void ) { HB_STACK_TLS_PRELOAD //if( hb_stackId() hb_stack.allocator ) #undef hb_stackTotalItems if( hb_stackTotalItems() hb_stack.allocator ) return ( ( PHB_MSPACE ) hb_stack.allocator )-ms; if( !s_gm )

Re: [Harbour] make install on OS/2

2009-11-24 Thread Viktor Szakáts
Thanks for your test. I've made some comparison with __COPYFILE(), and it looks safe to adapt its file opening method also in hb_fsCopy(). I'll commit it soon. Brgds, Viktor On 2009 Nov 24, at 15:40, Maurilio Longo wrote: Viktor, I've added a define to postinst.prg #define hb_FCopy(

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

2009-11-24 Thread Przemysław Czerpak
On Tue, 24 Nov 2009, Maurilio Longo wrote: Hi, Przemyslaw, no, I've changed it this way static mspace hb_mspace( void ) { HB_STACK_TLS_PRELOAD //if( hb_stackId() hb_stack.allocator ) #undef hb_stackTotalItems if( hb_stackTotalItems() hb_stack.allocator ) return ( (

[Harbour] Book Programming with Harbour

2009-11-24 Thread Ranier Vilela
Hi Przemek, I´d like invite you to write a book to Harbour Programming with Harbour. I strong believe that your name is reference for all xbase developers, and your expertise will have large chance of success in sales. Clear part dedicated to xBase, I´d like suggest the chapter C API, covered

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

2009-11-24 Thread vouchcac
Revision: 13008 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13008view=rev Author: vouchcac Date: 2009-11-24 15:45:54 + (Tue, 24 Nov 2009) Log Message: --- 2009-11-24 07:43 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) *

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

2009-11-24 Thread druzus
Revision: 13009 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13009view=rev Author: druzus Date: 2009-11-24 15:49:02 + (Tue, 24 Nov 2009) Log Message: --- 2009-11-24 16:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) *

Res: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Fernando Athayde
why don´t you help a development of hbqt, seems a good api (multiplataform), and you can make include files in a hwgui format Thanks Fernando Athayde De: Leandro Damasio t...@2dinfo.com.br Para: Harbour Project Main Developer List. harbour@harbour-project.org

Re: [Harbour] Book Programming with Harbour

2009-11-24 Thread Massimo Belgrano
+1 2009/11/24 Ranier Vilela ran...@cultura.com.br: Hi Przemek, I´d like invite you to write a book to Harbour Programming with Harbour. I strong believe that your name is reference for all xbase developers, and your expertise will have large chance of success in sales. Clear part dedicated

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

2009-11-24 Thread Maurilio Longo
Ok, now hbmk2 works. Let's do some tests now about speed .) Thanks a lot. Maurilio. Przemysław Czerpak wrote: On Tue, 24 Nov 2009, Maurilio Longo wrote: Hi, Przemyslaw, no, I've changed it this way static mspace hb_mspace( void ) { HB_STACK_TLS_PRELOAD //if( hb_stackId()

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

2009-11-24 Thread vszakats
Revision: 13010 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13010view=rev Author: vszakats Date: 2009-11-24 15:58:17 + (Tue, 24 Nov 2009) Log Message: --- 2009-11-24 16:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/fscopy.c !

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Massimo Belgrano
A minigui wrapper to qt is done by hbqtcommand a xbase++ wrapper to qt is done by Pritpal in contrib\xhp so a hwgui wrapper will be intresting to try the qt powerfull In future hi hope that we can manage set syntax to cover differences by GUI like designed in vianemo also a wvt wrapper will be

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 ?

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

2009-11-24 Thread Przemysław Czerpak
On Tue, 24 Nov 2009, Maurilio Longo wrote: Ok, now hbmk2 works. Thank you very much for your tests. Let's do some tests now about speed .) If possible please sync with current SVN and use clean SVN source code before your start tests. I've just committed above modifications in a little bit

Re: [Harbour] Book Programming with Harbour

2009-11-24 Thread Massimo Belgrano
1000 are user active in developer mailing I know a high number of user that use harbour and not write any messages I think that with this book the number of harbour user will grow 2009/11/24 francesco perillo fperi...@gmail.com: Probably Harbour internals is a better title Do you have an

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

2009-11-24 Thread Maurilio Longo
Issue fixed. Thanks a lot. Maurilio. vszak...@users.sourceforge.net wrote: Revision: 13010 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13010view=rev Author: vszakats Date: 2009-11-24 15:58:17 + (Tue, 24 Nov 2009) Log Message: ---

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

2009-11-24 Thread Maurilio Longo
Przemyslaw, OS/2 works ok. Thanks a lot. Maurilio. dru...@users.sourceforge.net wrote: Revision: 13009 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13009view=rev Author: druzus Date: 2009-11-24 15:49:02 + (Tue, 24 Nov 2009) Log Message:

Re: [Harbour] Book Programming with Harbour

2009-11-24 Thread calimero22
Hi In my experience about Harbour, it's a language VERY POWERFULL!! But if this language is without DOCUMENTATION, his powerfull il lose. Giovanni Di Maria --- Dada Music Movement, tutta la musica che vuoi! --- ___ Harbour mailing list (attachment

Res: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Fernando Athayde
gret, guess harbour with one gui mantened by group, is fabulous Thanks, Fernando De: Massimo Belgrano mbelgr...@deltain.it Para: Harbour Project Main Developer List. harbour@harbour-project.org Enviadas: Terça-feira, 24 de Novembro de 2009 13:03:10 Assunto:

Re: [Harbour] Book Programming with Harbour

2009-11-24 Thread Viktor Szakáts
Would you contribute to documentation writing? Brgds, Viktor On 2009 Nov 24, at 17:32, calimer...@freemail.it wrote: Hi In my experience about Harbour, it's a language VERY POWERFULL!! But if this language is without DOCUMENTATION, his powerfull il lose. Giovanni Di Maria

[Harbour] Re: Re: Re: Re: Re: Re: Win_prn problem.

2009-11-24 Thread Itamar Lins
Sorry, my fault, #include hbwin.ch But, the problem persist. :-( Best regards, Itamar M. Lins Jr. Itamar Lins itamarl...@bol.com.br escreveu na mensagem news:hegso9$ql...@ger.gmane.org... Hi! Now with , oPrn:CharSet(OEM_CHARSET) I get error, variable not exist. Error BASE/1003 Vari vel nÆo

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Leandro Damasio
Leandro, On xbase++ you can create them this way http://databear.wordpress.com/2009/08/28/xbase-singleton-pattern/ Maybe you can adopt this to harbour. Maurilio. Thank you Maurilio The author suggests to use class var and class methods to implement singleton behaviour in xbase++. In most

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Leandro Damasio
why don´t you help a development of hbqt, seems a good api (multiplataform), and you can make include files in a hwgui format Hi Fernando Thank you for the invitation! Hbqt seems really very interesting project. Of course I would like to help if I could or when I can, but I have to learn more

Re: [Harbour] Book Programming with Harbour

2009-11-24 Thread Ranier Vilela
francesco perillo escreveu: 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

Re: [Harbour] Book Programming with Harbour

2009-11-24 Thread Bruno Luciani
Uau . I pay the book in advance Bruno 2009/11/24 Ranier Vilela ran...@cultura.com.br francesco perillo escreveu: 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

Re: [Harbour] Book Programming with Harbour

2009-11-24 Thread Massimo Belgrano
I also buy book 2009/11/24 Ranier Vilela ran...@cultura.com.br: Book: Programming wth Harbour Authors: Przemyslaw Czerpak and Viktor Szakats I will buy the book. -- Massimo Belgrano ___ Harbour mailing list (attachment size limit: 40KB)

Re: [Harbour] Book Programming with Harbour

2009-11-24 Thread Teo Fonrouge
On Nov 24, 2009, at 10:46 AM, Ranier Vilela wrote: Hi Przemek, I´d like invite you to write a book to Harbour Programming with Harbour. I strong believe that your name is reference for all xbase developers, and your expertise will have large chance of success in sales. Clear part

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Teo Fonrouge
On Nov 24, 2009, at 9:26 AM, Leandro Damasio wrote: Hi, My name is Leandro Damasio and I have started to follow Harbour Project Main Developer List few days ago. I recently started 2D Informatica with my associate Ted, to develop commercial aplications using [x]Harbour. We used

[Harbour] What I am doing wrong ? or is a bug ( HBIDE )

2009-11-24 Thread Bruno Luciani
Linux Ubuntu 9.10 Harbour Rev 13010 / br...@notebook:~/harbour_svn/harbour/contrib/hbide$ hbmk2 hbide hbide.hbp hbmk2: Processing configuration: /usr/local/bin/hbmk.cfg hbmk2:

[Harbour] Re: Book Programming with Harbour

2009-11-24 Thread Angel Pais
It's clear by now that sooner or later Harbour will have to implement some kind of sponsorship or foundation. Do we have an attorney among us ? But the million dollar question is Who is Mr Harbour ?? Just food for thougth... ___ Harbour mailing

Re: [Harbour] What I am doing wrong ? or is a bug ( HBIDE )

2009-11-24 Thread Massimo Belgrano
hbmk2 hbide -w2 Remember that here is a work in progress 2009/11/24 Bruno Luciani bruno.luci...@gmail.com: Linux Ubuntu 9.10  Harbour Rev 13010 /

Re: [Harbour] Re: Book Programming with Harbour

2009-11-24 Thread Massimo Belgrano
Today is Przemyslaw Czerpak Viktor Szakats 2009/11/24 Angel Pais amigo...@adinet.com.uy: But the million dollar question is   Who is Mr Harbour ?? -- Massimo Belgrano ___ Harbour mailing list (attachment size limit: 40KB)

Re: [Harbour] What I am doing wrong ? or is a bug ( HBIDE )

2009-11-24 Thread Bruno Luciani
Yes of course , I just trying to see the news Thanks Bruno 2009/11/24 Massimo Belgrano mbelgr...@deltain.it hbmk2 hbide -w2 Remember that here is a work in progress 2009/11/24 Bruno Luciani bruno.luci...@gmail.com: Linux Ubuntu 9.10 Harbour Rev 13010

[Harbour] Little idea

2009-11-24 Thread Massimo Belgrano
I have found follow instresting idea , can we made also with harbour If you want to link to this website or one of the resources, please use the following links. They point to the mirrors of SourceForge and are guaranteed to link to the current release always, whereas the actual links on the

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Leandro Damasio
Hello Teo! I don't understand what do you mean by natively, if you mean to: - Limit the number of instances - automate the instantiation - calling in the app By native singleton pattern class implementation I mean to provide that a class could be declared as a singleton class and that this

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Viktor Szakáts
This looks like a PUBLIC var initialized with an object from an INIT PROC and protected from additional instances. Brgds, Viktor On 2009 Nov 24, at 21:54, Leandro Damasio wrote: Hello Teo! I don't understand what do you mean by natively, if you mean to: - Limit the number of instances -

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Teo Fonrouge
On Nov 24, 2009, at 2:54 PM, Leandro Damasio wrote: Hello Teo! I don't understand what do you mean by natively, if you mean to: - Limit the number of instances - automate the instantiation - calling in the app By native singleton pattern class implementation I mean to provide that a

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Leandro Damasio
Viktor Szakáts said: This looks like a PUBLIC var initialized with an object from an INIT PROC and protected from additional instances. Thanks Viktor Sure it could be explicitly implemented as you suggested for some cases, but my intention is to propose a more comprehensive solution. If

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Mindaugas Kavaliauskas
Hi, Case 1) A singleton class: code PRG //---// CLASS MyClass SINGLETON // THIS IS A SINGLETON CLASS!!! DATA Status INIT 0 METHOD ChangeStatus() INLINE ::Status := 1 ENDCLASS

Re: [Harbour] What I am doing wrong ? or is a bug ( HBIDE )

2009-11-24 Thread Pritpal Bedi
Hi Bruno Luciani wrote: Linux Ubuntu 9.10 Harbour Rev 13010 / br...@notebook:~/harbour_svn/harbour/contrib/hbide$ hbmk2 hbide hbide.hbp hbmk2: Processing configuration:

Re: [Harbour] CurDir() - Memory Leakage

2009-11-24 Thread Edmer
Hi, I just want to follow up if this has already been fixed. Thanks, Ed -- View this message in context: http://old.nabble.com/CurDir%28%29---Memory-Leakage-tp26472731p26504218.html Sent from the Harbour - Dev mailing list archive at Nabble.com.

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

2009-11-24 Thread vouchcac
Revision: 13011 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13011view=rev Author: vouchcac Date: 2009-11-24 22:26:30 + (Tue, 24 Nov 2009) Log Message: --- 2009-11-24 14:20 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) *

Re: [Harbour] CurDir() - Memory Leakage

2009-11-24 Thread Pritpal Bedi
Edmer wrote: Hi, I just want to follow up if this has already been fixed. Yes fixed. Regards Pritpal Bedi -- View this message in context: http://old.nabble.com/CurDir%28%29---Memory-Leakage-tp26472731p26504402.html Sent from the Harbour - Dev mailing list archive at Nabble.com.

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Leandro Damasio
Teo Fonrouge said: I know that you want to integrate it at low level in the Harbour Object engine, but how about the following sample: #xcommand SINGLETON CLASS clsName [ FROM fromCls ] = ; FUNCTION clsName() ;; STATIC obj ;; RETURN iif( obj = NIL, obj := S_clsName(), obj ) ;;

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Viktor Szakáts
This looks like a PUBLIC var initialized with an object from an INIT PROC and protected from additional instances. Thanks Viktor Sure it could be explicitly implemented as you suggested for some cases, but my intention is to propose a more comprehensive solution. If singleton clause

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Leandro Damasio
Mindaugas Kavaliauskas said: Since I do not know anything about singletons and doubletons, here is two simple different implementations that came to my mind (and I guess 5 more different approaches can be use to get the expected result): Hello Mindaugas, Please forgive me , I wasn't

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

2009-11-24 Thread Massimo Belgrano
c:\harbour\contrib\hbidehbmk2 hbide.hbp -w2 -d__HB_DEBUG__ -d__HB_WINDEBUG__ hbmk2: Processing environment options: -compiler=mingw hbmk2: Processing configuration: c:\harbour\mingw\bin\hbmk.cfg hbmk2: Compiling Harbour sources... Harbour 2.0.0beta3 (Rev. 13011) Copyright (c) 1999-2009,

[Harbour] cUrl functions ?

2009-11-24 Thread Ale SB
In PHP I have these functions: curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1) curl_exec($ch) In the harbour there is any function consistent with these? -- View this message in context: http://old.nabble.com/cUrl-functions---tp26505222p26505222.html Sent from the Harbour - Dev mailing list

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Przemysław Czerpak
On Tue, 24 Nov 2009, Leandro Damasio wrote: Hi, I know that you want to integrate it at low level in the Harbour Object engine, but how about the following sample: #xcommand SINGLETON CLASS clsName [ FROM fromCls ] = ; FUNCTION clsName() ;; STATIC obj ;; RETURN iif( obj

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

2009-11-24 Thread druzus
Revision: 13012 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13012view=rev Author: druzus Date: 2009-11-24 23:50:57 + (Tue, 24 Nov 2009) Log Message: --- 2009-11-25 00:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/fm.c

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

2009-11-24 Thread Przemysław Czerpak
On Mon, 23 Nov 2009, Przemysław Czerpak wrote: Hi David, * harbour/src/vm/dlmalloc.c * modifications for non MS-Windows WATCOM builds TOFIX: now it compiles in Linux and OS2 builds but it still does not work Do you need some tests on OS/2 ? Yes but first we will have to

Re: [Harbour] Singleton Design Pattern in harbour objects

2009-11-24 Thread Mindaugas Kavaliauskas
Hi, Leandro Damasio wrote: My proposition is that singleton class support for harbour be implemented in such a way that one programmer can declare a singleton class, box it in a library and share it to other harbour users around the world, knowing for sure that nobody could instantiate it

Re: [Harbour] cUrl functions ?

2009-11-24 Thread Viktor Szakáts
Hi, In PHP I have these functions: curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1) curl_exec($ch) In the harbour there is any function consistent with these? I don't know what CURLOPT_RETURNTRANSFER means, it's not amongst documented libcurl parameters. Brgds, Viktor

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

2009-11-24 Thread druzus
Revision: 13013 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13013view=rev Author: druzus Date: 2009-11-25 01:19:03 + (Wed, 25 Nov 2009) Log Message: --- 2009-11-25 02:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) *

Re: [Harbour] cUrl functions ?

2009-11-24 Thread Ale SB
CURLOPT_RETURNTRANSFER == TRUE to return the transfer as a string return value from curl_exec () instead of sending directly to the output CURLOPT_BINARYTRANSFER== TRUE to return the raw output when CURLOPT_RETURNTRANSFER is used. curl_exec == Executes a given cURL session. This function must

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

2009-11-24 Thread Bruno Luciani
using hbmk2 hbide.hbp -w2 works ok Bruno 2009/11/24 Massimo Belgrano mbelgr...@deltain.it c:\harbour\contrib\hbidehbmk2 hbide.hbp -w2 -d__HB_DEBUG__ -d__HB_WINDEBUG__ hbmk2: Processing environment options: -compiler=mingw hbmk2: Processing configuration: c:\harbour\mingw\bin\hbmk.cfg

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

2009-11-24 Thread Xavi
In file included from ../../../../hvmall.c:94: ../../../../fm.c: In function 'hb_xquery': ../../../../fm.c:1312: warning: unused variable '_hb_stack_ptr_' ../../../../fm.c:1318: warning: unused variable '_hb_stack_ptr_' -- Xavi ___ Harbour mailing

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

2009-11-24 Thread vouchcac
Revision: 13014 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13014view=rev Author: vouchcac Date: 2009-11-25 02:21:22 + (Wed, 25 Nov 2009) Log Message: --- 2009-11-24 18:20 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbide/hbide.prg

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

2009-11-24 Thread druzus
Revision: 13015 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13015view=rev Author: druzus Date: 2009-11-25 02:24:50 + (Wed, 25 Nov 2009) Log Message: --- 2009-11-25 03:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/fm.c