Commit Graph

12915 Commits

Author SHA1 Message Date
Viktor Szakats
c0abbd86a6 2009-12-20 16:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/tests/testdll.prg
  * contrib/hbwin/win_dll.c
    + Added support for passing parameters by reference in win64 mode.
    + Added logic to detect UNICODE mode. Enabled only in win64.
    ! One regression fixed in previous version (in non-win64 mode).
    ! Fixed default return to be the same in win64 as in non-win64 mode.
    ; TOFIX: Strings passed by reference seems to be wrong.
    ; TOFIX: UNICODE support for string passed by reference doesn't work.

    ; Please test/review and contribute to this, current state is pretty
      much the extent I'm willing and capable of implementing this.
2009-12-20 15:16:29 +00:00
Viktor Szakats
aacaffbd5c 2009-12-20 12:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_dll.c
    + Added support for Win64 dll calls to functions with no
      parameter.
    + Added internal support to call UNICODE functions in Win64 mode.
    + Added support for CP conversion for non-UNICODE functions in Win64 mode.
      (for now this is the only active mode).
    ! DllCall() made static function.
    * Renamed some constants, functions and variables.
    ; TODO: Add logic to enable UNICODE mode when needed.
2009-12-20 11:35:28 +00:00
Viktor Szakats
60fbf7ba1d 2009-12-20 05:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/dynlibhb.c
  * src/rtl/hbinet.c
  * src/compiler/hbcmplib.c
  * contrib/hbpgsql/postgres.c
    ! Suppressing MSVC C mode warnings by ( void * ) casting 
      in hb_xfree() calls.
2009-12-20 04:01:34 +00:00
Viktor Szakats
9534f8d8f1 2009-12-20 04:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbwin/tests/testwmtx.prg
    + Added Windows mutex example.
2009-12-20 03:55:29 +00:00
Viktor Szakats
18e78f57b9 2009-12-20 04:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
  + contrib/hbwin/wapi_winbase_mutex.c
    + Added Windows mutex wrappers.
      Contributed by Xavi <jarabal/at/gmail.com>.
    ! Added SVN header, some minor formatting.
2009-12-20 03:40:01 +00:00
Viktor Szakats
d1105f23f5 2009-12-20 04:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_dll.c
    + Added portable Win64 support (both x86_64 and IA64 and anything else).
    ; TODO: double parameters and return value.
    ; TODO: parameters passed by reference.

    * Renamed some structure to not look like Windows ones.
    * Using HB_BOOL.
    ! Fixed to return NIL when CTYPE_VOID is requested. (was 0 before)
2009-12-20 03:36:04 +00:00
Viktor Szakats
26a3242187 2009-12-20 02:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_dll.c
    * Little cleanup to FARPROC casting. Now cast is done at Harbour 
      interface points, not internally. It now generates more 
      warnings. If someone has a fix how to suppress FAPROC to 
      void * cast warnings, pls tell.
2009-12-20 01:43:43 +00:00
Pritpal Bedi
4d75707546 2009-12-19 17:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.ch
  * contrib/hbide/ideactions.prg
  * contrib/hbide/hbide.prg
    + Implemented ::goto() method. Invoke it by "Goto Line" icon.
    + Implemented save/restore position of various dialogs.
2009-12-20 01:20:00 +00:00
Viktor Szakats
89c21a4d74 2009-12-20 01:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbbtree/hb_btree.c
    * Fixed 'const' usage in some cast. (some cast were not 
      required anymore, two has been changed to not strip const)
2009-12-20 00:53:36 +00:00
Viktor Szakats
8c4cb30916 2009-12-19 23:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/tests/demoqt.prg
    ! Fixed to use :pPtr instead of now dummy QT_PTROF() macro.
2009-12-19 22:44:00 +00:00
Pritpal Bedi
48b261587e 2009-12-19 13:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
    ! Made functional <Properties Dialog> based on XbpQtUiLoader() class.

  * contrib/hbqt/hbqt.ch
    % QT_PTROF( obj ) ( obj:pPtr ) => ( obj ).
      Converted to dummy for backward compatibility.

  * contrib/hbxbp/xbpqtuiloader.prg
    ! Minor.
