Commit Graph

12810 Commits

Author SHA1 Message Date
Antonio Carlos Pantaglione
8d0fba2d44 2009-12-12 10:45 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br>
+ harbour/contrib/hbwin/mapi.c
  + harbour/contrib/hbwin/tests/testmapi.prg
    * MAPI send mail function.
2009-12-12 12:57:49 +00:00
Przemyslaw Czerpak
1afd3ffcb6 2009-12-12 13:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbwinuni.h
    + added new macro HB_ITEMGETSTR()

  * harbour/src/rtl/gtwin/gtwin.c
    * modified to use new UNICODE API instead of HB_TCHAR_*()

  * harbour/contrib/hbwin/win_misc.c
    * rewritten WIN_GETCOMMANDLINEPARAM()
      New version does not use old HB_TCHAR_*() API and respect multiple
      quoting by "" (i.e. .\"myapp"li"cation".exe)

      TOFIX: WIN_ANSITOWIDE() and WIN_WIDETOANSI() are wrong and have
             to be fixed. Please remember that number of character
             after conversion to/from UNICODE can be different then
             original number of chars, i.e. multibyte characters
             can be replaced by single Unicode character or one Unicode
             character may use few bytes representation.
2009-12-12 12:52:56 +00:00
Viktor Szakats
a7379d23f3 2009-12-12 12:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbqmainwindow.cpp
    * Temporarily disabled mutex for HBMainWindow.
      Please report any problems and experiences, or any reason
      for the mutex implemented here, it's possible that I'm
      missing something.

  * contrib/hbqt/qtgui/qtguis/Makefile
  * contrib/hbqt/qtgui/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbqt/detect.mk
  * contrib/hbqt/hbqts/Makefile
  * contrib/hbqt/qtnetwork/qtnetworks/Makefile
  * contrib/hbqt/qtnetwork/Makefile
    * Generalized the way QT component header dirs are enabled.
      This makes it possible to use this logic with gtqtc.

  * contrib/gtqtc/gtqtcs/Makefile
  * contrib/gtqtc/Makefile
    + 'moc' logic synced with hbqt.
    ! Fixed to use QT component header inclusion.

  * contrib/hbqt/hbqt_slots.cpp
    * Line ending spaces.
2009-12-12 11:54:25 +00:00
Viktor Szakats
ec1d1c5000 2009-12-12 12:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/dynlibhb.c
    + Using new UNICODE conversion macros in HB_LIBLOAD().

  * INSTALL
    * Minor.

  * contrib/xhb/hbsyslog.c
    + HB_SYSLOGOPEN(): Added UNICODE support. (this bug was hidden
      by explicit cast)
    * Using HB_TRUE/HB_FALSE.
    + Using new UNICODE conversion macros in HB_SYSLOGMESSAGE().
      (functionally not tested)
    * Formatting.

  * contrib/xhb/hblogdef.ch
    + Added comment that the header is used by C code.

  * contrib/hbqt/detect.mk
    ! Fixed static build after last commit.

  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/win_dll.c
    * Variable renamed.

  * contrib/hbwin/win_prn2.c
    % Minor optimization.

  * contrib/hbwin/win_osc.c
    + Using new UNICODE conversion macros in WIN_OSVERSIONINFO().

  ; NOTE: Remaining "problem area" is HB_TCHAR_* usage in low level 
          code, when conversion needs to be done from/to C buffer 
          instead of Harbour parameter/return value. The problem 
          is that I don't have a pattern for that.
2009-12-12 11:33:08 +00:00
Viktor Szakats
79186f75a5 2009-12-12 02:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/strapi.c
    % Minor optimization (using cdp variable instead of repeated hb_vmCDP() calls.)

  * include/hbwinuni.h
    + Added HB_ITEMPUTSTR[LEN]() macros.
    + Added HB_STRUNSHARE() macro.
    ! Fixed typos in HB_ARRAYSETSTRLEN() macro values.

  * contrib/hbwin/win_prn2.c
    + Using new HB_ITEMPUTSTR() macro instead of HB_TCHAR*().

  * contrib/hbwin/win_misc.c
    ! WIN_RUNDETACHED(): Fixed to guarantee writable buffer in second 
      parameter of CreateProcess(). I've choosen to always pass a writable
      buffer, although MS requires this only for UNICODE mode.

  * contrib/hbwin/wapi_commctrl.c
    + Using new UNICODE parameter passing macros instead of HB_TCHAR*() ones.
    ! Fixed return values of WAPI_IMAGELIST_GETIMAGEINFO() to be empty
      string instead of unset (NIL) in case of error.

  + contrib/hbqt/filelist.mk
    ! Missed from previous commit.

  * contrib/hbwin/win_regc.c
    * Removed trailing spaces (realized I used a temp instance
      of 64-bit Far Manager for the last couple of days)
      (there will be more)
2009-12-12 02:07:01 +00:00
Przemyslaw Czerpak
51a5487cb8 2009-12-12 01:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/strapi.c
  * harbour/include/hbapistr.h
    + added new functions:
         hb_itemPutStr(), hb_itemPutStrUTF8(), hb_itemPutStrU16(),
         hb_arrayGetStr(), hb_arrayGetStrUTF8(), hb_arrayGetStrU16(),
         hb_arraySetStrLen(), hb_arraySetStrLenUTF8(), hb_arraySetStrLenU16(),
         hb_arraySetStr(), hb_arraySetStrUTF8(), hb_arraySetStrU16(),

  * harbour/include/hbwinuni.h
    * removed unnecessary and danger casting in UNICODE version of
      HB_RETSTR(), HB_RETSTRLEN(), HB_STORSTR() and HB_STORSTRLEN() macros
    * modify HB_ARRAYSETSTR() and HB_ARRAYSETSTRLEN() macros to use new
      STR API functions

  * harbour/external/Makefile
    * modified the order of compiled libraries for better performance in
      parallel compilation (-j<N>)
2009-12-12 00:43:01 +00:00
Przemyslaw Czerpak
cb65540d4e 2009-12-11 20:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/strapi.c
  * harbour/include/hbapistr.h
    + added new functions to operate on Harbour wide character strings:
         ULONG hb_wstrlen( const HB_WCHAR * szText );
         HB_WCHAR * hb_wstrdup( const HB_WCHAR * szText );
         HB_WCHAR * hb_wstrndup( const HB_WCHAR * szText, ULONG ulLen );
         int hb_wstrcmp( const HB_WCHAR * s1, const HB_WCHAR * s2 );
         int hb_wstrncmp( const HB_WCHAR * s1,
                          const HB_WCHAR * s2, ULONG count );
    + added new functions to convert NULL pointers to empty strings:
         const char * hb_strnull( const char * str );
         const HB_WCHAR * hb_wstrnull( const HB_WCHAR * str );
    + added new functions to convert string buffer returned by Harbour
      string functions to writable state:
         char * hb_strunshare( void ** phStr,
                               const char * pStr, ULONG ulLen );
         HB_WCHAR * hb_wstrunshare( void ** phStr,
                                    const HB_WCHAR * pStr, ULONG ulLen );
  * harbour/include/hbwinuni.h
    ! fixed HB_PARSTRDEF() to return empty string instead of NULL
    ! fixed HB_ARRAYSETSTR() to accept NULL as string parameter
