Commit Graph

12650 Commits

Author SHA1 Message Date
Viktor Szakats
a88c0e2e81 2009-11-29 22:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -xhp=<xMate .xhp file> option which will attempt to
      read xMate project file and save it as .hbp file.
      This is experimental and I'd like to ask xMate users to
      update/extend this converter code as I'm not xMate user.
      Moreover the only .xhp file sample I have is pretty slim,
      limited, so it may easily be possible that some features
      are not imported or imported wrongly.
2009-11-29 21:53:06 +00:00
Viktor Szakats
bb15cd8ac7 2009-11-29 22:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -xbp=<xbuild .xbp file> option which will attempt to
      read xbuild project file and save it as .hbp file.
      This is experimental and I'd like to ask xbuild users to
      update/extend this converter code as I'm not xbuild user.
2009-11-29 21:08:39 +00:00
Viktor Szakats
3b6a5a7ea1 2009-11-29 20:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/compiler/hbmain.c
  * src/compiler/ppcomp.c
  * src/compiler/harbour.l
    ! Deleted some more remains of -go support.
2009-11-29 19:45:00 +00:00
Viktor Szakats
ab451bd08b 2009-11-29 20:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/spd.c
    + Applied patch to add timestamp support.
      Supplied by Xaxi. Thank you.
    ! Readded DJGPP warning avoiding hack which was
      missing from sent file.
2009-11-29 19:36:11 +00:00
Viktor Szakats
344be06577 2009-11-29 20:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -hbmake=<hbmake file> option which will attempt to 
      read hbmake project file and save it as .hbp file.
      This is experimental and I'd like to ask hbmake users to 
      update/extend this converter code as I'm not hbmake user.
      This feature is to aid users to migrate from hbmake to hbmk2.
      Notice that along the same line converter could be written 
      for .xbp and xMate project files too.

  * src/compiler/Makefile
  - src/compiler/gencobj.c
  * src/compiler/hbmain.c
  * src/compiler/cmdcheck.c
  * src/compiler/hbusage.c
  * include/hbcompdf.h
  * debian/rules
  * mpkg_src.sh
  * mpkg_tgz.sh
  * harbour.spec
    - Deleted support for harbour.cfg / compiler -go mode.
      This was scheduled to be done after release, but since
      hbmk2 seems to be a very solid tool now with visible
      acceptance from users, it seems safe to make the move
      now. This will mean that one less Harbour file will
      "pollute" system locations, which is always a good
      thing. Plus this part had a few bugs, which are now
      also a thing of the past.

  - examples/hbmake
    - Deleted hbmake tool. This wasn't really working anyway,
      and require -go mode, which was deleted.
      Use hbmk2 instead.

  * mpkg_src.sh
  * mpkg_tgz.sh
    ! Fixed indentation to be consistent 4 chars.
2009-11-29 19:04:12 +00:00
Viktor Szakats
19ba2898bc 2009-11-29 14:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * harbour.spec
  * mpkg_rpm.sh
    * Moved mpkg_rpm*.sh cmdline options description to INSTALL.
      At the same time some inconsistencies were fixed and from
      now on it should be updated in less copies. Still, there
      different option list for win/wce cross-builds and regular
      builds. (some of these may not be relevant anymore as Przemek
      just deleted some of these option, which is an even better
      solution.)
      Maybe the same could be done for the rest of them?
2009-11-29 13:24:25 +00:00
Przemyslaw Czerpak
9f7f50f162 2009-11-29 14:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-win-spec
  * harbour/harbour-wce-spec
  * harbour/mpkg_rpm_win.sh
  * harbour/mpkg_rpm_wce.sh
    * removed all conditional build settings - they are not necessary
      for current make system
2009-11-29 13:06:48 +00:00
Viktor Szakats
72754b660b 2009-11-29 13:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour.spec
  * harbour-win-spec
  * harbour-wce-spec
  * mpkg_rpm.sh
  * mpkg_rpm_win.sh
  * mpkg_rpm_wce.sh
    % Deleted special logic to disable hbnf lib.
