Commit Graph

15904 Commits

Author SHA1 Message Date
Viktor Szakats
8935689e6a 2010-06-22 20:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    - Deleted unused/unnecessary Windows type declarations.
2010-06-22 18:04:05 +00:00
Pritpal Bedi
5e48c4944c 2010-06-22 08:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/generator/qt45.qtp
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/qtgui/filelist.mk

  + contrib/hbqt/qtgui/QItemDelegate.cpp
  + contrib/hbqt/qtgui/QItemEditorCreator.cpp
  + contrib/hbqt/qtgui/QItemEditorCreatorBase.cpp
  + contrib/hbqt/qtgui/QItemEditorFactory.cpp
  + contrib/hbqt/qtgui/TQItemDelegate.prg
  + contrib/hbqt/qtgui/TQItemEditorCreator.prg
  + contrib/hbqt/qtgui/TQItemEditorCreatorBase.prg
  + contrib/hbqt/qtgui/TQItemEditorFactory.prg
  + contrib/hbqt/qth/QItemDelegate.qth
  + contrib/hbqt/qth/QItemEditorCreator.qth
  + contrib/hbqt/qth/QItemEditorCreatorBase.qth
  + contrib/hbqt/qth/QItemEditorFactory.qth
    
    + Added: more classes to implement GET validation - in progress.
2010-06-22 16:02:20 +00:00
Viktor Szakats
dfaad25c46 2010-06-22 17:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsha2.c
  * src/rtl/hbsha2hm.c
    + Added Win64 support for SHA1 functions.
    ; NOTE: HMAC keys longer than 2^32 bytes are not support 
            (unlike with SHA1), probably not huge limitation.
2010-06-22 15:59:51 +00:00
Viktor Szakats
80e33f6c7f 2010-06-22 17:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsha2hm.c
  * src/rtl/hbsha2.c
    * Switched to use triplet API instead of the all-in-one calls,
      in preparation for Win64 support.
2010-06-22 15:38:52 +00:00
Viktor Szakats
91a0e2a77e 2010-06-22 17:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsha1.c
  * src/rtl/hbsha1hm.c
    + Added Win64 support for SHA1 functions.
    ; Please review it.
2010-06-22 15:29:08 +00:00
Viktor Szakats
161c55cf8e 2010-06-22 17:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/macro/macro.yyc
  * src/macro/macro.y
    + Added cast (similar to the one found in compiler .y code) 
      to pacify long time msvc warning.
2010-06-22 15:00:49 +00:00
Viktor Szakats
496ea57dae 2010-06-22 16:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/dynsym.c
  * include/hbapi.h
    * Minimal cleanup: using HB_LONG in place of long, just to make
      this type usage easier to find in the future.

  * src/vm/hvm.c
    + Added cast to pacify long time msvc warning

  * src/vm/fm.c
    + Added pragmas to silence msvc64 warnings in dlmalloc (foreign) code.

  * src/vm/extend.c
    * Formatting.
2010-06-22 14:51:57 +00:00
Przemyslaw Czerpak
f9d684041f 2010-06-22 16:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbcmd.c
    * changed HB_LONG to int in dbSelectArea()
2010-06-22 14:49:36 +00:00
Viktor Szakats
d37698395f 2010-06-22 15:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbsqlit3/hbsqlit3.c
    + Changed to use hb_fopen().
2010-06-22 13:22:40 +00:00
Przemyslaw Czerpak
6b5602c1e9 2010-06-22 14:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/thread.c
    * cleaned to use hb_storns() instead of casting to long and hb_stronl()
2010-06-22 12:29:07 +00:00
Viktor Szakats
c17dccbf57 2010-06-22 13:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- src/compiler/genobj32.c
    - Deleted unused source file.
2010-06-22 11:56:46 +00:00
Viktor Szakats
2275a9cd09 2010-06-22 13:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/compiler/complex.c
    ! HB_ULONG -> HB_SIZE in one cast.

  * src/pp/pplib.c
    ! HB_ULONG -> HB_ERRCODE

  * contrib/hbgt/asciisgt.c
    ! HB_ULONG -> HB_MAXUINT
2010-06-22 11:52:11 +00:00
Viktor Szakats
817700c0dc 2010-06-22 13:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/fm.c
    ! Replaced 'long' with HB_ISIZ in FM stats code.

  * src/vm/classes.c
    * Replaced 'unsigned long' with HB_ULONG.
