Commit Graph

10048 Commits

Author SHA1 Message Date
Pritpal Bedi
45d9122f5a 2008-11-30 23:49 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/gtwvg/wvgdlg.prg
  * harbour/contrib/gtwvg/wvgphdlr.prg
  * harbour/contrib/gtwvg/wvgwnd.prg
    ! Cleanup - leftover trace calls.
2008-12-01 07:50:46 +00:00
Pritpal Bedi
cfc5ad17f6 2008-11-30 23:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/makefile
  * harbour/contrib/gtwvg/common.mak
    + wvgparts.ch
    + wincallb.c
    + wincback.prg
    + wvglistb.prg
    + wvgpushb.prg
    + wvgstatb.prg
    + wvgstatc.prg
    + wvgtreev.prg

  * harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/gtwvg/wvgsink.c
  * harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/hbgtwvg.ch
  * harbour/contrib/gtwvg/wvgparts.ch
  * harbour/contrib/gtwvg/wvtwin.ch
  * harbour/contrib/gtwvg/wvgax.prg
  * harbour/contrib/gtwvg/wvgcrt.prg
  * harbour/contrib/gtwvg/wvgdlg.prg
  * harbour/contrib/gtwvg/wvgmenub.prg
  * harbour/contrib/gtwvg/wvgphdlr.prg
  * harbour/contrib/gtwvg/wvgtoolb.prg
  * harbour/contrib/gtwvg/wvgwnd.prg
    ! More synchronization, more events firings, etc.

  + harbour/contrib/gtwvg/wincback.prg
  + harbour/contrib/gtwvg/wincallb.c
    Now PRG/C level callback procedures/code blocks/methods 
    are made available by Andy Wos. A big thank you. 

       :nWndProc := HB_AsCallBack( 'MYWNDPROC', Self )

       METHOD MYWndProc( hWnd, nMessage, nwParam, nlParam )
          IF nMessage == WM_LBUTTONDOWN
             Win_MessageBox( , 'Prg level callback procedure!, 'Info' )
             RETURN 0
	  ENDIF
 
          RETURN 1

       Before this mechanism was available with only C callbacks which 
       were of limiting nature. It has made our life so easy.

  + harbour/contrib/gtwvg/wvglistb.prg
  + harbour/contrib/gtwvg/wvgcombo.prg
  + harbour/contrib/gtwvg/wvgpushb.prg
  + harbour/contrib/gtwvg/wvgstatb.prg
  + harbour/contrib/gtwvg/wvgstatc.prg
  + harbour/contrib/gtwvg/wvgtreev.prg
    + Added Xbase++ compatible new classes. 
       NOTE: Still a work-in-progress, subject to heavy changes.
       Basic functionality is working and class skeletons are in place.
       The partially functional classes added are:
          WvgStatusBar()
          WvgStatic()
          WvgPushButton()

  * harbour/contrib/gtwvg/tests/demowvg.prg
    + Added functionality of new classes.

    ; TOFIX: harbour/contrib/gtwvg/wvggui.c
             Przemek, can you please look into this stripped down
             version of gtwvg.c. It has memory leak in inkey() and 
             hb_gtInfo() functions. To test, just resize the window
             and exit, boooom, a big hb_out.log with above mem leak 
             entries. I am sure I just stripped some important loop
             but am unable to locate where.
2008-12-01 07:31:45 +00:00
Przemyslaw Czerpak
7ad0d5f23f 2008-11-26 18:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/itemapi.c
    * changed hb_itemPutNLen() function to create integer item only
      when conversion to HB_LONG does not change value of passed double
      argument. It fixes some problems like restoring non integer double
      values with 0 decimal places by __MVRESTORE()

  * harbour/source/rtl/val.c
    % minor optimization
2008-11-26 17:21:08 +00:00
Pritpal Bedi
9279f182f6 2008-11-25 09:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/gtwvg/wvgdlg.prg
  * harbour/contrib/gtwvg/wvgtoolb.prg
    + Hot Tracking of toolbar buttons.

    ;TODO: Buttons from resources.
           System defined buttons.
           Buttons with dropdown menues.
           Buttons with disabled/hot images.
2008-11-25 17:20:49 +00:00
Pritpal Bedi
23f63ba827 2008-11-25 02:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/hbgtwvg.ch
  * harbour/contrib/gtwvg/wvtwin.ch
  * harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wvgax.prg
  * harbour/contrib/gtwvg/wvgphdlr.prg
  * harbour/contrib/gtwvg/wvgtoolb.prg
  * harbour/contrib/gtwvg/wvgwnd.prg
    + Added WvgToolBar() class demonstrating limited features.

  * harbour/contrib/gtwvg/tests/demowvg.prg
    ! Added WvgToolBar() functionality. Click on ActiveX dialogs and
      see the difference between two two types of buttons. It is just
      limited featured toolbar. Extended version will follow. 

    ;THANKS - Bitmap management code is lifted from GTWVW. 
              Thanks Budyanto for this well written code.
              I examined many implementations but found this piece
              of code satisfying.
                Just tweaked to make UNICODE compliant.
2008-11-25 10:35:07 +00:00
Przemyslaw Czerpak
f3a3469af0 2008-11-24 16:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/pp/ppcore.c
  * harbour/source/rtl/run.c
  * harbour/source/rtl/errorint.c
  * harbour/source/rtl/trace.c
  * harbour/contrib/xhb/hboutdbg.c
    * pacified warnings and updated some possibly danger constructions

  * harbour/source/vm/memvars.c
    % improved the performance of __MVRESTORE()
    ; TOFIX: this code has Clipper incompatible extension which may cause
      that incorrect values will be restored - numeric double values with
      0 as default number of decimal places for str() formatting are
      wrongly converted to integers loosing fractional part of number.
2008-11-24 15:40:18 +00:00
Przemyslaw Czerpak
2e6b5eee7d 2008-11-24 12:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hberrors.h
  * harbour/source/compiler/hbgenerr.c
    + added new compile time error (file write error)

  * harbour/source/pp/ppcore.c
  * harbour/source/rtl/errorint.c
  * harbour/source/compiler/genhrb.c
  * harbour/source/compiler/genc.c
  * harbour/source/rtl/run.c
  * harbour/source/vm/estack.c
    * pacified warnings - Lorenzo please verify it compiling with C header
      files from Ubuntu.

  * harbour/contrib/xhb/filestat.c
    ! fixed UNICODE compilation

  * harbour/contrib/gtwvg/wvgsink.c
    ! added #define NONAMELESSUNION to fix MinGW compilation
2008-11-24 11:33:13 +00:00
Pritpal Bedi
39b634fbb7 2008-11-23 17:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/Makefile
  * harbour/contrib/gtwvg/common.mak
    + wvgtoolb.prg 

  * harbour/contrib/gtwvg/hbgtwvg.ch
  * harbour/contrib/gtwvg/wvgdlg.prg
  * harbour/contrib/gtwvg/wvgmenub.prg
  * harbour/contrib/gtwvg/wvgphdlr.prg
  + harbour/contrib/gtwvg/wvgtoolb.prg
    ! Initial commit.
  * harbour/contrib/gtwvg/wvgwnd.prg
    
    ! Usual cleanup plus new functions/members etc.
2008-11-24 01:28:12 +00:00
Pritpal Bedi
d8655db0a9 2008-11-23 15:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/Makefile
  * harbour/contrib/gtwvg/common.mak
    + wvgmenub.prg
2008-11-23 23:01:21 +00:00
Pritpal Bedi
882bd891a2 2008-11-23 13:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
    + static void hb_gt_wvt_FireMenuEvent( PHB_GTWVT pWVT, int iMode, int menuIndex )
    + WM_ENTERMENULOOP
    + WM_EXITMENULOOP
    ! WM_COMMAND - Enhanced

  * harbour/contrib/gtwvg/wvggui.c
    + Same as with gtwvg.c

  * harbour/contrib/gtwvg/wvgsink.c
    + Experimental TypeLib info extraction function. Disabled for now.

  * harbour/contrib/gtwvg/wvgwin.c
    + Many new Win_* winapi functions.

  * harbour/contrib/gtwvg/hbgtwvg.ch
    + HB_GTI_MENU

  * harbour/contrib/gtwvg/wvgax.prg
  * harbour/contrib/gtwvg/wvgcrt.prg
  * harbour/contrib/gtwvg/wvgdlg.prg
  + harbour/contrib/gtwvg/wvgmenub.prg
  * harbour/contrib/gtwvg/wvgphdlr.prg
    + Implemented ( partially but functional ) Xbase++ compatible
      WvgMenuBar() and WvgMenu() classes.

  * harbour/contrib/gtwvg/tests/demowvg.prg
    + Demonstrated WvgMenuBar() and WvgMenu() implementation
      by picking up the real-time Xbase++ code.

  ; NEXT: WvtToolBar() class per XbpToolBar().
2008-11-23 22:22:39 +00:00
Pritpal Bedi
7ec06640e7 2008-11-22 15:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ harbour/contrib/gtwvg/tests/myharu.pdf
2008-11-22 23:59:16 +00:00
Pritpal Bedi
aa745d2d18 2008-11-22 15:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
    ! Fixed to honor parent GT if that is alien.

  * harbour/contrib/gtwvg/wvggui.c
    ! Thorough synchronized hb_gtInfo() slots.
      Every info gives results as expected, the only 
      poiint to remeber is that those values are based on :fontHeight/Width
      set by the user at startup, though the font is never created.
      So MaxCol() will return the ( Windows client area size / fontWidth ).
      At any given moment this value is measured from actual size of the
      window. Though this information is irrelevant in this context
      but still it works.

  * harbour/contrib/gtwvg/wvgsink.c
    ! Fixed few left-over unreleased memory blocks.
      More synchronized code.

    ; TOFIX: With some active-x's, for example, Shell.Explorer.2, 
      object never unreference itself to 0 and hence GlobalAlloc()ated
      memory never gets released. Though I made extensive debugging 
      but do not know where I should look into this matter.     

  * harbour/contrib/gtwvg/wvgwin.c
    + Added few more Win_* functions.

  * harbour/contrib/gtwvg/wvgax.prg
  * harbour/contrib/gtwvg/wvgcrt.prg
  * harbour/contrib/gtwvg/wvgdlg.prg
    ! More synchronizations, method implementations, etc.
      Still a work in progress.

  * harbour/contrib/gtwvg/tests/demowvg.prg
    ! Changed menu prompts to depict correct usage.
    + Added more prompts and deleted unwanted ones.
2008-11-22 23:54:44 +00:00
Viktor Szakats
6d9e671cb3 2008-11-19 21:49 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
    ! hbw32 -> hbwin
2008-11-19 20:49:54 +00:00
Viktor Szakats
50defb24c8 2008-11-19 19:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapi.h
  * source/vm/extend.c
    + Added hb_stordl() which is similar to hb_stords() but 
      accepts a Julian date in long numeric format similarly 
      to hb_retdl().

  * contrib/xhb/Makefile
  * contrib/xhb/common.mak
  + contrib/xhb/filestat.c
    + Added FILESTATS() function.
      Work of Giancarlo Niccolai / xhb.
      Minor cleanups made.
    ; Please test. (Only Win32/BCC platform was tested.)
2008-11-19 18:35:51 +00:00
Viktor Szakats
15ee96f92c 2008-11-19 18:14 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/codepage/cpuakoi.c
    ! Fixed CP reference to point to KOI8-U instead of KOI8.
      Reasons: 1) KOI8-U was used in the _comment_.
               2) Ukrainian quasi standard is KOI8-U instead of KOI8.
                  http://aspell.net/charsets/cyrillic.html
               3) CP KOI8-U wasn't used previously anywhere, yet 
                  was added by same author.
      I hope the author (Pavel Tsarenko) will be able to verify 
      this change.