2009-11-29 12:50:31 +00:00
Przemyslaw Czerpak
9b6158c608 2009-11-29 13:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/mpkg_rpm.sh
    ! check if QT4 is in version 4.5 or newer
2009-11-29 12:46:20 +00:00
Viktor Szakats
89adc0870d 2009-11-29 10:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour.spec
  * harbour-win-spec
  * harbour-wce-spec
  * mpkg_rpm.sh
  * mpkg_rpm_win.sh
  * mpkg_rpm_wce.sh
    * Cleanup/sync of 'with' and 'without' parameters:
      --with fbsql    -> --with firebird
      --without nf    -> --without hbnf
      --without gtcrs -> --without curses
      --without gtsln -> --without slang
    ! Deleted fmstat/nofmstat options from help texts.
    * Internal 'fbird' references changed to 'firebird'.
    ; Pls test.

    ; TODO: I'd like to delete '--without hbnf'. If someone knows
            why this lib is different than all the others so that
            it needs special --without switch, pls speak up.
2009-11-29 09:55:58 +00:00
Viktor Szakats
17ff1e880b 2009-11-29 10:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_rpm.sh
  * harbour.spec
    + Added hbqt and hbxbp libraries to a new rpm package harbour-qt.
      Path submitted by Tomaz Zupan. Thanks.
    ! Converted tab to space.
2009-11-29 09:19:03 +00:00
Viktor Szakats
4715be9ddc 2009-11-29 07:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
    ! HB_SETCODEPAGE() reference also guarded with HB_LEGACY_LEVEL2.

  * tests/wcecon.prg
  * tests/gtkeys.prg
  * examples/terminal/trm_cli.prg
    * HB_SETCODEPAGE() -> HB_CDPSELECT().

  * contrib/hbwin/win_prn2.c
    + Added comment.

  * contrib/hbwin/legacy.prg
    + Guarded with HB_WIN_LEGACY_LEVEL_OFF.

  * contrib/hbmysql/mysqlold.c
  * contrib/hbodbc/odbcold.c
  * contrib/hbwin/legacycd.c
  * contrib/hbwin/legacyco.c
  * contrib/hbwin/legacycp.c
  * contrib/hbwin/legacycv.c
  * contrib/hbwin/legacy.prg
    + Guarded with HB_LEGACY_LEVEL3.
      This means these will be removed after major release.
      Please upgrade your code to use new function names.
2009-11-29 06:59:59 +00:00
Viktor Szakats
0f949fc431 2009-11-29 07:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/cdpapi.c
    * HB_SETCODEPAGE() guarded as HB_LEGACY_LEVEL2 which means
      it will be removed in next major version.
      NOTE to users: Use HB_CDPSELECT() or SET( _SET_CODEPAGE ) instead.

  * src/debug/debugger.prg
    - Deleted __XHARBOUR__ protected parts.

  * contrib/xhb/xhberr.prg
    - Deleted some __XHARBOUR__ protected parts.
      Some other remain, most of them dealing with SET()s which
      are xhb extension.
      It again shows that emulating extended SETs is quite a PITA,
      so we should avoid it.
2009-11-29 06:28:57 +00:00
Viktor Szakats
f0370b5957 2009-11-29 05:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/spd.c
    ! Fixed commenting in prev commit.

  * contrib/hbwin/win_dll.c
    + Added TODO to add support for UNICODE version of dll 
      functions.
2009-11-29 04:50:58 +00:00
Viktor Szakats
b2878a9d24 2009-11-29 00:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/popcli.prg
    * Formatting synced with file + minor adjustments.
