Commit Graph

14722 Commits

Author SHA1 Message Date
Viktor Szakats
d78d9c8ef4 2010-07-17 20:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added HB_SIZE_SIGNED macro which enables signed HB_SIZE
      types. It so far dangerous setting because it may generate
      breakage without compiler warning, f.e. STUFF() GPFs
      in hbtest after enabling it. Plus there is about 40-60
      new warnings shown, I'm out of ideas how to fix most
      of them.

  * src/rtl/filesys.c
    * Changed to pass LPDWORD to ReadFile()/WriteFile()
      win32 branch, instead of *HB_SIZE. It caused warnings
      for signed HB_SIZE.
    ; Please review me.

  * ChangeLog
    * Updated VxWorks notes in 2010-07-16 18:22 UTC+0200 Viktor Szakats
      with missing hb_secondsCPU() support yet.

  * contrib/gtalleg/gtallegs.hbp
  * contrib/hbcurl/hbcurls.hbp
  * contrib/hbssl/hbssls.hbp
  * contrib/hbtip/hbtipssl.hbp
    + Added -hblib options to make it easy for tools to detect
      target types.

  * contrib/gtalleg/gtalleg.c
    ! Fixed C mode MSVC function pointer cast warning.

  * src/rtl/hbsocket.c
    * Minor cosmetic.

  * contrib/hbqt/qtgui/QFormLayout.cpp
  * contrib/hbqt/doc/en/*.txt
    * Regenerated.

  * contrib/hbqt/generator/hbqtgen.prg
    ! Fixed missing initialization for enums returned
      by reference. An msvc warning was shown about them.

    ; TOFIX: I've reported similar warnings long ago with msvc. Anybody to fix them?
             ---
             hbqt_hbqplaintextedit.cpp
             ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(101) : warning C4512: 'QtConcurrent::BlockSizeManager' : assignment operator could not be generated
                     ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(83) : see declaration of 'QtConcurrent::BlockSizeManager'
             hbqt_hbqsyntaxhighlighter.cpp
             ...\qt\4.5.3\include\qtcore\../../src/corelib/global/qglobal.h(2078) : warning C4512: 'QForeachContainer<T>' : assignment operator could not be generated
                     with
                     [
                         T=QMap<QString,HBQSyntaxHighlighter::HighlightingRule>
                     ]
                     hbqt\hbqt_hbqsyntaxhighlighter.cpp(172) : see reference to class template instantiation 'QForeachContainer<T>' being compiled
                     with
                     [
                         T=QMap<QString,HBQSyntaxHighlighter::HighlightingRule>
                     ]
             moc_hbqt_hbqplaintextedit.cpp
             ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(101) : warning C4512: 'QtConcurrent::BlockSizeManager' : assignment operator could not be generated
                     ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(83) : see declaration of 'QtConcurrent::BlockSizeManager'
             QMimeData.cpp
             ...\qt\4.5.3\include\qtcore\../../src/corelib/global/qglobal.h(2078) : warning C4512: 'QForeachContainer<T>' : assignment operator could not be generated
                     with
                     [
                         T=QList<QUrl>
                     ]
                     hbqt\qtcore\QMimeData.cpp(451) : see reference to class template instantiation 'QForeachContainer<T>' being compiled
                     with
                     [
                         T=QList<QUrl>
                     ]
             HBQPlainTextEdit.cpp
             ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(101) : warning C4512: 'QtConcurrent::BlockSizeManager' : assignment operator could not be generated
                     ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(83) : see declaration of 'QtConcurrent::BlockSizeManager'
             ---
2010-07-17 18:20:37 +00:00
Viktor Szakats
64f537a370 2010-07-17 17:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
  * src/vm/dynlibhb.c
  * config/vxworks/libs.mk
    + Documented fact that VxWorks only supports dlopen() in
      shared executables. I can see no way how Harbour could
      support this.

  * config/vxworks/gcc.mk
  * config/vxworks/diab.mk
    * Minor cleanups to HB_BUILD_SHARED mode.
2010-07-17 15:10:48 +00:00
Viktor Szakats
35fac2ada1 2010-07-17 16:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/todbc.prg
  * contrib/hbodbc/odbcold.c
  * contrib/hbodbc/odbc.c
    - Deleted SQLEXTENDEDFETCH() wrapper. The original ODBC
      function was in compatibility status since ODBC 3.0 and
      it was causing permanent build problems in Harbour, due
      to disagreement in parameter widths/types on different
      platforms and compiler headers (f.e. on Linux AMD64 C++
      mode, POCC and XCC).
      INCOMPATIBILITY: This compatibility function was deleted,
                       use SQLFETCHSCROLL() instead.
    * Replaced SQLEXTENDEDFETCH() with SQLFETCHSCROLL() in TODBC
      code as recommended by MS.
    ! Added cast to silence msvc C mode warning.

  * config/vxworks/gcc.mk
    ! Fixed vxworks/gcc HB_BUILD_SHARED=yes link mode.
2010-07-17 14:30:38 +00:00
Viktor Szakats
3a97d58533 2010-07-17 15:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
  * src/rtl/hbsocket.c
  * include/hbthread.h
    * Moved header collision avoidance hack to the root of
      the problem, right after '#include <stdint.h>'.
      This way it's done centrally.

  * config/vxworks/diab.mk
    - Deleted fixed TOFIX.
2010-07-17 13:20:28 +00:00
Viktor Szakats
a93ad12a66 2010-07-17 14:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    * Updated VxWorks notes in 2010-07-16 18:22 UTC+0200 Viktor Szakats

  * include/hbsetup.h
    * Enabled HB_USE_SHARELOCKS_OFF for VxWorks. This fixes creation
      of plain .dbf files, _but_ it will make a weird bug surface
      when creating .dbf+.dbt: The content of the .dbt file is
      written into the .dbf and the .dbt is kept as a zero length
      file. Przemek if you read this, do you have any idea what
      this could be?

  * src/rtl/hbgtcore.c
  * src/rtl/gtsys.c
    ! Fixed to set default GT for vxworks also in hbgtcore. Made NOTE
      in source that needs to be kept in sync. This finally fixes
      the uninitialized GT error.
    * Reset default vxworks GT to GTSTD instead of GTCGI.

  * utils/hbmk2/hbmk2.prg
    * Minor.
2010-07-17 13:05:21 +00:00
Viktor Szakats
bae2e3a7e4 2010-07-17 12:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/odbc.c
    - Deleted compatibility trick which mapped SQL[U]LEN to SQL[U]INTEGER.
      The trick is most likely not needed anymore, they were first
      introduced in 2007-01-24 10:25 UTC+0100 Przemyslaw Czerpak with
      the description 'synced with xhb', next it was extended with the
      "U" version in 2008-08-13 03:08 UTC+0200 Viktor Szakats, for
      __DMC__ compatibility. We dropped DMC support since.
    ; Tamas can you pls retest if this fixed the Linux AMD64 build
      error in C++ mode?

  * src/rtl/gtsys.c
    * Made GTCGI the default GT for VxWorks. (GTSTD doesn't work now)
2010-07-17 10:54:21 +00:00
Viktor Szakats
24fa6d0dd3 2010-07-17 11:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % Won't anymore do dependency check on system headers found on
      autodetected dependency locations. This has the upside that
      now hbmk2 f.e. won't traverse the deep header structures of
      QT, greatly enhancing build performance. The downside is
      that now libs won't be automatically rebuilt if such dependency 
      is updated (f.e. after upgrading to a new version of QT). 
      Pls speak up if you have an opinion on this, maybe
      using other solution or to control this behavior using
      a global or dependency level switch.
2010-07-17 09:38:09 +00:00
Viktor Szakats
ccd4bbe767 2010-07-17 10:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/vxworks/gcc.mk
  * config/vxworks/diab.mk
    + Setting 'soname'. It's mandatory according to VxWorks docs.
      Now shared diab exes will find Harbour dynlib (but not the 
      libc one, but I reckon this needs local env tweaks only).
2010-07-17 08:25:26 +00:00
Viktor Szakats
a60270521e 2010-07-17 09:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * utils/hbmk2/hbmk2.prg
    + Added pcc to few places (with experimental status).
2010-07-17 07:46:43 +00:00
Viktor Szakats
2afb345695 2010-07-17 09:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
    ! Fixed to use variable instead of hardcoded 'harbour' text to 
      set .dylibs 'install name'. It also fixes 'harbour' being used 
      also for MT mode dylib.

  * contrib/hbide/idemisc.prg
    ! Fixed to add some new chars which need to be escapted in HTML 
      output.
    % Removed some redundancy.
2010-07-17 07:41:42 +00:00
Viktor Szakats
317974e472 2010-07-17 08:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/hbdoctst.prg
    + Updated to use __HBDOC_SAVEHBD().
2010-07-17 06:50:55 +00:00
Viktor Szakats
33b2e5b3fe 2010-07-17 08:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsocket.c
    + Enabled ioctl() calls for VxWorks.
    ! Worked around 'socklen_t' vs 'int' warnings with VxWorks.
      (still remains some 'const char *' and 'caddr_t' vs 'char *
      warnings, nothing serious though)

  * include/hbthread.h
    ! Enabled HB_CRITICAL_NEED_INIT for VxWorks. Avoids the compiler
      warnings caused by PTHREAD_COND_INITIALIZER having one less 
      structure member than initialized structure.
      MT mode still doesn't work though.

  * contrib/hbodbc/odbc.c
    + Added HB_ODBCVER() function to return build-time ODBC version 
      reported by ODBCVER macro.

  * contrib/hbodbc/tests/testodbc.prg
    + Show ODBC version number.

  - contrib/hbqt/doc/html
    - Deleted. doc dirs now have to abide by the HBDOC rules posted 
      on the dev list, which means doc may contain (non-empty) language 
      dirs only. html should be generated by client app or by install 
      process.

  * contrib/hbwin/hbwinole.h
    ! Patch by Tamas Tevesz, fixing NONAMELESSUNION issue for watcom.
2010-07-17 06:44:19 +00:00
Pritpal Bedi
59a9d01559 2010-07-16 18:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idefindreplace.prg
  * contrib/hbide/idemisc.prg
    ! Fixed: a bug in "find in Files" output where characters "<" and ">" 
      were eaten up by the html engine, reported by Massimo Belgrano.

  * contrib/hbide/idebrowse.prg
    + Implemented: "connections" concept for third-party RDD hooks.
      Will write a white-paper to this effect soon once the engine 
      becomes stable. It is working for my native RDDs.
2010-07-17 01:37:14 +00:00
Viktor Szakats
1a3fa64e36 2010-07-16 20:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.h
  * src/vm/hvm.c
  * contrib/hbmisc/hb_f.c
    ! Added workaround for diab bug. Now build goes fine without HB_LONG_LONG_OFF
      trick.

  * config/vxworks/diab.mk
    + Minor change to sync one C compiler option with VxWorks Workbench
      generated one. (missed from prev commit)
2010-07-16 18:56:07 +00:00
Viktor Szakats
e03136aa92 2010-07-16 19:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added Windows and OS/2 specific extra requirements for
      GNU Make version. Windows: 3.81, OS/2: 3.81r3
      Older versions are too buggy/risky on these platforms.

  * ChangeLog
    + Added more VxWorks NOTEs to 2010-07-16 18:22 UTC+0200.
2010-07-16 17:06:05 +00:00
Viktor Szakats
302211f9af 2010-07-16 18:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/minizip/minizip.dif
    + Updated after latest changed by Tamas Tevesz. Thanks a lot!

  * utils/hbmk2/hbmk2.prg
    + Added support for vxworks/diab compiler.

  * utils/hbtest/hbtest.prg
    + Added my name to the copyright header.

  * config/global.mk
    ! Fixed to only assign *nix specific default value HB_INSTALL_PREFIX
      on *nix hosts (only a problem when doing *nix cross-builds _from_
      non-*nix systems).

  * utils/hbmk2/hbmk2.prg
  * config/vxworks/gcc.mk
  * config/vxworks/diab.mk
    + Added minimal support for HB_BUILD_SHARED=yes for vxworks targets.
      For diab it just won't find the harbour .so (see comment for more)
      For gcc it links okay, though it's detected as kernel task, so
      current support is most probably not right.

  * config/vxworks/diab.mk
    * Minor change to sync one C compiler option with VxWorks Workbench
      generated one.

  ; NOTE: By this change Harbour VxWorks base port is finished. Besides
          being an interesting excercise, it helped to develope new
          non-*nix to *nix cross building codepaths, tweak Harbour for
          "headless" (w/o terminal) OSes, and to break the ground for
          target CPU selection inside one target platform.
          Harbour builds cleanly using both vxworks/gcc and vxworks/diab,
          and compiler tools plus non-MT utils run properly as well.

          Obviously I made few functional tests, but from the experiences
          of the port effort, these are the remaining areas:
             - reporting bug(s) to Wind River (particularly the one
               breaking hvm.c compilation, requiring HB_LONG_LONG_OFF
               forcage, causing other unnecessary limits and hbtest
               failures)
             - serial I/O needs to be implemented using VxWorks specific
               sioLib API
             - 'fork' has to be replaced.
             - sockets were not tested, anyhow they are supposed to work.
             - termios is missing, so large parts of GTSTD and GTTRM are
               disabled on this platform.
             - ARM/MIPS CPU support needs to be added to hbatomic.h
             - HB_LIBLOAD() and friends need to be implemented, but I hit
               walls here.
             - MT apps GPFs, this needs to be fixed probably inside our
               code, but it's possible some build options are needed which
               I missed all along.
             - HB_SHARED_MODE=yes needs further tweaking.
2010-07-16 16:23:45 +00:00
Pritpal Bedi
64b5e77a32 2010-07-16 09:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
    ! Fixed: ideDBU - sequential search on a character field was 
      making exact comparison, i.e., fieldval == searchval, now 
      it is : fieldval = searchval.
2010-07-16 16:09:09 +00:00
Viktor Szakats
e000a6a0b4 2010-07-16 15:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbinit.h
    ! Fix to prev. Missed another 'static' qualifier.
    ; Now hbtest runs OK on vxworks/diab. (there are more
      errors though due to HB_LONG_LONG_OFF)

  * utils/hbmk2/hbmk2.prg
    ! Fixed to not request GTTRM in vxworks builds.
2010-07-16 13:16:40 +00:00
Viktor Szakats
9be35ea982 2010-07-16 14:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    ! Fixed to show error in GTCGI mode instead of going into 
      an infinite loop.
2010-07-16 12:52:30 +00:00
Viktor Szakats
df891b8377 2010-07-16 13:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbtest/hbtest.prg
  * utils/hbtest/rt_hvm.prg
  * utils/hbtest/rt_hvma.prg
  * utils/hbtest/rt_stra.prg
  * utils/hbtest/rt_vars.ch
    - Disabled long string tests for vxworks. They fail because of
      memory exhaustion.
    ! Fixes to prev.
    ; Now hbtest runs OK on vxworks/gcc.

  * config/global.mk
    + Now defines __PLATFORM__VXWORKS for cross-builds.
    ! Fixed typo in lastly added __PLATFORM__ redefinition.

  * INSTALL
    + Added vxworks/diab example.
2010-07-16 11:59:29 +00:00
Viktor Szakats
03a15d50b5 2010-07-16 13:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbtest/hbtest.prg
  * utils/hbtest/rt_hvm.prg
  * utils/hbtest/rt_hvma.prg
  * utils/hbtest/rt_stra.prg
  * utils/hbtest/rt_vars.ch
    + Enabled GTCGI for Harbour builds. This makes it independent
      for GTs, to there is better chance to run it. Now it also
      works on VxWorks.
    + Will now detect .dbf creation failure and continue gracefully
      with a message and skipping all related tests.

  * src/rtl/hbsocket.c
  * external/minizip/ioapi.h
  * include/hbthread.h
    + Added/cleaned hacks to avoid collision between VxWorks's own
      system types.

  * external/minizip/ioapi.h
    ! Disabled 64-bit FSIO for whole VxWorks.

  * config/vxworks/gcc.mk
  * config/vxworks/diab.mk
  * config/vxworks/global.mk
    + _VX_CPU is now defined in vxworks/global.mk.

  * src/common/hbarch.c
    ! Fixed hb_put_le_uint64() definition to match declaration.

  * include/hbdefs.h
    ! Fixed compatibility type definitions in HB_LONG_LONG_OFF mode.

  * include/hbsetup.h
    + Added bzero() declaration hack for vxworks.

  * include/hbinit.h
    + Added support for diag compiler init function.
      It requires the constructor to have public visibility.

  * src/common/hbver.c
    + Changed to always display x.x.x.x format verison no for diab.
      (in generic way).

  * INSTALL
    * Updated list of CPUs supported by vxworks.
2010-07-16 11:34:05 +00:00
Pritpal Bedi
459afe8937 2010-07-16 03:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.hbp
    ! Missing from previous.
2010-07-16 10:09:06 +00:00
Pritpal Bedi
8ea00d299c 2010-07-16 02:52 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
    + Added: :hbSelectAll() method.

  * contrib/hbxbp/xbpbrowse.prg
    ! Minor.

  + contrib/hbide/fetchdate.ui
    + Added: dialog to fetch a date value. It also employs calender widget.

  * contrib/hbide/ideedit.prg
    ! Fixed: many artifacts related to selection behaviour.

  * contrib/hbide/idemisc.prg
  * contrib/hbide/idebrowse.prg
    + Implemented: search in the current browser.
      Search is available in two modes:

         1. When table has some index active : DbSeek() is performed.
               The value to seek is based on the type returned by valtype( &( IndexKey() ) ).
         2. When table has no active index: sequential search is performed.
               The value of search is based on the current highlighted cell.

      Input dialog is presented depending upon the search variable type.
      Sequential search is a slow process but there is no alternative to that.
      Sequential search is initiated from the current record downwards and terminated 
         either on oBrw:hitBottom is encountered or value is found.

      Icon: ideDBU toolbar-serach        Hotkey: CTRL+F

    + Implemented: goto record. It is straight forward. DbGoto( nRecord ) is issued.
   
      Icon: ideDBU toolbar-goto record   Hotkey: CTRL+G      

      Please forward your opinions.
2010-07-16 10:07:19 +00:00
Viktor Szakats
ef16143d1e 2010-07-16 08:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/tests/testqaim.prg
    ! Two fixes reported by Tamas and Bacco respectively.
2010-07-16 06:18:04 +00:00
Viktor Szakats
c7445e0bae 2010-07-16 08:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbver.c
    * Formatting.

  * config/vxworks/diab.mk
    ! Refined tweak added to make hbsocket compile. I overdid
      it, causing other breakage.
    ! Fixed dynlib generation to cope with Windows cmdline
      length limits.
    + Added proper dynlib generation rule.

  * config/vxworks/gcc.mk
  * config/vxworks/global.mk
    + HB_CCPOSTFIX setup made common to all compilers, because
      it's needed for 'strip' call.

  * utils/hbmk2/hbmk2.prg
    + Some vxworks environment setup made common to all compilers.

  * harbour-win-spec
  * harbour-wce-spec
    ! Deleted hbmk.hbc references.

  ; Patches by Tamas Tevesz:

  * harbour.spec
    ! Fixes to make it work.

  * external/minizip/minizip.dif
    * Updated.

  * INSTALL.
    * Nevermind.
2010-07-16 06:11:26 +00:00
Pritpal Bedi
dd31e942eb 2010-07-15 18:54 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
    ! Changed: the space character not to terminate the code completion dialog.
      It is needed for commands to be selected at next level.

  + contrib/hbide/plugins/hbide_script_rdds.prg
    + Added a dummy script to supply the required info
      for different actions of an RDD operation if another 
      RDD is linked with hbIDE. DBFCDX and DBFNTX are 
      linked by default.
      To make this feature functional, this dummy script has 
      to be popiulated with real-time code and be copied inside
      "resources" folder with another name prefixed as:
         hbide_persist_myrdd.prg
      A complete example will be published in the meantime.

  * contrib/hbide/hbide.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/ideplugins.prg
    + Implemented: persistent record/order/rowpos/colpos 
      of ideDBU views. Now tables are opened in the same 
      state of last run.

    + Totally reworked table-management engine. Now supports 
      external RDDs if linked which take effect automatically 
      for database operations, i.e., /rdds/exists/select/open;
      more actions will follow.
2010-07-16 02:05:41 +00:00
Viktor Szakats
f1fdb9b02c 2010-07-16 00:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/vxworks/diab.mk
    + Implemented support for Wind River Compiler.
      Incomplete yet, as I couldn't test each build
      feature due to errors in earlier build stages.

  * src/common/hbver.c
    + Added fourth version number level.
    + Added version detection for Wind River Compiler (diag).
    * Formatting.

  * src/common/hbprintf.c
  * external/minizip/ioapi.h
    + Fixes for Wind River Compiler (diag)

  * src/rtl/hbdyn.c
    ! Dirty fix to compile in HB_LONG_LONG_OFF mode.
      Przemek if you see this, can you take a look at it if 
      it's right or at least not terribly off?

  * include/hbsetup.h
    ! Temporary hack for Wind River Compiler to use
      HB_LONG_LONG_OFF, otherwise the compiler crashes with
      internal error in hvm.c (without hvmall and optimizations
      also). Now, this flag caused another slew of problems,
      so as it looks now support for this compiler cannot
      be added:
         "../../../hvm.c", line 9827: internal compiler error (etoa:1000): - Failed allocating register pair
         please contact support@windriver.com */

  * include/hbinit.h
    + Enabled Wind River compiler to use the GCC init mode.
      (didn't actually test it, but it compiles)

  * utils/hbmk2/hbmk2.prg
    + Added new debug switch -debugpars to get a list of
      input parameters processed by hbmk2.
    + Synced automatic HB_CCPOSTFIX configuration based on cpu
      setting with GNU Make logic.

  * config/vxworks/gcc.mk
    * Cleanups.
    + Added more CPU postfixes.

  * INSTALL
    * Minor convenience added to prev.
2010-07-15 22:32:24 +00:00
Viktor Szakats
83c7f46c13 2010-07-15 21:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! vxWorks casing.
    + Added vxworks/gcc/arm example.

  * utils/hbmk2/hbmk2.prg
    % -DARMEL no more defined for vxworks/gcc/arm. It turns
      out it's a predefined macro.

  * config/global.mk
    ! Fixed HB_CPU autodetection after prev change.

  * INSTALL
    ; NOTE: After previous change HB_CCPOSTINST is automatically
            set on vxworks/gcc.

  * config/vxworks/libs.mk
  * config/vxworks/gcc.mk
    + Tried to enable dynlibhb, didn't succeed, see comments.

  * config/vxworks/gcc.mk
    % Deleted unnecessary compile time macros.

  ; TOFIX: vxworks HB_BUILD_SHARED=yes is broken. harbour .so
           is not found. Couldn't find out why.
  ; TOFIX: vxworks/gcc/arm hbatomic.h needs support added.
           arm harbour and hbpp builds fine.
2010-07-15 19:53:56 +00:00
Viktor Szakats
c0217a93ef 2010-07-15 20:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental -cpu option. (not at the level
      of comp/plat internally, as there won't be separate
      subdir open for different cpu builds created in parallel)
    + Added some untested support for vxworks/gcc/arm.

  * utils/hbmk2/hbmk2.hbp
    + Synced with Makefile.

  * config/global.mk
    ! Fixed to default HB_CPU value to x86 for vxworks.
    + Exports HB_CPU.

  * config/vxworks/libs.mk
  * config/vxworks/gcc.mk
    + Added experimental support to select arm target by
      using HB_CPU=arm.

  * config/wce/msvcarm.mk
    ! Missed re-xmastree changed done now. (for pre GNU Make 3.81 compatibility)
2010-07-15 18:24:46 +00:00
Viktor Szakats
da9890f57e 2010-07-15 19:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
    ! Hacked around collision between vxWorks headers.

  * ChangeLog
    ! Fixed casing of vxWorks.

  * utils/hbmk2/hbmk2.prg
    + Added vxworks/gcc libpaths.
    ! Fixed vxworks/gcc system lib list.
    ! Fixed ar to have postfix.
    ; All these are syncs with GNU Make.

  * src/rtl/hbsocket.c
    ! Typos in previous vxworks patchs.

  * config/global.mk
    ! Fixed forming automatic HB_INSTALL_PREFIX value in *nix cross-build
      situations. (it's still wrong as it assumes nix->win cross-builds)

  ; Now vxworks/gcc/x86 build is clean.
    There are iTODOs left, and
    - this particular class of warnings, which seems
      to be a bug down the <pthread.h> system header:
         hbnetio\netiocli.c:155: warning: missing initializer
         hbnetio\netiocli.c:155: warning: (near initialization for 's_netioMtx.mutexAttr.mutexAttrType')
    - also this, each time FD_ZERO() and friends are used:
         warning: implicit declaration of function 'bzero'
    - "argument n of 'x' differ in signedness" and "discards qualifiers from pointer target type"
      warnings in hbsocket.c code.

  ; TOFIX:
       - Unrecoverable error 9998: Harbour terminal (GT) initialization failure
         when running hbtest.
       - GPF when running hbmk2 and hbrun. (hbformat, hbi18 startup fine)
2010-07-15 17:21:15 +00:00
Viktor Szakats
57d25b7595 2010-07-15 17:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/zlib/zlib.dif
  * external/jpeg/Makefile
  + external/jpeg/jpeg.dif
    + Added/updated diffs after VxWorks changes.
      Patch by Tamas Tevesz. Thanks!
2010-07-15 15:34:31 +00:00
Viktor Szakats
03ca82e16f 2010-07-15 17:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpost.hbm
    ! Fixed issue where prg flags were interpreted as
      implib tool flags when building *.hbi files via
      make.hbs. Caused problems for bcc, watcom and some
      rarer other cases.

  * config/beos/gcc.mk
  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/bsd/pcc.mk
  * config/wce/mingwarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    % Using 'LD = $(CC)' instead of duplicating the
      'CC = ' line with identical value.

  * contrib/hbqt/THbQtUI.prg
    * Minor.

  * tests/hbdocext.prg
    ! Minor portability.
2010-07-15 15:15:29 +00:00
Viktor Szakats
00cd9e92f3 2010-07-15 16:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  + config/vxworks
  + config/vxworks/libs.mk
  + config/vxworks/gcc.mk
  + config/vxworks/diab.mk
  + config/vxworks/global.mk
    + Started experimental VxWorks port.
    ; NOTE: VxWorks port was made possible by Wind River Systems Inc.,
            who were so kind to mail me a full VxWorks development
            environment, for the purpose of porting Harbour to this
            platform. Thank you very much guys.

            [ The free license is valid for one month, so if anyone
            is interested in helping in this project, I can help with
            real tests, builds and information. BTW, the devenv is
            Eclipse based plus cmdline, running on Windows (available
            for Linux and Solaris, too) and the target VxWorks exes
            run in a virtual environment. ]

  * config/global.mk
    + Added autodetection of VxWorks platform.

  * utils/hbmk2/hbmk2.prg
    + Added VxWorks support. It's incomplete yet.
    ! Fixed to quote *nix/gcc compiler family in
      Windows-host cross-platform situations.

  * src/vm/thread.c
  * src/common/hbgete.c
  * src/common/hbffind.c
  * src/common/hbtrace.c
  * src/common/hbdate.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/Makefile
  * src/rtl/hbsocket.c
  * src/rtl/filesys.c
  * src/rtl/diskspac.c
  * src/rtl/cputime.c
  * src/rtl/disksphb.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/net.c
  * src/rtl/hbproces.c
  * src/rtl/gtsys.c
  * src/rtl/hbcom.c
  * external/zlib/inflate.c
  * external/jpeg/jmorecfg.h
  * external/pcre/Makefile
  * include/hbapifs.h
  * include/hbthread.h
  * include/hbdefs.h
  * include/hbsetup.h
  * contrib/xhb/hboutdbg.c
  * contrib/xhb/hbsyslog.c
  * contrib/xhb/hbserv.c
    + vxworks/gcc port. First phase.
    ; Please review.
    ; NOTE: - vxworks has no termios, for serial comm
              support it has sioLib.h.
            - vxworks supports another C compiler, which
              was not tested yet.
            - vxworks supports lots of CPUs, only x86 was
              tested yet.
            - There are still mutex related warnings to sort out.
            - Some parts had to disabled, like HB_LIB*() functionality.
    ; TODO: Regenarate .difs in external/.

  * src/vm/hashfunc.c
    * Silenced warnings shown by vxworks/gcc.
2010-07-15 15:02:33 +00:00
Viktor Szakats
5c7a07b0ba 2010-07-15 07:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbdoc2/hbdoc2.prg
  * contrib/hbdoc2/hbdoc2.hbp
  - contrib/hbdoc2/genhbd.prg
    - Deleted .hbd geneation from hbdoc2. This tool will 
      have to redesigned to use core hbdoc load/save functions, 
      etetc.

  ; Patches by Tamas Tevesz:

  * src/pp/ppcore.c
    ! Fixed very old bad type on one of the PP error msgs.

  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgwing.c
  * contrib/hbwin/win_shell.c
    * Cleanups after recent changes.
2010-07-15 05:14:56 +00:00
Pritpal Bedi
c79bd14bd8 2010-07-14 18:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fixed: a nasty bug in :paintEvent plus its subsidiaries.
      The bug went unnoticed on Windows by some reasons unknown,
      though it is documented in Qt help.  This is repoted by 
      Antonio Linares when he was testing hbIDE on OSX.

  * contrib/hbxbp/xbpbrowse.prg
    ! Fixed: :keyboard slot was not working.

  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idesaveload.prg
    + Implemented: indexed table navigation. Current implementation
      only supports structural indexes in DBFCDX. Click on some 
      table header, point to "Index" ideDBU toolbar icon and click 
      on drop-down list of index tags and expressions, select one
      and this index will become the active one.

    + Implemented: search feature on indesed tables, only for string
      fields. While staying inside a browser, press CTRL+F (Find),
	provide serach string, and there you will be. 

    + Titlebar now holds the various facts about the navigation.
      Tooltip on the titlebar holds the table's full path.

      TODO: after settling all actions, a left-side toolbar will 
      hold them as icons. One toolbar only for all panels and browsers.
      If you have better ideas please forward.
2010-07-15 01:15:06 +00:00
Viktor Szakats
fb58e657da 2010-07-14 23:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbdoc.prg
    + __HBDOC_LOADHBD()/__HBDOC_SAVEHBD() now adds signature 
      to .hbd file format, which is verified on load.
    + .hbd file format now uses zlib compression, hugely reducing 
      file sizes.
2010-07-14 21:18:08 +00:00
Viktor Szakats
bf4f1b0679 2010-07-14 22:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * src/rtl/hbdoc.prg
    + Added __HBDOC_LOADHBD( <cFileName> ) -> <hbdoc> | NIL
    + Added __HBDOC_SAVEHBD( <cFileName>, <hbdoc> ) -> <lSuccess>

  - doc/en/Makefile
  * doc/Makefile
  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni_extra_copy.bat
  * package/winuni/mpkg_win_uni.nsi
    - Don't install doc sources.

  * config/postinst.hbs
    + Will now build .hbd files from doc sources at 'install' phase.
      .hbd files will be installed in HB_DOC_INSTALL path, which
      is /doc by default.
    ; NOTE: Apps like hbide can now use __HBDOC_LOADHBD() to load
            these .hbd files.
    ; NOTE: We may add other doc generators to hbrtl, plus we may
            further enhance .hbd format to be more easily usable
            for client apps (and f.e. to consume less disk space).
    ; TODO: Config HB_DOC_INSTALL also on *nix systems.

  * contrib/gtwvg/wvgwing.c
    ! Fixes after previous commit.
      Patch by Tamas Tevesz.

  * contrib/make.hbs
    * Minor.
2010-07-14 20:14:17 +00:00
Viktor Szakats
343f1caba4 2010-07-14 19:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fix for paint bug typo. Report/patch by Antonio Linares.

  * src/rtl/hbdoc.prg
    ! __HBDOC_FROMSOURCE(): added parameter validation.

  * tests/stripdoc.hbs
    ! Fixed -w3 warning.

  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgsink.c
  * contrib/gtwvg/wvgwing.c
  * contrib/hbwin/hbwinole.h
  * contrib/hbwin/win_shell.c
  * contrib/hbwin/olecore.c
  * contrib/hbwin/hbolesrv.c
    + Applied patch sent by Tamas Tevesz, targeting to change
      OLE code to use MS supplied macros to access certain
      structure elements. Also contains tweaks to NONAMELESSUNION
      Windows mess.
      "the attached is take two to use ole api accessors instead of
       hard-coded member names which may or may not be present anyway."
    ; Plus some casing adjusments in macro variable names.

  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvgwin.c
    % Deleted ( HWND ) casts from MS Windows-defined constants.
      Still when using plain MS defined constant, msvc will
      show some warnings when compiled in C mode:
         gtwvg.c(3594) : warning C4306: 'type cast' : conversion from 'int' to 'HWND' of greater size
      Couldn't find a way to defeat it.

  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvggui.h
    + Upped IE version we are building against to 0x0500.
      This avoids some plain C mode msvc warnings.

  * contrib/gtwvg/wvgwing.c
    + Added ( HB_PTRDIFF ) cast to newly activated code
      after making above change.
2010-07-14 17:25:34 +00:00
Viktor Szakats
7df0d4b153 2010-07-14 14:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnf/acctyear.prg
  * contrib/hbnf/byteneg.prg
  * contrib/hbnf/isshare.prg
  * contrib/hbnf/sinkey.prg
  * contrib/hbnf/kspeed.c
  * contrib/hbnf/prtscr.c
  * contrib/hbnf/descendn.c
  * contrib/hbnf/peek.c
  * contrib/hbnf/scancode.prg
  * contrib/hbnf/vidmode.prg
  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/acctadj.prg
  * contrib/hbnf/week.prg
  * contrib/hbnf/vidcur.prg
  * contrib/hbnf/iamidle.c
  * contrib/hbnf/miltime.prg
  * contrib/hbnf/prtesc.prg
  * contrib/hbnf/acctmnth.prg
  * contrib/hbnf/proper.c
  * contrib/hbnf/savearr.prg
  * contrib/hbnf/madd.prg
  * contrib/hbnf/rand1.prg
  * contrib/hbnf/dispmsg.prg
  * contrib/hbnf/fttext.c
  * contrib/hbnf/mouse1.prg
  * contrib/hbnf/settime.prg
  * contrib/hbnf/page.prg
  * contrib/hbnf/restsets.prg
  * contrib/hbnf/byt2bit.prg
  * contrib/hbnf/setkeys.c
  * contrib/hbnf/month.prg
  * contrib/hbnf/byt2hex.prg
  * contrib/hbnf/findith.prg
  * contrib/hbnf/at2.prg
  * contrib/hbnf/acctweek.prg
  * contrib/hbnf/dispc.c
  * contrib/hbnf/gcd.prg
  * contrib/hbnf/pegs.prg
  * contrib/hbnf/min2dhm.prg
  * contrib/hbnf/acctqtr.prg
  * contrib/hbnf/numlock.c
  * contrib/hbnf/dosver.prg
  * contrib/hbnf/nooccur.prg
  * contrib/hbnf/dayofyr.prg
  * contrib/hbnf/metaph.prg
  * contrib/hbnf/ontick.c
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/byteand.prg
  * contrib/hbnf/sqzn.prg
  * contrib/hbnf/bytexor.prg
  * contrib/hbnf/ftidle.c
  * contrib/hbnf/workdays.prg
  * contrib/hbnf/byteor.prg
  * contrib/hbnf/asum.prg
  * contrib/hbnf/shift.c
  * contrib/hbnf/sleep.prg
  * contrib/hbnf/wda.prg
  * contrib/hbnf/woy.prg
  * contrib/hbnf/aavg.prg
  * contrib/hbnf/any2any.prg
  * contrib/hbnf/origin.c
  * contrib/hbnf/mouse.c
  * contrib/hbnf/chdir.c
  * contrib/hbnf/adessort.prg
  * contrib/hbnf/setdate.prg
  * contrib/hbnf/netpv.prg
  * contrib/hbnf/amedian.prg
  * contrib/hbnf/blink.prg
  * contrib/hbnf/stod.c
  * contrib/hbnf/vertmenu.prg
  * contrib/hbnf/linked.prg
  * contrib/hbnf/qtr.prg
  * contrib/hbnf/aredit.prg
  * contrib/hbnf/n2color.c
  * contrib/hbnf/alt.c
  * contrib/hbnf/xbox.prg
  * contrib/hbnf/ftround.prg
  * contrib/hbnf/hex2dec.prg
  * contrib/hbnf/getver.c
  * contrib/hbnf/nwuid.prg
  * contrib/hbnf/dectobin.prg
  * contrib/hbnf/aemaxlen.prg
  * contrib/hbnf/bitset.prg
  * contrib/hbnf/nwlstat.prg
  * contrib/hbnf/invclr.prg
  * contrib/hbnf/ctrl.c
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/lastday.prg
  * contrib/hbnf/tempfile.prg
  * contrib/hbnf/diskfunc.prg
  * contrib/hbnf/scregion.prg
  * contrib/hbnf/d2e.prg
  * contrib/hbnf/mouse2.prg
  * contrib/hbnf/ftisprn.c
  * contrib/hbnf/pickday.prg
  * contrib/hbnf/firstday.prg
  * contrib/hbnf/daytobow.prg
  * contrib/hbnf/anomatch.prg
  * contrib/hbnf/menutonf.prg
  * contrib/hbnf/ftattr.c
  * contrib/hbnf/pvid.prg
  * contrib/hbnf/isbiton.prg
  * contrib/hbnf/color2n.c
  * contrib/hbnf/isbit.prg
  * contrib/hbnf/datecnfg.prg
  * contrib/hbnf/cntryset.prg
  * contrib/hbnf/putkey.c
  * contrib/hbnf/getenvrn.c
  * contrib/hbnf/easter.prg
  * contrib/hbnf/bytenot.prg
  * contrib/hbnf/ntow.prg
  * contrib/hbnf/aeminlen.prg
  * contrib/hbnf/poke.c
  * contrib/hbnf/floptst.prg
  * contrib/hbnf/pchr.prg
  * contrib/hbnf/savesets.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/mkdir.c
  * contrib/hbnf/year.prg
  * contrib/hbnf/caplock.c
  * contrib/hbnf/rmdir.c
  * contrib/hbnf/calendar.prg
  * contrib/hbnf/e2d.prg
  * contrib/hbnf/elapsed.prg
  * contrib/hbnf/sysmem.prg
  * contrib/hbnf/bitclr.prg
  * contrib/hbnf/eltime.prg
  * contrib/hbnf/aading.prg
  * contrib/hbnf/dfile.prg
  * contrib/hbnf/elapmil.prg
  * contrib/hbnf/setlastk.c
  * contrib/hbnf/pending.prg
  * contrib/hbnf/clrsel.prg
    - Stripped NFDOC/HBDOC from source code.
2010-07-14 12:57:05 +00:00
Viktor Szakats
9e9e5129f8 2010-07-14 14:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * src/rtl/hbdoc.prg
    + Added __HBDOC_FROMSOURCE( <cStream> ) -> <aEntry>

  + tests/stripdoc.hbs
    + Strips NFDOC/HBDOC from .c/.prg sources.

  + tests/hbdocext.prg
    + Extracts NFDOC/HBDOC from source code.

  * contrib/hbct/bitnum.c
  * contrib/hbct/strdiff.c
  * contrib/hbct/token2.c
  * contrib/hbct/charlist.c
  * contrib/hbct/ctnet.c
  * contrib/hbct/charonly.c
  * contrib/hbct/atadjust.c
  * contrib/hbct/ctmath.c
  * contrib/hbct/ctset.c
  * contrib/hbct/ctwin.c
  + contrib/hbct/doc
  + contrib/hbct/doc/en
  + contrib/hbct/doc/en/strdiff.txt
  + contrib/hbct/doc/en/token1.txt
  + contrib/hbct/doc/en/token2.txt
  + contrib/hbct/doc/en/keyset.txt
  + contrib/hbct/doc/en/ct.txt
  + contrib/hbct/doc/en/charmirr.txt
  + contrib/hbct/doc/en/ctc.txt
  + contrib/hbct/doc/en/charlist.txt
  + contrib/hbct/doc/en/charlihb.txt
  + contrib/hbct/doc/en/relation.txt
  + contrib/hbct/doc/en/atadjust.txt
  + contrib/hbct/doc/en/charonly.txt
  + contrib/hbct/doc/en/ctmath.txt
  + contrib/hbct/doc/en/atnum.txt
  + contrib/hbct/doc/en/numconv.txt
  + contrib/hbct/doc/en/charsort.txt
  + contrib/hbct/doc/en/count.txt
  + contrib/hbct/doc/en/posdiff.txt
  + contrib/hbct/doc/en/ftoc.txt
  + contrib/hbct/doc/en/charmix.txt
  + contrib/hbct/doc/en/charevod.txt
  + contrib/hbct/doc/en/finan.txt
  + contrib/hbct/doc/en/range.txt
  + contrib/hbct/doc/en/wordrepl.txt
  + contrib/hbct/doc/en/charrepl.txt
  + contrib/hbct/doc/en/exponent.txt
  + contrib/hbct/doc/en/addascii.txt
  + contrib/hbct/doc/en/ctmath2.txt
  + contrib/hbct/doc/en/strswap.txt
  + contrib/hbct/doc/en/trig.txt
  + contrib/hbct/doc/en/tab.txt
  + contrib/hbct/doc/en/video.txt
  + contrib/hbct/doc/en/charswap.txt
  + contrib/hbct/doc/en/dattime2.txt
  + contrib/hbct/doc/en/dattime3.txt
  + contrib/hbct/doc/en/replace.txt
  + contrib/hbct/doc/en/charop.txt
  + contrib/hbct/doc/en/misc1.txt
  + contrib/hbct/doc/en/asciisum.txt
  + contrib/hbct/doc/en/color.txt
  + contrib/hbct/doc/en/charone.txt
  + contrib/hbct/doc/en/num1.txt
  + contrib/hbct/doc/en/pos1.txt
  + contrib/hbct/doc/en/pos2.txt
  + contrib/hbct/doc/en/numat.txt
  + contrib/hbct/doc/en/charophb.txt
  + contrib/hbct/doc/en/atrepl.txt
  + contrib/hbct/doc/en/ascpos.txt
  + contrib/hbct/doc/en/wordtoch.txt
  + contrib/hbct/doc/en/ctpad.txt
  + contrib/hbct/doc/en/datetime.txt
  + contrib/hbct/doc/en/print.txt
  + contrib/hbct/doc/en/justify.txt
  + contrib/hbct/doc/en/remove.txt
  + contrib/hbct/doc/en/ctstr.txt
  + contrib/hbct/doc/en/screen1.txt
    + Moved embedded docs to separate files.

  * contrib/hbct/charsort.c
  * contrib/hbct/ftoc.c
  * contrib/hbct/charmix.c
  * contrib/hbct/charevod.c
  * contrib/hbct/wordrepl.c
  * contrib/hbct/exponent.c
  * contrib/hbct/charrepl.c
  * contrib/hbct/files.c
  * contrib/hbct/strswap.c
  * contrib/hbct/trig.c
  * contrib/hbct/video.c
  * contrib/hbct/charswap.c
  * contrib/hbct/dattime3.c
  * contrib/hbct/charop.c
  * contrib/hbct/ct.prg
  * contrib/hbct/cursor.c
  * contrib/hbct/misc2.c
  * contrib/hbct/color.c
  * contrib/hbct/charone.c
  * contrib/hbct/num1.c
  * contrib/hbct/pos1.c
  * contrib/hbct/ctcom1.c
  * contrib/hbct/charophb.c
  * contrib/hbct/ascpos.c
  * contrib/hbct/numconv.prg
  * contrib/hbct/ctstr.c
  * contrib/hbct/screen1.c
  * contrib/hbct/token1.c
  * contrib/hbct/keyset.c
  * contrib/hbct/charmirr.c
  * contrib/hbct/ctc.c
  * contrib/hbct/ctwfunc.c
  * contrib/hbct/charlihb.c
  * contrib/hbct/relation.c
  * contrib/hbct/setlast.c
  * contrib/hbct/atnum.c
  * contrib/hbct/count.c
  * contrib/hbct/disk.c
  * contrib/hbct/posdiff.c
  * contrib/hbct/finan.c
  * contrib/hbct/range.c
  * contrib/hbct/addascii.c
  * contrib/hbct/ctmath2.c
  * contrib/hbct/tab.c
  * contrib/hbct/dattime2.c
  * contrib/hbct/replace.c
  * contrib/hbct/misc1.c
  * contrib/hbct/asciisum.c
  * contrib/hbct/pos2.c
  * contrib/hbct/numat.c
  * contrib/hbct/fcopy.prg
  * contrib/hbct/atrepl.c
  * contrib/hbct/ctcom2.c
  * contrib/hbct/wordtoch.c
  * contrib/hbct/ctpad.c
  * contrib/hbct/datetime.c
  * contrib/hbct/print.c
  * contrib/hbct/justify.c
  * contrib/hbct/remove.c
    - Stripped NFDOC/HBDOC from source code.

  + contrib/hbnf/doc
  + contrib/hbnf/doc/en
  + contrib/hbnf/doc/en/acctmnth.txt
  + contrib/hbnf/doc/en/savearr.txt
  + contrib/hbnf/doc/en/rand1.txt
  + contrib/hbnf/doc/en/madd.txt
  + contrib/hbnf/doc/en/dispmsg.txt
  + contrib/hbnf/doc/en/numlock.txt
  + contrib/hbnf/doc/en/mouse1.txt
  + contrib/hbnf/doc/en/settime.txt
  + contrib/hbnf/doc/en/restsets.txt
  + contrib/hbnf/doc/en/page.txt
  + contrib/hbnf/doc/en/prtscr.txt
  + contrib/hbnf/doc/en/color2n.txt
  + contrib/hbnf/doc/en/byt2bit.txt
  + contrib/hbnf/doc/en/month.txt
  + contrib/hbnf/doc/en/byt2hex.txt
  + contrib/hbnf/doc/en/findith.txt
  + contrib/hbnf/doc/en/at2.txt
  + contrib/hbnf/doc/en/acctweek.txt
  + contrib/hbnf/doc/en/gcd.txt
  + contrib/hbnf/doc/en/poke.txt
  + contrib/hbnf/doc/en/pegs.txt
  + contrib/hbnf/doc/en/min2dhm.txt
  + contrib/hbnf/doc/en/acctqtr.txt
  + contrib/hbnf/doc/en/dosver.txt
  + contrib/hbnf/doc/en/mkdir.txt
  + contrib/hbnf/doc/en/nooccur.txt
  + contrib/hbnf/doc/en/dayofyr.txt
  + contrib/hbnf/doc/en/metaph.txt
  + contrib/hbnf/doc/en/menu1.txt
  + contrib/hbnf/doc/en/byteand.txt
  + contrib/hbnf/doc/en/setlastk.txt
  + contrib/hbnf/doc/en/sqzn.txt
  + contrib/hbnf/doc/en/bytexor.txt
  + contrib/hbnf/doc/en/workdays.txt
  + contrib/hbnf/doc/en/byteor.txt
  + contrib/hbnf/doc/en/asum.txt
  + contrib/hbnf/doc/en/sleep.txt
  + contrib/hbnf/doc/en/wda.txt
  + contrib/hbnf/doc/en/aavg.txt
  + contrib/hbnf/doc/en/woy.txt
  + contrib/hbnf/doc/en/alt.txt
  + contrib/hbnf/doc/en/any2any.txt
  + contrib/hbnf/doc/en/adessort.txt
  + contrib/hbnf/doc/en/setdate.txt
  + contrib/hbnf/doc/en/netpv.txt
  + contrib/hbnf/doc/en/amedian.txt
  + contrib/hbnf/doc/en/blink.txt
  + contrib/hbnf/doc/en/ctrl.txt
  + contrib/hbnf/doc/en/vertmenu.txt
  + contrib/hbnf/doc/en/qtr.txt
  + contrib/hbnf/doc/en/linked.txt
  + contrib/hbnf/doc/en/aredit.txt
  + contrib/hbnf/doc/en/shift.txt
  + contrib/hbnf/doc/en/fttext.txt
  + contrib/hbnf/doc/en/xbox.txt
  + contrib/hbnf/doc/en/ftround.txt
  + contrib/hbnf/doc/en/hex2dec.txt
  + contrib/hbnf/doc/en/nwuid.txt
  + contrib/hbnf/doc/en/dectobin.txt
  + contrib/hbnf/doc/en/chdir.txt
  + contrib/hbnf/doc/en/bitset.txt
  + contrib/hbnf/doc/en/aemaxlen.txt
  + contrib/hbnf/doc/en/nwlstat.txt
  + contrib/hbnf/doc/en/invclr.txt
  + contrib/hbnf/doc/en/popadder.txt
  + contrib/hbnf/doc/en/lastday.txt
  + contrib/hbnf/doc/en/dispc.txt
  + contrib/hbnf/doc/en/ftattr.txt
  + contrib/hbnf/doc/en/tempfile.txt
  + contrib/hbnf/doc/en/diskfunc.txt
  + contrib/hbnf/doc/en/stod.txt
  + contrib/hbnf/doc/en/scregion.txt
  + contrib/hbnf/doc/en/mouse2.txt
  + contrib/hbnf/doc/en/d2e.txt
  + contrib/hbnf/doc/en/kspeed.txt
  + contrib/hbnf/doc/en/descendn.txt
  + contrib/hbnf/doc/en/pickday.txt
  + contrib/hbnf/doc/en/firstday.txt
  + contrib/hbnf/doc/en/daytobow.txt
  + contrib/hbnf/doc/en/getenvrn.txt
  + contrib/hbnf/doc/en/anomatch.txt
  + contrib/hbnf/doc/en/menutonf.txt
  + contrib/hbnf/doc/en/pvid.txt
  + contrib/hbnf/doc/en/proper.txt
  + contrib/hbnf/doc/en/isbiton.txt
  + contrib/hbnf/doc/en/isbit.txt
  + contrib/hbnf/doc/en/cntryset.txt
  + contrib/hbnf/doc/en/datecnfg.txt
  + contrib/hbnf/doc/en/caplock.txt
  + contrib/hbnf/doc/en/easter.txt
  + contrib/hbnf/doc/en/bytenot.txt
  + contrib/hbnf/doc/en/ftisprn.txt
  + contrib/hbnf/doc/en/setkeys.txt
  + contrib/hbnf/doc/en/ntow.txt
  + contrib/hbnf/doc/en/aeminlen.txt
  + contrib/hbnf/doc/en/floptst.txt
  + contrib/hbnf/doc/en/pchr.txt
  + contrib/hbnf/doc/en/savesets.txt
  + contrib/hbnf/doc/en/tbwhile.txt
  + contrib/hbnf/doc/en/year.txt
  + contrib/hbnf/doc/en/calendar.txt
  + contrib/hbnf/doc/en/e2d.txt
  + contrib/hbnf/doc/en/sysmem.txt
  + contrib/hbnf/doc/en/elapsed.txt
  + contrib/hbnf/doc/en/n2color.txt
  + contrib/hbnf/doc/en/bitclr.txt
  + contrib/hbnf/doc/en/eltime.txt
  + contrib/hbnf/doc/en/putkey.txt
  + contrib/hbnf/doc/en/aading.txt
  + contrib/hbnf/doc/en/dfile.txt
  + contrib/hbnf/doc/en/elapmil.txt
  + contrib/hbnf/doc/en/pending.txt
  + contrib/hbnf/doc/en/peek.txt
  + contrib/hbnf/doc/en/clrsel.txt
  + contrib/hbnf/doc/en/ontick.txt
  + contrib/hbnf/doc/en/acctyear.txt
  + contrib/hbnf/doc/en/byteneg.txt
  + contrib/hbnf/doc/en/isshare.txt
  + contrib/hbnf/doc/en/sinkey.txt
  + contrib/hbnf/doc/en/iamidle.txt
  + contrib/hbnf/doc/en/ftidle.txt
  + contrib/hbnf/doc/en/rmdir.txt
  + contrib/hbnf/doc/en/scancode.txt
  + contrib/hbnf/doc/en/vidmode.txt
  + contrib/hbnf/doc/en/origin.txt
  + contrib/hbnf/doc/en/nwsem.txt
  + contrib/hbnf/doc/en/acctadj.txt
  + contrib/hbnf/doc/en/week.txt
  + contrib/hbnf/doc/en/vidcur.txt
  + contrib/hbnf/doc/en/readme.txt
  + contrib/hbnf/doc/en/prtesc.txt
  + contrib/hbnf/doc/en/miltime.txt
    + Moved embedded docs to separate files.

  * contrib/hbnf/kspeed.c
  * contrib/hbnf/iamidle.c
  * contrib/hbnf/miltime.prg
  * contrib/hbnf/mouse1.prg
  * contrib/hbnf/setkeys.c
  * contrib/hbnf/origin.c
  * contrib/hbnf/chdir.c
  * contrib/hbnf/hex2dec.prg
  * contrib/hbnf/mouse2.prg
  * contrib/hbnf/ftisprn.c
  * contrib/hbnf/putkey.c
  * contrib/hbnf/floptst.prg
  * contrib/hbnf/mkdir.c
  * contrib/hbnf/rmdir.c
  * contrib/hbnf/setlastk.c
    ! Fixed NFDOC formatting.
    ; TODO: Strip docs.
2010-07-14 12:48:39 +00:00
Viktor Szakats
3238aea36d 2010-07-14 12:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/screen2.c
  * contrib/hbct/token2.c
  * contrib/hbct/charsprd.c
  * contrib/hbct/atadjust.c
  * contrib/hbct/ctwin.c
  * contrib/hbct/maxline.c
  * contrib/hbct/dattime3.c
  * contrib/hbct/misc2.c
  * contrib/hbct/ctchksum.c
  * contrib/hbct/screen1.c
  * contrib/hbct/token1.c
  * contrib/hbct/atnum.c
  * contrib/hbct/blank.c
  * contrib/hbct/ctcrypt.c
  * contrib/hbct/disk.c
  * contrib/hbct/ctstrfil.c
  * contrib/hbct/dattime2.c
  * contrib/hbct/expand.c
  * contrib/hbct/numat.c
  * contrib/hbct/atrepl.c
  * contrib/hbct/ctpad.c
  * contrib/hbct/print.c
    * HB_SIZE/HB_ISIZ/HB_FOFFSET variables renamed.
      (verified with msvc64 obj comparison)

  * contrib/hbct/token1.c
    ! Fixed to use HB_SIZE_MAX instead of literal limit.
2010-07-14 10:50:32 +00:00
Viktor Szakats
533b75b205 2010-07-14 12:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/Makefile
  * utils/hbmk2/hbmk2.prg
    + Added build time configuration for GPM (on Linux) and
      WATT (on MS-DOS) builds. This makes hbmk.hbc generation
      (at 'install' phase) unnecessary, which means that now
      'install' is not required on _any_ platforms and scenarios
      to use hbmk2. Since hbmk2 is now used to build contribs,
      this is now also a reqiurement.
    ; Please test, I didn't make any Linux, MS-DOS build tests 
      after this change.

  * config/postinst.hbs
    - Deleted hbmk.hbc creation. Now this logic is included in
      hbmk2 at build-time on Linux and MS-DOS build which have
      GPM lib and WATT lib detected respectively.

  * contrib/hbct/numline.c
    * HB_ISIZ variables renamed.
2010-07-14 10:27:06 +00:00
Viktor Szakats
62ec573bbf 2010-07-14 11:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * src/common/Makefile
  + src/common/hbstrbm.c
    + Added hb_strAtTBM() which provides fast text search using
      Turbo Boyer-Moore(-Crochemore) algorithm. The interface is
      the same as hb_strAt().
      HB_AT()/AT() could use it beyond some haystack sizes to
      speed up the results.

  + contrib/hbqt/tests/testbrow.prg
    + Added useful browse example implemented using QT.

  * tests/utf8at.prg
    + Changed to not use high chars.
2010-07-14 09:47:43 +00:00
Viktor Szakats
ec5c6619dc 2010-07-14 10:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapicdp.h
  * src/rtl/cdpapi.c
  * src/rtl/cdpapihb.c
  + tests/utf8at.prg
    + Added hb_cdpUTF8StringAt()
    ; Patch by Carlos Bacco. Many thanks!

  * include/hbextern.ch
  * include/hbapicdp.h
  * src/rtl/cdpapi.c
  * src/rtl/cdpapihb.c
    ; my modifications to above patch:
    - Using HB_BOOL instead of int for flag value.
    % HB_UTF8AT(), HB_UTF8RAT() optimized to use hb_param(),
      plus optimized out variables.
    ! HB_UTF8AT(), HB_UTF8RAT() fixed 'nEnd < nStart' case.
    ! Some formatting.
    + Added new functions to hbextern.ch.

  * tests/utf8at.prg
    * Changed to use UTF8 string as base.
    * Avoiding "OEM" and "ANSI" Microsoft misleading terms,
      using standard CP names instead.
    ! Using HB_TRANSLATE() to convert between CPs (instead
      of non-portable, Windows-only HB_OEMTOANSI()/HB_ANSITOOEM()
      functions).
    * Formatting.
    * Using '?' instead of QOUT(), plus added simpleio.ch to
      allow redirection of output.

  * contrib/make.hbs
    * Minor step to make dependency evaluation and automatic
      sorting of components for build.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -vcshead support for Monotone version control
      software.
    % Cleaned and optimized "in dir" C compiler run mode.
      (currently used by mingw)
    ! Fixed "in dir" C compiler run mode when using -jobs=
      option for multithreaded builds.
    % Little optimization to --hbinfo option.
2010-07-14 08:14:32 +00:00
Pritpal Bedi
6b778764a7 2010-07-13 19:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbide/dbstruct.ui
  + contrib/hbide/resources/dbstruct.png

  * contrib/hbide/hbide.hbp
  * contrib/hbide/hbide.qrc
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idemisc.prg
    + Implemented: ideDBU - View and navigate the structure
      of current table in focus. More features follow.
2010-07-14 02:26:42 +00:00
Viktor Szakats
b981168cf6 2010-07-13 16:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to rebase -I dirs also, when using new in-dir mingw
      (experimental) call method.

  * contrib/hbmzip/hbmzip.c
  * contrib/hbbz2/hbbz2.c
  * contrib/hbmemio/memio.c
  * contrib/hbxpp/xppopc.c
  * contrib/hbmisc/strfmt.c
  * contrib/hbmisc/stringsx.c
  * contrib/hbtip/utils.c
    * HB_SIZE/HB_ISIZ variables renamed.

  * contrib/hbmemio/memio.c
    * HB_ULONG -> HB_SIZE in missing places.

  * contrib/hbtip/utils.c
  * contrib/hbtip/thtml.prg
    * PSTRCOMPI() function renamed to __TIP_PSTRCOMPI()
      INCOMPATIBLE: If someone by any chance used this internal
                    worker function in user code, pls update the name.
    % __TIP_PSTRCOMPI(): optimization.
2010-07-13 14:03:07 +00:00
Viktor Szakats
29cd12b694 2010-07-13 12:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbdoc.prg
  * include/hbextern.ch
    + Added __HBDOC_TOSOURCE( <aEntry> ) which is able to
      rebuild original HBDOC source from memory variable.
      ATM language information is lost in the process, this
      will have to be solved in the future.

  * utils/hbmk2/hbmk2.prg
    + Added experimental optimization to mingw build, where the
      compiler is called only once to compile all files. Since
      gcc doesn't have a switch for that, it's done in tricky
      way by changing directory and recalculating source dir
      relative from workdir. Now it's active by default, pls
      report any build errors, especially in multithreaded mode.

  * contrib/hbqt/generator/hbqtgen.prg
    * Cleanups

  * contrib/hbwin/win_shell.c
    ! Reverted previous patch 2010-07-13 08:55, it broke mingw builds.
2010-07-13 10:04:06 +00:00
Viktor Szakats
2b388f083b 2010-07-13 08:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ tests/hbmk.hbm
    + Added hbmk2 automatic configuration to set warning level to 3.

  * tests/hbdoctst.prg
    * Minor.

  * contrib/hbdoc2/hbdoc2.hbp
    + Added output name.

  * contrib/hbnetio/utils/hbnetio.hbp
    * Commented -DHB_EXTERN option.

  * contrib/hbwin/win_shell.c
    ! Patch by Tamas Tevesz to fix compilation on newer (>= 0x621)
      Borland compiler versions.
2010-07-13 06:56:45 +00:00
Pritpal Bedi
5a7aac0559 2010-07-12 18:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idestylesheets.prg
    ! Fixed: main menu colors for navigated prompts.
      Let me know if you have other opinions.
2010-07-13 01:33:56 +00:00
Pritpal Bedi
19ff2345d4 2010-07-12 17:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
  * contrib/hbxbp/xbpbrowse.prg
    % Ratified: many artifacts about vertical navigation, 
      especially after resizing is affected. Now you can see
      this difference in demoXBP and hbIDE's ideDBU.
2010-07-13 00:28:35 +00:00