2010-06-22 11:34:11 +00:00
Przemyslaw Czerpak
61762c7a5b 2010-06-22 13:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/classes.c
    * use HB_U32 as class flag holder
    * changed HB_ULONG -> HB_SIZE
2010-06-22 11:13:54 +00:00
Viktor Szakats
d5d1e56b33 2010-06-22 11:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/itemapi.c
    % Changed to use hb_itemPutNS() instead of hb_itemPutNInt() to
      push enum offset/value to RTE param.
2010-06-22 09:24:00 +00:00
Przemyslaw Czerpak
6a91dc422d 2010-06-22 11:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
    + added HB_VMUINT_MAX macro

  * harbour/src/vm/hvm.c
  * harbour/src/vm/itemapi.c
    % use conditional #if compilation for code which depends on
      HB_SIZE range. It should eliminate dummy code and pacify
      warnings in some compilers.
      NOTE: do not forget to update such #if conditions when we
            switch to signed HB_SIZE type.
2010-06-22 09:14:54 +00:00
Przemyslaw Czerpak
22259e8cfe 2010-06-22 09:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/macro/macro.y
  * harbour/src/macro/macro.yyh
  * harbour/src/macro/macro.yyc
  * harbour/src/macro/macrolex.c
    * changed type of valChar.length from int to HB_SIZE
2010-06-22 07:58:53 +00:00
Viktor Szakats
59a257f1b2 2010-06-22 05:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/estack.c
  * src/vm/debug.c
  * src/vm/hvm.c
  * src/vm/pvalue.c
  * src/vm/arrays.c
  * src/vm/proc.c
  * src/vm/memvars.c
  * src/vm/eval.c
  * src/vm/classes.c
  * include/hbstack.h
  * include/hbapi.h
    + Win64 support for HVM stack and other related internals.
      (HB_ULONG -> HB_SIZE, HB_LONG -> HB_ISIZ, long -> HB_ISIZ)
    + Using size API in debug functions.
    ; TOFIX: These two warnings remain in HVM (not counting dlmalloc):
      ---
      hvm.c(10695) : warning C4244: 'argument' : conversion from 'HB_MAXINT' to 'double', possible loss of data
      macro.c(1315) : warning C4310: cast truncates constant value
      ---

  * src/vm/eval.c
    * HB_FORNEXT() loop value can now be 64-bit values (was 32).

  * src/vm/runner.c
    * Formatting.
2010-06-22 03:39:16 +00:00
Viktor Szakats
00c92c1711 2010-06-22 04:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/expropt1.c
  * src/compiler/genc.c
  * src/compiler/gencc.c
  * include/hbexpra.c
    + Use HB_PFS format string for HB_SIZE values.

  * src/common/Makefile
    * Sorted.
2010-06-22 02:49:22 +00:00
Viktor Szakats
0cbaf318af 2010-06-22 04:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbhash.h
  * src/common/hbhash.c
    + hash key changed from HB_ULONG to HB_SIZE.

  * src/rtl/cdpapi.c
  * src/compiler/hbmain.c
    * Added casts to pacify long time msvc warnings.

  * include/hbapi.h
    ! HB_IS_VALID_INDEX() macro fixed to use HB_SIZE.
    * Changed hb_struRefer.offset structure member from HB_LONG to
      HB_ISIZ, fixing one pending Win64 type mismatch.
      The change doesn't modify HB_ITEM size.

  * include/hbapicls.h
    + Added parameter name to one declaration.
2010-06-22 02:36:40 +00:00
Pritpal Bedi
f35f07b689 2010-06-21 18:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbqt/hbqt_hbslots.cpp
  * contrib/hbqt/hbqt_hbslots.h
  * contrib/hbide/idesaveload.prg
    ! Minor adjustments.
    % Started: to go beyind eol into virtual space.
2010-06-22 01:59:28 +00:00
Viktor Szakats
a4935ea604 2010-06-22 03:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/ren_sfn.prg
  * external/minizip/Makefile
  * external/zlib/Makefile
  * external/sqlite3/Makefile
  - external/png/link.txt
  * external/png/Makefile
  * external/jpeg/Makefile
  - external/jpeg/link.txt
  - external/bzip2/ren_sfn.txt
  * external/bzip2/Makefile
  * external/libhpdf/Makefile
  - external/libhpdf/ren_sfn.txt
  - external/libhpdf/link.txt
  - external/pcre/ren_sfn.txt
  * external/pcre/Makefile
    + Integrated ren_sfn.txt logic into Makefiles.
    + Add link.txt content into Makefiles.
    + Added links for all libs which didn't have one.

  * include/vm.api
    - Deleted ULONG casts.
