Commit Graph

11152 Commits

Author SHA1 Message Date
Pritpal Bedi
b109875df7 2009-06-28 19:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/xbp.ch
  * harbour/contrib/hbxbp/xbp3state.prg
  * harbour/contrib/hbxbp/xbpcheckbox.prg
  * harbour/contrib/hbxbp/xbpcombobox.prg
  * harbour/contrib/hbxbp/xbpdialog.prg
  * harbour/contrib/hbxbp/xbpmenubar.prg
  * harbour/contrib/hbxbp/xbpmle.prg
  * harbour/contrib/hbxbp/xbpradiobutton.prg
  * harbour/contrib/hbxbp/xbpscrollbar.prg
  * harbour/contrib/hbxbp/xbpsle.prg
  * harbour/contrib/hbxbp/xbpspinbutton.prg
  * harbour/contrib/hbxbp/xbpstatusbar.prg
  * harbour/contrib/hbxbp/xbptabpage.prg
  * harbour/contrib/hbxbp/xbptreeview.prg
  * harbour/contrib/hbxbp/xbpwindow.prg
    + Added :setPointer() method to change the cursor shape for a widget.
    ! Advanced implementation of Presentation Parameters. Now the 
      base structure is almost like Xbase++ one. About to 
      generate a Style Sheet based on PresParametrs array.
    ! Code tweaked more organized.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Demonstrated the use of Cursor Shapes.
2009-06-29 02:46:22 +00:00
Pritpal Bedi
c3cbb5ea91 2009-06-28 19:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/qt45.qtp
  * harbour/contrib/hbqt/Makefile_gen
  + harbour/contrib/hbqt/hbqt_qcursor.cpp
  + harbour/contrib/hbqt/qth/QCursor.qth
  + harbour/contrib/hbqt/TQCursor.prg
    + Added one more class.
2009-06-29 02:26:24 +00:00
Viktor Szakats
cf388a651e 2009-06-29 01:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fix to prev fix.
2009-06-28 23:33:21 +00:00
Viktor Szakats
e94ee04f9a 2009-06-29 01:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed Harbour warning on non-linux/win/dos platforms.
2009-06-28 23:26:57 +00:00
Pritpal Bedi
5657c744d0 2009-06-28 13:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/tests/demoqt.prg
    - Deleted UiDebug() calls.
2009-06-28 21:15:45 +00:00
Pritpal Bedi
0c3660c661 2009-06-28 13:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/tests/demoqt.prg
    - Deleted UiDebug() calls.
2009-06-28 20:40:35 +00:00
Pritpal Bedi
f434454907 2009-06-28 13:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/tests/demoqt.prg
    - Deleted C OutputDebugString() function.
2009-06-28 20:16:53 +00:00
Pritpal Bedi
b9ecc078ca 2009-06-28 09:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/xbp.ch
  * harbour/contrib/hbxbp/xbpdialog.prg
  * harbour/contrib/hbxbp/xbpmle.prg
  * harbour/contrib/hbxbp/xbpwindow.prg
    + Implemented fonts management.
         :setFontCompoundName( "10.Tohama italics" )
      Started XBP_PP_* implementation.
      NOTE: This implementation is based on QT's powerful mechanism
            of CSS inspired Cascading Style Sheets. It effectively
            means that look-and-feel of the requested parameters are
            guaranted to be rendered irrespective of the platform.
            This also means that a "true" inheritance is achieved 
            in the widgets. For example, if you set the color and 
            font of a top-level dialog, all children of it will also 
            inherit it. Xbase++ also documents this behavior but 
            also notify that some of the widgets do not respond to 
            this request, i.e., XbpPushButton(), XbpTabPage(), etc.
            But in Harbour-QT-Xbase++ it is possible, and, by 
            all means desirable.

            Anyway, I am more interested what the group think. It will 
            be heartening if some real-time Xbase++ users participate
            on the subject. I do not want to cook my own food.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    ! Demonstrated to use fonts and inheritance. Please play.
2009-06-28 16:32:03 +00:00
Viktor Szakats
6c4f7ba5d1 2009-06-28 18:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qth/QFtp.qth
  * contrib/hbqt/qth/QHttp.qth
  * contrib/hbqt/hbqt_qhttp.cpp
  * contrib/hbqt/hbqt_qftp.cpp
    % Little optimization.
2009-06-28 16:10:15 +00:00
Pritpal Bedi
0442ff2516 2009-06-28 08:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt.h
  * harbour/contrib/hbqt/hbqt_qftp.cpp
  * harbour/contrib/hbqt/hbqt_qhttp.cpp
  * harbour/contrib/hbqt/qth/QFtp.qth
  * harbour/contrib/hbqt/qth/QHttp.qth
  * harbour/contrib/hbqt/TQFtp.prg
  * harbour/contrib/hbqt/TQHttp.prg
    ! Fixed ( char * ) argument usage in QFtp and QHttp classes.
      Infact <qint64 read( char * data, qint64 length )> are written
      as is in the header. I could not find a solution to 
      auto generate it because of <length> argument which could 
      never be known to first parameter.
2009-06-28 15:50:14 +00:00
Pritpal Bedi
e3e5548564 2009-06-27 20:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/Makefile
  * harbour/contrib/hbxbp/xbp.ch
  * harbour/contrib/hbxbp/appevent.ch
  * harbour/contrib/hbxbp/xbpdialog.prg
  * harbour/contrib/hbxbp/xbpgeneric.prg
  * harbour/contrib/hbxbp/xbpsle.prg
  * harbour/contrib/hbxbp/xbptreeview.prg
  * harbour/contrib/hbxbp/xbpwindow.prg
    ! Rewrote the event management system exactly like 
      Xbase++. Now it is possible to sub-class methods and callback slots.

  + harbour/contrib/hbxbp/xbpappevent.prg
    + Added PRG level events conversion mechanism.
      I wanted it to be C code for speed purposes, anyhow, 
      as agreed we do not want any C code in hbxbp.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    ! Few experiments. You may viaualize some artifacts.

    /*  NOTE:  I am struggling to receive events from another 
               thread of Harbour code in the event filter.
               It seems default event dispatched can be 
               invoked only from main thread. Anybody to rescue ?
    */
2009-06-28 03:59:59 +00:00
Petr Chornyj
7b5883f6ca 2009-06-27 23:50 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hbsqlit3/hbsqlit3.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prn2.c
  * contrib/rddads/adsfunc.c
  * source/pp/pplib.c
  * source/rdd/dbcmd.c
  * source/rdd/hbsix/sxfname.c
  * source/rdd/hbsix/sxord.c
  * source/rdd/hbsix/sxtable.c
  * source/rdd/hbsix/sxutil.c
  * source/rdd/nulsys/nulsys.c
  * source/rtl/colorind.c
  * source/rtl/datec.c
  * source/rtl/descend.c
  * source/rtl/gete.c
  * source/rtl/hardcr.c
  * source/rtl/hbhex.c
  * source/rtl/hbinet.c
  * source/rtl/hbstrsh.c
  * source/rtl/hbtoken.c
  * source/rtl/hbzlib.c
  * source/rtl/left.c
  * source/rtl/memofile.c
  * source/rtl/mlcfunc.c
  * source/rtl/mouse53.c
  * source/rtl/mtran.c
  * source/rtl/natmsg.c
  * source/rtl/oemansi.c
  * source/rtl/padc.c
  * source/rtl/padl.c
  * source/rtl/padr.c
  * source/rtl/philes.c
  * source/rtl/replic.c
  * source/rtl/right.c
  * source/rtl/space.c
  * source/rtl/str.c
  * source/rtl/strtran.c
  * source/rtl/strzero.c
  * source/rtl/stuff.c
  * source/rtl/substr.c
  * source/rtl/trim.c
  * source/vm/cmdarg.c
  * source/vm/dynlibhb.c
  * source/vm/proc.c
    * Replace hb_retc( NULL ) with hb_retc_null()
  * include/hbgtinfo.ch
    + added HB_GTI_KBD_LSHIFT, HB_GTI_KBD_RSHIFT
            HB_GTI_KBD_LCTRL, HB_GTI_KBD_RCTRL,
            HB_GTI_KBD_LALT, HB_GTI_KBD_RALT
  * source/rtl/gtkbstat.c
    * Changed functions hb_gt_winapi_*KbdState()
       Now we can to get the state of the SHIFT, CTRL, or ALT keys
       with distinguishing between left and right.
  * source/rtl/gtwin/gtwin.c
    * Changed hb_gt_win_getKbdState
    ; QUESTION: why gtwin.c don't use a function hb_gt_winapi_getKbdState
                from rtl/gtkbstat.c?
