Commit Graph

14560 Commits

Author SHA1 Message Date
Viktor Szakats
1ff4a5ee13 2010-07-02 10:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added feature for plugins to register the file extensions
      they can handle. This makes -pi option unnecessary for
      passing special file types to the build process. File types
      handled by hbmk2 cannot be overridden this way, if you want
      to do such thing -pi option is required, this is by design,
      and this way plugins cannot inadvertently mess up the build
      process.
    + Added strict parameter checking to hbmk2 plugin functions
      which requires the hbmk2 context. Now calling them with bad
      parameters won't cause RTE inside hbmk2 code.

  * contrib/hbqt/hbmk2_plugin_qt.prg
    + Registering the file types the plugin can handle.

  * contrib/hbqt/hbqtcore.hbp
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  * contrib/hbqt/hbqscintilla/hbqscintilla.hbp
  * contrib/hbqt/hbqtnetwork.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbp
  * contrib/hbqt/hbqt.hbp
  * contrib/hbqt/hbqtgui.hbp
  * contrib/hbide/hbide.hbp
    - Dropped -pi option. It is now unnecessary in these cases
      (well, all cases in Harbour)

  * contrib/hbqt/hbqscintilla/hbqscintilla.hbp
    ! Fixed content. The referenced plugin name was deleted quite
      long ago already when this file was committed. Was this
      file ever tested before commit?

  + contrib/hbqt/tests/harbour-logo.png
  + contrib/hbqt/tests/harbour-icon.png
  + contrib/hbqt/tests/testres.prg
  + contrib/hbqt/tests/testres.qrc
    + Added example for QT resource embedding.
      Sent to the list by Bacco, with my cleanups, formatting,
      renames etc. I didn't add a .hbp file for it, so pls
      remember to build it using:
         'hbmk2 testres testres.qrc'
2010-07-03 08:47:53 +00:00
Viktor Szakats
43871fd1af 2010-07-02 09:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/makefile.prg
    ! Temporarly disabled -w3 warning level.
2010-07-03 07:15:14 +00:00
Viktor Szakats
c18edea787 2010-07-02 16:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_plugin_qt.prg
    * Changed to use __binarystreaminclude facility instead
      of rolling local .prg (or .c) generation logic.
    - Deleted .qrc to .c generator.
    - Deleted standalong mode of .qrc to source conversion
      (there is nothing interesting in it anymore)

  * ChangeLog
    ; Previous TODO marked as NONISSUE: string encoding
      in .ppo file is not often subject to editing.
2010-07-02 14:13:36 +00:00
Przemyslaw Czerpak
8856f7bccd 2010-07-02 16:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/ppcore.c
    % do not allocate 16MB buffer even if included file has 1 byte.
    * changed the maximum size for data included by
      #pragma __[c]streaminclude from 64KB to 16MB
2010-07-02 14:06:09 +00:00
Viktor Szakats
b83ec8bb29 2010-07-02 15:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
  * include/hbpp.h
    + Added #pragma __binarystreaminclude. Works the same as
      other stream include pragmas, but here it the size limit
      is ~16MB and it accepts binary files for input.
    ; TODO: The encoding now contains high ascii chars which
            is unsafe as it can be converted by editors thus
            corrupting the embedded binary.

  * contrib/hbqt/hbmk2_plugin_qt.prg
    % Optimized .qrc to .prg converter to not split the lines.
      Harbour is able to compile very long source lines, pbly 
      todays patch from Przemek was needed for that. Nice!
2010-07-02 13:04:35 +00:00
Viktor Szakats
dd3e0a139b 2010-07-02 14:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_plugin_qt.prg
    + Activated new resource binary generator code, which
      doesn't require qt headers anymore.

  * contrib/hbqt/hbqt.hbc
    - Deleted qt dependency. Not needed anymore.

  * contrib/Makefile
  * contrib/makefile.prg
    + Some contrib libs will now be built using new hbmk2 based
      method as an experiment.
    + hbnetiosrv will now be built as well using hbmk2, also as
      an experiment.

  * contrib/hbide/hbide.prg
    + Loading resources manually using new QResource method
      implemented by Bacco.

  * utils/hbmk2/hbmk2.prg
    + Implemented support for #import Objective C specific
      directive when detecting header dependencies.
    * .m extension is now compiled with C compiler (not C++)
    - Deleted 'experimental' status from plugin related options.

  ; Patches from Bacco:

  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/qth/QResource.qth
  * contrib/hbqt/qtcore/TQResource.prg
  * contrib/hbqt/qtcore/QResource.cpp
  * contrib/hbqt/doc/en/class_qresource.txt
  * contrib/hbqt/hbqt.h
    + Added QResource:registerResource()/QResource:unregisterResource()
    * With some minor modification from me (unsigned char -> uchar,
      some formatting)

  ; Patches from Tamas Tevesz:

  * src/rtl/memvarhb.prg
  * src/rtl/hbcom.c
    * Tweaks for prev patch: formatting and .hbv type description.

  ; Thanks to both contributors!
