Commit Graph

2360 Commits

Author SHA1 Message Date
Pritpal Bedi
43e5b5a07b 2009-05-04 17:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.h
  * harbour/contrib/gtwvg/hbgtwvg.ch
  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvgcore.c
  * harbour/contrib/gtwvg/wvgcuig.c
  * harbour/contrib/gtwvg/wvgcrt.prg
    ! Fixed many artifacts. Probbaly it is difficult to jot down all.
2009-05-05 01:18:09 +00:00
Viktor Szakats
cf2450c135 2009-05-04 18:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbole/tests/testole.prg
    + Readded CDO and OO open examples (working).

  * utils/hbmk2/hbmk2.hbm
    + Added .hbl file generation.

  * utils/hbmk2/hbmk2.prg
    + Added translator info to banner.
    ! Minor fix to now display job # if single-threaded compilation is done.
      (Thanks for __enumBase() trick to Przemek)
    * Some steps to better support xhb shared mode (untested).
    + Added filter support for .prg and .c/.cpp input files.
      (This also means that input files with '{' '}' char pairs in them
      aren't supported anymore).
    ! Minor terminology fix in one of the rare error messages.
    ; TODO: ? Adding GNU Make support to .pot -> .hbl generation, plus
            we'd also need to develop a common rule for naming and
            placement for these translation files. Current hbmk2 method
            cannot be considered final.

  + utils/hbmk2/hbmk2.hu_HU.pot
    + Added Hungarian translation (not complete/final yet).
2009-05-04 16:19:30 +00:00
Mindaugas Kavaliauskas
3f49491bb8 2009-05-04 17:40 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbole/oleauto.prg
  * harbour/contrib/hbole/olecore.c
    * added runtime error on descend FOR EACH ICollection enumeration
    * added a few more runtime errors
    * fixed reference counter managament if OLE object is used as 
      parameter for another OLE function call
    + implemented array parameter support
      TODO/TOCHECK: multidimentional array support

  * harbour/contrib/hbole/tests/testole.prg
    * changed test to work with current hbole library
    + added new OppenOffice tests
2009-05-04 14:43:56 +00:00
Miguel Angel Marchuet Frutos
87bdaaf0ef 2009-05-04 10:00 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net>
* contrib/hbbmcdx/bmdbfcdx.c
  * contrib/hbbmcdx/hbbmcdx.h
    * Synchronized with current dbfcdx.
2009-05-04 08:02:34 +00:00
Viktor Szakats
29db6198ae 2009-05-01 20:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
    ! Typo in old i18n entry.

  * utils/hbmk2/hbmk2.prg
    * Formatting.

  * contrib/xhb/hbcompat.ch
    + Added i18n() compatibility translation.
2009-05-01 18:10:52 +00:00
Viktor Szakats
6f588c2e58 2009-04-29 13:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt.h
  * contrib/gtqtc/gtqtc.h
  * contrib/gtqtc/Makefile
    ! Fixed to use no dir when including qglobal.h. This fixes
      darwin compile error.

  * utils/hbmk2/hbmk2.prg
    ! Fixed static lib output extension for rest of compilers (*nix/gcc).
    ! Fixed 'lib' prefix handling for static lib output names when dir
      was present in the name.
    * Now -inc files will be put into .hbmk/* dirs.
    ! Disabled -map option for *nix gcc as it doesn't seem supported 
      (probably isn't needed on these platforms anyway).
    % Cleaned code redundancy in forming output names.
    ; TOFIX: gcc/darwin complains that -s switch is obsolete and being ignored.
2009-04-29 11:49:34 +00:00
Viktor Szakats
64d3559881 2009-04-29 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/dbgfxc.c
    + Using hb_vsnprintf() instead of C RTL vsnprintf().
      Not tested, but this should be a plugin replacement.
2009-04-29 09:17:28 +00:00
Viktor Szakats
966e700e5c 2009-04-29 00:49 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu)
* COPYING
    + Added Creative Commons Attribution-ShareAlike 3.0 Unported (CC-by-sa)
      license section. To be used for misc text, documentation and typically
      everything which isn't source/program code. Currently these files
      (in part or whole) are covered by this license:
      INSTALL
      ChangeLog
      doc/whatsnew.txt
    ; TODO: If this works out well, IMO we should apply this license to 
            all non-code parts of our repository. /doc, /man sections 
            and some files in the root specifically. We can also cover 
            the homepage content with this license.

  * INSTALL
    + Added CC-by-sa license.

  * doc/whatsnew.txt
  * ChangeLog
    + Added CC-by-sa license. I've covered all my past entries with
      this license, besides these, only the new entries will fall
      under the license.

  * contrib/hbblat/blatwrp.c
    ! Fixed extern declaration to work in C++ mode.

  * source/lang/msgtrwin.c
  * source/lang/msgtr857.c
    ! Typos in comments.

  * source/vm/set.c
    + Added copyright for few functions (hb_osEncode()/hb_osDecode()).

  * utils/hbmk2/hbmk2.prg
    ! Fixed RTE in Harbour-only (-gh) mode.
2009-04-28 22:55:59 +00:00
Przemyslaw Czerpak
65ac716c4e 2009-04-28 23:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbole/olecore.c
    * pacified some GCC warnings
2009-04-28 21:47:01 +00:00
Przemyslaw Czerpak
9a96ffb434 2009-04-28 21:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    ! fixed two typos in last modification - thanks for the info to Mindaugas
      and Rossine.
2009-04-28 19:35:27 +00:00
Przemyslaw Czerpak
e12013d2ff 2009-04-28 19:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
    * removed TOVERIFY note - Viktor checked it.

  * harbour/contrib/hbct/ctwin.c
    ! redraw windows after each WCENTER() call

  * harbour/contrib/rddads/ads1.c
    + added support for ADS_VARCHAR_FOX and ADS_VARBINARY_FOX fields
      in ADS_VFP tables

  * harbour/include/dbinfo.ch
  * harbour/include/hbrdddbf.h
  * harbour/include/hbrddcdx.h
  * harbour/include/hbrddnsx.h
  * harbour/include/hbrddntx.h
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/workarea.c
    + added support for VFP tables with VARCHAR and VARBINARY fields
    + added support for VFP tables with NULLABLE fields
    + added new dbFieldInfo() action to check if given field is NULL, f.e.:
         ? dbFieldInfo( DBS_ISNULL, FieldPos( <cFieldName> ) )
      The above modifications were not tested with real VFP files. I do
      not have VFP. VFP users should make some real life tests with tables
      created by VFP.
2009-04-28 17:37:49 +00:00
Przemyslaw Czerpak
c8e85f3c48 2009-04-27 19:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    ! fixed very bad bug in code compiled for ADS_LIB_VERSION < 600
      in ANSI<->OEM translations - the HVM item value was overloaded
      with translation results
    + added direct support for ADS_TIME, ADS_TIMESTAMP and ADS_MODTIME
      fields and HVM TIMESTAMP values in field get/put operations, seek
      and scopes.
      Warning! Support for timestamp values in VFP tables is limited
      and does not fully respect whole Harbour timestamp arithmetic, f.e.
      timestamp values read from index keys are rounded to whole seconds
      or setting scopes to data values on timestamp indexes does not work
      like in native RDDs or in ADT tables.
      TOVERIFY: please check in which ACE version Ads[SG]etMilliseconds()
                functions were added and if necessary add
                  #if ADS_LIB_VERSION >= ???
                protection. I do not have older ACE headers and I cannot
                make it myself.
      To ADS users: please make some real life tests and report problems
      if any.
2009-04-27 17:09:46 +00:00
Pritpal Bedi
3d1bf77e4e 2009-04-27 08:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
    ! Fixed a very important issue of focussing. Now F3 and F4
      correctly set the focus to window in question.
      The flickering cannot be avoided as QT hides the window
      before setting the flags until I come up with another way.
2009-04-27 16:02:28 +00:00
Pritpal Bedi
cf7bfd9e49 2009-04-26 22:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/hbqtgen.prg
  * harbour/contrib/hbqt/generator/qt45.qtp
  * harbour/contrib/hbqt/hbqt.h
  * harbour/contrib/hbqt/Makefile_gen

  + harbour/contrib/hbqt/hbqt_qtextcodec.cpp
  + harbour/contrib/hbqt/hbqt_qtextencoder.cpp
  + harbour/contrib/hbqt/hbqt_qtextfragment.cpp
  + harbour/contrib/hbqt/hbqt_qtextframe.cpp
  + harbour/contrib/hbqt/hbqt_qtextframeformat.cpp
  + harbour/contrib/hbqt/hbqt_qtextimageformat.cpp
  + harbour/contrib/hbqt/hbqt_qtextinlineobject.cpp
  + harbour/contrib/hbqt/hbqt_qtextitem.cpp
  + harbour/contrib/hbqt/hbqt_qtextlayout.cpp
  + harbour/contrib/hbqt/hbqt_qtextlength.cpp
  + harbour/contrib/hbqt/hbqt_qtextline.cpp

  + harbour/contrib/hbqt/TQTextCodec.prg
  + harbour/contrib/hbqt/TQTextEncoder.prg
  + harbour/contrib/hbqt/TQTextFragment.prg
  + harbour/contrib/hbqt/TQTextFrame.prg
  + harbour/contrib/hbqt/TQTextFrameFormat.prg
  + harbour/contrib/hbqt/TQTextImageFormat.prg
  + harbour/contrib/hbqt/TQTextInlineObject.prg
  + harbour/contrib/hbqt/TQTextItem.prg
  + harbour/contrib/hbqt/TQTextLayout.prg
  + harbour/contrib/hbqt/TQTextLength.prg
  + harbour/contrib/hbqt/TQTextLine.prg

  + harbour/contrib/hbqt/qth/QTextCodec.qth
  + harbour/contrib/hbqt/qth/QTextEncoder.qth
  + harbour/contrib/hbqt/qth/QTextFragment.qth
  + harbour/contrib/hbqt/qth/QTextFrame.qth
  + harbour/contrib/hbqt/qth/QTextFrameFormat.qth
  + harbour/contrib/hbqt/qth/QTextImageFormat.qth
  + harbour/contrib/hbqt/qth/QTextInlineObject.qth
  + harbour/contrib/hbqt/qth/QTextItem.qth
  + harbour/contrib/hbqt/qth/QTextLayout.qth
  + harbour/contrib/hbqt/qth/QTextLength.qth
  + harbour/contrib/hbqt/qth/QTextLine.qth
  
    + Added more classes.
2009-04-27 05:20:45 +00:00
Pritpal Bedi
37b6c79533 2009-04-26 11:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/tests/wvtext.cpp
    + Implemented all BOX characters including B_THIN and B_FAT.
      B_THIN protocol respects the aspect ratio means half column
      characters are exactly of size column width.
      
      /* Press F9 to view all box types. */
2009-04-27 01:58:25 +00:00
Pritpal Bedi
694c31e732 2009-04-26 11:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/moc_gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
  * harbour/contrib/gtqtc/tests/wvtext.cpp
    + Implemented destructors. Now opening/closing new windows
      release memory properly. There is a small leakage remains yet,
      about 40 kb per window, but I am not been able to figure out
      what action causes it. May be in future...
    ! Optimized "Mark & Copy" operation. Now previous buffer is used 
      instead of creating a new image.
    ! "Mark & Copy" operation now do not generate INKEY() events.
      Important until we find a solution via SysMenu.

    /* 
       So far I did not receive any input from anybody.
       Does it mean this project do carry little importance 
       to be pushed forward ?
    */
2009-04-26 18:25:09 +00:00
Pritpal Bedi
2f33f70607 2009-04-25 20:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
    + Implemented "Mark & Copy" operation. 
      Just drag the mouse while left button is pressed.
      I could not access SysMenu to initiate this operation
      as is implemented in GTWVG but still it is a much needed
      feature to have it.
2009-04-26 03:38:19 +00:00
Pritpal Bedi
a5617b7994 2009-04-25 15:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
    ! Formatting per Harbour standards.
2009-04-25 22:48:15 +00:00
Pritpal Bedi
6d6bda3082 2009-04-25 11:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
    + Implemented Box Characters B_DOUBLE_SINGLE.

  * harbour/contrib/gtqtc/tests/wvtext.prg
    + <F9 Boxes>.
2009-04-25 18:07:40 +00:00
Pritpal Bedi
0e6c71d263 2009-04-25 08:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
    + Implemented Box Characters independant of fonts and OS.
      At this moment only B_SINGLE.
      This feature relies on the DispBox()* functions which 
      sets the attributes in GT. Final goal should be recognizing
      Box characters from the char itself, but it may be trivival to 
      handle as Harbour must be heading for UNICODE.

      Przemek, your attention to this fact is requested.

  * harbour/contrib/gtqtc/tests/wvtext.prg
    ! Tweaked for inkey( 0.1 ). No more GPFs now. Play freely.
2009-04-25 15:52:04 +00:00
Mindaugas Kavaliauskas
c4b63cd857 2009-04-25 02:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbole/olecore.c
    ! fixed OleCreateObject(), OleGetActiveObject() return value
2009-04-24 23:07:10 +00:00
Pritpal Bedi
1df277f513 2009-04-24 15:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
  * harbour/contrib/gtqtc/moc_gtqtc.cpp
  * harbour/contrib/gtqtc/tests/wvtext.prg
    ! Code cleanup.
    ! Adopted KDE's calss variable naming convention. 
      Class variables now begin with "_" (underscore character).
      Please follow this convention strictly. 
    + IMPLEMENTED : hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_ROWS ).
    ! Tweaked caret implementation.
    ! Renamed :consoleArea => :drawingArea. More natural for hbqtxbp.lib.
     
    /* Please try like this:

       1.       
       - Execute wvtext.exe
       - Press F10 -> New Window
       - Press <ESC> -> Boooooom GPF (inkey(0))
 
       2.
       - Execute wvtext.exe
       - Press F10 -> New Window
       - Click on Main Window
       - Click on New Window
       - Press <ESC> -> Normal Exit
 
       I am trying to find why to click on Main Window for 
       closing the New Window. I have not been able to reach any 
       logical reasoning. Help is requested.

       Play : Resize New Window - Browser expands by rows and columns.
    */
