Commit Graph

7736 Commits

Author SHA1 Message Date
Pritpal Bedi
46af19b95e 2007-11-27 21:38 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvt.c
    * Minor fixes.
  * harbour/contrib/gtwvg/wvtutils.c
    * Tooltip functions activated guarded against __WINCE__
    ! Minor fixes. More UNICODE compliant.
  * harbour/contrib/gtwvg/wvtpaint.prg
    ! Wvt_GetOpenFileName() - Fixed to respect recent UNICODE compliance.
  * harbour/contrib/gtwvg/test/demowvg.prg
    ! Adjusted to respect changes in core lib.
2007-11-28 05:44:53 +00:00
Pritpal Bedi
d48cedc237 2007-11-27 21:38 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvt.c
    * Minor fixes.
  * harbour/contrib/gtwvg/wvtutils.c
    * Tooltip functions activated guarded against __WINCE__
    ! Minor fixes. More UNICODE compliant.
  * harbour/contrib/gtwvg/wvtpaint.prg
    ! Wvt_GetOpenFileName() - Fixed to respect recent UNICODE compliance.
  * harbour/contrib/gtwvg/test/demowvg.prg
    ! Adjusted to respect changes in core lib.
2007-11-28 05:44:21 +00:00
Viktor Szakats
18f84d1376 2007-11-27 21:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make_b32.bat
   * contrib/make_vc.bat
     ! Refixed to work again with /contrib/hgf/win32 
       (or any other nested libs)
2007-11-27 22:05:56 +00:00
Przemyslaw Czerpak
be8016179d 2007-11-27 20:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbfsapi.c
    ! fixed typo
2007-11-27 19:43:32 +00:00
Przemyslaw Czerpak
8402ac9cb9 2007-11-27 18:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/hbcomprs.c
  * harbour/contrib/xhb/hbcomprs.h
  * harbour/contrib/freeimage/fi_winfu.c
  * harbour/contrib/firebird/test/testapi.c
  * harbour/contrib/firebird/firebird.c
  * harbour/contrib/what32/sqltypes.ch
  * harbour/contrib/what32/_wincret.c
  * harbour/contrib/what32/_winpen.c
  * harbour/contrib/what32/what32.ch
  * harbour/contrib/what32/_winmem.c
    * converted TABs to spaces
2007-11-27 17:58:54 +00:00
Przemyslaw Czerpak
6a4c657ed7 2007-11-27 18:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbfsapi.c
    * define INVALID_FILE_ATTRIBUTES when not defined in C header
      files - temporary workaround for missing INVALID_FILE_ATTRIBUTES
      definition in new MSVC versions

  * harbour/include/hbwince.h
    * removed INVALID_FILE_ATTRIBUTES definition
2007-11-27 17:24:27 +00:00
Przemyslaw Czerpak
3bfb940135 2007-11-27 17:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbwince.c
    * disabled dummy GetDiskFreeSpaceA() overloading - it's not longer
      necessary
2007-11-27 16:43:57 +00:00
Przemyslaw Czerpak
a61c73f11d 2007-11-27 14:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * inherit some parameters like -mlp{64,32}, -m{64,32} set in C_USR
      during build as default C compiler/linker switches in hb* scripts

  * harbour/config/w32/pocc.cf
    + added comdlg32.lib to linked library list

  * harbour/source/common/hbwince.c
    + added dummy FreeResource() function. This is a note from MSDN:
         FreeResource() is an obsolete function. It is provided for backward
         compatibility with 16-bit Windows applications. FreeResource() is
         not necessary for 32-bit Windows applications to free the resources
         loaded using LoadResource() function.

  * harbour/contrib/gtwvg/wvtutils.c
    + added workaround for wrong ChooseColorW() definition in header
      files include in last oficial relase (0.50) of MinGW32-CE

      Pritpal above finished modifications I was able to make using
      only pure MinGW32-CE 0.50. The following functions used by GTWVG
      are still missing:
         GetMenu(), SetMenu(),
         CreateBrushIndirect(),
         GetViewportOrgEx(),
         IsDlgButtonChecked(),
         OleLoadPicture(),
         TrackPopupMenu(),
      If you are sure that they exist in WinCE then simply create
      static import library for them or dynamic wrappers.
