Commit Graph

8486 Commits

Author SHA1 Message Date
Miguel Angel Marchuet Frutos
06794febf1 2008-06-27 17:13 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net>
* contrib/hbtip/client.prg
  * contrib/hbtip/ftpcln.prg
  * contrib/hbtip/httpcln.prg
  * contrib/hbtip/mail.prg
  * contrib/hbtip/sendmail.prg
    + Added methods setget to interrogate buffer size send/recive
	   METHOD InetRcvBufSize( SocketCon, nSizeBuff )
	   METHOD InetSndBufSize( SocketCon, nSizeBuff )
    + Added data members to assign default buffer sizes
	   DATA nDefaultRcvBuffSize
	   DATA nDefaultSndBuffSize
    + Asigned default buffer size to 64kb only for FTP transfer, previous to open sockets
           ::nDefaultSndBuffSize := 65536
           ::nDefaultRcvBuffSize := 65536
    * Fixed port ftp protocol.
  * source/rtl/hbinet.c
    * now works with default system buffer, for example 8kb at W2000. instead of harcoded 1400
2008-06-27 15:15:12 +00:00
Viktor Szakats
9c03e64b24 2008-06-27 17:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbgf/hbgfgtk/msginfo.c
     ! Blind fix for missing MultiLineDelimiters definition.
2008-06-27 15:08:46 +00:00
Viktor Szakats
f6bf945c7c 2008-06-27 15:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwhat32/wincorec.c
   * contrib/hbwhat32/_winwnd.c
   * contrib/hbwhat32/wincore.prg
     + hb_retnl()/hb_parnl() calls replaced with hb_retptr()/hb_parptr().
       This way it won't break on Win64.
     ; NOTE1: Functions dealing with wndproc/dlgproc functions on the 
              Harbour level will now return/require POINTER types instead 
              of numerics. App level code should be updated accordingly.
              INCOMPATIBLE.
     ; NOTE2: There might be other places in hbwhat32 where such conversion 
              would be necessary.
     ; Please test.
2008-06-27 13:45:35 +00:00
Przemyslaw Czerpak
5146b49934 2008-06-27 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/pp/ppcore.c
    ! fixed GPF in expressions like:
         #command CMD => #translate abc => \
      problem located by Ron in xHarbour

  * harbour/source/pp/hbpp.c
    * extended string escaping to also quote " and ? (possible trigraph)

  * harbour/source/compiler/gencc.c
    ; comment formatting
2008-06-27 12:58:35 +00:00
Viktor Szakats
20b5345725 2008-06-27 14:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/Makefile
     * After this change, HB_CONTRIBLIBS will _override_ the 
       default list of contribs, rather than adding them to 
       the default list (which BTW contains everything since 
       this week, so there's no much point anyway, besides if 
       someone was hosting local contribs in the Harbour contrib 
       dir).

   * include/hbver.h
     - Removed recenly added HB_VERSION 0x010000.
     * Instead I've changed both .prg level and .c level __HARBOUR__ 
       to contain this more granular (full) version number.
     ; NOTE: If someone is relying on the value of __HARBOUR__ in 
             .prg code, the values should be multiplied by 256.
2008-06-27 12:28:57 +00:00
Viktor Szakats
0e53a69d71 2008-06-27 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbstdgen.ch
   * include/hbver.h
     * Cleanups to previous change.
     ! Fixed HB_STD_CH_ to not be #defined in .prgs by default.
2008-06-27 11:23:39 +00:00
Viktor Szakats
3234400116 2008-06-27 12:51 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbgf/hbgfgtk/creamenu.c
     - Removed deprecated pre GTK2 API call with no equivalent 
       in newer versions.
       If someone needs the menu shadow functionality for GTK1, 
       please give some hint how to guard it, and we can add it 
       back.
2008-06-27 10:53:00 +00:00
Viktor Szakats
53c7ccc18b 2008-06-27 12:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbstdgen.ch
   * include/hbver.h
   * include/hbdefs.h
   * source/pp/pplib.c
   * source/pp/ppcore.c
   * source/pp/hbpp.c
   * source/common/hbver.c
   * source/common/hbverdsp.c
   * contrib/hbsqlit3/hbsqlit3.c
   * contrib/examples/pp/hbppdef.h
     * Changed .c level __HARBOUR__ to have the same value 
       as the existing .prg level one.
     * PP now gets the __HARBOUR__ define directly from the .c 
       level instead of generating it locally.
     ; QUESTION: Should or shouldn't we change __HARBOUR__ 
       to contain revision number too? (0x0100 -> 0x01000)
       This would allow for a greater level of development 
       opportunities between minor revisions, more "agile" 
       development.

   * include/hbpp.h
   * source/pp/ppcore.c
     - Two __XHARBOUR__ guards removed.
