Commit Graph

10918 Commits

Author SHA1 Message Date
Viktor Szakats
e094b59e07 2009-06-14 00:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/hbdoc/hbdfrdln.c
  * examples/hbgf/hbgfos2/os2pm.c
  * examples/hbgf/hbgfwin/winapi.c
  * examples/hbmake/hbmakec.c
  * examples/hboleold/win_ole.c
  * examples/hbwhat/whtbmp.c
  * examples/hbwhat/whtcdlg.c
  * examples/hbwhat/whtclpb.c
  * examples/hbwhat/whtcomm.c
  * examples/hbwhat/whtdate.c
  * examples/hbwhat/whtdc.c
  * examples/hbwhat/whtdir.c
  * examples/hbwhat/whtdlg.c
  * examples/hbwhat/whtdraw.c
  * examples/hbwhat/whtfont.c
  * examples/hbwhat/whticon.c
  * examples/hbwhat/whtilst.c
  * examples/hbwhat/whtinet.c
  * examples/hbwhat/whtini.c
  * examples/hbwhat/whtkbrd.c
  * examples/hbwhat/whtmenu.c
  * examples/hbwhat/whtmeta.c
  * examples/hbwhat/whtmisc.c
  * examples/hbwhat/whtmous.c
  * examples/hbwhat/whtmsg.c
  * examples/hbwhat/whtprn.c
  * examples/hbwhat/whtrect.c
  * examples/hbwhat/whtrgn.c
  * examples/hbwhat/whtscrlb.c
  * examples/hbwhat/whtseria.c
  * examples/hbwhat/whtshell.c
  * examples/hbwhat/whtsock.c
  * examples/hbwhat/whtsys.c
  * examples/hbwhat/whttab.c
  * examples/hbwhat/whttbar.c
  * examples/hbwhat/whttext.c
  * examples/hbwhat/whtwnd.c
  * examples/hbwhat/wincorec.c
  * examples/uhttpd/socket.c
    * IS*() -> HB_IS*() macro rename.
      (pass 2)