2007-11-27 13:47:57 +00:00
Przemyslaw Czerpak
7347a42260 2007-11-27 11:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbwince.c
    * added MulDiv() implementation for MinGW32-CE builds
2007-11-27 10:56:53 +00:00
Przemyslaw Czerpak
a6284ec5c1 2007-11-27 11:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbmain.c
    * make all hb_compI18n*() functions which do not need external access
      static - now only hb_compI18nAdd() is public function. If it will
      be necessary to make other functions public then we will make it
      but please always try to declare new functions as static if it's
      not necessary to access them externally - it helps in future
      modifications because we do not have to worry about external
      code which may access some functions.

  * harbour/config/hpux/gcc.cf
    * added commented -mlp64 GCC switch to CFLAGS and LDFLAGS - this
      switch forces 64-bit mode in HP-UX on IA64

  * harbour/source/common/hbwince.c
    + added wrapper for LocalHandle() and direct translation for LocalLock()

  * harbour/config/w32/cemgw.cf
    + added commdlg, commctrl, luuid and ole32 to linked library list
      for some contrib code
2007-11-27 10:31:28 +00:00
Jean-Francois Lefebvre
8760643646 2007-11-27 10:36 UTC+0100 J. Lefebvre Mafact 2007-11-27 09:43:43 +00:00
Viktor Szakats
9d2128f4a7 2007-11-27 09:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/mtpl_b32.mak
   * contrib/mtpl_vc.mak
     + Added optional HB_CC_DIRNAME to control (and override) 
       where the final target files will be created inside 
       obj/lib/bin dirs.
       Marek pls report if this solved anything for you.
2007-11-27 08:35:32 +00:00
Viktor Szakats
3307b6f37e 2007-11-27 01:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_b32.mak
     ! Removed -l flag from .dll creation to be in sync with the 
       rest of Harbour.

   * contrib/mtpl_b32.mak
   * contrib/mtpl_vc.mak
     ! Synced with core flags (VC mainly).

   * contrib/freeimage/fi_winfu.c
   * contrib/freeimage/fi_wrp.c
   * contrib/freeimage/make_b32.bat
   * contrib/freeimage/make_vc.bat
   * contrib/firebird/firebird.c
   * contrib/firebird/make_b32.bat
   * contrib/firebird/make_vc.bat
   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
   * contrib/pdflib/pdfhbdoc.c
   * contrib/pgsql/postgres.c
   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
   * contrib/mysql/mysql.c
   * contrib/mysql/make_b32.bat
   * contrib/mysql/make_vc.bat
     ! Some extra lib-level custom C flags fixed to be 
       in sync with rest of Harbour. (mainly HB_OS_WIN_32_USED)

   * contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
     ! hbziparch extra switches removed (all of them). 
       This made surface a whole lot of warnings.
       If someone wants to create a .dll from this, 
       -DZLIB_DLL will need to be added to C_USR.
       -a8 switch was also removed from the BCC build.
       If someone know that it's necessary, pls shout.
2007-11-27 00:26:23 +00:00
Przemyslaw Czerpak
dbf69c2c15 2007-11-27 00:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/pack_src.sh
    * updated for recent file name modifications

  * harbour/include/hbgtcore.h
  * harbour/source/rtl/gtclip.c
    * changed hb_gt_w32_SetClipboard() type from void to BOOL

  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/source/rtl/gtpca/gtpca.c
    * added basic input support for DJGPP

  * harbour/contrib/gtwvg/gtwvt.c
    ! fixed memory leak and GPF trap

  * harbour/contrib/gtwvg/wvtutils.c
    ! rewritten and fixed CLIPBOARD functions - Pritpal this functions
      should be removed, they are redundant and works only in MS-Windows
    * make WVT__GETOPENFILENAME() and WVT__GETSAVEFILENAME() Unicode
      ready and fixed possible GPF trap
