Commit Graph

14599 Commits

Author SHA1 Message Date
Viktor Szakats
db1fbb5aed 2010-07-06 21:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    ! Don't search passed program in PATH and hbrun dir, if
      program name has path component.

  * contrib/xhb/xhbenum.c
  * contrib/xhb/xhbqself.c
  * contrib/xhb/xhbwith.c
  * contrib/xhb/xhberrc.c
    ! Fixed msvc64 warnings after HB_SIZE extension in stack API.

  * contrib/make.hbs
    + Added logic to protect against case when 'clean install'
      is used but hbrun or hbmk2 isn't available when launching
      the make process. In this case 'clean' phase won't be executed
      for contribs, which is solved by forcing a -rebuild in
      'install' phase.

  * src/vm/strapi.c
  * src/vm/runner.c
  * src/vm/itemapi.c
  * src/vm/asort.c
  * src/vm/hvm.c
  * src/vm/arrays.c
  * src/vm/memvars.c
  * src/vm/set.c
  * src/vm/classes.c
  * src/rtl/lennum.c
  * src/rtl/strcase.c
  * src/rtl/replic.c
  * src/rtl/padr.c
  * src/rtl/padc.c
  * src/rtl/strtran.c
  * src/rtl/strtoexp.c
  * src/rtl/padl.c
  * src/rtl/saverest.c
  * src/rtl/right.c
  * src/rtl/philes.c
  * src/rtl/mlcfunc.c
  * src/rtl/left.c
  * src/rtl/xsavescr.c
  * src/rtl/setkey.c
  * src/rtl/stuff.c
  * src/rtl/trace.c
  * src/rtl/samples.c
  * src/rtl/inkeyapi.c
  * src/rtl/inkey.c
  * src/rtl/mtran.c
  * src/rtl/colorind.c
  * src/rtl/rat.c
  * include/hbapi.h
  * include/hbapistr.h
    * Renamed HB_SIZE variables to have 'n' prefix.
      (verified to generate the same objects as before)

  * src/rtl/philes.c
    * Changed hb_retnint()/hb_retni() to hb_retns().

  * contrib/hbgd/gdwrp.c
    * Formatting.
2010-07-06 19:02:19 +00:00
Viktor Szakats
dd77757a5d 2010-07-06 16:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwapi.h
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/wapi_commctrl.c
  * contrib/hbwin/win_shell.c
  * contrib/hbwin/win_dlg.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgwing.c
    ! wapi_*() macros renamed to hbwapi_*() and
      for raw pointers to hbwapi_*_raw_*().
      This fixes wrong macro prefix, syncs it with other
      symbols and makes it easier to find where raw pointers
      are exchanges with Windows. It also fixes ambiguous
      names 'wapi_ret_HDC()' vs. 'hbwapi_ret_HDC()'.

  * contrib/hbwin/wapi_winbase_mutex.c
    * wapi_* -> hbwapi_* for static function.
2010-07-06 14:34:25 +00:00
Viktor Szakats
f5e67a0595 2010-07-06 14:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    + Extended to look in current dir, hbrun dir and PATH for 
      passed script name, if no extension was passed, it will 
      try .hbs and .hrb in that order. This means hbrun is 
      pretty much like a shell command processor now.

  * bin/hbxpatch.hbs
  * utils/hbmk2/hbmk2.prg
  * utils/hbrun/hbrun.prg
  * contrib/hbqt/hbmk2_plugin_qt.hbs
  * config/postinst.hbs
    * HB_OSPATHSEPARATOR() -> HB_PS()
    * HB_OSNEWLINE() -> HB_EOL()

  * utils/hbmk2/hbmk2.prg
    * Using string literals instead of Chr() in few places.
    ! FindInPath() corrected to honor original dir in filename
      it receives. This may affect plugins if they pass such
      argument.
2010-07-06 12:08:09 +00:00
Viktor Szakats
aed8cb147e 2010-07-06 13:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/console.c
  * src/rtl/philes.c
  * include/hbextern.ch
    + Added: HB_PS() function, which does the same as HB_OSPATHSEPARATOR().
    + Added: HB_EOL() function, which does the same as HB_OSNEWLINE().
    ; These are very often used functions with an exceptionally long and
      hard to type name, so most programs employed macros for it. Now this
      is unnecessary. Long names are deprecated.

  * contrib/Makefile
  - contrib/makefile.hbs
  + contrib/make.hbs
    * Renamed to be shorter.
    + Little steps for standlone running mode.
    + Using HB_EOL() and HB_PS().
    ; TODO: Change it all over Harbour SVN.
