Commit Graph

14574 Commits

Author SHA1 Message Date
Pritpal Bedi
1452e2d39a 2010-07-04 12:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fixed: glitch in selected text background color off by few pixels.
2010-07-04 19:24:42 +00:00
Viktor Szakats
abba1977a2 2010-07-04 20:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * external/Makefile
  * contrib/Makefile
  * utils/Makefile
    - Deleted HB_CONTRIB_ADDONS, HB_EXTERNAL_ADDONS,
      HB_UTIL_ADDONS.
    + Documented HB_ADDONS_LIB, HB_ADDONS_BIN (still not
      necessarily the final names)

  * package/winuni/mpkg_win_uni_extra_copy.bat
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    + Included hbnetio in Windows based installers.
      (.zip already had it after previous changes)

  * package/winuni/mpkg_win_uni_extra_copy.bat
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * config/postinst.hbs
    - Deleted building hbrun-dll. It makes simpler,
      won't be missed by too many users. Users needing
      fully shared binaries can use HB_BUILD_SHARED=yes.
2010-07-04 18:48:39 +00:00
Viktor Szakats
86ef92953f 2010-07-04 19:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/makefile.hbs
    ! Fixed to pass -inc option in install phase.
    + Added -shared option when building dynamic libs.
    + Honoring HB_BUILD_SHARED when building binaries.
    + Added new build pass for locally hosted external libs
      specific to contribs. Currently these are sqlite3, 
      minizip and bz2.
    * Internal cleanups.

  * contrib/makefile.hbs
  + contrib/hbnetio/utils/hbnetio.hbp
  - contrib/hbnetio/utils/netiosrv.hbp
    * Renamed.
    * Changed naming to be simply hbnetio without platform
      or cpu postfix.
2010-07-04 17:53:20 +00:00
Viktor Szakats
ea84a85230 2010-07-04 19:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- bin/patchup.hbs
  + bin/hbxpatch.hbs
    * Renamed to have hb prefix.
      Better suggestion are welcome for the name, don't
      consider this final. Pbly sth like hbupdext.prg
      would be better.

  * contrib/Makefile
    * Changed test status of makefile.hbs call to make it
      do some actual work.

  * config/postinst.hbs
    - Deleted implib creation. Now done by makefile.hbs.
      Implibs are never required for core, so this is now
      much cleaner.
    - Deleted experimental HB_BUILD_ADDONS support. This
      feature has moved to makefile.hbs and it can be
      controlled by HB_ADDONS_LIB and HB_ADDONS_BIN to add
      non-hosted extra components to the build process.
      The envvar names are not finalized.
    * Changed to only copy .hbs files starting with 'hb'
      in bin dir to avoid catching local scripts and adding
      them to install.

  * contrib/makefile.hbs
    + Makred dependencies from external.
    * Reworked the way project list is assembled.
    ! Fixed root dir issues.
    ! Fixed -instpath option

  * config/postinst.hbs
    * Tweaked to convert pathseps in external tool calls
      to native.

  * ChangeLog
    ! Corrected most basic problems with Massimo's latest
      log entry. Massimo: You fixed a one byte typo and 
      caused by to fix about 10 typos writing 3-4 letters.
      This isn't very effective help.
2010-07-04 17:04:24 +00:00
Massimo Belgrano
1a6ccb67b6 addedd modification to changelog 2010-07-04 16:41:38 +00:00
Massimo Belgrano
46a8ab7241 small typo posted by Jacek Kubica
IF hb_socketGerError() should be IF hb_socketGetError() ...
2010-07-04 16:16:12 +00:00
Pritpal Bedi
d3f7c4d818 2010-07-04 09:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpmenubar.prg
    ! Added "style" management method - unique to Harbour.
