Commit Graph

7687 Commits

Author SHA1 Message Date
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
Mindaugas Kavaliauskas
a3cbfe607f 2007-11-23 18:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/include/hbexprb.c
    * changed HB_i18nGettext() to hb_i18n_gettext(), to respect 
      original gettext lowercase function name convention
2007-11-23 16:53:11 +00:00
Pritpal Bedi
d86ffddf14 2007-11-23 06:57 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvt.c
    * HB_EXPORT void hb_wvt_GetStringAttrib( USHORT top, USHORT left, USHORT bottom, USHORT right, BYTE * sBuffer, BYTE * sAttrib )
    * HB_EXPORT void hb_wvt_SetStringAttrib( USHORT top, USHORT left, USHORT bottom, USHORT right, BYTE * sBuffer, BYTE * sAttrib )
      ! Restored. Please keep these functions as is as those have wide-usage.
2007-11-23 14:59:19 +00:00
Pritpal Bedi
d4f8a4f486 2007-11-23 06:57 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvt.c
    * HB_EXPORT void hb_wvt_GetStringAttrib( USHORT top, USHORT left, USHORT bottom, USHORT right, BYTE * sBuffer, BYTE * sAttrib )
    * HB_EXPORT void hb_wvt_SetStringAttrib( USHORT top, USHORT left, USHORT bottom, USHORT right, BYTE * sBuffer, BYTE * sAttrib )
      ! Restored. Please keep these functions as is as those have wide-usage.
2007-11-23 14:58:55 +00:00
Przemyslaw Czerpak
521f956aa8 2007-11-23 12:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbmain.c
    ! fixed bad typo in hb_compI18nAdd() and memmove() range which can
      cause GPF
    * changed pFileName to FileName in hb_compI18nSave() to respect used
      by us naming convention
    * eliminated strcpy() - do not use strcpy()/strcat() - these functions
      are reported as dangerous by security restrict compilers.
      I suggest to use hb_strncpy()/hb_strncat() instead (remember about
      different size meaning in these functions) or some others depending
      on context (f.e. hb_strdup() in this case)
2007-11-23 11:37:30 +00:00
Przemyslaw Czerpak
94cb1bb010 2007-11-23 10:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/gtwvg/wvtutils.c
  * harbour/contrib/gtwvg/wvtcore.c
    * use lstrlen( text ) instead of strlen( hb_parc( 2 ) )
    * removed dummy casting
2007-11-23 09:22:22 +00:00
Przemyslaw Czerpak
3aa7a90209 2007-11-23 09:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbwince.c
    + added dummy Arc(), FrameRect(), FloodFill() for WinCE builds

  * harbour/make_gcc.mak
    ! restored TABs in rules definitions. Viktor TABs for GNU make
      have special meaning - your last modifications broke this file

  * harbour/contrib/libmisc/Makefile
    ! comment DIR rule as temporary workaround for problem with
      library name
2007-11-23 08:47:47 +00:00
Pritpal Bedi
1f57b9115c 2007-11-22 22:49 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvtcore.c
    ! Fixes for UNICODE Support.
    ? Przem, please review. I suspect about like these fixes:
      
      
      DrawText( _s->hGuiDC, hb_parcx( 6 ), strlen( hb_parcx( 6 ) ), &rc, iAlignH | DT_WORDBREAK | DT_TOP );
      =>
      LPTSTR text = HB_TCHAR_CONVTO( hb_parc( 6 ) );
      DrawText( _s->hGuiDC, text, strlen( hb_parc( 6 ) ), &rc, iAlignH | DT_WORDBREAK | DT_TOP );
                                  ^--------------------^  OK | How to compute length of "text"
2007-11-23 06:55:14 +00:00
Pritpal Bedi
3d92dfdb63 2007-11-22 22:49 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvtcore.c
    ! Fixes for UNICODE Support.
    ? Przem, please review. I suspect about like these fixes:
      
      
      DrawText( _s->hGuiDC, hb_parcx( 6 ), strlen( hb_parcx( 6 ) ), &rc, iAlignH | DT_WORDBREAK | DT_TOP );
      =>
      LPTSTR text = HB_TCHAR_CONVTO( hb_parc( 6 ) );
      DrawText( _s->hGuiDC, text, strlen( hb_parc( 6 ) ), &rc, iAlignH | DT_WORDBREAK | DT_TOP );
                                  ^--------------------^  OK | How to compute length of "text"
2007-11-23 06:54:03 +00:00
Pritpal Bedi
8e994ea6e6 2007-11-22 21:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvtutils.c
    ! Fixes for UNICODE Support.
    ? Przem, please review. It is not complete, still there are warnings.