2007-11-26 23:13:01 +00:00
Viktor Szakats
ceb38d3a42 2007-11-26 22:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/mtpl_b32.bat
   * contrib/mtpl_vc.bat
     % Eliminated _HB_SHOW_ERRORS.
2007-11-26 21:10:14 +00:00
Viktor Szakats
0265b309e5 2007-11-26 21:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/mtpl_b32.mak
   * contrib/mtpl_vc.mak
     ! Fixed: HB_CC_NAME -> _HB_CC_NAME
       (files were directly created in '/lib//' since last change)
       If someone wants to override the default dir names where 
       bin/lib/obj files are created - by using an undocumented 
       internal envvar - pls use 'set _HB_CC_NAME=...'
2007-11-26 20:22:56 +00:00
Marek Paliwoda
18e01074d1 2007-11-26 20:50 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/contrib/make_b32.bat
  * harbour/contrib/make_vc.bat
    * Removed TABS unintentionaly introduced in my last commit
2007-11-26 19:49:38 +00:00
Viktor Szakats
89eb241fad 2007-11-26 19:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/freeimage/make_b32.bat
   * contrib/freeimage/make_vc.bat
   * contrib/apollo/make_b32.bat
   * contrib/apollo/make_vc.bat
   * contrib/firebird/make_b32.bat
   * contrib/firebird/make_vc.bat
   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
   * contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
   * contrib/gd/make_b32.bat
   * contrib/gd/make_vc.bat
   * contrib/rdd_ads/make_b32.bat
   * contrib/rdd_ads/make_vc.bat
   * contrib/mysql/make_b32.bat
   * contrib/mysql/make_vc.bat
     ! Fixed CFLAGS assignments to not include %C_USR%, as this is 
       done in the .mak files anyway.

   * contrib/what32/make_b32.bat
   * contrib/what32/make_vc.bat
     + Added ..\xhb to the include path for Harbour.
2007-11-26 18:24:40 +00:00
Marek Paliwoda
298efc4ac1 2007-11-26 18:50 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/contrib/mtpl_b32.mak
  * harbour/contrib/mtpl_vc.mak
    ! Fixed "hardcoded" definitions for OBJ_DIR, LIB_DIR, BIN_DIR
2007-11-26 17:50:56 +00:00
Pritpal Bedi
f9d9a888dc 2007-11-26 08:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
+ harbour/contrib/gtwvg/test
    + demowvg.prg
    + test.dbf
    + dia_excel.ico
    + v_browse.ico
    + v_clcltr.ico
    + v_calend.ico
    + v_clclt.bmp
    + v_filter.ico
    + v_help.ico
    + v_index.bmp
    + v_lock.bmp
    + v_new.bmp
    + v_notes.bmp
    + v_notes1.bmp
    + v_selct1.bmp
    + v_tools.bmp
    + vr_1.ico
      Initial placement of files to demonstrate the usage of gtwvg and its GUI elements.
      Please note that this appln may terminate without notice at places where
      browser is opened because appln needs tbrowse:aColumnsSep instance variable
      which I will do shortly. Rest all components are working ok.
2007-11-26 16:24:46 +00:00
Pritpal Bedi
4fed0f6205 2007-11-26 08:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
+ harbour/contrib/gtwvg/test
    + demowvg.prg
    + test.dbf
    + dia_excel.ico
    + v_browse.ico
    + v_clcltr.ico
    + v_calend.ico
    + v_clclt.bmp
    + v_filter.ico
    + v_help.ico
    + v_index.bmp
    + v_lock.bmp
    + v_new.bmp
    + v_notes.bmp
    + v_notes1.bmp
    + v_selct1.bmp
    + v_tools.bmp
    + vr_1.ico
      Initial placement of files to demonstrate the usage of gtwvg and its GUI elements.
      Please note that this appln may terminate without notice at places where
      browser is opened because appln needs tbrowse:aColumnsSep instance variable
      which I will do shortly. Rest all components are working ok.
2007-11-26 16:21:40 +00:00
Przemyslaw Czerpak
029ef4ff41 2007-11-26 17:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/postinst.sh
    * workaround for missing 'install' command in some HP-UX versions

  * harbour/contrib/xhb/cstructc.c
    * casting for 64bit builds
