2010-01-20 13:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbwin/Makefile
  + contrib/hbwin/wapi_wingdi.c
    + Added experimental WAPI wrappers for Windows GDI printing
      functions also found in win_prn1.c.
      This is partially to avoid the legacy interface which
      is a combination of WIN_* functions and Harbour class.
      Which may seem to make thing more complicated at first,
      but IME it provides a much cleaner interface, as you
      only have to adapt to MSDN docs.
      It's also a test bed for structure passing in WAPI
      situations. I've used hashes as the best looking
      solution, but even this has some things left to solve
      (like handling string types and returning values).
      Anyway it's a food for thought.

  * contrib/hbwin/hbwin.ch
    + Added WIN_DMORIENT_* constants.

  * contrib/hbwin/win_prn1.c
    ! Fixed to not accept raw pointers where HDC or HPEN is
      expected. I've added this feature last year, without
      making special mention of it in ChangeLog, so it was
      a double-mistake.
    * Minor cleanups (hb_retnl() vs hb_retni())
    % Optimization in WIN_SETBKMODE().
This commit is contained in:
Viktor Szakats
2010-01-20 12:53:44 +00:00
parent 10ccef2ce0
commit fdac3b6883
5 changed files with 463 additions and 9 deletions

View File

@@ -17,10 +17,37 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-01-20 13:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
+ contrib/hbwin/wapi_wingdi.c
+ Added experimental WAPI wrappers for Windows GDI printing
functions also found in win_prn1.c.
This is partially to avoid the legacy interface which
is a combination of WIN_* functions and Harbour class.
Which may seem to make thing more complicated at first,
but IME it provides a much cleaner interface, as you
only have to adapt to MSDN docs.
It's also a test bed for structure passing in WAPI
situations. I've used hashes as the best looking
solution, but even this has some things left to solve
(like handling string types and returning values).
Anyway it's a food for thought.
* contrib/hbwin/hbwin.ch
+ Added WIN_DMORIENT_* constants.
* contrib/hbwin/win_prn1.c
! Fixed to not accept raw pointers where HDC or HPEN is
expected. I've added this feature last year, without
making special mention of it in ChangeLog, so it was
a double-mistake.
* Minor cleanups (hb_retnl() vs hb_retni())
% Optimization in WIN_SETBKMODE().
2010-01-20 14:28 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbcairo/pdf.c
* harbour/contrib/hbcairo/png.c
* updated harbour level functions to be available, but return error
* updated harbour level functions to be available, but return error
result, if it is not supported by some version of cairo library
* harbour/contrib/hbcairo/image.c
* comment typo
@@ -32,13 +59,13 @@
* contrib/hbqt/qtgui/THBQSyntaxHighlighter.prg
* contrib/hbqt/qth/HBQSyntaxHighLighter.qth
% Improved syntax highlighting.
* contrib/hbide/hbide.prg
* contrib/hbide/ideactions.prg
* contrib/hbide/ideeditor.prg
* contrib/hbide/ideobject.prg
* contrib/hbide/idethemes.prg
! Struggling to get some artifacts fixed, mainly at a time
! Struggling to get some artifacts fixed, mainly at a time
when enter is pressed for new line.
+ Implemented F7 <Insert Separator> == "/*" + replicate( "-", 70 ) + "*/".