2010-07-02 12:36:21 +00:00
Przemyslaw Czerpak
b87112ecde 2010-07-02 14:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/src/pp/ppcore.c
  * harbour/src/pp/hbpp.c
  * harbour/src/pp/pplib.c
  * harbour/src/compiler/complex.c
    * eliminated HB_USHORT limit for maximum token size
    * changed prefix of HB_SIZE numeric values from 'ul' to 'n'

  * harbour/contrib/rddads/adsfunc.c
    + added wrapper to AdsGetMemoDataType() function
2010-07-02 12:21:18 +00:00
Viktor Szakats
5502de48eb 2010-07-02 10:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    * Revised and updated status for pending TODOs TOFIXes of
      this year.

  * contrib/hbcurl/hbcurl.c
  * contrib/hbcurl/hbcurl.ch
    + Added support for all new libcurl features introduced in
      7.19.4, 7.20.0, 7.21.0
    * Changed some recently added constants to be in sync libcurl 
      values.

  * contrib/hbwin/Makefile
  * contrib/hbwin/hbwin.hbp
  + contrib/hbwin/wapi_winnetwk.c
    + Added WAPI_WNETGETLASTERROR()

  * contrib/hbct/ctnet.c
    * NETREDIR(): Deleted Windows specific 4th parameter extension
      which activated debug-style features (introduced in xhb)
      based on WNetGetLastError() call. Such call was now added
      separately to hbwin.

  * contrib/hbide/hbide.prg
    ! Deleted hard-coded reference for specific QT version.
      This should be solved differently.
    ; TOFIX: BTW the whole notion of having a special build
             for a given distro is wrong. It should rather
             do autodetection in all builds.

  ; Patches from Tamas Tevesz:

  * src/rtl/memvarhb.prg
    * Adjusted information on magic byte
    + Version number change to 1.

  * src/rtl/hbcom.c
    ! Fix for linux/watcom link problem.

  * bin/postinst.sh
    * Ajustment for some undisclosed but probably weird system :)
2010-07-02 08:19:59 +00:00
Viktor Szakats
dd03d682f3 2010-07-01 17:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/memvarhb.prg
    + Added file signature and version no. to .hbv files.
    ; Patch by Tamas Tevesz with a few modifications:
      - added high byte at 1st pos is signature
      - deleted RTEs in case of invalid file content on load
        (to mimic original __MVRESTORE() which is also silent)
      - minor optimization on signature checking.
    ; INCOMPATIBLE: The file format has changed so you won't be 
                    able to interchange it with previous 
                    versions of Harbour. Anyhow it's very new 
                    format, so this shouldn't affect many users.

  * utils/hbmk2/hbmk2.prg
  * utils/hbrun/hbrun.prg
    + Shows .hbs as support input file format (where applicable)
    ! Little fix in displaying options w/o description on help
      screen.

  * utils/hbrun/hbrun.prg
    + Added clipboard paste support with Alt+V key.

  * contrib/hbide/hbide.prg
    - Temply disabled reference to new-style embedded resources.
2010-07-01 15:35:07 +00:00
Viktor Szakats
2c0cb9109f 2010-07-01 10:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtsln/kbsln.c
    * public variable hb_DeadKey made static and renamed to
      s_iDeadKey. Pls shout if this is needed to be kept public, 
      but even in that case it should get a new name.
    * static hb_DeadKeyEnvName renamed to s_DeadKeyEnvName
    * Changed HRBNATIONDEADKEY to HB_GTSLN_NATIONDEADKEY to better 
      fit into Harbour control envvar names.
      Pls shout if this break lots of configurations.
    * Whitespace formatting.