2008-06-27 10:27:35 +00:00
Viktor Szakats
a1eb99932d 2008-06-27 03:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/Makefile
   * contrib/gtwvg/common.mak
   - contrib/gtwvg/wvtclass.prg
   + contrib/gtwvg/wvgclass.prg
   - contrib/gtwvg/wvtpaint.prg
   + contrib/gtwvg/wvgpaint.prg
   - contrib/gtwvg/wvtcore.c
   + contrib/gtwvg/wvgcore.c
   - contrib/gtwvg/wvtutils.c
   + contrib/gtwvg/wvgutils.c
   * contrib/gtwvg/hbgtwvg.ch
   * contrib/gtwvg/wvtwin.ch
     + Added self-guards for headers.
     ! Added missing SVN header and copyright to hbgtwvg.ch.
     ! Deleted ISBLOCK() from wvtwin.ch since it's already  
       #defined in common.ch.
     * Renamed local source files from wvt*.* -> wvg*.*
2008-06-27 01:51:45 +00:00
Viktor Szakats
d2ec0a2903 2008-06-26 15:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/pp/hbpp.c
     ! Fixed typo in recent modification.
       Thanks to Grigory Filatov for spotting it.
2008-06-26 14:00:17 +00:00
Viktor Szakats
8dcaa95da6 2008-06-26 12:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmysql/mysql.c
   * contrib/hbmysql/tmysql.prg
   * contrib/hbmsql/msql.c
   * contrib/hbmsql/tmsql.prg
     ! Fixed again to use hb_parptr()/hb_retptr() 
       instead of hb_parnl()/hb_retnl(). This fixes these libs 
       on 64 bit systems.
       This is an INCOMPATIBLE change, users of these libs will 
       have to update their code when dealing with return values 
       of the following functions:
       - hbmysql / SQLCONNECT()
       - hbmysql / SQLSTORER()
       - hbmysql / SQLUSERES()
       - hbmsql / MSQLSTORER()
       - hbmsql / MSQLLISTFI()
       They will now return pointer type instead of a number, 
       so error checking will have to be changed from r > 0, 
       r ==/=/!=/> 0 to !Empty( r ).
     ; Please test.

   * contrib/hbgf/hbgfw32/win32.c
   * contrib/hbgf/hbgfos2/os2pm.c
   * contrib/hbgf/hbgfos2/os2pm.ch
     * Some cleanups.
     ; Please test for OS/2.
2008-06-26 10:28:07 +00:00
Przemyslaw Czerpak
c82626bc3d 2008-06-26 11:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmsql/msql.c
    ! changed msqlGetErrMsg( NULL ) => msqlErrMsg

  * harbour/contrib/hbsqlit3/hbsqlit3.c
    ! include harbour header files after sqlite3.c which needs some
      extra sets for system header files

  * harbour/contrib/hbgf/hbgfw32/win32.c
    ! removed wrongly used TEXT( hb_parc( 1 ) ) macro. The TEXT()
      macro can be used _ONLY_ for literal strings.

  * harbour/contrib/hbgf/hbgfgtk/Makefile
  * harbour/contrib/hbgf/hbgfgtk/dispatch.c
  * harbour/contrib/hbgf/hbgfgtk/msginfo.c
  * harbour/contrib/hbgf/hbgfgtk/form.prg
  * harbour/contrib/hbgf/hbgfgtk/creawin.c
    ! fixed compilation in Linux

  * harbour/source/rtl/gtclip.c
    * pacified warning
2008-06-26 09:47:58 +00:00
Viktor Szakats
8c358ccf16 2008-06-26 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbver.c
     * Changed version information layout:
       "Harbour a build x.y-z" -> "Harbour x.y.za" format.

   * contrib/gtwvg/gtwvg.c
     ! Fixed compile error. (commented line, please check this code)
       [ pGT->iLocalGTHandle = pWVT->iHandle; ]

   * contrib/gtwvg/wvtutils.c
   * contrib/gtwvg/wvtcore.c
   * contrib/gtwvg/wvtpaint.prg
   * contrib/gtwvg/wvtclass.prg
     % hb_arraySet( ..., hb_itemPut*() ) -> hb_arraySet*( ... )
     * if() -> iif()
     * != on strings to IS*() macros.
     ; TODO: I'd suggest to change "WVT" references to "WVG" 
             to avoid confusion with core WVT. At least in those places
             which wouldn't break compatibility (like source names).
             If there is no objection I can do it.

   * source/rtl/gtwvt/gtwvt.c
     * Minor cleanup.
