Commit Graph

156 Commits

Author SHA1 Message Date
Przemysław Czerpak
46d64612b5 2013-08-22 19:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbct/getsecrt.prg
    ! applied Clipper compatibility fix to GetSecret() by Pavel Tsarenko

  * src/common/hbdate.c
    * removed explicit _BSD_SOURCE definition - it was confusing our
      code used to detect localtime_r() support and is not necessary
      if we do not use extended fields of tm structure

  * src/rtl/mtran.c
    * updated to show strict Clipper compatible behavior - Clipper
      ignores 3-rd cSoftCR parameter if 2-nd one cHardCR is not given
      (strict compatibility is covered by HB_CLP_STRICT macro and
      disabled by default - undocumented feature which may confuse
      users)
    % minor optimization
2013-08-22 19:06:06 +02:00
Przemysław Czerpak
df9d3b3bce 2013-08-20 17:32 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc1.cpp
    * accept META key as CTRL key in MacOSX builds.
      This QT Meta key is marked as "control" on Apple keyboards so
      this seems to be less confusing. Anyhow I'm not regular MacOSX
      user so if someone thinks it's bad idea then please inform me.
      "command" key is mapped by QT as CTRL key by default.
    ! disabled Qt::WA_InputMethodEnabled in default builds.
      I disabled it because it was breaking support for national characters
      in few European countries, f.e. Polish characters with ALT in MacOSX.
      Qt::WA_InputMethodEnabled is used for some Asian languages but I have
      no idea if it was working with GTQTC so far and if it's really
      necessary and usable. I'm waiting for information from people who
      lives in countries where it's used. Just let me know if you need
      GTQTC compiled with this window attribute.
2013-08-20 17:32:26 +02:00
Przemysław Czerpak
57fec24a78 2013-08-14 18:36 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc1.cpp
    ! fixed missing HB_GTI_FONTA_NOSTRETCH in setting range
2013-08-14 18:36:37 +02:00
Przemysław Czerpak
42f22be280 2013-08-14 18:10 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc.hbp
    * do not use system QT directories in android builds

  * include/hbgtinfo.ch
  * contrib/gtqtc/gtqtc1.cpp
    + added new font attributte HB_GTI_FONTA_NOSTRETCH
      It disables font stretching in some GTs like QTC.
      On some platforms (i.e. MacOSX) font stretching
      does not work correctly (at least in my tests) so
      if someone wants to use GTQTC on MACs then I suggest
      to set:
         hb_gtInfo( HB_GTI_FONTATTRIBUTE, ;
               hb_bitOr( HB_GTI_FONTATTRIBUTE ), HB_GTI_FONTA_NOSTRETCH )
    ! do not use QPainter::RasterOp_SourceXorDestination to display
      cursor and selection in MacOSX builds.
      RasterOp operations are not supported in MacOSX.
2013-08-14 18:10:21 +02:00
Przemysław Czerpak
e8c7f2067d 2013-07-18 02:24 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbdate.h
  * src/common/hbdate.c
    + added new C functions:
         double hb_timeLocalToUTC( double dTimeStamp );
         long hb_timeStampUTCOffset( int iYear, int iMonth, int iDay,
                                     int iHour, int iMinutes, int iSeconds );
    ; warning: some C RTLs may not correctly detect Summer time for all past
               dates in few countries.

  * include/harbour.hbx
  * src/rtl/dateshb.c
    + added new PRG function:
         hb_TSToUTC( <tsLocal> ) -> <tsUTC>
    + added support for optional timestamp parameter in hb_UTCOffset()
      function, current syntax is:
         hb_UTCOffset( [ <tsLocal> ] ) -> <nSeconds>

  * contrib/hbtip/hbtip.hbx
  * contrib/hbtip/utils.c
    + added new PRG function:
         tip_FileNameMimeType( <cFileName> ) -> <cMimeType>
      It's a wrapper to old C function s_findFileMimeType()
      TODO: replace few independent mimetype functions by single one.
    ! fixed tip_FileMimeType() to not call hb_fsClose() or any other FS
      function with wrong handler.
    ! fixed tip_TimeStamp() using hb_timeStampUTCOffset() instead of
      hb_timeUTCOffset() to correctly calculate UTC offset for dates
      different then current one.
    ! decode time passed as numeric second() value in 2-nd parameter of
      tip_TimeStamp() only when the 1-st one contains pure date value.
