Atualizações 11/03/2020

Projeto HwGui - Biblioteca visual para Harbour/xHarbour

Moderador: Moderadores

Avatar do usuário
Itamar M. Lins Jr.
Administrador
Administrador
Mensagens: 7928
Registrado em: 30 Mai 2007 11:31
Localização: Ilheus Bahia
Curtiu: 1 vez

Atualizações 11/03/2020

Mensagem por Itamar M. Lins Jr. »

Ola!

Código: Selecionar todos

2020-03-11 15:00 UTC+0100 Wilfried Brunken DF7BE
  * samples\dev\MingW-GTK\pfad.bat (New)
  * samples\dev\MingW-GTK\Readme.txt (New)
  * samples\gtk_samples\hwmingnw.bat (New)  
  * samples\gtk_samples\sleep.c (New)
  * source\gtk\Makefile.mingw (New)  
  * source\gtk\build.bat
  * install.txt
  * source\winapi\hbrowse.prg  
  * source\gtk\hbrowse.prg
    !  
    ! Task:
    ! Cross develop environment on Windows for GTK
    ! (Develop GTK code for *NIX operating systems
    !  on a Windows 10 system)
    ! All source files contain the following warning:
    ! For normal use on Windows it is strictly recommended to build only the WinAPI
    ! edition of HWGUI and your application. The WinAPI functions are quite stable and
    ! effective.
    ! Take the GTK build only for test- and development purposes ! 
    ! Also it is strictly recommended to check the modified GTK sources
    ! on Linux or another *NIX operating system before checking in into
    ! a source repository.
    ! For details read instructions in file
    ! samples\dev\MingW-GTK\Readme.txt
    !
    ! Multi Language Support for internal HWGUI dialogs:
    ! HBROWSE:
    ! Record locking message
    ! Class docu updated
    !


