Commit Graph

8656 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
738cecd913 2008-07-28 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/hbmzip.c
    * converted TABs to SPACEs

  * harbour/source/rtl/hbcrc.c
  * harbour/source/rtl/hbmd5.c
    * added const to some static array declarations
2008-07-28 10:37:57 +00:00
Przemyslaw Czerpak
90494c980d 2008-07-28 02:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/tests/myzip.prg
  * harbour/contrib/hbmzip/tests/myunzip.prg
    * minor cleanup
2008-07-28 00:48:11 +00:00
Viktor Szakats
1c685ef400 2008-07-26 20:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/whatsnew.txt
     + Updated for 1.0.0.
2008-07-26 18:14:05 +00:00
Przemyslaw Czerpak
0c030440ad 2008-07-26 17:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/tests/myzip.prg
    + added support for setting global comment
    + added support for scanning subdirectories
2008-07-26 15:05:52 +00:00
Przemyslaw Czerpak
6bfbdc7bd6 2008-07-26 16:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/zip.c
    ! fixed access to uninitialized member of z_stream by simple
      initialization. Anyhow it's minor bug in MINIZIP code exploited
      HB_ZipDeleteFile() which causes that TEXT flag is not set after
      raw binary file updating. There is also no API call to make it
      manually.
      
  * harbour/contrib/hbmzip/hbmzip.c
  * harbour/contrib/hbmzip/readme.txt
    + added HB_ZipDeleteFile( cZipFile, cFileMask ) --> nError

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  + harbour/source/rtl/dirscan.prg
    + added HB_DirScan( cPath, cFileMask, cAttr )

  * harbour/source/rtl/strmatch.c
    + added HB_FileMatch( cFile, cPattern )

  * harbour/include/hbextern.ch
    + added HB_DirScan(), HB_FileMatch()

  * harbour/contrib/xhb/dirrec.prg
    * changed to use HB_DirScan()
2008-07-26 14:26:11 +00:00
Viktor Szakats
3c36339459 2008-07-26 12:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* TODO
     * Updated.
     ; QUESTION: Is this still valid?:
       Assign to: Przemek
       Detail...: Clean RDD code to be safe for return from RT errors
       Status...: Open.
2008-07-26 10:23:01 +00:00
Viktor Szakats
4a4a93b12f 2008-07-25 22:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbextern.ch
     + HB_OSFILEMASK() added.
2008-07-25 20:53:21 +00:00
Viktor Szakats
a32cc2004b 2008-07-25 20:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/tgetlist.prg
     ! TGetList():ReadVar() implemented using duplicated code, 
       instead of creating a dependency to hb_GetReadVar() in getsys.prg.
2008-07-25 18:47:21 +00:00
Przemyslaw Czerpak
967c116538 2008-07-25 19:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/hbmzip.c
    + added support to set archive comment:
         HB_ZipClose( hZip, [ cGlobalComment ] ) --> nError
    + added support to get archive comment in append mode:
         HB_ZipOpen( cFileName, [ iMode = HB_ZIP_CREATE ],
                     [ @cGlobalComment ] ) --> hZip
    + added support to set file comment:
         HB_ZipFileCreate( hZip, cZipName, dDate, cTime,
                           nInternalAttr, nExternalAttr,
                           [ nMethod = HB_ZLIB_METHOD_DEFLATE ], 
                           [ nLevel = HB_ZLIB_COMPRESSION_DEFAULT ], 
                           [ cPassword ], [ cComment ] ) --> nError
         HB_ZipStoreFile( hZip, cFileName, [ cZipName ],
                          [ cPassword ], [ cComment ] ) --> nError
    + added new function which allow to extract archive comment:
         HB_UnzipGlobalInfo( hUnzip, @nEntries, @cGlobalComment ) --> nError
    + added support to extract file comment:
         HB_UnzipFileInfo( hUnzip, @cZipName, @dDate, @cTime,
                           @nInternalAttr, @nExternalAttr,
                           @nMethod, @nSize, @nCompressedSize,
                           @cComment ) --> nError

  * harbour/contrib/hbmzip/readme.txt
    + added list of Harbour ZIP/UNZIP functions with parameters