2010-06-22 01:21:46 +00:00
Przemyslaw Czerpak
3405220dc9 2010-06-22 02:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/harbour.y
  * harbour/src/compiler/harbour.yyc
  * harbour/src/compiler/harbour.yyh
    * modified to operate on HB_SIZE values
2010-06-22 00:57:23 +00:00
Viktor Szakats
a99675b91d 2010-06-22 01:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbcomp.h
  * include/hbcompdf.h
  * include/hbexpra.c
  * include/hbexprb.c
  * include/hbexprop.h
  * include/hbmacro.h
  * src/common/expropt1.c
  * src/common/expropt2.c
  * src/compiler/genc.c
  * src/compiler/gencc.c
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
  * src/compiler/hbdbginf.c
  * src/compiler/hbdead.c
  * src/compiler/hbident.c
  * src/compiler/hblbl.c
  * src/compiler/hbmain.c
  * src/compiler/hbopt.c
  * src/compiler/hbpcode.c
  * src/vm/macro.c
    + Adding Win64 support for compiler/macro subsystems.
      * HB_ULONG -> HB_SIZE where applicable.
      * HB_LONG -> HB_ISIZ where applicable.
      * Some now unnecessary cast deleted.
      * hb_compExprAsStringLen() return value changed to HB_SIZE from int.
      * hb_compNOOPfill() 3rd parameter changed to HB_ISIZ from int.
      - Deleted unused hb_compExprMacroListLen().
    ; TOFIX: Use '$<lNumber>$' (or maybe newly added sNumber)
             instead of '$<iNumber>$' in .y code.
             Przemek, what do you think?

  * src/compiler/Makefile
    * C files sorted.

  * src/vm/hvm.c
    ! hb_vmStaticsCount() changed to use HB_SIZE instead of
      HB_ULONG. Fixing pending warnings.

  * include/hbapi.h
    * Changed hb_struEnum.offset structure member from HB_LONG
      to HB_ISIZ, fixing one more pending Win64 type mismatch
      problem. The change doesn't modify HB_ITEM size.
      Please verify me.

  * src/vm/classes.c
    ! Using size API after above change.
    ; QUESTION: In itemapi asEnum.offset is stored using
                hb_itemPutNInt(). Should this be changed to
                hb_itemPutNS()?

  * contrib/hbct/ctstr.c
    + Cleaned away some HB_ULONG casts and using HB_PFS format
      strings instead.

  * contrib/hbct/tab.c
    ! Fixed regression from 2010-06-20 12:34 UTC+0200 Viktor Szakats,
      by deleting now unnecessary casts. Shown by mingw64 4.6.0exp.
      I'd appreciate if someone could check me!!
2010-06-21 23:20:16 +00:00
Viktor Szakats
4a57af0fc7 2010-06-21 22:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
    * Changed hb_struRefer.value structure member from HB_LONG to
      HB_ISIZ, fixing one pending Win64 type mismatch also signaled
      by msvc64 warning. The change doesn't modify HB_ITEM size.
      Please verify me.
2010-06-21 20:12:56 +00:00
Viktor Szakats
17f8549d8f 2010-06-21 21:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/Makefile
  * contrib/hbct/hbct.hbp
  * contrib/hbct/ct.h
  * contrib/hbct/charop.c
  + contrib/hbct/charophb.c
    ! Fixed to keep Harbour extension in a separate source file.
    * Formatting.

  * contrib/hbct/Makefile
  * contrib/hbct/hbct.hbp
  - contrib/hbct/charlish.c
  + contrib/hbct/charlihb.c
    * File renamed.
2010-06-21 19:20:58 +00:00
Viktor Szakats
58c7004ebc 2010-06-21 20:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/Makefile
  * contrib/hbct/hbct.hbp
  * contrib/hbct/ct.h
  * contrib/hbct/charlist.c
  + contrib/hbct/charlish.c
    ! Moved non-CT3 (Harbour extension functions to separate
      source file)
    % Optimized code.
    * Cleaned code and type usage.

  * Changelog
    ! Fixed date in my today's commits.
