Re: [Harbour] 2008-09-18 07:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-17 Thread Lorenzo Fiorini
On Thu, Sep 18, 2008 at 8:26 AM, Lorenzo Fiorini <[EMAIL PROTECTED]> wrote: > Under Fedora 9 I get this. > > ../../hboutdbg.c: In function 'debugInit': > ../../hboutdbg.c:109: error: assignment of read-only location > '*(pFileName->szName + 20u)' Sorry, it's ok. svn problems. best regards, Loren

Re: [Harbour] 2008-09-18 07:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-17 Thread Lorenzo Fiorini
On Thu, Sep 18, 2008 at 7:23 AM, Przemyslaw Czerpak <[EMAIL PROTECTED]> wrote: > 2008-09-18 07:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/include/hbthread.h >* use assembler version of atomic inc/dec operation in all x86 based > GCC builds - it should noticeable

[Harbour] 2008-09-18 07:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-17 Thread Przemyslaw Czerpak
2008-09-18 07:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * explicit casting to char * in 1-st strchr() parameter as workaround for wrong function prototype in DMC header files best regards Przemek __

[Harbour] 1.0.1 rpms for Fedora 9 uploaded

2008-09-17 Thread Lorenzo Fiorini
I plan to do the same for Centos 5.2 asap. best regards, Lorenzo ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] 2008-09-18 07:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-17 Thread Przemyslaw Czerpak
2008-09-18 07:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * use assembler version of atomic inc/dec operation in all x86 based GCC builds - it should noticeable improve OS2 MT build speed, please test. * harbour/include/hbcomp.h * harb

Re: [Harbour] 2008-09-18 01:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-17 Thread Pritpal Bedi
Hello Przemek Przemyslaw Czerpak-2 wrote: > > 2008-09-18 01:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/source/vm/fm.c > + harbour/source/vm/dlmalloc.c > + added alternative memory manager written by Doug Lea > It can be activated by recompiling Harbour wit

Re: [Harbour] RPM for 1.0.1 openSUSE

2008-09-17 Thread Bill Smith
Hi Adam, I have downloaded and installed the rpm's from your site. Attempting to compile speedtst.prg using hbmk yielded the following: /usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld: cannot find -lx11 This is apparently from the following line in hbmk: if [ "${HB_WITHOU

[Harbour] 1.0.1 builds uploaded

2008-09-17 Thread Szakáts Viktor
Source: harbour-1.0.1-src.zip harbour-1.0.1.tar.bz2 harbour-1.0.1.tar.gz harbour-1.0.1-0.src.rpm Ubuntu: harbour_1.0.1-1_i386.deb OpenSUSE: harbour-1.0.1-0.i586.rpm harbour-static-1.0.1-0.i586.rpm harbour-lib-1.0.1-0.i586.rpm

[Harbour] Harbour 1.0.1 binaries for OS/2-eCS

2008-09-17 Thread David Arturo Macias Corona
Harbour 1.0.1 binaries file for OS/2-eComStation are available in Harbour download page as harbour-1.0.1.bin-os2.gcc.zip Include Harbour libraries for: - MySQL 5.1.23 ( hbmysql.a ) - Postgres 8.1.4 ( hbpgsql.a ) - cUrl 7.18.1 ( hbcurl.a ) All packages from Paul Smedley site: http://www.smedley.

Re: [Harbour] 2008-09-18 01:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-17 Thread [EMAIL PROTECTED]
> Please make test on different platforms with different C compilers. Hi Przemek, With bcc 6.10 and windows XP is working very nice, speedtst down 6 seconds and my application seems more 'light'... I don't know why... Thanks and best reards, Toninho. ___

[Harbour] 2008-09-18 01:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-17 Thread Przemyslaw Czerpak
2008-09-18 01:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/fm.c + harbour/source/vm/dlmalloc.c + added alternative memory manager written by Doug Lea It can be activated by recompiling Harbour with HB_FM_DL_ALLOC macro. Please make test on differen

Re: [Harbour] BUG: OSX 64-bit hbtest failures (non-critical)