2007-11-26 16:17:26 +00:00
Pritpal Bedi
9a3af37eb4 2007-11-26 08:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvtcore.c
    ! Fixed side effects of copy/paste in hb_wvt_gtDlgProcModal().
  * harbour/contrib/gtwvg/wvtclass.prg
    * Changed cCaption[1] to left( cCaption,1 ) to work without xhb.lib.
2007-11-26 16:04:38 +00:00
Pritpal Bedi
1f1665f0cb 2007-11-26 08:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvtcore.c
    ! Fixed side effects of copy/paste in hb_wvt_gtDlgProcModal().
  * harbour/contrib/gtwvg/wvtclass.prg
    * Changed cCaption[1] to left( cCaption,1 ) to work without xhb.lib.
2007-11-26 16:04:16 +00:00
Pritpal Bedi
c101d97267 2007-11-26 07:50 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/what32
    * wininet.ch
    * winerror.prg
    * windebug.prg
    * wintabs.prg
    * wintbar.prg
      svn:eol-style = native
      svn:keywords = Id
2007-11-26 15:53:03 +00:00
Przemyslaw Czerpak
41520feb08 2007-11-26 14:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-mkslib.sh
  * harbour/bin/postinst.sh
    * set predefined CCPREFIX in cross build hb*-mkslib

  * harbour/make_xmingw.sh
    ! fixed BSD build cross build - problem noticed by Phil Krylov
      in xHarbour

  * harbour/source/rdd/dbffpt/dbffpt1.c
    * casting

  * harbour/config/darwin/gcc.cf
  * harbour/config/hpux/gcc.cf
  * harbour/config/linux/gcc.cf
  * harbour/config/sunos/gcc.cf
  * harbour/config/bsd/gcc.cf
    * added support for HB_CRS_LIB envvar which allow to overload platform
      default [n]curses library name
2007-11-26 13:51:21 +00:00
Viktor Szakats
0003311ead 2007-11-26 14:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/what32/wintabs.prg
   * contrib/what32/wintbar.prg
     ! Fixes to make them compile with Harbour.
       Pritpal, could you please check this, because it's 
       not exactly clear what is the intent in the source code, 
       so these might be the wrong fixes.

   * contrib/mtpl_b32.mak
   * contrib/mtpl_vc.mak
     ! Using a neutral character instead of double quote
       in hacked DOS "if %1 ==" commands to avoid the 
       situation where the quote is filtered, replaced 
       under certain (not defined) Windows/BCC
       environments. Same change done for VC to stay in 
       sync.
2007-11-26 13:39:00 +00:00
Marek Paliwoda
562aec7d81 2007-11-26 06:15 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/make_b32.mak
  * harbour/make_gcc.mak
  * harbour/make_vc.mak
  * harbour/make_vcce.mak
    ! Fixed generation of pptable.c for dll build
      (I am amazed how it used to work before)
    * Changed -Iobj\$(HB_CC_NAME) to -I$(OBJ_DIR)
2007-11-26 12:00:35 +00:00
Przemyslaw Czerpak
1834ead810 2007-11-26 09:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    ! fixed typo

  * harbour/contrib/gtwvg/gtwvt.c
    * use hb_strncpy() instead of strcpy()
2007-11-26 08:47:09 +00:00
Przemyslaw Czerpak
9373ba73d8 2007-11-26 08:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/gtwvg/gtwvt.h
  * harbour/contrib/gtwvg/gtwvt.c
  * harbour/source/rtl/gtwvt/gtwvt.h
  * harbour/source/rtl/gtwvt/gtwvt.c
    * casting and minor formatting
2007-11-26 07:03:11 +00:00
Marek Paliwoda
aaa65cf1aa 2007-11-26 05:16:44 +00:00
Przemyslaw Czerpak
29c57e4b4c 2007-11-26 02:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/gtwvg/wvtcore.c
    ! fixed typo
