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
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
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
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
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
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:
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
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
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?
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
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
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
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
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
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
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
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:
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(
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)
*
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
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
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,
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()
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
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
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
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)
*
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
!
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
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]:
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
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
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
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
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
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
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
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...
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 )
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(
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 ( (
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
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)
*
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)
*
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
+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
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()
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
!
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
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 ?
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
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
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:
---
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:
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
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:
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
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
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
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
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
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
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)
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
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
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:
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
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
/
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)
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
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
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
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
-
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
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
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
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:
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.
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)
*
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.
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 ) ;;
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
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
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,
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
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
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
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
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
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
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)
*
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
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
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
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
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
96 matches
Mail list logo