Commit Graph

14789 Commits

Author SHA1 Message Date
Viktor Szakats
3e8d2bc9e5 2010-07-28 13:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpre.hbm
    + Enabled -trace for contribs by default (HB_BUILD_VERBOSE=no will 
      disable it for now), to better resemble core build process.
2010-07-28 11:04:58 +00:00
Viktor Szakats
7594fcc649 2010-07-28 12:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    % Cleaned away test/migration modes.
    * One STATIC var changed to local.

  * contrib/hbpre.hbm
    + It's now possible to get all hbmk2 output along the Harbour
      build process by setting HB_BUILD_VERBOSE=yes.

  * examples/hbdoc2/gentpl.prg
  * examples/hbdoc2/genhtml.prg
  * examples/hbdoc2/hbdoc2.prg
    % Optimized out another pathsep holder variable.
2010-07-28 10:56:37 +00:00
Viktor Szakats
513ee19d9e 2010-07-28 12:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_rpm.sh
    * Another shot in the dark.

  - contrib/hbdoc2
  + examples/hbdoc2
    * Moved back to examples.
    ; TODO: Should be updated to use core API to load docs and 
            to generate output from the internal doc hashes.
2010-07-28 10:46:21 +00:00
Viktor Szakats
3865708b95 2010-07-28 11:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_rpm.sh
    ! Fix to always copy harbour.spec to SPECS dir.
      Shot in the dark.

  * package/harbour-win.spec
  * package/harbour-wce.spec
  * package/harbour.spec
    - Deleted RPM specific readme. Similar information is now 
      found in INSTALL.

  * contrib/hbwin/win_regc.c
    ! WIN_REGQUERYVALUEEX(): Fixed to check return value of 
      subsequent internal RegQueryValueEx() calls. Return NIL 
      if failed. (value length will still be reported as 
      received back from first RegQueryValueEx() call)

  * contrib/hbide/hbide.hbp
    ! Fixed QT .dll copying options. Commented the whole thing.
2010-07-28 09:06:34 +00:00
Viktor Szakats
cba44dbce6 2010-07-28 01:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Added support for 'clean all' build mode. This is the only
      way to clean and rebuild in one pass if someone doesn't
      want to install at the same time.
    ! Fixed to add -inc option in clean sessions.

  * contrib/hbide/ideactions.prg
    ! Fixed menu item text to not contain '&' mark. It's converted
      to underscore on Linux.
2010-07-27 23:24:05 +00:00
Viktor Szakats
a92ffb97ae 2010-07-28 00:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    + Will now install root documents (INSTALL, COPYING, TODO, ChangeLog)
      to HB_DOC_INSTALL on *nix systems.
    + Will now create the HB_MAN_INSTALL dir before copying.

  * debian/rules
    + Sets HB_MAN_INSTALL.
    + Sets HB_BUILD_SHARED=yes.
    % Deleted explicit reference to man files and ChangeLog, these are 
      now installed by postinst.hbs and picked automatically by debhelper.
      This means that now debian/rules doesn't have to be tweaked 
      if any Harbour files change name or location.
2010-07-27 22:16:52 +00:00
Viktor Szakats
aa6055f5f4 2010-07-27 23:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- package/debian
  + debian
  * INSTALL
    * Moved back to root. Seems like this MUST be in root and there 
      is no way to tell debhelper tools otherwise.

  * debian/rules
    % Deleted unnecessary stuff. Pls review me.

  * config/global.mk
    ! Minor in comments.
2010-07-27 21:52:52 +00:00
Viktor Szakats
783c4433c9 2010-07-27 22:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    + Added more feedback.
    * Internal cleanups.
    + Changed to always copy to etc if there is target dir defined.
    ! Fixed typo in man copying.

  * config/global.mk
    + Added logic to setup dirs for *nix package creation.
      Fixing .tgz creation to work like before.
    * Changed to only set HB_MAN_INSTALL if installing to sysloc.

  * utils/hbmk2/hbmk2.prg
  * config/postinst.hbs
    ! Fixed DirBuild() function when crearing absolute paths without
      a drive letter. It created dir in current dir on non-*nix and
      didn't do anything while returning success on *nix.

  ; Now mpkg_tgz.sh replacement is about finished.
    It's pbly not 100% the same still, so pls review it.
2010-07-27 20:42:01 +00:00
Viktor Szakats
d0d1eb13dd 2010-07-27 19:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    ! Fixed missing EOLs in embedded install bash script.
    + Added Przemek copyright for embedded install bash script.
    ! Minor fix to uname based *nix system name detection.
2010-07-27 17:04:23 +00:00
Viktor Szakats
78e026b4a8 2010-07-27 18:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
    ! Fixed missing const when compiled with HB_PP_STRICT_LINEINFO_TOKEN
      option. Reported by Frank van Nuffel.
