Commit Graph

13610 Commits

Author SHA1 Message Date
Xavi
d0fea72063 2010-03-01 04:05 UTC+0100 Xavi (jarabal/at/gmail.com)
* harbour/src/rtl/gtwvt/gtwvt.c
    ! Fixing WM_CLOSE event (Clicked 'X' on system menu)
      to avoid irregular shutdown with SETCANCEL( .F. )

      REQUEST HB_GT_WVT_DEFAULT
      ANNOUNCE HB_GTSYS
      PROCEDURE Main()
         SetCancel(.F.)
         ? "Click [X] Not close windows"
         while( LastKey() != 27 )
            Inkey( 1 )
         enddo
      RETURN
2010-03-01 03:06:26 +00:00
Viktor Szakats
422116d6e3 2010-03-01 02:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddsqlt3/sddsqlt3.c
    + Added support to retrieve buffers in UNICODE mode.
    ; Maybe needs fine tuning. F.e. we don't want to do this
      for raw/binary/blob data. Pls review.
    ; NOTE: Detecting real buffer size is weird. MSDN says
            NULL should be passed to data pointer, but in this
            case it returns error, if I pass any pointer, even
            fake one, it works. Pbly I'm misreading something.

  * contrib/rddsql/sddodbc/tests/test1.prg
  * contrib/rddsql/sddodbc/tests/test2.prg
    + Added simpleio.ch.

  * contrib/rddsql/sddsqlt3/sddsqlt3.c
  * contrib/rddsql/sddodbc/sddodbc.c
  * contrib/rddsql/sddoci/sddoci.c
    ! Fixed bad GPF after previous modif which limited field names
      to specific length.
2010-03-01 01:34:52 +00:00
Viktor Szakats
8be99a1b5b 2010-03-01 01:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.h
    * Bumped pcode version to 3 (mininum kept at 2)

  * contrib/rddsql/sddodbc/sddodbc.c
    ! Fixed missing UNICODE conversion for field names.

  * contrib/rddsql/sddoci/sddoci.c
  * contrib/rddsql/sddsqlt3/sddsqlt3.c
    ! Fixed to limit field length to the one supported by RDD engine.
2010-03-01 00:26:17 +00:00
Przemyslaw Czerpak
bb86055fe6 2010-03-01 00:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpcode.h
  * harbour/include/hbxvm.h
  * harbour/src/compiler/hbfix.c
  * harbour/src/compiler/hbpcode.c
  * harbour/src/compiler/hbdead.c
  * harbour/src/compiler/genc.c
  * harbour/src/compiler/hbopt.c
  * harbour/src/compiler/gencc.c
  * harbour/src/compiler/hblbl.c
  * harbour/src/compiler/hbstripl.c
  * harbour/src/vm/hvm.c
    + added new PCODE HB_P_PUSHAPARAMS and -gc3 function with corresponding
      action hb_xvmPushAParams

  * harbour/include/hbexprb.c
  * harbour/src/common/expropt1.c
  * harbour/src/vm/hvm.c
    + added support for special PRG function:
         HB_ARRAYTOPARAMS( <aValue> ) -> <aValue>[ 1 ] [, <aValue>[ N ] ]
      It can be used in the same context as multivalue macros
      or ... operator and converts array to list of parameters, i.e.:
         proc main
            local aValue, aIndexes

            aValue := { 1, { 2, 3, "abcde" } }
            aIndexes := { 2, 3 }
            ? "array:",    hb_valToExp( aValue )
            ? "indexes:",  hb_arrayToParams( aIndexes )

            ? "array[", hb_arrayToParams( aIndexes ), "] =>", ;
               aValue[ hb_arrayToParams( aIndexes ) ]
            aValue[ hb_arrayToParams( aIndexes ) ] += ":add"
            ? "array:",    hb_valToExp( aValue )

            aValue := { "test", aValue }
            aIndexes := { 2, hb_arrayToParams( aIndexes ) }
            ? "array:",    hb_valToExp( aValue )
            ? "indexes:",  hb_arrayToParams( aIndexes )
            ? "array[", hb_arrayToParams( aIndexes ), "] =>", ;
               aValue[ hb_arrayToParams( aIndexes ) ]
         return