2010-07-01 08:06:52 +00:00
Viktor Szakats
f90c989f05 2010-07-01 09:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_plugin_qt.prg
    + Added .qrc to .prg generator logic.
    ! Fixed .qrc to .c generator leaving last few bytes off.
    % Optimized .qrc to .c generator output to have only one
      line.

  * utils/hbrun/hbrun.prg
    + Internal history length changed to 128 (from 32).
    - Deleted extra limit on number of saved history items.
    % Minor optimization to history saving.

  * src/rtl/gtsln/gtsln.c
    * Whitespace formatting.
2010-07-01 07:58:22 +00:00
Przemyslaw Czerpak
c42f87ca61 2010-07-01 02:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/harbour.y
  * harbour/src/compiler/harbour.yyh
  * harbour/src/compiler/harbour.yyc
    * increase the maximum bison stack size limit
      from 10000 items to 100000

  * harbour/src/rtl/gtsln/kbsln.c
    + added support for HB_K_RESIZE

  * harbour/contrib/hbwin/axcore.c
  * harbour/contrib/hbwin/hbolesrv.c
    * do not pass message ID (DISPID) as first parameter of codeblock
      or function taken from hash array indexed by DISPIDs.
      This modification restores old format, i.e. the one expected
      by GTWVG code.

  * harbour/contrib/hbwin/tests/olesrv1.prg
    ! comment
2010-07-01 00:31:49 +00:00
Viktor Szakats
f27ad5cdf2 2010-07-01 01:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtcrs/gtcrs.c
    + GTCRS will now generate HB_K_RESIZE Harbour INKEY() events
      if the terminal window is resized.
      Thanks for Tamas Tevesz for the suggestion + patch.
    * Whitespace formatting.
2010-06-30 23:04:19 +00:00
Viktor Szakats
4be088168f 2010-07-01 00:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/std.ch
    + Added .hbv version of SAVE TO / RESTORE FROM commands.
      Use 'SAVE HBV ...' and 'RESTORE HBV ...' commands to
      use Harbour specific mem file format (with .hbv extension).
      The file format supports long variable names and much
      larger amount of data then Clipper compatible .mem files. 
      The file format is NOT compatible with Clipper.
    ; Pls review. This is my first time extending Harbour
      commands, plus I'm not very much a command freak, so
      maybe there is more natural (and compatible) way to
      extend existing SAVE/RESTORE command.

  * utils/hbrun/hbrun.prg
    * Variable scope cleanup to prev.
2010-06-30 22:47:20 +00:00
Viktor Szakats
81947ae787 2010-06-30 23:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gttrm/gttrm.c
    + GTTRM will now generate HB_K_RESIZE Harbour INKEY() events
      if the terminal window is resized.

  * utils/hbrun/hbrun.prg
    + Will now automatically resize the UI if the window is
      resized (on GTs which support this: GTTRM, GTWVT, GTXWC)
    + Now shows little red 'o' sign if history recording is enabled (default)
    + Set resize mode to 'rows' (only meaningful if using GTs
      that support it).
    % hbrun_Info() optimized.
2010-06-30 21:58:38 +00:00
Viktor Szakats
b2d1490a06 2010-06-30 22:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    + Added load/save of command history.
      It can be disabled by -p cmdline option or by adding
      a single line "no" (without quotes) to the history filename.
      Otherwise last 500 commands will be remembered.
      History filename is %APPDATA|HOME%/.harbour/.hbrun_history
      if such envvar is present, otherwise hbrun dir. On MS-DOS
      it's hbrun dir and hbrunhst.ini.

  * utils/hbmk2/hbmk2.prg
    * Minor variable/constant name cleanup.

  * contrib/hbqt/hbmk2_plugin_qt.prg
    ! Typo in #if statements.
2010-06-30 21:02:04 +00:00
Pritpal Bedi
ad8660b652 2010-06-30 10:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
    ! Fixed: closing a table in ideDBU was causing RTE.