2010-06-21 18:55:50 +00:00
Viktor Szakats
df2f699897 2010-06-20 18:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/filesys.c
    ! Fixed typo in last commit affecting Windows builds.
2010-06-21 16:58:21 +00:00
Przemyslaw Czerpak
67ed6e53e6 2010-06-21 17:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    ! fixed typo reportyed by Tamas - thanks
2010-06-21 15:51:27 +00:00
Przemyslaw Czerpak
70e0ef5890 2010-06-21 16:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    * removed HAVE_POSIX_IO and HB_FS_FILE_IO macros
    * replaced !HB_FS_LARGE_OPTIMIZED macro with HB_FS_IO_16BIT
    * cleaned code covered by HB_FS_IO_16BIT
    ! fixed some direct castings between DWORD* and HB_SIZE*
    ! fixed direct casting from BOOL to HB_BOOL

  * harbour/src/rtl/gtcrs/gtcrs.c
  * harbour/src/rtl/cdpapi.c
  * harbour/src/rtl/gtsln/gtsln.c
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/compiler/hbopt.c
  * harbour/src/compiler/gencc.c
  * harbour/contrib/xhb/fparse.c
    * pacified CLANG warnings
2010-06-21 14:47:39 +00:00
Viktor Szakats
da2d18d622 2010-06-20 15:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/thread.c
    * Added casts to pacify msvc64 warnings.
      Of some the ones related to pMutex->events I'm unsure of,
      probably it's better to use 'int' instead of HB_ULONG for 
      internal variable in some cases to make it look cleaner, 
      though I assume there was a reason for it, so I left it.
      Please check me.

  * src/vm/classes.c
    * Added casts to pacify msvc64 warnings.
2010-06-21 13:25:29 +00:00
Viktor Szakats
f30ab9479e 2010-06-20 15:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/extend.c
    ! Fixed typo in hb_retns().
2010-06-21 13:10:39 +00:00
Pritpal Bedi
c3e5f6e611 2010-06-21 01:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbide/resources/font.png
  * contrib/hbide/resources/setup.ui
  * contrib/hbide/resources/setup.uic

  * contrib/hbqt/hbqt_hbqplaintextedit.cpp

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/idethemes.prg
    + Implemented: following options contained in "Setup" dialog:
        <General> Trim trailing blanks while source is saved ( default: true )
                  Save source before "compile" starts ( default: true )
                  Suppress conversion to upper case - Harbour keywords ( default: false )
                  Keyword RETURN to be treated as BEGINING-At type ( default: false )
                  Convert tabs to spaces when a source is loaded ( default: false )
         
                  Line ending mode: CRLF, CR, LF, Auto ( default: Auto )
                  Spaces for a tab ( default: 3 )
                  Auto indent ( default: true )
                  Smart indent ( default: true )

                  Show horizontal ruler ( default: true ) ( in-time )
                  show line numbers ( default: true ) ( in-time )
                  Highlight current line ( default: true ) ( in-time )
                  Application theme ( default: none ) ( in-time )
                  Animated display ( default false ) ( in-time )

        <Font>    Font name and size.
                  
                  Transitory temp backup period ( default: 60 seconds )
                   
                  Text file extensions: add, delete.

        <Variables> Key/Value pairs : add, delete, up, down 
                  Add and type key and associated value.
                  ( just definition now - implementation follows )
                  This feature is scheduled to be used extensively.