2007-11-23 05:47:35 +00:00
Pritpal Bedi
3f39b948f7 2007-11-22 21:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvtutils.c
    ! Fixes for UNICODE Support.
    ? Przem, please review. It is not complete, still there are warnings.
2007-11-23 05:47:08 +00:00
Przemyslaw Czerpak
2e0b4cc091 2007-11-23 05:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/gtwvg/wvtcore.c
    ! casting

  * harbour/source/rtl/memofile.c
    * cleaned warning in *nixes
2007-11-23 04:55:11 +00:00
Przemyslaw Czerpak
b6112676bc 2007-11-23 05:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtwvt/gtwvt.h
  * harbour/source/rtl/gtwvt/gtwvt.c
    * removed foreground and background from GLOBAL_DATA
      - they are not necessary
    + added support for gfxPrimitive() - fixed xHarbour code

  * harbour/contrib/gtwvg/gtwvt.c
    + added support for gfxPrimitive() - fixed xHarbour code
    * removed some methods which can be safely replaced by
      default ones

  * harbour/tests/gfx.prg
  * harbour/tests/wcecon.prg
  * harbour/tests/gtchars.prg
    * updated the order of changed font parameters

  * harbour/contrib/xhb/hbcompat.ch
    ! added missing closing square bracket
2007-11-23 04:09:55 +00:00
Viktor Szakats
683a0e2621 2007-11-23 04:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_b32.bat
   * make_vc.bat
   * make_vcce.bat
     + Accepts "Install" and "Clean" consistently.
     ! Not directly modifying C_USR, instead use CFLAGS internally.

   * contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
   * contrib/make_b32.bat
   * contrib/make_vc.bat
   * contrib/mtpl_b32.bat
   * contrib/mtpl_vc.bat
   * contrib/mtpl_b32.mak
   * contrib/mtpl_vc.mak
   - contrib/mtpl_defs.mak
     % Removed COPYCMD requirement.
     ! Not modifying any user level envvars anymore.
       (so no need for COMPSPEC trick to call another copy of command com)
     ! Some other smaller fixes.
     ! Fixed rdd_ads in make_*_all.bats.
     * Removed the simple common part for BC/VC to consistently 
       separate the BC/VC make file system. The only common 
       part now is common.mak in each contrib. (Marek I hope you don't 
       mind, I promise to update them in case of changes. We have quite 
       some reduancy between BC/VC anyway, so this won't hurt much overall, 
       but they are now nicely separated and maybe bit easier to oversee 
       for someone new to the project.
     ! Avoiding 'exit' command, as it stops all batch file 
       execution, and as a bad side-effect can force to exit 
       shells too.
     - CFLAGS, CLIBFLAGS, HARBOURFLAGS not advertised anymore as 
       official public vars to set compiler flags.
       C_USR, PRG_USR should be used, which are also GNU make system compatible.
     ! Fixed copyrights.
     ! Tabs converted to spaces.
2007-11-23 04:02:37 +00:00
Viktor Szakats
51ac0c49e0 2007-11-23 03:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/apollo/make_b32.bat
   * contrib/apollo/make_vc.bat
   * contrib/examples/dbu/bld_b32.bat
   * contrib/firebird/make_b32.bat
   * contrib/firebird/make_vc.bat
   * contrib/freeimage/make_b32.bat
   * contrib/freeimage/make_vc.bat
   * contrib/gd/make_b32.bat
   * contrib/gd/make_vc.bat
   * contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
   * contrib/mysql/make_b32.bat
   * contrib/mysql/make_vc.bat
   * contrib/odbc/make_b32.bat
   * contrib/odbc/make_vc.bat
   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
   * contrib/rdd_ads/make_b32.bat
   * contrib/rdd_ads/make_vc.bat
     + Accepts "Install" and "Clean" consistently.
     * Not using "exit" command anymore.
     ! Restored some lost changes.
     ! Not directly modifying C_USR, instead use CFLAGS internally.
     + Now rddads will find ace32.dll in system32 dir too.
     ; It's not possible to set HB_DLL_DIR directly now, 
       just through the <LIBNAME>_DIR envvar. Some contribs 
       may try to "autodetect" the exact location of the .dll 
       (currently rddads).
2007-11-23 02:21:17 +00:00
Viktor Szakats
630119e503 2007-11-23 03:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * common.mak
     ! Fixed copyrights.
     ! Tabs converted to spaces.
     - CFLAGS not advertised anymore as an official public var to set 
       compiler flags.
       C_USR should be used, which is also GNU make system compatible.

   * make_vc.mak
   * make_vcce.mak
     ! Removed /Y from copy command
       (we're using the COPYCMD trick in core make files).

   - contrib/adordd/access1.prg
   - contrib/adordd/access2.prg
   - contrib/adordd/mysql1.prg
   - contrib/adordd/mysql3.prg
   + contrib/adordd/tests
   + contrib/adordd/tests/access1.prg
   + contrib/adordd/tests/access2.prg
   + contrib/adordd/tests/mysql1.prg
   + contrib/adordd/tests/mysql3.prg
   - contrib/btree/mktest.bat
   + contrib/btree/test/mktest.bat
   - contrib/samples/testdate.prg
   - contrib/samples/testenv.prg
   - contrib/samples/testgaug.prg
   - contrib/samples/testnum.prg
   - contrib/samples/teststat.prg
   - contrib/samples/testtime.prg
   - contrib/samples/tststack.prg
   + contrib/samples/tests
   + contrib/samples/tests/testdate.prg
   + contrib/samples/tests/testenv.prg
   + contrib/samples/tests/testgaug.prg
   + contrib/samples/tests/testnum.prg
   + contrib/samples/tests/teststat.prg
   + contrib/samples/tests/testtime.prg
   + contrib/samples/tests/tststack.prg
     * Test related files moved to test dir.
     ! Added EOLs to the last line in adordd files.

   - contrib/gd/README
   + contrib/gd/readme.txt
     * Renamed to use proper extension.

   * contrib/adordd/common.mak
   * contrib/apollo/common.mak
   * contrib/bmdbfcdx/common.mak
   * contrib/btree/common.mak
   * contrib/directx/common.mak
   * contrib/firebird/common.mak
   * contrib/freeimage/common.mak
   * contrib/gd/common.mak
   * contrib/hbzlib/common.mak
   * contrib/hgf/win32/common.mak
   * contrib/htmllib/common.mak
   * contrib/ole/common.mak
   * contrib/pdflib/common.mak
   * contrib/pgsql/common.mak
   * contrib/libct/common.mak
   * contrib/libgt/common.mak
   * contrib/libnf/common.mak
   * contrib/libmisc/common.mak
   * contrib/mysql/common.mak
   * contrib/odbc/common.mak
   * contrib/rdd_ads/common.mak
   * contrib/samples/common.mak
   * contrib/telepath/common.mak
   * contrib/tip/common.mak
   * contrib/win32/common.mak
   * contrib/xhb/common.mak
     * Formatting made consistent.

   * contrib/adordd/common.mak
   * contrib/bmdbfcdx/common.mak
   * contrib/btree/common.mak
   * contrib/freeimage/common.mak
   * contrib/gd/common.mak
   * contrib/hgf/win32/common.mak
   * contrib/libct/common.mak
   * contrib/libnf/common.mak
   * contrib/mysql/common.mak
   * contrib/odbc/common.mak
   * contrib/pdflib/common.mak
   * contrib/pgsql/common.mak
   * contrib/rdd_ads/common.mak
   * contrib/samples/common.mak
   * contrib/tip/common.mak
   * contrib/xhb/common.mak
     + Added headers.

   * contrib/btree/common.mak
   * contrib/freeimage/common.mak
   * contrib/freeimage/Makefile
   * contrib/hbzlib/common.mak
   * contrib/hbzlib/Makefile
   * contrib/libct/common.mak
   * contrib/libmisc/common.mak
   * contrib/libmisc/Makefile
   * contrib/mysql/common.mak
     ! Library names synced between GNU and non-GNU 
       make systems.
     ! Some libraries renamed to not have a too common 
       or non-descriptive name, like "misc".
       non-GNU hb_btree   -> hbbtree (synced with GNU)
       non-GNU fi_lib     -> hbfreeimage
       GNU     fi_lib     -> hbfreeimage
       non-GNU hbzip      -> hbziparch
       GNU     ziparchive -> hbziparch
       non-GNU libct      -> ct (synced with GNU)
       non-GNU libmisc    -> hbmisc
       GNU     misc       -> hbmisc
       non-GNU mysql      -> hbmysql (synced with GNU)

   * contrib/apollo/Makefile
   * contrib/firebird/Makefile
     ! Fixed space to tabs.

   + contrib/msql/make_b32.bat
   + contrib/msql/make_vc.bat
   + contrib/msql/common.mak
     + Added non-GNU make files.
     ; TOFIX: I cannot compile these still.

   * contrib/msql/Makefile
     ! Added SVN header.
     ; TOFIX: This is a non-standard Makefile.
              Did anyone manage to compile this lib?

   * contrib/adordd/adordd.ch
   * contrib/adordd/adordd.prg
     ! Added EOLs to the last line.

   * utils/hbmake/hbmutils.prg
     * Lib names fixed and changed to reflect the recent 
       changes in contrib.

   * contrib/rdd_ads/rddads.h
     ! Minor cosmetic fix.

   * include/hbextern.ch
   * source/rtl/memofile.c
     ! MEMOWRIT() 3rd parameter marked as extension.
     + HB_MEMOWRIT() function added, which never write the 
       obsolete EOF char at the end of the file.
2007-11-23 02:08:37 +00:00
Mindaugas Kavaliauskas
ce44121edc 2007-11-23 03:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/include/hbcompdf.h
  * harbour/source/include/hbexprop.h
  * harbour/source/include/hbexprb.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/hbmain.c
    + added i18n support
      Implemented -j[filename] switch to indicate output filename. Default 
      filename is <sourcefilename>.pot. If switch -o is used, this file
      is created in speficied output path.
      Output file format is compatible with 'gettext' utils, but not all
      available features are implemented.
      Harbour level function HB_i18nGettext( cText [, cContext ] ) sould be
      used to indicate translatable strings.
      All this commit is commented using #ifdef HB_I18N_SUPPORT and is in 
      development stage. Please, do not use it yet.
2007-11-23 01:55:37 +00:00
Viktor Szakats
ba2612c815 2007-11-23 01:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ gtwvg/common.mak
   + gtwvg/make_b32.bat
   + gtwvg/make_vc.bat
     + Added non-GNU make files.
     ; TOFIX: gtwvt.obj will clash with the core file with this 
              name, so this won't properly work yet.

   * gtwvg/wvtpaint.prg
     ! HB_INLINE() -> hb_bitAnd()

   * gtwvg/Makefile
     * Minor formatting.
2007-11-23 00:32:33 +00:00
Przemyslaw Czerpak
7f59b345ce 2007-11-23 01:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbvm.h
  * harbour/source/vm/hvm.c
    * make hb_vmPushNumInt() public function

  * harbour/contrib/gtwvg/wvtcore.c
    ! fixed hb_wvt_gtDlgProcMLess() and hb_wvt_gtDlgProcModal()
      - fixed GPF when codeblock are used
      - use hb_vmPushNumInt() instead of hb_vmPushLong() to push
        handles and numbers with potentially unknown size.
        I still suggest to use pointers ITEMs instead of converting
        handles to numbers but I'm leaving such modifications to library
        authors - using hb_vmPushNumInt() is a workaround for striping
        highest 32 bit from handles by hb_vmPushLong() in XP64 
      - use hb_vmRequestReenter() / hb_vmRequestRestore() to avoid crash
        when function/codeblock is executed during HVM has been serving
        an exception (f.e. BREAK/QUIT/RETURN)
2007-11-23 00:20:02 +00:00
Przemyslaw Czerpak
fc1a660dca 2007-11-22 18:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtwvt/gtwvt.c
    * declared two functions
         hb_gt_wvt_AddCharToInputQueue() and
         hb_gt_wvt_AddCharToInputQueue()
      as static - they were public by mistake

  * harbour/contrib/gtwvg/wvtcore.c
  * harbour/contrib/gtwvg/gtwvt.c
    * moved hb_wvt_gtDlgProcMLess() and hb_wvt_gtDlgProcModal()
      from gtwvt.c to wvtcore.c
      These both functions are wrong and have to be fixed.
    * farther cleanup:
      - declared some internal functions as static
      - synced some other with GTWVT
      - removed some repeated declarations
2007-11-22 17:34:11 +00:00
Przemyslaw Czerpak
585cdb174c 2007-11-22 14:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbwince.h
    + added HB_TCHAR_CONVNREV() macro

  * harbour/contrib/gtwvg/wvtutils.c
  * harbour/contrib/gtwvg/wvtcore.c
  * harbour/contrib/gtwvg/gtwvt.c
    * cleaned MinGW warnings
    ! fixed compilation with HB_TR_LEVEL_DEBUG
    * some minor cleanup in UNICODE conversions
2007-11-22 13:22:20 +00:00
Przemyslaw Czerpak
70bd005a91 2007-11-22 12:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtwvt/gtwvt.c
    * formatting

  * harbour/contrib/gtwvg/gtwvt.h
  * harbour/contrib/gtwvg/gtwvt.c
    * removed some unused code and redirect some methods to common
      for all MS-Win GTs functions.
      Pritpal this code needs cleanup. Now it's xHarbour GT hacked
      to compile and link with Harbour API. It means that this code
      also inherited some small incompatibilities to Clipper which
      exists in xHarbour GTs. If you agree I'll try to systematically
      clean it and as I can see IMO the final version will look like
      GTWVT in core code plus some additional code so it can be quite
      easy separated. Probably with some small modifications in GTWVT it
      will be possible to remove these two files from GTWVG at all
      changing GTWVG to inherit from core GTWVT. Such separation will
      also show what is core GT code and what is GUI Windows extension
      what should help in defining common multi platform API.
2007-11-22 11:21:27 +00:00
Pritpal Bedi
bf8d752b37 2007-11-21 22:57 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvt.c
    ! Suppressed warnings.
2007-11-22 06:59:34 +00:00
Przemyslaw Czerpak
367e0d8a54 2007-11-22 04:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/make_rpmce.sh
  * harbour/make_rpmw32.sh
    * updated for removed ace.h

  * harbour/bin/pack_src.sh
    * updated for some recent modifications in contrib/pgsql
      TOFIX: it should be updated for all recent modifications in
      contrib and MS-Windows build scripts.

  * harbour/bin/hb-func.sh
    + added gtwvg to -gt* parameters in hb* scripts

  * harbour/contrib/Makefile
    + added gtwvg in W32 builds

  * harbour/contrib/xhb/hbcomprs.c
  * harbour/contrib/xhb/hbcomprs.h
    * cleaned some warnings

  * harbour/contrib/gtwvg/gtwvt.h
  * harbour/contrib/gtwvg/wvtutils.c
  * harbour/contrib/gtwvg/wvtpaint.prg
  * harbour/contrib/gtwvg/wvtwin.ch
  * harbour/contrib/gtwvg/wvtcore.c
  * harbour/contrib/gtwvg/gtwvt.c
  * harbour/contrib/gtwvg/Makefile
  * harbour/contrib/gtwvg/wvtclass.prg
    * set svn attributes:
         svn ps svn:eol-style native
         svn ps svn:keywords Id
      Pritpal please remember about it before you commit new files.
      For .bat files use
         svn ps svn:eol-style CRLF
      or better set default attribute in your SVN config file so you will
      not have to set it manually each time you are adding new file.
2007-11-22 03:34:28 +00:00
Pritpal Bedi
0d96aaa970 2007-11-21 06:08 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/gtwvt
    + gtwvt.c
    + gtwvt.h
    + wvtcore.c
    + wvtutils.c
    + wvtpaint.prg
    + wvtclass.prg
    + wvtwin.ch
      * Initial port of xHarbour's GTWVT + WVTGUI in a combined manner.
      ? Please create the make files as I am poor in this field.
      ? Przem, please add switches to hnmk/hbcemk files for -gtwvg as is done for -gtwvt.
2007-11-22 02:18:13 +00:00
Przemyslaw Czerpak
6b02648ff2 2007-11-22 01:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/fssize.c
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/filesys.c
    * set _LARGEFILE64_SOURCE in all builds and use HB_USE_LARGEFILE64
      macro (set automatically when __USE_LARGEFILE64 is defined too or
      HB_OS_HPUX && O_LARGEFILE) to enable large file support in 32 bit
      POSIX systems. It should help to enable large file support in other
      then Linux different 32 bit *nixes.
      I hope it will resolve Sandro problems with HPUX.

  * harbour/source/vm/itemapi.c
    * do not return DATE item value in hb_itemGetNDDec()
      It was old and unused xHarbour only code - now hb_itemGetNDDec()
      is compatible with hb_itemGetND()

  * harbour/source/rtl/seconds.c
    ! fixed typo in BSD builds
      BTW can someone test current SVN code with Solaris?
      I will not be able to make such test myself in the nearest few weeks.
2007-11-22 00:44:50 +00:00
Marek Paliwoda
08bedc38bb 2007-11-21 20:50:16 +00:00
Marek Paliwoda
49c1daf7d3 2007-11-21 20:47:05 +00:00
Marek Paliwoda
2c434c3046 2007-11-21 20:07:50 +00:00
Przemyslaw Czerpak
a966524338 2007-11-21 19:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbgtcore.c
    + added emulation for clipboard in core GT code.
      Now: 
         hb_gtInfo( GTI_CLIPBOARDDATA ) -> <cClipData>
      and:
         hb_gtInfo( GTI_CLIPBOARDDATA, <cNewClipData> )
      is working in all GTs even if such functionality is not supported
      by OS.
2007-11-21 19:00:01 +00:00
Przemyslaw Czerpak
ff7e0891fa 2007-11-21 18:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_vcce.bat
  * harbour/make_vcce.mak
  * harbour/make_b32.mak
  * harbour/common.mak
  * harbour/contrib/make_all.mak
  * harbour/contrib/mtpl_ruls.mak
  * harbour/make_gcc.mak
    + added missing Marek's Copyright
    * set svn attributes:
         svn ps svn:eol-style [native|CRLF]
         svn ps svn:keywords Id

  * harbour/contrib/mtpl_defs.mak
  * harbour/contrib/mtpl_b32.mak
  * harbour/contrib/mtpl_vc.mak
    + added missing Marek's and Viktor's Copyrights
    * set svn attributes:
         svn ps svn:eol-style [native|CRLF]
         svn ps svn:keywords Id
    Viktor, Marek if I missed sth then please fix me.

  * harbour/make_gcc.sh
    * added mine Copyright note
2007-11-21 17:30:26 +00:00
Marek Paliwoda
2229e82cb4 2007-11-21 16:47:20 +00:00
Marek Paliwoda
4d13dd77f5 2007-11-21 16:45:29 +00:00
Przemyslaw Czerpak
0f3a317e54 2007-11-21 05:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/harbour.spec
  * harbour/make_rpmce.sh
  * harbour/make_rpmw32.sh
  * harbour/make_rpm.sh
    * changed --without adsrdd to --with adsrdd
      now ADS* RDDs are not created by default

  * harbour/make_rpm.sh
    * set '--with adsrdd' when ${HOME}/ads/acesdk/ace.h or
      /usr/local/ads/acesdk/ace.h exists

  * harbour/contrib/rdd_ads/Makefile
    + added ${HOME}/ads/acesdk/ace.h as alternative ace.h location

  * harbour/source/rdd/hbsix/sxini.prg
    ! fixed typo
2007-11-21 04:44:53 +00:00
Przemyslaw Czerpak
1153e28e4b 2007-11-20 19:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    ! fixed using -o<name> in hbcc

  * harbour/contrib/rdd_ads/rddads.h
    ! small hack for Linux compilation and compilers which do not set
      unix macro

  * harbour/contrib/rdd_ads/Makefile
    * added /usr/local/ads/acesdk to include directory list
      Viktor the side effect of removing ace.h from our repository is
      blocking ADS* RDDs compilation by people who do not have ACE
      installed - I expect it will be serious problem in creating BETA4
      binaries because not all people who create them have ACE installed
      or even want to install it and without these RDDs for many users
      new Harbour version will be unusable.

  * harbour/source/rtl/seconds.c
    ! fixed stupid typo in milliseconds calculation

  * harbour/contrib/xhb/hbchksum.c
  * harbour/contrib/xhb/hbcomprs.c
  * harbour/contrib/xhb/hbcomprs.h
    ! use hb_retclenAdopt() instead of hb_retclenAdoptRaw()
    + svn:keywords Id
      svn:eol-style native
    TOFIX - these files have to be removed or changed to avoid name conflicts
    with ZLIB - personally I vote to add real ZLIB wrapper and only xHarbour
    compatible .prg functions when they are necessary. Probably only:
        HB_COMPRESS(), HB_UNCOMPRESS(), HB_COMPRESSBUFLEN()
    and maybe:
        HB_COMPRESSERROR(), HB_COMPRESSERRORDESC()
    In xHarbour:
        HB_CHECKSUM( <cValue> [, <nStart>] ) -> <nChkSum>
    is exactly the same function as in Harbour:
        HB_ADLER32( <cValue> [, <nStart>] ) -> <nChkSum>
    with the exception to bug with negative values fixed in Harbour only.
2007-11-20 18:09:55 +00:00
Miguel Angel Marchuet Frutos
0f34f5f783 2007-11-20 17:02 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net>
* contrib/xhb/common.mak
      + Added some missing lines (suggested by Juan Gálvez)
2007-11-20 16:12:22 +00:00
Miguel Angel Marchuet Frutos
3fa8c37563 2007-11-20 113:45 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net>
* contrib/bmdbfcdx/bmdbfcdx1.c
    * synced with dbfcdx as nedded
2007-11-20 12:53:44 +00:00
Viktor Szakats
234b729299 typos 2007-11-19 20:22:24 +00:00
Viktor Szakats
63df3ba82e 2007-11-19 20:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/examples/dbu/bld_b32.bat
     * Now the non-GNU build batch file will look for 
       DBU source in the original CA-Cl*pper installation, 
       if specified (using 'set CLIPPER_DIR=C:\CLIPPER5\').
2007-11-19 19:39:42 +00:00
Viktor Szakats
6b78309e4e 2007-11-19 20:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/rdd_ads/test
   + contrib/rdd_ads/test/testmg.prg
   - contrib/rdd_ads/testmg.prg
     * Moved.

   * contrib/rdd_ads/make_b32.bat
   * contrib/rdd_ads/make_vc.bat
   * contrib/rdd_ads/adsmgmnt.c
   - contrib/rdd_ads/ace.h
     + Non-GNU make files standardized. You'll need to set these envvars 
       to tell the package (Advantage Client Engine) location (and version):
       set ACE_DIR=C:\ads\acesdk
       set ACE_VER=810
     * ACE_VER is optional, if not speficied, zero will be 
       returned as "index sort buffer size" by AdsMgGetConfigInfo().
     ; The exact .dll location inside the package dir will be 
       detected (tested 6.11-8.10)
     - Now ADS header is not included anymore in Harbour.
       Notice that this header file is a copyrighted file where such 
       distribution is not permitted. Anyhow, distributing other 
       packages headers is not good practice anyway.

   * contrib/rdd_ads/rddads.h
     * WatcomC / LCC hack implemented outside ace.h. Please test 
       this as I don't have any of these compilers.
2007-11-19 19:21:58 +00:00
Mindaugas Kavaliauskas
1fcc352cbb 2007-11-19 19:03 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/compiler/hbopt.c
    ! fixed HB_P_MACROFUNC optimization
2007-11-19 17:04:06 +00:00
Viktor Szakats
3d9bb70ea4 2007-11-19 15:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/examples/dbu
   + contrib/examples/dbu/readme.txt
   + contrib/examples/dbu/bld_b32.bat
   + contrib/examples/dbu/Makefile
     + Added make files for original CA-Cl*pper DBU.
       One will need to original sources to compile.
2007-11-19 14:25:56 +00:00
Viktor Szakats
b9e0fe4942 2007-11-18 23:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/mtpl_b32.bat
   + contrib/mtpl_vc.bat
     + Added generic non-GNU make batch files.
     ; Thanks to Marek.

   * utils/hbmake/hbmutils.prg
     ! Some untested fixes to hbmake. If someone 
       uses this tool, pls send reports.

   - contrib/mkall_b32.bat
   * contrib/make_b32_all.bat
   + contrib/make_vc_all.bat
     * Renamed.
     + VC version added.

   * contrib/mtpl_b32.mak
   * contrib/mtpl_vc.mak
     ! Minor fix by Marek.

   * contrib/rdd_ads/doc/gendoc.bat
     ! Fix to run from its place.

   * contrib/rdd_ads/adsmgmnt.c
     ! Fixed to compile with ADS 8.10.
       #define ADS_VER=810 (or upper) to enable this.

   * contrib/rdd_ads/rddads.h
     ! Fixed to compile using original ads.h headers.
       (tested with 6.11, 7.00, 7.10, 8.00, 8.10)

   * contrib/rdd_ads/ads1.c
   * contrib/rdd_ads/adsfunc.c
     ! Suppressed this BCC32 warning using #pragma:
       'Call to function 'AdsApplicationExit' with no prototype in function ...'

   + contrib/rdd_ads/unixutils.h
     + Added dummy header to fix compilation under 
       Linux, using the original ads.h headers.
       Not tested. Supposed to replace the workaround 
       currently in local ads.h where '#include "unixutils.h"'
       is commented out.

   * contrib/rdd_ads/readme.txt
     ! Added SVN header.

   * contrib/pgsql/Makefile
   * contrib/pgsql/common.mak
     + Added pgrdd.prg to make files.

   - contrib/pgsql/tstpgrdd.prg
   + contrib/pgsql/tests/tstpgrdd.prg
     ! Moved test to test dir.

   * contrib/pgsql/pgrdd.prg
     ! Fixed warnings.

   - contrib/pgsql/README
   + contrib/pgsql/readme.txt
     * Rename.

   * contrib/pgsql/common.mak
     ! Lib name change: libhbpg -> hbpg

   + contrib/pgsql/tests/bld_b32.bat
     + Added test app build helper.

   * contrib/rdd_ads/make_b32.bat
   * contrib/rdd_ads/make_vc.bat
   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
   * contrib/ole/make_b32.bat
   * contrib/ole/make_vc.bat
   * contrib/xhb/make_b32.bat
   * contrib/xhb/make_vc.bat
   * contrib/libmisc/make_b32.bat
   * contrib/libmisc/make_vc.bat
   * 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/htmllib/make_b32.bat
   * contrib/htmllib/make_vc.bat
   * contrib/libct/make_b32.bat
   * contrib/libct/make_vc.bat
   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
   * contrib/libgt/make_b32.bat
   * contrib/libgt/make_vc.bat
   * contrib/hgf/win32/make_b32.bat
   * contrib/hgf/win32/make_vc.bat
   * contrib/telepath/make_b32.bat
   * contrib/telepath/make_vc.bat
   * contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
   * contrib/gd/make_b32.bat
   * contrib/gd/make_vc.bat
   * contrib/libnf/make_b32.bat
   * contrib/libnf/make_vc.bat
   * contrib/tip/make_b32.bat
   * contrib/tip/make_vc.bat
   * contrib/adordd/make_b32.bat
   * contrib/adordd/make_vc.bat
   * contrib/btree/make_b32.bat
   * contrib/btree/make_vc.bat
   * contrib/directx/make_b32.bat
   * contrib/directx/make_vc.bat
   * contrib/win32/make_b32.bat
   * contrib/win32/make_vc.bat
   * contrib/samples/make_b32.bat
   * contrib/samples/make_vc.bat
   * contrib/mysql/make_b32.bat
   * contrib/mysql/make_vc.bat
   * contrib/odbc/make_b32.bat
   * contrib/odbc/make_vc.bat
   * contrib/bmdbfcdx/make_b32.bat
   * contrib/bmdbfcdx/make_vc.bat
     % Using the batch file templates.
     + Some other additions and fixes related to make it easy 
       to specifiy 3rd party package locations.
       These envvars can be used for our libs:
       set APOLLO_DIR=C:\Apollo
       set FIREBIRD_DIR=C:\Firebird
       set FREEIMAGE_DIR=C:\FreeImage
       set GD_DIR=C:\gd
       set MYSQL_DIR=C:\mysql
       set PDFLIB_DIR=C:\pdflib
       set PGSQL_DIR=C:\pgsql
2007-11-19 14:13:53 +00:00
Pritpal Bedi
3a4ac7e069 2007-11-18 12:09 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/xhb/hbcomprs.c
     % Direct access to item values changed to api calls.

   + contrib/xhb/hbchksum.c
     % Direct access to item values changed to api calls.

   + contrib/xhb/hbcomprs.h

     Hb_Compress(), Hb_Uncompress(), Hb_CheckSum() functions made available.
     Borrowed from xHarbour.
2007-11-18 20:20:19 +00:00
Pritpal Bedi
7e0c350327 2007-11-18 12:09 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/xhb/hbcomprs.c
     % Direct access to item values changed to api calls.

   + contrib/xhb/hbchksum.c
     % Direct access to item values changed to api calls.

   + contrib/xhb/hbcomprs.h

     Hb_Compress(), Hb_Uncompress(), Hb_CheckSum() functions made available.
     Borrowed from xHarbour.
2007-11-18 20:18:44 +00:00
Viktor Szakats
fde4638c38 2007-11-18 13:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbcompat.ch
     + Added xhb SecondsSleep() translation.

   * contrib/freeimage/make_b32.bat
   * contrib/freeimage/make_vc.bat
   * contrib/firebird/make_b32.bat
   * contrib/firebird/make_vc.bat
     ! Some fixes.

   * contrib/libct/cttime.prg
     ! SECTOTIME() fix. Borrowed from xhb.

   * contrib/apollo/apollo.c
   * contrib/apollo/make_b32.bat
   * contrib/apollo/make_vc.bat
     ! Fixed and tested with latest downloadable package.

   * contrib/win32/w32_tprn.prg
   * contrib/win32/w32_prn.c
     + Minor fix (from xhb)

   * source/rtl/errorint.c
     ! Defaulting all string parameters to "" when they are NULL 
       to avoid any potential problems later in the function.

   * source/rtl/hbgtcore.c
     % Passing NULL instead of "" in hb_errInternal() calls.

   * source/vm/itemapi.c
     ! Internal error is lauched in case the parameters passed 
       to hb_itemPutCLConst() are violating string item rules.
       Thanks for Mindaugas for the suggestion.
       TOFIX: Since this violation will most probably happen in 
              contrib/win32 OLE code, we'll need to fix that 
              code too.

   * utils/hbmake/hbmake.prg
     ! Fixed to not request wvtgui.lib.
2007-11-18 12:46:48 +00:00
Viktor Szakats
16d2cf86ff 2007-11-17 12:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make_b32.bat
   * contrib/make_vc.bat
   * contrib/mkall_b32.bat
     ! Added SVN headers.
     ! Fixed SVN properties (keywords, eol-style=CRLF).
2007-11-17 11:42:49 +00:00
Viktor Szakats
34fdbe542b 2007-11-17 12:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/cstructc.c
   * contrib/make_b32.bat
     ! Some fixes for recent changes.
2007-11-17 11:13:04 +00:00
Marek Paliwoda
7be9faad25 2007-11-17 09:19:59 +00:00
Marek Paliwoda
6fe02c420d 2007-11-17 09:12:59 +00:00