2009-04-24 22:56:18 +00:00
Mindaugas Kavaliauskas
a237fe6654 2009-04-25 01:35 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbole/olecore.c
    ! fixed C++ compile errors
2009-04-24 22:34:29 +00:00
Mindaugas Kavaliauskas
62dc5dd14f 2009-04-24 23:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbole/olecore.c
  * harbour/contrib/hbole/oleauto.prg
    + implemented FOR EACH enumeration. The code was proposed by 
      Przemyslaw on mailing list. Some fixes applied.
2009-04-24 20:15:07 +00:00
Viktor Szakats
7e1584c472 2009-04-24 13:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * Changed QT examples according to 4.5.1 new default dir layout.

  * contrib/gtqtc/tests/demoqtc.prg
    ! Removed zip dependency.

  * contrib/gtqtc/tests/wvtext.prg
    ! Fixed non-lower case filename.
    ! Fixed wrong reference to test .ico file.
      BTW, is .ico portable? I doubt, so we should probably
      switch to .png in context of QT.
    ! Fixed wrong reference to test.dbf.

  * contrib/hbqt/tests/hbqt.hbp
  * contrib/gtqtc/tests/gtqtc.hbp
    + Added support for HB_QT_DIR envvar to find QT libs.
      This is the same envvar which is needed for Harbour
      builds, so you may already have it set up.
    ; TODO: If this works out well, I'll add the same method
            for other contribs too.

  * utils/hbmk2/hbmk2.prg
    + libpaths will now be checked for existance before being
      added to the list.
