Commit Graph

18103 Commits

Author SHA1 Message Date
Viktor Szakats
2aa3c558ce 2012-11-13 03:03 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbfimage/fi_winfu.c
    * missed to include it in one of the recent entries:
      FI_LOADFROMMEM() has been renamed to FI_LOADFROMMEMORY()
      to be in sync with original FreeImage function name.
      Update your apps accordingly. INCOMPATIBLE.

  * contrib/hbfimage/tests/fitest.prg
    ! synced with above lib change

  * contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/hbgd/gdwrp.c
  * contrib/hbgd/gd.prg
    * deleted excessive {} and () operators
    * eliminated split lines where only one char was present in a line
    % replaced RTE generator calls to more compact ones
    % dropped pcount() checks where HB_IS*() checks were
      present anyway
    * merged separate var declarations and initializations in
      wrapper code
    % eliminated local variables where it didn't make code
      less obvious
    % adujsted a few var scopes
    * deleted repetitive comments
    % protected hb_parcx() calls changed to hb_parc()
    ! GDIMAGESTRING(), GDIMAGESTRINGUP(), GDIMAGECHAR(), GDIMAGECHARUP()
      fixed for 1 character long strings. Code tried to retrieve a character
      by using hb_parni() which (purposefully) isn't supported in Harbour.
      The current effect is the same, with negligibly performance
      loss for one long strings.
    % GDIMAGECHAR(), GDIMAGECHARUP() now use C level forwarder.
    % using hb_parnintdef()
    ! fixed typo in RTE message
    % using hb_default() in gd.prg
    % number of LOC, source size (-24KB) and generated binary
      code greatly reduced by the above.

  * src/rtl/tclass.prg
  * src/rtl/tobject.prg
    * commented code changed to #if 0 blocks
    ! some commented code fixed
    * some obsolete comments deleted

  * utils/hbmk2/hbmk2.prg
    + added following options to .hbc files:
        keywords=
        licenses=
        repository=
      all only informational, they do nothing ATM.
2012-11-13 02:04:22 +00:00
Przemyslaw Czerpak
06167bb04b 2012-11-12 16:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexpra.c
    ! fixed recently added error in macrocompiler mode
2012-11-12 15:35:50 +00:00
Viktor Szakats
9448f6ecd2 2012-11-12 15:36 UTC+0100 Viktor Szakats (harbour syenar.net)
* package/harbour.spec
    * deleted reference to 'hbhttpds' which no longer exists 
      as separate lib since 2012-11-04 14:41 UTC+0100
2012-11-12 14:37:43 +00:00
Przemyslaw Czerpak
767d9dfa1d 2012-11-12 15:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexpra.c
    * indenting

  * harbour/package/harbour.spec
    ! fixed ssl library detection

  * harbour/contrib/hbnetio/netiosrv.c
    ! fixed parameters numbers in NETIO_COMPRESS()

  * harbour/config/linux/libs.mk
  * harbour/config/bin.mk
    ! use pthread in linked library list if shared linking is enabled
    ! do not strip system libraries in shared mode - some systems
      (i.e. RH7.3) needs pthread to be given at link time to create
      correct MT programs and now harbour shared library is only in MT.
2012-11-12 14:15:42 +00:00
Viktor Szakats
e80dff8be7 2012-11-12 15:02 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbi18n/hbi18n.prg
    + converted UI strings to translatable ones
    % use core functions instead of FileExt()
2012-11-12 14:03:47 +00:00
Przemyslaw Czerpak
079aa5c078 2012-11-12 14:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexpra.c
    + added compile time error for GETs with complex macros
2012-11-12 13:08:47 +00:00
Viktor Szakats
c49dc546f9 2012-11-12 13:44 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    % "-*flag=" options' help text change to include the word
      'single' for 'flag'
      (though 'flag' is not and never was in plural)
    % moved -prgflag= option downwards in the list to
      discourage using it by being less visible. In general,
      nobody needs this flag as all non-hbmk2 flags are
      automatically passed to Harbour compiler.
2012-11-12 12:47:19 +00:00
Viktor Szakats
dec74da597 2012-11-12 13:19 UTC+0100 Viktor Szakats (harbour syenar.net)
- contrib/hbct/ctextern.ch
  - contrib/hbgd/gdextern.ch
  - contrib/hbxpp/hbxppext.ch
  - contrib/rddads/adsextrn.ch
  - contrib/xhb/xhbextrn.ch
    % deleted compatibility extern puller headers.
      To pull externs more efficiently from any contribs, use
      this line in your source:
         'REQUEST __HBEXTERN__<LIBNAME>_'
      INCOMPATIBLE.
2012-11-12 12:21:57 +00:00
Viktor Szakats
8ab624eb04 2012-11-12 11:50 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/hbgtwvg.ch
  * contrib/gtwvg/wvgparts.ch
  * contrib/gtwvg/wvtwin.ch
  * contrib/hbblat/blatwrp.c
  * contrib/hbblat/hbblat.ch
  * contrib/hbgd/gd.ch
  * contrib/hbmlzo/hbmlzo.ch
  * contrib/hbodbc/sql.ch
  * contrib/hbtpathy/telepath.ch
  * contrib/hbwin/hbsim.ch
  * contrib/hbwin/hbwin.ch
  * extras/rddado/adordd.ch
    * cleanups (removal of () around negative numerics in
      macros for .ch files not used from C and some alignment,
      comment cleanup)
2012-11-12 10:52:37 +00:00
Viktor Szakats
3af24b8e15 2012-11-12 02:03 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/rddado/rddado.hbp
  * extras/rddado/tests/access1.prg
  * extras/rddado/tests/access2.prg
  * extras/rddado/tests/mysql1.prg
  * extras/rddado/tests/mysql3.prg
    ! added missing link against hbwin lib when building as
      dynamic lib.
      It needs the method described in 2010-07-31 01:59 UTC+0200
    + added #require to tests so now they can be run as hbrun scripts
    + added CLS to automatically switch to interactive GT with hbrun

  * extras/gfspell/spell.prg
  * extras/gfspell/spellc.c
  * extras/gtwvw/tests/ebtest7.prg
    * minor
2012-11-12 01:10:56 +00:00
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