2008-06-26 09:27:42 +00:00
Pritpal Bedi
7abd8c37a3 2008-06-25 15:55 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
    * Some futuristic additions and synchronization with GTWVT.
  * harbour/contrib/gtwvg/tests/demowvg.prg
    * Update to recognize all key events.

    ;DONE: I am done with the update og GTWVG. 
     Open to previous modifications, Viktor?
2008-06-25 22:59:16 +00:00
Viktor Szakats
710a74ed0a 2008-06-25 18:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbfimage/fi_winfu.c
   * contrib/hbfimage/fi_wrp.c
     ! I cannot test it right now, but this should fix the 
       build problem for hbfimage under Linux.
2008-06-25 16:20:51 +00:00
Przemyslaw Czerpak
6b28dbb75b 2008-06-25 16:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbver.h
    * removed unnecessary EOL inside comment

  * harbour/contrib/hbodbc/odbc.c
    ! use valid integer type instead of explicit casting in function call.
      Such casting is vary dangerous and may cause unpredictible results
      when integer value has different binary size

  * harbour/contrib/hbtpathy/Makefile
  * harbour/contrib/hbtpathy/common.mak
  * harbour/contrib/hbtpathy/telepath.ch
  * harbour/contrib/hbtpathy/tplinux.c
  * harbour/contrib/hbtpathy/tpwin32.c
  * harbour/contrib/hbtpathy/tpos2.c
  * harbour/contrib/hbtpathy/telepath.prg
  * harbour/contrib/hbtpathy/readme.txt
  * harbour/contrib/hbtpathy/tests/testtp.prg
    * converted EOL style to native
    * set valid SVN attributes

  * harbour/contrib/hbapollo/Makefile
    * disabled non W32 builds, SDE exists only for MS-Windows

  * harbour/contrib/hbziparch/Makefile
    ! fixed C flag setting for Linux builds

  * harbour/source/pp/ppcore.c
    * formatting

  * harbour/source/rtl/valtoexp.prg
    ! fixed empty date conversion

  * harbour/hbgtmk.sh
  * harbour/make_xmingwce.sh
  * harbour/make_deb.sh
  * harbour/make_rpmw32.sh
  * harbour/make_gcc.sh
  * harbour/make_rpm.sh
  * harbour/make_xmingw.sh
  * harbour/make_tgz.sh
  * harbour/make_rpmce.sh
  * harbour/contrib/hbmzip/make_gcc.sh
  * harbour/contrib/hbsqlit3/make_gcc.sh
  * harbour/contrib/make_gcc_all.sh
  * harbour/contrib/hbziparch/make_gcc.sh
  * harbour/contrib/hbnf/make_gcc.sh
  * harbour/contrib/hbhpdf/tests/files/cp932.txt
  * harbour/contrib/hbhpdf/make_gcc.sh
  * harbour/contrib/rddado/make_gcc.sh
  * harbour/contrib/gtwvg/make_gcc.sh
  * harbour/contrib/hbpgsql/make_gcc.sh
  * harbour/contrib/rddads/make_gcc.sh
  * harbour/contrib/hbclipsm/make_gcc.sh
  * harbour/contrib/mtpl_gcc.sh
  * harbour/contrib/hbfimage/make_gcc.sh
  * harbour/contrib/hbgd/tests/bld.sh
  * harbour/contrib/hbgd/make_gcc.sh
  * harbour/contrib/hbmisc/make_gcc.sh
  * harbour/contrib/hbtip/make_gcc.sh
  * harbour/contrib/hbbmcdx/make_gcc.sh
  * harbour/contrib/hbvpdf/make_gcc.sh
  * harbour/contrib/hbbtree/make_gcc.sh
    * set valid SVN EOL attribute
2008-06-25 14:49:22 +00:00
Viktor Szakats
d474d7c763 2008-06-25 11:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
     * Slightly changed the way CLOSE button works.
       Now the close button, if enabled, will always 
       force a shutdown. So this setting is made independent 
       of SetCancel(). I choose this because there might 
       be cases when we need to use <Alt+C> in app code, yet 
       we want to allow closing the window. Previously it was 
       also easy to create confusing scenarios by using various 
       combinations of HB_GTI_CLOSABLE + SetCancel(). Another 
       kind of fix - without the advantage above - would be 
       to fully sync SetCancel() with HB_GTI_CLOSABLE.

   * contrib/hbtpathy/tplinux.c
     ! Fixed embedded comments in Linux code.

   * contrib/hbziparch/hbziparc.h
     ! Fixed header casing.
