TGet Falla con el harbour del svn - por recientes cambios

TGet Falla con el harbour del svn - por recientes cambios

Postby carlos vargas » Tue Jan 22, 2013 7:26 pm

Antonio

hace poco baje el harbour del svn reconstrui los binarios y las librerias, y recompile mis lib con este nuevo harbour.
esto lo he hecho muchisimas veces sin problemas.

pero ahora algo ha cambiado, yo uso un tget modificado (asuntos de comodidad con los colores) por lo que la clase tget
la integro directo desde mi proyecto (esto tambien lo he hecho muchas veces sin problemas), esta fallando en el metodo initiate
la linea que indica

Super:Initiate( hDlg )

revienta con el error,
Error description: Error BASE/1003 No existe la variable: SUPER

Stack Calls
===========
Called from: source\tget.prg => TGET:INITIATE( 585 )
Called from: => __OBJSENDMSG( 0 )
Called from: .\source\function\HARBOUR.PRG => OSEND( 210 )
Called from: .\source\function\HARBOUR.PRG => ASEND( 178 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:INITIATE( 630 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 870 )
Called from: => DIALOGBOX( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 270 )


revisando que ha cambiado en harbour que pudiera provocar este error, me encuentro con esto:
2013-01-10 23:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapicls.h
* harbour/src/vm/classes.c
+ added new internal C function:
void hb_objCloneTo( PHB_ITEM pDest, PHB_ITEM pSource,
PHB_NESTED_CLONED pClonedList );
it copies object or clone it if class overloaded clone operation.
; TODO: add support for user defined class clone operation

* harbour/include/hbapiitm.h
* harbour/src/vm/itemapi.c
* changed returned type of hb_itemCloneTo() to void

* harbour/src/vm/itemapi.c
* use hb_objCloneTo() in hb_itemClone*() functions.

* harbour/src/vm/arrays.c
* use hb_objCloneTo() in array/hash clone code.

* harbour/src/vm/arrayshb.c
! fixed return values in AEVAL() and ACOPY() when array
is passed by reference.

* harbour/src/rtl/tclass.prg
* harbour/src/vm/classes.c
* declare :SUPER and :__SUPER messages as non virtual ones.
Now ::SUPER and ::__SUPER messages executed in object method
returns casting to 1-st super object of the class in which
executed method was defined.

* harbour/include/hbclass.ch
* removed xtranslations for SUPER(): - this workaround for
missing non virtual messages in some Clipper OOP implementations
was breaking valid code which tried to use real :SUPER message
and made SUPER reserved word, i.e. it was not possible to create
code like:
LOCAL super := ::parent2
? super:v1, super:v2
Now this hack is not longer necessary and :SUPER is non virtual
massage in Harbour.
INCOMPATIBLE: If someone has some code like:
SUPER():MSG()
SUPER( PARENT ):MSG()
then please change it to:
::SUPER:MSG()
::PARENT:MSG()


si uso el "viejo" :-) harbour o xharbour la cosa esta sin problemas.

salu2
carlos vargas
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1683
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby FiveWiDi » Tue Jan 22, 2013 7:54 pm

prueba

::Super:loquesea
Un Saludo
Carlos G.

FiveWin 24.02 + Harbour 3.2.0dev (r2403071241), BCC 7.7 Windows 10
FiveWiDi
 
Posts: 1060
Joined: Mon Oct 10, 2005 2:38 pm

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby carlos vargas » Tue Jan 22, 2013 9:32 pm

ya y aun no funciona.
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1683
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby carlos vargas » Thu Jan 24, 2013 2:41 am

Antonio
:-)
creo que hay que poner un poco de atención a estos cambios en el SVN, pues considero que es algo que te encontraras a la vuelta de la esquina.
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1683
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby lucasdebeltran » Wed Jan 30, 2013 11:00 am

A mi también me interesa por favor.

Veo que el Harbour de la build de Fivetech es del pasado Noviembre, ¿es correcto?.