2009-11-28 23:05:28 +00:00
Petr Chornyj
d0b2269dd3 2009-11-28 22:15 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* harbour/contrib/hbtip/popcli.prg
    + added method OpenDigest( cUrl ) based on APOP command
    + added support for RSET command ( method Rset() )
    * changed method Close - new lAutoQuit parameter added
      By default lAutoQuit == .T. for compatibility
    ! rewritten method countMail()
      I think old version never work correctly and new one
      based on STAT command will be faster also
    * cosmetic changes
2009-11-28 20:18:26 +00:00
Viktor Szakats
8b8bf4d810 2009-11-28 20:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/spd.c
    * __XHARBOUR__ protected DATETIME part converted to commented code.
    ; TODO: Xavi, pls update this code to build with Harbour, now
            we have DATETIME support as well.

  * utils/hbformat/hbformat.prg
  * src/rdd/usrrdd/rdds/logrdd.prg
  * tests/usrrdd/exlog.prg
  * contrib/gtwvg/wvgutils.c
  * examples/httpsrv/cgifunc.prg
  * examples/httpsrv/session.prg
    - Deleted __XHARBOUR__ protected parts.

  * examples/rddado/adordd.prg
  * examples/httpsrv/uhttpd.prg
    * TRY/CATCH converted to BEGIN SEQUENCE, dropping all __XHARBOUR__
      portected parts.

  * include/hbapi.h
    * TRUE/FALSE -> HB_TRUE/HB_FALSE.
2009-11-28 19:03:00 +00:00
Przemyslaw Czerpak
25568e13e8 2009-11-28 18:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/axcore.c
    ! added missing Release() call for OLE object
2009-11-28 17:54:07 +00:00
Przemyslaw Czerpak
e0562e1e79 2009-11-28 13:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
    ! fixed typo in last commit
2009-11-28 12:27:56 +00:00
Przemyslaw Czerpak
e881381b1e 2009-11-28 13:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/fm.c
    ! fixed typo - thanks to Bill for info

  * harbour/contrib/hbwin/axcore.c
    * minor cleanup

  * harbour/contrib/hbwin/olecore.c
    + added support for VT_UNKNOWN variants translated to Harbour
      OLE objects (WIN_OLEAUTO) - please test
2009-11-28 12:03:21 +00:00
Viktor Szakats
cfea3f8333 2009-11-28 10:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/filesys.c
  * src/rtl/fssize.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * contrib/hbtip/utils.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbbmcdx/bmdbfcdx.c
  * contrib/hbbtree/hb_btree.c
    ! Fixed to use Harbour FS_* constants in hb_fsSeek*() calls
      (instead of SEEK_* ones).
2009-11-28 09:38:11 +00:00
Przemyslaw Czerpak
3ed4a2909a 2009-11-28 04:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/fm.c
    * minor formatting

  * harbour/contrib/hbwin/olecore.c
    + added support for VT_ERROR variants
2009-11-28 03:02:59 +00:00
Pritpal Bedi
ffdf07e5fd 2009-11-27 16:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
    ! Fixed a bad behaviour. HBIDE was unable to start-up.
2009-11-28 00:57:51 +00:00
Przemyslaw Czerpak
b8b10faf91 2009-11-28 00:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/strapi.c
  * harbour/include/hbapistr.h
    * modified syntax for hb_itemGetStr*() and hb_parstr*() functions as
      suggested by Mindaugas. Now we have:
         const char * hb_itemGetStr( PHB_ITEM pItem, void * cdp,
                                     void ** phString, ULONG * pulLen );
         const char * hb_itemGetStrUTF8( PHB_ITEM pItem,
                                         void ** phString, ULONG * pulLen );
         const HB_WCHAR * hb_itemGetStrU16( PHB_ITEM pItem, int iEndian,
                                            void ** phString, ULONG * pulLen );
      and:
         const char * hb_parstr( int iParam, void * cdp,
                                 void ** phString, ULONG * pulLen );
         const char * hb_parstr_utf8( int iParam,
                                      void ** phString, ULONG * pulLen );
         const HB_WCHAR * hb_parstr_u16( int iParam, int iEndian,
                                         void ** phString, ULONG * pulLen );