2008-07-25 17:20:06 +00:00
Viktor Szakats
319d1fbc1f 2008-07-25 18:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/treport.prg
     ! Fixed RTE by removing some type constraints from object vars 
       which get NILs assigned. Thanks to Ciro Vargas Clemow.
2008-07-25 16:47:46 +00:00
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
Viktor Szakats
3532757b39 2008-07-25 11:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/hbziparc.c
     ! Fixed bug reported by Juan Galvez.
     * Formatting, minor cleanup.
2008-07-25 09:34:12 +00:00
Przemyslaw Czerpak
4cd7ed0718 2008-07-24 18:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingwce.sh
    * look for platform native hbpp also in default build paths
2008-07-24 16:43:45 +00:00
Przemyslaw Czerpak
e7f24bc3b5 2008-07-24 18:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbinet.c
    ! fixed possible data file corruption due to wrong use of 0 handle.
      0 handle is perfectly valid. By default it points to stdin but
      it can be closed and then reused for any other thing, f.e. data
      file. In such case any data written to socket was written to
      such file and this situation was very easy to replicate with
      old hbinet code.
    ! fixed resource leak due to unclosed handles in few cases
    ! fixed possible double close of the some handle what could cause
      that other object handles reusing the same handle number between
      first and second close (f.e. data files) was wrongly closed
    ! fixed s_inetRecvPattern()/HB_INETRECVLINE() - the end pattern
      was wrongly checked and the code didn't detect end pattern in
      streams like: "...\r\r\n" when end pattern was "\r\n"
      NOTE: this code needs some general cleanup. IMHO it should be
      joined with adding hbinet C API.
2008-07-24 16:02:48 +00:00
Viktor Szakats
6b5c8b82b5 2008-07-24 03:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     ! Disabled string hashing for curl_formadd() with
       CURLFORM_COPYNAME. I've misread the docs (sorry Przemek), 
       hashing is only needed for CURLFORM_PTRNAME, which we 
       currently don't use. I've disbled some code to avoid 
       unused function warnings, but other than that it may 
       be good to have the possibility for hashing for future 
       functions too.
     ! Fixed/Added support for CURLFORM_COPYNAME parameter 
       with embedded zeroes by passing the string length 
       using CURLFORM_NAMELENGTH. Not tested.
2008-07-24 02:38:00 +00:00
Przemyslaw Czerpak
218fae2319 2008-07-23 21:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbsqlit3/sqlite3/sqlite3.c
    * pacified warnings
2008-07-23 19:45:01 +00:00
Przemyslaw Czerpak
54c95b390f 2008-07-23 15:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbcurl/hbcurl.c
    * activate string hasing in all builds for curl_formadd() with
      CURLFORM_COPYNAME
    * do not use string hasing fro curl_slist_append()

    Many thanks to Viktor for help.
2008-07-23 13:06:21 +00:00
Przemyslaw Czerpak
770eb9f046 2008-07-23 12:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbwince.c
    * formatting

  * harbour/contrib/hbcurl/hbcurl.c
    + use hash table to keep strings passed to CURL library accessible
      even if HVM destroys them. It should allow to safely use HBCURL
      wrapper also with CURL library older then 7.17.0 though it can
      be a little bit expensive in some cases. The allocated strings
      are freed when CURL pointer is destroyed (directly or by
      CURL_EASY_CLEANUP()) or reset by CURL_EASY_RESET().
      This feature is enabled only when compiled for CURL libraries
      older then 7.17.0 or when user set explicitly compile time macro
      HB_CURL_HASH_STRINGS
      Viktor, you are more familiar with this code so please check it.
2008-07-23 10:19:33 +00:00
Przemyslaw Czerpak
360923f47c 2008-07-23 01:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingwce.sh
    * fixed CCPATH setting - it has to be ended with ":"
2008-07-22 23:04:50 +00:00
Przemyslaw Czerpak
344830d5f9 2008-07-22 21:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/zip.c
  * harbour/contrib/hbmzip/unzip.c
    * use hb_xgrab()/hb_xfree() instead of malloc()/free()