2013-07-18 02:24:58 +02:00
Przemysław Czerpak
fa0cdfcd5d 2013-07-08 12:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbct/ctwfunc.c
    ! extract box frame string passed to WBOX() using BOX CP

  * src/vm/procaddr.c
    ! added hb_extIsNil() to hb_vmProcAddress() - it fixes PCODE DLLs
      using [HB_]ISNIL() macro and linked with hbmaindllp library or
      other wrapper using hb_vmProcAddress()

  * src/vm/codebloc.c
    - removed old comment which was never true in real HVM MT model

  * ChangeLog.txt
    ! typo: tanks -> thanks ;)
2013-07-08 12:54:43 +02:00
Przemysław Czerpak
96e7b0159c 2013-06-21 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc.h
  * contrib/gtqtc/gtqtc1.cpp
    * replaced harbour oriented code with dedicated QT solution
      for XWindow synchronization and clipboard selection.

  * doc/xhb-diff.txt
    * updated section MULTI THREAD SUPPORT to make it more clear
      for users and added information about SETKEY() and GTs.
2013-06-21 14:58:59 +02:00
Przemysław Czerpak
adfcf7ad04 2013-06-17 17:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbgtinfo.ch
    + added new hb_gtInfo() action: HB_GTI_RESIZESTEP
      It enables/disables window resize progression.

  * contrib/gtqtc/gtqtc.h
  * contrib/gtqtc/gtqtc1.cpp
    + added optional code to enable XLib MT mode by XInitThreads()
    + added support for HB_GTI_RESIZESTEP and disabled window resize
      progression in default settings - with some XWindow managers
      it may cause bad side effects.
    * do not center window in SETMODE() if console window dimensions
      (rows and cols) are not changed.

  * contrib/hbhpdf/3rd/libhpdf/hpdfimac.c
    * modified isAligned() to not generate warnings on platforms were
      'unsigned long' is not large enough to hold pointer (Win64).
      It should pacify warnings reported by Maurizio.

  * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif
    * rediffed with:
         hbmk2 ../../../../bin/3rdpatch.hb -rediff
2013-06-17 17:02:31 +02:00
Pritpal Bedi
0b3e4b6cde 2013-06-12 00:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgcore.c
* contrib/gtwvg/wvgcuig.c
! Fixed to compile for 64 bits, reported by Maurizio, thanks.
2013-06-12 00:30:55 -07:00
Przemysław Czerpak
d55d57c622 2013-06-10 16:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtwvt/gtwvt.c
    * removed not longer user K_Ctrl[] array

  * contrib/gtqtc/gtqtc1.cpp
    ! fixed MT protection to work with recursive calls
      (such call can appear after ALT+ENTER)

  * doc/xhb-diff.txt
    * updated "HASH ARRAYS" paragraph

  * config/lang2po.hb
  * contrib/hbamf/amfdec.c
  * contrib/hbamf/amfenc.c
  * contrib/hbexpat/tests/tohash.prg
  * contrib/hbmxml/core.c
  * contrib/hbnetio/utils/hbnetio/hbnetio.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.hb
  * contrib/hbwin/hbolesrv.c
  * contrib/hbwin/tests/olesrv1.prg
  * contrib/hbwin/tests/olesrv2.prg
  * contrib/make.hb
  * contrib/xhb/xhbhasha.c
  * src/rtl/hbdoc.prg
  * src/rtl/hbini.prg
  * src/rtl/hbjson.c
  * tests/big5_gen.prg
  * tests/uc16_gen.prg
  * utils/hbmk2/hbmk2.prg
    * removed keeporder setting - now it's default for newly
      created hash arrays

  * contrib/gtwvg/gtwvg.hbx
    * added missing functions
