Commit Graph

6343 Commits

Author SHA1 Message Date
Pritpal Bedi
99a0e2337f 2012-06-27 23:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QTimer.qth
    ! Removed: :singleShot() method as it cannot be implemented 
       as per documented because of how signal/slots are implemented
       in Harbour. Instead, use code like this ( courtesy Ligui ):
          ::oQtSingleShot := QTimer( ::oQtObject )
          ::oQtSingleShot:setSingleShot( .T. )
          ::oQtSingleShot:setInterval( 0 )
          ::oQtSingleShot:connect( "timeout()", { || ::__OnReadyExec() } )
          ::oQtSingleShot:start()
2012-06-28 06:12:24 +00:00
Viktor Szakats
edf8e486b9 2012-06-26 22:44 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhberr.prg
    ! typo in prev commit
2012-06-26 20:45:16 +00:00
Viktor Szakats
bcede0dabb 2012-06-26 20:37 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/tfile.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbtedit.prg
    ! unicode compatibility patches. build tested only. review me 
      and continue.

  * examples/hbdoc/genhtml.prg
  * examples/hbdoc/hbdoc.prg
    ! fixed regression from 2012-06-11 15:31 UTC+0200
    + changed to generate HTML5 compliant HTML output
2012-06-26 18:39:04 +00:00
Viktor Szakats
de8d4bed3a 2012-06-26 15:54 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/sddmy/tests/test1.prg
  * contrib/sddoci/tests/test1.prg
  * contrib/sddodbc/tests/test1.prg
  * contrib/sddodbc/tests/test2.prg
  * contrib/sddsqlt3/tests/test1.prg
    * formatting
2012-06-26 13:54:51 +00:00
Pritpal Bedi
adfeaabf59 2012-06-25 09:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    ! Fixed: a heavy memory leak and optimization in event handelling.
2012-06-25 16:55:39 +00:00
Viktor Szakats
072b90b2be 2012-06-25 12:09 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/decode.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/hbcompat.ch
  * contrib/xhb/regexrpl.prg
    % using HB_IS*() functions.
    * formatting
2012-06-25 10:11:12 +00:00
Pritpal Bedi
9ceada7183 2012-06-23 10:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    ! Fixed: to handle QList<Q*object> implementation.

  * contrib/hbqt/qtcore/qth/QMimeData.qth
    - Deleted: Harbour specific hbUrls() method not needed now.
2012-06-23 17:56:08 +00:00
Pritpal Bedi
dfa6809980 2012-06-23 03:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_bind.cpp
    ! Simplified: hbqt_bindDestroyHbObject/QtObject.
2012-06-23 10:46:05 +00:00
Pritpal Bedi
97ff0a1542 2012-06-22 21:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QClipboard.qth
    ! Fixed: constructor respecting previous commit.
2012-06-23 04:48:09 +00:00
Pritpal Bedi
a4beb6a684 2012-06-22 15:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    ! Optimized to not add code for constructors which do not 
       have Qt objects. Results can be viewed in QLibraryInfo.cpp.
2012-06-22 22:12:00 +00:00
Pritpal Bedi
e90001c8ca 2012-06-22 12:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_init.cpp
    - Removed: a hack introduced some months back where 
       C++ static items were held in a list them released
       at exit of an application. This was double work and 
       now is not needed at all.

  * contrib/hbqt/qtcore/hbqt_bind.cpp
    - Reverted: last fix where <qtObject> was compared against 
       a numeric, which, BTW was a stupid implementation.
       A pointer casted to a numeric is always true.

  * contrib/hbqt/qtgui/hbqt_init.cpp
    - Deleted: deleting the QApplication object.
       It was breaking such code:
         oWnd:connect( QEvent_Close, {|| QApplication():quit() } )
         QApplication():exec()
       the reason was any code executed after 
       QApplication():quit() was rendered unexcutable because 
       appln was forced to stop execution.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    + Reintroduced: QEvent_Close's return value to true.
       It is necessary to intercept this event at appln level.

  * contrib/hbqt/qtcore/qth/QLibraryInfo.qth
  * contrib/hbqt/qtgui/qth/QDesktopServices.qth
    + Reworked: constructors. 
       Previous implementation was wrong.
       Applied Francesco's thought and it worked, thanks.

  * contrib/hbqt/qtgui/qth/QSound.qth
    + Added: two slot methods.