2020-03-10 16:24 UTC+0100 Wilfried Brunken DF7BE
  * source\common\editor\hcedit.prg
  * source\winapi\hbrowse.prg  
  * source\gtk\hbrowse.prg
    !
    ! Ticket #32 : Use HCEDIT instead of GET in Memoedit (GTK)
    !
    ! Task started:
    ! Multi Language Support for internal HWGUI dialogs,
    ! First entry for Memo Edit dialog in BROWSE class
    ! (Needed for my App "CLLOG")
    !
    ! hcedit.prg : Changed all #ifdef __PLATFORM__UNIX
    ! to __GTK__ for platform independance, except all
    ! UTF8 items set to "#ifndef __WINDOWS__".
    ! (Linux uses UTF8 !). Exact terms will be checked
    ! later as soon as possible
    !
    ! hbrowse.prg for WinAPI and GTK:
    !  Edited with WinMerge to reduce differences for
    !  better transparency.
    !  (blanks, blank lines and lower/upper case without
    !   changing functionalaty, helps me to fix the bugs
    !   in the GTK edition), for example Iif() to iif(),
    !  "i+1" to "i + 1". 
    !
    ! TO-DO:
    ! ======
    !  Some bugs in GTK section found:
    !  (will fixed by me as soon as possible, no tickets created)
    !  - Memo field not stored back to DBF or array
    !  - HCEDIT and Memo edit has problems with code page mapping
    !    (Test with german umlaute, sharp "S" and Euro currency sign).
    !  Others:
    !  - Create new sample for demonstrating and 
    !    testing multi language support for internal HWGUI dialogs
    ! Hint:
    !  The Euro currency sign was now supported by Harbour for Codepage
    !  IBM CP858DE (look at Harbour issue #201 created by me).
Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
gilbertosilverio
Usuário Nível 3
Usuário Nível 3
Mensagens: 339
Registrado em: 18 Jan 2009 10:39
Localização: Ribeirao Pires - SP

Atualizações 11/03/2020

Mensagem por gilbertosilverio »

Ola Itamar,

Nao consegui compilar o tutorial, nem outros exemplos da esta mensagem de erro.
Anexos
t1.png
GilbertoSilverio
gilbertosilverio@gmail.com
gilbertosilverio2003@yahoo.com.br
Avatar do usuário
Itamar M. Lins Jr.
Administrador
Administrador
Mensagens: 7928
Registrado em: 30 Mai 2007 11:31
Localização: Ilheus Bahia
Curtiu: 1 vez

Atualizações 11/03/2020

Mensagem por Itamar M. Lins Jr. »

Ola!
Estou esperando ele terminar, pq ele disse que ainda não acabou as atualizações.

Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Avatar do usuário
Itamar M. Lins Jr.
Administrador
Administrador
Mensagens: 7928
Registrado em: 30 Mai 2007 11:31
Localização: Ilheus Bahia
Curtiu: 1 vez

Atualizações 11/03/2020

Mensagem por Itamar M. Lins Jr. »

Ola!
Nao consegui compilar o tutorial, nem outros exemplos da esta mensagem de erro.
Mas, vc está usando uma Hwgui velha.... Pq não avisou ?
Tem que gerar a LIB Hwgui, atualizada. Para depois tentar compilar o tutorial.

Saudações,
Itamar M. LIns Jr.
Saudações,
Itamar M. Lins Jr.
gilbertosilverio
Usuário Nível 3
Usuário Nível 3
Mensagens: 339
Registrado em: 18 Jan 2009 10:39
Localização: Ribeirao Pires - SP

Atualizações 11/03/2020

Mensagem por gilbertosilverio »

Ola Itamar,

Não estou testando a atual, baixei a de hoje e continua com o mesmo erro.
Anexos
t3.png
t2.png
t1.png
GilbertoSilverio
gilbertosilverio@gmail.com
gilbertosilverio2003@yahoo.com.br
gilbertosilverio
Usuário Nível 3
Usuário Nível 3
Mensagens: 339
Registrado em: 18 Jan 2009 10:39
Localização: Ribeirao Pires - SP

Atualizações 11/03/2020

Mensagem por gilbertosilverio »

Itamar,

O erro estão nos arquivo .HBP, hwgui.hbp, procmisc.hbp, etc, se você recriar as LIBs por ela da esse erro da imagem

Se usar o MAKEMNGW.BAT da pra compilar as LIBs o tutorial funcional.

Como sou leigo, vou sempre pelo mais fácil, que no meu caso era recriar as libs pelo HBP...
GilbertoSilverio
gilbertosilverio@gmail.com
gilbertosilverio2003@yahoo.com.br
Avatar do usuário
Itamar M. Lins Jr.
Administrador
Administrador
Mensagens: 7928
Registrado em: 30 Mai 2007 11:31
Localização: Ilheus Bahia
Curtiu: 1 vez

Atualizações 11/03/2020

Mensagem por Itamar M. Lins Jr. »

Ola!
Acho que entendi, ele adicionou hcedit.prg no hbrowse.prg(campo memo), antes não usava, era "get" normal. Tem que atualizar o hwgui.hbp
Vou abrir outro ticket para ele explicando.

Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20267
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP

Atualizações 11/03/2020

Mensagem por JoséQuintas »

Fui compilar e está com esse erro.
Pelo que vi no fonte, isso é pra LINUX.

Código: Selecionar todos

#ifndef __XHARBOUR__
#ifndef __WINDOWS__
   IF oEdit:lUtf8; RETURN hwg_KeyToUtf8( nCode ); ENDIF
#else
   IF oEdit:lUtf8; RETURN hb_utf8Chr( nCode ); ENDIF
#endif
#endif
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20267
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP

Atualizações 11/03/2020

Mensagem por JoséQuintas »

Falei que só ia mexer com gui depois....
Mas não resisti, e ia alterar os browses pra hwgui.
Agora nem pensar.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Avatar do usuário
Itamar M. Lins Jr.
Administrador
Administrador
Mensagens: 7928
Registrado em: 30 Mai 2007 11:31
Localização: Ilheus Bahia
Curtiu: 1 vez

Atualizações 11/03/2020

Mensagem por Itamar M. Lins Jr. »

Ola!
Tá ai o FIX.

Código: Selecionar todos

2020-04-01 19:48 UTC+0300 Alexander Kresin <alex@belacy.ru>
  * source\common\editor\hcedit.prg
    ! __WINDOWS__ is replaced by __PLATFORM__Windows to fix a
      hwg_keyToUtf8 issue.
Nem tô usando essas atualizações, esse rapaz "Wilfried Brunken" está mexendo em campo MEMO, exemplos e GTK/Linux, mas nada relevante.
Estou usando a de 2019 Dezembro.
Procure usar as intervenções do Alexander.

Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Responder