2010-02-28 23:52:05 +00:00
Viktor Szakats
4b455a03b1 2010-02-28 20:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddsqlt3/Makefile
  - contrib/rddsql/sddsqlt3/sddsq3.c
  + contrib/rddsql/sddsqlt3/sddsqlt3.c
  - contrib/rddsql/sddsqlt3/sddsq3.hbc
  + contrib/rddsql/sddsqlt3/sddsqlt3.hbc
  * contrib/rddsql/sddsqlt3/tests/hbmk.hbm
    * Renamed sddsq3 to sddsqlt3.
      (pass 2 of 2)
2010-02-28 19:08:41 +00:00
Viktor Szakats
1c2398b3dc 2010-02-28 19:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/Makefile
  - contrib/rddsql/sddsq3
  + contrib/rddsql/sddsqlt3
    * Renamed sddsq3 to sddsqlt3.
      (pass 1 of 2)
2010-02-28 19:03:33 +00:00
Viktor Szakats
740d9b96f8 2010-02-28 18:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddsq3/sddsq3.c
  * contrib/rddsql/sddoci/sddoci.c
    ! Fixed warnings reported by bcc, msvc.
2010-02-28 18:00:34 +00:00
Viktor Szakats
07170dcc55 2010-02-28 18:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbsqlit3/hbsqlit3.c
    + Added TOFIX: utf8 conversion is missing from the interface.

  * contrib/rddsql/Makefile
  + contrib/rddsql/sddsq3
  + contrib/rddsql/sddsq3/Makefile
  + contrib/rddsql/sddsq3/sddsq3.c
  + contrib/rddsql/sddsq3/sddsq3.hbc
  + contrib/rddsql/sddsq3/tests
  + contrib/rddsql/sddsq3/tests/hbmk.hbm
  + contrib/rddsql/sddsq3/tests/test1.prg
  + contrib/rddsql/sddsq3/tests/test.sq3
    + Added SDD to access SQLITE3 databases.
    ; Please test it with real data, especially blobs.

  * contrib/rddsql/sddoci/sddoci.c
    * Formatting.
    ! Fixed leak.
2010-02-28 17:42:25 +00:00
Viktor Szakats
b850625aab 2010-02-28 12:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddoci/sddoci.c
    ! Fixed handling of numeric types widths and decimals.
    ; This marks last known TODO/TOFIX as DONE.

  * src/vm/extrap.c
    + Minor
2010-02-28 12:01:25 +00:00
Viktor Szakats
a1cec1f6e9 2010-02-28 11:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sqlbase.c
    ! Fixed crash on close when connection could not be made.

  * INSTALL
    + Added link to Oracle Instant Client downloads.
2010-02-28 10:20:55 +00:00
Pritpal Bedi
9fae196788 2010-02-27 19:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/resources/harbour_splash.png
  * contrib/hbide/resources/hbidesplash.png
  * contrib/hbide/resources/togglelinenumber.png

  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h

  * contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
    + Implemented: toggling the line-numbers visibility in editors.
      Slot is provided with left-hand toolbar button.
      Toggling is availabler per one editor tab.

    + Entered: copy-right information in hbIDE splash screen.
2010-02-28 03:21:43 +00:00
Pritpal Bedi
8e5c8e5ff5 2010-02-27 15:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/gtqtc/gtqtc.cpp
    ! Fix to warning: QFont::setPointSize: Point size <= 0 (0), must be greater than 0 
      Reported by David Macias.
2010-02-28 00:01:37 +00:00
Viktor Szakats
a082c41517 2010-02-28 00:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddoci/sddoci.c
    ! Fixed handling of dates.