2008-06-25 09:55:33 +00:00
Viktor Szakats
adc1778a19 2008-06-24 19:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmsql/msql.c
   * contrib/hbmysql/mysql.c
     ! Partially undone previous change where hb_par/retnl() 
       calls were swapped for hb_par/retptr(). HB_PAR/RETPTR() 
       macros are used in the time being, until .prg level 
       code isn't updated to expect pointers rather then 
       numerics. The problem is that these pointers are checked 
       for zero on the .prg level. Notice that using par/retnl() 
       for pointers makes these function fail on Win64.
       TOFIX: Two solutions come to mind: 1) extend HVM to make 
              it possible to compare pointer types against zero. 
              2) develop different ways to return errors and modify 
              .prg level code accordingly.
              I'd vote for 1) if doable.

   * contrib/hbfimage/fi_winfu.c
   * contrib/hbfimage/fi_wrp.c
   * contrib/hbfimage/Makefile
     * __GNUC__ macro requirement moved to C source 
       from GNU-make CFLAGS.
2008-06-24 17:34:25 +00:00
Viktor Szakats
98a0951ea3 2008-06-24 14:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/tgetlist.prg
     ! Fixed Settle() calls.
     ! Removed type constraint from ::nLastExitState.
       (this value may be of any type, even in TGet())
     * Formatting.
2008-06-24 12:06:37 +00:00
Viktor Szakats
8f03b19fee 2008-06-24 07:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/common.mak
   * contrib/gtwvg/Makefile
     ! Added missing new public .ch header.
2008-06-24 04:42:20 +00:00
Viktor Szakats
d97d825575 typo in ChangeLog entry 2008-06-23 23:37:25 +00:00
Viktor Szakats
40338a87d6 2008-06-24 00:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/_features.h
   * contrib/hbziparch/_platform.h
   * contrib/hbziparch/Aes.cpp
   * contrib/hbziparch/Aes.h
   * contrib/hbziparch/BaseLibCompressor.cpp
   * contrib/hbziparch/BaseLibCompressor.h
   * contrib/hbziparch/BytesWriter.h
   * contrib/hbziparch/Bzip2Compressor.cpp
   * contrib/hbziparch/Bzip2Compressor.h
   * contrib/hbziparch/DeflateCompressor.cpp
   * contrib/hbziparch/DeflateCompressor.h
   * contrib/hbziparch/DirEnumerator.cpp
   * contrib/hbziparch/DirEnumerator.h
   * contrib/hbziparch/FileFilter.cpp
   * contrib/hbziparch/FileFilter.h
   * contrib/hbziparch/FileInfo.h
   * contrib/hbziparch/Hmac.cpp
   * contrib/hbziparch/Hmac.h
   * contrib/hbziparch/RandomPool.cpp
   * contrib/hbziparch/RandomPool.h
   * contrib/hbziparch/Sha1.cpp
   * contrib/hbziparch/Sha1.h
   * contrib/hbziparch/std_mfc.h
   * contrib/hbziparch/std_stl.h
   * contrib/hbziparch/Wildcard.cpp
   * contrib/hbziparch/Wildcard.h
   * contrib/hbziparch/ZipAbstractFile.h
   * contrib/hbziparch/ZipAesCryptograph.cpp
   * contrib/hbziparch/ZipAesCryptograph.h
   * contrib/hbziparch/ZipArchive.cpp
   * contrib/hbziparch/ZipArchive.h
   * contrib/hbziparch/ZipAutoBuffer.cpp
   * contrib/hbziparch/ZipAutoBuffer.h
   * contrib/hbziparch/ZipBaseException.h
   * contrib/hbziparch/ZipCallback.h
   * contrib/hbziparch/ZipCallbackProvider.h
   * contrib/hbziparch/ZipCentralDir.cpp
   * contrib/hbziparch/ZipCentralDir.h
   * contrib/hbziparch/ZipCollections.h
   * contrib/hbziparch/ZipCollections_mfc.h
   * contrib/hbziparch/ZipCollections_stl.h
   * contrib/hbziparch/ZipCompatibility.cpp
   * contrib/hbziparch/ZipCompatibility.h
   * contrib/hbziparch/ZipCompressor.cpp
   * contrib/hbziparch/ZipCompressor.h
   * contrib/hbziparch/ZipCrc32Cryptograph.cpp
   * contrib/hbziparch/ZipCrc32Cryptograph.h
   * contrib/hbziparch/ZipCryptograph.cpp
   * contrib/hbziparch/ZipCryptograph.h
   * contrib/hbziparch/ZipException.cpp
   * contrib/hbziparch/ZipException.h
   * contrib/hbziparch/ZipExtraData.cpp
   * contrib/hbziparch/ZipExtraData.h
   * contrib/hbziparch/ZipExtraField.cpp
   * contrib/hbziparch/ZipExtraField.h
   * contrib/hbziparch/ZipFile.h
   * contrib/hbziparch/ZipFile_mfc.cpp
   * contrib/hbziparch/ZipFile_mfc.h
   * contrib/hbziparch/ZipFile_stl.cpp
   * contrib/hbziparch/ZipFile_stl.h
   * contrib/hbziparch/ZipFileHeader.cpp
   * contrib/hbziparch/ZipFileHeader.h
   * contrib/hbziparch/ZipFileMapping.h
   * contrib/hbziparch/ZipFileMapping_lnx.h
   * contrib/hbziparch/ZipFileMapping_win.h
   * contrib/hbziparch/ZipMemFile.cpp
   * contrib/hbziparch/ZipMemFile.h
   * contrib/hbziparch/ZipMutex.h
   * contrib/hbziparch/ZipMutex_lnx.h
   * contrib/hbziparch/ZipMutex_win.h
   * contrib/hbziparch/ZipPathComponent.h
   * contrib/hbziparch/ZipPlatform.h
   * contrib/hbziparch/ZipPlatformComm.cpp
   * contrib/hbziparch/ZipStorage.cpp
   * contrib/hbziparch/ZipStorage.h
   * contrib/hbziparch/ZipString.h
   * contrib/hbziparch/ZipString_mfc.h
   * contrib/hbziparch/ZipString_stl.h
   * contrib/hbziparch/ZipStringStoreSettings.h
     + ZipArchive lib update finished.
     ; Pass 2/2
     ; Please test.