2009-12-11 19:42:40 +00:00
Viktor Szakats
dd2d2762fc 2009-12-11 20:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_regc.c
    ! WIN_REGSETVALUEEX(): Off by one bug fixed in prev commit.
2009-12-11 19:25:45 +00:00
Viktor Szakats
aa13701479 2009-12-11 20:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/wapi_winbase.c
    * Eliminated hb_parclen() call in WAPI_FORMATMESSAGE() function.

  * contrib/hbwin/win_regc.c
    * WIN_REGSETVALUEEX(): Adjusted casting to not drop const.
    ! WIN_REGSETVALUEEX(): Added support for UNICODE builds when 
      string types (non-binary data) are passed.

  * contrib/hbwin/tests/testreg.prg
    + Extended with basic test for above.
2009-12-11 19:21:56 +00:00
Viktor Szakats
81effeca0c 2009-12-11 19:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/wce_smsc.c
    + Eliminated hb_parclen() usage.

  * contrib/hbwin/win_prn3.c
    ! Fixed typos.
2009-12-11 18:59:21 +00:00
Przemyslaw Czerpak
2c87340571 2009-12-11 19:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/wapi_winbase.c
    ! fixed casting

  * harbour/contrib/hbwin/wce_simc.c
    * use Harbour API functions to change items passed by reference

  * harbour/contrib/hbwin/win_prn3.c
    % eliminated unnecessary hb_parclen() call
2009-12-11 18:51:54 +00:00
Viktor Szakats
3ff24fff7e 2009-12-11 19:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/Makefile
  * contrib/hbqt/detect.mk
  + contrib/hbqt/moc.mk
  * contrib/hbqt/hbqts/Makefile
  * contrib/hbqt/qtgui/qtguis/Makefile
  * contrib/hbqt/qtgui/Makefile
  * contrib/hbqt/qtcore/qtcores/Makefile
  * contrib/hbqt/qtcore/Makefile
  * contrib/hbqt/qtnetwork/qtnetworks/Makefile
  * contrib/hbqt/qtnetwork/Makefile
    + Moved 'moc' build logic to separate file.
    + Added support for MOC_HEADERS in all sub-libs.
      This allows to avoid hacks to place every custom 
      created component in central lib. (It probably allows 
      to avoid central lib altogether.)
    ! Fixed broken static build after recent changes.
      (I've readded central filelist.mk to avoid 
      redundancy, but the file isn't an automatically 
      generated one anymore)
    % Optimized build to not provide all subsystem header 
      dirs for each QT sub-libs, only those which are needed.
      Now QtCore header dir is passed to all components, 
      but QtGui and QtNetwork is passed only to these 
      subcomponents.
      Central hbqt lib gets all dirs, but hopefully this 
      will be cleaned eventually.
    % Cleaned to not use /Qt include dir. It's apparently 
      not needed.

  * contrib/hbqt/qth/QObject.qth
  * contrib/hbqt/qtcore/QObject.cpp
    ! Core component was referring to a GUI one, and hbqt_par_QWidget() 
      was used to retieve a QObject inside QObject wrappers.
      Please fix me if it was intentional, but it didn't look right and 
      came out after cleaning header dir usage.

  * contrib/hbide/hbide.hbp
    + Added MSVC link switched sent by Andi to make QT 4.6.0 
      libs to default Harbour build.
2009-12-11 18:43:42 +00:00
Viktor Szakats
fbafd6c259 2009-12-11 18:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbwinuni.h
    + Added HB_ARRAYSETSTR*(). Based on Przemek's post.

  * contrib/hbwin/wce_simc.c
  * contrib/hbwin/wce_smsc.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_regc.c
    + Using new UNICODE parameter passing macros instead of HB_TCHAR*() ones.
    * Minor rework WIN_TEXTOUT() and WIN_GETTEXTSIZE() to not use hb_parclen() 
      and protect some more against wrong length parameter.
    ; TOFIX: HB_ARRAYSETSTR() usage crashes (tested in non-UNICODE with testprn3)
             I didn't want to undo the whole thing, but can't find the err either.
    ; TOFIX: hb_parclen() usage.
    ; TOFIX: HB_ARRAYSETSTR() with NULL string parameter.
    ; TOFIX: HB_PARSTRDEF() to really default to empty string for non-string params.
    ; TODO: Remaining HB_TCHAR_*() usages.
    ; TODO: Peer-review what I did.

  * contrib/hbwin/wapi_winbase.c
    ! Fixed for WinCE after recent addition of new wrappers.
      This means exclusion of WAPI_WAITFORSINGLEOBJECTEX() and 
      WAPI_WAITFORMULTIPLEOBJECTSEX() for this platform.
    ! Minor fix in size of allocated buffer in WAPI_FORMATMESSAGE().
      (buffer was too large in non-UNICODE).
2009-12-11 17:27:41 +00:00
Viktor Szakats
32bf41944d 2009-12-11 10:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
    + Added HB_THREADONCEINIT().

  * contrib/hbqt/hbqt.ch
  * contrib/hbxbp/xbp.ch
    ! Moved XBP specific macro to HBXBP header.

  * contrib/hbqt/tests/demoqt.prg
    ! Deleted no more needed init calls.

  * contrib/hbqt/hbqt_events.cpp
    + Added TOFIX about GC collected pointer stored in low level 
      structure. (source of GPF).

  * contrib/hbwin/win_misc.c
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/win_regc.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/wapi_shellapi.c
  * contrib/hbwin/legacyco.c
    - Deleted now unnecessary '( LP[C]TSTR )' casts.
    + Cleaned const usage in WIN_PRINTERSETDEFAULT().
      F.e. OpenPrinter() has apparently wrong winapi declaration, 
      so a cast must have been added.

    ; TOFIX: CreateProcessW() second parameter has to be a read/write 
             buffer. Przemek, do you have an idea how to solve that 
             the cleanest way?
             (for now I kept a cast, assuming that a buffer is 
             created by Harbour conversion API, but that's not 
             something it guarantees in the future.)
2009-12-11 10:01:12 +00:00
Przemyslaw Czerpak
39b0d7abef 2009-12-11 04:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/thread.c
    ! added missing HB_STACK_TLS_PRELOAD
