[Harbour] Warning

2008-04-28 Thread Enrico Maria Giordano
Warning W8075 source\common\hbver.c 230: Suspicious pointer conversion in function hb_verPlatform EMG -- EMAG Software Homepage: http://www.emagsoftware.it The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum The Best of Spectrum Games: http://www.emagsoftware.it/tbosg The EMG Mu

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

2008-04-28 Thread Szakáts Viktor
2008-04-28 09:28 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * common.mak * source/rtl/Makefile * source/rtl/einstvar.prg + source/rtl/einstvau.prg * Undoc function moved to separate file. -- Brgds, Viktor ___ Harbour mailing list Har

[Harbour] CHANGELOG: 2008-04-28 09:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-04-28 Thread Szakáts Viktor
2008-04-28 09:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/common/hbver.c ! Fixed warning in recent change. * Minor adjustment to Vista/Server 2008 detection to be exactly along MS recommendation. -- Brgds, Viktor ___ H

Re: [Harbour] CHANGELOG: 2008-04-28 09:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-04-28 Thread Enrico Maria Giordano
-Messaggio Originale- Da: "Szakáts Viktor" <[EMAIL PROTECTED]> A: Data invio: lunedì 28 aprile 2008 9.41 Oggetto: [Harbour] CHANGELOG: 2008-04-28 09:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu) 2008-04-28 09:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/common/

[Harbour] Example selfcontained that shows how we lose memory

2008-04-28 Thread Miguel Angel Marchuet
#include "hbmemory.ch" #include "hbclass.ch" #ifndef __XHARBOUR__ #xtranslate Str( , , , .F. ) => Str( , , ) #xtranslate Str( , , , .T. ) => LTrim( Str( , , ) ) #xtranslate Str( , , , ) => If( , LTrim( Str( , , ) ), Str( , , ) ) #include "xhb.ch" #endif #ifdef DEFAULT #UNDEF DEFAULT #endif

Re: [Harbour] Example selfcontained that shows how we lose memory

2008-04-28 Thread Szakáts Viktor
Miguel, You're adding a new element to the 'ao' array in each loop, and you're not removing these array elements later (just assigning 0 to them). So you end up with an array of 1500 zero values, each zero is one item, that's where memory is 'lost'. Brgds, Viktor On 2008.04.28., at 10:19, Migue

Re: [Harbour] Example selfcontained that shows how we lose memory

2008-04-28 Thread Miguel Angel Marchuet
Sorry for the previous post, this is the correct test: Harbour looses 38.571 Bytes in 9.25 seconds xHarbour looses 56.956 Bytes in 4.83 seconds Why Harbour is more slow ? Why xHarbour loose more memory ? Why 2 compilers loose memory ? Best regards, Miguel Angel Marchuet #include "hbmemory.c

[Harbour] Example more simple that shows how we lose memory and speed

2008-04-28 Thread Miguel Angel Marchuet
more simple test to see the problem: Harbour looses 38.571 Bytes in 9.25 seconds xHarbour looses 56.956 Bytes in 4.83 seconds Why Harbour is more slow ? Why xHarbour loose more memory ? Why 2 compilers loose memory ? Best regards, Miguel Angel Marchuet #include "hbmemory.ch" #include "hbcl

Re: [xHarbour-developers] [Harbour] Example more simple that shows how we lose memory and speed

2008-04-28 Thread Miguel Angel Marchuet
please add fmstat as first library to activate memory function ;) Patrick Mast, xHarbour.com escribió: Hey Miguel, more simple test to see the problem: I ran your test with xHarbour Builder compiled with latest xH.org CVS code and got this result: We lost 0 Bytes Elapsed time 6.27 Patri

Re: [Harbour] Example more simple that shows how we lose memory and speed

2008-04-28 Thread Lorenzo Fiorini
On Mon, Apr 28, 2008 at 11:41 AM, Miguel Angel Marchuet <[EMAIL PROTECTED]> wrote: > more simple test to see the problem: > > Harbour looses 38.571 Bytes in 9.25 seconds > xHarbour looses 56.956 Bytes in 4.83 seconds > > Why Harbour is more slow ? > Why xHarbour loose more memory ? > > Why 2

Re: [Harbour] Example more simple that shows how we lose memory and speed

2008-04-28 Thread Miguel Angel Marchuet
Lorenzo, is not a problem of GT question. we lost speed here, comparing with xharbour ao[n] := Nil And too is a lost memory (and strange) here ao := nil hb_gcAll( .T. ) at the end of the test. the results of the test was made for #define MAXTEST 1 using OS W2000 Best regards,

Re: [Harbour] Example more simple that shows how we lose memory and speed