2013-06-10 16:59:13 +02:00
Pritpal Bedi
208734b18e 2013-06-06 01:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbtip/client.prg
! Fixed: to test if a connection is available actually or not
before sending other info. This fixes a RTE when a SSL over
HTTP request was made and internet access was not available.

* contrib/hbtip/httpcli.prg
+ Added: METHOD Head() for HEAD verb of HTTP interface.

METHOD SetConnectionPersistent()
This does not send "Connection: close" header entry.
Useful in cases where many requests are required to
be submitted under one session. :close() may be
called to close the connection explicitly.

METHOD IsConnectionAlive()
It allows the application to test connection's state
and facilitates to take alternate action.
2013-06-06 02:07:49 -07:00
Pritpal Bedi
f779685e1a 2013-06-05 23:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgcore.c
+ Added: function WVT_DRAWPICTUREEX
WVT_LOADPICTUREFROMRESOURCEEX

* contrib/gtwvg/wvgcuig.c
+ Added: function WVG_PICTUREEX

* contrib/gtwvg/wvgwin.c
+ Added: function WVG_FORCEWINDOWTOTOP
2013-06-05 23:48:43 -07:00
Przemysław Czerpak
622d041bf0 2013-06-05 19:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc1.cpp
    ! added workaround for AltGR and German keyboard
2013-06-05 19:15:42 +02:00
Przemysław Czerpak
2a22103f05 2013-06-05 15:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/hashes.c
    ! remove index when natural order is disabled by
         hb_hKeepOrder( hVal, .f. )
    ! do not update index when item is deleted and hash array
      is marked to be resorted
    % few minor optimizations

  * contrib/sddoci/sddoci.hbc
    * use ocilib as library name in Linux builds.
    ; I do not know on which platforms ocilib[wma] is used but it's
      possible that this modification should be done also for other
      platforms not only for Linux.
2013-06-05 15:54:01 +02:00
Przemysław Czerpak
8b963cf79d 2013-06-04 14:20 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc1.cpp
    * added workaround for missing MT synchronization in QT for XLIB
      QT was designed to use screen widgets only in main thread so
      it's only workaround which helps but I cannot guaranti

  * contrib/hbmzip/mzip.c
    * workaround for wrong st_mtime type in struct stat on android

  * src/rtl/hbsocket.c
    * do not check if IPPROTO_IP is defined, on some platforms like
      android it's only enum type. Warning if it exploits some problems
      on some seldom used platforms/compilers then please report it.

  * src/vm/hvm.c
    * minor

  * package/mpkg_ver.sh
    * do not use bash extensions

  * package/harbour-wce.spec.in
  * package/harbour-win.spec.in
  * package/harbour.spec
  * package/mpkg_rpm.sh
  * package/mpkg_rpm_wce.sh
  * package/mpkg_rpm_win.sh
    * removed bash from dependencies list
2013-06-04 14:20:50 +02:00
Przemysław Czerpak
c27bb280a0 2013-05-29 08:53 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/hashes.c
    % changed sorting algorithm for hash arrays which keeps item order.
    % do not resort hash arrays when KEEPORDER flag is cleared but use
      existing internal index to create new order.
    * changed the behavior of hb_hSort() function. Now for hash arrays
      which keep item order it changes internal item pair position sorting
      them. The sort order depends on binary and case sensitivity hash
      array flags.

  * src/vm/hvm.c
    ! for literal hash array with repeated keys store the last item
      with the given key instead of the first one. It restores
      previous behavior.

  * contrib/rddads/rddads.hbx
    + added AdsSetIndexDirection()

  * contrib/rddads/adsfunc.c
    ! fixed formatting of AdsSetIndexDirection()
2013-05-29 08:53:45 +02:00
Mindaugas Kavaliauskas
c082b1b1f4 2013-05-22 14:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/sddpg/core.c
    ! added missing parentheses in last commit