2008-09-17 Thread Szakáts Viktor
Hi Przemek, ! 1266 MAIN_STR(66)Str(R_PASSENL( 1860637360 )) Result: "1860637360" Expected: " 1860637360" ! 1269 MAIN_STR(69)Str(R_PASSENL( 10 )) Result: "10" Expected: " 10" ! 1270 MAIN_STR(70)Str(R_PASSENL( 214748364

Re: [Harbour] BUG: OSX 64-bit hbtest failures (non-critical)

2008-09-17 Thread Przemyslaw Czerpak
On Wed, 17 Sep 2008, Szak�ts Viktor wrote: Hi Viktor, > Harbour Regression Test Suite > Copyright (c) 1999-2008, http://www.harbour-project.org/ > --- > Version: Harbour 1.0.1 Intl. (Rev. 9429) > Compiler: GNU C 4.

Re: [Harbour] RPM for 1.0.1 openSUSE

2008-09-17 Thread Szakáts Viktor
Hi Adam, Thanks. May I add you to the Harbour members list, so that you can directly upload this to our sf.net dl page? Brgds, Viktor On 2008.09.17., at 22:56, ABIX - Adam Jurkiewicz wrote: As usualy I've made RPMs for openSUSE 10.3, availble at: http://www.abix.info.pl/kompilator-harbour,56.

Re: [Harbour] Tagged: Harbour 1.0.1 (r9429) [CORRECTED]

2008-09-17 Thread Szakáts Viktor
Hi Lorenzo, On 2008.09.17., at 22:49, Lorenzo Fiorini wrote: On Wed, Sep 17, 2008 at 9:36 PM, Szakáts Viktor [EMAIL PROTECTED]> wrote: I've tagged Harbour release 1.0.1 (r9429). I'll upload sources and some binaries soon. I've just built the rpms under Fedora 9 using a fresh user and a clea

[Harbour] RPM for 1.0.1 openSUSE

2008-09-17 Thread ABIX - Adam Jurkiewicz
As usualy I've made RPMs for openSUSE 10.3, availble at: http://www.abix.info.pl/kompilator-harbour,56.html best regards, Adam -- ABIX - Linuksowe Systemy Wspomagania Biznesu www.abix.info.pl Gadu-Gadu: 302315 Skype: abix_adamj Wsparcie aplikacji: http://groups-beta.google.com/group/abix-rcsoft?

[Harbour] BUG: OSX 64-bit hbtest failures (non-critical)

2008-09-17 Thread Szakáts Viktor
Hi all, Just tested with 1.0.1: --- Harbour Regression Test Suite Copyright (c) 1999-2008, http://www.harbour-project.org/ --- Version: Harbour 1.0.1 Intl. (Rev. 9429) Compiler: GNU C 4.0.1 (64 bit) OS:

Re: [Harbour] Release 1.0.1 #7

2008-09-17 Thread Szakáts Viktor
Hi Enrico, to build Harbour for WinCE? If yes, how? I tried adding You probably can, but I don't know how to configure MSVS 2008 to make that. There are probably materials on that on the internet. set HB_BUILD_WINCE=yes set HB_CC_NAME=vcce set HB=C:\your_harbour_windows_binaries\harbour.exe

Re: [Harbour] Tagged: Harbour 1.0.1 (r9429) [CORRECTED]

2008-09-17 Thread Lorenzo Fiorini
On Wed, Sep 17, 2008 at 9:36 PM, Szakáts Viktor <[EMAIL PROTECTED]> wrote: > I've tagged Harbour release 1.0.1 (r9429). > I'll upload sources and some binaries soon. I've just built the rpms under Fedora 9 using a fresh user and a clean env after a svn checkout ( no local modifications ). Tell m

Re: [Harbour] Re: Release 1.0.1 #1

2008-09-17 Thread Przemyslaw Czerpak
On Wed, 17 Sep 2008, David Arturo Macias Corona wrote: Hi David, > It build hbvmmt.a without warnings, thanks > Now Harbour is multithread in OS/2 ? :-) Thank you very much for your tests. It means that we have working MT in OS/2. > b) speedtst.prg > ST without HB_FM_STATISTICS_OFF and using h