2010-07-06 11:03:51 +00:00
Viktor Szakats
cfc7da6972 2010-07-06 12:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Added strict parameter checking in sensitive places.
2010-07-06 10:29:14 +00:00
Viktor Szakats
126a3a7c17 2010-07-05 12:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_plugin_qt.hbs
    + Return errors if required tools are not detected.
      (these errors are not yet all handled by hbmk2)
    + Refined tools detection on Windows to not try HB_WITH_QT 
      if not set at all.
    ! Fixed tool detection failure err msg to display proper 
      list of envvars able to control the process.

  * contrib/makefile.hbs
    + Employed several different techniques to avoid long 
      cmdline length to make certain (f.e. MS-DOS) hosts happy.
    
  * utils/hbmk2/hbmk2.prg
    + Added hbmk2_ArrayToList() function.
2010-07-06 10:15:45 +00:00
Pritpal Bedi
798bdbb490 2010-07-06 00:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideplugins.prg
  * contrib/hbide/idesaveload.prg
    + Implemented: drg/drop support in "Projects" tree.
      Now you can drop .hbp project files onto it.

    % Fixed: RTE when a table was being opened twice.
      Now an alert message is flashed to this effect.

    ! Fixed: right-side dock widgets visibility behavior.
      Before next clicked dock was hidden under the tabs and 
      user had to click again on the tab.
2010-07-06 07:58:14 +00:00
Pritpal Bedi
827cb234db 2010-07-05 15:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideplugins.prg
    + Implemented: drag and drop support at two points:
        1. When a valid text file supported by hbIDE 
           is dragged and dropped on editor widget.
        2. When a .dbf file is dropped on ideDBU widget.

      Please feel free to extend your comments.
2010-07-05 22:15:06 +00:00
Pritpal Bedi
3f9645239b 2010-07-05 13:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/doc/en/class_qmimedata.txt
  * contrib/hbqt/qtcore/QMimeData.cpp
  * contrib/hbqt/qtcore/TQMimeData.prg
  * contrib/hbqt/qth/QMimeData.qth
    + Added method QStrinList * hbUrlList() which returns list 
      of Urls as strings. It is a workarount until proper 
      QList<QUrl> implementation is not in place.
2010-07-05 20:47:20 +00:00
Viktor Szakats
33278e8726 2010-07-05 22:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/makefile.hbs
  * utils/hbmk2/hbmk2.prg
    - Deleted support for compatibility hbmk/hbmk2/bld.bat envvars below:
      - HB_MT
      - HB_GUI
      - HB_SHARED
      - HB_DEBUG
      - HB_NULRDD
      - HB_GT
      INCOMPATIBILITY. Use HBMK_OPTION envvar instead with regular 
      hbmk2 options: 'HBMK_OPTION=-mt -gui' etc.
2010-07-05 20:25:20 +00:00
Viktor Szakats
675fbb9dd9 2010-07-05 22:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + -instfile will now only copy changed files in -inc mode.

  * contrib/makefile.hbs
    - Deleted verbose hbmk2 output.