2009-12-11 03:37:42 +00:00
Przemyslaw Czerpak
12dc010686 2009-12-11 04:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapiitm.h
  * harbour/src/vm/classes.c
    * added new internal HVM macro

  * harbour/src/vm/thread.c
    + added new function
         hb_threadOnceInit( @<item> <value> ) -> <lInitialized>
      It assigns <value> to <item> if <item> is NIL in MT safe way so it's
      assigned only once. It's reduced but faster version of hb_threadOnce()

  * harbour/include/hbapicdp.h
    * define HB_WCHAR as wchar_t on Windows platforms for compilers which
      refuse to make conversions between types using the same base type.

  * harbour/contrib/hbwin/win_dll.c
    * code cleanup
2009-12-11 03:13:24 +00:00
Viktor Szakats
114db78988 2009-12-11 00:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbqt/hbqt_hbdbfmodel.h
    + Missed from prev commits.

  * contrib/hbqt/hbqt_slots.cpp
    * Formatting.
2009-12-10 23:22:00 +00:00
Viktor Szakats
f78ca011e7 2009-12-10 23:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qth/QAbstractItemModel.qth
  * contrib/hbqt/qth/QTableView.qth
  * contrib/hbqt/hbqt_events.cpp
  * contrib/hbqt/hbqt_slots.cpp
  * contrib/hbqt/hbqt_hbqmainwindow.cpp
    + Added TOFIX (also one QUESTION) to these code parts.
      All of them are potential leak or GPF generator issues.
      Could someone take a look at these?

  * contrib/hbqt/Makefile
  - contrib/hbqt/hbqt_hbdrawingarea.h
  - contrib/hbqt/hbqt_hbdrawingarea.cpp
    - Deleted unused custom class.

  * contrib/hbqt/qtgui/QTableView.cpp
  * contrib/hbqt/qtcore/QAbstractItemModel.cpp
    * Regenerated.
2009-12-10 22:23:10 +00:00
Viktor Szakats
b12029835e 2009-12-10 22:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_events.cpp
  * contrib/hbqt/hbqt_slots.cpp
    ! Fixed events/slots handling to make sure the objects 
      always exist on access.
    % This also made explicit initialization from .prg 
      code unnecessary, so these two functions got deleted:
         QT_SETEVENTFILTER(), QT_SETEVENTSLOTS()
    ! Fixed events/slots handling to reset thread local object 
      pointer to NULL after destruction.

  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpwindow.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbpgeneric.prg
    % Simple wrapper named HBXBP_SETEVENTFILTER() deleted and 
      replaced with QT_GETEVENTFILTER() calls.
      (name still subject to change)

  ; NOTE: 1) In demoxbp MT mode build, the second dialog behaves 
             strangely. It updates the screen slowly and not at all.
             Pritpal, please check it to make sure not some 
             recent change broke it.
          2) Forgot to mention in prev entry, but removing 
             HBQMainWindow() mutex altogether didn't cause any 
             change/loss of functionality in my tests, so my 
             question is: Is it really needed?
2009-12-10 21:50:20 +00:00
Viktor Szakats
b8e8be71ec 2009-12-10 22:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbqmainwindow.cpp
  * contrib/hbxbp/xbpgeneric.prg
    + Replaced HB_MUTEXCREATE() and HB_MUTEXDESTROY() with 
      automatic initialization and deinitialization.
    ; NOTE: From now on HBQT needs to be requested by apps 
            willing to use HBQT, with:
               REQUEST HB_QT
            This will ensure in the future that all init and 
            deinit procedure are done correctly. It also makes it 
            safe to use QT even from INIT and EXIT PROCECUREs.

  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbxbp/tests/demoxbp.prg
  * contrib/hbide/hbide.prg
    + Added REQUEST HB_QT.
2009-12-10 21:23:25 +00:00
Przemyslaw Czerpak
b308f56ac2 2009-12-10 21:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbatomic.h
    * removed 'static inline' from OpenWatcom ASM functions defined
      by '#pragma aux ...' to make OpenWatcom < 1.8 happy.
      Version 1.8 ignores 'static inline' attributes in such declarations.

  * harbour/config/dos/watcom.mk
  * harbour/utils/hbmk2/hbmk2.prg
    * switched from DOS/4GW to DOS/32A extender. It's faster what is
      noticeable also in final Harbour binaries, does not have DOS4G
      command line limitations and has nice tools which allow to easy
      set different runtime parameters (ss.exe) or compress final
      executable (sc.exe)
      BTW people having problem with maximum command line size in
      OpenWatcom tools can replace DOS/4GW with DOS/32A in this tools
      It can be made also globally by coping dos32a.exe to dos4gw.exe.
      NOTE: I've found why DOS Harbour OpenWatcom application created
            in my Linux box were not working. Just simply the directory
            with DOS extender setup files was not in PATH.
            Creating DOS OpenWatcom applications in other systems (i.e.
            Linux or OS2) do not forget to add directory with DOS binaries
            '%WATCOM%\binw' to PATH after directory with platform native
            OpenWatcom binaries '%WATCOM%\bin*' or copy DOS extender
            (dos32a.exe) to one of PATH directories.

  * harbour/config/dos/watcom.mk
    * added workaround for not included automatically by linker CLIB
      library when Harbour is compiler in pure C mode. I hope it's only
      temporary hack which we can remove in the future. I haven't added
      it to hbmk2 so linking DOS applications using hbmk2 user will have
      to add -lclib3r to hbmk2 parameters.

  * harbour/config/common/watcom.mk
    * disable DOS/32A banner messages
2009-12-10 20:49:23 +00:00
Viktor Szakats
eddffc4d7c 2009-12-10 21:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_slots.h
    - Deleted unnecessary headers.
2009-12-10 20:00:34 +00:00
Viktor Szakats
26774aa585 2009-12-10 20:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/Makefile
    + Added generic support to MOC compile headers.
    ; If this works out well, it makes it possible to use granular 
      (non-monolythic) headers for 'Q_OBJECT' classes.
      It's also possible to move this logic into sub-libs.
      This may also mean that some hacks which were currently 
      employed can be solved cleanly.
      Please test/review.

  * contrib/hbqt/hbqt_slots.h
  + contrib/hbqt/hbqt_hbqtableview.h
  * contrib/hbqt/hbqt_hbqtableview.cpp
  * contrib/hbqt/qth/QTableView.qth
  * contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/qth/QAbstractItemModel.qth
  + contrib/hbqt/hbqt_hbdrawingarea.h
  * contrib/hbqt/hbqt_hbdrawingarea.cpp
  + contrib/hbqt/hbqt_hbqmainwindow.h
  * contrib/hbqt/hbqt_hbqmainwindow.cpp
  + contrib/hbqt/hbqt_hbqsyntaxhighlighter.h
  * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp
  * contrib/hbqt/qth/QSyntaxHighlighter.qth
  + contrib/hbqt/hbqt_events.h
  * contrib/hbqt/hbqt_events.cpp
    * Split monolithic hbqt_slots.h header to distinct 
      class headers.

  * contrib/hbqt/generator/hbqtgen.prg
  - contrib/hbqt/filelist.mk
  * contrib/hbqt/Makefile
    * Changed to not generate central filelist.mk.
      (no dynamic files in central lib)

  * config/rules.mk
    - Deleted .l reference.

  * contrib/hbqt/qtgui/QSyntaxHighlighter.cpp
  * contrib/hbqt/qtgui/QTableView.cpp
  * contrib/hbqt/qtcore/QAbstractItemModel.cpp
    * Regenerated.