2009-11-27 23:26:56 +00:00
Viktor Szakats
a72b1962f1 2009-11-27 23:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn1.c
    * Using HB_ types.
    * Minor formatting.
    * Minor variable scope/usage cleanups.
    % Optimized out checking of hb_xgrab() return value. It's never NULL.
    * WIN_LOADBITMAPFILE() simplified.
    * WIN_LOADBITMAPFILE() changed to use Harbour file I/O instead of
      Windows one.
    ! WIN_LOADBITMAPFILE() fixed to require at least two bytes long file.
    * WIN_LOADBITMAPFILE() added file size limit of 32MB. (please feel
      free to modify)

  * ChangeLog
    * TOFIX marked as DONE.

  * contrib/hbwin/win_regc.c
    * Variable name prefix fixes.

  * contrib/hbwin/tests/testprn.prg
    ! Fixed to not force uppercase on .bmp filename.

  * contrib/hbtip/log.prg
  * contrib/hbwin/win_osc.c
    * Minor formatting.
2009-11-27 22:07:08 +00:00
Przemyslaw Czerpak
fd4bd6208f 2009-11-27 18:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/cdpapi.c
  * harbour/include/hbextern.ch
    + added new .prg function:
         HB_UTF8ASC( <cUtf8> ) -> <nUnicode>

  * harbour/contrib/hbwin/olecore.c
    % removed redundant call to SafeArrayGetDim()
2009-11-27 17:40:49 +00:00
Maurilio Longo
e10d60c65c 2009-11-27 16:05 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
src/vm/fm.c
      - commented out section for OS/2 critical section usage
   src/vm/dlmalloc.c
      * always use dlmalloc.c under OS/2.
2009-11-27 15:07:19 +00:00
Pritpal Bedi
a15abcf813 2009-11-27 02:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/hbide/hbide.ch
    + Added new header to manage hbide constants, expected to grow fast.

  * contrib/hbide/ideactions.prg
    + "New Properties" icons action changed to "Toggle Project Tree".
      "Properties" dialog can be accessed via right-clicking on "Projects"
       tree-node of "Projects Tree" left-pane window and selecting "Properties"
       option.

  * contrib/hbide/hbide.prg
    + Started managing HBIDE properties via "hbide.ini". 
      The order of loading hbide.ini file is :
         1. Supplied as first parameter to hbide.exe ( with fully qualified path ), then 
         2. The start-in folder from where hbide.exe is executed, last
         3. The folder where hbide.exe is resident as returned by hb_DirBase().
      If hbide.ini is not located as above, new file is created on exit.
      Hbide.ini holds the various elements belonging to IDE operations and 
      is expedted to grow in contents with further development. Right now it may
      look-like as:
      
      hbide.ini
      =========
  
      [HBIDE]

      MainWindowGeometry     = 135,36,1099,682,
      ProjectTreeVisible     = YES
      ProjectTreeGeometry    = 0,0,88,616,
      FunctionListVisible    = YES
      FunctionListGeometry   = 0,20,150,596,
      RecentTabIndex         = 0
      CurrentProject         =


      [PROJECTS]

      [FILES]

      C:/harbour/contrib/hbxbp/xbpradiobutton.prg
      C:/harbour/contrib/hbxbp/xbprtf.prg
      C:/harbour/contrib/hbxbp/xbpstatusbar.prg

      .........

      Next invocation of ide will retain the location and size of the windows,
      files opened, last tab in focus, state of <Project Tree> and <Functions List>
      per visibility. There are a lot of notes on my drawing-board to implement.
      Just for now please report back your opinions.
