Commit Graph

12720 Commits

Author SHA1 Message Date
Viktor Szakats
14552ab56f 2009-12-05 15:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/ideparseexpr.c
    ! Fixed to not contain non-ANSI comments.
    % Minor optimizations.
    ! Fixed linearfind() to return incorrect result when called in
      case insensitive mode. (not exploited by current code)
    % Marked worker functions as static.
    + Using Harbour types HB_BOOL and HB_SIZE. (type usage is still inconsistent)
    % Elminiated HB_ISBYREF() call. Not needed.
    ! Fixed to use hb_strncat() instead of strcat().
    ! Fixed unsafe '!' oparator usage. (MSVC C++ warning)
    ; TOFIX: There is still one unsafe strncpy() usage, but I can't fix it.
             Anyone?
2009-12-05 14:35:57 +00:00
Viktor Szakats
ca5565a8a0 2009-12-05 15:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/ideparseexpr.c
    ! Fixed to not use explicit values for const variable sizes.
      Using HB_SIZEOFARRAY() instead.
    ! Fixed C++ warnings.
    ! Fixed const usage. (explicit cast removed which silences
      warnings)
    % Minor optimization when returning value in PARSEXPR().
    ! Fixed potential GPF in PARSEXPR() when non string param is passed.
2009-12-05 14:15:16 +00:00
Viktor Szakats
141bb0f699 2009-12-05 13:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtos2/Makefile
  * config/os2/watcom.mk
    % Changed the way -s option is disabled for certain modules
      (currently gtos2).
      This method doesn't require new variable, although it's still 
      a hack.
2009-12-05 12:42:32 +00:00
Przemyslaw Czerpak
3c6be6883f 2009-12-05 13:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtos2/Makefile
  * harbour/config/os2/watcom.mk
    * disable -s in GTOS2 OpenWatcom builds using HB_CSTACK_CHECK variable.
      This is workaround for wrong code generated by OpenWatcom <= 1.8
      when -s switch is used for functions calling APIENTRY16 functions.
      Such code executed from non main thread causes GPF.
2009-12-05 12:21:39 +00:00
Viktor Szakats
b3ba627781 2009-12-05 13:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* win-make.exe
  * INSTALL
    + Updated to latest mingw release. Updated links.

  * utils/hbmk2/hbmk2.prg
    + Minor step towards -cpu support.
2009-12-05 12:11:36 +00:00
Viktor Szakats
c9b897c20e 2009-12-05 04:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to pass self-inherited -mlp64, -mlp32, -m64, -m32
      C compiler flags also to executable and dynlib linker.
2009-12-05 03:35:01 +00:00
Viktor Szakats
22e65f082a 2009-12-05 04:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/hbpp.c
  * src/compiler/hbusage.c
  * utils/hbformat/hbformat.prg
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbtest/hbtest.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbrun/hbrun.prg
    * Copyright year bumped to 2010.