2009-06-27 21:11:07 +00:00
Pritpal Bedi
926a6ccd18 2009-06-27 13:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/qt45.qtp

  * harbour/contrib/hbqt/Makefile_gen

  * harbour/contrib/hbqt/hbqt.ch
  * harbour/contrib/hbqt/hbqt.h

  + harbour/contrib/hbqt/hbqt_qdragenterevent.cpp
  + harbour/contrib/hbqt/hbqt_qdragleaveevent.cpp
  + harbour/contrib/hbqt/hbqt_qdragmoveevent.cpp
  + harbour/contrib/hbqt/hbqt_qdropevent.cpp
  + harbour/contrib/hbqt/hbqt_qmoveevent.cpp
  + harbour/contrib/hbqt/hbqt_qresizeevent.cpp
  + harbour/contrib/hbqt/hbqt_qwheelevent.cpp

  + harbour/contrib/hbqt/TQDragEnterEvent.prg
  + harbour/contrib/hbqt/TQDragLeaveEvent.prg
  + harbour/contrib/hbqt/TQDragMoveEvent.prg
  + harbour/contrib/hbqt/TQDropEvent.prg
  + harbour/contrib/hbqt/TQMoveEvent.prg
  + harbour/contrib/hbqt/TQResizeEvent.prg
  + harbour/contrib/hbqt/TQWheelEvent.prg

  + harbour/contrib/hbqt/qth/QDragEnterEvent.qth
  + harbour/contrib/hbqt/qth/QDragLeaveEvent.qth
  + harbour/contrib/hbqt/qth/QDragMoveEvent.qth
  + harbour/contrib/hbqt/qth/QDropEvent.qth
  + harbour/contrib/hbqt/qth/QMoveEvent.qth
  + harbour/contrib/hbqt/qth/QResizeEvent.qth
  + harbour/contrib/hbqt/qth/QWheelEvent.qth
    + Added few more classes.

  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_qftp.cpp
  * harbour/contrib/hbqt/hbqt_qhttp.cpp
    ! Result of #define hbqt_par_char( n )  ( ( char* ) hb_parcx( n ) )
      NOTE: QT sources are generated dynamically so please do not make 
            changes to them directly. I do not know if above casting 
            will work or not but it is just to pacify the warnings.
            Alternatively we can comment out the relevant functions in 
            /qth/QHttp.qth and /qth/QFtp.qth. I kept it like this 
            as if someone could test if it works.
2009-06-27 20:39:09 +00:00
Viktor Szakats
a9197e7223 2009-06-27 09:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapifs.h
  * source/rtl/filebuf.c
  * source/rtl/filesys.c
    * Changed file I/O buffer parameters from
      '( [const] BYTE * )' to '( [const] void * )'

  * utils/hbmk2/hbmk2.prg
    + Added ${hb_curdir} macro support.
    + Added ${hb_first} macro support (will return first source name
      specced on cmdline)
    + Added support for 'sources=' line in .hbc files. This
      will accept .prg, .c/.cpp, .po/.pot, object and resources.
      For resources, also wildcards are supported. Files with
      no extension will be considered .prg.
      This also replaces former 'pos=' line.
      This can be useful to put some central sources into all
      project without using a lib (or when a lib isn't an option
      for some reason).

  - man
    - Dir deleted.
2009-06-27 07:48:26 +00:00
Viktor Szakats
07104ffa29 2009-06-26 02:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
  * mpkg_gnu.bat
    + Moved copying of root doc (ChangeLog, INSTALL) files
      to postinst.bat.

  * make_gnu.bat
    ! Minor fix to not accept extra cmdline parameters when
      in full build mode.
2009-06-27 00:28:48 +00:00
Viktor Szakats
ee715bd2ab 2009-06-26 01:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.bat
    + Now make_gnu.bat will find embedded GNU Make even if it's
      started from another directory. F.e. to rebuild only
      one contrib or core lib, it's enough to go to that dir
      and type:
        ..\..\make_gnu.bat
    ! More fixes to make build work on paths containing spaces.

  * make_gnu_os2.cmd
  * make_gnu.bat
  * make_gnu.sh
  * mpkg_win.nsi
  * mpkg_gnu.bat
    * Formatted header comment.
    + Added reference to INSTALL.
2009-06-26 23:07:38 +00:00
Viktor Szakats
f4bd5a2e66 2009-06-25 21:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/justify.c
    ! Fixed typo in one of recent const patches.