2012-06-22 20:02:12 +00:00
Pritpal Bedi
c465edaeed 2012-06-21 22:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
    ! Fixed: one more QIcon() regression, though not used.

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    ! Fixed: to pass correct class name for some type of slots
       <pList> in constructors.
2012-06-21 17:45:38 +00:00
Pritpal Bedi
17385d0aba 2012-06-20 19:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_bind.cpp
    ! Organized: tracelog entries.

  * contrib/hbqt/qtgui/THbQtUI.prg
    - Deleted: DESTRUCTOR _destroy().
2012-06-21 02:59:49 +00:00
Pritpal Bedi
7065ffaa42 2012-06-20 18:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QDataStream.qth
  * contrib/hbqt/qtcore/qth/QEventLoop.qth
  * contrib/hbqt/qtcore/qth/QResource.qth
  * contrib/hbqt/qtcore/qth/QSettings.qth
  * contrib/hbqt/qtgui/qth/QCompleter.qth
  * contrib/hbqt/qtgui/qth/QFontDialog.qth
  * contrib/hbqt/qtgui/qth/QFontMetrics.qth
  * contrib/hbqt/qtgui/qth/QFontMetricsF.qth
  * contrib/hbqt/qtgui/qth/QGraphicsLinearLayout.qth
  * contrib/hbqt/qtgui/qth/QGraphicsProxyWidget.qth
  * contrib/hbqt/qtgui/qth/QGraphicsView.qth
  * contrib/hbqt/qtgui/qth/QSlider.qth
  * contrib/hbqt/qtgui/qth/QSystemTrayIcon.qth
  * contrib/hbqt/qtgui/qth/QWindowStateChangeEvent.qth
    ! Fixed: wrong "else if" in constructors. 
       Now all classes has been scanned for this regression.
       Please report if you find something weired still.
2012-06-21 01:51:06 +00:00
Pritpal Bedi
876106d3ef 2012-06-20 17:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_bind.cpp
  * contrib/hbqt/qtcore/qth/QLibraryInfo.qth
  * contrib/hbqt/qtgui/qth/QDesktopServices.qth
    ! Implemented: mechanism to generate a Harbour level class 
       without the need of a Qt level object for those classes 
       where methods are executed by Qt code only.
       This fixes the bug issue reported by Ligui.
2012-06-21 00:35:21 +00:00
Pritpal Bedi
4a6c67d590 2012-06-20 16:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_bind.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
    + Implemented: DESTRUCTOR FUNCTION <somePrgOrCFunc()>

  * contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
    ! Fixed: some rare signals issued by Qt with NULL pointers.
       This fixes regression reported on user-list a few days back.
       And probably fixes many-many unexplained GPF's.
2012-06-20 23:36:26 +00:00
Pritpal Bedi
49f53c01bc 2012-06-20 07:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QDateEdit.qth
  * contrib/hbqt/qtgui/qth/QDateTimeEdit.qth
  * contrib/hbqt/qtgui/qth/QTimeEdit.qth
    ! Fixed: wrong "else if" in constructors.
2012-06-20 14:57:27 +00:00
Pritpal Bedi
c17445d998 2012-06-20 07:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/idetools.prg
  * contrib/hbide/idewizard.prg
    ! Fixed: remaining QIcon() specific regression.