2008-11-19 17:16:08 +00:00
Viktor Szakats
a883092600 2008-11-19 13:51 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
  * make_b32.mak
  * make_gcc.mak
  * make_vc.mak
    * Smoothened the difference between HARBOURFLAGS and 
      HARBOURFLAGSDLL under the name HARBOURFLAGSLIB.
      Now all core .prg modules will be compiled with -n1 
      Harbour switch. This also means double compilation 
      of .prg modules for static/dynamic libs could be 
      optimized out as the object files are the same in 
      both modes.
      TODO: Make -n1 switch unnecessary.

  * contrib/mtpl_gcc.mak
    + Added -n1 to HARBOURFLAGS. This way Harbour functions 
      in libs will never be considered as entry points in 
      executables or when any such module is built as dynamic 
      lib in the future.

  * contrib/make_gcc_all.sh
    * Minor formatting.
2008-11-19 13:10:13 +00:00
Viktor Szakats
230eeecfc5 2008-11-19 09:04 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
  * mpkg_tgz.sh
    ! Fixed OSX/Darwin builds:
      - to not require harbour.dylib for binary tools supplied 
        in .tgz package. This way, hbrun/hbmake/hbdoc/hbtest 
        will work out of the box without the need for any 
        special installation or extra manual procedure, or 
        any change whatsoever in the user/system environment. 
        The change also doesn't prevent user installing Harbour 
        to system dirs and/or to utilize harbour.dylib in every way.
      - so that hbmk script creates '-static' executables by default.
        This will make all programs created by hbmk to work out of the 
        box without any special trick described above, or explicit 
        need to use '-static' switch.
        You can override this with '-shared' switch.
      ; [ The price to pay is slightly larger binary package 
          and executable sizes. ]

  * make_gnu.sh
    * Minor sync in help text with recent change.

  * common.mak
    ! Old typo.
