Commit Graph

15292 Commits

Author SHA1 Message Date
Viktor Szakats
fd7fafe596 2010-10-29 00:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    * __HBQT_SLOTS_DISCONNECT() - Fixed a variable name
      to match real content (slot -> pszSignal)
    % __HBQT_SLOTS_CONNECT() - Synced with disconnect,
      added local variable to avoid double hb_parcx() calls.
2010-10-28 22:52:23 +00:00
Viktor Szakats
7b9b7433c4 2010-10-29 00:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_os.prg
    * Reverted 2010-10-22 19:08 UTC+0200
      Turns out it was alright without the fix, as hb_osIsWinVista()
      returns .T. also for upper versions (win7) by design, so it was not 
      necessary to change it to win_osIsVistaOrUpper() hbwin specific call.
      Please double check it though, maybe I'm just too tired.
2010-10-28 22:24:21 +00:00
Viktor Szakats
738356ea9b 2010-10-28 23:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_misc.prg
    + Changed to not RTE when disconnecting not-connected
      event. It will instead return .F. now.
      To be consistent with slots in this regard.
    * Undone previous optimization after realizing that
      events and slots low-functiona return different error codes.
      It didn't cause any harm with current system though.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    % Optimized hb_snprintf() calls.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    * Formatting.

  * src/common/hbver.c
    * Name of SPARC adjusted. Thanks to Tamas Tevesz.
2010-10-28 21:52:34 +00:00
Viktor Szakats
d2a1f9c780 2010-10-28 19:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_misc.prg
    * Laxed the rules for handling low-level connect/disconnect errors.
      Now some cases will now RTE, some will return .F., some will get
      ignored and .T. returned. Please refine it as required.
    * Optimized :connect()/:disconnect()

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    ! __HBQT_SLOTS_CONNECT() fixed to check for codeblock parameter
      before actually making the connection on QT level.
      Hopefully this was not some intentional feature.

  * contrib/hbxbp/xbpmenubar.prg
    ! xbpMenuBar:delItem() fixed :disconnect() calls with wrong parameter.
      Blindish fix, pls review and test.
2010-10-28 17:31:43 +00:00
Viktor Szakats
2bb5b013c1 2010-10-28 16:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/tests/demoqt.prg
    ! Fixed wrong :connect call. Thanks to Tamas Tevesz for pinpointing it.

  - contrib/hbqt/tests/dialogqt.prg
    - Deleted files which doesn't compile since 1 year.
2010-10-28 14:20:22 +00:00
Przemyslaw Czerpak
9f25c8f605 2010-10-28 12:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbstrux.prg
  * harbour/contrib/hbtip/sendmail.prg
    * minor formatting