2010-02-27 23:20:29 +00:00
Pritpal Bedi
7052a7a7a7 2010-02-27 11:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/hbqtgen.prg
    ! Introduced $EXTERNALLINK$ tag.
      ;TODO describe it in /doc/hdr_tpl.txt.

  * contrib/hbqt/generator/qt45.qtp
  * contrib/hbqt/qtgui/filelist.mk
  * contrib/hbqt/qtgui/QApplication.cpp
  * contrib/hbqt/qtgui/QWidget.cpp
  * contrib/hbqt/qtgui/TQApplication.prg
  * contrib/hbqt/qtgui/TQWidget.prg
  * contrib/hbqt/qth/QApplication.qth
  * contrib/hbqt/qth/QWidget.qth
    - Deleted QInputContex() class and all other associated functions.
    - Removed Qt plugin architect builder: "Accessibility" functions.
      Hope OS2 will now compile fine without any manual intervention.

  * contrib/hbqt/qtcore/QChar.cpp
  * contrib/hbqt/qtcore/TQChar.prg
    ! Regenerated.

  * contrib/hbide/ideharbourhelp.prg
    ! Modified to honor $EXTERNALLINK$ tag.
      With this presentation of Harbour document is a bit changed.
      $EXTERNALLINK$ tag is expanded in the page title part.
      $SEEALSO$ is now a pure functions link.
2010-02-27 19:53:19 +00:00
Viktor Szakats
5100411eb3 2010-02-27 20:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    + Added missed item in prev commit.

  * contrib/rddsql/sddoci/sddoci.c
    ! Comment again the trace msg.
2010-02-27 19:27:09 +00:00
Przemyslaw Czerpak
746c03b25a 2010-02-27 20:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/include/hbmacro.h
  * harbour/include/hbexpra.c
  * harbour/include/hbexprb.c
  * harbour/src/common/funcid.c
  * harbour/src/common/expropt1.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/harbour.y
  * harbour/src/compiler/harbour.yyc
  * harbour/src/compiler/harbour.yyh
  * harbour/src/vm/macro.c
    + added all reserved and restricted in Clipper functions to
      hb_compGetFuncID()
    + extended hb_compGetFuncID() to expand short names of reserved functions
    + extended hb_compGetFuncID() to set function flags
    * store expanded function name, ID and flags in HB_ET_FUN* expressions
    % modified compiler and macrocompiler code to use function flags and
      expanded names set by hb_compGetFuncID(). It allowed to eliminate
      calling hb_compReservedName() for function call expressions giving
      some small but noticeable speed improvement i.e. in macrocompiler.
2010-02-27 19:20:56 +00:00
Viktor Szakats
ae2d28bbc8 2010-02-27 20:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/odbc.c
  * contrib/rddsql/sddodbc/sddodbc.c
    ! Silenced warnings.

  * contrib/rddsql/sddoci/sddoci.c
  * contrib/rddsql/sddoci/tests/test1.prg
    + Finished type mapping and value translation.
    ; Not being an Oracle user, I only have the few sample
      tables, so no testing was made with these types.
    ; TOFIX: decimal position retrieval is currently wrong.
    ; TOFIX: date/time/timestamp doesn't seem to get through.

  * config/win/global.mk
  * config/rules.mk
    * Moved HB_BUILD_UNICODE handling here for win platform,
      to allow disabling it for potential 3rd party libs which
      don't support UNICODE mode.

  * src/common/hbffind.c
    * Formatting.
2010-02-27 19:09:47 +00:00
Maurilio Longo
1a4249b8e1 2010-02-27 18:55 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
* src/common/hbffind.c
     * optimized OS/2 hb_fsFindNextLow() to grab as many files as it can
       on every call.
