2011-12-24 01:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* doc/pragma.txt
! typos
+ added some new ones
This commit is contained in:
@@ -16,6 +16,11 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2011-12-24 01:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* doc/pragma.txt
|
||||
! typos
|
||||
+ added some new ones
|
||||
|
||||
2011-12-23 14:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbqt/tests/demoqt.prg
|
||||
! Demonstrated: how hovering effect on a pushbutton can be achieved.
|
||||
@@ -23,25 +28,25 @@
|
||||
|
||||
2011-12-23 13:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbqt/qtcore/hbqt_misc.prg
|
||||
+ Embedded: oQt:hbSetEventBlock( QEvent_Paint, bBlock )
|
||||
=>
|
||||
oQt:connect( QEvent_Paint, bBlock )
|
||||
NOTE: the difference is that in all other events only one
|
||||
parameter is passed to bBlock, i.e., an object of
|
||||
type relevant QEvent, whereas, for paintEvent two
|
||||
parameters are passed, first as usual qPaintEvent,
|
||||
+ Embedded: oQt:hbSetEventBlock( QEvent_Paint, bBlock )
|
||||
=>
|
||||
oQt:connect( QEvent_Paint, bBlock )
|
||||
NOTE: the difference is that in all other events only one
|
||||
parameter is passed to bBlock, i.e., an object of
|
||||
type relevant QEvent, whereas, for paintEvent two
|
||||
parameters are passed, first as usual qPaintEvent,
|
||||
the other qPainter.
|
||||
|
||||
* contrib/hbqt/tests/demoqt.prg
|
||||
! Replaced: oBtn:hbSetEventBlock( QEvent_Paint, bBlock )
|
||||
=>
|
||||
oBtn:connect( QEvent_Paint, bBlock )
|
||||
! Replaced: oBtn:hbSetEventBlock( QEvent_Paint, bBlock )
|
||||
=>
|
||||
oBtn:connect( QEvent_Paint, bBlock )
|
||||
|
||||
2011-12-23 11:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbqt/hbmk2_qt.hbs
|
||||
! Fixed: a strategic omission where return value of a block
|
||||
was not being retrieved properly. Now newly introduced
|
||||
engine to render owner-drawn objects at the .prg level is
|
||||
! Fixed: a strategic omission where return value of a block
|
||||
was not being retrieved properly. Now newly introduced
|
||||
engine to render owner-drawn objects at the .prg level is
|
||||
working flawlessly.
|
||||
|
||||
2011-12-23 19:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
@@ -95,16 +100,16 @@
|
||||
* contrib/hbqt/tests/demoqt.prg
|
||||
+ Added: functionality to paint a PushButton via user code.
|
||||
Still looking for the how to determine state of the object,
|
||||
in this case, pushbutton, whether it is being pushed or
|
||||
in this case, pushbutton, whether it is being pushed or
|
||||
otherwise.
|
||||
|
||||
* contrib/hbqt/hbmk2_qt.hbs
|
||||
+ Implemented: engine to receive protected methods, i.e., events
|
||||
+ Implemented: engine to receive protected methods, i.e., events
|
||||
and a way to exploit them. The code needs some more make-over
|
||||
but the proof of concept is working. Lookfor hbqt/tests/demoqt.prg
|
||||
for a live example.
|
||||
for a live example.
|
||||
|
||||
NOTE: there is only a minimal need to add few keywords, rest all
|
||||
NOTE: there is only a minimal need to add few keywords, rest all
|
||||
is handelled by the engine. The next step is to synchronize
|
||||
this methodology with :connect() / :disconnect() protocol.
|
||||
|
||||
@@ -118,16 +123,16 @@
|
||||
|
||||
* contrib/hbqt/hbmk2_qt.hbs
|
||||
! Fixed: to honor QModelIndexList cast.
|
||||
+ Added: building blocks to create classes with their protected
|
||||
methods. The constructor methods are valid for only QWidget
|
||||
+ Added: building blocks to create classes with their protected
|
||||
methods. The constructor methods are valid for only QWidget
|
||||
class and this code will be replaced with real-code soon.
|
||||
Still I am looking for how to include resultant .cpp in final
|
||||
Still I am looking for how to include resultant .cpp in final
|
||||
binaries. Till then this code stays as is.
|
||||
|
||||
2011-12-20 13:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* src/rdd/usrrdd/rdds/arrayrdd.prg
|
||||
! formatting/cleanup, removed unncessary e"" string
|
||||
! replaced '='/'!=' operator on strings with ==. It's most probably
|
||||
! replaced '='/'!=' operator on strings with ==. It's most probably
|
||||
still broken, but at least now consistently so.
|
||||
|
||||
2011-12-19 17:49 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
|
||||
|
||||
@@ -32,8 +32,8 @@ To enable or disable a command or a switch you simply do:
|
||||
--------------------------------------------------------------
|
||||
* #pragma <CommandName>=On/Off #pragma /<SwitchName>+/-
|
||||
|
||||
Example: #pragma AddDebugInfo=Off /* Suppress debug info */
|
||||
#pragma /B+ /* Add debug info from here */
|
||||
Example: #pragma DebugInfo=Off /* Suppress debug info */
|
||||
#pragma /B+ /* Add debug info from here */
|
||||
|
||||
|
||||
IMPLEMENTATION
|
||||
@@ -43,16 +43,20 @@ This is the list of the supported commands and switches:
|
||||
|
||||
* Command Switch
|
||||
-----------------------------------------------
|
||||
* AUTOMEMVARS =<On/Off> /A<+/->
|
||||
* AUTOMEMVAR =<On/Off> /A<+/->
|
||||
* DEBUGINFO =<On/Off> /B<+/->
|
||||
* DYNAMICMEMVAR =<On/Off> /V<+/->
|
||||
* ENABLEWARNINGS =<On/Off> /W<+/->
|
||||
* ESCAPEDSTRINGS =<On/Off>
|
||||
* EXITSEVERITY =<nLevel> /E<nLevel>
|
||||
* FORCEMEMVARS =<On/Off> /V<+/->
|
||||
* LINEINFO =<On/Off> /L<+/->
|
||||
* LINENUMBER =<On/Off> /L<+/->
|
||||
* NOSTARTPROC =<On/Off> /N<+/->
|
||||
* PREPROCESSING =<On/Off> /P<+/->
|
||||
* SHORTCUT =<On/Off> /Z<+/->
|
||||
* TEXTHIDDEN =<On/Off>
|
||||
* TRACE =<On/Off> /P+
|
||||
* SHORTCUT =<On/Off> /Z<+/->
|
||||
* WARNINGLEVEL =<nLevel> /W<nLevel>
|
||||
* SHORTCUTTING =<On/Off> /Z<+/->
|
||||
|
||||
The switches have the same behavior as the corresponding compiler ones
|
||||
and the commands are synonyms for the switches.
|
||||
@@ -76,8 +80,8 @@ EXAMPLES
|
||||
#pragma NoStartProc=Off
|
||||
/* #pragma /N- */
|
||||
|
||||
function Test()
|
||||
return nil
|
||||
FUNCTION Test()
|
||||
RETURN NIL
|
||||
|
||||
This is the same as calling Harbour with the -n switch in the command line,
|
||||
but with the great benefit that if you forgot to pass the switch, it will
|
||||
|
||||
Reference in New Issue
Block a user