2010-06-30 17:27:10 +00:00
Viktor Szakats
26ca5da0db 2010-06-30 19:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/extend.c
  * include/hbapi.h
    + Added hb_retclen_const() to return constant byte arrays.

  * contrib/hbqt/hbmk2_plugin_qt.prg
  * contrib/hbide/hbide.prg
    + Implemented pure Harbour .c QT resource support.
      Commented, waiting for HBQT API to load resources
      from byte stream.
      This method will create a pure .c source files
      from binary QT resource, so it doesn't require
      QT headers to be present.

  * contrib/hbqt/hbmk2_plugin_qt.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideskeletons.prg
    * Changed 'ui' prefix to 'hbqtui_' for compiled .ui
      file entry function names.

  * utils/hbmk2/hbmk2.prg
    + Added hbmk2_FNameToSymbol() plugin function to convert
      filename to Harbour symbol name.

  * contrib/hbide/hbide.env
    - Deleted QT setup from compilers where QT is not supported.
2010-06-30 17:18:38 +00:00
Pritpal Bedi
468135d2a2 2010-06-30 10:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fixed: right-button-press was clearing selection.
2010-06-30 17:10:36 +00:00
Viktor Szakats
aad34fe7e2 2010-06-30 10:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/bzip2/Makefile
    - Deleted now not needed old URL tag.

  * external/patchup.prg
    + Added option to create temp dir in cwd.
    + Using --force-local tar option to make broken Windows
      tar build (gnuwin32 latest 1.13 release from 2003) happy.
    + Changing to target dir on our own instead of using -C
      tar option. This option is broken on Windows tar build
      (gnuwin32 latest 1.13 release from 2003)

  * package/winuni/RELNOTES
    + libcurl updated.
2010-06-30 08:43:00 +00:00
Pritpal Bedi
fdb873faeb 2010-06-30 01:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
    % Changed: context-menu options for "Split..." are now 
      edit instance's state dependent.
    ! Thumbnail window is not closed while split is closed.
2010-06-30 08:33:45 +00:00
Pritpal Bedi
70f45a3072 2010-06-30 00:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fixed: the paint behavior in "thumbnail".
      Selected text was covered behind highlight area.

  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idesaveload.prg
    + Added: more icons to ideDBU toolbar, close and toggle form view.
    + Implemented: to save and restore table informations per panel.
      Now ideDBU is presented with opened tables as was closed previously.
    + Implemented: "Panels" concept where each panel can hold 
      different tables.
      TODO: interface to add panels.

      Please test.
2010-06-30 07:40:17 +00:00
Pritpal Bedi
7982bb7f0f 2010-06-29 17:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idetools.prg
    % Minor fix in "buttonBrowse_clicked" event which was causing
      RTE when there was no other Tool defined.

    ! Fix to Ctrl+G which stopped working after keyboard macros 
      synchronization few days back.

    ! Thumbnail window is closed if a source is closed. To 
      activate it for another source you need to activate it again.
      However, switching over to another source, it stays as is.

    + Reimplemented: split behavior of current editing instance.

      Before it was done in fixed halved window plus split 
      was available verically and horintally any level deep.
      This was neither appropriate nor desired behavior.

      Now split is presented in resizable window either horizontally
      or vertically. The behavior can be changed if all splitted 
      windows are closed first and then again split is initiated.
      
      Above anomalies reported by Viktor, thanks.      
      Please test and report back any fix is not upto mark.
2010-06-30 00:59:29 +00:00
Viktor Szakats
8fce94043b 2010-06-29 21:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/ideprojmanager.prg
    + Changed to not save hbide options with empty or
      default values to .hbp files.

  * contrib/hbqt/hbqscintilla/hbqscintilla.hbp
  * contrib/gtwvg/tests/demowvg.hbp
  * contrib/hbide/hbide.hbp
    % Deleted empty and default hbide options from .hbp files.
2010-06-29 19:30:26 +00:00
Viktor Szakats
91f6641a51 2010-06-29 21:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Addeded support for specifying dependencies in .hbc files.

  * contrib/hbide/hbide.hbp
  * contrib/hbqt/hbqt.hbc
    * Moved qt dependency specification from local make file to
      central hbqt.hbc.

  * INSTALL
  * contrib/hbqt/hbmk2_plugin_qt.prg
    ! Minor correction to compile to hbmk2 plugin .hrb if compiled
      with harbour.
    + Added support for HB_QTPATH, HB_QTPOSTFIX envvars. This is
      now the recommended way to override QT tools autodetection.
      Kept HB_QT_MOC_BIN for compatibility. Deprecated.
      (just added support for HB_QT_UIC_BIN, HB_QT_RCC_BIN removed)
    - Deleted hardcoded hack to look for '-qt4' postfix when looking
      for QT tools. Now it's QT version agnostic. Use HB_QTPOSTFIX instead.
    ! Fixed deleting temp .uic file in stdalone mode.
    + Added -w3 pragma.