2009-12-10 19:48:17 +00:00
Viktor Szakats
486b9dad6e 2009-12-10 16:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/Makefile
  * contrib/hbqt/generator/hbqtgen.prg
    + Moved static source files from filelist.mk to Makefile.

  * contrib/hbqt/Makefile
  * contrib/hbqt/hbqt_slots.cpp
  + contrib/hbqt/hbqt_events.cpp
    + Moved event filter related stuff to separate file.
    % Cleaned lots of unnecessary QT headers includes.
2009-12-10 15:11:48 +00:00
Viktor Szakats
03345c6143 2009-12-10 15:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_slots.cpp
  * contrib/hbxbp/xbpgeneric.prg
    * Rename: QT_QEVENTFILTER() -> QT_GETEVENTFILTER().
      There will be some more renames to cleanup prefix usage.

  * contrib/hbwin/win_regc.c
    * Minor formatting.
2009-12-10 15:00:30 +00:00
Viktor Szakats
ab407cc082 2009-12-10 15:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* hbwin/win_misc.c
  * hbwin/win_prn1.c
    + Using new UNICODE parameter passing macros instead of HB_TCHAR*() ones.
      (where possible)
      WIN_RUNDETACHED(), WIN_LOADRESOURCE(), WIN_CREATEDC(), WIN_GETPRINTERFONTNAME()

  * hbwin/wapi_winbase.c
    ! Fixed typo in two recently added WAPI function names.

  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqts.hbc
    + Added psapi for win platform, until it's needed for memory debugging purposes.
