Página 1 de 1

Atualizações 11/03/2020

Enviado: 12 Mar 2020 10:06
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.

Atualizações 11/03/2020

Enviado: 12 Mar 2020 12:49
por gilbertosilverio
Ola Itamar,

Nao consegui compilar o tutorial, nem outros exemplos da esta mensagem de erro.

Atualizações 11/03/2020

Enviado: 13 Mar 2020 14:44
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.

Atualizações 11/03/2020

Enviado: 19 Mar 2020 09:36
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.

Atualizações 11/03/2020

Enviado: 19 Mar 2020 11:13
por gilbertosilverio
Ola Itamar,

Não estou testando a atual, baixei a de hoje e continua com o mesmo erro.

Atualizações 11/03/2020

Enviado: 19 Mar 2020 11:44
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...

Atualizações 11/03/2020

Enviado: 19 Mar 2020 15:15
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.

Atualizações 11/03/2020

Enviado: 30 Mar 2020 17:37
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

Atualizações 11/03/2020

Enviado: 30 Mar 2020 21:05
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.

Atualizações 11/03/2020

Enviado: 01 Abr 2020 18:44
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.