A new Harbour 3.2 Version R(2103312143) is available for Download

279 views
Skip to first unread message

Mel Smith

unread,
Apr 1, 2021, 12:21:14 PM4/1/21
to Harbour Users
HI All:
   Harbour 3.2 has been updated to version r(2103312143) by Aleksander Czajczynski.
   Please see a fragment of the log below.
   It is available for download at whosaway.com
-Mel Smith

***** fragment of changelog.txt *****
2021-03-31 23:43 UTC+0200 Aleksander Czajczynski (hb fki.pl)
  * contrib/hbpgsql/postgres.c
    ! guard PQEXECPARAMS() wrapper from generating unrecoverable error
      on empty parameter array "hb_xgrab requested to allocate zero bytes"

  * contrib/hbpgsql/tpostgre.prg
    ! corrected buggy parameter order in TPQserver():Query()

    * make TPQQuery, TPQRow classes more aware of NIL to NULL conversions,
      added support for inserting and updating empty xBase date value
      should fix issue #234, oRow:FieldPut( <n>, NIL ) also looks good

2021-03-31 21:26 UTC+0200 Aleksander Czajczynski (hb fki.pl)
  * contrib/hbpgsql/hbpgsql.hbx
  * contrib/hbpgsql/postgres.c
  * contrib/hbpgsql/postgres.ch
    + add most new wrappers from this repository of Petr Chornyj:
      Version guards have been added and "params" functions reworked
      to accept hashes instead of two arrays. Other minor corrections
      to fit into the contrib env.
    + add PQsslAttribute()
    * some existing functions were modified to make the parameter
      check (and fail if wrong) even if the underlying API is not
      available, instead of silently returning a default value.
    ; all of the above was build-tested only and some features
      require at least postgresql 8, 9 or 9.1

    + add PQlibVersion() -> <nVersion> (returns 0 for pre-9.1 postresql versions)
      Ref: https://github.com/harbour/core/pull/127/ by @VerchenkoAG

    + PQEXECPARAMS(): add 4th parameter to set <resultFormat>
      Refs:

    + add PQresStatus( <nNum> ) -> <cString>

    + added wrapper function
      PQresultErrorField( result, nFieldCode ) -> cString
    + added PG_DIAG_* constants

    + added pg_encoding_to_char() wrapper to convert numeric
      encoding ID to string

    ! fixed to use hb_fopen() instead of fopen()

    + TPQserver():New(): all parameters are now optional
    ! TPQserver():New(): fixed to escape connect parameter values
    + TPQserver():New(): added 7th optional hash parameter to pass custom
      connection parameters (e.g. SSL)

  * contrib/hbpgsql/tests/test.prg
    + use pg_encoding_to_char(), plus some more feedback regarding encodings

  * contrib/hbpgsql/tests/dbf2pg.prg
    + use VF IO
    + support more source field types

  ; synced with Viktor's 3.4 branch at https://github.com/vszakats/hb
    2017-02-15 15:14 UTC Viktor Szakats (vszakats users.noreply.github.com)
    2016-09-05 18:55 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
    2016-09-05 10:43 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
    2016-09-02 01:58 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
    2016-06-20 22:50 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
    2015-07-19 11:56 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
    2015-04-06 18:39 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
    2015-03-31 23:31 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
    2014-11-29 02:47 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com)
    2014-07-08 13:21 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
    2014-02-11 18:18 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com)
    ; tons of cleanups in this library, many thanks

2021-03-31 20:38 UTC+0200 Aleksander Czajczynski (hb fki.pl)
  * contrib/hbpgsql/hbpgsql.h
  * contrib/hbpgsql/postgres.c
  * contrib/hbpgsql/tpostgre.prg
    + recognize NAMEOID columns
    + added :SetNull( <lSet> ) to TPQServer class
      and a param to :Query( <cQuery>, [ <lNull> ] )
      TPQQuery class constructor is also extended.

      With :SetNull( .T. ) retains NULL information as NIL. Standard
      behaviour of hbpgsql library, until now, was to substitute NULL
      as blank xBase value - thus :SetNull( .F. ) is the default setting.

  ; changes imported from https://github.com/alcz/harbour
    2015-05-07 22:24 UTC+0200 Aleksander Czajczynski (hb fki.pl)
**********

Mel Smith

unread,
Apr 2, 2021, 10:27:17 AM4/2/21
to Harbour Users
Hi All: 
   Another update to Harbour 3.2 is available for download. Version 4(2104011855)
    This is from Marco Aurelio V and the changelog.txt fragment is shown below.
   
Get it from whosaway.com

-Mel Smith

***** fragment of changelog.txt *****
2021-04-01 15:55 UTC-0300 Marco Aurelio V (marcoprodata/at/gmail.com)
  * contrib/hbpgsql/tpostgre.prg
    ! corrected buggy in refresh method when execute commands to change
      struct
**********

Mel Smith

unread,
Apr 2, 2021, 2:38:17 PM4/2/21
to Harbour Users
Hi All:
   Typo: 4(2104011855) --> r(2104011855)
-Mel

Mel Smith

unread,
Apr 3, 2021, 11:55:47 PM4/3/21
to Harbour Users
Hi All:
   Aleksander Czajczynski has reverted Harbour 3.2 to a previous version.
   The new version is r(2103311837)
   This is available for download at www.whosaway.com
   A fragment of changelog.txt is shown below.

-Mel Smith

***** Fragment of changelog.txt *****
2021-03-31 20:37 UTC+0200 Aleksander Czajczynski (hb fki.pl)
  * contrib/hbpgsql/tpostgre.prg
    ! reverted previous commit 2021-04-01 15:55 UTC-0300 as invalid
      together with a little cleanup plus another minor cleanup
**********
Reply all
Reply to author
Forward
0 new messages