2009-11-27 11:38:25 +00:00
Viktor Szakats
4c4f9d824c 2009-11-27 09:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/detect.mk
  - contrib/hbqt/qtwebkit
    * Deleted qtwebkit references.

  * contrib/hbwin/hbwin.ch
  * contrib/hbwin/win_prn2.c
    * Comments.
    * TRUE -> HB_TRUE, FALSE -> HB_FALSE
2009-11-27 08:27:22 +00:00
Mindaugas Kavaliauskas
ed51d512d7 2009-11-27 05:31 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/olecore.c
    * more beautiful and speed optimized version of last commit
2009-11-27 03:31:20 +00:00
Mindaugas Kavaliauskas
595838c3d4 2009-11-27 05:21 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/olecore.c
    ! added missing VARIANT initialization
2009-11-27 03:21:53 +00:00
Mindaugas Kavaliauskas
9553a9cbb7 2009-11-27 04:29 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/olecore.c
    + added support (VARIANT to ITEM) for multidimensional arrays
2009-11-27 02:29:37 +00:00
Pritpal Bedi
50a4f031db 2009-11-26 14:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/gtwvg/tests/demowvg.prg
    ! Removed all hb_ToOutDebug() calls.

  * contrib/gtwvg/tests/demoxbp.prg
    ! Removed all hb_ToOutDebug() calls.

  * contrib/hbide/hbide.prg
    ! Few more artifacts fixed.

  * contrib/xhb/Makefile
    ! Reverted back to original before my last commit.
2009-11-26 22:12:44 +00:00
Przemyslaw Czerpak
21e42530a8 2009-11-26 22:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/hvm.c
    ! fixed typo in HB_TRACE message - thanks to Tamas for the info.
2009-11-26 21:35:09 +00:00
Przemyslaw Czerpak
5ba8b665f3 2009-11-26 22:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/garbage.c
    % small improvement in HB_GC_AUTO code

  * harbour/include/hbdefs.h
    ! reverted the hack which casted file handles to unsigned values
      I added two weeks ago - it was also converting FS_ERROR value
      from -1 to 4294967295. Please remember that on some platforms
      negative handles can exist and are valid. Only -1 indicates an
      error.

  * harbour/utils/hbtest/rt_file.prg
    + added regression test for FOPEN() FS_ERROR value

  * harbour/contrib/hbwin/legacycd.c
  * harbour/contrib/hbwin/legacyco.c
    * added missing EOL at EOF
2009-11-26 21:26:13 +00:00
Pritpal Bedi
5eb592acd3 2009-11-26 09:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
- contrib/hbide/resources/tabmodified.PNG
  * contrib/xhb/Makefile
    ! Changed the order of files in linklist.
2009-11-26 17:37:41 +00:00
Pritpal Bedi
8cdcfbf1a3 2009-11-26 09:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
- contrib/hbide/resources/tabmodified.PNG
  + contrib/hbide/resources/tabmodified.png
    ! Lower cased file name.
2009-11-26 17:33:37 +00:00
Przemyslaw Czerpak
852ab436f3 2009-11-26 12:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/fm.c
    ! fixed stupid typo I made just before recent commit which caused
      GPF when not all mspaces where initialized
2009-11-26 11:18:25 +00:00
Pritpal Bedi
9b085ea675 2009-11-26 02:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_slots.cpp
  * contrib/hbqt/hbqt_slots.h

  * contrib/hbqt/qtgui/QLabel.cpp
  * contrib/hbqt/qth/QLabel.qth

  + contrib/hbide/resources/tabcmodified.png
  + contrib/hbide/resources/tabmodified.PNG
  + contrib/hbide/resources/tabreadonly.png
  + contrib/hbide/resources/tabunmodified.png

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
    + Implemented "Find" functionality. CTRL_F or <Find> icon can be clicked.
      Input some string in "Find what" field and keep on pressing <Enter>.
    + Implemented "Print with Preview" of current source code.
    ! Document Tab Image is toggled for "Modified and UnModified" states.
    ! Fixed some more artifacts.