2009-12-19 21:55:00 +00:00
Viktor Szakats
90956ad06f 2009-12-19 22:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwapi.h
    ! Fixed some wapi_ret_*() macros. This caused that several WAPI_TREEVIEW*() 
      functions were not returning a value. Thanks to Petr Chornyj for 
      reporting it.
2009-12-19 21:48:43 +00:00
Pritpal Bedi
d02c759f21 2009-12-19 09:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbp.ch
    ! Removed QT_PTROFXBP() macro.
      I have retained QT_PTROF() macro because a lot of you
      must still be using it in your code. It is sceduled to be 
      removed after this release.
2009-12-19 17:26:11 +00:00
Pritpal Bedi
a56f87bc97 2009-12-19 09:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbxbp/xbpqtuiloader.prg
  * contrib/hbxbp/xbpstatusbar.prg
    ! Removed QT_PTROF() and QT_PTROFXBP() macro calls entirely.
      We can delete these macros alltogether.
2009-12-19 17:17:29 +00:00
Pritpal Bedi
632842e7db 2009-12-19 08:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpwindow.prg
    ! Removed all QT_PTROF() macro calls.
2009-12-19 16:56:49 +00:00
Przemyslaw Czerpak
04c7d04111 2009-12-19 16:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/thread.c
    * added hb_threadOnceInit() to .prg function list

  * harbour/include/hbinit.h
    * use HB_STATIC_STARTUP as default initialization method of all
      C++ compilers
2009-12-19 15:53:07 +00:00
April White
808c96f37b 2009-12-19 15:18 UTC+0500 April White (april users.sourceforge.net)
* contrib/hbbtree/hb_btree.c
    * add a union field to encapsulate a var and a pointer, to
      pacify 64-compiler warning
    * removed unnecessary casts (I hope)
2009-12-19 15:32:24 +00:00
Viktor Szakats
3b929ea65e 2009-12-19 13:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/global.mk
    ! Not considering /opt and /opt/harbour as "system location" for
      Harbour, following Lorenzo's advice.
2009-12-19 12:47:02 +00:00
Viktor Szakats
5907e1d204 2009-12-19 13:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/sha2.c
    ! Added trick to make it compile with Pelles C 6.00.6.
      Without this trick Pelles C compiler exits with internal error.

  * doc/whatsnew.txt
    + Added NOTE about Pelles C 6.
2009-12-19 12:34:45 +00:00
Viktor Szakats
233edaf32f 2009-12-19 12:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/codepage/Makefile
  + src/codepage/cpel437.c
  - src/codepage/cpgr437.c
  * include/hbextcdp.ch
    * Renamed GR437 codepage to EL437. EL is the ISO language code for Greek.
2009-12-19 11:47:47 +00:00
Pritpal Bedi
b1572d6e74 2009-12-19 02:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbxbp/xbpqtuiloader.prg
    ! Implemented signal/slot mechanism.
      A working usage is the "Find/Replace" dialog is now 
      entirely based on XbpQtUiLoader() class. "Project Properties"
      dialogs skeleton is also in place and is working, just a little more
      required to make it completely functional.

      XbpQtUiLoader() class appears to be heading towards an
      excellent tool and will eliminate to have a native Form Designer.
      Simply design a complex widget in Qt's powerful Qt Creater
      and exploit is with this class in the application.
      I have a lot many ideas to cook, your suggestions are welcome.
2009-12-19 10:38:34 +00:00
Przemyslaw Czerpak
d92d3a6116 2009-12-19 11:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtwin/gtwin.c
    ! applied Xavi's patch fixing CTRL+C error handler setting in newly
      allocated consoles