2008-04-28 Thread Szakáts Viktor
Miguel, You swapped ':= 0' with ':= NIL', and NIL consumes the same memory as zero, so you didn't change the problem. You'd need ASize( ao, Len( ao ) - 1 ) (or ASize( ao, 1 ), or a simple ao var) Brgds, Viktor On 2008.04.28., at 11:41, Miguel Angel Marchuet wrote: more simple test to see the

Re: [Harbour] New TBROWSE

2008-04-28 Thread Guillermo Varona Silupú
Guillermo Varona Silupú escribió: [SPA] He actualizado al ultimo SVN, donde se incluye el nuevo TBROWSE y he recompilado una aplicación y ahora ya no funciona el Scroll del mouse :-( . . . o fue con xharbour, ¿alguien sabe si esta funcionalidad (moverse en el TBROWSE con el Scroll), esta sopor

Re: [Harbour] Example more simple that shows how we lose memory and speed

2008-04-28 Thread Przemyslaw Czerpak
On Mon, 28 Apr 2008, Miguel Angel Marchuet wrote: > more simple test to see the problem: > Harbour looses 38.571 Bytes in 9.25 seconds > xHarbour looses 56.956 Bytes in 4.83 seconds Miguel there is no memory leak at all in this test. Your program reports memory difference because you forgot to co

Re: [Harbour] 2008-04-25 12:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-04-28 Thread Przemyslaw Czerpak
On Fri, 25 Apr 2008, Szakáts Viktor wrote: Hi Viktor, sorry for the delay. > Could you pls reattach the modified br.prg? It looks > this one was the original file. Ups, my fault. I'm attaching modified version. > Do you think there is any reasonable way to avoid > to infamous "roll up" problem

Re: [Harbour] Example more simple that shows how we lose memory and speed

2008-04-28 Thread Miguel Angel Marchuet
And With this test ? #include "hbmemory.ch" #include "hbclass.ch" #define MAXTEST 10 PROCEDURE MAIN() LOCAL n, ao, nMem, nTime REQUEST HB_GT_WIN // To load the class GetNew( 20, 20 ) nTime := Seconds() nMem := Memory( HB_MEM_USED ) ao := {} FOR n := 1 TO MAXTEST

Re: [Harbour] Example more simple that shows how we lose memory and speed

2008-04-28 Thread Miguel Angel Marchuet
Sorry with this, I recover more than I spend. What is the error ? #include "hbmemory.ch" #include "hbclass.ch" #define MAXTEST 10 PROCEDURE MAIN() LOCAL n, ao, nMem, nTime REQUEST HB_GT_WIN // To load the class Problem() nTime := Seconds() nMem := Memory( HB_MEM_USED )

Re: [Harbour] Example more simple that shows how we lose memory and speed

2008-04-28 Thread Przemyslaw Czerpak
On Mon, 28 Apr 2008, Miguel Angel Marchuet wrote: > Sorry with this, I recover more than I spend. > What is the error ? This test reports: druzus:/tmp/4# hbmk -n -w t2.prg -fmstat && ./t2 Harbour devel build 1.1-1 Intl. (Rev. 8378) Copyright (c) 1999-2008, http://www.harbour-project.org/ Compilin

[Harbour] Status of next release

2008-04-28 Thread Randy Portnoff
Hi all, What is the status of the next release? Also, will it be B4 or R1? Regards, Randy. ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] Last bcc32 release better for harbour

2008-04-28 Thread Massimo Belgrano
With c++ builder 2007 is included CodeGear C++ Compiler 5.9 (bcc32) http://www.codegear.com/products/cppbuilder/feature-matrix/ with free Turbo C++ Explorer is included BCC32 5.82 http://cc.codegear.com/free/turbo with Free Borland C++ Compiler is included version 5.5 http://www.codegear.com/down

Re: [Harbour] Status of next release

2008-04-28 Thread Phil Barnett
On Monday 28 April 2008 12:20:19 pm Randy Portnoff wrote: > Hi all, > > What is the status of the next release? Also, will it be B4 or R1? RC1, and we are needing the whatsnew.txt file before we mark the repository. -- In order to ensure a safe police state; the right of the people to keep and

[Harbour] PCRE update 6.3 -> 7.6

2008-04-28 Thread Szakáts Viktor
Hi all, We've PCRE version 6.3 (from 2005) in Harbour repo right now, latest is 7.6 (2008). Shouldn't we update? I have a port ready (except extra source modifications) to test: http://www.syenar.hu/harbour/hbpcre76.zip http://www.syenar.hu/harbour/common.mak Brgds, Viktor ___

[Harbour] Sun Netbeans and Harbour syntax module

2008-04-28 Thread Lorenzo Fiorini
Vim is my standard editor, and ever will be, since I need a tool that works on Linux, MacOsx, Windows and I find it everywhere. But today half of my apps are made of xhtmls, javascripts, xmls, zips, jpgs and managing all that stuffs is getting harder mainly for junior developers that are "IDE minde