[Harbour] 2008-09-17 22:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-17 Thread Szakáts Viktor
2008-09-17 22:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/rddado/adordd.prg ! Marking one STATIC var as thread STATIC. ; BTW, this should be revised for whole contrib .prg code. -- Brgds, Viktor ___ Harbour mailing list Harbour@

Re: [Harbour] Release 1.0.1 #7

2008-09-17 Thread Enrico Maria Giordano
-Messaggio Originale- Da: "Szakáts Viktor" <[EMAIL PROTECTED]> A: "Harbour Project Main Developer List." Data invio: mercoledì 17 settembre 2008 13.38 Oggetto: [Harbour] Release 1.0.1 #7 Hi all, Anyone by any chance could do a WinCE build test on Windows? Can I use Microsoft (R)

Re: [Harbour] 2008-09-17 18:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-17 Thread Luis Krause Mantilla
Przemek: Thanks! This also fixes the GPF I mentioned over the weekend. This is an ST app that uses ADS and with your fix no more GPF upon closing the app. 2008-09-17 18:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) [snip] * harbour/source/vm/set.c ! fixed GPF when set listeners

Re: [Harbour] Tagged: Harbour 1.0.1 (r9429)

2008-09-17 Thread Lorenzo Fiorini
On Wed, Sep 17, 2008 at 8:22 PM, Szakáts Viktor <[EMAIL PROTECTED]> wrote: > I've tagged Harbour release 1.0.1 (r9429). > I'll upload sources and some binaries soon. > > URL: > https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/tags/harbour-1.0.0 > ... Good job, many thanks. bes

[Harbour] Tagged: Harbour 1.0.1 (r9429) [CORRECTED]

2008-09-17 Thread Szakáts Viktor
Hi all, I've tagged Harbour release 1.0.1 (r9429). I'll upload sources and some binaries soon. URL: https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/tags/harbour-1.0.1 Notes: - To get the source from SVN, use 'svn export '. - This is a read-only repository section, never comm

Re: [Harbour] Tagged: Harbour 1.0.1 (r9429)

2008-09-17 Thread Szakáts Viktor
Hi Przemek and all, On 2008.09.17., at 21:32, Przemyslaw Czerpak wrote: On Wed, 17 Sep 2008, Szakáts Viktor wrote: Hi Viktor, I've tagged Harbour release 1.0.1 (r9429). I'll upload sources and some binaries soon. Thank you very much. URL: https://harbour-project.svn.sourceforge.net/svnro

Re: [Harbour] Tagged: Harbour 1.0.1 (r9429)

2008-09-17 Thread Przemyslaw Czerpak
On Wed, 17 Sep 2008, Szak�ts Viktor wrote: Hi Viktor, > I've tagged Harbour release 1.0.1 (r9429). > I'll upload sources and some binaries soon. Thank you very much. > URL: > https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/tags/harbour-1.0.0 ../tags/harbour-1.0.0 is use din

[Harbour] Tagged: Harbour 1.0.1 (r9429)

2008-09-17 Thread Szakáts Viktor
Hi all, I've tagged Harbour release 1.0.1 (r9429). I'll upload sources and some binaries soon. URL: https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/tags/harbour-1.0.0 Notes: - To get the source from SVN, use 'svn export '. - This is a read-only repository section, never comm

[Harbour] ADS Index Page Size

2008-09-17 Thread [EMAIL PROTECTED]
Hi ppl, Are there any set for create Indexes with configurable Page Size ? I have specific adt databases that need be created with 1024 Index Page Size. I have my own ads1.c changed to do this, but IMO is important if we can have this configuration in set() or at the INDEX ON command. from a

Re: Re: [Harbour] GPF sample

