Commit Graph

14477 Commits

Author SHA1 Message Date
Viktor Szakats
f751b21d31 2010-06-25 00:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added two new abstract types: HB_AREANO, HB_FIELDNO

  * src/rdd/wacore.c
  * src/rdd/dbcmd.c
  * src/rdd/dbcmd53.c
  * src/rdd/wafunc.c
    + Using above abstract types as casts to pacify long time 
      msvc warnings.
    + Using HB_USHORT cast to pacify msvc warnings in hb_rddList()
      and hb_rddRegister() (shouldn't these have 'int' parameters?)

  * contrib/xhb/xhb.hbp
    * Synced with actual file list.
2010-06-24 22:23:13 +00:00
Przemyslaw Czerpak
8434f5ab14 2010-06-24 23:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbgtinfo.ch
  * harbour/include/hbgtcore.h
  * harbour/src/rtl/hbgtcore.c
    + added HB_GTI_INKEYFILTER which allows to set/get codeblock used to
      filter inkey key codes. This codeblock receives as 1-st parameter
      actually processed inside INKEY() function key code. It should return
      final inkey code (it can be the same or 0 if key should be ignored.
      I.e. this code change key 'a' to 'B' and blocks 'c':

         hb_gtInfo( HB_GTI_INKEYFILTER, { | nKey |
                                          SWITCH nKey
                                             CASE ASC( 'a' )
                                                RETURN ASC( 'B' )
                                             CASE ASC( 'c' )
                                                RETURN '0'
                                          ENDSWITCH
                                          RETURN nKey
                                       } )

    + added HB_GTI_INKEYREAD which allows to set/get codeblock executed
      just before INKEY() reads key code from the GT typeahead buffer.
      If it returns non 0 numeric value then this value is returned instead
      as inkey code. Otherwise standard inkey procedure is activated and
      key code is read from the GT typeahead buffer.

  * harbour/include/hbextern.ch
  * harbour/src/rtl/inkey.c
    - removed HB_INKEYSETPREBLOCK() and HB_INKEYSETPOSTBLOCK() functions

  * harbour/contrib/xhb/Makefile
  * harbour/contrib/xhb/xhbgt.c
  + harbour/contrib/xhb/xhbinkey.prg
  * harbour/contrib/xhb/hbcompat.ch
    * updated emulation of xHarbour hb_SetInkeyBeforeBlock() and
      hb_SetInkeyAfterBlock() functions to use new HB_GTI_* functionality.
      Incompatibility warning!
      In Harbour timeout value passed to inkey() is correctly respected
      and not reset internally on each call to inkey after block.
      If inkey before block returns non 0 numeric value then it's not
      ignored but returned as INKEY() function result without touching
      GT typeahead buffer.
2010-06-24 21:21:48 +00:00
Viktor Szakats
73db2d44f1 2010-06-24 18:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/inkey.c
  * include/hbextern.ch
    + Enabled .prg level control function for pre/post INKEY() block
      with names below:
         HB_INKEYSETPREBLOCK([<bBlock>]) -> <bOldBlock>
         HB_INKEYSETPOSTBLOCK([<bBlock>]) -> <bOldBlock>

  * contrib/xhb/xhbgt.c
  * contrib/xhb/hbcompat.ch
    + Added translations for just enabled HB_INKEYSET*() functions
      to/from xhb function equivalents:
         HB_INKEYSETPREBLOCK() <-> HB_SETINKEYBEFOREBLOCK()
         HB_INKEYSETPOSTBLOCK() <-> HB_SETINKEYAFTERBLOCK()
2010-06-24 16:32:34 +00:00
Viktor Szakats
090b5b825c 2010-06-24 15:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/netiocli.c
  * contrib/hbnetio/netiosrv.c
    + Added casts to the points where internal size pointers 
      are converted to/from 32-bit (long) ones for transmission.
    ; Please review. Maybe these are useful warnings once 64-bit 
      support is to be implemented for NETIO interface, but 
      it doesn't seem very likely (or useful) in the near future.
      Maybe it'd be better to use fixed bit type here too to 
      emphasis this internal "limit"?
2010-06-24 13:19:36 +00:00
Viktor Szakats
64792bab2b 2010-06-24 13:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/hbeditc.c
    ! strcpy() -> hb_strncpy()
    ! strncpy() -> hb_strncpy()
    ; NOTE: Could be that I broke it.
    ! Fixed one type HB_ISIZ -> HB_FOFFSET

  * contrib/hbqt/utils/hbqtui.prg
    % Minor opt.
    - Deleted unnecessary strings from output.
2010-06-24 11:36:18 +00:00
Viktor Szakats
f0b4ee0c7e 2010-06-24 11:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/resources/hbmk2_plugin_uip.prg
    ! Deleted debug (where I tested RTE inside plugin)
2010-06-24 09:32:43 +00:00
Viktor Szakats
e12ceb3537 2010-06-24 10:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/hbide.hbp
    + Changed to generate .uip files dynamically using uip
      plugin.
    ; TODO: If this goes well, delete .uic and .uip files from SVN,
            move resources/*.ui to hbide source root dir.

  * contrib/hbqt/utils/hbqtui.prg
    ! Fixed to use GTCGI.
    ; TOFIX: There is a great deal of screen flickering due to 
             external call to uic.exe on Windows.

  + contrib/hbide/resources/hbmk2_plugin_uip.prg
    + Added .ui -> .uip plugin.
    ; NOTE: hbqtui executable needs to be in PATH or
            current dir.

  * contrib/hbide/ideprojmanager.prg
    + Enabled above plugin.

  - contrib/hbide/resources/hbmk2_plugin_hbide.prg
    - Deleted empty plugin.

  * utils/hbmk2/hbmk2.prg
    + Display RTEs in plugin code by default, suppress by -quiet.
      (before it was enabled by -info)

  - contrib/hbqt/utils/hbmk.hbm
  + contrib/hbqt/utils/hbqtui.hbp
    * Renamed to be more easily started by automated make process.
2010-06-24 08:31:28 +00:00
Viktor Szakats
a92753901a 2010-06-24 09:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/utils/hbqtui.prg
    ! Fixed to accept any pathsep on input
    * Changed to use .uip extension for output
    ! Fixed to use full output name as specified if a non-dir
      is specified with -o option
    - Deleted -noprefix option, there is no prefix in any case anymore
    ! Fixed to not include the generator's own SVN ID in generated files
    * Changed to not leave .uic file behind by default
    ! Fixed to use platform EOL in generated files.
    % Don't return an array from MAIN() function
    ; These changes allow to create automated processes to 
      generate .hbp from .ui.

  + contrib/hbqt/utils/hbmk.hbm
    + Added hbmk2 make file for hbqt utils.

  * contrib/hbmisc/hbeditc.c
    * Type (and some code) cleanup continued.
      Deleted int casts, using HB_BOOL instead of int,
      using char instead of int, using hexa notation for
      HARDCR instead of high-char in source, etc.
    * One strcpy() converted to hb_strncpy().

  * contrib/hbide/hbide.hbp
  - contrib/hbide/ui_docviewgenerator.prg
  - contrib/hbide/ui_docwriter.prg
  - contrib/hbide/ui_environ.prg
  - contrib/hbide/ui_environments.prg
  - contrib/hbide/ui_finddialog.prg
  - contrib/hbide/ui_findinfiles.prg
  - contrib/hbide/ui_findinfilesex.prg
  - contrib/hbide/ui_findsource.prg
  - contrib/hbide/ui_funclist.prg
  - contrib/hbide/ui_mainwindow.prg
  - contrib/hbide/ui_projectpropertiesex.prg
  - contrib/hbide/ui_searchreplace.prg
  - contrib/hbide/ui_searchreplacepanel.prg
  - contrib/hbide/ui_selectionlist.prg
  - contrib/hbide/ui_selectproject.prg
  - contrib/hbide/ui_setup.prg
  - contrib/hbide/ui_shortcuts.prg
  - contrib/hbide/ui_skeletons.prg
  - contrib/hbide/ui_themes.prg
  - contrib/hbide/ui_themesex.prg
  - contrib/hbide/ui_toolsutilities.prg
  - contrib/hbide/ui_updown.prg
  + contrib/hbide/docviewgenerator.uip
  + contrib/hbide/docwriter.uip
  + contrib/hbide/environ.uip
  + contrib/hbide/environments.uip
  + contrib/hbide/finddialog.uip
  + contrib/hbide/findinfiles.uip
  + contrib/hbide/findinfilesex.uip
  + contrib/hbide/findsource.uip
  + contrib/hbide/funclist.uip
  + contrib/hbide/mainwindow.uip
  + contrib/hbide/projectpropertiesex.uip
  + contrib/hbide/searchreplace.uip
  + contrib/hbide/searchreplacepanel.uip
  + contrib/hbide/selectionlist.uip
  + contrib/hbide/selectproject.uip
  + contrib/hbide/setup.uip
  + contrib/hbide/shortcuts.uip
  + contrib/hbide/skeletons.uip
  + contrib/hbide/themes.uip
  + contrib/hbide/themesex.uip
  + contrib/hbide/toolsutilities.uip
  + contrib/hbide/updown.uip
    * Renamed ui_*.prg files to .uip
2010-06-24 07:32:28 +00:00
Pritpal Bedi
34c728e78e 2010-06-23 19:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbide/ui_docviewgenerator.prg
  + contrib/hbide/ui_docwriter.prg
  + contrib/hbide/ui_environ.prg
  + contrib/hbide/ui_environments.prg
  + contrib/hbide/ui_finddialog.prg
  + contrib/hbide/ui_findinfiles.prg
  + contrib/hbide/ui_findinfilesex.prg
  + contrib/hbide/ui_findsource.prg
  + contrib/hbide/ui_funclist.prg
  + contrib/hbide/ui_mainwindow.prg
  + contrib/hbide/ui_projectpropertiesex.prg
  + contrib/hbide/ui_searchreplace.prg
  + contrib/hbide/ui_searchreplacepanel.prg
  + contrib/hbide/ui_selectionlist.prg
  + contrib/hbide/ui_selectproject.prg
  + contrib/hbide/ui_setup.prg
  + contrib/hbide/ui_shortcuts.prg
  + contrib/hbide/ui_skeletons.prg
  + contrib/hbide/ui_themes.prg
  + contrib/hbide/ui_themesex.prg
  + contrib/hbide/ui_toolsutilities.prg
  + contrib/hbide/ui_updown.prg
    * Auto generated.

  + contrib/hbide/resources/make.uis
    + Script containing names of .ui files used in the project.

  + contrib/hbqt/utils
  + contrib/hbqt/utils/hbqtui.prg
    + Added tool to convert .ui files to .prg.
      SYNTAX: hbqtui.exe @filenames_list_of_ui_files.whatever \
                         [-o_path_to_output_folder_with_trailing_slash] \
                         [-noprefix] [-deluic]
              -@filenames_list.whatever: 
                  E:\harbour\contrib\hbide\resources\setup.ui
                    OR
                  setup.ui [ if you call this util from the folder .ui resides ]
              -o_path_: path to place .prg files, must accompany trailing slash.
              -noprefix : to avoid "ui_" prefix to .prg.
              -deluic : to delete intermediate .uic files.

  * contrib/hbide/hbide.ch
  * contrib/hbide/hbide.hbp
  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideenviron.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idetools.prg
    + Implemented: loading resources from .prg code obtained 
      via contrib/hbqt/hbqtui.prg supplying .ui file(s) list
      and output folder.

    NOTE: hbIDE is running under UI_MODE_FUNC currently.
          You can force it to run any of the three modes:
            UI_MODE_UIC | UI_MODE_UI | UI_MODE_FUNC
2010-06-24 02:25:25 +00:00
Viktor Szakats
035a4e9a8b 2010-06-23 19:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_nightly.sh
    ! Fixed typo, causing 'cp' method of uploading to kick in 
      permanently.
2010-06-23 17:13:13 +00:00
Viktor Szakats
b99a44d190 2010-06-23 19:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/runner.c
    + Module name will now be filled with the .hrb filename if known, 
      and default 'pcode.hrb' will only be used if running direct 
      binary .hrb stream. This means that also PROCFILE() will 
      return usable results. (f.e. in script run via hbrun)

  * contrib/hbmisc/hbeditc.c
    % int -> char. Dropped some casts.
2010-06-23 17:09:42 +00:00
Pritpal Bedi
b9e95c3e03 2010-06-23 07:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/THbQtUI.prg
    ! Fixed wronly used MsgBox(), converted to hbqt_showError().
2010-06-23 14:51:50 +00:00
Viktor Szakats
e239d8d326 2010-06-23 16:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/hbeditc.c
    % Deleted unnecessary casts.
2010-06-23 14:34:18 +00:00
Viktor Szakats
3c488d561f 2010-06-23 14:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/hbeditc.c
    + Updated to use HB_ISIZ, making it use full 64-bit addresses
      and clear up remaining msvc64 warnings.
2010-06-23 12:41:56 +00:00
Viktor Szakats
3d52caf679 2010-06-23 13:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/runner.c
    * Changed to use hex notation instead of octal in recent change.
      (see: 2010-02-20 01:03 UTC+0100, 2009-06-05 20:59 UTC+0200, 
      2008-11-09 11:48 UTC+0100)

  * include/hbdefs.h
    - Deleted HB_RECNO.
2010-06-23 11:03:05 +00:00
Przemyslaw Czerpak
46e9900a91 2010-06-23 12:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbextern.ch
  * harbour/src/vm/runner.c
    + added new PRG function
         HB_HRBSIGNATURE() -> <cSig>
      which returns HRB file signature
    + added internal function hb_hrbCheckSig() to keep HRB file
      signature checking in one place

  * harbour/include/hbextern.ch
  * harbour/src/vm/cmdarg.c
    + added new PRG function
         HB_ARGSHIFT( [<lProgName>] ) -> NIL
      which updates HB_ARG*() parameter list removing the 1-st one
      and replacing it by others. If <lProgName> is .T. then first
      non internal parameter is moved to hb_argv(0) (hb_progname())
      and all next are shifted.

  * harbour/utils/hbrun/hbrun.prg
    + when extension does not allow to recognize file type then check
      passed file signature. If it's HRB file then execute directly
      otherwise use it as PRG script.
      This modification allows to use any names (except the ones using
      known for HBRUN extensions like .hrb amd .dbf) as PRG script names.
    + Call HB_ARGSHIFT(.T.) to strip HBRUN executable file name from
      parameter list when PRG script or HRB file is executed
2010-06-23 10:47:41 +00:00
Viktor Szakats
7f09c4f387 2010-06-23 12:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added new abstract type: HB_USIZ
      (temporary yet, may be needed in signedness transition)
2010-06-23 10:02:52 +00:00
Viktor Szakats
89ef883626 2010-06-23 11:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added new abstract type: HB_RECNO.
      To replace HB_ULONG usage where it means record number.

  * src/vm/hvm.c
  * src/vm/cmdarg.c
  * include/hbapi.h
  * include/hbvm.h
    * HB_ULONG -> HB_U32 for VM flags.
2010-06-23 10:00:00 +00:00
Pritpal Bedi
273878fb30 2010-06-22 19:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/THbQtUI.prg
    + Started: .ui => .uic ( auto ) => .prg.
2010-06-23 02:30:14 +00:00
Pritpal Bedi
3f698ba7bd 2010-06-22 18:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    % Fixed: crash at fast text selection.

  * contrib/hbide/ideedit.prg
  * contrib/hbide/idefindreplace.prg
    % Fixed: slowness caused in selection process when many 
      lines were being selected. Now there is no overhead.
      Thanks to Itamar for reporting.
2010-06-23 01:16:32 +00:00
Viktor Szakats
6ff29efe36 2010-06-23 00:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
  * include/hbver.h
  * config/global.mk
    + Changed version number to:
         2.1.0beta2 (from 2.1.0beta1)

  * src/compiler/hbopt.c
    * Formatting.
2010-06-22 22:10:26 +00:00
Pritpal Bedi
aca7461f3d 2010-06-22 14:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/THbQtUI.prg
    % Little more syncronization.
    + Added: method ::connect(). It is identical to :signal()
      But for uniformity with other hbXBP and hbIDE classes
      this method name seems appropriate.
    % Reworked: method create(). Now both types of implementations,
      viz., .ui and .uic will be entertained with one creator.
         oUI := HbQtUI():new( "MainWindow.ui" ):create()
         oUI := HbQtUI():new( "MainWindow.uic" ):create()
      with do the job. :build() is still active but will be depricated.
2010-06-22 21:32:18 +00:00
Viktor Szakats
11c4faee46 2010-06-22 23:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/macro/macrolex.c
    * Added casts to pacify long-time msvc warnings.
2010-06-22 21:18:03 +00:00
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