Commit Graph

15304 Commits

Author SHA1 Message Date
Viktor Szakats
ab28161da8 2010-11-01 16:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * src/common/hbver.c
    + Added hb_verPlatformMacro(), which returns string as it appears
      in __PLATFORM__* macro.
      This function will have to be extended for each new platform
      Harbour is getting ported to.

  * src/pp/ppcore.c
    ! Changed to use hb_verPlatformMacro() value to form __PLATFORM__*
      macro, instead of using hb_verPlatform(), which offers no
      guarantee for the value on *nix systems and it's was hack
      on other platforms too (f.e. it got messed up when Windows
      version string was changed to show "wine" at the beginning
      of the human readable platform string).
    % Made forming of __PLATFORM__* macros simpler, using hb_snprintf().
    ! Now WINCE builds of pp will also defined __PLATFORM__WINDOWS.

  ; Please review/test.
2010-11-01 15:44:47 +00:00
Viktor Szakats
5e0daa68f6 2010-11-01 13:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/Makefile
  * src/vm/mainwin.c
  * src/vm/hvm.c
  * src/vm/cmdarg.c
  * src/vm/vmmt/Makefile
  * utils/hbmk2/hbmk2.prg
  * config/global.mk
  * config/cygwin/global.mk
    + Cygwin related patch from Tamas Tevesz.
      - Fixing cygwin dynamic lib name
      - Dynamic lib linking
      - defining __PLATFORM__CYGWIN in cross-platform builds

  * src/rtl/dateshb.c
  + tests/dttest.prg
    + HB_DATETIME() got new, optional nYear, nMonth, nDay, nHour, nMinute, nSecond, nFragment
      parameters. If passed, it will return date or timestamp based on passed parameters
      instead of current timestamp.
      Based on initiative and code by Carlos Bacco. Thank you!

  * contrib/hbsqlit3/hbsqlit3.c
    - Reverted UTF8 patch in 2010-11-01 00:05 UTC+0200.
    + Replaced above solution with transparent one, using
      Str API usage and extended it for all places where UTF8
      strings are expected or returned by sqlite3 API.
      Please test. This clears an old TOFIX.
    + Added TOFIX for raw pointer usage.

  * contrib/hbqt/qtgui/g/QApplication.cpp
  * contrib/hbqt/qtgui/qth/QApplication.qth
    ! Fixed to wrap one declaration in HB_EXTERN_BEGIN/END.
2010-11-01 12:58:15 +00:00
Petr Chornyj
4efa60fc31 2010-11-01 00:05 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* harbour/contrib/hbsqlit3/hbsqlit3.c
    * Changed syntax of sqlite3_exec() to
      sqlite3_exec( db, cSQLTEXT, [pCallbackFunc]|[cCallbackFunc], 
                    [lConvertSQLTextToUTF8], "cCDP" ) -> nResultCode
      From now we can replace
       cSQLTEXT := hb_strToUTF8( cSQLTEXT, "RU1251" )
       sqlite3_exec( db, cSQLTEXT ) 
      with 
       sqlite3_exec( db, cSQLTEXT, , .t., "RU1251" ) 
    * Changed syntax of sqlite3_bind_text(), sqlite3_column_text() 
      in such way
    * Changed sqlite3_bind_blob() according to sqlite3 docs.
2010-10-31 22:06:54 +00:00
Petr Chornyj
0353de304c 2010-10-31 22:50 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* harbour/src/rtl/hbinet.c
    ! HB_INETSERVER fixed to use parameters properly
      Syntax of HB_INETSERVER is
      hb_inetSrver( nPort, [pSocket | NIL], [cBindAddr], [nListenLimit] )
2010-10-31 20:53:09 +00:00
Przemyslaw Czerpak
fb2096982a 2010-10-31 13:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbhpdf/harupdf.c
    ! fixed typo
2010-10-31 12:11:53 +00:00
Viktor Szakats
e359ff6d2d 2010-10-29 21:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Applied cygwin patch from Tamas Tevesz.
    ! Few more cygwin related fixes here and there.
    + Added more cygwin related TOFIX notes.
2010-10-29 19:42:49 +00:00
Viktor Szakats
ce94984a36 2010-10-29 21:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    + Do not warn about or require HB_HOST_BIN when doing
      cygwin cross-builds.
2010-10-29 19:28:55 +00:00
Przemyslaw Czerpak
4acf8c4c16 2010-10-29 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbcom.c
    * added patches created by Tamas TEVESZ
      and default port name for AIX
2010-10-29 12:50:19 +00:00
Viktor Szakats
b39443ed81 2010-10-29 14:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Platform/compiler checks made robust and don't
      give match anymore for 'win' when checking it against
      'darwin' or 'cygwin'.

  * utils/hbmk2/hbmk2.prg
  * INSTALL
    * Updated to reflect that cygwin is now distinct platform.
      (TODO: examples)
2010-10-29 12:01:35 +00:00
Viktor Szakats
df3b848bf6 2010-10-29 10:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hb_io.h
  * include/hbthread.h
  * include/hbsetup.h
  * src/vm/thread.c
  * src/vm/dynlibhb.c
  * src/common/hbgete.c
  * src/common/hbprintf.c
  * src/rtl/gttrm/Makefile
  * src/rtl/hbsocket.c
  * src/rtl/filesys.c
  * src/rtl/hbcom.c
  * config/global.mk
  - config/win/cygwin.mk
  + config/cygwin
  + config/cygwin/libs.mk
  + config/cygwin/gcc.mk
  + config/cygwin/global.mk
    + Applied cygwin patch from Tamas Tevesz.
      The goal is to migrate win/cygwin to cygwin/gcc, IOW to make cygwin
      a distinct platform (which is primarily unixy with option to access 
      winapi) as it should be.
      Changes made by me compared to original patch:
        - Fixed to HB_HOST_PLAT stay 'win'. Cygwin is not a host platform.
        - Fixed to set HB_COMPILER to gcc and HB_PLATFORM to cygwin when cygwin
          is detected on win platform.
        - Consequently some changes in global.mk could be dropped.
        - Deleted hbcom patches not related to cygwin.
        - Removed hbmk2 patch until we solve the 'plat $ 'cygwin' problem.
2010-10-29 08:24:01 +00:00
Viktor Szakats
1d88e6f2f5 2010-10-29 09:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_misc.prg
    * Changed to not RTE when connecting to an already connected event.
      It will now return .F.. This emulates old behavior.
2010-10-29 07:37:30 +00:00
Viktor Szakats
0c6075fd5c 2010-10-29 01:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtwebkit/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtnetwork/hbqt_init.cpp
  * contrib/hbqt/qscintilla/hbqt_init.cpp
  * contrib/hbqt/qtuitools/hbqt_init.cpp
  * contrib/hbqt/qtdesigner/hbqt_init.cpp
    % Deleted unnecessary Harbour header #includes.
2010-10-28 23:13:07 +00:00
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