Commit Graph

1825 Commits

Author SHA1 Message Date
Viktor Szakats
0117fa62b5 2012-10-07 15:10 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/aavg.prg
  * contrib/hbnf/adessort.prg
  * contrib/hbnf/amedian.prg
  * contrib/hbnf/anomatch.prg
  * contrib/hbnf/any2any.prg
  * contrib/hbnf/asum.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/d2e.prg
  * contrib/hbnf/ftround.prg
  * contrib/hbnf/invclr.prg
  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/tests/clrsel.prg
  * contrib/hbnf/tests/d2e.prg
    * do not use common.ch. __defaultNIL() is used instead, for
      full compatibility here. Should ideally be changed to
      hb_default(), but it will break RTE compatibility for
      invalid values. Should we do it? (this would also fix 
      calling internal functions from a contrib)

  * contrib/hbnf/tests/d2e.prg
    ! fixed defaulting to wrong value (regression)

  * extras/gtwvw/tests/drawimg.prg
  * extras/gtwvw/tests/ebtest7.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
  * extras/gtwvw/tests/wvwmouse.prg
  * extras/gtwvw/tests/wvwtest9.prg
    * do not use common.ch. Use hb_default() instead.

    ; Only gtwvg, hbgd, xhb and httpsrv remain to use common.ch
      for DEFAULT TO command. Notice it's bad practice since it
      only checks for NIL for defaulting, so RTE can easily be
      forced by passing a value of wrong type. DEFAULT TO can
      be directly replaced with __defaultNIL(), or ideally with
      hb_default(). Notice that hb_default() is a pure function,
      and since the default value needs to be evaluated even if
      correctly typed parameter is passed, it may have
      a performance penalty if that default value is coming as
      a result of complex expression or function call. I value
      type safety more than performance, so in most cases this
      is IMO a useful compromise, though of course someone might
      as well use 'IF ! HB_IS*( xVar ); xVar := xValue; ENDIF'
      which is type safe while having no extra RT performance
      penalty, though a bit verbose.

  * tests/hbpptest/hbpptest.prg
  * utils/hbtest/rt_misc.prg
    * do not include unused common.ch

  * contrib/xhb/cgi.ch
    * formatting
2012-10-07 13:13:07 +00:00
Viktor Szakats
47c6d171d1 2012-10-05 22:10 UTC+0200 Viktor Szakats (vszakats syenar.net)
* contrib/xhb/hterrsys.prg
  * contrib/xhb/htmutil.prg
  * contrib/xhb/tfile.prg
  * contrib/xhb/xhberr.prg
  * doc/en/file.txt
  * extras/gfspell/spell.prg
  * extras/guestbk/testcgi.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/uhttpd.prg
  * tests/inifiles.prg
  * utils/hbmk2/hbmk2.prg
    ! TCgiFile():Tell() fixed to return correct value
    * use fileio.ch constants instead of literals
2012-10-05 20:11:47 +00:00
Viktor Szakats
fffcfb0c4f 2012-10-05 11:55 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
  * utils/hbmk2/hbmk2.prg
    + Use the second parameter in HB_CWD() calls.

  * contrib/hbformat/hbfmtcls.prg
    ! fixed embedded comment in last commit.
2012-10-05 09:57:19 +00:00
Viktor Szakats
4c8277ea01 2012-10-04 13:20 UTC+0200 Viktor Szakats (harbour syenar.net)
- tests/testtok.prg
    - deleted obsolete token test code

  * contrib/hbformat/hbfmtcls.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbmxml/tests/custom.prg
  * contrib/hbmxml/tests/testmxml.prg
  * contrib/hbnf/ftround.prg
  * contrib/hbpgsql/tpostgre.prg
  * contrib/hbtip/ftpcli.prg
  * extras/gfspell/spell.prg
  * extras/gtwvw/tests/ebtest7.prg
  * extras/hbvpdf/hbvpdf.prg
  * extras/hbvpdf/hbvpdft.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
  * src/debug/dbgtmenu.prg
  * src/debug/debugger.prg
  * tests/db_brows.prg
  * tests/inherit.prg
  * tests/rto_tb.prg
  * tests/stripem.prg
  * utils/hbi18n/hbi18n.prg
    ! fixed/avoided != operator on strings
2012-10-04 11:22:13 +00:00
Viktor Szakats
7603bde7b0 2012-10-04 01:47 UTC+0200 Viktor Szakats (harbour syenar.net)
- tests/test_all.prg
    * deleted MS-DOS batch specific tool. Now hbrun can 
      be used to run tests very easily

  * contrib/hbmisc/tests/rtfclass.prg
    * platform dependent stuff deleted/fixed

  * contrib/xhb/xhbfs.c
    * corrected .prg macro to C one (doesn't change 
      compiled code)

  * tests/test.prg
    * minor

  * utils/hbmk2/hbmk2.prg
    * changed "||" operator to ".OR." in #ifdef
