19977 Commits

Author SHA1 Message Date
Aleksander Czajczynski
1fa5d5432f 2021-04-10 23:32 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* contrib/hbfbird/firebird.c
    + added optional <cCollate> as 7-th parameter of FBCREATEDB( <cDB>,
       <cUser>, <cPass> <iPageSize>, <cCharSet>, <nDialect> [,<cCollate> ] )
      Based on request and example code from Ivanil Marcelino (#240)

  * contrib/hbpgsql/tpostgre.prg
    % var assignment readability

  * ChangeLog.txt
    ! corrected wrong date in prev entry
2021-04-10 23:32:41 +02:00
Aleksander Czajczynski
b03bef938e 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
2021-04-02 20:37:13 +02:00
alcz
ac3f9e7ebf 2021-04-01 15:55 UTC-0300 Marco Aurelio V (marcoprodata/at/gmail.com) 2021-04-01 22:44:56 +02:00
Marco Aurelio
35e2d76d79 Fix refresh method 2021-04-01 16:00:25 -03:00
Aleksander Czajczynski
8a8575609a 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 23:43:52 +02:00
Viktor Szakats
ff3a726edf 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:
      https://github.com/petr-ch/hbpgsql9
      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:
        https://www.postgresql.org/docs/9.1/static/libpq-exec.html
        https://groups.google.com/d/msg/harbour-users/hXhuVzU9pHA/RrDGLIiUAwAJ

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

    + added wrapper function
      PQresultErrorField( result, nFieldCode ) -> cString
      based on:
https://groups.google.com/d/msg/harbour-users/XSvRpbzfcHc/ztSL32fYpl4J
    + 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)
         https://www.postgresql.org/docs/devel/static/libpq-connect.html

  * 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 21:26:42 +02:00
Aleksander Czajczynski
864c0e6315 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)
2021-03-31 20:39:02 +02:00
omm
d407898675 2021-01-26 18:27 UTC+0200 Oleksii Myronenko (m.oleksa ukr.net)
* src/debug/dbgtarr.prg
  * src/debug/dbgthsh.prg
    ! fixed RTE when press enter in empty array or empty hash
      https://github.com/harbour/core/pull/225