2010-07-27 16:43:12 +00:00
Viktor Szakats
c91321e695 2010-07-27 18:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    ! Fixed to tar creation.
2010-07-27 16:07:52 +00:00
Viktor Szakats
be48c07497 2010-07-27 16:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    ! Typo in tar detection.
2010-07-27 14:29:38 +00:00
Viktor Szakats
1db9c12b0b 2010-07-27 15:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    ! Typo in prev.
2010-07-27 13:33:06 +00:00
Viktor Szakats
6f0717765e 2010-07-27 15:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    ! Fixed to copy bin/*.hbs files also on *nix systems.
2010-07-27 13:30:36 +00:00
Viktor Szakats
585e426432 2010-07-27 15:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_rpm.sh
  * mpkg_rpm_wce.sh
  * mpkg_rpm_win.sh
  - harbour.spec
  - harbour-wce.spec
  - harbour-win.spec
  + package/harbour.spec
  + package/harbour-wce.spec
  + package/harbour-win.spec
    * .spec files moved inside package dir.

  * INSTALL
    ! Correction to tgz creation command.
2010-07-27 13:26:40 +00:00
Viktor Szakats
faabf4f823 2010-07-27 13:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbqt/qtgui/filelist.mk
    - Deleted no more used make file.
2010-07-27 11:33:06 +00:00
Viktor Szakats
c9a80f866c 2010-07-27 12:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_rpm_wce.sh
  * mpkg_rpm_win.sh
  * mpkg_src.sh
  - bin/hb-func.sh
  + package/mpkg_ver.sh
    - Deleted unused function from hb-func.sh
    * Moved and renamed hb-func.sh

  * config/postinst.hbs
  - bin/hbmk_l2d.hbs
  + bin/hbmk2l2d.hbs
    * Renamed.

  - mpkg_nightly.sh
  + package/mpkg_nightly.sh
    * Moved to package dir.
2010-07-27 10:55:41 +00:00
Viktor Szakats
838ec31a96 2010-07-27 12:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added new plugin APIs:
      - hbmk2_AddInput_OBJ()
      - hbmk2_PathFromWorkdirToCWD()
      - hbmk2_CWD()
    + Changed to not abort processing if there are no input files, but
      there are custom plugin input parameter.

  + bin/hbmk_l2d.hbs
    + Added rough plugin to convert static libs to dynamic libs
      on platforms supporting 'ar' tool (and of course the notion
      of such conversion). This is meant to replace functionality
      provided by bash script hb-mkdyn.sh.
      Pls find cmdline example in the script header.

  * config/postinst.hbs
    + Now installs hbmk_l2d.hbs

  - bin/hb-mkdyn.sh
    - Deleted hb-mkdyn speciality shell tool to convert static
      libs to dynamic ones.

  - bin/postinst.sh
    - Deleted, it only started hb-mkdyn.sh, which was just deleted.

  * Makefile
    - Do not run postinst.sh anymore.
2010-07-27 10:45:27 +00:00
Viktor Szakats
0958384bc0 2010-07-27 11:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- debian
  + package/debian
  * INSTALL
    * Moved debian package creation stuff from root to package dir.
2010-07-27 09:27:04 +00:00
Viktor Szakats
5e19ffc6b1 2010-07-27 11:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_rpm_win.sh
  - harbour-win-spec
  + harbour-win.spec
  * mpkg_rpm_wce.sh
  - harbour-wce-spec
  + harbour-wce.spec
    * Renamed to have standard extension.

  * config/postinst.hbs
    - Deleted detection for no longer existing Linux distros.
2010-07-27 09:24:02 +00:00
Viktor Szakats
744325c148 2010-07-27 11:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.dif
  * external/sqlite3/sqlite3.h
  * external/sqlite3/Makefile
    + Upgraded to 3.7.0 (from 3.6.23.1)
      It was a manual update because hbxpatch created a dif with the
      whole content due to fact that the original zip download has
      LF EOLs while the one in my local (Windows) sandbox has CRLF.

  * config/common/watcom.mk
    ! Fixed regression after (adding .exe extension to win/watcom $(CC)):
         2010-07-21 10:14 UTC+0200

  - mpkg_rpm_from_svn.sh
    - Deleted.
2010-07-27 09:12:08 +00:00
Viktor Szakats
f6486c7e37 2010-07-27 00:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Added new TODO.

  * contrib/hbblat/hbblat.hbc
  * contrib/gtwvg/gtwvg.hbc
  * contrib/rddads/rddads.hbc
  * contrib/hbfimage/hbfimage.hbc
  * contrib/hbwin/hbwin.hbc
  * contrib/hbssl/hbssl.hbc
    * Updated skip= commands according to recent hbmk2 changes, to 
      avoid displaying 'yes' when the lib is unsupported.
2010-07-26 22:58:37 +00:00
Pritpal Bedi
7551d9b39e 2010-07-26 15:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/ideedit.prg
    % Fixed: a bug in code completion flush in FIELD-> and ALIAS-> section.
2010-07-26 22:40:58 +00:00
Pritpal Bedi
68997e7ec6 2010-07-26 14:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpmenubar.prg
    % Fixed: a nasty bug.
2010-07-26 21:56:58 +00:00
Viktor Szakats
3c065a8c00 2010-07-26 23:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    ! Typo fixed.
2010-07-26 21:18:13 +00:00
Viktor Szakats
aa960ef3c0 2010-07-26 22:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- mpkg_deb.sh
    - Deleted wrapper script. Pls use the method documented in
      INSTALL to build .deb files.

  * utils/hbmk2/hbmk2.prg
    * Minor change in output for better clarity.
2010-07-26 20:34:57 +00:00
Viktor Szakats
575e7302a8 2010-07-26 21:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-func.sh
    - Deleted one more now unused function.

  * config/postinst.hbs
    ! Fix to prev.
2010-07-26 19:17:56 +00:00
Viktor Szakats
bd90e07276 2010-07-26 20:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
  * harbour.spec
  * config/instsh.mk
    * Do not use HB_INST_PKGPREF.

  * harbour.spec
    + Use HB_MAN_INSTALL

  * config/global.mk
    + Added HB_MAN_INSTALL and HB_ETC_INSTALL
    + PKG_NAME is now filled in little bit different way for
      *nix systems to emulate old mpkg_tgz.sh logic.

  * bin/postinst.sh
    - Deleted no more used subroutines.
    - Deleted mk_hblibso() function.
      - it maintained loca list of contribs which breaks the
        effort of contrib "plug-in" system
      - it contained lots of platform dependent build details in
        hard to maintain bash shell code.
      ; If someone needs this functionality pls try to integrate
        it in hbmk2 or write a .hbs script in modular fashion
        (not contrib names). I cannot tell what exactly was the functionality
        implemented there though. Maybe rewriting it locally is also an
        option.
    ! Do not use HB_INST_PKGPREF.

  * config/postinst.hbs
    + Rewritten mpkg_tgz.sh logic in .prg code. This logic is
      finally in it's proper place.
    + Implemented copying of man files on *nix systems.
    ; NOTE: Not tested at all, it was hard enough to rewrite it,
            pls help on finishing and debugging it. See TODOs in
            source. Previous replicated with some differences.

  - mpkg_tgz.sh
    - Deleted. Now implemented in postinst.sh.
      Build Harbour with HB_BUILD_PKG=yes to try it.

  * INSTALL
    + Added HB_MAN_INSTALL and HB_ETC_INSTALL
    + Updated .tgz binary instructions (now same on all platforms)

  * utils/hbrun/hbrun.prg
  * utils/hbrun/hbrun.hbp
  * utils/hbrun/Makefile
    * Renamed include dir control var.
    * Change so that now simple HB_INC_INSTALL value will
      trigger burn-in of header location.
    + Added logic to only use burnt-in header location if
      it is an absolute path.
    ! Synced .hbp file with this feature.
    ; NOTE: This is still non-portable and error
            prone solution. Pls see my thought on dev list
            about possible solutions to use precompiled
            Harbour headers compiled right into the executable.
2010-07-26 18:44:08 +00:00
Viktor Szakats
a29bb9d822 2010-07-26 15:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! Fixed to properly set FERROR() values.

  * contrib/hbnetio/utils/netiosrv.prg
    ! Do not pass the password by reference.
2010-07-26 13:09:19 +00:00
Viktor Szakats
46f7e48f29 2010-07-26 12:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/tests/wvtqt.hbp
  * contrib/hbxbp/tests/wvtqt.hbp
    ! Added missing SVN header.
    % Cleanup.

  * INSTALL
  * contrib/hbpost.hbm
  * config/global.mk
    * Changed HB_BUILD_IMPLIB to HB_INSTALL_IMPLIB to reflect
      new meaning after recent changes. With new build system
      the implibs are always created in lib working dir, and
      this setting only controls whether to copy it to final
      install directory. The default is still 'no'. Setting it
      to yes is only recommended if the installation will be
      used in local environment (3rd party .dlls) only. IOW
      never set this to yes when creating a build for other
      users (f.e. for distribution).
      INCOMPATIBLE if you used this setting, pls change it now.

  * INSTALL
    + Documented HB_STATIC_* options.

  * contrib/make.hbs
    * Updated TODO list.

  * src/debug/debugger.prg
  * src/rtl/dirscan.prg
  * tests/wcecon.prg
  * contrib/xhb/traceprg.prg
  * contrib/hbqt/tests/wvtqt.hbp
  * contrib/hbqt/generator2/hbqtgen2.prg
  * contrib/hbxbp/tests/demoxbp.prg
  * contrib/hbxbp/tests/dialogqt.prg
  * contrib/hbxbp/tests/wvtqt.hbp
  * contrib/hbhpdf/tests/harupdf.prg
  * contrib/gtwvg/tests/wvgtbrowser.prg
  * contrib/gtwvg/tests/wvgwvtclasses.prg
  * contrib/hbtip/tests/dbtohtml.prg
  * contrib/hbtip/mail.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idetools.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/hbide.prg
  * examples/uhttpd2/umain.prg
  * examples/hbvpdf/tests/pdf_demo.prg
  * examples/httpsrv/uhttpd.prg
  * examples/httpsrv/cgifunc.prg
  * examples/httpsrv/modules/tableservletdb.prg
  * examples/httpsrv/session.prg
    * HB_OSPATHSEPARATOR() -> HB_PS()
    % Delete temp vars along the way.

  * utils/hbmk2/hbmk2.prg
    + Generalized internals for support for older Harbour and
      xhb versions.
    + Added -hb20 option. (thanks for asking for it so nicely ;)
2010-07-26 10:36:23 +00:00
Pritpal Bedi
c0cc1d5268 2010-07-25 17:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/tests/dialogqt.prg
    % Some refinement.

  + contrib/hbxbp/tests/dialogqt.prg
  + contrib/hbxbp/tests/wvtqt.hbp
  + contrib/hbxbp/tests/wvtqt.prg
    + Presented: how a Windows console application can make use of 
      powerful Qt capabilities. The key lies in the MT mode.
     
      NOTE: follow previous log entry for details.
2010-07-26 00:53:22 +00:00
Pritpal Bedi
dd385e2340 2010-07-25 16:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbqt/tests/dialogqt.prg
  + contrib/hbqt/tests/wvtqt.hbp
  + contrib/hbqt/tests/wvtqt.prg
    + Presented: how a Windows console application can make use of 
      powerful Qt capabilities. The key lies in the MT mode.

        1. Issue hbmk2 wvtqt.hbp -run 
        2. Press F12 to open Qt dialog. It is the same as in demoqt.prg.
        3. Navigate in the Qt and console window at will.
        4. Remaining in console, press F12 again, another dialog will open.
        5. To go further, in any Qt dialog, point to <Dialog> menu option 
           and click on "Another dialog".
        6. Navigate among windows.
        7. Close any Qt window. I mean play with the opened windows.

      This opens up yet another vast space for Harbour developer.
      NEXT: in the process to present same functionality with hbXBP also.
2010-07-25 23:24:27 +00:00
Pritpal Bedi
69befd642c 2010-07-25 14:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
    + Added: more class methods.

  * contrib/hbide/ideedit.prg
    % Refined: alias->fieldsList protocol. 

    + Implemented: abbreviated code completion usage.
      Here is how it works:
        1. Create {hbide_resources_path}/hbide_protos_shorthand.txt
        2. Include entries ( one for every separate line ) similar to:
             zSDB-   SET DATE BRITISH
             zSAT-   SET ALTERNATE TO "myfile"
             zCmdD-  DEFINE WINDOW oWnd BLAH-BLAH-BLAH
        3. Execute hbIDE. Remember that any file prefixed as "hbide_protos_"
           will be populated in the code completion lists.
        4. In some editing instance, type "z" and you will see 
           above entries inside completion popup.
        5. As usual, select one, say zSAT, and you will see 
           'SET ALTERNATE TO "myfile"' inserted removing keyword characters.

      NOTE: shorthand keyword is case insensitive. So you can use
            this feature to the best of visualization.

            Keywords demonstrated as above are prefixed with "z",
            just because all shorthand(S) will be clubbed together,
            but you may use any characters you like.          

            Keyword must ever be followed by "-" (hyphen) character without 
            any spaces in between. This tells hbIDE that it is a shorthand word.
            Anyhow you can format the value as you like best.

            On basis of above theory, we can implement more constructs.
            I am looking forward what else you preceive which can be done.
2010-07-25 22:05:08 +00:00
Viktor Szakats
5eca19bb93 2010-07-25 17:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Fixed missing changelog entry for hbmk2.prg. See it right
      below.

2010-07-25 10:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
  * utils/hbmk2/hbmk2.prg
    * Changed to fix bcc installations (.cfg files) even if the
      .cfg files do exist (so far hbmk2 was only doing this 
      configuration, if bcc was not configured at all). This 
      makes it in sync with Harbour GNU Make logic. This issue 
      seems to be a neverending problem with (for) bcc users. 
      Pls note that Harbour will do a minimal bcc configuration 
      only, to make it possible to create Harbour apps. If hbmk2 
      is used to create other bcc apps, users will pbly have 
      to configure bcc properly, in accordance with its own 
      readme/install docs.
  [...]
2010-07-25 15:44:50 +00:00
Viktor Szakats
6b758c4f6d 2010-07-25 10:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbcompat.ch
    + Added xhb translations for hb_eol() and hb_ps().

  * contrib/make.hbs
    - Deleted SetCancel().

  * src/debug/tbrwtext.prg
  * src/debug/debugger.prg
  * src/rtl/errsys.prg
  * src/rtl/profiler.prg
  * src/rtl/hbini.prg
  * src/rtl/treport.prg
  * src/rtl/tpersist.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/ttextlin.prg
  * src/rtl/teditor.prg
  * src/rdd/usrrdd/rdds/logrdd.prg
  * tests/hbpptest/hbpptest.prg
  * tests/longstr2.prg
  * tests/cdow.prg
  * tests/output.prg
  * tests/dirtest.prg
  * tests/tstdbi.prg
  * tests/speedold.prg
  * tests/dates3.prg
  * tests/set_test.prg
  * tests/rto_get.prg
  * tests/cpinfo.prg
  * tests/speedtst.prg
  * tests/dates.prg
  * tests/set_num.prg
  * tests/rto_tb.prg
  * tests/testhtml.prg
  * tests/round.prg
  * tests/dates2.prg
  * tests/dates4.prg
  * tests/version.prg
  * tests/seconds.prg
  * tests/gtkeys.prg
  * tests/adirtest.prg
  * include/simpleio.ch
  * include/assert.ch
  * contrib/hbct/tests/tab.prg
  * contrib/hbct/tests/expomant.prg
  * contrib/xhb/traceprg.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/dbgfx.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/cstruct.prg
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt_errorsys.prg
  * contrib/hbqt/generator2/hbqtgen2.prg
  * contrib/hbxpp/hbxpp.ch
  * contrib/hbnetio/utils/netiosrv.prg
  * contrib/hbnetio/utils/rpcdemo.hbs
  * contrib/hbnetio/utils/netiocmd.prg
  * contrib/hbpgsql/tests/dbf2pg.prg
  * contrib/hbmisc/tests/readfile.prg
  * contrib/hbmisc/tests/testhbf.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbtip/client.prg
  * contrib/hbwin/tests/testsim.prg
  * contrib/hbwin/tests/testole.prg
  * contrib/hbwin/tests/testsvc.prg
  * contrib/hbssl/tests/bio.prg
  * contrib/hbssl/tests/pem.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/hbide.ch
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideshortcuts.prg
  * utils/hbformat/hbformat.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/hbtest.prg
  * examples/hbextern/hbextern.prg
  * examples/uhttpd2/umain.prg
  * examples/guestbk/inifiles.prg
  * examples/guestbk/testcgi.prg
  * examples/httpsrv/uhttpd.prg
  * examples/hscript/hscript.prg
    * hb_osnewline() -> hb_eol()
      (deleting temp variables and temp pp macros used in the past
      to workaround the long typing of the old function name)
    * Some formatting along the way in tests dir.

  * src/rtl/errsys.prg
    - Deleted usage of ISNIL(). It's a quite pointless macro.

  * src/rtl/errsys.prg
  * src/rtl/listbox.prg
  * src/rtl/profiler.prg
  * src/rtl/treport.prg
  * src/rtl/tpersist.prg
  * src/rtl/tgetlist.prg
  * src/rtl/teditor.prg
    % DO CASE -> SWITCH

  * src/rtl/alert.prg
    * Replaced DEFAULT TO with simple NIL check.

  * src/compiler/gencc.c
    * Formatting of generated code.

  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/hbide.ch
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideshortcuts.prg
    * hb_osPathSeparator() (and static variable) -> hb_ps()
2010-07-25 08:45:50 +00:00
Pritpal Bedi
bb4cc5818d 2010-07-24 18:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qth/HBQPlainTextEdit.qth
  * contrib/hbqt/qtgui/THBQPlainTextEdit.prg
  * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
  * contrib/hbqt/doc/en/class_hbqplaintextedit.txt
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
    + Added: one more method call.
  
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
    + Implemented: <intellisense><code completion> for 
      FIELD-> and someAlias-> table fields for tables opened in ideDBU.

      How it Works:
        1. Open few tables in ideDBU.
        2. In some editor instance type "FIELD->" 
           It will set the field completion mode ON.
        3. type some letter starting a field, say, "a"
           Code completion dialog will open with all fields 
           starting with "a" contained in all the tables opened.
        4. To get list of all fields in all tables,
           after typing FIELD-> type "x" and then press back space.
        5. To get field completions for a particular alias,
           type "that_Particular_alias->" and then some letter.
        6. To get all fields in an alias type "alias" then "->" then "x" then press "backspace".

      Presentation:
        FIELD->   FieldName ( TableName ) FieldsOrdinalNumber, FieldType, FieldLength, DecPlaces
                  =>
                  SaleAmount ( Invoice ) 13, N, 12, 2

        Invoice-> FieldName FieldsOrdinalNumber, FieldType, FieldLength, DecPlaces
                  =>
                  SaleAmount 13, N, 12, 2
2010-07-25 01:48:27 +00:00
Pritpal Bedi
60adbd070f 2010-07-24 13:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
  * contrib/hbxbp/xbpbrowse.prg
    + Applied: patch forwarded by Bacco.
2010-07-24 20:24:58 +00:00
Pritpal Bedi
4974542ee9 2010-07-23 09:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/doc/en/class_hbqplaintextedit.txt
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
  * contrib/hbqt/qtgui/THBQPlainTextEdit.prg
  * contrib/hbqt/qth/HBQPlainTextEdit.qth
    + Prepared: to handle another field completion protocol - 
                a work-in-progress.

  * contrib/hbxbp/xbpbrowse.prg
    ! Minor.

  * contrib/hbide/idebrowse.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
    + Prepared: to handle field completion engine.
2010-07-23 16:28:53 +00:00
Viktor Szakats
3b6e247f8f 2010-07-23 17:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
    * HB_CONTRIBLIBS -> HB_BUILD_CONTRIBS

  * contrib/make.hbs
    ! Adjusted wording in log output.

  * utils/hbmk2/hbmk2.prg
    ! Fixed bad regression caused by extending filters to
      all options. I reverted it. It has a killer effect
      without huge benefit. Maybe it will be implemented
      differently in the future.
      The user effect of the regression was that libs were
      created in bin dir.
    * Cleaned some variable names passed to plugins.

  * utils/hbmk2/examples/plug_tpl.hbs
    + Added comment about requirement of reentrancy.
2010-07-23 15:36:22 +00:00
Viktor Szakats
b5e40738d2 2010-07-23 14:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Accept package simply as 'hbmylib'. In such case it will 
      use 'hbmylib/hbmylib.hbp' as project file.
2010-07-23 12:02:29 +00:00
Viktor Szakats
319d515799 2010-07-23 13:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    - Deleted handling of .hbi extension.
    - Deleted -target and -alltarget cmdline options as an
      effort for simplification. Now all cmdline options apply
      to all targets.
    + .hbp file references will now be executed as sub-projects,
      using an internal recursive call to the hbmk2 engine.
      This means that projects can now be embedded. INCOMPATIBLE
      if someone used .hbp file references inside other make
      files. If you want to create common settings in a separate
      file, always use .hbm extension.
      Pls note that sub-projects will inherit all cmdline options
      of original hbmk2 invocation.
    + Added ${hb_targetname} macro to return the parent project
      name.
    + Added ${hb_targettype} macro. Returning target type.
    + Changed -run option to only run the top level project.
    + Changed --hbinfo to return a flat list of information
      about all projects involved. Currently the main project
      is the last one in the list (order of execution).
    + Filters can now be used also for file inclusion and -skip
      options (which means they can now be used for all possible
      cmdline and .hbm/.hbp options)
    ! Fixed the way automatic cmdline options based on
      hbmk2's own filename are created. From now -hbcmp, -hblnk,
      -hbcc, -rtlink, -xhb, -hb10 will be added to the left side
      of the existing option (to precede everything else), while
      the rest (f.e. -hblib, -hbexe, -hbdyn) will be added last.
    ; NOTE: Quite heavy changes so pls expect (and report) any
            regressions. Most probably there will be room for
            tweaks here and there to make the new cascading build
            feature as smooth as possible.

  * contrib/make.hbs
    % Internally simplified since now the handling of sub-projects
      is the job of hbmk2 and .hbp make files.
    + In standalone mode it will now detect the name of the project
      in current dir, so the codepaths are much similar to the
      GNU Make mode now and stdalone mode will also rely on pkglist,
      instead of trying to detect what to build on its own.
    + Not require pkglist to list any sub-projects anymore, now
      it's simple list of main .hbp files.
    + Changed along with hbmk2 to deal with multiple project
      information returned by --hbinfo.
    + Avoid using the word "contrib", use "package" instead.

  * contrib/pkglist
    * Simplified to a mere list of main .hbp files for packages.

  * utils/hbrun/hbrun.prg
  * contrib/make.hbs
  * config/postinst.hbs
    * PathSepToSelf() rewritten to not make assumptions about
      __PLATFORM__* macro vs hb_ps() value, instead use hb_ps()
      value to decide what to do.

  * utils/hbrun/hbrun.prg
    ! Fixed to not save the (empty) history after each non-interactive
      session.

  * config/win/cygwin.mk
    ! Fixed to add z and pcre libs if the locally hosted ones
      aren't used.

  * contrib/hbqt/generator/hbqtgen.prg
    ! Fixed OS names in doc output.
    * Formatting.

  * contrib/gtalleg/gtalleg.hbm
  * contrib/gtalleg/gtalleg.hbp
  * contrib/gtalleg/gtallegs.hbp
  * contrib/hbcurl/hbcurl.hbm
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbcurl/hbcurls.hbp
  * contrib/hbtip/hbtip.hbm
  * contrib/hbtip/hbtip.hbp
  * contrib/hbtip/hbtipssl.hbp
  * contrib/hbssl/hbssl.hbm
  * contrib/hbssl/hbssl.hbp
  * contrib/hbssl/hbssls.hbp
  * contrib/hbqt/hbqt_common.hbm
  - contrib/hbqt/hbqt.hbm
  + contrib/hbqt/filelist.hbm
  * contrib/hbqt/hbqt.hbp
  * contrib/hbqt/hbqts.hbp
  * contrib/hbqt/hbqtgui.hbp
  * contrib/hbqt/hbqtguis.hbp
  * contrib/hbqt/hbqtcore.hbp
  * contrib/hbqt/hbqtcores.hbp
  * contrib/hbqt/hbqtnetwork.hbp
  * contrib/hbqt/hbqtnetworks.hbp
  - contrib/hbqt/gtqtc/gtqtc.hbm
  + contrib/hbqt/gtqtc/filelist.hbm
  * contrib/hbqt/gtqtc/gtqtc.hbp
  * contrib/hbqt/gtqtc/gtqtcs.hbp
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  * contrib/hbqt/qtwebkit/hbqtwebkits.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigners.hbp
  * contrib/hbqt/hbqscintilla/hbqscintilla.hbp
    * Cleanup along with latest changes:
      Using ${hb_targetname} instead of ${hb_name}, so it's safe to
      use it inside .hbm file, instead of replicating them in every
      .hbp file.
    + Now primary .hbp project files always reference the sub-project
      .hbp files:
         - hbqt
           + hbqts
           + hbqtcore
             + hbqtcores
           + hbqtgui
             + hbqtguis
           + hbqtnetwork
             + hbqtnetworks
      Which means that 'hbmk2 hbqt.hbp' will rebuild the whole
      stuff (all libs, and even static libs if requested) in one pass.
    * Renamed some file for more uniform layout.
2010-07-23 11:08:33 +00:00
Pritpal Bedi
7dfa9982ef 2010-07-22 18:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpbrowse.prg
    + Changed: width of the columns : maximum of data or header.

  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idemisc.prg
    + Implemented: ideDBU - left-toolbar icons.
        Append, Delete, Lock, Gotop, GoBottom, ToFirstColumn, ToLastColumn, Search.

    + Implemented: ideDBU - context menu:
        > Scroll to...      Opens a input dialog to fetch fieldname ( case insensitive ).
                            Any first characters will scroll the browser to 
                            make that column visible. Vey handy especially in 
                            tables with lot of fields.
        > Search in Field   Opens input dialog to fetch a value to be searched
                            sequentially on the highlighted field. This option is 
                            available in any state of the table, indexed or natural order.
        > Form View         Triggers the form-view scrollable widget visible.
2010-07-23 02:02:10 +00:00
Pritpal Bedi
8531e38655 2010-07-22 10:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/hbpprocess.prg
    + Added: :waitForFinished() method.

  * contrib/hbide/idebrowse.prg
    % Reworked: ideDBU:formView - now it is presented in a scrollable widget.

  * contrib/hbide/ideprojmanager.prg
    + Added: "xbuild" project files .xbp as basis for project conversion.
    ! Changed: hb_processRun() => QProcess().
2010-07-22 17:19:22 +00:00
Viktor Szakats
29bb18fba1 2010-07-22 16:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/generator/qt45.qtp
  - contrib/hbqt/qth/HBDbfModel.qth
  - contrib/hbqt/qtcore/THBDbfModel.prg
  * contrib/hbqt/qtcore/filelist.hbm
  - contrib/hbqt/qtcore/HBDbfModel.cpp
  - contrib/hbqt/doc/en/class_hbdbfmodel.txt
  * contrib/hbqt/hbqt.h
  - contrib/hbqt/hbqt_hbdbfmodel.h
  * contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/hbqt.hbm
    - Deleted now obsolete DBFMODEL.

  * src/rtl/gtcrs/gtcrs.h
    * Minor formatting. (from patch by Tamas Tevesz)

  * config/detect.mk
    ! Fixed autodetection of curses under Cygwin.
      Requires Cygwin sh shell to work.
      Patch by Tamas Tevesz.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    * Minor.
2010-07-22 14:59:03 +00:00
Viktor Szakats
66d5a12c2f 2010-07-22 14:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
  + contrib/pkglist
    + Changed to use external file to load the package
      list and package layout from.
    + Handling the case when .hbp filename has pathsep in it.

  + contrib/gtalleg/gtalleg.hbm
  * contrib/gtalleg/gtalleg.hbp
  * contrib/gtalleg/gtallegs.hbp
  + contrib/hbcurl/hbcurl.hbm
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbcurl/hbcurls.hbp
  + contrib/hbtip/hbtip.hbm
  * contrib/hbtip/hbtip.hbp
  * contrib/hbtip/hbtipssl.hbp
  + contrib/hbssl/hbssl.hbm
  * contrib/hbssl/hbssl.hbp
  * contrib/hbssl/hbssls.hbp
  + contrib/hbqt/hbqt.hbm
  * contrib/hbqt/hbqt.hbp
  * contrib/hbqt/hbqts.hbp
  + contrib/hbqt/gtqtc/gtqtc.hbm
  * contrib/hbqt/gtqtc/gtqtc.hbp
  * contrib/hbqt/gtqtc/gtqtcs.hbp
    * Moved common make settings to .hbm files instead
      of making internal reference to other .hbp file.

  * contrib/hbqt/hbqt_common.hbm
    + Added -hblib option.

  * contrib/hbqt/hbqtgui.hbp
  * contrib/hbqt/hbqtguis.hbp
  * contrib/hbqt/hbqtcore.hbp
  * contrib/hbqt/hbqtcores.hbp
  * contrib/hbqt/hbqtnetwork.hbp
  * contrib/hbqt/hbqtnetworks.hbp
  * contrib/hbqt/hbqscintilla/hbqscintilla.hbp
  + contrib/hbqt/qtwebkit/filelist.hbm
  * contrib/hbqt/qtwebkit/hbqtwebkits.hbp
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  + contrib/hbqt/qtdesigner/filelist.hbm
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigners.hbp
    * Delete references from .hbp files to other
      .hbp files.
    * Moved file lists into separate .hbm files.
2010-07-22 12:47:15 +00:00
Viktor Szakats
9b9abe5f5e 2010-07-22 10:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtcrs/gtcrs.c
    ! Fixed to build on Cygwin.

  * external/minizip/minizip.dif
  * external/minizip/ioapi.h
    ! Patch by Tamas Tevesz: "it's rather questionable this has ever
      done what it was intended to do. bad name for one macro, half
      of other macro missing."
      Fixes to largefile support.
2010-07-22 08:16:08 +00:00
Pritpal Bedi
af0b539000 2010-07-21 17:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/QTreeWidget.cpp
  * contrib/hbqt/qth/QTreeWidget.qth
    % Changed: :addTopLevelItem() to detach from GC cycle.

  * contrib/hbide/hbide.prg
  * contrib/hbide/idebrowse.prg
    + Added: Rdd DBFNSX. Some artifacts corrected.
2010-07-22 00:59:22 +00:00
Viktor Szakats
08efbcb882 2010-07-22 00:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed stupid error not allowing to add the same install
      path for multiple groups.
    ! Fixed to not create workdir in --hbinfo mode.
    % Do not install twice the implibs defined in dependencies.

  * contrib/make.hbs
    + Make sure to disable envvars influencing build options
      also in stdalone mode.
2010-07-21 22:58:42 +00:00
Viktor Szakats
dde5e86839 2010-07-21 20:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/stuff.c
    ! Fixed GPF in STUFF() when HB_SIZE is signed value.
      (HB_SIZE_SIGNED mode)

  * contrib/make.hbs
    % Normalized some dirs to give cleaner and shorter output.
    + Shows HB_BUILD_CONTRIBS value.
    ! Fixed to only generate doc once for multi-hbp packages (HBQT f.e.).
    % Internal cleanups.

  * contrib/hbqt/hbmk2_plugin_qt.hbs
    + Honor HB_WITH_QT also on OS/2.
    * Internal. Feedback is still not perfect.

  * utils/hbmk2/hbmk2.prg
    + Normalize implib source dirs, -o dirs, -workdir dirs.
    + Implibs automatically generated for dependencies are now put
      in the 'implib' install target category, so they can be controlled
      separately.

  * contrib/hbpost.hbm
    ! Fixed to only install new automatic implibs when HB_BUILD_IMPLIB=yes.
    ; TODO: Rename this setting to HB_INSTALL_IMPLIB (or some better
            name). Now implib are always made, this setting only controls
            whether to install them (f.e. we don't want to install them
            when creating package for distribution).
    - Deleted stuff belonging to stdalone -hbimplib targets. This
      method is deprecated inside contrib area.

  * config/global.mk
    - Do not show HB_CONTRIBLIBS value anymore.
2010-07-21 18:40:16 +00:00
Viktor Szakats
47228eeb7a 2010-07-21 16:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbblat/hbblat.hbp
    ! Added missed flag for bcc. (was there in .hbi)
2010-07-21 14:15:11 +00:00