2008-06-23 22:41:33 +00:00
Viktor Szakats
e0a744149d 2008-06-24 00:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ contrib/hbziparch/readme.txt
   + contrib/hbziparch/zlib
   + contrib/hbziparch/zlib/deflate.h
   + contrib/hbziparch/zlib/zlib.h
   * contrib/hbziparch/common.mak
   * contrib/hbziparch/hbcomprs.c
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipcom.cpp
   * contrib/hbziparch/hbzipnew.cpp
   * contrib/hbziparch/License.txt
   * contrib/hbziparch/make_gcc.sh
   * contrib/hbziparch/make_vc.bat
   * contrib/hbziparch/Makefile
   * contrib/hbziparch/resource.h
   * contrib/hbziparch/stdafx.h
   * contrib/hbziparch/ZipExport.h
   * contrib/hbziparch/ZipPathComponent_lnx.cpp
   * contrib/hbziparch/ZipPathComponent_win.cpp
   * contrib/hbziparch/ZipPlatform_lnx.cpp
   * contrib/hbziparch/ZipPlatform_win.cpp
   * contrib/hbziparch/ZipString.cpp
   - contrib/hbziparch/stdafx.cpp
   - contrib/hbziparch/zipabstractfile.h
   - contrib/hbziparch/ziparchive.cpp
   - contrib/hbziparch/ziparchive.h
   - contrib/hbziparch/zipautobuffer.cpp
   - contrib/hbziparch/zipautobuffer.h
   - contrib/hbziparch/zipbaseexception.h
   - contrib/hbziparch/zipcentraldir.cpp
   - contrib/hbziparch/zipcentraldir.h
   - contrib/hbziparch/zipcollections.h
   - contrib/hbziparch/zipcompatibility.cpp
   - contrib/hbziparch/zipcompatibility.h
   - contrib/hbziparch/zipexception.cpp
   - contrib/hbziparch/zipexception.h
   - contrib/hbziparch/zipfile.cpp
   - contrib/hbziparch/zipfile.h
   - contrib/hbziparch/zipfileheader.cpp
   - contrib/hbziparch/zipfileheader.h
   - contrib/hbziparch/zipfilemapping.h
   - contrib/hbziparch/zipinternalinfo.h
   - contrib/hbziparch/zipmemfile.cpp
   - contrib/hbziparch/zipmemfile.h
   - contrib/hbziparch/zippathcomponent.h
   - contrib/hbziparch/zipplatform.h
   - contrib/hbziparch/zipplatformcomm.cpp
   - contrib/hbziparch/zipstorage.cpp
   - contrib/hbziparch/zipstorage.h
   - contrib/hbziparch/zipstring.h
     * ZipArchive 2.x -> ZipArchive 3.2.0 (latest)
       Only one minor modification (reported to author)
       Plus integrated ZLIB replaced with hbzlib.
     ; Pass 1
2008-06-23 22:34:45 +00:00
Viktor Szakats
b4d9c85b4c 2008-06-24 00:21 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ contrib/hbziparch/tests
   + contrib/hbziparch/tests/bld_b32.bat
   + contrib/hbziparch/tests/bld_vc.bat
   + contrib/hbziparch/tests/zipa.prg
   + contrib/hbziparch/tests/unzipa.prg
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipcom.cpp
   * contrib/hbziparch/hbcomprs.c
   * contrib/hbziparch/hbzipnew.cpp
     * Further cleanup.
     ! Several potential buffer overruns fixed.
       (there are still quite some left)
     + Added simple tests.