2009-12-05 03:29:12 +00:00
Viktor Szakats
bf1e4afd3a 2009-12-05 03:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
    + Syncing C/C++ Harbour build mode with hbmk2 invocation
      options in postinst phase. (please test)
      Only required for mingw, but it's done for every compiler
      for consistency, but only if it's overridden by user.
      (so f.e. for msvc, C++ isn't enabled in this case. This
      could be done on hbmk2 level however, but it would cause
      a lot of 3rd party code to break so I didn't do it yet.)

      I didn't add logic to hbmk2 to inherit build-time C/C++
      setting, because it wouldn't work in cross-build situations,
      and multi-target installations.

  * utils/hbmk2/hbmk2.prg
    + Added comment on msvc C++ mode.
2009-12-05 03:00:44 +00:00
Pritpal Bedi
8147e7fa16 2009-12-03 23:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.ch
  + contrib/hbide/hbide.env
  * contrib/hbide/hbide.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/projects/hbide.hbi
  * contrib/hbide/resources/projectproperties.ui
    + Started the possibility to switch to any compiler while building a project.
    ! Implemented tooltips on <Project Properties> dialog components.
    + Added one more tab <Compilers> which holds the contents of hbide.env
      residing alongside hbide.exe. 

      NOTE: hbide.env is an experimental feature and as such name and location 
            of this file may change in future. 

    ! Few more artifacts corrected.
2009-12-05 02:42:09 +00:00
Viktor Szakats
6fdd5f7c26 2009-12-05 01:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added Harbour lib dir autodetection when Harbour installed
      on 64-bit systems (where libs are in */lib64/harbour).
      Please test it.

    ; NOTE: I've also found some logic which makes hbmk2 build
            process inherit -m64/-m32/-mlp64/-mlp32 switches from
            hbmk2 itself. But it only passes it to C flags.
            I'm not sure it sure pass it at all, but in case it
            needs to pass it, should it also pass it to linker
            flags? I don't have 64-bit linux development system
            to try these things.
2009-12-05 00:59:30 +00:00
Viktor Szakats
5c0eb70eee 2009-12-05 01:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    + Added some provisions for separate -cpu selection:
      Now win/wce compiler autodetection code tries to fill HB_CPU.
      This should eventually be extended to all platforms/compilers.
    + HB_CPU autodetection will now consider -m64 and -m32 HB_USER_CFLAGS
      on linux platform. This may not be correct on non-intel
      linux platforms. Eventually this hidden knob should be changed
      to proper CPU selection (probably).
    % De-xmas.
    ! Minor fixes to HB_COMPILER autodetection when HB_PLATFORM=wce
      is used on win hosts.
    ; I just hope there won't be any regressions.
2009-12-05 00:48:59 +00:00
Viktor Szakats
9577a82f9d 2009-12-05 00:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    % De-xmas.
2009-12-04 23:32:00 +00:00
Viktor Szakats
7f94680a86 2009-12-04 23:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbi18n2.prg
    ! HB_I18N_SAVEPOT(), __I18N_POTARRAYSAVE(): Changed to not 
      add double EOL at the end of the file.
2009-12-04 22:12:54 +00:00
Viktor Szakats
43ce5eb036 2009-12-04 18:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.h
    * Marked MSVS 2002 in comment.

  * ChangeLog
    * Minor typo.

  * contrib/hbide/idemisc.prg
    ! Fixed unused variable error.
2009-12-04 17:49:05 +00:00
Mindaugas Kavaliauskas
31c01a5776 2009-12-04 18:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/ads1.c
    ! added comment and workaround to invalid AdsGotoRecord( hTable, 0 )
      behavior
2009-12-04 16:41:49 +00:00
Mindaugas Kavaliauskas
c7d2e8a0f4 2009-12-04 15:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rdd/dbf1.c
    ! fixed variable length field setting after DBCREATE()
2009-12-04 13:57:10 +00:00
Viktor Szakats
699c1ce5f9 2009-12-04 10:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/tests/testprn.prg
    ! Fixed to fit all examples on the page.

  * contrib/hbwin/win_prn1.c
    % Minor optimization.
    * Minor formatting.
2009-12-04 09:32:31 +00:00
Pritpal Bedi
df3c6fba7a 2009-12-03 23:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.ch
  * contrib/hbide/hbide.prg
  * contrib/hbide/idemisc.prg
    ! Implemented <New Project> and <Load Project> prompts of 
      context menu of <Projects> node of <Project Tree>.

  + contrib/hbide/projects/hbide.hbi
    ! Demonstration project file to show the basic protocol used to 
      execute next compile/link actions.

      This implementation includes real-time view of the resultant
      .hbp file which will be supplied to HBMK2. Because, this is going
      to be a proposed engine, please experiment with the interface.
      Just change diffenrent components and click on <.hbp> tab page.
      It will reflect what the final .hbp will be supplied to HBMK2.
      I want to be sure I am not missing something.
2009-12-04 07:32:29 +00:00
Przemyslaw Czerpak
ea5521b0ee 2009-12-04 03:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    ! fixed ordSkipUnique() to properly update BOF/EOF flags, skip over
      ADS BOF phantom record and respect not optimized local filters
2009-12-04 02:41:49 +00:00
Pritpal Bedi
d5324d0861 2009-12-03 18:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.ch
  * contrib/hbide/hbide.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idetags.prg
  * contrib/hbide/resources/projectproperties.ui
    ! More near  TO project properties, will be ready by tomorrow.
2009-12-04 02:02:34 +00:00
Przemyslaw Czerpak
989e532c00 2009-12-04 02:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbcairo/util.c
  * harbour/contrib/hbcairo/image.c
  * harbour/contrib/hbcairo/context.c
    ! fixed casting for some more pedantic C++ compilers
2009-12-04 01:50:14 +00:00
Viktor Szakats
55c332e09c 2009-12-04 01:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/global.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/hpux/gcc.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    % Moved initialization of *FLAGS vars into global.mk.
      Compiler .mk files only append to these vars.
    * Minor syncing between compilers regarding initial CFLAGS setup.
2009-12-04 00:47:16 +00:00
Viktor Szakats
43d68fd1de 2009-12-04 00:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/hpux/gcc.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/common/watcom.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * Initializing LDFLAGS, DFLAGS and ARFLAGS at the beginning of files.
      This allows to easily add to these var according to build settings.
      It also syncs all .mk files to use the same layout in this regard.

  * config/wce/msvcarm.mk
  * config/win/msvc.mk
    + Added -debug linker option to .dll linking for msvc/msvcarm targets.
2009-12-03 23:44:40 +00:00
Przemyslaw Czerpak
18f7e28744 2009-12-04 00:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    * added support for dynamic descend flag switching by
         ordDescend( [<tag>], [<bag>], <lDescending> ) -> <lPrevSetting>
      It needs ADS 9.00 or higher and it's ignored in earlier ADS versions.
      Based on Brian Hayes modification in xHarbour ADS RDD.

  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/contrib/rddads/ads1.c
    * modified ordSkipUnique() to be compatible with CL53 - it means
      that the passed parameter has a little bit different meaning when
      table has active index and it hasn't.
      If no index is active (natural order) then passed parameter is number
      of records to skip just like in dbSkip() function otherwise it's only
      direction choice so negative value means backward skipping and
      zero or positive means forward skipping.
      We may decide to change this behavior anyhow please remember that
      it's not such clear what number of records to skip should mean during
      skipping with active order having repeated key values and with working
      filters which also can exclude some records. It's possible to create
      few algorithms giving different results for some conditions.
2009-12-03 23:24:14 +00:00
Viktor Szakats
5e1440f748 2009-12-04 00:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
     ! Added -debug linker option when building .dll for msvc and compatible targets.
     ! Fixed minor regression in embedded CRLFs of hbmk2 texts.

   * config/win/msvc.mk
   * utils/hbmk2/hbmk2.prg
     + Added -MT/-MTd for win/msvc compatible targets when verison is 7.1 (.NET 2003)
       or older. On these versions this will assure that multithreading C RTL is 
       being used (at the same time forcing static C RTL).

   * config/wce/msvcarm.mk
   * config/win/msvc.mk
     + Added -debug linker option for executables.
     ; TODO: Add it for .dlls too.

   * config/globsh.mk
     + Deleting (MSVC) .pdb and .ilk files for executables and dynlibs on 'make clean'.
2009-12-03 23:20:47 +00:00
Viktor Szakats
4cc92701c0 2009-12-03 20:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcairo/Makefile
    + Added autodetection for MacPorts cairo pkg.
    + Fixed autodetection on *nix systems in general.

  * INSTALL
    + Added cairo package information for Darwin/MacPorts and Ubuntu.

  * contrib/hbqt/qtcore/Makefile
    ! Fixed after last commit.
2009-12-03 19:58:43 +00:00
Pritpal Bedi
5b9f7f3d97 2009-12-03 11:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/qt45.qtp
  * contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/qtcore/filelist.mk
  * contrib/hbqt/qtcore/QUiLoader.cpp
  * contrib/hbqt/qtgui/QLabel.cpp
  * contrib/hbqt/qth/QLabel.qth
    ! Fixed QUiLoader issue.
    ! Fixed XbpStatic()'s weired behaviour which was caused by expected improvements
      in QLabel() class which eventually did not yield desired results, unluckily.
      I will look into this matter later.
      Now, HBQT sources re-built places proper make files and components.
2009-12-03 19:44:05 +00:00
Viktor Szakats
e1f3d8f9fe 2009-12-03 18:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/Makefile
    + Moved hbcairo to section for contribs with external dependencies.
2009-12-03 17:47:55 +00:00
Mindaugas Kavaliauskas
130ac33424 2009-12-03 19:24 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbcairo/tests/table.prg
    ! use value of returned array instead of parameter by reference
2009-12-03 17:25:42 +00:00
Mindaugas Kavaliauskas
c32cc9088c 2009-12-03 18:56 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbcairo/Makefile
  * harbour/contrib/hbcairo/context.c
  * harbour/contrib/hbcairo/paths.c
  * harbour/contrib/hbcairo/pdf.c
  * harbour/contrib/hbcairo/png.c
  + harbour/contrib/hbcairo/surface.c
  * harbour/contrib/hbcairo/text.c
  + harbour/contrib/hbcairo/transfor.c
  + harbour/contrib/hbcairo/util.c
  * harbour/contrib/hbcairo/hbcairo.ch
    + Added more Cairo functions

  * harbour/contrib/Makefile
    * added hbcairo into contrib compile list
2009-12-03 16:59:36 +00:00
Viktor Szakats
9d9ba42925 2009-12-03 16:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
   * utils/hbmk2/hbmk2.prg
     + Added autodetection of DWARF-2 build of mingw.
       This is mingw build is required for QT 4.6.0.

   * utils/hbmk2/hbmk2.prg
     ! Fixed to consider HB_CCPOSTFIX setting when trying to autodetect gcc/win, gcc/wce.
2009-12-03 15:04:28 +00:00
Viktor Szakats
d409d69959 2009-12-03 14:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkimp.bat
    - Deleted creation of QT implibs for mingw. Enough to use what's
      provided by QT SDK.

  * contrib/hbqt/qtgui/QLabel.cpp
  * contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/qtcore/filelist.mk
    * Rerun generator. This caused that QTUILoader references
      got removed, plus a few other changes.

  * contrib/hbqt/qtcore/QUiLoader.cpp
    - Deleted header telling this file is automatically generated.
    ! Manually fixed debug lines to be in sync with rest of hbqt.

  * contrib/hbqt/qtcore/Makefile
    ! Fixed to add QTUILoaded stuff manually, since it's missing
      from generated filelist.mk.

  * config/win/msvc.mk
    * Minor in comment.
2009-12-03 13:57:38 +00:00
Viktor Szakats
feee8ccc87 2009-12-03 13:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/freadlin.c
  * contrib/hbide/freadlin.c
    ! Fixed C mode MSVC warning.

  * config/win/msvc.mk
    - Removed -MT switch from default MSVC options. It should be user controlled
      and -MT seemed to be the default anyway. Now it's also in sync with hbmk2
      and also with msvcarm target.
2009-12-03 12:58:22 +00:00
Pritpal Bedi
d51d5b27ae 2009-12-02 19:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/hbide/projects
  * contrib/hbide/hbide.prg
  * contrib/hbide/resources/projectproperties.ui
    ! Mode advancement in project properties building.
2009-12-03 03:01:50 +00:00
Pritpal Bedi
79426c3a9a 2009-12-02 16:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  + contrib/hbide/resources/projectproperties.ui
    + Added Project Properties Dialog in .ui format. Trying to implement 
      some exotic thoughts which I ever missed in xMate.
2009-12-03 00:56:02 +00:00
Viktor Szakats
9b030085bd 2009-12-02 20:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/libpng/Makefile
    * Forcing C mode for libpng.
      It has some C++ bugs (in WINCE mode).
      Please retest.
2009-12-02 19:05:19 +00:00
Pritpal Bedi
319a8bc4eb 2009-12-02 08:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
    ! Fixed more artifacts.
      Status bar entries are more like xMate.
      Can anybody suggests what more should go inside status bar.
2009-12-02 16:08:37 +00:00
Przemyslaw Czerpak
343608dd9a 2009-12-02 15:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtos2/Makefile
    * added workaround for wrong code generated by OpenWatcom 1.8
      when -s switch is used for functions calling APIENTRY16 functions.
      Such code executed from non main thread causes GPF.
2009-12-02 14:50:55 +00:00
Viktor Szakats
7141bf75ac 2009-12-02 11:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added HB_DIR_*, HB_INC_* settings to ones which users
      should NOT have in their setup anymore.
      Please delete them, it's just noise on the dev list.

      This current full list:
        set HB_PATH=<Harbour root dir>
        set HRB_DIR=<Some Harbour dir>
        set INCLUDE=<Harbour include dir>
        set LIB=<Harbour lib dir>
        set HB_INC_*=
        set HB_DIR_*=
2009-12-02 10:49:32 +00:00
Viktor Szakats
b7d47cd284 2009-12-02 11:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/philes.c
  * include/hbextern.ch
    + Added HB_FISDEVICE()

    ; NOTE: Didn't add anything to hbmk2 yet, as after testing I found it 
            weird and unusual that the output is different when redirected, 
            but we may think of some other solution, like user option or else.
2009-12-02 10:44:06 +00:00
Pritpal Bedi
433953358d 2009-12-01 22:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/idemisc.prg
  * contrib/hbide/hbide.prg
    ! Fixed many-many artifacts including the restoring of last cursor position.
2009-12-02 06:38:02 +00:00
Przemyslaw Czerpak
3668ade0a0 2009-12-02 04:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/maindllp.c
  * harbour/contrib/gtwvg/wvgsink.c
    % removed redefined HBTEXT() macro
2009-12-02 03:18:45 +00:00
Przemyslaw Czerpak
bd4750043f 2009-12-02 03:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/doc/en-EN/hb_apifs.txt
  * harbour/include/hbapifs.h
  * harbour/src/rtl/filesys.c
    * changed:
         BOOL hb_fsSetDevMode( HB_FHANDLE hFileHandle, USHORT uiDevMode )
      to:
         int hb_fsSetDevMode( HB_FHANDLE hFileHandle, int iDevMode )
      Now it returns previous mode for hFileHandle or -1 on error.
      if iDevMode == 0 then it does not change device mode.

  * harbour/src/rtl/philes.c
    * modified HB_FSETDEVMODE() function to work with new hb_fsSetDevMode()
      Current syntax is:
         HB_FSETDEVMODE( <hFile> [, <nNewMode> ] ) -> <nOldMode>
      It may return FD_BINARY, FD_TEXT or FS_ERROR.

  * harbour/src/rtl/philes53.c
    * modified FSETDEVMOD() function to work with new hb_fsSetDevMode()
      It's similar to HB_FSETDEVMODE() but returns FD_BINARY instead of
      FS_ERROR. Such behavior is more closer to CL53.

  * harbour/src/rtl/console.c
    * set also STDIN into binary mode
2009-12-02 02:12:14 +00:00
Pritpal Bedi
c2b84ecbe4 2009-12-01 18:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbxbp/xbpstatusbar.prg
    + Started <Status Bar> information. Now XbpStatusBar() honors multiple panels.
2009-12-02 02:11:32 +00:00
Viktor Szakats
b69e1a68c2 2009-12-02 01:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/itemapi.c
  * src/vm/hvm.c
  * src/vm/set.c
  * src/rtl/gtdos/gtdos.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtxwc/gtxwc.h
  * src/rtl/gtxwc/gtxwc.c
  * src/rtl/gtcrs/gtcrs.c
  * src/rtl/gtcrs/gtcrs.h
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/gttrm.c
  * src/rtl/gtcgi/gtcgi.c
  * src/rtl/hbgtcore.c
  * src/rtl/gtsln/gtsln.c
  * src/rtl/gtsln/kbsln.c
  * src/rtl/gtsln/gtsln.h
  * src/rtl/gtpca/gtpca.c
  * src/rtl/gtwvt/gtwvt.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/hbdbsort.c
  * src/rdd/sdf1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/delim1.c
  * src/rdd/dbf1.c
  * src/rdd/hsx/hsx.c
  * src/rdd/dbffpt/dbffpt1.c
  * doc/en-EN/lang.txt
  * include/hbrdddbf.h
  * include/hbapicdp.h
  * include/hbextern.ch
  * contrib/xhb/dbf2txt.c
  * contrib/gtqtc/gtqtc.cpp
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/hbbmcdx/bmdbfcdx.c
  * examples/hbdoc/examples/core_es/lang.txt
    - Deleted HB_CDP_SUPPORT_OFF.
2009-12-02 00:57:48 +00:00
Pritpal Bedi
19593a4109 2009-12-01 08:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.ch
  * contrib/hbide/hbide.prg
  * contrib/hbide/idemisc.prg
    ! More properties honored while reloading the sessions.
      Now editor tab is opened exactly in the same state it was closed.
      Unluckily I am not been to move the cursor to the same position,
      I do not know why QTextCursor():movePosition( nPos ) fails.
      Anybody has any hint?
2009-12-01 16:34:08 +00:00
Viktor Szakats
41fb98f2e9 2009-12-01 16:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkimp.bat
    * Minor.

  * contrib/hbwin/win_dll.c
  * contrib/hbcairo/paths.c
  * contrib/hbcairo/text.c
  * contrib/hbcairo/core.c
  * contrib/hbcairo/Makefile
    * Minor cleanups.
    ! Fixed minor typo.
2009-12-01 15:09:59 +00:00
Mindaugas Kavaliauskas
e4de0530ba 2009-12-01 16:56 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbcairo/context.c
  * harbour/contrib/hbcairo/paths.c
  * harbour/contrib/hbcairo/text.c
  * harbour/contrib/hbcairo/tests/table.prg
    * added some error check. If function parameters are invalid C level 
      functions is not called with invalid (NULL) pointers.
    * changed cairo_text_extent() to return an array of .c structure 
      members instead of returning multiple values using parameters 
      passed by reference. In the future I'll try to follow this way 
      to return structures.
2009-12-01 14:59:28 +00:00
Mindaugas Kavaliauskas
1334d9c9df 2009-12-01 16:39 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/olecore.c
  * harbour/contrib/hbwin/axcore.c
    * changed error system name from OLE to WINOLE
    * renumerated error subcodes starting from 1001
2009-12-01 14:42:57 +00:00
Viktor Szakats
450d7efe29 2009-12-01 13:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/rddado/adordd.prg
  * examples/rddado/adordd.ch
    * Formatting.
2009-12-01 12:53:03 +00:00