2013-05-22 14:18:11 +03:00
Mindaugas Kavaliauskas
880d9c4a30 2013-05-22 13:29 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* /contrib/sddpg/core.c
    + enhanced connection parameters support. Now it is possible to connect
      to PostgreSQL server using:
      1) URI string
        RDDINFO(RDDI_CONNECT, {"POSTGRESQL", "postgresql://host"})
      2) Key=value parameter pairs
        RDDINFO(RDDI_CONNECT, {"POSTGRESQL", "host=localhost port=5432"})
      3) separate parameters. Support for port, options, tty is added
        RDDINFO(RDDI_CONNECT, {"POSTGRESQL", "host", "user", "passwd", "db",
                "port", "options", "tty"})
    ; Please, test
2013-05-22 13:29:06 +03:00
Antonio Carlos Pantaglione
014c80ffbb 2013-05-21 07:55 UTC-0300 Antonio Carlos Pantaglione (toninho/at/fwi.com.br)
* contrib/rddads/adsfunc.c
    + Enable function ADSSETINDEXDIRECTION only for ADS 9.0 or newer
    % small optmizations in ADSSETINDEXDIRECTION
2013-05-21 07:43:23 -03:00
Jean Lefebvre (Mafact)
bc103ee815 2013-05-17 14:20 UTC+0200 Jfl mafact (jfl/at/mafact.com)
2013-05-17 14:20 UTC+0200 Jfl mafact (jfl/at/mafact.com)
* contrib/rddads/adsfunc.c
+ Adding new function ADSSETINDEXDIRECTION
2013-05-17 14:27:01 +02:00
Tamas TEVESZ
01c8134981 2013-05-17 02:57 UTC+0200 Tamas TEVESZ (ice extreme.hu)
* contrib/3rd/sqlite3/sqlite3.c
  * contrib/3rd/sqlite3/sqlite3.dif
  * contrib/3rd/sqlite3/sqlite3.h
  * contrib/3rd/sqlite3/sqlite3.hbp
    * Update to SQLite 3.7.16.2
    ! Correct fix for previous issue: re-enable SQLite for Minix,
      disable WAL extension only.
2013-05-17 02:59:47 +02:00
Tamas TEVESZ
4469d28b70 2013-05-16 22:34 UTC+0200 Tamas TEVESZ (ice extreme.hu)
* contrib/3rd/sqlite3/sqlite3.hbp
    * Disable on Minix (no MAP_SHARED which is needed by SQLite WAL);
      (Hopefully a temporary measure.)
  * src/rtl/filesys.c
    ! Disable hb_fsPipeUnblock() on Minix;
      makes hb_processRun() work. Thanks to Przemek for the idea.
2013-05-16 22:39:24 +02:00
Jean Lefebvre (Mafact)
6d3f954534 +2013-05-16 17:00 UTC+0200 Jfl mafact (jfl/at/mafact.com)
2013-05-16 17:00 UTC+0200 Jfl mafact (jfl/at/mafact.com)
* contrib/rddads/adsfunc.c
! Adding 2nd param to function ADSCOPYTABLECONTENT to allow filtering
like in ADSCOPYTABLE
2013-05-16 17:10:07 +02:00
Jean Lefebvre (Mafact)
41ba17d1c8 Revert "Adsfunc.c ADSCOPYTABLECONTENT adding 2nd optional param"
This reverts commit fda8c0b459.
2013-05-16 16:57:09 +02:00
Jean Lefebvre (Mafact)
fda8c0b459 Adsfunc.c ADSCOPYTABLECONTENT adding 2nd optional param
Adsfunc.c ADSCOPYTABLECONTENT
adding 2nd optional param to allows the choice of filtering when copying
table
2013-05-16 16:53:45 +02:00
Przemysław Czerpak
237d20b0a4 2013-05-13 13:24 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbct/ctwin.c
    ! fixed typo in recent commit