2008-11-19 08:05:19 +00:00
Przemyslaw Czerpak
61cd9e0e8c 2008-11-19 06:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * updated OS release version checking for new OpenSuse distros
    * removed r from uname parameters used in get_hbplatform() function
    + added support for HB_MK_STATIC=yes|no envvar which allows to control
      default -static/-shared hbmk switch. It should be set before hb*
      scripts are created

  * harbour/harbour.spec
    * updated OS release version checking for new OpenSuse distros

  * harbour/mpkg_tgz.sh
    * changed installer envelope code to not use 'sed' and reenabled it
      in default builds. Now it should work with different *nixes.
      Please test.
2008-11-19 05:26:09 +00:00
Viktor Szakats
cce8d5b9f7 removed high bytes (UTF-8 chars probably). 2008-11-18 17:47:34 +00:00
Viktor Szakats
29b79449fd 2008-11-18 13:55 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_gcc.sh
  * common.mak
    ! Fixed previous and even older workaround for cyclic 
      reference in common.mak when used with GNU-make.
    ; Please review/test.
2008-11-18 13:05:21 +00:00
Pritpal Bedi
00a802ac7b 2008-11-18 00:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/gtwvg/common.mak
  * harbour/contrib/gtwvg/wvgdlg.prg
  * harbour/contrib/gtwvg/wvgwnd.prg
    ! Minor typos - strict Harbour code quality warnings.