2010-06-29 19:06:27 +00:00
Pritpal Bedi
031c55a801 2010-06-29 11:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideactions.prg
    - Removed: "Insert Randome Name" option in <Edit><Insert>.
      Actually inserting any text can be accomplished through macros.

  * contrib/hbide/idesources.prg
    % Fixed: "Save all sources" option of <File> menu. A fatal one.
      Thanks to Reinaldo for reporting.
2010-06-29 18:27:55 +00:00
Pritpal Bedi
abd8cc25f6 2010-06-29 09:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.qrc
    + Added: "runscript" icon.

  + contrib/hbide/resources/runscript.png
    + New icon for "Run as Script" action on main toolbar.
2010-06-29 16:35:46 +00:00
Pritpal Bedi
99d556772d 2010-06-29 09:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpbrowse.prg
    ! Some more tweaking in event handelling.

  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
    + Prepared: to honor multiple panels to host views of ideDBU
      sessions plus arranged to host a tree-view at the left 
      if there will be a need in the future.

    + Added: toolbar to ideDBU interface with ounly one button
      <Open> to add a table to the view. Now table open dialog
      is not presented at the time of invocation.

    + Improved: ideDBU view to take care of available 
      space more intelligently.
2010-06-29 16:25:26 +00:00
Viktor Szakats
8be92bac1d 2010-06-29 14:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Will now defined macro __HBSCRIPT__HBMK for all scripts
      executed in source form.

  * utils/hbrun/hbrun.prg
    + Will now defined macro __HBSCRIPT__HBRUN for all scripts
      executed in source form.

  * contrib/hbqt/hbmk2_plugin_qt.prg
    + Will now act as a stdalone uic to prg converter tool if
      invoked via hbrun (or anything other than hbmk2). This is 
      useful for testing this conversion process easily.
    * Variable rename.

  - contrib/hbqt/utils
    - Deleted hbqtui stdalone tool.

  * contrib/makefile.prg
    + Updated TODOs
2010-06-29 12:57:12 +00:00
Viktor Szakats
602f720842 2010-06-29 14:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
    + Changed to use embedded .png resources in html pages.
    ; /resources dir isn't required now to run hbide.

  * contrib/hbide/ideskeletons.prg
    ! Fixed to use embedded UI resource.
2010-06-29 12:01:55 +00:00
Viktor Szakats
45492b8cd9 2010-06-29 13:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/ideplugins.prg
    + Added support for .hbs extension (handled similarly as .prg).
      The logic is very fuzzy here, it could be greatly simplified
      like it is in hbrun or hbmk2. I don't understand why hbide
      is trying to guess the filename, shouldn't it be the basic
      input parameter? or even better the result of a DIRECTORY()
      scan, as we've discussed?

  * contrib/hbide/plugins/savebackup.prg
    - Deleted .ch header reference to make it work as source 
      code plugin.

  - contrib/hbide/plugins/savebackup.hrb
    - Delete prebuilt .hrb. It's better to use the source version
      by default.
2010-06-29 11:14:22 +00:00
Viktor Szakats
f6aeed0cd7 2010-06-29 13:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/hbide.env
    ! Fixed all entries. Synced with INSTALL and other required changes
      to work with current Harbour. Deleted unnecessary forced platform,
      compiler values, deleted unnecessary, wrong and misleading version
      informations. Deleted left padding spaces from section headers.
