Commit Graph

13321 Commits

Author SHA1 Message Date
Viktor Szakats
86ccc9a093 2010-01-31 12:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/files.c
    * 0 -> HB_FA_ALL.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added verbose information when hbmk2 is run from outside Harbour tree
      and HB_INSTALL_PREFIX is not set either. Just a wild guess what might
      cause difficulty for some users when trying to use hbmk2.

  * src/rtl/fssize.c
  * contrib/hbqt/hbqt_hbevents.cpp
    * Formatting.
2010-01-31 11:13:13 +00:00
Pritpal Bedi
3b0d795eb9 2010-01-30 19:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/qt45.qtp
  * contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/qtgui/filelist.mk
  * contrib/hbqt/qtgui/HBQMainWindow.cpp
    ! Left-over entries from prev post.
2010-01-31 03:37:27 +00:00
Pritpal Bedi
cd721d8b74 2010-01-30 18:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/hbqtgen.prg

  * contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/hbqt_hbevents.cpp
  * contrib/hbqt/hbqt_hbevents.h
  * contrib/hbqt/hbqt_hbqmainwindow.cpp
  * contrib/hbqt/hbqt_hbslots.cpp

  + contrib/hbqt/qth/HBQMainWindow.qth

  * contrib/hbqt/tests/demoqt.prg

  * contrib/hbxbp/hbpprocess.prg
  * contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpfiledialog.prg
  * contrib/hbxbp/xbpfontdialog.prg
  * contrib/hbxbp/xbphtmlviewer.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpprintdialog.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg

  * contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idethemes.prg

    ! This commit has cleaned Qt wrappers not to 
      hold any GC collectible pointer inside. Events 
      and Slots protocol is completely re-structured.
      
    % Improved HB_TRACE() logs. Now Qt wrappers can be 
      generated with relevant filter if env variable 
      HBQT_BUILD_TR_LEVEL=HB_TR_ALWAYS|ERROR|etc 
      defalt being TR_LEVEL_DEBUG. The formatting is 
      also improved.

    % Signals are fired with exact same parametres 
      found in Qt documentation. Eearlier first parameter
      was object pointer followed by slots's parameters.
      This facilitates for the speed and better code
      maintenance.

    ! Intensive debugging has shown that - operator new() -
      is always called from cpp stub generated by hbMK2 
      but for operater delete(), behavior is inconsistent.
      All classes derived from QObject() never call delete()
      in the stub, some classes, which Qt defines as "on the 
      stack" call our stub and hence memory is released.
      Perhaps this is the main reason, I cannot get back
      all the momory if another dialog is opened and closed.
      All claases which are derived from Qt class, viz., HbQ*
      are released properly. Looking at this behavior it 
      comes to mind if all classes are sub-classed? A very 
      huge job nevertheless which I may take later.

  * contrib/hbqt/qtcore/*.cpp
  * contrib/hbqt/qtgui/*.cpp
  * contrib/hbqt/qtnetwork/*.cpp

      ;NOTE : Regression is possible. Please report any issues.
2010-01-31 03:21:29 +00:00
Viktor Szakats
73be8514cb 2010-01-29 21:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/telepath.prg
    % Using HB_MILLISECONDS() instead of SECONDS().
    ! TP_RECVTO(), TP_FLUSH() fixed to honor -1 timeout.
    ; Please review. No tests made besides compiling and reviewing.
2010-01-29 20:30:19 +00:00
Viktor Szakats
23f50f516e 2010-01-29 20:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/telepath.prg
    ! Fixed typo in commented code in prev commit.
2010-01-29 19:15:16 +00:00
Viktor Szakats
56de51fe3a 2010-01-29 20:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/telepath.prg
    ! Fixed "midnight bug" in several TP functions having timeout option
      (it was wrong in all places).
      Reported by AbeB.
    ; Please review/test, I didn't make _any_ testing whatsoever.
2010-01-29 19:12:54 +00:00
Przemyslaw Czerpak
b057311da3 2010-01-29 18:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbsocket.c
    * do not try to resolve NULL or empty addresses in hb_socketResolveAddr()
2010-01-29 17:35:08 +00:00
Pritpal Bedi
0cb619640d * contrib/hbide/hbide.prg
* contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idethemes.prg

  * contrib/hbqt/filelist.mk
  * contrib/hbqt/generator/qt45.qtp
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/qtcore/filelist.mk
  + contrib/hbqt/qtcore/QBuffer.cpp
  + contrib/hbqt/qtcore/TQBuffer.prg
  + contrib/hbqt/qth/QBuffer.qth
  - contrib/hbqt/THbpQtUI.prg
  + contrib/hbqt/THbQtUI.prg

  * contrib/hbxbp/hbpprocess.prg
  * contrib/hbxbp/xbpfontdialog.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbphtmlviewer.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpprintdialog.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg

    -+ HbpQtUI => HbQtUI.
    !  Cleaned :pPtr := 0  =>  :pPtr := NIL
    +  Implemented QBuffer() class which allows to load .u
       from .prg embedding or from database.
2010-01-29 17:27:16 +00:00
Przemyslaw Czerpak
bb2d4cd82f 2010-01-29 13:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbfcdx/dbfcdx1.c
    ! fixed possible unreleased lock after last modification in SIXCDX -
      many thanks to Mindaugas for the information
2010-01-29 12:10:05 +00:00
Pritpal Bedi
3b97f4737c 2010-01-28 18:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/filelist.mk
  + contrib/hbqt/THbpQtUI.prg
    
  - contrib/hbxbp/hbpqtui.prg
  * contrib/hbxbp/Makefile
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpwindow.prg

  * contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idethemes.prg

    -+ Shifted HbpQtUI() class from hbXBP to hbQT.
2010-01-29 02:07:36 +00:00
Viktor Szakats
acbbde9abe 2010-01-29 00:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % Re-merged Harbour and xhb section in .c stub.

  * TODO
    * xHarbour -> Harbour.
2010-01-28 23:35:32 +00:00
Przemyslaw Czerpak
15b51bbe0a 2010-01-28 23:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbfcdx/dbfcdx1.c
    + enabled automatic template order setting in Harbour SIXCDX RDD using
      the same method as SIX3 SIXCDX RDD seems to use: by checking leading
      character of key expression for: "sxChar(", "sxDate(", "sxNum(" and
      "sxLog("
      Warning: This code is enabled only for SIXCDX RDD and DBFCDX was not
               modified.
    * disabled RTE in SIXCDX when key add/del operation are executed
      for non custom indexes and
    * do not add keys with different type to template indexes in SIXCDX
      RDD for strict SIX3 compatibility.

  * harbour/doc/cmpopt.txt
    + added information about missing in Clipper expression optimization
      in LOCAL, PRIVATE and PUBLIC variable declaration. Clipper optimize
      only expressions used in STATIC declarations.
2010-01-28 22:25:09 +00:00
Viktor Szakats
13c9220ae4 2010-01-28 20:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -env:<envname>- support to delete envvars completely.
    % Minor optimization in filter handling.

  * contrib/hbwin/win_os.prg
  * contrib/hbwin/win_tprn.prg
    % Using HB_OSISWIN*() functions instead of WIN_OSISWIN*() ones.
2010-01-28 19:21:03 +00:00
Viktor Szakats
c00a4ce387 2010-01-28 04:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * external/Makefile
  * contrib/Makefile
    + Added build option to exclude specific list of contrib/external 
      libraries using syntax: 'HB_CONTRIBLIBS=no lib1 lib2 libn'
2010-01-28 03:24:37 +00:00
Viktor Szakats
221d96944a 2010-01-28 04:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/dummy.c
    + Indicated that some functions are implemented in
      core (for C5.3 compatibility).

  * contrib/hbwin/win_tbmp.prg
    * Formatting.

  - contrib/gtqtc
  + contrib/hbqt/gtqtc
    * Moved under QT structure.
2010-01-28 03:01:28 +00:00
Pritpal Bedi
cd867df55d 2010-01-27 18:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/resources/findinfiles.ui
    + Started implementation of "Find in Files" option.
      Just to have a glimpse what components it will contain,
      click on "Search" button along-side "Find" buttons.
      It is not working but it may prompt you which feature
      I missed to include. Just play.
2010-01-28 02:47:56 +00:00
Pritpal Bedi
5790842dc4 2010-01-27 08:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/resources/projectproperties.ui
    + Implemented loading project from .hbp.
      Look for the button on top of "Properties" dialog.
      Please note that .hbp file is loaded with its whole
      contentents and then is sectionized as per .hbi 
      protocol. So, the disadvantage is you loose the 
      free-format implementation of .hbp. It has to be 
      discovered how can we cover this aspect. Be careful 
      when building the project as existing .hbp will be 
      overwritten if you choose the "Project Location" 
      of the project pointing to same folder where .hbp
      resides. Other than loosing "-skip" protocol of .hbp, 
      I am sure we are loosing nothing else, please test. 
 
    + Implemention <Close Project> and <Remove Project> options
      which can be invoked from context menu of project node.
2010-01-27 17:09:12 +00:00
Pritpal Bedi
7fb6524767 2010-01-26 18:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbxbp/hbpprocess.prg
    ! xMate project file .xhp loading more normalized.
      I could build almost all of my projects created from it.
2010-01-27 02:22:27 +00:00
Viktor Szakats
49c6f64f5a 2010-01-26 22:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_bmpd.c
    ! Pacified BCC warnings.
2010-01-26 21:20:24 +00:00
Viktor Szakats
678a54d477 2010-01-26 20:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Deleted one debug line left in previous commit.
2010-01-26 19:44:16 +00:00
Viktor Szakats
c55fc2a796 2010-01-26 20:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + -xhp= converter switch now recognizes some more types of file.
      (lib, object and libpaths)

  * contrib/hbnetio/utils/netiosrv.prg
  * contrib/hbnetio/utils/netiocmd.prg
    - Deleted call protection.
2010-01-26 19:41:36 +00:00
Viktor Szakats
802d623d4b 2010-01-26 20:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour.spec
  * INSTALL
  * external/Makefile
  + external/jpeg
  + external/jpeg/README
  + external/jpeg/link.txt
  + external/jpeg/Makefile
  + external/jpeg/cderror.h
  + external/jpeg/cdjpeg.h
  + external/jpeg/jaricom.c
  + external/jpeg/jcapimin.c
  + external/jpeg/jcapistd.c
  + external/jpeg/jcarith.c
  + external/jpeg/jccoefct.c
  + external/jpeg/jccolor.c
  + external/jpeg/jcdctmgr.c
  + external/jpeg/jchuff.c
  + external/jpeg/jcinit.c
  + external/jpeg/jcmainct.c
  + external/jpeg/jcmarker.c
  + external/jpeg/jcmaster.c
  + external/jpeg/jcomapi.c
  + external/jpeg/jconfig.h
  + external/jpeg/jcparam.c
  + external/jpeg/jcprepct.c
  + external/jpeg/jctrans.c
  + external/jpeg/jcsample.c
  + external/jpeg/jdapimin.c
  + external/jpeg/jdapistd.c
  + external/jpeg/jdarith.c
  + external/jpeg/jdatadst.c
  + external/jpeg/jdatasrc.c
  + external/jpeg/jdcoefct.c
  + external/jpeg/jdcolor.c
  + external/jpeg/jdct.h
  + external/jpeg/jddctmgr.c
  + external/jpeg/jdhuff.c
  + external/jpeg/jdinput.c
  + external/jpeg/jdmainct.c
  + external/jpeg/jdmarker.c
  + external/jpeg/jdmaster.c
  + external/jpeg/jdmerge.c
  + external/jpeg/jdpostct.c
  + external/jpeg/jdsample.c
  + external/jpeg/jdtrans.c
  + external/jpeg/jerror.c
  + external/jpeg/jerror.h
  + external/jpeg/jfdctflt.c
  + external/jpeg/jfdctfst.c
  + external/jpeg/jfdctint.c
  + external/jpeg/jidctflt.c
  + external/jpeg/jidctfst.c
  + external/jpeg/jidctint.c
  + external/jpeg/jinclude.h
  + external/jpeg/jmemansi.c
  + external/jpeg/jmemdos.c
  + external/jpeg/jmemmac.c
  + external/jpeg/jmemmgr.c
  + external/jpeg/jmemname.c
  + external/jpeg/jmemnobs.c
  + external/jpeg/jmemsys.h
  + external/jpeg/jmorecfg.h
  + external/jpeg/jpegint.h
  + external/jpeg/jpeglib.h
  + external/jpeg/jquant1.c
  + external/jpeg/jquant2.c
  + external/jpeg/jutils.c
  + external/jpeg/jversion.h
  + external/jpeg/rdbmp.c
  + external/jpeg/rdcolmap.c
  + external/jpeg/rdgif.c
  + external/jpeg/rdppm.c
  + external/jpeg/rdrle.c
  + external/jpeg/rdswitch.c
  + external/jpeg/rdtarga.c
  + external/jpeg/transupp.c
  + external/jpeg/transupp.h
  + external/jpeg/wrbmp.c
  + external/jpeg/wrgif.c
  + external/jpeg/wrjpgcom.c
  + external/jpeg/wrppm.c
  + external/jpeg/wrrle.c
  + external/jpeg/wrtarga.c
    + Added JPEG lib v8.
2010-01-26 19:38:16 +00:00
Viktor Szakats
f0dd1f2c42 2010-01-26 18:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed -xhp option which didn't save the result due to 
      copy/paste typo.
      [TOMERGE 2.0]
2010-01-26 17:30:09 +00:00
Viktor Szakats
d7de620182 2010-01-26 17:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
  * contrib/hbwin/hbwin.h
  * contrib/hbwin/win_bmp.c
  + contrib/hbwin/win_bmpd.c
  * contrib/hbwin/win_tprn.prg
  + contrib/hbwin/win_tbmp.prg
    + Moved WIN_BMP() class to separate source file.
    + Moved WIN_BITMAPDIMENSIONS() and its low-level support functions
      to separate source file, to avoid creating unwanted
      dependency to libpng.
    + Applied Xavi's patches to WIN_BMP().
      * Restored nError parameter for ::IsSupported()
      * ::LoadFile() now fills dimensions automatically.
      * ::Draw() 3rd dim array parameter replaced with nError.

  * contrib/hbwin/hbwapi.h
    + Added 'extern' keyword.
2010-01-26 16:27:27 +00:00
Viktor Szakats
4527d4ab37 2010-01-26 15:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -hbexe option. This is the default, but it may help hbide 
      and other tools to clear doubts about target type. (or to override 
      some previous -hbdyn/-hblib options for whatever reasons)

  * contrib/hbide/ideprojmanager.prg
    * "hbMK2.exe" -> "hbmk2 Executable"
      .exe extension is Win/OS2/DOS specific.
2010-01-26 14:48:53 +00:00
Przemyslaw Czerpak
82984f16a2 2010-01-26 15:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    * use HB_EXTERN_BEGIN / HB_EXTERN_END macros instead of HB_EXTERN_C
      in -xhb mode. It fixes the problem with -gui switch.
2010-01-26 14:21:50 +00:00
Viktor Szakats
486537c920 2010-01-26 14:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.prg
    ! Fixed rare problem where options containing .hbp/.hbm/.clp
      extesions have been mistaken as file recursions instead
      of being processes as options. F.e. -runflag=test.hbp
    ! Updated help text about possible filter keywords.
    ! Fixed to use xharbour[mt] for dynlib name for mingw targets.
      Added NOTE that in newer xhb version this is not true
      anymore. Support for other targets also doesn't work,
      because of non-existent or not consistent dynlib naming
      scheme in xhb.
    ! Fixed to use 'mainstd' instead of 'hbmainstd', and not
      to use 'hbmainwin' at all in -xhb mode for mingw targets.
      For rest of targets the xhb solution is inconsistent, so
      it's not currently possible give them any meaningful
      support in hbmk2.
2010-01-26 13:42:56 +00:00
Pritpal Bedi
6584a13a92 2010-01-26 02:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/resources/xmate.png
    + Added xMate's icon as a .png, missed from prev commit.
2010-01-26 10:28:50 +00:00
Pritpal Bedi
ae40e2d436 2010-01-26 02:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/Makefile
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbpwindow.prg
  + contrib/hbxbp/hbpqtui.prg
  - contrib/hbxbp/xbpqtuiloader.prg
    % Renamed XbpQtUiLoader() class to HbpQtUI()
      This is Harbour extension to Xbase++ class framework.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/resources/projectproperties.ui
    % Changed <Main Menu> prompts:
      + <Environments> in <Project>
      - <Options> => <Setup>
      - <Codecs>  => <Setup> <Codecs>
    ! Separated the <Define Environments> dialog from <Project Properties>
      And added a menu option in <Projects> main-menu prompt.
    + Implemented to load xMate's Project file (.xhp) when a new project 
      is created. Can be invoked via a push button on top-right corner of
      <General> tab.
2010-01-26 10:22:47 +00:00
Pritpal Bedi
566a52d3dc 2010-01-25 18:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
    ! Build streamlined to OS specific shell execution, thanks Viktor.
2010-01-26 02:32:24 +00:00
Pritpal Bedi
83dd2dba6b 2010-01-25 17:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/resources/hbide.env
   - Dropped {shell} and {ext} placeholders from hbide.env.
     These are now auto detected, thanks Viktor.
2010-01-26 01:40:20 +00:00
Pritpal Bedi
3aac0d6f21 2010-01-25 12:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
    ! Important Fix.
2010-01-25 20:24:23 +00:00
Pritpal Bedi
dcb617a7ff 2010-01-25 08:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideprojmanager.prg
    ! Code optimization.
    - Removed experimental code fragments.
2010-01-25 16:31:22 +00:00
Viktor Szakats
37271cec25 2010-01-25 15:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/netiocmd.prg
    ! Fixed remote execution protection to work even when
      the source was compiled from another directory.
    ; QUESTION: Is there a better way to make this kind of
                protection? Current system will break if
                the source filename of the caller happens to
                change in the future.

  * contrib/hbnetio/utils/netiosrv.prg
    + Show internal error and quit and if above self-protection 
      got broken for some reason.

  * utils/hbmk2/hbmk2.prg
    ! Fixed entry function detection builting project in 
      different than current dir, possibly also in -inc mode.
      [TOMERGE 2.0]
2010-01-25 14:24:54 +00:00
Viktor Szakats
9058003583 2010-01-25 13:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    + Added TOMERGE to /INSTALL doc modifications.
      I had not marked any changes regarding .rpm generation, as
      I can't oversee this packaging type, have minor experience
      with it and got no user feedback whatsoever. If someone cares
      to review/comment/fix, whole current INSTALL can go to 2.0.x.
      [TOMERGE 2.0]
2010-01-25 12:23:47 +00:00
Viktor Szakats
f1e0ec70bd 2010-01-25 13:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Fixed HB_ARCHITECTURE to HB_PLATFORM in 2010-01-24 22:28 UTC-0800.
    + Added TOMERGE mark to 2010-01-23 01:30 UTC+0100.
2010-01-25 12:12:06 +00:00
Przemyslaw Czerpak
d907621bea 2010-01-25 12:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_misc.c
    ! fixed buffer overflow in WIN_WIDETOANSI() caused by wrongly calculated
      buffer size

  * harbour/utils/hbmk2/hbmk2.prg
    * updated names of xHarbour libraries - now it works in static mode
      TOFIX: -xhb shared mode uses 'harbour' instead of 'xharbour' library
              and 'hbmainstd' instead of 'mainstd'
      TOFIX2: -gui switch in -xhb mode cause compile time error:
                  /tmp/hbmk_auhl2d.c:8: error: syntax error before "void"
2010-01-25 11:35:47 +00:00
Pritpal Bedi
94b33cecb7 2010-01-24 22:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/Makefile
  * contrib/hbxbp/hbpprocess.prg
    + Implemented first HbpProcess() class ( Harbour Extension )
      which is based on Qt's process management classes. 
      The usage concept is well defined in 
      /contrib/hbide/ideprojmanager.prg. 
      I will write the documentation at some later date.

  * contrib/hbide/resources/projectproperties.ui
    + More components.

  * contrib/hbide/projects/hbide.hbi
    + More info.

  * contrib/hbide/hbide.ch
  * contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
    ! Updated to hold Development Environments concept introduced.
      Read below.      
  - contrib/hbide/hbide.env
  + contrib/hbide/resources/hbide.env
    + The environment skeletons (working) on my machine connecting
      hbIDE to hbMK2 engine. You can copy it and place it 
      in projects folder with suitable path amendments and 
      call it in hbIDE. This implementation facilitae to 
      generate any project on any compiler from within 
      single instance of hbIDE without leaving it.

      Here are the implementation details:

      FORMAT
      ======
               [ BCC55 5.5.1 Command Line Tools ]
         {hb_comp} bcc
         {shell} cmd.exe
         {ext} bat
         # 
         {content} set HB_COMPILER=bcc
         {content} set PATH=c:\harbour_dev;c:\harbour_dev\bcc\bin;C:\harbour_dev\harbour\bcc\bin;

               [ MINGW 4.4.2 Windows ]
         {hb_plat} win 
         {hb_comp} mingw
         {content} set PATH=c:\mingw\bin;c:\qt\2009.03\qt\bin;
         {content} set PATH=c:\harbour_dev;c:\harbour_dev\harbour\mingw\bin;%path%
         {content} set HB_WITH_QT=c:\qt\2009.03\qt
         ...

         {hb_plat} == set HB_ARCHITECTURE=
         {hb_comp} == set HB_COMPILER=
         {shell}   == shell command to execute
         {ext}     == the extension of shell commands file
         {content} == active contents placed in the shell commands file
                      Any lines with {contents} marker will form the 
                      body of commands file. You can place remarks 
                      preceded with # sign.

         Currently {contents} are implemented, rest will take a couple of days.

      PLACEHOLDER
      =========== 
         <Environments Tab> in <Project Properties> dialog but with separate 
         button to save this and its path information alone. Just avoided one 
         more dialog.

      ACTIVATION
      ==========
         Right-click on <Projects> node in "Projects" tree and select <Environments...>.
         The selected environment will become the default for current session and will 
         be saved for next invocation until it is changed. Next build will respect 
         this setting.

      EFFECTIVENESS
      =============
         Create a desktop icon pointing to hbIDE.exe and place the only parameter 
         poing to "hbide.env" file. You can copy it anywhere in your project tree,
         amend it to suit your requirements, and just execute hbIDE on your desktop.
         NOTE: you _MUST NOT_ set any compiler specific variables before invoking
         hbIDE. Your working slate must be clean.

      WHAT_IS_NOT_DONE
      ================
         The bash commands and their shell invocation. But I know a lot of you 
         will implement that in no time.
2010-01-25 07:13:15 +00:00
Viktor Szakats
a9623b2d2e 2010-01-25 05:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_tprn.prg
  * contrib/hbwin/win_bmp.c
    ! Fixes to prev (in last minute modifications)
2010-01-25 04:10:34 +00:00
Viktor Szakats
8068520722 2010-01-25 05:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
  * contrib/hbwin/hbwin.hbc
  * contrib/hbwin/win_bmp.c
  * contrib/hbwin/win_tprn.prg
    + WIN_BITMAPDIMENSIONS(): Added PNG support.
      (in fact the internal function can also be used to validate
      .png files)
      Please review/test.
    + Added libpng dependency for hbwin lib. libpng requires 
      zlib, so that's also added, but it's required by core 
      already anyway.
      Please test cross-platform scenarios.
    * WIN_BITMAPISSUPPORTED(): Now simply returns numeric
      results, where zero is success. Same done to low level
      function.
2010-01-25 04:05:11 +00:00
Viktor Szakats
335e5179c0 2010-01-25 04:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
  * contrib/hbwin/win_prn1.c
  + contrib/hbwin/win_bmp.c
    * Moved bitmap related functions to separate source file.

  * contrib/hbwin/win_bmp.c
  * contrib/hbwin/win_tprn.prg
    * Renamed WIN_CHECKPRNDRVFORMAT() -> WIN_BITMAPISSUPPORTED()
    * WIN_BMP:CheckPrnDrvFormat() -> WIN_BMP:IsSupported()
2010-01-25 03:31:38 +00:00
Viktor Szakats
663b10f15c 2010-01-25 02:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn1.c
    + WIN_BITMAPDIMENSIONS(): Added JPEG support.
    ! hbwin_BitmapType(): Added size checks for safety.
    ! ULONG -> HB_SIZE

  * contrib/hbcurl/hbcurl.c
    ! Fixed to define all .prg level functions regardless
      of libcurl version.
2010-01-25 01:23:32 +00:00
Viktor Szakats
7a2fcf6ca0 2010-01-24 23:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_tprn.prg
    ! Fix to prev.
2010-01-24 22:50:50 +00:00
Viktor Szakats
388275aa00 2010-01-24 23:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_tprn.prg
    * win_CheckPrnDrvFormat(): Replaced error strings with
      error codes to avoid storing fixed language messages in
      low-level code.
    ! Fixed MSVC warning about potentially uninitialized variable.
2010-01-24 22:49:32 +00:00
Viktor Szakats
fe84e6e486 2010-01-24 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.ch
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_tprn.prg
    + Added HB_WIN_BITMAP_UNKNOWN.
2010-01-24 22:19:36 +00:00
Viktor Szakats
6e5932bd54 2010-01-24 23:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.ch
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_tprn.prg
    + Added constants for bitmap types.
    * Minor cleanups to jpg/png handling.
2010-01-24 22:04:08 +00:00
Pritpal Bedi
ca5db97c84 2010-01-24 13:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpdialog.prg
    + Implemented :maxSize and :minSize instance variables.
2010-01-24 21:55:56 +00:00
Pritpal Bedi
b7dc6e31e3 2010-01-24 13:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpdataref.prg
    % Changed the way class is recognized to facilitate sub-classing.
      Currently only for XbpSLE and XbpMLE.

  * contrib/hbxbp/xbpwindow.prg
    ! Method :isDerivedFrom( cClassOrObject ) extended to match 
      the class name of oParent till it matches the given parameter.
      I am wondering if this functionality be included in class 
      engine itself. Przemek ?
2010-01-24 21:38:11 +00:00
Xavi
64dba82b85 2010-01-24 19:40 UTC+0100 Xavi (jarabal/at/gmail.com)
* contrib/hbwin/win_prn1.c
    + Added support for printing RAW compressed formats JPEG and PNG BitMaps.
    + Added new PRGs functions: win_TypeBitMap() and win_CheckPrnDrvFormat()
      Example of use in the class win_BMP()
    * Changes in WIN_LOADBITMAPFILE, WIN_DRAWBITMAP to support new formats.

  * contrib/hbwin/win_tprn.prg
    + Extended the class win_BMP() to allow printing compressed formats JPEG and PNG
      if the printer driver allows.
    + Added method CheckPrnDrvFormat( oPrn, @cErrMsg ) for check printer driver.
    + New VAR INT Type. Type of BitMap: 1 == BM, 2 == JPEG, 3 == PNG
    + New VAR array DimXY. Original Image Dimensions X Y in pixels.
    * New parameter aDimXY in LoadFile( cFileName, aDimXY )
    * New parameter aDimXY in Draw( oPrn, aRectangle, aDimXY )
      to introduce the original image dimensions in pixels X Y.
      Some printer drivers may require the insertion of the original image dimensions
      for processing, others read from the data source and by default only need have
      aDimXY := { 1, 1 }
    * Use DimXY VAR of win_BMP() in method DrawBitMap( oBmp ) of win_PRN()

  * src/compiler/hbusage.c
    + Added author ID mail
2010-01-24 18:39:16 +00:00
Viktor Szakats
812ad02df6 2010-01-24 14:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support to recognize .C (uppercase .c) extension as C++ file.
      (this won't be enabled in MS-DOS builds)
2010-01-24 13:32:52 +00:00