2009-06-26 19:52:20 +00:00
Viktor Szakats
1188dd32c6 2009-06-25 20:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/common/hbhash.c
    ! Fixed error in prev commit.
      (strange that MSVC didn't complain)

  * mpkg_win.nsi
    + Added comment that this file shouldn't be used directly.
2009-06-26 18:13:27 +00:00
Viktor Szakats
df6e36e45a 2009-06-25 18:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbhash.h
  * contrib/hbcurl/hbcurl.c
  * source/common/hbhash.c
  * source/compiler/hbident.c
    + Added const to low-level hash support functions.
    ; NOTE: Przemek, please check me.

  * source/rtl/Makefile
    * Formatting.
2009-06-26 16:42:25 +00:00
Viktor Szakats
826c3efa81 2009-06-25 17:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to not add dirs empty after normalization to dirlists.
    + Now dirs passed through the command line or .hbm files are
      also normalized (incpath, libpath, inctrypath).

  * include/hbdate.h
  * source/rtl/console.c
  * source/rtl/philes.c
  * source/rtl/box.c
  * source/rtl/filebuf.c
  * source/rtl/inkey.c
  * source/rtl/datec.c
  * source/rtl/langapi.c
  * source/rtl/errapi.c
  * source/rtl/memofile.c
  * source/rtl/saverest.c
  * contrib/hbct/screen2.c
  * contrib/hbct/tab.c
  * contrib/hbct/dattime2.c
  * contrib/hbct/replace.c
  * contrib/hbct/remove.c
  * contrib/hbclipsm/gauge.c
  * contrib/hbmisc/dates2.c
  * examples/hbdoc/hbdfrdln.c
  * examples/hbmake/hbmakec.c
  * examples/hbsqlit2/hbsqlit2.c
    * 'const' cleanup.
    * hb_dateCMonth() retval changed to const.
    * hb_dateCDOW() retval changed to const.
2009-06-26 15:44:32 +00:00
Przemyslaw Czerpak
4b74e7dc3c 2009-06-26 17:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbrddnsx.h
  * harbour/include/hbrddcdx.h
  * harbour/include/hbrddntx.h
    * synced with DBFAREAP

  * harbour/include/hbapicdp.h
  * harbour/source/rtl/cdpapi.c
    * changed UTF8 functions to use '[const] char' buffers instead
      for '[const] BYTE'

  * harbour/source/rtl/gtxwc/gtxwc.c
  * harbour/source/rtl/gttrm/gttrm.c
    * updated for above modification
2009-06-26 15:07:08 +00:00
Viktor Szakats
066d7497f8 2009-06-25 16:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/hbmd5.c
    + HB_MD5(), HB_MD5FILE(): New logical parameter added, which
      controls whether to return binary data or hexadecimal string.
      The default is .T. which will return hexa string, to stay
      compatible. Later we should switch the default to .F..

  * mpkg_gnu.bat
    * Updated requirement section.
2009-06-26 14:35:29 +00:00
Przemyslaw Czerpak
c9731a76a7 2009-06-26 15:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/hsx/hsx.c
    * removed ( BYTE * ) casting

  * harbour/include/hbchksum.h
  * harbour/source/rtl/hbadler.c
  * harbour/source/rtl/hbcrc.c
  * harbour/source/rtl/hbmd5.c
    * use 'const char *' for passed memory buffers
         ULONG hb_adler32( ULONG adler, const char *buf, ULONG len );
         ULONG hb_crc16( ULONG crc, const char *buf, ULONG len );
         ULONG hb_crc32( ULONG crc, const char *buf, ULONG len );
         HB_ULONG hb_crc( HB_ULONG crc, const char * buf, ULONG len,
                          HB_ULONG poly );
         HB_ULONG hb_crcct( HB_ULONG crc, const char * buf, ULONG len,
                            HB_ULONG poly );
         void hb_md5( const char * ucData, ULONG ulLen, char * ucDigest );
         void hb_md5file( HB_FHANDLE hFile, char * ucDigest );

  * harbour/include/hbsxfunc.h
  * harbour/source/rdd/hbsix/sxcompr.c
  * harbour/source/rdd/hbsix/sxcrypt.c
    * use '[const] char *' for passed memory buffers in:
         void hb_sxEnCrypt( const char * pSrc, char * pDst,
                            const char * pKeyVal, ULONG ulLen );
         void hb_sxDeCrypt( const char * pSrc, char * pDst,
                            const char * pKeyVal, ULONG ulLen );
         BOOL hb_LZSSxDecompressMem( const char * pSrcBuf, ULONG ulSrcLen,
                                     char * pDstBuf, ULONG ulDstLen );
         BOOL hb_LZSSxCompressMem( const char * pSrcBuf, ULONG ulSrcLen,
                                   char * pDstBuf, ULONG ulDstLen,
                                   ULONG * pulSize );

  * harbour/include/hbapigt.h
  * harbour/include/hbgtcore.h
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/mouse53.c
  * harbour/source/rtl/mouseapi.c
  * harbour/source/rtl/gtdos/gtdos.c
    * changed 'const BYTE *' to 'const char *' in MouseSaveState()
      and MouseRestoreState() GT methods and functions.

  * harbour/source/rtl/cdpapi.c
  * harbour/source/rtl/is.c
    * added ( char * ) casting as workaround for wrong in MSVC strchr()
      declaration.

  * harbour/include/hbrdddbf.h
  * harbour/source/rdd/dbf1.c
  * harbour/source/rtl/hbi18n1.c
  * harbour/contrib/xhb/hbcrypt.c
    * updated for above modifications
2009-06-26 13:53:41 +00:00
Viktor Szakats
83a6162d7f 2009-06-25 14:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * source/vm/maindllp.c
  * source/vm/extend.c
  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvgutils.c
    * Changed hb_parv*() function return value to 'const char *'.
2009-06-26 12:37:23 +00:00
Viktor Szakats
d4e0e04f3a 2009-06-25 13:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/tests/demoxbp.prg
    ! Fixed the same warning again.
    * Changed to actually close the window when using close icon
      or Alt+F4.
    ; Thanks Priptal for the close fix, GPF is now gone.

  * mpkg_gnu.bat
    ! Using shorter temp dir names to make DOS command.com happy,
      so that it copies all libs with a little more chance.
      It's recommended to use a short base dir for DOS builds.
2009-06-26 11:53:20 +00:00
Viktor Szakats
c9d98f5be8 2009-06-25 13:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbfimage/fi_wrp.c
  * contrib/hbgd/gdwrp.c
    * Fixed warnings by casting. Ideally these should be fixed in
      external packages.
2009-06-26 11:10:13 +00:00
Viktor Szakats
bd923f154d 2009-06-25 12:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/ascpos.c
  * contrib/hbct/ctwfunc.c
  * contrib/hbct/ctcrypt.c
  * contrib/xhb/filestat.c
  * contrib/hbsqlit3/hbsqlit3.c
  * contrib/hbnf/fttext.c
  * contrib/hbpgsql/postgres.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/hbgd/gdwrp.c
  * source/rtl/mouse53.c
    * 'const' cleanup.
    ; NOTE: I rather didn't commit BYTE to char in CTWIN.
    ; TOFIX: Some of these will result in warnings when passing values
             to external API calls. I'd like to ask developers to review
             what the intent was. Sometimes external API declarations
             are missing 'const', so it's safe to pass them these buffers,
             but it should be checked in documentation.
      ---
      ../../fi_wrp.c: In function 'HB_FUN_FI_LOADFROMMEM':
      ../../fi_wrp.c:372: warning: passing argument 1 of 'FreeImage_OpenMemory' discards qualifiers from pointer target type
      C:\devl\FreeImage-3.12.0\Dist/FreeImage.h:771: note: expected 'BYTE *' but argument is of type 'const BYTE *'
      ../../fi_wrp.c: In function 'HB_FUN_FI_GETFILETYPEFROMMEM':
      ../../fi_wrp.c:887: warning: passing argument 1 of 'FreeImage_OpenMemory' discards qualifiers from pointer target type
      C:\devl\FreeImage-3.12.0\Dist/FreeImage.h:771: note: expected 'BYTE *' but argument is of type 'const BYTE *'

      ../../gdwrp.c: In function 'HB_FUN_GDIMAGESTRINGFTEX':
      ../../gdwrp.c:2718: warning: passing argument 4 of 'gdImageStringFTEx' discards qualifiers from pointer target type
      C:\devl\gd-2.0.34\include/gd.h:459: note: expected 'char *' but argument is of type 'const char *'
      ../../gdwrp.c:2718: warning: passing argument 9 of 'gdImageStringFTEx' discards qualifiers from pointer target type
      C:\devl\gd-2.0.34\include/gd.h:459: note: expected 'char *' but argument is of type 'const char *'
      ../../gdwrp.c: In function 'HB_FUN_GDIMAGESTRINGFTCIRCLE':
      ../../gdwrp.c:2809: warning: passing argument 7 of 'gdImageStringFTCircle' discards qualifiers from pointer target type
      C:\devl\gd-2.0.34\include/gdfx.h:41: note: expected 'char *' but argument is of type 'const char *'
      ../../gdwrp.c:2809: warning: passing argument 9 of 'gdImageStringFTCircle' discards qualifiers from pointer target type
      C:\devl\gd-2.0.34\include/gdfx.h:41: note: expected 'char *' but argument is of type 'const char *'
      ../../gdwrp.c:2809: warning: passing argument 10 of 'gdImageStringFTCircle' discards qualifiers from pointer target type
      C:\devl\gd-2.0.34\include/gdfx.h:41: note: expected 'char *' but argument is of type 'const char *'
      ---
2009-06-26 10:51:04 +00:00
Przemyslaw Czerpak
9c9bd626a0 2009-06-26 12:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/Makefile
  * harbour/contrib/hbbmcdx/bmdbfcdx.c
  * harbour/contrib/hbbmcdx/hbbmcdx.h
    * cleaned 'char *' <-> 'const char *' usage
    ! fixed BM_*Bit() macros definitions
2009-06-26 10:27:41 +00:00
Viktor Szakats
e5f34c81f3 2009-06-25 11:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/strdiff.c
  * contrib/hbct/strswap.c
  * contrib/hbct/range.c
  * contrib/hbct/tab.c
  * contrib/hbct/replace.c
  * contrib/hbct/numat.c
  * contrib/hbct/ctpad.c
  * contrib/hbct/remove.c
  * contrib/xhb/dbf2txt.c
    + Deleted non-const cast, fixed type usage.

  * contrib/gtwvg/wvgcuig.c
    % Using hb_parclen() instead of strlen(). Pritpal pls verify me.

  * mpkg_gnu.bat
  * examples/hbgf/hbgfwin/hbgfwin.hbp
    ! Typos.

  * examples/hbgf/hbgfwin/winapi.c
    * 'const' and hb_parv*() updates.
2009-06-26 09:56:56 +00:00
Viktor Szakats
c7e604aca9 2009-06-25 11:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbgd/gdwrp.c
    ! Fixed const warnings.
    * TOFIX: Remaining:
       ../../gdwrp.c: In function 'HB_FUN_GDIMAGESTRINGFTEX':
       ../../gdwrp.c:2659: warning: assignment discards qualifiers from pointer target type
       ../../gdwrp.c:2676: warning: assignment discards qualifiers from pointer target type
       ../../gdwrp.c: In function 'HB_FUN_GDIMAGESTRINGFTCIRCLE':
       ../../gdwrp.c:2794: warning: assignment discards qualifiers from pointer target type
       ../../gdwrp.c:2800: warning: assignment discards qualifiers from pointer target type
       ../../gdwrp.c:2809: warning: passing argument 10 of 'gdImageStringFTCircle' discards qualifiers from pointer target type
       C:\devl\gd-2.0.34\include/gdfx.h:41: note: expected 'char *' but argument is of type 'const char *'
2009-06-26 09:30:00 +00:00
Przemyslaw Czerpak
39bd143736 2009-06-26 11:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapigt.h
  * harbour/source/rtl/gtapi.c
    ! added missing const to last parameter of hb_gtRest()
2009-06-26 09:28:19 +00:00
Przemyslaw Czerpak
76b10db8ff 2009-06-26 11:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/dates.c
    ! fixed CTOD() to be CA-Cl*pper compatible in decoding dates like:
         SET DATE FORMAT TO "YYYY-MM-DD"
         ? CTOD("000002009.000000012.0000000000000027.1")
         ? CTOD("  0002009.   000012.          000028 1")
         ? CTOD("xx0002009.xxx000012.xxxxxxxxxx000028 1")
         ? CTOD("000 02009.00 000012.000       000028 1"), "*"
         ? CTOD("2007 11 29")
         ? CTOD("  2007   11   29  ")
         ? CTOD("2007-1 1-29")
         ? CTOD("2007- 1 1 - 2 9 ")
    ! fixed HB_CTOT() to use the same formatting rules as CTOD() in
      CA-Cl*pper - now delimiters between values are strictly required.
2009-06-26 09:14:08 +00:00
Viktor Szakats
a570904b7c 2009-06-25 10:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  + mpkg_gnu.bat
  - mpkg_dos.bat
  - mpkg_win.bat
    % Windows and DOS package make batches merged into one.
    ! Deleting of BCC junk files where broken after latest changes.

  * make_gnu.bat
    ! Fixed to ignore HB_BUILD_DLL for dos platforms.
2009-06-26 09:00:16 +00:00
Viktor Szakats
afd20bf033 2009-06-25 10:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.bat
    * Automatically setting dos/wce architecture for some
      HB_COMPILER values.
2009-06-26 08:22:36 +00:00
Viktor Szakats
831f08e5e3 2009-06-25 09:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_qhttp.cpp
  * contrib/hbqt/hbqt_qftp.cpp
    ! Commented with TOFIX comment two compilation errors
      reported on the list, to allow full Harbour build.
    ; TOFIX: Fix hb_parc() returned buffer passed directly
             to QT to return data. This would previously
             cause HVM corruption, not with 'const' it's
             caught by compiler.
2009-06-26 07:36:06 +00:00
Przemyslaw Czerpak
9e3ae49cb6 2009-06-26 03:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbvm.h
  * harbour/include/hbapicdp.h
  * harbour/include/hbinit.h
  * harbour/include/hbapi.h
  * harbour/source/vm/initsymb.c
  * harbour/source/vm/macro.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/maindllp.c
  * harbour/source/vm/fm.c
  * harbour/source/vm/memvars.c
  * harbour/source/vm/set.c
  * harbour/source/rtl/cdpapi.c
    * replace old hb_vmProcessSymbols() with hb_vmProcessSymbolsEx()
      and removed hb_vmProcessSymbolsEx() - it efectively force all .prg
      code recompilation
    * removed old hb_vmProcessDllSymbols()
    * changed 'char *' to 'const char *' in:
         const char * hb_cdpSelectID( const char * );
         const char * hb_cdpID( void );
         void hb_xsetfilename( const char * szValue );
         void hb_xsetinfo( const char * szValue );
         int hb_memvarScope( const char * szVarName, ULONG ulLength );
         const char * hb_macroGetType( HB_ITEM_PTR pItem );
2009-06-26 01:17:15 +00:00
Viktor Szakats
340fc1f1de 2009-06-25 02:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * make_gnu.bat
    + Added support for Cygwin builds (passes call to make_gnu.sh).
    + Added Cygwin build starter example.
    + Cygwin mentioned as a requirement for mingwarm builds,
      also added to PATH.
    ! Fixed cygwin autodetection.
    ! Fixed wrong PATH order in 'MinGW GCC + MSYS' example.
    * Merged mingw+msys and cygwin bash based build methods,
      and titled as "alternate" method.
      Now all supported compilers work by starting up make_gnu.bat.

  * utils/hbmk2/hbmk2.prg
    ! Change compiler autodetection to work for cygwin.

  * mpkg_dos.bat
  * mpkg_win.bat
  * make_gnu.bat
    ! Fixed build process to work in paths containing spaces.
      I didn't test the batch in pure DOS, so I may have broken it.

  * config/win/install.cf
  * config/wce/install.cf
    ! Fixed 'install' to work when there is a space in install path.

  * make_gnu.bat
  * INSTALL
    + Added support for HB_BUILD_LOG envvar. If set to 'yes',
      it will automatically set log output filename to:
         'log-<arch>-<comp>.txt'
      if set to 'no' it will no make any extra redirection,
      if set to any other value, it will be used for output
      (both std and err). The batch will set HB_BUILD_LOGFILE
      to the filename used for output for processing.
      This feature requires Windows NT or upper host.
      I didn't enable this feature yet by default to not break
      existing user setups, but maybe I'll do it before the
      final release.
    * Modified text shown (+ beep thrown) when build failed.
    * Messages now all start with 'Harbour'.
    * Do not do the second build pass if the first one failed.

  * contrib/hbwin/legacy.prg
    ! Fixed CreateObject() not working due to typo.
      Thanks to Itamar Lins for the report.

  * mpkg_dos.bat
  * mpkg_win.bat
  * mpkg_win.nsi
    + Enabled HB_BUILD_LOG=yes.
    * Silenced copy, zip, makensis commands.
    + Added message about failed build process.
    * Changed to use 'copy' instead of 'xcopy'
    * Changed internals so now they don't require HB_COMPILER
      and HB_ARCHITECTURE to be set. This means that now
      we can rely on autodetection even for mpkg_*.bat files.
      Creating an installer is very easy now for most cases.
      Just type:
         mpkg_gnu.bat

  * source/vm/set.c
    + Added file commit support to __MVSAVE(), if Set( _SET_HARDCOMMIT )
      is set to .T.. This is the default which means by default we aren't
      CA-Cl*pper compatible. Addition protected by HB_C52_STRICT.

  * source/rdd/dbf1.c
    ! Minor typo in comment.

  * doc/en-EN/hb_apiit.txt
  * include/hbapi.h
  * include/hbapiitm.h
  * source/vm/itemapi.c
  * source/vm/extend.c
  * source/rtl/gtwvt/gtwvt.c
  * source/rdd/dbf1.c
  * contrib/gtqtc/gtqtc.cpp
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/hbwin/olecore.c
  * examples/hboleold/win_ole.c
    * Finishing long planned function renames to clear up
      a very (10 years) old naming inconsistency.
      To adapt you code to this, please do changes below:
         1) hb_itemPutCPtr() (with three parameters) -> hb_itemPutCLPtr()
         2) hb_itemPutCPtr2() -> hb_itemPutCPtr()
      Unmodified code will generate compile time errors, so it's easy
      to spot where the modifications need to be done. For most users,
      only case 1) will need to be dealt with.
    ; INCOMPATIBLE. Please update your code.

  * source/rtl/hbi18n1.c
  * source/rdd/dbfnsx/dbfnsx1.c
    * hb_itemPutCPtr() (with three parameters) -> hb_itemPutCLPtr()

  * contrib/gtwvg/wvggui.c
  * contrib/gtqtc/gtqtc.cpp
    ! Fixed GPF in hb_gtInfo( HB_GTI_SCREENSIZE ) call with wrong
      parameter.