2013-05-13 13:24:39 +02:00
Przemysław Czerpak
1062ed644b 2013-05-10 08:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbgtinfo.ch
    + added HB_GTI_REDRAWMAX
      It sets maximum number of unchanged neighboring chars in redrawn
      line. It may help to optimize screen updates in some GTs.

  * include/hbgtcore.h
  * src/rtl/hbgtcore.c
  * contrib/hbct/ctwin.c
    + respect HB_GTI_REDRAWMAX in default REDRAWDIFF() GT methods.

  * contrib/gtqtc/gtqtc1.cpp
    ! added protection against font resizing for degenerated console
      window size.
    % set HB_GTI_REDRAWMAX to 1

  * src/rtl/gtwvt/gtwvt.c
    ! translate screen base mouse wheel cords to window based ones.
    % set HB_GTI_REDRAWMAX to 1

  * src/rtl/gttrm/gttrm.c
    % set HB_GTI_REDRAWMAX to 8

  * src/rtl/gtwin/gtwin.c
    % set HB_GTI_REDRAWMAX to 4
2013-05-10 08:28:56 +02:00
Przemysław Czerpak
79539c96c2 2013-05-08 09:57 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc1.cpp
    * minor: removed {}

  * src/rtl/gtwin/gtwin.c
    * reenabled code to get/set palette in GTWIN
    ! fixed console window resizing when palette is set
    ! do not change default console palette at application startup.
      It's Clipper compatible behavior which allows to inherit colors
      set by some initialization program executed before or by some
      parent processes which control console environment, i.e. other
      Harbour GTWIN applications.
    % reset palette on exit only if it was changed.
    + return predefined MS-Windows console palette also in systems where
      GetConsoleScreenBufferInfoEx() is not available.

  * src/rtl/gtwvt/gtwvt.c
    ! use predefined BLACK color for building box character bitmaps
      instead of palette color[ 0 ] because user can redefine palette.
2013-05-08 09:57:51 +02:00
Przemysław Czerpak
4598de103d 2013-04-30 13:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc.hbc
    ! added QtWidgets library to all QT5 builds
2013-04-30 13:43:48 +02:00
Przemysław Czerpak
a9fa499d0c 2013-04-30 09:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc.hbc
    ! updated for QT5 MS-Windows and OS2 builds - only windows build tested
2013-04-30 09:49:01 +02:00
Przemysław Czerpak
06f3c048a6 2013-04-30 08:56 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbct/ctwin.c
    ! added protection against GPF when reverted coordinates are used
      in WOPEN()
2013-04-30 08:56:57 +02:00
Przemysław Czerpak
c7639b17ab 2013-04-30 02:53 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc1.cpp
    ! reverted HB_GTI_DISPIMAGE cords
    ! keep maximized and fullscreen internal flags synced with QT window
    ! return HB_TRUE from SETMODE() method.
    ! updated font selection for better size approximation
    ! accept window size reported by QT in fullscreen and maximized modes
    ! set size increment steeps separately for ROWS and FONT resize modes
    ! respect resize step setting minimum window size - it fixes infinite
      resize loop in some WM
    % strip repeated HB_K_RESIZE keys

  * README.md
  * contrib/gtqtc/gtqtc.hbc
  * contrib/gtqtc/hbmk2_qtmoc.hb
    * synced with Viktor's patches for QT
    ; Pritpal, please verify if it works with QT5
2013-04-30 02:53:16 +02:00
Pritpal Bedi
3cbab2da86 2013-04-29 12:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtqtc/gtqtc.hbc
* contrib/gtqtc/hbmk2_qtmoc.hb
+ Prepared to be compiled also with Qt version 5.0 onwards.
2013-04-29 12:55:02 -07:00
Przemysław Czerpak
628ca90377 2013-04-26 14:31 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
+ contrib/xhb/xhbinkey.ch
  + contrib/xhb/xhbkey.c
  * contrib/xhb/xhb.hbp
  * contrib/xhb/xhb.hbx
    + added support for xHarbour compatible extended Inkey() key codes
      This functionality works with GTs which can operate on Harbour
      extended key codes which are translated at runtime to xHarbour
      extended keys (HB_EXT_INKEY).
    + added new PRG function:
         xhb_Inkey( [ <nDelay> ] [ , <nKeyMask> ] ) -> <nKey>
      which works like Inkey() but returns xHarbour extended key codes.
    + added new PRG function:
         xhb_KeyTrans( <nExtKey> ) -> <nXhbKey>
      which translates Harbour extended key code to xHarbour one.

  * include/hbapigt.h
  * src/rtl/inkeyapi.c
    + added new C function:
         int hb_inkeyKeyVal( int iKey );
      It extract key/character code from Harbour extended key code

  * include/harbour.hbx
  * src/rtl/inkey.c
    + added new PRG function:
         hb_keyVal( <nExtKey> ) -> <nKeyVal> | <nCharVal>
