Luiz Rafael Culik | 26 Jul 03:02 2015
Picon

luiz@...>


  * include/hbapiitm.h
    ! added hb_itemEqual Borrow from harbour
  * source/vm/itemapi.h
    ! added   hb_itemEqual Borrow from harbour
  * source/tip/ftpcln.prg
    ! removed call to getreply on method ls ( reported by Claudio H )
  * source/rtl/gttone.c
    ! minor fix to compile under msvc 2015    (hb_Inp9x)
  * contrib/gtwvw/gtwvw.c
    !  minor fix to compile under msvc 2015  (hb_Inp9x)

------------------------------------------------------------------------------
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@...
https://lists.sourceforge.net/lists/listinfo/xharbour-developers
Andi Jahja | 8 Jul 23:41 2015
X-Face
Picon

Re: WITH OBJECT

Yes it is, -gc3 is to produce C source. I think the bug is there, not in the VM engine. So, not using -gc3 may
perhaps cure the problem.

Andi

On Wed, 8 Jul 2015 14:35:52 -0700
Ron Pinkas <ron.pinkas@...> wrote:

> I am not by my computer, -gc3 is the switch to generate C calls instead of
> PCODE?
> On Jul 8, 2015 2:23 PM, "Andi Jahja" <andi.jahja@...> wrote:
> 
> > Hi Ron:
> >
> > Sorry for I cannot post a reduced code. The application is quite huge and
> > I do not know where it happened.
> > Yes, I am using -gc3, but not aware where the recursion is. IMO, Przemek's
> > example should demonstrate it.
> >
> > Andi
> >
> > On Wed, 8 Jul 2015 13:15:25 -0700
> > Ron Pinkas <ron.pinkas@...> wrote:
> >
> > > Hi Andi,
> > >
> > > Could you kindly post a reduced sample?
> > >
> > > As long as you are not using -gc3 (as per Przemek observation) and/or
> > recursion which exceeds the fixed limit, then I am not aware of such issue.
> > >
> > > Ron
> > >
> > > > On Jun 30, 2015, at 6:13 AM, Andi Jahja <andi.jahja@...>
> > wrote:
> > > >
> > > > Hi Przemek,
> > > >
> > > > Many thanks for explanation. Fixing it is beyond my capabilities. For
> > the time being, xHarbour users have to be careful when playing with
> > With-Object and/or For-Each constructs.
> > > >
> > > > Andi
> > > >
> > > > On Tue, 30 Jun 2015 13:45:41 +0200
> > > > Przemyslaw Czerpak <druzus@... <mailto:
> > druzus@...>> wrote:
> > > >
> > > >> On Mon, 29 Jun 2015, Andi Jahja wrote:
> > > >>
> > > >> Hi,
> > > >>
> > > >>> Hello,
> > > >>> I randomly get this error message:
> > > >>>   "WITH OBJECT excessive nesting!"
> > > >>> As per default build, HB_MAX_WITH_OBJECT is preset to 64.
> > > >>> But I am very sure that my application does not have that much nests.
> > > >>> This occurs when I repeatedly execute sub function containing WITH
> > OBJECT.
> > > >>> I suspect the counter is not released after a nest reached an "END"
> > > >>> Anyone?
> > > >>
> > > >> After short checking current HVM code in xHarbour I can see two
> > possible
> > > >> reasons:
> > > >>
> > > >> 1. You are using recursion.
> > > >>   Due to limitation in xHarbour implementation FOR EACH and WITH
> > OBJECT
> > > >>   cannot be used in algorithms using recursion because they can reach
> > > >>   HB_MAX_WITH_OBJECTS or HB_MAX_ENUMERATIONS limits.
> > > >>   It's very serious problem I reported nearly 10 years ago.
> > > >>   To resolve it it's necessary to redesign FOR EACH and WITH OBJECT
> > > >>   implementation in xHarbour. It would be nice to also eliminate
> > > >>   overhead caused by current code. Even if programmer does not use
> > > >>   above constructions then HVM in xHarbour executes additional code
> > > >>   to initialize and finally clean FOR EACH and WITH OBJECT counters
> > > >>   and containers on each PRG function call what reduces overall
> > > >>   performance. The implementation in Harbour does not have such
> > > >>   problems so it can be taken as base.
> > > >>
> > > >> 2. Looks that code executed for -gc3 output does not restore FOR EACH
> > > >>   and WITH OBJECT counters. Such additional cleanup it's yet another
> > > >>   overhead in current implementation which can be eliminated new one.
> > > >>   Example below illustrates it:
> > > >>
> > > >>         #include "hbclass.ch"
> > > >>         proc main()
> > > >>            local i
> > > >>            for i := 1 to 100
> > > >>               begin sequence
> > > >>                  with object i
> > > >>                     if i < 100
> > > >>                        break
> > > >>                     endif
> > > >>                  end with
> > > >>               endsequence
> > > >>            next
> > > >>         return
> > > >>
> > > >>   This can be easy fixed anyhow I strongly suggest to start deeper
> > > >>   modifications which resolved also other problems.
> > > >>
> > > >> best regards,
> > > >> Przemek
> > > >
> > > >
> > > > Andi
> >
> >
> >

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
Andi Jahja | 29 Jun 09:19 2015
X-Face
Picon

WITH OBJECT