2008-07-22 19:26:09 +00:00
Przemyslaw Czerpak
faf1b27f38 2008-07-22 19:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/zip.c
    * set OS version information in ZIP header when ZIP archive is
      created by *nix Harbour build. It's necessary to inform some
      zip packages (f.e. infozip/unzip) that they should respect POSIX
      file permission during decompression.
2008-07-22 17:27:23 +00:00
Przemyslaw Czerpak
5472af3b11 2008-07-22 17:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/hbmzip.c
    ! fixed storing/setting file date, time and attributes in *nixes

  * harbour/include/hbapifs.h
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/filesys.c
    ! replaced hack with direct bit conversion in *nixes attributes
      by bit testing
2008-07-22 15:19:06 +00:00
Przemyslaw Czerpak
83fbce1ea4 2008-07-22 15:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/files.c
  * harbour/contrib/hbmzip/hbmzip.c
    * use new hb_fs*() functions when native platform code does not exist
2008-07-22 13:08:22 +00:00
Przemyslaw Czerpak
fb434be153 2008-07-22 12:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filesys.c
    * casting for DOS OpenWatcom builds and added missing header file
2008-07-22 10:55:58 +00:00
Przemyslaw Czerpak
6058ac88f0 2008-07-22 12:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtwvt/gtwvt.c
    * disabled SetWindowLongPtr() in 32bit MSVC WinCE builds

  * harbour/source/rtl/hbffind.c
    * minor cleanup.

  * harbour/source/rtl/filesys.c
    + implemented hb_fsGetAttr() and hb_fsGetFileTime() for DOS, MS-Win,
      OS2 and *nixes. Please test it on different platforms.
2008-07-22 10:30:50 +00:00
Przemyslaw Czerpak
e34f1fe668 2008-07-22 11:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/genobj32.c
    ! casting
2008-07-22 09:04:02 +00:00
Przemyslaw Czerpak
7fbbdaa5a0 2008-07-22 10:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtwvt/gtwvt.h
    * added yet another one MSVC-WinCE missing definition
2008-07-22 08:36:27 +00:00
Viktor Szakats
3609cf9c0b 2008-07-22 09:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbapifs.h
   * source/rtl/filesys.c
     + Added skeletons for hb_fsGetAttr() and hb_fsGetFileTime()
       TODO: Implementation.

   * contrib/hbclipsm/common.mak
   * contrib/hbclipsm/Makefile
   - contrib/hbclipsm/dbf.c
   	 ! Removed duplicate implementation of DBF() from hbclipsm.lib

   ; TOFIX:
     I'm getting these new warnings under BCC55:
     Warning W8080 source\rtl\filesys.c 2718: '_fstat(int,_stat *)' is declared but never used
     Warning W8080 source\rtl\filesys.c 2718: '_disable()' is declared but never used
     Warning W8080 source\rtl\filesys.c 2718: '_enable()' is declared but never used
     Warning W8080 source\rtl\fssize.c 142: '_fstat(int,_stat *)' is declared but never used
2008-07-22 08:01:32 +00:00
Przemyslaw Czerpak
092dcdb693 2008-07-21 21:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtwvt/gtwvt.h
    * added some definitions which seems to be missing in some MSVC-WinCE
      versions

  * harbour/source/rtl/gtwvt/gtwvt.c
    * cleaned SetWindowLongPtr()/SetWindowLong() usage so now all calls
      are protected by the same #if condition
2008-07-21 19:54:54 +00:00
Przemyslaw Czerpak
3c31a039ed 2008-07-21 19:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbwince.h
    * added DRIVE_UNKNOWN declaration for MSVC WinCE builds

  * harbour/source/common/expropt2.c
    * pacified warning
2008-07-21 17:05:26 +00:00
Przemyslaw Czerpak
615a722297 2008-07-21 18:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
  * harbour/contrib/hbtip/ChangeLog
    * replaced TABs with SPACEs

  * harbour/source/compiler/genobj32.c
    ! fixed memory leak
      TODO: disable this module in default builds until it will not
      be fixed to generate valid OMF .obj files