2012-10-03 23:50:23 +00:00
Viktor Szakats
c33aa5aec1 2012-10-03 19:06 UTC+0200 Viktor Szakats (harbour syenar.net)
+ extras/hbvpdf/fonts.dat
  * contrib/gtwvg/*
  * extras/gtwvw/*
  * contrib/hbct/tests/addascii.prg
  * contrib/hbct/tests/expomant.prg
  * contrib/hbct/tests/finan.prg
  * contrib/hbct/tests/math.prg
  * contrib/hbct/tests/num1.prg
  * contrib/hbct/tests/trig.prg
  * contrib/hbct/tests/wordswap.prg
  * contrib/hbct/token2.c
  * contrib/hbfimage/tests/fitest.prg
  * contrib/hbmisc/stringp.prg
  * contrib/hbnf/tests/aredit.prg
  * contrib/hbpgsql/tests/cache.prg
  * contrib/hbsqlit3/tests/metadata.prg
  * contrib/hbsqlit3/tests/sl3_test.prg
  * contrib/hbtip/popcli.prg
  * contrib/hbwin/tests/olesrv4.prg
  * contrib/hbwin/tests/oletst3.prg
  * contrib/rddads/tests/datad.prg
  * contrib/xhb/hbstruct.ch
  * contrib/xhb/tcgi.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
  * contrib/xhb/xhbcls.ch
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbtedit.prg
  * doc/en/set.txt
  * extras/guestbk/testcgi.prg
  * extras/hbvpdf/hbvpdf.prg
  * extras/hbvpdf/hbvpdft.prg
  * extras/hbvpdf/hbvpsup.prg
  * extras/hbvpdf/tests/pdf_demo.prg
  * extras/hbvpdf/tests/tstpdf.prg
  * src/compiler/hbopt.c
  * src/rtl/gtsln/gtsln.c
  * src/rtl/tlabel.prg
  * src/rtl/treport.prg
  * tests/and_or.prg
  * tests/db_brows.prg
  * tests/gtchars.prg
  * tests/mt/mttest04.prg
  * tests/mt/mttest10.prg
  * tests/parexpr.prg
  * tests/rddtest/rddtst.prg
  * tests/vec1.prg
  * utils/hbtest/rt_misc.prg
  * utils/hbtest/rt_stra.prg
  * utils/hbtest/rt_trans.prg
    * more cleanups
    % font.dat restored and now included in binary form
      in source using __streaminclude #pragma (was base64 encoded)
2012-10-03 17:13:27 +00:00
Viktor Szakats
52d3f27442 2012-10-03 17:29 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
  * utils/hbmk2/hbmk2.prg
    + using HB_CWD() instead of DIRCHANGE()

  - tests/speedold.prg
  * contrib/gtwvg/3state.prg
  * contrib/gtwvg/activex.prg
  * contrib/gtwvg/bitmap.prg
  * contrib/gtwvg/checkbox.prg
  * contrib/gtwvg/class.prg
  * contrib/gtwvg/combobox.prg
  * contrib/gtwvg/crt.prg
  * contrib/gtwvg/dataref.prg
  * contrib/gtwvg/dialog.prg
  * contrib/gtwvg/drawarea.prg
  * contrib/gtwvg/genrc.prg
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/htmlview.prg
  * contrib/gtwvg/listbox.prg
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/mle.prg
  * contrib/gtwvg/paint.prg
  * contrib/gtwvg/parthdlr.prg
  * contrib/gtwvg/pushbut.prg
  * contrib/gtwvg/radiobut.prg
  * contrib/gtwvg/scrollbr.prg
  * contrib/gtwvg/sle.prg
  * contrib/gtwvg/statbar.prg
  * contrib/gtwvg/static.prg
  * contrib/gtwvg/syswnd.prg
  * contrib/gtwvg/tabpage.prg
  * contrib/gtwvg/tests/activex.prg
  * contrib/gtwvg/tests/cuigdlgs.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/demowvg1.prg
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/dyndlgs.prg
  * contrib/gtwvg/tests/modal.prg
  * contrib/gtwvg/tests/tbrowser.prg
  * contrib/gtwvg/tests/utils.prg
  * contrib/gtwvg/tests/wvtcls.prg
  * contrib/gtwvg/tests/xbp.prg
  * contrib/gtwvg/toolbar.prg
  * contrib/gtwvg/treeview.prg
  * contrib/gtwvg/wnd.prg
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvtwin.ch
  * contrib/hbct/getinfo.prg
  * contrib/hbhttpd/readme.txt
  * contrib/hbhttpd/widgets.prg
  * contrib/hbmzip/tests/myunzip.prg
  * contrib/hbmzip/tests/myzip.prg
  * contrib/hbnetio/tests/netiot02.prg
  * contrib/hbnf/hex2dec.prg
  * contrib/hbsqlit3/tests/backup.prg
  * contrib/hbwin/tests/pdfcreat.prg
  * contrib/hbwin/tests/testole.prg
  * contrib/rddsql/tests/arrayrdd.prg
  * contrib/xhb/cstruct.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/ttable.ch
  * contrib/xhb/txml.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xdbmodst.prg
  * ChangeLog
  * doc/en/command.txt
  * doc/en/hvm.txt
  * doc/en/menu.txt
  * doc/en/tbrowse.txt
  * extras/gtwvw/gtwvw.c
  * extras/gtwvw/hbgtwvw.h
  * extras/gtwvw/tests/cbtest1.prg
  * extras/gtwvw/tests/cbtest6.prg
  * extras/gtwvw/tests/drawimg.prg
  * extras/gtwvw/tests/ebtest7.prg
  * extras/gtwvw/tests/inpfocus.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
  * extras/gtwvw/tests/wvwmouse.prg
  * extras/gtwvw/tests/wvwtest9.prg
  * extras/gtwvw/wvwcheck.c
  * extras/gtwvw/wvwdraw.c
  * extras/gtwvw/wvwfuncs.c
  * extras/gtwvw/wvwmenu.c
  * extras/gtwvw/wvwpush.c
  * extras/gtwvw/wvwstbar.c
  * extras/gtwvw/wvwtbar.c
  * extras/hbvpdf/hbvpdf.prg
  * extras/hbvpdf/hbvpdft.prg
  * extras/hbxlsxml/tests/example.prg
  * extras/hbxlsxml/tests/example2.prg
  * extras/hbxlsxml/tests/example3.prg
  * extras/hbxlsxml/xlsxml_s.prg
  * extras/hbxlsxml/xlsxml_y.prg
  * extras/hbxlsxml/xlsxml.prg
  * extras/httpsrv/cookie.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
  * src/compiler/hbmain.c
  * src/debug/dbgtarr.prg
  * src/debug/dbgthsh.prg
  * src/debug/dbgtobj.prg
  * src/debug/debugger.prg
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/hbsix/sxcompat.prg
  * src/rtl/tpersist.prg
  * tests/and_or.prg
  * tests/clsccast.prg
  * tests/clsicast.prg
  * tests/clsscast.prg
  * tests/clsscope.prg
  * tests/codebl.prg
  * tests/cpinfo.prg
  * tests/foreach.prg
  * tests/inherit.prg
  * tests/memvar.prg
  * tests/mt/mttest01.prg
  * tests/mt/mttest02.prg
  * tests/mt/mttest03.prg
  * tests/mt/mttest04.prg
  * tests/mt/mttest05.prg
  * tests/mt/mttest06.prg
  * tests/mt/mttest07.prg
  * tests/mt/mttest09.prg
  * tests/mt/mttest10.prg
  * tests/rddtest/rddmktst.prg
  * tests/rddtest/rddtst.prg
  * tests/rto_get.prg
  * tests/rto_tb.prg
  * tests/speedtst.prg
  * tests/stripem.prg
  * tests/testpre.prg
  * tests/testwarn.prg
  * tests/transtst.prg
  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_hvma.prg
    * various formal cleanups
    ! fixed ==/!= operator usage in hbxlsxml
2012-10-03 15:37:14 +00:00
Viktor Szakats
f0bfd87f8d 2012-10-02 03:33 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * minor code cleanup by using macros for special dirs
2012-10-02 01:34:35 +00:00
Viktor Szakats
23fd285891 2012-10-02 03:08 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added tricky feature which attempts to autodetect whether
      a script is meant to be run on an interactive CUI as
      opposed to the default command line (CLI, aka GTCGI) mode.
      It makes it possible to keep cmdline oriented scripts
      running using GTCGI, while full-screen apps are run
      using GTWIN and friends without code changes. F.e.
      /tests apps can be run this way easily.
    ; scripts can force to use CLI by using:
      'REQUEST HB_GT_CGI_DEFAULT'
    ; scripts can switch to CUI mode explicitly by running
      this code:
      #ifdef __HBSCRIPT__HBSHELL
         hbshell_gtInteractive()
      #endif
      Experimental, might change to something more elegant.

  * tests/db_brows.prg
    ! fixed CUI for unicode and readded CUI drawing elements

  * tests/sbartest.prg
    * comment deleted
2012-10-02 01:10:22 +00:00
Viktor Szakats
520c8ea3f9 2012-09-28 01:20 UTC+0200 Viktor Szakats (harbour syenar.net)
+ contrib/hbnf/hbmk.hbm
    + added .hbm for to make it easy to build embedded test 
      code protected by FT_TEST macro
      (note most/some test code will fail in -w3 mode)

  * contrib/hbnf/nwuid.prg
  * contrib/hbnf/tempfile.prg
    * minor in comment

  * contrib/hbnf/pchr.prg
    * use string literals instead of Chr() call
    * minor formatting

  * contrib/hbnf/dispmsg.prg
    ! fixed test code to compile in -w3 mode
    ! fixed key handling for unicode (including one
      regression from recent days)
    * formatted // comments

  * contrib/hbnf/aredit.prg
    * use Asc() instead of using hardwired char codes

  * contrib/hbnf/clrsel.prg
    ! fixed test code to compile in -w3 mode
    ! replaced Chr() calls for CP437 chars to unicode strings
    * formatted // comments

  * contrib/hbnf/woy.prg
    * use Tone() instead of Chr( 7 )

  * utils/hbmk2/hbmk2.prg
    + hbshell_gtInteractive() to set hb_SetTermCP()
    ! for pure unicode mode, set HB_GTI_BOXCP to UTF8EX
      (note this will cause problems with current default
      box drawing chars used in RTL)
2012-09-27 23:22:07 +00:00
Viktor Szakats
a049c1d4c1 2012-09-27 23:44 UTC+0200 Viktor Szakats (vszakats syenar.net)
* utils/hbmk2/examples/plug_bis.hb
    % minor cleanup
  - contrib/hbnetio/utils/hbnetioq
    - deleted (find it here or from repo history: http://sourceforge.net/projects/hbqt/)
  * utils/hbmk2/examples/contribf.hbc
    * updated
2012-09-27 21:46:06 +00:00
Viktor Szakats
be7b8b0df8 2012-09-27 01:26 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! add -static option for win-wce/mingw* platforms
      when -fullstatic hbmk2 option is used. (in sync
      with rest of platform). Reported by Przemek.
      Please checkme!
2012-09-26 23:28:59 +00:00
Viktor Szakats
45f4f1418c 2012-09-25 00:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + hbstart.hb is now searched also at standard location on *nix
      system (the same places where hbmk.hbc is searched.)
    + hbstart.hb is now executed as normal script code
      (was line by line), so this .hb file can be just like
      any other .hb file.
2012-09-24 22:21:34 +00:00
Viktor Szakats
7f8730fb98 2012-09-24 10:39 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added support for 'hbstart.hb' script that gets
      executed _line by line_ on each startup. File is
      looked for in current dir than in the dir of
      hbrun/hbmk2 executable.
    ! fixed -run option on Windows for GUI executables (f.e. gtwvt)
      Thanks to Klas for details and Qatan for initial report
      [ It's possible similar patch is needed for OS/2. Please
      test and report. ]

  * contrib/hbqt/qtgui/qth/QWidget.qth
    ! disabled HBQT methods working differently on each platform.
      meaning they can only be used in platform dependent way (ie.
      they are non-portable methods) while HBQT is to be a portable
      component.
      - If .qth files start to support conditionals, it can
        be readded as built-time option:
           HB_BUILD_PRGFLAGS=-DHBQT_NON_PORTABLE
      - or kept as local patch for those who need this.
      - or moving HBQT/HBXBP/HBIDE to separate repository with
        (http://sourceforge.net/projects/hbqt/)
        Pritpal as project lead. It will be great benefit
        for both project, leaving them both focusing on
        their apparently different goals and development style.

  - contrib/hbqt/tests/activex.hbp
  - contrib/hbqt/tests/activex.prg
  - contrib/hbqt/tests/activex.ui
    - Deleted Windows-specific code added to the portable 
      HBQT component. Please readd it in separate HBQT project.
2012-09-24 08:40:52 +00:00
Viktor Szakats
1f2722584b 2012-09-22 11:28 UTC+0200 Viktor Szakats (harbour syenar.net)
+ contrib/hbide/xbpaddons/dbstruct.ui
  + contrib/hbide/xbpaddons/fetchdate.ui
  + contrib/hbide/xbpaddons/tables.ui
  - contrib/hbide/xbpaddons/xbpdbstruct.ui
  - contrib/hbide/xbpaddons/xbpfetchdate.ui
  - contrib/hbide/xbpaddons/xbptables.ui
    ! redone the naming scheme introduced few month ago
      and added to this new component yesterday, which 
      was since undone by Pritpal.

  * contrib/hbide/xbpaddons/xbpaddons.hbp
  * contrib/hbide/hbide.hbp
    ! deleted wrongly added -L option by Pritpal
      .hbc should take care of it.

  * utils/hbmk2/hbmk2.prg
    ! hbshell_gtInteractive() will now create new GT only when necessary
    + internal changes to support multiple initial commands
2012-09-22 09:29:22 +00:00
Viktor Szakats
1c1b03b932 2012-09-14 21:07 UTC+0200 Firstname Lastname (me domain.net)
* utils/hbmk2/hbmk2.prg
    * hbmk_OutStdRaw() and hb_OutErrRaw() hbmk2 plugin 
      API functions parameter list modified so that now they 
      expect hbmk context as first parameter.
      INCOMPATIBLE.
    ! made sure that hbmk_OutStdRaw() and hbmk_OutErrRaw()
      won't emit output in --hbinfo mode.

  * contrib/hbqt/hbmk2_qt.hb
  * utils/hbmk2/examples/plug_bis.hb
    * updated as per above incompatible change

  * contrib/make.hb
    * minor
2012-09-14 19:11:44 +00:00
Viktor Szakats
c6bfd9615a 2012-09-14 16:32 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! keep -trace mode turned off in --hbinfo mode, otherwise 
      some plugins (f.e. HBQT plugin) might litter the output 
      with their own messages, making the JSON output corrupt.
      Thus problem might have caused that dependencies were 
      wrongly detected when HBQT was involved in the 
      dependency tree. Thanks to Lautaro for the report.
    ! further steps made that stray output is minimized in 
      --hbinfo mode. (though some raw plugin API call may 
      still generate output, it's yet to be done, and it will 
      API compatibility breakage in few calls)
2012-09-14 14:38:00 +00:00
Viktor Szakats
bf8305fe00 2012-09-14 09:54 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/global.mk
  * include/hbsetup.h
  * INSTALL
  * utils/hbmk2/hbmk2.prg
    + added bits (docs, version autodetect, etc) for MS Visual Studio 2012
2012-09-14 07:55:58 +00:00
Przemyslaw Czerpak
2ae8ffd909 2012-09-11 21:22 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
  * harbour/config/win/bcc.mk
    + added support for BCC6.5 - please verify me.
    ; unicows library does not support BCC 6.5. BCC users who want
      to compile Harbour should delete harbour/lib/3rd/win/bcc directory.
      TODO: add build time option to disable unicows in windows harbour
            builds
2012-09-11 19:22:15 +00:00
Przemyslaw Czerpak
8cf8de75c0 2012-09-09 18:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/config/dos/watcom.mk
  * harbour/utils/hbmk2/hbmk2.prg
    ! cleaned and synced optimization flags which interacts with calling
      convention

  * harbour/src/3rd/zlib/zconf.h
    ! added missing export attribute in OS2 dll builds

  * harbour/src/3rd/zlib/zlib.dif
    * rediffed

  * harbour/src/compiler/hbmain.c
    * minor modification to pacify warning generated by some compilers

  * harbour/src/rtl/gete.c
    ! added missing #include "hbapicdp.h" in DOS and OS2 builds

  * harbour/src/rtl/gtdos/gtdos.c
    ! fixed typo

  * harbour/contrib/3rd/sqlite3/sqlite3.hbp
    ! set SQLITE_OS_OTHER in Watcom OS2 builds - it does not support
      PTHREAD and some OS extensions used in default SQLite builds
2012-09-09 16:51:37 +00:00
Przemyslaw Czerpak
99273ec1f6 2012-08-27 21:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/fstemp.c
    ! added yet another protection against buffer overflow
    % eliminated redundant code

  * harbour/include/hbvmpub.h
  * harbour/include/hberrors.h
  * harbour/src/compiler/hbgenerr.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/genc.c
    + added new warning message:
         STATIC Function '????' defined but never used
      It's enabled by -w2 and higher.
      The idea was inspired by recent modification in xHarbour but
      implementation is completely different. BTW I cannot even make
      this warning working in xHarbour.

  * harbour/src/rtl/cdpdet.prg
    ! disabled static functions which are unused in different builds

  * harbour/src/debug/debugger.prg
    ! removed unused function StripUntil()

  * harbour/utils/hbmk2/hbmk2.prg
    ! compile hbmk_COMP_Setup() and FindInSamePath() static functions
      only for platforms were they are used
    ! commented out unused static functions: ArrayJoinNoClone(),
      AAddNewAtTop(), DepTreeToList()
    ! commented out unused static functions:
         rtlnk_libtrans(), rtlnk_filetrans()
      Looks that this functionality is not longer supported.
      TOFIX: re-enable it or remove this code and document that automatic
             translation for libraries and files defined in Clipper .lank
             files is not longer supported~.

  * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg
  * harbour/contrib/hbtip/cgi.prg
  * harbour/contrib/hbide/hbqreportsmanager.prg
  * harbour/contrib/hbide/actions.prg
  * harbour/contrib/hbide/console.prg
  * harbour/contrib/hbide/themes.prg
  * harbour/contrib/hbide/editor.prg
  * harbour/contrib/hbxbp/browse.prg
  * harbour/contrib/hbmysql/tmysql.prg
  * harbour/contrib/hbsms/sms.prg
  * harbour/contrib/xhb/hterrsys.prg
    ! commented out unused static functions - please review the code

  ; Warning: I tested only Linux builds. Please check other builds and
             disable unused static functions in the rest of code.
2012-08-27 20:00:45 +00:00
Viktor Szakats
03d182ec3f 2012-07-30 12:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbhttpd/hbhttpd.hbc
    + added comment about HB_HTTPD_OPENSSL (similar purpose
      as HB_TIP_OPENSSL)

  * utils/hbmk2/hbmk2.prg
    + added env= .hbc command to be able to control envars
      also from .hbc files.

  - contrib/hbhttpd/hbhttpds.hbc
  - contrib/hbtip/hbtipssl.hbc
    - deleted alternate .hbc files that enabled OpenSSL
      flavor of these libs. Autofind didn't work with these.
      Use HB_[HTTPD|TIP]_OPENSSL=yes envvar setting to enable
      these. You can use -env: hbmk2 option or env= .hbc
      command to enable it, so f.e. hbtipssl.hbc can be
      emulated by this .hbc file:
      -- hbtipssl.hbc
         env=HB_TIP_OPENSSL=yes
         hbtip.hbc
      --
2012-07-30 10:46:56 +00:00
Viktor Szakats
6f33d0a3e5 2012-07-30 12:24 UTC+0200 Viktor Szakats (harbour syenar.net)
* package/winuni/mpkg_win_uni.bat
  * utils/hbmk2/hbmk2.prg
    ! examples -> extras
2012-07-30 10:24:50 +00:00
Viktor Szakats
3d47dc98f8 2012-07-27 20:09 UTC+0200 Viktor Szakats (harbour syenar.net)
+ utils/hbmk2/examples/plug_bis.hb
    + hbmk2 plugin for bison support. Syntax checked but not tested.

  * utils/hbmk2/examples/plug_tpl.hb
    + made it display an error message when run in standalone mode

  * contrib/hbqt/hbmk2_qt.hb
    * formatting
2012-07-27 18:11:33 +00:00
Viktor Szakats
c793c067d7 2012-07-27 11:24 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    - deleted compatibility plugin API functions starting with 
      HBMK2_. It was not enabled anyway and I chose not to deal 
      with as probably there is very few people using these.
      So, change all plugin API calls to start with HBMK_*()
      instead of HBMK2_*(). INCOMPATIBLE.
2012-07-27 09:25:43 +00:00
Viktor Szakats
bf9984125a 2012-07-24 01:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + select Harbour language modul in conjunction with
      hbmk2's own language modul. This makes for a little more
      localization and also tests and demonstrates the
      language modul subsystem.
2012-07-23 23:22:18 +00:00
Viktor Szakats
d50b2119a7 2012-07-22 21:15 UTC+0200 Viktor Szakats (vszakats syenar.net)
* contrib/hbnf/doc/en/clrsel.txt
  * contrib/hbnf/doc/en/kspeed.txt
  * contrib/hbnf/doc/en/mouse1.txt
  * contrib/hbnf/doc/en/mouse2.txt
  * contrib/xhb/htmutil.prg
  * contrib/xhb/ttable.prg
  * extras/gfspell/spell.prg
  * extras/hbvpdf/hbvpdf.prg
  * extras/hbvpdf/hbvpdft.prg
  * extras/hbxlsxml/xlsxml_y.prg
  * extras/httpsrv/cgifunc.prg
  * utils/hbtest/rt_misc.prg
  * contrib/hbnf/aredit.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/dispmsg.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/mouse1.prg
  * contrib/hbnf/mouse2.prg
  * contrib/hbnf/pegs.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/tbwhile.prg
    ! further removing high 8-bit chars
2012-07-22 19:17:02 +00:00
Viktor Szakats
1c2d636013 2012-07-19 09:52 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed minor formatting inconsistencies
2012-07-19 07:53:33 +00:00
Viktor Szakats
a2c4a6c4ab 2012-07-09 22:00 UTC+0200 Viktor Szakats (harbour syenar.net)
+ .gitignore
    + added .gitignore file. experimental.

  * utils/hbmk2/hbmk2.prg
    + -hbx= without parameter will now disable .hbx generation
      instead of being a noop
    * minor formatting

  * contrib/3rd/sqlite3/sqlite3.hbp
  * contrib/gtalleg/gtalleg.hbm
  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbbz2/3rd/bz2/bz2.hbp
  * contrib/hbexpat/3rd/expat/expat.hbp
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
  * contrib/hbhttpd/hbhttpds.hbp
  * contrib/hblzf/3rd/liblzf/lzf.hbp
  * contrib/hbmlzo/3rd/minilzo/minilzo.hbp
  * contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hbqt/gtqtc/gtqtc.hbm
  * contrib/hbtip/hbtipssl.hbp
  * contrib/rddbm/rddbm.hbp
  * contrib/rddsql/rddsql.hbp
  * contrib/sddfb/sddfb.hbp
  * contrib/sddmy/sddmy.hbp
  * contrib/sddoci/sddoci.hbp
  * contrib/sddodbc/sddodbc.hbp
  * contrib/sddpg/sddpg.hbp
  * contrib/sddsqlt3/sddsqlt3.hbp
    % make sure not to create .hbx files we're not using anyway

  * contrib/hbqt/gtqtc/gtqtc.hbp
    * minor formatting
2012-07-09 20:04:18 +00:00
Viktor Szakats
a325676ce2 2012-06-27 12:49 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed similar regression as in 2012-06-27 10:35 UTC+0200
      but for hbrun
2012-06-27 10:50:26 +00:00
Viktor Szakats
77ed79aebd 2012-06-27 10:35 UTC+0200 Viktor Szakats (harbour syenar.net)
+ examples/hbdoc/hbdoc.css
  * examples/hbdoc/genhtml.prg
  * examples/hbdoc/hbdoc.prg
  * examples/hbdoc/tmplates.prg
    % avoid simpleio.ch
    * moved CSS code to separate file
    * renamed CSS file to hbdoc.css
    ! further unicode fix for html/xml outputs

  * utils/hbmk2/hbmk2.prg
    ! fixed recent regression
2012-06-27 08:37:24 +00:00
Viktor Szakats
8bba1dd746 2012-06-26 11:19 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    % use HBMK_IS_IN() where possible
2012-06-26 09:19:48 +00:00
Viktor Szakats
4dbffeb075 2012-06-26 11:09 UTC+0200 Viktor Szakats (harbour syenar.net)
* INSTALL
    * minor update
  * utils/hbmk2/hbmk2.prg
    * make sure to convert script parameter to native pathseps
2012-06-26 09:10:50 +00:00
Viktor Szakats
b08206bdd9 2012-06-22 19:39 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * minor cleanup (var renamed)
2012-06-22 17:40:23 +00:00
Viktor Szakats
318d7f894a 2012-06-22 19:36 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    % consolidated/updated TODO comments
    ! fixed and optimized _HBMK_EMBEDDED_ build mode
2012-06-22 17:37:22 +00:00
Viktor Szakats
2999d17091 2012-06-22 19:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.hbp
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/Makefile
    * minor changes to do not require std.ch
    + enabled -u option for hbmk2 source code.
2012-06-22 17:25:37 +00:00
Viktor Szakats
a492d8754e 2012-06-22 19:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * avoiding some language elements/minor optimizations
2012-06-22 17:19:24 +00:00
Viktor Szakats
a787fd60ac 2012-06-20 19:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * marked the file as UTF8
    * added accent to my own name. let's see on which platforms
      and configs it appears alright (second "a" should appear
      with an acute accent: "a'")
      [ms-dos and OS/2 is not expected to work]
2012-06-20 17:06:19 +00:00
Viktor Szakats
20dfd62b9e 2012-06-19 14:29 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * deleted all remaining "hbmk2" occurrences from comments
2012-06-19 12:29:54 +00:00
Viktor Szakats
f1a837228b 2012-06-18 21:12 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    - do not include Harbour bin dir in linker libpath on non-*nix
      systems. In could cause some compilers (f.e. mingw) to link
      to .dlls stored there (f.e. 3rd party dynamic dlls enabled
      with HB_INSTALL_3RDDYN), not letting user supplied libpaths
      to kick in. If you for some reason want to include Harbour
      bin dir in libpath, use: -L${HB_LIB} option, or to include
      dynamic lib dir (emulating old behavior on non-*nix), use
      -L${HB_DYN}
    ! fixed -env option processing after 2012-06-14 12:01 UTC+0200
2012-06-18 19:12:49 +00:00
Viktor Szakats
b2045d96b5 2012-06-18 12:49 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * made --hbinfo to return information only for the top project
      (not nested ones)
      This should fix regression of not generating .hbx files for
      the hbqt special case since 2012-06-06 16:02 UTC+0200
    + added --hbinfo=nested to return information also on nested
      projects
    + --hbinfo will now append an 0x0A byte after each JSON
      block, so multiple JSON blocks can be parsed by the caller

  * contrib/hbqt/hbqt_commons.hbm
    * changed to be friendly with '--hbinfo=nested' hbmk2 option
      (not used in Harbour make process)
2012-06-18 10:49:51 +00:00
Viktor Szakats
411e468e81 2012-06-17 15:59 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.hbp
  * utils/hbmk2/hbmk2.hbp
  * utils/hbmk2/Makefile
  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.nsi
    ; trying to crawl out from this pool of dynamic mud.
    * enabled all embedded headers for both hbmk2 and hbrun
      so we're back to square one with this, except that
      now hbmk2 also holds the full set of core headers not
      just a minimal selection. The reason is to keep hbmk2
      as the distributable runner tool. It also syncs all
      C compilers and platforms.
    * hbmk2 built in -static mode again. It will fix the
      'make clean' problem, it will make it distributable.
    * hbrun changed to be built in -shared mode to allow
      to load dynamic modules.
    ; so this is the state right now (if I didn't make any mistake):
        hbmk2:
           all embedded core headers
           no contrib modules
           static build
           no dynamic modules
           fully movable/distributable as a runner
           cannot be self-registered as .hb runner on Windows
        hbrun:
           all embedded core headers
           some contrib modules
           shared build when HB_BUILD_CONTRIB_DYN enabled
           dynamic modules possible
           less movable/distributable, needs harbour dll, dynamic modules need Harbour dir layout
           can be self-registered as .hb runner on Windows
    ; "Ext:" banner on interactive shell will have blue color
      if dynamic modules are enabled and grey if not.

  * utils/hbmk2/hbmk2.prg
    * minor change to show the actual name of the tool
      in the error message requesting a -shared build.
2012-06-17 14:05:24 +00:00
Viktor Szakats
ebaf33647f 2012-06-17 14:49 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/rddads/ads1.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/adsx.c
  * src/common/hbfsapi.c
    ! deleted explicit newlines at EOL in HB_TRACE() calls

  * INSTALL
    + added new '0. GUARANTEES AND LIABILITY' section
    ! updated instructions to create debug build

  * utils/hbmk2/hbmk2.prg
    * minor cleanups

  * utils/hbmk2/Makefile
    + enabled dynamic version of hbmk2 only for mingw builds.
      Rest of the targets may or may not work due to CRTL
      usage (fprintf()) from HB_COMPILE*() calls which causes
      GPF in currently generated shared builds, most probably
      due to double copy of statically linked CRTL code.
      mingw uses MSVCRT.DLL, so it's not prone to this.
      Solution is either to avoid file handling CRTL calls
      in compiler code, or to tweak -shared build setting to
      death to make it work for all non-mingw compilers.
      Both of these is very difficult.
      This means that dynamic module loading from scripts
      will only work in hbmk2 built with mingw.

   ; TOFIX: 'make clean' on contribs doesn't work with mingw,
            because harbour dll is deleted before hbmk2 is
            called, so it cannot be started for cleanup.
2012-06-17 12:50:22 +00:00
Viktor Szakats
9a8f43c273 2012-06-17 11:23 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtip/encqp.prg
  * contrib/hbtip/hbtip.hbx
    + added two new functions:
        TIP_QPENCODE(), TIP_QPDECODE()
      formerly only accessible via OOP code

  * utils/hbmk2/hbmk2.prg
    % merged FindInPath() and __hbshell_FindInPath() into one
2012-06-17 09:24:08 +00:00
Viktor Szakats
504f829813 2012-06-17 02:51 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.hbp
    * restored to embed headers in hbrun

  * utils/hbmk2/hbmk2.prg
    ! minor cleanups in runner UI
    ! fixed to open .dbf using cmd 'hbmk2 test.dbf' (emulating
      old hbrun behavior)
    + shows error messages when dynamic library failed to load
2012-06-17 00:55:46 +00:00
Viktor Szakats
f5f7f12fd9 2012-06-17 01:39 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbblat/hbblat.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbssl/hbssl.hbp
    ! fix to prev

  * contrib/hbpost.hbm
  * contrib/hbqt/hbqt_common.hbm
    * deleted extra pathsep

  * contrib/hbfbird/hbfbird.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/sddfb/sddfb.hbp
    ! fixed to use .dll imp lib source in -hbdyn mode.
      it's a fix for experimental HB_INSTALL_3RDDYN option.

  * contrib/make.hb
    * minor cleanups in errorlevel descriptions

  * utils/hbmk2/hbmk2.prg
    ! fixed finding scripts in path and without extensions 
      in runner mode
    ! fixed to not execute '.' when runner mode is started 
      with 'hbmk2 .' command
2012-06-16 23:44:08 +00:00
Viktor Szakats
e70fa438ce 2012-06-17 00:18 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + will now gather a list of existing 3rd party dll dependencies
      using the file-group named 'depimplibsrc'. This list can
      be used to install these files to user-specific locations

  * contrib/hbpost.hbm
    + added global solution to install 3rd party dll dependencies,
      with minor fixes

  * contrib/hbblat/hbblat.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbssl/hbssl.hbp
    - deleted local solution to install 3rd party dll dependencies
2012-06-16 22:20:54 +00:00
Viktor Szakats
79bdb0e6d9 2012-06-16 21:52 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbcurl/hbcurl.hbp
  * contrib/hbssl/hbssl.hbp
    + added experimental support to install 3rd party .dll
      dependencies for these libs into the Harbour bin dir.
      Enabled with new build option, not yet documented,
      see it in the patch.

  * src/rtl/cdpdet.prg
    + request linkage of all codepages. I chose this to ensure
      the detection code can use all CPs automatically and it
      won't be unusable if users forget to request CPs
      themselves. This has an overhead if someone uses CP
      autodetection, but it makes it foolproof.

  * utils/hbmk2/hbmk2.prg
    * minor formatting
2012-06-16 19:56:11 +00:00
Viktor Szakats
b679a19cbb 2012-06-16 18:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.hbp
  * utils/hbmk2/Makefile
    % disabled embedded headers again, now dir layout detection should
      work well even under GNU Make, so it's not necessary
2012-06-16 16:03:29 +00:00
Viktor Szakats
03d3b0e465 deleted double empty line 2012-06-16 16:01:20 +00:00