2010-10-28 10:45:14 +00:00
Viktor Szakats
c85d54e5f6 2010-10-28 12:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/utils/hbqtgen.prg
    + Generate REQUEST __HBQT<NAME> puller code to each class definition 
      .prg. This will ensure that lib init code will always automatically 
      run if any QT class is used by an application.

  * contrib/hbqt/*/g/*
    * Regenerated.

  * contrib/hbqt/tests/testres.prg
  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbqt/tests/dialogqt.prg
  * contrib/hbqt/tests/testbrow.prg
  * contrib/hbqt/tests/testqaim.prg
  * contrib/hbxbp/tests/demoxbp.prg
  * contrib/hbxbp/tests/dialogqt.prg
    - Deleted no more necessary REQUEST HB_QT and REQUEST HB_QTGUI 
      lines. INCOMPATIBLE: Please deleted these from your user code.
2010-10-28 10:27:55 +00:00
Viktor Szakats
f7554aa0e0 2010-10-28 11:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqtgui.hbm
  - contrib/hbqt/qtgui/hbqt_registersignals.cpp
  + contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbm
  + contrib/hbqt/qtwebkit/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqtcore.hbm
  - contrib/hbqt/qtcore/hbqt_registersignals.cpp
  + contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbm
  - contrib/hbqt/qtnetwork/hbqt_registersignals.cpp
  + contrib/hbqt/qtnetwork/hbqt_init.cpp
  * contrib/hbqt/qscintilla/hbqscintilla.hbm
  + contrib/hbqt/qscintilla/hbqt_init.cpp
  * contrib/hbqt/qtuitools/hbqtuitools.hbm
  + contrib/hbqt/qtuitools/hbqt_init.cpp
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbm
  + contrib/hbqt/qtdesigner/hbqt_init.cpp
    + Extended existing signal register init modules to 
      be generic lib level initialization ones.
    + Added such lib level init module to all remaining 
      HBQT libs.

  * contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbx
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbx
  * contrib/hbqt/qtuitools/hbqtuitools.hbx
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbx
    * Regenerated.

  * contrib/hbqt/hbqt_all.hbp
    + Enabled HBQTDESIGNER and HBQTWEBKIT libs.

  * contrib/hbqt/qtgui/qth/QApplication.qth
  * contrib/hbqt/qtgui/g/QApplication.cpp
  * contrib/hbqt/qtcore/qth/QCoreApplication.qth
  * contrib/hbqt/qtcore/g/QCoreApplication.cpp
    + Merged existing lib init functionality into 
      generic lib init code.

  * contrib/hbide/idemain.prg
    * Adapted to above changes.

  ; TODO: Add automatic references to puller symbols.
  ; TODO: Delete old explicit puller symbols.
2010-10-28 09:44:52 +00:00
Viktor Szakats
7feeb42ba8 2010-10-28 01:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_misc.prg
    ! Debug stuff left in.
2010-10-27 23:09:18 +00:00
Viktor Szakats
5813401685 2010-10-28 00:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
    + __HBQT_ERROR() accepts error code.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    + __HBQT_SLOTS_[DIS]CONNECT(),
      __HBQT_EVENTS_[DIS]CONNECT() will now return
      a numeric error code which is zero on success
      and a negative number on failure. Each failure
      case returns a distinct number.
    % Cleaned and simplified the code, though it's
      still very messy and it probably has some bad
      race conditions and other oddities also. Variable
      names also need a revamp to get consistent.
      Remove several TRACE calls, now the error ones
      should RTE.
    % Merged two internal worker functions into caller
      function.
    ! Fixed bad miss in hbqt_slots_unregister_callback().
      (It's not called in Harbour code yet)
      Thanks Francesco Perillo for spotting it.

  * contrib/hbqt/qtcore/hbqt_misc.prg
    * :connect()/:disconnect() will now throw RTEs
      in case any errors were detected. Can be fine
      tuned later, if needed.

  ; NOTE: Please contribute with code and patches as I have
          hardly much time to deal with complaints in detail.
          Peer-review is also highly welcome. commit mailing
          list is recommended to verify what has been changed.
2010-10-27 22:54:25 +00:00
Przemyslaw Czerpak
2ae8ae991d 2010-10-27 18:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
    - removed wrong ChangeLog entry committed unintentionally with previous
      commit

  * harbour/src/rdd/hbsix/sxcompat.prg
    ! fixed very old typo
2010-10-27 16:52:00 +00:00
Przemyslaw Czerpak
00cc4427ea 2010-10-27 18:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbcmd.c
    * modified FIELDGET() and FIELDPUT() to accept
      also field name (not only field index)
      just like DBFILEGET() and DBFILEPUT()
    * modified HB_FIELDLEN(), HB_FIELDDEC(), HB_FIELDTYPE() to accept
      also field name (not only field index)

  * harbour/contrib/hbfship/hbfship.hbp
  + harbour/contrib/hbfship/fldarr.prg
  + harbour/contrib/hbfship/isdb.prg
  + harbour/contrib/hbfship/isfunc.c
  + harbour/contrib/hbfship/isbegseq.c
  + harbour/contrib/hbfship/flddeci.c
    + added FlagShip compatible functions:
         FieldGetArr( [ <nRecNo> ] ) -> <aFieldValues>
         FieldPutArr( <aFieldValues> [, <nRecNo> ] ) -> <lSuccess>
         IsDbExcl() -> <lExclusive>
         IsDbFlock() -> <lFLocked>
         IsDbRLock( [ <xRec> ] ) -> <lLocked>
         IsFunction( <cName> ) -> <lExists>
         IsBegSeq() -> <lResult>
         FieldDeci( <cFieldName> | <nFieldPos> ) -> <nDecimals>

  * harbour/contrib/hbwin/axcore.c
    * minor cleanup - replaced some 0 values with S_OK macro
2010-10-27 16:30:54 +00:00
Viktor Szakats
0f4730b0dd 2010-10-27 17:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/tests/demoqt.prg
  * contrib/hbqt/tests/dialogqt.prg
    % Deleted unnecessary manifest constants for 
      signal names (used inconsistently).

  * contrib/hbxbp/tests/demoxbp.prg
  * contrib/hbxbp/tests/dialogqt.prg
    % Deleted unnecessary synonym for HB_SYMBOL_UNUSED().
2010-10-27 15:46:20 +00:00
Viktor Szakats
872abe845b 2010-10-27 05:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gete.c
    % Optimization to GETENV()/HB_GETENV(). Patch by Tamas Tevesz.
    + Added more details to comment on why it's needed to strip '='
      part from envvar name.

  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbqt/tests/dialogqt.prg
  * contrib/hbqt/tests/testqaim.prg
    ! Fixed external files' references to use executable's
      directory as a base, instead of current dir.

  * contrib/hbhpdf/harupdf.c
    ! HPDF_Page_CreateStampAnnot(): Fixed wrongly passed 3rd parameter.

  * contrib/hbssl/evpmd.c
    ! EVP_SIGNFINAL(): Fixed wrong returned buffer size.

  * config/postinst.hbs
    * Implemented GetEnv() caching, based on patch sent by
      Tamas Tevesz and further optimized.
2010-10-27 03:23:49 +00:00
Przemyslaw Czerpak
5afc7f78ad 2010-10-25 17:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbjson.c
    * modified the if() condition to pacify some compiler warnings
2010-10-25 15:20:28 +00:00
Przemyslaw Czerpak
b762a398eb 2010-10-25 15:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbstrfmt.c
    + added support for 'x' and 'X' specifiers in hb_strFormat() function
2010-10-25 13:21:18 +00:00
Viktor Szakats
421ee95b4f 2010-10-25 13:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqt_registersignals.cpp
  * contrib/hbqt/qtcore/hbqt_registersignals.cpp
  * contrib/hbqt/qtnetwork/hbqt_registersignals.cpp
    + Added TOFIX notes to each hb_vmPushPointer() calls.
2010-10-25 11:31:46 +00:00
Viktor Szakats
98a0acb5ed 2010-10-25 12:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    ! Fixed to use hb_snprintf() instead of unsafe sprintf().
    ! Fixed __HBQT_SLOTS_CONNECT() to not accept non-blocks as
      handlers.
    ! __HBQT_SLOTS_CONNECT() fixed to use its own function name
      in generated RTE, instead of "CONNECT" string which might
      not be easily located.
    ; TODO: Maybe it'd be even better to throw the RTE from the 
            wrapper class.
    - Deleted commented lines.
    * Formatted according to Harbour stds.
2010-10-25 10:12:25 +00:00
Pritpal Bedi
b76721ea2f 2010-10-25 01:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/g/QApplication.cpp
    - Deleted: debug info remain hanging in last commit.
2010-10-25 09:01:29 +00:00
Pritpal Bedi
0162088100 2010-10-25 01:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  + contrib/hbqt/qtcore/hbqt_registersignals.cpp
  * contrib/hbqt/qtcore/hbqtcore.hbc
  * contrib/hbqt/qtcore/hbqtcore.hbm
  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtgui/g/QApplication.cpp
  + contrib/hbqt/qtgui/hbqt_registersignals.cpp
  * contrib/hbqt/qtgui/hbqtgui.hbm
  * contrib/hbqt/qtgui/hbqtgui.hbx
  + contrib/hbqt/qtnetwork/hbqt_registersignals.cpp
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbm
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbx
    + Implemented: module specific signal/slots mechanism.
      Now each module contains its own signals. The basic 
      patch was forwarded by Viktor, cheer him.

  * contrib/hbide/idemain.prg
    + Added: REQUEST __HBQT_REGISTERCORECALLBACKS
             REQUEST __HBQT_REGISTERGUICALLBACKS
             REQUEST __HBQT_REGISTERNETWORKCALLBACKS
      I know this is a hack and can be removed once this new protocol
      is fine tuned, so, so long.
2010-10-25 08:58:09 +00:00
Pritpal Bedi
4623ea4020 2010-10-24 13:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    - Disabled: QtNetwork module related signals.
      It was causing circulary dependencies of Qt* libs.
2010-10-24 22:21:31 +00:00
Pritpal Bedi
20c0c74db4 2010-10-24 13:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    + Implemented: remaining signals from all classes included in hbQT.
      It also include all signals related to QWebKit though any 
      component of this module is not referenced at all.

    + Implemented: another very sleak and manageable design.
2010-10-24 20:38:14 +00:00
Pritpal Bedi
ba2d781456 2010-10-23 11:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/doc/en/class_hbqslots.txt
  * contrib/hbqt/qtcore/g/HBQSlots.cpp
  * contrib/hbqt/qtcore/g/THBQSlots.prg
  * contrib/hbqt/qtcore/qth/HBQSlots.qth
    - Deleted: unused methods.

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.h
    - Deleted: unused methods. 
    ! Fixed: wrong notations: "QModel" => "QModelIndex"
      
    Signal/Slots are now bare sleek and scalable.
2010-10-23 18:37:12 +00:00
Pritpal Bedi
44ed028037 2010-10-23 11:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideshortcuts.prg

  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpprintdialog.prg
  * contrib/hbxbp/xbptreeview.prg
    ! Changed: :connect( "QClass *", ... ) => :connect( "QClass*", ... )
      This way we are uniform with signal notation also confirm to Qt protocol.
2010-10-23 18:09:31 +00:00
Pritpal Bedi
17ee6ad00d 2010-10-23 10:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
    ! Fixed: QMdiSubWindow => QMdiSubWindow * global replacement was wrong.
2010-10-23 17:32:28 +00:00
Viktor Szakats
1b3d765d62 2010-10-23 18:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbhpdf/harupdf.c
    ! Newly added 2.2.0 wrapper code protected with version guards.
      Added fallback code for older versions.
    ; TODO: Split the wrapper into separate files to save final 
            binary size.
2010-10-23 16:46:59 +00:00
Pritpal Bedi
9c9d0c6d2d 2010-10-23 09:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbhpdf/harupdf.c
    + Added: following functions contained in LibHaru 2.2.0:
        HPDF_GetContents
        HPDF_CheckError
        HPDF_Page_SetZoom
        HPDF_Page_CreateFreeTextAnnot
        HPDF_Page_CreateLineAnnot
        HPDF_Page_CreateTextMarkupAnnot
        HPDF_Page_CreateHighlightAnnot
        HPDF_Page_CreateUnderlineAnnot
        HPDF_Page_CreateSquigglyAnnot
        HPDF_Page_CreateStrikeOutAnnot
        HPDF_Page_CreatePopupAnnot
        HPDF_Page_CreateStampAnnot
        HPDF_Page_CreateSquareAnnot
        HPDF_Page_CreateCircleAnnot
        HPDF_Annot_SetRGBColor
        HPDF_Annot_SetCMYKColor
        HPDF_Annot_SetGrayColor
        HPDF_Annot_SetNoColor
        HPDF_MarkupAnnot_SetTitle
        HPDF_MarkupAnnot_SetSubject
        HPDF_MarkupAnnot_SetCreationDate
        HPDF_MarkupAnnot_SetTransparency
        HPDF_MarkupAnnot_SetIntent
        HPDF_MarkupAnnot_SetPopup
        HPDF_MarkupAnnot_SetRectDiff
        HPDF_MarkupAnnot_SetCloudEffect
        HPDF_MarkupAnnot_SetInteriorRGBColor
        HPDF_MarkupAnnot_SetInteriorCMYKColor
        HPDF_MarkupAnnot_SetInteriorGrayColor
        HPDF_MarkupAnnot_SetInteriorTransparent
        HPDF_TextMarkupAnnot_SetQuadPoints
        HPDF_Annot_Set3DView
        HPDF_PopupAnnot_SetOpened
        HPDF_FreeTextAnnot_SetLineEndingStyle
        HPDF_FreeTextAnnot_Set3PointCalloutLine
        HPDF_FreeTextAnnot_Set2PointCalloutLine
        HPDF_FreeTextAnnot_SetDefaultStyle
        HPDF_LineAnnot_SetPosition
        HPDF_LineAnnot_SetLeader
        HPDF_LineAnnot_SetCaption
        HPDF_Annotation_SetBorderStyle
        HPDF_Page_Create3DView
        HPDF_LoadPngImageFromMem
        HPDF_LoadJpegImageFromMem
        HPDF_Image_AddSMask
        HPDF_AttachFile
        HPDF_ICC_LoadIccFromMem
        HPDF_LoadIccProfileFromFile

      Not tested yet. Witll update the demo code later.
2010-10-23 16:19:14 +00:00
Viktor Szakats
404821f0b5 2010-10-23 16:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    ! Deleted hack to centrally manipulate non-standard slot
      names used in app level code:
      "QWidget"       -> "QWidget *"
      "QPrinter"      -> "QPrinter *"
      "QLWItem"       -> "QListWidgetItem *"
      "QTWItem"       -> "QTreeWidgetItem *"
      "QTblWItem"     -> "QTableWidgetItem *"
      "QMdiSubWindow" -> "QMdiSubWindow *"

  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpprintdialog.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
    ! Fixed to use standard slot names.
2010-10-23 14:45:20 +00:00
Viktor Szakats
304501e472 2010-10-23 16:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtgui/THbQtUI.prg
    * Renamed HbQtUI2 class to HbQtUI.

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
    * Changed code generared for .ui embedding to use
      new, cleaned HbQtUI object.
    ; TODO: Fix user code to not access HbQtUI internal
            variables.

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.h
    - Deleted old monolithic code.
    - Deleted eval callback variation (it was disabled).
    % Cleaned headers.
    ; TODO: Dynamically register the callbacks, so we can finally
            delete QtGui references from this code.

  * contrib/hbqt/qtcore/hbqtcore.hbm
    % Do not include hbqt_hbqslots.h anymore.

  * contrib/hbqt/qtuitools/hbqtuitools.hbx
  * contrib/hbqt/qtuitools/THbQtUILoader.prg
    * Renamed HbQtUI class to HbQtUILoader.
    + Added TOFIX to change this class to inherit from HbQtUI.
    ; INCOMPATIBLE: If you use HbQtUI class to load on-disk .ui or .uic
                    files, update your code to use HbQtUILoader().
    ; NOTE: hbide must be clean built. (and all other apps that
            are embedding .ui files)
2010-10-23 14:31:00 +00:00
Viktor Szakats
1f7941eeeb 2010-10-23 14:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/libhpdf.dif
    * Patched up the diff file, fixing previous problem and applying
      recent local change. Thanks to Tamas Tevesz for this patch.
2010-10-23 12:16:48 +00:00
Viktor Szakats
f7cc7190bf 2010-10-23 13:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/hpdfpdfa.c
    ! Fixed C++ variable declraration.
    ; NOTE: Could not rediff because the newly added hpdfpdfa.c file 
            is missing from the diffing process. Also current .diff 
            appears to contain some invalid diffs for this file.
2010-10-23 11:28:05 +00:00
Viktor Szakats
0074d4520f 2010-10-23 11:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/encqp.prg
    * QP decoder will now accept LF EOLs (to work well with
      non-compliant mailers).

  * external/libhpdf/hpdfpags.h
  * external/libhpdf/hpdffdfb.c
  * external/libhpdf/hpdfxref.c
  * external/libhpdf/hpdfcons.h
  * external/libhpdf/hpdfextg.c
  * external/libhpdf/hpdfencc.c
  * external/libhpdf/hpdffdfj.c
  + external/libhpdf/hpdfpdfa.c
  * external/libhpdf/hpdfextg.h
  * external/libhpdf/hpdfstre.c
  * external/libhpdf/hpdffdfn.c
  + external/libhpdf/hpdfpdfa.h
  * external/libhpdf/hpdffdf1.c
  * external/libhpdf/hpdfenck.c
  * external/libhpdf/hpdfstri.c
  * external/libhpdf/hpdfstre.h
  * external/libhpdf/hpdffdft.c
  * external/libhpdf/hpdfoutl.c
  * external/libhpdf/hpdfenco.c
  * external/libhpdf/hpdfecyd.c
  * external/libhpdf/hpdfimap.c
  * external/libhpdf/hpdfoutl.h
  * external/libhpdf/hpdfenco.h
  * external/libhpdf/Makefile
  * external/libhpdf/hpdffond.h
  * external/libhpdf/hpdfency.h
  * external/libhpdf/hpdffon1.c
  * external/libhpdf/hpdffont.c
  * external/libhpdf/hpdfcata.c
  * external/libhpdf/hpdffont.h
  * external/libhpdf/hpdfutil.c
  * external/libhpdf/hpdfcata.h
  * external/libhpdf/hpdfutil.h
  * external/libhpdf/hpdfdict.c
  * external/libhpdf/hpdfreal.c
  * external/libhpdf/hpdfarra.c
  * external/libhpdf/hpdfdocp.c
  * external/libhpdf/libhpdf.dif
  * external/libhpdf/hpdfconf.h
  * external/libhpdf/hpdfinfo.c
  * external/libhpdf/hpdfanno.c
  * external/libhpdf/hpdfgsta.c
  * external/libhpdf/hpdfdest.c
  * external/libhpdf/hpdfinfo.h
  * external/libhpdf/hpdfanno.h
  * external/libhpdf/hpdfnumb.c
  * external/libhpdf/hpdffdfc.c
  * external/libhpdf/hpdfgsta.h
  * external/libhpdf/hpdfdest.h
  * external/libhpdf/hpdfdoc.c
  * external/libhpdf/hpdferro.c
  * external/libhpdf/hpdffdfi.c
  * external/libhpdf/hpdfbina.c
  * external/libhpdf/hpdfdoc.h
  * external/libhpdf/hpdffdfk.c
  * external/libhpdf/hpdflist.c
  * external/libhpdf/hpdferro.h
  * external/libhpdf/hpdfimag.c
  * external/libhpdf/hpdfencj.c
  * external/libhpdf/hpdflist.h
  * external/libhpdf/hpdfecy.c
  * external/libhpdf/hpdfimag.h
  * external/libhpdf/hpdfencn.c
  * external/libhpdf/hpdffonc.c
  * external/libhpdf/hpdfu3d.c
  * external/libhpdf/hpdfencr.h
  * external/libhpdf/hpdffdf.c
  * external/libhpdf/hpdfu3d.h
  * external/libhpdf/hpdfmmgr.c
  * external/libhpdf/hpdfmmgr.h
  * external/libhpdf/hpdfnull.c
  * external/libhpdf/README
  * external/libhpdf/hpdffott.c
  * external/libhpdf/hpdfpage.c
  + external/libhpdf/hpdfndic.c
  * external/libhpdf/hpdfobje.c
  * external/libhpdf/hpdfname.c
  * external/libhpdf/hpdfpage.h
  + external/libhpdf/hpdfndic.h
  * external/libhpdf/hpdf.h
  * external/libhpdf/hpdfobje.h
  * external/libhpdf/hpdfvers.h
  * external/libhpdf/hpdfpago.c
  * external/libhpdf/hpdftype.h
  * external/libhpdf/hpdfpags.c
  * external/libhpdf/hpdfbool.c
    + libharu updated to official 2.2.0 release (from 2.1.0).
      Patch sent by Tamas Tevesz.
    * Added new files to Makefile.
2010-10-23 09:07:01 +00:00
Przemyslaw Czerpak
e843518d1a 2010-10-23 10:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/external/zlib/zlib.dif
    * regenerated .diff file - many thanks to Tamas Tevesz for very
      nice tool which automates this process
2010-10-23 08:40:46 +00:00
Przemyslaw Czerpak
5ade4143ba 2010-10-23 09:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/video.c
    * updated to compile with DJGPP 2.03
2010-10-23 07:36:17 +00:00
Przemyslaw Czerpak
3eda178850 2010-10-23 09:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/external/zlib/zutil.h
  * harbour/external/zlib/gzguts.h
    * disable vsnprintf() in DOS builds only for DJGPP 2.03 or earlier
    ! reenabled #include <io.h> in DOS builds - it was disabled by our
      local modifications
    TODO: regenerate .diff file

  * harbour/contrib/hbssl/hbssl.hbc
    * moved 'skip={dos}' after 'incpaths=.' as workaround for
      broken DOS build process at hbtipssl
2010-10-23 07:16:25 +00:00
Przemyslaw Czerpak
90f2f097ef 2010-10-23 08:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbcom.c
    ! fixed path to PMCOM header files
2010-10-23 06:20:58 +00:00
Mindaugas Kavaliauskas
8d19033374 2010-10-24 02:21 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/rtl/hbjson.c
    + added support for date and timestamp type encoding
2010-10-22 23:23:19 +00:00
Mindaugas Kavaliauskas
c7c5d14460 2010-10-24 02:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/rtl/hbjson.c
    + added human readable JSON encoding support
        char * hb_jsonEncode( PHB_ITEM pValue, HB_SIZE * pnLen, HB_BOOL fHuman );
        hb_jsonEncode( xValue [, lHuman = .F. ] ) --> cJSON
    ! removed UTF8 encoding from JSON functions. These function should 
      return/accept data in VM codepage, just like any other string 
      function. If JSON string is to be stored as some binary stream 
      (ex., file), HB_StrToUTF8() should be applied on the hb_jsonEncode() 
      result. This conversion removal fixes code when returned JSON string is used 
      not as a binary stream. Ex.:
        oIE:document:getElementById("data_div"):innerHtml := hb_jsonEncode(xValue)
2010-10-22 23:10:37 +00:00
Mindaugas Kavaliauskas
a6e74ed2b9 2010-10-23 21:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
- harbour/include/hbnsctp.ch
  - harbour/include/hbnsctp.h
  - harbour/src/rtl/hbnsctp.c
  - harbour/src/rtl/hbnsctph.c
  + harbour/include/hblpp.ch
  + harbour/include/hblpp.h
  + harbour/src/rtl/hblpp.c
  + harbour/src/rtl/hblpphb.c
  * harbour/src/rtl/Makefile
    * NSCTP -> LPP
2010-10-22 18:16:35 +00:00
Viktor Szakats
931b46fe6c 2010-10-23 19:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_os.prg
    ! Fixed all Vista stuff to also apply to above Vista.
2010-10-22 17:08:40 +00:00
Pritpal Bedi
1597e6542f 2010-10-22 10:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.hbp
    ! -3rd=file=   =>   -3rd=hbide_file=

  * contrib/hbide/ideprojmanager.prg
    ! A little fix for -3rd=file=   =>   -3rd=hbide_file=.
2010-10-22 17:03:44 +00:00
Pritpal Bedi
e3bb08635c 2010-10-22 09:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
    ! Fixed: :stretchLastSection() => :setStretchLastSection().
2010-10-22 16:51:58 +00:00
Viktor Szakats
89aa13879a 2010-10-22 18:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
    * -3rd=file= -> -3rd=hbide_file=
    ; Pls test and correct me if needed.
2010-10-22 16:46:15 +00:00
Pritpal Bedi
cc3e8ee977 2010-10-22 09:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idemisc.prg
    ! Fixed: a possible bug where .h files included in .hbp were 
      not guarded against -3rd=file=.
2010-10-22 16:34:34 +00:00
Viktor Szakats
5fa2a6c070 2010-10-22 17:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_os.prg
    + WIN_OSNETREGOK() extended to disable some SMB2 internal caches,
      which if left on default might cause db corruption on Vista
      and above systems.

  * include/hbnsctp.ch
    + Added comment that the file is used by C code.
2010-10-22 15:49:50 +00:00
Przemyslaw Czerpak
6dc33b15c3 2010-10-22 15:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/external/Makefile
  + harbour/external/hbpmcom
  + harbour/external/hbpmcom/Makefile
  + harbour/external/hbpmcom/wrap_ow.c
  + harbour/external/hbpmcom/com.c
  + harbour/external/hbpmcom/irq.h
  + harbour/external/hbpmcom/irq_ow.c
  + harbour/external/hbpmcom/irq_g.c
  + harbour/external/hbpmcom/com.h
  + harbour/external/hbpmcom/wrap_g.sx
  + harbour/external/hbpmcom/irqwrap.h
  + harbour/external/hbpmcom/doc
  + harbour/external/hbpmcom/doc/readme.txt
  + harbour/external/hbpmcom/doc/com.txt
    + added PMCOM library - RS-232 DOS communication library by Peter Marinov.
      The original PMCOM 1.0 library has not been updated for very long
      time and this code is quite strongly modified so I haven't tried to
      generate any .diff files. I do not think it will be possible to make
      autoamtic merege with newwer version (if any appears).
      This is also the reason I decided to use HBPMCOM name instead of
      PMCOM to avoid potential conflicts with some local versions of
      this library.
      TODO: add support for flow control - now flow control functions are
            dummy and do not enable any handshaking.

  * harbour/src/rtl/hbcom.c
  * harbour/config/dos/watcom.mk
  * harbour/config/dos/djgpp.mk
    + added support for serial port in DOS builds (hb_com*() PRG and C API)
      using HBPMCOM library.
2010-10-22 13:09:55 +00:00
Przemyslaw Czerpak
5e85f8e844 2010-10-22 14:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/fm.c
    * added workaround for some compiler which defines FORCEINLINE
      macro with 'extern' keyword (i.e. some MinGW versions).

  * harbour/contrib/rddads/rddads.h
    * added workaround for some MinGW versions which do not understand
      _declspec() but only __declspec()
2010-10-22 12:29:53 +00:00
Przemyslaw Czerpak
ef2d74889f 2010-10-22 11:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtwvt/gtwvt.c
    ! use ERROR_CLASS_ALREADY_EXISTS instead of hardcoded 1410 value
    * allow to use GTWVT in programs linked as non GUI ones
      (console programs)
2010-10-22 09:24:34 +00:00
Pritpal Bedi
d40c77876e 2010-10-22 01:39 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/g/HBQString.cpp
  * contrib/hbqt/qtcore/g/QAbstractItemModel.cpp
  * contrib/hbqt/qtcore/g/QAbstractListModel.cpp
  * contrib/hbqt/qtcore/g/QAbstractTableModel.cpp
  * contrib/hbqt/qtcore/g/QByteArray.cpp
  * contrib/hbqt/qtcore/g/QSettings.cpp
  * contrib/hbqt/qtcore/g/QUrl.cpp
  * contrib/hbqt/qtgui/g/HBQAbstractItemModel.cpp
  * contrib/hbqt/qtgui/g/QComboBox.cpp
  * contrib/hbqt/qtgui/g/QCompleter.cpp
  * contrib/hbqt/qtgui/g/QDirModel.cpp
  * contrib/hbqt/qtgui/g/QGraphicsItem.cpp
  * contrib/hbqt/qtgui/g/QGraphicsLayoutItem.cpp
  * contrib/hbqt/qtgui/g/QGraphicsScene.cpp
  * contrib/hbqt/qtgui/g/QGraphicsView.cpp
  * contrib/hbqt/qtgui/g/QIcon.cpp
  * contrib/hbqt/qtgui/g/QImage.cpp
  * contrib/hbqt/qtgui/g/QPainter.cpp
  * contrib/hbqt/qtgui/g/QPainterPath.cpp
  * contrib/hbqt/qtgui/g/QPixmap.cpp
  * contrib/hbqt/qtgui/g/QStandardItemModel.cpp
  * contrib/hbqt/qtgui/g/QStringListModel.cpp
  * contrib/hbqt/qtgui/g/QTextDocument.cpp
  * contrib/hbqt/qtnetwork/g/QNetworkRequest.cpp
  * contrib/hbqt/qtwebkit/g/QWebFrame.cpp
  * contrib/hbqt/qtwebkit/g/QWebView.cpp
    * Re-generated: HB_ISPOINTER => HB_ISOBJECT.

  * contrib/hbqt/utils/hbqtgen.prg
    ! Fixed: for HB_ISPOINTER => HB_ISOBJECT in C++ code.
2010-10-22 08:43:51 +00:00
Pritpal Bedi
6d3a5d55d8 2010-10-22 01:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/projectpropertiesex.ui
    % Rearranged: tab names in accordance with new Project Management.

  * contrib/hbide/hbide.hbp
    ! Loaded in hbIDE, added hbide.ch, and saved.

  * contrib/hbide/idemain.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
    + Implemented: in-demand-since-begining feature to contain 
      anciallary files within the project tree but still keeping 
      compatibility with hbMK2. Also to have single project 
      file with all its contents intact, for GUI and command line
      interface.
      
      It is how it is achieved: a .hbp is loaded in HBP tab "as is"
      except stripping the header part which is readded when the 
      project is saved. The header part is comprised of :
        #
        # $Id$
        #
        
        -3rd=hbide_* contents.

      Rest whole of the on-disk contents of .hbp are made available 
      for editing. When a source is added via Add button, it is checked 
      if it is a compilable source. If not then "-3rd=file=" + filename
      is added at the bottom.

      Compilable sources are recognized by extention:
        ".c,.cpp,.prg,.hbs,.rc,.res,.hbm,.hbc,.qrc,.ui"
      If any is missing, please shout.
      TODO: user defined list of extentions for this purpose.

      The project tree is now more organized and is listed sorted 
      on extention and filename. User can easily locate the source 
      of interest and click to bring it into the editor.

      Please test extensively, I might have left new bugs for sure.
2010-10-22 08:18:12 +00:00