hmg-4 Changelog
Moderator: Rathinagiri
Re: hmg-4 Changelog
2011-09-16 23:40 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
* samples/everything/demo_1.prg
* removed some local var, fixed some code, now run
* hmg.ch
* removed some <oObj :=>
Cheers
* samples/everything/demo_1.prg
* removed some local var, fixed some code, now run
* hmg.ch
* removed some <oObj :=>
Cheers
Luigi from Italy
www.L3W.it
www.L3W.it
Re: hmg-4 Changelog
Hi friends,
some fixing.
some fixing.
Code: Select all
2011-09-18 17:10 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
* source/basic.prg
+ added a reference to the Window object for HMG3 compatibility when
HMG3 compatibility is required
* source/control.prg
* chaged to Qt isEnabled() and setDisabled() method to have compatibility
with HMG3 readonly functions
* source/hmgparent.prg
* added SETGET option to Parent() method fur future use
* source/misc.prg
* added HMG3() function to setup HMG3 compatibility required
! source/virtualwindow.prg
! reintroduced code to force event loop end... Need more study
! source/window.prg
! fixed problem when window type is not defined
! buildapp.bat
! usage of -es2 optionLuigi from Italy
www.L3W.it
www.L3W.it
Re: hmg-4 Changelog
Hi !
Something broke the code...
- agenda
- animatebox
- everything
- etc.
Are showing "message not found" errors.
Something broke the code...
- agenda
- animatebox
- everything
- etc.
Are showing "message not found" errors.
[[]] Mauricio Ventura Faria
Re: hmg-4 Changelog
Just tried, no error... can you please be more detailed ?concentra wrote:Hi !
Something broke the code...
- agenda
- animatebox
- everything
- etc.
Are showing "message not found" errors.
Re: hmg-4 Changelog
Code: Select all
2011-09-19 22:10 UTC+0100 Francesco Perillo ( fperillo at gmail.com )
* source/virtualwindow.prg
* temporarily removed PROTECTED to aKeyboardEvents, waiting to rewrite
some code
* source/virtualgrid.prg
* change order of istruction to create cell editor in order to avoid
the widget flashing on screen
* source/tab.prg
* onChange events are now invoked only if widget has been fully
activated. It is a first step.
* source/misc.prg
* better implementation of get/setProperty with a check on number
of parameters. Now the program stops if an unsupported number
of parameters is used.
* source/label.prg
* remove setting setAutoFillBackground to all labels, this created
problems for labels on tab pages
* source/button.prg
* if picture file name has no "." and doesn't start with ":" then
we add a ":" in front of it, probably it is from a Qt resource
file in a hmg3 ported source code
* source/bitmap.prg
* if picture file name is not valid, then try to add ":" in front.
probably the name is from .rc hmg3 resource file ported to hmg4
* added method Create() to load picture only when we already have
set all informations about dimensions of the label containing
the picture
* include/i_keybd.ch
* force define of keycodes
* include/hmg3.ch
* reverted some optimizations - other should be reverted
* include/hmg.ch
* force include of i_keybd.ch for ON KEY commands
* added a couple of missing one-liner
* typos
Re: hmg-4 Changelog
Code: Select all
2011-09-19 23:23 UTC+0100 Francesco Perillo ( fperillo at gmail.com )
* source/basic.prg
* modified methods row(), col(), width() and height() to
always return real values read from objects and not from
data member
* include/hmg.ch (missing from previous commi)
* force include of i_keybd.ch for ON KEY commands
* added a couple of missing one-liner
* typos
Re: hmg-4 Changelog
Hello Francesco,
I see this error in last version when build "libhmg.a"
Many thanks to all developers for the excellent work hmg.4
Best Regards,
Rossine.
I see this error in last version when build "libhmg.a"
Code: Select all
include\i_keybd.ch(276) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_BassBoost
include\i_keybd.ch(277) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_BassUp
include\i_keybd.ch(278) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_BassDown
include\i_keybd.ch(279) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_TrebleUp
include\i_keybd.ch(280) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_TrebleDown
include\i_keybd.ch(281) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaPlay
include\i_keybd.ch(282) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaStop
include\i_keybd.ch(283) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaPrevious
include\i_keybd.ch(284) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaNext
include\i_keybd.ch(285) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaRecord
include\i_keybd.ch(286) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_HomePage
include\i_keybd.ch(287) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_Favorites
include\i_keybd.ch(288) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_Search
...
Best Regards,
Rossine.
Re: hmg-4 Changelog
Ok.... in i_keybd.ch there was an
#ifdef __PULL_FROM_QT__
to define keyscan codes only when that define is set...
I switched to #ifndef but I will revert this evening. You can change this yourself in the meanwhile
#ifdef __PULL_FROM_QT__
to define keyscan codes only when that define is set...
I switched to #ifndef but I will revert this evening. You can change this yourself in the meanwhile
Rossine wrote:Hello Francesco,
I see this error in last version when build "libhmg.a"
Many thanks to all developers for the excellent work hmg.4Code: Select all
include\i_keybd.ch(276) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_BassBoost include\i_keybd.ch(277) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_BassUp include\i_keybd.ch(278) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_BassDown include\i_keybd.ch(279) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_TrebleUp include\i_keybd.ch(280) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_TrebleDown include\i_keybd.ch(281) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaPlay include\i_keybd.ch(282) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaStop include\i_keybd.ch(283) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaPrevious include\i_keybd.ch(284) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaNext include\i_keybd.ch(285) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaRecord include\i_keybd.ch(286) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_HomePage include\i_keybd.ch(287) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_Favorites include\i_keybd.ch(288) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_Search ...![]()
Best Regards,
Rossine.
Re: hmg-4 Changelog
Hi,
I changed this and work´s now
Best Regads,
Rossine.
I changed this and work´s now
Code: Select all
//#ifndef __PULL_FROM_QT__
# Ifdef __PULL_FROM_QT__
Rossine.
mrduck wrote:Ok.... in i_keybd.ch there was an
#ifdef __PULL_FROM_QT__
to define keyscan codes only when that define is set...
I switched to #ifndef but I will revert this evening. You can change this yourself in the meanwhile
Rossine wrote:Hello Francesco,
I see this error in last version when build "libhmg.a"
Many thanks to all developers for the excellent work hmg.4Code: Select all
include\i_keybd.ch(276) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_BassBoost include\i_keybd.ch(277) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_BassUp include\i_keybd.ch(278) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_BassDown include\i_keybd.ch(279) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_TrebleUp include\i_keybd.ch(280) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_TrebleDown include\i_keybd.ch(281) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaPlay include\i_keybd.ch(282) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaStop include\i_keybd.ch(283) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaPrevious include\i_keybd.ch(284) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaNext include\i_keybd.ch(285) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_MediaRecord include\i_keybd.ch(286) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_HomePage include\i_keybd.ch(287) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_Favorites include\i_keybd.ch(288) Warning W0002 Redefinition or duplicate definition of #define Qt_Key_Search ...![]()
Best Regards,
Rossine.
Re: hmg-4 Changelog
Ok.mrduck wrote:Just tried, no error... can you please be more detailed ?concentra wrote:Hi !
Something broke the code...
- agenda
- animatebox
- everything
- etc.
Are showing "message not found" errors.
At first, the -es2 in buildapp.bat is preventing samples EXEs generation since the are a lot of warnings in the code.
After updating to the latest SVN and generating lib and samples, samples\agenda\agenda.exe shows an error at startup:
Code: Select all
Error BASE/1004 Message not found: WINDOW:GINDICE
Called from __ERRRT_SBASE(0)
Called from WINDOW:ERROR(0)
Called from (b)HBOBJECT(0)
Called from WINDOW:MSGNOTFOUND(0)
Called from WINDOW:GINDICE(0)
Called from Main(107)
Code: Select all
Error BASE/1004 Message not found: WINDOW:OANIMATEBOX
Called from __ERRRT_SBASE(0)
Called from WINDOW:ERROR(0)
Called from (b)HBOBJECT(0)
Called from WINDOW:MSGNOTFOUND(0)
Called from WINDOW:OANIMATEBOX(0)
Called from (b)Main(24)
Called from WINDOW:ACTIVATE
Called from Main(71)
And, for example, samples/agoodstart/demo_1.exe runs Ok.
[[]] Mauricio Ventura Faria