2010-02-27 17:57:18 +00:00
Viktor Szakats
95f5a0495a 2010-02-27 12:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/odbc.c
  * contrib/rddsql/sddodbc/sddodbc.c
    + Added support for UNICODE mode on non-Windows systems.
      This also means that by now HB_TCHAR_* macros aren't used
      in non-win/wce code anymore.
      NOTE: Since the translation functions have been changed,
            now _SET_OSCODEPAGE setting are honored in these
            calls. We may change this later to some lib specific cp.
    ; TOFIX: Warnings are showing up in non-UNICODE mode:
             odbc.c:438: warning: pointer targets in passing argument 2 of 'hb_storstr' differ in signedness
             Couldn't find an optimal way to pacify them (also in sddodbc).
             Can someone help?

  * include/hbdefs.h
    + HB_TCHAR_* macros are again only defined for win/wce targets.
      This will make sure these won't get used in non-win/wce specific code.

  * contrib/hbmysql/tmysql.prg
    ! Fixed old buggy code which started to throw errors
      after introducing strict parameter evaluation in
      lower-level code.
      For now I replaced the code with old behavior.
      Pls make further to replicate original _intent_.
2010-02-27 11:29:31 +00:00
Viktor Szakats
17f6a94acf 2010-02-27 11:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddoci/sddoci.c
    + Changed to use STR API for UNICODE conversions. This fixes
      this SDD for non-win systems.
    ! Fixed one missing encoding translation.
2010-02-27 10:15:42 +00:00
Przemyslaw Czerpak
c8aa309764 2010-02-27 11:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/macro.c
    * minor simplification

  * harbour/src/common/reserved.c
    * minor cleanup

  * harbour/src/vm/eval.c
    * inherit execution context (OOP scope) in HB_EXECFROMARRAY() function

  * harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  + harbour/src/common/funcid.c
  * harbour/src/common/Makefile
    + added new [macro]compiler function: hb_compGetFuncID() which can be
      used for function name hashing reducing strcmp() comparisons

  * harbour/include/hbexpra.c
  * harbour/include/hbexprb.c
    % use hb_compGetFuncID() to improve code for HB_ET_FUNCALL expressions
2010-02-27 10:07:03 +00:00
Viktor Szakats
f66ee12e71 2010-02-27 10:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbsqlit3/hbsqlit3.c
    % Deleted unnecessary cast.

  * contrib/rddsql/sddmy/Makefile
  - contrib/rddsql/sddmy/mysqldd.c
  + contrib/rddsql/sddmy/sddmy.c
  * contrib/rddsql/sddpg/Makefile
  - contrib/rddsql/sddpg/pgsqldd.c
  + contrib/rddsql/sddpg/sddpg.c
  * contrib/rddsql/sddfb/Makefile
  - contrib/rddsql/sddfb/fbirddd.c
  + contrib/rddsql/sddfb/sddfb.c
  * contrib/rddsql/sddodbc/Makefile
  - contrib/rddsql/sddodbc/odbcdd.c
  + contrib/rddsql/sddodbc/sddodbc.c
  * contrib/rddsql/sddoci/Makefile
  - contrib/rddsql/sddoci/ocidd.c
  + contrib/rddsql/sddoci/sddoci.c
    * Renamed source files.
    ! Deleted leftover trace msg from sddoci.
2010-02-27 09:06:23 +00:00
Pritpal Bedi
36fecf2567 2010-02-26 20:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideeditor.prg
  * contrib/hbide/ideharbourhelp.prg
    + Implemented: auto activating and displaying the function's documentation
      you have currently finished typing opening brace. This feature 
      is activated only when you have initialized the documentation 
      browser by clicking on the "H" icon on the right toolbar.

      I am open to hear what other features can be implemented in this context.
      This itself is a big productivity boost.
2010-02-27 05:00:17 +00:00
Pritpal Bedi
284f6b1012 2010-02-26 18:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/THbQtUI.prg
    ! Miss of prev commit.

  * contrib/hbide/idefindreplace.prg
    ! A nasty fix.

  * contrib/hbide/ideharbourhelp.prg
    + Implemented: text file viewer "as is" if it does not contain 
      any function's documentation. In Harbour's /doc* tree
      there are many files without NANFORUM tags.
2010-02-27 02:18:35 +00:00
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