2013-04-26 14:31:33 +02:00
Przemysław Czerpak
d0be588b48 2013-04-26 12:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/xhb/xhb.hbc
  * contrib/xhb/xhb.hbp
    ! protect hbwin.hbc with {allwin} macro
2013-04-26 12:07:34 +02:00
Przemysław Czerpak
fdca8bda3d 2013-04-25 19:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbct/ctwin.c
    ! use standard key codes in extended ALERT() GTCTW method
2013-04-25 19:40:38 +02:00
Przemysław Czerpak
3f9d9d99c1 2013-04-24 23:58 UTC+0200 Przemysław Czerpak (druzus/at/poczta.onet.pl)
- contrib/gtqtc/gtqtc.cpp
  + contrib/gtqtc/gtqtc1.cpp
  * contrib/gtqtc/gtqtc.hbp
    * renamed file gtqtc.cpp -> gtqtc1.cpp
      It fixes dynamic library creation by HBMK2 which tires to link
      gtqtc.o file twice adding second copy indirectly for gtqtc.hbx
2013-04-24 23:57:47 +02:00
Mindaugas Kavaliauskas
997921b7bd Merge branch 'master' of https://github.com/harbour/core
Conflicts:
	ChangeLog.txt
2013-04-24 16:32:50 +03:00
Mindaugas Kavaliauskas
e0b93c7cac 2013-04-24 16:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/ads1.c
    + run error on invalid SQL query, ex.,
      DBUSEAREA(,, "SELECT * FOM syntax_error")
    * changed ADS error description to be much more informative
