/* * $Id$ */ /* Use this format for entry headers: YYYY-MM-DD HH:MM UTC[-|+]hhmm Your Full Name (your_email address) 2010-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. A summary of the license and the full legal text is included in file: COPYING. If you wish to distribute some or all of this work under different terms, please contact respective author(s). The license applies to all entries newer than 2009-04-28 and all past entries belonging to author(s): Viktor Szakats. */ 2009-12-17 11:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c ! added protection against putting K_RESIZE into keyboard queue if XServer generates ConfigureNotify event but window size is not changed ! clear own selections on application exit - looks that some WMs have problems when selection owner does not response and can even crash. Please remember that some WMs periodically (i.e. once per second) create copy of existing selections to his own structures so it's later available even if selection owner terminates. This is VM behavior which is not controlled by Harbour GTXWC code so selection set by Harbour application is available after its termination only if such Window Manager is used and it has enough time to make selection copy. ! use hb_cdpFindExt() instead of hb_cdpFind() to find UTF8 CP It fixes national character translations in selections (clipboard) broken during recent modifications for new CDP API. 2009-12-17 03:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c ! fixed timeout checking in function taking text from clipboard. Due to typo it was waiting for XServer answer for 3 milliseconds instead of 3 seconds so sometimes it was too small even in local usage (i.e. when clipboard was accessed 1-st time by application and some internal XLib structures had to be initialized) and probably using remote XServers it was able to retrieve only the 1-st type of selection (if any). 2009-12-16 21:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbwin.ch * contrib/hbwin/tests/testmapi.prg * contrib/hbwin/mapi.c + Added HB_WIN_MAPI_* constants for recipient types. + WIN_MAPISENDMAIL() now accept 8th (sender) as simple string, this will be passed as sender name to Windows. + WIN_MAPISENDMAIL() now accept 9th (recipient) parameter as simple list of strings. Values will be passed as 'TO' recipient names to Windows. + WIN_MAPISENDMAIL() now accept 10th (attachment) parameter as simple list of strings. Values will be passed as pathname to Windows. % One minor optimization in WIN_MAPISENDMAIL(). + Added example for simple form of WIN_MAPISENDMAIL() call. 2009-12-16 21:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/mapi.c * WIN_MAPISENDMAIL() fixed to set sender as MAPI_ORIG. This is the default value (zero), but we shouldn't assume such things. + WIN_MAPISENDMAIL() recipient arrays elements third parameter is optional. ! WIN_MAPISENDMAIL() fixed to set recipient address type as MAPI_TO by default (if there is no 3rd element or 3rd element is non-numeric). So far it was defaulting to MAPI_ORIG in these case, which is wrong. ! WIN_MAPISENDMAIL() fixed to skip recipient if neither first nor second element is a non-empty string. It may have caused GPFs before. * WIN_MAPISENDMAIL() changed to accept 1st element of file attachment array list as pathname, and 2nd element as optional filename. 2nd element is now truly optional, files won't be skipped if omitted. Original code accepted filename in 1st element, but it's cleaner this way and also testmapi.prg calls it this way, so it might have been a typo. ! WIN_MAPISENDMAIL() fixed file attachments handling to not cause GPF is 1st array element (pathname) is non-string or empty. These items will now be skipped. ; Please retest also with bad parameters. And I'd appreciate if someone could review as it's blind coding. 2009-12-16 19:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/gtkeys.prg + added code to test clipboard (CTRL+INS shows clipboard text and CTRL+END set new text in clipboard). 2009-12-16 18:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * harbour-win-spec * harbour-wce-spec * include/hbver.h * package/winuni/RELNOTES * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * harbour.spec * config/global.mk * Changed version to 2.0.0rc1 (from 2.0.0beta3) ; TODO: Please also change debian/changelog. ; Rehearsing version change, I don't plan to make binary release of this interim version. * doc/codestyl.txt * Minor update. I don't plan a full update this time, as we have a huge amount of well formatted source code, and it's pretty consistent too, so it's enough to peek into any one of them for a perfect example. So if someone needs and example, just look under src/* for both .c and .prg. 2009-12-16 09:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbdate.c * casting for some more pedantic C/C++ compilers * harbour/include/hbinit.h * allow to force static C++ initialization as startup code in GCC and SunPRO builds by HB_STATIC_STARTUP macro 2009-12-16 04:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg ! Fixed watcom targets to switch to single input file mode when C mode (now default) is used. Maybe OpenWatcom developers should finally sync such basic behavior between their C and C++ compilers. Until then we keep adding hacks. 2009-12-16 03:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbbtree/tests/ctest.c ! Changed sprintf() to safe hb_snprintf() to avoid MSVC warnings. 2009-12-16 03:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * config/common/watcom.mk ! Fixed for dos/watcom after previous change. 2009-12-16 03:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * config/common/watcom.mk * config/global.mk * config/rules.mk ! Added relatively ugly hack to change dir separators in CC_RULE in a generic way. It's ugly because it's only needed for non-linux Watcom C (not C++!) builds, but this way it's possible to avoid CC_RULE override in common/watcom.mk. CC_RULE override didn't implement dynlib support, which meant that after switching to C mode as default for watcom, dynlib generation got broken on win and os2. 2009-12-16 02:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/hbqt_hbqmainwindow.cpp * Minor formatting after latest changes. 2009-12-16 01:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/rddsql/sddmy/mysqldd.c ! Fixed warning reported by linux/watcom. * src/rtl/gtwin/gtwin.c * Minor formatting. 2009-12-16 01:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/mapi.c ! fixed compilation with OpenWatcom 2009-12-16 01:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * ChangeLog ! Typo in prev entry. 2009-12-16 00:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/Makefile + contrib/hbwin/wapi_winnls.c + Added WAPI_GETACP() + Added WAPI_GETOEMCP() ; NOTE: TODO? These values could be used as a base for default HB_GTI_CODEPAGE setting and _SET_OSCODEPAGE for non-UNICODE Harbour builds. 2009-12-16 00:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! removed repeated entry 2009-12-16 00:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbinit.h * added error messages when some mixed forms of startup initialization are defined 2009-12-16 00:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * use -n2 as default harbour compiler parameter in hb* scripts 2009-12-15 21:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbinit.h ! fixed typo in section name in last commit - thanks to Tamas again * in C++ mode encapsulate startup functions inside 'extern "C" { ... }' to eliminate reallocation problems 2009-12-15 21:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbinit.h * use more portable asm() directive instead of __asm__() * explicitly restore .text segment for compilers which do not make it automatically Thanks to Tamas for the information. 2009-12-15 20:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbinit.h * eliminated from ASM code used in HB_INITSEG_STARTUP direct references to public functions - it resolves the problem with non relocatable code breaking Harbour shared library. TODO: find portable method to mark function as used for C compiler without using any public symbols (functions or variables) which may cause conflicts between modules. Compilers like modern GCC versions are clever enough to detect cyclic references (only compile time warnings are pacified in such case) and they strip even group of functions it they are not accessed externally. 2009-12-15 19:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbinit.h + added new alternative form for initialization code activated by HB_INITSEG_STARTUP macro. This method uses asm() directive to store call to startup function in .init segment. It's a work in progress though current code is working in Linux static builds and probably should work also with few other compilers. Final version should help in adding support for native non GCC based C compilers in some *nixes. Thanks to Tamas for his help. 2009-12-15 18:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * package/winuni/RELNOTES ! Typo. * contrib/hbqt/qtgui/qtguis/Makefile * contrib/hbqt/qtcore/qtcores/Makefile * contrib/hbqt/hbqts/Makefile * contrib/hbqt/qtnetwork/qtnetworks/Makefile ! Fixed HB_QT_STATIC=yes mode. * contrib/hbclipsm/date.c ! Fixed DATEASARRAY() to return empty array instead of { NIL, NIL, NIL } if non-date was passed. % Optimized DATEASARRAY(). * contrib/hbcairo/image.c ! Fixed two warnings. * INSTALL + Added CYGWIN= envvar to mingwarm example to suppress useless Cygwin warning. 2009-12-15 11:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/hbqt.hbc * contrib/gtqtc/gtqtcs.hbc * contrib/gtqtc/gtqtcs/Makefile * contrib/gtqtc/Makefile * contrib/gtqtc/gtqtc.hbc * Cleanups. ! Static mode fix for gtqtc. * contrib/gtqtc/gtqtc.cpp ! Deleted HB_TCHAR references in commented code. 2009-12-15 11:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * ChangeLog ! Fixed ChangeLog entry header of my last commit. 2009-12-15 04:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * modified PHB_FUNC/HB_FUNC_PTR declaration to use external 'extern "C"' encapsulation for C++ compilers which do not accept it directly (i.e. BORLAND or GCC 2.xx) 2009-12-15 00:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_regc.c * Minor cleanup to make code more robust. * contrib/hbqt/qtgui/QTableView.cpp * Some minor changes after regenerating it with current generator tool. 2009-12-14 10:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbqtableview.cpp * contrib/hbqt/qtgui/QTableView.cpp * contrib/hbqt/qtgui/TQTableView.prg * contrib/hbqt/qth/QTableView.qth * contrib/hbxbp/xbpbrowse.prg + Implemented GC collectible pointers for HBTableView() class. 2009-12-14 10:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbdbfmodel.cpp * contrib/hbqt/hbqt_hbdbfmodel.h * contrib/hbqt/qtcore/QAbstractItemModel.cpp * contrib/hbqt/qtcore/TQAbstractItemModel.prg * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbxbp/xbpbrowse.prg + Implemented GC collectible pointer for HBDbfModel() class. 2009-12-14 17:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbcrc.c ! fixed hb_crcct() to work with polynomials smaller then 8 bit, i.e. parity bit: x^1+1 => 3 % small simplification in hb_crc() function 2009-12-14 14:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_os.prg * contrib/hbwin/wapi_winuser.c * contrib/hbwin/axcore.c * contrib/hbwin/wapi_commctrl.c * Formatting. 2009-12-14 13:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_prn2.c ! Missing hb_itemRelease() from prev commit. 2009-12-14 13:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_prn2.c + Eliminated rest of HB_TCHAR*() calls. Please review, and test for memory leaks. ; No more HB_TCHAR*() macros in hbwin code. * contrib/hbwin/win_misc.c + Added cast. * contrib/hbqt/hbqt_base.cpp * Minor formatting. 2009-12-14 00:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_misc.c ! Fixed WIN_ANSITOWIDE() and WIN_WIDETOANSI() to return string with proper length in all cases. Peer-review me pls. 2009-12-13 22:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/compiler/hbmain.c * src/compiler/cmdcheck.c * src/compiler/hbcomp.c * src/compiler/hbusage.c * include/hbcompdf.h + Added support for -i- and -i+ options. They will disable/enable handling of INCLUDE envvar. * config/rules.mk + Added -i- Harbour compiler switch to avoid any interference with user set INCLUDE envvars. 2009-12-13 12:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqmainwindow.cpp * contrib/hbqt/hbqt_hbqmainwindow.h * contrib/hbxbp/xbpwindow.prg + Implemented GC collectible pointer for HBQMainWindow(). /* Please do not commit anything in HBQT/HBXBP/HBIDE as I will be cleaning up the code. BTW how can I invoke HBXBP_DEBUG() functionality. I was just busy with the preparations of my daughter's wedding. */ 2009-12-13 17:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/mapi.c ! Added back zeroing rcp/file structure list. * INSTALL * Minor. * contrib/gtwvg/wvgutils.c * contrib/hbwin/win_misc.c * contrib/hbwin/mapi.c * ZeroMemory() -> memset() 2009-12-13 14:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/mapi.c + Added support for unlimited number of recipients and attached files. Please test and review. * utils/hbmk2/hbmk2.prg + Added support for linux/open64. (Please test) * INSTALL + Added open64. 2009-12-12 20:48 UTC-0300 Antonio Carlos Pantaglione * harbour/contrib/hbwin/tests/testmapi.prg ! Very small fix 2009-12-12 23:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h * harbour/include/hbdefs.h * harbour/include/hbthread.h * harbour/src/common/hbver.c * harbour/bin/hb-func.sh * harbour/bin/postinst.sh * harbour/config/linux/gcc.mk + harbour/config/linux/open64.mk + added support for Open64 C/C++ compiler in Linux builds * harbour/src/common/hbver.c * removed unnecessary casting compiler version number parameters to 'short' * extended the size of szBuf buffer as requested by Tamas 2009-12-12 21:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/tests/testmapi.prg * contrib/hbwin/mapi.c ! Fixes. 2009-12-12 19:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_misc.c ! Fixed declaration following code. 2009-12-12 19:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/mapi.c + Added support for UNICODE. ; Untested, I don't have a mailer on any Windows systems I have access to to try it. Please make tests with MSVC also, to check UNICODE. ! Fixed typo in prev modification. ! Added ( ULONG ) cast to -1 value. + Added copyright header. * contrib/hbwin/tests/testmapi.prg + Added some test data to make it work. (couldn't test it though, all I get is msgbox that I have no mailer) 2009-12-12 18:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/vmmt/Makefile ! added missing strapi.c for some compilers which do not use hvmall.c 2009-12-12 16:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/gtwin/gtwin.c * Using HB_SIZEOFARRAY(). * include/hbapi.h * Typo in comment. * ChangeLog + Added missing item to prev. * contrib/hbwin/tests/testmapi.prg ! Fixed missing SVN props. ! Added missing SVN ID. * Formatting. ; TOFIX: This example expects arrays and logical value from command line, so it won't work. [DONE] 2009-12-12 15:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbwinuni.h + Added HB_ARRAYGETSTR(). * ChangeLog + Added missing item to prev. 2009-12-12 15:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/Makefile * contrib/hbwin/mapi.c + Added to Makefile. * Renamed HB_MAPISENDMAIL() to WIN_MAPISENDMAIL(). ! Added SVN ID. ! Added SVN props. ! Added License header. (pls add your name to copyright headers) ! Fixed to use simple quote to include Harbour headers. ! Fixed Windows header inclusion. ! Disabled for UNICODE. ! Fixed to not use return value on stack as temporary HB_ITEM. ! Fixed to not use static variable. ! Fixed UNICODE literals (also for WinCE). ! Fixed to not create NULL "holes" in passed to Windows lists if received arrays have wrong content. ! Fixed to check return value of GetProcAddress(). % Optimized to only do parameter processing if MAPISendMail is available. * Cleaned string parameter defaulting to "". * Castings added and changed. * Optimizations. * Formatting (indentation, deleted unnecessary {}, variable scopes, ' ;' endings) * Variable scopes. * Using HB_SIZE. * Avoiding duplicating constants. + Added some provisions for UNICODE support. Otherwise whole code is disabled until this gets fully implemented. ; TODO: It'd be probably beneficial to remove artificial limit of 100 recipients and file attachments. [DONE] ; NOTE: I didn't make any functional tests, so please make some. An example/test code would be nice in tests subdir. 2009-12-12 14:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwinuni.h ! fixed typo in last commit * harbour/contrib/hbwin/win_com.c * eliminated HB_TCHAR_*() usage 2009-12-12 10:45 UTC-0300 Antonio Carlos Pantaglione + harbour/contrib/hbwin/mapi.c + harbour/contrib/hbwin/tests/testmapi.prg * MAPI send mail function. 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. [DONE] 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 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 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 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) 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 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 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: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 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 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 switches sent by Andi to make QT 4.6.0 libs work with default Harbour build. 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. [DONE] ; TOFIX: hb_parclen() usage. [DONE] ; TOFIX: HB_ARRAYSETSTR() with NULL string parameter. [DONE] ; TOFIX: HB_PARSTRDEF() to really default to empty string for non-string params. [DONE] ; 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 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 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 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( @ ) -> It assigns to if 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 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 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: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 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: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 21:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/hbqt_slots.h - Deleted unnecessary headers. 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 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: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: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 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: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 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: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: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. * contrib/hbqt/hbqt.h ! Added missing 'extern' keywords. ! Added missing 'extern int hbqt_getmemused( void )'. 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 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:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * ChangeLog - contrib/hbtpathy/ChangeLog * Old local ChangeLog merged into the central one. 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: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 21:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbgd/gdwrp.c * Formatting (deleted unnecessary returns and blocks). % Using HB_ERR_FUNCNAME. * ChangeLog - contrib/hbgd/ChangeLog * Merged local ChangeLog into central one. 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 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 20:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/wapi_winbase.c + WAPI_WAITFORSINGLEOBJECT() + WAPI_WAITFORSINGLEOBJECTEX() + WAPI_WAITFORMULTIPLEOBJECTS() + WAPI_WAITFORMULTIPLEOBJECTSEX() Added new wrappers. Untested. 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 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 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 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: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 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 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 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: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 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) builds 2009-12-09 12:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/legacyco.c * contrib/hbwin/wapi_winuser.c ! Added missing header. * ChangeLog + Missed change added to prev entry. 2009-12-09 04:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbwinuni.h + Added HB_PARSTRDEF() macro. So far the same as HB_PARSTR(), but it's supposed to mark places where hb_parcx() was used (where WinAPI expects non-optional string parameter). * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/wapi_shellapi.c * contrib/hbwin/legacyco.c + Using new UNICODE parameter passing macros instead of HB_TCHAR*() ones. ; NOTE: I'm unsure how to apply the same to wapi_commctrl.c, could anyone help? Here the string is assigned to win structure and passed to winapi, which may mean that string space should be kept there after returning from function. ! WAPI_FORMATMESSAGE() fixed to return empty string (instead of gargabe) if there was an error returned (f.e. because of too small, or no buffer). * contrib/hbxbp/xbpgeneric.prg ! Using HB_SYMBOL_UNUSED() to mark unused parameters, instead of local solution. % Minor optimizations. * MSGBOX() changed to not display all text in bold. + Changed
to
in MSGBOX(). 2009-12-08 18:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg * contrib/hbide/projects/hbide.hbi * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbxbp/xbpmle.prg + Implemented project building. Right click on project tree node and select or context menu options. I am looking for Qt like process management in Harbour. I mean, I need callback when process is running. 2009-12-08 16:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/common/hbver.c ! Fixed determining the patch level of MSVC compiler on or above version 2005. Adapted fix from xhb / Andi Jahja. * contrib/hbqt/hbqt_slots.cpp * Little renaming. 2009-12-08 15:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/hbqt_slots.cpp * Further formatting and some variables renamed. Again sorry for using such long lines, but - at least to me - it reveals the slot logic so clearly. In fact from this point it's even visible how this could be made modular. 2009-12-08 13:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbcairo/core.c + Enabled HB_USE_ITEM mode which doesn't use Harbour internals. 2009-12-08 13:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbwinuni.h ! Fixed two typos in new macros. * contrib/hbwin/wapi_shellapi.c * Minor formatting. 2009-12-08 12:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/Makefile + include/hbwinuni.h * contrib/hbwin/wapi_shellapi.c * include/hbwince.h + Moved new UNICODE translation macros to separate header. 2009-12-08 11:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/macro/Makefile - src/macro/macro.l * src/compiler/Makefile - src/compiler/harbour.l - src/compiler/fixflex.c * INSTALL * config/c.mk * config/rules.mk * Deleted references to Flex and related files. Flex is not used since long. It couldn't generate MT safe lexer code. 2009-12-08 11:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/hbqt/hbqt_hbqtmymainwindow.cpp * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/Makefile * MyMainWindow() class moved to separate source file. * Deleted commented debug calls. * Code formatting. ! Fix to call mutex initialization on MyMainWindows creation, to guarantee its present. Anyhow current method is still not safe. % Cleaned some casts. ; TOFIX: mutex initialization in MyMainWindow. ; TOFIX: MyMainWindow is a leakable resource and it _is_ leaked from hbxbp. * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbide/hbide.prg * :createFromQtPtr() -> hbCreateFromQtPtr() ! Fixed few non-Xbase++ public functions to hold the hbxbp_ prefix in their names. It probably needs further cleanup. % Highly optimized ConvertAFact(), now goes by the name hbxbp_ConvertAFactFromXBP(). Only one conversion was used in code, so I dropped the other, but it can be readded similarly if ever needed. ! Mutex destroy moved to the end of EXIT PROC, anyway it's still not safe and should be solved differently. (TOFIX) ; TOFIX: hbxbp_SetEventFilter() is passed to several function, but this function has no return value. * contrib/hbcairo/core.c * Minor. 2009-12-07 23:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqtdbfmodel.cpp * contrib/hbqt/hbqt_slots.cpp * contrib/hbxbp/tests/demoxbp.prg ! Fixed unoperational demoxbp.exe. 2009-12-08 04:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbcairo/core.c ! fixed code which operates on GC blocks and make both versions (with and without HB_USE_ITEM) working in the same way so thay can be easy compared. 2009-12-08 02:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/hbqt_slots.cpp ! Fixed to check for NULL pointer and return error in QT_CONNECT_EVENT() and QT_DISCONNECT_EVENT() and MyMainWindow desctructor. ; TOFIX: Passing non-block to QT_MYMAINWINDOW() first parameter will cause GPFs. * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg ! THREADID() -> HB_THREADID(). (former is not necessarily available in core) 2009-12-08 02:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/hbqt_slots.cpp % Eliminated local variable in all Slots:: method. 2009-12-08 02:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/hbqt_slots.cpp * Formatting. ! Deleted explicit ( char * ) casts. ! Converted some types to const char *. + Added hbqt_ prefix to Slot*() callback names. * ChangeLog + Added missing changes to my 2009-12-08 01:09 entry. 2009-12-08 01:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/hbqt_destruct.cpp * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbide/hbide.prg ! Renamed ISEQUALGCQTPOINTER() to HBQT_ISEQUALGCQTPOINTER() 2009-12-07 16:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg + Added some more debug code. Now HBIDE exits cleanly. * contrib/hbqt/hbqt_destruct.cpp - Removed HBQT_QTPTR_FROM_GCPOINTER() + Added ISEQUALGCQTPOINTER() * contrib/hbqt/hbqt_slots.cpp ! Fixed MainWindow::~MainWindow() calls. Was a reason FOR many GPFs. * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qth/QApplication.qth - Removed call to Qt_destroy_codeblocks(). * contrib/hbxbp/xbpfontdialog.prg ! Proper destruction of font and font metrix. * contrib/hbxbp/xbptabpage.prg % Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer() * contrib/hbxbp/xbptreeview.prg % Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer() * contrib/hbxbp/xbpwindow.prg % Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer() * contrib/hbxbp/tests/demoxbp.prg ! Test calls to overview memory usage with different modes to release Qt pointers. Now it exits cleanly. * contrib/hbide/hbide.prg + Added some more debug code. Now HBIDE exits cleanly. * contrib/hbqt/hbqt_destruct.cpp - Removed HBQT_QTPTR_FROM_GCPOINTER() + Added ISEQUALGCQTPOINTER() * contrib/hbqt/hbqt_slots.cpp ! Matched hb_vmRequestReenter() / hb_vmRequestRestore() calls. ! Fixed MainWindow::~MainWindow() calls. Was a reason FOR many GPFs. * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qth/QApplication.qth - Removed call to Qt_destroy_codeblocks(). * contrib/hbxbp/xbpfontdialog.prg ! Proper destruction of font and font metrix. * contrib/hbxbp/xbptabpage.prg % Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer() * contrib/hbxbp/xbptreeview.prg % Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer() * contrib/hbxbp/xbpwindow.prg % Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer() * contrib/hbxbp/tests/demoxbp.prg ! Test calls to overview memory usage with different modes to release Qt pointers. Now it exits cleanly. 2009-12-08 01:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/hbqt/hbqt_hbqtsyntaxhighlighter.cpp + contrib/hbqt/hbqt_hbqtdbfmodel.cpp + contrib/hbqt/hbqt_hbqttableview.cpp + contrib/hbqt/hbqt_hbqtmydrawingarea.cpp * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/Makefile * Formatting (some of these generated long lines, but for now I had to see what's happening in code) * Moved out some classes from hbqt_slots.cpp. (TODO/TOFIX: renaming, moving declarations) ! Fixed missing hb_vmRequestRestore() calls. (lots) + Added TOFIX hbqt_gcpointer(); % Certain functions marked static. % Optimized out listActv vars. - Deleted commented code. % Large amount of mutually exclusive 'if()'s converted to 'else if()'s. ! Added NULL check in QT_CONNECT_SIGNAL(). * contrib/rddads/adsx.c * contrib/rddads/ads1.c * Minor formatting. 2009-12-07 19:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.mk ! fixed variable name in output message 2009-12-07 18:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/ppcore.c * strip UTF-8 BOM signature from compiled .prg files * harbour/include/hbdefs.h + added HB_MACRONAME_JOIN() macro * harbour/include/hbinit.h ! fixed startup function declaration when HB_STRICT_ANSI_C macro is set * harbour/src/rdd/dbfcdx/dbfcdx1.c * modified to use unique names for startup functions * harbour/include/hbcdpreg.h * modified to use unique names in CP startup functions for non #pragma based initialization. * harbour/include/Makefile + harbour/include/hbgtreg.h + added default GT startup code in header file which can be included by GT drivers. This version uses unique function names for non #pragma based initialization. * harbour/src/rtl/gt_tpl/gt_tpl.c * harbour/src/rtl/gtdos/gtdos.c * harbour/src/rtl/gtwin/gtwin.c * harbour/src/rtl/gtxwc/gtxwc.c * harbour/src/rtl/gtcrs/gtcrs.c * harbour/src/rtl/gtstd/gtstd.c * harbour/src/rtl/gttrm/gttrm.c * harbour/src/rtl/gtcgi/gtcgi.c * harbour/src/rtl/gtos2/gtos2.c * harbour/src/rtl/gtsln/gtsln.c * harbour/src/rtl/gtpca/gtpca.c * harbour/src/rtl/gtgui/gtgui.c * harbour/src/rtl/gtwvt/gtwvt.c * harbour/contrib/gtalleg/gtalleg.c * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/hbct/ctwin.c * use #include "hbgtreg.h" for startup code 2009-12-07 11:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c * renamed RDD from ADT to ADSADT + added public functions ADSADT, ADSNTX, ADSCDX, ADSVFP to be able do a REQUEST RDD using RDD name from .prg code * harbour/contrib/rddads/adsx.c + added ADSNTXX, ADSCDXX, ADSADTX RDDs 2009-12-07 10:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * external/libpng/pngerror.c * external/libpng/pngrio.c * external/libpng/pngwrite.c * external/libpng/pngconf.h * external/libpng/pngwtran.c * external/libpng/pngpread.c * external/libpng/pngset.c * external/libpng/LICENSE * external/libpng/pngwio.c * external/libpng/pngrutil.c * external/libpng/pngwutil.c * external/libpng/pngread.c * external/libpng/pngmem.c * external/libpng/png.c * external/libpng/pngget.c * external/libpng/pnggccrd.c * external/libpng/png.h * external/libpng/pngrtran.c * external/libpng/pngtrans.c ! Reverted to 1.2.40 (from 1.2.41) Due to this regression: --- wcc386 -zq -bt=nt -bm -w0 -3s -i. -i../../../../../include -d2 -DHB_TR_LEVEL_DEBUG -I/home/ice/w/xhb/hbci/harbour-build/external/zlib -fo=pngmem.obj ../../../pngmem.c ../../../pngmem.c(447): Error! E1057: Modifiers disagree with previous definition of 'png_calloc' ../../../pngmem.c(447): Note! I2002: 'png_calloc' defined in: ../../../png.h(3754) --- 2009-12-07 00:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbptreeview.prg ! Fixed how children nodes are managed. * contrib/hbide/idemisc.prg * contrib/hbide/projects/hbide.hbi * contrib/hbide/idestylesheets.prg * contrib/hbide/hbide.prg ! More context menu options. RIGHT+CLICK on files presents options. + Implemented adding source files via