2010-06-29 11:01:55 +00:00
Viktor Szakats
c2079b533e 2010-06-29 12:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Separated package dependency by key header autodetection logic
      from header dependency parsing logic. This way the code is
      cleaner and it has the added benefit that dependencies
      will be detected even without actual source code using the
      key headers. This f.e. makes it possible to pull dependencies
      for autogenerated code (such example can be found in hbide
      where generated .cpp depends on qt).
      Another benefit is that pkg detection by header will also
      work in non incremental mode or forcefully disabled header
      parsing option, it also causes better header parsing
      performance.

  * contrib/hbqt/hbqt_common.hbm
  - contrib/hbqt/hbmk2_plugin_moc.prg
  * contrib/hbqt/hbmk2_plugin_qt.prg
    + Merged moc plugin into qt plugin. This way some of the
      common code and logic is now integrated, forming a common
      hbmk2 plugin for all QT purposes.
    % Merged common code.
    * Some internal renames.
    * Further changes regarding proper -clean behavior.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideprojmanager.prg
  - contrib/hbide/resources/hbide.env
  + contrib/hbide/hbide.env
    * Moved hbide.env to hbide root.
    ; TODO: It remains to be solved that hbide.env be searched
      at the same locations as as hbide.ini. It would be even better
      if hbide.env could use more standard .ini layout and be simply
      merged into hbide.ini.
      Pritpal, could you check this issue?
2010-06-29 10:50:10 +00:00
Viktor Szakats
8b4144be74 2010-06-29 09:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added HB_QT_RCC_BIN
    ; TODO: Change these envvars to HB_QTPOSTFIX and HB_QTPATH.

  * contrib/hbqt/hbqt.hbc
  - contrib/hbqt/hbmk2_plugin_ui.prg
  + contrib/hbqt/hbmk2_plugin_qt.prg
    * Renamed. This plugin now handles .qrc files too.
    + Added support to compile .qrc files into final executables.
      This uses 'rcc' QT tool and since this one generates a .cpp
      file, the build process will require QT headers.
    ; TODO: If possible, create QRC .cpp to .prg converter to
            remove this dependency. Pritpal, do you think it's 
            possible?

  + contrib/hbide/hbide.qrc
    + Added QRC file with all the .png files in resources dir.

  * contrib/hbide/hbide.hbp
    + Added QT detection. I'm not so secrectly hoping someone will
      create a qrc .cpp to .prg converter so we can drop this
      dependency.

  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/hbide.prg
    * Changed to pick resource .png files from internal resource
      except external files. This means that /resources dir doesn't
      need to be distributed along hbide executable, IOW hbide
      executable is now self-contained (except a few exceptions like
      hbide.env, plus the fact the internal html pages make references
      to these external files, too.)
    - Deleted some unnecessary trash from source.
    ; TOFIX: hbide.env should reside in same place as hbide.ini.
             Pritpal could you check it?
    ; TOFIX: hbide internal html pages make reference to .png files
             on disk.
2010-06-29 07:53:24 +00:00
Viktor Szakats
796a93512c 2010-06-29 08:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added HB_QT_UIC_BIN.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to call 'pre_prg' plugin state from a better
      position, so that it works in incremental mode.

  * contrib/hbqt/hbmk2_plugin_ui.prg
    * Variable name cleanup.
    * Marked parameters passed by reference.

  * contrib/Makefile
    * Finalizing GNU Make -> hbmk2 job transfer.

  * contrib/makefile.prg
    * Finalizing clean/install/make job control.

  * contrib/hbide/hbide.hbp
    + Use explicit .ui input file list instead of using wildcards.

  * contrib/hbide/setup.ui
    ! Fixed mixed-case hbide.ini filename on UI.
    ! Fixed .exe extension (and mixed case) on UI.
2010-06-29 06:47:23 +00:00
Pritpal Bedi
bf251d5bd7 2010-06-28 19:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpbrowse.prg
    % Rearrangement of code. Was calculating rows console based.

  * contrib/hbide/idedocks.prg
    % Minor.

  * contrib/hbide/idebrowse.prg
    + Implemented: browse and corresponding form view of a table,
                   wrapped inside splitters.
                   Multiple tables are presented in vertical splitters
                   and form view is presented in horizontal splitter.
      ; NOTE: still work in progress. But proof of concept is 
              already working.
2010-06-29 02:09:39 +00:00
Viktor Szakats
e41a36f2bf 2010-06-28 21:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbformat/Makefile
  * utils/hbi18n/Makefile
  * utils/hbtest/Makefile
    ! Fixed to not try to build shared binaries if HB_BUILD_DLL=no.

  * utils/hbmk2/hbmk2.prg
  * utils/hbrun/hbrun.prg
    + Recognized .hbs as extension equivalent to .prg.
      .hbs means: Harbour Script
