Commit Graph

19 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
b85973b058 2008-07-25 15:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/Makefile
  * harbour/contrib/xhb/common.mak
  + harbour/contrib/xhb/dirrec.prg
    + added DirectoryRecurse() function. It's not exactly xHarbour
      compatible as I wanted at the beginning. But when I begin
      to carefully check what xHarbour exactly does then I dropped
      the strict compatibility due to problems with xHarbour
      implementation which have to be fixed. I left this note in the
      dirrec.prg header:
         This implementation uses different rules then xHarbour one.
         It does not change current drive or current directory so
         unlike the xHarbour version it's MT safe.
         It also returns relative paths which are more similar to
         DIRECTORY() function results so they can be easy used
         directly in other code, f.e. to create archive without
         absolute paths. Please note that user can easy convert
         relative paths to absolte ones by simple adding curdir()
         and/or cPath parameter passed to DirectoryRecurse() but
         reverted conversion may not be possible in some cases.
         The 3-rd xHarbour parameter <lCaseMach> is ignored because
         harbour uses platform native rules to check filename mask
         respecting SET FILECASE and SET DIRCASE settings.
         xHarbour does not add "D" to attribute list used for directory
         tree scanning so user always have to add it manually and later
         it ignores it so it's not possible to extract file list with
         directories entries. In Harbour it's fixed.

  * harbour/source/rtl/philes.c
    + added hb_osFileMask()

  * harbour/source/rtl/direct.c
    % minor optimization
2008-07-25 13:24:57 +00:00
Przemyslaw Czerpak
d5ecd90c31 2008-07-09 18:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbwince.h
  * harbour/source/common/hbwince.c
    + added SetFileAttributesA() for WinCE builds

  * harbour/source/rtl/filesys.c
    * replaced UNICODE translations for SetFileAttributes()
      with direct call to SetFileAttributesA()

  * harbour/include/hbapifs.h
  * harbour/source/rtl/spfiles.c
  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/direct.c
  * harbour/source/rtl/filesys.c
    * changed internal representation for file attributes from USHORT
      to ULONG
    + added support for POSIX permission attributes in .c code
    ; added some comments about used attribute translations which
      should be cleand
2008-07-09 16:25:00 +00:00
Viktor Szakats
31d82e116c 2008-04-29 13:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * source/rdd/Makefile
   * source/rdd/dbstrux.prg
   * source/rdd/rddord.prg
   + source/rdd/rddordu.prg
   + source/rdd/dbstruxu.prg
     + Moved some UNDOC functions to separate files.
     * Removed STRICT guard from _dtxCondSet().

   * include/hbextern.ch
     ! Added missing _dtxCondSet().

   * source/rtl/colorind.c
   * source/rtl/direct.c
     * Minor formatting.

   * source/vm/asort.c
     ! Changed one direct item access to item API call.

   * contrib/rddads/ads.ch
   * contrib/rddads/adsfunc.c
   * contrib/rddads/ads1.c
     ! Added support for ADS9 VFP file type and fields.
     ; Borrowed from xhb / Luiz Rafael Culik.
       (changed to compile using original - older - ADS headers)
     ; Please review & test.

   * source/vm/pcount.c
     % Minor opt.

   * contrib/hbtip/sendmail.prg
     ! SF bugtracker#1934698 fix applied. Thanks Chen.

   - contrib/hbapollo/tests/bld.bat
   * contrib/hbapollo/tests/bld_b32.bat
     % Using central bld.bat instead of modified local copy.

   + contrib/gtwvg/tests/bld_b32.bat
     + Added BCC32 build batch file for GTWVG tests.
     ; NOTE: demowvg still doesn't seem to work.
2008-04-29 11:08:12 +00:00
Przemyslaw Czerpak
d0450cff7c 2008-02-13 14:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/direct.c
    * fixed Clipper compatibility when last character of given path
      is directory delimiter or drive delimiter

  * harbour/source/rdd/dbf1.c
    * added RT error when corrupted memo block address is detected
      in DBF file.