Muchas gracias.
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
lucasdebeltran
 
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby Antonio Linares » Wed Jan 30, 2013 3:04 pm

Carlos,

Al intentar construir el Harbour actual desde el SVN obtengo este error:

Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
../bin/win/bcc/hbmk2.exe ../contrib/make.hb first

Unrecoverable error 9994: Harbour CP (FRISO) initialization failure
win-make.exe[1]: [first] Error 1 (ignored)
./bin/win/bcc/hbmk2.exe ./config/postinst.hb first

Unrecoverable error 9994: Harbour CP (FRISO) initialization failure
win-make.exe: *** [first] Error 1


Te suena como eliminar ese error ? Se te genera a ti tambien ? gracias
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby carlos vargas » Wed Jan 30, 2013 9:37 pm

estoy construyéndolo
en unos minutos te digo como me fue.

salu2
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1683
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby carlos vargas » Wed Jan 30, 2013 9:45 pm

usando bcc 6.50 y el ultimo svn, se construyo sin problemas.
no uso ninguna configuracion especial ni nada por el estilo.
simplemente uso

Win-Make

/*
* $Id: ChangeLog.txt 18805 2013-01-30 20:12:01Z vszakats $
*/

/* Read doc/howtorep.txt and use this format for entry headers:
YYYY-MM-DD HH:MM UTC[-|+]hhmm Your Full Name (your_email address)
2010-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
See copyright/license at the end of the file.
Notation (in 5th column):
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/

2013-01-30 21:08 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog
+ Added incompatible note to prev along with some analysis
and compatibility notes.

2013-01-30 20:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/codepage/cpsviso.c
! fixed codepage from ISO-8859-1 to ISO-8859-15, which
is needed to be able to represent all characters in the
current Swedish collation. Though it turns out these
offending three chars are not part of the Swedish alphabet.
So here I'm finishing and letting others to fix the rest
if there is any.
[INCOMPATIBLE]
Reindex if you use "SVISO" CP. The three non-Swedish
chars are now represented in their proper location,
previously they were represented by their Windows-1252
codepoints. So another solution is if you switch to
"SVWIN" which was formerly identical to "SVISO", the
latter being wrong.
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1683
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby Antonio Linares » Thu Jan 31, 2013 10:24 am

Carlos,

Tras borrar el contenido de la carpeta de Harbour, descargar y reconstruir, ahora si se construyó bien usando BCC 582 :-)

Voy a probar los GETs como comentas
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby Antonio Linares » Thu Jan 31, 2013 10:37 am

Carlos,

Hay que recompilar todos los PRGs. De momento estoy probando añadiendo este translate:

#xtranslate Super: => Super():
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby Antonio Linares » Thu Jan 31, 2013 10:43 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby carlos vargas » Thu Jan 31, 2013 2:01 pm

Antonio, solamente es agregar ese ?

#xtranslate Super: => Super():

donde lo estas agregando en fivewin.ch?

salu2
carlos vargas
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1683
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby Antonio Linares » Thu Jan 31, 2013 5:48 pm

Carlos,

Ese translate esta mal ya que finalmente se llama a una función Super()

A ver si encontramos una solución que sirva para la actual versión de Harbour y anteriores, y nos permita usar el mismo código fuente
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby Antonio Linares » Fri Feb 01, 2013 10:28 pm

Este es el cambio al que tenemos que intentar encontrar una solución compatible:

http://harbour-project.svn.sourceforge.net/viewvc/harbour-project/trunk/harbour/include/hbclass.ch?r1=18716&r2=18756
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TGet Falla con el harbour del svn - por recientes cambios

Postby lucasdebeltran » Sat Feb 02, 2013 12:30 pm

Antonio,

¿Por qué han hecho dicho cambio en Harbour?.

¿No podrías decirles que lo dejaran como antes?. Estos cambios rompen un montón la compatibilidad y no deberían ser tan radicales ni arbitrarios la verdad.
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
lucasdebeltran
 
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am

Next

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 73 guests