Commit Graph

13586 Commits

Author SHA1 Message Date
Pritpal Bedi
2a225512dc 2010-02-26 16:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/resources/docviewgenerator.ui
  * contrib/hbide/resources/docviewgenerator.uic
    ! Enabled: left-right tab-widgets to share space as per user wish.
      You can resize the indivisual tab-widgets, move cursor in-between
      horizontal divider.

  * doc/hdr_tpl.txt
    ! Little correction in exact number of spaces and little 
      more awareness tip for writer.

  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemisc.prg
    ! More refinements the way Harbour document is displayed.
      Please forward your suggessions.
    ! Presentation: documents tree is now exact syncronization with 
      Harbour's folder structure but depicting only those folders
      with /doc and /doc/en endingings.
    + Enabled: to reload the tree on the fly. Marco, check it.
2010-02-27 01:02:40 +00:00
Viktor Szakats
6fba6b8a05 2010-02-26 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/tget.prg
  * tests/rto_get.prg
    ! Fixed to convert input to uppercase for "Y" picture mask.
    + Added regression test for this case.
2010-02-26 22:19:52 +00:00
Viktor Szakats
3cac472d53 2010-02-26 22:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddoci/ocidd.c
    * Commented trace call.

  * contrib/rddsql/sddoci/Makefile
    + Added tweak to link with implibs of ever-problematic bcc
      compiler.
2010-02-26 21:02:29 +00:00
Viktor Szakats
37135ca341 2010-02-26 21:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * bin/hb-mkimp.bat
  + contrib/rddsql/sddoci
  + contrib/rddsql/sddoci/Makefile
  + contrib/rddsql/sddoci/ocidd.c
  + contrib/rddsql/sddoci/sddoci.hbc
  + contrib/rddsql/sddoci/tests
  + contrib/rddsql/sddoci/tests/hbmk.hbm
  + contrib/rddsql/sddoci/tests/test1.prg
  * contrib/rddsql/Makefile
    + Added support for direct connection to Oracle
      databases via OCILIB library.
      UNICODE, ANSI (default) and MIXED modes are supported.
      For mingw targets, the library will be linked
      statically, for the rest dynamically.
      You need to have Oracle client (oci.dll and the 
      rest of the package) installed to use it.
    ; TODO: Finish type conversion and mapping.

  * contrib/rddsql/sddmy/mysqldd.c
  * contrib/rddsql/sddpg/pgsqldd.c
  * contrib/rddsql/sddfb/fbirddd.c
  * contrib/rddsql/sddodbc/odbcdd.c
    ! HB_ULONG -> HB_SIZE

  ; TOFIX: To Mindaugas: Current SDD architecture will crash with GPF
           if dbUseArea() is attempted after a failed RDDI_CONNECT
           call. You can check it f.e. with sddodbc's test1.prg, by
           modifying test.mdb to test_.mdb, and simply run it.
2010-02-26 20:47:35 +00:00
Viktor Szakats
ce72edafe3 2010-02-26 11:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxpp/Makefile
  + contrib/hbxpp/thread.ch
  * contrib/hbxpp/tthreadx.prg
    + Added thread.ch compatibility header.
    ! Fixed QUIT_* constants to be the same as in real XPP,
      also moved them to header.
2010-02-26 10:13:31 +00:00
Viktor Szakats
c7103df6ea 2010-02-26 11:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour.spec
    + Added hbfoxpro, hbfship, hbxpp libs.
2010-02-26 10:00:18 +00:00
Viktor Szakats
66b730d32d 2010-02-26 10:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbfoxpro/dll.prg
  + contrib/hbfoxpro/Makefile
  * contrib/hbwin/Makefile
  - contrib/hbwin/win_dllf.prg
    + Moved FoxPro-like dynamic call function to
      hbfoxpro lib.
      Renamed it to FOX___DYNCALL() until we find
      it a better name, or someone will suggest
      how this is best presented for actual FoxPro
      users.

  * contrib/Makefile
  * utils/hbmk2/examples/contribf.hbc
    + Enabled hbfoxpro lib.

  * config/wce/global.mk
  * config/win/global.mk
    * Formatting.