2008-09-17 Thread [EMAIL PROTECTED]
On Wed, 17 Sep 2008 18:47:59 +0200, you wrote: >On Wed, 17 Sep 2008, [EMAIL PROTECTED] wrote: > >Hi Toninho, > >> Yes, I'm using BCC 6.10 but I have GPF in prior versions too, same >> using -DHB_FM_WIN32_ALLOC, and GPF appear *ONLY* when app finish. >> I'm not 100% right but seems that functions l

Re: [Harbour] GPF sample

2008-09-17 Thread Przemyslaw Czerpak
On Wed, 17 Sep 2008, [EMAIL PROTECTED] wrote: Hi Toninho, > >I can confirm, it crashes here with an empty GPF MessageBox. > >BCC 5.8.2, MT, UNICODE, ADS 9.00. > Yes, for this reason my LOG of codeguard has no lines or sources, I'm afraid it was mistake in CG configuration/Harbour build switches.

Re: Re: [Harbour] GPF sample

2008-09-17 Thread [EMAIL PROTECTED]
>Hi Toninho, > >I can confirm, it crashes here with an empty GPF MessageBox. > >BCC 5.8.2, MT, UNICODE, ADS 9.00. Yes, for this reason my LOG of codeguard has no lines or sources, Thanks and best regards, Toninho. ___ Yahoo! Mail - Sempre

Re: [Harbour] GPF sample

2008-09-17 Thread Przemyslaw Czerpak
On Wed, 17 Sep 2008, [EMAIL PROTECTED] wrote: Hi Toninho, > Yes, I'm using BCC 6.10 but I have GPF in prior versions too, same > using -DHB_FM_WIN32_ALLOC, and GPF appear *ONLY* when app finish. > I'm not 100% right but seems that functions like below GPF in the same The GPF was inside code used

[Harbour] 2008-09-17 18:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-17 Thread Przemyslaw Czerpak
2008-09-17 18:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h + added macros to disable default native compiler TLS support: HB_NO_TLS * harbour/source/vm/set.c ! fixed GPF when set listeners were removed best regards Przemek

[Harbour] [1.0] 2008-09-17 18:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-17 Thread Szakáts Viktor
; Partial sync with trunk r9428 2008-09-17 18:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_gcc.sh * contrib/make_gcc_all.sh ! cyg to w32 architecture conversion got uncommented. 2008-09-17 17:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/mtpl_gcc.sh - Detec

[Harbour] 2008-09-17 18:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-17 Thread Szakáts Viktor
2008-09-17 18:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_gcc.sh * contrib/make_gcc_all.sh ! cyg to w32 architecture conversion got uncommented. -- Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbo

Re: [Harbour] MM

2008-09-17 Thread Szakáts Viktor
Hi all, DL MM seems to be very good peace of work. It's public domain code so I suggest to include it to SVN. Then we can change it and integrate some of our own extensions. F.e. we can start with reference counters and move them directly into DL memory block what should reduce total memor

[Harbour] 2008-09-17 17:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-17 Thread Szakáts Viktor
2008-09-17 17:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * bin/hb-mkslib.sh * make_gcc.sh * make_gnu.sh * make_tgz.sh * make_xmingw.sh * make_xmingwce.sh * contrib/make_gcc_all.sh * contrib/mtpl_gcc.sh - Removed unnecessary explicit SunOS detection. - Removed unnecess

Re: [Harbour] MM

2008-09-17 Thread Przemyslaw Czerpak
On Tue, 16 Sep 2008, Mindaugas Kavaliauskas wrote: Hi Mindaugas, >>> I've tested a few memory managers (MM) with tests\memtst.prg. All test is >>> using BCC55 compiler, singe thread application, FM statistics switched >>> off, 2.2GHz Celeron, 256MB RAM. >>> Three MM were tested: BCC55, Win32 Lo

[Harbour] Unresolved external '__beginthreadex'

2008-09-17 Thread Massimo Belgrano
Recompiling an old application with 1.1.0dev I receive this error Error: Unresolved external '__beginthreadex' referenced from C:\HARBOUR\LIB\HBVM .LIB|thread Error: Unresolved external '__endthreadex' referenced from C:\HARBOUR\LIB\HBVM.L IB|thread What lib must add? Massimo Belgrano