2009-12-19 10:22:38 +00:00
Pritpal Bedi
24756a437f * [ Regenerated Sources ] 2009-12-19 06:24:33 +00:00
Pritpal Bedi
026d4ca41c 2009-12-18 22:13 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qth/QCoreApplication.qth
  * contrib/hbqt/qth/QErrorMessage.qth
  * contrib/hbqt/qth/QList.qth
  * contrib/hbqt/qth/QTextEdit.qth
    ! Supressed some error reported generation process messages.

  * contrib/hbqt/generator/hbqtgen.prg
    ! Implemented highly flexible and optimized code for 
      METHOD QSomeObj:new(...), thanks to Przemek for tips.
    
      Now all classes have the same way the constructor is called.
      [ Regenerated Sources Follows ]
2009-12-19 06:19:39 +00:00
Pritpal Bedi
c7a2f6243b 2009-12-18 19:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbxbp/Makefile
  * contrib/hbxbp/xbpgeneric.prg
  + contrib/hbxbp/xbpqtuiloader.prg
    + Started XbpQtUiLoader() CLASS TO manage .ui components.
      A work-in-progress.
2009-12-19 03:14:45 +00:00
Pritpal Bedi
fcc7bc4f44 * [ Regenerated Sources ] 2009-12-19 00:06:22 +00:00
Pritpal Bedi
7c0a62ab17 2009-12-18 16:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbide/hbide.prg
  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbxbp/xbpstatic.prg
  * contrib/hbxbp/xbpwindow.prg
    + Implemented passing HBQT objects to METHOD QSomeObj:new(...).
      Now there is seldome a need to use QT_PTROF() macro.
      demoxbp/demoqt/hbide are working perfectly.

    [ Regenerated sources follow ]
2009-12-19 00:05:16 +00:00
Pritpal Bedi
1962de2f28 2009-12-18 13:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpwindow.prg
    ! Fixed "lSuccess" issue.
2009-12-18 21:05:22 +00:00
Viktor Szakats
fa3b4a4d49 2009-12-18 18:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/whatsnew.txt
    + Added text documenting whatsnew missing parts.

  * utils/hbmk2/hbmk2.prg
    ! Potential fix to external commands when using script and called 
      in a loop.
2009-12-18 17:54:58 +00:00
Viktor Szakats
79a8e43186 2009-12-18 14:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    + Added Cairo version.
2009-12-18 13:52:31 +00:00
Viktor Szakats
4a3e2ef11e 2009-12-18 14:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    * Updated FreeImage component version missed form prev commit.
2009-12-18 13:35:05 +00:00
Przemyslaw Czerpak
50b40d184c 2009-12-18 13:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    ! use CC_HB_USER_LIBS instead of HB_USER_LIBS in linked library list
      current HB_USER_LIBS has different meaning in build process then
      in the past
2009-12-18 12:18:01 +00:00
Viktor Szakats
28c5ea5d32 2009-12-18 12:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtxwc/gtxwc.c
    * Prefixed static vars with s_.
2009-12-18 11:55:16 +00:00
Viktor Szakats
2854c05053 2009-12-18 12:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/mapi.c
    ! Fixed typo in r13235 patch. This could have caused memory 
      corruption and MAPI errors.
    ; Please retest.
2009-12-18 11:43:54 +00:00
Viktor Szakats
c2ff8ffdcb 2009-12-18 12:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    + Updated packages used by upcoming release.
2009-12-18 11:31:30 +00:00
Przemyslaw Czerpak
5a20374203 2009-12-18 11:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    + accept "TEXT" selections is better forms cannot be found
    * removed hack not necessary after recent code cleanup
2009-12-18 10:21:06 +00:00
Viktor Szakats
82fd8aa69e 2009-12-18 10:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_destruct.cpp
    ! Added missing 'extern'.
    % Deleted '#include hbstack.h'
    * Formatting.
2009-12-18 09:56:17 +00:00
Pritpal Bedi
63a616aa85 2009-12-18 01:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/hbqt_events.cpp
  * contrib/hbqt/hbqt_slots.cpp

  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbphtmlviewer.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpprinter.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbpwindow.prg

  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbide/hbide.prg
    ! Cleaned up QT_PTROF() macro altogether.
      A few instances are left in the HBXBP scheduled to be reviewed later.
