2012-11-13 04:50 UTC+0100 Viktor Szakats (harbour syenar.net)

* contrib/hbgd/gdwrp.c
    * cleaned conversion between Harbour logical to/from int flags
    * deleted repetitive comments
    ! fixed to check for proper GC collected pointer type, not
      just any pointer. This may avoid some GPFs and memory
      corruption and report them as RTE
    ! GDIMAGESTRINGFTEX() to allow float numbers for ptsize parameter
    ! GDIMAGEFILLEDPOLYGON(), GDIMAGEOPENPOLYGON(), GDIMAGEPOLYGON()
      fixed to not leave uninitialized trash in point coordinates
      if wrongly formed parameters is passed
    ! GDIMAGEFILLEDPOLYGON(): fixed buffer overrun if number of
      points exceeded 50
    ; further 700 LOC and 12KB source size reduction

  * ChangeLog
    * added LOC reduction to prev (-2800 lines)
This commit is contained in:
Viktor Szakats
2012-11-13 04:00:41 +00:00
parent 5f78084e6f
commit 40e82ed1c0
2 changed files with 518 additions and 1167 deletions

View File

@@ -16,6 +16,24 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-11-13 04:50 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbgd/gdwrp.c
* cleaned conversion between Harbour logical to/from int flags
* deleted repetitive comments
! fixed to check for proper GC collected pointer type, not
just any pointer. This may avoid some GPFs and memory
corruption and report them as RTE
! GDIMAGESTRINGFTEX() to allow float numbers for ptsize parameter
! GDIMAGEFILLEDPOLYGON(), GDIMAGEOPENPOLYGON(), GDIMAGEPOLYGON()
fixed to not leave uninitialized trash in point coordinates
if wrongly formed parameters is passed
! GDIMAGEFILLEDPOLYGON(): fixed buffer overrun if number of
points exceeded 50
; further 700 LOC and 12KB source size reduction
* ChangeLog
* added LOC reduction to prev (-2800 lines)
2012-11-13 03:03 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbfimage/fi_winfu.c
* missed to include it in one of the recent entries:
@@ -51,8 +69,10 @@
% using hb_parnintdef()
! fixed typo in RTE message
% using hb_default() in gd.prg
% number of LOC, source size (-46KB) and generated binary
% number of LOC (-2800), source size (-46KB) and generated binary
code greatly reduced by the above.
; NOTE: error behavior might have slightly changed due to
these changes.
* src/rtl/tclass.prg
* src/rtl/tobject.prg

File diff suppressed because it is too large Load Diff