2012-06-20 14:34:56 +00:00
Pritpal Bedi
3e549d0027 2012-06-19 21:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_bind.cpp
    + Implemented: Events, Slots, Destroyers on thread level.
        Previously those were created per object level. This greatly 
        decreased the os-resource count and also simplifies the code.
        Thanks to Przemek for the tip.

    + Implemented: release of all objects per thread level.
        hbQT employs internal counter to identify threads.
        All widgets are created in one global list which has 
        made it possible to use Qt's blocking widgets, like 
        QMessageBox, in Harbour MT applications. It seems that 
        Qt looks for the event processing only in main appln
        thread and hence these widgets were not usable in 
        other threads. The testbed is hbqt/tests/demoqt.prg 
        which is now multithreaded. You check it with 
        menu option <Dialog><Another Dialog>.

    + Formatting: in tracelog entries.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    - Commented out: a hack where QClosEvent was being treated 
      differently then other events.

  * contrib/hbqt/tests/demoqt.prg
    * Parented: QMessageBox() ( Read below )

  * contrib/hbide/idedocks.prg
    - Removed: one hack which at begining was there to activate 
       QMainWindow's docking area resizable.

  * contrib/hbide/idemain.prg
    + Changed: ::cWrkCodec to be "EN" by default.
       It fixes recent regression in hbIDE for certain users.

  * contrib/hbide/idemisc.prg
    * Parented: QMessageBox() should always be constructed with a 
       parent because of special handelling of blocking dialog 
       where parent is treated slightly different than other 
       Qt widgets. This fixes a long-standing bug in hbIDE where
       appnl was rendered in indefinite loop when "X" button 
       was employed to terminate and confirm dialog would 
       not be terminated internally.
         So for QMessageBox() and, to be on the safer side, all 
         widets derived from QDialog() should be constructed 
         with a parent and at the end be reparented with a 
         just-to-be-deleted-QWidget(), like:
           oMB := QMessageBox( oParent )
            ...
           oMB:setParent( QWidget() )
           RETURN something
2012-06-20 05:03:46 +00:00
Viktor Szakats
413c2b4f74 2012-06-19 12:21 UTC+0200 Viktor Szakats (harbour syenar.net)
+ contrib/hbsqlit3/tests/pngtest.png
    ! added missing file for test code

  * contrib/hbsqlit3/tests/authoriz.prg
  * contrib/hbsqlit3/tests/blob.prg
    * formatting
2012-06-19 10:24:06 +00:00
Przemyslaw Czerpak
050a58456e 2012-06-19 08:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/common/hbffind.c
    * ulAttr -> nAttr
    + added support for softlinks in * nix systems.
      Now they are reported with "L" attribute by directory() function.
      This modification also fixes directory scanning interrupted by
      dummy softlinks.

  * harbour/contrib/xhb/dirrec.prg
    ! fixed double added extension to file mask
2012-06-19 06:15:00 +00:00
Pritpal Bedi
4232c8687e 2012-06-18 18:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_bind.cpp
    + Added: static HB_CRITICAL_NEW( s_qtMtx ); and parts.
    + Tuned: compilable with or without TSD protocol.
        To turn on TSD protocol, change 
          __HBQT_WITH_MT_SUPPORT__NO => __HBQT_WITH_MT_SUPPORT__
2012-06-19 01:33:43 +00:00
Pritpal Bedi
e721360308 2012-06-18 09:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtgui/hbqtgui.hbx
    + Restored.
2012-06-18 16:39:25 +00:00
Viktor Szakats
b2045d96b5 2012-06-18 12:49 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * made --hbinfo to return information only for the top project
      (not nested ones)
      This should fix regression of not generating .hbx files for
      the hbqt special case since 2012-06-06 16:02 UTC+0200
    + added --hbinfo=nested to return information also on nested
      projects
    + --hbinfo will now append an 0x0A byte after each JSON
      block, so multiple JSON blocks can be parsed by the caller

  * contrib/hbqt/hbqt_commons.hbm
    * changed to be friendly with '--hbinfo=nested' hbmk2 option
      (not used in Harbour make process)
2012-06-18 10:49:51 +00:00
Viktor Szakats
a644d9f546 2012-06-18 11:29 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/make.hb
    * deleted few old TODOs

  * src/rtl/cdpdet.prg
    ! updated to not give fatal warnings on msdos and os2
2012-06-18 09:30:45 +00:00
Pritpal Bedi
4b997ce4e4 2012-06-18 00:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_bind.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/qth/filelist.hbm
  - contrib/hbqt/qtcore/qth/HBQEvents.qth
    + Implemented: __pEvents transferred from PRG to C++ level.
2012-06-18 07:46:39 +00:00
Viktor Szakats
5b5f5154f4 2012-06-18 02:53 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtip/encqp.prg
  * contrib/hbtip/mail.prg
  * contrib/hbtip/smtpcli.prg
    ! UTF8 HVM CP fixes

  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtgui/hbqtgui.hbx
    * blanked these two broken files. HBQT devs should
      regenerate them.