2007-11-26 01:56:46 +00:00
Przemyslaw Czerpak
fabe7e6b4d 2007-11-26 02:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/gtwvg/gtwvt.h
  * harbour/contrib/gtwvg/gtwvt.c
  * harbour/contrib/gtwvg/wvtcore.c
    * moved hb_wvt_GetStringAttrib(), hb_wvt_PutStringAttrib(),
      hb_wvt_gtLoadPictureFromResource(), hb_wvt_gtLoadPicture(),
      hb_wvt_gtRenderPicture(), hb_wvt_gtDestroyPicture() from
      gtwvt.c to wvtcore.c
    * changed hb_wvt_GetStringAttrib() and hb_wvt_PutStringAttrib()
      to work with any GTs
    ! removed GTWVG internal screen buffer and fixed to work well woth
      core code screen buffer
    ! some fixes borrowed from Harbour GTWVT
    * synced most of contrib/gtwvg/gtwvt.c code with rtl/gtwvt/gtwvt.c
    - removed unused GLOBAL_DATA members:
      foreground, background, BUFFERSIZE, byAttributes, byBuffer,
      pAttributes, pBuffer, caretPos, displayCaret, RectInvalid

    Pritpal please check if it works for you with GUI extensions.
    I've tested it as normal GT driver and it works correct in my
    tests.
2007-11-26 01:34:23 +00:00
Przemyslaw Czerpak
0c0580190a 2007-11-25 23:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtwvt/gtwvt.h
  * harbour/source/rtl/gtwvt/gtwvt.c
    + extended GTI_WINTITLE to return window title:
         hb_gtInfo( GTI_WINTITLE [, <cNewTitle>] ) -> <prevTile>
    * formatting and code cleanup
2007-11-25 22:49:00 +00:00
Viktor Szakats
53d7b7f6a6 2007-11-25 23:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/what32/Makefile
   + contrib/what32/make_b32.bat
   + contrib/what32/make_vc.bat
   + contrib/what32/common.mak
     + Added GNU and non-GNU make files for what32.
     ; Not fully tested, because I stumbled across a few problems:
       - for BCC32 this lib needs TASM32 (non-free AFAIS)
       - it need xhb lib and headers
       - several .prg warnings, so it needs PRG_USR=-w1 before building.
       - error in .prg:
         .\wintabs.prg(98) Warning W0001  Redefinition or duplicate definition of #define TCN_SELCHANGE
     ; An MSVC warning:
       - ..\..\obj\vc\wincore.c(711) : warning C4129: 'w' : unrecognized character escape sequence
         This is inline C code in wincore.prg
2007-11-25 22:18:10 +00:00
Pritpal Bedi
f3027ecfeb 2007-11-25 13:15 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/what32
    + wininet.ch
    + winerror.prg
    + windebug.prg
    + wintabs.prg
    + wintbar.prg
      Renamed/synchronised for GNU makes.
2007-11-25 21:18:16 +00:00
Pritpal Bedi
932eae2ae2 2007-11-25 13:15 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/what32
    + wininet.ch
    + winerror.prg
    + windebug.prg
    + wintabs.prg
    + wintbar.prg
      Renamed/synchronised for GNU makes.
2007-11-25 21:17:24 +00:00
Pritpal Bedi
c1feff5162 2007-11-25 13:07 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/what32
    - wininet.CH
    - errorsys.prg
    - debug.prg
    - wintabs.Prg
    - wintbar.Prg
      Removed to have all lower case and avoid name conflicts.
2007-11-25 21:11:44 +00:00
Pritpal Bedi
512bb7f1f9 2007-11-25 13:07 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/what32
    - wininet.CH
    - errorsys.prg
    - debug.prg
    - wintabs.Prg
    - wintbar.Prg
      Removed to have all lower case and avoid name conflicts.
2007-11-25 21:10:03 +00:00
Marek Paliwoda
4c9a582dbe 2007-11-25 20:20 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/common.mak
  * harbour/make_b32.mak
  * harbour/make_gcc.mak
  * harbour/make_vc.mak
  * harbour/make_vcce.mak
    * Moved HB and HBPPGEN definitions to common.mak
      to reduce unnecesary redundancy

  * harbour/contrib/make_b32.bat
  * harbour/contrib/make_vc.bat
    * Enclosed "help usage message" in double quotes
      due to special meaning of "<>" symbols in command
      processor.