2010-07-05 20:17:19 +00:00
Viktor Szakats
b79a0b06e3 2010-07-05 21:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Will now strip all path components from -instfile before
      forming the target filename.
    ! Won't turn off anymore the -info flag when speccing the
      build type.
    + Will now copy -instfiles even if the targe is up to date
      (in such case the target itself won't be copied)
2010-07-05 19:57:36 +00:00
Viktor Szakats
89b820df50 2010-07-05 19:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for -instpath in -hbimplib mode.
      This should fix missing implibs after recent make system rework.

  * contrib/makefile.hbs
    ! Fix to prev.
2010-07-05 17:59:40 +00:00
Viktor Szakats
4546506b8f 2010-07-05 19:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbp
  * contrib/hbct/hbct.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/xhb/xhb.hbp
  * contrib/hbtpathy/hbtpathy.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbblat/hbblat.hbp
  * contrib/hbqt/gtqtc/gtqtc.hbp
  * contrib/hbqt/hbqt.hbp
  * contrib/hbxbp/hbxbp.hbp
  * contrib/hbbz2/hbbz2.hbp
  * contrib/hbblink/hbblink.hbp
  * contrib/hbnf/hbnf.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbxpp/hbxpp.hbp
  * contrib/hbfoxpro/hbfoxpro.hbp
  * contrib/rddsql/rddsql.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbclipsm/hbclipsm.hbp
  * contrib/rddads/rddads.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/hbtip/hbtip.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbssl/hbssl.hbp
  * examples/ps32/ps32.hbp
  * examples/hbsqlit2/hbsqlit2.hbp
  * examples/gfspell/gfspell.hbp
  * examples/rddado/rddado.hbp
  * examples/hbvpdf/hbvpdf.hbp
  * examples/hbbtree/hbbtree.hbp
    + -instfile updated with header file group.
2010-07-05 17:20:50 +00:00
Viktor Szakats
f406d9075c 2010-07-05 19:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + -clean will now delete the target for -hbdyn, -hblib and default
      -hbexe modes. .bak is also deleted for -hblib mode.
      Probably more autogenerated extensions will have to be deleted
      here to become in sync with globsh.mk.
    + Extended -instfile and -instpath support to also accept
      a file group prefix. This way multiple set of files can be
      copied to a set of target directories.
    ; TODO: Change all -instfile options to point to 'inc' group.
    + dos/djgpp will now use -gstabs+ for debug mode instead of -g.
      Following change made in GNU Make system by Tamas.

  * contrib/makefile.hbs
    + Reworked the way GNU Make operations are mapped to hbmk2
      actions. F.e. 'clean install' needs special attention as
      plain clean cannot be done because
    + Added hbblat to limited set of test contribs.
    + Better isolation and preparation of hbmk2 configuration.
    + Cleanups to dynamic lib creation from contribs.
    + Added experimental support to install headers similarly
      as GNU Make does.

  * Makefile
    ! Fixed to reverse order and dependency of contrib and utils
      trees in clean without install mode. In pure clean mode,
      the contribs need to be traversed first, because hbrun and
      hbmk2 are required for this task.

  * Makefile
  * contrib/Makefile
    + Will now inform about missing hbrun and .hbs scripts not
      run because of it.

  * examples/hbapollo/hbapollo.hbp
    * -instfile updated with header file group.

  * src/rtl/hbproces.c
    ! Fixed some unused variable warnings experienced with poccarm.

  ; Patches from Tamas Tevesz:

  * config/dos/djgpp.mk
    + debug switch changed to -gstabs+ from -g. Following this:
      http://www.delorie.com/djgpp//mail-archives/thread.cgi?msg=djgpp-workers/2002/05/29/06:33:31&mode=frames

  * bin/hbxpatch.hbs
    * Updated after latest changes. Thanks!

  * src/common/hbver.c
    ! Fix for pcc detection.

  * src/rtl/gtdos/gtdos.c
  * src/rtl/hbproces.c
    ! MS-DOS fixes for TRACE() messages.
2010-07-05 17:14:21 +00:00
Pritpal Bedi
7bac06e962 2010-07-05 08:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qth/QList.qth
    + Uncommented few methods.
  * contrib/hbqt/qth/QUrl.qth
    ! Changed: the constructor.

  * contrib/hbqt/doc/en/class_qlist.txt
  * contrib/hbqt/qtcore/QList.cpp
  * contrib/hbqt/qtcore/QUrl.cpp
  * contrib/hbqt/qtcore/TQList.prg
    * Auto generated
2010-07-05 15:30:30 +00:00
Pritpal Bedi
1941b7502e 2010-07-05 00:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/generator/hbqtgen.prg
    + Implemented: QList support for Q* data types as return value.
      Still I could not find a dynamic way to pass it as an 
      argument to a function. This feature enables to harness
      Qt's power to greater extent.

  * contrib/hbqt/qth/QAction.qth
  * contrib/hbqt/qth/QDropEvent.qth
  * contrib/hbqt/qth/QFileDialog.qth
  * contrib/hbqt/qth/QFontDatabase.qth
  * contrib/hbqt/qth/QInputMethodEvent.qth
  * contrib/hbqt/qth/QLocale.qth
  * contrib/hbqt/qth/QMimeData.qth
  * contrib/hbqt/qth/QPrinter.qth
  * contrib/hbqt/qth/QTextEdit.qth
  * contrib/hbqt/qth/QTextLayout.qth
  * contrib/hbqt/qth/QTextOption.qth
    ! Commented out those functions returnin QList of type other than Q*.

  * contrib/hbqt/qtcore/*
  * contrib/hbqt/qtgui/*
  * contrib/hbqt/qtnetwork/*
    ! Regenerated.
2010-07-05 07:28:36 +00:00
Viktor Szakats
4b671e29a3 2010-07-05 03:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -instfile= option, instfiles= .hbc option and hbmk2 plugin
      API to add new files to the list of files to be copied to
      -instpath= targets. This option makes it possible to install
      extra files along the target lib or exe itself, f.e. headers
      or other supplementary files. This option only works for
      -instpath= options which point to a dir (not a file).

  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbblat/hbblat.hbp
  * contrib/hbblink/hbblink.hbp
  * contrib/hbbz2/hbbz2.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbclipsm/hbclipsm.hbp
  * contrib/hbct/hbct.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbfoxpro/hbfoxpro.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbmysql/hbmysql.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbnf/hbnf.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbqt/gtqtc/gtqtc.hbp
  * contrib/hbqt/hbqt.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbssl/hbssl.hbp
  * contrib/hbtip/hbtip.hbp
  * contrib/hbtpathy/hbtpathy.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbxbp/hbxbp.hbp
  * contrib/hbxpp/hbxpp.hbp
  * contrib/rddads/rddads.hbp
  * contrib/rddsql/rddsql.hbp
  * contrib/xhb/xhb.hbp
    + Added -instfile= options for headers installed by Makefile.
    ; TODO: Make copying of headers to central dir unnecessary on
            *nix platforms as well.

  * contrib/makefile.hbs
    * Updated TODOs.

  * contrib/hbqt/gtqtc/gtqtc.hbp
    % Deleted -pi= option.

  * contrib/hbqt/gtqtc/gtqtcs/Makefile
    * Not needed to install headers from secondary (static) Makefile.

  * examples/gfspell/gfspell.hbp
  * examples/gtwvw/gtwvw.hbp
  * examples/hbapollo/hbapollo.hbp
  * examples/hbbtree/hbbtree.hbp
  * examples/hbdoc2/hbdoc2.hbp
  * examples/hbextern/hbextern.hbp
  * examples/hbsqlit2/hbsqlit2.hbp
  * examples/hbvpdf/hbvpdf.hbp
  * examples/ps32/ps32.hbp
  * examples/rddado/rddado.hbp
  * examples/superlib/superlib.hbp
    + Added -instfile= options for headers installed by Makefile.
    + Added -w option where missing.
    - Deleted -q0, -l where present.
    + Synced output setup with contribs.
    ! Added hbxpp.hbc reference for ps32.
    + Added dependency detection for hbsqlit2, hbapollo.
    ! hbdoc2 GT changed to GTCGI.

  ; Now the contrib and examples .hbp files are completely on the same 
    feature level.
2010-07-05 01:42:08 +00:00
Viktor Szakats
770ba979bb 2010-07-05 00:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + -width=0 now means unlimited width.

  * contrib/makefile.hbs
  * contrib/hbide/ideprojmanager.prg
    * Changed to use -width=0.
2010-07-04 22:59:18 +00:00
Viktor Szakats
388945fedf 2010-07-05 00:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbver.c
  * src/rtl/Makefile    [t]
  * src/rdd/Makefile    [t]
  * include/hbdefs.h
  * include/hbsetup.h
  + config/bsd/pcc.mk
  * config/rules.mk     [t]
    + First step to add support for pcc (Portable C Compiler) on bsd.
    ; Patch by Tamas Tevesz.
    ; TODO: ? I guess the -gc3 and -l disabler hacks are temporary.
            (in files marked with [t])
2010-07-04 22:58:12 +00:00
Pritpal Bedi
dc8dbd7b7b 2010-07-04 15:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideplugins.prg
    + Extended auto execuable scripts to have .hbs extension 
      besides .prg.
2010-07-04 22:51:59 +00:00
Pritpal Bedi
683038d42e 2010-07-04 15:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idemisc.prg
    + #include "hbextern.ch"

  * contrib/hbide/ideplugins.prg
  * contrib/hbide/hbide.prg
    + Implemented: execution of auto scripts.
      Any .prg placed in /plugins folder with "auto_" prefix,
         f.e., /harbour/contrib/hbide/plugins/auto_setenv.prg 
      will be executed just after hbIDE dialog is made visible.
      hbIDE itself is passed as only parameter sent to the 
      script. The idea is to allow developers of miscllaneous
      GUI libraries to setup their own environment variables.
      Another aspect of this feature could be changing the 
      behavior of hbIDE itself through its various component
      objects, though it may need some more API functions.
      An idea which can be extended and offers developers 
      greater control over the affairs.

    ! Modified last commit's missing entry.

2010-07-04 14:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fixed: horizontal selection where background color was 
      missed by a couple of pixels to the left.    

  * contrib/hbide/idefindreplace.prg
    ! Fixed to not "find" twice if "Return" is pressed.

  * contrib/hbide/ideedit.prg
2010-07-04 22:31:25 +00:00
Jacek Kubica
fd0f00b0c9 2010-07-04 21:25 UTC+0200 Jacek Kubica (kubica@wssk.wroc.pl)
* examples/httpsrv/modules/tableservletdb.prg
    ! Fixed: mismatch errpr in two methods declaration
2010-07-04 21:51:32 +00:00
Pritpal Bedi
eef431c55a 2010-07-04 14:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fixed: horizontal selection where background color was 
      missed by a couple of pixels to the left.    

  * contrib/hbide/idefindreplace.prg
    ! Fixed to not "find" twice if "Return" is pressed.
2010-07-04 21:23:24 +00:00
Pritpal Bedi
77cb828eab 2010-07-04 12:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fixed: one more glitch in selected text background color 
             off by few pixels verically - now the bottom line.
2010-07-04 19:52:36 +00:00
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