2008-11-18 08:45:54 +00:00
Pritpal Bedi
5c2e4521ce 2008-11-17 23:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/Makefile
  * harbour/contrib/gtwvg/common.mak
    + wvgdlg.prg 
      
  * harbour/contrib/gtwvg/gtwvg.c
    ! Fixed one more issue with screen repaint behavior when
      window was changing size due to font settings.

  * harbour/contrib/gtwvg/wvgcore.c
  * harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/hbgtwvg.ch
  * harbour/contrib/gtwvg/wvggui.h
  * harbour/contrib/gtwvg/wvgax.prg
  * harbour/contrib/gtwvg/wvgcrt.prg
  * harbour/contrib/gtwvg/wvgphdlr.prg
  * harbour/contrib/gtwvg/wvgwnd.prg
    ! A reshuffling exercise, Wvt*Classes inching towards
      Xbase++ compatibility, more synchronizations.
      
  + harbour/contrib/gtwvg/wvgdlg.prg
    + Added WvgDialog() class on lines with XbpDialog().

  * harbour/contrib/gtwvg/tests/demowvg.prg
    ! Active-X controls hosted with WvgDialog(), pure Windows GT. 
      Previously these were being hosted in WvtCrt() console.
2008-11-18 08:16:08 +00:00
Viktor Szakats
ab6a849699 2008-11-18 03:04 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
    * Two recent TODOs in entries marked as [DONE] by this change:
      2008-11-18 01:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
      (It was "broken" due to enhancements, see the TODOs. Thanks anyway.)