2012-06-18 00:56:32 +00:00
Pritpal Bedi
ba4b2655fc 2012-06-17 11:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    ! Fixed: build breaker header inculsion.
2012-06-17 18:41:36 +00:00
Pritpal Bedi
0149e0fb6e 2012-06-17 10:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_bind.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
    + Implemented: __pSlots brought from PRG to C++ greatly reducing 
       Harbour GC variables.
       ; The above implementation is forwarded by Francesco Perillo, thanks.

    + Implemented: better MT functionality.

  * contrib/hbqt/qtgui/hbqtgui.h
  * contrib/hbqt/qtcore/hbqtcore.h
    - Cleanup: redundant constants.

  - contrib/hbqt/qtcore/qth/HBQSlots.qth
  * contrib/hbqt/qtcore/qth/filelist.hbm
    - Removed: HBQSlots.qth

    ; TODO: bring __pEvents to C++.
2012-06-17 17:21:03 +00:00
Viktor Szakats
04abbb3e0d 2012-06-17 16:08 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbamf/amfenc.c
  * contrib/hbamf/hbamf.hbx
  * contrib/hbamf/hbamfobj.prg
  * contrib/hbamf/readme.txt
    + applied Aleksander Czajczynski's patch for a missing class.
      Thank you very much, I didn't have to touch it, only
      autoupdate the .hbx file.