2010-02-26 09:57:39 +00:00
Pritpal Bedi
1158fc2524 2010-02-25 19:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideharbourhelp.prg
    + Implemented to open Qt's original documentation link in 
      default browser. It is handy and you do not need to remember.
2010-02-26 03:09:29 +00:00
Pritpal Bedi
5cc93e3ab4 2010-02-25 18:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideharbourhelp.prg
    + Implemented two more tags: $INHERITS$ and $METHODS$

  * contrib/hbqt/generator/hbqtgen.prg
    + Implemented NANFORUM compatible .txt documentation files.
      Please navigate with hbIDE.

  + contrib/hbqt/doc/en
  + contrib/hbqt/doc/en/*.txt [ Auto Generated ]

    NOTE: this is initial upload and contains little less than desired.
          I plan to adress including more info at a later date.
          For now you can be comfortable as to how a method in Qt 
          class should be called, a big productivity boost.
2010-02-26 02:51:07 +00:00
Viktor Szakats
043a74384e 2010-02-26 00:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxpp/xppop.prg
  * contrib/hbxpp/xppopc.c
    ! Restored stupport for negative indexes in 'string[ n ]' syntax.
    * Two reported RTE made XPP compatible regarding 'string[ n ]' syntax.
      Left marked as TODO. I hope one day an XPP user will complete them.
    ! Fixed names of an internal function to not be the same as in xhb lib.
2010-02-25 23:24:10 +00:00
Viktor Szakats
e0392d950d 2010-02-25 20:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/gtwvg.h
    * Synced color RGB values with GTWVT.

  * contrib/hbgd/hbgd.hbc
    ! Fixed to reference hbct lib. hbgd requires it for
      some math functions.

  * contrib/hbxpp/Makefile
  * contrib/hbxpp/hbxpp.ch
  + contrib/hbxpp/xppopc.c
  + contrib/hbxpp/xppop.prg
  + contrib/hbxpp/tests/opover.prg
    + Added support for 'string[ n ]' syntax.
      Note, you have to #include "hbxpp.ch" to activate it.
      (of course you can pick the logic and copy it to app
      code, it's only two lines)
      (copied and adapted from existing xhb lib implementation)

  * contrib/xhb/xhbmsgs.c
    ! Fixed HB_LONG -> HB_ISIZ

  * contrib/hbxpp/hbxppext.ch
    * Updated.
2010-02-25 19:55:19 +00:00
Pritpal Bedi
3ab9109da3 2010-02-25 10:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/gtqtc/gtqtc.cpp
  * contrib/hbqt/gtqtc/gtqtc.h
  * contrib/hbqt/gtqtc/Makefile
    ! Fixed to work with current location and non-UNICODE builds.
2010-02-25 18:12:05 +00:00
Pritpal Bedi
35084c65e4 2010-02-25 09:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/hbide/resources/harbour_splash.png

  * contrib/hbide/resources/themesex.ui
  * contrib/hbide/resources/themesex.uic

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idethemes.prg

    + Splash screen popping up at the startup before main 
      window is displayed. Your comments are welcome.

    ! Enabled menu options which were accidentally got disabled some
      time back, do not remember - why.

    ! Themes: centralized "Set as Default" option in "Images" dialog.
      Removed from <Setup> menu option. 

    ! Some more rationalizations.
2010-02-25 17:22:42 +00:00
Viktor Szakats
35330ef28e 2010-02-25 16:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbziparc/hbziparc.prg
    ! Fixed HB_ZIPFILE() not working properly with a password set.

  * include/hbgtinfo.ch
    ! Fixed comment for HB_GTI_PALETTE.
2010-02-25 15:04:29 +00:00
Przemyslaw Czerpak
bda62b8d16 2010-02-25 14:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbxpp/tthreadx.prg
    + added paramter validation in THREAD:setInterval() and
      THREAD:setStartTime()
    + added support for THREAD:startTime
    * updated TODO notes
2010-02-25 13:32:21 +00:00
Viktor Szakats
dfb423aeb9 2010-02-25 13:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added HB_FUNC_TRANSLATE() macro to replace this logic:
      'HB_FUNC_EXTERN( original_func_name ); HB_FUNC( func_name ) { HB_FUNC_EXEC( original_func_name ); }'

  * contrib/hbxpp/pvalue.c
  * contrib/hbfship/pvalue.c
    % Using HB_FUNC_TRANSLATE().
2010-02-25 12:41:23 +00:00
Viktor Szakats
d2e235ebbf 2010-02-25 13:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
  * src/compiler/cmdcheck.c
  * src/compiler/hbusage.c
  * include/hbpp.h
    - Deleted -kl option. "multiline strings" converted back
      to build-time option. It's not a documented option anymore,
      usage is not recommended. See 2010-02-24 20:04 UTC+0100
      for valid alternatives.
2010-02-25 12:34:40 +00:00
Viktor Szakats
08377bbdd8 2010-02-25 11:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
    ! Added __QUITCANCEL.

  * contrib/hbxpp/Makefile
  + contrib/hbxpp/pvaluex.c
  * contrib/hbfship/Makefile
  + contrib/hbfship/pvalue.c
    + Added function PVALUE() to both Xbase++ and FlagShip lib.

  * contrib/hbxpp/Makefile
  * contrib/hbxpp/hbxpp.ch
  * contrib/hbxpp/idlex.c
  - contrib/hbxpp/sleepx.prg
    * Renamed already existing XPP_SLEEP() to SLEEP().
    - Deleted translation from SLEEP() to XPP_SLEEP() hbxpp.ch.
    - Deleted recently added .prg implementation of SLEEP().

  * contrib/hbqt/qtgui/QWidget.cpp
  * contrib/hbqt/qtcore/TQChar.prg
    * Regenerated.
2010-02-25 10:11:07 +00:00
Przemyslaw Czerpak
835a921991 2010-02-25 08:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/hvm.c
    + added internal PRG function __QUITCANCEL()

  * harbour/contrib/hbxpp/Makefile
  + harbour/contrib/hbxpp/sleepx.prg
    + added xbase++ compatible prg function SLEEP( <nHSeconds> ) -> NIL

  * harbour/contrib/hbxpp/tthreadx.prg
    ! renamed TTHREAD class to THREAD and TSIGNAL to SIGNAL - I had to
      wrongly understood xbase++ documentation sent to the least.
    ! made THREAD:threadSelf() method exported
    + added full support for THREAD:QUIT( [<xResult>] [,<nRestart>] )
    ! initialize THREAD:startCount and ThreadObject() value before executing
      THREAD:atStart[()] method and codeblock
    % simplified emulation of xbase++ like behavior of THREAD:atStart[()]
      and THREAD:atEnd[()], in such context it's not necessary to use
      __ClsMsgType()
    % simplified THREAD:execute() method calling
    + added proper THREAD:deltaTime setting
    ! do not use THREAD:startTime to store thread start time
    ! fixed thread restarting when THREAD:interval is set to use
      calculated THREAD:deltaTime instead of fixed delay defined
      by THREAD:interval
2010-02-25 07:40:37 +00:00
Pritpal Bedi
9a97d433ad 2010-02-24 17:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qtgui/QWidget.cpp
  * contrib/hbqt/qtgui/TQWidget.prg
  * contrib/hbqt/qth/QWidget.qth
    + Enabled :setSizePolicy( QSizePolicy ).
2010-02-25 01:38:33 +00:00
Pritpal Bedi
2fe41e8222 2010-02-24 16:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/resources/docviewgenerator.ui
  * contrib/hbide/resources/docviewgenerator.uic
  * contrib/hbide/resources/environments.ui
  * contrib/hbide/resources/environments.uic
  * contrib/hbide/resources/finddialog.uic
  * contrib/hbide/resources/findinfiles.uic
  * contrib/hbide/resources/findinfilesex.ui
  * contrib/hbide/resources/findinfilesex.uic
  * contrib/hbide/resources/findsource.uic
  * contrib/hbide/resources/mainwindow.uic
  * contrib/hbide/resources/projectproperties.uic
  * contrib/hbide/resources/projectpropertiesex.ui
  * contrib/hbide/resources/projectpropertiesex.uic
  * contrib/hbide/resources/searchreplace.ui
  * contrib/hbide/resources/searchreplace.uic
  * contrib/hbide/resources/searchreplacepanel.ui
  * contrib/hbide/resources/searchreplacepanel.uic
  * contrib/hbide/resources/selectionlist.uic
  * contrib/hbide/resources/selectproject.uic
  * contrib/hbide/resources/skeletons.ui
  * contrib/hbide/resources/skeletons.uic
  * contrib/hbide/resources/themes.uic
  * contrib/hbide/resources/themesex.ui
  * contrib/hbide/resources/themesex.uic
    ! A thourough uniform naming protocol adapted.

  + contrib/hbide/resources/harbourhelp.png
  + contrib/hbide/resources/projectstree.png
  + contrib/hbide/resources/richtext.png
  + contrib/hbide/resources/syntaxhiliter.png
  + contrib/hbide/resources/tabs.png
  * contrib/hbide/resources/blockcomment.png
  + contrib/hbide/resources/codeskeletons.png
  * contrib/hbide/resources/dc_function.png
    + Added more images.

  * contrib/hbqt/hbqt_hbslots.cpp
  * contrib/hbqt/hbqt_hbslots.h
    + Added slots for QDockWidget().

  * contrib/hbqt/THbQtUI.prg	
    ! Refined destructor.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idethemes.prg
 
    + This commit is mainly uplifts and rationlizes the menus,
      toolbars, and docking widgets plus a big consideration of 
      parent child relationship is achieved.

    * Implemented: right-side toolbar which contains the toggle
      icons for docking widgets. The same functionality is available
      also in <Docks> main-menu option.

    * Menu options are reworked and all actions pertaining to docking
      widgets are removed from there. The same is applied to 
      top-toolbar also. All actions pertaining to block operations 
      are cornered at the left-side toolbar. Thus menus, toolbars are 
      in perfect synchronization.

    * Harbour-help is now loaded on demand. Only when help icon is 
      toggled on the right-toolbar.

    * hbIDE icon is changed as I committed before. No one forwarded
      his opinions, so I assume it is appropriate image.

    ; NOTE: This commit now presents hbIDE to the external world 
      with almost-profession look and feel, so we can spread the word.

    ; This commit is with heavy changes so regression is possible.
      Please speak-out if you find something weired.
2010-02-25 01:12:15 +00:00
Viktor Szakats
de98c077f8 2010-02-25 01:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/global.mk
  * config/win/global.mk
  * config/win/msvc.mk
  * config/rules.mk
  * INSTALL
    * UNICODE mode turned on for all Windows compilers.
      To override it, use: 'HB_BUILD_UNICODE=no'
    % Cleaned the way UNICODE is enabled.

  * src/common/hbfsapi.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gtpca/gtpca.c
    ! HB_IO_WIN -> HB_OS_WIN.
      (missed from previous commit)

  * utils/hbmk2/hbmk2.prg
    * ENDTEXT -> #pragma __endtext
      (Thanks for the hint, Xavi)
2010-02-25 00:53:15 +00:00
Viktor Szakats
27af8d0dd3 2010-02-24 20:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
  * src/compiler/cmdcheck.c
  * src/compiler/hbusage.c
  * include/hbpp.h
    + Marked "multiline strings" feature as deprecated,
      with HB_LEGACY_LEVEL3.
      It's recommended to fix such code to be compatible
      with Clipper (and other compatible) languages.
         F.e.:
         ---
            cVar := "line 1;
            line 2;
            line 3"
         ---
         to standard:
         --- F.e.:
            cVar := "line 1" +;
            "line 2" +;
            "line 3"
         ---
         or to another Harbour extension:
         ---
            #pragma __cstream|cVar := %s
            line 1
            line 2
            line 3
            ENDTEXT
         ---
      ('+' operator will be optimized out by the compiler,
      so there won't be any performance drop.)

  * utils/hbmk2/hbmk2.prg
    * Formatting.
2010-02-24 19:07:18 +00:00
Viktor Szakats
aede2707a1 2010-02-24 16:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
  * src/compiler/cmdcheck.c
  * src/compiler/hbusage.c
  * include/hbpp.h
  * include/hbsetup.h
    * HB_USER_CFLAGS=-DHB_PP_MULTILINE_STRING feature converted
      to compiler switch '-kl'.
      INCOMPATIBLE. Users needing this feature now can use
      standard Harbour builds by simply adding -kl Harbour
      compiler flag. Old build-time macro is not supported 
      anymore.
2010-02-24 15:11:45 +00:00
Viktor Szakats
dfa37c743b 2010-02-24 14:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
  * include/hbapigt.h
  * src/rtl/fstemp.c
  * src/rtl/fserr.c
  * src/rtl/filesys.c
  * src/rtl/console.c
  * src/rtl/hbproces.c
    * HB_IO_WIN -> HB_OS_WIN

  * src/rtl/fserr.c
    - Deleted code sections which could only be active
      in 16-bit MS-DOS (MSC and BCC) compilers, or
      never.

  * src/rtl/hbdyn.c
    ! Fixed signedness warning shown by Cygwin.

  * src/rtl/filesys.c
    % Cleaned double inclusion of windows.h.
    ! Fixed for Cygwin. Latest Cygwin allows to enable
      some previously inactivated code sections. Also
      avoiding some new warnings on this target.
    - Deleted code section which is superfluous after
      merging HB_OS_WIN and HB_IO_WIN modes.
    ; TODO: Clean the rest.
    ; TODO: Use native Windows API in the remaining places.

  * include/hbdefs.h
    ! Disabled drive letter for __CYGWIN__.
      Latest version don't define the related
      CRTL functions, so it was giving warnings in
      filesys.c.

  * src/rtl/hbproces.c
    - Deleted code section which was now redundant
      (covering non-HB_IO_WIN && HB_OS_WIN case)

  * contrib/hbwin/win_prn1.c
    * Formatting.

  * src/vm/estack.c
  * src/vm/garbage.c
  * src/vm/fm.c
  * src/vm/thread.c
    + Readded those OS/2 INCL_ macros which were needed
      in C++ mode.
2010-02-24 13:34:10 +00:00
Przemyslaw Czerpak
8f4a16946b 2010-02-24 12:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    ! fixed typo and casting due to wrong OS2 API documentation
    * use DosQueryCurrentDir() instead of DosQCurDir() macro

    TOFIX: Current HVM cannot be compiled by OS2 Watcom
2010-02-24 11:42:48 +00:00
Przemyslaw Czerpak
c9d2435ba8 2010-02-24 12:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * updated new contrib libraries

  * harbour/contrib/xhb/regexrpl.prg
    ! fixed hb_RegexReplace() to respect lCaseSensitive and lNewLine flags

  * harbour/src/rtl/filesys.c
    % use in OS2 builds system API functions instead of CRTL ones
      to get/set current drive
    % use in OS2 builds system API function DosQueryCurrentDisk() to
      check if disk drives are available in hb_fsIsDrv() function
    ! use in OS2 builds system API function DosQCurDir() to extract current
      directory. It fixed buffer overflow due to ignored buffer size in
      GCC OS2 builds and makes MT safe getting current directory for non
      current drive.
2010-02-24 11:22:45 +00:00
Viktor Szakats
61de922b9c 2010-02-24 10:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- include/hbzlib.h
    - Deleted hbzlib.h (missed from commit: 2010-02-23 09:27 UTC+0100)
2010-02-24 09:32:44 +00:00
Viktor Szakats
ec3d1fce89 2010-02-24 10:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxpp/Makefile
  + contrib/hbxpp/runshell.prg
    + Added RUNSHELL()

  * src/rtl/hbproces.c
  * contrib/hbxpp/dll.ch
    * Formatting.
2010-02-24 09:04:21 +00:00
Pritpal Bedi
0776044bf2 2010-02-23 14:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/hbide/resources/hbide.png
    + Added icon to be displayable in hbIDE windows title-bar.
      Please visualize and forward any suggesstion. If possible
      you can redesign it.
2010-02-23 22:33:42 +00:00
Viktor Szakats
dfee94a1bc 2010-02-23 20:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/hbdoc2/hbdoc2.prg
    ! Synced doc language subdir with recent changes.
      Thanks to Qatan for pointing it out.

  * include/hbwince.h
    * Formatting.
2010-02-23 19:53:31 +00:00
Maurilio Longo
1870c5c65c 2010-02-23 17:40 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
* source/contrib/hbxpp/tthreadx.prg
     ! while waiting for ::interval to expire, ::active has to be .T.
2010-02-23 16:42:42 +00:00
Pritpal Bedi
f6ddb09fe9 2010-02-23 08:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbslots.cpp
    ! Applied patch provided by Francek.
      This removes the 128 nesting loop limit in MSVC.

  * contrib/hbide/ideharbourhelp.prg
    ! Fixed many artifacts, mainly on DocViewer navigation.
2010-02-23 16:32:51 +00:00
Przemyslaw Czerpak
72bc76e67a 2010-02-23 17:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/dynlibhb.c
    ! casting for OS2 builds

  * harbour/src/rtl/hbinet.c
    ! added automatic WINSOCK initialization in HB_INETIFINFO() function

  * harbour/contrib/hbwin/olecore.c
    % small optimization in OLE method calls
      (use static buffer for message name)
2010-02-23 16:11:16 +00:00
Maurilio Longo
c88a85428e 2010-02-23 14:25 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
* source/contrib/hbxpp/tthreadx.prg
     * changed ::start() method to execute ::atStart/::atEnd methods/codeblocks
       when present.
     * changed ::threadID() from method to iVar
     ! ::startCount should be incremented at every execution
     * ::threadSelf() method moved to HIDDEN section
2010-02-23 13:29:29 +00:00
Viktor Szakats
343ec138cf 2010-02-23 10:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/estack.c
  * src/vm/fm.c
  * src/vm/garbage.c
    % Deleted unnecessary OS/2 INCL_* constant definitions.

  * src/vm/cmdarg.c
  * src/vm/thread.c
  * src/vm/dynlibhb.c
    + Added comment for some exception where OS/2 INCL_ constants 
      hace to be defined before Harbour headers. (because hbstack.h 
      will include os2.h through hbthread.h in MT build-pass)

  * src/vm/extrap.c
  * src/common/hbgete.c
  * src/common/hbffind.c
  * src/common/hbver.c
  * src/common/hbfsapi.c
  * src/rtl/filesys.c
  * src/rtl/diskspac.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/cputime.c
  * src/rtl/disksphb.c
  * contrib/hbtpathy/tpos2.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbqt/hbqt.h
    % OS/2 '#define INCL_*' lines moved right before os2.h is included.
      Now that os2.h isn't included by Harbour headers, this is possible.
2010-02-23 09:14:35 +00:00
Viktor Szakats
ef2727d113 2010-02-23 09:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + <windows.h>/<os2.h> header inclusion (along with HB_OS_WIN_USED
      macro) is now guarded with HB_LEGACY_LEVEL3.

  * include/hbsetup.ch
  * include/hbdefs.h
  * include/clipdefs.h
    + HB_LEGACY_OFF will now turn off legacy types as well.
      This means that HB_LEGACY_TYPES_OFF macro usage
      is now clean.

  * utils/hbmk2/examples/contribf.hbc
    ! hbbmcdx -> rddbmcdx
2010-02-23 08:46:31 +00:00
Viktor Szakats
02af7454a4 2010-02-23 09:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/Makefile
    - Deleted hbzlib.h (wrapper for zlib.h)
      (INCOMPATIBLE, if someone used this, should be fixed by 
      replacing hbzlib.h with zlib.h in #include directive)
2010-02-23 08:28:35 +00:00
Viktor Szakats
0a0da68244 2010-02-23 09:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/ioapi.c
  * contrib/hbmzip/zip.c
  * contrib/hbmzip/unzip.c
  * contrib/hbmzip/zip.h
  * contrib/hbmzip/unzip.h
  * contrib/xhb/hbcomprs.c
    % Using hbzlib.h directly instead of hbzlib.h.
    ; TODO: Delete hbzlib.h.
2010-02-23 08:25:34 +00:00
Pritpal Bedi
2d7d0564e5 2010-02-22 19:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/idedocks.prg
  * contrib/hbide/resources/docviewgenerator.ui
  * contrib/hbide/resources/docviewgenerator.uic
    ! Enabled "floating" properties for right-hand docking widgets.
      Now it is possible to sheer them out of main frame and/or
      tabify.
    ! Changed the "Contents" tab-page maximum-width.
2010-02-23 03:06:03 +00:00
Pritpal Bedi
e5e316e409 2010-02-22 15:13 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideobject.prg
    ! :connect()/disconnect() now returns failure or success.
  * contrib/hbide/ideharbourhelp.prg
    % Fixed the night-haunter exiting GPF. Qt the beast.
      This all belongs to parent child relationship, which,
      if not handlled properly can kill the application.
      It is a moment to take sigh of relief, at least for now.
2010-02-22 23:14:24 +00:00
Viktor Szakats
95fc69a2a6 2010-02-22 20:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
    ! Fixed to use standard VGA RGB values, just like in GTXWC.
    ! Fixed color constant names (no "bright white" anymore).

  * include/hbdefs.h
    % Minor cleanup.
2010-02-22 19:44:36 +00:00
Pritpal Bedi
580bf123ac 2010-02-22 09:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qtcore/*.cpp 
  * contrib/hbqt/qtcore/*.cpp
  * contrib/hbqt/qtcore/*.cpp
    ! Regenerated sources after recent changes in headers implementation.
2010-02-22 17:59:32 +00:00
Viktor Szakats
aedfeefc5d 2010-02-22 18:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    % Deleted recently added logic for os2/gcc* targets. Not needed 
      anymore.
2010-02-22 17:27:15 +00:00
Viktor Szakats
6f18c82253 2010-02-22 17:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp
  * contrib/hbqt/hbqt_hbqtableview.cpp
  * contrib/hbqt/hbqt_hbevents.cpp
  * contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/hbqt_utils.cpp
  * contrib/hbqt/hbqt_hbqmainwindow.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbqt/hbqt_hbslots.cpp
    * Cleaned header inclusion order after adding hbapi.h to hbqt.h.

  * config/os2/gcc.mk
    ! Fixed to use '-Wl,' trick proposed by Przemek, to forward obj list
      script filename directly to linker.
      This gets around the problem where gcc tries to pass expanded
      scripts to subprocesses (ld) via cmdline, thus imposing a 32K
      limit also to script files.
2010-02-22 16:24:59 +00:00
Viktor Szakats
ccdcecb094 2010-02-22 15:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/os2/gcc.mk
    + Attempt to fix direct ld usage to create Harbour .dlls.
      Please make tests for all versions of gcc/gccomf targets.

  * INSTALL
    - Deleted TCPV4 header instructions for OS/2. (they still
      works, it just got less emphasis with this)
2010-02-22 14:21:15 +00:00
Viktor Szakats
1dd4321de8 2010-02-22 15:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    ! Fixed to not #include <dos.h> unconditionally. This should
      be done by specific source code, if needed. INCOMPATIBLE,
      if source code relied on this behavior. From now on it,
      should include dos.h manually.

  * src/vm/thread.c
  * src/common/hbver.c
  * src/rtl/gtdos/gtdos.c
  * src/rtl/isprint.c
  * src/rtl/diskspac.c
  * src/rtl/disksphb.c
  * src/rtl/net.c
  * contrib/hbct/print.c
    ! Fixed to #include <dos.h> manually.

  * src/rtl/fstemp.c
    ! Fixed recent warning for dos targets.

  * contrib/hbct/video.c
    ! Fixed old unused variable warning for dos/watcom targets.

  * INSTALL
    + Documented that OS/2 Warp 4 is supported (instead of generic OS/2).
2010-02-22 14:07:26 +00:00
Viktor Szakats
d93eb500c9 2010-02-22 14:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/extrap.c
  * src/vm/dynlibhb.c
  * src/common/hbgete.c
  * src/common/hbffind.c
  * src/common/hbver.c
  * src/rtl/filesys.c
  * src/rtl/diskspac.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/cputime.c
  * src/rtl/disksphb.c
  * include/hbthread.h
  * contrib/hbmzip/hbmzip.c
    ! Fixed to setup all OS/2 INCL_* constants and
      to #include os2.h by themselves, and not to rely
      on Harbour headers to do this job for them.
    ; TODO: Do the same for dos.h.

  * doc/hdr_tpl.txt
    - Deleted local changelog.
    ! Fixes to .prg function docs
    + Update copyright year to 2010.
    + Added fact that $SEEALSO$ should be comma separated.
    + Added .c function example (far from perfect)

  * examples/hbdoc2/tmplates.prg
  * doc/hdr_tpl.txt
    + Added $VERSION$ tag. (pls update HBIDE. We haven't finalized
      the format yet, to it's little bit premature to create
      new and new parsers/generators for it yet)

  * include/hbdefs.h
    ! Fixed to not unconditionally include OS/2 headers with
      an arbitrary selection of INCL_ macros.
      Now OS/2 headers will only be included if legacy types
      are requested (off by default), and no INCL_ macros
      are defined. This latter change may affect 3rd party
      code written for OS/2, so I'm marking it INCOMPATIBLE.

  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt.h
    * Changed to #include hbapi.h from hbqt.h. It needs it,
      so this is the clean way. Changed generator to leave
      out hbapi.h from each source file and refer to hbqt.h
      only. (untested)
    + Added logic to #include OS/2 headers with some INCL_
      macros defined, to make QT on OS/2 happy. (copied them
      from the dev. list)
    ; TODO: Regenerate HBQT sources.

  * utils/hbtest/hbtest.prg
    ! Cleaned old problem reported by Chen. It seems like
      a feature which was never finished, and it's not even
      hugely needed, so I deleted it.

  * config/global.mk
    + Will now provide HB_COMP_PATH_PUB value for os2-gcc, os2-gccomf
      compilers. This value can be used to manually form ld.exe
      command line.
      (NOTE: This may be deleted in the future, when sorting
      out line-length limit problems for these compilers.
2010-02-22 13:45:07 +00:00
Pritpal Bedi
956e0cb8f2 2010-02-22 02:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideharbourhelp.prg
    ! A rare-condition bug fix. Thanks Marco.
2010-02-22 10:05:25 +00:00
Pritpal Bedi
c94cf5d340 2010-02-22 01:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/hbide/resources/harbour.png
    ! Missed from prev commit.
    
    ! Enabled building the Harbour Documentation structure at the 
      time of hbIDE start.
2010-02-22 09:50:42 +00:00