2009-11-26 10:29:57 +00:00
Viktor Szakats
515aa43240 2009-11-26 08:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqts.hbc
    + Added QtUiTools for darwin. (tested)
    + Added QtUiTools for linux. (not tested)
    ! Added QtUiTools lib for static QT hbqts.hbc.
2009-11-26 07:32:41 +00:00
Pritpal Bedi
ee48139899 2009-11-25 18:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg

  * contrib/hbqt/generator/qt45.qtp

  * contrib/hbqt/hbqt.ch
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/hbqt_garbage.h

  * contrib/hbqt/qtcore/filelist.mk

  + contrib/hbqt/qtcore/QUiLoader.cpp
  + contrib/hbqt/qtcore/TQUiLoader.prg
  + contrib/hbqt/qth/QUiLoader.qth

  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbpparthandler.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbpwindow.prg

  * contrib/hbide/resources/finddialog.ui
    + Implemented some very basic support for "Qt Creator" designer created .ui forms.
    + Based on above implementation hbide now supports "Find" operation. It is set to 
      search "Harbour" at present and is scheduled to be perfected this week-end.
2009-11-26 03:05:18 +00:00
Przemyslaw Czerpak
e1ba8c6f23 2009-11-26 03:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/include/hbvm.h
  * harbour/include/hbvmpub.h
  * harbour/include/hbstack.h
  * harbour/src/vm/hvm.c
  * harbour/src/vm/estack.c
  * harbour/src/vm/fm.c
  * harbour/src/vm/garbage.c
    + added new function hb_xclean() executed by GC just before resuming
      suspended threads - it can be used by memory manager to clean
      internal structures and release unused memory to OS.
    % release unused memory to OS in hb_xclean() when DLMALLOC is used
    % release unused memory in all mspaces to OS in hb_xclean() when
      HB_FM_DLMT_ALLOC is used
    % release unused memory in mspace when last thread detach it
    % balance used mspaces between threads in hb_xclean() when
      HB_FM_DLMT_ALLOC is used
2009-11-26 02:46:11 +00:00
Mindaugas Kavaliauskas
626faad80c 2009-11-26 02:25 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/axcore.c
  * harbour/contrib/hbwin/olecore.c
    * added OLE error code as OS code. Changed subsystem from BASE to OLE
    ; NOTE: function hb_errRT_OLE() is static and defined in both modules.
      I'm not sure about the future parameters of the function, so, 
      I do not want to make it public.

  * harbour/contrib/hbwin/legacycd.c
  * harbour/contrib/hbwin/legacyco.c
    * moved code inside #ifndef HB_WIN_LEGACY_LEVEL_OFF