2008-07-21 16:43:23 +00:00
Przemyslaw Czerpak
3d4a97040b 2008-07-17 18:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbw32/dllcall.c
    * minor cleanup in return values

  * harbour/contrib/hbole/ole2.c
    * cleaned casting in UNICODE conversions

  * harbour/source/common/expropt2.c
    * replicate CA-Cl*pper compile time optimization bugs:
         "" $ <literString>         => .T.
         AT( "", <literString> )    => 1
         CHR( 256 )                 => ""
      only when Harbour extensions (-kh) are not enabled, f.e.
      in strict Clipper compatibility mode (-kc)

  * harbour/utils/hbtest/rt_hvma.prg
  * harbour/utils/hbtest/rt_str.prg
    * updated to test Clipper and Harbour compile time modes in
      the above situations

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  - harbour/source/rtl/strings.c
  * harbour/source/common/hbstr.c
    * moved hb_strEmpty() from RTL to COMMON library

  * harbour/include/hbexprb.c
  * harbour/include/hbexprop.h
  * harbour/source/common/expropt2.c
    + added compile time optimization for EMPTY() function
    ; removed 'TODO: empty optimization' note

  * harbour/source/rtl/itemseri.c
    % compress trailing spaces during string item serialization

  * harbour/include/hbapi.h
  * harbour/source/vm/hashes.c
    + added hb_hashAddNew() - works like hb_hashAdd() but it adds item
      only if new key is used

  * harbour/source/vm/hvm.c
    * use hb_hashAddNew() instead of hb_hashAdd() for HB_P_HASHGEN
      I cannot revert the order of hash item during compilation because
      it will also change the order of user expression evaluation.
2008-07-17 16:28:11 +00:00
Przemyslaw Czerpak
9475817ad4 2008-07-17 03:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbtpathy/tplinux.c
    * workaround for missing CRTCTS declaration in OpenWatcom

  * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c
  * harbour/contrib/hbsqlit3/hbsqlit3.c
    * pacified warnings
    ! fixed C++ compilation

  * harbour/contrib/gtwvg/gtwvg.h
    * add hack for missing GCLP_HCURSOR declaration in OpenWatcom

  * harbour/contrib/hbtpathy/tpwin32.c
  * harbour/contrib/hbw32/dllcall.c
  * harbour/contrib/hbw32/w32_osc.c
  * harbour/contrib/hbole/ole2.c
  * harbour/contrib/hbgf/hbgfw32/win32.c
    * updated for UNICODE builds
    * pacified warnings
2008-07-17 01:37:07 +00:00
Przemyslaw Czerpak
18f8cb9feb 2008-07-15 20:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbmd5.c
    ! fixed MD5 calculations
2008-07-15 18:37:35 +00:00
Przemyslaw Czerpak
b33f79ec8b 2008-07-15 14:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmysql/Makefile
  * harbour/contrib/hbodbc/Makefile
  * harbour/contrib/hbsqlit3/Makefile
  * harbour/contrib/hbfbird/Makefile
  * harbour/contrib/hbcurl/Makefile
  * harbour/contrib/hbhpdf/Makefile
  * harbour/contrib/hbpgsql/Makefile
  * harbour/contrib/hbfimage/Makefile
  * harbour/contrib/hbgd/Makefile
  * harbour/contrib/hbgf/hbgfgtk/Makefile
    * do not add default system include directory to C_USR during testing
      for foreign header files when HB_XBUILD variable is set - protection
      against including wrong header files in cross builds

  * harbour/contrib/hbtpathy/ChangeLog
    * changed SVN EOL style to 'native'

  * harbour/contrib/hbbmcdx/bmdbfcdx.c
    * pacified warning
2008-07-15 12:32:34 +00:00
Pritpal Bedi
472013f959 2008-07-12 16:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* source/rtl/gtwvt/gtwvt.c
    * #if defined(_MSC_VER) and (_MSC_VER >= 1200) => 
      #if defined(_MSC_VER) && (_MSC_VER >= 1200)
    *#elif  =>  #else
     
     /* JF Please check with BCC also */