2007-11-25 19:19:56 +00:00
Pritpal Bedi
3914f0fe9b 2007-11-25 11:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
+ harbour/contrib/what32
    + _winbmp.c
    + _winbrsh.c
    + _wincall.c
    + _wincdlg.c
    + _winclpb.c
    + _wincomm.c
    + _wincret.c
    + _windate.c
    + _windc.c
    + _windir.c
    + _windlg.c
    + _windll.c
    + _windraw.c
    + _winfont.c
    + _wingdi.c
    + _winhead.c
    + _winicon.c
    + _winlist.c
    + _wininet.c
    + _winini.c
    + _winkbrd.c
    + _winlv.c
    + _winmain.c
    + _winmapi.c
    + _winmem.c
    + _winmenu.c
    + _winmeta.c
    + _winmisc.c
    + _winmmcap.c
    + _winmous.c
    + _winmsg.c
    + _winpen.c
    + _winprn.c
    + _winrect.c
    + _winreq.c
    + _winrgn.c
    + _winscrlb.c
    + _winserial.c
    + _winshell.c
    + _winsock.c
    + _winsys.c
    + _wintab.c
    + _wintbar.c
    + _wintext.c
    + _wintree.c
    + _winview.c
    + _winwnd.c
    + commctrl.ch
    + commdlg.ch
    + debug.ch
    + import.ch
    + sqltypes.ch
    + what32.ch
    + wingdi.ch
    + wininet.ch
    + winstruc.ch
    + wintypes.ch
    + winuser.ch
    + debug.prg
    + errorsys.prg
    + whatutil.prg
    + wincdlg.prg
    + wincomm.prg
    + wincore.prg
    + winini.prg
    + winrbar.prg
    + wintabs.prg
    + wintbar.prg

      Initial upload of xharbour/contrib/what32.
      Direct item access replaced with api calls.
      Still untested.
2007-11-25 18:42:49 +00:00
Pritpal Bedi
5a8bc833a5 2007-11-25 18:36:59 +00:00
Przemyslaw Czerpak
d9ecde53a9 2007-11-25 12:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/gtwvg/wvtutils.c
    ! changed 'template' used as variable name to 'lpTemplate'
      Some C++ compilers may not accept 'template' as variable name
      because 'template' has special meaning in C++ so please do not
      use such name - thanks to Andi
2007-11-25 11:24:21 +00:00
Przemyslaw Czerpak
67a6e11654 2007-11-25 12:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbwmain.c
  * harbour/source/vm/mainwin.c
    ! fixed unnecessary conversion of WinMain() parameters on W32/W64
      when UNICODE macro is set - thanks to Chen

  * harbour/source/rdd/sdf1.c
  * harbour/source/rdd/delim1.c
    ! fixed code wrongly synced with xHarbour - in Harbour HB_SET_EOL
      is char* not PHB_ITEM - thanks to Andi

  * harbour/source/compiler/genc.c
    ! fixed file name in generated for C inline code by escaping
      special characters - thanks to Andi

  * harbour/source/rtl/gtwvt/gtwvt.c
    * minor code cleanup

  * harbour/contrib/gtwvg/wvtcore.c
    ! fixed setting default foreground and background color when user
      does not pass it's own one. Previous versions was using _s->background
      and _s->foreground - it was wrong because this variables in all
      GTWVT base GTs (also in xHarbour) contains not default color but
      the color recently used to redraw some part of screen - f.e. after
      exposing some region - it means that they can have any value.
      Such bugs are hard to locate because the same program can be executed
      many times without any problem and suddenly he will use wrong colors
      drawing sth - if you observed such effect then it can be the results
      of the above problem. Now default color is taken from core GT code.
      Two functions make it: hb_wvt_FgColorParam() and hb_wvt_BgColorParam()
      Both accept also colors passed as standard Clipper strings.
      The same should be also fixed in xHarbour just like the problem with
      executing registered user functions when HVM is closing fixed in
      previous commit - even if now it does not cause GPF (due to race
      condition it may be exploited only sometimes) then it does not mean
      it works correctly.