2009-04-24 11:26:59 +00:00
Viktor Szakats
a171bc3a00 2009-04-23 11:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbqt/tests/hbqt.hbp
    * Minor adjustment to supc++ lib inclusion filter.

  - contrib/gtqtc/tests/hbqt.hbp
  + contrib/gtqtc/tests/gtqtc.hbp
    - Removed .hbp with wrong name. This file also contained 
      local, environment dependent QT libpath.
      Please don't add such lines to SVN !!
      Instead use a local .hbp file which points to the QT path 
      in your environment:
      --- qt_path.hbp
      {win}libpaths=C:\devl\Qt\2009.01\qt\lib
      --- (don't commit this file, keep it local !)
      or, add the same line to your local hbmk.cfg file.
    + Added new .hbp file with multiplatform content.
2009-04-23 09:53:37 +00:00
Pritpal Bedi
0fe340c77a 2009-04-23 00:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
  * harbour/contrib/gtqtc/moc_gtqtc.cpp
    ! IMPLEMENTED : MT protocol. GTQTC now responds to it but
                    there are still glitches. I think this is the 
                    result of improper implementation of C++ code
                    and QT's underlying SIGNAL/SLOT mechanism.
    ! FIXED : SetMode()
              Resizing behavior, now it is acceptable.
              Cursor blinking rate, now responds quickly.
              Code cleanup.

  * harbour/contrib/gtqtc/tests/hbqt.hbp
    ! Updated for MT compilation.

  * harbour/contrib/gtqtc/tests/demoqtc.prg
  * harbour/contrib/gtqtc/tests/wvtext.prg
    ! GTQTC is now MT compliant. You may experience bumps 
      as QT event loop has not been adapted to Harbour's completely.
      There are glitches which are under investigations, but 
      proof of fruitation is there. Play with wvtext.exe, Press F10
      for new window, please copy /tests/tests.dbf to this folder first.
      Try to open many windows.
      NOTE: You will have to click main window twice to make it
      respond to key events. Still I do not know why it does not
      get the keyboard focus with one click.
      Try to close the windows with ESC or clicking on the X button.  

   /*  I NEED YOUR INTEREST AND EFFORTS TO MAKE THIS PROJECT A SUCCESS    */ 
   /*                                                                     */
   /*  Przemek, please review the code and guide me what way it should go */
2009-04-23 07:59:11 +00:00
Viktor Szakats
ace39f0fc1 2009-04-20 21:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to find headers in originating file directory.
      This may need further tweaking. This works a little
      differently in Harbour and C compilers and hbmk2 tries
      to mimic both. Possible that it's still not fully
      compatible, if you know something pls speak up.
    + Added -incpath= option and incpaths= .hbp option. This
      is now the preferred method to add headers paths. All
      path will be added to both Harbour and C compiler.
      Important: a synonym for this switch is simply -i, just
      like before, but now the path will be also added to
      C compiler command line.
    * From now on Harbour include dir will always be the first
      one on the include path list passed to compilers. Before
      in Harbour it was always first, in C compilers it was
      always last. (disregarding include dirs passed directly
      to compiler, which will always come first, but isn't
      recommended). The ordering is thus this:
      compiler ... flags harbourincludedir incpaths ...
    - Deleted include path option detection, from now on
      only those paths will be scanned wich were passed to
      hbmk2 via -incpath/-i options.
    % Added -kmo optimization for hbmk2 source.
    + -info and -quiet will now work in .hbm files.
      (they will not control some close-to-startup messages
      if specified this way though)

  * external/libhpdf/Makefile
  * external/libpng/Makefile
    + Enabled for darwin.

  * contrib/hbqt/generator/hbqtgen.prg
    ! Recent fix to hbqt.h applied to generator.

  * utils/hbmk2/hbmk2.hbm
    - Removed no longer needed -km switch.

  * utils/hbmk2/examples/hmg.hbp
  * utils/hbmk2/examples/hwgui.hbp
  * utils/hbmk2/examples/fwh.hbp
    % Updated to use -incpaths=

  * utils/hbmk2/examples/fwh.hbp
    * Updated to work like similar hwgui and hmg files.
    ; QUESTION: Is hbwin lib required for FWH?
2009-04-20 19:18:39 +00:00
Przemyslaw Czerpak
b551c7b08e 2009-04-20 20:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbsqlit3/hbsqlit3.c
    * updated to compile with older then SQLITE3.6.1 libraries
2009-04-20 18:10:20 +00:00
Przemyslaw Czerpak
23b984aeb3 2009-04-20 17:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbqt/hbqt.h
    ! fixed QT directory names in #include directives for case sensitive
      file systems

  * harbour/source/vm/cmdarg.c
    ! fixed HB_CMDLINE() to work with linear not square cost.
2009-04-20 15:17:14 +00:00
Viktor Szakats
5bfddcec4d 2009-04-20 08:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental support for header directory autodetection.
      This means that you can pass a list of possible dirs to use
      when a .c header cannot be found in explicitly passed locations.
    ! Fixed to always disable -shared with -hbdyn.
    ! Added hbmaindllp in -hbdyn mode on win|wce.
    ! Fix in -nohbp parameter handling.
    + Added support for macros in -L, -*flag=, -workdir=
    + Added -stop command line parameter which stops execution.
      Can be used in conjunction with arch/comp filters to stop
      execution on certain platforms/compilers.
    ! Fixed to not create workdir in some unlikely combination of options.
    ! Fixed typo causing newer headers not being detected in resource files.
    + Now 'unix' can also be used in filters to check for any *nix platform.
    % Excluding some well-known headers from parsing (windows.h, ole2, os2.h
      currently)
    ; Above changes makes it possible to use hbmk2 to build our contribs.
      The only missing feature is 'install', what is a simple copy.
      ---
      -ohbpgsql

      # just for the sake of an example, not needed for real hbpgsql.
      -stop{dos}

      -inctrypath=${HB_INC_PGSQL}
      -inctrypath={unix}/usr/include
      -inctrypath={unix}/usr/local/pgsql/include
      -inctrypath={unix}/usr/local/pgsql/include/libpq
      -inctrypath={unix}/usr/include/pgsql
      -inctrypath={unix}/usr/include/postgresql
      -inctrypath={unix}/postgres/include
      -inctrypath={unix}/opt/local/include/postgresql83

      postgres.c

      pgrdd.prg
      tpostgre.prg
      ---

  * contrib/hbole/oleinit.c
  * contrib/hbole/hbwinole.h
    * Cleanups in header usage and content. This should fix
      missing hb_oleInit() symbol on some compilers.

  * contrib/examples/pp/hbpptbl.c
    - Removed HB_EXTENSION protected two lines.
2009-04-20 06:27:58 +00:00
Pritpal Bedi
427b0d5e7e 2009-04-19 18:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.h
  * harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/moc_gtqtc.cpp
  * harbour/contrib/gtqtc/tests/hbqt.hbp
    + IMPLEMENTED : Resizing - Though some more refinement is necessary
                      but as a proof of concept it is working.
                    Window is now centered upon startup.
2009-04-20 01:23:48 +00:00
Pritpal Bedi
741463fcd2 2009-04-19 06:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/Makefile
    ! Adopted along hbqt/Makefile pattern - fix to prev.
      Thanks Bisz Istvan.
2009-04-19 13:15:21 +00:00
Pritpal Bedi
73c4dc6617 2009-04-18 17:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/hbqtgen.prg
  * harbour/contrib/hbqt/generator/qt45.qtp
  * harbour/contrib/hbqt/hbqt.h

  + harbour/contrib/hbqt/hbqt_qtextblock.cpp
  + harbour/contrib/hbqt/hbqt_qtextblockformat.cpp
  + harbour/contrib/hbqt/hbqt_qtextblockgroup.cpp
  + harbour/contrib/hbqt/hbqt_qtextboundaryfinder.cpp
  + harbour/contrib/hbqt/hbqt_qtextbrowser.cpp
  + harbour/contrib/hbqt/hbqt_qtextcharformat.cpp
  + harbour/contrib/hbqt/hbqt_qtextcursor.cpp
  + harbour/contrib/hbqt/hbqt_qtextdecoder.cpp
  + harbour/contrib/hbqt/hbqt_qtextdocument.cpp
  + harbour/contrib/hbqt/hbqt_qtextdocumentfragment.cpp
  + harbour/contrib/hbqt/hbqt_qtextdocumentwriter.cpp
  + harbour/contrib/hbqt/hbqt_qtextformat.cpp
  + harbour/contrib/hbqt/hbqt_qtextstream.cpp

  * harbour/contrib/hbqt/Makefile_gen

  + harbour/contrib/hbqt/qth/QClipboard.qth
  + harbour/contrib/hbqt/qth/QTextBlock.qth
  + harbour/contrib/hbqt/qth/QTextBlockFormat.qth
  + harbour/contrib/hbqt/qth/QTextBlockGroup.qth
  + harbour/contrib/hbqt/qth/QTextBoundaryFinder.qth
  + harbour/contrib/hbqt/qth/QTextBrowser.qth
  + harbour/contrib/hbqt/qth/QTextCharFormat.qth
  + harbour/contrib/hbqt/qth/QTextCursor.qth
  + harbour/contrib/hbqt/qth/QTextDecoder.qth
  + harbour/contrib/hbqt/qth/QTextDocument.qth
  + harbour/contrib/hbqt/qth/QTextDocumentFragment.qth
  + harbour/contrib/hbqt/qth/QTextDocumentWriter.qth
  + harbour/contrib/hbqt/qth/QTextFormat.qth
  + harbour/contrib/hbqt/qth/QTextStream.qth

  + harbour/contrib/hbqt/tests/demoqt.prg
  + harbour/contrib/hbqt/tests/wvtext.prg
  + harbour/contrib/hbqt/TQTextBlock.prg
  + harbour/contrib/hbqt/TQTextBlockFormat.prg
  + harbour/contrib/hbqt/TQTextBlockGroup.prg
  + harbour/contrib/hbqt/TQTextBoundaryFinder.prg
  + harbour/contrib/hbqt/TQTextBrowser.prg
  + harbour/contrib/hbqt/TQTextCharFormat.prg
  + harbour/contrib/hbqt/TQTextCursor.prg
  + harbour/contrib/hbqt/TQTextDecoder.prg
  + harbour/contrib/hbqt/TQTextDocument.prg
  + harbour/contrib/hbqt/TQTextDocumentFragment.prg
  + harbour/contrib/hbqt/TQTextDocumentWriter.prg
  + harbour/contrib/hbqt/TQTextFormat.prg
  + harbour/contrib/hbqt/TQTextStream.prg
    
    + Added several new classes, hbqtgen.prg adjusted for
      new definitions, implemented more info in the sources
      but deferred for next commit.
2009-04-19 00:59:06 +00:00
Pritpal Bedi
b9fc996942 2009-04-18 17:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/Makefile
    ! Adopted along hbqt/Makefile pattern.

  + harbour/contrib/gtqtc/tests/wvtext.prg
    + Added harbour/tests/wvtext.prg here also.
      Change in only HB_GT_QTC_DEFAULT.
      This facilitates the comparison between GTWVT and GTQTC
    + Added harbour/tests/tests.ico
      Used as hb_gtInfo( HB_GTI_ICONFILE, 'tests.ico' )
2009-04-19 00:48:17 +00:00
Pritpal Bedi
3a8b91ddd8 2009-04-18 12:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.h
  * harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/moc_gtqtc.cpp
    + IMPLEMENTED : 
        Fired Events : HB_GTE_SETFOCUS | HB_GTE_KILLFOCUS | HB_GTE_RESIZE 
        Cursor       : SC_NONE | SC_NORMAL | SC_SPECIAL1 | SC_SPECIAL2
    ! IMPROVED    : Many artifacts.
                
  * harbour/contrib/gtqtc/tests/demoqtc.prg
    ! Modified to demonstarte above changes.

    NOTE: GTQTC is complete on base level. Only few gliches remain for
          cursor management under certain circumstances. The lib is 
          tested on Winsow XP and QT 4.5 (2009.01). I am sure there 
          may be few issues coming up more you test on different 
          platforms.

          So I am looking for feedback especially from *nix users.

    (::)  At this point I will request Przemek to review gtqtc.c.h
          and point me to optimization it may require.
2009-04-18 19:42:15 +00:00
Pritpal Bedi
29b1f0b848 2009-04-17 11:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/hbqtgen.prg
    ! oMenuBar:show() => oWnd:setMenuBar( QT_PTROF( oMenuBar ) ) 
      Thanks Bisz Istvin for provising the clue.
2009-04-17 18:50:26 +00:00
Pritpal Bedi
a6ebbdb4c4 2009-04-17 08:36 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.h
  * harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/moc_gtqtc.cpp
    ! Fixed more Windows specific contents. It should compile 
      on *nixes now [ Qt::WindowCloseButtonHint could be the exception ]
    + Implemented timer event.
    + Implemented PALETTE functionality of GTWVT.
    + Implemented drawing console output to an image first and then 
      rendered onto the screen. This requirement is initiated because
      nowhere I found a way to mimic blinking CARET. 
      The proof of concept is implemened through part of image 
      rendering in a timer event. It may introduce some overhead 
      but please be noted that we have to live with it until we 
      reach a proper solution.
    
      Rendered to image and then flushed to screen is a powerful
      feature of QT and we may take use of it in many ways in future.
      Probably QTWVG will exploit it to maximum if we do not 
      plan some extenstions in GTQTC.

  * harbour/contrib/gtqtc/tests/demoqtc.prg
    ! Demonstrated implemented facts as above.
      Note the BLINKING block on the console, may be, 
      implemented as a replacement to windows caret.
2009-04-17 15:36:24 +00:00
Pritpal Bedi
29a8684c43 2009-04-17 08:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/hbqtgen.prg
  * harbour/contrib/hbqt/generator/qt45.qtp
  * harbour/contrib/hbqt/Makefile_gen
  * harbour/contrib/hbqt/hbqt.h
  + harbour/contrib/hbqt/hbqt_qclipboard.cpp
  + harbour/contrib/hbqt/TQClipboard.prg
    + Added QClipboard class.
    ! Fixed hbqt.h generation not to include #define version...
2009-04-17 15:13:38 +00:00
Przemyslaw Czerpak
5c632ccff8 2009-04-17 15:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbqt/hbqt.h
    * commented out #define QT_VERSION 0x040500
2009-04-17 13:41:07 +00:00
Viktor Szakats
f128a09655 2009-04-16 23:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added -opt/-noopt switch (plus .hbp param) to control
      C compiler optimizations.
    + Added C compiler optimizations to all compilers identical
      to the ones used to build Harbour. Specifically MinGW,
      MSVC got new switches, bcc got -6, owatcom got fully
      synced.
    + Added internal support for C++ mode selection for all
      compilers.
    + Added -debug support for all compilers where it was missing
      (most).
    ! Synced poccarm switch with Harbour build.

  - utils/hbmk2/examples/minigui.hbp
  + utils/hbmk2/examples/hmg.hbp
    + Harbour MiniGUI hbmk2 param file updated 
      and instructions added. Now it's possible 
      to build hmg apps using hbmk2 very easily, 
      see instructions in file.

  * utils/hbmk2/examples/hwgui.hbp
    + hwgui hbmk2 param file updated and 
      instructions added. Now it's possible
      to build hwgui apps using hbmk2 very easily, 
      see instructions in file.

  * source/vm/itemapi.c
  * source/rtl/hbffind.c
  * contrib/hbct/atnum.c
    ! Fixed macro related warnings.
2009-04-16 21:30:09 +00:00
Pritpal Bedi
b0be5d7ac2 2009-04-16 00:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
    ! Fix to many unsuppoted defines on *nixes.
      Przemek, please compile again. Probably by now it will
      only 'WindowCloseButtonHint' error may appear. But reading
      the documents QT nowhere specifies that it is platform
      dependant member. Can you please comment out 
      #define QT_VERSION 0x040500 in hbqt.h and compile again.
      It is left-over residual.
2009-04-16 14:53:18 +00:00
Pritpal Bedi
0fa5d03ecc 2009-04-16 00:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/moc_gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
    + Implemented : hb_gtInfo( HB_GTI_ICONFILE, cFileIco )
                  : K_MWFORWARD | K_MWBACKWARD
2009-04-16 07:42:49 +00:00
Pritpal Bedi
df6586c757 2009-04-15 22:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
  * harbour/contrib/gtqtc/tests/demoqtc.prg
    ! Implemented : hb_gtInfo( HB_GTI_CLOSABLE, TRUE | FALSE )
                  : hb_gtInfo( HB_GTI_RESIZABLE, TRUE | FALSE )
                  : hb_gtInfo( HB_GTI_CLIPBOARDDATA[, cText ] )

      Struggling  : How to manage caret ? Anybody to rescue ?
2009-04-16 05:34:12 +00:00
Pritpal Bedi
b588616a10 2009-04-15 16:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
  * harbour/contrib/gtqtc/moc_gtqtc.cpp
  * harbour/contrib/gtqtc/tests/demoqtc.prg
    ! More complete.
      No more (IMO) Windows specific calls. 
      Please let me know if it compiles fine on *nixes ?
2009-04-15 23:24:29 +00:00
Przemyslaw Czerpak
84222550a1 2009-04-15 17:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/xhbmsgs.c
  * harbour/contrib/xhb/xhbcomp.prg
    + added overloading relation operators (==, =, !=, <, <=, >, >=)
      to mimic xHarbour like one byte string behavior
2009-04-15 15:13:26 +00:00
Pritpal Bedi
b3b09f6110 2009-04-15 01:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
  * harbour/contrib/gtqtc/moc_gtqtc.cpp
  * harbour/contrib/gtqtc/tests/demoqtc.prg
    . 
    ! GTQTC has reached an acceptable level.
    .
    /* 
      IMPLEMENTED : Screen Rendering.
                    Keyboard Input ( Please report missing defines )
                    Mouse Input ( 90% )
                    Most HB_GTI_* methods.

      TO_BE_DONE  : Resizing.
                    Icons.                                                  
                    SysMenu.
                    Window States.
                    Console Copy Operations.
                    Close [X] functionality.

      SUNUP       : A pure Clipper Applctn should run without problems.
    */
2009-04-15 08:10:10 +00:00
Viktor Szakats
3117b701ca 2009-04-15 08:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
  * utils/hbmk2/hbmk2.prg
    * Some cleanups resulting in incompatible changes:
      ${hb_parent} -> ${hb_self}
      -prgflag:<f> -> -prgflag=<f> 
      -cflag:<f>   -> -cflag=<f>   
      -ldflag:<f>  -> -ldflag=<f>  
      -aflag:<f>   -> -aflag=<f>   
      -dflag:<f>   -> -dflag=<f>   
      -runflag:<f> -> -runflag=<f>
    + Added not yet used -jobs=<n> parameter.
    + Added array splitter to chunks functions.

  * contrib/hbtip/tests/dnldftp.prg
    ! Fix to prev.
2009-04-15 06:24:54 +00:00
Viktor Szakats
534ad5fe4d 2009-04-15 00:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + libpaths= can now have relative paths specified, and in this
      case the path will be adjusted by absolute path of host .hbp.
      This makes it possible to point hbmk2 to a .hbp file in a
      foreign dir, and let it pick up local lib dirs automatically.
    + .hbp files passed without absolute paths will now inherit
      the .hbm path if applicable.
    + Will now echo all explicitly specified .hbp filenames on
      screen in -info mode.
    + Added echo= support in .hbp files. The parameter will be 
      echoed to stdout as is.
    + Added macro support for following .hbp lines:
      libpaths=, prgflags=, cflags=, ldflags=, echo=.
      Supported macros are:
      ${hb_root}: hbmk2 base dir
      ${hb_parent}: .hbp file dir
      ${hb_arch}: architecture
      ${hb_comp}: compiler
      ${<envvar>}: any envvar
    + .hbp files are now searched in libpaths, too.
    ; NOTE: With above changes it's possible to refer to a 3rd
            party lib solely by pointing to its .hbp file, from
            that point all lib/include paths can be automatically
            picked up. Here's an example for hwgui, the file
            needs to be places in hwgui root dir:
            ---
            {win}prgflags=-i${hb_parent}include
            {win}cflags=-I${hb_parent}include
            {win}libpaths=${hb_parent}lib
            {win}libs=hwgui hwg_qhtm procmisc hbxml
            {win}gt=gtgui
            ---
            Any hwgui apps can be compiled with this command:
            hbmk2 appname.prg C:\hwgui\hwgui.hbp

  * contrib/hbtip/tests/dnldftp.prg
    % Minor opt.
2009-04-14 22:26:26 +00:00
Pritpal Bedi
a9b645267e 2009-04-14 09:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/source/rtl/gtwvt/gtwvt.c
  * harbour/contrib/gtwvg/gtwvg.c
    ! Fixed a long standing bug - window mismanaged when clicking on titlebar.
      Processed WM_NCLBUTTONDCLK:
2009-04-14 16:07:43 +00:00