2008-11-18 02:05:40 +00:00
Viktor Szakats
f5a6a8112f 2008-11-18 02:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
    ! Fix to previous fix to maximize the window when the initial 
      size would be too big to fit on screen (stupid omission).
      Now the previously cited sizing problem is alright.

  * source/vm/fm.c
    + Replaced HB_NO_FM_STAT and HB_FM_STAT envvars 
      with HB_FM_STAT=yes|no (maybe 0|1 or on|off woud be 
      better or could be accepted as alternatives or 
      replacement). This is to avoid ambiguity when both 
      envvars were set or the app default is not known.
    + Added HB_FM_STATISTICS_DYN_OFF to turn off mem tracking 
      by default when stat module is linked in.

  * source/common/hbverdsp.c
    * Minor cosmetic.
2008-11-18 01:59:51 +00:00
Przemyslaw Czerpak
2fb971abd9 2008-11-18 01:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_gcc.sh
  * harbour/make_gcc.mak
    ! fixed GCC builds broken by modifications in common.mak
2008-11-18 00:35:51 +00:00
Pritpal Bedi
4da9dbd24d 2008-11-16 23:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
    ! Resizing: some recent changes reverted back.
    ; TODO: reversal in GTWVT also. It breaks some pre-initialization issues.

  * harbour/contrib/gtwvg/wvgax.prg
    ! Better detection if COM object fails to be created.

  + harbour/contrib/gtwvg/wvggui.c
  + harbour/contrib/gtwvg/wvggui.h
    + Initial commit of pure GUI GT based on GTWVG named WGU.
      ; Subject to heavy changes onwards.
        WGU will become the basis of WvgDialog() plus inherited 
        sub-classes.

  * harbour/contrib/gtwvg/makefile
  * harbour/contrib/gtwvg/common.mak
    + Added new files.

  * harbour/contrib/gtwvg/tests/demowvg.prg
    + Now <Dialog One> is working properly. 
      It now opens in new thread if it is odd and as usual if even.
    + <Modeless Dialogs><Experiment #1>
      ! Just to have experiments on WGU GT.
2008-11-17 08:13:32 +00:00
Viktor Szakats
be56aaa8b8 2008-11-16 23:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/wvgsink.c
    * Minor cleanup to hb_strncat() (it's best to use 
      'sizeof( target ) - 1' for size, if target is a char 
      array. The buffer was off by one on the good direction.)

  * ChangeLog
    ! ChangeLog was again saved as Unicode. Please guys TURN 
      THIS OFF for good.
2008-11-16 22:08:33 +00:00
Pritpal Bedi
3161755cff 2008-11-16 13:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
    ! Slight fix in WM_PAINT message.

  * harbour/contrib/gtwvg/tests/demowvg.prg
    + Added menu option to open a GET session in GTWVT console.
      ; I was studying to call multiple GTs ( GTWVG and GTWVT ) same time.
        It can be and it also opens up a lot more possibilities.
    
      ; Thanks Przemek for superb basic engine.

    + Added RMChart Active-X manipulation. It is free OCX and 
      can be downloaded from http://www.rmchart.com/
      ; Select from the <Active-X Controls> option.
        Press F11 repeatedly to see 6 different charts.
        Press F12 to change some attributes.
2008-11-16 21:06:09 +00:00
Pritpal Bedi
6d093c56ab 2008-11-16 07:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/gtwvg.h
    ! Further tuned up the resizing behavior. Viktor please check.
2008-11-16 15:31:09 +00:00
Przemyslaw Czerpak
913d287aca 2008-11-16 15:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbatomic.h
    + added support for built in GCC atomic functions: __sync_*()
      They are present in GCC >= 4.1 if given CPU supports them. For
      x86 CPU family the ones we use need at least i486 CPU. Please make
      tests with other CPUs like PPC. If given platform/CPU does not support
      them then GCC generate call to function __sync_*_<N>() where <N>
      is size of given type used in atomic operation instead of storing
      inlined assembler code.
2008-11-16 14:31:37 +00:00
Pritpal Bedi
15dbc1c7e3 2008-11-15 23:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvgcrt.prg
    ! Further tuned up the resizing behavior. Silly typos.