2008-06-23 22:22:29 +00:00
Viktor Szakats
50bd195fab 2008-06-23 20:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbextern.ch
     * HB_GETREADVAR() added.
2008-06-23 18:07:36 +00:00
Viktor Szakats
630514be6b minor formatting 2008-06-23 17:56:59 +00:00
Viktor Szakats
2f80d5d6f1 2008-06-23 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/getsys.prg
   * source/rtl/tgetlist.prg
     ! Fixed ReadModal() for C5.2 mode to not accept a 
       (BTW unused) nPos parameter. This could cause an 
       RTE in Harbour if ReadModal( <number> ) was used, 
       with HB_COMPAT_C53 turned off. Default build was 
       not affected.
     + Added hb_GetReadVar( <oGet> ) -> <cVariableName> 
       to get the name of a GET variable in uppercase 
       and including the subscripts.
       Same as existing HBGetList():GetReadVar() on the 
       active GET object.
2008-06-23 17:43:11 +00:00
Viktor Szakats
372ab65e1f minor fixes 2008-06-23 14:13:52 +00:00
Viktor Szakats
3700f2995f 2008-06-23 15:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/common.mak
   - contrib/hbziparch/zip.h
   - contrib/hbziparch/unzip.h
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbziparc.h
   * contrib/hbziparch/hbzipcom.cpp
   * contrib/hbziparch/hbzipnew.cpp
     * Further cleanup.
     ; Now the Harbour part compiles cleanly, except the 
       recently added HB_FUNC_EXIT( HBZIPCLEANUP ).
     ; I have a version ready using the unmodified sources 
       of the latest ZipArchive version. Waiting for 
       testers or test code.
2008-06-23 13:59:21 +00:00
Viktor Szakats
66686b12c0 minor again 2008-06-23 12:17:05 +00:00
Viktor Szakats
5eb526ba59 minor 2 2008-06-23 12:13:55 +00:00
Viktor Szakats
b28b853e37 minor 2008-06-23 12:12:03 +00:00
Viktor Szakats
0db4a5e0d4 2008-06-23 14:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- hbziparch/make_b32_dll.bat
   - hbziparch/make_b32_dll.mak
   - hbziparch/doc
   * hbziparch/Makefile
   * hbziparch/common.mak
   * hbziparch/hbziparc.c
   * hbziparch/hbziparc.h
   - hbziparch/zipcomp.cpp
   + hbziparch/hbzipcom.cpp
   - hbziparch/zipnew.cpp
   + hbziparch/hbzipnew.cpp
     - Docs integrated into source.
     - Removed .dll building batch files (highly redundant, 
       non-maintained and probably non-working), so now the make 
       system is fully standard. If .dll generation is that 
       important, we will have to add it to the central 
       contrib make files, so that we can use it for 
       all contribs.
     * Renamed some files so separate ZipArch and Harbour parts.
     * Cleanups, renames (statics, globals), warning fixes, 
       deleted unneeded stuff, some functions made static.
     ; This is still a mess.
     ; NOTE: Since there is no sample or test program, neither
             do I use this contrib, I couldn't test any of these 
             changes. Please test.
             (if you have test code, upload it to hbziparch/tests)
2008-06-23 12:11:35 +00:00
Viktor Szakats
61e469dd48 minor cleanup to prev 2008-06-23 09:00:18 +00:00
Viktor Szakats
045bfb388a 2008-06-23 10:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/make_b32_dll.mak
   * contrib/hbziparch/make_b32.bat
   * contrib/hbziparch/make_vc.bat
   * contrib/hbziparch/Makefile
   * contrib/hbziparch/common.mak
   - contrib/hbziparch/lincompile.sh
   - contrib
   - contrib/hbziparch/include -> contrib/hbziparch
   - contrib/hbziparch/Linux
   + contrib/hbziparch/ZipFileMapping.h
   + contrib/hbziparch/ZipPathComponent_lnx.cpp
   + contrib/hbziparch/ZipPlatform_lnx.cpp
   - contrib/hbziparch/zippathcomponent.cpp
   + contrib/hbziparch/ZipPathComponent_win.cpp
   - contrib/hbziparch/zipplatform.cpp
   + contrib/hbziparch/ZipPlatform_win.cpp
     * Directory cleanup.
     ! Fixed #include.