2010-06-28 19:40:20 +00:00
Viktor Szakats
451435dfd0 2010-06-28 21:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_plugin_ui.prg
    * Further cleanup.
    + Added detailed error messages for remaining (rare) error cases.

  * contrib/hbqt/hbmk2_plugin_ui.prg
  * contrib/hbqt/hbmk2_plugin_moc.prg
    * Minor cleanup to use hb_StrFormat() in two more places.

  * contrib/makefile.prg
    - Deleted reference to hbqtui.
2010-06-28 19:31:42 +00:00
Viktor Szakats
dd5accce3d 2010-06-28 21:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_plugin_ui.prg
    % Deleted unnecessary parantheses
    % Using FOR EACH.
    % Minor optimizations
    ! Variables renamed to not use one-letter variable names 
      and ones ending with underscore.
2010-06-28 19:14:55 +00:00
Viktor Szakats
e4325e54a8 2010-06-28 20:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_plugin_ui.prg
    + Rewritten to look for uic tool. Using same rules as
      moc. Marco is silent so I'm not sure about some of the
      rules, anyway I hope someone will review it, until then
      it won't cause any harm.
    + Merged hbqtui functionality. The code has been formatted,
      some logic cleaned. Made all the changes that were needed 
      in order to include the code in a hbmk2 plugin.
      hbqtui is not needed anymore.
    ; TODO: Use hb_regexAll() instead of hb_regex() if possible.

  * contrib/hbqt/hbmk2_plugin_moc.prg
    * Minor cleanup in error messages.

  * utils/hbmk2/hbmk2.prg
    * Added HB_REGEX() to the executable until it's cleaned away from
      ui plugin.
2010-06-28 18:55:27 +00:00
Viktor Szakats
32573c80f8 2010-06-28 18:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbp
    + Enabled moc tool for future .hpp files.

  * contrib/hbqt/utils/hbqtui.prg
  * contrib/hbqt/utils/hbqtui.hbp
    - Deleted hbqt.ch requirement.
      For some strange reason (which turned out to be copy/paste
      programming from THbQtUI() class) the converter also did
      some PP job, which created the unnecessary dependency to
      hbqt.ch.
    * Cleanups. Note the code is so hacky that it would take
      many days to clean it up. I might have broken stuff,
      you touch something and something else breaks on a
      completely different area.
    - Commented maintaining a duplicate of hbqt.ch constants.
    % Deleted OOP style coding. It was not necessary and quite
      half-baked anyway.
    * Changed to use ui_ prefix and std .prg extension
      instead of .uip.
    ; TOFIX: The generator creates reference to function named
              Q__TR() which turned out to be part of HBQT.
              What is this function?

  * contrib/hbqt/hbmk2_plugin_ui.prg
    * Changed to use ui_ prefix and std .prg extension
      instead of .uip.
2010-06-28 16:49:24 +00:00
Pritpal Bedi
70ca463544 2010-06-28 08:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/idebrowse.prg
    ! Refinements: data navigation and allied in hbideDBU interface.
2010-06-28 15:56:38 +00:00
Mindaugas Kavaliauskas
a15a506d7d 2010-06-28 18:42 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbcomm/hbcomm.prg
    * added hb_comClose() to INIT_PORT() to respect latest HBCOM API 
      changes
2010-06-28 15:45:51 +00:00
Viktor Szakats
8402cfe683 2010-06-28 17:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- external/minizip/readme.txt
    - Deleted. Most information was obsolete and now update
      is automatic.

  - contrib/hbide/resources/hbmk2_plugin_ui.prg
  + contrib/hbqt/hbmk2_plugin_ui.prg
    + Moved this hbmk2 plugin to its proper place inside
      hbqt. It's QT specific functionality.

  * contrib/hbide/hbide.hbp
  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqts.hbc
    * Changed to follow above plugin location change.

  * contrib/hbide/ideprojmanager.prg
    - Commented ui plugin from hbide. It's needs to be solved
      differently. ui plugin is QT specific so it cannot be
      inside hbide tree.

  * config/postinst.prg
    + Some more feedback.
    ! Slight correction to another feedback.