2012-06-17 14:11:45 +00:00
Viktor Szakats
411e468e81 2012-06-17 15:59 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.hbp
  * utils/hbmk2/hbmk2.hbp
  * utils/hbmk2/Makefile
  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.nsi
    ; trying to crawl out from this pool of dynamic mud.
    * enabled all embedded headers for both hbmk2 and hbrun
      so we're back to square one with this, except that
      now hbmk2 also holds the full set of core headers not
      just a minimal selection. The reason is to keep hbmk2
      as the distributable runner tool. It also syncs all
      C compilers and platforms.
    * hbmk2 built in -static mode again. It will fix the
      'make clean' problem, it will make it distributable.
    * hbrun changed to be built in -shared mode to allow
      to load dynamic modules.
    ; so this is the state right now (if I didn't make any mistake):
        hbmk2:
           all embedded core headers
           no contrib modules
           static build
           no dynamic modules
           fully movable/distributable as a runner
           cannot be self-registered as .hb runner on Windows
        hbrun:
           all embedded core headers
           some contrib modules
           shared build when HB_BUILD_CONTRIB_DYN enabled
           dynamic modules possible
           less movable/distributable, needs harbour dll, dynamic modules need Harbour dir layout
           can be self-registered as .hb runner on Windows
    ; "Ext:" banner on interactive shell will have blue color
      if dynamic modules are enabled and grey if not.

  * utils/hbmk2/hbmk2.prg
    * minor change to show the actual name of the tool
      in the error message requesting a -shared build.
2012-06-17 14:05:24 +00:00
Viktor Szakats
ebaf33647f 2012-06-17 14:49 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/rddads/ads1.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/adsx.c
  * src/common/hbfsapi.c
    ! deleted explicit newlines at EOL in HB_TRACE() calls

  * INSTALL
    + added new '0. GUARANTEES AND LIABILITY' section
    ! updated instructions to create debug build

  * utils/hbmk2/hbmk2.prg
    * minor cleanups

  * utils/hbmk2/Makefile
    + enabled dynamic version of hbmk2 only for mingw builds.
      Rest of the targets may or may not work due to CRTL
      usage (fprintf()) from HB_COMPILE*() calls which causes
      GPF in currently generated shared builds, most probably
      due to double copy of statically linked CRTL code.
      mingw uses MSVCRT.DLL, so it's not prone to this.
      Solution is either to avoid file handling CRTL calls
      in compiler code, or to tweak -shared build setting to
      death to make it work for all non-mingw compilers.
      Both of these is very difficult.
      This means that dynamic module loading from scripts
      will only work in hbmk2 built with mingw.

   ; TOFIX: 'make clean' on contribs doesn't work with mingw,
            because harbour dll is deleted before hbmk2 is
            called, so it cannot be started for cleanup.
2012-06-17 12:50:22 +00:00
Viktor Szakats
0eae4ae2fc 2012-06-17 11:41 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtip/encoder.prg
  * contrib/hbtip/encqp.prg
    % use hb_default()

  * contrib/hbtip/encqp.prg
    ! fixed RTE when using TIPEncoderQP class from a dynamically loaded hbtip.
      It has been reported long time ago, so now I hacked a local
      solution which simply removes inherition from this class,
      which works around the problem. Hopefully the core can get
      the fixes to allow derived classes to be used from dynamic libs
      and this can be reverted. In this case only one variable was
      inherited, so it was easy to do. BTW I was trying to use hb_MailAssemble()
      from a script which triggered this.
      TOFIX: Self contained example (tested on win/mingw):
             --- hbmk2 test.hb
             #require "hbtip"
             PROCEDURE Main()
                TIPEncoderBase64():New()
             --- ->
             Error BASE/3003  Cannot find super class 'TIPENCODER': __CLSINSTSUPER
             Called from __CLSINSTSUPER(0)
             Called from HBCLASS:CREATE(0)
             Called from TIPENCODERBASE64(0)
             ---
2012-06-17 09:45:54 +00:00
Viktor Szakats
9a8f43c273 2012-06-17 11:23 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtip/encqp.prg
  * contrib/hbtip/hbtip.hbx
    + added two new functions:
        TIP_QPENCODE(), TIP_QPDECODE()
      formerly only accessible via OOP code

  * utils/hbmk2/hbmk2.prg
    % merged FindInPath() and __hbshell_FindInPath() into one
2012-06-17 09:24:08 +00:00
Pritpal Bedi
0e40156721 2012-06-16 18:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpdialog.prg
    + Added: Main application windows object name as "PleseDoNotDelete"

  * contrib/hbxbp/xbplistbox.prg
    - Removed: traces from prev commit.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    ! Fixed: a couple of potential memory leaks.

  * contrib/hbqt/qtcore/hbqt_bind.cpp
    + Implemented: Thread safe global list. Now objects are released 
       in a proper manner.

    + Added: a hack not to delete a QMainWindow if its name is 
       "PleaseDoNotDelete". It is scheduled to be removed 
       once it is resolved that why on certain circumstances, if 
       a QMainWindow is deleted, it results in GPF.
2012-06-17 01:16:11 +00:00
Viktor Szakats
504f829813 2012-06-17 02:51 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.hbp
    * restored to embed headers in hbrun

  * utils/hbmk2/hbmk2.prg
    ! minor cleanups in runner UI
    ! fixed to open .dbf using cmd 'hbmk2 test.dbf' (emulating
      old hbrun behavior)
    + shows error messages when dynamic library failed to load
2012-06-17 00:55:46 +00:00
Viktor Szakats
f00aafbd05 2012-06-17 02:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbcurl/hbcurl.hbp
    ! stupid typo in prev
2012-06-17 00:20:54 +00:00
Viktor Szakats
37a1b4a8ad 2012-06-17 02:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbcurl/hbcurl.hbp
    + install *.dll from libcurl bin dir when experimental
      HB_INSTALL_3RDDYN option is used
2012-06-17 00:15:05 +00:00
Viktor Szakats
f5f7f12fd9 2012-06-17 01:39 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbblat/hbblat.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbssl/hbssl.hbp
    ! fix to prev

  * contrib/hbpost.hbm
  * contrib/hbqt/hbqt_common.hbm
    * deleted extra pathsep

  * contrib/hbfbird/hbfbird.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/sddfb/sddfb.hbp
    ! fixed to use .dll imp lib source in -hbdyn mode.
      it's a fix for experimental HB_INSTALL_3RDDYN option.

  * contrib/make.hb
    * minor cleanups in errorlevel descriptions

  * utils/hbmk2/hbmk2.prg
    ! fixed finding scripts in path and without extensions 
      in runner mode
    ! fixed to not execute '.' when runner mode is started 
      with 'hbmk2 .' command
2012-06-16 23:44:08 +00:00
Viktor Szakats
e70fa438ce 2012-06-17 00:18 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + will now gather a list of existing 3rd party dll dependencies
      using the file-group named 'depimplibsrc'. This list can
      be used to install these files to user-specific locations

  * contrib/hbpost.hbm
    + added global solution to install 3rd party dll dependencies,
      with minor fixes

  * contrib/hbblat/hbblat.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbssl/hbssl.hbp
    - deleted local solution to install 3rd party dll dependencies
2012-06-16 22:20:54 +00:00
Viktor Szakats
bc2dd77992 2012-06-16 22:16 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/make.hb
    + added textual hbmk2 results
2012-06-16 20:18:08 +00:00
Viktor Szakats
79bdb0e6d9 2012-06-16 21:52 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbcurl/hbcurl.hbp
  * contrib/hbssl/hbssl.hbp
    + added experimental support to install 3rd party .dll
      dependencies for these libs into the Harbour bin dir.
      Enabled with new build option, not yet documented,
      see it in the patch.

  * src/rtl/cdpdet.prg
    + request linkage of all codepages. I chose this to ensure
      the detection code can use all CPs automatically and it
      won't be unusable if users forget to request CPs
      themselves. This has an overhead if someone uses CP
      autodetection, but it makes it foolproof.

  * utils/hbmk2/hbmk2.prg
    * minor formatting
2012-06-16 19:56:11 +00:00
Viktor Szakats
e244eedb87 2012-06-16 16:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbamf/hbamfobj.prg
    * made it more friendly with grep when finding undocumented functions
      by removing #translate.

  * src/vm/hvm.c
    ! added HB_STACK_TLS_PRELOAD

  * include/harbour.hbx
    ! added __ITEMSETREF(), __VMITEMID()

  * src/rtl/valtoexp.prg
    * hb_setItemRef() -> __itemSetRef(). Please tell if it's meant to
      be a user-accessible, public core API

  * utils/hbmk2/hbmk2.prg
    ! fixed to ignore HB_INSTALL_PREFIX variable in runner mode.
      This points to invalid places while running as part of GNU
      Make and prevents autodetection.
      TODO: Recheck if it now works without embedded headers.
      TODO: Obsolete HB_INSTALL_PREFIX also in hbmk2 mode.
2012-06-16 14:53:27 +00:00
Viktor Szakats
b85b90362a 2012-06-16 11:41 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhbcls.ch
    ! include hboo.ch

  * utils/hbmk2/hbmk2.prg
    ! Fixed to transform \n to eol in one certain warning
      message newly issued from the runner subsystem

  * utils/hbmk2/Makefile
  * utils/hbmk2/hbmk2.hbp
  * contrib/hbrun/hbrun.hbp
    ! restored to embed core headers. It's required when
      running build scripts as part of the GNU Make process,
      while HB_INSTALL_PREFIX setting is set to a value where
      Harbour isn't installed yet
2012-06-16 09:41:45 +00:00
Viktor Szakats
50e8ce6a9e 2012-06-15 14:00 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/make.hb
  * INSTALL
    + re-disabled HB_BUILD_CONTRIB_DYN=yes by default.
      The mere presence of dynamic versions of libs was causing
      the executables on *nix systems got linked against them,
      even in -static mode, which might not be desired. So
      until someone finds out how to control this aspect, it's
      best to disable then altogether. Or maybe it could enabled
      by default only on non-*nix systems.
2012-06-15 12:03:06 +00:00
Viktor Szakats
5969f97d7f 2012-06-15 10:59 UTC+0200 Viktor Szakats (harbour syenar.net)
+ contrib/hbamf/hbamfobj.prg
  * contrib/hbamf/amfdec.c
  * contrib/hbamf/amfenc.c
  * contrib/hbamf/hbamf.hbp
  * contrib/hbamf/hbamf.hbx
    + added missing parts as per Aleksander's instructions.
      with some renames/formatting. OBJAMF renamed to AMF_OBJ, 
      please review and test.
        https://groups.google.com/d/msg/harbour-devel/EPdeo6zbFt8/FTd7mkyTPawJ

  * utils/hbmk2/hbmk2.prg
    * minor formatting
2012-06-15 09:01:56 +00:00
Viktor Szakats
f36a5dbd3c 2012-06-15 03:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/3rdpatch.hb
  * contrib/make.hb
    * changed to be executed by hbmk2

  - contrib/hbrun/extdyn.prg
  - contrib/hbrun/hbrun.prg
  - contrib/hbrun/hbrun.rc
  - contrib/hbrun/headers.prg
  - contrib/hbrun/p_ext.hb
  - contrib/hbrun/plugins.prg
  * contrib/hbrun/hbrun.hbp
    % changed to use hbmk2 sources and make file to build hbrun,
      implementing the build method described in previous ChangeLog
      entry. The lost feature is netio management plugin, which
      is now not loaded by default. Plus, since this is a static
      build, dynamic extensions don't work.

  * contrib/make.hb
  * src/pp/ppcore.c
    * deleted reference to hbrun in comment

  * contrib/hbnetio/utils/hbnetio/netiocon.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.hb
    * __hbrun_plugin() -> __hbshell_plugin()

  * INSTALL
    * minor in previous change
2012-06-15 01:21:55 +00:00
Viktor Szakats
285921c547 2012-06-15 02:26 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/make.hb
  * contrib/hbrun/hbrun.hbp
  * INSTALL
    + enabled HB_BUILD_CONTRIB_DYN=yes by default. It will
      cause longer build-times, but it will also create dynamic
      builds for all contribs now. HBQT is particularly huge,
      so maybe we should disable dynamic libs creations for
      them.
    ; EXPERIMENTAL. This feature has been available for quite
      a long time now and some users have tested, but anyways
      build breaks are possible.

  - contrib/hbrun/extstat.prg
  * contrib/hbrun/extdyn.prg
  * contrib/hbrun/hbrun.hbp
  * contrib/hbrun/hbrun.prg
    % simplified the way static contribs are pulled into the
      executable. Now the list if linked contribs needs to be
      maintained only inside hbrun.hbp

  * utils/hbmk2/hbmk2.prg
    + inclusion of embedded core headers can now be enabled
      using -DHBMK_WITH_EMBEDDED_HEADERS build-time option for
      a minimal set (formely enabled by default in hbmk2)
      and -DHBMK_WITH_ALL_EMBEDDED_HEADERS for the full set,
      which is compatible with hbrun
    * hbmk2 will act as a shell/script runner also if its
      own name _starts_ or _ends_ with hbrun, so f.e. hbrun2,
      and xhbrun will be okay as well (in sync with other
      similar alias name rules).
    + shell screen will now display the list of non-core,
      statically linked extra libs
    ; NOTE: to custom build a complete hbrun emulation from
            hbmk2 source, use the following configuration:
      1. create file 'hbrun_emu.hbm' with this content:
         ---
         -ohbrun

         -static

         -DHBMK_WITH_ALL_EMBEDDED_HEADERS

         hbct.hbc           -request=__HBEXTERN__HBCT__
         hbexpat.hbc        -request=__HBEXTERN__HBEXPAT__
         hbmemio.hbc        -request=__HBEXTERN__HBMEMIO__
         hbmzip.hbc         -request=__HBEXTERN__HBMZIP__
         hbnetio.hbc        -request=__HBEXTERN__HBNETIO__
         hbunix.hbc{unix}   -request=__HBEXTERN__HBUNIX__{unix}
         hbwin.hbc{allwin}  -request=__HBEXTERN__HBWIN__{allwin}
         ---
      2. build hbrun emulation using this command:
         $ hbmk2 utils/hbmk2/hbmk2.hbp hbrun_emu.hbm
      3. This will create a fully static executable, with
         the name hbrun, with all embedded core headers and
         statically linked list of contribs listed in the .hbm
         file. The list can be configured at will. This is
         self-contained executable that can be distributed
         easily. Notice however that dynamic extension feature
         will not work in this type of build.

  * utils/hbmk2/hbmk2.hbp
    * minor formatting
2012-06-15 00:30:54 +00:00
Pritpal Bedi
2e649eeba6 2012-06-14 14:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/qth/filelist.hbm
  + contrib/hbqt/qtcore/qth/HBQSlots.qth
    ! Reverted: back to the version before Francesco's.
2012-06-14 21:34:05 +00:00
Pritpal Bedi
9645dd42aa 2012-06-14 09:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
    - Removed: trace entries.
2012-06-14 16:47:24 +00:00