2009-12-18 09:46:11 +00:00
Viktor Szakats
b9a183d1e8 2009-12-18 10:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added more generic link for QT OSS downloads.

  * contrib/hbqt/*
    * Regenerated.
      (Please list only '* contrib/hbqt/*' to avoid growing ChangeLog
      with several hundred entries each time the generator changes)
2009-12-18 09:37:37 +00:00
Viktor Szakats
dd3b0805a3 2009-12-18 09:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt_hbqtableview.cpp
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/hbqt_hbqmainwindow.cpp
  * contrib/hbqt/hbqt_base.cpp
    ! Fixed gcFuncs() to be named hbqt_gcFuncs(). This is a 
      public function, please remember to prefix all public functions 
      to have a lib specific prefix.
    ; TODO: Regenerate.
2009-12-18 08:59:17 +00:00
Viktor Szakats
863baef288 2009-12-18 09:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added direct link to QT Windows 4.5.3 pkg.

  * contrib/hbqt/detect.mk
  * contrib/hbqt/moc.mk
    + Added my copyright.

  * contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt_hbqtableview.cpp
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_hbqmainwindow.cpp
    ! Fixed some public C functions to hold hbqt_ prefix,
      instead of using generic names.
    ! Added one missing 'extern' keyword.
    + Added TOFIX for QT_HBQTABLEVIEW_NAVIGATE() which
      has a remaining leak of one typical type.
    ; TOFIX: Do the same with gcFuncs().
    ; TODO: Regenerate.
2009-12-18 08:53:35 +00:00
Pritpal Bedi
9598771203 2009-12-17 22:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/idemisc.prg

  * contrib/hbqt/tests/demoqt.prg

  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbphtmlviewer.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbpwindow.prg
    ! Further cleanup of QT_PTROF() macro.

  * contrib/hbqt/generator/hbqtgen.prg
    ! Minor.
2009-12-18 06:39:44 +00:00
Przemyslaw Czerpak
ab6d1e7a9f 2009-12-18 04:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    ! fixed yet another one memory leak
2009-12-18 03:08:30 +00:00
Przemyslaw Czerpak
e83b6c0f28 2009-12-18 03:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    ! fixed memory leak caused by unreleased text property value
2009-12-18 02:58:48 +00:00
Pritpal Bedi
6fedf1738f 2009-12-17 18:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpfiledialog.prg
  * contrib/hbxbp/xbpfontdialog.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbpradiobutton.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbpwindow.prg
    ! Cleaned QT_PTROF() macro, first phase.
2009-12-18 02:58:08 +00:00
Pritpal Bedi
0002fedae4 2009-12-17 18:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/tests/demoqt.prg
  * contrib/hbxbp/tests/demoxbp.prg
    ! Cleaned some QT_PTROF() macros, first phase.
    ! Some more debug info.
2009-12-18 02:32:48 +00:00
Pritpal Bedi
113e55769d 2009-12-17 16:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
    ! Some more info capturing in project building phase with QProcess().
2009-12-18 02:12:49 +00:00
Przemyslaw Czerpak
550559695b 2009-12-18 03:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    ! fixed holders for properties format 32 to be long - it's important
      for 64 bit platforms.
    ! removed unsupported in current code "COMPOUND_TEXT" target
    ! readded support for "TEXT" target
2009-12-18 02:02:21 +00:00
Pritpal Bedi
eccde2bbfd 2009-12-17 16:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
    ! Removed dummy macros to honor original ones.
    ! Removed QT_PTROF() whereever these were not needed anymore.
    ! Retained QT_PTROFXBP() until further discussions.
      Now all the components are working fine.
2009-12-18 00:06:17 +00:00
Pritpal Bedi
0d46d0e0fe 2009-12-17 15:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpmle.prg
  * contrib/hbxbp/xbpradiobutton.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbpstatic.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbptreeview.prg
    + Added METHOD hbCreateFromQtPtr(), skeletons only.
2009-12-17 23:29:16 +00:00