Commit Graph

15201 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
a8e0d9e1eb 2010-10-16 01:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtstd/gtstd.c
    * updated to compile with WinCE

  * harbour/package/harbour.spec
    * modified to work with new HBMK2 translations

  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed function order

  * harbour/contrib/hbwin/axcore.c
    * include <olectl.h>
    ! fixed buffer sizes in debug function
    * removed trailing spaces and tabs

  * harbour/contrib/hbwin/hbolesrv.c
    * include <tchar.h> - for some compilers which do not make it
      with OLE header files
2010-10-15 23:38:39 +00:00
Viktor Szakats
3ce1854189 2010-10-15 20:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/utils/hbqtgen.prg
    ! Fixed to pass 'uchar' where QT needs it (instead of current 'char')

    ; TOFIX: hb_parc() return value is still de-const-ed and passed 
             to QT which is 100% way to create random GPFs.
             See TOFIXes in code.

  * utils/hbmk2/hbmk2.prg
    * Formatting.
2010-10-15 18:46:57 +00:00
Pritpal Bedi
168779cd29 2010-10-15 10:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
    ! Minor.

  * contrib/hbide/ideprojmanager.prg
    ! Fixed: one regression : qProcess:start_1() => qProcess:start()

  * contrib/hbqt/qtgui/THbQtUI.prg
    ! Fixed: :isValidObject() => :hasValidPointer()
2010-10-15 17:32:16 +00:00
Viktor Szakats
c6715b99bd 2010-10-15 17:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddads/rddads.hbp
      ! Reordered lookup order for possible .dll (+ COFF .lib) location
      to fix implib generation with some ADS releases (7.x, 8.x).
2010-10-15 15:27:19 +00:00
Viktor Szakats
6eadf651ac 2010-10-15 10:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/utils/hbqtgen.prg
    + Changed HB_<class> class instantiation function STATIC.
    + Added <class>FromPointer() function to create class from a raw class pointer.
      (this should be eliminated ASAP)
    + Added <class>From() function to create class from another class.
      It's now simply calling :from() in base class, which is wrong
      and should be fixed for two reasons:
         - raw pointer is allowed (all such calls should be changed to <class>FromPointer())
         - no object type checking is made.

    ; NOTE: Please update HBIDE and HBXBP to use these rules:
              HB_<class>:from( ptr ) => <class>FromPointer( ptr )
              HB_<class>:from( obj ) => <class>From( obj )
2010-10-15 08:06:45 +00:00
Viktor Szakats
eec302f8b2 2010-10-15 09:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqtcore.hbx
    + HBQT_ISOBJECT() will return .T. is the passed object is a HBQT one.

  * contrib/hbqt/qtcore/hbqt_misc.prg
    * :isValidObject() -> :hasValidPointer()
    + :fromPointer(): New method used solely to convert raw QT pointers
      to HBQT objects. In such case no object type checking can be done,
      so it's dangerious, thus raw pointers should eventually be eliminated
      from HBQT code and as final step this method removed.
      The method will RTE is non-pointer parameter is passed.
    + Added TODOs.
    ; TODO: Change :from() method to only allow QT object input parameter
            and RTE otherwise. At the same time :from() calls with pointer
            input should be changed to :fromPointer(). As next step :from()
            should be moved to class level and proper object type checking
            added to avoid assigning wrong QT object to HBQT object wrapper.

  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpwindow.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/ideskeletons.prg
    * :isValidObject() -> :hasValidPointer()

  * INSTALL
    + Added OS/2 GCC link.
2010-10-15 07:54:11 +00:00
Viktor Szakats
c669471aa2 2010-10-14 20:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour/utils/hbmk2/hbmk2.prg
    + *nix builds will now use /opt/harbour/contrib and /opt/harbour/addons
      dirs to autofind .hbc files. (if /opt/harbour dir exists)
2010-10-14 18:26:16 +00:00
Mindaugas Kavaliauskas
a1c6eb6da3 2010-10-14 16:45 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/axcore.c
    ! fixed CPP compilation by using compiler macros in method calls
  * harbour/contrib/hbwin/hbwinole.h
  * harbour/contrib/hbwin/axcore.c
  * harbour/contrib/hbwin/olecore.c
    + implemented additional OLE destructors. Added Undavise() call 
      to :__hSink destructor. This fixes unresponsive OLE server app 
      behaviour after corresponding Harbour object is freed
    ; Code proposed by Przemek, some fixes applied