2013-04-24 16:17:05 +03:00
Przemysław Czerpak
f22713469b 2013-04-24 12:22 UTC+0200 Przemysław Czerpak (druzus/at/poczta.onet.pl)
+ contrib/gtqtc/gtqtc.cpp
  + contrib/gtqtc/gtqtc.h
  + contrib/gtqtc/gtqtc.hbc
  + contrib/gtqtc/gtqtc.hbp
  + contrib/gtqtc/gtqtc.hbx
  + contrib/gtqtc/hbmk2_qtmoc.hb
  * contrib/hbplist.txt
    + added new QT based GT driver: GTQTC.
      This implementation is slightly based on GTQTC created by
      Pritpal Bedi - many thanks.
      Now GTQTC supports nearly all GT features existing in all other GTs,
      i.e.
         fullscreen mode:
               hb_gtInfo( HB_GTI_ISFULLSCREEN, <lFullScreen> )
         automatic fullscreen switch after ALT+ENTER:
               hb_gtInfo( HB_GTI_ALTENTER, <lEnable> )
         maximized mode controlled by user:
               hb_gtInfo( HB_GTI_MAXIMIZED, <lEnable> )
         clipboard selection with SHIFT + MouseLeftButton:
               hb_gtInfo( HB_GTI_SELECTCOPY, <lEnable> )
         terminal window resizing:
               hb_gtInfo( HB_GTI_RESIZABLE, <lCanResize> )
         both resize modes
            a) change number of rowas and columns:
                  hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_ROWS )
            b) keep number of rows and clomuns and update font size
                  hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_FONT )
         blocking ALT+F4 and [X] window buttons:
               hb_gtInfo( HB_GTI_CLOSABLE, <lCanClose> )
         all cursor shapes and setting cursor blink rate:
               hb_gtInfo( HB_GTI_CURSORBLINKRATE, <nMilliSec> )
         window positioning in screen pixels:
               hb_gtInfo( HB_GTI_SETPOS_XY, <aNewPosXY> ) -> <aPrevPosXY>
         mouse positioning in screen pixels:
               hb_gtInfo( HB_GTI_MOUSEPOS_XY ) -> <aPosXY>
         full control on font behavior with:
            a) box characters shown as predefined internally pixmapos:
                  hb_gtinfo( HB_GTI_FONTATTRIBUTE,
                             hb_bitOr( HB_GTI_FONTA_DRAWBOX,
                                       hb_gtinfo( HB_GTI_FONTATTRIBUTE ) ) )
            b) forcing fixed size font metric:
                  hb_gtinfo( HB_GTI_FONTATTRIBUTE,
                             hb_bitOr( HB_GTI_FONTA_FIXMETRIC,
                                       hb_gtinfo( HB_GTI_FONTATTRIBUTE ) ) )
            c) independent character cell clearing:
                  hb_gtinfo( HB_GTI_FONTATTRIBUTE,
                             hb_bitOr( HB_GTI_FONTA_CLRBKG,
                                       hb_gtinfo( HB_GTI_FONTATTRIBUTE ) ) )
            d) displaying control characters ( ASC( x ) < 32 ) in row form:
                  hb_gtinfo( HB_GTI_FONTATTRIBUTE,
                             hb_bitOr( HB_GTI_FONTA_CTRLCHARS,
                                       hb_gtinfo( HB_GTI_FONTATTRIBUTE ) ) )
         and many others like palette settings (HB_GTI_PALETTE), displaying
         pictures (HB_GTI_DISPIMAGE), keyboard modifiers (HB_GTI_KBDSHIFTS),
         clipboard reading and setting (HB_GTI_CLIPBOARDDATA) or icon and
         window title settings (HB_GTI_ICONFILE, HB_GTI_WINTITLE)

      GTQTC also supports GFX graphic primitives (hb_gfx*()) and it operates
      on new Harbour extended mouse and keyboard key codes.
      The console window is shown when some user outputs appears so
      it can be linked with GT GUI application been invisible by default.

      It's pure QT code so now is the most portable Harbour GT driver which
      can be used on platforms where we haven't native any GT so far or
      current GTs like GTXWC do not have native appearance.
      Because it uses only high level GUI interface then it should be quite
      easy to convert it to other GUI libraries, i.e. GTK.
2013-04-24 12:22:18 +02:00
Mindaugas Kavaliauskas
22603b95c2 2013-04-23 14:00 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/adsfunc.c
    * ADSREGCALLBACK() implemented using AdsRegisterCallbackFunction() instead
      of obsolete AdsRegisterProgressCallback(). This enables draw progress
      bar for both indexing and SQL query processing.
    ; implementation unchanged for old ADS versions (<= 6.1)
2013-04-23 13:59:25 +03:00
Mindaugas Kavaliauskas
ed6250363e 2013-04-19 16:55 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/adsx.c
    ! fixed adsSeek() if seek string length is less than index key length

  * harbour/src/compiler/hbopt.c
    ! improved BEGIN/END SEQUENCE support in code trace optimizer. Problem
      of false positive warning 'Variable is assigned but not used' is solved
      in cases like:
        FUNC TEST()
          LOCAL n := 1
          BEGIN SEQUENCE
            IF n == 1
              n := 2
              BREAK
            ENDIF
            n := 3
          END SEQUENCE
          RETURN n
    ; TODO: test for more complicated cases like nested BEGIN/END SEQUENCE

  * harbour/src/rdd/dbf1.c
    * added :GetValue() GPF protection if area is "half opened" (ex.,
      enumerating field values in error handler on area open failure).
      More general solution for "half opened" workareas is welcome
2013-04-19 16:56:30 +03:00
Mindaugas Kavaliauskas
9da92928eb 2013-04-19 16:35 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/hbct/token1.c
  * contrib/hbpgsql/rddcopy.c
    * removed unused assignment