Re: [Harbour] 2008-09-17 14:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-17 Thread Szakáts Viktor
Hi Przemek, On 2008.09.17., at 16:25, Przemyslaw Czerpak wrote: On Wed, 17 Sep 2008, Szakáts Viktor wrote: Hi Viktor, * bin/hb-mkslib.sh * make_xmingwce.sh * make_gcc.sh * make_xmingw.sh * make_gnu.sh * make_tgz.sh + Added SunOS platform detection as an attempt to make make_tgz

Re: [Harbour] 2008-09-17 14:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-17 Thread Przemyslaw Czerpak
On Wed, 17 Sep 2008, Szak�ts Viktor wrote: Hi Viktor, > * bin/hb-mkslib.sh > * make_xmingwce.sh > * make_gcc.sh > * make_xmingw.sh > * make_gnu.sh > * make_tgz.sh > + Added SunOS platform detection as an attempt to make > make_tgz.sh work on OpenSolaris. The auto detection

[Harbour] handel nil in savearr.prg in hbnf

2008-09-17 Thread Abeb
can these lines be add to take in account nil values Saveing CASE cValType = "U" cString := "NIL" nLen := LEN(cString) FWrite(nHandle, L2Bin(nLen), 4) FWrite(nHandle, cString) Restoreing CASE cValType = "U" cMemVar := SPACE(nLen) FRE

Re: [Harbour] Re: GPF sample

2008-09-17 Thread Szakáts Viktor
Hi Chen, On 2008.09.17., at 14:54, Chen Kedem wrote: Toninho, Viktor, I', tested and GPF in the same way function DboTempOpenFromDbf() AdsSetFileType( 3 ) return nil I use C++Builder 5.0 but I don't have ADS, so I need to remark the ADS function. When doing that there is no error in