2010-06-28 15:04:39 +00:00
Mindaugas Kavaliauskas
8d2c665f98 2010-06-28 17:22 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/include/hbcom.ch
  * harbour/rtl/hbcom.c
    * implemented new error code HB_COM_ALREADYOPEN in hb_comOpen()
  * harbour/contrib/hbct/ctcom1.c
    * changed COM_OPEN() behaviour to be compatible with HBCOM API 
      and original CT behaviour
2010-06-28 14:23:11 +00:00
Viktor Szakats
cd96854d12 2010-06-28 10:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/msvc.mk
    ! Fixed HB_BUILD_SHARED=yes mode for msvc.
2010-06-28 08:58:35 +00:00
Viktor Szakats
0d75628529 2010-06-28 10:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/patchup.prg
    * Changed gtcgi force option to be the more portable-style one.

  * contrib/hbqt/utils/hbqtui.prg
    + Added error message
    ; TOFIX: This tool needs serious ruggedizing to be ready for
             production environment. It just fails to give _any_
             on screen feedback about what's happening, or what
             fails. This means that the caller will fail in various
             ways depending on how hbqtui failed. It also doesn't
             return anything via errorlevel. Pritpal can you look
             at it?

  * contrib/Makefile
  * contrib/makefile.prg
    + Added experimental call out from GNU Make to Harbour
      contrib make orchestrator script.
2010-06-28 08:45:41 +00:00
Pritpal Bedi
83cd26eed4 2010-06-28 01:12 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.hbp

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  + contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbxbp/xbpbrowse.prg

    + Implemented: database tables manager ( dbu ). 
      A work-in-progress but you can have a feel of it.
        1. "View"->"Browser Widget"->Select a Table.
        2. Hide the widget and repeat process 1, select another table.
        3. The widget will now contain both browsers. 

    NOTE: many surprises may be there, just bear with me, 
          it is a quick commit. Refinements are scheduled for 
          this whole week.
2010-06-28 08:19:55 +00:00
Pritpal Bedi
580ed68ee0 2010-06-27 19:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/toolsutilities.ui
    + Added "Plugin" "Init at startup" slots.

  * contrib/hbqt/hbqt_hbslots.cpp
    + Deactivated: one tracelog entry.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideplugins.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idetools.prg

    % Fixed: docking widgets had stopped to be resizable.

    + Enhanced: plugins are now supported in .prg format also.

    + REQUESTed all hbQT and hbXBP classes for scripts to be 
      completely functional.

    + Added: "Plugins" combo-box and "Init at startup" checkbox in 
      "Tools & Utilities" dialog below to "Command Line Parameters".
      If "Init at startup" checkbox is checked then this plugin 
      is initialized at startup. Such defined plugins can be placed 
      on user-defined toolbars and can be executed directly from 
      there. 

      "Parameters" editbox can hold the parameters passed to the plugin.
      The format of such parameters is like command line but with one 
      difference that string parameter are enclosed in double quotes and 
      separated by spaces. For example: "open" 100 100 700 500.

    + Initialized: plugins at the startup which are flagged as such 
      through  "Tools & Utilities" interface. It facilitate to hook
      user defined parameters, object tweakings, etc at the startup.
      For example, user can setup compiler and or build environment
      with hb_setEnv() functions.
  
    + Top-Toolbar icon "Run as Script". This option allow you to run 
      source of current editing instance as a script. It is especially 
      handy to debug isolated dialogs etc on the fly. Below is an 
      example to test a dialog:

         FUNCTION Main()
            LOCAL oDlg
            LOCAL nT := 10, nL := 10, nW := 300, nH := 200

            oDlg := QDialog():new()
            oDlg:move( nT, nL )
            oDlg:resize( nW, nH )

            oDlg:exec()

            RETURN NIL
     
      NOTE: no preprocessor is available, so all variable must be self contained.

      Preceived, thoughtof, tested, by Antonio Linares, thanks.
2010-06-28 03:29:19 +00:00
Viktor Szakats
91f79625c2 2010-06-28 02:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  + contrib/hbqt/qtwebkit/hbqtwebkits.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbp
  + contrib/hbqt/qtdesigner/hbqtdesigners.hbp
    + Added working hbmk2 make files, also for Windows static mode.
      (BTW, basically a simple copy of existing qt ones)
2010-06-28 00:31:23 +00:00