2009-11-26 00:26:16 +00:00
Mindaugas Kavaliauskas
9a0ebe20a8 2009-11-25 19:10 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/ads1.c
    * changed field type mapping of HB_FT_* define, ADS_* define, 
      DBCREATE()/DBSTRUCT() array type member. Now we have mapping 
      compatible to DBF files as much as possible.

    ; INCOMPATIBILITIES to old ads1.c:
      * ADS_VARCHAR is mapped to HB_FT_VARLENGTH instead of old mapping 
        to HB_FT_MEMO. HB_FT_MEMO has a fixed size in DBF (ex., 10), 
        but ADS_VARCHAR is variable length field, so, HB_FT_VARLENGTH
        much more correct
      * fieldinfo method (DBSTRUCT() at .prg level) returns one byte 
        field type if possible. The exceptions are RAW, CICHARACTER, 
        and VARBINARY fields. So, you'll get a DBF compatible type P 
        instead of IMAGE, B instead of DOUBLE, T instead of TIME, etc.
      Other field mappings are extension to existing code and should 
      not be seen as incompatibility to end used.

    ; Current field type mappings are:
        C; Character,n     HB_FT_STRING,n                      ADS_STRING
        N; Numeric,n,d     HB_FT_LONG,n,d                      ADS_NUMERIC
        D; Date,n          HB_FT_DATE,3 or 4 or 8              ADS_COMPACTDATE; ADS_DATE
        ShortDate          HB_FT_DATE,3                        ADS_COMPACTDATE
        L; Logical         HB_FT_LOGICAL,1                     ADS_LOGICAL
        M; Memo,n          HB_FT_MEMO,4 or 9 or 8              ADS_MEMO
        B; Double,,d       HB_FT_DOUBLE,8,d                    ADS_DOUBLE
        I; Integer,n       HB_FT_INTEGER, 2 or 4 or 8          ADS_SHORTINT; ADS_INTEGER; ADS_LONGLONG
        ShortInt           HB_FT_INTEGER,2                     ADS_SHORTINT
        Longlong           HB_FT_INTEGER,8                     ADS_LONGLONG
        P; Image           HB_FT_IMAGE,9 or 10                 ADS_IMAGE
        W; Binary          HB_FT_BLOB,4 or 9 or 10             ADS_BINARY
        Y; Money           HB_FT_CURRENCY,8,4                  ADS_MONEY
        Z; CurDouble,,d    HB_FT_CURDOUBLE,8,d                 ADS_CURDOUBLE
        T,4; Time          HB_FT_TIME,4                        ADS_TIME
        @; T,8; TimeStamp  HB_FT_TIMESTAMP,8                   ADS_TIMESTAMP
        +; AutoInc         HB_FT_AUTOINC,4                     ADS_AUTOINC
        ^; RowVersion      HB_FT_ROWVER,8                      ADS_ROWVERSION
        =; ModTime         HB_FT_MODTIME,8                     ADS_MODTIME
        Raw,n              HB_FT_STRING,n (+HB_FF_BINARY)      ADS_RAW
        Q; VarChar,n       HB_FT_VARLENGTH,n                   ADS_VARCHAR; ADS_VARCHAR_FOX
        VarBinary,n        HB_FT_VARLENGTH,n (+HB_FF_BINARY)   ADS_VARBINARY_FOX; ADS_RAW
        CICharacter,n      HB_FT_STRING,n                      ADS_CISTRING

    ; ADS help has many ambiguities. Here is the most important I found:
        * Both ADS_VARCHAR and ADS_VARCHAR_FOX defines exists, but 
          VarChar filed type is documented only for VFP DBFs. Does 
          commom DBF support this field type?
        * It is not clear what ADS_* define corresponds to VarBinary 
          field. Both ADS_VARBINARY_FOX and ADS_RAW does not sound 
          to be a good choice.
        * ADS documents field types CharacterNoCPTrans, MemoNoCPTrans, 
          VarCharNoCPTrans available in VFP tables, but no corresponding
          ADS_* defines exist. These type are not supported by RDDDADS.
        * Autoincrement field type in DBF is called "Autoinc", in ADT 
          "Autoicrement". Test shows that both name are acceptedt by 
          AdsCreateTable().
        * ADS_LONGLONG define exists, but LomgLong field type is not 
          documented at all. It is not clear how to pass field type to 
          AdsCreateTable(): "Integer,8" or "LongLong". Test required!
        * Can extended DBF types like ShortDate and Image be used with 
          VFP DBF files? (Some other field typess are defined twice 
          both in extended DBF and VFP DBF)
        * Documented field type ShortInteger generates 5012 ADS error on 
          AdsCreateTable(). A simple workaround used: "ShortInt" passed
          instead of documented field name.

    ! Some ANSI <-> OEM translations moved under ADS_USE_OEM_TRANSLATION
      switch (the other translations was already there)

    ; Please, test and report bugs.