2010-07-04 16:13:56 +00:00
Pritpal Bedi
562ca599a3 2010-07-04 08:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt.ch
  * contrib/hbqt/hbqt_hbslots.cpp
  * contrib/hbqt/hbqt_hbslots.h
    + Added: more slots covering QMdiArea and QMdiSubWindow classes.

  * contrib/hbxbp/xbpbrowse.prg
    ! Reworked: event handelling methods more spontaneous.

  + contrib/hbide/resources/browser.png
  + contrib/hbide/resources/formview.png
  + contrib/hbide/resources/thumbnail.png
  + contrib/hbide/resources/view_cascaded.png
  + contrib/hbide/resources/view_organized.png
  + contrib/hbide/resources/view_tabbed.png
  + contrib/hbide/resources/view_tiled.png

  * contrib/hbide/hbide.qrc
    + Added: few images as above.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideskeletons.prg
  * contrib/hbide/idestylesheets.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idetools.prg

    + Reworked: application theme management.
      Now it includes the missing components from previous.

    + Reworked: ideDBU interface.
      Now it is hosted in a MDI interface which is more natural
      to table management, including relational views. User can 
      rearrange and resize the browsers to his personal tastes.
      Here is the layout hirarchy of ideDBU:
        
      hbIDE
        ideDBU - docking pane, right-hand, floatable, dockable.
          Toolbar
            Add a table, Form View, Tabbed View, Original View, 
                 Cascaded View, Tiled View, Remove browser, 
                 Panels - create button, switch menu
          Panels - user defined, only one visible at a time
            Panel 1
              Browser 1 - .dbf, an array ( TODO, functionality is there )
              Browser 2 
              Browser n
            Panel 2 
              Browser 1
              Browser 2 
              Browser n
            Panel n 
              Browser 1
              Browser 2 
              Browser n
          Panels retain their last contents and are presented 
          on next run as is. The only exception being panel "Main" 
          is always the first visible.

      NOTE: there is a lot on my drawing board.
            So far I was struggling to make the behavior of 
            XbpBrowser stable per TBrowse specs and interface
            design. Rest will follow soon.
2010-07-04 16:08:52 +00:00
Viktor Szakats
58eedb8120 2010-07-04 15:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * config/postinst.hbs
    * Renamed hbmk.cfg to hbmk.hbc, to use std extensions.
      This file is a sortof autoexec.hbc.

  * utils/hbmk2/hbmk2.prg
    - Deleted line from help about automatic .hbc processing in cwd.
2010-07-04 13:54:29 +00:00
Viktor Szakats
d87556957e 2010-07-04 15:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* COPYING
  * utils/hbmk2/examples/plug_tpl.hbs
  * contrib/hbqt/hbmk2_plugin_qt.hbs
    + Changed to use same license as hbmk2 (pure GPL) 
      also for hbmk2 plugin scripts.

  * utils/hbmk2/hbmk2.prg
    ! Corrected to display any type of return value coming from 
      plugins. (all non-empty return value is considered an error)
s
2010-07-04 13:47:00 +00:00
Viktor Szakats
c1917d29a2 2010-07-04 15:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/patchup.hbs
  * contrib/hbqt/hbmk2_plugin_qt.hbs
  * contrib/makefile.hbs
  * contrib/hbide/plugins/savebackup.hbs
  * utils/hbmk2/examples/plug_tpl.hbs
  * config/postinst.hbs
    + Added license headers, information about script content 
      and context.
2010-07-04 13:28:25 +00:00
Viktor Szakats
ade4707157 2010-07-04 14:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- bin/patchup.prg
  + bin/patchup.hbs
  - utils/hbmk2/examples/plug_tpl.prg
  + utils/hbmk2/examples/plug_tpl.hbs
  - contrib/hbide/plugins/savebackup.prg
  + contrib/hbide/plugins/savebackup.hbs
    * Renamed standalone and plugin Harbour scripts
      to have .hbs extension.

  * contrib/hbqt/hbqt.hbc
  - contrib/hbqt/hbmk2_plugin_qt.prg
  + contrib/hbqt/hbmk2_plugin_qt.hbs
    * Renamed standalone and plugin Harbour scripts
      to have .hbs extension.

  * contrib/Makefile
  - contrib/makefile.prg
  + contrib/makefile.hbs
    * Renamed standalone and plugin Harbour scripts
      to have .hbs extension.

  * Makefile
  - config/postinst.prg
  + config/postinst.hbs
    * Renamed standalone and plugin Harbour scripts
      to have .hbs extension.
2010-07-04 13:02:00 +00:00
Viktor Szakats
5990163309 2010-07-04 14:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- external/patchup.prg
  + bin/patchup.prg
    * Moved to bin dir for universal access. F.e. we may want 
      to support external components inside contribs or anywhere 
      else in the tree.
    + Added support to recognize and use .hbp file as well, if 
      Makefile is not available in current dir.
2010-07-04 12:46:03 +00:00
Viktor Szakats
1ae025e9e2 2010-07-04 12:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/cdpapi.c
  * src/rtl/cdpapihb.c
  * include/hbapicdp.h
    + Added new low level hb_cdpList() function.
    ! cdp list generation logic now protected with mutex.
    ! HB_CDPLIST() .prg level function moved to cdpapihb.c,
      thus clearing the last pending TOFIX here regarding
      layer separation. Low level can now be moved to
      common lib (or is there anything else missing?).

  * contrib/hbqt/hbmk2_plugin_qt.prg
    * Minor correction in one stdalone error msg.
2010-07-04 10:23:11 +00:00
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