2013-04-19 16:36:20 +03:00
Przemysław Czerpak
877ddb4a06 2013-04-18 14:58 UTC+0200 Przemysław Czerpak (druzus/at/poczta.onet.pl)
* .gitignore
    ! removed executable file permission

  * package/mpkg_src.sh
    ! added executable file permission

  * contrib/hbct/screen2.c
    % use STR API for parameters instead of using local conversions

  * contrib/hbct/token1.c
    % small simplification

  * contrib/hbnetio/netiosrv.c
    + respect timeout parameter also in send operation

  * contrib/make.hb
    ! moved project name normalization and directory verification to
      AddProject() function. It fixes HB_BUILD_ADDONS envvar functionality.

  * doc/xhb-diff.txt
    + added new paragraph: DECLARATION AND INITIALIZATION OF VARIABLES

  * src/rtl/hbcom.c
    * added 3-rd parameter to TIOCEXCL and TIOCNXCL ioctl() codes
      to pacify valgrind warnings

  * include/hbexpra.c
    ! fixed compilation with HB_USE_ENUM_FUNCTIONS macro

  * include/hbapicls.h
  * include/hbcompdf.h
  * include/hbexpra.c
  * src/compiler/harbour.y
  * src/vm/classes.c
    + added support for :__enumIsFirst() iterator message. It's opposite
      to recently added :__enumIsLast()
    + added support for overloading :__enumIsFirst() and :__enumIsLast()
      functionality in custom FOR EACH implementations

  * include/hbcompdf.h
  * include/hbexpra.c
  * src/compiler/harbour.y
    + added support for reverting :__enumIsFirst() and :__enumIsLast()
      messages in descendant FOR EACH loops. It's disabled now by 2 #if 0
      but I think it should be discussed. Should we keep it enable it?
      The answer is not trivial when FOR EACH is used to iterate some
      objects. In general such names are confusing.

  * src/compiler/harbour.yyc
  * src/compiler/harbour.yyh
    * regenerated using bison 2.5

  * tests/foreach.prg
    + added :__enumIsFirst() to test code

  * tests/foreach2.prg
    ! typo in comment
2013-04-18 14:58:40 +02:00
Mindaugas Kavaliauskas
6ad5bb4355 2013-04-18 00:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/sddfb/core.c
    * removed unused assignment
2013-04-18 00:11:21 +03:00
Viktor Szakats
850e776bad 2013-04-16 01:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
    ! updated dir where .po files are looked for
      for util .hbl creation

  * contrib/make.hb
    ! fixed to convert dirseps and missing trim before
      existence check of hbplist.txt items
2013-04-16 01:26:16 +02:00
Viktor Szakats
73f7a086bf Conflicts:
ChangeLog.txt
2013-04-10 03:27:51 +02:00
Pritpal Bedi
b36992e0b6 GTWVG - Loading of Resource of Type IMAGE_ICON
2013-04-09 17:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgwin.c
! Fixed: Loading of resource of type icon if pulled from a resource
file.
2013-04-09 17:50:25 -07:00
Pritpal Bedi
ee4172b3b8 2013-04-09 17:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
2013-04-09 17:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/pushbut.prg
! Fixed: regression of copy/paste - WVT_IMAGE_ICON => WVG_IMAGE_BITMAP.
2013-04-09 17:17:14 -07:00
Viktor Szakats
02b98ce15f 2013-04-10 01:10 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbhpdf/3rd/libhpdf/hpdfimap.c
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif
    + patched to build with libpng 1.6 w/o warning
      identical to this upstream patch:
         f1817baea4

  * bin/commit.hb
    ! fixed to add shebang to newly created commit hook

  * bin/check.hb
    ! exclude maskimag.png from processing
    ! typo in png processor name
    ! minor syntax clarification

  * contrib/hbhpdf/tests/files/maskimag.png
    ! restored original version, as any optimized version will
      cause libharu to GPF (visible when running the demo)
2013-04-10 01:13:54 +02:00