2009-11-25 17:11:56 +00:00
Viktor Szakats
81795871b7 2009-11-25 17:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
  + contrib/hbwin/legacycv.c
  * contrib/hbwin/win_os.prg
  * contrib/hbwin/win_osc.c
  * contrib/hbwin/win_tprn.prg
    + Added new names for win version support functions:
        WIN_OSISNT()          <= OS_ISWINNT()
        WIN_OSISNT351()       <= OS_ISWINNT351()
        WIN_OSISNT4()         <= OS_ISWINNT4()
        WIN_OSIS2000ORUPPER() <= OS_ISWIN2000_OR_LATER()
        WIN_OSIS2000()        <= OS_ISWIN2000()
        WIN_OSISXP()          <= OS_ISWINXP()
        WIN_OSIS2003()        <= OS_ISWIN2003()
        WIN_OSISVISTA()       <= OS_ISWINVISTA()
        WIN_OSIS7()           <= OS_ISWIN7()
        WIN_OSIS9X()          <= OS_ISWIN9X()
        WIN_OSIS95()          <= OS_ISWIN95()
        WIN_OSIS98()          <= OS_ISWIN98()
        WIN_OSISME()          <= OS_ISWINME()
        WIN_OSISTSCLIENT()    <= OS_ISWTSCLIENT()
        WIN_OSVERSIONINFO()   <= OS_VERSIONINFO()
        WIN_OSNETREGOK()      <= OS_NETREGOK()
        WIN_OSNETVREDIROK()   <= OS_NETVREDIROK()
    ; Old names still work, and they are guarded with HB_WIN_LEGACY_LEVEL_OFF
      macro, in case someone would like to disable them.
      Please use new names, old names may disappear in the future.

  * contrib/hbwin/wce_simc.c
  * contrib/hbwin/wce_smsc.c
  * contrib/hbwin/wce_sim.prg
    + Added new names for WinCE SMS/SIM support functions:
        WCE_SIMINITIALIZE()           <= SIMINITIALIZE()
        WCE_SIMDEINITIALIZE()         <= SIMDEINITIALIZE()
        WCE_SIMPHONEBOOKSTATUS()      <= SIMPHONEBOOKSTATUS()
        WCE_SIMREADPHONEBOOKENTRY()   <= SIMREADPHONEBOOKENTRY()
        WCE_SIMWRITEPHONEBOOKENTRY()  <= SIMWRITEPHONEBOOKENTRY()
        WCE_SIMDELETEPHONEBOOKENTRY() <= SIMDELETEPHONEBOOKENTRY()
        WCE_SMSSENDMESSAGE()          <= SMSSENDMESSAGE()
    ; INCOMPATIBLE.

    ; NOTE: With these changes hbwin namespace is clean except
            for legacy definitions and .dll functions. DLL functions
            need a major overhaul anyway (plus there is Xbase++ and
            xhb compatibility concerns there), so for now it's OK.
2009-11-25 16:16:29 +00:00
Przemyslaw Czerpak
8a7b3ea723 2009-11-25 16:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/hvm.c
    % minor improvement
2009-11-25 15:56:57 +00:00
Viktor Szakats
b6090bac2f 2009-11-25 11:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/os2/gcc.mk
    ! Fixed (after recent cleanup of CFLAGS usage) to add -Zomf 
      for gccomf target to link command.
2009-11-25 10:15:54 +00:00
Viktor Szakats
0f02c19ad3 2009-11-25 09:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * -bm watcom option disabled for linux to get in sync with
      GNU Make system.
2009-11-25 08:38:43 +00:00
Przemyslaw Czerpak
5f878fd336 2009-11-25 03:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/fm.c
    * removed not longer used HVM stack pointer variables
2009-11-25 02:24:50 +00:00
Pritpal Bedi
6667503c73 2009-11-24 18:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
    + Started <Project Properties> Dialog.
      Your comments are welcome. I am interested what else might be required for
      peoject management property so that we are comfortable in future.
2009-11-25 02:21:22 +00:00