2008-02-13 13:03:38 +00:00
Przemyslaw Czerpak
4d9930caa6 2008-01-09 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/estack.c
    * added missing static to s_initSymbol declaration

  * harbour/include/hbgtinfo.ch
  * harbour/source/rtl/scroll.c
    * formatting

  * harbour/common.mak
    * added empty line necessary for some make systems (f.e. wmake)

  * harbour/bin/hb-func.sh
    * changed system libs order to avoid problems on some platforms

  * harbour/bin/pack_src.sh
    * collect information about repository files using 'svn status -v'
      command instead of scanning .svn/entries files to avoid problems
      with different formats used by SVN

  * harbour/include/hbchksum.h
  * harbour/include/hbset.h
    ! added missing extern in few function prototypes

  * harbour/include/hbclass.ch
    * use HB_CLS_PARAM_LIST macro instead of ... for strict C52 mode

  * harbour/source/common/hbfsapi.c
    + added missing const to one declaration

  * harbour/source/common/hbstr.c
    * minor cleanup in hb_stricmp()

  * harbour/source/rtl/inkey.c
    ! casting to avoid negative values during char to int translation

  * harbour/source/rtl/mouse53.c
    * added one internal definition

  * harbour/source/rtl/philes.c
    * removed unnecessary #include(s)
    * added missing const to one declaration

  * harbour/source/rtl/valtype.c
  * harbour/source/vm/hashfunc.c
    * cleanup RT error call to eliminate hb_paramError() function

  * harbour/source/pp/pplib.c
  * harbour/source/vm/runner.c
  * harbour/source/vm/debug.c
  * harbour/source/vm/arrayshb.c
  * harbour/source/vm/classes.c
  * harbour/source/vm/hvm.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/gtfunc.c
  * harbour/source/rtl/hbinet.c
  * harbour/source/rtl/hbregex.c
  * harbour/source/rtl/idle.c
  * harbour/source/rtl/errorapi.c
  * harbour/source/rtl/hbtoken.c
  * harbour/source/rtl/direct.c
  * harbour/source/rdd/dbcmd.c
  * harbour/source/rdd/dbcmd53.c
  * harbour/source/rdd/fieldhb.c
  * harbour/source/rdd/hbsix/sxcompr.c
  * harbour/source/rdd/hbsix/sxcrypt.c
  * harbour/source/compiler/hbcmplib.c
  * harbour/contrib/hbrddads/adsfunc.c
  * harbour/contrib/hbrddads/adsmgmnt.c
    - removed unnecessary calls to hb_ret()
    % replaced hb_itemRelease( hb_itemReturn( pItem ) ) with
      hb_itemReturnRelease( pItem )
    % replaced hb_itemPut*( hb_arrayGetItemPtr( pArray, ... ), ... ) with
      hb_arraySetNI( pArray, ... )

  * harbour/source/macro/macro.y
  * harbour/source/macro/macro.yyc
  * harbour/contrib/xhb/cstructc.c
  * harbour/contrib/hbw32/w32_ole.c
  * harbour/contrib/hbgtwvg/wvtcore.c
    * cleaned typos with double ;;

  * harbour/source/vm/extend.c
  * harbour/source/rtl/math.c
    * cleaned HB_EXPORT usage

  * harbour/source/pp/ppcore.c
    ! fixed Harbour extension which allows to use match marker
      at the beginning of rule definition

  * harbour/source/main/harbour.c
    ! fixed hex conversion in FM log module - fix done by Phil Krylov
      in xHarbour

  * harbour/source/rdd/nulsys/nulsys.c
    + added dummy version of DBEVAL() and DBFILTER() - these functions
      are used in RTL

  * harbour/contrib/hbct/bitnum.c
    + added INTNEG(), INTPOS()

  + harbour/contrib/hbct/ctrand.prg
    + added RANDOM(), RAND() - borrowd from xHarbour by Pavel Tsarenko

  + harbour/contrib/hbct/setrc.c
    + added SETRC()

  * harbour/contrib/hbct/getinput.prg
    % minor optimization

  * harbour/contrib/hbct/Makefile
  * harbour/contrib/hbct/common.mak
    * updated for new files

  * harbour/contrib/hbnf/tempfile.prg
    * use HB_FTempCreate() - modification borrowed from xHarbour
      TOFIX this function uses hb_isbyref() which does not exist
      in Harbour

  * harbour/config/w32/msvc.cf
    + added -nologo flag for cl.exe (Phil Krylov's modification borrowed
      from xHarbour

  * harbour/config/w32/mingw32.cf
    - removed repeated definitions

  * harbour/config/w32/install.cf
    ! added alternative install rule for command.com with max line size limit
2008-01-09 14:04:12 +00:00
Przemyslaw Czerpak
7aa8292529 2007-11-04 19:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/include/hbmacro.h
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/harbour.y
  * harbour/source/vm/macro.c
  * harbour/source/vm/garbage.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/classes.c
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rtl/binnum.c
  * harbour/source/rtl/gtwvt/gtwvt.c
    * added explicit casting or changed some declarations to avoid
      warning about possible data lost in conversions
  * harbour/source/rtl/direct.c
    % optimized directory array creation and fixed one TOFIX note

   I left few warnings intentionally to mark places which should be
   updated in the future (f.e. HB_SYMBOLSCOPE translations).
   Victor, if you can please make build test with MSVC builds and
   send the list of warnings which still exist to harbour-devel.
2007-11-04 18:21:17 +00:00
Viktor Szakats
e400c484b5 2007-10-27 17:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbpp/pragma.c
   * source/rtl/binnum.c
   * source/rtl/direct.c
     ! Some VS2005 -O2 warnings.
       One TOFIX added at the same time, since DIRECTORY()
       has a problem returning file sizes greater than 2GB.
2007-10-27 15:54:12 +00:00
Viktor Szakats
1432141747 2004-02-21 8:14 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/common/hbffind.c
   * source/rtl/direct.c
     + Completely rearranged, so that the platform specific stuff
       is kept in one function. Redundant code removed.
     * Attrib filters needed to make DIRECTORY() CA-Cl*pper
       compatible have been moved to the low-level file-find
       functions.
     + Added label support for Win32.
     ! Fix for Win32. It has been made compatible with the
       C RTL _dos_findfirst pattern matching, which is what
       CA-Clipper is compatible with.
     * Adding space to the stringified attribute list on
       HB_FA_NORMAL removed, since it's not compatible, and it
       doesn't get executed anyway, since HB_FA_NORMAL == 0.
     * UNIX part formatted.
     ; All this means that file find API is fixed now and compatible
       with CA-Cl*pper on the lower level. Heavily tested under
       Win32, and probably easy to fix for any other platforms
       now in case of incompatibility. Changes has be merged from
       an older version of the file, so please double chk your
       changes/platforms.
     ; Note that other file-find API based functions will also
       automatically benefit from the above changes, like FILE()/
       hb_fsFile().
2004-02-21 07:18:28 +00:00
Luis Krause
a559ba7ceb Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> 2003-12-26 03:42:19 +00:00
Paul Tucker
2b36dd184c 2002-01-14 21:53 UTC-0500 Paul Tucker <ptucker@sympatico.ca>
* source\common\hbffind.c
    * replaced 3 literals with proper defines
    * minor formatting.
2002-01-15 03:21:36 +00:00
Paul Tucker
8aacaa65d2 2002-01-14 31:32 UTC-0500 Paul Tucker <ptucker@sympatico.ca>
* source\rtl\direct.c
    * updated default flags to include ReadOnly
2002-01-15 02:34:58 +00:00
Paul Tucker
9675c004f1 2002-01-14 15:05 UTC-0500 Paul Tucker <ptucker@sympatico.ca>
* source\common\hbffind.c
    * Added missed Attribute check (thanks Victor)

2002-01-14 14:30 UTC-0500 Paul Tucker <ptucker@sympatico.ca>
  * source\rtl\direct.c
    * updated notes and TODO's
2002-01-14 20:18:45 +00:00
Paul Tucker
42aaa00949 2002-01-14 15:05 UTC-0500 Paul Tucker <ptucker@sympatico.ca>
* source\common\hbffind.c
    * Added missed Attribute check (thanks Victor)

2002-01-14 14:30 UTC-0500 Paul Tucker <ptucker@sympatico.ca>
  * source\rtl\direct.c
    * updated notes and TODO's
2002-01-14 20:11:43 +00:00
Paul Tucker
d4af55e67e 2002-01-14 14:30 UTC-0500 Paul Tucker <ptucker@sympatico.ca> 2002-01-14 19:40:41 +00:00
Paul Tucker
e7f5009aee 2002-01-14 14:30 UTC-0500 Paul Tucker <ptucker@sympatico.ca> 2002-01-14 19:33:21 +00:00
Paul Tucker
b6c0f3c5a7 2002-01-14 10:40 UTC-0500 Paul Tucker <ptucker@sympatico.ca> 2002-01-14 15:42:03 +00:00
Luiz Rafael Culik
d61d534512 See changelog 2002-01-07 17:30 UTC-0300 2002-01-07 19:25:31 +00:00
Viktor Szakats
b6be3cf42e 2001-12-21 16:31 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-12-21 15:31:33 +00:00
Viktor Szakats
1136fd0166 2001-12-21 16:08 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-12-21 15:09:19 +00:00