2008-06-23 08:57:51 +00:00
Viktor Szakats
3cae782e38 2008-06-23 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vcce.mak
   * make_vc.mak
   * contrib/mtpl_vc.mak
     * KEEPSTATE -> HB_KEEPSTATE

   * contrib/hbziparch/Makefile
   * contrib/hbziparch/make_b32.bat
   * contrib/hbziparch/make_vc.bat
   * contrib/hbziparch/common.mak
   - contrib/hbziparch/zip.c
   + contrib/hbziparch/hbziparc.c
   - contrib/hbziparch/include/hbzip2.h
   + contrib/hbziparch/hbziparc.h
   - contrib/hbziparch/include/hbzip.h
   - contrib/hbziparch/include/hbz.h
   * contrib/hbziparch/zipcomp.cpp
   * contrib/hbziparch/zipnew.cpp
     - Removed unnecessary headers.
     * Renamed include/hbzip2.h to hbziparc.h
     * Renamed zip.c to hbziparc.c
     * Some cleanups to source.
     * BCC warnings suppressed.
     % Unecessary compilation flags removed.
2008-06-23 08:40:49 +00:00
Viktor Szakats
e1a143f6e9 2008-06-22 22:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbapierr.h
   * source/rtl/errorapi.c
   * source/rdd/hbsix/sxtable.c
   * contrib/hbct/charonly.c
   * contrib/hbct/charevod.c
   * contrib/hbct/charone.c
   * contrib/hbct/pos1.c
   * contrib/hbct/ascpos.c
   * contrib/hbct/token1.c
   * contrib/hbct/atnum.c
   * contrib/hbct/count.c
   * contrib/hbct/replace.c
   * contrib/hbct/ctpad.c
   * contrib/hbct/justify.c
   * contrib/hbct/remove.c
   * contrib/xhb/hbxml.c
   * contrib/hbmzip/hbmzip.c
   * contrib/hbtip/utils.c
     * Changed remaining &hb_errFuncName -> HB_ERR_FUNCNAME
     + Added compatibility comments.
     ! Fixed hb_errFuncName value (changed to 1 to be the 
       same as HB_ERR_FUNCNAME).
     ; NOTE: 3rd party developers are encouraged to use 
             HB_ERR_FUNCNAME instead of hb_errFuncName. 
             There is no change in functionality.
       [TOMERGE 1.0.0RC1]
2008-06-22 20:55:06 +00:00
Viktor Szakats
9f905d7f01 2008-06-22 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/hbcompat.ch
     + Added HB_SYMBOL_UNUSED() to xhb branch.
       [TOMERGE 1.0.0RC1]
2008-06-22 20:29:20 +00:00
Viktor Szakats
bb3c3ac5bf 2008-06-22 21:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbw32/w32_ole.c
   * contrib/hbole/ole2.c
   * contrib/gtwvg/gtwvg.h
     ! HB_ID_REF() declaration changed to compile with MSVS2008 
       in AMD64.
       Przemek please verify me.
     ; With this, all 64bit contrib errors are fixed.
       [TOMERGE 1.0.0RC1]
2008-06-22 19:22:10 +00:00
Viktor Szakats
314c5e850d 2008-06-22 21:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.h
     + Added HB_OS_WIN_64 macro to replace _WIN64.
       [TOMERGE 1.0.0RC1]

   * contrib/hbwhat32/_winsys.c
   * contrib/hbwhat32/_winsock.c
   * contrib/hbwhat32/_wincall.c
   * contrib/gtwvg/wvtutils.c
     ! Fixed WIN64 compile errors.
       [TOMERGE 1.0.0RC1]

   * contrib/hbw32/dllcall.c
   * contrib/hbw32/w32_ole.c
     * _WIN64 -> HB_OS_WIN_64
       [TOMERGE 1.0.0RC1]
2008-06-22 19:07:01 +00:00
Viktor Szakats
2fe29d193c 2008-06-22 13:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     + Code cleanup for 64bit. Only calls to Harbour APIs are 
       generating warnings now. (hb_xgrab, hb_xrealloc, 
       hb_fsWriteLarge, hb_fsReadLarge, hb_retclen, hb_storlen)
2008-06-22 11:20:47 +00:00
Viktor Szakats
6300f741cb 2008-06-22 12:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
     ! Synced with main branch to avoid an AMD64 mode error.
       [1.0.0RC1]

   * contrib/hbw32ddr/w32_ddrw.cpp
   * contrib/hbodbc/odbc.c
     ! Fixed to compile with MSVS2008 in AMD64 mode.
     * odbc.c completely synced with main branch.
       [1.0.0RC1]
2008-06-22 10:29:36 +00:00
Viktor Szakats
2f234938d9 2008-06-22 12:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbw32ddr/w32_ddrw.cpp
   * contrib/hbodbc/odbc.c
     ! Fixed to compile with MSVS2008 in AMD64 mode.
       [1.0.0RC1]