Re: [Harbour] 2008-09-15 13:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-17 Thread Mindaugas Kavaliauskas
Hi, Przemyslaw Czerpak wrote: I guess that if you inline this function then speed of MT Harbour-BCC programs will be greatly improved. If I understand the above it should look like (meta code which should be adopted to BCC so it can be inlined): static __inline__ PHB_STACK hb_stack_ptr( voi

[Harbour] Re: GPF sample

2008-09-17 Thread Chen Kedem
Toninho, > Viktor, I', tested and GPF in the same way > function DboTempOpenFromDbf() >AdsSetFileType( 3 ) > return nil I use C++Builder 5.0 but I don't have ADS, so I need to remark the ADS function. When doing that there is no error in ST or MT modes (with or without CodeGuard). Maybe you

Re: [Harbour] GPF sample

2008-09-17 Thread Szakáts Viktor
Hi Toninho, I can confirm, it crashes here with an empty GPF MessageBox. BCC 5.8.2, MT, UNICODE, ADS 9.00. Brgds, Viktor On 2008.09.17., at 13:51, [EMAIL PROTECTED] wrote: Just an off-topic recommendation. For an equivalent, but speedier, shorter and - Harbour-only - _portable_ code, you sho

[Harbour] 2008-09-17 14:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-17 Thread Szakáts Viktor
2008-09-17 14:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * bin/hb-mkslib.sh * make_xmingwce.sh * make_gcc.sh * make_xmingw.sh * make_gnu.sh * make_tgz.sh + Added SunOS platform detection as an attempt to make make_tgz.sh work on OpenSolaris. ; NOFIX: Still, when tr

Re: Re: [Harbour] GPF sample

2008-09-17 Thread [EMAIL PROTECTED]
>Just an off-topic recommendation. For an equivalent, but >speedier, shorter and - Harbour-only - _portable_ code, >you should - instead of the above - consider using this: >--- >PROCEDURE RDDSYS() > RETURN Viktor, I', tested and GPF in the same way: ---cut--- procedure main() return functio

[Harbour] Release 1.0.1 #7

2008-09-17 Thread Szakáts Viktor
Hi all, Anyone by any chance could do a WinCE build test on Windows? + Passed OpenSolaris test. Used external packages (on my system that is): - Allegro 4.2.2 - Apollo 6.1.0.4 - libcurl 7.19.0 (7.18.2 for DMC builds) - Firebird 2.0.4 - FreeImage 3.11.0 - libgd 2.0.34 - libharu 2.1.0 - mysql 5.0

Re: Re: [Harbour] GPF sample

2008-09-17 Thread [EMAIL PROTECTED]
>Thank you for example. It's very strange. It shouldn't GPF. >Maybe it's a compile/link problem. I guess you are using BCC. >Can someone else check it and confirm the problem. >I cannot replicate it without ADS in my Linux box. Przemek, thank you. Yes, I'm using BCC 6.10 but I have GPF in prior

[Harbour] [1.0] 2008-09-17 13:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-17 Thread Szakáts Viktor
2008-09-17 13:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + tests/memtst.prg * tests/speedtst.prg * Added/synced these two tests from trunk r9423. -- Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-pr

[Harbour] 2008-09-17 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-09-17 Thread Szakáts Viktor
2008-09-17 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * tests/memtst.prg * tests/speedtst.prg * Made them compile with < 1.1 Harbour versions. -- Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-pr

Re: Re: [Harbour] GPF sample

2008-09-17 Thread [EMAIL PROTECTED]
On Wed, 17 Sep 2008 11:41:42 +0200, you wrote: >Hi Toninho, > >> #pragma BEGINDUMP >> >> #include "windows.h" >> #include "hbapi.h" >> >> HB_FUNC( RDDSYS ) >> { >> hb_ret(); >> } >> >> #pragma ENDDUMP > >Just an off-topic recommendation. For an equivalent, but >speedier, shorter and - Harbour-onl

Re: [Harbour] Re: Release 1.0.1 #1

2008-09-17 Thread Szakáts Viktor
Hi David, Harbour 1.0.0 have: --- * By default this is turned on. Define HB_FM_STATISTICS_OFF to turn it off. */ #ifndef HB_FM_STATISTICS_OFF #define HB_FM_STATISTICS #endif --- so at least for OS/2 version I provided, it have stat on. Sorry :-) This change was

Re: [Harbour] MT and Thread Control - Signals

2008-09-17 Thread Przemyslaw Czerpak
On Wed, 17 Sep 2008, Maurilio Longo wrote: Hi Pritpal and Maurilio, > signals and sync methods are very usefull and common in xbase++ mt programs. > xharbour already has support for both of them (it seems to me that the SYNC > option still has some problems, but it's been a long time since I last

Re: [Harbour] hb_gcall() and fwh

2008-09-17 Thread Przemyslaw Czerpak
On Tue, 16 Sep 2008, [EMAIL PROTECTED] wrote: Hi Toninho, > I see that fwh continues calling hb_gcall() after each time a dialog > close. It remains necessary in current svn or we have a better choice Not yet but Harbour is ready for automatic GC activation which I'll enable soon. Anyhow it may

Re: [Harbour] GPF sample

2008-09-17 Thread Przemyslaw Czerpak
On Wed, 17 Sep 2008, [EMAIL PROTECTED] wrote: Hi Toninho, > The sample below GPF after MT implementation: > I'm using rddads.lib and ace.lib together. > ---cut--- > procedure main() > return > function DboTempOpenFromDbf() >AdsSetFileType( 3 ) > return nil > #pragma BEGINDUMP > #include "wind

[Harbour] Re: Release 1.0.1 #1

2008-09-17 Thread David Arturo Macias Corona
[Chen] >The idea here, is that 1.0.1 is a final release, and as such it is >default to performance. >1.1.0 is the dev version, and for now it is default to ease of debugging >and reporting >problems (which the FM_STATISTICS help to find). >When it will be the time for 1.1.0 to be released as f

Re: [Harbour] GPF sample

2008-09-17 Thread Szakáts Viktor
Hi Toninho, #pragma BEGINDUMP #include "windows.h" #include "hbapi.h" HB_FUNC( RDDSYS ) { hb_ret(); } #pragma ENDDUMP Just an off-topic recommendation. For an equivalent, but speedier, shorter and - Harbour-only - _portable_ code, you should - instead of the above - consider using this: --

Re: [Harbour] Wich internal define are you using in harbour?

2008-09-17 Thread Szakáts Viktor
-DADS_LIB_VERSION=700 This one is only needed if you want to override autodetection. -DHB_HASH_MSG_ITEMS That not are present You can find the documented ones in hbsetup.ch and hbsetup.h. To find the rest, you can dig them out from the source (or lookup older messages where this topic has be

Re: [Harbour] MT "stubbed" functions in 1.0.1?

2008-09-17 Thread Szakáts Viktor
We will be having (and we already have) other differences, too, and even these current function name may change and/or get extended, new ones added, so I think this would just create false impressions in 1.0.1. We should remember that MT is not yet mature in trunk. For speedtst and memtst conditi

Re: [Harbour] Re: Release 1.0.1 #1

2008-09-17 Thread Szakáts Viktor
Hi David, The idea here is that we're having FM stat module - by default - turned off for stable branches (like 1.0, and a future stable 1.1), but we leave it on for the dev branch (trunk). IOW, I didn't intend to sync this either way. Brgds, Viktor On 2008.09.17., at 9:53, David Arturo Macias

[Harbour] Re: Release 1.0.1 #1

2008-09-17 Thread Chen Kedem
David, > Version 1.0.1 (2008-09-10) > [...] > - Memory statistics module now turned off by default for optimal >performance. It can be turned on by setting HB_FM_STATISTICS >macro. > --- > > but to build trunk (1.1.x) is necessary (at least OS/2): >set C_USR

[Harbour] Re: MT "stubbed" functions in 1.0.1?

2008-09-17 Thread David Arturo Macias Corona
Mindaugas: > You can use 1.1.0, because 1.0.1 + MT is 1.1.0 (at >least in current code). Not exactly Comparing hbsetup.ch, hbsetup.h exist at least two differences New code in 1.0.1 which does not exist in 1.1.x I am not sure how closer is 1.0.1 and 1.1.x excluding mt David Macias __

[Harbour] Re: MT "stubbed" functions in 1.0.1?

2008-09-17 Thread David Arturo Macias Corona
>I tried to test new memtst and speedtst with 1.0.1 to check the >differences with 1.1.0 but the last uses the func HB_MTVM() which is >defined in source/vm/threads.c. >IMHO it would useful to add "stubbed" thread functions to 1.0.1 so >that one can start to add MT code to real apps without requi

Re: [Harbour] MT "stubbed" functions in 1.0.1?

2008-09-17 Thread Mindaugas Kavaliauskas
IMHO it would useful to add "stubbed" thread functions to 1.0.1 so that one can start to add MT code to real apps without requiring to jump in production with 1.1.0 too early. Hi, if we'll do it, we'll have current 1.1.0 code in 1.0.1, so 1.0.1 will become meaningless. You can use 1.1.0, beca

[Harbour] Re: Release 1.0.1 #1

2008-09-17 Thread David Arturo Macias Corona
Viktor: doc\whatsnew.txt said: --- Version 1.0.1 (2008-09-10) [...] - Memory statistics module now turned off by default for optimal performance. It can be turned on by setting HB_FM_STATISTICS macro. --- but to build trunk (1.1.x) is n

[Harbour] Re: Release 1.0.1 #1

2008-09-17 Thread David Arturo Macias Corona
Przemek: >I've just fixed above problems in thread.c. >If possible please try to recompile Harbour once again >and try to build tests/mt/*.prg programs using libhbvmmt instead >of libhbvm. If everything is correct then they should work. I used set C_USR=-DHB_FM_STATISTICS_OFF It build hbvmmt.a

Re: [Harbour] MT and Thread Control - Signals

2008-09-17 Thread Maurilio Longo
Hi Pritpal and Przemyslaw, signals and sync methods are very usefull and common in xbase++ mt programs. xharbour already has support for both of them (it seems to me that the SYNC option still has some problems, but it's been a long time since I last checked it), maybe having the same support in h