2009-12-10 14:41:37 +00:00
Viktor Szakats
4861805eda 2009-12-10 11:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbver.c
    * Minor cleanup.

  * contrib/hbqt/generator/hbqtgen.prg
    ! Fixed typo in TRACE text.

  * contrib/hbqt/qtgui/*
  * contrib/hbqt/qtcore/*
  * contrib/hbqt/qtnetwork/*
    * Regenerated.
2009-12-10 10:33:15 +00:00
Przemyslaw Czerpak
f674969aba 2009-12-10 10:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/fparse.c
    * pacified BCC warning

  * harbour/src/rtl/base64c.c
  * harbour/src/rtl/diskspac.c
  * harbour/src/rtl/filesys.c
  * harbour/src/rtl/hbproces.c
  * harbour/src/rtl/gtos2/gtos2.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
  * harbour/contrib/xhb/freadlin.c
  * harbour/contrib/xhb/txtline.c
  * harbour/contrib/hbbtree/hb_btree.c
  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/sddodbc/odbcdd.c
    * pacified OpenWatcom C warnings

  * harbour/include/hbatomic.h
    % rewritten OpenWatcom atomic ASM macros.
      Now they precisely informs compiler about used and modified
      registered and also force passing arguments in strictly defined
      what simplify ASM code.
2009-12-10 09:42:34 +00:00
Viktor Szakats
48c8cf9c55 2009-12-10 02:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/generator/hbqtgen.prg
    % Changed to only save files which have indeed changed
      (to avoid unnecessary rebuilds)

  * contrib/hbqt/Makefile
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_slots.h
  - contrib/hbqt/hbqt_hbqtdbfmodel.cpp
  + contrib/hbqt/hbqt_hbdbfmodel.cpp
  - contrib/hbqt/hbqt_hbqtsyntaxhighlighter.cpp
  + contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp
  - contrib/hbqt/hbqt_hbqtmymainwindow.cpp
  + contrib/hbqt/hbqt_hbqmainwindow.cpp
  - contrib/hbqt/hbqt_hbqtmydrawingarea.cpp
  + contrib/hbqt/hbqt_hbdrawingarea.cpp
  - contrib/hbqt/hbqt_hbqttableview.cpp
  + contrib/hbqt/hbqt_hbqtableview.cpp
  * contrib/hbqt/qth/QAbstractItemModel.qth
  * contrib/hbqt/qth/QSyntaxHighlighter.qth
  * contrib/hbqt/qth/QTableView.qth
    * Following class renames done:
      - HbSyntaxHighlighter -> HBQSyntaxHighlighter (HBIDE)
      - HbDbfModel          -> HBDbfModel           (HBXBP)
      - MyDrawingArea       -> HBDrawingArea        (UNUSED)
      - MyMainWindow        -> HBQMainWindow
      - HbTableView         -> HBQTableView         (HBXBP)

    ; TOFIX: These classes seem to be the problematic parts of HBQT.
             They violate layering, there are naming inconsistencies
             (standard QT .prg level class internally refers to inherited
             special Harbour class, they implement HBXBP and IDE functionality
             embedded in HBQT to hack around the rule to not place .c
             code in HBXBP/HBIDE, they are not using GC collected pointers,
             they require mutexes which initialization isn't properly
             solved, one class is nowhere used. etcect)

  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpwindow.prg
  * contrib/hbxbp/xbpdialog.prg
    * Renames applied to HBXBP code.

  * contrib/hbqt/qtgui/TQTableView.prg
  * contrib/hbqt/qtgui/QSyntaxHighlighter.cpp
  * contrib/hbqt/qtgui/QTableView.cpp
  * contrib/hbqt/qtcore/TQAbstractItemModel.prg
  * contrib/hbqt/qtcore/QAbstractItemModel.cpp
    * Regenerated after .qth changes.
2009-12-10 01:10:11 +00:00
Viktor Szakats
6533027025 2009-12-10 01:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt.h
    % Minor cleanup after prev.

  * contrib/hbqt/generator/hbqtgen.prg
    * Changed to use HB_TRACE() instead of hbqt_debug().

    ; NOTE: IMPORTANT: Now to enabled debug trace calls, you have to
            use the standard Harbour method:
               HB_USER_CFLAGS=-DHB_TR_LEVEL_DEBUG
            It's enough to enable this setting when build hbqt lib, to
            get HBQT trace calls.
            In addition, following setting stil works to enable
            .prg level debug trace calls:
               HB_USER_PRGFLAGS=-D__HB_DEBUG__

  * contrib/hbqt/qtgui/QPageSetupDialog.cpp
  * contrib/hbqt/qtgui/QGridLayout.cpp
  * contrib/hbqt/qtgui/QItemSelectionModel.cpp
  * contrib/hbqt/qtgui/QTextLength.cpp
  * contrib/hbqt/qtgui/QConicalGradient.cpp
  * contrib/hbqt/qtgui/QStandardItemModel.cpp
  * contrib/hbqt/qtgui/QItemSelection.cpp
  * contrib/hbqt/qtgui/QTransform.cpp
  * contrib/hbqt/qtgui/QPicture.cpp
  * contrib/hbqt/qtgui/QAction.cpp
  * contrib/hbqt/qtgui/QPaintEvent.cpp
  * contrib/hbqt/qtgui/QStyledItemDelegate.cpp
  * contrib/hbqt/qtgui/QWidget.cpp
  * contrib/hbqt/qtgui/QFontDialog.cpp
  * contrib/hbqt/qtgui/QToolBox.cpp
  * contrib/hbqt/qtgui/QTextListFormat.cpp
  * contrib/hbqt/qtgui/QTextEdit.cpp
  * contrib/hbqt/qtgui/QMouseEvent.cpp
  * contrib/hbqt/qtgui/QFontComboBox.cpp
  * contrib/hbqt/qtgui/QStyleOptionHeader.cpp
  * contrib/hbqt/qtgui/QListView.cpp
  * contrib/hbqt/qtgui/QRadialGradient.cpp
  * contrib/hbqt/qtgui/QCursor.cpp
  * contrib/hbqt/qtgui/QLabel.cpp
  * contrib/hbqt/qtgui/QPainterPath.cpp
  * contrib/hbqt/qtgui/QStylePainter.cpp
  * contrib/hbqt/qtgui/QStyleOptionToolButton.cpp
  * contrib/hbqt/qtgui/QBrush.cpp
  * contrib/hbqt/qtgui/QLinearGradient.cpp
  * contrib/hbqt/qtgui/QProgressBar.cpp
  * contrib/hbqt/qtgui/QStyleOptionToolBox.cpp
  * contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp
  * contrib/hbqt/qtgui/QToolBar.cpp
  * contrib/hbqt/qtgui/QFontMetricsF.cpp
  * contrib/hbqt/qtgui/QToolButton.cpp
  * contrib/hbqt/qtgui/QWindowsStyle.cpp
  * contrib/hbqt/qtgui/QColor.cpp
  * contrib/hbqt/qtgui/QListWidget.cpp
  * contrib/hbqt/qtgui/QTextLayout.cpp
  * contrib/hbqt/qtgui/QTextCursor.cpp
  * contrib/hbqt/qtgui/QTextDocument.cpp
  * contrib/hbqt/qtgui/QPolygon.cpp
  * contrib/hbqt/qtgui/QRadioButton.cpp
  * contrib/hbqt/qtgui/QStyleOptionViewItem.cpp
  * contrib/hbqt/qtgui/QFileIconProvider.cpp
  * contrib/hbqt/qtgui/QTextFrameFormat.cpp
  * contrib/hbqt/qtgui/QTextBlockFormat.cpp
  * contrib/hbqt/qtgui/QStyleOptionToolBar.cpp
  * contrib/hbqt/qtgui/QBitmap.cpp
  * contrib/hbqt/qtgui/QCalendarWidget.cpp
  * contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp
  * contrib/hbqt/qtgui/QHeaderView.cpp
  * contrib/hbqt/qtgui/QScrollBar.cpp
  * contrib/hbqt/qtgui/QStyleOptionButton.cpp
  * contrib/hbqt/qtgui/QCommandLinkButton.cpp
  * contrib/hbqt/qtgui/QFocusFrame.cpp
  * contrib/hbqt/qtgui/QSizePolicy.cpp
  * contrib/hbqt/qtgui/QApplication.cpp
  * contrib/hbqt/qtgui/QTextFragment.cpp
  * contrib/hbqt/qtgui/QPlainTextEdit.cpp
  * contrib/hbqt/qtgui/QInputDialog.cpp
  * contrib/hbqt/qtgui/QKeySequence.cpp
  * contrib/hbqt/qtgui/QPrinter.cpp
  * contrib/hbqt/qtgui/QActionGroup.cpp
  * contrib/hbqt/qtgui/QTextCharFormat.cpp
  * contrib/hbqt/qtgui/QStyleOptionSlider.cpp
  * contrib/hbqt/qtgui/QInputEvent.cpp
  * contrib/hbqt/qtgui/QWidgetItem.cpp
  * contrib/hbqt/qtgui/QMenu.cpp
  * contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp
  * contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp
  * contrib/hbqt/qtgui/QImage.cpp
  * contrib/hbqt/qtgui/QFontInfo.cpp
  * contrib/hbqt/qtgui/QIcon.cpp
  * contrib/hbqt/qtgui/QPolygonF.cpp
  * contrib/hbqt/qtgui/QHBoxLayout.cpp
  * contrib/hbqt/qtgui/QTreeWidget.cpp
  * contrib/hbqt/qtgui/QCommonStyle.cpp
  * contrib/hbqt/qtgui/QProgressDialog.cpp
  * contrib/hbqt/qtgui/QStyleFactory.cpp
  * contrib/hbqt/qtgui/QButtonGroup.cpp
  * contrib/hbqt/qtgui/QSystemTrayIcon.cpp
  * contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp
  * contrib/hbqt/qtgui/QColorDialog.cpp
  * contrib/hbqt/qtgui/QListWidgetItem.cpp
  * contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp
  * contrib/hbqt/qtgui/QDateTimeEdit.cpp
  * contrib/hbqt/qtgui/QInputMethodEvent.cpp
  * contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp
  * contrib/hbqt/qtgui/QMainWindow.cpp
  * contrib/hbqt/qtgui/QDesktopWidget.cpp
  * contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp
  * contrib/hbqt/qtgui/QWidgetAction.cpp
  * contrib/hbqt/qtgui/QStringListModel.cpp
  * contrib/hbqt/qtgui/QDockWidget.cpp
  * contrib/hbqt/qtgui/QTextBrowser.cpp
  * contrib/hbqt/qtgui/QTableWidget.cpp
  * contrib/hbqt/qtgui/QErrorMessage.cpp
  * contrib/hbqt/qtgui/QWizard.cpp
  * contrib/hbqt/qtgui/QFileSystemModel.cpp
  * contrib/hbqt/qtgui/QDial.cpp
  * contrib/hbqt/qtgui/QTextOption.cpp
  * contrib/hbqt/qtgui/QImageWriter.cpp
  * contrib/hbqt/qtgui/QMenuBar.cpp
  * contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp
  * contrib/hbqt/qtgui/QWizardPage.cpp
  * contrib/hbqt/qtgui/QFontMetrics.cpp
  * contrib/hbqt/qtgui/QPrintDialog.cpp
  * contrib/hbqt/qtgui/QStandardItem.cpp
  * contrib/hbqt/qtgui/QStyleOptionComboBox.cpp
  * contrib/hbqt/qtgui/QSplashScreen.cpp
  * contrib/hbqt/qtgui/QSizeGrip.cpp
  * contrib/hbqt/qtgui/QMessageBox.cpp
  * contrib/hbqt/qtgui/QTextImageFormat.cpp
  * contrib/hbqt/qtgui/QGroupBox.cpp
  * contrib/hbqt/qtgui/QImageReader.cpp
  * contrib/hbqt/qtgui/QTextDocumentFragment.cpp
  * contrib/hbqt/qtgui/QPushButton.cpp
  * contrib/hbqt/qtgui/QTreeWidgetItem.cpp
  * contrib/hbqt/qtgui/QBoxLayout.cpp
  * contrib/hbqt/qtgui/QTextFormat.cpp
  * contrib/hbqt/qtgui/QPalette.cpp
  * contrib/hbqt/qtgui/QTextFrame.cpp
  * contrib/hbqt/qtgui/QTextBlock.cpp
  * contrib/hbqt/qtgui/QPainter.cpp
  * contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp
  * contrib/hbqt/qtgui/QTextTableFormat.cpp
  * contrib/hbqt/qtgui/QStatusBar.cpp
  * contrib/hbqt/qtgui/QTabWidget.cpp
  * contrib/hbqt/qtgui/QContextMenuEvent.cpp
  * contrib/hbqt/qtgui/QLCDNumber.cpp
  * contrib/hbqt/qtgui/QTextDocumentWriter.cpp
  * contrib/hbqt/qtgui/QStyleOptionTab.cpp
  * contrib/hbqt/qtgui/QDateEdit.cpp
  * contrib/hbqt/qtgui/QCheckBox.cpp
  * contrib/hbqt/qtgui/QSound.cpp
  * contrib/hbqt/qtgui/QTabBar.cpp
  * contrib/hbqt/qtgui/QSpacerItem.cpp
  * contrib/hbqt/qtgui/QFileDialog.cpp
  * contrib/hbqt/qtgui/QDirModel.cpp
  * contrib/hbqt/qtgui/QDialog.cpp
  * contrib/hbqt/qtgui/QFormLayout.cpp
  * contrib/hbqt/qtgui/QStyleOptionFrame.cpp
  * contrib/hbqt/qtgui/QSyntaxHighlighter.cpp
  * contrib/hbqt/qtgui/QFont.cpp
  * contrib/hbqt/qtgui/QTableWidgetItem.cpp
  * contrib/hbqt/qtgui/QVBoxLayout.cpp
  * contrib/hbqt/qtgui/QMovie.cpp
  * contrib/hbqt/qtgui/QStyleOption.cpp
  * contrib/hbqt/qtgui/QTreeView.cpp
  * contrib/hbqt/qtgui/QTextLine.cpp
  * contrib/hbqt/qtgui/QTextItem.cpp
  * contrib/hbqt/qtgui/QTimeEdit.cpp
  * contrib/hbqt/qtgui/QMatrix.cpp
  * contrib/hbqt/qtgui/QPrintPreviewDialog.cpp
  * contrib/hbqt/qtgui/QSlider.cpp
  * contrib/hbqt/qtgui/QSpinBox.cpp
  * contrib/hbqt/qtgui/QScrollArea.cpp
  * contrib/hbqt/qtgui/QFontDatabase.cpp
  * contrib/hbqt/qtgui/QLineEdit.cpp
  * contrib/hbqt/qtgui/QPixmap.cpp
  * contrib/hbqt/qtgui/QSplitter.cpp
  * contrib/hbqt/qtgui/QComboBox.cpp
  * contrib/hbqt/qtgui/QDoubleSpinBox.cpp
  * contrib/hbqt/qtgui/QStyleOptionComplex.cpp
  * contrib/hbqt/qtgui/QTableView.cpp
  * contrib/hbqt/qtgui/QPen.cpp
  * contrib/hbqt/qtgui/QRegion.cpp
  * contrib/hbqt/qtgui/QFrame.cpp
  * contrib/hbqt/qtgui/QCompleter.cpp
  * contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp
  * contrib/hbqt/qtcore/QDate.cpp
  * contrib/hbqt/qtcore/QProcess.cpp
  * contrib/hbqt/qtcore/QTextBoundaryFinder.cpp
  * contrib/hbqt/qtcore/QPoint.cpp
  * contrib/hbqt/qtcore/QTextStream.cpp
  * contrib/hbqt/qtcore/QObject.cpp
  * contrib/hbqt/qtcore/QTimer.cpp
  * contrib/hbqt/qtcore/QEvent.cpp
  * contrib/hbqt/qtcore/QDataStream.cpp
  * contrib/hbqt/qtcore/QResource.cpp
  * contrib/hbqt/qtcore/QModelIndex.cpp
  * contrib/hbqt/qtcore/QTranslator.cpp
  * contrib/hbqt/qtcore/QLineF.cpp
  * contrib/hbqt/qtcore/QRect.cpp
  * contrib/hbqt/qtcore/QTime.cpp
  * contrib/hbqt/qtcore/QLocale.cpp
  * contrib/hbqt/qtcore/QPointF.cpp
  * contrib/hbqt/qtcore/QBitArray.cpp
  * contrib/hbqt/qtcore/QFile.cpp
  * contrib/hbqt/qtcore/QLatin1String.cpp
  * contrib/hbqt/qtcore/QSizeF.cpp
  * contrib/hbqt/qtcore/QMimeData.cpp
  * contrib/hbqt/qtcore/QLine.cpp
  * contrib/hbqt/qtcore/QUrl.cpp
  * contrib/hbqt/qtcore/QStringList.cpp
  * contrib/hbqt/qtcore/QByteArray.cpp
  * contrib/hbqt/qtcore/QRectF.cpp
  * contrib/hbqt/qtcore/QEventLoop.cpp
  * contrib/hbqt/qtcore/QDir.cpp
  * contrib/hbqt/qtcore/QSignalMapper.cpp
  * contrib/hbqt/qtcore/QTextEncoder.cpp
  * contrib/hbqt/qtcore/QLatin1Char.cpp
  * contrib/hbqt/qtcore/QRegExp.cpp
  * contrib/hbqt/qtcore/QFileInfo.cpp
  * contrib/hbqt/qtcore/QDateTime.cpp
  * contrib/hbqt/qtcore/QVariant.cpp
  * contrib/hbqt/qtcore/QUiLoader.cpp
  * contrib/hbqt/qtcore/QThread.cpp
  * contrib/hbqt/qtcore/QTextDecoder.cpp
  * contrib/hbqt/qtcore/QSize.cpp
  * contrib/hbqt/qtcore/QList.cpp
  * contrib/hbqt/qtnetwork/QHttp.cpp
  * contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp
  * contrib/hbqt/qtnetwork/QNetworkRequest.cpp
  * contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp
  * contrib/hbqt/qtnetwork/QFtp.cpp
    * Regenerated after generator change.
2009-12-10 00:27:47 +00:00
Viktor Szakats
8df8ddb037 2009-12-10 00:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/hbqt_base.cpp
    * Moved some non-destructor related stuff to hbqt_base.cpp.
    - Deleted hbqt_debug() low level call.
      (this temporarily break build, pls be patient)
    * C level hbqt_getmemused() is now always defined in Windows builds.
    * Harbour level HBQT_GETMEMUSED() now always works (not just 
      special debug builds).

  * contrib/hbqt/hbqt_hbqtdbfmodel.cpp
  * contrib/hbqt/hbqt_hbqttableview.cpp
  * contrib/hbqt/hbqt_hbqtmymainwindow.cpp
  * contrib/hbqt/hbqt_slots.cpp
    * Replaced hbqt_debug() with HB_TRACE() calls.

    ; NOTE: IMPORTANT: -D__HB_DEBUG__ works no more. Now for debug builds, 
            you have to use the standard Harbour method:
               HB_USER_CFLAGS=-DHB_TR_LEVEL_DEBUG
            It's enough to enable this setting when build hbqt lib, to 
            get HBQT trace calls.

  * contrib/hbqt/hbqt.h
    ! Added missing 'extern' keywords.
    ! Added missing 'extern int hbqt_getmemused( void )'.
2009-12-09 23:45:23 +00:00
Viktor Szakats
1b3f412197 2009-12-09 23:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
  - examples/hbapollo/ChangeLog
    - Deleted redundant old local ChangeLog.
    ; We have only one ChangeLog now.
2009-12-09 22:37:41 +00:00
Viktor Szakats
0be7e1b96b 2009-12-09 23:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
  - contrib/hbtip/ChangeLog
    * Old local ChangeLog merged into the central one.

  - examples/hbvpdf/ChangeLog
  + examples/hbvpdf/readme.txt
    * Renamed.
2009-12-09 22:34:52 +00:00
Viktor Szakats
20059f2cc0 2009-12-09 22:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
  - contrib/hbtpathy/ChangeLog
    * Old local ChangeLog merged into the central one.
2009-12-09 21:27:11 +00:00
Viktor Szakats
504cc10d99 2009-12-09 22:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor cleanups.

  * ChangeLog
  - contrib/hbpgsql/ChangeLog
    * Old local ChangeLog merged into the central one.
2009-12-09 21:22:35 +00:00
Przemyslaw Czerpak
7aaeaa714e 2009-12-09 21:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/fparse.c
    ! fixed few GPF traps and memory leaks
    % added some minor optimization

    I strongly suggest to use hb_aTokens() and hb_token*() functions.
    They have more options and for really large data many times
    (even hundreds times) faster.
2009-12-09 20:26:18 +00:00
Viktor Szakats
d81c8d816b 2009-12-09 21:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbgd/gdwrp.c
    * Formatting (deleted unnecessary returns and blocks).

  * ChangeLog
  - contrib/hbgd/ChangeLog
    * Merged local ChangeLog into central one.
2009-12-09 20:18:31 +00:00
Przemyslaw Czerpak
82ecf78e9d 2009-12-09 20:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddsql/sqlbase.c
    ! fixed yet another typo
2009-12-09 19:55:17 +00:00
Przemyslaw Czerpak
3700f5f794 2009-12-09 20:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/Makefile
    ! added missing newly added header files - thanks to Itamar for
      information about the problem

  * harbour/include/hbmsgreg.h
    ! fixed typo - thanks to Toninho for information about the problem
2009-12-09 19:41:10 +00:00
Viktor Szakats
5c46fcf535 2009-12-09 20:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/wapi_winbase.c
    + WAPI_WAITFORSINGLEOBJECT()
    + WAPI_WAITFORSINGLEOBJECTEX()
    + WAPI_WAITFORMULTIPLEOBJECT()
    + WAPI_WAITFORMULTIPLEOBJECTEX()
      Added new wrappers. Untested.
2009-12-09 19:13:10 +00:00
Viktor Szakats
72fcc24504 2009-12-09 19:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/Makefile
  * contrib/hbqt/hbqt.ch
  - contrib/hbqt/hbqt_misc.prg
  * contrib/hbxbp/xbp.ch
  * contrib/hbxbp/xbpgeneric.prg
    + Replaced local trace solution with HB_TRACESTRING().
2009-12-09 18:38:42 +00:00
Viktor Szakats
1102852cdd 2009-12-09 19:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbtrace.c
    + Added support for HB_TR_WINOUT envvar (on Windows platform-only)
      to enable pushing trace output via OutputDebugString() calls.
      Use this before running an app:
         set HB_TR_WINOUT=yes
         (anything non-empty would work, not just 'yes')

  * src/rtl/trace.c
    + HB_TRACESTRING(): Added support to accept multiple parameters,
      it also handles non-string parameters, just like OUTSTD()/QOUT().
    % Minor optimization to HB_TRACE() call.

  ; NOTE: Above two changes make it unnecessary to use custom made
          debug/trace solutions inside each contrib, and it also makes
          it unnecessary to use xhb lib for other proprietary trace solutions.

  * src/rtl/console.c
    * Variable scope optimization.

  * contrib/hbgd/gdwrp.c
    * Minor formatting.
2009-12-09 18:16:36 +00:00
Viktor Szakats
5316185bd8 2009-12-09 17:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnf/dispc.c
  * contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/hbgd/gdwrp.c
    * Changed to use HB_IS*() macros to check parameter types instead
      of using hb_parinfo() & HB_IT_*.
    * Formatting. (deleted unnecessary blocks, returns, spaces)
2009-12-09 16:52:49 +00:00
Pritpal Bedi
15ef59ec35 2009-12-09 08:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbxbp/xbpdataref.prg
    ! Fix in XbpMLE():setData() method, omitted in prev change.
2009-12-09 16:09:11 +00:00
Viktor Szakats
2cdc25aba4 2009-12-09 16:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/olecore.c
    * Changed to use HB_SIZE instead of ULONG.
    ; Please review me, I wouldn't like to break OLE code.

    ; Only one place remains in hbwin which uses ULONG, as return 
      value of hb_fsSeek(). In this case we need to think about it 
      some more.

  * contrib/hbqt/hbqt.ch
    * Minor formatting.
2009-12-09 15:43:37 +00:00
Viktor Szakats
01fadd92e8 2009-12-09 16:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_slots.cpp
    % Eliminated two variables.

  * contrib/hbwin/oleinit.c
  * contrib/hbwin/win_misc.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/axcore.c
  * contrib/hbwin/olecore.c
  * contrib/hbwin/win_com.c
  * contrib/hbwin/wapi_commctrl.c
    * Using HB_TRUE / HB_FALSE consistenly everywhere.
2009-12-09 15:35:07 +00:00
Viktor Szakats
7d017fe34c 2009-12-09 16:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Updated Open Watcom product names to reflect that now plain C 
      is supported as well.
2009-12-09 15:17:22 +00:00
Viktor Szakats
0c30daf54e 2009-12-09 16:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * utils/hbmk2/hbmk2.prg
  * config/dos/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    + Switched back plain C mode for watcom compiler.
2009-12-09 15:10:58 +00:00
Viktor Szakats
2551351908 2009-12-09 15:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_regc.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/win_dll.c
    + Using new UNICODE parameter passing macros instead of HB_TCHAR*() ones.
    ; Please review me. The transition is not yet full, as there were 
      some problematic cases, which I've left as is.
    ! Added UNICODE support for WIN_REGQUERYVALUEEX()'s string return values.

  * contrib/hbwin/tests/testreg.prg
    + Added one more test call.
    ! Fixed to not use legacy registry call.
2009-12-09 14:45:54 +00:00
Przemyslaw Czerpak
094aea1ff3 2009-12-09 15:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapilng.h
  + harbour/include/hbmsgreg.h
    + added common for all Harbour lang modules (msg*.c) header file
      with initialization code

  * harbour/src/lang/msgbe866.c
  * harbour/src/lang/msgbewin.c
  * harbour/src/lang/msgbg866.c
  * harbour/src/lang/msgbgiso.c
  * harbour/src/lang/msgbgmik.c
  * harbour/src/lang/msgbgwin.c
  * harbour/src/lang/msgca.c
  * harbour/src/lang/msgcs852.c
  * harbour/src/lang/msgcsiso.c
  * harbour/src/lang/msgcskam.c
  * harbour/src/lang/msgcswin.c
  * harbour/src/lang/msgde.c
  * harbour/src/lang/msgdewin.c
  * harbour/src/lang/msgel.c
  * harbour/src/lang/msgelwin.c
  * harbour/src/lang/msgeo.c
  * harbour/src/lang/msges.c
  * harbour/src/lang/msgeswin.c
  * harbour/src/lang/msgeu.c
  * harbour/src/lang/msgfr.c
  * harbour/src/lang/msggl.c
  * harbour/src/lang/msghe862.c
  * harbour/src/lang/msghewin.c
  * harbour/src/lang/msghr437.c
  * harbour/src/lang/msghr852.c
  * harbour/src/lang/msghriso.c
  * harbour/src/lang/msghrwin.c
  * harbour/src/lang/msghu852.c
  * harbour/src/lang/msghucwi.c
  * harbour/src/lang/msghuiso.c
  * harbour/src/lang/msghuwin.c
  * harbour/src/lang/msgid.c
  * harbour/src/lang/msgis850.c
  * harbour/src/lang/msgit.c
  * harbour/src/lang/msgko.c
  * harbour/src/lang/msgltwin.c
  * harbour/src/lang/msgnl.c
  * harbour/src/lang/msgpl852.c
  * harbour/src/lang/msgpliso.c
  * harbour/src/lang/msgplmaz.c
  * harbour/src/lang/msgplwin.c
  * harbour/src/lang/msgpt.c
  * harbour/src/lang/msgptiso.c
  * harbour/src/lang/msgro.c
  * harbour/src/lang/msgru866.c
  * harbour/src/lang/msgrukoi.c
  * harbour/src/lang/msgruwin.c
  * harbour/src/lang/msgsk852.c
  * harbour/src/lang/msgskiso.c
  * harbour/src/lang/msgskkam.c
  * harbour/src/lang/msgskwin.c
  * harbour/src/lang/msgsl437.c
  * harbour/src/lang/msgsl852.c
  * harbour/src/lang/msgsliso.c
  * harbour/src/lang/msgslwin.c
  * harbour/src/lang/msgsr852.c
  * harbour/src/lang/msgsriso.c
  * harbour/src/lang/msgsrwin.c
  * harbour/src/lang/msg_tpl.c
  * harbour/src/lang/msgtr857.c
  * harbour/src/lang/msgtrwin.c
  * harbour/src/lang/msgua866.c
  * harbour/src/lang/msguados.c
  * harbour/src/lang/msguakoi.c
  * harbour/src/lang/msguawin.c
  * harbour/src/lang/msgzhb5.c
  * harbour/src/lang/msgzhgb.c
    * modified to use initialization code defined in common for all
      lang modules header file.

  * harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/hbqt/qtgui/QApplication.cpp
  * harbour/contrib/hbqt/qth/QApplication.qth
    * use default GT startup cvode (#include "hbgtreg.h")

  * harbour/include/hbinit.h
  + harbour/include/hbiniseg.h
    * replaced HB_MSC_STARTUP code with more universal HB_DATASEG_STARTUP
    * moved HB_DATASEG_STARTUP code to separate header file to reduce
      modifications in other files when this code has to be changed or
      extended
    + added support for startup code in OpenWatcom C builds. Now we can
      create OpenWatcom Harbour binaries without forcing C++ mode.
      I've tested Linux and Win32 builds and they works correctly.
      Probably similar solution can be used also for other C compilers
      which do not have native interface to define starup code.

  * harbour/src/compiler/genc.c
  * harbour/utils/hbmk2/hbmk2.prg
  * harbour/include/hbcdpreg.h
  * harbour/include/hbgtreg.h
  * harbour/src/rtl/hbregex.c
  * harbour/src/rdd/dbf1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/delim1.c
  * harbour/src/rdd/sdf1.c
  * harbour/src/pp/pplib3.c
  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/rddads/adsx.c
  * harbour/contrib/rddsql/sddfb/fbirddd.c
  * harbour/contrib/rddsql/sddmy/mysqldd.c
  * harbour/contrib/rddsql/sddodbc/odbcdd.c
  * harbour/contrib/rddsql/sddpg/pgsqldd.c
  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/sqlmix.c
  * harbour/contrib/hbbmcdx/bmdbfcdx.c
  * harbour/contrib/hbmemio/memio.c
  * harbour/contrib/hbnetio/netiocli.c
  * harbour/contrib/hbbtree/hb_btree.c
  * harbour/contrib/hbwin/olecore.c
  * harbour/contrib/hbwin/win_com.c
    * modified to use HB_DATASEG_STARTUP instead of HB_MSC_STARTUP
      Now HB_MSC_STARTUP is local macro used only in hbinit.h.
      Please make MSVC build tests.

  * harbour/contrib/hbmemio/memio.c
    ! declare s_fileFuncs structure as static
    * removed unnecessary code to directly register HB_MEMIO symbol.
      Mindaugas if you need it for some reasons then I can reactivate it
      but I would like to know why it's necessary for you.

  * harbour/src/vm/task.c
    ! added missing {}

  * harbour/src/vm/fm.c
    * locally disabled "unreachable code" warnings for dlmalloc.c
      compilation by OpenWatcom in pure C mode

  * harbour/src/rtl/hbzlibgz.c
    * minor code cleanup

  * harbour/src/rtl/filesys.c
    * pacified OS/2 warnings

  * harbour/contrib/hbcairo/core.c
    ! fixed casting for C++ builds

  * harbour/contrib/hbwin/wapi_winbase.c
    ! fixed casting

  * harbour/src/Makefile
    * changed the order of compiled libraries to improve little bit
      the speed in concurrent (-j<N>) builds
2009-12-09 14:33:48 +00:00