2009-06-26 01:11:11 +00:00
Przemyslaw Czerpak
c3e1436da0 2009-06-26 02:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbvm.h
  * harbour/include/hbrdddbf.h
  * harbour/include/hbapidbg.h
  * harbour/include/hbset.h
  * harbour/include/hbcomp.h
  * harbour/include/hbapirdd.h
  * harbour/include/hbstack.h
  * harbour/include/hbsxfunc.h
  * harbour/include/hbapilng.h
  * harbour/include/hbgtcore.h
  * harbour/include/hbapifs.h
  * harbour/include/hbdbsort.h
  * harbour/include/hbapigt.h
  * harbour/include/hbapi.h
  * harbour/include/hbapierr.h
  * harbour/include/hbapiitm.h
  * harbour/include/hbrddfpt.h
  * harbour/contrib/hbmysql/mysql.c
  * harbour/contrib/hbct/bitnum.c
  * harbour/contrib/hbct/token2.c
  * harbour/contrib/hbct/charsprd.c
  * harbour/contrib/hbct/ctnet.c
  * harbour/contrib/hbct/charonly.c
  * harbour/contrib/hbct/atadjust.c
  * harbour/contrib/hbct/ctwin.c
  * harbour/contrib/hbct/charsort.c
  * harbour/contrib/hbct/ctwin.h
  * harbour/contrib/hbct/charmix.c
  * harbour/contrib/hbct/charevod.c
  * harbour/contrib/hbct/maxline.c
  * harbour/contrib/hbct/wordrepl.c
  * harbour/contrib/hbct/charrepl.c
  * harbour/contrib/hbct/files.c
  * harbour/contrib/hbct/video.c
  * harbour/contrib/hbct/charswap.c
  * harbour/contrib/hbct/dattime3.c
  * harbour/contrib/hbct/charop.c
  * harbour/contrib/hbct/misc2.c
  * harbour/contrib/hbct/charone.c
  * harbour/contrib/hbct/ctstr.c
  * harbour/contrib/hbct/screen1.c
  * harbour/contrib/hbct/token1.c
  * harbour/contrib/hbct/ctstr.h
  * harbour/contrib/hbct/charmirr.c
  * harbour/contrib/hbct/relation.c
  * harbour/contrib/hbct/atnum.c
  * harbour/contrib/hbct/like.c
  * harbour/contrib/hbct/count.c
  * harbour/contrib/hbct/disk.c
  * harbour/contrib/hbct/ctstrfil.c
  * harbour/contrib/hbct/posdiff.c
  * harbour/contrib/hbct/addascii.c
  * harbour/contrib/hbct/tab.c
  * harbour/contrib/hbct/numline.c
  * harbour/contrib/hbct/dattime2.c
  * harbour/contrib/hbct/asciisum.c
  * harbour/contrib/hbct/expand.c
  * harbour/contrib/hbct/pos2.c
  * harbour/contrib/hbct/numat.c
  * harbour/contrib/hbct/atrepl.c
  * harbour/contrib/hbct/wordtoch.c
  * harbour/contrib/hbct/print.c
  * harbour/contrib/hbct/justify.c
  * harbour/contrib/xhb/hbxml.c
  * harbour/contrib/xhb/dbf2txt.c
  * harbour/contrib/xhb/xhbis.c
  * harbour/contrib/xhb/fparse.c
  * harbour/contrib/xhb/xstrdel.c
  * harbour/contrib/xhb/hbcomprs.c
  * harbour/contrib/xhb/datesxhb.c
  * harbour/contrib/xhb/xhbmsgs.c
  * harbour/contrib/xhb/freadlin.c
  * harbour/contrib/xhb/txtline.c
  * harbour/contrib/xhb/xhbtrim.c
  * harbour/contrib/xhb/xhbcopyf.c
  * harbour/contrib/xhb/cstructc.c
  * harbour/contrib/xhb/xhbfunc.c
  * harbour/contrib/hbtpathy/tplinux.c
  * harbour/contrib/hbgt/charmixg.c
  * harbour/contrib/hbgt/strexpan.c
  * harbour/contrib/hbgt/charodd.c
  * harbour/contrib/hbgt/strright.c
  * harbour/contrib/hbgt/asciisgt.c
  * harbour/contrib/hbgt/strdiffg.c
  * harbour/contrib/hbgt/chrtotal.c
  * harbour/contrib/hbgt/strcount.c
  * harbour/contrib/hbgt/strleft.c
  * harbour/contrib/hbgt/ascposgt.c
  * harbour/contrib/hbgt/chrfirst.c
  * harbour/contrib/hbgt/chrcount.c
  * harbour/contrib/hbgt/strpbrk.c
  * harbour/contrib/hbgt/chareven.c
  * harbour/contrib/hbgt/strcspn.c
  * harbour/contrib/hbgt/atdiff.c
  * harbour/contrib/hbsqlit3/hbsqlit3.c
  * harbour/contrib/hbmzip/hbmzip.c
  * harbour/contrib/hbnf/proper.c
  * harbour/contrib/hbnf/fttext.c
  * harbour/contrib/hbnf/chdir.c
  * harbour/contrib/hbnf/getver.c
  * harbour/contrib/hbnf/ftattr.c
  * harbour/contrib/hbnf/mkdir.c
  * harbour/contrib/hbnf/rmdir.c
  * harbour/contrib/Makefile
  * harbour/contrib/hbcurl/hbcurl.c
  * harbour/contrib/rddsql/sddmy/mysqldd.c
  * harbour/contrib/rddsql/sddpg/pgsqldd.c
  * harbour/contrib/rddsql/sddfb/fbirddd.c
  * harbour/contrib/rddsql/sddodbc/odbcdd.c
  * harbour/contrib/rddsql/sqlmix.c
  * harbour/contrib/hbhpdf/harupdf.c
  * harbour/contrib/rddads/adsx.c
  * harbour/contrib/rddads/adsfunc.c
  * harbour/contrib/rddads/rddads.h
  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/hbmisc/hb_f.c
  * harbour/contrib/hbmisc/strfmt.c
  * harbour/contrib/hbmisc/stringsx.c
  * harbour/contrib/hbmisc/spd.c
  * harbour/contrib/hbtip/utils.c
  * harbour/contrib/hbwin/wapi_winbase.c
  * harbour/contrib/hbwin/win_misc.c
  * harbour/contrib/hbbtree/hb_btree.h
  * harbour/contrib/hbbtree/hb_btree.c
  * harbour/source/pp/hbpp.c
  * harbour/source/vm/runner.c
  * harbour/source/vm/estack.c
  * harbour/source/vm/itemapi.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/cmdarg.c
  * harbour/source/vm/memvars.c
  * harbour/source/vm/dynlibhb.c
  * harbour/source/vm/set.c
  * harbour/source/main/harbour.c
  * harbour/source/debug/dbgentry.c
  * harbour/source/common/hbfsapi.c
  * harbour/source/common/hbfopen.c
  * harbour/source/rtl/gtdos/gtdos.c
  * harbour/source/rtl/diskspac.c
  * harbour/source/rtl/console.c
  * harbour/source/rtl/chrasc.c
  * harbour/source/rtl/fscopy.c
  * harbour/source/rtl/run.c
  * harbour/source/rtl/spfiles.c
  * harbour/source/rtl/defpath.c
  * harbour/source/rtl/philes.c
  * harbour/source/rtl/oldbox.c
  * harbour/source/rtl/math.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/cdpapi.c
  * harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/dirdrive.c
  * harbour/source/rtl/hbi18n1.c
  * harbour/source/rtl/trim.c
  * harbour/source/rtl/hbzlibgz.c
  * harbour/source/rtl/philesx.c
  * harbour/source/rtl/mlcfunc.c
  * harbour/source/rtl/filehb.c
  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/is.c
  * harbour/source/rtl/hbrunfun.c
  * harbour/source/rtl/ampm.c
  * harbour/source/rtl/setcolor.c
  * harbour/source/rtl/oemansi.c
  * harbour/source/rtl/disksphb.c
  * harbour/source/rtl/hbzlib.c
  * harbour/source/rtl/strpeek.c
  * harbour/source/rtl/replic.c
  * harbour/source/rtl/stuff.c
  * harbour/source/rtl/hbstrfmt.c
  * harbour/source/rtl/transfrm.c
  * harbour/source/rtl/hbhex.c
  * harbour/source/rtl/trace.c
  * harbour/source/rtl/hbadler.c
  * harbour/source/rtl/samples.c
  * harbour/source/rtl/filebuf.c
  * harbour/source/rtl/hbcrc.c
  * harbour/source/rtl/gete.c
  * harbour/source/rtl/hbmd5.c
  * harbour/source/rtl/langapi.c
  * harbour/source/rtl/gtcgi/gtcgi.c
  * harbour/source/rtl/errapi.c
  * harbour/source/rtl/hbregexc.c
  * harbour/source/rtl/natmsg.c
  * harbour/source/rtl/fssize.c
  * harbour/source/rtl/hbinet.c
  * harbour/source/rtl/colorind.c
  * harbour/source/rtl/copyfile.c
  * harbour/source/rtl/mouseapi.c
  * harbour/source/rtl/soundex.c
  * harbour/source/rtl/memofile.c
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/gtapi.c
  * harbour/source/rtl/direct.c
  * harbour/source/rtl/filesys.c
  * harbour/source/rtl/file.c
  * harbour/source/rtl/val.c
  * harbour/source/rtl/hbregex.c
  * harbour/source/rtl/rat.c
  * harbour/source/rtl/isprint.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbsql.c
  * harbour/source/rdd/workarea.c
  * harbour/source/rdd/wacore.c
  * harbour/source/rdd/sdf1.c
  * harbour/source/rdd/dbdetach.c
  * harbour/source/rdd/dbcmdx.c
  * harbour/source/rdd/dbfnsx/dbfnsx1.c
  * harbour/source/rdd/dbcmd.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/delim1.c
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/hsx/hsx.c
  * harbour/source/rdd/dbcmd53.c
  * harbour/source/rdd/usrrdd/usrrdd.c
  * harbour/source/rdd/wafunc.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rdd/hbsix/sxsem.c
  * harbour/source/rdd/hbsix/sxord.c
  * harbour/source/rdd/hbsix/sxfname.c
  * harbour/source/rdd/hbsix/sxtable.c
  * harbour/source/rdd/hbsix/sxdate.c
  * harbour/source/rdd/hbsix/sxutil.c
  * harbour/source/rdd/hbsix/sxcompr.c
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/hbpcode.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/gencc.c
  * harbour/source/compiler/hbcmplib.c
  * harbour/source/compiler/ppcomp.c
    * changed 'char *' and changed 'BYTE *' to 'const char *' in
      the following functions:
         const char * hb_vmFindModuleSymbolName( PHB_SYMB pSym );
         void  hb_vmInitSymbolGroup( void * hNewDynLib, int argc,
                                     const char * argv[] );
         void hb_dbgEntry( int nMode, int nLine, const char *szName,
                           int nIndex, PHB_ITEM pFrame );
         void hb_dbgAddBreak( void *handle, const char *cModule,
                              int nLine, const char *szFunction );
         void hb_dbgAddWatch( void *handle, const char *szExpr, BOOL bTrace );
         PHB_ITEM hb_dbgGetExpressionValue( void *handle,
                                            const char *expression );
         BOOL hb_dbgIsValidStopLine( void *handle, const char *szModule,
                                     int nLine );
         void hb_dbgSetToCursor( void *handle, const char *szModule,
                                 int nLine );
         void hb_dbgSetWatch( void *handle, int nWatch,
                              const char *szExpr, BOOL bTrace );
         const char * hb_setGetCPtr( HB_set_enum set_specifier );
         const char * hb_setGetAltFile( void );
         const char * hb_setGetDateFormat( void );
         const char * hb_setGetTimeFormat( void );
         const char * hb_setGetDefault( void );
         const char * hb_setGetDelimChars( void );
         const char * hb_setGetDevice( void );
         const char * hb_setGetExtraFile( void );
         const char * hb_setGetPath( void );
         const char * hb_setGetMFileExt( void );
         const char * hb_setGetPrintFile( void );
         const char * hb_setGetEOL( void );
         const char * hb_setGetHBOUTLOG( void );
         const char * hb_setGetHBOUTLOGINFO( void );
         const char * hb_setGetOSCODEPAGE( void );
         void hb_compInitPP( HB_COMP_DECL, int argc,
                             const char * const argv[] );
         void hb_compGenPCodeN( const BYTE * pBuffer, ULONG ulSize,
                                HB_COMP_DECL );
         int  hb_compMain( int argc, const char * const argv[],
                           BYTE ** pBufPtr, ULONG * pulSize,
                           const char * szSource );
         void hb_compChkCompilerSwitch( HB_COMP_DECL, int,
                                        const char * const args[] );
         void hb_compChkDefines( HB_COMP_DECL, int iArg,
                                 const char * const args[] );
         void hb_compGenCString( FILE * yyc, const BYTE * pText, ULONG ulLen );
         AREAP hb_rddRequestArea( const char * szAlias, PHB_ITEM pCargo,
                                  BOOL fNewArea, BOOL fWait );
         char * hb_stackDirBuffer( void );
         LONG hb_sxPtoD( const char * pDate );
         const char * hb_langID( void );
         const char * hb_langSelectID( const char * pszID );
         const char * hb_langDGetItem( int iIndex );
         const char * hb_langDGetErrorDesc( ULONG ulIndex );
         BOOL       hb_fsChDir( const char * pszDirName );
         HB_FHANDLE hb_fsCreate( const char * pszFileName, ULONG ulAttr );
         HB_FHANDLE hb_fsCreateEx( const char * pszFilename, ULONG ulAttr,
                                   USHORT uiFlags );
         HB_FHANDLE hb_fsCreateTemp( const char * pszDir,
                                     const char * pszPrefix,
                                     ULONG ulAttr, char * pszName );
         HB_FHANDLE hb_fsCreateTempEx( char * pszName, const char * pszDir,
                                       const char * pszPrefix,
                                       const char * pszExt, ULONG ulAttr );
         const char * hb_fsCurDir( USHORT uiDrive );
         USHORT     hb_fsCurDirBuff( USHORT uiDrive, char * pbyBuffer,
                                     ULONG ulLen );
         void       hb_fsBaseDirBuff( char * pbyBuffer );
         BOOL       hb_fsDelete( const char * pszFileName );
         BOOL       hb_fsFile( const char * pszFileName );
         BOOL       hb_fsIsDirectory( const char * pszFilename );
         HB_FOFFSET hb_fsFSize( const char * pszFileName, BOOL bUseDirEntry );
         HB_FHANDLE hb_fsExtOpen( const char * pszFileName,
                                  const char * pDefExt,
         char *     hb_fsExtName( const char * pFilename,
                                  const char * pDefExt, USHORT uiExFlags,
                                  const char * pPaths );
         BOOL       hb_fsMkDir( const char * pszDirName );
         HB_FHANDLE hb_fsOpen( const char * pszFileName, USHORT uiFlags );
         BOOL       hb_fsRmDir( const char * pszDirName );
         BOOL       hb_fsRename( const char * pszOldName,
                                 const char * pszNewName );
         BOOL       hb_fsGetFileTime( const char * pszFileName,
                                      LONG * plJulian, LONG * plMillisec );
         BOOL       hb_fsSetFileTime( const char * pszFileName,
                                      LONG lJulian, LONG lMillisec );
         BOOL       hb_fsGetAttr( const char * pszFileName, ULONG * pulAttr );
         BOOL       hb_fsSetAttr( const char * pszFileName, ULONG ulAttr );
         HB_FHANDLE hb_fsPOpen( const char * pFilename, const char * pMode );
         BOOL       hb_fsCopy( const char * pSource, const char * pDest );
         BOOL       hb_spFile( const char * pFilename, char * pRetPath );
         BOOL       hb_spFileExists( const char * pFilename, char * pRetPath );
         HB_FHANDLE hb_spOpen( const char * pFilename, USHORT uiFlags );
         HB_FHANDLE hb_spCreate( const char * pFilename, ULONG ulAttr );
         HB_FHANDLE hb_spCreateEx( const char * pFilename,
                                   ULONG ulAttr, USHORT uiFlags );
         PHB_FILE   hb_fileExtOpen( const char * pFilename,
                                    const char * pDefExt, USHORT uiExFlags,
                                    const char * pPaths, PHB_ITEM pError );
         PHB_FILE   hb_fileCreateTemp( const char * pszDir,
                                       const char * pszPrefix,
                                       ULONG ulAttr, char * pszName );
         PHB_FILE   hb_fileCreateTempEx( char * pszName, const char * pszDir,
                                         const char * pszPrefix,
                                         const char * pszExt, ULONG ulAttr );
         HB_ERRCODE hb_gtBox( SHORT uiTop, SHORT uiLeft, SHORT uiBottom,
                              SHORT uiRight, const BYTE * pbyFrame );
         HB_ERRCODE hb_gtDrawBox( SHORT uiTop, SHORT uiLeft, SHORT uiBottom,
                                  SHORT uiRight, const BYTE * pbyFrame,
                                  int iColor );
         HB_ERRCODE hb_gtWrite( const BYTE * pbyStr, ULONG ulLen );
         HB_ERRCODE hb_gtWriteAt( USHORT uiRow, USHORT uiCol,
                                  const BYTE * pbyStr, ULONG ulLen );
         HB_ERRCODE hb_gtWriteCon( const BYTE * pbyStr, ULONG ulLen );
         HB_ERRCODE hb_gtPutText( USHORT uiRow, USHORT uiCol,
                                  const BYTE * pStr, ULONG ulLength,
                                  int iColor );
         HB_ERRCODE hb_gtOutStd( const BYTE * pbyStr, ULONG ulLen );
         HB_ERRCODE hb_gtOutErr( const BYTE * pbyStr, ULONG ulLen );
         HB_ERRCODE hb_gtBoxEx( int iTop, int iLeft, int iBottom, int iRight,
                                const BYTE * pbyFrame, int iColor );
         void       hb_mouseRestoreState( const BYTE * pBuffer );
         const char * hb_strLTrim( const char * szText, ULONG * ulLen );
         const char * hb_conNewLine( void );
         const char * hb_conSetColor( const char * szColor );
         const char * hb_errGetDescription( PHB_ITEM pError );
         const char * hb_errGetFileName( PHB_ITEM pError );
         const char * hb_errGetOperation( PHB_ITEM pError );
         const char * hb_errGetSubSystem( PHB_ITEM pError );
         int hb_ctwAddWindowBox( int iWindow, const BYTE * szBox, int iColor );
         const char *ct_at_exact_forward
                              ( const char *pcString, size_t sStrLen,
                                const char *pcMatch, size_t sMatchLen,
                                size_t *psMatchStrLen );
         const char *ct_at_exact_backward
                              ( const char *pcString, size_t sStrLen,
                                const char *pcMatch, size_t sMatchLen,
                                size_t *psMatchStrLen );
         const char *ct_at_wildcard_forward
                              ( const char *pcString, size_t sStrLen,
                                const char *pcMatch, size_t sMatchLen,
                                char cWildCard, size_t *psMatchStrLen );
         const char *ct_at_wildcard_backward
                              ( const char *pcString, size_t sStrLen,
                                const char *pcMatch, size_t sMatchLen,
                                char cWildCard, size_t *psMatchStrLen );
         const char *ct_at_charset_forward
                              ( const char *pcString, size_t sStrLen,
                                const char *pcCharSet, size_t sCharSetLen,
                                size_t *psMatchedCharPos );
         const char *ct_at_charset_backward
                              ( const char *pcString, size_t sStrLen,
                                const char *pcCharSet, size_t sCharSetLen,
                                size_t *psMatchedCharPos );
         char * hb_adsOemToAnsi( const char * pcString, ULONG ulLen );
         char * hb_adsAnsiToOem( const char * pcString, ULONG ulLen );
         struct hb_BTree * hb_BTreeNew( const char *FileName,
                                        USHORT usPageSize, USHORT usKeySize,
                                        ULONG ulFlags, USHORT usBuffers );
         struct hb_BTree * hb_BTreeOpen( const char *FileName, ULONG lFlags,
                                         USHORT usBuffers );
         BOOL hb_BTreeInsert( struct hb_BTree * pBTree, const char * szKey,
                              PHB_ITEM pData );
         BOOL hb_BTreeDelete( struct hb_BTree * pBTree, const char * szKey,
                              LONG lData );
         BOOL hb_BTreeSeek( struct hb_BTree * pBTree, const char * szKey,
                            LONG lData, BOOL bSoftSeek );
         const char * hb_BTreeKey( struct hb_BTree * pBTree );

    * modified RDD methods:
         HB_ERRCODE PUTVALUEFILE( AREAP, USHORT, const char *, USHORT );
         HB_ERRCODE GETVALUEFILE( AREAP, USHORT, const char *, USHORT );
    * modified GT methods:
         void REST( HB_GT_PTR, int, int, int, int, const BYTE * );
         void PUTTEXT( HB_GT_PTR, int, int, BYTE, const BYTE *, ULONG );
         void WRITEAT( HB_GT_PTR, int, int, const BYTE *, ULONG );
         void WRITE( HB_GT_PTR, const BYTE *, ULONG );
         void WRITECON( HB_GT_PTR, const BYTE *, ULONG );
         void BOX( HB_GT_PTR, int, int, int, int, const BYTE *, BYTE );
         void BOXD( HB_GT_PTR, int, int, int, int, const BYTE *, BYTE );
         void BOXS( HB_GT_PTR, int, int, int, int, const BYTE *, BYTE );
         void OUTSTD( HB_GT_PTR, BYTE *, ULONG );
         void OUTERR( HB_GT_PTR, BYTE *, ULONG );
         void MOUSERESTORESTATE( HB_GT_PTR, const BYTE * );
    * modified RDD structers:
         DBFIELDINFO, DBOPENINFO, DBORDERCONDINFO, DBCONSTRAINTINFO,
         DBORDERCREATEINFO
    + modified parameters and behevior:
         const char * hb_fsNameConv( const char * szFileName, char ** pszFree );
         const char * hb_osEncode( const char * szFileName, char ** pszFree );
         const char * hb_osDecode( const char * szFileName, char ** pszFree );
      Please look at implementation and current usage of these functions.
    + added new function:
         BOOL hb_itemGetWriteCL( PHB_ITEM pItem,
                                 char ** pszValue, ULONG * pulLen );
      which converts item string buffer to writable state to use with
      functions like FREAD() instead of hb_itemUnShare*()
    * updatd other code to respect above modifications
    ! fixed bugs (also GPF traps) located by above modifications

   TODO: please make build tests. Especially in OS2 - not tested at all.
2009-06-26 00:33:38 +00:00
Viktor Szakats
bd5452a48f 2009-06-25 13:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbformat/hbformac.c
  * examples/superlib/superlib.dif
  * examples/hbsqlit2/hbsqlit2.c
  * examples/uhttpd2/socket.c
    * 'const' cleanup.
2009-06-25 11:59:09 +00:00
Viktor Szakats
69205770d7 2009-06-25 13:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/hbmzip.c
  * contrib/hbblat/blatwrp.c
  * contrib/hbfbird/firebird.c
  * contrib/xpp/dbcmdx.c
  * contrib/xpp/philesx.c
  * contrib/rddsql/sqlbase.c
  * contrib/rddsql/sqlmix.c
  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgwing.c
  * contrib/hbclipsm/time.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/ads1.c
  * contrib/hbgd/gdwrp.c
  * contrib/hbtip/utils.c
  * contrib/hbtip/base64x.c
  * contrib/hbtip/encmthd.c
    * 'const' cleanup.
    ; NOTE: I've left some warnings which I couldn't fix, 
            and there were also cases where code modification 
            will be needed due to existing bugs now revealed.
2009-06-25 11:41:11 +00:00
Viktor Szakats
f52e6b0f52 2009-06-25 12:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor

  * contrib/hbmysql/mysql.c
  * contrib/hbodbc/odbc.c
  * contrib/hbtpathy/tpcommon.c
  * contrib/hbsqlit3/hbsqlit3.c
  * contrib/hbpgsql/postgres.c
  * contrib/hbmisc/strfmt.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prt.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbqt/hbqt_slots.cpp
    * 'const' cleanup.

  * contrib/hbqt/generator/hbqtgen.prg
  + contrib/hbqt/generator/hbmk.hbm
    ! Fixed all warnings.
    ! Fixed to generate different Harbour interface code
      for different QT integer types.
    * Some formatting. (IF() -> iif(), spaces)
    + Added .hbm file to ensure warning-free code.

  * contrib/hbqt/hbqt_qimage.cpp
  * contrib/hbqt/hbqt_qlatin1char.cpp
  * contrib/hbqt/hbqt_qdatetime.cpp
  * contrib/hbqt/hbqt_qfilesystemmodel.cpp
  * contrib/hbqt/hbqt_qpalette.cpp
  * contrib/hbqt/hbqt_qicon.cpp
  * contrib/hbqt/hbqt_qhttp.cpp
  * contrib/hbqt/hbqt_qftp.cpp
  * contrib/hbqt/hbqt_qwebpage.cpp
  * contrib/hbqt/hbqt_qresource.cpp
  * contrib/hbqt/hbqt_qvariant.cpp
  * contrib/hbqt/hbqt_qcolordialog.cpp
  * contrib/hbqt/hbqt_qpixmap.cpp
  * contrib/hbqt/hbqt_qlatin1string.cpp
  * contrib/hbqt/Makefile_gen
  * contrib/hbqt/hbqt_qkeyevent.cpp
  * contrib/hbqt/hbqt_qcoreapplication.cpp
  * contrib/hbqt/hbqt_qcolor.cpp
  * contrib/hbqt/hbqt_qtextstream.cpp
  * contrib/hbqt/hbqt_qmodelindex.cpp
    * Regenerated after generator fixes.
2009-06-25 10:18:21 +00:00
Pritpal Bedi
219a90337d * Previous entry updated. 2009-06-25 08:19:04 +00:00
Pritpal Bedi
55c40788ea 2009-06-25 08:15:01 +00:00
Pritpal Bedi
d375eecda6 2009-06-25 01:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/Makefile_gen

  * harbour/contrib/hbqt/hbqt.ch
  * harbour/contrib/hbqt/hbqt.h

  * harbour/contrib/hbqt/hbqt_qapplication.cpp
  * harbour/contrib/hbqt/hbqt_qcoreapplication.cpp
  * harbour/contrib/hbqt/TQApplication.prg
  + harbour/contrib/hbqt/TQCoreApplication.prg
  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_slots.h
  * harbour/contrib/hbqt/moc_slots.cpp

  * harbour/contrib/hbqt/qth/QApplication.qth
  * harbour/contrib/hbqt/qth/QCoreApplication.qth
    + Added 1 more class at prg level and extended others.
    ! Changed the way events are being handelled.
2009-06-25 08:13:06 +00:00
Viktor Szakats
ff33fa0603 2009-06-25 03:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Some casing fixes.

  * ChangeLog
    + Added more incompat notes to 2009-06-20 22:24 UTC+0200 entry.

  * source/pp/pplib.c
  * source/compiler/hbcmplib.c
    * 'const' cleanup.

  * source/vm/fm.c
    - Deleted HB_FM_STAT() and HB_FM_NOSTAT() functions.
2009-06-25 01:45:18 +00:00
Viktor Szakats
e569ecf8b4 2009-06-24 22:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * include/hbapiitm.h
  * source/vm/itemapi.c
  * source/vm/arrays.c
  * source/vm/extend.c
    ; Started addition of 'const' keywords where applicable.
    * First pass:
      extern HB_EXPORT const char * hb_parc( int iParam );
      extern HB_EXPORT const char * hb_parcx( int iParam );
      extern HB_EXPORT const char * hb_itemGetCPtr( PHB_ITEM pItem );
      extern HB_EXPORT const char * hb_arrayGetCPtr( PHB_ITEM pArray, ULONG ulIndex );
    ; NOTE: This modification will break code in most compilers,
            especially in C++ mode.
            As a next steps source code will have to be modified
            according to this change. Be patient, don't report all
            errors to the developers. You can join the code cleanup.

  * source/vm/dynsym.c
  * source/vm/itemapi.c
  * source/vm/arrays.c
  * source/vm/memvars.c
  * source/vm/extend.c
  * source/vm/set.c
  * source/vm/classes.c
    * 'const's added to caller code.
2009-06-24 20:37:05 +00:00
Viktor Szakats
2cca1f30b4 2009-06-24 20:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/memvars.c
    - Deleted hb_fsCommit() as non CA-Cl*pper compatible.
      I'll let others decide what to do with this patch.

  * contrib/hbclipsm/date.c
    ! Changed hb_parnl() calls used to extract dates to hb_pardl().
2009-06-24 18:40:23 +00:00
Pritpal Bedi
fb52a61cc6 2009-06-24 08:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/Makefile_gen
  * harbour/contrib/hbqt/hbqt_qapplication.cpp
  * harbour/contrib/hbqt/qth/QApplication.qth
  + harbour/contrib/hbqt/TQApplication.prg
    + Added QApplication() PRG level class. Only one instance of
      application is ever activated but its members can be accessed/assigned
      as QApplication():new():setStyle( ... )
2009-06-24 15:46:13 +00:00
Viktor Szakats
d909e96194 2009-06-24 17:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wincallb.c
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgwing.c
    ! Fixed non-ANSI comments.
2009-06-24 15:41:06 +00:00
Viktor Szakats
25c6a13d1f 2009-06-24 16:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qth/QLatin1String.qth
  * contrib/hbqt/qth/QTextStream.qth
  * contrib/hbqt/qth/QApplication.qth
  * contrib/hbqt/qth/QLatin1Char.qth
  * contrib/hbqt/hbqt_qlatin1char.cpp
  * contrib/hbqt/hbqt_qapplication.cpp
  * contrib/hbqt/hbqt_qlatin1string.cpp
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_slots.cpp
  * contrib/hbqt/hbqt_qtextstream.cpp
    ! hb_parc() -> hb_parcx(). This may fix GPFs when non-string
      parameter was read from C code and NULL pointer was passed
      to certain QT methods. I couldn't find any specific mention
      that NULL would be an accepted input value for the ones
      I've checked.
      Please review, and if hb_parc() was intentionally used,
      and NULL value intentionally passed to QT, pls revert where
      needed.
2009-06-24 14:58:05 +00:00