2008-11-16 08:05:11 +00:00
Pritpal Bedi
0caad823a1 2008-11-15 23:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
    ! Further tuned up the resizing behavior.

    ! Fixed a nasty bug present since begining. The bug was causing 
      window to loose gui contents and even text buffer in certain
      circumstances. Now you can be assured that all GTs open 
      with/without gui contents will never be out of synchronization.
      Play with contrib/gtwvg/tests/demowvg.prg, open many browsers,
      Active-X controls, get windows and so on, every window will 
      behave as a gentleman.

  * harbour/contrib/gtwvg/wvgcrt.prg
    ! Fixed ::resize method.

  * harbour/contrib/gtwvg/tests/demowvg.prg
    ! Fine tuned to respect above fixes.
2008-11-16 07:03:58 +00:00
Pritpal Bedi
f7b1452f16 2008-11-15 13:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/gtwvg.h
    - pWVT->bResizing
    - pWVT->bAlreadySizing
    ; Optimized resizing behavior. Now Window must not flicker until 
      resizing is finished. Please test. If this effects the desired
      behavior, let me port it to GTWVT also.

  * harbour/contrib/gtwvg/tests/demowvg.prg
    ! Adjusted few parameters. Just play with <Traditional><Browser><F3, F4>.
    ; TOFIX: INKEY() vs FireEvent() - Not sure what it behave like.  

  * harbour/contrib/gtwvg/wvgcrt.prg
    ! Fixes to some events behaviors. Copy and Paste syndrome :-(
2008-11-15 21:19:55 +00:00
Pritpal Bedi
3ea0411813 2008-11-15 08:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/gtwvg.h
    + BOOL bDeferPaint; member.
  * harbour/contrib/gtwvg/hbgtwvg.ch
    + #define HB_GTI_DEFERPAINT
      Implemented hb_gtInfo( HB_GTI_DEFERPAINT, FALSE | TRUE )
      For consoles hosting ActiveX controls need not be painted text buffer.
      :TOFIX To extend this protocol for resizing buffer too
   
  * harbour/contrib/gtwvg/wvgsink.c
    ! More unicode compliant.
    ! Fixed some errors in -DUNICODE builds, not all.
    ! strcat() => hb_strncat() : Viktor please check.

  * harbour/contrib/gtwvg/tests/demowvg.prg
    + Added more Active-X controls.
2008-11-15 16:30:12 +00:00
Pritpal Bedi
720ab17282 2008-11-14 20:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvgsink.c
    ! Pacified some warnings.
    ! Formatting per Harbour standards.
2008-11-15 04:59:52 +00:00
Viktor Szakats
a3c411b23f 2008-11-15 01:43 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
  * contrib/mtpl_b32.mak
  * contrib/mtpl_vc.mak
    * Minor fix.

  * contrib/hbcurl/make_b32.bat
  * contrib/hbcurl/make_vc.bat
  * contrib/hbcurl/Makefile
    - Removed recently added HB_HBCURL_USR_C.

  * contrib/gtwvg/tests/demowvg.prg
    * Replaced '#if __MW__' with 'IF hb_vmmt()'.
      (not tested)

  * contrib/gtwvg/tests/hbmk_b32.bat
  * contrib/gtwvg/tests/hbmk_vc.bat
    ! Added hbwin.lib to HB_USER_LIBS list.

  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvgclass.prg
  * contrib/gtwvg/wvgax.prg
  * contrib/gtwvg/wvgphdlr.prg
  * contrib/gtwvg/wvgpaint.prg
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgwnd.prg
  * contrib/gtwvg/wvgcrt.prg
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgsink.c
    ! SVN IDs missing, mistyped. SVN tags now reset.
    ; TOFIX: GTWVG is now broken with MSVC 8 and/or C++ and/or 64-bit modes, 
             also unsafe string function is used:
             - strcat() should be hb_strncat().
             - Usual but wrong HRESULT to ULONG conversions break in 64-bit.
             - Some newest Windows features should be probably guarded.
      .\gtwvg.c(1913) : warning C4013: 'TrackMouseEvent' undefined; assuming extern returning int
      .\gtwvg.c(3205) : error C2065: 'WS_EX_LAYERED' : undeclared identifier
      .\wvgsink.c(128) : warning C4244: 'return' : conversion from 'HB_THREAD_NO' to 'int', possible loss of data
      .\wvgsink.c(339) : warning C4245: 'return' : conversion from 'HRESULT' to 'ULONG', signed/unsigned mismatch
      .\wvgsink.c(352) : warning C4245: 'return' : conversion from 'HRESULT' to 'ULONG', signed/unsigned mismatch
      .\wvgsink.c(368) : warning C4245: 'return' : conversion from 'HRESULT' to 'ULONG', signed/unsigned mismatch
      .\wvgsink.c(392) : warning C4245: 'return' : conversion from 'HRESULT' to 'ULONG', signed/unsigned mismatch
      .\wvgsink.c(455) : error C2039: 'n1' : is not a member of 'tagVARIANT'
      .\wvgsink.c(457) : error C2039: 'n1' : is not a member of 'tagVARIANT'
      .\wvgsink.c(460) : error C2039: 'n1' : is not a member of 'tagVARIANT'
      .\wvgsink.c(463) : error C2039: 'n1' : is not a member of 'tagVARIANT'
      .\wvgsink.c(466) : error C2039: 'n1' : is not a member of 'tagVARIANT'
      .\wvgsink.c(469) : error C2039: 'n1' : is not a member of 'tagVARIANT'
      .\wvgsink.c(472) : error C2039: 'n1' : is not a member of 'tagVARIANT'
      .\wvgsink.c(475) : error C2039: 'n1' : is not a member of 'tagVARIANT'
      .\wvgsink.c(633) : warning C4305: 'type cast' : truncation from 'HB_LONG' to 'device_interface *'
      .\wvgsink.c(652) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2008-11-15 00:54:22 +00:00
Viktor Szakats
1a8f4b4f80 2008-11-14 19:55:16 +00:00
Pritpal Bedi
b52df58d23 Changelog entries date change. 2008-11-14 15:34:49 +00:00
Pritpal Bedi
2072dc31e2 2008-11-15 07:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgax.prg
  * harbour/contrib/gtwvg/wvgphdlr.prg
    ! Hash() => hb_hash()

  * harbour/contrib/gtwvg/tests/demowvg.prg
    - #ifdef HB_ACTIVEX

    Sorry I left few defines untouched.
       hbmk_b32 -mt -gui demowvg -d__MW__   

    But it needs hbwin.lib and you have to include it in link script.
2008-11-14 15:32:07 +00:00
Pritpal Bedi
12e866c2e4 2008-11-14 00:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
    + New HB_GTI_ + HB_GTE_ messages.

  * harbour/contrib/gtwvg/wvgutils.c
    - Excluded WIN_*  Windows API functions.

  + harbour/contrib/gtwvg/wvgwin.c
    + Included WIN_* Windows API functions.

  + harbour/contrib/gtwvg/wvgsink.c
    ! ActiveX container functions contributed by Andy Wos, a big thanks to him.

  + harbour/contrib/gtwvg/wvgphdlr.prg
  + harbour/contrib/gtwvg/wvgwnd.prg
  + harbour/contrib/gtwvg/wvgcrt.prg
  + harbour/contrib/gtwvg/wvgax.prg
    ! Xbase++ compatible class skeleton and implementation.
    ! Partially but sufficient functional WvgCrt() class.
 
  * harbour/contrib/gtwvg/gtwvg.h
  * harbour/contrib/gtwvg/hbgtwvg.ch
  * harbour/contrib/gtwvg/wvtwin.ch
    + Added few new members.

  * harbour/contrib/gtwvg/common.mak
  * harbour/contrib/gtwvg/makefile
    ! Updated to include added files.

  * harbour/contrib/gtwvg/tests/demowvg.prg
    ! updated to include WvgCrt() class implementation.
    ! Updated to host ActiveX controls in WvtCrt() terminal.

  ; It is a humble effort to introduce a common and portable class framework
    to build futuristic CUI/GUI applications development and maintainability
    easier. I had been a fairly good user of Xbase++ in early years
    and was an admirer of their intuitive object modal especially
    uniform way of parameters passing almost for all their objects.
    So when Multi-threading and Multi-windows(GT) capability is introduced
    Przemek, I thought it is the right moment to start in this direction too.

    The firts efforts are encouraging and I see a great hope in the future.
    But for sure I cannot accomplish this task at my own. Someone has to join
    this effort. I know all have their own preferences but also realize that
    it can ease all of us in a big way. In the past many developers put their
    hands on the GUI front but without a clear framework. I based this effort
    on Xbase++ because it is the only compiler which offers such functionality
    on console level if we do not talk about GUI. Also it has extensive
    documentation which is a force in itself.

    I ever wished if Przemek would been a Windows user too!
2008-11-14 09:21:31 +00:00
Przemyslaw Czerpak
26534784e8 2008-11-12 23:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbgtcore.c
    ! removed code I committed by mistake.
2008-11-12 22:27:19 +00:00
Przemyslaw Czerpak
3e2a8a9fc6 2008-11-12 23:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/fm.c
    + added support for enabling/disabling memory statistic when
      application starts. To enable memory statistic it's enough
      to set HB_FM_STAT environment variable to non empty value.
      To disable memory statistic it's enough to set HB_NO_FM_STAT
      envvar. The default setting may depend on build time option.
      Now is enabled when memory statistic is compiled when harbour
      is created. It may not work if C compiler does not allow to
      check environment variables from startup code. F.e. functions
      to access environment can be also part of dynamic library
      registered after harbour.dll or harbour core code startup
      functions.
      Viktor I would like to ask you only about one thing.
      Please do not remove current support for HB_FM_STATISTICS_OFF
      from GNU make builds so Harbour user can still create binaries
      without any memory statistic code using -[no]fmstat switch in
      hb* scripts. The above feature is only for users who need support
      for enabling/disabling memory statistic to test application
      if foreign environment, f.e. at client computers. Of course if
      it will work with given C compiler and/or type of application
      (linked dynamically or statically). Please check.
2008-11-12 22:15:28 +00:00
Viktor Szakats
45568708d8 minor 2008-11-12 19:08:33 +00:00
Viktor Szakats
d4b7cd1881 2008-11-12 20:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/linux1st.txt
    * Updated for Ubuntu 8.10.
2008-11-12 19:03:30 +00:00
Viktor Szakats
7c7756a853 2008-11-12 19:11 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.bat
  * make_b32.mak
  * make_vc.bat
  * make_vc.mak
  * make_gcc.mak
  * contrib/mtpl_b32.mak
  * contrib/mtpl_gcc.mak
  * contrib/mtpl_vc.mak
    + Added 'set HB_BUILD_OPTIM=no' option to disable 
      all C compiler optimization for all compilers in 
      non-GNU make system. This replaces old envvars 
      BCC_NOOPTIM and GCC_NOOPTIM and add MSVC support 
      for this option.

  * common.mak
    * Formatting.
2008-11-12 18:12:56 +00:00
Viktor Szakats
030b68ec73 2008-11-12 18:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbverdsp.c
    * Don't show '(C mode)', only C++.
2008-11-12 17:21:13 +00:00
Viktor Szakats
0e88f2ff77 minor 2008-11-12 17:19:04 +00:00
Viktor Szakats
20b768bbce 2008-11-12 14:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_vc.mak
    + TOFIX added for the case when HB_CC_NAME is overridden 
      by user and MT/DLL targets are being created.

  * common.mak
  * source/common/hbver.c
    % Minor opts.
2008-11-12 13:45:27 +00:00
Viktor Szakats
8171ecbecf 2008-11-12 13:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbverdsp.c
    ! Fixed displaying tracing status. (INFO and DEBUG level 
      counts as 'on'.)
2008-11-12 12:58:07 +00:00
Viktor Szakats
bc980240ea 2008-11-12 12:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
  * common.mak
  * utils/hbdoc/Makefile
  * utils/hbmake/Makefile
  * utils/hbtest/Makefile
  * utils/hbrun/Makefile
    % Setup to build shipped Harbour executables with -gc0.
    ; TODO: Please update make_gcc.mak.

  * ChangeLog
    + Marked one change as [TOMERGE 1.0]
2008-11-12 11:34:50 +00:00