/* * $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. */ 2010-02-22 15:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * config/os2/gcc.mk + Attempt to fix direct ld usage to create Harbour .dlls. Please make tests for all versions of gcc/gccomf targets. * INSTALL - Deleted TCPV4 header instructions for OS/2. (they still works, it just got less emphasis with this) 2010-02-22 15:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h ! Fixed to not #include unconditionally. This should be done by specific source code, if needed. INCOMPATIBLE, if source code relied on this behavior. From now on it, should include dos.h manually. * src/vm/thread.c * src/common/hbver.c * src/rtl/gtdos/gtdos.c * src/rtl/isprint.c * src/rtl/diskspac.c * src/rtl/disksphb.c * src/rtl/net.c * contrib/hbct/print.c ! Fixed to #include manually. * src/rtl/fstemp.c ! Fixed recent warning for dos targets. * contrib/hbct/video.c ! Fixed old unused variable warning for dos/watcom targets. * INSTALL + Documented that OS/2 Warp 4 is supported (instead of generic OS/2). 2010-02-22 14:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/extrap.c * src/vm/dynlibhb.c * src/common/hbgete.c * src/common/hbffind.c * src/common/hbver.c * src/rtl/filesys.c * src/rtl/diskspac.c * src/rtl/gtos2/gtos2.c * src/rtl/cputime.c * src/rtl/disksphb.c * include/hbthread.h * contrib/hbmzip/hbmzip.c ! Fixed to setup all OS/2 INCL_* constants and to #include os2.h by themselves, and not to rely on Harbour headers to do this job for them. ; TODO: Do the same for dos.h. * doc/hdr_tpl.txt - Deleted local changelog. ! Fixes to .prg function docs + Update copyright year to 2010. + Added fact that $SEEALSO$ should be comma separated. + Added .c function example (far from perfect) * examples/hbdoc2/tmplates.prg * doc/hdr_tpl.txt + Added $VERSION$ tag. (pls update HBIDE. We haven't finalized the format yet, to it's little bit premature to create new and new parsers/generators for it yet) * include/hbdefs.h ! Fixed to not unconditionally include OS/2 headers with an arbitrary selection of INCL_ macros. Now OS/2 headers will only be included if legacy types are requested (off by default), and no INCL_ macros are defined. This latter change may affect 3rd party code written for OS/2, so I'm marking it INCOMPATIBLE. * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt.h * Changed to #include hbapi.h from hbqt.h. It needs it, so this is the clean way. Changed generator to leave out hbapi.h from each source file and refer to hbqt.h only. (untested) + Added logic to #include OS/2 headers with some INCL_ macros defined, to make QT on OS/2 happy. (copied them from the dev. list) ; TODO: Regenerate HBQT sources. * utils/hbtest/hbtest.prg ! Cleaned old problem reported by Chen. It seems like a feature which was never finished, and it's not even hugely needed, so I deleted it. * config/global.mk + Will now provide HB_COMP_PATH_PUB value for os2-gcc, os2-gccomf compilers. This value can be used to manually form ld.exe command line. (NOTE: This may be deleted in the future, when sorting out line-length limit problems for these compilers. 2010-02-22 02:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideharbourhelp.prg ! A rare-condition bug fix. Thanks Marco. 2010-02-22 01:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/harbour.png ! Missed from prev commit. ! Enabled building the Harbour Documentation structure at the time of hbIDE start. 2010-02-22 01:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideharbourhelp.prg + Implemented: presentation of documents per "Category" field. ; QUESTION: is it worth to populate the tree with sub-category. In my opinion, a function can belong to many categories. If yes, what method to adopt? 2010-02-22 09:15 UTC+0200 Chen Kedem * doc/en/file.txt ! Fix typo in DIRREMOVE() $SYNTAX$: DIRCHANGE --> DIRREMOVE reported by Alexey Myronenko. 2010-02-21 20:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h + Added slots for QTextBrowser() * contrib/hbide/ideharbourhelp.prg + Implemented: navigation in "See Also" slot. Functions contained in "See Also" are highlighted as a link where single-click presents the relevant document. ;NOTE: "See Also" functions must ever be delimited with ",". ;GPF: Present at exit. 2010-02-21 18:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h + Added slots covering QListWidget(). + contrib/hbide/resources/dc_pdffile.png * contrib/hbide/resources/docviewgenerator.ui * contrib/hbide/resources/docviewgenerator.uic + Added "Export to PDF Document" icon. * contrib/hbide/hbide.prg * contrib/hbide/ideharbourhelp.prg + Implemented: printing of html document - activated via Print toolbar icon. : export as PDF document - activated via PDF toolbar icon. : syntax-highlighter for "Examples", "Tests" editors. : font Courier new set for "Examples", "Tests", "Arguments" editors. : Home, backward, forward, up navigation. : indexed search - activated via "Index" tab on left pane. : set to load whole tree at first invocation. : tree navigation simplified, honors single click. : added pages for Root, Paths, Files, nodes. ; Now usability of the hbIDE's documentation viewer has increased many folds. I am wondering we have a lot f documentation in place but was invisible. Today I could feel comfortable and hope in coming future almost all of you will contribute for this noble cause. ; Basic functionality of the viewer is almost there. So I will be concentrating on the "Generator/Writer" templates part. Goal is to provide very easy mechanism for a writer * to select a source, * the function(s) within that source, * create basic template skeletons filled with meaningful material for selected functions, * and slots to save them. ; The search engine follows the standard way. * Click on "Index" left-pane tab, * Start typing in function edit box, * As you type, the incremental search is performed and relevant function is brought in focus. The search is case insensitive. * Press enter while in edit control and have function documentation visible in the viewer. * Alternatively you can navigate the Functions list, double-click on one yoy are interested in. ; GPF is still there, struggling. ; Please forward shortcomings. 2010-02-21 22:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * doc/hdr_tpl.txt ! Fixed to use comma (',') separator in $SEEALSO$ section. % Deleted '*' from each line. * Formatting. (CamelCase for functions, uppercase for commands, .T./.F. for logical values) 2010-02-21 20:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbxpp/hbxpp.ch + Added AADD() 3rd parameter emulation. (untested) 2010-02-21 08:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.hbp ! Deleted one source not ready yet. 2010-02-21 07:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/dc_delete.png + contrib/hbide/resources/dc_down.png + contrib/hbide/resources/dc_folder.png + contrib/hbide/resources/dc_function.png + contrib/hbide/resources/dc_home.png + contrib/hbide/resources/dc_left.png + contrib/hbide/resources/dc_plus.png + contrib/hbide/resources/dc_print.png + contrib/hbide/resources/dc_quit.png + contrib/hbide/resources/dc_refresh.png + contrib/hbide/resources/dc_right.png + contrib/hbide/resources/dc_textdoc.png + contrib/hbide/resources/dc_textdocument.png + contrib/hbide/resources/dc_up.png + contrib/hbide/resources/docviewgenerator.ui + contrib/hbide/resources/docviewgenerator.uic * contrib/hbide/resources/help.png + contrib/hbide/resources/searchreplace.ui + contrib/hbide/resources/searchreplace.uic + Added few more images and redefined a prev one. * contrib/hbqt/THbQtUI.prg + Added some more hbqt.ch defined constants in the engine. * contrib/hbide/hbide.ch * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idestylesheets.prg + Implemented an html viewer for Harbour's documentation .txt files with slots to make it a "writer" too if it fits the purpose. ! Reimplemented the "Search-Replace" user interface and working. A work-in-progrss which I will explain later. ; Harbour Documentation Viewer - How to Invoke * Close any docking pane is visible at the right panel. * Point to option on
and click on * A right-side "Document Viewer" window will appear. * Provide Harbour's installation root path in "Harbour Installation Root:" field, i.e., C:\harbour * OR alternatively, you can choose one by clicking "Harbour Installation Root Path" icon on the right of field. * Click "Refresh" icon on the toolbar of "Document Viewer" window" only once and wait a couple of seconds. * "Contents" tab will be populated with /doc and /doc/en folders. * Double-click on one to expand - you will be able to view .txt file names. * Double-click on some .txt node, wait a couple of seconds, and you will be able to see "functions" nodes. * Double-click on the function's node and you will be presented with html display in the "View" tab on the right. * Navigate other tabs on the right, you will understand the contents. * Next time hbIDE will remember Harbour's installation root path. * :( On exit expect to receive a GPF, investigating. Right now only "Viewer" part is ready per preliminary stages. I have a lot of ideas on my drawing-board and would like to hear your opinions. Basic components to write a document are also in place, but I need to gather more info and what else can be included. In the next several days I will be focussing on this tool. Bacco and Vailton, please bear with me, as this interface is the basic requirement of hbIDE which I had kept postponed till now. A stand alone viewer and writer has its own purpose, space, and audience. 2010-02-21 16:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! fixed typo * harbour/src/rtl/hbsocket.c + implemented MS-Windows version of hb_socketGetIFaces() Thanks to Mindaugas for info about SIO_GET_INTERFACE_LIST. Warning: support for above action in WSAIoctl() was added in Win98 so this code probably does not work in Win95. Please test. TODO: 1) add support for IP6 2) add support for Win95 3) add support for fNoAliases switch 4) add support for MAC address setting I hope that MS-Windows developers/users can implement some points from above list. I.e. 3 and 4 can be implemented using information returned by GetAdaptersInfo() function. 2010-02-21 15:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbextern.ch + Added __CLSMSGTYPE function. * config/os2/gcc.mk * Changed to use 'ld' tools directly when creating Harbour dynamic libraries. ; Please test, it's possible that some option have to be deleted, changed, or some system/compiler libs added manually to make it work. 2010-02-21 13:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! fixed typo * harbour/src/rtl/hbsocket.c ! fixed OS2 builds using TCPV40HDRS - please test * harbour/src/vm/classes.c + added new PRG function: __clsMsgType( , | ) -> is one of HB_OO_MSG_* values defined in hboo.ch or -1 if message is not supported. 2010-02-20 23:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rdd/ordwldsk.c * src/rdd/ordcount.c ! Typo. 2010-02-20 22:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * debian/dirs * doc/en/Makefile * harbour.spec ! "en-EN" -> "en" - examples/hbdoc/examples - Deleted outdated docs. 2010-02-20 21:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + doc/en - doc/en-EN - contrib/hbgt/doc/en-EN + contrib/hbgt/doc/en - contrib/hbziparc/doc/en-EN + contrib/hbziparc/doc/en - contrib/rddads/doc/en-EN + contrib/rddads/doc/en - contrib/hbgd/doc/en-EN + contrib/hbgd/doc/en - contrib/hbmisc/doc/en-EN + contrib/hbmisc/doc/en - contrib/hbbtree/doc/en-EN + contrib/hbbtree/doc/en - examples/hbdoc/examples/core_en + examples/hbdoc/examples/en - examples/hbdoc/examples/core_es + examples/hbdoc/examples/es * Renamed to use IETF complient language ID. - examples/hbdoc/examples/hbmisc - Deleted. * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg ! Fixed to not use "en-EN" language code, but plain "en". * examples/hbdoc2/hbdoc2.prg * "en-en" -> "en" 2010-02-20 20:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbwin.ch ! Renamed HB_WIN_RGB_BROWN to HB_WIN_RGB_YELLOW to match real RGB color. I left old RGB_BROWN as is, even if was never really set to brown. 2010-02-20 19:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rdd/Makefile * src/rdd/dbcmd53.c + src/rdd/ordwldsk.c + src/rdd/ordcount.c + Moved Harbour extensions in Clipper namespace to separate sources. 2010-02-20 18:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbsocket.c ! fixed typo 2010-02-20 18:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbsqlit3/hbsqlit3.c ! fixed to work without [U]LONGLONG defined in hbdefs.h 2010-02-20 18:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/task.c ! fixed casting for C++ builds * harbour/src/lang/msges.c ! added hack for Solaris builds where ES is macro TODO: sync names of lang and corresponding codepage modules. * harbour/src/vm/dynlibhb.c * pacified warning * harbour/contrib/xpp/xppextrn.ch * harbour/contrib/xpp/dbcmdx.c * harbour/include/hbextern.ch * harbour/src/rdd/dbcmd53.c ! moved ordWildSeek() from XPP to HBRDD library. I have no idea if XPP has such function or if it's or not compatible with ORDWILDSEEK() functions I created for [x]Harbour * disable ordCount() and ordWildSeek() functions when HB_CLP_STRICT macro is set * harbour/include/hbsocket.ch + added macro values interface info flags: HB_SOCKET_IFF_* + added macro values for interface info array indexes: HB_SOCKET_IFINFO_* * harbour/include/hbsocket.h * harbour/src/rtl/hbsocket.c + added new C function: PHB_ITEM hb_socketGetIFaces( int af, HB_BOOL fNoAliases ); it returns array with existing interfaces description. This code was added for non MS-Windows based platforms only. Support for MS-Windows has to be added yet. Some platforms may not fill all fields in the returned array. When some fields are not supported by platform or interface then they can contain NIL value. On some platforms this code can effectively work only with IP4 interfaces and IP6 ones will need different implementation. TODO: add support for alternative long interface introduced in some new systems using 'struct lifreq' with SIOCGLIF* ioctls instead of 'struct ifreq' and SIOCGIF* TODO: add support for extracting hardware addreses (i.e. ethernet macaddresses) for systems which do not support SIOCGIFHWADDR. Please test this code with OS2 using OpenWatcom and GCC (old and new socket API). I enabled HB_HAS_SOCKADDR_SA_LEN in OS2 builds. OpenWatocm OS2 header files have such fields but I do know if it's also present in GCC socket API. * harbour/include/hbextern.ch * harbour/src/rtl/hbinet.c + added new PRG function: hb_inetIfInfo( [] [, ] ) -> is .F. by default so aliases are included is HB_SOCKET_AF_INET by default is an array in which each entry is also array with the following fields: HB_SOCKET_IFINFO_FAMILY 1 // adress family HB_SOCKET_IFINFO_NAME 2 // interface name HB_SOCKET_IFINFO_FLAGS 3 // flags HB_SOCKET_IFF_* HB_SOCKET_IFINFO_ADDR 4 // interface address HB_SOCKET_IFINFO_NETMASK 5 // subnetmask HB_SOCKET_IFINFO_BROADCAST 6 // broadcast address HB_SOCKET_IFINFO_P2PADDR 7 // point-to-point address HB_SOCKET_IFINFO_HWADDR 8 // hardware address Please use this code on different non MS-Windows platforms: proc main( noAlias ) local iface ? os(), version() ? "interfaces:" for each iface in hb_inetIfInfo( !empty( noAlias ), 0 ) ? hb_valToExp( iface ) next ? return and check if it returns correct information about available interfaces. 2010-02-20 16:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/memvars.c * src/common/hbverdsp.c * doc/whatsnew.txt * include/hbsetup.ch * utils/hbtest/rt_str.prg * "5.3x" -> "5.3b" 2010-02-20 16:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/hbfoxpro + contrib/hbfoxpro/hbfoxpro.ch + Added Visual FoxPro compatibility header. 2010-02-20 15:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/philes.c * include/hbextern.ch + Added HB_CURDRIVE(). Similar to Xbase++ CURDRIVE(), but always provided by Harbour core. * utils/hbmk2/hbmk2.prg - Deleted mapping from hb_CurDrive() to CurDrive(). * examples/httpsrv/uhttpd.prg * examples/httpsrv/modules/tableservletdb.prg * examples/gtwvw/tests/wvwtest9.prg * Changed to use hb_CurDrive() which is always available in Harbour core, instead of Xbase++ specific CurDrive(). 2010-02-20 13:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/Makefile - contrib/xpp + contrib/hbxpp * contrib/hbxpp/Makefile - contrib/hbxpp/xpp.hbc + contrib/hbxpp/hbxpp.hbc - contrib/hbxpp/xppextrn.ch + contrib/hbxpp/hbxppext.ch - contrib/hbxpp/xpp.ch + contrib/hbxpp/hbxpp.ch * contrib/hbxpp/tests/hbmk.hbm * utils/hbmk2/examples/contribf.hbc * Renamed 'xpp' lib to 'hbxpp'. Final name. 2010-02-20 12:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbsetup.ch * src/common/hbverdsp.c - Deleted HB_COMPAT_FLAGSHIP, HB_COMPAT_FOXPRO. * include/hbextern.ch * src/rtl/seconds.c + Added HB_SECONDSCPU() (native Harbour version of FlagShip specific SECONDSCPU()) * tests/memtst.prg * tests/speedold.prg * tests/speedtst.prg * tests/vidtest.prg * Changed to use HB_SECONDSCPU(). + Added translation from SECONDSCPU() to HB_SECONDSCPU() when built for FlagShip (where applicable). * include/hbextern.ch * src/rtl/Makefile - src/rtl/strpeek.c - src/rtl/secondfs.c * contrib/Makefile + contrib/hbfship + contrib/hbfship/Makefile + contrib/hbfship/hbfship.hbc + contrib/hbfship/secondfs.c + contrib/hbfship/strpeek.c - Moved FlagShip specific function from core to new hbfship lib. * Changed SECONDSCPU() to be just a wrapper over core HB_SECONDSCPU(). ; INCOMPATIBLE: If you used SECONDSCPU() function, change it to HB_SECONDSCPU(), or add hbfship to your lib list. If you used STRPEEK() or STRPOKE() functions, add hbfship to your lib list. * utils/hbmk2/examples/contribf.hbc + Added hbfship. 2010-02-20 12:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/common/hbverdsp.c * include/hbsetup.ch * contrib/xhb/xhbver.prg - Deleted HB_COMPAT_VO, HB_COMPAT_DBASE, HB_COMPAT_CLIP as build-time options. They were not used, and in the future these should be implemented as addon libraries. * INSTALL * Minor terminogology adjustment. * examples/hbdoc2/tmplates.prg * examples/hbdoc2/hbdoc2.prg - Deleted special handling of FlagShip functions. 2010-02-20 11:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbextern.ch * src/rtl/browdb.prg * src/rdd/dbcmd.c * contrib/xpp/dbcmdx.c * contrib/xpp/browdbx.prg + Cleaned the way TBrowseDB() "skipper" function is defined. This means that from now on by default the faster, .c implementation will be used (now called __DBSKIPPER()). The same will be used by xpp lib (via compatibility stub called DBSKIPPER()). The .prg implementation (now moved in core) will be used when HB_CLP_STRICT is enabled. * include/hbextern.ch + Added missing HB_DYNCALL(). * contrib/xpp/xpp.ch * Do not #define HB_COMPAT_XPP. 2010-02-20 05:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + contrib/hbziparc/doc + contrib/hbziparc/doc/en-EN + contrib/hbziparc/doc/en-EN/hbziparc.txt * contrib/hbziparc/hbziparc.prg + Separated docs from source code. * include/memoedit.ch * Replaced "#ifdef HB_COMPAT_XPP" with "#ifndef HB_CLP_STRICT". Which means we've endorsed these extensions in Harbour, and they are always enabled except in strict compatibility builds. (one remaining occurence) 2010-02-20 04:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbsetup.ch * src/common/hbverdsp.c - Deleted HB_COMPAT_XPP option. It's no longer used in Harbour. From this point all Xbase++ compatibility functions and core classes are implemented in 'xpp' contrib library (name tentative). Add it to your lib list, if you need Xbase++ compatible functions. IOW HB_COMPAT_XPP build time option got converted to a app link time option. * src/rtl/isprint.c - Deleted dirty Xbase++ extension of ISPRINTER(). Now it's purely Clipper compatible in default build. INCOMPATIBLE. For Xbase++ version, use XPP_ISPRINTER() (or HB_ISPRINTER() which is the exact same). * src/rtl/tobject.prg * src/rtl/transfrm.c * src/rtl/memoedit.prg * include/memoedit.ch * Replaced "#ifdef HB_COMPAT_XPP" with "#ifndef HB_CLP_STRICT". Which means we've endorsed these extensions in Harbour, and they are always enabled except in strict compatibility builds. * src/rdd/nulsys/nulsys.c - Deleted HB_COMPAT_XPP guarded function. * contrib/xhb/xhbver.prg * Always return .T. for _HB_COMPAT_XPP in version info. * include/box.ch * contrib/xpp/xpp.ch + Added Xbase++ compatibility box.ch constants from core box.ch. INCOMPATIBLE if you use B_THIN or B_FAT box style. * utils/hbtest/hbtest.prg * examples/hbdoc2/tmplates.prg * examples/hbdoc2/hbdoc2.prg - Deleted parts dealing with HB_COMPAT_XPP option. 2010-02-20 04:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - src/rtl/browdbx.prg - src/rtl/mousex.c * src/rtl/tbcolumn.prg - src/rtl/philesx.c * src/rtl/Makefile - src/rtl/thfuncx.prg - src/rtl/oemansix.c - src/rtl/tthreadx.prg - src/rtl/tgetx.prg - src/rtl/idlex.c * src/rtl/browdb.prg - src/rtl/typefilx.prg - src/rtl/binnumx.c * src/rtl/tbrowse.prg - src/rdd/dbjoinx.prg - src/rdd/dblistx.prg - src/rdd/dbtotalx.prg - src/rdd/dbstruxx.prg - src/rdd/dbsortx.prg * src/rdd/Makefile - src/rdd/dbcmdx.c - src/rdd/dbdetacx.c - src/rdd/dbupdatx.prg - src/rdd/dbfuncsx.prg * include/hbextern.ch * contrib/xpp/xppextrn.ch * contrib/xpp/binnumx.c * contrib/xpp/tthreadx.prg * Synced contrib/xpp compatibility lib source with core. - Deleted Xbase++ compatibility functions from core. ; NOTE: INCOMPATIBLE. If you use Xbase++ function, you should now link xpp lib. (the name of the lib is not yet finalized) [DONE] ; TODO: Clean remaining four HB_COMPAT_XPP guards and delete this build-time option from core. [DONE] 2010-02-20 03:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/hbgt/doc/en + contrib/hbgt/doc/en-EN - contrib/hbgd/doc/hbgd.txt + contrib/hbgd/doc/en-EN + contrib/hbgd/doc/en-EN/hbgd.txt - contrib/hbmisc/doc/en + contrib/hbmisc/doc/en-EN + contrib/hbbtree/doc/en-EN + contrib/hbbtree/doc/en-EN/hb_btree.txt - contrib/hbbtree/doc/hb_btree.txt * Cleanup to existing doc locations. 2010-02-20 03:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/rddads/doc/en + contrib/rddads/doc/en-EN * Renamed. 2010-02-20 03:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added support for -harbourhelp option which will result in the same output as 'harbour --help' command. + Added reference to -harbourhelp option which display Harbour compiler help. + Added support for -build option support in hbmk2. It will be passed to Harbour compiler. * contrib/hbwin/hbwin.ch * Formatting. 2010-02-19 17:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/dbl2sglquote.png * contrib/hbide/resources/sgl2dblquote.png ! Changed contents. 2010-02-19 17:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/help.png + contrib/hbide/resources/sort.png + contrib/hbide/resources/sortdescend.png + Added new images and changed one old. 2010-02-20 01:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbsetup.h * Changed not to rely on _WIN32_WCE to detect WinCE. * config/wce/global.mk * utils/hbmk2/hbmk2.prg % Changed to not pre-define _WIN32_WCE to any value. This should be user choice. * contrib/hbfimage/fi_winfu.c ! Fixed for WinCE builds. Now only non-WinCE compatible parts are disabled and functions keep being defined on .prg level regardless. * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c % Cleaned logic that guards '_WINDOWS_' definition. * contrib/hbwin/win_bmp.c ! Fixed to use hexadecimal notation instead of octal, because some compilers where getting confused and tried to match these with some codepages. * contrib/hbwin/win_prn1.c ! Fixed for poccarm, because Pelles C (even 6.0) forgets to map FONTENUMPROC to FONTENUMPROCW. * contrib/hbwin/win_prn3.c ! Added some extra WinCE guards to avoid warning for this platform. * src/debug/dbgentry.c * Formatting. 2010-02-19 18:52 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * source/rtl/tthreadx.prg ! fixed ::active iVar to be .F. while thread is not running / has ended. 2010-02-18 19:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/next.png ! Missed from prev commit. 2010-02-18 18:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/closetab.png + contrib/hbide/resources/down.png + contrib/hbide/resources/minus.png + contrib/hbide/resources/previous.png + contrib/hbide/resources/up.png * contrib/hbide/resources/searchreplacepanel.ui * contrib/hbide/resources/searchreplacepanel.uic * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idefindreplace.prg + Implemented ( partial ) extended search/replace panel like Qt itself. This can be activated via or Ctrl+Sh+F. The panel is anchored beneth editor area and above status-bar, or above any other dock-widget at the bottom area is open. It implements incremental search with visual color differentiation. Try typing in some text to find. Still other buttons are inactive. It may take a day to synchronize everything. This implementation adds another value to "Find/Replace". Ctrl+F implementation is there as is. You can take advantage of both. 2010-02-18 23:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/extrap.c + Added MIPS32, MIPS64, IA64, SH CPU dump code. 2010-02-18 11:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg ! Missed from prev commit. 2010-02-18 19:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * external/jpeg/Makefile ! Added jpeg option to make it build with poccarm. 2010-02-18 18:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/cmdarg.c ! Fixed formatting. ! Fixed to enclose newly added code in {} block, otherwise it breaks with C compiler. - Deleted OS/2 specific guard in code section which is not anymore active to OS/2. * examples/gtwvw/hbgtwvw.h ! Fixed to not override manually WINVER. ! Fixed to not set _WIN32_WINNT. 2010-02-18 18:45 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * src/vm/cmdarg.c ! fixed OS/2 was displaying the path of the first .exe with name equal to current process calling hb_DirBase() present in PATH, in my case it was founding d:\tcpip\bin\ftpd.exe instead of current ftpd.exe because c:\tcpip\bin was present in PATH before current dir. * src/rtl/hbsocket.c * OS/2 when building against latest TCP/IP stack has HB_HAS_INET_ATON, HB_HAS_INET_PTON and HB_HAS_INET_NTOP 2010-02-18 16:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg * config/wce/mingwarm.mk * config/wce/poccarm.mk ! Fixes to previous change after testing: - '-D_WINCE' is required by pocc headers, so I've readded it there. - '-DARM' is already defined by mingwarm, so it's not needed. 2010-02-18 16:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbsetup.h * Cleaned the way WinCE is detected. Now looking for UNDER_CE or _WIN32_WCE constants. (was: _WINCE) * utils/hbmk2/hbmk2.prg * Cleaned the way constants are initialized for WinCE platform. It's also means they are now synced with GNU Make build system. This means: UNICODE, _WIN32_WCE (to 0x501), UNDER_CE are always defined. Secondary CPU macros are defined as needed. Removed all the other WinCE related constants. + Defining UNDER_CE and _WIN32_WCE for resource compiler for WinCE targets. * config/wce/global.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * Cleaned the way constants are initialized for WinCE platform. - '-D_WIN32_WCE=0x501 -DUNDER_CE' moved to global, so now these will be equally defined for all WinCE compilers. - Deleted these from msvcarm targets ('-D_WINCE' was apparently used by our own hbsetup.h detection code only): '-D_WINCE -DCE_ARCH -DWINCE -D_WINDOWS -D_UNICODE -D_UWIN' - Deleted this from from poccarm targets: '-D_WINCE' - Deleted several secondary CPU constants for msvc* targets: '-D_ARM_ -DARMV4 -D_ARMV4I_ -Darmv4i -D__arm__' '-D_SHX_' '-D_MIPS_ -DMIPS_HAS_FPU' These are not necessarily true, and not even necessary. I you know otherwise, speak up. - Kept primary CPU constants: '-D_M_*' - Kept secondary CPU constants (needed by some inconsistent Windows header files): '-DARM', '-DSHx', '-DMIPS', '-D_X86_' * config/win/global.mk * Cleaned to use 'HB_BUILD_UNICODE' setting to enable UNICODE for non-x86 targets. * config/win/msvc.mk ! Fixed to respect 'HB_BUILD_UNICODE' user-setting when enabling UNICODE for newer MSVC targets. IOW it's now possible to turn off UNICODE for newer MSVC targets. ; Above should ensure more consistency for different WinCE compilers. Closer behavior and more consistent build logs, with less unnecessary options. 2010-02-18 05:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/searchreplacepanel.ui + contrib/hbide/resources/searchreplacepanel.uic * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg * contrib/hbide/idestylesheets.prg + Prepared to use panel instead of "Replace/Find" dialog. ! Vaiables name uniformity for docking widgets. ! Simplification and centralization of creation of "Docking" widgets. % Fixed to not crash when "Find in Files" was not called before exit. ; Press CTRL+F and see a panel appearing inbetween editor and statusbar. This widget has to be matured a little and will facilitate that search and replace action will never hide any part of the editing area. A final ( uptil now ) reform in user-interface. 2010-02-18 10:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/extrap.c + Added OS/2 CPU dump (x86). 2010-02-18 10:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/extrap.c + Added ARM CPU dump code. + Added placeholder for CE/MIPS/SH CPU dump code. + Added iTODO warnings for non-implemented code sections. + Tweaked and enabled module listing code for WinCE. ; TOFIX: UNICODE conversion is missing from there. ; TODO: Enable exception handler for WinCE. How? * contrib/hbwin/wapi_wingdi.c ! Typo in recent addition. * utils/hbmk2/hbmk2.prg * config/wce/msvcarm.mk * Raised warning level for old msvcarm targets to -W3 (from -W2) 2010-02-17 18:13 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/blockcomment.png + contrib/hbide/resources/environments.ui + contrib/hbide/resources/environments.uic + contrib/hbide/resources/findinfilesex.ui + contrib/hbide/resources/findinfilesex.uic + contrib/hbide/resources/projectpropertiesex.ui + contrib/hbide/resources/projectpropertiesex.uic + contrib/hbide/resources/streamcomment.png + contrib/hbide/resources/themesex.ui + contrib/hbide/resources/themesex.uic * contrib/hbqt/THbQtUI.prg * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/idethemes.prg + This commit implements all other windows ( except Find/Replace ) opened as a docked-window of the main-frame. This facilitates a greater control over the various actions together. This is a major change in the interface, please update your notes. Find/Replace window is scheduled to be contained in separate panel at the bottom of the editor area, right on top of the "Output Console", as is implemented in Qt Creator itself. Please express your opinions. The above should have been the way since begining, but you know, programming skills are polished with time. 2010-02-18 00:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec ! fixed to work with modified library name hbbmcdx -> rddbmcdx * harbour/contrib/hbwin/legacycd.c ! fixed casting for C++ builds 2010-02-17 20:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * use '__int64' instead of 'long long' only in non GCC MS-Windows builds * harbour/tests/bldtest/bldtest.c * use '__int64' instead of 'long long' only in non GCC MS-Windows builds * formatting 2010-02-17 18:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdyn.ch * src/rtl/hbdyn.c + Added support for misc 'options'. Both for return values and parameters. + Added HB_DYN_OPT_NULLTERM option which will cause that buffers passed by reference will return null terminated string (thus cutting the rest of the buffer). % Implemented macros sent to the list by Przemek. This made the source significantly smaller (one quarter of original size) and much easier to manage/modify. Thanks! * tests/testdyn.prg + Added test for zero terminated strings. ! Fixed to set UTF16 mode for Windows "WIDE" call. * contrib/xpp/dllx.c % Minor optimization. 2010-02-17 07:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/blockindentl.png + contrib/hbide/resources/blockindentr.png + contrib/hbide/resources/copy-filname.png + contrib/hbide/resources/deleteline.png + contrib/hbide/resources/duplicateline.png + contrib/hbide/resources/insert-separator.png + contrib/hbide/resources/movelinedown.png + contrib/hbide/resources/movelineup.png + contrib/hbide/resources/spacestotabs.png + contrib/hbide/resources/tabstospaces.png + Icons to represent vrious actions, mainly in editor, provided by Vailton, thank you. * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg ! Changing the icon names only. * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h ! Included more slots provided by Bacco, thank you. Bacco also applied formating to suit longer function names. 2010-02-17 13:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/wapi_wingdi.c + WAPI_TEXTOUT(): Emulating functionality on WinCE platform, so it's now available also on WinCE. * contrib/hbwin/win_prn1.c * Formatting. 2010-02-17 13:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/wapi_wingdi.c ! Typo in recent commit. 2010-02-17 11:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/hbdyn.c ! Adjustments for non-win, non-os2 platforms. 2010-02-17 11:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * tests/bldtest/bldtest.c ! Fixed to build on bcc. * contrib/hbwin/legacycd.c ! Fixed typo (reported as bcc warning). 2010-02-17 11:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/common/hbwince.c * include/hbwince.h ! Added abort() declaration and implementation for poccarm and old msvcarm targets. * contrib/hbwin/win_bmp.c + Enabled for WinCE: WIN_BITMAPDIMENSIONS() * contrib/hbwin/win_bmpd.c + All functions enabled for WinCE. * contrib/hbwin/win_prn1.c + WIN_TEXTOUT() changed to always use ExtTextOut() internally, so that it work on WinCE. (it's also faster) + WIN_CREATEFONT() changed to use CreateFontIndirect() which also works for WinCE. * contrib/hbwin/wapi_wingdi.c + Added WAPI_CREATEFONTINDIRECT(), which always works on both Windows and WinCE. * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c * contrib/hbwin/wapi_wingdi.c + All functions enabled for WinCE. The ones not available on WinCE, will return permanent error. * contrib/hbwin/legacycd.c ! Added missing WinCE header after previous commit. 2010-02-17 09:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/expropt1.c * harbour/contrib/xhb/freadlin.c ! fixed typos in HB_TRACE() debug messages 2010-02-16 18:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/cutb16.png + contrib/hbide/resources/dbl2sglquote.png + contrib/hbide/resources/decreaseindent.png + contrib/hbide/resources/down16.png + contrib/hbide/resources/increaseindent.png + contrib/hbide/resources/sgl2dblquote.png + contrib/hbide/resources/up16.png * contrib/hbide/idedocks.prg + Implemented left-side toolbar containing available panels distinguished by suble color change. Click on one will bring forward the relevant tabs-panel. Tooltip describes which panel it is. + Implemented left-side another toolbar underneath above one giving access to line and block actions. ;NOTE: Please test and forward suggessions. ;REQUEST: Can someone provide relevant .png's to these actions ? I am really poor in drafting something meaningful. 2010-02-17 03:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/legacycd.c ! Fixed GETPROCADDRESS() for WinCE after recent changes. % Re-merged GETPROCADDRESS() with low-level worker function. 2010-02-17 03:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/fstemp.c ! Using hb_fsTempDir() in HB_FTEMPCREATEEX() instead of old solution. This should fix it for some non-*nix platforms where *nix specific TEMPDIR envvar was used to determine temp directory. * contrib/hbwin/Makefile * include/Makefile * src/rtl/Makefile - contrib/hbwin/hbdyn.ch + include/hbdyn.ch - contrib/hbwin/hbdyn.c + src/rtl/hbdyn.c - contrib/hbwin/win_dllc.c + src/rtl/hbdynhb.c - contrib/hbwin/tests/testdll.c + tests/testdyn.c - contrib/hbwin/tests/testdll.prg + tests/testdyn.prg - contrib/hbwin/tests/testdll1.prg + tests/testdyn1.prg - contrib/hbwin/hbdyn.h * include/hbapi.h * Moved dynamic library call related functions to core (RTL). * Windows specific test code (currently all) guarded for platform. * Changed default calling convention to cdecl. Tests adaptd accordingly. * Terminology change: 'dll' -> 'dynamic library' ; HB_DYNCALL() is now part of core Harbour, and it's platform independent. It's platform (ABI) dependent though, and currently x64 and x86/stdcall/syscall/cdecl is supported and these were tested (except OS/2 syscall). * contrib/hbwin/hbwin.h * contrib/hbwin/win_misc.c * contrib/hbwin/legacycd.c * Low level hbwin_getprocaddress() function moved to legacy file and made static. * contrib/xpp/Makefile * contrib/xpp/dllx.c * contrib/xpp/xpp.hbc + Enabled DLL*() functions for all platforms. - Deleted dependence on hbwin library. * contrib/xpp/tests/testdll.prg * Windows specific parts (currently the whole test) guarded for platform. * contrib/hbct/Makefile - contrib/hbct/diskhb.prg * contrib/hbct/disk.c * contrib/xhb/Makefile + contrib/xhb/diskhb.prg * GETVOLINFO() moved from hbct to xhb. * ChangeLog * Marked some TODO/TOFIX items as DONE. 2010-02-17 01:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbmysql/mysql.c ! Typo. 2010-02-17 01:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/xpp/dllx.c * contrib/hbwin/hbdyn.c * contrib/hbwin/hbdyn.ch + Implemented 'syscall' calling convention for OS/2. % hb_dynCall() now won't include English text is error message, but use EG_LIMIT to signal too many parameters. * contrib/hbmysql/mysql.c + Implemented MYSQL_INSERT_ID(). * long -> HB_SIZE % Minor cleanup. 2010-02-17 00:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbsocket.c * added iTODO warning to OpenWatcom Linux builds * harbour/src/debug/dbgtmenu.prg ! fixed code used for debugger menu to be MT safe 2010-02-16 23:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c ! Fixed missing Windows constant on some compilers (older mingw I suppose), after deleting _WIN32_WINNT override. * contrib/xpp/Makefile + contrib/xpp/dll.ch + Added Xbase++ compatibility header. * contrib/xpp/dllx.c + Described Xbase++ differences. (major ones) ! Changed DLLLOAD()/DLLUNLOAD() to use core loader functions, instead of win-specific ones. + Made calling convention value Xbase++ compatible. * contrib/hbwin/hbdyn.ch + Added Pascal calling convention. Not yet implemented. 2010-02-16 21:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/xpp/Makefile - contrib/xpp/win_dllx.c + contrib/xpp/dllx.c * contrib/xpp/tests/testdll.prg + Adapted Xbase++ compatible DLL*() functions to use core dynamic lib handling functions. * Renamed source file, now that it's not Windows specific. + Updated tests. ; NOTE: Please review this code. It's the first time I used GC references in code, and it may be wrong. ; TODO: Remove hbwin dependence after having moved hb_dynCall() from hbwin to core. [DONE] + contrib/xpp/tests/hbmk.hbm + Added missing file from prev commit. * contrib/hbwin/tests/testdll.prg * Updated for latest HB_DYNCALL() changes. * ChangeLog ! Updated WIN_DLLCALL() -> HB_DYNCALL() change. This is the full list of lost features (all due to non-portability): - Specifiying function by (numeric) ordinal. - Passing function pointer directly. - Automatic lookup for function names with 'A' and 'W' ending. - Automatic UNICODE encoding for functions ending with 'W'. 2010-02-16 19:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c * Replaced _WIN32_WINNT redefinition with #definition of WS_EX_LAYERED constant, in case it's not defined by Windows headers. * contrib/hbwin/wapi_wingdi_font.c + Accessing the W2K specific functions dynamically. + Defining the high-level functions also in WinCE, returning permanent error. ! Deleted _WIN32_WINNT redefinition. ; Someone pls test these using older compiler/SDK version. 2010-02-16 09:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idestylesheets.prg + Started left-hand toolbar(s) to present visual interactions for a number of hidden actions. A work-in-progress. * contrib/hbqt/THbQtUI.prg ! Fixed object destruction sequence per latest changes in HbQtUI() class. 2010-02-16 16:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/wce_smsc.c ! Fixed to skip content for msvc 2003 in C mode. * config/globsh.mk + Now also deleting .pch (MSVC precompiled header) files on clean, in case someone enables them. ; NOTE: I turned out all my tests using "msvc 2003" compiler was in fact a 12.20.9615 (_MSV_VER=1201, clarm.exe) version compiler, which equals to VC++ 6.0. Just for the record, since I can't oversee what WinCE compilers were released between this and MSVC2005 (8.0/1400), so until then I have to assume that everything below 8.0 are "old" msvcarm versions (7.1/1310 or lower). 2010-02-16 15:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg ! Fix to add 'lib' prefix for gcc compiler when using -implib option. + Added comment detailing prev change. * config/wce/msvcarm.mk * config/win/msvc.mk - Deleted -YX option. We don't want to force precompiled headers by default on older MSVC versions. 2010-02-16 11:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbthread.h * src/vm/fm.c ! Tweaks to allow msvcarm 2003 build. * src/vm/maindllp/dllpcode.c * src/vm/maindllh.c ! Deleted (AFAIK unnecessary) HB_EXPORT to make msvcarm 2003 happy. * src/common/hbgete.c * src/rtl/net.c ! Fixed missing #include hbwince.h. * external/sqlite3/Makefile - Disabled for msvcarm 2003. * contrib/gtalleg/Makefile - Disabled for msvcarm. * contrib/hbodbc/Makefile * contrib/rddsql/sddodbc/Makefile ! Do not force sql.h header for msvcarm 2003. * contrib/rddbmcdx/hbbmcdx.h ! Fixed HB_EXTERN placement to make msvcarm 2003 happy. * contrib/hbct/ctnet.c * contrib/xhb/hbsyslog.c * contrib/xhb/hbserv.c * contrib/hbtpathy/tpwin.c * contrib/hbnf/getenvrn.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/olecore.c * contrib/hbwin/win_dlg.c ! Fixed to make them compile on msvcarm 2003. * config/wce/msvcarm.mk * utils/hbmk2/hbmk2.prg ! Fixed warning option for msvcarm 2003. * utils/hbmk2/hbmk2.prg ! Fixed type causing RTE with msvcarm targets. ; NOTE: hbcurl doesn't build with msvcarm 2003, so either don't enable it, or experiment with HB_USER_CFLAGS=-U_WIN32_WCE hack. The problem lies somewhere in libcurl headers, not Harbour code. 2010-02-16 09:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_dllc.c * contrib/hbwin/tests/testdll.prg * Replaced WIN_DLLCALL() with portable (non Windows-specific) HB_DYNCALL(), which uses Harbour core function to handle dynamic libs. This also means there is two former feature lost: - Specifiying function by (numeric) ordinal. - Passing function pointer directly. - Automatic lookup for function names with 'A' and 'W' ending. - Automatic UNICODE encoding for functions ending with 'W'. ; TODO: Make the default calling convention cdecl? [DONE] ; TODO: Move 'hbdyn' subsystem to core after review. [DONE - no review yet though] ; HB_DYNCALL() should be called as follows: HB_DYNCALL( | , ... ) -> where can be: { , | [, [, , ..., ]] } where can be: hb_bitOr( HB_DYN_CTYPE_*, HB_DYN_ENC_*, HB_DYN_CALLCONV_* ) can be: hb_bitOr( HB_DYN_CTYPE_*, HB_DYN_ENC_* ) * contrib/hbwin/win_dllf.prg * Renamed WIN_DLLCALLFOXPRO() to HB_DYNCALLFOXPRO(). 2010-02-15 19:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg + Project Management: first steps to integrate with .hbp engine. % 'Project Location' made sensitive to valid/invalid path with different background color. 2010-02-15 23:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbmysql/hbmysql.hbc * contrib/hbpgsql/hbpgsql.hbc * contrib/rddsql/sddmy/sddmy.hbc * contrib/rddsql/sddpg/sddpg.hbc * Adjusted 3rd party lib names to work out-of-the-box on *nix platforms. 2010-02-15 15:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbfbird/firebird.c ! use native type for GC pointer item holder instead of casting to 'void *'. Such casting may strip significant data when handler is wider type then pointer. * harbour/contrib/hbnf/fttext.c ! fixed unnecessary casting 2010-02-15 12:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c * minor cleanup * harbour/src/vm/dynlibhb.c ! added missing #include "hbwince.h" 2010-02-15 12:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * INSTALL * Changed to use win-make/dos-make in examples. * contrib/hbwin/win_tbmp.prg - Deleted XBPBITMAP class mapped to WIN_BMP. This should be the job of HBXBP. * contrib/xpp/xpp.hbc + contrib/xpp/tests + contrib/xpp/tests/testdll.prg * contrib/xpp/Makefile + contrib/xpp/win_dllx.c * contrib/hbwin/Makefile - contrib/hbwin/win_dllx.c * contrib/hbwin/tests/testdll.prg + Moved Xbase++ compatible DLL functions to xpp lib. * INCOMPATIBLE change. If you use these functions (DLL*()) add xpp lib to your lib list. ; Finally we don't have any HB_COMPAT_* dependent parts in hbwin. * contrib/hbwin/hbwin.ch * Changed to use full (0xFF) color components for RGB presets. * contrib/gtwvg/Makefile * Deleted trailing spaces. 2010-02-15 10:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/src/vm/hvm.c + added new C function hb_vmFindFuncSym() which looks for function with given name registered in HVM by dynamically loaded library. It looks for public function and if public function cannot be located it tries to find first static function which has requested name. * harbour/include/hbapi.h * harbour/src/vm/dynlibhb.c + added new C functions to manage dynamic libraries: PHB_ITEM hb_libLoad( PHB_ITEM pLibName, PHB_ITEM pArgs ); HB_BOOL hb_libFree( PHB_ITEM pDynLib ); void * hb_libHandle( PHB_ITEM pDynLib ); void * hb_libSymAddr( PHB_ITEM pDynLib, const char * pszSymbol ); * harbour/include/hbextern.ch * harbour/src/vm/dynlibhb.c - removed HB_LIBDO() PRG function. If someone used it then please use DO() instead + added new PRG function: HB_LIBGETFUNSYM( , ) -> | NIL It works in similar way to HB_HRBGETFUNSYM() but it looks for PRG function in given library. It tries to find public function and if such function does not exists it looks for first static one. is library handle returned by HB_LIBLOAD() is PRG function name. is symbol of located function If function can be found HB_LIBGETFUNSYM() returns NIL. Warning: this function returns only symbols for functions registered in HVM when library was loaded. It will not return symbols for functions written in C and not explicitly registered using own symbol table. 2010-02-14 17:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvgscrlb.prg ! Defined method :configure() as VIRTUAL. * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg + Added class variable :block which can be set with qEdit:hbSetEventBlock( bBlock ). I did not set it via the constructor as it is implementation specific. The goal was to capture mouse or other events which are consumed by parent class itself and are not forwarded to the widget. At present it is used to inform double-click event to qEdit and is scheduled to be extended. * contrib/hbqt/hbqt_misc.prg + Added method :from(), synonymous to :configure() to avoid grasping confusion. Now both syntaxes are supported: qCursor := QTextCursor():configure( qEdit:textCursor() ) qCursor := QTextCursor():from( qEdit:textCursor() ) * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg + Project Management: enabled "Launch Parameters" which are supplied to the executable if "Launch..." is selected with build or otherwise. : supressed auto expansion of "Current Project" at startup. Was a constant cause of annoyance if the project tree been fairly large. + Docking Windows: reworked to occupy proper corners. Please delete idesettings.ini. ! Find_Replace Dialog: set to find from begining if "Find What" is changed. ! Code Skeletons: fixed to not append blank lines while called. : selection menu appears at the current cursor coordinates. + Editor: double-click on some word place the selection in copy buffer in case that word is selected. This feature I always wished-for in xMate. + Editor: highly .prg code suited indentation engine. It comprise so many factors to explain. Please test. I feel you will be really happy. Also let me know what else can be implemented. Code is now under my grasp and probably more ideas are already building up. 2010-02-14 21:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/tests/testdll1.prg + Displaying success/failure. * contrib/hbwin/win_dllf.prg % Using hashes. 2010-02-14 15:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbdyn.c % Minor cleanup. * contrib/hbwin/win_dllf.prg ! Fixed to be case-insentitive for keywords. 2010-02-14 15:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * redirect GetProcAddress() to GetProcAddressA() in WinCE builds. ASCII version of GetProcAddress() is supported by WinCE 3.0 and later versions. * harbour/include/hbdefs.h - removed HBTEXT() macro * harbour/src/common/hbver.c * harbour/src/rtl/diskspac.c * harbour/src/rtl/disksphb.c * harbour/src/rtl/gtwvt/gtwvt.c * harbour/src/vm/extrap.c * harbour/src/vm/maindllp/dllpcode.c * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/hbwin/wapi_winbase.c * harbour/contrib/hbwin/axcore.c * harbour/contrib/hbwin/mapi.c * harbour/contrib/hbwin/win_prn2.c * harbour/contrib/hbwin/win_prn3.c * harbour/contrib/hbwin/wapi_shellapi.c * eliminated HBTEXT() macro * harbour/src/rtl/diskspac.c * harbour/src/rtl/disksphb.c * harbour/contrib/hbwin/wapi_winbase.c % optimized GetProcAddress() calls to store function addresses in static variables 2010-02-14 15:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbdyn.c ! Fixed handling of HB_DYN_ENC_RAW and HB_DYN_CTYPE_CHAR_UNSIGNED buffer handling. * contrib/hbwin/tests/testdll1.prg + Added new test. ! Minor cleanup to prev tests. * contrib/hbwin/Makefile + contrib/hbwin/win_dllf.prg + Added WIN_DLLCALLFOXPRO( [, ] ) -> where is a valid Visual FoxPro declare command: "DECLARE [cFunctionType] FunctionName IN LibraryName [AS AliasName] [cParamType1 [@] ParamName1, cParamType2 [@] ParamName2, ...]" See more here: http://msdn.microsoft.com/en-us/library/ydcf39aa(VS.80).aspx * contrib/hbwin/Makefile - contrib/hbwin/win_dll.c + contrib/hbwin/win_dllc.c * Renamed. 2010-02-14 13:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/achoice.prg ! Fixed/added cursor positioning to resemble to Clipper. * tests/ac_test.prg + Shows row/col when entering callback function. * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * Formatting. * contrib/hbwin/hbdyn.c - Deleted recently added, but finally unused union member. 2010-02-14 13:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * ChangeLog + Added more description to WIN_DLLCALL() function usage. * contrib/hbwin/hbdyn.c + Type conversion fixes after actual testing. Now everything should work except float parameter passing on x64 and passing/receiving unsigned longlongs to/from .dlls on both x64/x86. I couldn't found how to interact properly with HVM in this case. Please review remaining TOFIXes. + contrib/hbwin/tests/testdll1.prg + contrib/hbwin/tests/testdll.c + Added code to test parameter passing. * contrib/hbwin/legacycd.c * contrib/hbwin/win_dll.c + Forcing stdcall calling convention. (it's the default yet, but this may change to cdecl). * contrib/hbwin/win_dll.c * bUNICODE -> bWIDE. * contrib/hbwin/hbdyn.ch + Added comment. * include/hbdefs.h * Typo in comment. * contrib/hbwin/Makefile ! Added missing hbdyn.h. * utils/hbmk2/hbmk2.prg ! Fixed to never add double backslash to output dir. 2010-02-13 23:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/wapi_winbase.c ! fixed WAPI_GETPROCADDRESS() to work in WinCE builds (missing in previous ChangeLog entry) * harbour/contrib/hbwin/wapi_winbase.c ! cleaned library handle usage in WAPI_GETLONGPATHNAME() * harbour/contrib/hbwin/wapi_winbase.c * harbour/contrib/hbwin/wapi_winbase_mutex.c * added small description for few functions excluded by HB_OS_WIN_CE macro. 2010-02-13 22:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbdyn.c ! Fixed to honor length when returning HB_DYN_CTYPE_CHAR_UNSIGNED_PTR by reference. 2010-02-13 20:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbdyn.h * contrib/hbwin/hbdyn.ch * Cleanup in comments. 2010-02-13 20:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/Makefile + contrib/hbwin/hbdyn.h + contrib/hbwin/hbdyn.ch + contrib/hbwin/hbdyn.c * contrib/hbwin/hbwin.h * contrib/hbwin/hbwin.ch * contrib/hbwin/win_misc.c * contrib/hbwin/win_dll.c * contrib/hbwin/win_dllx.c * contrib/hbwin/legacycd.c * contrib/hbwin/tests/testdll.prg + Separated OS-independendent dynamic call support from Windows-specific parts. * Changed names to reflect that. 2010-02-13 20:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_dll.c % Final planned step to remove a remaining redundancy. % Minor optimization. 2010-02-13 20:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_dll.c * Changed names to be OS neutral. ; Low-level dynamic lib call support should now work on all x86 and x64 platforms, possibly also on ARM (and maybe even more). In this sense, it should not be placed in hbwin lib. 2010-02-13 18:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbwin.h * contrib/hbwin/hbwin.ch * contrib/hbwin/win_dllx.c * contrib/hbwin/win_dll.c * contrib/hbwin/legacycd.c * contrib/hbwin/tests/testdll.prg + Reworked WIN_DLLCALL() and low-level hbwin_dllCall() interfaces. * WIN_DLLCALL() should be called as follows: WIN_DLLCALL( | , ... ) -> where can be: { | , | [, [, , ..., ]] } { [, [, , ..., ]] } where can be: hb_bitOr( HB_DYN_CTYPE_*, HB_DYN_ENC_*, HB_DYN_CALLCONV_* ) can be: hb_bitOr( HB_DYN_CTYPE_*, HB_DYN_ENC_* ) constants declared in hbdyn.ch. With above API it's possible to access all low-level options and merge all possible call types in one call. If passing function ordinal or name, it will also autodetect UNICODE mode. Autodetection turns on UNICODE mode for WinCE permanently and for functions ending with 'W'. * Call convention, C type and unicode flags are now merged into one callflag value. * Unicode flag extended to RAW, ASCII, UTF8, UTF16. + Added support for UTF-8 and forced raw encoding for char pointer types. * GETPROCADDRESS() finally moved to legacy source. * contrib/hbsms/hbsms.prg ! Fixed SMS_SEND() to return numeric value when port couldn't be opened. 2010-02-13 15:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! fixed typo * harbour/contrib/hbwin/wapi_winbase.c ! fixed WAPI_GETLONGPATHNAME() to compile and work with older header files and windows versions. When GetLongPathName() is not available then this function is redirected to GetShortPathName() 2010-02-13 13:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_dll.c % Further simplification of internal structures. + Added provisions to control UNICODE conversion on a per argument basis. 2010-02-13 13:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_dll.c % Optimization to parameter type storage. 2010-02-13 13:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_dll.c ! Fixed to unshare all HVM strings before passing them to callee. * contrib/hbwin/tests/testdll.prg ! Deleted two commented test call, which corrupted memory anyway due to too small buffer passed to low-level function. 2010-02-13 03:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/resources/skeletons.ui * contrib/hbide/resources/skeletons.uic * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg + Implemented "Invert Case" feature. % All operations applied on selected text do not remove selections. However "undo/redo" does not respect selections. + Added main-menu option which presents toggling feature for all implemented docked windows. It facilitates clubbing all toggle actions at one convenient place. + Implemented "Code Skeletons". How to write ============ * Click main-menu option and select . * "Code Skeletons" window will open at the right-docking area. * Close other docks if open to make room for its components. * Click button, a dialog will appear requesting a "Name". * Enter recognizable name for this skeleton, i.e., "DO CASE 3", where "3" will represent that this case statement contains 3 iterations of CASE statement. It is just an example, follow your way of recognitions. * After you click the name will appear in "Identity" list-box. * Start writing in "Code Snippet" editor, like: DO CASE CASE x == CASE x == CASE x == ENDCASE * After you are done with it, click . * Repeat the process for some other skeletons. * Do not forget to click even after slightest modification. This will ensure that your skeleton is always in order. * If you wish to change the name, click on that "Name" in "Identity" list-box and click , follow next process. Click to save permanently. * is not working yet. * Navigate the skeletons by clicking on the prompts; you will find the attached code in the editor below. How to Call =========== * While in the editor tab, position your editing cursor at desired column. * Press Ctrl+K, a context menu will appear near left-upper part of the editing tab containing all skeletons you wrote. * Use arrow-up/down keys to desired skeleton and press . * The code skeleton will be inserted in the source aligned to the column you started with. The cursor will be anchored on the same place. * Alternativly you can use mouse, but keyboard navigation is simple in this context. * Note that alignment and indent of inserted code skeleton is perfect to starting column. Note: Your suggessions are welcome to enhance this feature. 2010-02-13 12:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/strapi.c ! fixed hb_[w]strunshare() functions to always clone writable buffers shared by two or more different objects or items. 2010-02-13 11:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/wapi_winbase.c + Added WAPI_GETLONGPATHNAME() (same code as the short version) 2010-02-13 11:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_dll.c % Optimization steps. * Syncing between win64/win32 sections. * contrib/hbwin/tests/testdll.prg + Added new tests, but they GPF due to corrupted internals, so they are commented for now. 2010-02-12 18:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/qtgui/filelist.mk + contrib/hbqt/qtgui/QPlainTextDocumentLayout.cpp + contrib/hbqt/qtgui/TQPlainTextDocumentLayout.prg + contrib/hbqt/qth/QPlainTextDocumentLayout.qth + Added one more class. + contrib/hbide/resources/skeletons.ui + contrib/hbide/resources/skeletons.uic + Added widget definition to hold user input for "code skeletons". * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idesources.prg * contrib/hbide/idethemes.prg + Prepared to fetch "Code Skeletons" from the user which will be made available to be inserted into the source being edited. To have a preview as to what will go inside the implementation, click on "{}" icon on the toolbar. ! Fixed not to load whole document and highlight when hbIDE is terminated. This reduces termination time to bare minimum. + Implemented "Convert Single Quotes to Double" and its reverse, accessible from main-menu options. First select the part of the source you want to apply these options, then click on relevant menu option. A toolbar implementation will be better which I am looking into how it can be presented in an aesthetic way. ! Fixed many more artifacts. ; NOTE: Regression is possible, please report issues, if any. 2010-02-13 02:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/hbwin.ch + added WIN_OFN_* constants * harbour/contrib/hbwin/win_dlg.c + added WIN_GETOPENFILENAME( [[@]], [], ; [], [], ; [], [[@]], ; [] ) -> | + e"\0" + [ + e"\0" + ] | "" + added WIN_GETSAVEFILENAME( [[@]], [], ; [], [], ; [], [[@]], ; [] ) -> | + e"\0" + [ + e"\0" + ] | "" * harbour/contrib/hbwin/wapi_winbase.c * cleaned WAPI_GETSHORTNAME() function parameter to strictly respect the following parameters syntax. WAPI_GETSHORTPATHNAME( [, @ [, ] ] ) -> < nShortLenght> % eliminate double call to GetShortPathName() in WAPI_GETSHORTNAME() when all parameters are given or second one is not passed by reference % try to use static buffer to eliminate double call to GetShortPathName() when WAPI_GETSHORTNAME() is called without 3-rd parameter 2010-02-12 21:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h * HB_BYTE made a synonym for HB_UCHAR. HB_BYTE is only there for convenience, HB_UCHAR is recommended for unsigned byte streams. * HB_U8 now based on HB_UCHAR. ! Fixed UINT64/INT64 left defined in some cases. * contrib/hbwin/hbwin.h * contrib/hbwin/hbwin.ch * contrib/hbwin/tests/testdll.prg * contrib/hbwin/win_dll.c * contrib/hbwin/legacycd.c + Added LONGLONG C types. + Added support for user-specifiable parameter types. This works now in low-level C dll call function and also on high level in HB_DLLCALL(). + Added support for LONGLONG/int64 integers. + Added support for raw strings. (no UNICODE or codepage conversion). ! Fixed typo in iRetTypeRaw assigment. + Added one new test for param type spec test. (pretty bare) ! Fixed WAPI_GETPROCADDRESS() to GETPROCADDRESS(). Latter has some extra features so we still need it. * GETPROCADDRESS() moved back to non-compatibility. ; Please review the code. There are some integer conversion which might not be proper (& 0xFFFF). * utils/hbmk2/hbmk2.prg ! Typo in recently added help text. * contrib/Makefile - contrib/hbbmcdx + contrib/rddbmcdx * contrib/rddbmcdx/bmdbfcdx.c * contrib/rddbmcdx/Makefile * Renamed hbbmcdx to rddbmcdx. * More cleanup to RDD code. (sync with rddcdx, deleted unnecessary lines) - Deleted "turbo" functionality. BM_TURBO() is now a dummy. AFAIR this isn't safe, and even if it is it should be implemented differently, not as a static variable. 2010-02-12 12:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/Makefile * contrib/hbwin/win_dll.c + contrib/hbwin/win_dllx.c * contrib/hbwin/legacycd.c + Moved LOADLIBRARY(), FREELIBRARY() and GETPROCADDRESS() to legacy source. + Moved Xbase++ compatibel DLL interface to separate Xbase++ specific file. ; From now on the recommended native DLL interface for Harbour apps is: WAPI_LOADLIBRARY(), WAPI_GETPROCADDRESS(), WAPI_FREELIBRARY() and WIN_DLLCALL() ; TODO: Solve GC collected HMODULE in above WAPI LIB handling functions. ; TODO: Clean HB_LIB*() vs. WAPI LIB handling confusion. * contrib/hbwin/tests/testdll.prg * Changed to use WAPI_LOADLIBRARY()/WAPI_FREELIBRARY() ! Fixed one remaining CALLDLLTYPED() call. - Deleted no more valid comment about not-working libcurl .dll call. Now it works. 2010-02-12 12:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbwin.ch + Added HB_WIN_DLL_CALLCONV_* macros. (so far only privately defined inside .c code) + Added HB_WIN_DLL_CTYPE_* macros. (so far only privately defined inside .c code) + Reworked HB_WIN_DLL_CTYPE_* macro values. INCOMPATIBLE. Since they weren't previously documented, this should not be a breakage, pls report it if this is a problem. ! Fixed .ch syntax to also work in .c files. * contrib/hbwin/hbwin.h * contrib/hbwin/legacycd.c * contrib/hbwin/win_dll.c * contrib/hbwin/tests/testdll.prg * Using hbwin.ch for callconv and C type constants. + Added public low-level interface: hbwin_dllCall(). This has provision for exact parameter type specification. * Changed Harbour level functions to use new public interface hbwin_dllCall(). + Moved CALLDLL(), CALLDLLBOOL(), CALLDLLTYPED() to legacy source. * HB_DLLEXEC structure made private to XPP compatibility section. + Added new WIN_DLLCALL() API. This can replace all old CALL*() function and give more flexibility. Its first parameter is an optional array, which can specify calling convention (it was fixed in old implementation), return type and UNICODE swicth, plus it has provision to specify parameter types, too. + Changed test app to use new WIN_DLLCALL() API. * hb_getprocaddress() made public (but not exported) and renamed to hbwin_getprocaddress(). * config/wce/mingwarm.mk * config/win/mingw.mk - Deleted hack to always add frame buffer for hbwin. It's not necessary anymore. 2010-02-12 10:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_dll.c + Reimplemented win32 .dll calls using pure C code. ; Please review it. Especially around the few TODO/TOFIX notes. It would also be great of someone could make some test on WinCE platform. 2010-02-11 19:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_dll.c + Added UNICODE and codepage conversion support for win32 .dll calls, too. ! Fix to win64 double support. 2010-02-11 18:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_dll.c + Added 'double' type support for win64 .dll call. ; Untested, pls review. 2010-02-11 18:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_dll.c % Simplified win64 support. ! Fixed win64 support for returning parameters passed by reference. * ChangeLog * Old TOFIXes marked DONE. 2010-02-11 18:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_dll.c - Deleted WINAPI keyword from win64 .dll support. It has no meaning under win64, and win64 .dll support is not only meant to access winapi functions anyway. 2010-02-11 13:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * external/libhpdf/Makefile * Suppressing 'deprecated' warnings in libharu code until it gets updated for libpng 1.4. 2010-02-11 12:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/wapi_wingdi.c ! Fixed return value of WAPI_SELECTOBJECT() again. 2010-02-11 12:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/direct.c * int -> HB_SIZE * contrib/hbwin/wapi_wingdi.c ! Fixed return value of WAPI_SELECTOBJECT() * contrib/hbwin/tests/testdll.prg + Minor. * contrib/hbwin/win_dll.c ! Fixed typo in byref parameter handling. Thanks to Xavi for noticing it. * Deleted unused union members from win32 retval support, renamed the rest. * utils/hbmk2/hbmk2.prg + Added -3rd= option. This is always ignored by hbmk2 and it allows to store extra, non-hbmk2 information in hbmk2 make files. F.e.: -3rd=-hbide_friendlyname=MyProject 2010-02-11 04:25 UTC+0100 Xavi (jarabal/at/gmail.com) * contrib/hbwin/wapi_winbase.c + Added wapi_GETSHORTPATHNAME() 2010-02-10 20:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/achoice.prg ! fixed typo in one of recent modifications which caused RTE in ac_test.prg ! fixed yet another typo which removed nMode setting ! fixed to not execute user procedure when no item is active at startup. This problem was visible in ac_test2.prg 2010-02-10 15:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/procaddr.c ! added missing #include "hbvm.h" 2010-02-10 15:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg + Enabled -implib option in -hbexe (default) mode. (except for dos/djgpp, pls add it manually) + Enabled -map option in -hbdyn mode for some targets where it was missing. (except for dos/djgpp, pls review this case) 2010-02-10 14:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/binnum.c * src/rtl/ampm.c * src/rtl/descend.c * src/rtl/at.c * src/rtl/console.c * src/rtl/cdpapi.c * src/rtl/accept.c * src/rtl/filebuf.c * src/rtl/cdpapihb.c * src/rtl/ati.c * src/rtl/binnumx.c * Renamed variables. * contrib/hbodbc/odbc.c * contrib/rddsql/sddodbc/odbcdd.c * Formatting. * contrib/hbbmcdx/bmdbfcdx.c ! Prefixed static variable with 's_' * contrib/hbbmcdx/hbbmcdx.h * Synced with include/hbrddcdx.h * utils/hbmk2/hbmk2.prg ! Fixed problem with generated implib name when using -implib option. It only worked as expected with bcc. 2010-02-10 12:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/Makefile * harbour/src/pp/hbpp.c ! fixed compilation with HB_DYNLIB macro - harbour/src/vm/maindll.c - removed unused dummy file * harbour/src/vm/Makefile * harbour/include/hbapi.h + harbour/src/vm/procaddr.c + added hb_vmProcAddress() function * harbour/include/hbdefs.h + added HB_EXPORT_ATTR and HB_IMPORT_ATTR macros - they are always defined regardless of HB_DYNLIB macro state * harbour/src/vm/maindllh/Makefile * disabled HB_DYNLIB * harbour/src/vm/maindllp/Makefile + harbour/src/vm/maindllp/dllpcode.c + added new import library for PCODE DLLs. It contains wrappers for hb_vmProcessSymbols() and hb_vmExecute() implemented in a way which creates minimal speed overhead. + added error reporting (MessageBox()) when redirected functions cannot be found. + added hb_dllGetProcAddress() C function * harbour/include/hbtypes.h - harbour/src/vm/maindllp.c + harbour/src/vm/maindllp/dllext.c * moved old wrappers to some of extended and array API functions into separate file * updated to use hb_dllGetProcAddress() - removed functions which should not be used by user code % cleaned, optimized and added error reporting to function wrappers. I do not know who chose exported functions but it looks like a quite random set which should be extended for real functionality. If someone is interested then he can do that. I updated this file only for backward compatibility. Above modifications allows to use PCODE DLLs with any application also static ones using Harbour compiled without exported symbols. It's enough to link it with this function: HB_EXPORT_ATTR PHB_FUNC dll_hb_vmProcAddress( const char * szFuncName ) { return hb_vmProcAddress( szFuncName ); } The official form of including above function to final binaries is not defined yet. 2010-02-10 01:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/docs/idemainpage.html * contrib/hbide/docs/multiviews.html * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg + Extended Find-in-files search to sub-folders. + Implemented navigation in "hbIDE Help" under context menu. % Normalized status-bar panels, added distinct colors where required. 2010-02-09 18:25 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/docs + contrib/hbide/docs/idemainpage.html + contrib/hbide/docs/interfaceelements.html + contrib/hbide/docs/multiviews.html * contrib/hbide/resources/help.png * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideobject.prg + Implemented basics of ib-build help mechanism. It is working in a limited manner and is scheduled to be matured in next few days, at-least from operations point-of-view. QtextBrowser() accepts a sub-set of html commands and hence is very limited in appearnce. As we have decided against QtWebkit, this implementation may not look highly professional, will surely solve our purpose. If someone is willing to extend help in this direction, then following are the guidelines how you should design html page: 1. Open Qt Creator 2. Create a widget in the designer. 3. Place a QTextBrowser control somewhere. 4. Double-click within the control. 5. A rich-text editing box will appear. 6. Design the page. 7. Click on the "Source" tab at the bottom. 8. Select the whole source with Ctrl+A and copy with Ctrl+C. 9. Create a .html file with notepad, paste the source, and save. The process is lengthy, but no other html editor solves our purpose due to limited html tags availability in QTextBrowser. 2010-02-09 21:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h + Added more info on HB_SIZE/HB_ISIZ future plans. * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c - Deleted ( HB_SIZE ) casts in more obscure places. * utils/hbmk2/hbmk2.prg + -hbnolib option is now automatically enabled in -hbdyn mode. To disable it anyway, -hbnolib- option can be used. 2010-02-09 08:38 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idesources.prg + Implemented multiple views. How it works: * Select "New..." from drop-down menu of "Views" combo-box in toolbar. * An input dialog opens, provide a useful name, keep it "one word" if possible * Press or click "Ok", a blank edit area will come-up. * Make ususal operations to add/delete/move sources. * You must be able to see view's name in the status-bar in blue. * Thus created "view" name will appear in the drop-down list. * To switch to another view, select it from same drop-down. * To verify, come out of the hbIDE and re-enter. * Voila, you have the "views" created. * "Main" view or say "root" view is always present. ;Please report if anything is missing or could be better. 2010-02-09 15:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/pp/ppcore.c * src/vm/strapi.c * src/vm/debug.c * src/vm/itemapi.c * src/vm/cmdarg.c * src/vm/set.c * src/debug/dbgentry.c * src/common/hbfsapi.c * src/common/hbstr.c * src/common/strwild.c * src/nortl/nortl.c * src/rtl/lennum.c * src/rtl/strmatch.c * src/rtl/gtstd/gtstd.c * src/rtl/hbstrfmt.c * src/rtl/transfrm.c * src/rtl/gtcgi/gtcgi.c * src/rtl/filesys.c * src/rtl/console.c * src/rtl/hbgtcore.c * src/rtl/cdpapi.c * src/rtl/gtclip.c * src/rtl/mlcfunc.c * src/rtl/itemseri.c * src/rtl/gtpca/gtpca.c * src/rtl/samples.c * src/rtl/gete.c * src/rdd/workarea.c * src/rdd/hsx/hsx.c * src/rdd/hbsix/sxsem.c * src/rdd/hbsix/sxfname.c * contrib/xhb/dbf2txt.c * contrib/xhb/datesxhb.c * contrib/xhb/dbgfxc.c * contrib/hbmzip/hbmzip.c * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c * contrib/gtwvg/wvgwing.c * contrib/hbpgsql/postgres.c * contrib/hbclipsm/num.c * contrib/rddads/ads1.c * contrib/hbfimage/fi_wrp.c + Added '( HB_SIZE )' casts to 'strlen()' calls where it was converted to HB_SIZE. This pacifies long standing win64 warnings. Remaining warnings are (among others) useful to spot places where non-HB_SIZE is used in Harbour code to store sizes. * contrib/hbpgsql/postgres.c ! Type cleanup. 2010-02-09 14:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/hbregex.c ! Added distinctive error codes to different RTEs. % Deleted English strings from error messages. * include/clipdefs.h ! Fixed for OS/2 after recent changes. (type collision of legacy types with OS/2 system types) * src/rtl/strxor.c * src/rtl/trim.c * src/rtl/transfrm.c * src/rtl/strzero.c * src/rtl/strtran.c * src/rtl/strc.c * src/rtl/space.c * src/rtl/trace.c * src/rtl/soundex.c * src/rtl/valtostr.c * Size variables renamed to have 'n' prefix instead of 'ul' and 'l'. 2010-02-09 09:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbfbird/firebird.c ! Fixed warning after recent GC conversion on 64-bit non-Windows platforms. 2010-02-09 04:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h ! Fixed missing HB_EXTERN_* 2010-02-09 04:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h ! Fixed remaining 'LONG' type on 64-bit non-Windows systems. ! Indentation fixes. 2010-02-09 03:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/common/Makefile * src/common/hbwince.c + src/common/hbwin.c ! Moved Windows UNICODE helper function into new source, leaving WinCE API local emulation into separate source file. * include/hbwince.h + Now automatically includes windows.h. (since it depends on it) * include/hbdefs.h - Deleted HB_OS_WIN_USED autodetection. Not needed anymore. ! Fixed to not include hbwince.h anymore. It should be included directly from source files, where needed. * include/hbdefs.h * contrib/hbodbc/odbc.c * contrib/rddsql/sddodbc/odbcdd.c + Always defining HB_TCHAR_*() macros. They will be dummies in non-Windows or non-UNICODE builds. * include/clipdefs.h ! Legacy Clipper types moved to the bottom, because it's no longer true that hbapi.h defines their dependent types (our legacy ones). * contrib/hbwin/win_bmpd.c * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_misc.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_alloc.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/hbwin.h * contrib/hbwin/hbwinole.h * contrib/hbwin/mapi.c * contrib/hbwin/wapi_wingdi_font.c * contrib/hbwin/olecore.c * contrib/hbwin/wce_simc.c * contrib/hbwin/wapi_winnls.c * contrib/hbwin/win_bmp.c * contrib/hbwin/win_com.c * contrib/hbwin/Makefile * contrib/hbwin/win_regc.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/win_osc.c * contrib/hbwin/wce_smsc.c * contrib/hbwin/wapi_err.c * contrib/hbwin/legacycd.c * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_shellapi.c * contrib/hbwin/win_dlg.c * contrib/hbwin/legacyco.c * contrib/hbwin/win_dll.c * contrib/hbwin/wapi_winbase_mutex.c + Reworked the way windows.h is included and headers are organized. New types allow complete control and flexibility. Finally. * src/vm/mainwin.c * src/vm/maindll.c * src/vm/maindllh.c * src/vm/cmdarg.c * src/vm/maindllp.c * src/vm/task.c * src/vm/fm.c * src/vm/extrap.c * src/vm/thread.c * src/vm/hvmall.c * src/vm/dynlibhb.c * src/common/hbgete.c * src/common/hbffind.c * src/common/hbver.c * src/common/hbtrace.c * src/common/hbfsapi.c * src/common/hbdate.c * src/rtl/gtwin/gtwin.c * src/rtl/fstemp.c * src/rtl/gttone.c * src/rtl/fserr.c * src/rtl/filesys.c * src/rtl/lang.c * src/rtl/diskspac.c * src/rtl/console.c * src/rtl/cputime.c * src/rtl/gtclip.c * src/rtl/oemansi.c * src/rtl/disksphb.c * src/rtl/net.c * src/rtl/gtgui/gtgui.c * src/rtl/hbproces.c * src/rtl/gtwvt/gtwvt.h * src/rtl/gtwvt/gtwvt.c * src/rtl/gtkbstat.c * contrib/hbct/ctnet.c * contrib/hbct/dattime3.c * contrib/hbct/disk.c * contrib/hbodbc/odbc.c * contrib/xhb/hboutdbg.c * contrib/xhb/xhberrc.c * contrib/xhb/filestat.c * contrib/xhb/hbserv.c * contrib/hbtpathy/tpwin.c * contrib/hbmzip/hbmzip.c * contrib/hbqt/hbqt_base.cpp * contrib/hbnf/getenvrn.c * contrib/rddsql/sddodbc/odbcdd.c * contrib/rddads/adsx.c * contrib/rddads/adsfunc.c * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/rddads/adsmgmnt.c * examples/hbapollo/apollo.c + HB_OS_WIN_USED trick replaced with direct windows.h inclusion, just like we do for all other OSes. + Also inclded hbwince.h in source files which required it. Please test it. * contrib/hbqt/gtqtc/gtqtc.cpp - Deleted commented code to not create false grep hits all the time. 2010-02-08 18:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg % More ground cover in preperation of multiple views. Just to versionize changes. ;NOTE: Unreleased memory blocks have reduced considerably after parent/child relations fix in prev commit. This implies that in sometime in near future, memory issue is going to be the ghost of past. 2010-02-08 17:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbpwindow.prg ! Fixed a rare parent/child relation issue in XbpStatusBar() and XbpToolBar() classes. + Implemented Harbour extension: Method :hbLayout( HBPLAYOUT_TYPE_* ) Currently HBPLAYOUT_TYPE_HORZBOX and HBPLAYOUT_TYPE_VERTBOX are supported. This is essentially executed after :create(). When executed class attemps to all children of it to be laid accordingly, if some are already created. Any other Xbp part created with "this" object as parent, that is also laid appropriately. This reduces a lot of code writing. Example: oStatic := XbpStatic():new():create( oDlg,... ) oStatic:hbLayout := HBPLAYOUT_TYPE_HORZBOX oBtn := XbpPushButton():new( oStatic ):create( ... ) oBtn1 := XbpPushButton():new( oStatic ):create( ... ) oBtn2 := XbpPushButton():new( oStatic ):create( ... ) Then, these buttons will be nicely placed inside oStatic. No need to go for complex calculations. * contrib/hbxbp/tests/demoxbp.prg + Applied :hbLayout for :drawingArea and tabPages. 2010-02-09 02:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/runner.c * src/vm/garbage.c * src/vm/classes.c * src/rtl/cdpapi.c * src/rtl/cdpapihb.c * src/rdd/dbcmd.c * include/hbapicdp.h * include/hbapiitm.h * include/hbextern.ch * include/hbdefs.h * include/hbsetup.h * include/hbapi.h - Deleted code guarded with (previously disabled) HB_LEGACY_LEVEL2 * include/rdd.api * include/clipdefs.h + Permanently enabled HB_LEGACY_LEVEL2 related changes. * contrib/xhb/bkgtsks.c - Deleted HB_OS_WIN_USED. It wasn't used. * include/hbapi.h * src/vm/cmdarg.c * hb_winmainArgGet() changed to not use Windows types. This function is declared in hbapi.h and this header shouldn't depend on windows.h. * include/hbwince.h * include/hbsetup.h * HB_OS_HAS_DRIVE_LETTER is now configured in central place (hbsetup.h) for WinCE platform also. * include/hbwince.h * include/hbdefs.h * Windows (CE and not-CE) specific declarations moved from hbwince.h to hbdefs.h. * include/hbdefs.h % hbwince.h inclusion now better guarded to not include it for non WinCE platforms. + HB_OS_WIN_USED macro will now autodetected by checking whether windows.h was included before this header. This is required for hbwince.h. I don't like it, since hbapi.h still depends on windows.h for WinCE platform, which still ties us to unnecessary windows.h inclusion rules. Rather, hbwince.h should be included directly by .c files when needed and when HB_OS_WIN_CE is defined. After all this our little Windows API implementation for compilers which need it. * include/hbdefs.h * include/hbwmain.c + hb_winmainArgInit() declaration moved to hbwmain.c, the only place where this is used. * Deleted HB_EXPORT from hb_winmainArgInit. Pls speak up if this is wrong. It's possible to move this back to hbdefs.h, but parameter types should be changed to ANSI ones. * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvggui.h * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwing.c - Deleted HB_OS_WIN_USED. Now it should work without it. windows.h was already included in non-official method, so it's now okay also. 2010-02-09 00:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbfimage/Makefile - No more relevant comment deleted. 2010-02-09 00:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbsetup.ch + HB_LEGACY_OFF will also enable HB_LEGACY_TYPES_OFF. * contrib/hbfimage/Makefile * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c + Forcing HB_LEGACY_TYPES_OFF. + Switched to new regular kind of windows.h inclusion. + Enabled for *nix platforms. Now it should build w/o problems. ; New regular windows.h inclusion goes as follows: --- /* After #include "hbapi.h", write this: */ #if defined( HB_OS_WIN ) #include /* or any other Windows API header you may need, in any valid order or combination. */ #endif --- Old hacky method can now be safely deleted: '#define HB_OS_WIN_USED' and/or '#define HB_OS_WIN32_USED' * contrib/hbbtree/hb_btree.c ! Cleaned '{};' to be '{}' after prev cleanup (';' -> '{};') * doc/whatsnew.txt + Added section for version 2.1.0. 2010-02-09 00:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/pp/pplib.c * src/common/hbprintf.c * src/rtl/gtclip.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/compiler/hbpcode.c * include/hbgtcore.h * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbtree/hb_btree.h * contrib/hbbtree/hb_btree.c ! Fixed remaining type conversion problems after doing live testing on win/bcc. Please test it on other platforms. * config/rules.mk + Enabled HB_LEGACY_TYPES_OFF on default Harbour builds. This is required to keep new type usage enforced. 2010-02-08 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/gtwin/gtwin.c * include/hbrddcdx.h * contrib/hbct/screen2.c * contrib/hbct/ct.h * contrib/xhb/freadlin.c * contrib/gtwvg/gtwvg.h ! Cleaned remaining legacy types after verification with grep script. 2010-02-08 22:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/pp/ppcore.c * src/pp/hbpp.c * src/vm/macro.c * src/vm/runner.c * src/vm/estack.c * src/vm/itemapi.c * src/vm/hvm.c * src/vm/cmdarg.c * src/vm/maindllp.c * src/vm/fm.c * src/vm/thread.c * src/vm/memvars.c * src/vm/eval.c * src/vm/extend.c * src/vm/classes.c * src/debug/dbgentry.c * src/common/expropt1.c * src/common/expropt2.c * src/common/hbhash.c * src/nortl/nortl.c * src/macro/macrolex.c * src/rtl/gtxwc/gtxwc.c * src/rtl/gtstd/gtstd.c * src/rtl/gtcgi/gtcgi.c * src/rtl/errapi.c * src/rtl/hbprocfn.c * src/rtl/hbsocket.c * src/rtl/gtpca/gtpca.c * src/rtl/filebuf.c * src/rtl/hbproces.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbsql.c * src/rdd/hbdbsort.c * src/rdd/workarea.c * src/rdd/wacore.c * src/rdd/sdf1.c * src/rdd/dbcmdx.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbcmd.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/delim1.c * src/rdd/dbf1.c * src/rdd/hsx/hsx.c * src/rdd/usrrdd/usrrdd.c * src/rdd/wafunc.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hbsix/sxord.c * src/rdd/hbsix/sxfname.c * src/rdd/hbsix/sxtable.c * src/rdd/hbsix/sxutil.c * src/rdd/hbsix/sxcrypt.c * src/compiler/ppcomp.c * src/compiler/hbmain.c * src/compiler/compi18n.c * src/compiler/cmdcheck.c * src/compiler/hbdbginf.c * src/compiler/hbpcode.c * src/compiler/genhrb.c * src/compiler/hbdead.c * src/compiler/complex.c * src/compiler/genobj32.c * src/compiler/genc.c * src/compiler/hbopt.c * src/compiler/hbident.c * src/compiler/gencc.c * src/compiler/hbcmplib.c * src/compiler/hblbl.c * src/compiler/harbour.yyc * src/compiler/harbour.y * include/hbpp.h * include/hbrdddbf.h * include/hbvmpub.h * include/hbrddnsx.h * include/hbstack.h * include/hbgtcore.h * include/hbapifs.h * include/hbthread.h * include/hbdefs.h * include/hbmacro.h * include/hbinit.h * include/hbtypes.h * include/hbrddsdf.h * include/hbapi.h * include/hbapiitm.h * include/hbrddntx.h * include/hbvm.h * include/hbapidbg.h * include/hbcomp.h * include/hbapirdd.h * include/hbcompdf.h * include/hbrdddel.h * include/hbexpra.c * include/hbexprop.h * include/hbrddcdx.h * include/hbapicls.h * include/hbapierr.h * include/hbrddfpt.h * include/hbhash.h * include/hbregex.h * include/hbexprb.c * contrib/hbct/screen2.c * contrib/hbct/token2.c * contrib/hbct/dbftools.c * contrib/hbct/atadjust.c * contrib/hbct/ctwin.c * contrib/hbct/files.c * contrib/hbct/dattime3.c * contrib/hbct/ctstr.c * contrib/hbct/screen1.c * contrib/hbct/token1.c * contrib/hbct/ctc.c * contrib/hbct/ct.h * contrib/hbct/atnum.c * contrib/hbct/asciisum.c * contrib/hbct/numat.c * contrib/hbct/atrepl.c * contrib/xhb/bkgtsks.c * contrib/xhb/hbcrypt.c * contrib/xhb/fparse.c * contrib/xhb/datesxhb.c * contrib/xhb/hbnxs.h * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/xpp/dbcmdx.c * contrib/hbnf/dispc.c * contrib/hbnf/ftattr.c * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c * contrib/rddsql/sddmy/mysqldd.c * contrib/rddsql/sddpg/pgsqldd.c * contrib/rddsql/sddfb/fbirddd.c * contrib/rddsql/sddodbc/odbcdd.c * contrib/rddsql/hbrddsql.h * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/rddads/adsx.c * contrib/rddads/adsfunc.c * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/rddads/adsmgmnt.c * contrib/hbmisc/spd.c * contrib/hbtip/utils.c * contrib/hbtip/encmthd.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * contrib/hbbtree/hb_btree.h * contrib/hbbtree/hb_btree.c * ULONG -> HB_ULONG, HB_SIZE (except for external (OS) API specific usage) * Formatting. ; NOTE: I converted ULONG to HB_SIZE where I felt it appropriate, but didn't touch compiler, codeblock handling, low-level RDD (Set/GetVarLen method) and high-level contrib RDDs, so this needs to be cleaned. Also there may be cases where I didn't change the whole call chain to HB_SIZE. ; NOTE: It would be probably worthy to add new types for these purposes: - line number (HB_USHORT) - record number (HB_ULONG) - RDD connection (HB_ULONG) - parameter count / stack position / class member positions / etc (HB_USHORT, sometimes HB_ULONG) - pcode (HB_BYTE and char) - flags / modes (HB_USHORT / HB_ULONG) - timers (HB_ULONG, HB_MAXINT) - GT API character (HB_USHORT) ; REQUESTS: - Pls don't over-align variable declarations. It makes modification much much slower. Sometimes declarations are aligned even if there was only one or two of them in a block. - Pls always add variable names in declarations, otherwise the purpose of the function is very slow to decipher when looking at it. - Keep up the nice formatting according to Harbour standards, it makes modifications much much easier. ; TODO: - Verify with grep script [DONE] - Verify with HB_USER_CFLAGS=-DHB_LEGACY_TYPES_OFF [DONE] - Make HB_LEGACY_TYPES_OFF default for Harbour builds. [DONE] - Tie HB_LEGACY_TYPES_OFF to HB_LEGACY_LEVEL3 [DONE] - Retest hbfimage on *nix, delete hacks [DONE] - Replace current windows.h inclusion hack with regular method [DONE] - Delete hacks dealing with former type chaos: HB_DONT_DEFINE_BASIC_TYPES, HB_DONT_DEFINE_BOOL, HB_DONT_DEFINE_BYTE, HB_DONT_DEFINE_LONG - Normalize HB_BYTE vs. HB_UCHAR usage - Type cleanups, f.e. HB_SIZE vs. HB_ULONG - Add new special types (see above) - Switch HB_SIZE to signed (big project), and delete HB_ISIZ afterwards. 2010-02-08 20:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/src/rtl/cdpapi.c * replaced 'unsigned char' with 'HB_UCHAR' * harbour/src/rtl/cdpapihb.c * harbour/contrib/hbwin/wapi_shellapi.c % minor optimization * harbour/src/vm/maindllp.c * use already existing HB_MACRO2STRING() macro instead of locally defined HB_DLLSTR_() * respect defined but not used so far HB_DLL_NAMEMT and HB_DLL_NAMEMT2 2010-02-08 19:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/macro.c * src/vm/runner.c * src/vm/estack.c * src/vm/codebloc.c * src/vm/debug.c * src/vm/hvm.c * src/vm/pvalue.c * src/vm/arrays.c * src/vm/memvars.c * src/vm/eval.c * src/vm/classes.c * src/common/hbffind.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/workarea.c * src/rdd/sdf1.c * src/rdd/dbcmdx.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbcmd.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/delim1.c * src/rdd/dbf1.c * src/rdd/usrrdd/usrrdd.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hbsix/sxord.c * src/compiler/hbmain.c * src/compiler/hbpcode.c * src/compiler/genc.c * src/compiler/hbopt.c * src/compiler/gencc.c * src/compiler/hblbl.c * tests/bldtest/bldtest.c * include/hbstack.h * include/hbapifs.h * include/hbxvm.h * include/hbdefs.h * include/hbmacro.h * include/hbapi.h * include/hbcomp.h * include/hbapirdd.h * include/hbsxfunc.h * include/hbrddcdx.h * include/hbexprb.c * contrib/hbct/maxline.c * contrib/hbct/numcount.c * contrib/hbct/addascii.c * contrib/xhb/xhbenum.c * contrib/xhb/xhbqself.c * contrib/xhb/xhbwith.c * contrib/xhb/hbcomprs.c * contrib/xhb/xhbmsgs.c * contrib/hbmzip/hbmzip.c * contrib/xpp/dbcmdx.c * contrib/hbnetio/netiocli.c * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/rddads/adsx.c * contrib/rddads/ads1.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * contrib/hbbtree/hb_btree.h * contrib/hbbtree/hb_btree.c * LONG -> HB_LONG, long (for dates and extend / item API contexts) (except for external (OS) API specific usage) * src/vm/maindll.c * LONG -> void * + Added 'const' to char * parameter. * contrib/hbct/numline.c * contrib/hbct/ctpad.c * LONG -> HB_LONG, HB_ISIZ * Formatting. * contrib/xhb/hbxml.h * LONG -> HB_ISIZ * contrib/xhb/freadlin.c * LONG, int -> HB_ISIZ 2010-02-08 19:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/gtwin/gtwin.c * ULONG -> HB_SIZE * src/rtl/gtwvt/gtwvt.c * LONG -> int * ULONG -> HB_SIZE * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * LONG -> int * ULONG -> HB_SIZE * contrib/gtwvg/wvgwin.c * ULONG -> HB_ULONG * LONG -> long * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgsink.c * contrib/gtwvg/wvgwing.c * contrib/hbwin/axcore.c * LONG -> long * contrib/gtwvg/wvgutils.c * "" -> NULL 2010-02-08 18:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbbmcdx/bmdbfcdx.c * Some more syncing. 2010-02-08 18:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h + Changed HB_LONG and HB_ULONG to 'long' and 'unsigned long' 32-bit integer types, the new equivalents of legacy types LONG and ULONG. WARNING, INCOMPATIBLE: The legacy meaning of these types were 64-bit integers. Existing code should changes these types to HB_VMMAXINT, HB_VMMAXUINT respectively. Notice this change is non-delayable and non-togglable, so you must update your code now. - Deleted HB_CHAR type. * HB_UCHAR/HB_BYTE marked with QUESTION. - Deleted some commented new types. * contrib/hbbmcdx/bmdbfcdx.c + Attempt to sync with DBFCDX RDD source. Please try to help in this, there are some larger patches which I didn't apply. I'd be very nice if someone could take this code and convert it to a filter RDD instead of current copy+patch approach. In such case it could even be moved to core. 2010-02-08 08:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesources.prg * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/qtgui/filelist.mk * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/HBQSyntaxHighlighter.cpp + contrib/hbqt/qtgui/QStackedWidget.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qtgui/THBQSyntaxHighlighter.prg + contrib/hbqt/qtgui/TQStackedWidget.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbqt/qth/HBQSyntaxHighLighter.qth + contrib/hbqt/qth/QStackedWidget.qth + Added one more class in hbQT. + Prepared to present multiple-views of tabbed-editor. The term multiple-view is a bit confusing. The concept I am thinking of is to present stacked tabs of common interest together switchable from "Editor" tree-presentation or from a combo-box containing such different "views". A better name to this feature is requested. % Code shifting, normalization. + Started to have block(column)copy and paste operation. But appears it is a huge task, probably leading to rewriting the whole HBQPlainTextEdit() class. I must confess that the more I try in the direction, the more I am in troubles. Reason: Qt does not provide any inbuild mechanism to achieve it. 2010-02-08 16:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h + Readded HB_U8 and HB_I8. Currently mapped to HB_BYTE/HB_CHAR, but it should be used where 8-bitness of a char is a requirement. F.e. when writing/reading to/from files. + HB_CHAR changed from 'char' to 'signed char'. This is brand new type, not yet used in Harbour code, so it's safe. For char with non-guaranteed signedness, ANSI type 'char' should be used. * HB_UCHAR is now a synonym for HB_BYTE. It's now also legacy. * HB_SCHAR is now a synonym for HB_CHAR. It's now also legacy. ; TODO: Replace all HB_SCHAR with HB_CHAR and HB_UCHAR with HB_BYTE, and move the old types to compatibility status. * ChangeLog ! Fixed date in my today's entries. 2010-02-08 14:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/pp/ppcore.c * src/pp/hbpp.c * src/vm/macro.c * src/vm/evalhb.c * src/vm/runner.c * src/vm/estack.c * src/vm/codebloc.c * src/vm/dynsym.c * src/vm/garbage.c * src/vm/itemapi.c * src/vm/hvm.c * src/vm/pvalue.c * src/vm/maindllp.c * src/vm/arrays.c * src/vm/fm.c * src/vm/extrap.c * src/vm/proc.c * src/vm/thread.c * src/vm/memvars.c * src/vm/vm.c * src/vm/eval.c * src/vm/dynlibhb.c * src/vm/classes.c * src/common/hbffind.c * src/common/expropt1.c * src/common/expropt2.c * src/nortl/nortl.c * src/rtl/gtdos/gtdos.c * src/rtl/fscopy.c * src/rtl/gtwin/gtwin.c * src/rtl/gtxwc/gtxwc.h * src/rtl/gtxwc/gtxwc.c * src/rtl/gtcrs/gtcrs.c * src/rtl/philesx.c * src/rtl/do.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/xhelp.c * src/rtl/transfrm.c * src/rtl/fserr.c * src/rtl/gtcgi/gtcgi.c * src/rtl/errapi.c * src/rtl/copyfile.c * src/rtl/errintlo.c * src/rtl/gtapi.c * src/rtl/filesys.c * src/rtl/console.c * src/rtl/spfiles.c * src/rtl/gtos2/gtos2.c * src/rtl/philes.c * src/rtl/hbgtcore.c * src/rtl/itemseri.c * src/rtl/gtsln/mousesln.c * src/rtl/gtsln/gtsln.c * src/rtl/gtsln/kbsln.c * src/rtl/disksphb.c * src/rtl/gtpca/gtpca.c * src/rtl/trace.c * src/rtl/gt_tpl/gt_tpl.c * src/rtl/filebuf.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbsql.c * src/rdd/hbdbsort.c * src/rdd/workarea.c * src/rdd/wacore.c * src/rdd/sdf1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbcmd.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/delim1.c * src/rdd/dbf1.c * src/rdd/hsx/hsx.c * src/rdd/dbcmd53.c * src/rdd/usrrdd/usrrdd.c * src/rdd/wafunc.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hbsix/sxord.c * src/rdd/hbsix/sxtable.c * src/rdd/hbsix/sxcompr.c * src/compiler/hbmain.c * src/compiler/hbfix.c * src/compiler/hbdead.c * src/compiler/genobj32.c * src/compiler/genc.c * src/compiler/hbopt.c * src/compiler/gencc.c * src/compiler/harbour.yyc * src/compiler/harbour.y * include/hbpp.h * include/hbrdddbf.h * include/hbvmpub.h * include/hbrddnsx.h * include/hbstack.h * include/hbgtcore.h * include/hbapifs.h * include/hbxvm.h * include/hbdefs.h * include/hbinit.h * include/hbtypes.h * include/hbrddsdf.h * include/hbapi.h * include/hbapiitm.h * include/hbrddntx.h * include/hbvm.h * include/hbcomp.h * include/hbapirdd.h * include/hbcompdf.h * include/hbrdddel.h * include/hbexpra.c * include/hbexprop.h * include/hbdbsort.h * include/hbapigt.h * include/hbrddcdx.h * include/hbapicls.h * include/hbapierr.h * include/hbrddfpt.h * include/hbexprb.c * contrib/hbct/bitnum.c * contrib/hbct/screen2.c * contrib/hbct/strdiff.c * contrib/hbct/token2.c * contrib/hbct/charonly.c * contrib/hbct/atadjust.c * contrib/hbct/ctmath.c * contrib/hbct/ctwin.c * contrib/hbct/charsort.c * contrib/hbct/charmix.c * contrib/hbct/charevod.c * contrib/hbct/wordrepl.c * contrib/hbct/charrepl.c * contrib/hbct/strswap.c * contrib/hbct/trig.c * contrib/hbct/charswap.c * contrib/hbct/charop.c * contrib/hbct/charone.c * contrib/hbct/num1.c * contrib/hbct/pos1.c * contrib/hbct/ascpos.c * contrib/hbct/ctstr.c * contrib/hbct/screen1.c * contrib/hbct/token1.c * contrib/hbct/charmirr.c * contrib/hbct/ctc.c * contrib/hbct/ctwfunc.c * contrib/hbct/relation.c * contrib/hbct/atnum.c * contrib/hbct/count.c * contrib/hbct/ctcrypt.c * contrib/hbct/posdiff.c * contrib/hbct/finan.c * contrib/hbct/range.c * contrib/hbct/addascii.c * contrib/hbct/ctmath2.c * contrib/hbct/tab.c * contrib/hbct/replace.c * contrib/hbct/asciisum.c * contrib/hbct/pos2.c * contrib/hbct/numat.c * contrib/hbct/atrepl.c * contrib/hbct/wordtoch.c * contrib/hbct/ctpad.c * contrib/hbct/print.c * contrib/hbct/justify.c * contrib/hbct/remove.c * USHORT -> HB_USHORT (except where BYTE was used in OS-specific context) 2010-02-08 12:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * contrib/hbbtree/hb_btree.h * contrib/hbbtree/hb_btree.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/rddsql/sddmy/mysqldd.c * contrib/rddsql/sddpg/pgsqldd.c * contrib/rddsql/sddfb/fbirddd.c * contrib/rddsql/sddodbc/odbcdd.c * contrib/rddsql/hbrddsql.h * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/rddads/adsx.c * contrib/rddads/ads1.c * contrib/xhb/bkgtsks.c * contrib/xhb/hbcrypt.c * contrib/xhb/dbf2txt.c * contrib/xhb/xhbcopyf.c * contrib/xhb/xhbfunc.c * contrib/xpp/philesx.c * contrib/hbnf/ftattr.c * USHORT -> HB_USHORT * contrib/xhb/xhbsave.c * USHORT -> int * contrib/xhb/filestat.c * USHORT -> HB_FATTR * contrib/hbmemio/memio.c * USHORT -> HB_USHORT * USHORT -> HB_ERRCODE * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/gtqtc/gtqtc.h * USHORT -> int, HB_USHORT * contrib/hbnf/fttext.c * contrib/hbmisc/hb_f.c + Added "largefile" support. (at least on the low-level) * USHORT -> HB_USHORT * contrib/hbmisc/tests/testhbf.prg - Deleted old comment. 2010-02-07 11:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/hbwin.ch + Added WAPI_EXTTEXTOUT() * contrib/hbwin/axcore.c * contrib/hbwin/olecore.c * USHORT -> HB_USHORT * contrib/hbwin/win_prn2.c * USHORT -> HB_SIZE plus some changes accordingly. * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * USHORT -> HB_WCHAR, HB_USHORT * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvggui.h * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgsink.c * contrib/gtwvg/wvgwing.c * USHORT -> HB_WCHAR, HB_USHORT, UINT, int * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.h - Deleted unused structures (using USHORT). 2010-02-08 10:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h ! Fixed typo when restructuring types causing no HB_MAXINT type in some cases. * contrib/gtalleg/gtalleg.c * USHORT -> HB_USHORT * contrib/hbct/print.c * contrib/hbnf/descendn.c * contrib/hbclipsm/gauge.c * USHORT -> HB_SIZE * contrib/xhb/txtline.c * USHORT, int -> HB_SIZE 2010-02-08 02:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/pp/ppcore.c * src/vm/macro.c * src/vm/runner.c * src/vm/codebloc.c * src/vm/garbage.c * src/vm/hvm.c * src/vm/maindllp.c * src/vm/fm.c * src/vm/extrap.c * src/vm/memvars.c * src/common/expropt1.c * src/common/expropt2.c * src/common/hbarch.c * src/common/hbmem.c * src/nortl/nortl.c * src/rtl/gtdos/gtdos.c * src/rtl/gtwin/gtwin.c * src/rtl/gtxwc/gtxwc.h * src/rtl/gtxwc/gtxwc.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/gtcgi/gtcgi.c * src/rtl/gtapi.c * src/rtl/gtos2/gtos2.c * src/rtl/hbgtcore.c * src/rtl/gtsln/gtsln.c * src/rtl/gtsln/kbsln.c * src/rtl/gtsln/gtsln.h * src/rtl/gtpca/gtpca.c * src/rtl/gt_tpl/gt_tpl.c * src/rtl/gtwvt/gtwvt.h * src/rtl/gtwvt/gtwvt.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbsql.c * src/rdd/hbdbsort.c * src/rdd/workarea.c * src/rdd/sdf1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/delim1.c * src/rdd/dbf1.c * src/rdd/hsx/hsx.c * src/rdd/usrrdd/usrrdd.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hbsix/sxsem.c * src/rdd/hbsix/sxcompr.c * src/compiler/ppcomp.c * src/compiler/hbmain.c * src/compiler/hbfix.c * src/compiler/hbdbginf.c * src/compiler/hbpcode.c * src/compiler/genhrb.c * src/compiler/hbdead.c * src/compiler/genobj32.c * src/compiler/genc.c * src/compiler/hbopt.c * src/compiler/gencc.c * src/compiler/hbcmplib.c * src/compiler/hblbl.c * src/compiler/harbour.yyc * src/compiler/harbour.y * src/compiler/harbour.yyh * tests/bldtest/bldtest.c * tests/tstgtapi.c * include/hbpp.h * include/hbrdddbf.h * include/hbvmpub.h * include/hbrddnsx.h * include/hbgtcore.h * include/hbxvm.h * include/hbdefs.h * include/hbmacro.h * include/hbtypes.h * include/hbrddsdf.h * include/hbapi.h * include/hbrddntx.h * include/hbvm.h * include/hbcomp.h * include/hbapirdd.h * include/hbcompdf.h * include/hbrdddel.h * include/hbexpra.c * include/hbexprop.h * include/hbdbf.h * include/hbdbsort.h * include/hbapigt.h * include/hbrddcdx.h * include/hbrddfpt.h * include/hbexprb.c * contrib/gtalleg/gtalleg.c * contrib/hbct/ctwin.c * contrib/hbct/ascpos.c * contrib/hbct/screen1.c * contrib/hbct/ctcrypt.c * contrib/xhb/hbxml.c * contrib/xhb/xhbis.c * contrib/xhb/fparse.c * contrib/xhb/xhbat.c * contrib/xhb/xhbcopyf.c * contrib/xhb/cstructc.c * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/gtqtc/gtqtc.h * contrib/xpp/philesx.c * contrib/hbnf/ftshadow.c * contrib/hbnf/ftattr.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/rddsql/sddmy/mysqldd.c * contrib/rddsql/sddpg/pgsqldd.c * contrib/rddsql/sddfb/fbirddd.c * contrib/rddsql/sddodbc/odbcdd.c * contrib/rddsql/hbrddsql.h * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwing.c * contrib/rddads/adsx.c * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/hbtip/utils.c * contrib/hbwin/win_regc.c * contrib/hbwin/win_prn2.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * contrib/hbbtree/hb_btree.c * BYTE -> HB_BYTE except where BYTE was used in OS-specific context. * Some formatting. ; I didn't realign structure definitions in hbrdd*.h yet. * contrib/hbwin/win_regc.c * Minor type cleanup. * src/rtl/gt_tpl/gt_tpl.c * BYTE -> int for color. * examples/hbapollo/apollo.c % Deleted MAX_STR_LEN. 2010-02-07 22:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * bin/hb-mkimp.bat + Added support for Apollo 7. * utils/hbmk2/hbmk2.prg + Accepting '&&' and '||' as 'and' and 'or' operators. * examples/hbsqlit2/hbsqlit2.hbp * examples/hbapollo/hbapollo.hbp + HB_INC_* -> HB_WITH_* * examples/hbapollo/apollo.c * examples/hbapollo/hbapollo.hbc + Added support for Apollo 7. + Version 6.1 can now be selected by defining HB_WITH_APOLLO_VER61 envvar. * examples/gtwvw/gtwvw.c * HB_LONG -> HB_MAXINT 2010-02-07 21:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/clipdefs.h + Added Clipper compatible legacy types to Clipper compatibility header. They are enabled when HB_LEGACY_TYPES_OFF is set. 2010-02-07 19:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/classes.c * src/rtl/gtdos/gtdos.c * src/rtl/gtxwc/gtxwc.c * src/rdd/wacore.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/compiler/genobj32.c * include/hbinit.h * include/hbrddcdx.h * contrib/xhb/hbcrypt.c * contrib/xhb/freadlin.c * contrib/xhb/txtline.c * contrib/hbnf/descendn.c * contrib/rddsql/sqlmix.c * contrib/rddads/adsx.c * contrib/hbtip/encmthd.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * Formatting. (whitespace only) 2010-02-07 18:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h + Changed types to have our "new" types as primary ones, and old types as legacy ones. This also means that all old/legacy types are now based on new types. + Added HB_LEGACY_TYPES_OFF #define, with which you can disable all legacy types for testing purposes. This mode will become the default in the future, so start to prepare for the new types. ; NOTE: Harbour and 3rd party components can't be compiled with this switch enabled yet, since there is still some type conversions tasks left. For now its purpose is to look for remaining legacy types in Harbour code. * include/hbvmpub.h * BYTE -> HB_BYTE 2010-02-07 08:56 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg + Implemented , - Current Line If the line is already selected, selection is cleared. ! Slight change in main-menu drop-down. and sub-menus now club the line and block actions. ; Please test. 2010-02-07 17:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/hvm.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbf1.c * src/rdd/usrrdd/usrrdd.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hbsix/sxcompr.c * src/compiler/hbfix.c * src/compiler/hbopt.c * tests/bldtest/bldtest.c * include/hbrddnsx.h * include/hbxvm.h * include/hbdefs.h * include/hbapi.h * include/hbrddntx.h * include/hbrddcdx.h * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * SHORT -> HB_SHORT. (in some places 'short' is used, these should be synced, noticed it in RDD) 2010-02-07 07:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg + Implemented - Current Line - Selected Lines - Selected Lines Indenting is exercised on selected lines with "one" column at a time. Vailton, can you create icons for above? 2010-02-07 16:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c * contrib/hbmisc/hb_f.c * contrib/hbwin/win_dll.c * SHORT type cleanup. Converted to HB_WCHAR, nothing, USHORT, WORD depending on context. 2010-02-07 16:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/cdpapi.c ! Fixed type when manually correcting 'unsigned char' to UCHAR to sync with declaration. * contrib/gtwvg/gtwvg.c ! Fixed wrong casts (HB_LONG instead of long) * src/pp/ppcore.c * src/vm/macro.c * src/vm/hashes.c * src/vm/itemapi.c * src/vm/hvm.c * src/vm/arrays.c * src/vm/task.c * src/vm/thread.c * src/vm/extend.c * src/common/hbwince.c * src/common/expropt1.c * src/common/hbstr.c * src/common/expropt2.c * src/common/hbdate.c * src/macro/macro.yyc * src/macro/macro.y * src/macro/macro.yyh * src/macro/macrolex.c * src/rtl/gttrm/gttrm.c * src/rtl/hbstrfmt.c * src/rtl/hbcrc.c * src/rtl/minmax.c * src/rtl/hbrandom.c * src/rtl/hbsocket.c * src/rtl/hbbit.c * src/rtl/hbgtcore.c * src/rtl/cputime.c * src/rtl/idle.c * src/rtl/itemseri.c * src/rtl/gtsln/gtsln.c * src/rtl/gtpca/gtpca.c * src/rtl/hbznet.c * src/rtl/hbhex.c * src/rtl/seconds.c * src/rtl/abs.c * src/rtl/gtwvt/gtwvt.c * src/rtl/hbbyte.c * src/rtl/val.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbsql.c * src/rdd/sdf1.c * src/rdd/delim1.c * src/rdd/dbf1.c * src/rdd/dbffpt/dbffpt1.c * src/compiler/hbmain.c * src/compiler/complex.c * src/compiler/harbour.yyc * src/compiler/harbour.y * src/compiler/harbour.yyh * include/hbvmpub.h * include/hbgtcore.h * include/hbthread.h * include/hbdefs.h * include/hbmacro.h * include/hbapi.h * include/hbapiitm.h * include/hbznet.h * include/hbvm.h * include/hbcomp.h * include/hbcompdf.h * include/hbexprop.h * include/hbsocket.h * include/hbchksum.h * include/hbexprb.c * include/hbdate.h * contrib/hbct/bitnum.c * contrib/hbct/dbftools.c * contrib/hbct/files.c * contrib/hbct/disk.c * contrib/xhb/xhbfunc.c * contrib/hbcurl/hbcurl.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgcore.c * contrib/rddads/ads1.c * contrib/hbwin/olecore.c * HB_LONG -> HB_MAXINT * HB_ULONG -> HB_MAXUINT 2010-02-07 16:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h ! New Harbour types moved upper in the file to avoid errors reported on the list. - Deleted HB_I8 and HB_U8 types. Practice shows that HB_UCHAR and HB_SCHAR are used instead of these. 2010-02-07 15:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/dynsym.c * src/vm/fm.c * src/vm/classes.c * src/rtl/transfrm.c * src/rtl/filebuf.c * src/rdd/wacore.c * src/compiler/compi18n.c * tests/bldtest/bldtest.c * include/hbcomp.h * include/hbcompdf.h * contrib/xhb/hbserv.c * contrib/hbfimage/fi_wrp.c * UINT -> HB_UINT, unsigned, HB_SIZE, (unchanged) Depending on context. 2010-02-07 14:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/itemapi.c * src/vm/hvm.c * src/vm/arrays.c * src/vm/extend.c * src/common/hbstr.c * src/common/hbdate.c * src/rdd/dbfcdx/dbfcdx1.c * src/compiler/gencc.c * tests/bldtest/bldtest.c * include/hbxvm.h * include/hbdefs.h * include/hbapi.h * include/hbapiitm.h * contrib/hbwin/olecore.c * contrib/hbbmcdx/bmdbfcdx.c * LONGLONG -> HB_LONGLONG * ULONGLONG -> HB_ULONGLONG 2010-02-07 14:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbct/strdiff.c * contrib/hbct/token2.c * contrib/hbct/charlist.c * contrib/hbct/charonly.c * contrib/hbct/atadjust.c * contrib/hbct/charsort.c * contrib/hbct/charmix.c * contrib/hbct/charevod.c * contrib/hbct/wordrepl.c * contrib/hbct/charrepl.c * contrib/hbct/strswap.c * contrib/hbct/charswap.c * contrib/hbct/charop.c * contrib/hbct/charone.c * contrib/hbct/pos1.c * contrib/hbct/ascpos.c * contrib/hbct/ctstr.c * contrib/hbct/token1.c * contrib/hbct/ctstr.h * contrib/hbct/charmirr.c * contrib/hbct/relation.c * contrib/hbct/atnum.c * contrib/hbct/count.c * contrib/hbct/ctcrypt.c * contrib/hbct/posdiff.c * contrib/hbct/range.c * contrib/hbct/addascii.c * contrib/hbct/tab.c * contrib/hbct/dattime2.c * contrib/hbct/replace.c * contrib/hbct/pos2.c * contrib/hbct/numat.c * contrib/hbct/atrepl.c * contrib/hbct/wordtoch.c * contrib/hbct/ctpad.c * contrib/hbct/justify.c * contrib/hbct/remove.c * size_t -> HB_SIZE % Deleted now unnecessary casts. + Added casts to strlen() calls. * contrib/hbct/ctcrypt.c * ULONG -> HB_SIZE * contrib/hbct/dattime2.c * Formatting. 2010-02-07 14:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/pp/ppcore.c * src/vm/itemapi.c * src/vm/dynlibhb.c * src/vm/set.c * src/debug/dbgentry.c * src/common/expropt1.c * src/common/hbstr.c * src/common/expropt2.c * src/macro/macro.yyc * src/macro/macro.y * src/macro/macro.yyh * src/rtl/scroll.c * src/rtl/gtdos/gtdos.c * src/rtl/gtwin/gtwin.c * src/rtl/gttrm/gttrm.c * src/rtl/transfrm.c * src/rtl/dates.c * src/rtl/filesys.c * src/rtl/chrasc.c * src/rtl/cdpapi.c * src/rtl/hbi18n1.c * src/rtl/itemseri.c * src/rtl/hbhex.c * src/rtl/cdpapihb.c * src/rdd/dbsql.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbf1.c * src/rdd/hsx/hsx.c * src/rdd/hbsix/sxutil.c * src/rdd/hbsix/sxcompr.c * src/rdd/hbsix/sxcrypt.c * src/compiler/compi18n.c * src/compiler/complex.c * src/compiler/genc.c * src/compiler/harbour.yyc * src/compiler/harbour.y * src/compiler/harbour.yyh * include/hbpp.h * include/hbapicdp.h * include/hbrddnsx.h * include/hbexprb.c * ChangeLog * contrib/hbct/screen2.c * contrib/hbct/pos1.c * contrib/hbct/screen1.c * contrib/hbct/token1.c * contrib/hbct/disk.c * contrib/xhb/xhbmsgs.c * contrib/hbnf/ftattr.c * UCHAR -> HB_UCHAR ; NOTE: In cdp subsystem 'unsigned char' is used instead of HB_UCHAR in many places, maybe it needs cleanup (I've found one inconsistency in a function declaration). ; QUESTION: There is one suspiciously looking usage: ftattr.c / iColor = ( HB_UCHAR ) *pAttrib++; Is it ok? 2010-02-07 13:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbct/ctchksum.c ! Fixed to not strip const from type. * ULONG -> HB_SIZE, HB_U32 * UCHAR -> HB_UCHAR * contrib/hbct/asciisum.c * size_t -> HB_SIZE * Formatting. 2010-02-07 13:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/fm.c * src/vm/extrap.c * src/common/hbarch.c * src/nortl/nortl.c * src/rtl/binnum.c * src/rtl/hbbffnc.c * src/rtl/hbznet.c * src/rtl/hbbfish.c * src/rtl/hbbyte.c * src/rtl/binnumx.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbf1.c * src/rdd/hsx/hsx.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hbsix/sxcrypt.c * src/compiler/cmdcheck.c * include/hbgtcore.h * include/hbdefs.h * include/hbbfish.h * contrib/hbct/bitnum.c * contrib/hbct/ctwin.c * contrib/xpp/binnumx.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbtree/hb_btree.c * UINT16 -> HB_U16 * UINT32 -> HB_U32 * UINT64 -> HB_U64 * INT16 -> HB_I16 * INT32 -> HB_I32 * INT64 -> HB_I64 * contrib/hbct/bitnum.c ! Fixed INTNEG(), INTPOS(). Second 'l32bit' parameter was working in reverse. 2010-02-07 12:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfcdx/dbfcdx1.c * minor code cleanup * harbour/src/vm/macro.c % eliminated memory allocation in macro compiler for object item assign operation * updated hb_macroGenMessage() to work like hb_compilerGenMessage() * harbour/src/vm/memvars.c * reverted HB_ISIZ -> int * harbour/include/hbmacro.h * harbour/include/hbexprop.h * harbour/include/hbexpra.c * harbour/src/common/expropt1.c - eliminated old hb_compExprNewSend()/hb_macroExprNewSend() + added common for compiler and macrocompiler functions: hb_compExprNewSend(), hb_compExprNewMacroSend(), hb_compExprNewMethodObject() * harbour/include/hbcomp.h * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyc * harbour/src/compiler/harbour.yyh * use new functions for send coperator % eliminated asMessage structure - it was the biggest one so this modification reduce total memory usage by grammar stack + added new terminal symbol MacroAny and simplified some rules using it + added static function hb_compCheckMethod() used for enumerator messages - eliminated public function hb_compForEachVarError() * harbour/src/macro/macro.y * harbour/src/macro/macro.yyc * use new functions for send coperator 2010-02-07 10:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbapi.h * src/vm/memvars.c * ULONG -> HB_SIZE where applicable * int -> HB_ISIZ where it was used for size * src/vm/macro.c ! LONG -> long for date/time. * include/hbchksum.h * src/rtl/hbadler.c * src/rtl/hbcrc.c * src/rtl/hbi18n1.c * contrib/hbmzip/hbmzip.c * ULONG -> HB_U32 for crc32 and adler32 * ULONG -> HB_U16 for crc16 (the crc table was also changed to HB_U16, pls speak up if this may cause less-optimal performance than previous state.) * int -> HB_ISIZ where it was used for size (in adler loop) * include/hbapi.h * HB_VMHANDLE is now mapped to 'unsigned long' instead of ULONG * contrib/hbwin/win_bmp.c - Deleted no more necessary cast. 2010-02-07 01:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/runner.c ! Fixed error reported by Petr. I'm not really sure about the problem, and current code is not 100% future proof as a HB_SIZE is passed by reference where ULONG ptr is expected. * include/hbsetup.h + Added HB_DEPRECATED. Can be used as function or variable attribute. 2010-02-06 15:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/findinfiles.ui * contrib/hbide/resources/findinfiles.uic * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg ! Fixed for RegEx to be compiled with case sensivity. BTW, hb_regEx( compiledRegExp, cString, lCaseSensitive, ... ) does not honor attribute. Only hb_compRegEx() honors. + Implemented to remember last find folder and search expression. 2010-02-06 13:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/findinfiles.ui * contrib/hbide/resources/findinfiles.uic * contrib/hbqt/qtgui/QSizePolicy.cpp * contrib/hbqt/qth/QSizePolicy.qth * contrib/hbqt/THbQtUI.prg * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg + Added more info in "Results". ! Core normalization. + Implemented RegEx search. I am not good at this engine, please test. % Changed TODO => DONE in one entry in ChangeLog. 2010-02-06 19:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/runner.c * BYTE -> char * contrib/hbct/ctstrfil.c * LONG -> HB_ISIZ * contrib/hbmzip/hbmzip.c * Changed to use FS API instead of C RTL. * Using std Harbour method to include windows.h. * package/winuni/RELNOTES + Added note about downgrade to mingw64 4.4.0, which is a more stable release than 4.5.0, and where .dlls also work properly. * config/wce/mingwarm.mk * config/win/mingw.mk ! Fixed to not use -fomit-frame-pointer option for debug builds. ! Hack added to disable -fomit-frame-pointer for hbwin lib. ; TOFIX: Fix hb_Dynacall() to not be sensitive on this option in mingw builds. Is it possible? [DONE] 2010-02-06 16:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/filesys.c * src/rtl/philes.c * src/rtl/filebuf.c * src/rtl/memofile.c * src/rdd/dbsql.c * src/rdd/hbsix/sxcompr.c * doc/en-EN/hb_apifs.txt * include/hbapifs.h * contrib/hbct/ctstrfil.c * contrib/hbsqlit3/hbsqlit3.c * contrib/hbmzip/hbmzip.c * contrib/hbnf/fttext.c * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/hbgd/gdwrp.c * contrib/hbwin/win_bmp.c * contrib/hbbmcdx/bmdbfcdx.c * examples/gtwvw/gtwvw.c * Changed ULONG to HB_SIZE and HB_ISIZ in FS API functions. ! hb_fsTell() fixed to return HB_FOFFSET instead of ULONG. * contrib/hbmzip/hbmzip.c * ULONG -> HB_FATTR, uLong * Type cleanups. ; QUESTION: Is there any reason why we're not using the hb_fs*() functions in hb_zipGetFileInfo()? * src/vm/runner.c * ULONG -> HB_SIZE for size related variables. ; Review me please. 2010-02-06 14:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/garbage.c * src/vm/fm.c * src/vm/vm.c * include/hbapi.h * ULONG -> HB_SIZE in memory allocation functions. 2010-02-06 12:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rdd/dbf1.c * src/compiler/hbopt.c * SCHAR -> HB_SCHAR * external/libhpdf/hpdffdft.c * utils/hbmk2/hbmk2.prg * Cleaned to not add double ending pathsep to Harbour -o option. * contrib/gtalleg/gtalleg.c * contrib/gtalleg/ssf.h * contrib/gtalleg/ssf.c * BYTE -> unsigned short, int, HB_BYTE * USHORT -> unsigned short * Some types synced between declaration and definition. * Formatting, code cleanups. 2010-02-06 12:10 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * src/rtl/fstemp.c + Added OS/2 section to hb_fsTempDir() which uses the environment variable "TEMP" to find out the temporary directory. 2010-02-05 18:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idefindreplace.prg ! Fixed "Stop" to work as expected in "Find in Files" dialog. 2010-02-05 17:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpdialog.prg ! Fixed a long-standing bug where oDlg:close slot was hiding the window instead of passing taking appropriate action when user was opting not to close the window returning .F. from this codeblock. 2010-02-05 10:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbslots.cpp ! Fixed wrong number of parameters push to hb_vmEvalBlockV(). 2010-02-05 08:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/findinfiles.ui * contrib/hbide/resources/findinfiles.uic * contrib/hbqt/THbQtUI.prg * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg + Implemented "Search" option activated via "Search" toolbar icon. This implementation presents a dialog to select any number of available "Projects", one "Folder", and "Opened Tabs" in any combination". The results are presented in within-the-dialog edit window in a nicely colored and formatted way. This editor also provides for "Select All", "Copy", "Clear", "Print", "Find...", "Zoom In/Out" and some more ( to be activated ) options. These options are visible in context menu activated with right-clicking inside the "Results" editor. This implemetation also facilitates multiple instances of the "Search" dialogs carrying on the operation at the same time. Double-click on any line will open an edit-tab in the main editing area, cursor will be positioned highlighted on the "Expression" string, keeping the focus in "Results" editor only. Normal usage is carrying the expected actions but I must be ignoring something important. Please test. Please forward any suggessions you think will make it more useful. ; DONE: Regex implementation. TODO: Regex for multiple lines. Including sub-folders. Including sub-projects. "Replace" implementation ( I am exploring how it can be safest ) 2010-02-05 13:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/gttone.c + Using ANSI C types. ! ULONG -> DWORD for Windows API calls. * src/rtl/direct.c ! ULONG -> HB_FATTR * src/rtl/itemseri.c * include/hbapiitm.h * ULONG -> HB_SIZE * src/rtl/samples.c + Using ANSI C types. This fixes possible incompatibilities with original .prg implementation in Clipper. * contrib/hbhpdf/harupdf.c * Conversion to libharu BOOL value cleaned. * include/hbapicdp.h * utils/hbmk2/hbmk2.prg * Formatting. 2010-02-05 11:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/setpos.c * src/rtl/console.c ! Fixed SETPOS() and DEVPOS() to return the first parameter unconditionally. For SETPOS() it's protected with 'HB_CLP_UNDOC or HB_COMPAT_C53', for DEVPOD() it's protected with 'HB_CLP_UNDOC' only. * src/rtl/diskspac.c * Using 'int' for drive spec. * Minor cleanup. ; Please review me. 2010-02-05 04:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/sha1.c * src/rtl/sha1.h * src/rtl/hbsha1hm.c * src/rtl/sha2.c * src/rtl/sha2.h * src/rtl/hbsha2hm.c * src/rtl/sha1hmac.c * src/rtl/sha1hmac.h * src/rtl/hbsha1.c * src/rtl/sha2hmac.c * src/rtl/sha2hmac.h * src/rtl/hbsha2.c + Not using HB_BYTE type anymore. + Using 'const void*' type for key/data variables in public functions. % Deleted unnecessary casting. 2010-02-05 04:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/sha1.c * src/rtl/sha1.h * src/rtl/hbsha1hm.c * src/rtl/hbmd5.c * src/rtl/hbsha2hm.c * src/rtl/sha1hmac.c * src/rtl/sha1hmac.h * src/rtl/hbsha1.c * src/rtl/sha2hmac.c * src/rtl/sha2hmac.h * src/rtl/hbsha2.c * BYTE -> HB_BYTE * UINT32 -> HB_U32 + Added 'const' keyword to low-level SHA2 related functions where it was missing. % Added static to SHA1_Transform(). * include/hbgtcore.h * Formatting. 2010-02-05 03:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c * updated HB_FS_[SG]ETDRIVE() macros to operate on 'int' type * changed 'unsigned int' to 'int' in code using HB_FS_[SG]ETDRIVE() macros 2010-02-05 01:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/filesys.c * UINT -> unsigned int * Rename: bRead -> fRead, bResult -> fResult, usError -> nResult, uiResult -> nResult * Formatting. * include/hbapifs.h * src/rtl/filesys.c * src/rtl/philes.c * src/rtl/philesx.c * contrib/hbct/disk.c * contrib/xhb/xhbfunc.c * Drive letter type change from USHORT/BYTE to int. + Extra checks added to enforce positive value. % Optimized out fResult from hb_fsCurDirBuff(), plus related cleanups. ; Peer-review it please. * src/rtl/fstemp.c * Pacified warnings. * contrib/hbwin/Makefile + contrib/hbwin/wapi_wingdi_font.c + Added WAPI_ADDFONTRESOURCEEX(). + Added WAPI_REMOVEFONTRESOURCEEX(). 2010-02-05 01:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/contrib/hbcairo/tests/lightning.prg + one more simple image generator sample 2010-02-04 22:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/task.c * harbour/src/vm/classes.c * harbour/src/rtl/strpeek.c * updated to use ANSI types * harbour/src/rtl/hbmd5.c % small optimization (more compiler friendly code due to fixed alignment) 2010-02-04 21:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/console.c * src/rtl/shadow.c ! Fixed three remaining places where color value was cast to BYTE type. ; QUESTION1: What to do with BYTE in hb_fs*Drv() calls? Should it be int or unsigned int? [DONE: int] ; QUESTION2: What to do with BYTE types in checksum calculations and low level color storage, is HB_U8 type good? [DONE: HB_BYTE] * src/rtl/transfrm.c * src/rtl/memofile.c * BYTE -> char * src/rtl/gtkbstat.c * Formatting. 2010-02-04 20:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/achoice.prg ! exit with 0 without activating user function when empty item array is passed - Clipper compatible behavior 2010-02-04 19:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/src/rtl/filebuf.c * harbour/contrib/hbmemio/memio.c * harbour/contrib/hbnetio/netiocli.c + added new method: void Flush( PHB_FILE pFile, HB_BOOL fDirty ); to replaceable RDD IO structure (HB_FILE) + added new function: void hb_fileFlush( PHB_FILE pFile, HB_BOOL fDirty ); * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/src/rdd/dbffpt/dbffpt1.c * use hb_fileFlush() * harbour/src/vm/hvm.c * harbour/include/hbxvm.h ! fixed hb_xvm{Local,Static,Module}Name() to use 'const char *' instead of 'char *' - modifications by Xavi (jarabal) * harbour/include/hbapi.h * harbour/include/hbxvm.h * harbour/include/hbmacro.h * harbour/include/hbcompdf.h * harbour/src/vm/hvm.c * harbour/src/vm/macro.c * harbour/src/vm/memvars.c * replaced some 'BYTE' types with 'unsigned char' or 'int' types * cleanup some other casting and types to reduce conversions between function calls * harbour/src/common/expropt1.c ; updated comments * harbour/include/hbpp.h * harbour/include/hbexprop.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * eliminated HB_EXPR_PCODE?() macros ! fixed potential GPF trap during compilation of _GET_() functions which can be exploited by strange code using some special expressions as get variable. TODO: eliminate hb_compExprClone() used in hb_compExprSetGetBlock(), our optimization module does not care about shared expressions so it can be source of serious problems in the future if someone use this functions for non optimized expression which will be reduced later. * emulate clipper behavior for codeblock optimizations and do not optimize all codeblocks if -kc switch is used and codeblocks is inside non optimized part of code like (Clipper has such places) % simplified and optimized some functions like hb_compExprReduceList() 2010-02-04 18:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbfbird/tests/test.prg ! Fixed to work at all. This code was complete nonsense. + Added more status display. ; Anyhow basic tests shows that recent FB changes are okay, but class wrapper never worked and tests were either dummies or wrong. Please test hbfbird with real life code. * contrib/hbfbird/tests/stress.prg * Formatting. * contrib/hbfbird/tests/testapi.c ! Fixed to not refer to env specific IP. The table name is still wrong though. * contrib/hbfbird/tfirebrd.prg + Added TOFIX about very old and very basic problem in the FB class wrapper. 2010-02-04 12:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg + Added hbmk2_PathMakeRelative(). The opposite of PathProc(). Current form is not optimized and only moderately tested: hbmk2_PathMakeRelative( "", "" ) hbmk2_PathMakeRelative( "", "hello.prg" ) hbmk2_PathMakeRelative( "", "proj\hello.prg" ) hbmk2_PathMakeRelative( "C:\this", "C:\this\that\proj\" ) hbmk2_PathMakeRelative( "C:\this", "C:\this\that\proj\hello.prg" ) hbmk2_PathMakeRelative( "C:\this", "C:\that\that\proj\hello.prg" ) hbmk2_PathMakeRelative( "C:\this", "C:\that\that\proj\hello.prg", .T. ) hbmk2_PathMakeRelative( "D:\this", "C:\that\that\proj\hello.prg" ) hbmk2_PathMakeRelative( "C:\this\test", "C:\this\test\that\proj\hello.prg" ) hbmk2_PathMakeRelative( "C:\this\test", "C:\that\that\proj\hello.prg" ) hbmk2_PathMakeRelative( "C:\this\test", "C:\that\that\proj\hello.prg", .T. ) hbmk2_PathMakeRelative( "D:\this\test", "C:\that\test\that\proj\hello.prg" ) * contrib/hbfbird/tests/simple.prg * contrib/hbfbird/tests/test.prg * contrib/hbfbird/tests/stress.prg ! Fixed references to absolute paths non-existent on users computer. ! Fixed IP address to be 127.0.0.1 instead of previous env specific value. * Indented. * Some formatting. 2010-02-04 10:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbmysql/mysql.c ! Fixed to use GC collected objects. + Added RTEs when wrong object is passed. ! Fixed to make MYSQL_FIELD_COUNT() available regardless of mysql lib version we're building against. It will return zero if mysql lib doesn't support it. ; Deprecated MYSQL_CLOSE() and MYSQL_FREE_RESULT(). It's enough to replace them with NIL assigments, or simply delete them. ; Please test it. * contrib/hbmysql/tmysql.prg + Changed to not use deprecated functions. * src/common/hbffind.c * src/rtl/fssize.c * Formatting. 2010-02-04 09:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbfbird/firebird.c + Added GC collected object for db connection. * Replaced HB_RETNL_FBERROR() with actual code to make code flow apparent. * Replaced DIALECT constant with Firebird predefined one. ! Fixed to use ISC_STATUS_ARRAY instead of status arrays with arbitrary sizes like MAX_FIELDS. + Throwing RTEs if non-db pointer is passed in places where it is required. * Adjusted scope of some variables. ! Fixed several leaks in FBQUERY(). % Optimized to use hb_xrealloc() instead of using subsequent hb_xfree()/hb_xgrab() calls. % Other optimizations. + Added TOFIX to more memory leaks. ! Fixed FBGETDATA() to not crash when NULL pointer is passed. ! Fixed FBGETDATA() to not crash when negative position parameter is passed. ; TOFIX: Convert remaining memory objects to GC collected ones. Unfortunately the code is quite dirty in this respect, so it require more serious rewrite in places. ; TOFIX: Address TOFIXes in code. ; Please test it, I don't use this, and didn't make functional tests. * contrib/hbfbird/tests/test.prg + Displays error on connection failure. * Formatting. 2010-02-03 21:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg + Added {HB_TEMPDIR} macro which is replaced with HB_DIRTEMP() value. 2010-02-03 20:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg + Enabled -workdir option for non -inc mode. * Change default workdir to be the OS temp dir. Please test it, especially on non-win OSes. 2010-02-03 20:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/fstemp.c * include/hbapifs.h * include/hbextern.ch + Added HB_DIRTEMP() .prg level function. Returns name of temp dir, with closing backslash. + Added hb_fsTempDir() .c level function. ; Please review, especially MS-DOS, OS/2, which I won't be able to test. * src/rtl/fstemp.c * Cleanup: Deleted hb_fsCreateTempLow(), made layout more clear. ; TOFIX: For some builds, MS-DOS, OS/2 and WIN without WIN IO the temp directory will be wrongly calculated by checking TMPDIR envvar. Such envvar seems *nix specific. If new hb_fsTempDir() will be tested, above can be fixed by using this new function. [DONE] * package/winuni/RELNOTES + Noted update to Firebird 2.5.0rc1 * contrib/hbpgsql/postgres.c + Marked recently deprecated function as HB_LEGACY_LEVEL3. * contrib/hbfbird/firebird.c * Cleanup for a macro. * contrib/hbnetio/utils/netiosrv.prg + Using HB_HRB_BIND_FORCELOCAL when loading .hrb. * contrib/hbnetio/utils/modules/test.prg + Marked function as STATIC. * ChangeLog * Old TODO marked DONE. 2010-02-03 19:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/src/vm/hvm.c * covered hb_vmPushState() and hb_vmPopState() functions by HB_LEGACY_LEVEL3 macro. These functions are depreciated, hb_vmRequestReenter()/hb_vmRequestRestore() should be used instead. 2010-02-03 15:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/video.c * pacified DJGPP warning * harbour/external/jpeg/Makefile * define HAVE_STDLIB_H - it's necessary for exit() function used in jerror.c 2010-02-03 14:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added some details on