2008-07-12 23:16:21 +00:00
Jean-Francois Lefebvre
b2925bd75d 2008-07-11 19:52 UTC+0200 JF Lefebvre (MAFACT) (jfl/at/mafact.com) 2008-07-11 17:53:49 +00:00
Przemyslaw Czerpak
0dc48d4a90 2008-07-11 19:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/files.c
    * changed SETFATTR() to use hb_fsSetAttr()
2008-07-11 17:13:29 +00:00
Jean-Francois Lefebvre
0159cc03e3 2008-07-11 18:20 UTC+0200 JF Lefebvre (MAFACT) (jfl/at/mafact.com) 2008-07-11 16:34:23 +00:00
Przemyslaw Czerpak
38fd033e77 2008-07-11 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/dbedit.ch
  * harbour/source/rtl/dbedit.prg
    + added support for undocumented Clipper DE_APPEND mode - code
      covered by HB_C52_UNDOC
    % ignore K_MOUSEMOVE events to avoid flickering just like CA-Cl*pper
      does
    + added support for cell positioning with mouse left key - CL53
      compatible behavior covered by HB_COMPAT_C53 macro
    * changed static function name dbEditCallUser() to CallUser() for
      strict Clipper compatibility - some user function code may check
      PROCNAME()
    * some minor optimizations and fixes

  * harbour/contrib/hbmzip/hbmzip.c
    * indenting

  * harbour/source/vm/hvm.c
    * formatting
2008-07-11 15:33:41 +00:00
Przemyslaw Czerpak
ee2b31438d 2008-07-10 20:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/macro.c
    ! fixed RT error when invalid symbol string is precompiled
2008-07-10 18:59:47 +00:00
Miguel Angel Marchuet Frutos
a5c4482fb0 2008-07-10 18:51 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net>
* contrib/hbbmcdx/bmdbfcdx.c
  * contrib/hbbmcdx/hbbmcdx.h
    ! fixed casting for indexes with key length greater then 196 bytes
      created on tables with record number smaller then 256. In such
      case if keys have equal value then after decoding they may need
      more then 32767 bytes and casting to SHORT gives negative indexes.
      Thanks to Saulius Zrelskis for example.
    % changed some SHORT to INT to reduce runtime overhead
  * contrib/hbziparch/hbziparc.c
    ! fixed some unused variables.
    * minor sintax corrections.
2008-07-10 16:46:54 +00:00
Viktor Szakats
34e0f7d1c3 2008-07-09 22:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     + Changed to use Harbour memory allocation functions in 
       libcurl.
2008-07-09 20:54:20 +00:00
Przemyslaw Czerpak
f7550368fe 2008-07-09 22:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingwce.sh
    ! fixed HB_PPGEN_PATH setting
2008-07-09 20:42:16 +00:00
Przemyslaw Czerpak
7162b6555f 2008-07-09 18:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filesys.c
    ! casting
2008-07-09 16:30:45 +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
Przemyslaw Czerpak
218d714555 2008-07-09 13:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/hbmzip.c
    ! added missing DJGPP header files

  * harbour/source/rtl/filesys.c
    * finished hb_fsSetAttr()

  * harbour/source/rtl/set.c
    % optimized for loop
2008-07-09 11:58:01 +00:00
Przemyslaw Czerpak
4f5ab5e076 2008-07-09 12:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/set.c
    ! do not add .prn extension to printer/extra filenames if file name
      is one of well known device name: PRN, LPT[1-3], COM[1-9]
      This code is enabled only for OS2 builds where it's necessary
      but maybe MS-Windows/DOS users should think about adding it to
      their builds too because sometimes also DOS/Win does not recognize
      correctly device name when it has extension.
2008-07-09 10:32:31 +00:00
Marek Paliwoda
e30cd6e5e1 2008-07-09 10:07:26 +00:00
Marek Paliwoda
1e9fb98568 2008-07-09 12:05 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) 2008-07-09 10:03:30 +00:00