Commit Graph

18093 Commits

Author SHA1 Message Date
Viktor Szakats
bd2cb051e0 2012-11-12 00:17 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/superlib/superlib.dif
    ! fixed RAT_EVENT() to not hog the CPU and also to call
      Harbour's idle loop while waiting for events.
2012-11-11 23:20:05 +00:00
Viktor Szakats
b89b003325 2012-11-11 21:41 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbct/hbct.hbx
  * contrib/hbct/scrmark.prg
  * contrib/hbct/showtime.prg
    * minor format fixes
2012-11-11 20:42:29 +00:00
Viktor Szakats
6f397a5123 2012-11-11 20:39 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/hbdroid/msginfo.c
    ! fixed to pass strings to Java in UTF-8
    ! additional NULL checks to avoid GPFs
    ; Anybody remembers how to run/try this thing?
2012-11-11 19:41:00 +00:00
Pritpal Bedi
36539ca52b 2012-11-11 11:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/*/doc/en/*.txt
    ! Changed: $FUNCNAME$ => $NAME$.
2012-11-11 19:33:23 +00:00
Viktor Szakats
1e9ab7012c 2012-11-11 19:47 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/gfspell/gfspell.hbx
  * extras/gfspell/spell.prg
  * extras/gfspell/spellc.c
    * final cleanups
2012-11-11 18:49:01 +00:00
Viktor Szakats
78a86226c1 2012-11-11 19:38 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/gfspell/spell.prg
  * extras/gfspell/spellc.c
    * unicode, 64-bit and various other minor cleanups,
      though this thing just doesn't work at all.
      XUNFORM() seems to be buggy, maybe it pulls the
      whole thing down. I'm giving up. I will delete this
      library if it stays unusable.
2012-11-11 18:40:08 +00:00
Viktor Szakats
92be5b0370 2012-11-11 18:41 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/gfspell/spell.prg
    % deleted commented full screen debug trace lines
    % deleted not operational REDUCE_MEMORY_NEEDS built-time
      option. It was dead code that didn't even compile and
      caused RTE when fixed
    * other formatting
2012-11-11 17:42:46 +00:00
Viktor Szakats
f0e715efc4 2012-11-11 17:33 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/gfspell/spell.prg
    * comment cleanup
    % changed SAYs to hb_DispOutAt(). Much faster now. 
      MT compatible, too.

  * extras/gfspell/spellc.c
    * minor
2012-11-11 16:35:08 +00:00
Viktor Szakats
9043da69dd 2012-11-11 16:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/gfspell/spellc.c
    ! fixed memory corruption in SP_RATE()

  * extras/gfspell/words.dbf
    ! deleted two wrong records that cause DBF2DIC() to 
      not work.

  * extras/gfspell/spell.prg
    * minor
2012-11-11 15:56:54 +00:00
Viktor Szakats
2e5ef87a7c 2012-11-11 16:20 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/gfspell/spellc.c
    + legacy Clipper API constructs upgraded to Harbour ones
    + upgraded to use Harbour string sizes
    + other minor code cleanups
    % public vars converted to static and const

  * extras/gfspell/spell.prg
    * renamed STATIC vars
    ! fixed some STATIC vars for MT mode
    ! few more unicode fixes
    * code cleanups
2012-11-11 15:20:38 +00:00
Viktor Szakats
bc3c7cfb41 2012-11-11 15:34 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/gfspell/spellc.c
    + legacy Clipper API constructs upgraded to Harbour ones
    + upgraded to use Harbour string sizes
    + other minor code cleanups
    % public vars converted to static and const

  * extras/gfspell/spell.prg
    * minor
2012-11-11 14:46:42 +00:00
Viktor Szakats
de902d4a40 2012-11-11 13:59 UTC+0100 Viktor Szakats (harbour syenar.net)
- contrib/hbdroid
  + extras/hbdroid
  + extras/hbdroid/hbdroid.hbx
  * extras/hbdroid/hbdroid.hbc
    * moved hbdroid to 'extras'
    + added .hbx file
    * adapted build files to 'extras' environment.
    ; Now can be built as dynamic lib
2012-11-11 13:01:36 +00:00
Viktor Szakats
586185d936 2012-11-11 13:45 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbdroid/hbdroid.hbp
    * minor cleanup

  * contrib/rddbm/rddbm.hbp
    ! missed to add .hbx as source

  * contrib/rddsql/tests/arrayrdd.prg
    + fixed to work when run as script.
      (Could not achieve the same with SDD tests.)

  * utils/hbmk2/hbmk2.prg
    + added very experimental support for using macros 
      in source filenames. The search for options and 
      special extensions will be done before macro 
      expansion, ie. if it doesn't match any options or 
      special extensions, it will be considered a 
      source a file and then expanded. Useful f.e. for 
      '${hb_name}.hbx', but plain '${ENVVAR}' will also 
      be considered a source filename. Can be abused, too, 
      but not recommended.
2012-11-11 12:51:33 +00:00
Viktor Szakats
4ec57e57d6 2012-11-11 12:59 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/rddbm/rddbm.hbp
  * extras/gtwvw/gtwvw.hbp
  * extras/hbvpdf/hbvpdf.hbp
  * extras/hbxlsxml/hbxlsxml.hbp
  * extras/ps32/ps32.hbp
  * extras/rddado/rddado.hbp
  * extras/superlib/superlib.hbp
    + unified the common build parameters, so
      now all supports dynamic libs, installation
      and .hbx files

  + contrib/rddbm/rddbm.hbx
  + extras/rddado/rddado.hbx
    + added two new .hbx files
2012-11-11 12:01:01 +00:00
Viktor Szakats
221518f8d5 2012-11-11 12:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed to automatically create target directory
      for import library, if any.

  * extras/hbusb/hbusb.hbp
    * making options more uniform
    ; TODO: apply these to other 'extras' libs

  * extras/gfspell/spellc.c
    ! fixed compilation errors in spellc.c.
    ! fixed non-ANSI C comments.
    ! fixed warnings.
    * removed excessive parenthesis

  + extras/gfspell/gfspell.hbx
  * extras/gfspell/gfspell.hbp
    + added .hbx file
    + added option to build dynamic lib

  * extras/gfspell/spell.ch
  * extras/gfspell/spell.prg
    ! fixed to use lower-case filenames
    ! fixed '=' operators
    ! fixed BIT() calls to have the 1st param passed by ref
    ! fixed some formatting errors left by hbformat (notably: "{|xx|")
    ! disabled permanently enabled debug screen messages
    ! fixed to not leave temporary index on disk
    + some changes to make code more unicode compatible (incomplete)
    * Use F_ERROR
    * hbformatted using new .hbx
    % use hb_FileExists()
    ; NOTE: Strangely all this is not enough to make this
      work, because crucial files are missing from this packages,
      f.e. dict.dic and thes.dic. Anybody has these?

  * extras/gfspell/words.dbf
    ! fixed field name to be WORD (not W_ORD). I'm not even
      sure how this can go wrong, byt anyways.

  * contrib/hbnf/menuto.prg
    * minor
2012-11-11 11:52:20 +00:00
Pritpal Bedi
aa9f9e3569 2012-11-10 18:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* src/rtl/rat.c
    % Small optimization.
2012-11-11 02:48:06 +00:00
Viktor Szakats
cfcc400c75 2012-11-11 02:38 UTC+0100 Viktor Szakats (harbour syenar.net)
+ extras/gtwvw/wvt2wvw.ch
  - extras/gtwvw/tests/wvt2wvw.ch
  * extras/gtwvw/tests/readme.txt
    * cased function names, misc cleanups, moved 
      to main project dir
2012-11-11 01:39:49 +00:00
Viktor Szakats
93245b2e11 2012-11-11 01:58 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbgs/core.c
  * contrib/hbwin/wapi_wingdi.c
  * contrib/hbwin/win_com.c
    * minor uncrustify fixes

  * extras/gtwvw/gtwvw.hbx
    * cased all function names

  * extras/gtwvw/wvwdraw.c
  * extras/gtwvw/wvwedit.c
  * extras/gtwvw/wvwfuncs.c
    * cleanups

  * extras/gtwvw/wvwfuncs.c
    ! fixed a few GPFs. There are so plenty of
      them and other sloppy code that it's
      an impossible task.

  * extras/gtwvw/tests/hbmk.hbm
    * set warning level to -w3

  * extras/gtwvw/tests/_wvwmous.prg
  * 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/maincoor.prg
  * extras/gtwvw/tests/maximize.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
  * extras/gtwvw/tests/wvwtest9.prg
    ! fixed one doubly defined function after
      recent change
    ! fixed all -w3 warnings
    ! enabled GTWVW specific code where it
      was conditionally enabled.
    ! hbformat formattings and related fixes
    ; Strangely all samples work relatively
      okay in script mode, but when built as
      exe they all crash badly.
2012-11-11 01:13:28 +00:00
Viktor Szakats
c14efb05a4 2012-11-10 21:25 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/hbdoc/hbdoc.hbp
    + use $hb_pkg_install.hbm

  * utils/hbmk2/pkg_inst.hbm
    + install executables into Harbour bin dir, but 
      commented with NOTE because hbdoc works only when 
      put in its current directory location.
2012-11-10 20:30:19 +00:00
Viktor Szakats
3f4cf28f68 2012-11-10 20:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbgtcore.c
    * changed HB_GTI_COMPATBUFFER default to be Clipper
      compatible. INCOMPATIBLE compared to 3.2 versions,
      but restores the compatibility with previous ones
      and Clipper. Applications using Unicode, must now 
      manually change these buffers to be Unicode 
      compatible using:
         #include "hbgtinfo.ch"
         hb_gtInfo( HB_GTI_COMPATBUFFER, .F. )

  * include/assert.ch
  * include/hbclass.ch
  * contrib/rddads/ads.ch
  * contrib/xhb/hbdll.ch
  * contrib/xhb/hblog.ch
  * contrib/xhb/ttable.ch
    ! use 'END' instead of 'ENDIF' consistently
      in command translated code. (most of these
      is result of recent regression)

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/combobox.prg
  * contrib/gtwvg/crt.prg
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/statbar.prg
  * contrib/gtwvg/static.prg
  * contrib/gtwvg/syswnd.prg
  * contrib/gtwvg/tests/_modal.prg
  * contrib/gtwvg/wnd.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbmysql/tmysql.prg
  * contrib/xhb/decode.prg
  * contrib/xhb/xhbtedit.prg
  * extras/hbdoc/hbdoc.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/session.prg
    % deleted excessive parenthesis
    ! fixed some '- 1' to '-1' in older hbformatted
      code

  * extras/gtwvw/tests/_wvwmous.prg
  * extras/gtwvw/tests/wvt2wvw.ch
  * extras/hbvpdf/core.prg
  * extras/httpsrv/uhttpd.prg
  * extras/rddado/adordd.ch
  * include/hbsix.ch
    * minor cleanups
2012-11-10 20:04:37 +00:00
Viktor Szakats
45a48cc8d0 2012-11-10 19:44 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbwin/hbwin.ch
    ! C++ comment changed to ANSI C now that the file is 
      indeed used from C.
    * minor cleanups
2012-11-10 18:45:36 +00:00
Viktor Szakats
73f2dbbb90 2012-11-10 19:27 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/global.mk
    + enabled HB_BUILD_CONTRIB_DYN=yes when creating an
      install package using HB_BUILD_PKG=yes.
      Very experimental, let's see what happens in the
      nightly. If it works out well, it can be enabled 
      by default on all win/mingw build, then on all 
      win builds, then on all builds.

  * contrib/hbwin/hbwin.ch
    * formatted function names in comments
    + added RPC_S_* values, plus HB_RPC_S_ERROR which is
      Harbour specific

  * contrib/hbwin/tests/testrpc.prg
    + display RPC status code

  * contrib/hbwin/win_rpc.c
    + return RPC status of UuidCreate() call in first
      reference parameter of WIN_UUIDCREATESTRING:
          WIN_UUIDCREATESTRING( [@<nStatus>] ) -> <cString>
2012-11-10 18:34:08 +00:00
Viktor Szakats
13acd5cd90 2012-11-10 18:38 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog
    ! added missing incompatibility tag to the change which
      made SAVESCREEN() buffers not Clipper compatible in 
      default mode.
      I think we should change the default back to be
      compatible. Opinions?
2012-11-10 17:40:11 +00:00
Viktor Szakats
ce1993077d 2012-11-10 18:17 UTC+0100 Viktor Szakats (harbour syenar.net)
* bin/harbour.ucf
    + enabled some options to delete unwanted newlines
      in a few places.
    + enabled to remove double semicolons
    * added default pp formatting option for future mods

  * extras/gtwvw/gtwvwd.c
  * extras/gtwvw/wvwcheck.c
  * extras/gtwvw/wvwdraw.c
  * extras/gtwvw/wvwedit.c
  * extras/gtwvw/wvwfuncs.c
  * extras/gtwvw/wvwmenu.c
  * extras/gtwvw/wvwpush.c
  * extras/gtwvw/wvwstbar.c
  * extras/gtwvw/wvwtbar.c
    ! uncrustified more agressively by using these extra options:
      mod_full_brace_for  = remove
      mod_full_brace_if   = remove
      mod_full_brace_while= remove
    ! some commented code converted to #if 0/#endif blocks
    ! one code line changed to avoid uncrustify bug

  * extras/gtwvw/tests/drawimg.prg
    ! avoided GPF caused by WVW function when GT is not
      yet initialized. This should ideally be fixed in the
      GT itself.

  * extras/gtwvw/tests/inpfocus.prg
    ! fixed lines broken by an older version of hbformat

  * extras/gtwvw/hbole.h
    ! deleted non-ANSI C comments
2012-11-10 17:23:06 +00:00
Viktor Szakats
19df5c8b46 2012-11-10 17:02 UTC+0100 Viktor Szakats (harbour syenar.net)
* 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
    + various cleanups, optimizations, one minor fix,
      improved bad parameter type handling
    + output to contain much less empty space in tags

  * tests/foreach.prg
  * tests/menutest.prg
    * cleanups ('=' operator still, hb_ntos())
2012-11-10 16:05:47 +00:00
Viktor Szakats
df01fb28ec 2012-11-10 15:33 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbpre.hbm
  * contrib/make.hb
    * avoid one internal make.hb macro completely. This comes
      with a 7 chars longer command line which might be a
      problem on MS-DOS systems, but .dlls are not typical
      there and projects with many dependencies will be
      long anyway.
2012-11-10 14:37:54 +00:00
Viktor Szakats
b27cb69b33 2012-11-10 15:26 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbpost.hbm
    % synced back with utils/hbmk2/pkg_dynl.hbm, thus avoiding
      most usages of one make.hb specific macro.
2012-11-10 14:29:12 +00:00
Viktor Szakats
7e9902a67e 2012-11-10 15:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
  * utils/hbmk2/hbmk2.prg
    + preserve casing of HB_FUNC_EXCLUDE/HB_FUNC_INCLUDE
      exception directives in .hbx files

  * contrib/hbwin/hbwin.hbx
    * applied casing the HB_FUNC_EXCLUDE function name

  * contrib/hbwin/hbolesrv.c
  * contrib/hbwin/tests/olesrv1.prg
  * contrib/hbwin/tests/olesrv2.prg
  * contrib/hbwin/tests/olesrv3.prg
  * contrib/hbwin/tests/olesrv4.prg
    * applied same casing to sources
2012-11-10 14:16:36 +00:00
Viktor Szakats
168c86cf98 2012-11-10 15:00 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/gtwvw/gtwvw.hbx
    + applied casing for some of the function names
2012-11-10 14:02:41 +00:00
Viktor Szakats
6b2ebb5004 2012-11-10 14:30 UTC+0100 Viktor Szakats (harbour syenar.net)
+ utils/hbmk2/pkg_dynl.hbm
  * utils/hbmk2/hbmk2.prg
    + added built-in package $hb_pkg_dynlib.hbm which adds
      hbmk2 options needed to build standard dynamic libs out
      of lib projects the same way contribs are built when
      using HB_BUILD_CONTRIB_DYN=yes.

  * utils/hbmk2/pkg_inst.hbm
    ! fixed to place target dynamic libs to main project
      directory, so they can be used right away

  * extras/hbvpdf/hbvpdf.hbp
  - extras/hbvpdf/hbvpdf.prg
  + extras/hbvpdf/core.prg
  - extras/hbvpdf/hbvpsup.prg
  + extras/hbvpdf/fonts.prg
    * renamed source to not collide with .hbx file
    * renamed other source to simpler name
    * fonts.prg hbformatted

  * extras/gtwvw/gtwvw.hbp
  * extras/hbusb/hbusb.hbp
  * extras/hbvpdf/hbvpdf.hbp
  * extras/hbxlsxml/hbxlsxml.hbp
    + added $hb_pkg_dynlib.hbm built-in build rules,
      so now these can be built as dynamic libs using
      command:
         'hbmk2 -hbdyn <name>.hbp'

  * extras/gtwvw/gtwvwd.c
    ! fixed wrong startup code causing GPF when
      used as hbrun script.

  * extras/hbusb/tests/test.prg
  * extras/hbvpdf/tests/pdf_demo.prg
  * extras/hbxlsxml/tests/example.prg
  * extras/hbxlsxml/tests/example2.prg
  * extras/hbxlsxml/tests/example3.prg
    + added #require directives to make
      them run as scripts.

  * 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/maincoor.prg
  * extras/gtwvw/tests/maximize.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
  * extras/gtwvw/tests/wvwtest9.hbp
  * extras/gtwvw/tests/wvwtest9.prg
  - extras/gtwvw/tests/wvwmouse.prg
  + extras/gtwvw/tests/_wvwmous.prg
    + added #require directives and dynamic switching
      to GTWVW GT to make them run as scripts.
    * renamed one internal .prg to start with an
      underscore
    * changed the way _wvwmous.prg is added to the
      main project source to make it run as
      script (though the .rc file won't be available
      in this case)

  * extras/hbxlsxml/tests/example.prg
    ! fixed typo in a recent manual cleanup update

  ; After this, 3rd party addons can easily use this
    facility to build and used as dynamic libs, making
    it possible to use them from scripts.

  ; NOTE: I didn't check if these dynamic libs can be 
          linked statically to dependent projects. Left 
          for the future.

  ; TODO: - clean contrib/hbpost.hbm to be more in
            sync with utils/hbmk2/pkg_dynl.hbm
          - inspect if _HB_DYNSUFF can be avoided in
            contrib .hbc files
2012-11-10 13:38:42 +00:00
Viktor Szakats
544ae8990c 2012-11-10 03:59 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/bitmap.prg
  * contrib/gtwvg/drawarea.prg
  * contrib/gtwvg/mle.prg
  * contrib/gtwvg/radiobut.prg
  * contrib/gtwvg/scrollbr.prg
  * contrib/gtwvg/sle.prg
  * contrib/gtwvg/tabpage.prg
    ! deleted permantenly enabled debug messages (STILL!)
      Quite amazing these are tolerated in live
      apps for months/years.
2012-11-10 03:01:37 +00:00
Viktor Szakats
9585823efa 2012-11-10 03:51 UTC+0100 Viktor Szakats (harbour syenar.net)
- contrib/gtwvg/tests/activex.prg
  - contrib/gtwvg/tests/cuigdlgs.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/tests/_activex.prg
  + contrib/gtwvg/tests/_cuigdlg.prg
  + contrib/gtwvg/tests/_dyndlgs.prg
  + contrib/gtwvg/tests/_modal.prg
  + contrib/gtwvg/tests/_tbrowse.prg
  + contrib/gtwvg/tests/_utils.prg
  + contrib/gtwvg/tests/_wvtcls.prg
  + contrib/gtwvg/tests/_xbp.prg
  * contrib/gtwvg/tests/demowvg.prg
    * renamed internal .prg files to not confuse them 
      with those that can be run as scripts or built 
      to exes.
2012-11-10 02:52:38 +00:00
Viktor Szakats
6de6e1cadd 2012-11-10 03:43 UTC+0100 Viktor Szakats (harbour syenar.net)
- contrib/gtwvg/gtwvg.c
  + contrib/gtwvg/gtwvgd.c
  - contrib/gtwvg/wvggui.h
  + contrib/gtwvg/gtwgu.h
  - contrib/gtwvg/wvggui.c
  + contrib/gtwvg/gtwgud.c
  * contrib/gtwvg/gtwvg.hbp
  * contrib/gtwvg/gtwvg.hbx
    ! fixed object name collision between compiled gtwvw.hbx
      and gtwvw.c driver code.
    + enabled gtwvg build in dynamic (dll) mode.
    + include HB_GT_WBG and HB_GT_WGU in gtwvg.hbx
    * renamed WGU driver sources to have a consistent
      name with GTWVG.
    ! fixed GTWVG and GTWVU driver code to not abend
      when hb_winMainArg() return false, but fall back
      just like GTWVT does.

  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/demowvg1.prg
  * contrib/gtwvg/tests/demoxbp.prg
    * GT driver request tweaks to make it possible to
      run them as scripts.
    + added #require "gtwvg" so that these now work
      as hbrun scripts.

  * contrib/gtwvg/tests/activex.prg
  * contrib/gtwvg/tests/cuigdlgs.prg
  * contrib/gtwvg/tests/demowvg.prg
    * minor cleanups

  * contrib/gtwvg/tests/hbmk.hbm
  - contrib/gtwvg/tests/demowvg.hbp
    % no longer necessary
    * necessary options moved to hbmk.hbm

  * contrib/gtwvg/tests/cuigdlgs.prg
    ! fix to one of prev mods

  - extras/gtwvw/gtwvw.c
  + extras/gtwvw/gtwvwd.c
  * extras/gtwvw/gtwvw.hbp
    ! fixed object name collision between compiled gtwvw.hbx
      and gtwvw.c driver code.

  * contrib/hbnf/tests/metaph.prg
    % optimized code
2012-11-10 02:48:06 +00:00
Viktor Szakats
873c87b340 2012-11-10 02:36 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/*.prg
    * class declaration formatting cleanups (fixed wrongly 
      uppercased method names, tightened alignment)
2012-11-10 01:38:39 +00:00
Viktor Szakats
8d7647683b 2012-11-10 01:40 UTC+0100 Viktor Szakats (harbour syenar.net)
* 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
    * deleted empty comments
2012-11-10 00:42:58 +00:00
Viktor Szakats
d1113ebf9e 2012-11-10 01:04 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/crt.prg
  * contrib/gtwvg/paint.prg
  * contrib/gtwvg/wnd.prg
    ! few fixes applied from hbformat, plus one manual 
      mod to keep make one code line hbformat friendly
2012-11-10 00:05:42 +00:00
Pritpal Bedi
a25d1508fb 2012-11-09 15:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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/hbgtwvg.ch
  * 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/toolbar.prg
  * contrib/gtwvg/treeview.prg
  * contrib/gtwvg/wnd.prg
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgparts.ch
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgwing.c
    ! Formatting: removed few hbformt applied residuals.
    ! Bumped: copyright years.
    ! Changed: <pritpal@vouchcac.com> => <bedipritpal@hotmail.com>
2012-11-09 23:54:52 +00:00
Viktor Szakats
b78ba5898a 2012-11-10 00:17 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbexpat/core.c
  * contrib/hbexpat/internal.c
    * uncrustified except function translation macro trick 
      block at the end of core.c
2012-11-09 23:19:25 +00:00
Viktor Szakats
d04d79a946 2012-11-09 23:28 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbssl/*.c
  * contrib/xhb/*.c
    * manual code cleanup (single {} blocks, commented
      code converted to #if 0/#endif, deleted extra empty lines,
      made code uncrustify friendly)
    * applied all uncrustify fixes, except for
      HB_FUNC_[TRANSLATE|EXEC|etc] related code in xhb which it
      messes up badly. And some horizontally layed out
      lines in hbssl.
2012-11-09 22:31:43 +00:00
Viktor Szakats
fdb068c66a 2012-11-09 20:49 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbpgsql/postgres.c
    ! added missing cast causing warning in msvc C mode
      present since 2010-11-21 20:42 UTC+0100

  * contrib/hbct/token2.c
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
    * deleted unncessary casts
2012-11-09 19:51:37 +00:00
Viktor Szakats
ed422e9606 2012-11-09 19:53 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbgtcore.c
    ! indentation to prev

  * src/rtl/sha1.c
    % removed unnecessary parenthesis
2012-11-09 18:54:36 +00:00
Viktor Szakats
829d9ab965 2012-11-09 19:31 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/common/hbprintf.c
  * src/common/hbtrace.c
  * src/compiler/harbour.y
  * src/compiler/hbcmplib.c
  * src/compiler/hbmain.c
  * src/macro/macro.y
  * src/macro/macrolex.c
  * src/pp/ppcore.c
  * src/rdd/dbcmd.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/hsx/hsx.c
  * src/rtl/cdpapi.c
  * src/rtl/dates.c
  * src/rtl/filebuf.c
  * src/rtl/hbcom.c
  * src/rtl/hbgtcore.c
  * src/rtl/hbi18n1.c
  * src/rtl/hbjson.c
  * src/rtl/hbsocket.c
  * src/rtl/hbstrfmt.c
  * src/rtl/hbznet.c
  * src/vm/classes.c
  * src/vm/fm.c
  * src/vm/hvm.c
  * src/vm/itemapi.c
  * src/vm/macro.c
  * src/vm/set.c
    * applied some non-space formattings and changes 
      to make it format better using uncrustify
2012-11-09 18:39:45 +00:00
Viktor Szakats
6b54d5e45d 2012-11-09 13:08 UTC+0100 Viktor Szakats (vszakats syenar.net)
* contrib/xhb/hbcompat.ch
  * contrib/xhb/htmutil.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/tfile.prg
  * contrib/xhb/tframe.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xdbmodst.prg
  * contrib/xhb/xthrow.c
  * extras/httpsrv/modules/cookie.prg
  * extras/httpsrv/modules/info.prg
  * extras/httpsrv/modules/showcounter.prg
  * extras/httpsrv/modules/tableservletdb.prg
  * src/rdd/usrrdd/rdds/arrayrdd.prg
    * cleanups
2012-11-09 12:09:56 +00:00
Viktor Szakats
f520d1766c 2012-11-09 12:39 UTC+0100 Viktor Szakats (harbour syenar.net)
* bin/find.hb
    + show component name (core/contrib/addon) instead of 
      full path for .hbc files.

  * contrib/hbmxml/core.c
    * cleanups
2012-11-09 11:41:11 +00:00
Viktor Szakats
c429cc56e3 2012-11-09 02:06 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhw32prn.prg
    * missed from prev

  * INSTALL
    * minor

  * src/rtl/base64d.c
    * uncrustify full
2012-11-09 01:09:17 +00:00
Viktor Szakats
25a47ce169 2012-11-09 00:15 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhb.hbx
  * contrib/hbtip/hbtip.hbx
    * minor fix for some class names

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/menubar.prg
  * contrib/hbformat/hbfmtcls.prg
  * contrib/hbtip/cgi.prg
  * contrib/hbtip/client.prg
  * contrib/hbtip/credent.prg
  * contrib/hbtip/encoder.prg
  * contrib/hbtip/encurl.prg
  * contrib/hbtip/ftpcli.prg
  * contrib/hbtip/httpcli.prg
  * contrib/hbtip/log.prg
  * contrib/hbtip/mail.prg
  * contrib/hbtip/popcli.prg
  * contrib/hbtip/smtpcli.prg
  * contrib/hbtip/url.prg
  * contrib/hbwin/oleauto.prg
  * contrib/hbwin/wce_sim.prg
  * contrib/hbwin/win_tprn.prg
  * contrib/xhb/hblog.ch
  * contrib/xhb/hblog.prg
  * contrib/xhb/hjwindow.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/trpccli.prg
  * contrib/xhb/txml.prg
  * contrib/xhb/xhbmemo.prg
  * contrib/xhb/xhbole.prg
    * class names synced with the format in .hbx files
2012-11-08 23:18:57 +00:00
Viktor Szakats
7e43547b32 2012-11-08 23:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/hbcompat.ch
  * utils/hbmk2/hbmk2.prg
    * minor cleanups
2012-11-08 22:51:57 +00:00
Viktor Szakats
031003a8c9 2012-11-08 18:01 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/any2any.prg
  * contrib/hbnf/d2e.prg
    ! Fixed wrongly cased local macros after last formatting.
      These macro names collided with function names used in
      other libs. I gave these macros a unique name to avoid that.
      Based on Andi Jahja's patch. Thank you.

  * include/*.ch
    * formatting (except std.ch)

  * contrib/xhb/hbcompat.ch
    ! minor fix to prev

  * include/harbour.hbx
    ! minor fix

  * contrib/gtwvg/hbgtwvg.ch
  * contrib/hbblink/hbblink.ch
  * contrib/hbcairo/hbcairo.ch
  * contrib/hbct/ct.ch
  * contrib/hbct/ctdisk.ch
  * contrib/hbct/ctvideo.ch
  * contrib/hbfimage/freeimag.ch
  * contrib/hbmxml/hbmxml.ch
  * contrib/hbnf/any2any.prg
  * contrib/hbnf/d2e.prg
  * contrib/hbtip/thtml.ch
  * contrib/hbtip/tip.ch
  * contrib/hbxpp/hbxpp.ch
  * contrib/hbzebra/hbzebra.ch
  * contrib/xhb/hbcompat.ch
  * contrib/xhb/hbdll.ch
  * contrib/xhb/hblog.ch
  * contrib/xhb/ttable.ch
  * extras/hbdoc/hbdoc.ch
  * extras/hbvpdf/hbvpdf.ch
  * utils/hbtest/rt_init.ch
    * minor cleanups/formatting
2012-11-08 17:05:01 +00:00
Viktor Szakats
95ca642c65 2012-11-08 16:02 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbmysql/tmysql.prg
  * contrib/hbnf/tests/test.prg
  * contrib/hbtip/cgi.prg
  * contrib/hbtip/tests/base64.prg
  * contrib/hbtip/tests/dbtohtml.prg
  * contrib/hbtip/tests/ftpadv.prg
  * contrib/hbtip/tests/httpadv.prg
  * contrib/hbtip/tests/tiptest.prg
  * contrib/hbtip/thtml.prg
  * contrib/rddads/tests/testmg.prg
  * extras/gfspell/spell.prg
  * extras/hbvpdf/hbvpdf.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/modules/tableservletdb.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
  * utils/hbmk2/hbmk2.prg
    * minor cleanups

  * contrib/xhb/*.ch
    * formatted .ch files
    ! fixed SETLASTKEY() to be HB_SETLASTKEY() in xhb

  * contrib/hbtinymt/3rd/tinymt/tinymt.hbp
  - contrib/hbtinymt/3rd/tinymt/tinymt.hbx
    ! deleted .hbx file for 3rd lib and fixed not to generate it

  * extras/httpsrv/modules/tableservletdb.prg
    ! DEFAULT TO -> hb_default()
2012-11-08 15:06:50 +00:00
Przemyslaw Czerpak
3cba05eca5 2012-11-08 14:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/rat.c
    ! fixed HB_RAT() to respect end range in the same way as in HB_AT()
    ; Warnings: 1) It's not backward compatible and may change the behavior
                   of some code which expects that ranges are not strictly
                   respected. If someone uses HB_RAT() with 4-th parameter
                   then he should check if above modification interacts with
                   his code. The modification is significant only if 1-st
                   parameter is longer then 1 character.
                2) xHarbour supports in its RAT() function 3-rd and 4-th
                   parameters but their meaning is reverted then in HB_RAT()
                   and they do not have any range checking so they are used
                   in raw form accessing any memory addresses (even out of
                   process memory area generating GPF in such case).
                   It means that also above fix is not respected and may
                   introduce the same incompatibilities in code which tires
                   to use sth like HB_RAT() with reverted 3-rd and 4-th
                   parameters to emulate xHarbour RAT().

  * harbour/src/rtl/rat.c
    % use 4-th parameter of HB_RAT() function instead of creating temporary
      substring from 2-nd parameter.

  * harbour/contrib/hbtinymt/3rd/tinymt/tinymt.hbx
    * regenerated (removed Id header)
2012-11-08 14:01:25 +00:00