2021-01-27 18:56:18 +01:00
Phil Krylov
e0acf88485 2021-01-25 02:45 UTC+0100 Phil Krylov (phil a t newstar.rinet.ru) (#230) 2021-01-26 20:00:42 +03:00
Aleksander Czajczynski
492ae2a79b 2020-11-03 10:37 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* src/rtl/arc4.c
    * updated to the current state of glibc, versions >= 2.30 have
      no sysctl(). Should fix build issues on current Linux distros
      like Fedora 33, etc.
2020-11-03 10:38:15 +01:00
Przemysław Czerpak
3868bb539e 2020-08-19 02:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/filesys.c
    ! use _exit() instead of exit() in forked process inside hb_fsPOpen().
      I've noticed that programs linked with QT 5.9.5 does not cleanly ends
      when exit() is used probably due to atexit() procedures.
    * use EXIT_SUCCESS and EXIT_FAILURE macros

  * src/rtl/gtcrs/gtcrs.c
  * src/rtl/hbproces.c
    * use _exit() instead of exit() in forked processes when exec*() fails
    * use EXIT_SUCCESS and EXIT_FAILURE macros

  * src/rtl/gtchrmap.c
    * use 'return 0' instead of 'exit( 0 )' in commented debug code
2020-08-19 02:02:24 +02:00
Przemysław Czerpak
e5ab1e3a46 2020-06-30 18:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc.hbc
    * added default Qt5 path in Ubuntu64

  * contrib/gtqtc/gtqtc1.cpp
    + added support for horizontal wheel events
    * do not try to load image when zero length string is used as image name
      to refresh screen in HB_GTI_DISPIMAGE
2020-06-30 18:01:42 +02:00
Przemysław Czerpak
18e86e0206 2020-04-20 15:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc.hbp
    * added default Qt5 path in Ubuntu64

  * debian/compat
    * changed compatibility level from 5 to 9

  * src/rdd/workarea.c
    ! do not use casting to functions with incompatible parameters.
      Such casting does not work with some ABIs, i.e. when pascal
      calling convention is used and called function should clean
      parameters from the stack.
      This modification should also pacify warnings generated by
      recent GCC versions.
2020-04-20 15:01:57 +02:00
Przemysław Czerpak
e2ebc916a9 2020-04-19 16:32 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbct/dattime2.c
    % minor optimization

  * src/rdd/dbsql.c
    ; added somment with syntax info

  * include/inkey.ch
  * src/rtl/hbgtcore.c
    + added support for mouse wheel left and right events to base GT code
2020-04-19 16:32:11 +02:00
Przemysław Czerpak
dc8fbceefe 2020-04-19 16:00 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/dynsym.c
  * src/vm/task.c
    ! pacified warnings

  * src/vm/hashfunc.c
    ! fixed possible GPF in hb_HCopy() and hb_HMerge() functions when source
      and destinnation is the same hash array.
2020-04-19 16:00:44 +02:00
Przemysław Czerpak
b95b7abfdb 2020-03-27 15:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* ChangeLog.txt
    ! fixed the position of my last ChangeLog entry - sorry but my script
      which adds ChangeLog entry automatically was not updated for year 2020
      and added the description before last entry in 2019.
2020-03-27 15:00:15 +01:00
Przemysław Czerpak
49a289a1a3 2020-03-24 23:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* config/linux/clang.mk
    ! fixed rule for dynamic library

  * src/3rd/png/Makefile
    + added -DPNG_ARM_NEON_OPT=0 to build flags

  * contrib/3rd/sqlite3/sqlite3.c
  * contrib/3rd/sqlite3/sqlite3.diff
    ! pacified warning

  * contrib/gtwvg/gtwvgd.c
  * contrib/gtwvg/wvgwing.c
    ! fixed missing break/return in case statements - please verify it.

  * contrib/hbct/dattime3.c
    * added #define _DEFAULT_SOURCE necessay in new Linux distors

  * contrib/hblzf/3rd/liblzf/liblzf.diff
  * contrib/hblzf/3rd/liblzf/lzfP.h
    * do not use nested #define in #if statements - some C compilers do not
      support it

  * contrib/hbssl/bio.c
    ! tuned #if condition

  * contrib/hbmisc/hbeditc.c
    * simpliefied for condition and pacified warning

  * contrib/hbodbc/hbodbc.hbp
  * contrib/sddodbc/sddodbc.hbp
    + added check for iodbc library

  * utils/hbmk2/hbmk2.prg
    + added support for clang in android builds

  * include/hbdefs.h
    + added check for __BYTE_ORDER__ macro used in some new lib C
      implementations

  * include/hbapi.h
  * include/hbdefs.h
  * include/hbstack.h
  * include/hbvmpub.h
  * src/vm/classes.c
  * src/vm/dynsym.c
  * src/vm/estack.c
  * src/vm/memvars.c
    + extended the size of dynamic symbol table from 65535 to 4294967295.
      Adopting class code I decided to keep current algorithm of method indexes
      hashing with only some minor modifications. It's very fast anyhow it may
      cause noticeable (though static) quite big memory allocation for class
      definitions in applications using millions of symbols and which increase
      dynamic symbol table at runtime loading new classes dynamically form .hrb,
      .dll, .so or other dynamic libraries supported by Harbour. It's random
      and rather impossible to exploit situation in real life anyhow I cannot
      exclude it so I'd like to report it in ChangeLog. The solution is very
      simple, i.e. it's enough to use classic divide et impera algorithm using
      symbol numbers to find method definition anyhow it will be slower then
      current one and address only very seldom hypothetical situations so I
      decided to not implement it. Such static memory cost begins to be
      completely unimportant in the world of 64-bit architectures and extremely
      big memory address space.
      The modification was sponsored by TRES company.

  * src/vm/estack.c
    ! fixed __mvClear() in MT builds - due to stupid typo GetList variable
      was removed in MT programs by CLEAR MEMORY command (__mvClear())
      So far noone reported it and I've found it analyzing the code before
      increasing symbol table size.

  * contrib/hbwin/hbolesrv.c
    * updated for new size of dynamic symbol table
2020-03-24 23:34:35 +01:00
Aleksander Czajczynski
cfd6201fa9 2020-02-24 08:32 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* src/lang/l_de.c
  * src/lang/l_de_at.c
    + added German translations of error messages contributed
      by DF7BE - Wilfried Brunken. Contents have been slightly
      revised by Jan Fornoff.
2020-02-24 08:32:41 +01:00
Aleksander Czajczynski
167a03a778 2020-02-10 15:34 UTC+0100 Aleksander Czajczynski (hb fki.pl)
+ src/codepage/cpde858.c
  * src/codepage/Makefile
  * include/hbcpage.hbx
  * src/harbour.def
    + added codepage DE858, it is essentially DE850 but with EURO SIGN
      (U+20AC) at position 0xD5 instead of Turkish dotless-i (U+0131)
      Issue #201

  * src/vm/fm.c
    * OpenWatcom remaining pragmas related to 201 warning (unreachable code)
      assigned to C mode (wcc386) build only - issue #202
2020-02-10 15:33:49 +01:00
Aleksander Czajczynski
4041902a19 2020-02-05 11:25 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* src/vm/fm.c
  * src/macro/macro.y
  * src/macro/macro.yyc
    ! guarded more C++ mode only pragmas for OpenWatcom. Issue #202

  * utils/hbmk2/hbmk2.prg
    ! reverted C++ check
2020-02-05 11:25:32 +01:00
Aleksander Czajczynski
b3d5e9a70b 2020-02-05 08:08 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* config/dos/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
  * config/win/watcom.mk
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
  * utils/hbmk2/hbmk2.prg
    ! fix OpenWatcom disabled warning listings, numeric specifiers have
      different meanings in C (wcc386) and C++ mode (wpp386) compiler
      executables. "-wcd201" - not fully sure about it, is now assigned
      to C mode: "unreachable code". References issue #202.

  * ChangeLog.txt
    ! fix UTF-8 char broken by Maurizio
2020-02-05 08:08:49 +01:00
Maurizio la Cecilia
89511e9fce 2020-02-04 21:12 UTC+0100 Maurizio la Cecilia (m.lacecilia/at/gmail.com)
* contrib/hbformat/hbfmtcls.prg
    ! fixed wrong spacing between comment indicators
2020-02-04 21:13:58 +01:00
Aleksander Czajczynski
01f968c2d3 2020-02-03 13:13 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* include/hbcpage.hbx
  * src/harbour.def
    ! updated to make some dynamic linkers happy about (not that)
      recently added EE, LV languages
2020-02-03 13:13:59 +01:00
Aleksander Czajczynski
b337909ce6 2020-01-31 15:34 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* src/rtl/listbox.prg
    ! fix listbox scroll bar position calculation to not rely on
      default Cl*pper compatible division by zero error handler.
      Thanks to tarpauwatratar for the report and fix suggestion
      on the developers list.

  * contrib/hbdoc/hbdoc.prg
  * contrib/hbformat/utils/hbformat.prg
  * contrib/hbnetio/utils/hbnetio/hbnetio.prg
  * package/harbour.mft
  * package/harbour.rc
  * src/compiler/hbusage.c
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/hbtest.prg
    * bumped copyright year to 2020

  * ChangeLog.txt
    * function name typo + file case corrected
2020-01-31 15:34:40 +01:00
Aleksander Czajczynski
1257255fc3 2020-01-13 19:15 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* src/rtl/gtwin/gtwin.c
  * src/rtl/gtwvt/gtwvt.c
    ! hopefully make left ALT+[Y/Z] WM_SYSCHAR values handling aware
      of QWERTZ layout. Should fix issues with Serbian Latin and similar
      keyboards, while still retain the original fix for Greek layout.
      References:
      2016-07-04 19:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
      8465bce36b
2020-01-13 19:15:16 +01:00
Maurizio la Cecilia
709785eb18 2019-12-03 11:42 UTC+0100 Maurizio la Cecilia (m.lacecilia/at/gmail.com)
* changelog.txt
    * restored UTF-8 encoding after previous wrong commit (Sorry!!!)
2019-12-03 11:42:11 +01:00
Maurizio la Cecilia
5bc50fd268 2019-12-03 10:55 UTC+0100 Maurizio la Cecilia (m.lacecilia/at/gmail.com)
* contrib/hbformat/hbfmtcls.prg
    ! many fixes as suggested by Viktor Szakats and already applied to
      his 3.4 fork
      many fixes derived by usergroup threads
      (fixed formatting in comments, codeblocks, operators, etc.)
    ! fixed case of unknown function as in pull request of Niko (nicolasrod)
      https://github.com/harbour/core/pull/139
  * contrib/hbformat/utils/hbformat.prg
    * imported some enhancements from Viktor Szakats 3.4 fork:
      . use hb_leftEq(), hb_vf*() functions where possible
      . localization of message text
  * contrib/hbwin/hbwin.hbx
  * contrib/hbwin/wapi_shellapi.c
    + added the function wapi_ShellExecuteWait()
      code by Antonino Perricone changed by me to be independent of FiveWin
      https://groups.google.com/d/msg/harbour-users/w-fOOaC1M_g/K8B8jHgFCQAJ
      Syntax:
      wapi_ShellExecuteWait([<hWnd>], [<cOperation>], [<cFile>], [<cParameters>],
                            [<cWorkDirectory>], [<nShowCmd>]) ? nResult
      The function acts as wapi_ShelleExecute() but it waits for the completion
      before returning
  * src/rtl/tmenusys.prg
    * forced the menu system to not close current popup after menu action
      suggestion by Mario Wan Stadnik, see at:
      https://groups.google.com/d/topic/harbour-users/EEv1bKjci-Y/discussion
2019-12-03 10:55:07 +01:00
Maurizio la Cecilia
20f07da421 2019-09-26 18:30 UTC+0200 Maurizio la Cecilia (m.lacecilia/at/gmail.com)
* contrib/xhb/hbxml.c
    ! fixed the compliance to the element tag naming rules:
      . the element name must begin with alpha or underscore characters
      . the element name can contain also period characters
      . the closing tag can contain spaces between the name and the closing bracket
2019-09-26 23:04:29 +02:00
Aleksander Czajczynski
cb82eefb38 2019-09-11 10:16 UTC+0200 Aleksander Czajczynski (hb fki.pl)
+ src/codepage/l_ee.h
  + src/codepage/l_lv.h
    + once again, sorry! actually those files were missing from the
previous
      commit - instead of being moved - due to git kludges
2019-09-11 10:18:14 +02:00
Aleksander Czajczynski
5a7aacfc3d 2019-09-09 18:08 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* src/lang/l_ee.h -> src/codepage/l_ee.h
  * src/lang/l_lv.h -> src/codepage/l_lv.h
    ! corrected paths for include files
2019-09-09 18:10:34 +02:00
Pavel Tsarenko
77f161c8bc 2019-09-09 17:50 UTC+0200 Pavel Tsarenko (tpe2 at mail.ru)
* include/hblang.hbx
  * src/codepage/Makefile
  + src/codepage/cpee775.c
  + src/codepage/cpeewin.c
  + src/codepage/cplv775.c
  + src/codepage/cplvwin.c
  * src/lang/Makefile
  + src/lang/l_ee.c
  + src/lang/l_ee.h
  + src/lang/l_lv.c
  + src/lang/l_lv.h
    + added estonian and latvian lang and codepage modules
2019-09-09 17:52:11 +02:00
Przemysław Czerpak
edbafd4e1d 2019-04-11 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/common/hbverdsp.c
  * src/nortl/nortl.c
    * use HB_MEM_STATISTICS instead of HB_MEM_USEDMAX to check if memory
      statistic module is enabled in harbour compiler -build message
2019-04-11 17:33:24 +02:00
Przemysław Czerpak
33f5c0eef4 2019-04-11 17:23 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/dbinfo.ch
  * src/rdd/dbf1.c
    + added DB_SETHEADER_EOL flag, it's used to force setting EOL marker
      when header is written. In Harbour's DBF* RDDs is set in CLOSE()
      method so just like in Clipper when DBF is closed and header has to
      be updated the EOL() marker is set.
      As side effect reducing header updates to minimal level (in such
      case DBF header is not updated after APPEND what is safe for Harbour,
      Clipper and compatible RDDs because they use file size to calculate
      number of records but some other DBF drivers may be confused)
      increase the APPEND speed and also forces EOL setting in all cases
      when CLOSE() method is called. Header updates can be reduce to minimal
      level by:
         hb_rddInfo( RDDI_SETHEADER, DB_SETHEADER_MINIMAL )

  * src/rdd/usrrdd/usrrdd.c
    ! fixed GPF in UsrRDD redirector for DROP(), EXISTS() and RENAME() methods

  * src/vm/cmdarg.c
    * use HB_MEM_STATISTICS instead of HB_MEM_USEDMAX to check if memory
      statistic module is enabled in //info message
2019-04-11 17:23:41 +02:00
alcz
7e2449c63a Merge pull request #190 from lailton/master
2019-03-27 18:27 UTC-0300 Lailton Fernando Mariano (lailton/at/harbour.com.br)
  * config/android/libs.mk
  * utils/hbmk2/hbmk2.prg
    ! fixed a link error for Android. added lib log
2019-03-27 23:11:28 +01:00
Lailton
f96fbe6cbc Error to build harbour for Android 2019-03-27 18:29:07 -03:00
Phil Krylov
f877a9918c Merge pull request #187 from harbour/revert-186-master
Revert "Error to build harbour for Android"
2019-03-26 11:40:38 +03:00
Phil Krylov
258865df08 Revert "Error to build harbour for Android" 2019-03-26 11:40:19 +03:00
Phil Krylov
c4f4924d11 Merge pull request #186 from lailton/master
Error to build harbour for Android
2019-03-26 11:22:46 +03:00
Lailton Fernando Mariano
d8b5fbf278 Error to build harbour for Android 2019-03-26 01:55:04 -03:00
Mindaugas Kavaliauskas
d633d30d8c 2019-03-19 18:12 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* config/win/global.mk
  * utils/hbmk2/hbmk2.prg
    ! moved winmm library before kernel32. This fixes Harbour compile and
      application run on Win7 and previous Windows versions if latest MinGW
      is used.
    ; Win8+ exports timeGetTime() from both kernel32.dll and winmm.dll.
      Previous windows version exports this function only from winmm.dll.
      See discussion at https://github.com/msys2/MINGW-packages/issues/4984

  * utils/hbmk2/hbmk2.prg
    ! Fixed dependency detection. Setting HB_WITH_<package>=local was ignored
      if packages were detected using pkg-config

  * contrib/hbexpat/3rd/expat/siphash.h
    ! fixed compile error for BCC <= 5.6
    * rediffed
2019-03-19 18:13:42 +02:00
Przemysław Czerpak
1b10c22cee 2019-02-11 13:51 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc1.cpp
  * src/rtl/gtxwc/gtxwc.c
    ! added /* fallthrough */ comments to pacify warnings
2019-02-11 13:51:35 +01:00
Przemysław Czerpak
d0be194907 2019-02-11 13:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* bin/commit.hb
    ! fixed UTC offset formatting

  * contrib/hbwin/win_os.prg
    * updated win_osNetRegOk() for modern MS-Windows versions:
      - on Win7 and upper set
        System\CurrentControlSet\Services\LanmanServer\Parameters\DisableLeasing
        to disable opportunistic locks.
      - do not force SMB1 to disable oplocks on Win7 and upper - new MS-Win10
        does not support SMB1 at all so this setting on the server with
        such system completely disables SMB network and forcing SMB1 on the
        client side blocks access to new Win10 servers.
        Warning! this setting is still activated on Vista so it cannot
                 connect work with new Win10 but I do not know any other
                 working method to disable oplocks in Windows Vista.
    * synced with Viktor's branch

  * contrib/xhb/hbserv.c
    ! added missing return

  * include/harbour.hbx
  * src/harbour.def
  * src/rtl/version.c
    + added new PRG functions:
         hb_osIsWin7(), hb_osIsWin8(), hb_osIsWin81(), hb_osIsWin10()

  * src/rtl/gttrm/gttrm.c
    + added autodetection for few other XTerm compatible terminals
    + respect color extension in TERM name of all XTerm compatible
      terminals

  * utils/hbmk2/hbmk2.prg
    + added support for -cpp=isoXX borowed from Viktor's branch

  * contrib/gtqtc/gtqtc.hbc
  * contrib/gtqtc/gtqtc.hbp
    * use -cpp=iso11 required for QT 5.7.0 or upper
    * extended QT detection and partial syncing with Viktor's branch
2019-02-11 13:43:40 +01:00
Aleksander Czajczynski
362b7a32de 2019-02-11 13:09 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* contrib/sddsqlt3/core.c
    ! fix DBUSEAREA() operation with SQLITE3 SDD to return empty result
      when query conditions are false or the source table has no rows.

      Previously an logically correct example caused RTE:
      DBUSEAREA(,, "SELECT * FROM existing_table WHERE FALSE")

    ! fix double-free error in sqLite3Disconnect(), looks like the
      sqlite3_close() return value checking was reverted, SQLITE_OK is 0

    * use CDP API to get UTF8 string length

    * use new sqlite3_prepare_v3() when built against
      sqlite 3.20.0 or upper (change borrowed from Viktor's 3.4 fork)

    + add HB_SQLT3_MAP_DECLARED_EMULATED define (not yet enabled by default)
      which make this SDD additionally parse SQLite column declarations.
      Right now it can make HB_FT_DATE fields working using standard
      ISO 8601 "yyyy-mm-dd" syntax. Also declarations not significant for
      SQLite, but useful in xBase-style programming - SQL numeric(len,dec)
      columns are detected in this mode and will be reflected in dbStruct().

    + add support for alternative StoD() like syntax for HB_FT_DATE columns

    + add support for ISO 8601 "YYYY-MM-DD HH:MM:SS.FFF" timestamp declared
      columns, SQLite stored strings are converted to proper HB_FT_TIMESTAMP
      fields

    + added HB_SQLT3_FIELDNAME_STRICT define, which enables shortening
      of field to "name" if SQLite returns "table.name". Such fields are
      not completly usable in xBase code - WA->T.FIELD syntax is not
      valid, but FieldPos("t.field") is OK. I think it should be default
      behaviour or some runtime setting should be introduced for convenience
      when working with specific SQL queries.

  * contrib/rddsql/sqlbase.c
  * contrib/rddsql/sqlmix.c
    + added ZAP functionality to SQLBASE and SQLMIX RDDs,
      index tags are preserved while ZAP-ing SQLMIX area.
      They are cleaned, no REINDEX is needed

    * changed to allow values of any type in "V" SIX3 / HB_FT_ANY fields
      in SQLBASE/SQLMIX RDD workareas

  * contrib/hbfoxpro/relfunc.c
    ! fix InList() FoxPro compatible function not looking at the last
      parameter passed. Thanks to Attila Szabo for the information
      posted on the developers list.
2019-02-11 13:10:05 +01:00
Przemysław Czerpak
a8a09d1dc0 2019-01-25 12:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/xhb/hbxml.c
    ! fixed memory leak
2019-01-25 12:26:32 +01:00
Aleksander Czajczynski
7cd5ffb243 2019-01-15 12:50 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* README.md
    * verified links to referenced libraries, go https where applicable.
      Thanks to Pawel Wojciechowski for the location of ADS client
library.

  * src/rtl/arc4.c
    ! fix builds on Alpine Linux and possibly others using musl libc,
      which in turn doesn't expose deprecated sysctl() anymore.

  * contrib/hbdoc/hbdoc.prg
  * contrib/hbformat/utils/hbformat.prg
  * contrib/hbnetio/utils/hbnetio/hbnetio.prg
  * package/harbour.mft
  * package/harbour.rc
  * src/compiler/hbusage.c
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/hbtest.prg
    * bumped copyright year to 2019
2019-01-15 12:50:27 +01:00
bedipritpal
c6c9937ab6 2019-01-14 12:18 UTC-0800 Pritpal Bedi (bedipritpal/at/hotmail.com)
* contrib/gtwvg/wnd.prg
    ! Fixed: x,y,w,h values if aPos and aSize parameters were
	  containing negatve values.

  * contrib/gtwvg/paint.prg
    ! Fixed to return proper color index if a compound color string
	  is supplied to wvt_GetRGBColorByString().

	; Above patch provided by Jose Quintas - many thanks.
2019-01-14 12:24:00 -08:00
bedipritpal
2f24768cdb 2019-01-11 13:52 UTC-0800 Pritpal Bedi (bedipritpal/at/hotmail.com)
* contrib/gtwvg/wnd.prg
  * contrib/gtwvg/activex.prg
    ! modified to honor plain hWnd as container window instead of an
      WvgWnd() object.
  * contrib/gtwvg/gtwvgd.c
    + added - HB_GTI_VIEWPORTHEIGHT and HB_GTI_VIEWPORTWIDTH handelling.
    ! Pacified some warnings reported by BCC-720.
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgcuig.c
    ! Pacified some warnings reported by BCC-720.
2019-01-11 14:02:42 -08:00
Maurizio la Cecilia
4c35339898 2018-12-31 15:32 UTC+0100 Maurizio la Cecilia (m.lacecilia/at/gmail.com)
* contrib/hbssl/hbssl.hbc
    * made compliant also for Windows static builds
  * ChangeLog.txt
    * restored UTF-8 encoding after previous wrong commit (Sorry!!!)
2018-12-31 15:32:57 +01:00
Maurizio la Cecilia
039fb78b46 2018-12-29 19:36 UTC+0100 Maurizio la Cecilia (m.lacecilia/at/gmail.com)
* contrib/hbssl/hbssl.hbp
    * added import libraries to link with OpenSSL current version
  * contrib/hbcurl/hbcurl.hbp
    * added import libraries to link with cUrl current version
  * contrib/hbwin/wapi_winuser_1.c
  * contrib/hbwin/hbwin.hbx
    * added wapi_ShowWindow() wrapper
2018-12-29 19:36:53 +01:00
Maurizio la Cecilia
16f40faa74 2018-12-17 12:00 UTC+0100 Maurizio la Cecilia (m.lacecilia/at/gmail.com)
* contrib/xhb/hbxml.c
    ! fixed the lacking of correct settings of previous node in 
      mxml_node_insert_before(), that was causing the omitting 
      of the inserted nodes in saves and searches.
2018-12-17 12:33:04 +01:00