Hello,

I randomly get this error message:

   "WITH OBJECT excessive nesting!"

As per default build, HB_MAX_WITH_OBJECT is preset to 64. But I am very sure that my application does not
have that much nests.

This occurs when I repeatedly execute sub function containing WITH OBJECT. I suspect the counter is not
released after a nest reached an "END"

Anyone?

--
Andi

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
Mario Simoes Filho | 20 Jun 20:33 2015
Picon

gtwvw tooltip not work

I use the wvwtools for a long time and I noticed now that the tooltip of 
the Pushbutton is not working, as far as I investigated the ADDTOOLTIPEX 
() function is not working and I could not figure out what is wrong
I tested with gtwvw before the change
2015-03-18 22:50 UTC-0300 Luiz Rafael Culik <luiz@...>
and went back to work

------------------------------------------------------------------------------
Andi Jahja | 11 Jun 10:06 2015
X-Face
Picon

GET PICTURE

Hi,

I found that the following program behave differently in Clipper and xHarbour:

MEMVAR GETLIST
PROC MAIN()

   LOCAL C := SPACE(10)

    <at>  10,10 GET C PICTURE " <at> !A"
   READ

Would appreciate a fix if so needed.

Many thanks.

Andi

------------------------------------------------------------------------------
Saulius Zrelskis | 3 Jun 12:52 2015
Picon

ChangeLog: 2015-06-03 13:50 UTC+0200 Saulius Zrelskis

2015-06-03 13:50 UTC+0200 Saulius Zrelskis <labitas/AT/gmail/com>
  * source/rtl/isprint.c
  * source/rtl/tprinter.c
    ! Release printer handle

Best regards,
Saulius
------------------------------------------------------------------------------
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@...
https://lists.sourceforge.net/lists/listinfo/xharbour-developers
Patrick Mast | 18 May 13:01 2015

patrick.mast@...>

2015-05-18 12:58 UTC+0100 Patrick Mast <patrick.mast-NX8iSfc8tANWk0Htik3J/w@public.gmane.org>
  * contrib/tipssl/client.prg
    ! Removed TraceLog's

--
Patrick
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@...
https://lists.sourceforge.net/lists/listinfo/xharbour-developers
Mario Simoes Filho | 12 May 15:00 2015
Picon

New xHarbour Builder RELEASE release May-2015-Build510

this release is slow ...

It is with an active TraceLog in 'hvm.c'

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Luiz Rafael Culik | 9 May 22:59 2015
Picon

luiz@...>

2015-05-09 17:55 UTC-0300 Luiz Rafael Culik <luiz-NX8iSfc8tAM39yzSjRtAkw@public.gmane.org>
  * contrib/tipssl/httpcln.prg
    ! minor fix on CLOSE method
  * include/hbapi.h
    ! hb_strLTrim Added const to function signature     
  * include/hbapirdd.h
    ! added defined to DBTF_CPYCTR and DBTF_RECALL borrow from harbour
  * source/common/expropt1.c
    ! in hb_compExprNewString change direct %lu with %" HB_PFS " to make some c compiler happy
  * source/common/hbstr.c
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy
    ! on HB_TRACE changed direct %ld with %" HB_PFS "d to make some c compiler happy
    ! ULONG -> HB_SIZE when applicable
  * source/rdd/dbcmd.c
    ! in function __DBARRANGE ULONG -> HB_SIZE where aplicable 
    ! Removed unnecessary cast to ULONG    
  * source/rdd/workarea.c
    ! fixed wrong behavior on deleted records in hb_waTransRec() Fix ideia borrow from harbour 
  * source/rtl/at.c
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy
  ! source/rtl/console.c
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy
  ! source/rtl/descend.c
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy   
  ! source/rtl/filenet.c
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy       
    ! ULONG -> HB_SIZE when applicable
  ! source/rtl/filesys.c
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy           
  ! source/rtl/gtapi.c
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy               
  ! source/rtl/hardcr.c
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy                   
  ! source/rtl/hbgtcore.c
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy                       
  ! source/rtl/inkey.c
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy                           
  ! source/rtl/inkeyapi.c
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy                           
  ! source/rtl/mtran.c
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy                           
  ! source/rtl/strings.c
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy                           
  * source/rtl/trim.c 
    ! hb_strLTrim Added const to function signature
    ! on HB_TRACE changed direct %lu with %" HB_PFS "u to make some c compiler happy
    ! added const to declaration of variable szText in LTRIM and ALLTRIM function         
  * source/vm/itemapi.c
    ! just an minor refine on last commit on hb_itemStrCmp if len of bothstring is 0 and string is same return 0   

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@...
https://lists.sourceforge.net/lists/listinfo/xharbour-developers
Enrico Maria Giordano | 5 May 11:58 2015
Picon

e.m.giordano@...>


Il 05/05/2015 11:56, Rafael Culik ha scritto:

> Enrico
>
> Ill commit the rest of the fix today  or tommorow night

Thank you.

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Enrico Maria Giordano | 5 May 11:33 2015
Picon

e.m.giordano@...>

2015-05-05 11:33 UTC+0200 Enrico Maria Giordano 
<e.m.giordano@...>
   * source\rdd\workarea.c
     ! fixed wrong behavior on deleted records in hb_waTransRec()

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

Gmane