2007-11-25 11:13:12 +00:00
Przemyslaw Czerpak
c1d94577cb 2007-11-24 20:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtwvt/gtwvt.h
  * harbour/source/rtl/gtwvt/gtwvt.c
    * removed unused global hdc
    * formatting and minor code cleanup

  * harbour/source/vm/hvm.c
    + added to hb_vmRequestReenter() support for checking if HVM is
      properly initialized and working for code which may want to execute
      PCODE before HVM initialization or after HVM close - in such case
      hb_vmRequestReenter() will return FALSE.
      Please also remember that in the future hb_vmRequestReenter()
      may return FALSE also in some other cases.

  * harbour/source/vm/eval.c
    * use hb_vmRequestReenter()/hb_vmRequestRestore() in hb_itemDo[C]()
      instead of hb_vmPushState()/hb_vmPopState()

  * harbour/contrib/gtwvg/gtwvt.c
    ! always use hb_vmRequestReenter()/hb_vmRequestRestore() before
      executing .prg functions/codeblocks. It will resolve the problem
      with executing .prg functions during HVM closing. Anyhow I suggest
      to register C cleanup functions using hb_vmAtExit() for code which
      needs some additional destructor/closing procedure.
    * code formatting and indenting
2007-11-24 19:10:45 +00:00
Viktor Szakats
75d7d90be3 2007-11-24 11:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtwin/gtwin.c
   * source/rtl/gtcrs/gtcrs.h
   * source/rtl/gtsln/gtsln.h
   * source/rtl/gttrm/gttrm.c
   * source/rtl/gtwvt/gtwvt.h
     + #defining xhb compatible K_SH_* keyboard codes only if 
       they were not already defined.

   * utils/hbdoc/genasc.prg
     ! Fixed problem generating filenames for .txt output.
       Also added LFN branch to get rid of the 8.3 limitation.
2007-11-24 10:12:45 +00:00
Viktor Szakats
a236e06a20 minor fix 2007-11-24 01:06:30 +00:00
Viktor Szakats
a6e010dccb 2007-11-24 01:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/msql/Makefile
   * contrib/msql/make_b32.bat
   * contrib/msql/make_vc.bat
   * contrib/msql/msql.h
   * contrib/msql/tmsql.prg
     ! Fixed to compile with non-GNU BC/VC makefiles.
       (short-term fixes, there may be better / more generic 
       ways to fix it)
     ! C warnings fixed.
     ! Harbour warnings fixed.
     ! Makefile changed to Harbour standard GNU format.

   * contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
     + msql enabled.

   - contrib/msql/dbf2msql.prg
   - contrib/msql/test.prg
   + contrib/msql/tests
   + contrib/msql/tests/dbf2msql.prg
   + contrib/msql/tests/test.prg
     * Tests moved to tests dir.
2007-11-24 01:05:46 +00:00
Viktor Szakats
2c0d6edff2 2007-11-23 21:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/mtpl_vc.mak
     ! Some minor fixes for VC.
       - %1 -> %%1 to be on the safe side.
       - Fixed double execution of inline files.
       Thanks to Marek.

   * contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
     ! Batch file calling method reset to Marek's version 
       ('%COMSPEC% /c' as opposed to 'call') to avoid 
       any unwanted "crosstalk" between contrib build 
       procedures through the CFLAGS envvar.
2007-11-23 20:18:54 +00:00
Przemyslaw Czerpak
021bc664d5 2007-11-23 21:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/doc/man/harbour.1
  * harbour/source/compiler/hbusage.c
    + added description for -j switch

  * harbour/include/hbexprb.c
    * replaced // comments by /* */
    * accept <cContext> (domain) parameters of HB_i18nGettext() when
      number of parameters is two or more
      Should we generate compile time warning when wrong number of
      parameters is passed to this function or they are not literal
      strings? Maybe only after -j+ or sth like that?

  * harbour/include/hbclass.ch
  * harbour/include/tbrowse.ch
  * harbour/include/hbpers.ch
  * harbour/include/getexit.ch
    * replaced // comments by /* */
2007-11-23 20:14:30 +00:00