2009-06-13 22:47:30 +00:00
Viktor Szakats
e4ddd5f914 2009-06-13 23:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/hbxbp.hbc
    + Added gtgui as default GT on win/wce systems.

  * include/extend.api
  * include/hbsetup.ch
  * include/hbapi.h
    + Added new HB_LEGACY_LEVEL3 macro to wrap legacy
      constructs to be deprecated in the next major release.
      Currently legacy IS*() parameter type checking macros
      are marked as such, ones present in CA-Cl*pper retained
      in extend.api even when this macro off.

    ; NOTE: It's recommended for 3rd party developers to
            start using new HB_IS*() macros. They work
            the same as Clipper compatible IS*() macros,
            but got a HB_ prefix: ISNUM( 1 ) -> HB_ISNUM( 1 )
            (not to be confused with HB_IS_*() macros which
            accept a PHB_ITEM)
            Here's a little batch which helps this process:
            ---
            gsar -o -s:x20ISNUM(       -r:x20HB_ISNUM(       *.c *.cpp
            gsar -o -s:x20ISCHAR(      -r:x20HB_ISCHAR(      *.c *.cpp
            gsar -o -s:x20ISLOG(       -r:x20HB_ISLOG(       *.c *.cpp
            gsar -o -s:x20ISARRAY(     -r:x20HB_ISARRAY(     *.c *.cpp
            gsar -o -s:x20ISBYREF(     -r:x20HB_ISBYREF(     *.c *.cpp
            gsar -o -s:x20ISDATE(      -r:x20HB_ISDATE(      *.c *.cpp
            gsar -o -s:x20ISDATETIME(  -r:x20HB_ISDATETIME(  *.c *.cpp
            gsar -o -s:x20ISNIL(       -r:x20HB_ISNIL(       *.c *.cpp
            gsar -o -s:x20ISTIMESTAMP( -r:x20HB_ISTIMESTAMP( *.c *.cpp
            gsar -o -s:x20ISBLOCK(     -r:x20HB_ISBLOCK(     *.c *.cpp
            gsar -o -s:x20ISPOINTER(   -r:x20HB_ISPOINTER(   *.c *.cpp
            gsar -o -s:x20ISSYMBOL(    -r:x20HB_ISSYMBOL(    *.c *.cpp
            gsar -o -s:x20ISOBJECT(    -r:x20HB_ISOBJECT(    *.c *.cpp
            gsar -o -s:x20ISHASH(      -r:x20HB_ISHASH(      *.c *.cpp
            gsar -o -s!ISNUM(          -r!HB_ISNUM(          *.c *.cpp
            gsar -o -s!ISCHAR(         -r!HB_ISCHAR(         *.c *.cpp
            gsar -o -s!ISLOG(          -r!HB_ISLOG(          *.c *.cpp
            gsar -o -s!ISARRAY(        -r!HB_ISARRAY(        *.c *.cpp
            gsar -o -s!ISBYREF(        -r!HB_ISBYREF(        *.c *.cpp
            gsar -o -s!ISDATE(         -r!HB_ISDATE(         *.c *.cpp
            gsar -o -s!ISDATETIME(     -r!HB_ISDATETIME(     *.c *.cpp
            gsar -o -s!ISNIL(          -r!HB_ISNIL(          *.c *.cpp
            gsar -o -s!ISTIMESTAMP(    -r!HB_ISTIMESTAMP(    *.c *.cpp
            gsar -o -s!ISBLOCK(        -r!HB_ISBLOCK(        *.c *.cpp
            gsar -o -s!ISPOINTER(      -r!HB_ISPOINTER(      *.c *.cpp
            gsar -o -s!ISSYMBOL(       -r!HB_ISSYMBOL(       *.c *.cpp
            gsar -o -s!ISOBJECT(       -r!HB_ISOBJECT(       *.c *.cpp
            gsar -o -s!ISHASH(         -r!HB_ISHASH(         *.c *.cpp
            ---

  * source/rtl/hbinet.c
    * Formatting.
    % Minor optimizations.

  * source/debug/dbgentry.c
  * source/rdd/dbcmd.c
  * source/rdd/dbcmd53.c
  * source/rdd/dbcmdx.c
  * source/rdd/dbdetach.c
  * source/rdd/dbsql.c
  * source/rdd/hbsix/sxfname.c
  * source/rdd/hbsix/sxord.c
  * source/rdd/hbsix/sxtable.c
  * source/rdd/usrrdd/usrrdd.c
  * source/rtl/at.c
  * source/rtl/box.c
  * source/rtl/cdpapi.c
  * source/rtl/chrasc.c
  * source/rtl/colorind.c
  * source/rtl/console.c
  * source/rtl/copyfile.c
  * source/rtl/dateshb.c
  * source/rtl/dirdrive.c
  * source/rtl/diskspac.c
  * source/rtl/disksphb.c
  * source/rtl/errapi.c
  * source/rtl/filesys.c
  * source/rtl/fscopy.c
  * source/rtl/fssize.c
  * source/rtl/fstemp.c
  * source/rtl/gete.c
  * source/rtl/gtfunc.c
  * source/rtl/gx.c
  * source/rtl/hbbit.c
  * source/rtl/hbgtcore.c
  * source/rtl/hbhex.c
  * source/rtl/hbi18n1.c
  * source/rtl/hbinet.c
  * source/rtl/hbprocfn.c
  * source/rtl/hbrandom.c
  * source/rtl/hbregex.c
  * source/rtl/hbstrsh.c
  * source/rtl/hbtoken.c
  * source/rtl/hbzlib.c
  * source/rtl/hbzlibgz.c
  * source/rtl/inkey.c
  * source/rtl/itemseri.c
  * source/rtl/left.c
  * source/rtl/math.c
  * source/rtl/maxrow.c
  * source/rtl/mlcfunc.c
  * source/rtl/mouse53.c
  * source/rtl/mousex.c
  * source/rtl/mtran.c
  * source/rtl/natmsg.c
  * source/rtl/padc.c
  * source/rtl/padl.c
  * source/rtl/padr.c
  * source/rtl/philes.c
  * source/rtl/philes53.c
  * source/rtl/rat.c
  * source/rtl/replic.c
  * source/rtl/right.c
  * source/rtl/round.c
  * source/rtl/run.c
  * source/rtl/saverest.c
  * source/rtl/scroll.c
  * source/rtl/setcolor.c
  * source/rtl/setcurs.c
  * source/rtl/setpos.c
  * source/rtl/shadow.c
  * source/rtl/strc.c
  * source/rtl/strmatch.c
  * source/rtl/strpeek.c
  * source/rtl/strtoexp.c
  * source/rtl/strtran.c
  * source/rtl/stuff.c
  * source/rtl/substr.c
  * source/rtl/tone.c
  * source/rtl/trace.c
  * source/rtl/transfrm.c
  * source/rtl/valtype.c
  * source/rtl/word.c
  * source/vm/arrayshb.c
  * source/vm/asort.c
  * source/vm/classes.c
  * source/vm/cmdarg.c
  * source/vm/eval.c
  * source/vm/hashfunc.c
  * source/vm/hvm.c
  * source/vm/memvars.c
  * source/vm/proc.c
  * source/vm/thread.c
    * IS*() -> HB_IS*() macro rename.
      (pass 1 - sf.net SVN works badly today, so I've split 
      the commit to raise the chances of a successfully 
      finished one)
2009-06-13 22:44:34 +00:00
Pritpal Bedi
a613de0049 2009-06-13 15:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/tests/demoxbp.prg
    ! Added AppSys() call as it is required for Xbase++ to flag 
      that application is GUI one.
2009-06-13 22:29:49 +00:00
Pritpal Bedi
93762e9fc7 2009-06-13 15:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/xbp_temp.prg
    + Added missing functions.
2009-06-13 22:27:39 +00:00
Pritpal Bedi
497a6f50a7 2009-06-13 14:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/xbp.ch
  * harbour/contrib/hbxbp/xbpdialog.prg
  * harbour/contrib/hbxbp/xbpgeneric.prg
  * harbour/contrib/hbxbp/xbpmenubar.prg
  * harbour/contrib/hbxbp/xbpwindow.prg

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Implemented XbpMenuBar() | XbpMenu() classes.
    + Implemented :setColorFG() | :setColorBG() for all widgets.
    
    /* 
       Almost all the features of XbpMenuBar() and XbpMenu() 
       classes are implemented with the exception of following:

       TODO: XbpMenu*()
             : beginMenu    - callback
             : endMenu      - callback
             : selectItem() - method 
             : setItem()    - method
             : insItem()[P] - method - Prompts-OK   Submenu-NotOK
             : XBPMENUBAR_MIA_FRAMED - 4th parameter of <aItem>

       NOTE: I could not find how or with which method Xbase++ is 
             setting a menu item both with 'text' and 'bitmap'. It is 
             done via separate calls. So I have extended the <xCaption>
             slot of <aItem> property ( whereever applicable ) as:
             <cIcon>+"|"+cCaption which is parsed and then both objects
             are inserted together as one option.

             I do not know if Xbase++ supports text and background colors
             in the menu's or not but in Harbour you can set them for
             indivisual menu basis.

       REQUEST: Please test the code both with Xbase++ and Harbour and 
             report on the list any differeces. I want to set these right
             from the very begining.

       NEXT: Working on XbpToolbar() class.

    */
2009-06-13 21:49:34 +00:00
Pritpal Bedi
122ceae207 2009-06-13 14:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/hbqtgen.prg
  * 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_slots.h

  * harbour/contrib/hbqt/hbqt_qcolor.cpp
  + harbour/contrib/hbqt/hbqt_qkeysequence.cpp
  * harbour/contrib/hbqt/hbqt_qpalette.cpp
  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/moc_slots.cpp

  * harbour/contrib/hbqt/TQColor.prg
  + harbour/contrib/hbqt/TQKeySequence.prg
  * harbour/contrib/hbqt/TQPalette.prg

  * harbour/contrib/hbqt/qth/QColor.qth
  + harbour/contrib/hbqt/qth/QKeySequence.qth
  * harbour/contrib/hbqt/qth/QPalette.qth
    + Added one more class and implemented constructors for others.
    + Added more event handellers used in xbp* classes.
2009-06-13 21:27:13 +00:00
Viktor Szakats
dd6e92c7d8 2009-06-13 20:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbblat/syntax.txt
  + contrib/hbblat/readme.txt
    * Renamed.
2009-06-13 18:55:06 +00:00
Viktor Szakats
bd69c68625 2009-06-13 20:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbxbp/hbqt.ch
  * contrib/hbqt/Makefile
  + contrib/hbqt/hbqt.ch
    * Moved hbqt.ch under hbqt library.

  * contrib/hbxbp/Makefile
  - contrib/hbxbp/apigeneric.cpp
  + contrib/hbxbp/xbp_temp.prg
    ! Converted stub functions from C++ to .prg code.
      Functionality unchanged.
    ! This also fixed <windows.h> reference in old .cpp file,
      so now hbxbp can be built on non-Windows systems.

  * contrib/hbwin/wapi_winbase.c
    + Added new API wrapper:
      WAPI_OUTPUTDEBUGSTRING()
      NOTE: If "outdebug" functionality is needed temporarly
            to debug any Harbour code, above call can be used
            and it's enough to add hbwin to the liblist. It's
            very important however, to only enable these calls
            in _local Windows environment_, firstly to not create
            any Windows dependence for portable libs, secondly
            to not create an unwanted hbwin lib dependence
            even on Windows-only libs.
            I suggest using something like this:
            ---
            #if defined( __HB_OUTDEBUG__ )
               #xtranslate HB_OUTDEBUG( [<x>] ) => WAPI_OUTPUTDEBUGSTRING( <x> )
            #else
               #xtranslate HB_OUTDEBUG( [<x>] ) =>
            #endif
            [...]
            HB_OUTDEBUG( "my Windows-only trace call" )
            ---
            And simply use 'set HB_USER_PRGFLAGS=-D__HB_OUTDEBUG__'
            in local Windows environment to enable it.
            Probably similar can be added for .c level.
            ******************************************************
            Anyhow, I'd *strongly* suggest to use portable tracing
            techniques like our existing HB_TRACE().
            ******************************************************
2009-06-13 18:44:56 +00:00
Viktor Szakats
3219e88ed7 2009-06-13 13:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/achoice.prg
    ! Partially reverted this commit:
      https://sourceforge.net/apps/trac/harbour-project/changeset/10605
      After this change, activating DBU menus with all items disabled
      (f.e. F7/F8) caused app hang.
      This line:
         nUserFunc := iif( nMode != AC_NOITEM,;
            Do( xUserFunc, nMode, nPos, nPos - nAtTop ), NIL )
      Was now changed back to this:
         nUserFunc := Do( xUserFunc, nMode, nPos, nPos - nAtTop )
      ac_test2.prg still seem to function fine after this, but
      I'd kindly like to ask Vladislav Lavrecky to make tests
      again, maybe we need another fix here.

  * source/vm/evalhb.c
    * Minor formatting.

  * contrib/hbtip/client.prg
    * Minor formatting.
    ! :ReadToFile() nMode param check.

  * utils/hbmk2/hbmk2.prg
    * Cleanup to variable name prefixes.

  * contrib/xhb/Makefile
  + contrib/xhb/xthrow.prg
    + Added THROW() function for xhb compatibility.
      This is written in Harbour, based on hbcompat.ch
      and has Harbour license + exception.

  + contrib/xhb/xcstr.prg
  + contrib/xhb/xdbmodst.prg
  * contrib/xhb/Makefile
    + Ported following old functions from xhb:
      CSTRTOVAL(), STRINGTOLITERAL(), VALTOPRG(), PRGEXPTOVAL()
    + Ported following new functions from xhb:
      VALTOARRAY(), VALTODATE(), VALTOHASH(), VALTOLOGICAL()
      VALTONUMBER(), VALTOARRAY(), VALTOTYPE(),
      DBMODIFYSTRUCTURE(), DBIMPORT(), DBMERGE()
      (borrowed from xhb, work of Ron Pinkas)
2009-06-13 11:56:32 +00:00
Viktor Szakats
b491ab27bb 2009-06-12 17:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_deb.sh
    ! Applied patch to recent change to only accept 
      QT libs on or above version 4.5.0.
      Patch submitted by Guy Roussin.

  * utils/hbmk2/hbmk2.prg
    + Added ${hb_status} and ${hb_revision} macros which 
      will return Harbour version status and revision.

  * contrib/rddads/ads1.c
    ! Fixed to allow EF_CANDEFAULT in EG_DATAWIDTH RTE when
      trying to update field content.

  * examples/dbu/dbu52.dif
  * examples/dbu/dbu53.dif
    ! Fixed two more filename edit fields where uppercase was
      forced. Thanks to Davor Siklic for the hint.
2009-06-12 15:50:37 +00:00
Viktor Szakats
994eff4250 2009-06-12 14:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/superlib/readme.txt
  * examples/dbu/readme.txt
  * examples/rl/readme.txt
    + Added workaround for hbformat needing quotes around wildcarded
      input filenames on *nix systems.

  * examples/dbu/dbu52.dif
  * examples/dbu/dbu53.dif
    ! Added fix to not force uppercase in filename input GETs.
      Thanks to Davor Siklic for the hint.

  * examples/rl/rl.dif
    ! Added fix to not force uppercase in filename input GET.
2009-06-12 12:50:40 +00:00
Viktor Szakats
0f918fcc7d 2009-06-12 12:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/superlib/readme.txt
    + Added separate hbformat line for *.c files.
      NOTE: Indeed, passing both *.c and *.prg in command line doesn't work.
    + Added unpack instructions.
2009-06-12 10:27:26 +00:00
Viktor Szakats
0357e36960 2009-06-12 12:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/superlib/readme.txt
  * examples/dbu/readme.txt
  * examples/rl/readme.txt
    * Added -l option to patch command line. This is needed because
      hbformat trims line ending space which by default confuses
      patch.
      [ for dbu52.dif this caused three failed HUNKs in dbu.prg ]
    % Merged patch options '-l -N -i' into '-lNi'.
2009-06-12 10:11:15 +00:00
Alexander S.Kresin
6969aa63c2 2009-06-12 13:30 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su>
* utils/hbformat/hbformat.prg
    ! EOL handling fixed
  * utils/hbformat/hbformac.c
    * EOF dropped now
2009-06-12 09:27:24 +00:00
Viktor Szakats
74585bd192 2009-06-12 11:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to autodetect special *nix dir layout in case 
      HB_INSTALL_PREFIX envvar is set.
    % Removed an unreachable error message.
2009-06-12 09:10:13 +00:00
Viktor Szakats
caeeac68d5 2009-06-12 11:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/debug/dbgentry.c
  * contrib/xhb/hbxml.c
  * contrib/hbbtree/hb_btree.c
    % hb_itemRelease( hb_itemReturn() ) -> hb_itemReturnRelease()

  * contrib/xhb/hbxml.c
    ! Applied this fix from xhb:
      2008-11-06 20:00 UTC+0100 Jose F. Gimenez <jfgimenez/at/wanadoo.es>
      ! 'Escape' characters, such &amp; or &quot; were not written correctly in node attribute values
      ! 'Escape' characters in the form &#NN; and &#xHH; were not allowed when reading
2009-06-12 09:03:14 +00:00
Viktor Szakats
b3ae940405 2009-06-12 09:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkimp.bat
    * Renamed 'owatcom' to 'watcom'. (missed from prev)
2009-06-12 07:41:07 +00:00
Viktor Szakats
a12807edfe 2009-06-12 09:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/man/hbmk.1
  * doc/whatsnew.txt
  * INSTALL
  * bin/hb-mkdyn.bat
  * external/libhpdf/Makefile
  * make_gnu.bat
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/contribf.hbc
  * source/vm/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbxbp/Makefile
  * contrib/gtqtc/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbssl/Makefile
  * config/dos/global.cf
  - config/dos/owatcom.cf
  + config/dos/watcom.cf
  - config/win/owatcom.cf
  + config/win/watcom.cf
  - config/linux/owatcom.cf
  + config/linux/watcom.cf
  - config/os2/owatcom.cf
  + config/os2/watcom.cf
    * Renamed 'owatcom' to 'watcom'.
      Please adjust your make files, or just let them autodetect.

  * utils/hbmk2/examples/contribf.hbc
    ! Adjusted hbsqlit3 filter after enabling for dos.

  * external/sqlite3/Makefile
    + Added comment for DJGPP hack.
2009-06-12 07:28:53 +00:00
Viktor Szakats
59e635228f 2009-06-12 00:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * mpkg_win.nsi
    * Updated sf.net hosted apps links (phpBB forum and Trac) 
      after todays site update.
      Old links will also work indefinitely.
2009-06-11 22:41:51 +00:00
Viktor Szakats
dcd9c722ff update sqlite bugreport link in previous ChangeLog entry 2009-06-11 22:31:22 +00:00
Viktor Szakats
b104f85321 2009-06-12 00:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/sqlite3.c
  * external/sqlite3/Makefile
    ! Fixed DJGPP compilation, with extra cmdline macro.
      There are still some missing symols at link phase.
      Submitted as bug: 'sqlite - Ticket #3910'
         http://www.sqlite.org/cvstrac/tktview?tn=3910
    + Enabled sqlite3 lib for dos platform. It also
      compiles with owatcom.

  - contrib/hbsqlit3/tests/authorizer.prg
  + contrib/hbsqlit3/tests/sl3_test.prg
  - contrib/hbsqlit3/tests/sqlite3_test.prg
  + contrib/hbsqlit3/tests/authoriz.prg
    ! Renamed long filenames to short ones.
2009-06-11 22:29:00 +00:00
Viktor Szakats
4617ce252c 2009-06-11 21:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbsqlit3/Makefile
    + Enabled for DOS platform.
2009-06-11 19:50:14 +00:00
Viktor Szakats
4b17624bbf 2009-06-11 21:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gtwvt/Makefile
    + Added architecture protection.
      Just a step to make them all self detecting.

  * mpkg_win.nsi
    * Updated links installed.

  * examples/superlib/readme.txt
  * examples/dbu/readme.txt
  * examples/rl/readme.txt
    ! Fixed my typo in hbformat cmdline.
2009-06-11 19:05:34 +00:00
Alexander S.Kresin
0c5fc764f2 2009-06-11 22:57 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su>
* source/debug/tbrwtext.prg
    ! Bug fixed in Search() method.
2009-06-11 18:56:23 +00:00
Viktor Szakats
71604bbfa3 2009-06-11 17:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    - Deleted link to clc newgroup.

  * contrib/hbsqlit3/hbsqlit3.c
    + Now all Harbour callable functions are always defined
      regardless of sqlite3 library version, and those which
      aren't available return permanent error.
2009-06-11 15:48:11 +00:00
Viktor Szakats
f153a84d32 2009-06-11 17:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed C++ support for dos/djgpp. exe name was wrong.

  * examples/superlib/readme.txt
  * examples/dbu/readme.txt
  * examples/rl/readme.txt
    + Added hbformat command to intructions how to convert
      original sources to patchable format (EOL + lowercase).
      Many thanks to Alexander Kresin.
2009-06-11 15:15:57 +00:00
Alexander S.Kresin
bbe30929d8 2009-06-11 19:10 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su>
* utils/hbformat/hbformat.prg
  * utils/hbformat/hbformat.ini
    * if "nEol" option is 0, the EOL is set to OS default value
    * new option added - lFCaseLow ( default - no ). If yes, the file name
      is converted to lower case.
    * A limitation for file mask has been introduced - *.* is rejected now
      ( it may be dangerous ).
2009-06-11 15:09:58 +00:00
Viktor Szakats
cd67076cf6 2009-06-11 13:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libpng/Makefile
    ! Fixed to properly link with DJGPP.

  * utils/hbmk2/hbmk2.prg
    ! Fixed ${hb_cpu} macro for dos/os2 platforms.

  * contrib/hbhpdf/Makefile
  * utils/hbmk2/examples/contribf.hbc
    + Enabled for DOS platform.

  ; I could back port my app to DOS after these changes, with
    only inet stuff not linked in.
2009-06-11 11:05:16 +00:00
Viktor Szakats
4259e6ca3d 2009-06-11 11:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Further cleanups in pocc examples.

  * utils/hbmk2/hbmk2.prg
    + Added support to detect pocc64 vs. pocc when one 
      common PellesC installation is used. This is probably 
      how most users will use it in real life.
      New pocc 6.0 support one unified build for pocc, pocc64 and poccarm.
2009-06-11 09:05:52 +00:00
Viktor Szakats
1817ad2b29 2009-06-11 10:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbxbp/tests/hbqt.hbc
  + contrib/hbxbp/tests/hbmk.hbm
  + contrib/hbxbp/hbxbp.hbc
    * Sorted out hbmk2 make files.

  * contrib/hbxbp/Makefile
    + Added hbqt dir as include path to .prg level.
      After this hbqt.ch can be moved to hbqt lib where
      it belongs (at least that's what its name suggest).

  * contrib/hbxbp/appevent.ch
    ! SVN header.

  ; TOFIX: There is a windows.h reference in apigeneric.cpp.
2009-06-11 08:18:46 +00:00
Pritpal Bedi
1c88611400 2009-06-11 00:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ harbour/contrib/hbxbp

  + harbour/contrib/hbxbp/Makefile

  + harbour/contrib/hbxbp/xbp.ch
  + harbour/contrib/hbxbp/hbqt.ch
  + harbour/contrib/hbxbp/apig.ch
  + harbour/contrib/hbxbp/appevent.ch
  + harbour/contrib/hbxbp/apigeneric.cpp

  + harbour/contrib/hbxbp/xbpdialog.prg
  + harbour/contrib/hbxbp/xbpgeneric.prg
  + harbour/contrib/hbxbp/xbpmenubar.prg
  + harbour/contrib/hbxbp/xbpparthandler.prg
  + harbour/contrib/hbxbp/xbpwindow.prg

  + harbour/contrib/hbxbp/tests
  + harbour/contrib/hbxbp/tests/copy.png
  + harbour/contrib/hbxbp/tests/cut.png
  + harbour/contrib/hbxbp/tests/new.png
  + harbour/contrib/hbxbp/tests/open.png
  + harbour/contrib/hbxbp/tests/paste.png
  + harbour/contrib/hbxbp/tests/save.png
  + harbour/contrib/hbxbp/tests/test.ico

  + harbour/contrib/hbxbp/tests/hbqt.hbc

  + harbour/contrib/hbxbp/tests/demoxbp.prg
    
    + Initial upload of Xbase++ compatible class framework based on QT 4.5.

    /*
        As this lib is subject to heavy changes per contents and file names
        and as I have to constantly need logging, some windows specific stuff
        is present at a couple of places. Linus users may comment these out.

        demoxbp is functional to the extent it is demonstrated. Please note that
        demo is based on Xbase++ exact code without any hacks. I have simulated
        AppEvent() function which I think should be set right from the begining.
        So I will ask you to give it a thought.

        Your input will be very valuable to make this project success.

        At the final phase this lib will purely be a PRG code based on hbqt.lib
        for API interface.
    */
2009-06-11 08:04:26 +00:00
Viktor Szakats
e493c06d8e 2009-06-11 10:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Revised links section.
    + Added User Forums, removed user mailing list.
    ; I'm not sure if we should link to comp.lang.clipper.

  * utils/hbmk2/hbmk2.prg
    ! Fixed just added -hblib lib assembly command line to use {SCRIPT}
      in dos/djgpp.
2009-06-11 08:01:34 +00:00
Pritpal Bedi
58bbdad1b4 2009-06-11 00:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/hbqtgen.prg
  * harbour/contrib/hbqt/generator/qt45.qtp
  * harbour/contrib/hbqt/hbqt.h

  + harbour/contrib/hbqt/hbqt_qkeyevent.cpp
  + harbour/contrib/hbqt/hbqt_qmouseevent.cpp

  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_slots.h
  * harbour/contrib/hbqt/Makefile_gen
  * harbour/contrib/hbqt/moc_slots.cpp

  + harbour/contrib/hbqt/qth/QKeyEvent.qth
  + harbour/contrib/hbqt/qth/QMouseEvent.qth
  + harbour/contrib/hbqt/TQKeyEvent.prg
  + harbour/contrib/hbqt/TQMouseEvent.prg
    + Added two more classes.
    + Added more event handlers.
2009-06-11 07:38:52 +00:00
Viktor Szakats
059939de5f 2009-06-11 08:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Stripped "\devl" from all examples dirs.
    + Adjusted all examples dir to use default installation
      paths where possible.
    + Adjusted examples dir to not include a version number.
    + Added OS/2 Watcom example (untested)
    ; These makes example much more readily usable and
      avoid some more potential confusion.

  * mpkg_win.bat
    ! Handling spaces in HB_DIR_NSIS.

  * make_gnu.bat
    + Added beeps if errors were detected.
      (step towards error handling)

  * source/common/hbver.c
    * Changed OS version for DOS to show "(Windows NT)
      under NT systems (instead of former "(Windows NT/2000)").
2009-06-11 06:25:39 +00:00
Viktor Szakats
8875ec290f 2009-06-10 23:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
; TOFIX: dos/owatcom builds can now created successfully
           (using standard Open Watcom 1.8 installation),
           the bad news is that f.e. hbmk2 will crash the
           NTVDM when trying a simple make.

  * INSTALL
    ! Minor fix to DOS instructions.
    + Added DOS build examples.

  * mpkg_dos.bat
    ! Fixed target dir and archive name to be different
      for djgpp and owatcom builds.

  * make_gnu.bat
  + config/djg-make.exe
    + Added embedded copy of DOS build of GNU Make.
      This is to make DOS builds, specifically dos/owatcom
      builds simpler. Original filename was 'make.exe'.
      This can probably be removed once we move DOS
      platform status to a 'target-only' one, like WinCE/ARM.

  * make_gnu.bat
    ! Ugly hack added to create doc/en-EN dir. This still
      won't solve the DOS copy problem unless I remove
      the hack committed previously. If I remove it
      the make process cannot be anymore started without
      this batch file as it would choke on xcopy if
      above dir doesn't exist.

  * make_gnu.sh
    ! Applied fix to only create install dirs if called
      with 'install' option. At the same time enabled
      this feature for all platforms. It will also create
      doc/en-EN dir.
      PLEASE TEST/REVIEW, I didn't do any testing.
    ; TOFIX: Much or all of these should IMO be done directly
             from make files, it would be much self-contained
             and consistent.

  * source/pp/Makefile
    ! Fixed to find ChangeLog when building for DOS targets.
      This was a problem when trying to build dos/owatcom.
      Now in DOS mode it will refer to the ChangeLog by its
      8.3 name.

  * utils/hbmk2/hbmk2.prg
    * Minor formatting.

  * mpkg_deb.sh
  * harbour.spec
    - Deleted hbmsql.
    ; TOFIX: hbqt is missing from some Linux make files.
    ; TOFIX: (in next major release) We should try to 
             make Linux build files less-maintenance intensive.
2009-06-10 21:49:10 +00:00
Viktor Szakats
054d4e1873 2009-06-10 21:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed windows/dos cross-compilation. The error is very
      strange, it occures only when calling gcc in compiler
      mode with @script file. See comment in source, maybe 
      someone has an idea.
      Anyway now it's possible to bundle DOS libs in the unified 
      Windows build and create DOS apps/libs with it, using this command:
         hbmk2 hello.prg -arch=dos
         [needs DJGPP in PATH]
      (I couldn't make owatcom work on DOS, but that may also work 
      along the same lines)
    + Added support for static lib generation for dos/djgpp.
    + Added support for static lib generation for os2/gcc. (untested)
      Where are our OS/2 developers?
2009-06-10 19:13:26 +00:00
Viktor Szakats
de8c2e9544 2009-06-10 20:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/en-EN/Makefile
  * config/dos/global.cf
  * config/dos/install.cf
  * config/doc.cf
    ! Fixes to prev. Nothing is simple in the world of DOS.
      'copy' restored for general purpose to avoid idiotic 
      and unavoidable Microsoft xcopy message:
      "Does destination specify a file name or directory name on the target 
       (F = file, D = directory)?"
    * Using xcopy for install purposes only.
    * Change the way above idiotic message is avoided. Made the 
      hack local to Makefile. It doesn't work either way, but at 
      least it lets it run.

  * make_gnu.bat
    * Minor.
2009-06-10 18:13:53 +00:00
Viktor Szakats
74897c3b20 2009-06-10 19:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/global.cf
    ! Typo in prev.

  * ChangeLog
  - ChangeLog-old
    * Restored unified ChangeLog. I know it has some drawbacks,
      like longer loading time with some apps, but it's much
      more elegant this way and easier to search in it.
2009-06-10 17:44:44 +00:00
Viktor Szakats
6243be7d28 2009-06-10 19:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/global.cf
    ! Fixed to use xcopy instead of copy to 'install' files.
      This means long filenames (and also casing) will be retained.
      This also means that now 'install' actually works.
      It may also mean that creating a DJGPP build isn't anymore
      possible on a pure DOS system, I can't remember when xcopy
      was introduced. Anyway I think it's better to have this
      requirement than not having a proper DOS build at all
      (since long years).
      This also means that our DOS release cannot even be *used* 
      in pure DOS environment, since our long filenames will 
      be chopped when extracting the distro .zip. Only final 
      .exes are able to run under DOS.
      We still have the option to implement full short name 
      support, but I'm not sure this has any importance anymore.
      If we don't want to do this, we can finally lift some 
      restrictions which tied our hands so far, based on the 
      fact that DOS builds cannot even be created and run on 
      real DOS. So, this means:
        - We may use long filenames as distro name.
        - We may convert DOS platform as a target only platform, 
          similar to WinCE/ARM.
        - If we do the above, we may even embed our DOS
          libs in Windows distro, and build DOS apps using
            hbmk2 hello.prg -arch=dos
        - We may use long filename anywhere in our tree.
          (but we must check first if long names are also 
          supported for headers, dirnames and source names)
      If you have an opinion, please tell.

  * config/dos/global.cf
    ! Adding ending pathsep to DOC_SUBDIR to make xcopy happy
      and not ask if the target is a file or directory.
    ; TOFIX: Anyhow, DOC_SUBDIR feature simply doesn't work since
             very long, so we should do something about it in the future.

  * debian/changelog
    + Added new version entry. (Thanks Guy)

  * bin/postinst.bat
    ! Added workaround to make it work under DOS.
      (avoiding 'Out of environment space' error)

  + mpkg_dos.bat
    + Added DOS package generator batch. Very similar
      to mpkg_win.bat, maybe we should merge them in
      the future.

  * mpkg_win.bat
    * Using short name for main dir, just to sync it with
      DOS version.

  * utils/hbformat/hbformat.prg
    + Changed default GT to GTCGI.

  * utils/hbmk2/hbmk2.prg
    ! Added workaround for dos/djgpp anomaly in hb_DirBase()
      (and also hb_ProgName()) where path contains forward
      slashed instead of backslashes.
    ; TOFIX: In core.

  * source/vm/Makefile
    ! Disabled hbvmall for dos build because of thid djgpp error:
      ---
      gcc -I. -I../../../../include  -Wall -W -O3    -c ../../hvmall.c -ohvmall.o
      In file included from ../../../../include/hbmath.h:60,
                      from ../../itemapi.c:97,
                      from ../../hvmall.c:67:
      c:/devl/djgpp/include/libm/math.h:97: error: redefinition of 'struct exception'
      ---

  * contrib/hbblat/hbblat.hbc
  * contrib/hbhpdf/hbhpdf.hbc
    * Minor formatting.
2009-06-10 17:38:18 +00:00
Viktor Szakats
ffac52b2a2 2009-06-10 13:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ examples/hbmsql/tests/hbmk.hbm
   - examples/hbmsql/tests/hbmsql.hbc
   + examples/hbmsql/hbmsql.hbc
     * hbmk2 make file rearrangement continued.
2009-06-10 11:20:16 +00:00
Viktor Szakats
484d339668 2009-06-10 13:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/gtalleg/tests/hbmk.hbm
  - contrib/gtalleg/tests/gtalleg.hbc
  + contrib/gtalleg/gtalleg.hbc
  + contrib/hbqt/tests/hbmk.hbm
  - contrib/hbqt/tests/hbqt.hbc
  + contrib/hbqt/hbqt.hbc
  + contrib/hbwin/tests/hbmk.hbm
  - contrib/hbwin/tests/hbwin.hbc
  + contrib/hbwin/hbwin.hbc
  + contrib/hbblat/tests/hbmk.hbm
  - contrib/hbblat/tests/hbblat.hbc
  + contrib/hbblat/hbblat.hbc
  + contrib/hbhpdf/tests/hbmk.hbm
  - contrib/hbhpdf/tests/hbhpdf.hbc
  + contrib/hbhpdf/hbhpdf.hbc
    * Experimental round of rearranging hbmk2 make files to give
      a more generic layout. This means that in 'tests' dir there
      now will only be an automatically processed .hbm file,
      which adds some extra options to the hbmk2 command line,
      in these case, they will add a reference to the contrib
      lib config file (.hbc), now moved to the contrib root,
      it's proper place.
    * Separated test program extra lib requirements from contrib
      lib requirements in hbblat and hbhpdf.
    ; TODO: Do this for the rest of contribs.
2009-06-10 11:17:59 +00:00
Viktor Szakats
a4f90ee0fb 2009-06-10 09:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
     + Added comp.lang.clipper as public forum.

   * make_gnu.bat
     ! Minor.

   * source/pp/hbpp.c
     ! Added version status to banner.

   * examples/superlib/hbsuper.hbp
   * examples/superlib/hbsuper.dif
   * examples/superlib/readme.txt
   * examples/dbu/dbu.hbp
   - examples/dbu/dbu.dif
   + examples/dbu/dbu52.dif
   + examples/dbu/dbu53.dif
   * examples/dbu/readme.txt
   * examples/rl/rl.hbp
   * examples/rl/rl.dif
   * examples/rl/readme.txt
     * Updated instructions: New item for *nix users to convert
       to lowercase and native EOL format, added hbmk2 command
       for all projects, separate 5.2/5.3 DBU patches.
     + Added separate patch for C53 version of DBU sources.
     * Converted all original filename references to lowercase.
     ! Fixed a few bugs in previous patches.
     ! Fixed .dif files to work on both *nix and non-*nix systems
       (had to create them on *nix then convert them to have consistent EOLs)
2009-06-10 07:48:17 +00:00
Viktor Szakats
3b8d0f42a3 2009-06-09 22:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_deb.sh
    + Added hbqt lib. Submitted by Davor Siklic. Thank you.

  * tests/wvtext.prg
    ! Filename converted to lowercase.

  - contrib/hbqt/tests/wvtext.prg
  - contrib/gtqtc/tests/wvtext.prg
    - Deleted duplicates of this demo.
2009-06-09 20:44:55 +00:00
Viktor Szakats
9702d3a9ae 2009-06-09 21:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Harbour version cleaned from postfix.

  - contrib/hbct/tests/Makefile
  - contrib/hbfbird/tests/Makefile
  - contrib/hbpgsql/tests/Makefile
  - contrib/hbbtree/tests/Makefile
  - examples/hbdoc/examples/core_es/Makefile
    - Deleted GNU Make files not necessary.
2009-06-09 19:16:30 +00:00
Viktor Szakats
fd0d9b8f33 usual typo 2009-06-09 14:01:53 +00:00
Viktor Szakats
1abaae6c84 2009-06-09 15:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * mpkg_win.bat
  * include/hbver.h
  * harbour.spec
    * Changed version to 2.0.0beta1 (from 2.0.0dev)
    ; NOTE: Everyone is encouraged to create binary releases
            for various platforms and try this new with real apps.
            We can even upload these binary releases to 
            sf.net.
2009-06-09 14:01:05 +00:00
Viktor Szakats
28a1035af6 2009-06-09 14:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Synced HB_DYNLIB handling with GNU Make. This means
      that from now on hbmk2 won't use -DHB_DYNDLL C compiler
      switch in -hbdyn mode for mingw/cygwin compilers.

  * ChangeLog
    * Updated status of some TODO/TOFIX entries.

  * contrib/rddsql/sddodbc/tests/sddodbc.hbc
    + Added odbc32 to lib list for win platform.

  * utils/hbmk2/hbmk2.hbp
  * utils/hbrun/hbrun.hbp
    * Removed mingw specific hack which made benefit from
      the fact that mingw-made .dlls export all public symbols,
      when built for shared.
2009-06-09 12:57:22 +00:00
Viktor Szakats
59967d646b 2009-06-09 10:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor simplification.

  * make_gnu.bat
    * Minor cleanup.
    - Deleted 'don't modify, this is a template' text.

  * utils/hbmk2/hbmk2.prg
    + Targets will now get an alternate workdir by default
      on win/wce platforms when using -hbdyn.
    ; TOFIX: ? HB_DYNLIB usage should be cleaned and synced with
             GNU Make system.
             Current HB_DYNLIB usage:
                GNU Make system: ( win or wce ) and non-gcc
                hbmk2: ( win or wce )

  * contrib/Makefile
  - contrib/hbmsql
  + examples/hbmsql
    * Moved hbmsql to examples.

  - examples/hbmsql/Makefile
  + examples/hbmsql/hbmsql.hbp
    + Changed GNU Make file to hbmk2 make file.

  * examples/hbmake/hbmake.hbp
    * Minor to comment.
2009-06-09 08:53:24 +00:00
Przemyslaw Czerpak
5fb3589a14 2009-06-09 10:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/do.c
    ! fixed mistake in previous commit
2009-06-09 08:44:55 +00:00
Przemyslaw Czerpak
68225e9ad1 2009-06-09 10:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/eval.c
    * update number of parameters in HB_EXECMSG() to keep the HVM stack
      clean for any external code which can try to make some HVM stack
      tracing/scanning

  * harbour/source/vm/evalhb.c
    ! use hb_vmSend() instead of hb_vmDo()

  * harbour/source/pp/pplib.c
  * harbour/source/pp/pplib3.c
  * harbour/source/vm/runner.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/thread.c
  * harbour/source/vm/eval.c
  * harbour/source/vm/dynlibhb.c
  * harbour/source/vm/classes.c
  * harbour/source/rtl/do.c
  * harbour/source/rtl/xhelp.c
  * harbour/source/rdd/workarea.c
  * harbour/source/rdd/dbf1.c
    % use hb_vmProc() instead of hb_vmDo() in all places where context is
      well known as function or procedure call
2009-06-09 08:28:40 +00:00