2010-10-14 13:46:38 +00:00
Przemyslaw Czerpak
36124d47a6 2010-10-14 08:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtstd/gtstd.c
    * updated to compile with WinCE

  * harbour/package/harbour.spec
    * modified to work with new HBMK2 translations

  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed function order

  * harbour/contrib/hbwin/axcore.c
    * include <olectl.h>
    ! fixed buffer sizes in debug function
    * removed trailing spaces and tabs

  * harbour/contrib/hbwin/hbolesrv.c
    * include <tchar.h> - for some compilers which do not make it
      with OLE header files
2010-10-14 06:45:51 +00:00
Mindaugas Kavaliauskas
df744bd6ff 2010-10-14 05:45 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/axcore.c
    + added support for obtaining default callback event interface.
      __AxRegisterHandler( pDisp, bHandler [, cIID ] ) parameter can be:
        - event interface ID, i.e. "{...}";
        - event interface name, ex., DWebBrowserEvents;
        - otherwise default event interface is tried to obtain.
    ; NOTE: some regresions are possible. IDispatch is not the default
      value for cIID. To force the previous behaviour, you should use 
      __AxRegisterHandler(,, "{00020420-0000-0000-C000-000000000046}"), 
      but I guess this should never be required.
    ; Don't ask me how I've wrote this code :)
  * harbour/contrib/hbwin/tests/pdfcreat.prg
    * changed to sync with new __AxRegisterHandler() behaviour
  * harbour/contrib/hbwin/tests/testole.prg
    + added new Internet Explorer test to show OLE callback events
2010-10-14 02:46:49 +00:00
Przemyslaw Czerpak
4e42f796aa 2010-10-14 00:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    ! casting
  * harbour/utils/hbmk2/hbmk2.es_PE.po
    ! typos
2010-10-13 22:32:06 +00:00
Przemyslaw Czerpak
bdfbd4ef4f 2010-10-13 20:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    * use "~hbmk" instead of ".hbmk" as temporary directory name in DOS
      builds to avoid problem with unsupported file names.
      TODO: for better customization we need new function:
            HB_FNameCheck( <cFileName> ) -> <lNameOK>
  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed GPF when file datetime is passed as 3-rd argument to
      HB_ZipFileCreate()
    % eliminated repeated code
2010-10-13 18:59:17 +00:00
Mindaugas Kavaliauskas
34fbea1e35 2010-10-13 21:52 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rtl/gtstd/gtstd.c
    * code cleanup to make some compilers happy
2010-10-13 18:53:49 +00:00
Viktor Szakats
43fc5b7abf 2010-10-13 19:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    * pgsql version.

  * contrib/xhb/hboutdbg.c
    ! Fixed missing xhb.h for public function declaration.

  * contrib/sddoci/sddoci.c
    ! Implemented fix based on Przemek's recent commit to sddpg.
                 (2010-10-04 12:43 UTC+0200)
      I made no testing, just tried to copy the method since the
      situation looked the same. Please review/test.

  + utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hbp
    + Added Spanish translation.
      Many thanks to Guillermo Varona Silupu (GVS) for the translation
      and for making it available to Harbour.

  ; QUESTION: These are used from xhb lib, yet they are not exported
              from harbour dll. Should they be worked around in xhb
              or exported?:
                 hb_stackItem, hb_stackBaseOffset, hb_stackBaseProcOffset,
                 hb_stackWithObjectOffset
2010-10-13 17:35:01 +00:00
Mindaugas Kavaliauskas
96e589a914 2010-10-13 20:00 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/tests/pdfcreat.prg
    ! fixed warning for whose who uses alternatve sample branch #if 0
  * harbour/src/rtl/gtstd/gtstd.c
    ! fixed console input pooling for Windows (you don't need to keep
      a key pressed to run application)
2010-10-13 17:01:09 +00:00
Pritpal Bedi
381f1ec178 2010-10-13 09:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idesaveload.prg
    ! Fixed: GPF reported by Maurizio.