2010-06-21 08:16:41 +00:00
Viktor Szakats
0c610bcb02 2010-06-20 23:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rdd/dbcmd.c
  * src/rdd/dbcmd53.c
  * src/rdd/hbsix/sxord.c
  * contrib/hbct/screen2.c
  * contrib/xhb/bkgtsks.c
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbnf/fttext.c
  * contrib/hbnf/n2color.c
  * contrib/hbnf/ftattr.c
  * contrib/hbgd/gdwrp.c
    % Changed to use hb_parl*def() functions.

  * contrib/hbqt/*
    * Regenerated.
2010-06-20 21:49:06 +00:00
Viktor Szakats
4390ee4bd3 2010-06-20 21:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbstr.c
    * hb_str2number() changed to limit string size to 'int' internally.
      This fixes the warnings and inconsistencies on Win64.

  * src/rtl/hbcom.c
    ! Pacified msvc warnings on component boundary.
2010-06-20 19:15:40 +00:00
Viktor Szakats
53ba7130ed 2010-06-20 20:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) 2010-06-20 18:22:29 +00:00
Viktor Szakats
722c306052 2010-06-20 19:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/cmdarg.c
  * src/vm/fm.c
  * src/nortl/nortl.c
  * src/rtl/fmhb.c
  * include/hbapi.h
    + hb_xquery() return value changed from HB_ULONG to HB_SIZE.
      Also fixes all msvc64 warnings
2010-06-20 17:30:31 +00:00
Viktor Szakats
337219b053 2010-06-20 19:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/macro.c
  * src/vm/estack.c
  * src/vm/dynsym.c
  * src/vm/hvm.c
  * src/vm/set.c
  * src/rdd/wafunc.c
  * src/compiler/hbmain.c
  * src/compiler/cmdcheck.c
  * src/compiler/genc.c
  * src/compiler/gencc.c
  * src/compiler/harbour.yyc
  * src/compiler/harbour.y
  * include/hbexprb.c
    + Added strlen() casts to pacify msvc64 warnings

  * src/vm/cmdarg.c
    ! Readded one '( void * )' cast. (I've only tested C++ mode
      on Windows, this fell into *nix code). Thanks for checking it.

  * src/rtl/hbgtcore.c
    + HB_SIZE -> HB_UINT, plus added necessary casts. Signaled by warnings

  * contrib/hbmisc/spd.c
    + HB_SIZE -> HB_UINT, plus added necessary casts. Signaled by warnings
    ; In case of this function it'd be probably better to make it fully
      HB_SIZE compatible, instead of stepping back like this.

  * src/rdd/sdf1.c
  * src/rdd/delim1.c
    + Added casts to pacify some msvc64 warnings

  * src/rdd/hsx/hsx.c
    ! HB_SIZE -> HB_LONG. Resolves msvc64 warnings.
2010-06-20 17:17:23 +00:00
Viktor Szakats
21d22afdbd 2010-06-20 17:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/hbpp.c
  * src/vm/cmdarg.c
  * src/rtl/defpath.c
  * src/rtl/hbstrfmt.c
  * src/rtl/dates.c
  * src/rtl/hbinet.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/file.c
  * src/compiler/ppcomp.c
     + Added strlen() casts to pacify warnings

  * src/vm/hashfunc.c
    + Using hb_vmPushSize() to add HB_SIZE support for Win64

  * src/vm/debug.c
    ! HB_SIZE -> HB_LONG. Signaled by warning

  * include/hbvm.h
  * src/vm/hvm.c
    + Added hb_vmPushSize()
      Please review, I copied hb_vmPushHBLong()

  * src/common/hbfopen.c
    + Suppressed MS warning about "unsafe" fopen()
      Also readded fopen_s() code, which is made inactive permanently.

  * include/hbexprop.h
    + Added argument names to function declarations.

  * contrib/hbct/ctwin.c
    + HB_SIZE -> HB_UINT, plus added necessary casts. Signaled by warning.

  * contrib/xhb/xhbarr.c
    + HB_SIZE -> int, plus added necessary casts. Signaled by warning.

  * contrib/hbsqlit3/hbsqlit3.c
    - Suppressed MS warning about "unsafe" fopen()
2010-06-20 15:42:56 +00:00
Viktor Szakats
7a80cb71e6 2010-06-20 12:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/tab.c
  * src/pp/ppcore.c
  * include/hbdefs.h
    ! Pacifying these very old msvc warnings:
      'warning C4310: cast truncates constant value'
    ; Check me pls.
    ; TOFIX: These are the remaining ones:
      ---
      macro.c(1315) : warning C4310: cast truncates constant value
      ../../../dbffpt1.c(505) : warning C4310: cast truncates constant value
      ../../../dbffpt1.c(888) : warning C4310: cast truncates constant value
      ../../../dbffpt1.c(1625) : warning C4310: cast truncates constant value
      ../../../dbffpt1.c(1688) : warning C4310: cast truncates constant value
      ../../../sxcompr.c(697) : warning C4310: cast truncates constant value
      ../../../sxcompr.c(697) : warning C4310: cast truncates constant value
      ../../../sxcompr.c(697) : warning C4310: cast truncates constant value
      ../../../netiosrv.c(714) : warning C4310: cast truncates constant value
      ../../../netiosrv.c(714) : warning C4310: cast truncates constant value
      ../../../netiosrv.c(714) : warning C4310: cast truncates constant value
      ---

  * src/rtl/gtchrmap.c
    * Whitspace formatting
2010-06-20 10:50:32 +00:00
Viktor Szakats
d442c6fee9 2010-06-20 11:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/cmdarg.c
  * src/common/hbffind.c
  * src/common/hbtrace.c
  * src/common/hbfsapi.c
  * src/common/hbhash.c
  * src/rtl/setkey.c
  * src/compiler/hbmain.c
  * src/compiler/hbcmplib.c
  * src/compiler/harbour.yyc
  * src/compiler/harbour.y
  * include/hbapi.h
  * contrib/hbmemio/memio.c
  * contrib/hbhpdf/harupdf.c
  * contrib/hbpgsql/postgres.c
  * examples/pp/hbppcore.c
  * examples/pp/hbppcomp.c
    * Deleted unnecessary '( void * )' casts.
      Pls Check me.
2010-06-20 09:09:08 +00:00
Viktor Szakats
af2b63500f 2010-06-20 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/macro.c
  * src/vm/strapi.c
  * src/vm/runner.c
  * src/vm/codebloc.c
  * src/vm/hashes.c
  * src/vm/debug.c
  * src/vm/itemapi.c
  * src/vm/hvm.c
  * src/vm/arrays.c
  * src/vm/fm.c
  * src/vm/memvars.c
  * src/vm/extend.c
  * src/common/hbstr.c
  * src/common/hbmem.c
  * src/rtl/descend.c
  * src/rtl/gtapi.c
  * src/rtl/filesys.c
  * src/rtl/console.c
  * src/rtl/hbgtcore.c
  * src/rtl/cdpapi.c
  * src/rtl/hardcr.c
  * src/rtl/inkeyapi.c
  * src/rtl/mtran.c
  * src/rtl/hbproces.c
  * src/rtl/ati.c
  * contrib/hbct/ctwin.c
  * contrib/xhb/xhbat.c
  * contrib/xhb/freadlin.c
  * contrib/xhb/txtline.c
  * contrib/xhb/cstructc.c
  * contrib/hbgt/strasint.c
  * contrib/hbmisc/stringsx.c
  * contrib/hbwin/win_prn3.c
    + Using HB_PFS format in HB_TRACE() format strings.

  * contrib/xhb/freadlin.c
  * contrib/xhb/txtline.c
    * Variable names prefixed.

  * src/vm/macro.c
    * Deleted unnecessary '( void * )' casts.

  * INSTALL
    * Cleaned pocc support information.

  * contrib/hbct/files.c
  * contrib/hbct/color.c
  * contrib/hbct/ctwfunc.c
  * contrib/hbct/print.c
    % Optimized to use hb_parn*def() calls instead of inline-if expression
      (where default value is constant or simple variable).
2010-06-20 08:39:13 +00:00
Viktor Szakats
80163a2008 2010-06-20 01:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/pocc.mk
  * config/win/pocc64.mk
    ! Fixed pocc64 build. The build setup was broken since
      about 2.0.0beta2. One year without anyone noticing.

  * src/rtl/hbsocket.c
    ! Readded once present (in old hbinet.c) ugly kludge for pocc64
      to at least be able to build binaries instead of choking on a
      missing Windows function. More in the source code.
      Affecting both 5 and 6.

  * external/zlib/Makefile
    ! Added ugly workaround to avoid quite strange pocc64 (both 5 and 6)
      error when compiling crc32 for dynamic lib:
      ---
      pocc.exe -I. -I../../../../../include -Ze -Go -MT -Tamd64-coff -Ot -DHB_LEGACY_TYPES_OFF -DUNICODE -Focrc32_dyn.obj -DHB_DYNLIB -DZLIB_DLL -c ../../../crc32.c
      ../../../crc32.c(209): error #3101: [asm] Invalid argument to 'GLOBAL'.
      ../../../crc32.c(209): error #3152: [asm] Expected ']'.
      ../../../crc32.c(209): error #3151: [asm] Syntax error.
      ../../../crc32.c(223): error #3101: [asm] Invalid argument to 'FUNCTION'.
      ../../../crc32.c(223): error #3152: [asm] Expected ']'.
      ../../../crc32.c(223): error #3151: [asm] Syntax error.
      ../../../crc32.c(223): error #3151: [asm] Syntax error.
      ---

  * external/bzip2/Makefile
    ! Disabled for pocc64 (both 5 and 6), due to this error:
      ---
      pocc.exe -I. -I../../../../../include -Ze -Go -MT -Tamd64-coff -Ot -DHB_LEGACY_TYPES_OFF -DUNICODE -Foblocksor.obj -c ../../../blocksor.c
      ../../../blocksor.c(583): error #3114: [asm] Invalid combination of opcode and operands.
      ---
2010-06-19 23:19:23 +00:00
Viktor Szakats
887ba3cba9 2010-06-19 21:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/whatsnew.txt
    * Updated.

  * INSTALL
    * Updated mingw GNU Make links and GNU Make version requirement.

  * contrib/hbmzip/hbmzip.c
    * Pacified signedness warning.

  * contrib/hbnf/fttext.c
  * contrib/hbnf/dispc.c
  * contrib/hbmisc/hb_f.c
    + Types cleaned to be Win64 compatible and to support large files,
      where this was missing.
    * Formatting.
    * Deleted unnecessary casts.
2010-06-19 19:36:36 +00:00
Viktor Szakats
4ac8d92373 2010-06-19 19:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/odbc.c
    * Type cleanup.

  * contrib/xhb/cstructc.c
  * contrib/hbxpp/xppopc.c
  * contrib/hbfship/strpeek.c
  * contrib/hbtip/utils.c
    + Using size API.

  * contrib/hbtip/utils.c
    % Minor fix: HB_SIZE -> HB_ULONG

  * bin/postinst.sh
    * Indentation (minor)
2010-06-19 17:18:18 +00:00
Viktor Szakats
3941d2fbbf 2010-06-19 17:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/hashfunc.c
  * src/vm/asort.c
  * src/vm/arrayshb.c
  * src/rtl/substr.c
  * src/rtl/hbzlibgz.c
  * src/rtl/at.c
  * src/rtl/strtran.c
  * src/rtl/stuff.c
  * src/rtl/cdpapihb.c
  * contrib/hbct/charsprd.c
  * contrib/hbct/atadjust.c
  * contrib/hbct/charsort.c
  * contrib/hbct/ascpos.c
  * contrib/hbct/addascii.c
  * contrib/hbct/tab.c
  * contrib/hbct/numline.c
  * contrib/hbct/asciisum.c
  * contrib/hbct/ctpad.c
  * contrib/xhb/fparse.c
  * contrib/xhb/xhbhasha.c
  * contrib/xhb/xhbmsgs.c
  * contrib/xhb/freadlin.c
  * contrib/xhb/xhbfunc.c
  * contrib/hbmzip/hbmzip.c
    + Using size API.
    * Other type and minor code cleanups.

  * contrib/hbct/screen2.c
    % Using hb_parnldef().

  * src/rtl/hbzlib.c
    ! Fixed mingw warning after prev.

  * contrib/rddads/adsx.c
    * Formatting.
2010-06-19 15:15:54 +00:00
Viktor Szakats
d4d9a5f4e5 2010-06-19 16:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Adjusted HB_SIZE_MAX value for Win64 after recent changes.

  * src/vm/hashfunc.c
  * src/vm/hvm.c
  * src/debug/dbgentry.c
  * src/common/hbwin.c
  * src/common/hbfsapi.c
  * src/common/hbstr.c
  * src/rtl/lennum.c
  * src/rtl/hbzlibgz.c
  * src/rtl/hbtoken.c
  * src/rtl/hbmd5.c
  * src/rtl/hbregex.c
  * src/rtl/hbzlib.c
  * src/rtl/gtpca/gtpca.c
  * contrib/hbct/screen2.c
  * contrib/hbct/token2.c
  * contrib/hbct/charsprd.c
  * contrib/hbct/charlist.c
  * contrib/hbct/charsort.c
  * contrib/hbct/maxline.c
  * contrib/hbct/wordrepl.c
  * contrib/hbct/charrepl.c
  * contrib/hbct/charswap.c
  * contrib/hbct/pos1.c
  * contrib/hbct/token1.c
  * contrib/hbct/charmirr.c
  * contrib/hbct/relation.c
  * contrib/hbct/atnum.c
  * contrib/hbct/count.c
  * contrib/hbct/ctstrfil.c
  * contrib/hbct/posdiff.c
  * contrib/hbct/addascii.c
  * contrib/hbct/pos2.c
  * contrib/hbct/numat.c
  * contrib/hbct/atrepl.c
  * contrib/hbct/print.c
  * contrib/xhb/txtline.c
  * contrib/hbgt/strright.c
  * contrib/hbgt/chrtotal.c
  * contrib/hbgt/strcount.c
  * contrib/hbgt/ascposgt.c
  * contrib/hbgt/strleft.c
  * contrib/hbgt/chrcount.c
  * contrib/hbgt/strcspn.c
  * contrib/hbgt/atdiff.c
  * contrib/hbbz2/hbbz2.c
  * contrib/hbmemio/memio.c
  * contrib/hbclipsm/num.c
  * contrib/hbclipsm/date.c
  * contrib/hbmisc/stringsx.c
  * contrib/hbmisc/spd.c
    + Using new size API.
      NOTE: This will be a longer process as there many current variations
            to pass sizes (*nint(), *ni(), *nl()) and there is no warning
            issued in several of these.
            Please also note that not all updates files became fully clean.
            I will post a list of remaining warnings.
    + Type cleanup:
        int -> HB_ISIZ
    + Added casts at component boundaries.
    % Deleted unnecessary '( HB_SIZE )' casts.
    + ULONG_MAX -> HB_SIZE_MAX
    * 'hb_retl( 0 )' -> 'hb_retl( HB_FALSE )'
    * 'hb_retl( 1 )' -> 'hb_retl( HB_TRUE )'
    ! CSETSAFETY() fixed to return and accept logical parameters
      instead of returning numeric, checking for logical but retrieving
      numeric.

  * src/common/hbwin.c
    * DWORD -> int to be in sync with Windows API declarations.

  ; NOTE: I left out RDDs and VM from the areas I scanned, please
          modify them. F.e. we will need a hb_vmPushSize().

  ; Peer review (by as much eyeballs as possible) is appreciated.
2010-06-19 14:26:56 +00:00
Viktor Szakats
0c2f806800 2010-06-19 14:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/itemapi.c
  * src/vm/arrays.c
  * src/vm/extend.c
  * include/hbapi.h
  * include/hbapiitm.h
    * Changed new size API calls to use HB_ISIZ instead of HB_SIZE.
      This is required until we switch HB_SIZE to be signed value,
      and to not step backwards plus keep signedness compatibility
      with 'long' API calls.

  * contrib/xhb/xhbhasha.c
  * contrib/hbcurl/hbcurl.c
    + Using size API.

  * contrib/xhb/xhbhasha.c
    ! HAAGETREALPOS(): Fixed return value to be numeric.
2010-06-19 12:15:22 +00:00
Viktor Szakats
f798129d72 2010-06-19 13:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * include/hbapiitm.h
  * src/vm/itemapi.c
  * src/vm/arrays.c
  * src/vm/extend.c
    + Added hb_storvns().
    + Added hb_parvns().
    ; TOFIX: hb_itemPutNS() gives these (not quite unexpected) mingw warnings:
             ---
             itemapi.c:993:8: warning: comparison between signed and unsigned integer expressions
             itemapi.c:998:38: warning: comparison between signed and unsigned integer expressions
             itemapi.c:1004:35: warning: comparison between signed and unsigned integer expressions
             itemapi.c:1004:7: warning: comparison is always false due to limited range of data type
             ---

  * src/rtl/philes.c
  * src/rtl/mlcfunc.c
  * src/rtl/rat.c
    + Using size APIs.
    % Also deleting '( HB_SIZE )' casts along the way.

  * src/rtl/oemansi.c
    ! Cast to make Win64 happy. Quite interesting that almost no
      Windows API don't support proper 64-bit strings, so here
      Windows will be the limitation, not Harbour.
2010-06-19 11:49:23 +00:00
Viktor Szakats
685ab6229d 2010-06-19 13:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/extend.c
    ! Fixed another miss for prev rename.

  * src/rtl/filesys.c
    * Minor indentation.
2010-06-19 11:26:45 +00:00