2008-06-22 10:26:06 +00:00
Viktor Szakats
7bc6379636 2008-06-22 10:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/mtpl_b32.mak
   * contrib/mtpl_gcc.mak
   * contrib/mtpl_vc.mak
     + Added HB envvar harbour.exe override. This is currently 
       useful in VC only to create cross-platform builds.
       [1.0.0RC1]
2008-06-22 09:00:34 +00:00
Viktor Szakats
7f145c29f5 2008-06-22 10:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/mtpl_b32.mak
   * contrib/mtpl_gcc.mak
   * contrib/mtpl_vc.mak
     + Added HB envvar harbour.exe override. This is currently 
       useful in VC only to create cross-platform builds.
       [1.0.0RC1]
2008-06-22 08:59:58 +00:00
Viktor Szakats
67307d3dcb 2008-06-22 10:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
     + Marked changes merged with 1.0.0RC1.

   * make_vc.mak
   * make_vcce.mak
     * Syncing between these two.
     ! Fixed minor typo in CE comment.
     ! Fixed one rule where HB var was not respected in CE 
       DLL generation. Marek please check me.
2008-06-22 08:39:14 +00:00
Viktor Szakats
98177ed00b 2008-06-22 10:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   + utils/hbpp/hbpragma.c
   - utils/hbpp/pragma.c
   * utils/hbpp/Makefile
     ! Renamed one file to not collide with contrib.
       [1.0.0RC1 ONLY]
       (this was solved in a different way in main branch)

   * contrib/hbwhat32/Makefile
     ! Fixed to compile using GNU make system. This 
       contrib needs xhb header in order to compile.
       (solved with an ugly hack)
       [1.0.0RC1]

   * contrib/hbfimage/Makefile
     ! Fixed to compile with MinGW.
       [1.0.0RC1]

   * doc/whatsnew.txt
     + Some updates.
       [1.0.0RC1]

   * contrib/hbwhat32/commctrl.ch
   * contrib/hbwhat32/commdlg.ch
   * contrib/hbwhat32/wingdi.ch
   * contrib/hbwhat32/wininet.ch
     ! Pulled from MinGW distribution.
     ; TODO: Refinement for UNICODE version which I realized a little later.
       [1.0.0RC1]

   * source/pp/hbppgen.c
     ! Fixed to escape strings in generated hbverbld.h.
       [1.0.0RC1]

   * contrib/hbw32ddr/Makefile
     ! Fixed to compile with GNU make.
     ! Found a way to compile with MingW.
       [1.0.0RC1]

   * contrib/hbtpathy/Makefile
     ! Fixed to work at all.
       [1.0.0RC1]

   - contrib/hbw32ddr/w32_ddrw.h
   * contrib/hbw32ddr/w32_ddrw.cpp
     * Cleanups, removing unneeded fluffs.
       [1.0.0RC1]

   * contrib/hbziparch/hbcomprs.c
   * contrib/hbziparch/zip.c
   * contrib/hbziparch/ziparchive.cpp
   * contrib/hbziparch/include/zip.h
   * contrib/hbziparch/include/ziparchive.h
   * contrib/hbziparch/include/unzip.h
   * contrib/hbziparch/include/zipinternalinfo.h
   - contrib/hbziparch/include/hbcomprs.h
   - contrib/hbziparch/include/zutil.h
   - contrib/hbziparch/include/zconf.h
     ! Stripped an old version (1.1.4) of ZLIB embedded in this 
       contrib. Some warnings and even more security problems 
       fixed this way. Users of this lib should link hbzlib.lib 
       from now on.
     ! Fixed some warnings after recent update.
       NOTE: One is still there (unused ..HBZIPCLEANUP function).
     ; NOTE: The quality of this code is not up to Harbour 
             standard. It compiles with a large amount of warnings 
             on all (BCC, MSVC, GCC) compilers. Also the included 
             ziparch source is dated.
             Anybody volunteering to clear these up?
     ; NOTE: Please test these changes, I'm not a user of this 
             contrib.
       [1.0.0RC1]
2008-06-22 08:36:37 +00:00
Viktor Szakats
7c9a68d39b 2008-06-22 01:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwhat32/Makefile
     ! Fixed to compile using GNU make system. This 
       contrib needs xhb header in order to compile.
       (solved with an ugly hack)
       [TOMERGE 1.0.0RC1]
2008-06-21 23:44:44 +00:00
Viktor Szakats
4194bde009 2008-06-22 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmysql/mysql.c
     ! Fixed GCC warning.
2008-06-21 23:01:00 +00:00
Viktor Szakats
3325a0ed81 fix to prev 2008-06-21 22:31:01 +00:00