2010-10-13 16:28:37 +00:00
Przemyslaw Czerpak
aabe2c9dab 2010-10-13 13:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gttrm/gttrm.c
    ! added protection against GPF when wrong parameters are
      passed to hb_gtInfo( HB_GTI_ADDKEYMAP, ... )

  * harbour/src/rtl/hbgtcore.c
    ! added protection against GPF when wrong parameters are
      passed to hb_gtAlert()

  * harbour/src/rtl/gtapi.c
    * formatting

  * harbour/src/rtl/cdpapi.c
    ! fixed return value in hb_cdpStrAsU16Len()

  * harbour/src/rdd/dbf1.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
    + added support for UNICODE fields compatible with the one used
      by ADS

  * harbour/contrib/hbxbp/hbxbp.hbx
    + automatically updated

  * harbour/contrib/rddads/ads1.c
    * casting

  * harbour/doc/xhb-diff.txt
    * updated information about PRG level hb_socket*() API
    + added information about serial port support
2010-10-13 11:22:21 +00:00
Pritpal Bedi
3b7b686f85 2010-10-12 22:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtgui/THbQtUI.prg

  * contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbpmle.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbpradiobutton.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbpstatic.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptabpage.prg

  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idethemes.prg
    % Optimized: Q*Class():from( pPtr ) => HB_Q*Class():from( pPtr )
2010-10-13 05:26:33 +00:00
Pritpal Bedi
d5180e5680 2010-10-12 18:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idefindreplace.prg
    ! Fixed: another regression.
2010-10-13 01:20:19 +00:00
Pritpal Bedi
15d2907bac 2010-10-11 09:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
    ! Fixed: a small glitch in copy operation.
      When two lines were copied, where last line was blank,
      paste operation was inserting one more blank line.
2010-10-11 16:08:23 +00:00
Pritpal Bedi
142341d434 2010-10-10 22:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.h
    - Removed: events synonymous signals, i.e., :mousePressEvent() and 
      family. These must be trapped via events interface instead of
      signals interface.

      INCOMPATIBLE: if any third party lib is using them, please update.

  * contrib/hbqt/qtgui/g/HBQTableView.cpp
  * contrib/hbqt/qtgui/g/THBQTableView.prg
  * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.h
  * contrib/hbqt/qtgui/qth/HBQTableView.qth
    - Removed: events synonymous signals.
    + Introduced: :hbSetBlock( bBlock ) method along the 
      lines of similar mechanism for other sub-classes.
      This maybe the building block for thought-of 
      sub-calling of Qt classes.

  * contrib/hbqt/qtgui/hbqtgui.ch
    + Added: HBQT_HBQTABLEVIEW_scrollContentsBy constant.

  * contrib/hbxbp/xbpappevent.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpdataref.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbptabpage.prg
    ! Fixed: many artifacts which are the results of recent 
      changes in hbQT structure and implementation. New protocol
      surfaced many shortcomings in previous implementation.

  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesources.prg
    ! Fixed: many artifacts, specially in editing area.
      Now you may enjoy better editing experience than before.
2010-10-11 05:47:31 +00:00
Pritpal Bedi
e30041996e 2010-10-10 14:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpfiledialog.prg
    ! Fixed: a regression bug surfaced after recent changes.
      QDialog() was not setting the focus to original widger at "close".

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    Fixed: "windowStateChanged(Qt::WindowStates,Qt::WindowStates)" signal parameters.

  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.h
    ! Minor.

  * contrib/hbqt/utils/qtgui.qtp
    + Added: new class QSortFilterProxyModel.qth
2010-10-10 21:34:18 +00:00
Pritpal Bedi
e77873cfa3 2010-10-10 13:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qscintilla/qth/*.qth
  * contrib/hbqt/qtcore/qth/*.qth
  * contrib/hbqt/qtdesigner/qth/*.qth
  * contrib/hbqt/qtgui/qth/*.qth
  * contrib/hbqt/qtnetwork/qth/*.qth
  * contrib/hbqt/qtwebkit/qth/*.qth
    ! Cleaned: very old constructs needed no more. Code is more readable now.
    ! Changed: copyright info.

  * contrib/hbqt/qscintilla/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtcore/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtdesigner/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtgui/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtnetwork/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtwebkit/g/*.cpp *.prg *.txt
    * Re-generated, whichever are affected.

    This commit prepares .qth(s) for next overhaul for constructors.
2010-10-10 21:20:35 +00:00
Przemyslaw Czerpak
3f3973cf40 2010-10-09 19:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapirdd.h
    + added new field flag: HB_FF_UNICODE

  * harbour/contrib/rddads/ads1.c
    + added support for new ADS 10.0 UNICODE fields: NChar, NVarChar, NMemo
      They are supported in all ADS* RDDs.
2010-10-09 17:07:21 +00:00
Przemyslaw Czerpak
1195e59b87 2010-10-09 09:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/lang/msg_tpl.c
    ! added one missing message

  * harbour/src/lang/msgsv.c
  * harbour/src/lang/msgsvwin.c
    * removed redundant item copied from xHarbour
      Thanks to Klas Engwall for the info.

  * harbour/src/lang/Makefile
    ! added Swedish CPs
      Thanks to Klas Engwall for the info.
2010-10-09 07:58:14 +00:00
Przemyslaw Czerpak
0c1b9f7d85 2010-10-08 17:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! disabled automatic generation of dll_hb_vmProcAddress()
      in binaries linked with hbmaindllp library.
      Such function should be attached to the code linked with
      HVM on user request i.e. using some new HBMK2 switch.

  * harbour/contrib/xhb/xhw32prn.prg
    * added dummy WIN32BMP() function in non MS-Windows builds

  * harbour/contrib/rddads/adsfunc.c
    * added dummy ADSREGCALLBACK() and ADSCLRCALLBACK() functions
      to Linux builds

  * harbour/contrib/hbxpp/hbxpp.hbx
  * harbour/contrib/hbqt/qtgui/hbqtgui.hbx
  * harbour/contrib/hbqt/qtcore/hbqtcore.hbx
    * automatically updated by HB_REBUILD_EXTERN=yes
2010-10-08 15:59:46 +00:00
Przemyslaw Czerpak
9c267b30ca 2010-10-08 11:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbcom.c
    * explicitly set HB_COM_ERR_TIMEOUT and return -1 in all OS-es if
      hb_comSend() or hb_comRecv() writes/reads 0 bytes.
      It should help in creating portable code eliminating OS dependent
      differences.
2010-10-08 09:15:59 +00:00
Przemyslaw Czerpak
e22c6c7e28 2010-10-08 10:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/src/common/hbstr.c
    + added new C function:
         double hb_numExpConv( double dNum, int iExp )
  * harbour/src/rdd/dbf1.c
    + added support for decoding exponents part from 'F' fields
2010-10-08 08:17:16 +00:00
Pritpal Bedi
edf6cf3b46 2010-10-07 18:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
    ! Fixed: paste operation was not deleting the selected text 
      before pasting new text.
2010-10-08 01:03:16 +00:00
Przemyslaw Czerpak
6256ccc4be 2010-10-07 10:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/hbmain.c
    * declare automatically created function in code compiled by
      HB_COMPILEFROMBUF() with -n2 switch as static.
      It eliminates possible conflicts when user tries to register
      in single HVM instance many HRB modules with such startup function.
2010-10-07 08:21:20 +00:00
Pritpal Bedi
2b86932f0b 2010-10-06 16:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpwindow.prg
    ! An important regression fix.
      Please always construct an object when :from() is used as:
        HB_Q*Class():from( pPtr )
      instead of 
        Q*Class():from( pPtr )
2010-10-06 23:32:08 +00:00
Pritpal Bedi
ed1ce9178d 2010-10-06 12:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
    ! Fixed: regression reported by Itamar.
2010-10-06 19:20:16 +00:00
Przemyslaw Czerpak
2cf025fa75 2010-10-06 20:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtwvt/gtwvt.c
    ! fixed possible double font freeing in non UNICODE builds

  * harbour/contrib/hbwin/win_misc.c
    + added prg function WIN_UNICODE() which returns logical value
      indicating if UNICODE macro was used or not
2010-10-06 18:57:05 +00:00
Pritpal Bedi
579935aa08 2010-10-06 08:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbqt/qtgui/doc/en/class_qcommonstyle.txt
  + contrib/hbqt/qtgui/doc/en/class_qdateedit.txt
  + contrib/hbqt/qtgui/doc/en/class_qdragenterevent.txt
  + contrib/hbqt/qtgui/doc/en/class_qdragleaveevent.txt
  + contrib/hbqt/qtgui/doc/en/class_qhboxlayout.txt
  + contrib/hbqt/qtgui/doc/en/class_qhideevent.txt
  + contrib/hbqt/qtgui/doc/en/class_qradiobutton.txt
  + contrib/hbqt/qtgui/doc/en/class_qscrollbar.txt
  + contrib/hbqt/qtgui/doc/en/class_qshowevent.txt
  + contrib/hbqt/qtgui/doc/en/class_qsizegrip.txt
  + contrib/hbqt/qtgui/doc/en/class_qstylehintreturn.txt
  + contrib/hbqt/qtgui/doc/en/class_qstylehintreturnmask.txt
  + contrib/hbqt/qtgui/doc/en/class_qstylehintreturnvariant.txt
  + contrib/hbqt/qtgui/doc/en/class_qtextblockgroup.txt
  + contrib/hbqt/qtgui/doc/en/class_qtimeedit.txt
  + contrib/hbqt/qtgui/doc/en/class_qvboxlayout.txt
  + contrib/hbqt/qtgui/doc/en/class_qwindowsstyle.txt
    + Added: missing doc files.

  + contrib/hbqt/qtgui/qth/QSortFilterProxyModel.qth
    + Added: new class, requeted on HMG forums.

  + contrib/hbqt/qtgui/g/QSortFilterProxyModel.cpp
  + contrib/hbqt/qtgui/g/TQSortFilterProxyModel.prg
  + contrib/hbqt/qtgui/doc/en/class_qsortfilterproxymodel.txt
    + Re-generated.

  * contrib/hbqt/qtgui/g/filelist.hbm
  * contrib/hbqt/qtgui/g/hbqtgui.h
    ! Re-generated.
2010-10-06 15:55:38 +00:00
Przemyslaw Czerpak
ebc3fd9213 2010-10-06 07:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbrun/hbrun.prg
    ! fixed typo in my last commit - Thanks to Frank Van Nuffel for
      information about the problem

  + harbour/src/lang/msgsv.c
  + harbour/src/lang/msgsvwin.c
    + added Swedish language modules by Klas Engwall
      (borrowed from xHarbour with some small modifications - please verify)
2010-10-06 05:20:18 +00:00
Przemyslaw Czerpak
394fd3bd21 2010-10-05 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbrun/hbrun.prg
    + extended error message so it reports more precisely the problem
      with user command.
    + use -n2 instead of -n for user command compilation
      It allows to use:
         DO <proc> [WITH <args,...>]
      when <proc>.prg contains code without explicit startup procedure.
    % removed useless hbrun_DirAddPathSep() - hb_FNameMerge() automatically
      adds directory separator if necessary.
    ! changed the order of locating files without extension so files in
      local directory are not hidden by file in PATH or hb_baseDir()
    ! interrupt execution when given .hbs or .prg file cannot be cleanly
      compiled.
    ! generate error when file passed as in parameters cannot be found.
    ! do not strip quote characters from PATHs in *nix builds.0
    ! use in DOS builds "~harbour" instead of ".harbour" as directory name
      for hbrun history file.
    ; Possible TODO: add function:
         HB_FNameCheck( <cFileName> ) -> <lNameOK>
      which will check if <cFileName> is correct and can be used
      with given file system. <cFileName> should contain full path
      so it can be verified with correct file system. Such extension
      should eliminate code which disable unconditionally long file
      names in all DOS builds.
2010-10-05 10:46:08 +00:00
Przemyslaw Czerpak
ace9647b8a 2010-10-04 18:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    * added /opt/cross to directories scanned for MinGW cross binaries
      in *nix hosts (just like in global.mk)
2010-10-04 16:53:08 +00:00
Przemyslaw Czerpak
6ebbfea898 2010-10-04 18:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/fstemp.c
    ! fixed typo in my last commit (#elif instead of #if)
      Thanks to Itamar M. Lins Jr. for the info.
2010-10-04 16:23:37 +00:00
Pritpal Bedi
339e968558 2010-10-04 08:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbplistbox.prg
    ! Changed: the way context menu was being fired.

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.h
    + Added: Francesco Perillo's new SIGNAL/SLOT mechanism.
      It is guarded against #ifdef __PRITPAL__ which is defined 
      by default in hbqt_hbqslots.h. To switch over to new 
      mechanism, simply comment out #define __PRITPAL__ and 
      recompile hbQT. Once all slots will be working, sections 
      covered under __PRITPAL__ will be removed. This way 
      we can test new protocol whosoever wants to investigate
      insides.
2010-10-04 16:21:49 +00:00
Przemyslaw Czerpak
bb14033f3a 2010-10-04 13:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/fstemp.c
    * disabled using tmpnam() in OS2 builds
    % small code cleanup
2010-10-04 11:22:45 +00:00
Przemyslaw Czerpak
8c5e539d71 2010-10-04 12:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/sddpg/sddpg.c
    ! fixed access to uninitialized pItem variable
      (probably GPF trap)
    % small optimization

  * harbour/contrib/rddads/adsx.c
    ! fixed typo in HB_TRACE message
2010-10-04 10:44:00 +00:00
Pritpal Bedi
4ef4615a60 2010-10-03 15:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbptreeview.prg
    ! Fix: to last commit. Thanks Francesco for reporting.
2010-10-03 22:12:35 +00:00
Przemyslaw Czerpak
a53c7aac5d 2010-10-03 23:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbffpt/dbffpt1.c
    ! fixed my typo in HB_TRACE massage reported by Alexandr Okhotnikov
2010-10-03 21:50:40 +00:00
Pritpal Bedi
4171b1b8a8 2010-10-03 14:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/HBQEvents.qth
  * contrib/hbqt/qtcore/qth/HBQSlots.qth
  * contrib/hbqt/qtcore/qth/HBQString.qth
  * contrib/hbqt/qtcore/qth/QAbstractEventDispatcher.qth
  * contrib/hbqt/qtcore/qth/QAbstractItemModel.qth
  * contrib/hbqt/qtgui/qth/HBQAbstractItemModel.qth
  * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth
  * contrib/hbqt/qtgui/qth/HBQGraphicsScene.qth
  * contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth
  * contrib/hbqt/qtgui/qth/HBQTableView.qth
  * contrib/hbqt/qtgui/qth/HBQTextBlockUserData.qth
  * contrib/hbqt/qtgui/qth/QBrush.qth
  * contrib/hbqt/qtgui/qth/QWidget.qth
    ! Some tweaks to be ready for next massive commit
      where CONSTRIUCTORS will be managed automatically.
 
  * contrib/hbqt/utils/hbqtgen.prg
    + Added: constructs to manage CONSTRUCTORS automatically.
      ( yet not activated - a work-in-progress )
  
  * contrib/hbxbp/xbptreeview.prg
    ! Refined SLOTS as per Fracesco's tips.

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    ! Refined SLOTS as per Fracesco's tips for QTreeWidget().
  
  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/ideskeletons.prg
    ! Fixed: two reported regressions.

  * contrib/hbide/idemain.prg
    ! Small optimization.

  * Re-generated sources.
2010-10-03 21:18:48 +00:00
Pritpal Bedi
4d27a0e9b2 2010-10-03 11:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
    ! Fixed: to not reach end of code with return type.

  * contrib/hbqt/utils/qtcore.qtp
    ! Commented out: wrongly commented QMimeData.qth.

  * contrib/hbqt/qtcore/g/filelist.hbm
  * contrib/hbqt/qtcore/g/hbqtcore.h
    * Re-generated.
2010-10-03 18:18:59 +00:00
Viktor Szakats
f4aa2359de 2010-10-03 17:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added MS-DOS compiler (djgpp) detection when used on *nix platform
      in cross-compile scenario.
      BTW I've also found that I had already implemented win and wce
      autodetection based on global.mk, so it' supposed to work. Please
      test it.

  * config/global.mk
    - Deleted a variable not used anymore.
2010-10-03 15:46:50 +00:00
Viktor Szakats
50512a96f4 2010-10-03 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/wvgwing.c
    ! Fixed after prev.
      Suggested by YD0DKL

  * contrib/hbqt/utils/hbqtgen.prg
    + Added TOFIXes to some generated code lines.
      (missing const, hb_retptr(), char vs uchar)

  * contrib/hbqt/utils/hbqtgen.prg
  * contrib/hbqt/qtgui/qth/*.qth
  * contrib/hbqt/qtwebkit/qth/*.qth
  * contrib/hbqt/qtcore/qth/*.qth
  * contrib/hbqt/qtnetwork/qth/*.qth
  * contrib/hbqt/qscintilla/qth/*.qth
  * contrib/hbqt/qtdesigner/qth/*.qth
    * Changed to use '__HB_RETPTRGC__' macro instead of using
      (valid function) 'hb_retptr()' as code generation marker.

  * contrib/hbqt/qtgui/g/*
  * contrib/hbqt/qtwebkit/g/*
  * contrib/hbqt/qtcore/g/*
  * contrib/hbqt/qscintilla/g/*
  * contrib/hbqt/qtdesigner/g/*
    * Regenerated.
    ; TOFIX: Why is commented code in .qth spilling into generated code?

  * contrib/hbqt/qtcore/g/filelist.hbm
  * contrib/hbqt/qtcore/g/hbqtcore.h
    * Regenerated after prev commit.
2010-10-03 09:26:33 +00:00
Pritpal Bedi
02caeed65a 2010-10-02 23:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/g/filelist.hbm
  * contrib/hbqt/utils/qtcore.qtp
    ! Commented out not ready classes.
2010-10-03 06:28:41 +00:00
Pritpal Bedi
c8063b7f8b 2010-10-02 17:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idetools.prg

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs

  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/qth/HBQEvents.qth
  * contrib/hbqt/qtcore/qth/HBQSlots.qth
  * contrib/hbqt/qtcore/qth/HBQString.qth
  * contrib/hbqt/qtcore/qth/QAbstractEventDispatcher.qth
  * contrib/hbqt/qtcore/qth/QAbstractItemModel.qth
  * contrib/hbqt/qtcore/qth/QMetaObject.qth
  * contrib/hbqt/qtcore/qth/QMetaType.qth

  * contrib/hbqt/qtgui/qth/QBitmap.qth
  * contrib/hbqt/qtgui/qth/QBrush.qth
  * contrib/hbqt/qtgui/qth/QColor.qth
  * contrib/hbqt/qtgui/qth/QComboBox.qth
  * contrib/hbqt/qtgui/qth/QWidget.qth

  * contrib/hbqt/qtgui/THbQtUI.prg

  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptreeview.prg

  * contrib/hbqt/utils/hbqtgen.prg
    ! Changed: massively to produce optimized and 0 fault 
      tolerant code.

  * contrib/hbqt/qt*/*.cpp, *.prg, *.txt
    * Re-generated, whichever fall into above changes.

    This commit addresses a lot of issues:
      1. Parameters checking is now mandatory. You have to supply 
         the correct number of parameters. No defaults are assumed.
         PLUS you need to supply correct type of parameter.

      2. PRG class representation is changed.
         Now you can get fairly good documentation from looking 
         at the class declaration. You will never have to refer 
         the method body which has no meaning as such.
         Here is a snippet:

   METHOD  itemAbove                     // ( oQTreeWidgetItem )                               -> oQTreeWidgetItem
   METHOD  itemAt                        // ( oQPoint )                                        -> oQTreeWidgetItem
                                         // ( nX, nY )                                         -> oQTreeWidgetItem
   METHOD  itemBelow                     // ( oQTreeWidgetItem )                               -> oQTreeWidgetItem
   METHOD  itemWidget                    // ( oQTreeWidgetItem, nColumn )                      -> oQWidget
   METHOD  openPersistentEditor          // ( oQTreeWidgetItem, nColumn )                      -> NIL

         The methods with variable number and type of parameters
         are shown beneth first call.

      3. Accordingly, class_*.txt documentation is also updated. 

      4. A method call now never accepts a pointer, only an
         hbQT object. This fixes one/half of the issue - one sided.
         TODO: fix sending raw pointers to PRG code from C++ code.

         :-)) hbIDE is up and running with all its glory, no GPFs.
              Some regression would be possible but you will have 
              RTE popping up, so easily fixable.
2010-10-03 01:09:16 +00:00
Viktor Szakats
1badb86c78 2010-10-02 11:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added workaround for mingw compiler problem where it
      tends to leave zero byte long objects in cases when the
      build process gets (manually) aborted.
      Please check it and report any potential performace
      problems (hbmk2 needs to read the objects' size from
      the directory listing). Maybe we will need a Harbour
      function which returns both timestamp and size in one
      call.

  * contrib/hbodbc/todbc.prg
    - Deleted 'FROM HBCLASS' from class declarations.
      Thanks to Manu for the report.

  * contrib/hbxpp/dbfuncsx.prg
    + Added XPP_DBUSEAREA() which emulates non-Clipper compatible
      behavior of Xbase++ DBUSEAREA() implementation.
      Based on code and information sent by Shum

  * contrib/gtwvg/wvgwing.c
    ! Fixed compilation in newer BCC versions (6.3).
      Fix suggested by YD0DKL

  * package/winuni/mpkg_win_uni.bat
    + Added copyright msg.
2010-10-02 09:44:56 +00:00